Name | Lookup | Parameters | |
|---|---|---|---|
| register | 2200 | 2 | |
| unregister | 2201 | 1 | |
| withdraw_from_unregistered | 2202 | 1 | |
| bond_and_stake | 2203 | 2 | |
| unbond_and_unstake | 2204 | 2 | |
| withdraw_unbonded | 2205 | - | |
| nomination_transfer | 2206 | 3 | |
| claim_staker | 2207 | 1 | |
| claim_dapp | 2208 | 2 | |
| force_new_era | 2209 | - | |
| maintenance_mode | 220a | 1 | |
| set_reward_destination | 220b | 1 | |
| set_contract_stake_info | 220c | 3 | |
| burn_stale_reward | 220d | 2 |
Name | Lookup | Attributes | |
|---|---|---|---|
| BondAndStake | 2200 | ["AccountId","SmartContract","Balance"] | |
| UnbondAndUnstake | 2201 | ["AccountId","SmartContract","Balance"] | |
| WithdrawFromUnregistered | 2202 | ["AccountId","SmartContract","Balance"] | |
| Withdrawn | 2203 | ["AccountId","Balance"] | |
| NewContract | 2204 | ["AccountId","SmartContract"] | |
| ContractRemoved | 2205 | ["AccountId","SmartContract"] | |
| NewDappStakingEra | 2206 | ["EraIndex"] | |
| Reward | 2207 | ["AccountId","SmartContract","EraIndex","Balance"] | |
| MaintenanceMode | 2208 | ["bool"] | |
| RewardDestination | 2209 | ["AccountId","RewardDestination"] | |
| NominationTransfer | 220a | ["AccountId","SmartContract","Balance","SmartContract"] | |
| StaleRewardBurned | 220b | ["AccountId","SmartContract","EraIndex","Balance"] |
Name | Type | |
|---|---|---|
| PalletDisabled | {"origin":"PlainType","plain_type":"Bool","PlainTypeValue":51} | |
| Ledger | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"pallet_dapps_staking:AccountLedger","keys_id":0,"value_id":386}} | |
| CurrentEra | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| BlockRewardAccumulator | {"origin":"PlainType","plain_type":"pallet_dapps_staking:RewardInfo","PlainTypeValue":390} | |
| ForceEra | {"origin":"PlainType","plain_type":"pallet_dapps_staking:Forcing","PlainTypeValue":391} | |
| NextEraStartingBlock | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| RegisteredDevelopers | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"shibuya_runtime:SmartContract","keys_id":0,"value_id":48}} | |
| RegisteredDapps | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["shibuya_runtime:SmartContract"],"value":"pallet_dapps_staking:DAppInfo","keys_id":48,"value_id":392}} | |
| GeneralEraInfo | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_dapps_staking:EraInfo","keys_id":4,"value_id":394}} | |
| ContractEraStake | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Twox64Concat"],"key_vec":["shibuya_runtime:SmartContract","U32"],"value":"pallet_dapps_staking:ContractStakeInfo","keys_id":395,"value_id":241}} | |
| GeneralStakerInfo | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","shibuya_runtime:SmartContract"],"value":"Vec<pallet_dapps_staking:EraStake>","keys_id":396,"value_id":397}} | |
| StorageVersion | {"origin":"PlainType","plain_type":"pallet_dapps_staking:Version","PlainTypeValue":400} |
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 |
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 |