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 |
Name | Lookup | Attributes | |
|---|---|---|---|
| BondAndStake | 2200 | ["AccountId","SmartContract","BalanceOf"] | |
| UnbondAndUnstake | 2201 | ["AccountId","SmartContract","BalanceOf"] | |
| WithdrawFromUnregistered | 2202 | ["AccountId","SmartContract","BalanceOf"] | |
| Withdrawn | 2203 | ["AccountId","BalanceOf"] | |
| NewContract | 2204 | ["AccountId","SmartContract"] | |
| ContractRemoved | 2205 | ["AccountId","SmartContract"] | |
| NewDappStakingEra | 2206 | ["EraIndex"] | |
| Reward | 2207 | ["AccountId","SmartContract","EraIndex","BalanceOf"] | |
| MaintenanceMode | 2208 | ["bool"] | |
| RewardDestination | 2209 | ["AccountId","RewardDestination"] | |
| NominationTransfer | 220a | ["AccountId","SmartContract","BalanceOf","SmartContract"] |
Name | Type | |
|---|---|---|
| PalletDisabled | {"origin":"PlainType","plain_type":"Bool","PlainTypeValue":43} | |
| Ledger | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"pallet_dapps_staking:AccountLedger","keys_id":0,"value_id":321}} | |
| CurrentEra | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| BlockRewardAccumulator | {"origin":"PlainType","plain_type":"pallet_dapps_staking:RewardInfo","PlainTypeValue":325} | |
| ForceEra | {"origin":"PlainType","plain_type":"pallet_dapps_staking:Forcing","PlainTypeValue":326} | |
| 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":40}} | |
| RegisteredDapps | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["shiden_runtime:SmartContract"],"value":"pallet_dapps_staking:DAppInfo","keys_id":40,"value_id":327}} | |
| GeneralEraInfo | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_dapps_staking:EraInfo","keys_id":4,"value_id":329}} | |
| ContractEraStake | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Twox64Concat"],"key_vec":["shiden_runtime:SmartContract","U32"],"value":"pallet_dapps_staking:ContractStakeInfo","keys_id":330,"value_id":207}} | |
| 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":331,"value_id":332}} | |
| StorageVersion | {"origin":"PlainType","plain_type":"pallet_dapps_staking:Version","PlainTypeValue":335} |
Name | Type | Value | |
|---|---|---|---|
| BlockPerEra | U32 | 201c0000 | |
| RegisterDeposit | U128 | 000010632d5ec76b0500000000000000 | |
| MaxNumberOfStakersPerContract | U32 | 00040000 | |
| MinimumStakingAmount | U128 | 000088b116afe3b50200000000000000 | |
| PalletId | [U8; 8] | 70792f6470737374 | |
| MinimumRemainingAmount | U128 | 000064a7b3b6e00d0000000000000000 | |
| MaxUnlockingChunks | U32 | 05000000 | |
| UnbondingPeriod | U32 | 05000000 | |
| MaxEraStakeValues | U32 | 05000000 |
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 |