launchpad_deposit.gno

DepositGns

func DepositGns(
	cur realm,
	targetProjectTierID string,
	depositAmount int64,
	referrer string
) string

DepositGns deposits GNS to a launchpad project pool.

Parameters

Name
Type
Description

cur

realm

Pass cross as argument.

targetProjectTierID

string

The pool tier ID to deposit.

depositAmount

int64

The amount of GNS token to deposit.

referrer

string

The referrer address for reward tracking.

Return Values

Name
Type
Description

depositId

string

The ID of the deposit.

Last updated