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

padv11 state

Back to all declarations

wugnotTokenKey

untyped string

Sapphire Gnoswap registry keys / role addresses (sapphire-1).

Value

"gno.land/r/gnoland/wugnot.wugnot"

gnsTokenKey

untyped string

Sapphire Gnoswap registry keys / role addresses (sapphire-1).

Value

"gno.land/r/gnoswap/gns.GNS"

gnoswapPoolAddrStr

untyped string

Sapphire Gnoswap registry keys / role addresses (sapphire-1).

Value

"g1dexaf6aqkkyr9yfy9d5up69lsn7ra80af34g5v"

gnoswapRouterAddrStr

untyped string

Sapphire Gnoswap registry keys / role addresses (sapphire-1).

Value

"g1vc883gshu5z7ytk5cdynhc8c2dh67pdp4cszkp"

tryListOnGnoswap

func(l *padv11.Launch, raisedUgnot int64, remainingTokens int64) bool

tryListOnGnoswap seeds a Gnoswap CL pool with remaining meme tokens + raised-sized WUGNOT as LP. CreatePool fee (fixed GNS amount) is paid from: 1. pre-funded GNS on pad (preferred — immune to GNOT/GNS price moves), else 2. ExactOut WUGNOT→GNS using SURPLUS inventory only (above raised), so LP depth stays equal to raised even when GNS is expensive. Returns true on success. Soft failure sets l.GnoswapNote and returns false (caller keeps internal CPMM). Note: wugnot.Deposit is EOA-only — protocol must pre-fund pad with WUGNOT (and ideally GNS). Raised ugnot stays on pad as wrap-back backlog.

Open
OID
087ba8…2057:3
tryListOnGnoswap details

Inspect func

swapWugnotForGNS

func(amountOutGNS int64, maxInWugnot int64) (spent int64, ok bool)

swapWugnotForGNS ExactOut-swaps WUGNOT→GNS. maxInWugnot is a hard ceiling (slippage / price protection): if market needs more GNOT for amountOutGNS, swap reverts.

Open
OID
087ba8…2057:5
swapWugnotForGNS details

Inspect func

computeSqrtPriceX96

func(amount0 int64, amount1 int64) string

computeSqrtPriceX96 returns sqrt(amount1/amount0) \* 2^96 as decimal string.

Open
OID
087ba8…2057:6
computeSqrtPriceX96 details

Inspect func

u256Sqrt

func(x *uint256.Uint) *uint256.Uint
Open
OID
087ba8…2057:7
u256Sqrt details

Inspect func

alignedFullRangeTicks

func(spacing int32) (int32, int32)
Open
OID
087ba8…2057:8
alignedFullRangeTicks details

Inspect func

GnoswapListedOf

func(id string) bool

GnoswapListedOf reports whether a launch was auto-listed on Gnoswap.

Open
OID
087ba8…2057:9
GnoswapListedOf details

Inspect func

GnoswapPoolPathOf

func(id string) string

GnoswapPoolPathOf returns the Gnoswap pool path after listing (or empty).

Open
OID
087ba8…2057:10
GnoswapPoolPathOf details

Inspect func

GnoswapNoteOf

func(id string) string

GnoswapNoteOf returns the listing status note.

Open
OID
087ba8…2057:11
GnoswapNoteOf details

Inspect func

launches

v0.Tree

// id -> \*Launch

Open
OID
087ba8…2057:13
launches details

Inspect ref

bySymbol

v0.Tree

// symbol -> id string

Open
OID
087ba8…2057:15
bySymbol details

Inspect ref

nextID

v0.ID

Value

<zero>

nextTokenID

v0.ID

// GRC20 identity sequence (shared for all launches)

Value

<zero>

padAddr

.uverse.address

Value

<gnolang.StringValue>

protocolAddr

.uverse.address

Value

<gnolang.StringValue>

protocolFees

int64

Value

20861267

protocolFeesPaid

int64

Value

0

inited

bool

Value

true

testSkipBanker

bool

Value

false

pointsEnabled

bool

Value

false

Trade

type

Trade is one price sample for charts (capped history per launch).

