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

v1 state

Back to all declarations

maxAirdropProofBytes

untyped bigint

Value

(2079 <untyped> bigint)

AirdropRecord

type

AirdropRecord keeps the whole funded allocation encumbered until recipients claim. Claims never expire, and nothing sweeps or returns an unclaimed remainder.

Value

v1.AirdropRecord

requireAirdropRoot

func(root string)
Open
OID
074f74…a30c:3
requireAirdropRoot details

Inspect func

CreateAirdrop

func(id string, root string, total int64)

CreateAirdrop funds one immutable campaign for a token from its creator's allowance. Its Merkle leaves are sha256(0x00 || "launchpad-airdrop-v1|\<token-id>|\<index>|\<beneficiary>|\<amount>"). The token ID in every leaf prevents a proof from authorizing a claim on a different launch, even if two creators publish the same tree shape.

Open
OID
074f74…a30c:5
CreateAirdrop details

Inspect func

GetAirdrop

func(id string) v1.AirdropRecord
Open
OID
074f74…a30c:6
GetAirdrop details

Inspect func

AirdropClaimed

func(id string, index int) bool
Open
OID
074f74…a30c:7
AirdropClaimed details

Inspect func

ClaimAirdrop

func(id string, index int, beneficiary .uverse.address, amount int64, proof string)

ClaimAirdrop remains available while the airdrop lane is paused. Anyone can submit a proof; the destination is always the leaf's beneficiary. A leaf whose beneficiary is not written as the chain writes a caller's address can never be claimed: the token ledger would credit a balance no caller can reach.

Open
OID
074f74…a30c:8
ClaimAirdrop details

Inspect func

maxAllocationBytes

untyped bigint

Value

(8192 <untyped> bigint)

maxAllocations

untyped bigint

Value

(50 <untyped> bigint)

allocation

type

Value

v1.allocation

parseAllocations

func(encoded string) ([]v1.allocation, int64)

parseAllocations accepts a single bounded, canonical MsgCall argument. Each record is address:amount:start:cliff:duration:revocable, with the address order providing both a stable encoding and duplicate rejection.

Open
OID
074f74…a30c:11
parseAllocations details

Inspect func

maxFairHoldingGateBytes

untyped bigint

Value

(256 <untyped> bigint)

maxFairProofBytes

untyped bigint

Value

(2079 <untyped> bigint)

fairHoldingGate

type

Value

v1.fairHoldingGate

parseFairHoldingGates

func(spec string) []v1.fairHoldingGate

Gates are at most three canonical, strictly token-ID-ordered records: token:T\<n>:\<positive base units>. Collection gates remain unavailable until the collection realm and its BalanceOf interface are implemented.

Open
OID
074f74…a30c:12
parseFairHoldingGates details

Inspect func

validateFairEligibility

func(root string, gates string)
Open
OID
074f74…a30c:14
validateFairEligibility details

Inspect func

requireFairEligibility

func(id string, r v1.FairSaleRecord, buyer .uverse.address, proof string)

The leaf is sha256(0x00 || "launchpad-fair-v1|\<token-id>|\<buyer>"). The token ID prevents a valid proof from being reused for a different sale.

Open
OID
074f74…a30c:15
requireFairEligibility details

Inspect func

FairSaleRecord

type

FairSaleRecord fixes the sale terms and records funded whole-lot orders. Settlement splits GrossQuote into the primary fee, owed to the protocol, and CreatorQuote, owed to the creator: the fee is GrossQuote minus CreatorQuote. RefundPaid and TokensClaimed count what buyer claims have taken out of this sale, so no claim can pay more than the sale itself owes.

Value

v1.FairSaleRecord

FairBuyerRecord

type

Value

v1.FairBuyerRecord

fairEscrowLiability

map[string]int64
Open
OID
074f74…a30c:17
fairEscrowLiability details

Inspect map

fairRefundLiability

map[string]int64
Open
OID
074f74…a30c:19
fairRefundLiability details

Inspect map

fairProceedsLiability

map[string]int64
Open
OID
074f74…a30c:21
fairProceedsLiability details

Inspect map

openFairSale

func(r *v1.FairSaleRecord) int64

openFairSale gates a new sale on the live config, pins its primary fee, bounds the most quote it can ever hold in escrow, and collects its creation fee, which it returns.

