mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-29 09:45:18 +00:00
20 lines
710 B
Markdown
20 lines
710 B
Markdown
|
<!--
|
||
|
order: 5
|
||
|
-->
|
||
|
|
||
|
# Parameters
|
||
|
|
||
|
Example parameters for the swap module:
|
||
|
|
||
|
| Key | Type | Example | Description |
|
||
|
| ------------ | ------------------- | ------------- | --------------------------------------- |
|
||
|
| AllowedPools | array (AllowedPool) | [{see below}] | Array of tradable pools supported |
|
||
|
| SwapFee | sdk.Dec | 0.03 | Global trading fee in percentage format |
|
||
|
|
||
|
Example parameters for `AllowedPool`:
|
||
|
|
||
|
| Key | Type | Example | Description |
|
||
|
| ------ | ------ | ------- | ------------------- |
|
||
|
| TokenA | string | "ukava" | First coin's denom |
|
||
|
| TokenB | string | "usdx" | Second coin's denom |
|