subscan
Runtime Modules / Contracts
Spec Version:
Events
Name
Lookup
Attributes
Instantiated2e00["AccountId","AccountId"]
Terminated2e01["AccountId","AccountId"]
CodeStored2e02["Hash"]
ContractEmitted2e03["AccountId","Bytes"]
CodeRemoved2e04["Hash"]
ContractCodeUpdated2e05["AccountId","Hash","Hash"]
Called2e06["AccountId","AccountId"]
DelegateCalled2e07["AccountId","CodeHash"]
Storage Functions
Name
Type
PristineCode{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"Vec<U8>","keys_id":11,"value_id":712}}
CodeStorage{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_contracts:wasm:PrefabWasmModule","keys_id":11,"value_id":713}}
OwnerInfoOf{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_contracts:wasm:OwnerInfo","keys_id":11,"value_id":715}}
Nonce{"origin":"PlainType","plain_type":"U64","PlainTypeValue":10}
ContractInfoOf{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_contracts:storage:ContractInfo","keys_id":0,"value_id":716}}
DeletionQueue{"origin":"PlainType","plain_type":"Vec<pallet_contracts:storage:DeletedContract>","PlainTypeValue":718}
Constants
Name
Type
Value
Schedulepallet_contracts:schedule:Schedule0400000000010000000400008000000010000000001000000001000020000000004000000400000000000000eb260000b56b0000f7bb0000703100003a360000270f000087190000512c00004c000000ca81010055db0100662b00004d0400000a2d0000e7320000022b0000403a0000774b0000202c0000cdc8ef008d2d0000d62a0000a92b0000aa2b0000ba2b0000441c0000081e00003e2c00008d270000033000005f2e0000e2230000962e00002a2b0000862000000a3000009f2e0000832e0000712c0000572e0000192c0000ab370000032e0000c435000007310000202c00009b2b0000902b0000402d0000b92d0000212a0000a92d0000daec2c0000b626500d008683ba0d000a5c3f00007e181400001ae22e0000ea4d2d0000eebcb400000e852e0000ceb72a0000fab92d00009a822e0000ae95970000a233100000d6e7260000b50200d60a6a0000d505000319b6e98600e68bd600000e9f900100161dad3c005514004e211a0000510c00e2d3133e00f265010000a25e01000026ec56840002960e3e0016620100005a97ee0d00d55100f2d3fe0d003d6c00aab0233e001679010000fe45827200032cdeb947001e1f2aad00e270720000c10200036ed54c9800ce4f900d00ad1e00711f00dee22e0000d50e008634380000d13500f63b2900007119007e2e4c0000711900d2c9160c0092899903008a3617000056a918000076aa160000
DeletionQueueDepthU3200040000
DeletionWeightLimitsp_weights:weight_v2:Weight070088526a7400
DepositPerByteU12860ea0000000000000000000000000000
DepositPerItemU128f0490200000000000000000000000000
MaxCodeLenU3200ec0100
MaxStorageKeyLenU3280000000
UnsafeUnstableInterfaceBool00
MaxDebugBufferLenU3200002000
Error Types
Name
Docs
InvalidScheduleVersionA new schedule must have a greater version than the current one.
InvalidCallFlagsInvalid combination of flags supplied to `seal_call` or `seal_delegate_call`.
OutOfGasThe executed contract exhausted its gas limit.
OutputBufferTooSmallThe output buffer supplied to a contract API call was too small.
TransferFailedPerforming the requested transfer failed. Probably because there isn't enoughfree balance in the sender's account.
MaxCallDepthReachedPerforming a call was denied because the calling depth reached the limitof what is specified in the schedule.
ContractNotFoundNo contract was found at the specified address.
CodeTooLargeThe code supplied to `instantiate_with_code` exceeds the limit specified in thecurrent schedule.
CodeNotFoundNo code could be found at the supplied code hash.
OutOfBoundsA buffer outside of sandbox memory was passed to a contract API function.
DecodingFailedInput passed to a contract API function failed to decode as expected type.
ContractTrappedContract trapped during execution.
ValueTooLargeThe size defined in `T::MaxValueSize` was exceeded.
TerminatedWhileReentrantTermination 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.
RandomSubjectTooLongThe subject passed to `seal_random` exceeds the limit.
TooManyTopicsThe amount of topics passed to `seal_deposit_events` exceeds the limit.
NoChainExtensionThe 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.
DeletionQueueFullRemoval of a contract failed because the deletion queue is full.This can happen when calling `seal_terminate`.The queue is filled by deleting contracts and emptied by a fixed amount each block.Trying again during another block is the only way to resolve this issue.
DuplicateContractA contract with the same AccountId already exists.
TerminatedInConstructorA contract self destructed in its constructor.This can be triggered by a call to `seal_terminate`.
ReentranceDeniedA call tried to invoke a contract that is flagged as non-reentrant.
StorageDepositNotEnoughFundsOrigin doesn't have enough balance to pay the required storage deposits.
StorageDepositLimitExhaustedMore storage was created than allowed by the storage deposit limit.
CodeInUseCode removal was denied because the code is still in use by at least one contract.
ContractRevertedThe 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.
CodeRejectedThe contract's code was found to be invalid during validation or instrumentation.The most likely cause of this is that an API was used which is not supported by thenode. This hapens 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`.
IndeterministicAn indetermistic code was used in a context where this is not permitted.