CDR #017: DAM Finance | Asset Price

dApp introduction

dPRIME Asset Modules Finance (“DAM Finance” or “DAM”) is a protocol for enabling purchasing power from cross-chain portfolios. DAM enables borrowers to deposit baskets of tokens in a single transaction to mint dPRIME, a Dotsama stablecoin on Moonbeam. This innovation provides borrowers more flexibility in purchasing power creation and vault maintenance while accommodating a broader range of blockchain-secured assets as collateral.

Feed usage

Data type: Price feed
Use case: Lending & Borrowing + Stablecoin

Specifications

Delivery method: on-chain, Moonbeam mainnet and testnet
Update mechanism: Deviation-based
Threshold: 0.5%
Methodology: VWAP
Frequency: 120s
Sources (by chain/version): All available markets
Pairs: ASTR/USD, ACA/USD, PARA/USD, CFG/USD, INTR/USD, BFC/USD, PHA/USD

2 Likes

Thanks for submitting your Custom Delivery Request!

The DIA DAO will review your requirements shortly and if all information is correctly provided, a core developer will proceed and deliver the API endpoint. If the requirements are partially or incorrectly requested, a DAO member will get in touch with you again.

1 Like

Delivery method : on-chain on Moonbeam mainnet and testnet

2 Likes

Thank you for requesting a DIA CDR. We confirm the CDR specifications were requested correctly. Find the oracle / API endpoint below:

Markets

By querying for blockchain and asset, the API provides the markets used for calculating this feed.

API endpoint

By querying for blockchain and asset, the API provides the asset quotation for each asset in the feed.

Oracle

The oracle is deployed and can be accessed here.

You can query for assets by calling the read function getValue() with parameters such as “ASTR/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: 0xeBA8f0A4e21D0211838BeEFb0D86af18eb4C1364

Also make sure they always have sufficient funding.

This is the list of assets we deployed (blockchain/asset address):

Astar/0x0000000000000000000000000000000000000000
Acala/Token:ACA
Ethereum/0xD16fd95D949F996e3808EeEa0e3881C59E76EF1E
Centrifuge/0x0000000000000000000000000000000000000000,
Interlay/0x0000000000000000000000000000000000000000
Ethereum/0x0c7D5ae016f806603CB1782bEa29AC69471CAb9c
Ethereum/0x6c5bA91642F10282b576d91922Ae6448C9d52f4E

2 Likes

For testnet, this is the deployed oracle contract: Contract Address 0x0fecd1e6e95f3f9d7b237c07145808f77ea66ae3 | Moonbase

And the gas wallet to top up: 0x4E0CB5bB87c6cEf1142Bf0868E6f01E91Fc36132

2 Likes