Yieldex Docs
  • Overview
  • How Yieldex Works
  • What makes Yieldex unique?
  • Approach Benefits
  • Architecture
    • Overview
    • Using Smart Wallets (ERC-4337)
    • Modules
      • Data Collection
      • Decision Making
      • On-chain Interaction Module
  • Safe Delegation Mechanism (Session Keys)
Powered by GitBook
On this page
  • Data Collection Module
  • Decision Making (Analytics) Module
  • On-chain Interaction Module
  • Sequence from Deposit to Rebalance
  1. Architecture

Overview

PreviousApproach BenefitsNextUsing Smart Wallets (ERC-4337)

Last updated 3 months ago

The Yieldex architecture is divided into three key modules:

  1. Data Collection Module

  2. Decision Making / Analytics Module

  3. On-chain Interaction Module

Data Collection Module

  • Collects information about current APY/APR, TVL, availability, etc. from the protocols in different networks.

  • Store results in a database and periodically update (e.g., every 10 minutes).

Decision Making (Analytics) Module

  • Receives grouped data on returns

  • Calculates whether it makes financial sense to transfer funds: for example, from AAVE USDT (APY ~5%) to Compound USDT (APY ~8%).

  • Generates a "call to action" — a structure that specifies the network, protocol, token (USDT, USDC, etc.), quantity, and target return.

On-chain Interaction Module

  • Accepts "call to action" and initiates transactions on users' smart wallets

  • Uses ERC-4337 mechanics to securely aggregate transactions within a single "UserOperation".

  • Sets signing parameters, and uses session keys for limited actions (deposit/withdraw/borrow/repay).

Sequence from Deposit to Rebalance

Page cover image