Skip to content Search Apps Documentation Source Content Run Reset Eval Playground File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

impl/v0 package

Overview

Package impl is version 0 of the implementation realm of the "self-registering implementation" upgrade pattern (pattern E; see ../../README.md).

Deploying this realm is the whole upgrade: init registers it with the facade.

Function

Instance

func Instance() facade.Impl
Ask AI Claude ChatGPT

Instance exposes the singleton so a test (or a rollback) can re-register it without redeploying.

Command

gnokey query vm/qeval -remote "https://rpc.gno.land" -data "gno.land/r/moul/x/upgrade/selfreg/impl/v0.Instance()"

Result

Gno Expression Evaluator

Evaluate any read-only Gno expression against gno.land/r/moul/x/upgrade/selfreg/impl/v0, for example a function call with arguments.