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"] |
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@842","keys_id":4,"value_id":841}} | |
| CommissionTokens | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"bifrost_primitives:currency:CurrencyId","keys_id":251,"value_id":251}} | |
| ChannelCommissionTokenRates | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U32","bifrost_primitives:currency:CurrencyId"],"value":"U8","keys_id":772,"value_id":328}} | |
| ChannelVtokenShares | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U32","bifrost_primitives:currency:CurrencyId"],"value":"U32","keys_id":772,"value_id":280}} | |
| VtokenIssuanceSnapshots | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"Tuple:U128U128","keys_id":251,"value_id":367}} | |
| PeriodVtokenTotalMint | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"Tuple:U128U128","keys_id":251,"value_id":367}} | |
| PeriodVtokenTotalRedeem | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"Tuple:U128U128","keys_id":251,"value_id":367}} | |
| PeriodChannelVtokenMint | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U32","bifrost_primitives:currency:CurrencyId"],"value":"Tuple:U128U128","keys_id":772,"value_id":367}} | |
| PeriodTotalCommissions | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"Tuple:U128U128","keys_id":251,"value_id":367}} | |
| PeriodClearedCommissions | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":251,"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":772,"value_id":6}} |
Name | Type | Value | |
|---|---|---|---|
| ClearingDuration | U32 | e0c40000 | |
| NameLengthLimit | U32 | 14000000 |
Name | Docs |
|---|---|
| Overflow | |
| ChannelNameTooLong | |
| ConversionError | |
| ChannelNotExist | |
| TransferError | |
| VtokenNotConfiguredForCommission | |
| InvalidCommissionRate | |
| CommissionTokenAlreadySet | |
| InvalidVtoken |