Name | Lookup | Parameters | |
|---|---|---|---|
| eth_transact | 3c00 | 1 | |
| call | 3c01 | 5 | |
| instantiate | 3c02 | 6 | |
| instantiate_with_code | 3c03 | 6 | |
| eth_instantiate_with_code | 3c0a | 5 | |
| eth_call | 3c0b | 5 | |
| upload_code | 3c04 | 2 | |
| remove_code | 3c05 | 1 | |
| set_code | 3c06 | 2 | |
| map_account | 3c07 | - | |
| unmap_account | 3c08 | - | |
| dispatch_as_fallback_account | 3c09 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| ContractEmitted | 3c00 | ["H160","Bytes","Vec<H256>"] | |
| Instantiated | 3c01 | ["H160","H160"] |
Name | Type | |
|---|---|---|
| PristineCode | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"Vec<U8>","keys_id":13,"value_id":1022}} | |
| CodeInfoOf | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_revive:vm:CodeInfo","keys_id":13,"value_id":1023}} | |
| AccountInfoOf | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H160"],"value":"pallet_revive:storage:AccountInfo","keys_id":224,"value_id":1024}} | |
| ImmutableDataOf | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H160"],"value":"Vec<U8>","keys_id":224,"value_id":1027}} | |
| DeletionQueue | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"Vec<U8>","keys_id":4,"value_id":199}} | |
| DeletionQueueCounter | {"origin":"PlainType","plain_type":"pallet_revive:storage:DeletionQueueManager","PlainTypeValue":1028} | |
| OriginalAccount | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H160"],"value":"AccountId","keys_id":224,"value_id":0}} |
Name | Type | Value | |
|---|---|---|---|
| DepositPerByte | U128 | 15160500000000000000000000000000 | |
| DepositPerItem | U128 | a4425d8d010000000000000000000000 | |
| CodeHashLockupDepositPercent | U32 | 00a3e111 | |
| UnsafeUnstableInterface | Bool | 00 | |
| ChainId | U64 | 421b0f1900000000 | |
| NativeToEthRatio | U32 | 40420f00 |
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. |
| 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. |
| 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 | Event body or storage item exceeds [`limits::PAYLOAD_BYTES`]. |
| 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. |
| TooManyTopics | The amount of topics passed to `seal_deposit_events` exceeds the limit. |
| 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. |
| ReenteredPallet | A contract called into the runtime which then called back into this pallet. |
| StateChangeDenied | A contract attempted to invoke a state modifying API while being in read-only mode. |
| 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 failed to compile or is missing the correct entry points.A more detailed error can be found on the node console if debug messages are enabledby supplying `-lruntime::revive=debug`. |
| BlobTooLarge | The code blob supplied is larger than [`limits::code::BLOB_BYTES`]. |
| StaticMemoryTooLarge | The contract declares too much memory (ro + rw + stack). |
| BasicBlockTooLarge | The program contains a basic block that is larger than allowed. |
| InvalidInstruction | The program contains an invalid instruction. |
| 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. |
| OutOfTransientStorage | Can not add more data to transient storage. |
| InvalidSyscall | The contract tried to call a syscall which does not exist (at its current api level). |
| InvalidStorageFlags | Invalid storage flags were passed to one of the storage syscalls. |
| ExecutionFailed | PolkaVM failed during code execution. Probably due to a malformed program. |
| BalanceConversionFailed | Failed to convert a U256 to a Balance. |
| InvalidImmutableAccess | Immutable data can only be set during deploys and only be read during calls.Additionally, it is only valid to set the data once and it must not be empty. |
| AccountUnmapped | An `AccountID32` account tried to interact with the pallet without having a mapping.Call [`Pallet::map_account`] in order to create a mapping for the account. |
| AccountAlreadyMapped | Tried to map an account that is already mapped. |
| InvalidGenericTransaction | The transaction used to dry-run a contract is invalid. |
| RefcountOverOrUnderflow | The refcount of a code either over or underflowed. |
| UnsupportedPrecompileAddress | Unsupported precompile address. |
| CallDataTooLarge | The calldata exceeds [`limits::CALLDATA_BYTES`]. |
| ReturnDataTooLarge | The return data exceeds [`limits::CALLDATA_BYTES`]. |