Modules
Fungible tokens as described in by the spec.
Non-fungible tokens as described in by the spec.
Storage management deals with handling state storage on NEAR. This follows the storage management standard.
upgradeDeprecated
This upgrade standard is a use case where a staging area exists for a WASM
blob, allowing it to be stored for a period of time before deployed.
Macros
The core methods for a basic fungible token. Extension standards may be
added in addition to this macro.
Ensures that when fungible token storage grows by collections adding entries,
the storage is be paid by the caller. This ensures that storage cannot grow to a point
that the FT contract runs out of Ⓝ.
Takes name of the Contract struct, the inner field for the token and optional method name to
call when the account was closed.
Non-fungible token approval management allows for an escrow system where
multiple approvals per token exist.
The core methods for a basic non-fungible token. Extension standards may be
added in addition to this macro.
Non-fungible enumeration adds the extension standard offering several
view-only methods to get token supply, tokens per owner, etc.