# CDR #042: Silo Finance | Price Feeds

**URL:** <https://forum.diadata.org/t/cdr-042-silo-finance-price-feeds/634>\
**Category:** CDRs - Custom Delivery Requests\
**Tags:** ethereum, lending, arbitrum, defi, token-price-feed\
**Created:** [March 22, 2023, 8:55am UTC](https://forum.diadata.org/t/cdr-042-silo-finance-price-feeds/634 "2023-03-22T08:55:46Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![aiham02](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.diadata.org/aiham02/32/327_2.png) [@aiham02](https://forum.diadata.org/u/aiham02)\
**Post date:** [March 22, 2023, 8:55am UTC](https://forum.diadata.org/t/cdr-042-silo-finance-price-feeds/634/1 "2023-03-22T08:55:46Z")

</div>

# INTRODUCTION

**Protocol** : Silo Finance

**Website** : [https://www.silo.finance/](https://www.silo.finance/)

**Integration** : Arbitrum native assets price feeds for Silo Finance Lending Protocol.

# REQUEST INFORMATION

## Assets

**Following assets will be included in the Oracle:**

| Asset Ticker | Asset Blockchain | Asset Address | Asset Markets Overview | Trades Aggregation Window Size |
| --- | --- | --- | --- | --- |
| Grail | Arbitrum | [0x3d99…82d8](https://arbiscan.io/token/0x3d9907f9a368ad0a51be60f7da3b97cf940982d8) | [Grail markets](https://app.diadata.org/price/asset/Arbitrum/0x3d9907F9a368ad0a51Be60f7Da3b97cf940982D8/?asset=GRAIL) | 120 sec |
| Jones | Arbitrum | [0x3d99…82d8](https://arbiscan.io/token/0x3d9907f9a368ad0a51be60f7da3b97cf940982d8) | [Jones markets](https://app.diadata.org/price/asset/Arbitrum/0x10393c20975cF177a3513071bC110f7962CD67da/?asset=JONES) | 120 sec |
| ETH | Ethereum | 0x0000…0000 | [ETH markets](https://app.diadata.org/price/asset/Ethereum/0x0000000000000000000000000000000000000000/?asset=ETH) | 120 sec |

## Methodology

- Moving Average Price with Interquartile Range (MAIR) will be used to calculate the price for the assets. Learn more about it [here](https://docs.diadata.org/documentation/methodology/exchangeprices/mair-moving-average-with-interquartile-range-filter)
- 0.5% deviation threshold for updates trigger will be applied for each asset
- 120 sec updates frequency check will be applied
- The feed will be updated every 24h period if there are no deviation-based updates

# DELIVERY INFORMATION

- **Delivery Method** : Oracles on Arbitrum network
- **Is testnet deploy required** : No
- **Delivery Estimate** : 14 days (or as soon as conveniently possible)

# NOTES

Additional relevant information: N/A

---

<div class="post-metadata">

**Author:** ![aiham02](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.diadata.org/aiham02/32/327_2.png) [@aiham02](https://forum.diadata.org/u/aiham02)\
**Post date:** [March 24, 2023, 12:12am UTC](https://forum.diadata.org/t/cdr-042-silo-finance-price-feeds/634/2 "2023-03-24T00:12:33Z")

</div>

# INTRODUCTION

**Protocol** : Silo Finance

**Website** : [https://www.silo.finance/](https://www.silo.finance/)

**Integration** : Arbitrum native assets price feeds for Silo Finance Lending Protocol.

# REQUEST INFORMATION

## Assets

**Following assets will be included in the Oracle:**

| Asset Ticker | Asset Blockchain | Asset Address | Asset Markets Overview | Trades Aggregation Window Size |
| --- | --- | --- | --- | --- |
| Sperax | Ethereum | [0xB4A3…9008](https://etherscan.io/token/0xB4A3B0Faf0Ab53df58001804DdA5Bfc6a3D59008) | [Sperax markets](https://app.diadata.org/price/asset/Ethereum/0xB4A3B0Faf0Ab53df58001804DdA5Bfc6a3D59008/?asset=SPA) | 120 sec |
| Plutus | Arbitrum | [0x5131…A67F](https://arbiscan.io/address/0x51318b7d00db7acc4026c88c3952b66278b6a67f) | [Plutus markets](https://app.diadata.org/price/asset/Arbitrum/0x51318B7D00db7ACc4026C88c3952B66278B6A67F/?asset=PLS) | 120 sec |

## Methodology

- Moving Average Price with Interquartile Range (MAIR) will be used to calculate the price for the assets. Learn more about it [here](https://docs.diadata.org/documentation/methodology/exchangeprices/mair-moving-average-with-interquartile-range-filter)
- 0.5% deviation threshold for updates trigger will be applied for each asset
- 120 sec updates frequency check will be applied
- The feed will be updated every 24h period if there are no deviation-based updates

# DELIVERY INFORMATION

- **Delivery Method** : Oracles on Arbitrum network
- **Is testnet deploy required** : No
- **Delivery Estimate** : 14 days (or as soon as conveniently possible)

# NOTES

Additional relevant information: N/A

---

<div class="post-metadata">

**Author:** ![Samuel](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.diadata.org/samuel/32/119_2.png) [@Samuel](https://forum.diadata.org/u/Samuel)\
**Post date:** [March 24, 2023, 5:49pm UTC](https://forum.diadata.org/t/cdr-042-silo-finance-price-feeds/634/3 "2023-03-24T17:49:39Z")

</div>

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](https://docs.diadata.org/documentation/api-1/api-endpoints#asset-markets) provides the markets used for calculating this feed.

**API endpoint**

By querying for blockchain and asset, the [API](https://docs.diadata.org/documentation/api-1/api-endpoints#asset-quotation) provides the asset quotation for each asset in the feed.

**Oracle**

The oracle is deployed and can be accessed here.

> **[DIAOracleV2 | Address 0xe871e9bd0ccc595a626f5e1657c216ce457cea43 | Arbiscan](https://arbiscan.io/address/0xe871e9bd0ccc595a626f5e1657c216ce457cea43)**
>
> The Contract Address 0xe871e9bd0ccc595a626f5e1657c216ce457cea43 page allows users to view the source code, transactions, balances, and analytics for the contract address. Users can also interact and make transactions to the contract directly on...

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: 0x7e8b0cba7bd44c897526efcda3e80ccffe77bdeb

Also make sure it always has sufficient funding.

The requested assets from both posts have been deployed into this oracle.

---

<div class="post-metadata">

**Author:** ![aiham02](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.diadata.org/aiham02/32/327_2.png) [@aiham02](https://forum.diadata.org/u/aiham02)\
**Post date:** [April 18, 2023, 1:10pm UTC](https://forum.diadata.org/t/cdr-042-silo-finance-price-feeds/634/4 "2023-04-18T13:10:05Z")

</div>

Hi Samuel,

Please change deviation threshold for updates from 0.5% to 2% for 4 assets.

**PS: Please keep 0.5% deviation threshold for ETH**

**Assets**

| Asset Ticker | Asset Blockchain | Asset Address | Asset Markets Overview | Trades Aggregation Window Size |
| --- | --- | --- | --- | --- |
| Sperax | Ethereum | [0xB4A3…9008](https://etherscan.io/token/0xB4A3B0Faf0Ab53df58001804DdA5Bfc6a3D59008) | [Sperax markets](https://app.diadata.org/price/asset/Ethereum/0xB4A3B0Faf0Ab53df58001804DdA5Bfc6a3D59008/?asset=SPA) | 120 sec |
| Plutus | Arbitrum | [0x5131…A67F](https://arbiscan.io/address/0x51318b7d00db7acc4026c88c3952b66278b6a67f) | [Plutus markets](https://app.diadata.org/price/asset/Arbitrum/0x51318B7D00db7ACc4026C88c3952B66278B6A67F/?asset=PLS) | 120 sec |

| Asset Ticker | Asset Blockchain | Asset Address | Asset Markets Overview | Trades Aggregation Window Size |
| --- | --- | --- | --- | --- |
| Grail | Arbitrum | [0x3d99…82d8 1](https://arbiscan.io/token/0x3d9907f9a368ad0a51be60f7da3b97cf940982d8) | [Grail markets 2](https://app.diadata.org/price/asset/Arbitrum/0x3d9907F9a368ad0a51Be60f7Da3b97cf940982D8/?asset=GRAIL) | 120 sec |
| Jones | Arbitrum | [0x3d99…82d8 1](https://arbiscan.io/token/0x3d9907f9a368ad0a51be60f7da3b97cf940982d8) | [Jones markets 1](https://app.diadata.org/price/asset/Arbitrum/0x10393c20975cF177a3513071bC110f7962CD67da/?asset=JONES) | 120 sec |

**Updated Methodology**

- Increase deviation threshold from 0.5% to 2% for the four aforementioned assets.

---

<div class="post-metadata">

**Author:** ![Samuel](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.diadata.org/samuel/32/119_2.png) [@Samuel](https://forum.diadata.org/u/Samuel)\
**Post date:** [April 19, 2023, 4:16pm UTC](https://forum.diadata.org/t/cdr-042-silo-finance-price-feeds/634/5 "2023-04-19T16:16:17Z")

</div>

Hi Silo team,

we deployed the updates.  
ETH deviation threshold remains at 0.5%  
Deviation thresholds for Sperax, Plutus, Grail and Jones are on 2%.

---

<div class="post-metadata">

**Author:** ![aiham02](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.diadata.org/aiham02/32/327_2.png) [@aiham02](https://forum.diadata.org/u/aiham02)\
**Post date:** [April 19, 2023, 4:17pm UTC](https://forum.diadata.org/t/cdr-042-silo-finance-price-feeds/634/6 "2023-04-19T16:17:34Z")

</div>

Thank you very much,

---

<div class="post-metadata">

**Author:** ![aiham02](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.diadata.org/aiham02/32/327_2.png) [@aiham02](https://forum.diadata.org/u/aiham02)\
**Post date:** [April 22, 2023, 9:42pm UTC](https://forum.diadata.org/t/cdr-042-silo-finance-price-feeds/634/8 "2023-04-22T21:42:48Z")

</div>

# INTRODUCTION

**Protocol** : Silo Finance

**Website** : [https://www.silo.finance/](https://www.silo.finance/)

**Integration** : Arbitrum native asset price feeds for Silo Finance Lending Protocol.

# REQUEST INFORMATION

## Asset

**Following assets will be included in the Oracle:**

| Asset Ticker | Asset Blockchain | Asset Address | Asset Markets Overview | Trades Aggregation Window Size |
| --- | --- | --- | --- | --- |
| rDPX | Arbitrum | [0x32eb7902d4134bf98a28b963d26de779af92a212](https://arbiscan.io/address/0x32eb7902d4134bf98a28b963d26de779af92a212) | [RDPX market](https://app.diadata.org/price/asset/Arbitrum/0x32Eb7902D4134bf98A28b963D26de779AF92A212/?asset=RDPX) | 120 sec |

## Methodology

- Moving Average Price with Interquartile Range (MAIR) will be used to calculate the price for the assets. Learn more about it [here](https://docs.diadata.org/documentation/methodology/exchangeprices/mair-moving-average-with-interquartile-range-filter)
- 2% deviation threshold for updates trigger will be applied for each asset
- 120 sec updates frequency check will be applied
- The feed will be updated every 24h period if there are no deviation-based updates

# DELIVERY INFORMATION

- **Delivery Method** : Oracles on Arbitrum network
- **Is testnet deploy required** : No
- **Delivery Estimate** : 14 days (or as soon as conveniently possible)

# NOTES

Additional relevant information: N/A

---

<div class="post-metadata">

**Author:** ![Samuel](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.diadata.org/samuel/32/119_2.png) [@Samuel](https://forum.diadata.org/u/Samuel)\
**Post date:** [April 25, 2023, 3:36pm UTC](https://forum.diadata.org/t/cdr-042-silo-finance-price-feeds/634/9 "2023-04-25T15:36:14Z")

</div>

RDPX/USD is now also available in the deployed oracle.

---

<div class="post-metadata">

**Author:** ![aiham02](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.diadata.org/aiham02/32/327_2.png) [@aiham02](https://forum.diadata.org/u/aiham02)\
**Post date:** [May 2, 2023, 5:31pm UTC](https://forum.diadata.org/t/cdr-042-silo-finance-price-feeds/634/10 "2023-05-02T17:31:01Z")

</div>

We kindly request the removal of the following asset from the oracle:

Asset Name: SPA  
Asset Address: [Sperax: SPA Token | Address 0x5575552988a3a80504bbaeb1311674fcfd40ad4b | Arbiscan](https://arbiscan.io/address/0x5575552988a3a80504bbaeb1311674fcfd40ad4b)  
Action: Remove from oracle.

---

<div class="post-metadata">

**Author:** ![Samuel](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.diadata.org/samuel/32/119_2.png) [@Samuel](https://forum.diadata.org/u/Samuel)\
**Post date:** [May 2, 2023, 5:40pm UTC](https://forum.diadata.org/t/cdr-042-silo-finance-price-feeds/634/11 "2023-05-02T17:40:09Z")

</div>

The requested update has been executed, SPA is no longer part of the oracle updates.

---

<div class="post-metadata">

**Author:** ![aiham02](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.diadata.org/aiham02/32/327_2.png) [@aiham02](https://forum.diadata.org/u/aiham02)\
**Post date:** [June 8, 2023, 6:40pm UTC](https://forum.diadata.org/t/cdr-042-silo-finance-price-feeds/634/12 "2023-06-08T18:40:39Z")

</div>

# INTRODUCTION

Protocol: Silo

Integration: Arbitrum native asset price feeds for Silo network.

# REQUEST INFORMATION

## Assets

Following assets will be included in the Oracle:

| Asset Ticker | Asset Blockchain | Asset Address | Asset Markets Overview | Trades Aggregation Window Size | Comments |
| --- | --- | --- | --- | --- | --- |
| Silo | Arbitrum | [Address: 0x0341c0c0...97f44e391 | Arbitrum One](https://arbiscan.io/address/0x0341c0c0ec423328621788d4854119b97f44e391) | [Silo Governance Token](https://app.diadata.org/price/asset/Arbitrum/0x0341c0c0ec423328621788d4854119b97f44e391/?asset=silo) | 120 sec | |

## Methodology

- Moving Average Price with Interquartile Range (MAIR) will be used to calculate the price for the assets. Learn more about it [here](https://docs.diadata.org/documentation/methodology/exchangeprices/mair-moving-average-with-interquartile-range-filter)
- 0.5% deviation threshold for updates trigger will be applied for each asset
- 120 sec updates frequency check will be applied
- The feed will be updated every 24h period if there are no deviation based updates

# DELIVERY INFORMATION

| Delivery Method | Oracle on Arbitrum network |
| --- | --- |
| Is testnet deploy required? | No |
| Delivery Estimate | 14 days |

---

<div class="post-metadata">

**Author:** ![Samuel](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.diadata.org/samuel/32/119_2.png) [@Samuel](https://forum.diadata.org/u/Samuel)\
**Post date:** [June 19, 2023, 1:44pm UTC](https://forum.diadata.org/t/cdr-042-silo-finance-price-feeds/634/13 "2023-06-19T13:44:58Z")

</div>

Dear Silo team,  
the Silo asset is now queriable in the [deployed oracle](https://arbiscan.io/address/0xe871e9bd0ccc595a626f5e1657c216ce457cea43).

---

<div class="post-metadata">

**Author:** ![aiham02](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.diadata.org/aiham02/32/327_2.png) [@aiham02](https://forum.diadata.org/u/aiham02)\
**Post date:** [June 21, 2023, 3:22pm UTC](https://forum.diadata.org/t/cdr-042-silo-finance-price-feeds/634/14 "2023-06-21T15:22:06Z")

</div>

Hello team DIA:

We no longer have plans to launch lending markets for PLS and GRAIL in the foreseeable future due to lack of liquidity on major AMMs. Therefore, we would like to remove them from our oracle.

Asset details:

- Grail: [$1,234.57 | Camelot token (GRAIL) Token Tracker | Arbiscan](https://arbiscan.io/token/0x3d9907f9a368ad0a51be60f7da3b97cf940982d8)
- Plutus: [PlutusDAO: PLS Token | Address 0x51318b7d00db7acc4026c88c3952b66278b6a67f | Arbiscan](https://arbiscan.io/address/0x51318b7d00db7acc4026c88c3952b66278b6a67f)

---

<div class="post-metadata">

**Author:** ![Samuel](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.diadata.org/samuel/32/119_2.png) [@Samuel](https://forum.diadata.org/u/Samuel)\
**Post date:** [July 4, 2023, 9:19pm UTC](https://forum.diadata.org/t/cdr-042-silo-finance-price-feeds/634/15 "2023-07-04T21:19:26Z")

</div>

The two assets from the request have been removed from the oracle.

---

<div class="post-metadata">

**Author:** ![aiham02](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.diadata.org/aiham02/32/327_2.png) [@aiham02](https://forum.diadata.org/u/aiham02)\
**Post date:** [July 6, 2023, 6:43am UTC](https://forum.diadata.org/t/cdr-042-silo-finance-price-feeds/634/16 "2023-07-06T06:43:07Z")

</div>

Thank you so much, Samuel, we appreciate it.

---

<div class="post-metadata">

**Author:** ![aiham02](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.diadata.org/aiham02/32/327_2.png) [@aiham02](https://forum.diadata.org/u/aiham02)\
**Post date:** [October 10, 2023, 12:37pm UTC](https://forum.diadata.org/t/cdr-042-silo-finance-price-feeds/634/17 "2023-10-10T12:37:01Z")

</div>

Hello team DIA:

We’re planning to launch lending markets for PLS and GRAIL and would like to have both assets included in the current oracle.

Asset details:

- Grail: [$1,234.57 | Camelot token (GRAIL) Token Tracker | Arbiscan](https://arbiscan.io/token/0x3d9907f9a368ad0a51be60f7da3b97cf940982d8)
- Plutus: [PlutusDAO: PLS Token | Address 0x51318b7d00db7acc4026c88c3952b66278b6a67f | Arbiscan](https://arbiscan.io/address/0x51318b7d00db7acc4026c88c3952b66278b6a67f)

---

<div class="post-metadata">

**Author:** ![Samuel](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.diadata.org/samuel/32/119_2.png) [@Samuel](https://forum.diadata.org/u/Samuel)\
**Post date:** [October 18, 2023, 8:41am UTC](https://forum.diadata.org/t/cdr-042-silo-finance-price-feeds/634/18 "2023-10-18T08:41:42Z")

</div>

Both assets have been deployed and can be queried in the oracle.

---

<div class="post-metadata">

**Author:** ![aiham02](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.diadata.org/aiham02/32/327_2.png) [@aiham02](https://forum.diadata.org/u/aiham02)\
**Post date:** [October 18, 2023, 2:09pm UTC](https://forum.diadata.org/t/cdr-042-silo-finance-price-feeds/634/19 "2023-10-18T14:09:18Z")

</div>

Thank you sir for deploying the two assets.

---

<div class="post-metadata">

**Author:** ![Samuel](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.diadata.org/samuel/32/119_2.png) [@Samuel](https://forum.diadata.org/u/Samuel)\
**Post date:** [November 23, 2023, 4:28pm UTC](https://forum.diadata.org/t/cdr-042-silo-finance-price-feeds/634/20 "2023-11-23T16:28:21Z")

</div>

**Data Source Update Report**  
The Silo oracle experienced a deviation from the perceived market value of GRAIL. This happened in conjecture with a hack on one of the centralized exchanges **that this feed uses as a source**. This exchange (HTX, formerly known as Huobi) has been delisted in the process of the mitigation.

**Recap of events**  
This hack lead to systematic deviations in some assets from the perceived market value shortly after noon UTC on Oct 22nd 2023.  
GRAIL was also affected from such deviations, with some trades going down to price ranges of under 600 USD / GRAIL. The actual perceived market price at the time was around 1200-1400 USD / GRAIL.

**Filters and methodologies**  
Most of the deviating trades were mitigated by an interquartile range outlier filter in the price calculation layer leading to the dismissal of the trades. However, in some affected time ranges the number of trades in the overall market was quite low, so that the HTX trades were considered as possible actual trades, respectively the number of HTX trades was the majority of trades we saw and the average price was close to their reported prices. It should be noted that the other sources for GRAIL prices include DEXes that usually have lower number of trades, which can lead to situations where in the 120s window of trade evaluation all or almost all trades come from the centralized exchange source.

In most of _these_ cases the second deviation mechanism in the oracle feeder prevented updates to the oracle: The comparison to the published price from other data providers in the Silo feeder. However, as the deviation threshold in this feeder is 20% to the perceived market price, some prices were published to the oracle that were influenced by HTX prices but still close enough to the perceived market price.

For some long-tail assets the market rates are fluid and can deviate strongly under normal market conditions. This market rate deviation mechanism only triggers in extreme cases where an actual error in the price evaluation layer leads to prices that are completely unrepresentative of the overall market. False positives arising from too tight deviation thresholds should be avoided, otherwise it could happen in genuine market conditions that changes could be prevented from being reported in a timely manner.

**Immediate actions**  
At around 1:40 pm UTC our system shut down the HTX data source entirely identifying an unusual high number of deviations overall.  
Altogether, this aberration was not unfounded (these trades on HTX existed at that time after all), but regarding the hack we think that these can be considered of lesser data quality.

**Follow-up actions**  
In coordination with the Silo team the deviation threshold will be lowered to 7.5% for all assets except RDPX, as deviations in the range of up to 20% can frequently be observed, backed by actual DEX trades from pools with reasonable liquidity.  
Historical data shows that the assets are usually within these 7.5% and do not deviate out of this window.

The live composition of available markets can always be seen in the DIA app for any asset. This is also why we link this information in any CDR so that it is always transparent which data sources are involved in an oracle price.

---

<div class="post-metadata">

**Author:** ![aiham02](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.diadata.org/aiham02/32/327_2.png) [@aiham02](https://forum.diadata.org/u/aiham02)\
**Post date:** [December 27, 2023, 2:15pm UTC](https://forum.diadata.org/t/cdr-042-silo-finance-price-feeds/634/21 "2023-12-27T14:15:26Z")

</div>

We kindly request the removal of the following asset from the oracle:

Asset Name: rDPX  
Asset Address: [  
0x32eb7902d4134bf98a28b963d26de779af92a212](https://arbiscan.io/address/0x32eb7902d4134bf98a28b963d26de779af92a212)  
Action: Remove from oracle.

[Next page](https://forum.diadata.org/t/cdr-042-silo-finance-price-feeds/634.md?page=2)
