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

campaign source realm

Package campaign is a near-verbatim copy of the real gems6/campaign realm, redeployed here under the test address so ...

Overview

Package campaign is a near-verbatim copy of the real gems6/campaign realm, redeployed here under the test address so this whole reveal-delay + gemsartfab prototype is self-contained and testable without touching the live gems6 deployment or needing the vesting wallet's own key. Logic is unchanged from the original -- see that package's own doc comments for the full design rationale (why a dedicated prunable realm instead of a Merkle root, the stacking rule in grantOne, etc.).

Functions 9

func Peek

Action
1func Peek(wallet address) (bps int64, remainingUses int64, ok bool)
source

Imports 2

  • chain/runtime/unsafe stdlib
  • strings stdlib

Source Files 2