Name | Lookup | Parameters | |
---|---|---|---|
register_channel | 8800 | 2 | |
remove_channel | 8801 | 1 | |
update_channel_receive_account | 8802 | 2 | |
set_channel_commission_token | 8803 | 3 | |
set_commission_tokens | 8804 | 2 | |
claim_commissions | 8805 | 1 | |
set_channel_vtoken_shares | 8806 | 3 |
Name | Lookup | Attributes | |
---|---|---|---|
ChannelRegistered | 8800 | ["ChannelId","AccountIdOf","Bytes"] | |
ChannelRemoved | 8801 | ["ChannelId"] | |
ChannelReceiveAccountUpdated | 8802 | ["ChannelId","AccountIdOf"] | |
CommissionTokenSet | 8803 | ["CurrencyId","Option<CurrencyId>"] | |
ChannelCommissionSet | 8804 | ["ChannelId","CurrencyId","Percent"] | |
CommissionClaimed | 8805 | ["ChannelId","CurrencyId","BalanceOf"] | |
ChannelVtokenSharesUpdated | 8806 | ["ChannelId","CurrencyId","Permill"] | |
VtokenIssuanceSnapshotUpdated | 8807 | ["CurrencyId","BalanceOf","BalanceOf"] | |
PeriodVtokenTotalMintUpdated | 8808 | ["CurrencyId","BalanceOf","BalanceOf"] | |
PeriodVtokenTotalRedeemUpdated | 8809 | ["CurrencyId","BalanceOf","BalanceOf"] | |
PeriodChannelVtokenMintUpdated | 880a | ["ChannelId","CurrencyId","BalanceOf","BalanceOf"] | |
PeriodTotalCommissionsUpdated | 880b | ["CurrencyId","BalanceOf","BalanceOf"] | |
ChannelClaimableCommissionUpdated | 880c | ["ChannelId","CurrencyId","BalanceOf"] | |
CalculationFailed | 880d | ["BalanceOf","BalanceOf"] | |
BifrostCommissionTransferFailed | 880e | ["AccountIdOf","AccountIdOf","CurrencyId","BalanceOf"] | |
RemovalNotCompleteError | 880f | ["u32","u32","u32"] |
Name | Type | |
---|---|---|
ChannelNextId | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
Channels | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U32"],"value":"Tuple:AccountIdbounded_collections:bounded_vec:BoundedVec@878","keys_id":4,"value_id":877}} | |
CommissionTokens | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"bifrost_primitives:currency:CurrencyId","keys_id":307,"value_id":307}} | |
ChannelCommissionTokenRates | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U32","bifrost_primitives:currency:CurrencyId"],"value":"U8","keys_id":814,"value_id":48}} | |
ChannelVtokenShares | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U32","bifrost_primitives:currency:CurrencyId"],"value":"U32","keys_id":814,"value_id":339}} | |
VtokenIssuanceSnapshots | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"Tuple:U128U128","keys_id":307,"value_id":423}} | |
PeriodVtokenTotalMint | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"Tuple:U128U128","keys_id":307,"value_id":423}} | |
PeriodVtokenTotalRedeem | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"Tuple:U128U128","keys_id":307,"value_id":423}} | |
PeriodChannelVtokenMint | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U32","bifrost_primitives:currency:CurrencyId"],"value":"Tuple:U128U128","keys_id":814,"value_id":423}} | |
PeriodTotalCommissions | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"Tuple:U128U128","keys_id":307,"value_id":423}} | |
PeriodClearedCommissions | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":307,"value_id":6}} | |
ChannelClaimableCommissions | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U32","bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":814,"value_id":6}} |
Name | Type | Value | |
---|---|---|---|
ClearingDuration | U32 | 40380000 | |
NameLengthLimit | U32 | 14000000 |
Name | Docs |
---|---|
Overflow | Overflow error, indicating that a mathematical operation exceeded the allowed numeric range. |
ChannelNameTooLong | Error indicating that the provided channel name exceeds the maximum allowed length. |
ConversionError | Conversion error, indicating a failure during a type conversion operation. |
ChannelNotExist | Error indicating that the specified channel does not exist in storage. |
TransferError | Transfer error, indicating that a fund transfer operation has failed. |
VtokenNotConfiguredForCommission | Error indicating that the vToken is not configured for commission calculations. |
InvalidCommissionRate | Invalid commission rate, indicating that the provided commission rate is out of range or malformed. |
CommissionTokenAlreadySet | Error indicating that the commission token has already been set and cannot be reconfigured. |
InvalidVtoken | Invalid vToken, indicating that the provided vToken is invalid or unrecognized. |
NoChangesMade | Error indicating that no changes were made during a modification operation.This means that a modification request was issued but did not result in any actual changes. |
DivisionByZero | Error indicating a division operation encountered a divisor of zero.This is a critical error, as division by zero is undefined and cannot be performed. |
RemovalNotComplete | Error indicating that the removal operation was not successfully completed.This means an attempt to remove a resource or record did not succeed. |
TokenToVtokenConversionFailed | Error indicating a failure during token-to-vToken conversion via exchange rate calculation.This can occur when the conversion formula encounters an unexpected condition or invalid input. |