@eco-foundation/routes-ts
Version:
The Eco Routes Protocol is a decentralized intent based system that allows users to submit their intent to the network and have it fulfilled by a solver on the destination rollup of their choise.
32 lines (31 loc) • 1.04 kB
TypeScript
export * from './abi';
export * from './utils';
type Hex = `0x${string}`;
/**
* The eco protocol chain configuration type. Represents
* all the deployed contracts on a chain.
*
* @packageDocumentation
* @module index
*/
export type EcoChainConfig = {
Prover?: Hex;
IntentSource: Hex;
Inbox: Hex;
HyperProver: Hex;
};
/**
* The chain ids for the eco protocol
*
* @packageDocumentation
* @module index
*/
export type EcoChainIds = "1" | "10" | "130" | "137" | "5000" | "8453" | "42161" | "42220" | "57073" | "84532" | "11155111" | "11155420" | "1-pre" | "10-pre" | "130-pre" | "137-pre" | "5000-pre" | "8453-pre" | "42161-pre" | "42220-pre" | "57073-pre" | "84532-pre" | "11155111-pre" | "11155420-pre";
/**
* This file contains the addresses of the contracts deployed on the EcoProtocol network
* for the current npm package release. The addresses are generated by the deploy script.
*
* @packageDocumentation
* @module index
*/
export declare const EcoProtocolAddresses: Record<EcoChainIds, EcoChainConfig>;