Commands 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: Under development
Staking LP / Claiming Rewards: Under development
Voting and Locks: Under development
Token swaps:


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 0x830A46707A0bEa3c6c526499d0c9e42E826618E7
contract address
ERC-20 Tokens Transferred:
From
Aerodrome: Router
To0x37785d5bE19D0d9559D4634a5385c72c419b25Da
For 0.00059773898559113 ($1.68) Wrapped Ethereum (WETH) You send input token to Aerodrome for swapFrom
0x37785d5bE19D0d9559D4634a5385c72c419b25Da
Tosigning wallet
For 8.674441377777738752 Reflect (RFL) You receive an output token in your walletFrom
0x37785d5bE19D0d9559D4634a5385c72c419b25Da
To0xB31c02Ae5291332bDd695a428543f30A64d112A3
For 0.000005977389855911 ($0.02) Wrapped Ethereum (WETH) Swap Fee sent to Reflect Treasury
Transaction Fee: 0.00000408891288838 ETH ($0.01)
Reflect receives 0.15% fees in $ETH from each swap that goes to the treasury to help project development
Fetching onchain data
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.
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:

Liquidity positions


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


Last updated