shapeshift / rFOX

rFOX - RUNE rewards for FOX stakers
MIT License
0 stars 0 forks source link

Accounting Script #10

Closed 0xean closed 1 week ago

0xean commented 2 months ago

AC

  1. Script takes inputs of startBlock, endBlock, totalRuneAmountToDistro
  2. Script outputs ethAddress,runAddress,runeAmount
  3. for now, we assume archive node to get staked balance at startBlock and then fill in the rest of the balances going forward based on events. Chunk block requests to avoid overloading node
  4. Compare against on-chain accounting to confirm values, add assertions for this
  5. unit tests