2020-06-03 18:54:31 +00:00
|
|
|
<!--
|
|
|
|
order: 5
|
|
|
|
-->
|
|
|
|
|
2020-04-23 20:57:25 +00:00
|
|
|
# Parameters
|
|
|
|
|
|
|
|
The bep3 module contains the following parameters:
|
|
|
|
|
2023-04-05 23:21:59 +00:00
|
|
|
| Key | Type | Example | Description |
|
|
|
|
| ----------------- | -------------- | --------------------------------------------- | -------------------------- |
|
|
|
|
| BnbDeputyAddress | sdk.AccAddress | "kava1r4v2zdhdalfj2ydazallqvrus9fkphmglhn6u6" | deputy's Kava address |
|
|
|
|
| BnbDeputyFixedFee | sdkmath.Int | sdkmath.NewInt(1000) | deputy's fixed bnb fee |
|
|
|
|
| MinAmount | sdkmath.Int | sdkmath.NewInt(0) | minimum swap amount |
|
|
|
|
| MaxAmount | sdkmath.Int | sdkmath.NewInt(1000000000000) | maximum swap amount |
|
|
|
|
| MinBlockLock | uint64 | 220 | minimum swap expire height |
|
|
|
|
| MaxBlockLock | uint64 | 270 | maximum swap expire height |
|
|
|
|
| SupportedAssets | AssetParams | []AssetParam | array of supported assets |
|
2020-06-15 08:37:28 +00:00
|
|
|
|
|
|
|
Each AssetParam has the following parameters:
|
|
|
|
|
2023-04-05 23:21:59 +00:00
|
|
|
| Key | Type | Example | Description |
|
|
|
|
| ----------------- | ----------- | ------------------- | ----------------------------- |
|
|
|
|
| AssetParam.Denom | string | "bnb" | asset's name |
|
|
|
|
| AssetParam.CoinID | int64 | 714 | asset's international coin ID |
|
|
|
|
| AssetParam.Limit | sdkmath.Int | sdkmath.NewInt(100) | asset's supply limit |
|
|
|
|
| AssetParam.Active | boolean | true | asset's state: live or paused |
|