Name | Lookup | Parameters | |
|---|---|---|---|
| register | ff00 | 2 | |
| unregister | ff01 | 1 | |
| withdraw_from_unregistered | ff02 | 1 | |
| bond_and_stake | ff03 | 2 | |
| unbond_and_unstake | ff04 | 2 | |
| withdraw_unbonded | ff05 | - | |
| nomination_transfer | ff06 | 3 | |
| claim_staker | ff07 | 1 | |
| claim_dapp | ff08 | 2 | |
| force_new_era | ff09 | - | |
| maintenance_mode | ff0a | 1 | |
| set_reward_destination | ff0b | 1 | |
| set_contract_stake_info | ff0c | 3 | |
| burn_stale_reward | ff0d | 2 |
Name | Lookup | Attributes | |
|---|---|---|---|
| BondAndStake | ff00 | ["AccountId","SmartContract","Balance"] | |
| UnbondAndUnstake | ff01 | ["AccountId","SmartContract","Balance"] | |
| WithdrawFromUnregistered | ff02 | ["AccountId","SmartContract","Balance"] | |
| Withdrawn | ff03 | ["AccountId","Balance"] | |
| NewContract | ff04 | ["AccountId","SmartContract"] | |
| ContractRemoved | ff05 | ["AccountId","SmartContract"] | |
| NewDappStakingEra | ff06 | ["EraIndex"] | |
| Reward | ff07 | ["AccountId","SmartContract","EraIndex","Balance"] | |
| MaintenanceMode | ff08 | ["bool"] | |
| RewardDestination | ff09 | ["AccountId","RewardDestination"] | |
| NominationTransfer | ff0a | ["AccountId","SmartContract","Balance","SmartContract"] | |
| StaleRewardBurned | ff0b | ["AccountId","SmartContract","EraIndex","Balance"] |
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":573}} | |
| CurrentEra | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| BlockRewardAccumulator | {"origin":"PlainType","plain_type":"pallet_dapps_staking:RewardInfo","PlainTypeValue":577} | |
| ForceEra | {"origin":"PlainType","plain_type":"pallet_dapps_staking:Forcing","PlainTypeValue":578} | |
| NextEraStartingBlock | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| RegisteredDevelopers | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"astar_primitives:dapp_staking:SmartContract","keys_id":0,"value_id":50}} | |
| RegisteredDapps | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["astar_primitives:dapp_staking:SmartContract"],"value":"pallet_dapps_staking:DAppInfo","keys_id":50,"value_id":579}} | |
| GeneralEraInfo | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_dapps_staking:EraInfo","keys_id":4,"value_id":581}} | |
| ContractEraStake | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Twox64Concat"],"key_vec":["astar_primitives:dapp_staking:SmartContract","U32"],"value":"pallet_dapps_staking:ContractStakeInfo","keys_id":582,"value_id":319}} | |
| GeneralStakerInfo | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","astar_primitives:dapp_staking:SmartContract"],"value":"Vec<pallet_dapps_staking:EraStake>","keys_id":409,"value_id":583}} | |
| StorageVersion | {"origin":"PlainType","plain_type":"pallet_dapps_staking:Version","PlainTypeValue":586} |
Name | Type | Value | |
|---|---|---|---|
| BlockPerEra | U32 | b0040000 | |
| RegisterDeposit | U128 | 000010632d5ec76b0500000000000000 | |
| MaxNumberOfStakersPerContract | U32 | 00080000 | |
| MinimumStakingAmount | U128 | 0000f444829163450000000000000000 | |
| PalletId | [U8; 8] | 70792f6470737374 | |
| MinimumRemainingAmount | U128 | 000064a7b3b6e00d0000000000000000 | |
| MaxUnlockingChunks | U32 | 20000000 | |
| UnbondingPeriod | U32 | 02000000 | |
| MaxEraStakeValues | U32 | 05000000 | |
| UnregisteredDappRewardRetention | U32 | 0a000000 | |
| ForcePalletDisabled | Bool | 01 |
Name | Docs |
|---|---|
| Disabled | Disabled |
| NoMaintenanceModeChange | No change in maintenance mode |
| UpgradeTooHeavy | Upgrade is too heavy, reduce the weight parameter. |
| StakingWithNoValue | Can not stake with zero value. |
| InsufficientValue | Can not stake with value less than minimum staking value |
| MaxNumberOfStakersExceeded | Number of stakers per contract exceeded. |
| NotOperatedContract | Targets must be operated contracts |
| NotStakedContract | Contract isn't staked. |
| NotUnregisteredContract | Contract isn't unregistered. |
| UnclaimedRewardsRemaining | Unclaimed rewards should be claimed before withdrawing stake. |
| UnstakingWithNoValue | Unstaking a contract with zero value |
| NothingToWithdraw | There are no previously unbonded funds that can be unstaked and withdrawn. |
| AlreadyRegisteredContract | The contract is already registered by other account |
| AlreadyUsedDeveloperAccount | This account was already used to register contract |
| NotOwnedContract | Smart contract not owned by the account id. |
| UnknownEraReward | Report issue on github if this is ever emitted |
| UnexpectedStakeInfoEra | Report issue on github if this is ever emitted |
| TooManyUnlockingChunks | Contract has too many unlocking chunks. Withdraw the existing chunks if possibleor wait for current chunks to complete unlocking process to withdraw them. |
| AlreadyClaimedInThisEra | Contract already claimed in this era and reward is distributed |
| EraOutOfBounds | Era parameter is out of bounds |
| TooManyEraStakeValues | Too many active `EraStake` values for (staker, contract) pairing.Claim existing rewards to fix this problem. |
| NotActiveStaker | Account is not actively staking |
| NominationTransferToSameContract | Transfering nomination to the same contract |