Skip to content

Commit

Permalink
update script documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriy-woof-software committed Nov 22, 2024
1 parent bcec7f6 commit e826973
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scripts/rewards_v2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,10 @@ The purpose of this script is to generate proofs for Rewards V2. Detailed inform
## Script Workflow

1. User Collection. Retrieve all users that interacted with the Comet starting from the Comet creation block up to a specified block.

2. Accrued Value Calculation. Simulate the accrue calls for all users using multicall to calculate accrued values as of the specified block.

3. Input Data Preparation. Prepare input data in the required format for constructing a sorted Merkle tree.

4. Merkle Tree Generation. Construct a sorted Merkle tree using the prepared input data.

5. File Generation and Storage. Generate the proof file and save it for later use in the [/campaigns](../../campaigns/) directory.

##
To validate the list of interacted addresses with Comet please use [Dune Query](https://dune.com/queries/4320237)

0 comments on commit e826973

Please sign in to comment.