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

config/v1 package

Overview

Package config is the versioned, governed configuration for Memba Launchpad. Its admin is the account that published it until a two-step handoff moves the role. Every lane starts paused and without terms.

Function

AssertLaneOpen

func AssertLaneOpen(lane, currency string)
Ask AI Claude ChatGPT

AssertLaneOpen gates a new inflow: the lane is open and the currency is listed with complete terms. A caller that charges the terms in force reads them in the same transaction, as the NFT realms do; one that charges at the version its user signed for checks that version with AssertNewAction, as token creations and fair-sale launches do. The token lanes' exits use the terms recorded at launch and pass no gate.

Params

Command

gnokey query vm/qeval -remote "https://rpc.gno.land" -data "gno.land/r/samcrew/launchpad/config/v1.AssertLaneOpen(,)"

Result

Gno Expression Evaluator

Evaluate any read-only Gno expression against gno.land/r/samcrew/launchpad/config/v1, for example a function call with arguments.