Actions

Flux monitor: Difference between revisions

From Chainlink Community Wiki

No edit summary
No edit summary
Line 3: Line 3:
<p>The deployment and migration from Runlog to FluxMonitor was a major milestone.</p>
<p>The deployment and migration from Runlog to FluxMonitor was a major milestone.</p>
<p>The migration removed the high risks from the Price Feeds' dependence on the Deviator / Utility Node, while also significantly reducing operation costs.</p>
<p>The migration removed the high risks from the Price Feeds' dependence on the Deviator / Utility Node, while also significantly reducing operation costs.</p>
<p>&nbsp;</p>
<h2>Migration to FluxMonitor: ETH / USD</h2>
<h2>Migration to FluxMonitor: ETH / USD</h2>
<p>August 06, 2020: &nbsp;The ETH / USD <a href="https://github.com/smartcontractkit/chainlink/blob/develop/contracts/src/v0.6/FluxAggregator.sol">FluxAggregator.sol</a> contract was deployed at address <a href="https://etherscan.io/address/0x00c7A37B03690fb9f41b5C5AF8131735C7275446"><span style="font-family:'Courier New', Courier, monospace;"><strong>0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419</strong></span></a><strong> </strong>at transaction hash <a href="https://etherscan.io/tx/0x1697d1bd5ab87a246571186262cf5111cb469b60b9798d70a1fe307d3252c76c"><span style="font-family:'Courier New', Courier, monospace;"><strong>0x1697d1bd5ab87a246571186262cf5111cb469b60b9798d70a1fe307d3252c76c</strong></span></a>.</p>
<p> 06 Aug 20: &nbsp;The ETH / USD [https://github.com/smartcontractkit/chainlink/blob/develop/contracts/src/v0.6/FluxAggregator.sol FluxAggregator.sol] contract was deployed at address <a href="https://etherscan.io/address/0x00c7A37B03690fb9f41b5C5AF8131735C7275446"><span style="font-family:'Courier New', Courier, monospace;"><strong>0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419</strong></span></a><strong> </strong>
<p>April 06, 2021: &nbsp;The ETH / USD price feed was formally migrated from Runlog to FluxMonitor contracts.</p>
 
 
* AccessControlledAggregator:  '''[https://etherscan.io/address/0x00c7A37B03690fb9f41b5C5AF8131735C7275446#code 0x00c7A37B03690fb9f41b5C5AF8131735C7275446]'''
* EACAggregatorProxy: '''[https://etherscan.io/address/0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419 0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419]'''
 
 
at transaction hash <a href="https://etherscan.io/tx/0x1697d1bd5ab87a246571186262cf5111cb469b60b9798d70a1fe307d3252c76c"><span style="font-family:'Courier New', Courier, monospace;"><strong>0x1697d1bd5ab87a246571186262cf5111cb469b60b9798d70a1fe307d3252c76c</strong></span></a>.</p>
<p>06 Apr 21: &nbsp;The ETH / USD price feed was formally migrated from Runlog to FluxMonitor contracts.</p>
<p><br>As Chainlink is extremely risk-averse, they did not want to migrate all of their Price Feed contracts to the new FluxMonitor contracts without a backup plan.</p>
<p><br>As Chainlink is extremely risk-averse, they did not want to migrate all of their Price Feed contracts to the new FluxMonitor contracts without a backup plan.</p>
<p>If anything were to happen, the proxy contracts were each pointed at their respective FluxMonitor aggregator contracts. &nbsp;If anything were to happen, the Chainlink team could fall back to the Runlog contracts in a matter of moments.</p>
<p>If anything were to happen, the proxy contracts were each pointed at their respective FluxMonitor aggregator contracts. &nbsp;If anything were to happen, the Chainlink team could fall back to the Runlog contracts in a matter of moments.</p>

Revision as of 04:29, 11 April 2022

Price Feeds: FluxMonitor (FM)

The deployment and migration from Runlog to FluxMonitor was a major milestone.

The migration removed the high risks from the Price Feeds' dependence on the Deviator / Utility Node, while also significantly reducing operation costs.

Migration to FluxMonitor: ETH / USD

06 Aug 20:  The ETH / USD FluxAggregator.sol contract was deployed at address <a href="https://etherscan.io/address/0x00c7A37B03690fb9f41b5C5AF8131735C7275446">0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419</a>

at transaction hash <a href="https://etherscan.io/tx/0x1697d1bd5ab87a246571186262cf5111cb469b60b9798d70a1fe307d3252c76c">0x1697d1bd5ab87a246571186262cf5111cb469b60b9798d70a1fe307d3252c76c</a>.

06 Apr 21:  The ETH / USD price feed was formally migrated from Runlog to FluxMonitor contracts.


As Chainlink is extremely risk-averse, they did not want to migrate all of their Price Feed contracts to the new FluxMonitor contracts without a backup plan.

If anything were to happen, the proxy contracts were each pointed at their respective FluxMonitor aggregator contracts.  If anything were to happen, the Chainlink team could fall back to the Runlog contracts in a matter of moments.

 

FluxMonitor Operation

The operation of FluxMonitor feeds and all related contracts is rather complex, and outside the scope (Price Feed History) of this page.  Please refer to Chainlink Contract Details for more information.

The important changes from migrating to FM contracts, were:

  • The Deviator / Utility Node was no longer necessary.
    • Monitoring data sources for deviation was pushed out to each Node Operator.
      • If a single Node Operator detected deviation beyond the set threshold, a new round would be fired.
      • The Deviator / Utility Node was no longer a single point of failure.
    • The Deviator / Utility Node no longer sent transactions to each Node Opertor for every price update
      • This resulted in significantly reducing the cost of operating multiple Price Feeds

 

Price Feeds: Limitations of FluxMonitor

Issues with Scaling

While FluxMonitor was a nmajor increase in efficiency over the previous generation Runlog contracts, it was not efficient enough to accommodate for the incrasing number of transactions on the Ethereum network.

With the rapid adoption of DeFi in the summer of 2021, the blocks were filling up rapidly and the efficiency of FluxMonitor was not enough to keep up.

Each new round for each Price Feed still required on-chain transactions from each Node Operator.  This meant that at times of high market volatility, each Price Feed was adding 9+ transactions to the mempool for each Price Feed.

As new DeFi protocols were launching with desire to support new tokens, more price feeds were necessary.  FluxMonitor was not enough to meet the demand that Chainlink was experiencing.

If only there were a way to reach consensus off-chain, without risk to the security of the Price Feeds…


Flux Monitor resources

XXTEXTXX

Timeline

Date Media Author Title
XXXX XXXX XXXX []
XXXX XXXX XXXX []

Educational

Date Media Author Title
N/A Official Docs Chainlink Flux Monitor Jobs - Official Chainlink Documentation
XXXX XXXX XXXX []
XXXX XXXX XXXX []
XXXX XXXX XXXX []