This PR updates the DIVA subgraph with the latest contracts (not final ones yet though).
During the update, I fixed a bug where the collateralBalance in the Pool Entity was not updated on redeemPositionToken.
TODO:
Update API service
Update DIVA App to link to Mumbai
Use hard-coded address for oracle, i.e. don't read it from whitelist contract (just comment out that part); use the test wallet account 0x9AdEFeb576dcF52F5220709c1B267d89d5208D78 as a dummy for now
Replace dUSD token with WAGMI18 token (0x91F13B8da062f9a042dbD37D2e61FBfAcEB267aC)
Technical Description
This PR updates the DIVA subgraph with the latest contracts (not final ones yet though).
During the update, I fixed a bug where the collateralBalance in the Pool Entity was not updated on redeemPositionToken.
TODO:
0x9AdEFeb576dcF52F5220709c1B267d89d5208D78
as a dummy for now0x91F13B8da062f9a042dbD37D2e61FBfAcEB267aC
)0x131e157322b3DDaE6eF28a124f566bC9c177De69
0x05029c04AFB6cf53Ef0af7af7e970E53A7143bD3
0xb6038e15b5065ca4E33210C156d06311Ec26B21D
0x8ca8dE48c4507fa54a83Dde7ac68097e87520eEc
(not that relevant as 0x is not available on Sepolia yet)packages/diva-subgraph/abi
. The following ones have been updated: