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/gnoswap/common/v1

Realm
Open in gnoweb ↗

Overview

Kind
Realm (renderable)
Name
v1
Namespace
gnoswap / common
Files
7 (gnomod.toml)
Exported functions
1
Module
gno.land/r/gnoswap/common/v1
gno
0.9

Files (7)

  • gnomod.tomltoml
  • errors.gnogno
  • init.gnogno
  • instance.gnogno
  • native_coin.gnogno
  • render.gnogno
  • validate.gnogno
errors.gnogno
1package common23import (4	"gno.land/p/nt/ufmt/v0"5)67const (8	errNotRegistered       = "[GNOSWAP-COMMON-001] token is not registered"9	errNotHandleNativeCoin = "[GNOSWAP-COMMON-002] handle native coin is not allowed"10	errInvalidTokenKey     = "[GNOSWAP-COMMON-003] invalid token key"11)1213func newErrorWithDetail(message string, detail string) string {14	return ufmt.Errorf("%s || %s", message, detail).Error()15}16

Functions

  • NewCommonV1() interface {Allowance func(string, .uverse.address, .uverse.address) int64; Approve func(int, .uverse.realm, string, .uverse.address, int64) .uverse.error; BalanceOf func(string, .uverse.address) int64; IsRegistered func(string) .uverse.error; Render func(string) string; TotalSupply func(string) int64; Transfer func(int, .uverse.realm, string, .uverse.address, int64) .uverse.error; TransferFrom func(int, .uverse.realm, string, .uverse.address, .uverse.address, int64) .uverse.error; ValidateNotHandleNativeCoin func() .uverse.error; ValidateRegistered func(...string) .uverse.error}

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

Rendered

RenderedRawgnoweb ↗

Render unavailable

rate limit exceeded — the render query is served by the Gnoland archive RPC.

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.