Name | Lookup | Parameters | |
|---|---|---|---|
| lock | 0900 | 2 | |
| claim | 0901 | - | |
| claim_with_penalty | 0902 | 1 | |
| migrate | 0903 | 1 | |
| set_deposit_contract | 0904 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| DepositCreated | 0900 | ["AccountId","DepositId","Balance","Moment","Moment","Balance"] | |
| DepositsClaimed | 0901 | ["AccountId","Vec<DepositId>"] | |
| DepositClaimedWithPenalty | 0902 | ["AccountId","DepositId","Balance"] | |
| DepositsMigrated | 0903 | ["AccountId","Vec<DepositId>"] |
Name | Type | |
|---|---|---|
| Deposits | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["H160"],"value":"Vec<darwinia_deposit:Deposit>","keys_id":0,"value_id":370}} | |
| DepositContract | {"origin":"PlainType","plain_type":"H160","PlainTypeValue":0} |
Name | Type | Value | |
|---|---|---|---|
| Treasury | H160 | 6d6f646c64612f74727372790000000000000000 | |
| MaxDeposits | U32 | 00020000 |
Name | Docs |
|---|---|
| LockAtLeastSome | Lock at least for a specific amount. |
| LockAtLeastOneMonth | Lock at least for one month. |
| LockAtMostThirtySixMonths | Lock at most for thirty-six months. |
| ExceedMaxDeposits | Exceed maximum deposit count. |
| DepositNotFound | Deposit not found. |
| DepositInUse | Deposit is in use. |
| DepositNotInUse | Deposit is not in use. |
| DepositAlreadyExpired | Deposit is already expired. |
| InvalidDepositContract | Invalid deposit contract. |
| MigrationFailedOnContract | Migration interaction with deposit contract failed. |