Hydrex

From Eskyee/agentbot-opensource · View interactive version

Hydrex is an AI agent skill from the GitHub repository Eskyee/agentbot-opensource. Interact with Hydrex liquidity pools on Base. Use when the user wants to lock HYDX for voting power, check voting power for gauge voting, vote on liquidity pool strategies, view pool information, check voting weights, participate in Hydrex governance, deposit single-sided liquidity into auto-managed

How to use this skill

Skill file

Hydrex

Participate in Hydrex governance on Base. Lock HYDX to receive voting power, vote on liquidity pool strategies to direct emissions and rewards, deposit single-sided into auto-managed vaults to earn oHYDX yields, and claim oHYDX rewards from incentive campaigns.

Quick Start

Check Voting Power

What's my Hydrex voting power?

Lock HYDX for Voting Power

Lock 1000 HYDX on Hydrex with rolling lock

Vote on Pools

Vote optimally on Hydrex to maximize fees
Vote 50/50 on HYDX/USDC and cbBTC/WETH on Hydrex

Single-Sided Liquidity

What single-sided liquidity vaults can I deposit BNKR into on Hydrex?
Deposit 500 BNKR into the BNKR/WETH single-sided vault on Hydrex

Rewards

Check my Hydrex rewards
Claim my Hydrex oHYDX rewards
Convert my oHYDX to veHYDX on Hydrex

Core Capabilities

Locking HYDX

Reference: references/locking.md

Voting on Pools

Reference: references/voting.md

Single-Sided Liquidity (ICHI Vaults)

Reference: references/single-sided-liquidity.md

Claiming and Managing Rewards

Reference: references/rewards.md

Contracts (Base Mainnet)

| Contract | Address |

| ---------------------- | -------------------------------------------- |

| HYDX Token | 0x00000e7efa313F4E11Bfff432471eD9423AC6B30 |

| veHYDX (Voting Escrow) | 0x25B2ED7149fb8A05f6eF9407d9c8F878f59cd1e1 |

| Voter | 0xc69E3eF39E3fFBcE2A1c570f8d3ADF76909ef17b |

| Vault Deposit Guard | 0x9A0EBEc47c85fD30F1fdc90F57d2b178e84DC8d8 |

| Vault Deployer | 0x7d11De61c219b70428Bb3199F0DD88bA9E76bfEE |

| Incentive Distributor | 0x8604d646df5A15074876fc2825CfeE306473dD45 |

| oHYDX Token | 0xA1136031150E50B015b41f1ca6B2e99e49D8cB78 |

Pool Information API

Get current liquidity pool data:

bankr agent "What are the top Hydrex pools by projected fees?"
bankr agent "Show me all Hydrex liquidity pools with their voting weights"

Key fields for voting optimization:

Efficiency formula: projectedFeeInUsd / liveVotingWeight = fee revenue per vote

Common Workflows

First-Time Setup

  1. Get HYDX — Acquire HYDX tokens on Base
  2. Approve HYDX — Approve veHYDX contract to spend HYDX
  3. Lock HYDX — Create rolling lock (Type 1) for voting power
  4. Wait for epoch — Voting power activates next epoch (~weekly)
  5. Vote — Allocate voting power to pools

Example:

# Step 1: Check HYDX balance
"What's my HYDX balance on Base?"

# Step 2 & 3: Approve and lock in one go
"Lock 1000 HYDX on Hydrex with rolling lock"

# Step 4: Wait for next epoch (typically next Thursday 00:00 UTC)

# Step 5: Vote optimally
"Vote optimally on Hydrex to maximize fees"

Optimized Voting

When you want maximum returns:

Vote optimally on Hydrex to maximize my fee earnings

Bankr will:

  1. Fetch all pools from API
  2. Calculate efficiency (fees per vote) for each pool
  3. Rank pools by efficiency
  4. Allocate votes to top pools
  5. Execute vote transaction

Named Pool Voting

