launchpad_reward.gno
CollectRewardByDepositId
func CollectRewardByDepositId(
cur realm,
depositID string
) int64CollectRewardByDepositId 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.
Last updated