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","ProtocolConfigurationV2<AccountId>"]
SetLedger8b05["StakingProtocol","Delegator<AccountId>","Ledger"]
TimeUnitUpdated8b06["StakingProtocol","TimeUnit"]
TokenExchangeRateUpdated8b07["StakingProtocol","Delegator<AccountId>","CurrencyId","Balance","Balance","Balance"]
TransferTo8b08["StakingProtocol","AccountId","Delegator<AccountId>","Balance"]
TransferBack8b09["StakingProtocol","Delegator<AccountId>","AccountId","Balance"]
EthereumStaking8b0a["Delegator<AccountId>","EthereumStaking"]
XCMExecutorWhitelistUpdated8b0b["CurrencyId","ChainId","CallDataHeadListOf"]
SendGeneralXcmExecutorTask8b0c["CallDataOf","ChainId"]
BurnFeeFailed8b0d["CurrencyId","Balance"]
ValidatorBoostListSet8b0e["StakingProtocol","Vec<ValidatorBoostItem>"]
ValidatorBoostListAdded8b0f["StakingProtocol","ValidatorBoostItem"]
ValidatorBoostListRemoved8b10["StakingProtocol","ValidatorBoostItem"]
OutdatedValidatorBoostListCleaned8b11["StakingProtocol","u32","u32","u32"]
ValidatorsReset8b12["StakingProtocol","Delegator<AccountId>","Vec<Validator<AccountId>>"]
Storage Functions
Name
Type
ConfigurationByStakingProtocol{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["bifrost_slp_v2:common:types:common_type:StakingProtocol"],"value":"bifrost_slp_v2:common:types:ProtocolConfigurationV2","keys_id":503,"value_id":504}}
DelegatorByStakingProtocolAndDelegatorIndex{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["bifrost_slp_v2:common:types:common_type:StakingProtocol","U16"],"value":"bifrost_slp_v2:common:types:Delegator","keys_id":1012,"value_id":507}}
DelegatorIndexByStakingProtocolAndDelegator{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["bifrost_slp_v2:common:types:common_type:StakingProtocol","bifrost_slp_v2:common:types:Delegator"],"value":"U16","keys_id":1013,"value_id":54}}
LedgerByStakingProtocolAndDelegator{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["bifrost_slp_v2:common:types:common_type:StakingProtocol","bifrost_slp_v2:common:types:Delegator"],"value":"bifrost_slp_v2:common:types:common_type:Ledger","keys_id":1013,"value_id":509}}
ValidatorsByStakingProtocolAndDelegator{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["bifrost_slp_v2:common:types:common_type:StakingProtocol","bifrost_slp_v2:common:types:Delegator"],"value":"Vec<bifrost_slp_v2:common:types:common_type:Validator>","keys_id":1013,"value_id":1014}}
NextDelegatorIndexByStakingProtocol{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["bifrost_slp_v2:common:types:common_type:StakingProtocol"],"value":"U16","keys_id":503,"value_id":54}}
XCMExecutorWhitelist{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["bifrost_primitives:currency:common:CurrencyId","U32"],"value":"Vec<bounded_collections:bounded_vec:BoundedVec@515>","keys_id":897,"value_id":514}}
ValidatorBoostList{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["bifrost_slp_v2:common:types:common_type:StakingProtocol"],"value":"Vec<Tuple:bifrost_slp_v2:common:types:common_type:ValidatorU32>","keys_id":503,"value_id":1015}}
Constants
Name
Type
Value
QueryTimeoutU3264000000
CommissionPalletId[U8; 8]62662f636f6d6d73
ParachainIdU32ee070000
MaxValidatorsU3200010000
MaxCallDataLengthU3200080000
MaxCallDataHeadLengthU3200020000
MaxCallDataPrefixItemsU3240000000
FeeAccountAccountId6d6f646c62662f74727372790000000000000000000000000000000000000000
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
InvalidParameterInvalid parameter.
ArithmeticOverflowArithmetic overflow occurred during balance operation.
NotAuthorizedNot authorized.
WhitelistTooLongExceeds whitelist length limit.
CallDataIsNotSupportedThe general_xcm_executor method executed an unsupported CallData.
InvalidDelegatorForGeneralXCMStakingGeneralXCMStaking type Delegator mismatch
RemoteFeeLocationConfigurationNotSetRemote fee location configuration not set in ConfigurationByStakingProtocol
HandleHyperbridgeOracleErrorHyperbridge price feed failed.
InvalidBNCChainIdBNC operations require chain_id to be Bifrost Polkadot chain id.
BlockNumberOverflowBlock number overflow occurred while calculating due block.
InvalidPageNumberThe provided page number is invalid (page index must start from 1).
NoMoreValidatorBoostListForCurrencyReturned when attempting to access or modify the validator boost listfor a given currency, but no boost list exists for that currency.