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.

arena package

Overview

Package arena is a SocialFi realm: profiles, posts, follows, GNOT tips, and creator tickets priced on a quadratic bonding curve.

Ticket collateral sits in this realm as totalReserve. Trade fees are forwarded out of that collateral, and Sweep only sends coins above it.

Function

SharesOf

func SharesOf(holder address, handle string) int
Ask AI Claude ChatGPT

SharesOf returns how many tickets holder has of the creator's handle.

Params

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g10ragdr3cjqkael8rslpw4y6rlelhev4h0fswcx/arena.SharesOf(,)"

Result