mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
input tweaks
This commit is contained in:
parent
711dd38a9f
commit
a1ff86083c
@ -104,7 +104,7 @@
|
|||||||
},
|
},
|
||||||
"dynamic": {
|
"dynamic": {
|
||||||
"title": "Dynamic",
|
"title": "Dynamic",
|
||||||
"info": "Let's create a decentralized, automated market for your data set. A Datatoken for this data set, worth the entered amount of OCEAN, will be created. Additionally, you will provide liquidity into a Datatoken/OCEAN liquidity pool with Balancer.",
|
"info": "Let's create a decentralized, automated market for your data set. A Datatoken for this data set, worth the entered amount of OCEAN, will be created. Additionally, you will provide liquidity into a OCEAN/Datatoken liquidity pool with Balancer.",
|
||||||
"tooltips": {
|
"tooltips": {
|
||||||
"poolInfo": "Explain what is going on here...",
|
"poolInfo": "Explain what is going on here...",
|
||||||
"liquidityProviderFee": "Explain liquidity provider fee...",
|
"liquidityProviderFee": "Explain liquidity provider fee...",
|
||||||
|
2
src/@types/MetaData.d.ts
vendored
2
src/@types/MetaData.d.ts
vendored
@ -20,7 +20,9 @@ export interface MetadataMarket extends Metadata {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface PriceOptionsMarket extends PriceOptions {
|
export interface PriceOptionsMarket extends PriceOptions {
|
||||||
|
// easier to keep this as number for Yup input validation
|
||||||
liquidityProviderFee: number
|
liquidityProviderFee: number
|
||||||
|
// collect datatoken info for publishing
|
||||||
datatoken?: DataTokenOptions
|
datatoken?: DataTokenOptions
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -46,6 +46,7 @@ export default function Coin({
|
|||||||
type="number"
|
type="number"
|
||||||
readOnly={readOnly}
|
readOnly={readOnly}
|
||||||
prefix={datatokenOptions?.symbol || 'DT'}
|
prefix={datatokenOptions?.symbol || 'DT'}
|
||||||
|
min="1"
|
||||||
{...field}
|
{...field}
|
||||||
/>
|
/>
|
||||||
{datatokenOptions?.symbol === 'OCEAN' && (
|
{datatokenOptions?.symbol === 'OCEAN' && (
|
||||||
|
@ -6,9 +6,10 @@
|
|||||||
margin-right: -2rem;
|
margin-right: -2rem;
|
||||||
border-bottom: 1px solid var(--brand-grey-lighter);
|
border-bottom: 1px solid var(--brand-grey-lighter);
|
||||||
margin-top: var(--spacer);
|
margin-top: var(--spacer);
|
||||||
padding: var(--spacer);
|
padding: 0 var(--spacer) calc(var(--spacer) / 2) var(--spacer);
|
||||||
padding-top: 0;
|
|
||||||
|
|
||||||
|
justify-content: center;
|
||||||
|
text-align: center;
|
||||||
border-bottom: 1px solid var(--brand-grey-lighter);
|
border-bottom: 1px solid var(--brand-grey-lighter);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,6 +32,7 @@ export default function Fixed({
|
|||||||
name="price.price"
|
name="price.price"
|
||||||
type="number"
|
type="number"
|
||||||
prefix="OCEAN"
|
prefix="OCEAN"
|
||||||
|
min="1"
|
||||||
{...field}
|
{...field}
|
||||||
additionalComponent={
|
additionalComponent={
|
||||||
<Conversion
|
<Conversion
|
||||||
|
Loading…
Reference in New Issue
Block a user