Open
OID
074f74…a30c:22
openFairSale details

Inspect func

fairTerms

func(creator .uverse.address, saleAllocation int64, lotSize int64, hardLots int64, walletCapLots int64, softQuote int64, quoteCurrency string, expectedVersion int64, start int64, end int64, startPrice int64, floorPrice int64, decrement int64, intervalSeconds int64) v1.FairSaleRecord
Open
OID
074f74…a30c:24
fairTerms details

Inspect func

emitFairCreated

func(id string, funding string, r v1.FairSaleRecord, fee int64)
Open
OID
074f74…a30c:25
emitFairCreated details

Inspect func

CreateFairSale

func(name string, ticker string, decimals int, initialSupply int64, saleAllocation int64, lotSize int64, hardLots int64, walletCapLots int64, softQuote int64, quoteCurrency string, expectedVersion int64, start int64, end int64, startPrice int64, floorPrice int64, decrement int64, intervalSeconds int64, description string, image string, website string, xHandle string, telegram string) string

CreateFairSale mints a fixed-supply fair-sale token and encumbers its whole- lot allocation in sales custody. The creator receives the initial supply remainder.

Open
OID
074f74…a30c:26
CreateFairSale details

Inspect func

CreateGatedFairSale

func(name string, ticker string, decimals int, initialSupply int64, saleAllocation int64, lotSize int64, hardLots int64, walletCapLots int64, softQuote int64, quoteCurrency string, expectedVersion int64, start int64, end int64, startPrice int64, floorPrice int64, decrement int64, intervalSeconds int64, description string, image string, website string, xHandle string, telegram string, expectedID string, allowlistRoot string, holdingGates string) string

CreateGatedFairSale binds a precomputed token ID to a Merkle root and/or token-holding gates. The expected ID prevents an intervening creation from silently attaching the root to a different token.

Open
OID
074f74…a30c:27
CreateGatedFairSale details

Inspect func

createFairSale

func(name string, ticker string, decimals int, initialSupply int64, saleAllocation int64, lotSize int64, hardLots int64, walletCapLots int64, softQuote int64, quoteCurrency string, expectedVersion int64, start int64, end int64, startPrice int64, floorPrice int64, decrement int64, intervalSeconds int64, description string, image string, website string, xHandle string, telegram string, expectedID string, allowlistRoot string, holdingGates string) string
Open
OID
074f74…a30c:28
createFairSale details

Inspect func

CreateFairSaleFromToken

func(id string, saleAllocation int64, lotSize int64, hardLots int64, walletCapLots int64, softQuote int64, quoteCurrency string, expectedVersion int64, start int64, end int64, startPrice int64, floorPrice int64, decrement int64, intervalSeconds int64)

CreateFairSaleFromToken locks an existing direct token's exact creator-funded allocation. Other token liabilities remain encumbered in the same custody balance. One token can have at most one fair sale.

Open
OID
074f74…a30c:29
CreateFairSaleFromToken details

Inspect func

CreateGatedFairSaleFromToken

func(id string, saleAllocation int64, lotSize int64, hardLots int64, walletCapLots int64, softQuote int64, quoteCurrency string, expectedVersion int64, start int64, end int64, startPrice int64, floorPrice int64, decrement int64, intervalSeconds int64, allowlistRoot string, holdingGates string)
Open
OID
074f74…a30c:30
CreateGatedFairSaleFromToken details

Inspect func

createFairSaleFromToken

func(id string, saleAllocation int64, lotSize int64, hardLots int64, walletCapLots int64, softQuote int64, quoteCurrency string, expectedVersion int64, start int64, end int64, startPrice int64, floorPrice int64, decrement int64, intervalSeconds int64, allowlistRoot string, holdingGates string)
Open
OID
074f74…a30c:31
createFairSaleFromToken details

Inspect func

GetFairSale

func(id string) v1.FairSaleRecord
Open
OID
074f74…a30c:32
GetFairSale details

Inspect func

GetFairBuyer

func(id string, buyer .uverse.address) v1.FairBuyerRecord
Open
OID
074f74…a30c:33
GetFairBuyer details

Inspect func

assertWithinSale

func(r v1.FairSaleRecord)

