All projects

GridStratedy

An auto rebalancing stable coin between bluechip token

DeFi & Tokenization

What it is

GridStrategy is a decentralized automated portfolio management protocol that combines grid trading strategy with Pendle Finance's Principal Tokens (PT). It uses Chainlink CRE (Chainlink Runtime Environment) to automatically rebalance user vaults between blue-chip assets (WETH/WBTC) and yield-bearing PT positions based on predefined ratios.
How it works?

  1. User Vaults
  • Users deposit stablecoins (USDC/USDT/DAI) to create personal vaults
  • Each vault maintains a target balance ratio (e.g., 50% PT, 50% blue-chip tokens)
  • Configurable rebalance threshold triggers automatic position adjustments
  1. CRE Workflow Automation
  • Runs every 5 minutes on Chainlink DON (Decentralized Oracle Network)
  • Fetches best PT markets from Pendle Finance API (highest APY with sufficient liquidity)
  • Monitors all vaults for rebalance conditions using Chainlink price feeds
  • Generates swap routes via Pendle's convert API for optimal execution
  1. Two-Phase Execution
  • UPDATE_MARKET: Updates the best PT market across all vaults when better yields are found
  • BATCH_REBALANCE: Executes rebalance swaps for vaults that deviate from target ratios
  1. Architecture
    Pendle API → CRE Workflow → DON Consensus → GridCREReceiver → GridStrategyFactory → User Vaults
    What problem does it solve?
  2. Passive Yield Optimization
  • Automatically discovers and utilizes the highest-yielding PT markets without manual monitoring
  • Eliminates the need for users to constantly track Pendle markets for best opportunities
  1. Automated Risk Management
  • Maintains target allocation between stable yield (PT) and growth assets (WETH/WBTC)
  • Prevents portfolio drift through automatic rebalancing when thresholds are breached
  1. Gas-Efficient Batch Operations
  • Multiple vaults are rebalanced in single transactions, reducing per-user gas costs
  • DON consensus ensures reliable execution without single points of failure
  1. Trustless Automation
  • No centralized keepers or manual intervention required
  • Chainlink DON provides decentralized, verifiable execution with consensus guarantees
  1. Capital Efficiency
  • Users capture both PT fixed yields and blue-chip price appreciation
  • Grid strategy benefits from market volatility through systematic rebalancing
    Deployed Contracts (Arbitrum Mainnet):
  • GridStrategyFactory: 0x5A81ebd83D67a176d2436476c8719D33991b2F52

How it Works

Want to try something new.

Links

Created by

  • lushuyuan