Name | Lookup | Parameters | |
|---|---|---|---|
| set_protocol_configuration | 8b00 | 2 | |
| add_delegator | 8b01 | 2 | |
| remove_delegator | 8b02 | 2 | |
| add_validator | 8b03 | 3 | |
| remove_validator | 8b04 | 3 | |
| set_ledger | 8b05 | 3 | |
| transfer_to | 8b06 | 6 | |
| transfer_back | 8b07 | 3 | |
| update_ongoing_time_unit | 8b08 | 3 | |
| update_token_exchange_rate | 8b09 | 5 | |
| astar_dapp_staking | 8b0a | 2 | |
| notify_astar_dapp_staking | 8b0b | 2 | |
| ethereum_staking | 8b0c | 2 |
Name | Lookup | Attributes | |
|---|---|---|---|
| AddDelegator | 8b00 | ["StakingProtocol","DelegatorIndex","Delegator<AccountId>"] | |
| RemoveDelegator | 8b01 | ["StakingProtocol","DelegatorIndex","Delegator<AccountId>"] | |
| AddValidator | 8b02 | ["StakingProtocol","Delegator<AccountId>","Validator<AccountId>"] | |
| RemoveValidator | 8b03 | ["StakingProtocol","Delegator<AccountId>","Validator<AccountId>"] | |
| SetConfiguration | 8b04 | ["StakingProtocol","ProtocolConfiguration<AccountId>"] | |
| SetLedger | 8b05 | ["StakingProtocol","Delegator<AccountId>","Ledger"] | |
| SendXcmTask | 8b06 | ["Option<QueryId>","Delegator<AccountId>","XcmTask<AccountId>","Option<PendingStatus<AccountId>>","Location"] | |
| NotifyResponseReceived | 8b07 | ["Location","PendingStatus<AccountId>"] | |
| TimeUnitUpdated | 8b08 | ["StakingProtocol","TimeUnit"] | |
| TokenExchangeRateUpdated | 8b09 | ["StakingProtocol","Delegator<AccountId>","CurrencyId","Balance","Balance","Balance"] | |
| TransferTo | 8b0a | ["StakingProtocol","AccountId","Delegator<AccountId>","Balance"] | |
| TransferBack | 8b0b | ["StakingProtocol","Delegator<AccountId>","AccountId","Balance"] | |
| EthereumStaking | 8b0c | ["Delegator<AccountId>","EthereumStaking"] |
Name | Type | |
|---|---|---|
| ConfigurationByStakingProtocol | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["bifrost_slp_v2:common:types:polkadot:StakingProtocol"],"value":"bifrost_slp_v2:common:types:ProtocolConfiguration","keys_id":529,"value_id":530}} | |
| DelegatorByStakingProtocolAndDelegatorIndex | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["bifrost_slp_v2:common:types:polkadot:StakingProtocol","U16"],"value":"bifrost_slp_v2:common:types:Delegator","keys_id":1065,"value_id":533}} | |
| DelegatorIndexByStakingProtocolAndDelegator | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["bifrost_slp_v2:common:types:polkadot:StakingProtocol","bifrost_slp_v2:common:types:Delegator"],"value":"U16","keys_id":1066,"value_id":53}} | |
| LedgerByStakingProtocolAndDelegator | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["bifrost_slp_v2:common:types:polkadot:StakingProtocol","bifrost_slp_v2:common:types:Delegator"],"value":"bifrost_slp_v2:common:types:polkadot:Ledger","keys_id":1066,"value_id":536}} | |
| ValidatorsByStakingProtocolAndDelegator | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["bifrost_slp_v2:common:types:polkadot:StakingProtocol","bifrost_slp_v2:common:types:Delegator"],"value":"Vec<bifrost_slp_v2:common:types:polkadot:Validator>","keys_id":1066,"value_id":1067}} | |
| NextDelegatorIndexByStakingProtocol | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["bifrost_slp_v2:common:types:polkadot:StakingProtocol"],"value":"U16","keys_id":529,"value_id":53}} | |
| PendingStatusByQueryId | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"bifrost_slp_v2:common:types:polkadot:PendingStatus","keys_id":12,"value_id":657}} | |
| LastUpdateOngoingTimeUnitBlockNumber | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["bifrost_slp_v2:common:types:polkadot:StakingProtocol"],"value":"U32","keys_id":529,"value_id":4}} | |
| LastUpdateTokenExchangeRateBlockNumber | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["bifrost_slp_v2:common:types:polkadot:StakingProtocol","bifrost_slp_v2:common:types:Delegator"],"value":"U32","keys_id":1066,"value_id":4}} |
Name | Type | Value | |
|---|---|---|---|
| QueryTimeout | U32 | 64000000 | |
| CommissionPalletId | [U8; 8] | 62662f636f6d6d73 | |
| ParachainId | U32 | ee070000 | |
| MaxValidators | U32 | 00010000 |
Name | Docs |
|---|---|
| DelegatorIndexOverflow | Delegator index has exceeded the maximum allowed value of 65535. |
| ValidatorsOverflow | The maximum number of validators has been reached. |
| UnlockRecordOverflow | UnlockRecordOverflow |
| UnsupportedStakingProtocol | The staking protocol is not supported. |
| DelegatorIndexNotFound | The delegator index was not found. |
| ConfigurationNotFound | The Configuration was not found. |
| DelegatorNotFound | The delegator was not found. |
| LedgerNotFound | The ledger was not found. |
| ValidatorNotFound | The validator was not found. |
| XcmFeeNotFound | Missing XCM fee value. |
| PendingStatusNotFound | Missing pending status. |
| TimeUnitNotFound | The specified time unit does not exist. |
| DelegatorAlreadyExists | The delegator already exists. |
| DelegatorIndexAlreadyExists | The delegator index already exists. |
| ValidatorAlreadyExists | The validator already exists. |
| DerivativeAccountIdFailed | Failed to derive the derivative account ID. |
| ValidatingFailed | Error during validation. |
| DeliveringFailed | Error during delivery. |
| CalculateProtocolFeeFailed | calculate protocol fee failed. |
| IncreaseTokenPoolFailed | IncreaseTokenPoolFailed |
| UpdateIntervalTooShort | The update interval is too short. |
| UpdateTokenExchangeRateAmountTooLarge | The specified token exchange rate amount is too large. |
| InvalidParameter | Invalid parameter. |
| ArithmeticOverflow | Arithmetic overflow occurred during balance operation. |
| NotAuthorized | Not authorized. |