subscan
Runtime Modules / Contracts
Spec Version:
Events
Name
Lookup
Attributes
Instantiated4600["AccountId","AccountId"]
Terminated4601["AccountId","AccountId"]
CodeStored4602["Hash","BalanceOf","AccountId"]
ContractEmitted4603["AccountId","Bytes"]
CodeRemoved4604["Hash","BalanceOf","AccountId"]
ContractCodeUpdated4605["AccountId","Hash","Hash"]
Called4606["Origin","AccountId"]
DelegateCalled4607["AccountId","CodeHash"]
StorageDepositTransferredAndHeld4608["AccountId","AccountId","BalanceOf"]
StorageDepositTransferredAndReleased4609["AccountId","AccountId","BalanceOf"]
Storage Functions
Name
Type
PristineCode{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"Vec<U8>","keys_id":12,"value_id":501}}
CodeInfoOf{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_contracts:wasm:CodeInfo","keys_id":12,"value_id":502}}
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":503}}
DeletionQueue{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"Vec<U8>","keys_id":4,"value_id":504}}
DeletionQueueCounter{"origin":"PlainType","plain_type":"pallet_contracts:storage:DeletionQueueManager","PlainTypeValue":509}
MigrationInProgress{"origin":"PlainType","plain_type":"Vec<U8>","PlainTypeValue":510}
Constants
Name
Type
Value
Schedulepallet_contracts:schedule:Schedule0400000000010000000400008000000010000000001000000001000020000000004000000000000827130000b6b5140018f222dd06f129baf81507012a762b1a0018362c0b000cd2170a000c4afb1400185aad160018b616650018a233150018ca941400189230140018129f1400181e4c5800387a4111001871100000b41d0600032470934d4952b2927d00285278e80028fe36ae1e31276d0b0062b90e001c391100a687811f95048d0800b90804f6e2264849308a30741f850410041e81480785044d0104d2355207a504c90f048642721fa5040d0a04ee4cf9266127261fc876852aee7d506535290e4ed290ad515d11006e7d8df7ad2a0265cd1dd527ad1e003120007273180020b91100eef830002049350026531d0020991300cad71e002091130016eaf90a35016e5ed902a812c0610dc1012d6004be060b000cc66a1300a02a5409000c1209661fb9280e33351f2128
DepositPerByteU1280040e59c301200000000000000000000
DefaultDepositLimitU1280000a081e2866f050000000000000000
DepositPerItemU12800001a93fa350e000000000000000000
CodeHashLockupDepositPercentU3200e1f505
MaxCodeLenU3200ec0100
MaxStorageKeyLenU3280000000
MaxDelegateDependenciesU3220000000
UnsafeUnstableInterfaceBool00
MaxDebugBufferLenU3200002000
Environmentpallet_contracts:Environment
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.
MaxDelegateDependenciesReachedThe contract has reached its maximum number of delegate dependencies.
DelegateDependencyNotFoundThe dependency was not found in the contract's delegate dependencies.
DelegateDependencyAlreadyExistsThe contract already depends on the given delegate dependency.
CannotAddSelfAsDelegateDependencyCan not add a delegate dependency to the code hash of the contract itself.