1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-11-15 01:34:57 +01:00

ownerFee → liquidityProviderFee

This commit is contained in:
Matthias Kretschmann 2020-08-06 11:03:08 +02:00
parent 374305673d
commit 988c7bc89a
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ export interface MetadataPublishForm {
tokensToMint: number tokensToMint: number
type: 'simple' | 'advanced' | string type: 'simple' | 'advanced' | string
weightOnDataToken: string weightOnDataToken: string
ownerFee: string liquidityProviderFee: string
} }
access: 'Download' | 'Compute' | string access: 'Download' | 'Compute' | string
termsAndConditions: boolean termsAndConditions: boolean

View File

@ -12,7 +12,7 @@ export const validationSchema = Yup.object().shape<MetadataPublishForm>({
.matches(/simple|advanced/g) .matches(/simple|advanced/g)
.required('Required'), .required('Required'),
weightOnDataToken: Yup.string().required('Required'), weightOnDataToken: Yup.string().required('Required'),
ownerFee: Yup.string() liquidityProviderFee: Yup.string()
}), }),
files: Yup.array<FileMetadata>().required('Required').nullable(), files: Yup.array<FileMetadata>().required('Required').nullable(),
description: Yup.string().required('Required'), description: Yup.string().required('Required'),
@ -35,7 +35,7 @@ export const initialValues: MetadataPublishForm = {
type: 'simple', type: 'simple',
tokensToMint: 1, tokensToMint: 1,
weightOnDataToken: '9', // 90% on data token weightOnDataToken: '9', // 90% on data token
ownerFee: '0.03' // in % liquidityProviderFee: '0.3' // in %
}, },
files: undefined, files: undefined,
description: undefined, description: undefined,