sp_evm_tracker

Trait EvmTrackerApi

Source
pub trait EvmTrackerApi<Block: BlockT>: Core<Block> {
    // Provided method
    fn construct_evm_contract_creation_allowed_by_extrinsic(
        &self,
        __runtime_api_at_param__: <Block as BlockT>::Hash,
        decoded_argument: PermissionedActionAllowedBy<EthereumAccountId>,
    ) -> Result<Block::Extrinsic, ApiError> { ... }
}
Expand description

Api to check and verify the evm-tracker extrinsic calls

Provided Methods§

Source

fn construct_evm_contract_creation_allowed_by_extrinsic( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, decoded_argument: PermissionedActionAllowedBy<EthereumAccountId>, ) -> Result<Block::Extrinsic, ApiError>

Returns an encoded extrinsic for domain “set contract creation allowed by” call.

Trait Implementations§

Source§

impl<Block: BlockT> RuntimeApiInfo for dyn EvmTrackerApi<Block>

Source§

const ID: [u8; 8]

The identifier of the runtime api.
Source§

const VERSION: u32 = 1u32

The version of the runtime api.

Implementors§