PathrockNetwork Gno Explorer
HomeBlocksTransactionsTokensRealmsPackagesValidatorsAnalytics

PathrockNetwork Gno Explorer — an independent explorer for Gno.land Mainnet (gnoland-1), operated by PathrockNetwork. Not an official Gno.land service.

gnowebarchive RPC

gno.land/p/g1wx60nkcp5lfsxmedeg7sfs47tzxkath05u63t4/grc721v2

Package
Open in gnoweb ↗

Overview

Kind
Pure package
Name
grc721v2
Namespace
g1wx60nkcp5lfsxmedeg7sfs47tzxkath05u63t4
Files
7 (gnomod.toml)
Exported functions
n/a — not supported for pure packages by the node (vm/qfuncs)
Module
gno.land/p/g1wx60nkcp5lfsxmedeg7sfs47tzxkath05u63t4/grc721v2
gno
0.9

Files (7)

  • gnomod.tomltoml
  • basic_nft.gnogno
  • errors.gnogno
  • grc721_metadata.gnogno
  • igrc721_metadata.gnogno
  • igrc721.gnogno
  • util.gnogno
util.gnogno
1package grc721v223const (4	MaxNameLen   = 645	MaxSymbolLen = 116)78var zeroAddress = address("")910func isValidAddress(addr address) error {11	if !addr.IsValid() {12		return ErrInvalidAddress13	}14	return nil15}1617func validName(name string) bool {18	if name == "" || len(name) > MaxNameLen {19		return false20	}21	for _, c := range name {22		if c < 0x20 || c == 0x7f {23			return false24		}25	}26	return true27}2829func validSymbol(symbol string) bool {30	if symbol == "" || len(symbol) > MaxSymbolLen {31		return false32	}33	for _, c := range symbol {34		if !isAlnum(c) && c != '_' && c != '-' {35			return false36		}37	}38	return true39}4041func isAlnum(c rune) bool {42	return (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || (c >= '0' && c <= '9')43}44

Functions

not supported for pure packages by the node (vm/qfuncs)

Signatures reconstructed verbatim from vm/qfuncs — interface params keep their inline definitions.