func Approve
crossing ActionApprove grants `spender` the right to transfer token `id`. Only the current owner may approve.
Package erc721 is an idiomatic gno.land port of the Solidity ERC-721 non-fungible token standard. Each token has a un...
Package erc721 is an idiomatic gno.land port of the Solidity ERC-721 non-fungible token standard. Each token has a unique integer id owned by exactly one address; ids are minted sequentially. Ownership, per-owner balances and single-token approvals are kept in ordered avl trees so that Render can iterate deterministically.
Approve grants `spender` the right to transfer token `id`. Only the current owner may approve.
BalanceOf is the exported read-only accessor for balanceOf.
Mint creates the next token id and assigns it to `to`. Only sequential minting is supported (id is returned via the Mint event).
Render displays collection metadata and a token -> owner table.
TotalSupply is the exported read-only accessor for totalSupply.
Transfer moves token `id` from the caller to `to`. The caller must own the token (approvals are cleared on transfer).