Name | Lookup | Parameters | |
---|---|---|---|
set_fee_receiver | 6500 | 1 | |
set_fee_point | 6501 | 1 | |
set_exchange_fee | 6502 | 3 | |
create_pair | 6503 | 3 | |
add_liquidity | 6504 | 7 | |
remove_liquidity | 6505 | 7 | |
swap_exact_assets_for_assets | 6506 | 5 | |
swap_assets_for_exact_assets | 6507 | 5 | |
bootstrap_create | 6508 | 9 | |
bootstrap_contribute | 6509 | 5 | |
bootstrap_claim | 650a | 4 | |
bootstrap_end | 650b | 2 | |
bootstrap_update | 650c | 9 | |
bootstrap_refund | 650d | 2 | |
bootstrap_charge_reward | 650e | 3 | |
bootstrap_withdraw_reward | 650f | 3 |
Name | Lookup | Attributes | |
---|---|---|---|
PairCreated | 6500 | ["AssetId","AssetId"] | |
LiquidityAdded | 6501 | ["AccountId","AssetId","AssetId","AssetBalance","AssetBalance","AssetBalance"] | |
LiquidityRemoved | 6502 | ["AccountId","AccountId","AssetId","AssetId","AssetBalance","AssetBalance","AssetBalance"] | |
AssetSwap | 6503 | ["AccountId","AccountId","Vec<AssetId>","Vec<AssetBalance>"] | |
BootstrapContribute | 6504 | ["AccountId","AssetId","AssetBalance","AssetId","AssetBalance"] | |
BootstrapEnd | 6505 | ["AssetId","AssetId","AssetBalance","AssetBalance","AssetBalance"] | |
BootstrapCreated | 6506 | ["AccountId","AssetId","AssetId","AssetBalance","AssetBalance","AssetBalance","AssetBalance","BlockNumber"] | |
BootstrapClaim | 6507 | ["AccountId","AccountId","AccountId","AssetId","AssetId","AssetBalance","AssetBalance","AssetBalance"] | |
BootstrapUpdate | 6508 | ["AccountId","AssetId","AssetId","AssetBalance","AssetBalance","AssetBalance","AssetBalance","BlockNumber"] | |
BootstrapRefund | 6509 | ["AccountId","AccountId","AssetId","AssetId","AssetBalance","AssetBalance"] | |
DistributeReward | 650a | ["AssetId","AssetId","AccountId","Vec<(AssetId, AssetBalance)>"] | |
ChargeReward | 650b | ["AssetId","AssetId","AccountId","Vec<(AssetId, AssetBalance)>"] | |
WithdrawReward | 650c | ["AssetId","AssetId","AccountId"] |
Name | Type | |
---|---|---|
KLast | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["interbtc_primitives:CurrencyId","interbtc_primitives:CurrencyId"],"value":"U256","keys_id":415,"value_id":436}} | |
FeeMeta | {"origin":"PlainType","plain_type":"Tuple:option<AccountId>U8","PlainTypeValue":556} | |
LiquidityPairs | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["interbtc_primitives:CurrencyId","interbtc_primitives:CurrencyId"],"value":"option<interbtc_primitives:CurrencyId>","keys_id":415,"value_id":557}} | |
PairStatuses | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["interbtc_primitives:CurrencyId","interbtc_primitives:CurrencyId"],"value":"dex_general:primitives:PairStatus","keys_id":415,"value_id":558}} | |
BootstrapPersonalSupply | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Tuple:interbtc_primitives:CurrencyIdinterbtc_primitives:CurrencyId","AccountId"],"value":"Tuple:U128U128","keys_id":562,"value_id":561}} | |
BootstrapEndStatus | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["interbtc_primitives:CurrencyId","interbtc_primitives:CurrencyId"],"value":"dex_general:primitives:PairStatus","keys_id":415,"value_id":558}} | |
BootstrapRewards | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["interbtc_primitives:CurrencyId","interbtc_primitives:CurrencyId"],"value":"Vec<Tuple:interbtc_primitives:CurrencyIdU128>","keys_id":415,"value_id":563}} | |
BootstrapLimits | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["interbtc_primitives:CurrencyId","interbtc_primitives:CurrencyId"],"value":"Vec<Tuple:interbtc_primitives:CurrencyIdU128>","keys_id":415,"value_id":563}} |
Name | Type | Value | |
---|---|---|---|
PalletId | [U8; 8] | 6465782f67656e72 |
Name | Docs |
---|---|
RequireProtocolAdmin | Require the admin who can reset the admin and receiver of the protocol fee. |
RequireProtocolAdminCandidate | Require the admin candidate who can become new admin after confirm. |
InvalidFeeRate | Invalid fee_rate |
UnsupportedAssetType | Unsupported AssetId. |
InsufficientAssetBalance | Account balance must be greater than or equal to the transfer amount. |
NativeBalanceTooLow | Account native currency balance must be greater than ExistentialDeposit. |
DeniedCreatePair | Trading pair can't be created. |
PairAlreadyExists | Trading pair already exists. |
PairNotExists | Trading pair does not exist. |
AssetNotExists | Asset does not exist. |
InsufficientLiquidity | Liquidity is not enough. |
InsufficientPairReserve | Trading pair does have enough. |
InsufficientTargetAmount | Get target amount is less than exception. |
ExcessiveSoldAmount | Sold amount is more than exception. |
InvalidPath | Can't find pair though trading path. |
IncorrectAssetAmountRange | Incorrect amount range. |
Overflow | Overflow. |
Deadline | Transaction block number is larger than the end block number. |
AccountIdBadLocation | Location given was invalid or unsupported. |
ExecutionFailed | XCM execution failed. |
DeniedTransferToSelf | Transfer to self by XCM message. |
TargetChainNotRegistered | Not in registered parachains. |
InvariantCheckFailed | Can't pass the K value check |
PairCreateForbidden | Created pair can't create now |
NotInBootstrap | Pair is not in bootstrap |
InvalidContributionAmount | Amount of contribution is invalid. |
UnqualifiedBootstrap | Amount of contribution is invalid. |
ZeroContribute | Zero contribute in bootstrap |
DenyRefund | Bootstrap deny refund |
DisableBootstrap | Bootstrap is disable |
NotQualifiedAccount | Not eligible to contribute |
NoRewardTokens | Reward of bootstrap is not set. |
ChargeRewardParamsError | Charge bootstrap extrinsic args has error, |
ExistRewardsInBootstrap | Exist some reward in bootstrap, |