Value

padv11.Trade

Launch

type

Launch is one meme market: curve phase then locked pool phase. token/ledger are unexported so external packages cannot Mint/Burn via field access.

Value

padv11.Launch

Init

func()

Init sets the protocol treasury. First EOA caller becomes fee recipient (protocolAddr). Protocol trade fees accrue on-pad until ClaimProtocolFees (treasury only) or PushProtocolFees (anyone may push to treasury). Creator fees always need ClaimCreatorFees by the token creator. Deploy note: call Init with the wallet that should receive protocol fees (or TransferProtocol later). Gnoswap CreatePool GNS fee is paid to Gnoswap, not to this treasury.

Open
OID
087ba8…2057:27
Init details

Inspect func

creditProtocol

func(amt int64)

creditProtocol accrues protocol ugnot liability on the pad realm. Cash stays in pad until ClaimProtocolFees / PushProtocolFees.

Open
OID
087ba8…2057:28
creditProtocol details

Inspect func

SetPointsEnabled

func(on bool)

SetPointsEnabled toggles pointsv2 notifications (protocol admin only). pointsv2 must AllowPad(this package path) or OnTrade/OnCreate will panic and revert the trade.

Open
OID
087ba8…2057:30
SetPointsEnabled details

Inspect func

PointsEnabled

func() bool

PointsEnabled reports whether pad notifies pointsv2 after trades/creates.

Open
OID
087ba8…2057:31
PointsEnabled details

Inspect func

notifyTrade

func(trader .uverse.address, id string, side int64, volumeUgnot int64)
Open
OID
087ba8…2057:32
notifyTrade details

Inspect func

notifyCreate

func(creator .uverse.address, id string)
Open
OID
087ba8…2057:33
notifyCreate details

Inspect func

mustLaunch

func(id string) *padv11.Launch
Open
OID
087ba8…2057:34
mustLaunch details

Inspect func

balOf

func(l *padv11.Launch, addr .uverse.address) int64
Open
OID
087ba8…2057:35
balOf details

Inspect func

addBal

func(l *padv11.Launch, addr .uverse.address, delta int64)

addBal mints (delta>0) or burns (delta\<0) GRC20 via pad-owned PrivateLedger.

Open
OID
087ba8…2057:36
addBal details

Inspect func

requireMinOut

func(got int64, minOut int64, what string)
Open
OID
087ba8…2057:37
requireMinOut details

Inspect func

snipeBoughtOf

func(l *padv11.Launch, buyer .uverse.address) int64
Open
OID
087ba8…2057:38
snipeBoughtOf details

Inspect func

checkAndAddSnipe

func(l *padv11.Launch, buyer .uverse.address, tokensOut int64)
Open
OID
087ba8…2057:39
checkAndAddSnipe details

Inspect func

sendUgnot

func(to .uverse.address, amount int64)
Open
OID
087ba8…2057:40
sendUgnot details

Inspect func

requireUserPayment

func() int64
Open
OID
087ba8…2057:41
requireUserPayment details

Inspect func

noteBuyer

func(l *padv11.Launch, buyer .uverse.address)
Open
OID
087ba8…2057:42
noteBuyer details

Inspect func

spotPriceScaled

func(l *padv11.Launch) int64

spotPriceScaled returns ugnot/token \* 1e6 from current curve or pool reserves.

Open
OID
087ba8…2057:44
spotPriceScaled details

Inspect func

recordTrade

func(l *padv11.Launch, side int, ugnot int64, tokens int64)
Open
OID
087ba8…2057:45
recordTrade details

Inspect func

maybeRefundBond

func(l *padv11.Launch)
Open
OID
087ba8…2057:46
maybeRefundBond details

Inspect func

requiredCreateBond

func() int64

requiredCreateBond returns ugnot the creator must send. Production: createbond.CurrentBondUgnot() (promo or normal). Unit tests (testSkipBanker): local CreateBondUgnot constant.

Open
OID
087ba8…2057:47
requiredCreateBond details

Inspect func

CreateBondRequired

func() int64

