Sei Money Market Agent
Last updated
Last updated
interface SeiMoneyMarketConfig {
apiKey: string; // Your Brahma API key
baseURL: string; // Brahma API base URL
supportedTokens: { // List of supported tokens
address: string; // Token contract address
symbol: string; // Token symbol
decimals: number; // Token decimals
}[];
}// Define target portfolio allocation
const targetAllocation = {
'USDC': 0.4, // 40% USDC
'USDT': 0.3, // 30% USDT
'DAI': 0.3 // 30% DAI
};
// Agent automatically maintains this allocation
await agent.handleEvent('REBALANCE', { targetAllocations: targetAllocation });