Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

erc721/v0 package

Overview

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.

Function

TotalSupply

func TotalSupply() int64

TotalSupply is the exported read-only accessor for totalSupply.

Command

gnokey query vm/qeval -remote "https://rpc.gno.land" -data "gno.land/r/moul/x/daily/erc721/v0.TotalSupply()"

Result