assertWithinSale runs on every exit of a settled sale. Quote and tokens sit in balances pooled across sales, and the custody checks compare a balance with totals only: an exit that overpaid one sale while lowering the totals by as much would pass them, paid with other sales' money. Settlement asserted GrossQuote + RefundQuote = TotalDeposits, so with these bounds a sale never pays out more quote than it took in, nor more tokens than it sold. Settlement also sets CreatorQuote to GrossQuote minus the fee, so the last bound cannot fail on a record settlement wrote; it stays as a defence should a later change break that.

Open
OID
074f74…a30c:34
assertWithinSale details

Inspect func

SettleFair

func(id string)

SettleFair closes a sale at its recorded hard-cap fill or scheduled end. It returns every unsold token to the creator and partitions deposits into buyer refunds, the creator's proceeds and the protocol's primary fee. The fee joins the bucket SweepFees pays; nothing is paid out here, so neither receiver can hold up settlement or buyer claims.

Open
OID
074f74…a30c:35
SettleFair details

Inspect func

ClaimFair

func(id string, buyer .uverse.address)

ClaimFair lets anyone release a buyer's recorded tokens and quote refund to that buyer. Claims never expire and ignore current pause/listing.

Open
OID
074f74…a30c:36
ClaimFair details

Inspect func

ReleaseFairProceeds

func(id string) int64

ReleaseFairProceeds pays a succeeded sale's creator what settlement recorded for them, once, and returns the amount. Anyone can call it; the receiver is always the recorded creator. It stays open while the lane is paused or the currency delisted.

Open
OID
074f74…a30c:37
ReleaseFairProceeds details

Inspect func

ContributeFair

func(id string, lots int64, maxDeposit int64)

ContributeFair escrows exact quote atoms for whole token lots at this transaction's schedule price. The direct caller is both payer and buyer, and maxDeposit is the most the order may cost. A native order attaches exactly maxDeposit and gets maxDeposit minus the cost back in the same transaction; a token order pulls only the cost from the buyer's allowance.

Open
OID
074f74…a30c:38
ContributeFair details

Inspect func

ContributeFairWithProof

func(id string, lots int64, maxDeposit int64, proof string)

ContributeFairWithProof verifies the recorded allowlist and holding gates against the direct buyer's live address and balances before collecting quote.

Open
OID
074f74…a30c:39
ContributeFairWithProof details

Inspect func

contributeFair

func(id string, lots int64, maxDeposit int64, proof string)
Open
OID
074f74…a30c:40
contributeFair details

Inspect func

CancelFairSale

func(id string)

CancelFairSale returns the entire unsold allocation to its creator while there are no contributions. It remains callable if the new-sale lane is paused or the quote currency has since been delisted. The creation fee is not returned.

Open
OID
074f74…a30c:41
CancelFairSale details

Inspect func

salesPath

untyped string

Value

"gno.land/r/samcrew/launchpad/sales/v1"

launchpadTokenRegistryPrefix

untyped string

Value

"gno.land/r/samcrew/launchpad/tokens/v1.T"

VestingRecord

type

Value

v1.VestingRecord

feeLiability

map[string]int64
Open
OID
074f74…a30c:43
feeLiability details

Inspect map

directCaller

func() .uverse.address
Open
OID
074f74…a30c:44
directCaller details

Inspect func

directFee

func(version int64, key string) int64
Open
OID
074f74…a30c:46
directFee details

Inspect func

collectCreationFee

func(key string, amount int64)
Open
OID
074f74…a30c:47
collectCreationFee details

Inspect func

collectQuote

func(key string, amount int64)

collectQuote takes amount from the immediate caller, as attached coins or from a token allowance. Both routes pay from that caller and no one else.

Open
OID
074f74…a30c:48
collectQuote details

Inspect func

quoteBalance

func(self .uverse.address, key string) int64
Open
OID
074f74…a30c:49
quoteBalance details

Inspect func

owedIn

func(key string) int64

owedIn is everything the realm owes in one currency: fees, escrow, refunds and proceeds.

Open
OID
074f74…a30c:50
owedIn details

Inspect func

assertQuoteCovered

func(key string)

assertQuoteCovered follows every movement of quote: the realm must still hold everything it owes in that currency. An exit ends with it; a creation runs it right after collecting its fee.

Open
OID
074f74…a30c:51
assertQuoteCovered details

Inspect func

payQuote

func(key string, to .uverse.address, amount int64)
Open
OID
074f74…a30c:52
payQuote details

