pallet_evm_precompile_balances_erc20

Trait InstanceToPrefix

Source
pub trait InstanceToPrefix {
    type ApprovesPrefix: StorageInstance;
    type NoncesPrefix: StorageInstance;
}
Expand description

Associates pallet Instance to a prefix used for the Approves storage. This trait is implemented for () and the 16 substrate Instance.

Required Associated Types§

Source

type ApprovesPrefix: StorageInstance

Prefix used for the Approves storage.

Source

type NoncesPrefix: StorageInstance

Prefix used for the Approves storage.

Implementations on Foreign Types§

Source§

impl InstanceToPrefix for ()

Source§

type ApprovesPrefix = Approves

Source§

type NoncesPrefix = Nonces

Source§

impl InstanceToPrefix for Instance1

Source§

type ApprovesPrefix = Approves

Source§

type NoncesPrefix = Nonces

Implementors§