mento-protocol / reserve-site

Mento Reserve Website
https://reserve.mento.org
1 stars 4 forks source link

feat: account for safe holdings #40

Closed denviljclarke closed 1 year ago

denviljclarke commented 1 year ago

Description

This PR expands the reserve collateral count to include ETH, WETH, USDC, and WBTC balances from our Reserve Safe Multisig on Ethereum. I've also made changes to combine tokens on Ethereum under one heading, e.g., list WETH under the ETH label.

This also required changing how links to the explorers for each address in the token lists are generated. Addresses are now generated on a per holding address basis instead of a per-token basis.

Other changes

N/A

Tested

Tested locally -

USDC & ETH balances now account for current holdings in (0xd0697f70E79476195B742d5aFAb14BE50f98CC1E)

Used 0xBF72Da2Bd84c5170618Fbe5914B0ECA9638d5eb5 to test WBTC is accounted for Used 0x2F0b23f53734252Bda2277357e97e1517d6B042A to test WETH is accounted for

Checked that all holding addresses link to their respective explorers

Related issues

Backwards compatibility

N/A

Documentation

N/A

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
reserve-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2023 9:57pm