Oracle

In Shell Finance, the third-party price oracle provides fixed-frequency price-feeding services and participates as a third party in secret generation and disclosure in the DLC mechanism.

As shown in the diagram, the price oracle participates in the protocol process in the following scenarios:

  • When a user initiates a lending position, the protocol calculates the collateral value and collateral ratio based on real-time Oracle quotes to determine the upper limit of the loan. Additionally, a secret value will be initialized for the position.

  • When a user adjusts/closes a lending position, the protocol recalculates the collateral value and ratio based on real-time Oracle quotes and determines the updates to the collateral assets/debt status. Additionally, a secret value will be initialized for the position.

  • When the price reaches the liquidation price of one or more positions, the price oracle will disclose the corresponding secrets to the liquidators in a format similar to the following:

Last updated