Name | Lookup | Parameters | |
---|---|---|---|
call_old_weight | 2100 | 5 | |
instantiate_with_code_old_weight | 2101 | 6 | |
instantiate_old_weight | 2102 | 6 | |
upload_code | 2103 | 3 | |
remove_code | 2104 | 1 | |
set_code | 2105 | 2 | |
call | 2106 | 5 | |
instantiate_with_code | 2107 | 6 | |
instantiate | 2108 | 6 | |
migrate | 2109 | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
Instantiated | 2100 | ["AccountId","AccountId"] | |
Terminated | 2101 | ["AccountId","AccountId"] | |
CodeStored | 2102 | ["Hash","BalanceOf","AccountId"] | |
ContractEmitted | 2103 | ["AccountId","Bytes"] | |
CodeRemoved | 2104 | ["Hash","BalanceOf","AccountId"] | |
ContractCodeUpdated | 2105 | ["AccountId","Hash","Hash"] | |
Called | 2106 | ["Origin","AccountId"] | |
DelegateCalled | 2107 | ["AccountId","CodeHash"] | |
StorageDepositTransferredAndHeld | 2108 | ["AccountId","AccountId","BalanceOf"] | |
StorageDepositTransferredAndReleased | 2109 | ["AccountId","AccountId","BalanceOf"] |
Name | Type | |
---|---|---|
PristineCode | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"Vec<U8>","keys_id":12,"value_id":475}} | |
CodeInfoOf | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_contracts:wasm:CodeInfo","keys_id":12,"value_id":476}} | |
Nonce | {"origin":"PlainType","plain_type":"U64","PlainTypeValue":4} | |
ContractInfoOf | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_contracts:storage:ContractInfo","keys_id":0,"value_id":477}} | |
DeletionQueue | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"Vec<U8>","keys_id":8,"value_id":380}} | |
DeletionQueueCounter | {"origin":"PlainType","plain_type":"pallet_contracts:storage:DeletionQueueManager","PlainTypeValue":482} | |
MigrationInProgress | {"origin":"PlainType","plain_type":"Vec<U8>","PlainTypeValue":483} |
Name | Type | Value | |
---|---|---|---|
Schedule | pallet_contracts:schedule:Schedule | 04000000000100000004000080000000100000000010000000010000200000000040000000000008b83d00001a231c00183615ff06f1297aa94107012a7ad324001832610d000cf6f20b000ce2921b0018260a1e001812a67c001892d91b00188ea01a0018a23f1b001816011b0018823c570038dec8160018010b0022d0320220a1060003fa99ab4e5552224b8a0028d280030128fa49941e3127950900528f11001cf1100092d4981f9504950c00190504baa4e3484930a260921f8504590604d6fe5a0785040004a6137107a504150b0426f1a01fa5040d0c04eab8f3286127fad7767b852a627b47693529b6bcf446cd51950a000636abffad2a9672f7307d28cd1a00311c004e501c0020790f0066a0360020b13300e6fa220020d515004eb3230020811500c2682b0c3501fae7f002a8a233fe0fc101ed670492f00c000ce2d412009c06f60b000cda837f1fb928de224d1f2128 | |
DepositPerByte | U128 | b0710b00000000000000000000000000 | |
DefaultDepositLimit | U128 | 00601d91a90b00000000000000000000 | |
DepositPerItem | U128 | 00d6117e030000000000000000000000 | |
CodeHashLockupDepositPercent | U32 | 00e1f505 | |
MaxCodeLen | U32 | 00ec0100 | |
MaxStorageKeyLen | U32 | 80000000 | |
MaxDelegateDependencies | U32 | 20000000 | |
UnsafeUnstableInterface | Bool | 00 | |
MaxDebugBufferLen | U32 | 00002000 | |
Environment | pallet_contracts:Environment |
Name | Docs |
---|---|
InvalidSchedule | Invalid schedule supplied, e.g. with zero weight of a basic operation. |
InvalidCallFlags | Invalid combination of flags supplied to `seal_call` or `seal_delegate_call`. |
OutOfGas | The executed contract exhausted its gas limit. |
OutputBufferTooSmall | The output buffer supplied to a contract API call was too small. |
TransferFailed | Performing the requested transfer failed. Probably because there isn't enoughfree balance in the sender's account. |
MaxCallDepthReached | Performing a call was denied because the calling depth reached the limitof what is specified in the schedule. |
ContractNotFound | No contract was found at the specified address. |
CodeTooLarge | The code supplied to `instantiate_with_code` exceeds the limit specified in thecurrent schedule. |
CodeNotFound | No code could be found at the supplied code hash. |
CodeInfoNotFound | No code info could be found at the supplied code hash. |
OutOfBounds | A buffer outside of sandbox memory was passed to a contract API function. |
DecodingFailed | Input passed to a contract API function failed to decode as expected type. |
ContractTrapped | Contract trapped during execution. |
ValueTooLarge | The size defined in `T::MaxValueSize` was exceeded. |
TerminatedWhileReentrant | Termination of a contract is not allowed while the contract is alreadyon the call stack. Can be triggered by `seal_terminate`. |
InputForwarded | `seal_call` forwarded this contracts input. It therefore is no longer available. |
RandomSubjectTooLong | The subject passed to `seal_random` exceeds the limit. |
TooManyTopics | The amount of topics passed to `seal_deposit_events` exceeds the limit. |
NoChainExtension | The chain does not provide a chain extension. Calling the chain extension resultsin this error. Note that this usually shouldn't happen as deploying such contractsis rejected. |
DuplicateContract | A contract with the same AccountId already exists. |
TerminatedInConstructor | A contract self destructed in its constructor.This can be triggered by a call to `seal_terminate`. |
ReentranceDenied | A call tried to invoke a contract that is flagged as non-reentrant.The only other cause is that a call from a contract into the runtime tried to call backinto `pallet-contracts`. This would make the whole pallet reentrant with regard tocontract code execution which is not supported. |
StorageDepositNotEnoughFunds | Origin doesn't have enough balance to pay the required storage deposits. |
StorageDepositLimitExhausted | More storage was created than allowed by the storage deposit limit. |
CodeInUse | Code removal was denied because the code is still in use by at least one contract. |
ContractReverted | The contract ran to completion but decided to revert its storage changes.Please note that this error is only returned from extrinsics. When called directlyor via RPC an `Ok` will be returned. In this case the caller needs to inspect the flagsto determine whether a reversion has taken place. |
CodeRejected | The contract's code was found to be invalid during validation.The most likely cause of this is that an API was used which is not supported by thenode. This happens if an older node is used with a new version of ink!. Try updatingyour node to the newest available version.A more detailed error can be found on the node console if debug messages are enabledby supplying `-lruntime::contracts=debug`. |
Indeterministic | An indetermistic code was used in a context where this is not permitted. |
MigrationInProgress | A pending migration needs to complete before the extrinsic can be called. |
NoMigrationPerformed | Migrate dispatch call was attempted but no migration was performed. |
MaxDelegateDependenciesReached | The contract has reached its maximum number of delegate dependencies. |
DelegateDependencyNotFound | The dependency was not found in the contract's delegate dependencies. |
DelegateDependencyAlreadyExists | The contract already depends on the given delegate dependency. |
CannotAddSelfAsDelegateDependency | Can not add a delegate dependency to the code hash of the contract itself. |