sei-agent-kit
Version:
A package for building AI agents on the SEI blockchain
34 lines • 1.36 kB
TypeScript
import { Address } from 'viem';
/**
* Mapping of token tickers to their corresponding Takara tToken addresses
*/
export declare const TAKARA_TOKEN_MAP: Record<string, Address>;
/**
* Reverse mapping of tToken addresses to their corresponding token tickers
* This can be useful for displaying token names in UIs
*/
export declare const TAKARA_ADDRESS_TO_TICKER: Record<string, string>;
/**
* Get the Takara tToken address for a given token ticker
* @param ticker The token ticker (e.g., "USDC")
* @returns The corresponding tToken address or null if not found
*/
export declare function getTakaraTTokenAddress(ticker: string): Address | null;
/**
* Get the token ticker for a given Takara tToken address
* @param address The tToken address
* @returns The corresponding token ticker or null if not found
*/
export declare function getTickerFromTakaraTTokenAddress(address: Address): string | null;
/**
* Validates if a ticker has a corresponding Takara tToken
* @param ticker The token ticker to validate
* @returns True if the ticker has a corresponding tToken
*/
export declare function isSupportedTakaraToken(ticker: string): boolean;
/**
* Get a list of all supported Takara tokens
* @returns Array of token tickers supported by Takara
*/
export declare function getAllSupportedTakaraTokens(): string[];
//# sourceMappingURL=tokenMap.d.ts.map