referrerpolicy=no-referrer-when-downgrade

Trait pallet_nfts::pallet::BenchmarkHelper

source ·
pub trait BenchmarkHelper<CollectionId, ItemId, Public, AccountId, Signature> {
    // Required methods
    fn collection(i: u16) -> CollectionId;
    fn item(i: u16) -> ItemId;
    fn signer() -> (Public, AccountId);
    fn sign(signer: &Public, message: &[u8]) -> Signature;
}

Required Methods§

source

fn collection(i: u16) -> CollectionId

source

fn item(i: u16) -> ItemId

source

fn signer() -> (Public, AccountId)

source

fn sign(signer: &Public, message: &[u8]) -> Signature

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<CollectionId, ItemId> BenchmarkHelper<CollectionId, ItemId, MultiSigner, AccountId32, MultiSignature> for ()
where CollectionId: From<u16>, ItemId: From<u16>,

source§

fn collection(i: u16) -> CollectionId

source§

fn item(i: u16) -> ItemId

source§

fn signer() -> (MultiSigner, AccountId32)

source§

fn sign(signer: &MultiSigner, message: &[u8]) -> MultiSignature

Implementors§