Inspect func

SweepFees

func(currencyKey string) int64

SweepFees pays every fee recorded in one currency, creation fees and fair-sale primary fees alike, to the treasury of the current config, and returns the amount. Anyone can call it; the caller chooses neither the receiver nor the amount. A fee is only ever recorded once a treasury is named, and config never lets the treasury be removed.

Open
OID
074f74…a30c:53
SweepFees details

Inspect func

CreateDirect

func(mode string, name string, ticker string, decimals int, initialSupply int64, maxSupply int64, currencyKey string, expectedVersion int64, description string, image string, website string, xHandle string, telegram string, allocations string) string

CreateDirect creates a direct token without an initial airdrop. The allocation string is parsed and the whole amount partitioned before any payment. The caller, payer and initial mint's creator are the same live direct user.

Open
OID
074f74…a30c:54
CreateDirect details

Inspect func

CreateDirectWithAirdrop

func(mode string, name string, ticker string, decimals int, initialSupply int64, maxSupply int64, currencyKey string, expectedVersion int64, description string, image string, website string, xHandle string, telegram string, allocations string, expectedID string, airdropRoot string, airdropTotal int64) string

CreateDirectWithAirdrop reserves part of the initial mint for one Merkle campaign. The caller commits to the next token ID used in every leaf. If another launch takes that ID first, this transaction rejects before payment.

Open
OID
074f74…a30c:55
CreateDirectWithAirdrop details

Inspect func

createDirect

func(mode string, name string, ticker string, decimals int, initialSupply int64, maxSupply int64, currencyKey string, expectedVersion int64, description string, image string, website string, xHandle string, telegram string, allocations string, expectedID string, airdropRoot string, airdropTotal int64) string
Open
OID
074f74…a30c:56
createDirect details

Inspect func

MintCappedAllocated

func(id string, amount int64, allocations string)

MintCappedAllocated requires the token's current mint authority to be the immediate user or realm caller. Every new unit is assigned to an immediate or vested allocation; there is no implicit receiver or unrecorded sales balance. No additional creation fee is charged, and attached native coins are rejected. Pausing the direct lane stops new mints without blocking claims.

Open
OID
074f74…a30c:57
MintCappedAllocated details

Inspect func

VestingCount

func(id string) int
Open
OID
074f74…a30c:58
VestingCount details

Inspect func

GetVesting

func(id string, index int) v1.VestingRecord
Open
OID
074f74…a30c:59
GetVesting details

Inspect func

TokenLiability

func(id string) int64
Open
OID
074f74…a30c:60
TokenLiability details

Inspect func

ClaimVested

func(id string, index int) int64

ClaimVested remains open even when the direct-launch lane is paused. Anyone may trigger release, but the destination is always the recorded beneficiary. This also permits a realm beneficiary to receive its vested tokens.

Open
OID
074f74…a30c:61
ClaimVested details

Inspect func

RevokeVesting

func(id string, index int) int64

RevokeVesting returns only unvested tokens to the original creator. The beneficiary retains its accrued vested entitlement and claim right.

Open
OID
074f74…a30c:62
RevokeVesting details

Inspect func

vestingCaller

func() .uverse.address
Open
OID
074f74…a30c:63
vestingCaller details

Inspect func

ProposeVestingBeneficiary

func(id string, index int, next .uverse.address)

ProposeVestingBeneficiary is callable by the current beneficiary, including a beneficiary realm. A pending move freezes claims until acceptance or cancellation, so the old beneficiary cannot drain accrued entitlement.

Open
OID
074f74…a30c:64
ProposeVestingBeneficiary details

Inspect func

CancelVestingBeneficiary

func(id string, index int)
Open
OID
074f74…a30c:65
CancelVestingBeneficiary details

Inspect func

AcceptVestingBeneficiary

func(id string, index int)
Open
OID
074f74…a30c:66
AcceptVestingBeneficiary details

Inspect func

vestings

*v0.Tree

// "\<token id>:\<index>" -> VestingRecord

Open
OID
074f74…a30c:68
vestings details

Inspect pointer

vestingCounts

*v0.Tree

// token id -> int

Open
OID
074f74…a30c:71
vestingCounts details

Inspect pointer

tokenLiabilities

*v0.Tree

// token id -> int64

Open
OID
074f74…a30c:74
tokenLiabilities details

