launchpad_withdraw.gno

CollectDepositGns

func CollectDepositGns(
	cur realm,
	depositID string
) (int64, error)

CollectDepositGns collects the deposited GNS using a depositID.

Parameters

Name
Type
Description

cur

realm

Pass cross as argument.

depositID

string

The ID of a deposit to collect GNS.

Return Values

Name
Type
Description

amount

int64

The collected amount of GNS.

err

error

Error if collection fails.

Last updated