CreateBondRequired is a public alias for UIs / qeval (same as requiredCreateBond).

Open
OID
087ba8…2057:48
CreateBondRequired details

Inspect func

Create

func(name string, symbol string, uri string) string

Create deploys a fair-launch meme. Bond amount from bond realm (or fallback const). No pre-mint; all tradeable float starts on the bonding curve.

Open
OID
087ba8…2057:49
Create details

Inspect func

AdenaPathOf

func(id string) string

AdenaPathOf returns the grc20reg / Adena token key: packagePath.SYMBOL (Token.ID is packagePath.SYMBOL.seq — Adena rejects that form).

Open
OID
087ba8…2057:50
AdenaPathOf details

Inspect func

adenaKeyFromTokenID

func(tokenID string, symbol string) string

adenaKeyFromTokenID strips the trailing .seq from Token.ID when present.

Open
OID
087ba8…2057:51
adenaKeyFromTokenID details

Inspect func

maxGrossForNetIn

func(maxNet int64, sentMax int64) int64

maxGrossForNetIn finds largest gross ugnot ≤ sentMax whose fee-split netIn ≤ maxNet.

Open
OID
087ba8…2057:52
maxGrossForNetIn details

Inspect func

readyToGraduate

func(l *padv11.Launch) bool

readyToGraduate is true when raise met the threshold, or the entire curve float is sold (sold-out escape: threshold may be unreachable with bad virtuals).

Open
OID
087ba8…2057:53
readyToGraduate details

Inspect func

Buy

func(id string, minTokensOut int64) int64

Buy spends -send ugnot on the bonding curve; credits tokens to the caller. minTokensOut: slippage floor (0 = disabled). Auto-graduates at threshold or sold-out. Last-fill (no overshoot): 1. Cap net ugnot so RaisedUgnot never exceeds GraduationThreshold (refund excess). 2. Cap by remaining curve tokens (CurveSupply - RealSold), same as before. Concurrent large buys serialize per-tx; each fill only the remaining raise/tokens. If the curve is already sold out (or raise already filled), Buy refunds the full send and graduates when ready — no panic so users are not stuck mid-tx.

Open
OID
087ba8…2057:54
Buy details

Inspect func

RemainingRaiseUgnot

func(id string) int64

RemainingRaiseUgnot is net ugnot still needed to hit GraduationThreshold (0 if met/over).

Open
OID
087ba8…2057:55
RemainingRaiseUgnot details

Inspect func

Sell

func(id string, tokensIn int64, minUgnotOut int64) int64

Sell burns curve tokens and pays ugnot (fee on output). minUgnotOut: slippage floor (0 = disabled).

Open
OID
087ba8…2057:56
Sell details

Inspect func

Graduate

func(id string)

Graduate permissionlessly moves a ready curve into a permanently locked CPMM. Ready when RaisedUgnot >= GraduationThreshold, or when RealSold >= CurveSupply with RaisedUgnot > 0 (sold-out before threshold — escape hatch for unreachable raise).

Open
OID
087ba8…2057:57
Graduate details

Inspect func

TokenIDOf

func(id string) string

TokenIDOf returns the GRC20 Token.ID() for a launch.

Open
OID
087ba8…2057:59
TokenIDOf details

Inspect func

GRC20Bank

func(id string) *grc20.Token

GRC20Bank returns the underlying \*grc20.Token for interop (metadata / external DEX). Does not expose PrivateLedger — mint/burn stay pad-only.

Open
OID
087ba8…2057:60
GRC20Bank details

Inspect func

SwapBuy

func(id string, minTokensOut int64) int64

SwapBuy buys tokens from the graduated pool with -send ugnot. minTokensOut: slippage floor (0 = disabled). Disabled when the launch was auto-listed on Gnoswap (trade there instead).

Open
OID
087ba8…2057:61
SwapBuy details

Inspect func

SwapSell

func(id string, tokensIn int64, minUgnotOut int64) int64

SwapSell sells tokens into the graduated pool for ugnot. minUgnotOut: slippage floor (0 = disabled).

Open
OID
087ba8…2057:62
SwapSell details

