launchpad_deposit.gno
DepositGns
func DepositGns(
cur realm,
targetProjectTierID string,
depositAmount int64,
referrer string
) stringDepositGns deposits GNS into a selected launchpad project tier.
Halt check: reverts while the Launchpad halt scope is active.
Parameters
Name
Type
Description
cur
realm
current realm context; callers use cross(cur) when crossing into this realm.
targetProjectTierID
string
project-tier identifier in {projectID}:{tierDuration} form.
depositAmount
int64
amount of GNS to stake in the selected tier.
referrer
string
optional referral address associated with the deposit.
Return Values
Name
Type
Description
depositId
string
identifier assigned to the newly created deposit.
Last updated