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/moul/gnopm/v0

Package
Open in gnoweb ↗

Overview

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

Files (10)

  • README.mdmarkdown
  • gnomod.tomltoml
  • errors.gnogno
  • pkgpath.gnogno
  • registry.gnogno
  • validate.gnogno
  • helpers_test.gnogno
  • pkgpath_test.gnogno
  • registry_test.gnogno
  • validate_test.gnogno
  • helpers_test.gnogno
    1package gnopm23// Fixtures shared by the tests in this package.4//5// addrNS is moul's mainnet address, used wherever a test needs a real bech326// address rather than a plausible-looking string: the address-namespace rule7// turns on the bech32 alphabet, so a made-up "g1aaa..." would pass or fail for8// the wrong reason.9const (10	addrNS   = "g1manfred47kzduec920z88wfr64ylksmdcedlf5"11	alice    = address("g1ubwjz3jmrjwmpuvrsjzgy5qkxf5wrgphzmd2tk")12	bob      = address("g1e8vw6gh284q7ggzqs66ug0zvyf42tzsf5zdhsk")13	carol    = address("g1v9kxjcm9ta047h6lta047h6lta047h6lz7gmv8")14	sha1Zero = "0000000000000000000000000000000000000000"15	sha1One  = "1111111111111111111111111111111111111111"16)1718// resolver builds an r/sys/users stand-in from a name -> address table, so the19// ownership rule is tested without importing a realm.20func resolver(table map[string]address) func(string) (address, bool) {21	return func(name string) (address, bool) {22		a, ok := table[name]23		return a, ok24	}25}26

    Functions

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

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