reward.gno
CollectProtocolFee
Collects the protocol fees from the governance contract. The reward is for projects, not for users, and it occurs based on the xGNS holdings that users deposited via launchpad to receive the project tokens.
CollectRewardByProjectId
Collects the project token reward for users using a projectID.
Parameters
Name
Type
Description
projectId
string
The ID of a project to collect reward token.
Return Values
Name
Type
Description
amount
uint64
The amount of collected reward token.
CollectRewardByDepositId
Collects the project token reward for users using a depositId.
Parameters
Name
Type
Description
depositId
string
The ID of a deposit to collect reward token.
Return Values
Name
Type
Description
amount
uint64
The amount of collected reward token.
Last updated
Was this helpful?