Inspect func

Transfer

func(id string, to .uverse.address, amount int64)

Transfer moves GRC20 tokens between addresses (user-initiated).

Open
OID
087ba8…2057:63
Transfer details

Inspect func

Approve

func(id string, spender .uverse.address, amount int64)

Approve sets GRC20 allowance so DEX/contracts can TransferFrom.

Open
OID
087ba8…2057:64
Approve details

Inspect func

TransferFrom

func(id string, from .uverse.address, to .uverse.address, amount int64)

TransferFrom spends allowance: spender = MsgCall EOA caller. Enables DEX / routers that hold allowance from Approve.

Open
OID
087ba8…2057:65
TransferFrom details

Inspect func

ClaimCreatorFees

func(id string) int64

ClaimCreatorFees withdraws accrued creator fees for a launch. Only the token creator may claim. Fees stay on pad until claimed.

Open
OID
087ba8…2057:66
ClaimCreatorFees details

Inspect func

payoutProtocolFees

func() int64

payoutProtocolFees sends all pending protocolFees to protocolAddr. Shared by ClaimProtocolFees and PushProtocolFees.

Open
OID
087ba8…2057:67
payoutProtocolFees details

Inspect func

ClaimProtocolFees

func() int64

ClaimProtocolFees withdraws pending protocol fees to protocolAddr. Only the current protocol treasury key may call (same wallet that Init'd, unless TransferProtocol was used).

Open
OID
087ba8…2057:68
ClaimProtocolFees details

Inspect func

PushProtocolFees

func() int64

PushProtocolFees sends pending protocol fees to protocolAddr. Permissionless: anyone may call so treasury can be paid without the protocol key signing (still only pays the configured protocolAddr).

Open
OID
087ba8…2057:69
PushProtocolFees details

Inspect func

TransferProtocol

func(newAddr .uverse.address)

TransferProtocol rotates the protocol fee recipient (current protocol only). Pending protocolFees stay on pad until claimed/pushed to the \*new\* address.

Open
OID
087ba8…2057:70
TransferProtocol details

Inspect func

ProtocolAddress

func() string

ProtocolAddress returns the current protocol treasury address (bech32).

Open
OID
087ba8…2057:71
ProtocolAddress details

Inspect func

ProtocolFeesPaid

func() int64

ProtocolFeesPaid returns lifetime ugnot already paid out to the treasury.

Open
OID
087ba8…2057:72
ProtocolFeesPaid details

Inspect func

FeeInfo

func() string

FeeInfo returns protocolAddr|pendingUgnot|paidUgnot for UIs.

Open
OID
087ba8…2057:73
FeeInfo details

Inspect func

PadAddress

func() string

PadAddress returns this pad realm's bech32 package address (fund WUGNOT here).

Open
OID
087ba8…2057:74
PadAddress details

Inspect func

AdminInfo

func() string

AdminInfo is a single-line dashboard snapshot for the ops UI: protocolAddr|pendingFees|paidFees|reservedUgnot|launchCount|pointsOn|inited|padAddr pointsOn/inited are 0|1.

Open
OID
087ba8…2057:75
AdminInfo details

Inspect func

IsProtocol

func(addr string) bool

IsProtocol reports whether addr is the current treasury (for UI gating).

Open
OID
087ba8…2057:76
IsProtocol details

Inspect func

reservedUgnot

func() int64

reservedUgnot is ugnot the pad must keep to honor user/creator liabilities and active markets (curve raised, internal CPMM, bonds, pending fees).

Open
OID
087ba8…2057:77
reservedUgnot details

Inspect func

ReservedUgnot

func() int64

ReservedUgnot is ugnot the pad must keep for markets + pending claims.

Open
OID
087ba8…2057:78
ReservedUgnot details

Inspect func

freeUgnot

func() int64

freeUgnot reports bank ugnot above reserved liabilities (0 if short/test).

Open
OID
087ba8…2057:79
freeUgnot details

Inspect func

WithdrawProtocolUgnot

func(amount int64) int64

WithdrawProtocolUgnot lets the treasury pull free ugnot from the pad bank (e.g. raised backlog after Gnoswap list, to re-wrap as WUGNOT inventory). Capped by free balance; panics if amount > free.

Open
OID
087ba8…2057:80
WithdrawProtocolUgnot details

Inspect func

BalanceOf

func(id string, owner .uverse.address) int64
Open
OID
087ba8…2057:81
BalanceOf details

Inspect func

ListBuyers

func(id string) string

ListBuyers returns unique buyer addresses (one per line), capped for query size. Only addresses that bought at least once on this pad (UniqueBuyers). Not full GRC20 holders who received tokens via transfer.

Open
OID
087ba8…2057:82
ListBuyers details

Inspect func

GetRaised

func(id string) int64
Open
OID
087ba8…2057:84
GetRaised details

Inspect func

GetPool

func(id string) (ugnot int64, token int64)
Open
OID
087ba8…2057:85
GetPool details

Inspect func

GetCreatorFees

func(id string) int64
Open
OID
087ba8…2057:86
GetCreatorFees details

Inspect func

ResolveSymbol

func(symbol string) string
Open
OID
087ba8…2057:89
ResolveSymbol details

Inspect func

ListIDs

func() string

ListIDs returns newline-separated launch IDs (sorted by AVL key / creation order).

Open
OID
087ba8…2057:90
ListIDs details

Inspect func

LaunchInfo

func(id string) string

LaunchInfo returns a single-line pipe-delimited summary for UIs/indexers: id|name|symbol|status|raised|sold|buyers|creatorFees|poolUgnot|poolToken|uri|creator|virtualUgnot|virtualToken|created|tokenID|gnoswapReady|gnoswapListed|gnoswapPoolPath status: 0=curve 1=graduated; gnoswapReady/listed: 0|1

Open
OID
087ba8…2057:91
LaunchInfo details

Inspect func

ParamsInfo

func() string

ParamsInfo returns parameters for UI display. total|curve|poolSeed|gradThreshold|feeBps|createBond createBond is live from bond realm when not in unit-test mode.

Open
OID
087ba8…2057:92
ParamsInfo details

Inspect func

TradeHistory

func(id string) string

TradeHistory returns newline-separated chart points: height|side|ugnot|tokens|priceScaled side: 0=buy 1=sell 2=open/graduate. Ordered oldest → newest.

Open
OID
087ba8…2057:93
TradeHistory details

Inspect func

TradeCount

func(id string) int

TradeCount returns number of stored chart samples for a launch.

Open
OID
087ba8…2057:94
TradeCount details

Inspect func

resetForTest

func()

resetForTest clears package state between unit tests.

Open
OID
087ba8…2057:95
resetForTest details

Inspect func

TotalSupply

int64

Value

1000000000

CurveSupply

int64

// sold on bonding curve

Value

800000000

PoolSeed

int64

Value

200000000

VirtualUgnot0

int64

// 30 GNOT virtual

Value

30000000

VirtualToken0

int64

// virtual token side

Value

1020000000

GraduationThreshold

int64

Value

100000000

FeeBPS

int64

Value

120

CreatorFeeShareBPS

int64

Value

4000

ProtocolFeeShareBPS

int64

Value

4000

CreateBondUgnot

int64

Value

2000000

BondRefundBuyers

int

Value

5

BondRefundMinRaised

int64

// ≥5 GNOT raised

Value

10000000

BondRefundMaxHeights

int64

Value

100000

AntiSnipeHeights

int64

Value

30

AntiSnipeMaxBuyBPS

int64

// 5% per address in window

Value

300

StatusCurve

untyped bigint

Value

(0 <untyped> bigint)

StatusGraduated

untyped bigint

Value

(1 <untyped> bigint)

MaxTradeHistory

untyped bigint

Value

(256 <untyped> bigint)

TradeSideBuy

untyped bigint

Value

(0 <untyped> bigint)

TradeSideSell

untyped bigint

Value

(1 <untyped> bigint)

TradeSideOpen

untyped bigint

// initial listing mark

Value

(2 <untyped> bigint)

DenomUgnot

untyped string

Value

"ugnot"

GnoswapFeeTier

uint32

// 0.3% meme tier

Value

3000

GnoswapTickSpacing

int32

Value

60

GnoswapMinTick

int32

Value

-887272

GnoswapMaxTick

int32

Value

887272

GnoswapMaxFeeWugnot

int64

// 5000 GNOT

Value

5000000000

Render

func(path string) string

Render provides on-chain discovery (gnoweb). Read-only by convention. Paths: "" — home / list token/{id} — launch detail help — API help

Open
OID
087ba8…2057:96
Render details

Inspect func

renderToken

func(id string) string
Open
OID
087ba8…2057:100
renderToken details

Inspect func

progressBar

func(pct int64) string
Open
OID
087ba8…2057:101
progressBar details

Inspect func
wugnotTokenKey : untyped string ="gno.land/r/gnoland/wugnot.wugnot"
gnsTokenKey : untyped string ="gno.land/r/gnoswap/gns.GNS"
gnoswapPoolAddrStr : untyped string ="g1dexaf6aqkkyr9yfy9d5up69lsn7ra80af34g5v"
gnoswapRouterAddrStr : untyped string ="g1vc883gshu5z7ytk5cdynhc8c2dh67pdp4cszkp"
tryListOnGnoswap : func(l *padv11.Launch, raisedUgnot int64, remainingTokens int64) bool Inspect
swapWugnotForGNS : func(amountOutGNS int64, maxInWugnot int64) (spent int64, ok bool) Inspect
computeSqrtPriceX96 : func(amount0 int64, amount1 int64) string Inspect
u256Sqrt : func(x *uint256.Uint) *uint256.Uint Inspect
alignedFullRangeTicks : func(spacing int32) (int32, int32) Inspect
GnoswapListedOf : func(id string) bool Inspect
GnoswapPoolPathOf : func(id string) string Inspect
GnoswapNoteOf : func(id string) string Inspect
launches : v0.Tree Inspect
bySymbol : v0.Tree Inspect
nextID : v0.ID =<zero>
nextTokenID : v0.ID =<zero>
padAddr : .uverse.address =<gnolang.StringValue>
protocolAddr : .uverse.address =<gnolang.StringValue>
protocolFees : int64 =20861267
protocolFeesPaid : int64 =0
inited : bool =true
testSkipBanker : bool =false
pointsEnabled : bool =false
init.23 : func() Inspect
Trade : type =padv11.Trade
Launch : type =padv11.Launch
Init : func() Inspect
creditProtocol : func(amt int64) Inspect
requireInit : func() Inspect
SetPointsEnabled : func(on bool) Inspect
PointsEnabled : func() bool Inspect
notifyTrade : func(trader .uverse.address, id string, side int64, volumeUgnot int64) Inspect
notifyCreate : func(creator .uverse.address, id string) Inspect
mustLaunch : func(id string) *padv11.Launch Inspect
balOf : func(l *padv11.Launch, addr .uverse.address) int64 Inspect
addBal : func(l *padv11.Launch, addr .uverse.address, delta int64) Inspect
requireMinOut : func(got int64, minOut int64, what string) Inspect
snipeBoughtOf : func(l *padv11.Launch, buyer .uverse.address) int64 Inspect
checkAndAddSnipe : func(l *padv11.Launch, buyer .uverse.address, tokensOut int64) Inspect
sendUgnot : func(to .uverse.address, amount int64) Inspect
requireUserPayment : func() int64 Inspect
noteBuyer : func(l *padv11.Launch, buyer .uverse.address) Inspect
tradeKey : func(n int64) string Inspect
spotPriceScaled : func(l *padv11.Launch) int64 Inspect
recordTrade : func(l *padv11.Launch, side int, ugnot int64, tokens int64) Inspect
maybeRefundBond : func(l *padv11.Launch) Inspect
requiredCreateBond : func() int64 Inspect
CreateBondRequired : func() int64 Inspect
Create : func(name string, symbol string, uri string) string Inspect
AdenaPathOf : func(id string) string Inspect
adenaKeyFromTokenID : func(tokenID string, symbol string) string Inspect
maxGrossForNetIn : func(maxNet int64, sentMax int64) int64 Inspect
readyToGraduate : func(l *padv11.Launch) bool Inspect
Buy : func(id string, minTokensOut int64) int64 Inspect
RemainingRaiseUgnot : func(id string) int64 Inspect
Sell : func(id string, tokensIn int64, minUgnotOut int64) int64 Inspect
Graduate : func(id string) Inspect
graduate : func(l *padv11.Launch) Inspect
TokenIDOf : func(id string) string Inspect
GRC20Bank : func(id string) *grc20.Token Inspect
SwapBuy : func(id string, minTokensOut int64) int64 Inspect
SwapSell : func(id string, tokensIn int64, minUgnotOut int64) int64 Inspect
Transfer : func(id string, to .uverse.address, amount int64) Inspect
Approve : func(id string, spender .uverse.address, amount int64) Inspect
TransferFrom : func(id string, from .uverse.address, to .uverse.address, amount int64) Inspect
ClaimCreatorFees : func(id string) int64 Inspect
payoutProtocolFees : func() int64 Inspect
ClaimProtocolFees : func() int64 Inspect
PushProtocolFees : func() int64 Inspect
TransferProtocol : func(newAddr .uverse.address) Inspect
ProtocolAddress : func() string Inspect
ProtocolFeesPaid : func() int64 Inspect
FeeInfo : func() string Inspect
PadAddress : func() string Inspect
AdminInfo : func() string Inspect
IsProtocol : func(addr string) bool Inspect
reservedUgnot : func() int64 Inspect
ReservedUgnot : func() int64 Inspect
freeUgnot : func() int64 Inspect
WithdrawProtocolUgnot : func(amount int64) int64 Inspect
BalanceOf : func(id string, owner .uverse.address) int64 Inspect
ListBuyers : func(id string) string Inspect
GetStatus : func(id string) int Inspect
GetRaised : func(id string) int64 Inspect
GetPool : func(id string) (ugnot int64, token int64) Inspect
GetCreatorFees : func(id string) int64 Inspect
ProtocolFees : func() int64 Inspect
LaunchCount : func() int Inspect
ResolveSymbol : func(symbol string) string Inspect
ListIDs : func() string Inspect
LaunchInfo : func(id string) string Inspect
ParamsInfo : func() string Inspect
TradeHistory : func(id string) string Inspect
TradeCount : func(id string) int Inspect
resetForTest : func() Inspect
TotalSupply : int64 =1000000000
CurveSupply : int64 =800000000
PoolSeed : int64 =200000000
VirtualUgnot0 : int64 =30000000
VirtualToken0 : int64 =1020000000
GraduationThreshold : int64 =100000000
FeeBPS : int64 =120
CreatorFeeShareBPS : int64 =4000
ProtocolFeeShareBPS : int64 =4000
CreateBondUgnot : int64 =2000000
BondRefundBuyers : int =5
BondRefundMinRaised : int64 =10000000
BondRefundMaxHeights : int64 =100000
AntiSnipeHeights : int64 =30
AntiSnipeMaxBuyBPS : int64 =300
StatusCurve : untyped bigint =(0 <untyped> bigint)
StatusGraduated : untyped bigint =(1 <untyped> bigint)
MaxTradeHistory : untyped bigint =(256 <untyped> bigint)
TradeSideBuy : untyped bigint =(0 <untyped> bigint)
TradeSideSell : untyped bigint =(1 <untyped> bigint)
TradeSideOpen : untyped bigint =(2 <untyped> bigint)
DenomUgnot : untyped string ="ugnot"
GnoswapFeeTier : uint32 =3000
GnoswapTickSpacing : int32 =60
GnoswapMinTick : int32 =-887272
GnoswapMaxTick : int32 =887272
GnoswapMaxFeeWugnot : int64 =5000000000
Render : func(path string) string Inspect
sanitize : func(s string) string Inspect
renderHome : func() string Inspect
renderToken : func(id string) string Inspect
progressBar : func(pct int64) string Inspect
renderHelp : func() string Inspect