UNPKG

@tristeroresearch/mach-sdk

Version:

A TypeScript SDK for integrating with Mach's API.

462 lines 14.3 kB
/** * @module constants * @exports chains/networks/tokens/contracts/assets * @description Aggregates exports for tokens, contracts, assets, chains, and networks. * Networks are loaded from the network.ts file, where they are pulled from the config, gotten from the Mach API * Tokens are defined statically in the tokens.ts file */ import { ETHEREUM_ASSETS, OPTIMISM_ASSETS, ARBITRUM_ASSETS, CELO_ASSETS, BASE_ASSETS, POLYGON_ASSETS, AVALANCHE_ASSETS, SEPOLIA_ASSETS, MONADTESTNET_ASSETS, ASSETS, arb, eth, op, avax, matic, polygon, base, celo, sepolia, monadtestnet, ARB, ETH, OP, AVAX, MATIC, POLYGON, BASE, CELO, SEPOLIA, MONADTESTNET } from './tokens.js'; import { ETHEREUM_CONTRACTS, OPTIMISM_CONTRACTS, ARBITRUM_CONTRACTS, CELO_CONTRACTS, BASE_CONTRACTS, POLYGON_CONTRACTS, AVALANCHE_CONTRACTS, SEPOLIA_CONTRACTS, MONADTESTNET_CONTRACTS } from './contracts.js'; export { ETHEREUM_ASSETS, OPTIMISM_ASSETS, ARBITRUM_ASSETS, CELO_ASSETS, BASE_ASSETS, POLYGON_ASSETS, AVALANCHE_ASSETS, SEPOLIA_ASSETS, MONADTESTNET_ASSETS, ASSETS, arb, eth, op, avax, matic, polygon, base, celo, sepolia, monadtestnet, ARB, ETH, OP, AVAX, MATIC, POLYGON, BASE, CELO, SEPOLIA, MONADTESTNET, ETHEREUM_CONTRACTS, OPTIMISM_CONTRACTS, ARBITRUM_CONTRACTS, CELO_CONTRACTS, BASE_CONTRACTS, POLYGON_CONTRACTS, AVALANCHE_CONTRACTS, SEPOLIA_CONTRACTS, MONADTESTNET_CONTRACTS, }; export declare const tokens: { ETHEREUM_ASSETS: { [key: string]: import("../index.js").Asset; }; OPTIMISM_ASSETS: { [key: string]: import("../index.js").Asset; }; ARBITRUM_ASSETS: { [key: string]: import("../index.js").Asset; }; CELO_ASSETS: { [key: string]: import("../index.js").Asset; }; BASE_ASSETS: { [key: string]: import("../index.js").Asset; }; POLYGON_ASSETS: { [key: string]: import("../index.js").Asset; }; AVALANCHE_ASSETS: { [key: string]: import("../index.js").Asset; }; SEPOLIA_ASSETS: { [key: string]: import("../index.js").Asset; }; MONADTESTNET_ASSETS: { [key: string]: import("../index.js").Asset; }; arb: { [key: string]: import("../index.js").Asset; }; eth: { [key: string]: import("../index.js").Asset; }; op: { [key: string]: import("../index.js").Asset; }; avax: { [key: string]: import("../index.js").Asset; }; matic: { [key: string]: import("../index.js").Asset; }; polygon: { [key: string]: import("../index.js").Asset; }; base: { [key: string]: import("../index.js").Asset; }; celo: { [key: string]: import("../index.js").Asset; }; sepolia: { [key: string]: import("../index.js").Asset; }; monadtestnet: { [key: string]: import("../index.js").Asset; }; ARB: { [key: string]: import("../index.js").Asset; }; ETH: { [key: string]: import("../index.js").Asset; }; OP: { [key: string]: import("../index.js").Asset; }; AVAX: { [key: string]: import("../index.js").Asset; }; MATIC: { [key: string]: import("../index.js").Asset; }; POLYGON: { [key: string]: import("../index.js").Asset; }; BASE: { [key: string]: import("../index.js").Asset; }; CELO: { [key: string]: import("../index.js").Asset; }; SEPOLIA: { [key: string]: import("../index.js").Asset; }; MONADTESTNET: { [key: string]: import("../index.js").Asset; }; }; export declare const contracts: { ETHEREUM_CONTRACTS: Record<string, `0x${string}`>; OPTIMISM_CONTRACTS: Record<string, `0x${string}`>; ARBITRUM_CONTRACTS: Record<string, `0x${string}`>; CELO_CONTRACTS: Record<string, `0x${string}`>; BASE_CONTRACTS: Record<string, `0x${string}`>; POLYGON_CONTRACTS: Record<string, `0x${string}`>; AVALANCHE_CONTRACTS: Record<string, `0x${string}`>; SEPOLIA_CONTRACTS: { order_book: string; }; MONADTESTNET_CONTRACTS: Record<string, `0x${string}`>; arb: Record<string, `0x${string}`>; eth: Record<string, `0x${string}`>; op: Record<string, `0x${string}`>; avax: Record<string, `0x${string}`>; matic: Record<string, `0x${string}`>; polygon: Record<string, `0x${string}`>; base: Record<string, `0x${string}`>; celo: Record<string, `0x${string}`>; ARB: Record<string, `0x${string}`>; ETH: Record<string, `0x${string}`>; OP: Record<string, `0x${string}`>; AVAX: Record<string, `0x${string}`>; MATIC: Record<string, `0x${string}`>; POLYGON: Record<string, `0x${string}`>; BASE: Record<string, `0x${string}`>; CELO: Record<string, `0x${string}`>; SEPOLIA: { order_book: string; }; MONADTESTNET: Record<string, `0x${string}`>; }; export declare const assets: { ETHEREUM_ASSETS: { [key: string]: import("../index.js").Asset; }; OPTIMISM_ASSETS: { [key: string]: import("../index.js").Asset; }; ARBITRUM_ASSETS: { [key: string]: import("../index.js").Asset; }; CELO_ASSETS: { [key: string]: import("../index.js").Asset; }; BASE_ASSETS: { [key: string]: import("../index.js").Asset; }; POLYGON_ASSETS: { [key: string]: import("../index.js").Asset; }; AVALANCHE_ASSETS: { [key: string]: import("../index.js").Asset; }; SEPOLIA_ASSETS: { [key: string]: import("../index.js").Asset; }; MONADTESTNET_ASSETS: { [key: string]: import("../index.js").Asset; }; arb: { [key: string]: import("../index.js").Asset; }; eth: { [key: string]: import("../index.js").Asset; }; op: { [key: string]: import("../index.js").Asset; }; avax: { [key: string]: import("../index.js").Asset; }; matic: { [key: string]: import("../index.js").Asset; }; polygon: { [key: string]: import("../index.js").Asset; }; base: { [key: string]: import("../index.js").Asset; }; celo: { [key: string]: import("../index.js").Asset; }; sepolia: { [key: string]: import("../index.js").Asset; }; monadtestnet: { [key: string]: import("../index.js").Asset; }; ARB: { [key: string]: import("../index.js").Asset; }; ETH: { [key: string]: import("../index.js").Asset; }; OP: { [key: string]: import("../index.js").Asset; }; AVAX: { [key: string]: import("../index.js").Asset; }; MATIC: { [key: string]: import("../index.js").Asset; }; POLYGON: { [key: string]: import("../index.js").Asset; }; BASE: { [key: string]: import("../index.js").Asset; }; CELO: { [key: string]: import("../index.js").Asset; }; SEPOLIA: { [key: string]: import("../index.js").Asset; }; MONADTESTNET: { [key: string]: import("../index.js").Asset; }; }; import { chains } from './chains.js'; import { networks } from './networks.js'; export { chains, networks }; export declare const Constants: { tokens: { ETHEREUM_ASSETS: { [key: string]: import("../index.js").Asset; }; OPTIMISM_ASSETS: { [key: string]: import("../index.js").Asset; }; ARBITRUM_ASSETS: { [key: string]: import("../index.js").Asset; }; CELO_ASSETS: { [key: string]: import("../index.js").Asset; }; BASE_ASSETS: { [key: string]: import("../index.js").Asset; }; POLYGON_ASSETS: { [key: string]: import("../index.js").Asset; }; AVALANCHE_ASSETS: { [key: string]: import("../index.js").Asset; }; SEPOLIA_ASSETS: { [key: string]: import("../index.js").Asset; }; MONADTESTNET_ASSETS: { [key: string]: import("../index.js").Asset; }; arb: { [key: string]: import("../index.js").Asset; }; eth: { [key: string]: import("../index.js").Asset; }; op: { [key: string]: import("../index.js").Asset; }; avax: { [key: string]: import("../index.js").Asset; }; matic: { [key: string]: import("../index.js").Asset; }; polygon: { [key: string]: import("../index.js").Asset; }; base: { [key: string]: import("../index.js").Asset; }; celo: { [key: string]: import("../index.js").Asset; }; sepolia: { [key: string]: import("../index.js").Asset; }; monadtestnet: { [key: string]: import("../index.js").Asset; }; ARB: { [key: string]: import("../index.js").Asset; }; ETH: { [key: string]: import("../index.js").Asset; }; OP: { [key: string]: import("../index.js").Asset; }; AVAX: { [key: string]: import("../index.js").Asset; }; MATIC: { [key: string]: import("../index.js").Asset; }; POLYGON: { [key: string]: import("../index.js").Asset; }; BASE: { [key: string]: import("../index.js").Asset; }; CELO: { [key: string]: import("../index.js").Asset; }; SEPOLIA: { [key: string]: import("../index.js").Asset; }; MONADTESTNET: { [key: string]: import("../index.js").Asset; }; }; assets: { ETHEREUM_ASSETS: { [key: string]: import("../index.js").Asset; }; OPTIMISM_ASSETS: { [key: string]: import("../index.js").Asset; }; ARBITRUM_ASSETS: { [key: string]: import("../index.js").Asset; }; CELO_ASSETS: { [key: string]: import("../index.js").Asset; }; BASE_ASSETS: { [key: string]: import("../index.js").Asset; }; POLYGON_ASSETS: { [key: string]: import("../index.js").Asset; }; AVALANCHE_ASSETS: { [key: string]: import("../index.js").Asset; }; SEPOLIA_ASSETS: { [key: string]: import("../index.js").Asset; }; MONADTESTNET_ASSETS: { [key: string]: import("../index.js").Asset; }; arb: { [key: string]: import("../index.js").Asset; }; eth: { [key: string]: import("../index.js").Asset; }; op: { [key: string]: import("../index.js").Asset; }; avax: { [key: string]: import("../index.js").Asset; }; matic: { [key: string]: import("../index.js").Asset; }; polygon: { [key: string]: import("../index.js").Asset; }; base: { [key: string]: import("../index.js").Asset; }; celo: { [key: string]: import("../index.js").Asset; }; sepolia: { [key: string]: import("../index.js").Asset; }; monadtestnet: { [key: string]: import("../index.js").Asset; }; ARB: { [key: string]: import("../index.js").Asset; }; ETH: { [key: string]: import("../index.js").Asset; }; OP: { [key: string]: import("../index.js").Asset; }; AVAX: { [key: string]: import("../index.js").Asset; }; MATIC: { [key: string]: import("../index.js").Asset; }; POLYGON: { [key: string]: import("../index.js").Asset; }; BASE: { [key: string]: import("../index.js").Asset; }; CELO: { [key: string]: import("../index.js").Asset; }; SEPOLIA: { [key: string]: import("../index.js").Asset; }; MONADTESTNET: { [key: string]: import("../index.js").Asset; }; }; contracts: { ETHEREUM_CONTRACTS: Record<string, `0x${string}`>; OPTIMISM_CONTRACTS: Record<string, `0x${string}`>; ARBITRUM_CONTRACTS: Record<string, `0x${string}`>; CELO_CONTRACTS: Record<string, `0x${string}`>; BASE_CONTRACTS: Record<string, `0x${string}`>; POLYGON_CONTRACTS: Record<string, `0x${string}`>; AVALANCHE_CONTRACTS: Record<string, `0x${string}`>; SEPOLIA_CONTRACTS: { order_book: string; }; MONADTESTNET_CONTRACTS: Record<string, `0x${string}`>; arb: Record<string, `0x${string}`>; eth: Record<string, `0x${string}`>; op: Record<string, `0x${string}`>; avax: Record<string, `0x${string}`>; matic: Record<string, `0x${string}`>; polygon: Record<string, `0x${string}`>; base: Record<string, `0x${string}`>; celo: Record<string, `0x${string}`>; ARB: Record<string, `0x${string}`>; ETH: Record<string, `0x${string}`>; OP: Record<string, `0x${string}`>; AVAX: Record<string, `0x${string}`>; MATIC: Record<string, `0x${string}`>; POLYGON: Record<string, `0x${string}`>; BASE: Record<string, `0x${string}`>; CELO: Record<string, `0x${string}`>; SEPOLIA: { order_book: string; }; MONADTESTNET: Record<string, `0x${string}`>; }; chains: { ethereum: string; optimism: string; arbitrum: string; avalanche: string; polygon: string; base: string; celo: string; matic: string; eth: string; op: string; arb: string; avax: string; ETH: string; OP: string; ARB: string; AVAX: string; MATIC: string; POLYGON: string; BASE: string; CELO: string; }; }; export declare const MAX_UINT256: bigint; export declare const EVM_ZERO_ADDRESS = "0x0000000000000000000000000000000000000000"; //# sourceMappingURL=index.d.ts.map