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 ()

§

type ApprovesPrefix = Approves

§

type NoncesPrefix = Nonces

source§

impl InstanceToPrefix for Instance1

§

type ApprovesPrefix = Approves

§

type NoncesPrefix = Nonces

Implementors§