Name | Lookup | Parameters | |
|---|---|---|---|
| do_upgrade | 2200 | 1 | |
| register | 2201 | 1 | |
| unregister | 2202 | 1 | |
| bond_and_stake | 2203 | 2 | |
| unbond_and_unstake | 2204 | 2 | |
| withdraw_unbonded | 2205 | - | |
| claim | 2206 | 2 | |
| force_new_era | 2207 | - | |
| developer_pre_approval | 2208 | 1 | |
| enable_developer_pre_approval | 2209 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| BondAndStake | 2200 | ["AccountId","SmartContract","BalanceOf"] | |
| UnbondAndUnstake | 2201 | ["AccountId","SmartContract","BalanceOf"] | |
| Withdrawn | 2202 | ["AccountId","BalanceOf"] | |
| NewContract | 2203 | ["AccountId","SmartContract"] | |
| ContractRemoved | 2204 | ["AccountId","SmartContract"] | |
| NewDappStakingEra | 2205 | ["EraIndex"] | |
| Reward | 2206 | ["AccountId","SmartContract","EraIndex","BalanceOf"] |
Name | Type | |
|---|---|---|
| MigrationStateV2 | {"origin":"PlainType","plain_type":"pallet_dapps_staking:migrations:v2:MigrationState","PlainTypeValue":236} | |
| PalletDisabled | {"origin":"PlainType","plain_type":"Bool","PlainTypeValue":57} | |
| Ledger | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"pallet_dapps_staking:AccountLedger","keys_id":0,"value_id":238}} | |
| CurrentEra | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| BlockRewardAccumulator | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
| ForceEra | {"origin":"PlainType","plain_type":"pallet_dapps_staking:Forcing","PlainTypeValue":242} | |
| RegisteredDevelopers | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"shibuya_runtime:SmartContract","keys_id":0,"value_id":37}} | |
| RegisteredDapps | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["shibuya_runtime:SmartContract"],"value":"AccountId","keys_id":37,"value_id":0}} | |
| EraRewardsAndStakes | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_dapps_staking:EraRewardAndStake","keys_id":4,"value_id":243}} | |
| ContractEraStake | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Twox64Concat"],"key_vec":["shibuya_runtime:SmartContract","U32"],"value":"pallet_dapps_staking:EraStakingPoints","keys_id":244,"value_id":245}} | |
| StorageVersion | {"origin":"PlainType","plain_type":"pallet_dapps_staking:Version","PlainTypeValue":249} | |
| PreApprovalIsEnabled | {"origin":"PlainType","plain_type":"Bool","PlainTypeValue":57} | |
| PreApprovedDevelopers | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"NULL","keys_id":0,"value_id":27}} |
Name | Type | Value | |
|---|---|---|---|
| BlockPerEra | U32 | b0040000 | |
| RegisterDeposit | U128 | 000010632d5ec76b0500000000000000 | |
| DeveloperRewardPercentage | U32 | 0065cd1d | |
| MaxNumberOfStakersPerContract | U32 | 00080000 | |
| MinimumStakingAmount | U128 | 0000f444829163450000000000000000 | |
| HistoryDepth | U32 | 3c000000 | |
| BonusEraDuration | U32 | 58020000 | |
| PalletId | [U8; 8] | 70792f6470737374 | |
| MinimumRemainingAmount | U128 | 000064a7b3b6e00d0000000000000000 | |
| MaxUnlockingChunks | U32 | 02000000 | |
| UnbondingPeriod | U32 | 02000000 |
Name | Docs |
|---|---|
| Disabled | Disabled |
| 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. |
| 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 |
| ContractIsNotValid | User attempts to register with address which is not contract |
| 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 |
| NotStaked | Contract hasn't been staked on in this era. |
| 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 |
| RequiredContractPreApproval | To register a contract, pre-approval is needed for this address |
| AlreadyPreApprovedDeveloper | Developer's account is already part of pre-approved list |