1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-11-14 17:24:51 +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
type: 'simple' | 'advanced' | string
weightOnDataToken: string
ownerFee: string
liquidityProviderFee: string
}
access: 'Download' | 'Compute' | string
termsAndConditions: boolean

View File

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