Derive Macro near_contract_tools::Nep141

source ·
#[derive(Nep141)]
{
    // Attributes available to this derive:
    #[nep141]
}
Expand description

Adds NEP-141 fungible token core functionality to a contract. Exposes ft_* functions to the public blockchain, implements internal controller and receiver functionality (see: near_contract_tools::standard::nep141).

The storage key prefix for the fields can be optionally specified (default: "~$141") using #[nep141(storage_key = "<expression>")].