Off-chain oracle

Offchain oracles are responsible for executing strategies, getting rewards and transferring deposits made on supported chains to Ethereum L1 deposit contract. Let’s break down how it works in different contexts:

  1. Rewards: After every few epoch as decided by the bot, the bot triggers reward calculation which means, the rewards that are earned by different strategies are transferred to Deposit Contract on Ethereum L1. The new sharePrice is calculated depending on the rewards earned and relayed to the Deposit Contracts on different supported chains

  2. Transferring deposits on supported chains to Ethereum L1: Users are able to deposit ETH or derivative ETH previously bridged to any of the supported chains. These deposits needs to be batched and transferred to Ethereum L1 deposit contract. Oracle helps in facilitating the cross chain transfers in such situations

  3. Executing Strategies: The bot is also responsible for executing strategies and sending respective tokens to the strategies. These strategies then earn rewards which are distributed back to the users.

Last updated