Trait gamepower_traits::wallet::OnTransferHandler[][src]

pub trait OnTransferHandler<AccountId, ClassId, TokenId> {
    fn transfer(
        from: &AccountId,
        to: &AccountId,
        asset: (ClassId, TokenId)
    ) -> DispatchResult; }

An asset transfer handler

Required methods

fn transfer(
    from: &AccountId,
    to: &AccountId,
    asset: (ClassId, TokenId)
) -> DispatchResult
[src]

Transfer the given token ID from one account to another.

Loading content...

Implementors

Loading content...