maia-core-sdk
Version:
⚒️ An SDK for building applications on top of Maia DAO Ecosytem
39 lines (38 loc) • 2.84 kB
TypeScript
import { TalosAddressesType } from '../../types';
/**
* TalosAddresses is a mapping of supported chain IDs to their respective Talos addresses.
*
* This object uses the SupportedChainId enum to map each supported chain to its corresponding
* Talos addresses. It implements the TalosAddressesType type, ensuring it has the required structure.
*
* @type {TalosAddressesType}
* @property {object} [SupportedChainId.ARBITRUM_ONE] - Addresses for the Arbitrum network
* @property {string} [SupportedChainId.ARBITRUM_ONE].TalosStrategyStakedFactory - Address of the TalosStrategyStakedFactory contract on Arbitrum
* @property {string} [SupportedChainId.ARBITRUM_ONE].OptimizerFactory - Address of the OptimizerFactory contract on Arbitrum
* @property {string} [SupportedChainId.ARBITRUM_ONE].BoostAggregatorFactory - Address of the BoostAggregatorFactory contract on Arbitrum
* @property {string} [SupportedChainId.ARBITRUM_ONE].TalosManagerFactory - Address of the TalosManagerFactory contract on Arbitrum
* @property {string} [SupportedChainId.ARBITRUM_ONE].FlywheelCoreInstant - Address of the FlywheelCoreInstant contract on Arbitrum
* @property {string} [SupportedChainId.ARBITRUM_ONE].TransferAll - Address of the TransferAll contract on Arbitrum
* @property {object} [SupportedChainId.SEPOLIA] - Addresses for the Sepolia network
* @property {string} [SupportedChainId.SEPOLIA].TalosStrategyStakedFactory - Address of the TalosStrategyStakedFactory contract on Sepolia
* @property {string} [SupportedChainId.SEPOLIA].OptimizerFactory - Address of the OptimizerFactory contract on Sepolia
* @property {string} [SupportedChainId.SEPOLIA].BoostAggregatorFactory - Address of the BoostAggregatorFactory contract on Sepolia
* @property {string} [SupportedChainId.SEPOLIA].TalosManagerFactory - Address of the TalosManagerFactory contract on Sepolia
* @property {string} [SupportedChainId.SEPOLIA].FlywheelCoreInstant - Address of the FlywheelCoreInstant contract on Sepolia
* @property {string} [SupportedChainId.SEPOLIA].TransferAll - Address of the TransferAll contract on Sepolia
*
* @example
* ```ts
* import { TalosAddresses } from './TalosAddresses'
* import { SupportedChainId } from '../chainIds'
*
* // Accessing the Talos addresses for the Arbitrum network
* const arbitrumAddresses = TalosAddresses[SupportedChainId.ARBITRUM_ONE]
* console.log(arbitrumAddresses.TalosStrategyStakedFactory) // Outputs: '0x17B4f847f9B071298f3eF0DAd5FCB20453bd537D'
*
* // Accessing the Talos addresses for the Sepolia network
* const sepoliaAddresses = TalosAddresses[SupportedChainId.SEPOLIA]
* console.log(sepoliaAddresses.TalosStrategyStakedFactory) // Outputs: '0xA483A5FB7974Dcdc4480a976fECD4e5d21312E20'
* ```
*/
export declare const TalosAddresses: TalosAddressesType;