103 lines
3.2 KiB
JavaScript
103 lines
3.2 KiB
JavaScript
"use strict";
|
|
var _a, _b, _c;
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.multiCallAddress = exports.sepoliaOffchainOracleAddress = exports.offchainOracleAddress = exports.optimismL1FeeOracleAddress = exports.defaultInstanceTokensGasLimit = exports.defaultWithdrawalGasLimit = exports.defaultGasPrices = exports.InstanceTokenSymbol = exports.ChainId = void 0;
|
|
var ChainId;
|
|
(function (ChainId) {
|
|
ChainId[ChainId["MAINNET"] = 1] = "MAINNET";
|
|
ChainId[ChainId["GOERLI"] = 5] = "GOERLI";
|
|
ChainId[ChainId["BSC"] = 56] = "BSC";
|
|
ChainId[ChainId["XDAI"] = 100] = "XDAI";
|
|
ChainId[ChainId["POLYGON"] = 137] = "POLYGON";
|
|
ChainId[ChainId["OPTIMISM"] = 10] = "OPTIMISM";
|
|
ChainId[ChainId["ARBITRUM"] = 42161] = "ARBITRUM";
|
|
ChainId[ChainId["AVAX"] = 43114] = "AVAX";
|
|
ChainId[ChainId["SEPOLIA"] = 11155111] = "SEPOLIA";
|
|
})(ChainId || (exports.ChainId = ChainId = {}));
|
|
var InstanceTokenSymbol;
|
|
(function (InstanceTokenSymbol) {
|
|
InstanceTokenSymbol["DAI"] = "dai";
|
|
InstanceTokenSymbol["cDAI"] = "cdai";
|
|
InstanceTokenSymbol["WBTC"] = "wbtc";
|
|
InstanceTokenSymbol["USDT"] = "usdt";
|
|
InstanceTokenSymbol["USDC"] = "usdc";
|
|
})(InstanceTokenSymbol || (exports.InstanceTokenSymbol = InstanceTokenSymbol = {}));
|
|
exports.defaultGasPrices = (_a = {},
|
|
_a[ChainId.MAINNET] = {
|
|
instant: 80,
|
|
fast: 50,
|
|
standard: 25,
|
|
low: 8,
|
|
},
|
|
_a[ChainId.GOERLI] = {
|
|
instant: 80,
|
|
fast: 50,
|
|
standard: 25,
|
|
low: 8,
|
|
},
|
|
_a[ChainId.OPTIMISM] = {
|
|
instant: 0.001,
|
|
fast: 0.001,
|
|
standard: 0.001,
|
|
low: 0.001,
|
|
},
|
|
_a[ChainId.XDAI] = {
|
|
instant: 6,
|
|
fast: 5,
|
|
standard: 4,
|
|
low: 1,
|
|
},
|
|
_a[ChainId.BSC] = {
|
|
instant: 5,
|
|
fast: 4,
|
|
standard: 3,
|
|
low: 3,
|
|
},
|
|
_a[ChainId.POLYGON] = {
|
|
instant: 100,
|
|
fast: 75,
|
|
standard: 50,
|
|
low: 30,
|
|
},
|
|
_a[ChainId.ARBITRUM] = {
|
|
instant: 4,
|
|
fast: 3,
|
|
standard: 2.52,
|
|
low: 2.29,
|
|
},
|
|
_a[ChainId.AVAX] = {
|
|
instant: 225,
|
|
fast: 35,
|
|
standard: 25,
|
|
low: 25,
|
|
},
|
|
_a[ChainId.SEPOLIA] = {
|
|
instant: 80,
|
|
fast: 50,
|
|
standard: 25,
|
|
low: 8,
|
|
},
|
|
_a);
|
|
exports.defaultWithdrawalGasLimit = (_b = {},
|
|
_b[ChainId.MAINNET] = 550000,
|
|
_b[ChainId.GOERLI] = 550000,
|
|
_b[ChainId.ARBITRUM] = 1900000,
|
|
_b[ChainId.OPTIMISM] = 440000,
|
|
_b[ChainId.AVAX] = 390000,
|
|
_b[ChainId.BSC] = 390000,
|
|
_b[ChainId.POLYGON] = 390000,
|
|
_b[ChainId.XDAI] = 390000,
|
|
_b[ChainId.SEPOLIA] = 550000,
|
|
_b);
|
|
exports.defaultInstanceTokensGasLimit = (_c = {},
|
|
_c[InstanceTokenSymbol.DAI] = 55000,
|
|
_c[InstanceTokenSymbol.cDAI] = 425000,
|
|
_c[InstanceTokenSymbol.WBTC] = 85000,
|
|
_c[InstanceTokenSymbol.USDT] = 100000,
|
|
_c[InstanceTokenSymbol.USDC] = 80000,
|
|
_c);
|
|
exports.optimismL1FeeOracleAddress = '0x420000000000000000000000000000000000000F';
|
|
exports.offchainOracleAddress = '0x00000000000D6FFc74A8feb35aF5827bf57f6786';
|
|
exports.sepoliaOffchainOracleAddress = '0x1f89EAF03E5b260Bc6D4Ae3c3334b1B750F3e127';
|
|
exports.multiCallAddress = '0xcA11bde05977b3631167028862bE2a173976CA11';
|
|
//# sourceMappingURL=config.js.map
|