Add examples to List New Market page
This commit is contained in:
parent
ac61ac65db
commit
9765d90df7
|
@ -27,12 +27,22 @@ export default function ListNewMarketPage() {
|
|||
const { wallet, connected } = useWallet();
|
||||
const [baseMintInput, baseMintInfo] = useMintInput(
|
||||
'baseMint',
|
||||
'Base Token Mint Address',
|
||||
<Text>
|
||||
Base Token Mint Address{' '}
|
||||
<Text type="secondary">
|
||||
(e.g. BTC solana address: {<Text type="secondary" code>9n4nbM75f5Ui33ZbPYXn59EwSgE8CGsHtAeTH5YFeJ9E</Text>})
|
||||
</Text>
|
||||
</Text>,
|
||||
'The base token is the token being traded. For example, the base token of a BTC/USDT market is BTC.',
|
||||
);
|
||||
const [quoteMintInput, quoteMintInfo] = useMintInput(
|
||||
'quoteMint',
|
||||
'Quote Token Mint Address',
|
||||
<Text>
|
||||
Quote Token Mint Address{' '}
|
||||
<Text type="secondary">
|
||||
(e.g. USDT solana address: {<Text type="secondary" code>BQcdHdAQW1hczDbBi9hiegXAR7A98Q9jx3X3iBBBDiq4</Text>})
|
||||
</Text>
|
||||
</Text>,
|
||||
'The quote token is the token used to price trades. For example, the quote token of a BTC/USDT market is USDT.',
|
||||
);
|
||||
const [lotSize, setLotSize] = useState('1');
|
||||
|
@ -94,8 +104,9 @@ export default function ListNewMarketPage() {
|
|||
<FloatingElement>
|
||||
<Title level={4}>List New Market</Title>
|
||||
<Form
|
||||
labelCol={{ span: 8 }}
|
||||
wrapperCol={{ span: 16 }}
|
||||
labelCol={{ span: 24 }}
|
||||
wrapperCol={{ span: 24 }}
|
||||
layout={"vertical"}
|
||||
onFinish={onSubmit}
|
||||
>
|
||||
{baseMintInput}
|
||||
|
@ -103,7 +114,7 @@ export default function ListNewMarketPage() {
|
|||
<Form.Item
|
||||
label={
|
||||
<Tooltip title="Smallest allowed order size. For a BTC/USDT market, this would be in units of BTC.">
|
||||
Minimum Order Size (Lot Size)
|
||||
Minimum Order Size <Text type="secondary">(Lot size in e.g. BTC)</Text>
|
||||
</Tooltip>
|
||||
}
|
||||
name="lotSize"
|
||||
|
@ -128,7 +139,7 @@ export default function ListNewMarketPage() {
|
|||
<Form.Item
|
||||
label={
|
||||
<Tooltip title="Smallest amount by which prices can move. For a BTC/USDT market, this would be in units of USDT.">
|
||||
Tick Size (Price Increment)
|
||||
Tick Size <Text type="secondary">(Price increment in e.g. USDT)</Text>
|
||||
</Tooltip>
|
||||
}
|
||||
name="tickSize"
|
||||
|
|
Loading…
Reference in New Issue