macro_rules! nep11 {
($($tokens:tt)*) => { ... };
}Expand description
NEP-11 (non-fungible token) standard macro.
Currently unavailable on the wasm32 export ABI, for the same reason
as nep17!: the NEP-11 surface (symbol/name string returns,
Hash160/ByteString accounts and token ids) cannot be marshalled through
the scalar-only #[neo_method] export wrappers. Any invocation fails to
compile with guidance rather than silently exporting no methods.
Write the contract by hand with #[neo_contract] + #[neo_method]
until the typed-parameter export ABI lands — see contracts/nep11-nft.