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.

pointsv2 package

Overview

Package pointsv2 is referral + check-in + trade/create points for gnomemepad.

Trade/create awards are pad-only: allowed pad packages call OnTrade / OnCreate after a successful user action. EOAs cannot self-award trade points.

Example
1SetReferrer / CheckIn / AwardPoints / Leaderboard — same as v1
2AllowPad / RevokePad — admin allowlist of pad package paths
3OnTrade / OnCreate — called by pad via cross(cur)
4ParamsInfo — extended for UI

Function

PadCount

func PadCount() int
Ask AI Claude ChatGPT

Command

gnokey query vm/qeval -remote "https://rpc.gno.land" -data "gno.land/r/g1n4pl5uc4yt5r96m9w6fmdznx3x0jyg8l6arhmt/gnomi/pointsv2.PadCount()"

Result