To fetch the AUM of RAY per coin, sum the results of the queries of the following contracts/methods. Note, all RAY addresses for relevant contracts can be found at Deployed Addresses.
The supported coins [ETH, SAI, USDC, DAI] balance of the
Opportunity contract that supports the coin.
- For ETH's
coinAddress, use the Canonical WETH address (
- The return will be in native units of the coin. In example, for ETH it will be in
wei, and for USDC it will be in