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.

gnocial package

Overview

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

Each ticket trade charges FeeCapBps of the curve. The creator chooses a share from CreatorFeeMinBps to CreatorFeeMaxBps. A creator referrer and a trader referrer each take a fixed slice when that person exists. The treasury receives the rest of the cap. That remainder is this package's schedule. Arena has not published its protocol percent.

Ticket collateral sits in this realm as totalReserve. Trade fees are forwarded out of that collateral, and Sweep only sends coins above it. This package does not receive the reserve of an earlier realm.

Function

SupplyOf

func SupplyOf(handle string) (supply int, reserve int64, holders int)
Ask AI Claude ChatGPT

SupplyOf returns tickets outstanding, ugnot locked in that curve, and holders.

Param

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1n4pl5uc4yt5r96m9w6fmdznx3x0jyg8l6arhmt/gnocial.SupplyOf()"

Result