shiden
subscan
Runtime Modules / DappsStaking
Spec Version:
Events
Name
Lookup
Attributes
BondAndStake2200["AccountId","SmartContract","BalanceOf"]
UnbondAndUnstake2201["AccountId","SmartContract","BalanceOf"]
WithdrawFromUnregistered2202["AccountId","SmartContract","BalanceOf"]
Withdrawn2203["AccountId","BalanceOf"]
NewContract2204["AccountId","SmartContract"]
ContractRemoved2205["AccountId","SmartContract"]
NewDappStakingEra2206["EraIndex"]
Reward2207["AccountId","SmartContract","EraIndex","BalanceOf"]
MaintenanceMode2208["bool"]
RewardDestination2209["AccountId","RewardDestination"]
NominationTransfer220a["AccountId","SmartContract","BalanceOf","SmartContract"]
StaleRewardBurned220b["AccountId","SmartContract","EraIndex","BalanceOf"]
Storage Functions
Name
Type
PalletDisabled{"origin":"PlainType","plain_type":"Bool","PlainTypeValue":48}
Ledger{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"pallet_dapps_staking:AccountLedger","keys_id":0,"value_id":342}}
CurrentEra{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
BlockRewardAccumulator{"origin":"PlainType","plain_type":"pallet_dapps_staking:RewardInfo","PlainTypeValue":346}
ForceEra{"origin":"PlainType","plain_type":"pallet_dapps_staking:Forcing","PlainTypeValue":347}
NextEraStartingBlock{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
RegisteredDevelopers{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"shiden_runtime:SmartContract","keys_id":0,"value_id":45}}
RegisteredDapps{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["shiden_runtime:SmartContract"],"value":"pallet_dapps_staking:DAppInfo","keys_id":45,"value_id":348}}
GeneralEraInfo{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_dapps_staking:EraInfo","keys_id":4,"value_id":350}}
ContractEraStake{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Twox64Concat"],"key_vec":["shiden_runtime:SmartContract","U32"],"value":"pallet_dapps_staking:ContractStakeInfo","keys_id":351,"value_id":226}}
GeneralStakerInfo{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","shiden_runtime:SmartContract"],"value":"Vec<pallet_dapps_staking:EraStake>","keys_id":352,"value_id":353}}
StorageVersion{"origin":"PlainType","plain_type":"pallet_dapps_staking:Version","PlainTypeValue":356}
Constants
Name
Type
Value
BlockPerEraU32201c0000
RegisterDepositU128000010632d5ec76b0500000000000000
MaxNumberOfStakersPerContractU3200040000
MinimumStakingAmountU128000088b116afe3b50200000000000000
PalletId[U8; 8]70792f6470737374
MinimumRemainingAmountU128000064a7b3b6e00d0000000000000000
MaxUnlockingChunksU3205000000
UnbondingPeriodU3205000000
MaxEraStakeValuesU3205000000
UnregisteredDappRewardRetentionU3207000000
Error Types
Name
Docs
DisabledDisabled
NoMaintenanceModeChangeNo change in maintenance mode
UpgradeTooHeavyUpgrade is too heavy, reduce the weight parameter.
StakingWithNoValueCan not stake with zero value.
InsufficientValueCan not stake with value less than minimum staking value
MaxNumberOfStakersExceededNumber of stakers per contract exceeded.
NotOperatedContractTargets must be operated contracts
NotStakedContractContract isn't staked.
NotUnregisteredContractContract isn't unregistered.
UnclaimedRewardsRemainingUnclaimed rewards should be claimed before withdrawing stake.
UnstakingWithNoValueUnstaking a contract with zero value
NothingToWithdrawThere are no previously unbonded funds that can be unstaked and withdrawn.
AlreadyRegisteredContractThe contract is already registered by other account
AlreadyUsedDeveloperAccountThis account was already used to register contract
NotOwnedContractSmart contract not owned by the account id.
UnknownEraRewardReport issue on github if this is ever emitted
UnexpectedStakeInfoEraReport issue on github if this is ever emitted
TooManyUnlockingChunksContract has too many unlocking chunks. Withdraw the existing chunks if possibleor wait for current chunks to complete unlocking process to withdraw them.
AlreadyClaimedInThisEraContract already claimed in this era and reward is distributed
EraOutOfBoundsEra parameter is out of bounds
TooManyEraStakeValuesToo many active `EraStake` values for (staker, contract) pairing.Claim existing rewards to fix this problem.
NotActiveStakerAccount is not actively staking
NominationTransferToSameContractTransfering nomination to the same contract