Hey guys, we wanted to request the same price feeds for Orbiter One on Moonriver. We wanted to add USDT and USDC. We would like to remove xcKINT and xcAUSD. Thank you!
You can query for assets by calling the read function getValue() with parameters such as “ETH/USD”. It will return two values:
The price of the asset queried with 8 decimals
The timestamp of the last update
Please make sure to top up the gas wallets very soon, as we only put in some gas to deploy and start the oracle.
Gas wallet for Moonbeam Alpha: 0x075b8A65Fd9091B1DD2235fe7d70d6Fb4cBc5FEe
Gas wallet for Moonriver: 0x44d0CB4A086c49f64dB90a4de2A8905D9940AC2E
Also make sure they always have sufficient funding.
The requested assets (including FXS) have been deployed.
We would like to request several price feeds on the Moonbeam network: USDC, USDT, FRAX, d2O, ETH, WBTC, DOT, and GLMR. We will be using the same mechanisms and methodology as previously. Thank you!
It is structured differently from the standard oracle contract. To get the latest fair price of d2O with 8 decimals, you need to call getPrice() with parameter USDC. This will return the price according to the formula of d2O, considering both Moonbeam and Ethereum collaterals.
The collateral ratio itself (with 8 decimals) can be accessed with read function collateralRatio() and parameter USDC. d2OTotalSupply() and usdcBalance() work similarly.
The current price of USDC itself can be accessed as usual with a call of getValue() with parameter USDC and will return the price with 8 decimals together with the timestamp of the last update.
Please make sure to keep the gas wallet always funded: 0xe55d2ffd90364397e3e8c1a82322927ff3907e3f