peaq
subscan
Runtime Modules / Contracts
Spec Version:
Call Functions
Name
Lookup
Parameters
call07005
instantiate_with_code07016
instantiate07026
upload_code07032
remove_code07041
set_code07052
Events
Name
Lookup
Attributes
Instantiated0700["AccountId","AccountId"]
Terminated0701["AccountId","AccountId"]
CodeStored0702["Hash"]
ContractEmitted0703["AccountId","Bytes"]
CodeRemoved0704["Hash"]
ContractCodeUpdated0705["AccountId","Hash","Hash"]
Called0706["AccountId","AccountId"]
DelegateCalled0707["AccountId","CodeHash"]
Storage Functions
Name
Type
PristineCode{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"Vec<U8>","keys_id":10,"value_id":269}}
CodeStorage{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_contracts:wasm:PrefabWasmModule","keys_id":10,"value_id":270}}
OwnerInfoOf{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_contracts:wasm:OwnerInfo","keys_id":10,"value_id":272}}
Nonce{"origin":"PlainType","plain_type":"U64","PlainTypeValue":9}
ContractInfoOf{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_contracts:storage:RawContractInfo","keys_id":0,"value_id":273}}
DeletionQueue{"origin":"PlainType","plain_type":"Vec<pallet_contracts:storage:DeletedContract>","PlainTypeValue":275}
Constants
Name
Type
Value
Schedulepallet_contracts:schedule:Schedule0400000000000100008000000010000000001000000001000020000000200000000040000002000000f40b0000d01b0000d61f00007215000064280000da0c00005a140000c21a00002800000028ff0000404101005e0600006c0c0000ec0e00009a0b00009c22000036290000de0d00006c27b200a00a0000fa0a0000e60a00004a0b0000ec090000000a0000640a0000e0100000441100001211000044110000d6100000fe100000e010000094110000cc100000fe1000000410000022100000dc0f0000302a00001e2d0000522b0000c42c0000fa0f000018100000be0f0000c21000003a11000030110000301100004411000051d10700000000002026b80100000000fed4c301000000002a7a0800000000002845030000000000a6c70700000000006cbe070000000000a34816000000000067c307000000000083b8070000000000aba707000000000061ad0700000000001dd2120000000000ccaf03000000000024b107000000000075000000000000000000000000000000b200000000000000684b4d270000000087731900000000005bc42d00000000006bd5a507000000003903000000000000823d0600000000003a38c40700000000de210000000000005b210000000000004235ef07000000005e95c007000000006d21000000000000d9cdb8010000000048090000000000008ef8bd01000000005b0d00000000000022e5c50700000000aa25000000000000329091080000000092d785120000000026087f0c00000000a44fa1080000000083da010000000000e843992d000000005428000000000000ed05000000000000b3b10b00000000004a0f00000000000000100e0000000000b70b000000000000aed9090000000000880400000000000020c70900000000008704000000000000258c490200000000d7a0880100000000
DeletionQueueDepthU3280000000
DeletionWeightLimitU6400ba1dd205000000
DepositPerByteU1280000869eae29d5000000000000000000
ContractAccessWeightU646517010000000000
DepositPerItemU12800004f8c34e814020000000000000000
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.
DuplicateTopicsThe topics passed to `seal_deposit_events` contains at least one duplicate.
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`.
DebugMessageInvalidUTF8The debug message specified to `seal_debug_message` does contain invalid UTF-8.
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.A more detailed error can be found on the node console if debug messages are enabledor in the debug buffer which is returned to RPC clients.