Skip to content

Latest commit

 

History

History

protocol-v2

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Redacted v2

Reward Distributor (Mainnet): 0xd7807E5752B368A6a64b76828Aaff0750522a76E

Important note:

Distribution data contains ALL rewards, including those that have already been claimed.

In order to calculate the current rewards (amount of rewards that have not yet been claimed), you must subtract the claimed rewards from the total rewards.

You may query the RewardDistributor for previous claims using the claimed method and passing in rewardTokenAddress and walletAddress as parameters, eg:

const amount = await contract.claimed(
  '0xa52fd396891e7a74b641a2cb1a6999fcf56b077e', // ETH mapping
  '0x0000000000000000000000000000000000000000' // Wallet address
)

You would then subtract this amount from the total contained in ./latest/eth.json

Token mappings

Note: ETH rewards are represented by the Redacted Gnosis Multisig Address.

  • BTRFLY: 0xc55126051b22ebb829d00368f4b12bde432de5da
  • ETH: 0xa52fd396891e7a74b641a2cb1a6999fcf56b077e
  • WETH: 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2

Directory structure

.
└── protocol-v2             # Redacted v2
    ├── latest              # Aggregated distribution data for all epochs
    │   ├── btrfly.json     # BTRFLY distribution data
    │   └── eth.json        # ETH distribution data
    │   └── weth.json       # WETH distribution data
    └── 1674691200          # Distribution epoch timestamp (UTC)
        ├── 0x...e5da.json  # BTRFLY distribution data
        └── 0x...077e.json  # ETH distribution data
        └── 0x...6cc2.json  # WETH distribution data