mirror of
https://github.com/oceanprotocol/market.git
synced 2024-11-14 17:24:51 +01:00
ownerFee → liquidityProviderFee
This commit is contained in:
parent
374305673d
commit
988c7bc89a
2
src/@types/MetaData.d.ts
vendored
2
src/@types/MetaData.d.ts
vendored
@ -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
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user