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/g1lnkytfqcjwllws63gvf0mv9yt04aswy4y9amhm/upgradeable/v0

Package
Open in gnoweb ↗

Overview

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

Files (4)

  • gnomod.tomltoml
  • authority.gnogno
  • errors.gnogno
  • upgradeable.gnogno
errors.gnogno
1package upgradeable23import "errors"45var (6	// ErrNoAuthority is raised when a Proxy is built, or handed, a nil7	// authority. There is no "nobody" authority: to end upgradeability,8	// Freeze it.9	ErrNoAuthority = errors.New("upgradeable: an authority is required")1011	// ErrUnauthorized is raised when the caller is not the authority.12	ErrUnauthorized = errors.New("upgradeable: caller is not the authority")1314	// ErrStaleRealm is raised when the threaded realm value is not the15	// caller's live cur -- a stashed or replayed capture.16	ErrStaleRealm = errors.New("upgradeable: realm value is not the caller's live cur")1718	// ErrFrozen is raised by every mutating method once Freeze has run.19	ErrFrozen = errors.New("upgradeable: proxy is frozen")2021	// ErrNoImpl is raised when the proxy is asked for an implementation it22	// does not have yet.23	ErrNoImpl = errors.New("upgradeable: no implementation is live")2425	// ErrNotNested is raised when a candidate registers from a realm that is26	// not under the proxy realm's own path. See New and NewOpen.27	ErrNotNested = errors.New("upgradeable: candidate realm is not nested under this one")2829	// ErrNotARealm is raised when a candidate registers from a user call30	// rather than from a deployed realm, so there is no path to record.31	ErrNotARealm = errors.New("upgradeable: only a deployed realm can register a candidate")3233	// ErrNilImpl is raised when the registered implementation is nil.34	ErrNilImpl = errors.New("upgradeable: implementation is nil")3536	// ErrUnknownPath is raised when accepting or withdrawing a path that has37	// no candidate registered against it.38	ErrUnknownPath = errors.New("upgradeable: no candidate registered at that path")3940	// ErrNoHistory is raised by Rollback when nothing has been replaced yet.41	ErrNoHistory = errors.New("upgradeable: no previous release to roll back to")4243	// ErrBadAddress is raised when an authority is built from an invalid44	// address.45	ErrBadAddress = errors.New("upgradeable: invalid address")4647	// ErrBadRealmPath is raised when an authority is built from a realm path48	// that is blank or carries surrounding whitespace. Both are silent49	// lockouts: a blank entry matches every user call, and a padded one50	// matches no caller at all.51	ErrBadRealmPath = errors.New("upgradeable: authority realm paths must be non-blank and unpadded")52)53

Functions

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

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