Inspect pointer

airdrops

*v0.Tree

// token id -> AirdropRecord

Open
OID
074f74…a30c:77
airdrops details

Inspect pointer

airdropClaims

*v0.Tree

// "\<token id>:\<index>" -> true

Open
OID
074f74…a30c:80
airdropClaims details

Inspect pointer

fairSales

*v0.Tree

// token id -> FairSaleRecord

Open
OID
074f74…a30c:83
fairSales details

Inspect pointer

fairBuyers

*v0.Tree

// "\<token id>:\<buyer>" -> FairBuyerRecord

Open
OID
074f74…a30c:86
fairBuyers details

Inspect pointer

indexKey

func(id string, index int) string

A token id is "T" and digits, so ":" separates it from what follows.

Open
OID
074f74…a30c:88
indexKey details

Inspect func

buyerKey

func(id string, buyer .uverse.address) string
Open
OID
074f74…a30c:90
buyerKey details

Inspect func

vestingCount

func(id string) int
Open
OID
074f74…a30c:91
vestingCount details

Inspect func

vestingAt

func(id string, index int) v1.VestingRecord

vestingAt returns record index of a token, which the caller has checked to be below vestingCount.

Open
OID
074f74…a30c:92
vestingAt details

Inspect func

setVesting

func(id string, index int, r v1.VestingRecord)
Open
OID
074f74…a30c:93
setVesting details

Inspect func

appendVesting

func(id string, r v1.VestingRecord)
Open
OID
074f74…a30c:94
appendVesting details

Inspect func

tokenOwed

func(id string) int64
Open
OID
074f74…a30c:95
tokenOwed details

Inspect func

setTokenOwed

func(id string, amount int64)

A token that is owed nothing has no entry.

Open
OID
074f74…a30c:96
setTokenOwed details

Inspect func

airdropOf

func(id string) v1.AirdropRecord

airdropOf returns the zero record for a token without a campaign.

Open
OID
074f74…a30c:97
airdropOf details

Inspect func

fairRecordJSON

func(r v1.FairSaleRecord) string

fairRecordJSON reports a sale's terms and outcome. Once settled, the primary fee is what was raised minus the creator's share.

Open
OID
074f74…a30c:100
fairRecordJSON details

Inspect func

airdropRecordJSON

func(r v1.AirdropRecord) string
Open
OID
074f74…a30c:101
airdropRecordJSON details

Inspect func

TermsJSON

func(currencyKey string) string

TermsJSON is what launching a token in a currency costs under the current config version: the fee a direct creation and a fair-sale creation attach, exactly; the most one fair sale may raise; and the primary fee a new sale pins. A fee of -1 means the currency has no terms. A creation names this version, so if the terms change before it lands it fails with "config changed" and takes nothing. Whether a lane takes new launches now is config's ActionStatusJSON.

Open
OID
074f74…a30c:102
TermsJSON details

Inspect func

SolvencyJSON

func(currencyKey string) string

SolvencyJSON is the realm's books in one currency: the balance it holds and what it owes, in total and by liability. fees is what SweepFees would pay now. Every movement of quote ends with balance >= owed, so a watcher that sees otherwise has found a fault; what the balance holds above owed was sent outside the entry points and is owed to no one. An empty key or one over 200 bytes panics "invalid currency"; a key that is neither ugnot nor a registered GRC20 aborts in the registry ("unknown token").

Open
OID
074f74…a30c:103
SolvencyJSON details

Inspect func

LaunchJSON

func(id string) string

LaunchJSON is a token's launch state: the ledger's record of the token, what sales still owes in it, how many vesting records it has, and its fair sale and airdrop campaign, each null when the token has none.

Open
OID
074f74…a30c:104
LaunchJSON details

Inspect func

FairBuyerJSON

func(id string, buyer .uverse.address) string

FairBuyerJSON is one buyer's record in a sale and, once the sale is settled and until the buyer is paid, what ClaimFair would send them. Before settlement both amounts are 0 and settled is false: settle first.

Open
OID
074f74…a30c:105
FairBuyerJSON details

Inspect func

VestingJSON

func(id string, index int) string

VestingJSON is one vesting record: its schedule, who holds the claim right and who has been proposed to take it.

Open
OID
074f74…a30c:106
VestingJSON details

