subscan
Runtime Modules / Contracts
Spec Version:
Events
Name
Lookup
Attributes
Instantiated1200["AccountId","AccountId"]
Terminated1201["AccountId","AccountId"]
CodeStored1202["Hash"]
ContractEmitted1203["AccountId","Bytes"]
CodeRemoved1204["Hash"]
ContractCodeUpdated1205["AccountId","Hash","Hash"]
Called1206["Origin","AccountId"]
DelegateCalled1207["AccountId","CodeHash"]
Storage Functions
Name
Type
PristineCode{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"Vec<U8>","keys_id":12,"value_id":271}}
CodeInfoOf{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_contracts:wasm:CodeInfo","keys_id":12,"value_id":272}}
Nonce{"origin":"PlainType","plain_type":"U64","PlainTypeValue":11}
ContractInfoOf{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_contracts:storage:ContractInfo","keys_id":0,"value_id":273}}
DeletionQueue{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"Vec<U8>","keys_id":4,"value_id":196}}
DeletionQueueCounter{"origin":"PlainType","plain_type":"pallet_contracts:storage:DeletionQueueManager","PlainTypeValue":275}
MigrationInProgress{"origin":"PlainType","plain_type":"Vec<U8>","PlainTypeValue":276}
Constants
Name
Type
Value
Schedulepallet_contracts:schedule:Schedule04000000000100000004000080000000100000000010000000010000200000000040000000000008f31300006a6d1500189203e5066d2a3e4210077d2a66991900189a5d0b000c1a0f0a000cbab6140018b642210018a26e640018be631400187aad140018b6bf130018f218140018f29a5a00387ebb1100186910003683a300b40d0600aab903fbb5783e887f002872f1ed0028d68a641e3127f90a00360c0f001c4911009adb7d1f9504110b00ad040456dcb4473d30f61a721f85040004aadc4407850485020472604f07a504910d046a347d1fa504110a04328e6a276127666a0b76012bfa27d66325298e5b3e9131520911009223acf949510265cd1d49284d1200bd13001e0a1800209111002a5931002009350032cc1b0020851300160c1c00206913000ea6020b3501e246e402a81aa7730dc101155f0406f70a000c9e621300a0aa9f09000c
DepositPerByteU128005a6202000000000000000000000000
DefaultDepositLimitU128ffffffffffffffffffffffffffffffff
DepositPerItemU12800404b4c000000000000000000000000
MaxCodeLenU3200000200
MaxStorageKeyLenU3280000000
UnsafeUnstableInterfaceBool00
MaxDebugBufferLenU3200002000
Error Types
Name
Docs
InvalidScheduleInvalid schedule supplied, e.g. with zero weight of a basic operation.
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.
CodeInfoNotFoundNo code info 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.
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.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.
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.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`.
IndeterministicAn indetermistic code was used in a context where this is not permitted.
MigrationInProgressA pending migration needs to complete before the extrinsic can be called.
NoMigrationPerformedMigrate dispatch call was attempted but no migration was performed.