tornado-oracles/lib/config.d.ts

37 lines
1.2 KiB
TypeScript

import { LegacyGasPrices } from './types';
export declare enum ChainId {
MAINNET = 1,
GOERLI = 5,
BSC = 56,
XDAI = 100,
POLYGON = 137,
OPTIMISM = 10,
ARBITRUM = 42161,
AVAX = 43114,
SEPOLIA = 11155111
}
export declare enum InstanceTokenSymbol {
DAI = "dai",
cDAI = "cdai",
WBTC = "wbtc",
USDT = "usdt",
USDC = "usdc"
}
export type GasPricesConfig = {
[chainId in ChainId]: LegacyGasPrices;
};
export declare const defaultGasPrices: GasPricesConfig;
type GasLimitConfig = {
[chainId in ChainId]: number;
};
export declare const defaultWithdrawalGasLimit: GasLimitConfig;
type InstanceTokenGasLimitConfig = {
[tokenSymbol in InstanceTokenSymbol]: number;
};
export declare const defaultInstanceTokensGasLimit: InstanceTokenGasLimitConfig;
export declare const optimismL1FeeOracleAddress = "0x420000000000000000000000000000000000000F";
export declare const offchainOracleAddress = "0x00000000000D6FFc74A8feb35aF5827bf57f6786";
export declare const sepoliaOffchainOracleAddress = "0x1f89EAF03E5b260Bc6D4Ae3c3334b1B750F3e127";
export declare const multiCallAddress = "0xcA11bde05977b3631167028862bE2a173976CA11";
export {};