Vote by pool name instead of addresses:

Vote 100% on HYDX/USDC on Hydrex
Vote 60% on HYDX/USDC and 40% on cbBTC/WETH on Hydrex
Vote 33/33/34 on HYDX/USDC, cbBTC/WETH, and USDC/USDbC on Hydrex

Changing Votes

Reallocate your voting power:

Change my Hydrex vote to 100% on cbBTC/WETH

This will reset current votes and apply new allocation.

Optimization Strategies

Simple Strategy

Vote 100% on the pool with highest projectedFeeInUsd / liveVotingWeight ratio.

Example:

Vote on the single best Hydrex pool by fees

Balanced Strategy

Split votes equally across top 3-5 efficient pools for diversification.

Example:

Vote equally on top 3 Hydrex pools by projected fees

Weighted Strategy

Allocate votes proportional to efficiency scores.

Example:

Vote on Hydrex pools weighted by their fee efficiency

Understanding Voting Power

How Voting Power Works

  1. Lock HYDX → Receive veHYDX NFT
  2. veHYDX amount = Your voting power
  3. Rolling locks (Type 1) = Maximum voting power with auto-extension
  4. Earning power = 1.3x voting power (used for fee distributions)
  5. Next epoch = Voting power activates
  6. Vote allocation = Direct emissions to pools

Checking Your Power

# Check voting power
bankr agent "What's my Hydrex voting power?"

# Check earning power (1.3x voting power)
bankr agent "What's my Hydrex earning power?"

# Check veHYDX NFT balance
bankr agent "Show my veHYDX NFT balance"

# Check a specific NFT's earning power
bankr agent "How much earning power does my veHYDX NFT #5 have?"

Display to users: Show earning power (voting power × 1.3) when discussing fee earnings, as this is what determines your share of distributions.

Vote Proportions

Vote weights are in basis points (10000 = 100%):

| User Says | Proportions |

| --------------------- | -------------------------- |

| "100% on X" | [10000] |

| "50/50 on X and Y" | [5000, 5000] |

| "60/40 on X and Y" | [6000, 4000] |

| "33/33/34 on X, Y, Z" | [3333, 3333, 3334] |

| "25% each on 4 pools" | [2500, 2500, 2500, 2500] |

Proportions must sum to exactly 10000.

Epoch System

Hydrex operates on epochs:

Example Prompts

Locking

Voting

Queries

Single-Sided Liquidity

Rewards

Tips

For New Users

For Active Voters

For Maximizers

Natural Language Voting Guide for Bankr

When processing Hydrex voting requests:

  1. Fetch pool data from https://api.hydrex.fi/strategies
  2. Get user earning power: Query voting power, multiply by 1.3
  3. Parse user intent:
  1. Validate proportions sum to 10000
  2. Execute vote via voter contract 0xc69E3eF39E3fFBcE2A1c570f8d3ADF76909ef17b

When displaying earnings projections, always use earning power (voting power × 1.3), not raw voting power.

Example optimization logic:

curl -s https://api.hydrex.fi/strategies | jq '[.[] |
  select(.gauge.projectedFeeInUsd != null and .gauge.liveVotingWeight > 0) |
  {
    address,
    title,
    efficiency: (.gauge.projectedFeeInUsd / .gauge.liveVotingWeight)
  }
] | sort_by(-.efficiency) | .[0:3]'

Resources

Detailed References


💡 Pro Tip: Efficiency (fees per vote) matters more than absolute fees. Say "vote optimally on Hydrex" and let Bankr handle the math. Remember your earnings are based on earning power (1.3x voting power).

⚠️ Important: Rolling locks (Type 1) automatically extend to maintain 2-year duration. This maximizes your voting power without manual management.

🚀 Quick Win: Lock HYDX with rolling lock, wait for next epoch, then say "vote optimally on Hydrex to maximize fees" — Bankr calculates using your earning power and does the rest.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.