Calculate voting power from productive YFI to be used on Snapshot.
Mainnet deployment: 0xA79e803FffE9DA37477ddaFD7C6F3dbDCa1C566C
- Wallet
- Yearn v2 YFI Vault
- Bancor
- Balancer v2 YFI/WETH
- Uniswap v2
- Sushiswap YFI/WETH incl. MasterChef
- MakerDAO collateral
- Unit collateral
- Instadapp DeFi Smart Account, incl. MakerDAO
-
balanceOf(address user) -> uint256
-
voting_balances(address user) -> VotingBalances