mirror of
https://github.com/oceanprotocol/market.git
synced 2024-11-15 01:34:57 +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
|
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
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user