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/r/g17khqpukees4237dtn3astzapmp462vjhsz6st4/settlers/nft

Realm
Open in gnoweb ↗

Overview

Kind
Realm (renderable)
Name
nft
Namespace
g17khqpukees4237dtn3astzapmp462vjhsz6st4 / settlers
Files
6 (README)(gnomod.toml)
Exported functions
27
Module
gno.land/r/g17khqpukees4237dtn3astzapmp462vjhsz6st4/settlers/nft
gno
0.9

Files (6)

  • README.mdmarkdown
  • gnomod.tomltoml
  • grc721.gnogno
  • metadata.gnogno
  • nft.gnogno
  • render.gnogno
grc721.gnogno
1package nft23import "gno.land/p/nt/grc721/v0"45// Token returns the collection as a read-only GRC721 teller.6func Token() grc721.Teller { return collection.ReadonlyTeller() }78// GetName returns the name of the collection.9func GetName() string { return collection.GetName() }1011// GetSymbol returns the symbol of the collection.12func GetSymbol() string { return collection.GetSymbol() }1314// ID returns the ID of the collection.15func ID() string { return collection.ID() }1617// TotalSupply returns the number of Settlers minted so far.18func TotalSupply() int64 { return collection.TotalSupply() }1920// BalanceOf returns the number of Settlers of an account, 0 or 1.21func BalanceOf(owner address) (int64, error) { return collection.BalanceOf(owner) }2223// OwnerOf returns the owner account of a Settler.24func OwnerOf(tid grc721.TokenID) (address, error) { return collection.OwnerOf(tid) }2526// GetApproved returns the account allowed to move a Settler on behalf of its owner.27// Settlers are soulbound, so it always fails.28func GetApproved(tid grc721.TokenID) (address, error) { return collection.GetApproved(tid) }2930// IsApprovedForAll reports whether an account is allowed to move the Settler of another account.31// Settlers are soulbound, so it is always false.32func IsApprovedForAll(owner, operator address) bool {33	return collection.IsApprovedForAll(owner, operator)34}3536// Approve always fails, Settlers are soulbound.37func Approve(cur realm, to address, tid grc721.TokenID) { panic(ErrSoulbound) }3839// SetApprovalForAll always fails, Settlers are soulbound.40func SetApprovalForAll(cur realm, operator address, approved bool) { panic(ErrSoulbound) }4142// TransferFrom always fails, Settlers are soulbound.43func TransferFrom(cur realm, from, to address, tid grc721.TokenID) { panic(ErrSoulbound) }44

Functions

  • Admin() string

  • Approve(cur interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}, to string, tid string)

  • BalanceOf(owner string) (int64, interface {Error func() string})

  • Cap() int

  • ClearNotice(cur interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string})

  • ExternalURL(tid string) string

  • GetApproved(tid string) (string, interface {Error func() string})

  • GetName() string

  • GetSymbol() string

  • ID() string

  • IsApprovedForAll(owner string, operator string) bool

  • MerkleRoot() string

  • Mint(cur interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}, proof string) string

  • OwnerOf(tid string) (string, interface {Error func() string})

  • Render(path string) string

  • SetApprovalForAll(cur interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}, operator string, approved bool)

  • SetNotice(cur interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}, alertType string, msg string)

  • SetSnapshot(cur interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}, rootHex string, count int)

  • Token() interface {Approve func(int, .uverse.realm, .uverse.address, gno.land/p/nt/grc721/v0.TokenID) .uverse.error; BalanceOf func(.uverse.address) (int64, .uverse.error); GetApproved func(gno.land/p/nt/grc721/v0.TokenID) (.uverse.address, .uverse.error); GetName func() string; GetSymbol func() string; ID func() string; IsApprovedForAll func(.uverse.address, .uverse.address) bool; OwnerOf func(gno.land/p/nt/grc721/v0.TokenID) (.uverse.address, .uverse.error); SetApprovalForAll func(int, .uverse.realm, .uverse.address, bool) .uverse.error; TotalSupply func() int64; TransferFrom func(int, .uverse.realm, .uverse.address, .uverse.address, gno.land/p/nt/grc721/v0.TokenID) .uverse.error}

  • TokenMetadata(tid string) (string, interface {Error func() string})

  • TokenOf(addr string) string

  • TokenURI(tid string) (string, interface {Error func() string})

  • Total() int

  • TotalSupply() int64

  • TraitsOf(tid string) (struct{Skin uint8; Hat uint8; BeardColor uint8; Tunic uint8; Background uint8; HatShape uint8; Flip uint8; Glasses uint8; Beard uint8}, interface {Error func() string})

  • TransferAdmin(cur interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}, newAdmin string)

  • TransferFrom(cur interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}, from string, to string, tid string)

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

Rendered

RenderedRawgnoweb ↗

vm/qrender output, sanitized (docs/render-security.md) and displayed in an empty-sandbox iframe — scripts, forms and popups cannot run. Links stay inert in-preview; right-click to open.