For the complete documentation index, see llms.txt. This page is also available as Markdown.

launchpad_reward.gno

CollectRewardByDepositId

func CollectRewardByDepositId(
	cur realm,
	depositID string
) int64

CollectRewardByDepositId collects the project-token reward earned by a deposit.

Halt check: reverts while the Withdraw halt scope is active.

Parameters

Name
Type
Description

cur

realm

current realm context; callers use cross(cur) when crossing into this realm.

depositID

string

identifier of the deposit whose reward is collected.

Return Values

Name
Type
Description

amount

int64

project-token reward amount transferred to the depositor.

source

Last updated