Inspect func
maxAirdropProofBytes : untyped bigint =(2079 <untyped> bigint)
AirdropRecord : type =v1.AirdropRecord
requireAirdropRoot : func(root string) Inspect
CreateAirdrop : func(id string, root string, total int64) Inspect
GetAirdrop : func(id string) v1.AirdropRecord Inspect
AirdropClaimed : func(id string, index int) bool Inspect
ClaimAirdrop : func(id string, index int, beneficiary .uverse.address, amount int64, proof string) Inspect
maxAllocationBytes : untyped bigint =(8192 <untyped> bigint)
maxAllocations : untyped bigint =(50 <untyped> bigint)
allocation : type =v1.allocation
decimal : func(s string) int64 Inspect
parseAllocations : func(encoded string) ([]v1.allocation, int64) Inspect
maxFairHoldingGateBytes : untyped bigint =(256 <untyped> bigint)
maxFairProofBytes : untyped bigint =(2079 <untyped> bigint)
fairHoldingGate : type =v1.fairHoldingGate
parseFairHoldingGates : func(spec string) []v1.fairHoldingGate Inspect
validateFairEligibility : func(root string, gates string) Inspect
requireFairEligibility : func(id string, r v1.FairSaleRecord, buyer .uverse.address, proof string) Inspect
FairSaleRecord : type =v1.FairSaleRecord
FairBuyerRecord : type =v1.FairBuyerRecord
fairEscrowLiability : map[string]int64 Inspect
fairRefundLiability : map[string]int64 Inspect
fairProceedsLiability : map[string]int64 Inspect
openFairSale : func(r *v1.FairSaleRecord) int64 Inspect
fairTerms : func(creator .uverse.address, saleAllocation int64, lotSize int64, hardLots int64, walletCapLots int64, softQuote int64, quoteCurrency string, expectedVersion int64, start int64, end int64, startPrice int64, floorPrice int64, decrement int64, intervalSeconds int64) v1.FairSaleRecord Inspect
emitFairCreated : func(id string, funding string, r v1.FairSaleRecord, fee int64) Inspect
CreateFairSale : func(name string, ticker string, decimals int, initialSupply int64, saleAllocation int64, lotSize int64, hardLots int64, walletCapLots int64, softQuote int64, quoteCurrency string, expectedVersion int64, start int64, end int64, startPrice int64, floorPrice int64, decrement int64, intervalSeconds int64, description string, image string, website string, xHandle string, telegram string) string Inspect
CreateGatedFairSale : func(name string, ticker string, decimals int, initialSupply int64, saleAllocation int64, lotSize int64, hardLots int64, walletCapLots int64, softQuote int64, quoteCurrency string, expectedVersion int64, start int64, end int64, startPrice int64, floorPrice int64, decrement int64, intervalSeconds int64, description string, image string, website string, xHandle string, telegram string, expectedID string, allowlistRoot string, holdingGates string) string Inspect
createFairSale : func(name string, ticker string, decimals int, initialSupply int64, saleAllocation int64, lotSize int64, hardLots int64, walletCapLots int64, softQuote int64, quoteCurrency string, expectedVersion int64, start int64, end int64, startPrice int64, floorPrice int64, decrement int64, intervalSeconds int64, description string, image string, website string, xHandle string, telegram string, expectedID string, allowlistRoot string, holdingGates string) string Inspect
CreateFairSaleFromToken : func(id string, saleAllocation int64, lotSize int64, hardLots int64, walletCapLots int64, softQuote int64, quoteCurrency string, expectedVersion int64, start int64, end int64, startPrice int64, floorPrice int64, decrement int64, intervalSeconds int64) Inspect
CreateGatedFairSaleFromToken : func(id string, saleAllocation int64, lotSize int64, hardLots int64, walletCapLots int64, softQuote int64, quoteCurrency string, expectedVersion int64, start int64, end int64, startPrice int64, floorPrice int64, decrement int64, intervalSeconds int64, allowlistRoot string, holdingGates string) Inspect
createFairSaleFromToken : func(id string, saleAllocation int64, lotSize int64, hardLots int64, walletCapLots int64, softQuote int64, quoteCurrency string, expectedVersion int64, start int64, end int64, startPrice int64, floorPrice int64, decrement int64, intervalSeconds int64, allowlistRoot string, holdingGates string) Inspect
GetFairSale : func(id string) v1.FairSaleRecord Inspect
GetFairBuyer : func(id string, buyer .uverse.address) v1.FairBuyerRecord Inspect
assertWithinSale : func(r v1.FairSaleRecord) Inspect
SettleFair : func(id string) Inspect
ClaimFair : func(id string, buyer .uverse.address) Inspect
ReleaseFairProceeds : func(id string) int64 Inspect
ContributeFair : func(id string, lots int64, maxDeposit int64) Inspect
ContributeFairWithProof : func(id string, lots int64, maxDeposit int64, proof string) Inspect
contributeFair : func(id string, lots int64, maxDeposit int64, proof string) Inspect
CancelFairSale : func(id string) Inspect
salesPath : untyped string ="gno.land/r/samcrew/launchpad/sales/v1"
launchpadTokenRegistryPrefix : untyped string ="gno.land/r/samcrew/launchpad/tokens/v1.T"
VestingRecord : type =v1.VestingRecord
feeLiability : map[string]int64 Inspect
directCaller : func() .uverse.address Inspect
directFee : func(version int64, key string) int64 Inspect
collectCreationFee : func(key string, amount int64) Inspect
collectQuote : func(key string, amount int64) Inspect
quoteBalance : func(self .uverse.address, key string) int64 Inspect
owedIn : func(key string) int64 Inspect
assertQuoteCovered : func(key string) Inspect
payQuote : func(key string, to .uverse.address, amount int64) Inspect
SweepFees : func(currencyKey string) int64 Inspect
CreateDirect : func(mode string, name string, ticker string, decimals int, initialSupply int64, maxSupply int64, currencyKey string, expectedVersion int64, description string, image string, website string, xHandle string, telegram string, allocations string) string Inspect
CreateDirectWithAirdrop : func(mode string, name string, ticker string, decimals int, initialSupply int64, maxSupply int64, currencyKey string, expectedVersion int64, description string, image string, website string, xHandle string, telegram string, allocations string, expectedID string, airdropRoot string, airdropTotal int64) string Inspect
createDirect : func(mode string, name string, ticker string, decimals int, initialSupply int64, maxSupply int64, currencyKey string, expectedVersion int64, description string, image string, website string, xHandle string, telegram string, allocations string, expectedID string, airdropRoot string, airdropTotal int64) string Inspect
MintCappedAllocated : func(id string, amount int64, allocations string) Inspect
VestingCount : func(id string) int Inspect
GetVesting : func(id string, index int) v1.VestingRecord Inspect
TokenLiability : func(id string) int64 Inspect
ClaimVested : func(id string, index int) int64 Inspect
RevokeVesting : func(id string, index int) int64 Inspect
vestingCaller : func() .uverse.address Inspect
ProposeVestingBeneficiary : func(id string, index int, next .uverse.address) Inspect
CancelVestingBeneficiary : func(id string, index int) Inspect
AcceptVestingBeneficiary : func(id string, index int) Inspect
vestings : *v0.Tree Inspect
vestingCounts : *v0.Tree Inspect
tokenLiabilities : *v0.Tree Inspect
airdrops : *v0.Tree Inspect
airdropClaims : *v0.Tree Inspect
fairSales : *v0.Tree Inspect
fairBuyers : *v0.Tree Inspect
indexKey : func(id string, index int) string Inspect
buyerKey : func(id string, buyer .uverse.address) string Inspect
vestingCount : func(id string) int Inspect
vestingAt : func(id string, index int) v1.VestingRecord Inspect
setVesting : func(id string, index int, r v1.VestingRecord) Inspect
appendVesting : func(id string, r v1.VestingRecord) Inspect
tokenOwed : func(id string) int64 Inspect
setTokenOwed : func(id string, amount int64) Inspect
airdropOf : func(id string) v1.AirdropRecord Inspect
jsonInt : func(v int64) string Inspect
fairRecordJSON : func(r v1.FairSaleRecord) string Inspect
airdropRecordJSON : func(r v1.AirdropRecord) string Inspect
TermsJSON : func(currencyKey string) string Inspect
SolvencyJSON : func(currencyKey string) string Inspect
LaunchJSON : func(id string) string Inspect
FairBuyerJSON : func(id string, buyer .uverse.address) string Inspect
VestingJSON : func(id string, index int) string Inspect