peaq
subscan
Runtime Modules / Contracts
Spec Version:
Events
Name
Lookup
Attributes
Instantiated0700["AccountId","AccountId"]
Terminated0701["AccountId","AccountId"]
CodeStored0702["Hash","BalanceOf","AccountId"]
ContractEmitted0703["AccountId","Bytes"]
CodeRemoved0704["Hash","BalanceOf","AccountId"]
ContractCodeUpdated0705["AccountId","Hash","Hash"]
Called0706["Origin","AccountId"]
DelegateCalled0707["AccountId","CodeHash"]
StorageDepositTransferredAndHeld0708["AccountId","AccountId","BalanceOf"]
StorageDepositTransferredAndReleased0709["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":348}}
CodeInfoOf{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_contracts:wasm:CodeInfo","keys_id":12,"value_id":349}}
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":350}}
DeletionQueue{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"Vec<U8>","keys_id":4,"value_id":351}}
DeletionQueueCounter{"origin":"PlainType","plain_type":"pallet_contracts:storage:DeletionQueueManager","PlainTypeValue":356}
MigrationInProgress{"origin":"PlainType","plain_type":"Vec<U8>","PlainTypeValue":357}
Constants
Name
Type
Value
Schedulepallet_contracts:schedule:Schedule04000000000100000004000080000000100000000010000000010000200000000040000000000008050a0000eeb013001842e8ca06f129e217f906012aa66b18001882c50a000cbaa609000ce63a13001862ab150018fe095e00188e31130018326f130018262013001882e3130018d694420038b21b100018750f0000b401050003d313424c4952c6dd48002896557900285e9b691e3127d5070082d80d001c0910003664461f9504010900e10204c20bea4649303ada3e1f85047101041e52190785045503048a7c2207a504510f045666491fa504650e042ae8622561272e109473852a328cf260352986b8d890ad51290f005e5f8beead2a72b1511fd527051000191200660e170020e510007ed82e00203d3400ea0f1b0020c91200aedb1a0020ad1200522fe70a3501baa9d502a896c4e309c101155a048ea80a000c7e2a0f00a01a7509000c16b3551fb9289ae0251f2128
DepositPerByteU12800a0724e180900000000000000000000
DefaultDepositLimitU128000090c660d05c020000000000000000
DepositPerItemU1280000e941cc6b01000000000000000000
CodeHashLockupDepositPercentU3200a3e111
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.
XCMDecodeFailedFailed to decode the XCM program.
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.