CDR #095: Rezerve Money | Price Feed

INTRODUCTION

Protocol: Rezerve Money

Website: https://rezerve.money/

Integration: Custom Oracle, 24hr price feeds

Use case: Lending Markets

Blockchain: Sonic

REQUEST INFORMATION

Assets

The following assets will be included in the Oracle:

Methodology

Methodology

  • Volume Weighted Average Price with Interquartile Range (VWAPIR) will be used to calculate the price for the assets. Learn more about it here
  • .5% deviation threshold for updates trigger will be applied for each asset
  • 120 secs update frequency check will be applied
  • 24-hour time-based update frequency will be applied for all assets

DELIVERY INFORMATION

Select if the feed should be delivered on-chain via oracle and if so, which network:

  • Delivery method: Oracle on Sonic
  • Testnet required: No

Thank you for requesting a data feed via DIA CDR. Please find the oracle information below:

Contracts

The contracts to fetch data from

Network Contract Address
Sonic Mainnet 0x1B552EABD63C71FbE5A82CFd83A7713cdfAB9EfD
Ethereum Mainnet 0x0a232A59e8E98b67bC4AC137Bd90ECb7E2073C48

Gas Wallets

The gas wallet is used for pushing data to your contracts. To ensure uninterrupted oracle operation, please maintain sufficient funds in the gas wallet. You can monitor the wallets below to ensure they remain adequately funded at all times.

Network Gas Wallet Address
Sonic Mainnet 0xe3f8EB648c37a3c678D277bd1a3852112E437Ac7
Ethereum Mainnet 0x308D0e7365d532ac0A33B7491ABdcE56c9F58085

Oracle Configuration

Settings that dictate how the oracle computes and updates data

Pricing Methodology VWAPIR
Deviation (%) & Refresh Frequency 0.5% and 120 seconds
Heartbeat 24h

Asset Feeds

Asset Ticker getValue(key) Asset Markets Overview
RZR RZR/USD RZR Sonic Markets, RZR Ethereum Markets

To consume price data, you’ll need to invoke the getValue method on the oracle contract which you can access through the DIA Oracle library or the interface.

If you pass RZR/USD as the key, it will return the most recent price of RZR in USD with 8 decimal places (e.g. 1003511623 is $10.03511623) along with the Unix timestamp of the last price update.

See the full example here.