bifrost
subscan
Runtime Modules / SlpV2
Spec Version:
Events
Name
Lookup
Attributes
AddDelegator8b00["StakingProtocol","DelegatorIndex","Delegator<AccountId>"]
RemoveDelegator8b01["StakingProtocol","DelegatorIndex","Delegator<AccountId>"]
AddValidator8b02["StakingProtocol","Delegator<AccountId>","Validator<AccountId>"]
RemoveValidator8b03["StakingProtocol","Delegator<AccountId>","Validator<AccountId>"]
SetConfiguration8b04["StakingProtocol","ProtocolConfiguration<AccountId>"]
SetLedger8b05["StakingProtocol","Delegator<AccountId>","Ledger"]
SendXcmTask8b06["Option<QueryId>","Delegator<AccountId>","XcmTask<AccountId>","Option<PendingStatus<AccountId>>","Location"]
NotifyResponseReceived8b07["Location","PendingStatus<AccountId>"]
TimeUnitUpdated8b08["StakingProtocol","TimeUnit"]
TokenExchangeRateUpdated8b09["StakingProtocol","Delegator<AccountId>","CurrencyId","Balance","Balance","Balance"]
TransferTo8b0a["StakingProtocol","AccountId","Delegator<AccountId>","Balance"]
TransferBack8b0b["StakingProtocol","Delegator<AccountId>","AccountId","Balance"]
EthereumStaking8b0c["Delegator<AccountId>","EthereumStaking"]
Storage Functions
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}}
Constants
Name
Type
Value
QueryTimeoutU3264000000
CommissionPalletId[U8; 8]62662f636f6d6d73
ParachainIdU32ee070000
MaxValidatorsU3200010000
Error Types
Name
Docs
DelegatorIndexOverflowDelegator index has exceeded the maximum allowed value of 65535.
ValidatorsOverflowThe maximum number of validators has been reached.
UnlockRecordOverflowUnlockRecordOverflow
UnsupportedStakingProtocolThe staking protocol is not supported.
DelegatorIndexNotFoundThe delegator index was not found.
ConfigurationNotFoundThe Configuration was not found.
DelegatorNotFoundThe delegator was not found.
LedgerNotFoundThe ledger was not found.
ValidatorNotFoundThe validator was not found.
XcmFeeNotFoundMissing XCM fee value.
PendingStatusNotFoundMissing pending status.
TimeUnitNotFoundThe specified time unit does not exist.
DelegatorAlreadyExistsThe delegator already exists.
DelegatorIndexAlreadyExistsThe delegator index already exists.
ValidatorAlreadyExistsThe validator already exists.
DerivativeAccountIdFailedFailed to derive the derivative account ID.
ValidatingFailedError during validation.
DeliveringFailedError during delivery.
CalculateProtocolFeeFailedcalculate protocol fee failed.
IncreaseTokenPoolFailedIncreaseTokenPoolFailed
UpdateIntervalTooShortThe update interval is too short.
UpdateTokenExchangeRateAmountTooLargeThe specified token exchange rate amount is too large.
InvalidParameterInvalid parameter.
ArithmeticOverflowArithmetic overflow occurred during balance operation.
NotAuthorizedNot authorized.