commentsCommands and actions

All commands fall into four main categories: Fetching onchain data, creating onchain transactions, market analysis, investment opportunities, communication, and assistance.

Creating onchain transactions

  • Token swaps: Users can initiate token swaps directly within the chat, using Aerodrome for transactions.

  • Adding / Removing LP

  • Staking LP / Claiming Rewards

  • Voting and Locks

Token swaps:

circle-info

Input tips: Enter the ticker amount you want to use (number or %) and the token you want to receive. Try it!

You'll receive a confirmation message after successful transactions with a hash

Let's look closer at how it works onchain

Transaction action: Call Swap Exact ETH Function by signing wallet on 0x830A46707A0bEa3c6c526499d0c9e42E826618E7contract address

ERC-20 Tokens Transferred:

  1. From Aerodrome: Router To 0x37785d5bE19D0d9559D4634a5385c72c419b25Da For 0.00059773898559113 ($1.68) Wrapped Ethereum (WETHarrow-up-right) You send input token to Aerodrome for swap

  2. From 0x37785d5bE19D0d9559D4634a5385c72c419b25Da To signing wallet For 8.674441377777738752 Reflect (RFLarrow-up-right) You receive an output token in your wallet

  3. From 0x37785d5bE19D0d9559D4634a5385c72c419b25Da To 0xB31c02Ae5291332bDd695a428543f30A64d112A3 For 0.000005977389855911 ($0.02) Wrapped Ethereum (WETHarrow-up-right) Swap Fee sent to Reflect Treasury

Transaction Fee: 0.00000408891288838 ETH ($0.01)

circle-check

Fetching onchain data

  • Check balance:

    • The chat engine retrieves the user's connected wallet address.

    • It queries the blockchain via the RPC endpoint to fetch token balances.

    • The system decodes the raw data to format token balances, including supported tokens, and calculates their USD values.

  • LP position monitoring:

    • The backend queries Aerodrome's smart contracts for the user's liquidity pool (LP) positions.

    • It retrieves data like LP holdings and staked LP tokens

    • The backend decodes raw data and calculates accumulated rewards and token pair details.

    • It queries the on-chain data to fetch AERO emissions and fees collected.

Check balance:

circle-info

Input examples: 'Show me my balance', 'What's my balance', 'Balance', etc.

Liquidity positions

circle-info

Input examples: 'My liquidity positions', 'My LP', 'Check my liquidity', etc.

circle-info

Input examples: 'What are my Aerodrome earnings?', 'My LP rewards', 'Staked liquidity income', etc

Token and invest analysis

Token analysis: Users can scan and analyze any token, gaining insights into its performance, market data, and more.

circle-info

Input examples: 'Analyze $ticker for investing', 'How to earn income with $ticker holdings?', 'Invest opportunities right now', etc.

Last updated