assethub-polkadot
subscan
AssetHub Polkadot
Runtime Modules / Revive
Spec Version:
Events
Name
Lookup
Attributes
ContractEmitted5a00["H160","Bytes","Vec<H256>"]
Instantiated5a01["H160","H160"]
EthExtrinsicRevert5a02["DispatchError"]
Storage Functions
Name
Type
PristineCode{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"Vec<U8>","keys_id":13,"value_id":14}}
CodeInfoOf{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_revive:vm:CodeInfo","keys_id":13,"value_id":1009}}
AccountInfoOf{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H160"],"value":"pallet_revive:storage:AccountInfo","keys_id":491,"value_id":1011}}
ImmutableDataOf{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H160"],"value":"Vec<U8>","keys_id":491,"value_id":1014}}
DeletionQueue{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"Vec<U8>","keys_id":4,"value_id":185}}
DeletionQueueCounter{"origin":"PlainType","plain_type":"pallet_revive:storage:DeletionQueueManager","PlainTypeValue":1015}
OriginalAccount{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H160"],"value":"AccountId","keys_id":491,"value_id":0}}
EthereumBlock{"origin":"PlainType","plain_type":"pallet_revive:evm:api:rpc_types_gen:Block","PlainTypeValue":1016}
BlockHash{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["U32"],"value":"H256","keys_id":4,"value_id":13}}
ReceiptInfoData{"origin":"PlainType","plain_type":"Vec<pallet_revive:evm:block_hash:ReceiptGasInfo>","PlainTypeValue":1043}
EthBlockBuilderIR{"origin":"PlainType","plain_type":"pallet_revive:evm:block_hash:block_builder:EthereumBlockBuilderIR","PlainTypeValue":1045}
EthBlockBuilderFirstValues{"origin":"PlainType","plain_type":"option<Tuple:Vec<U8>Vec<U8>>","PlainTypeValue":1047}
DebugSettingsOf{"origin":"PlainType","plain_type":"pallet_revive:debug:DebugSettings","PlainTypeValue":1048}
Constants
Name
Type
Value
DepositPerByteU128a0860100000000000000000000000000
DepositPerItemU12800943577000000000000000000000000
DepositPerChildTrieItemU12800c2eb0b000000000000000000000000
CodeHashLockupDepositPercentU3200a3e111
UnsafeUnstableInterfaceBool00
AllowEVMBytecodeBool01
ChainIdU64431b0f1900000000
NativeToEthRatioU3200e1f505
MaxEthExtrinsicWeightU1280000da493b717d0c0000000000000000
DebugEnabledBool00
GasScaleU3280380100
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.
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.
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.
ValueTooLargeEvent body or storage item exceeds [`limits::STORAGE_BYTES`].
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.
TooManyTopicsThe amount of topics passed to `seal_deposit_events` exceeds the limit.
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.
ReenteredPalletA contract called into the runtime which then called back into this pallet.
StateChangeDeniedA contract attempted to invoke a state modifying API while being in read-only mode.
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 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`.
BlobTooLargeThe code blob supplied is larger than [`limits::code::BLOB_BYTES`].
StaticMemoryTooLargeThe contract declares too much memory (ro + rw + stack).
BasicBlockTooLargeThe program contains a basic block that is larger than allowed.
InvalidInstructionThe program contains an invalid instruction.
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.
OutOfTransientStorageCan not add more data to transient storage.
InvalidSyscallThe contract tried to call a syscall which does not exist (at its current api level).
InvalidStorageFlagsInvalid storage flags were passed to one of the storage syscalls.
ExecutionFailedPolkaVM failed during code execution. Probably due to a malformed program.
BalanceConversionFailedFailed to convert a U256 to a Balance.
InvalidImmutableAccessImmutable 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.
AccountUnmappedAn `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.
AccountAlreadyMappedTried to map an account that is already mapped.
InvalidGenericTransactionThe transaction used to dry-run a contract is invalid.
RefcountOverOrUnderflowThe refcount of a code either over or underflowed.
UnsupportedPrecompileAddressUnsupported precompile address.
CallDataTooLargeThe calldata exceeds [`limits::CALLDATA_BYTES`].
ReturnDataTooLargeThe return data exceeds [`limits::CALLDATA_BYTES`].
InvalidJumpInvalid jump destination. Dynamic jumps points to invalid not jumpdest opcode.
StackUnderflowAttempting to pop a value from an empty stack.
StackOverflowAttempting to push a value onto a full stack.
TxFeeOverdrawToo much deposit was drawn from the shared txfee and deposit credit.This happens if the passed `gas` inside the ethereum transaction is too low.
EvmConstructorNonEmptyDataWhen calling an EVM constructor `data` has to be empty.EVM constructors do not accept data. Their input data is part of the code blob itself.
EvmConstructedFromHashTried to construct an EVM contract via code hash.EVM contracts can only be instantiated via code upload as no initcode isstored on-chain.
StorageRefundNotEnoughFundsThe contract does not have enough balance to refund the storage deposit.This is a bug and should never happen. It means the accounting got out of sync.
StorageRefundLockedThis means there are locks on the contracts storage deposit that prevents refunding it.This would be the case if the contract used its storage deposits for governanceor other pallets that allow creating locks over held balance.
PrecompileDelegateDeniedCalled a pre-compile that is not allowed to be delegate called.Some pre-compile functions will trap the caller context if being delegatecalled or if their caller was being delegate called.