Skip to content

Completing a Bounty

Izek edited this page Feb 10, 2022 · 1 revision

Claiming bounty

Before you start to work on comleting the bounty you choose. You need to Claim to work on a bounty. Bounties can have a set amount of times it is able to be completed. To successfully claim the bounty it needs to have an open spot.

After you claim the bounty the deadline countdown starts. It is set during the bounty creation and is personal to each claim. And you can get to work on the task.

CLI example:

near call near-cli-example.sputnikv2.testnet bounty_claim '{"id":0,"deadline":"259200000000000"}' --account-id test-account.testnet --gas 100000000000000

Completing a bounty claim

After you finished the task and want to collect the rewards! You need to submit a Complete Bounty proposal.

Depending on the outcome of that proposal the claim can be Approved or Rejected.

Completing a Bounty

Once the claim has been approved by a successful vote on Complete Bounty proposal. Bounty is closes one of the open spots in the times field.

If the claim was rejected. Bounty re-opens one of times field for claiming.

You can also forfeit a bounty claim.

CLI example:

near call near-cli-example.sputnikv2.testnet bounty_giveup '{"id":0}' --account-id test-account.testnet --gas 100000000000000

Astro App

AstroDAO App

Tech Stack

Architecture

Entities

DAOs

Users

Groups

Proposals

Bounties

Treasury

Storage

Processes

Transaction

Voting

Completing a Bounty

Lockup Contracts Delegation

Search

Tips and Tricks

Use Cases

Ecosystem

NEAR

Smart Contract

NEAR CLI

Gas

Bond

Clone this wiki locally