segment-finance
Segment Finance
Segment Finance is a Compound V2 fork on BNB Smart Chain (BSC, chain 56). It allows users to supply assets to earn interest (via seTokens) and borrow against collateral.
Architecture
- Read ops (get-markets, get-positions) use direct eth_call via public BSC RPC; no confirmation needed
- Write ops (supply, withdraw, borrow, repay, enter-market) submit via
onchainos wallet contract-callafter user confirmation - All on-chain operations target BSC (chain ID 56)
- Comptroller uses Diamond proxy pattern (EIP-2535)
Execution Flow for Write Operations
- Run with
--dry-runto preview calldata and parameters - Ask user to confirm the transaction details before executing on-chain
- Execute only after explicit user approval
- Report transaction hash and outcome
More from migokg/plugin-store
hyperliquid
Hyperliquid on-chain perpetuals DEX — check positions, get market prices, place and cancel perpetual orders on Hyperliquid L1 (chain_id 999).
12polymarket
Trade prediction markets on Polymarket - buy YES/NO outcome tokens, check positions, list markets, and manage orders on Polygon. Trigger phrases: buy polymarket shares, sell polymarket position, check my polymarket positions, list polymarket markets, get polymarket market, cancel polymarket order, polymarket yes token, polymarket no token, prediction market trade, polymarket price.
10aave-v3
Aave V3 lending and borrowing. Trigger phrases: supply to aave, deposit to aave, borrow from aave, repay aave loan, aave health factor, my aave positions, aave interest rates, enable emode, disable collateral, claim aave rewards.
9uniswap-ai
AI-powered Uniswap developer tools: trading, hooks, drivers, and on-chain analysis across V2/V3/V4
8pancakeswap
Swap tokens and manage liquidity on PancakeSwap V3
8polymarket-agent-skills
Polymarket prediction market integration: trading, market data, WebSocket streaming, cross-chain bridge, and gasless transactions
7