Macro near_contract_standards::impl_fungible_token_storage[][src]

macro_rules! impl_fungible_token_storage {
    ($contract: ident, $token: ident, $on_account_closed_block: block,) => { ... };
    ($contract: ident, $token: ident, $on_account_closed: ident) => { ... };
    ($contract: ident, $token: ident) => { ... };
}

Takes name of the Contract struct, the inner field for the token and optional method name to call when the account was closed.