Last updated
Last updated
This guide focusses on the most common patterns of interactions with the Bounty Manager Module. Please refer to the section to see all public getters and setters.
The guide includes code snippets for both Inverter Network's TypeScript SDK and React SDK. Please refer to the relevant code snippets based on the SDK you are using.
Set up Inverter Network SDK: Refer to the Quick Start guides for detailed instructions. See the or for more information.
Deploy a Workflow: Refer to the Deploy a Workflow guide for detailed instructions. See the or for more information.
Retrieve a deployed Workflow: Refer to the Operate a Workflow guide for detailed instructions. See the or for more information.
Managing roles for the Bounty Manager involves several steps, including reading role, generating role IDs, assigning roles, and revoking them.
The Bounty Manager utilizes several roles to handle the issuance, verification, and claiming of bounties. The first step is to retrieve the available roles in the Bounty Manager, as demonstrated below:
TS SDK
React SDK
The following two-step process validates whether a given address has roles assigned to it:
TS SDK
React SDK
The following section demonstrates how to grant and revoke roles for a wallet address.
TS SDK
React SDK
The following section explains how to add a bounty to the Bounty Manager:
TS SDK
React SDK
The following section explains how to add multiple bounties in batches
TS SDK
React SDK
The following section explains how to read a given bounty information based on the bountyId
TS SDK
React SDK
The following section explains how to submit a bounty claim:
TS SDK
React SDK
The following section explains how to read a submitted bounty claim
TS SDK
React SDK
The following section explains how to verify a claim providing the claimId
and contributors
as parameters:
TS SDK
React SDK