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

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

logic/v0 package

Overview

Package logic is version 0 of the logic realm of the "state realm + swappable logic" upgrade pattern (pattern C of the exploration; see ../../README.md).

It owns no state at all. Everything it writes lands in the root data realm, which is what makes replacing this realm cheap: there is nothing here to migrate.

Function

Get

func Get() int
Ask AI Claude ChatGPT

Get reads the shared counter. Same number every version sees.

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/nym-moultest123/x/upgrade/store/logic/v0.Get()"

Result