Name | Lookup | Parameters | |
---|---|---|---|
call_old_weight | 0700 | 5 | |
instantiate_with_code_old_weight | 0701 | 6 | |
instantiate_old_weight | 0702 | 6 | |
upload_code | 0703 | 3 | |
remove_code | 0704 | 1 | |
set_code | 0705 | 2 | |
call | 0706 | 5 | |
instantiate_with_code | 0707 | 6 | |
instantiate | 0708 | 6 | |
migrate | 0709 | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
Instantiated | 0700 | ["AccountId","AccountId"] | |
Terminated | 0701 | ["AccountId","AccountId"] | |
CodeStored | 0702 | ["Hash","BalanceOf","AccountId"] | |
ContractEmitted | 0703 | ["AccountId","Bytes"] | |
CodeRemoved | 0704 | ["Hash","BalanceOf","AccountId"] | |
ContractCodeUpdated | 0705 | ["AccountId","Hash","Hash"] | |
Called | 0706 | ["Origin","AccountId"] | |
DelegateCalled | 0707 | ["AccountId","CodeHash"] | |
StorageDepositTransferredAndHeld | 0708 | ["AccountId","AccountId","BalanceOf"] | |
StorageDepositTransferredAndReleased | 0709 | ["AccountId","AccountId","BalanceOf"] |
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} |
Name | Type | Value | |
---|---|---|---|
Schedule | pallet_contracts:schedule:Schedule | 04000000000100000004000080000000100000000010000000010000200000000040000000000008050a0000eeb013001842e8ca06f129e217f906012aa66b18001882c50a000cbaa609000ce63a13001862ab150018fe095e00188e31130018326f130018262013001882e3130018d694420038b21b100018750f0000b401050003d313424c4952c6dd48002896557900285e9b691e3127d5070082d80d001c0910003664461f9504010900e10204c20bea4649303ada3e1f85047101041e52190785045503048a7c2207a504510f045666491fa504650e042ae8622561272e109473852a328cf260352986b8d890ad51290f005e5f8beead2a72b1511fd527051000191200660e170020e510007ed82e00203d3400ea0f1b0020c91200aedb1a0020ad1200522fe70a3501baa9d502a896c4e309c101155a048ea80a000c7e2a0f00a01a7509000c16b3551fb9289ae0251f2128 | |
DepositPerByte | U128 | 00a0724e180900000000000000000000 | |
DefaultDepositLimit | U128 | 000090c660d05c020000000000000000 | |
DepositPerItem | U128 | 0000e941cc6b01000000000000000000 | |
CodeHashLockupDepositPercent | U32 | 00a3e111 | |
MaxCodeLen | U32 | 00ec0100 | |
MaxStorageKeyLen | U32 | 80000000 | |
MaxDelegateDependencies | U32 | 20000000 | |
UnsafeUnstableInterface | Bool | 00 | |
MaxDebugBufferLen | U32 | 00002000 | |
Environment | pallet_contracts:Environment |
Name | Docs |
---|---|
InvalidSchedule | Invalid schedule supplied, e.g. with zero weight of a basic operation. |
InvalidCallFlags | Invalid combination of flags supplied to `seal_call` or `seal_delegate_call`. |
OutOfGas | The executed contract exhausted its gas limit. |
OutputBufferTooSmall | The output buffer supplied to a contract API call was too small. |
TransferFailed | Performing the requested transfer failed. Probably because there isn't enoughfree balance in the sender's account. |
MaxCallDepthReached | Performing a call was denied because the calling depth reached the limitof what is specified in the schedule. |
ContractNotFound | No contract was found at the specified address. |
CodeTooLarge | The code supplied to `instantiate_with_code` exceeds the limit specified in thecurrent schedule. |
CodeNotFound | No code could be found at the supplied code hash. |
CodeInfoNotFound | No code info could be found at the supplied code hash. |
OutOfBounds | A buffer outside of sandbox memory was passed to a contract API function. |
DecodingFailed | Input passed to a contract API function failed to decode as expected type. |
ContractTrapped | Contract trapped during execution. |
ValueTooLarge | The size defined in `T::MaxValueSize` was exceeded. |
TerminatedWhileReentrant | Termination 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. |
RandomSubjectTooLong | The subject passed to `seal_random` exceeds the limit. |
TooManyTopics | The amount of topics passed to `seal_deposit_events` exceeds the limit. |
NoChainExtension | The 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. |
XCMDecodeFailed | Failed to decode the XCM program. |
DuplicateContract | A contract with the same AccountId already exists. |
TerminatedInConstructor | A contract self destructed in its constructor.This can be triggered by a call to `seal_terminate`. |
ReentranceDenied | A 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. |
StorageDepositNotEnoughFunds | Origin doesn't have enough balance to pay the required storage deposits. |
StorageDepositLimitExhausted | More storage was created than allowed by the storage deposit limit. |
CodeInUse | Code removal was denied because the code is still in use by at least one contract. |
ContractReverted | The 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. |
CodeRejected | The 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`. |
Indeterministic | An indetermistic code was used in a context where this is not permitted. |
MigrationInProgress | A pending migration needs to complete before the extrinsic can be called. |
NoMigrationPerformed | Migrate dispatch call was attempted but no migration was performed. |
MaxDelegateDependenciesReached | The contract has reached its maximum number of delegate dependencies. |
DelegateDependencyNotFound | The dependency was not found in the contract's delegate dependencies. |
DelegateDependencyAlreadyExists | The contract already depends on the given delegate dependency. |
CannotAddSelfAsDelegateDependency | Can not add a delegate dependency to the code hash of the contract itself. |