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:
|
|
|
|
|
|
|
|
| Key | Type | Example | Description |
|
|
|
|
|-------------------|-------------------------|-----------------------------------------------|-------------------------------|
|
2020-06-05 01:27:54 +00:00
|
|
|
| BnbDeputyAddress | string (sdk.AccAddress) | "kava1r4v2zdhdalfj2ydazallqvrus9fkphmglhn6u6" | deputy's Kava address |
|
2020-06-04 23:03:14 +00:00
|
|
|
| BnbDeputyFixedFee | sdk.Int | sdk.NewInt(1000) | deputy's fixed bnb fee |
|
|
|
|
| MinAmount | sdk.Int | sdk.NewInt(0) | minimum swap amount |
|
|
|
|
| MaxAmount | sdk.Int | sdk.NewInt(1000000000000) | maximum swap amount |
|
|
|
|
| MinBlockLock | uint64 | 220 | minimum swap expire height |
|
|
|
|
| MaxBlockLock | uint64 | 270 | maximum swap expire height |
|
2020-04-23 20:57:25 +00:00
|
|
|
| SupportedAssets | AssetParams | []AssetParam | array of supported assets |
|
|
|
|
|-------------------|-------------------------|-----------------------------------------------|-------------------------------|
|
|
|
|
| AssetParam | AssetParam | AssetParam{"bnb", 714, sdk.NewInt(100), true} | a supported asset |
|
|
|
|
| AssetParam.Denom | string | "bnb" | asset's name |
|
|
|
|
| AssetParam.CoinID | int64 | 714 | asset's international coin ID |
|
|
|
|
| AssetParam.Limit | sdk.Int | sdk.NewInt(100) | asset's supply limit |
|
|
|
|
| AssetParam.Active | boolean | true | asset's state: live or paused |
|