@gearbox-protocol/deploy-tools 4.24.2 → 4.24.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +257 -364
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -8151,14 +8151,14 @@ var require_usdcConfigOptimism = __commonJS({
|
|
|
8151
8151
|
contract: "UNISWAP_V3_ROUTER",
|
|
8152
8152
|
allowed: [
|
|
8153
8153
|
{ token0: "WETH", token1: "OP", fee: 3e3 },
|
|
8154
|
-
{ token0: "WETH", token1: "
|
|
8155
|
-
{ token0: "WETH", token1: "
|
|
8154
|
+
{ token0: "WETH", token1: "USDC_e", fee: 500 },
|
|
8155
|
+
{ token0: "WETH", token1: "USDC_e", fee: 3e3 },
|
|
8156
8156
|
{ token0: "WETH", token1: "WBTC", fee: 3e3 },
|
|
8157
8157
|
{ token0: "wstETH", token1: "WETH", fee: 100 },
|
|
8158
8158
|
{ token0: "WETH", token1: "WBTC", fee: 500 },
|
|
8159
|
-
{ token0: "OP", token1: "
|
|
8159
|
+
{ token0: "OP", token1: "USDC_e", fee: 3e3 },
|
|
8160
8160
|
{ token0: "WETH", token1: "OP", fee: 500 },
|
|
8161
|
-
{ token0: "
|
|
8161
|
+
{ token0: "USDC_e", token1: "USDT", fee: 100 }
|
|
8162
8162
|
]
|
|
8163
8163
|
};
|
|
8164
8164
|
var tier1BalancerConfig = {
|
|
@@ -8172,10 +8172,6 @@ var require_usdcConfigOptimism = __commonJS({
|
|
|
8172
8172
|
pool: "ECLP_wstETH_WETH",
|
|
8173
8173
|
status: 2
|
|
8174
8174
|
},
|
|
8175
|
-
{
|
|
8176
|
-
pool: "BPT_WSTETH_ETH",
|
|
8177
|
-
status: 2
|
|
8178
|
-
},
|
|
8179
8175
|
{
|
|
8180
8176
|
pool: "BPT_ROAD",
|
|
8181
8177
|
status: 2
|
|
@@ -8199,13 +8195,13 @@ var require_usdcConfigOptimism = __commonJS({
|
|
|
8199
8195
|
},
|
|
8200
8196
|
{
|
|
8201
8197
|
token0: "OP",
|
|
8202
|
-
token1: "
|
|
8198
|
+
token1: "USDC_e",
|
|
8203
8199
|
stable: false,
|
|
8204
8200
|
factory: VELODROME_V2_DEFAULT_FACTORY
|
|
8205
8201
|
},
|
|
8206
8202
|
{
|
|
8207
8203
|
token0: "WETH",
|
|
8208
|
-
token1: "
|
|
8204
|
+
token1: "USDC_e",
|
|
8209
8205
|
stable: false,
|
|
8210
8206
|
factory: VELODROME_V2_DEFAULT_FACTORY
|
|
8211
8207
|
},
|
|
@@ -8214,33 +8210,53 @@ var require_usdcConfigOptimism = __commonJS({
|
|
|
8214
8210
|
token1: "OP",
|
|
8215
8211
|
stable: false,
|
|
8216
8212
|
factory: VELODROME_V2_DEFAULT_FACTORY
|
|
8213
|
+
},
|
|
8214
|
+
{
|
|
8215
|
+
token0: "USDC_e",
|
|
8216
|
+
token1: "DAI",
|
|
8217
|
+
stable: true,
|
|
8218
|
+
factory: VELODROME_V2_DEFAULT_FACTORY
|
|
8219
|
+
},
|
|
8220
|
+
{
|
|
8221
|
+
token0: "USDC_e",
|
|
8222
|
+
token1: "USDT",
|
|
8223
|
+
stable: true,
|
|
8224
|
+
factory: VELODROME_V2_DEFAULT_FACTORY
|
|
8217
8225
|
}
|
|
8218
8226
|
]
|
|
8219
8227
|
};
|
|
8220
8228
|
var tier1CreditManager = {
|
|
8221
|
-
name: "
|
|
8229
|
+
name: "USDC.e Tier 1 Optimism",
|
|
8222
8230
|
degenNft: false,
|
|
8223
8231
|
expirationDate: void 0,
|
|
8224
8232
|
minDebt: BigInt(1e3) * POOL_DECIMALS / POOL_DIVIDER,
|
|
8225
8233
|
maxDebt: BigInt(2e5) * POOL_DECIMALS / POOL_DIVIDER,
|
|
8226
8234
|
feeInterest: 2500,
|
|
8227
|
-
feeLiquidation:
|
|
8228
|
-
liquidationPremium:
|
|
8229
|
-
feeLiquidationExpired:
|
|
8230
|
-
liquidationPremiumExpired:
|
|
8235
|
+
feeLiquidation: 100,
|
|
8236
|
+
liquidationPremium: 200,
|
|
8237
|
+
feeLiquidationExpired: 100,
|
|
8238
|
+
liquidationPremiumExpired: 200,
|
|
8231
8239
|
poolLimit: BigInt(2e6) * POOL_DECIMALS / POOL_DIVIDER,
|
|
8232
8240
|
collateralTokens: [
|
|
8233
8241
|
{
|
|
8234
|
-
token: "
|
|
8242
|
+
token: "DAI",
|
|
8235
8243
|
lt: 9600
|
|
8236
8244
|
},
|
|
8237
8245
|
{
|
|
8238
|
-
token: "
|
|
8246
|
+
token: "USDT",
|
|
8239
8247
|
lt: 9600
|
|
8240
8248
|
},
|
|
8249
|
+
{
|
|
8250
|
+
token: "WETH",
|
|
8251
|
+
lt: 9400
|
|
8252
|
+
},
|
|
8253
|
+
{
|
|
8254
|
+
token: "WBTC",
|
|
8255
|
+
lt: 9400
|
|
8256
|
+
},
|
|
8241
8257
|
{
|
|
8242
8258
|
token: "OP",
|
|
8243
|
-
lt:
|
|
8259
|
+
lt: 9e3
|
|
8244
8260
|
},
|
|
8245
8261
|
// BOOSTED
|
|
8246
8262
|
{
|
|
@@ -8255,26 +8271,31 @@ var require_usdcConfigOptimism = __commonJS({
|
|
|
8255
8271
|
token: "rETH",
|
|
8256
8272
|
lt: 9400
|
|
8257
8273
|
},
|
|
8258
|
-
|
|
8259
|
-
|
|
8260
|
-
|
|
8261
|
-
}
|
|
8274
|
+
// FARMS
|
|
8275
|
+
{ token: "yvUSDC_e", lt: 9400 },
|
|
8276
|
+
{ token: "yvDAI", lt: 9400 },
|
|
8277
|
+
{ token: "yvUSDT", lt: 9400 },
|
|
8278
|
+
// COMPATIBILITY
|
|
8279
|
+
{ token: "3CRV", lt: 0 }
|
|
8262
8280
|
],
|
|
8263
8281
|
adapters: [
|
|
8264
8282
|
tier1UniV3Config,
|
|
8265
8283
|
tier1BalancerConfig,
|
|
8266
8284
|
tier1VelodromeConfig,
|
|
8285
|
+
{ contract: "CURVE_3CRV_POOL_OP" },
|
|
8267
8286
|
{ contract: "YEARN_WETH_VAULT" },
|
|
8268
|
-
{ contract: "
|
|
8287
|
+
{ contract: "YEARN_DAI_VAULT" },
|
|
8288
|
+
{ contract: "YEARN_USDC_E_VAULT" },
|
|
8289
|
+
{ contract: "YEARN_USDT_VAULT" }
|
|
8269
8290
|
]
|
|
8270
8291
|
};
|
|
8271
8292
|
var tier2UniV3Config = {
|
|
8272
8293
|
contract: "UNISWAP_V3_ROUTER",
|
|
8273
8294
|
allowed: [
|
|
8274
|
-
{ token0: "WETH", token1: "
|
|
8275
|
-
{ token0: "WETH", token1: "
|
|
8276
|
-
{ token0: "
|
|
8277
|
-
{ token0: "WETH", token1: "
|
|
8295
|
+
{ token0: "WETH", token1: "USDC_e", fee: 500 },
|
|
8296
|
+
{ token0: "WETH", token1: "USDC_e", fee: 3e3 },
|
|
8297
|
+
{ token0: "USDC_e", token1: "WLD", fee: 1e4 },
|
|
8298
|
+
{ token0: "WETH", token1: "WLD", fee: 3e3 },
|
|
8278
8299
|
{ token0: "WETH", token1: "SNX", fee: 3e3 }
|
|
8279
8300
|
]
|
|
8280
8301
|
};
|
|
@@ -8283,12 +8304,12 @@ var require_usdcConfigOptimism = __commonJS({
|
|
|
8283
8304
|
allowed: [
|
|
8284
8305
|
{
|
|
8285
8306
|
token0: "WETH",
|
|
8286
|
-
token1: "
|
|
8307
|
+
token1: "USDC_e",
|
|
8287
8308
|
stable: false,
|
|
8288
8309
|
factory: VELODROME_V2_DEFAULT_FACTORY
|
|
8289
8310
|
},
|
|
8290
8311
|
{
|
|
8291
|
-
token0: "
|
|
8312
|
+
token0: "USDC_e",
|
|
8292
8313
|
token1: "SNX",
|
|
8293
8314
|
stable: false,
|
|
8294
8315
|
factory: VELODROME_V2_DEFAULT_FACTORY
|
|
@@ -8296,7 +8317,7 @@ var require_usdcConfigOptimism = __commonJS({
|
|
|
8296
8317
|
]
|
|
8297
8318
|
};
|
|
8298
8319
|
var tier2CreditManager = {
|
|
8299
|
-
name: "
|
|
8320
|
+
name: "USDC.e Tier 2 Optimism",
|
|
8300
8321
|
degenNft: false,
|
|
8301
8322
|
expirationDate: void 0,
|
|
8302
8323
|
minDebt: BigInt(1e3) * POOL_DECIMALS / POOL_DIVIDER,
|
|
@@ -8310,74 +8331,25 @@ var require_usdcConfigOptimism = __commonJS({
|
|
|
8310
8331
|
collateralTokens: [
|
|
8311
8332
|
{
|
|
8312
8333
|
token: "WETH",
|
|
8313
|
-
lt:
|
|
8334
|
+
lt: 9400
|
|
8314
8335
|
},
|
|
8315
8336
|
{
|
|
8316
8337
|
token: "WLD",
|
|
8317
|
-
lt:
|
|
8318
|
-
},
|
|
8319
|
-
{
|
|
8320
|
-
token: "LINK",
|
|
8321
|
-
lt: 9200
|
|
8338
|
+
lt: 8500
|
|
8322
8339
|
},
|
|
8323
8340
|
{
|
|
8324
8341
|
token: "SNX",
|
|
8325
|
-
lt:
|
|
8342
|
+
lt: 8500
|
|
8326
8343
|
}
|
|
8327
8344
|
],
|
|
8328
8345
|
adapters: [tier2UniV3Config, tier2VelodromeConfig]
|
|
8329
8346
|
};
|
|
8330
|
-
var farmUniV3Config = {
|
|
8331
|
-
contract: "UNISWAP_V3_ROUTER",
|
|
8332
|
-
allowed: [
|
|
8333
|
-
{ token0: "USDC", token1: "USDT", fee: 100 },
|
|
8334
|
-
{ token0: "DAI", token1: "USDC", fee: 100 },
|
|
8335
|
-
{ token0: "USDT", token1: "DAI", fee: 100 }
|
|
8336
|
-
]
|
|
8337
|
-
};
|
|
8338
|
-
var farmCreditManager = {
|
|
8339
|
-
name: "Farm USDC",
|
|
8340
|
-
degenNft: true,
|
|
8341
|
-
expirationDate: void 0,
|
|
8342
|
-
minDebt: BigInt(1e4) * POOL_DECIMALS / POOL_DIVIDER,
|
|
8343
|
-
maxDebt: BigInt(1e5) * POOL_DECIMALS / POOL_DIVIDER,
|
|
8344
|
-
feeInterest: 2500,
|
|
8345
|
-
feeLiquidation: 50,
|
|
8346
|
-
liquidationPremium: 100,
|
|
8347
|
-
feeLiquidationExpired: 50,
|
|
8348
|
-
liquidationPremiumExpired: 100,
|
|
8349
|
-
poolLimit: BigInt(1e6) * POOL_DECIMALS / POOL_DIVIDER,
|
|
8350
|
-
collateralTokens: [
|
|
8351
|
-
{
|
|
8352
|
-
token: "DAI",
|
|
8353
|
-
lt: 9800
|
|
8354
|
-
},
|
|
8355
|
-
{
|
|
8356
|
-
token: "USDT",
|
|
8357
|
-
lt: 9800
|
|
8358
|
-
},
|
|
8359
|
-
// Yearn
|
|
8360
|
-
{ token: "yvUSDC", lt: 9600 },
|
|
8361
|
-
{ token: "yvDAI", lt: 9600 },
|
|
8362
|
-
{ token: "yvUSDT", lt: 9600 },
|
|
8363
|
-
// Compatibility
|
|
8364
|
-
{ token: "3Crv", lt: 0 }
|
|
8365
|
-
],
|
|
8366
|
-
adapters: [
|
|
8367
|
-
// Swapping
|
|
8368
|
-
farmUniV3Config,
|
|
8369
|
-
{ contract: "CURVE_3CRV_POOL" },
|
|
8370
|
-
{ contract: "YEARN_DAI_VAULT" },
|
|
8371
|
-
{ contract: "YEARN_USDC_VAULT" },
|
|
8372
|
-
{ contract: "YEARN_USDT_VAULT" }
|
|
8373
|
-
]
|
|
8374
|
-
};
|
|
8375
8347
|
exports2.usdcConfigOptimism = {
|
|
8376
8348
|
id: "optimism-usdc-v3",
|
|
8377
8349
|
symbol: "dUSDCV3",
|
|
8378
|
-
name: "USDC v3",
|
|
8350
|
+
name: "Main USDC.e v3",
|
|
8379
8351
|
network: "Optimism",
|
|
8380
|
-
underlying: "
|
|
8352
|
+
underlying: "USDC_e",
|
|
8381
8353
|
accountAmount: BigInt(1e4) * POOL_DECIMALS,
|
|
8382
8354
|
withdrawalFee: 0,
|
|
8383
8355
|
totalDebtLimit: BigInt(1e8) * POOL_DECIMALS,
|
|
@@ -8406,86 +8378,74 @@ var require_usdcConfigOptimism = __commonJS({
|
|
|
8406
8378
|
},
|
|
8407
8379
|
WBTC: {
|
|
8408
8380
|
minRate: 4,
|
|
8409
|
-
maxRate:
|
|
8381
|
+
maxRate: 4e3,
|
|
8410
8382
|
quotaIncreaseFee: 1,
|
|
8411
|
-
limit: BigInt(
|
|
8383
|
+
limit: BigInt(3e5) * POOL_DECIMALS / POOL_DIVIDER
|
|
8412
8384
|
},
|
|
8413
8385
|
WETH: {
|
|
8414
8386
|
minRate: 4,
|
|
8415
|
-
maxRate:
|
|
8387
|
+
maxRate: 4e3,
|
|
8416
8388
|
quotaIncreaseFee: 1,
|
|
8417
|
-
limit: BigInt(
|
|
8389
|
+
limit: BigInt(15e5) * POOL_DECIMALS / POOL_DIVIDER
|
|
8418
8390
|
},
|
|
8419
8391
|
OP: {
|
|
8420
8392
|
minRate: 4,
|
|
8421
|
-
maxRate:
|
|
8393
|
+
maxRate: 4e3,
|
|
8422
8394
|
quotaIncreaseFee: 1,
|
|
8423
|
-
limit: BigInt(
|
|
8395
|
+
limit: BigInt(1e6) * POOL_DECIMALS / POOL_DIVIDER
|
|
8424
8396
|
},
|
|
8425
8397
|
WLD: {
|
|
8426
8398
|
minRate: 80,
|
|
8427
|
-
maxRate:
|
|
8399
|
+
maxRate: 5e3,
|
|
8428
8400
|
quotaIncreaseFee: 5,
|
|
8429
8401
|
limit: BigInt(6e5) * POOL_DECIMALS / POOL_DIVIDER
|
|
8430
8402
|
},
|
|
8431
|
-
LINK: {
|
|
8432
|
-
minRate: 80,
|
|
8433
|
-
maxRate: 2400,
|
|
8434
|
-
quotaIncreaseFee: 5,
|
|
8435
|
-
limit: BigInt(5e4) * POOL_DECIMALS / POOL_DIVIDER
|
|
8436
|
-
},
|
|
8437
8403
|
SNX: {
|
|
8438
8404
|
minRate: 80,
|
|
8439
|
-
maxRate:
|
|
8405
|
+
maxRate: 5e3,
|
|
8440
8406
|
quotaIncreaseFee: 5,
|
|
8441
|
-
limit: BigInt(
|
|
8407
|
+
limit: BigInt(3e5) * POOL_DECIMALS / POOL_DIVIDER
|
|
8442
8408
|
},
|
|
8443
8409
|
// BOOSTED
|
|
8444
8410
|
yvWETH: {
|
|
8445
8411
|
minRate: 4,
|
|
8446
|
-
maxRate:
|
|
8447
|
-
quotaIncreaseFee: 1,
|
|
8448
|
-
limit: BigInt(4e5) * POOL_DECIMALS / POOL_DIVIDER
|
|
8449
|
-
},
|
|
8450
|
-
yvOP: {
|
|
8451
|
-
minRate: 4,
|
|
8452
|
-
maxRate: 1500,
|
|
8412
|
+
maxRate: 4e3,
|
|
8453
8413
|
quotaIncreaseFee: 1,
|
|
8454
|
-
limit: BigInt(
|
|
8414
|
+
limit: BigInt(5e5) * POOL_DECIMALS / POOL_DIVIDER
|
|
8455
8415
|
},
|
|
8456
8416
|
wstETH: {
|
|
8457
8417
|
minRate: 4,
|
|
8458
|
-
maxRate:
|
|
8418
|
+
maxRate: 4e3,
|
|
8459
8419
|
quotaIncreaseFee: 1,
|
|
8460
|
-
limit: BigInt(
|
|
8420
|
+
limit: BigInt(1e6) * POOL_DECIMALS / POOL_DIVIDER
|
|
8461
8421
|
},
|
|
8462
8422
|
rETH: {
|
|
8463
8423
|
minRate: 4,
|
|
8464
|
-
maxRate:
|
|
8424
|
+
maxRate: 4e3,
|
|
8465
8425
|
quotaIncreaseFee: 1,
|
|
8466
|
-
limit: BigInt(
|
|
8426
|
+
limit: BigInt(8e5) * POOL_DECIMALS / POOL_DIVIDER
|
|
8467
8427
|
},
|
|
8468
8428
|
// FARMS
|
|
8469
8429
|
yvDAI: {
|
|
8470
8430
|
minRate: 5,
|
|
8471
|
-
maxRate:
|
|
8431
|
+
maxRate: 1500,
|
|
8472
8432
|
quotaIncreaseFee: 0,
|
|
8473
8433
|
limit: BigInt(23e4) * POOL_DECIMALS / POOL_DIVIDER
|
|
8474
8434
|
},
|
|
8475
|
-
|
|
8435
|
+
yvUSDC_e: {
|
|
8476
8436
|
minRate: 5,
|
|
8477
|
-
maxRate:
|
|
8437
|
+
maxRate: 1500,
|
|
8478
8438
|
quotaIncreaseFee: 0,
|
|
8479
8439
|
limit: BigInt(33e4) * POOL_DECIMALS / POOL_DIVIDER
|
|
8480
8440
|
},
|
|
8481
8441
|
yvUSDT: {
|
|
8482
8442
|
minRate: 5,
|
|
8483
|
-
maxRate:
|
|
8443
|
+
maxRate: 1500,
|
|
8484
8444
|
quotaIncreaseFee: 0,
|
|
8485
|
-
limit: BigInt(
|
|
8445
|
+
limit: BigInt(23e4) * POOL_DECIMALS / POOL_DIVIDER
|
|
8486
8446
|
}
|
|
8487
8447
|
},
|
|
8488
|
-
creditManagers: [tier1CreditManager, tier2CreditManager
|
|
8448
|
+
creditManagers: [tier1CreditManager, tier2CreditManager],
|
|
8489
8449
|
supportsQuotas: true
|
|
8490
8450
|
};
|
|
8491
8451
|
}
|
|
@@ -10015,17 +9975,26 @@ var require_wethConfigOptimism = __commonJS({
|
|
|
10015
9975
|
contract: "UNISWAP_V3_ROUTER",
|
|
10016
9976
|
allowed: [
|
|
10017
9977
|
{ token0: "WETH", token1: "OP", fee: 3e3 },
|
|
10018
|
-
{ token0: "WETH", token1: "
|
|
10019
|
-
{ token0: "WETH", token1: "
|
|
9978
|
+
{ token0: "WETH", token1: "USDC_e", fee: 500 },
|
|
9979
|
+
{ token0: "WETH", token1: "USDC_e", fee: 3e3 },
|
|
10020
9980
|
{ token0: "WETH", token1: "WBTC", fee: 3e3 },
|
|
9981
|
+
{ token0: "wstETH", token1: "WETH", fee: 100 },
|
|
10021
9982
|
{ token0: "WETH", token1: "WBTC", fee: 500 },
|
|
10022
|
-
{ token0: "OP", token1: "
|
|
9983
|
+
{ token0: "OP", token1: "USDC_e", fee: 3e3 },
|
|
10023
9984
|
{ token0: "WETH", token1: "OP", fee: 500 }
|
|
10024
9985
|
]
|
|
10025
9986
|
};
|
|
10026
9987
|
var tier1BalancerConfig = {
|
|
10027
9988
|
contract: "BALANCER_VAULT",
|
|
10028
9989
|
allowed: [
|
|
9990
|
+
{
|
|
9991
|
+
pool: "BPT_rETH_ETH",
|
|
9992
|
+
status: 2
|
|
9993
|
+
},
|
|
9994
|
+
{
|
|
9995
|
+
pool: "ECLP_wstETH_WETH",
|
|
9996
|
+
status: 2
|
|
9997
|
+
},
|
|
10029
9998
|
{
|
|
10030
9999
|
pool: "BPT_ROAD",
|
|
10031
10000
|
status: 2
|
|
@@ -10043,68 +10012,80 @@ var require_wethConfigOptimism = __commonJS({
|
|
|
10043
10012
|
},
|
|
10044
10013
|
{
|
|
10045
10014
|
token0: "OP",
|
|
10046
|
-
token1: "
|
|
10015
|
+
token1: "USDC_e",
|
|
10047
10016
|
stable: false,
|
|
10048
10017
|
factory: VELODROME_V2_DEFAULT_FACTORY
|
|
10049
10018
|
},
|
|
10050
10019
|
{
|
|
10051
10020
|
token0: "WETH",
|
|
10052
|
-
token1: "
|
|
10021
|
+
token1: "USDC_e",
|
|
10022
|
+
stable: false,
|
|
10023
|
+
factory: VELODROME_V2_DEFAULT_FACTORY
|
|
10024
|
+
},
|
|
10025
|
+
{
|
|
10026
|
+
token0: "wstETH",
|
|
10027
|
+
token1: "WETH",
|
|
10053
10028
|
stable: false,
|
|
10054
10029
|
factory: VELODROME_V2_DEFAULT_FACTORY
|
|
10055
10030
|
}
|
|
10056
10031
|
]
|
|
10057
10032
|
};
|
|
10058
10033
|
var tier1CreditManager = {
|
|
10059
|
-
name: "
|
|
10034
|
+
name: "WETH Tier 1 Optimism",
|
|
10060
10035
|
degenNft: false,
|
|
10061
10036
|
expirationDate: void 0,
|
|
10062
|
-
minDebt: BigInt(
|
|
10063
|
-
maxDebt: BigInt(
|
|
10037
|
+
minDebt: BigInt(35) * POOL_DECIMALS / BigInt(100),
|
|
10038
|
+
maxDebt: BigInt(150) * POOL_DECIMALS,
|
|
10064
10039
|
feeInterest: 2500,
|
|
10065
|
-
feeLiquidation:
|
|
10066
|
-
liquidationPremium:
|
|
10067
|
-
feeLiquidationExpired:
|
|
10068
|
-
liquidationPremiumExpired:
|
|
10069
|
-
poolLimit: BigInt(
|
|
10040
|
+
feeLiquidation: 100,
|
|
10041
|
+
liquidationPremium: 200,
|
|
10042
|
+
feeLiquidationExpired: 100,
|
|
10043
|
+
liquidationPremiumExpired: 200,
|
|
10044
|
+
poolLimit: BigInt(700) * POOL_DECIMALS,
|
|
10070
10045
|
collateralTokens: [
|
|
10071
10046
|
{
|
|
10072
|
-
token: "
|
|
10073
|
-
lt:
|
|
10047
|
+
token: "USDC_e",
|
|
10048
|
+
lt: 9400
|
|
10074
10049
|
},
|
|
10075
10050
|
{
|
|
10076
10051
|
token: "WBTC",
|
|
10077
|
-
lt:
|
|
10052
|
+
lt: 9400
|
|
10078
10053
|
},
|
|
10079
10054
|
{
|
|
10080
10055
|
token: "OP",
|
|
10081
|
-
lt:
|
|
10056
|
+
lt: 9e3
|
|
10082
10057
|
},
|
|
10083
10058
|
// BOOSTED
|
|
10084
10059
|
{
|
|
10085
|
-
token: "
|
|
10060
|
+
token: "yvUSDC_e",
|
|
10086
10061
|
lt: 9400
|
|
10087
10062
|
},
|
|
10063
|
+
// FARMS
|
|
10088
10064
|
{
|
|
10089
|
-
token: "
|
|
10065
|
+
token: "wstETH",
|
|
10090
10066
|
lt: 9400
|
|
10091
|
-
}
|
|
10067
|
+
},
|
|
10068
|
+
{
|
|
10069
|
+
token: "rETH",
|
|
10070
|
+
lt: 9400
|
|
10071
|
+
},
|
|
10072
|
+
{ token: "yvWETH", lt: 9400 }
|
|
10092
10073
|
],
|
|
10093
10074
|
adapters: [
|
|
10094
10075
|
tier1UniV3Config,
|
|
10095
10076
|
tier1BalancerConfig,
|
|
10096
10077
|
tier1VelodromeConfig,
|
|
10097
|
-
{ contract: "
|
|
10098
|
-
{ contract: "
|
|
10078
|
+
{ contract: "YEARN_USDC_E_VAULT" },
|
|
10079
|
+
{ contract: "YEARN_WETH_VAULT" }
|
|
10099
10080
|
]
|
|
10100
10081
|
};
|
|
10101
10082
|
var tier2UniV3Config = {
|
|
10102
10083
|
contract: "UNISWAP_V3_ROUTER",
|
|
10103
10084
|
allowed: [
|
|
10104
|
-
{ token0: "WETH", token1: "
|
|
10105
|
-
{ token0: "WETH", token1: "
|
|
10085
|
+
{ token0: "WETH", token1: "USDC_e", fee: 500 },
|
|
10086
|
+
{ token0: "WETH", token1: "USDC_e", fee: 3e3 },
|
|
10106
10087
|
{ token0: "USDC", token1: "WLD", fee: 1e4 },
|
|
10107
|
-
{ token0: "WETH", token1: "
|
|
10088
|
+
{ token0: "WETH", token1: "WLD", fee: 3e3 },
|
|
10108
10089
|
{ token0: "WETH", token1: "SNX", fee: 3e3 }
|
|
10109
10090
|
]
|
|
10110
10091
|
};
|
|
@@ -10113,12 +10094,12 @@ var require_wethConfigOptimism = __commonJS({
|
|
|
10113
10094
|
allowed: [
|
|
10114
10095
|
{
|
|
10115
10096
|
token0: "WETH",
|
|
10116
|
-
token1: "
|
|
10097
|
+
token1: "USDC_e",
|
|
10117
10098
|
stable: false,
|
|
10118
10099
|
factory: VELODROME_V2_DEFAULT_FACTORY
|
|
10119
10100
|
},
|
|
10120
10101
|
{
|
|
10121
|
-
token0: "
|
|
10102
|
+
token0: "USDC_e",
|
|
10122
10103
|
token1: "SNX",
|
|
10123
10104
|
stable: false,
|
|
10124
10105
|
factory: VELODROME_V2_DEFAULT_FACTORY
|
|
@@ -10129,110 +10110,39 @@ var require_wethConfigOptimism = __commonJS({
|
|
|
10129
10110
|
name: "Trade WETH Tier 2 Optimism",
|
|
10130
10111
|
degenNft: false,
|
|
10131
10112
|
expirationDate: void 0,
|
|
10132
|
-
minDebt: BigInt(
|
|
10133
|
-
maxDebt: BigInt(
|
|
10113
|
+
minDebt: BigInt(35) * POOL_DECIMALS / BigInt(100),
|
|
10114
|
+
maxDebt: BigInt(35) * POOL_DECIMALS,
|
|
10134
10115
|
feeInterest: 2500,
|
|
10135
10116
|
feeLiquidation: 100,
|
|
10136
10117
|
liquidationPremium: 200,
|
|
10137
10118
|
feeLiquidationExpired: 100,
|
|
10138
10119
|
liquidationPremiumExpired: 200,
|
|
10139
|
-
poolLimit: BigInt(
|
|
10120
|
+
poolLimit: BigInt(350) * POOL_DECIMALS,
|
|
10140
10121
|
collateralTokens: [
|
|
10141
10122
|
{
|
|
10142
|
-
token: "
|
|
10143
|
-
lt:
|
|
10123
|
+
token: "USDC_e",
|
|
10124
|
+
lt: 9400
|
|
10144
10125
|
},
|
|
10145
10126
|
{
|
|
10146
10127
|
token: "WLD",
|
|
10147
|
-
lt:
|
|
10148
|
-
},
|
|
10149
|
-
{
|
|
10150
|
-
token: "LINK",
|
|
10151
|
-
lt: 9200
|
|
10128
|
+
lt: 8500
|
|
10152
10129
|
},
|
|
10153
10130
|
{
|
|
10154
10131
|
token: "SNX",
|
|
10155
|
-
lt:
|
|
10132
|
+
lt: 8500
|
|
10156
10133
|
}
|
|
10157
10134
|
],
|
|
10158
10135
|
adapters: [tier2UniV3Config, tier2VelodromeConfig]
|
|
10159
10136
|
};
|
|
10160
|
-
var farmUniV3Config = {
|
|
10161
|
-
contract: "UNISWAP_V3_ROUTER",
|
|
10162
|
-
allowed: [
|
|
10163
|
-
{ token0: "WETH", token1: "wstETH", fee: 100 },
|
|
10164
|
-
{ token0: "WETH", token1: "rETH", fee: 100 }
|
|
10165
|
-
]
|
|
10166
|
-
};
|
|
10167
|
-
var farmBalancerConfig = {
|
|
10168
|
-
contract: "BALANCER_VAULT",
|
|
10169
|
-
allowed: [
|
|
10170
|
-
{
|
|
10171
|
-
pool: "BPT_rETH_ETH",
|
|
10172
|
-
status: 2
|
|
10173
|
-
},
|
|
10174
|
-
{
|
|
10175
|
-
pool: "ECLP_wstETH_WETH",
|
|
10176
|
-
status: 2
|
|
10177
|
-
},
|
|
10178
|
-
{
|
|
10179
|
-
pool: "BPT_WSTETH_ETH",
|
|
10180
|
-
status: 2
|
|
10181
|
-
}
|
|
10182
|
-
]
|
|
10183
|
-
};
|
|
10184
|
-
var farmVelodromeConfig = {
|
|
10185
|
-
contract: "VELODROME_V2_ROUTER",
|
|
10186
|
-
allowed: [
|
|
10187
|
-
{
|
|
10188
|
-
token0: "wstETH",
|
|
10189
|
-
token1: "WETH",
|
|
10190
|
-
stable: false,
|
|
10191
|
-
factory: VELODROME_V2_DEFAULT_FACTORY
|
|
10192
|
-
}
|
|
10193
|
-
]
|
|
10194
|
-
};
|
|
10195
|
-
var farmCreditManager = {
|
|
10196
|
-
name: "Farm WETH",
|
|
10197
|
-
degenNft: true,
|
|
10198
|
-
expirationDate: void 0,
|
|
10199
|
-
minDebt: BigInt(1e4) * POOL_DECIMALS / POOL_DIVIDER,
|
|
10200
|
-
maxDebt: BigInt(1e5) * POOL_DECIMALS / POOL_DIVIDER,
|
|
10201
|
-
feeInterest: 2500,
|
|
10202
|
-
feeLiquidation: 50,
|
|
10203
|
-
liquidationPremium: 100,
|
|
10204
|
-
feeLiquidationExpired: 50,
|
|
10205
|
-
liquidationPremiumExpired: 100,
|
|
10206
|
-
poolLimit: BigInt(3e6) * POOL_DECIMALS / POOL_DIVIDER,
|
|
10207
|
-
collateralTokens: [
|
|
10208
|
-
{
|
|
10209
|
-
token: "wstETH",
|
|
10210
|
-
lt: 9800
|
|
10211
|
-
},
|
|
10212
|
-
{
|
|
10213
|
-
token: "rETH",
|
|
10214
|
-
lt: 9800
|
|
10215
|
-
},
|
|
10216
|
-
// Yearn
|
|
10217
|
-
{ token: "yvWETH", lt: 9600 }
|
|
10218
|
-
],
|
|
10219
|
-
adapters: [
|
|
10220
|
-
// Swapping
|
|
10221
|
-
farmUniV3Config,
|
|
10222
|
-
farmBalancerConfig,
|
|
10223
|
-
farmVelodromeConfig,
|
|
10224
|
-
{ contract: "YEARN_WETH_VAULT" }
|
|
10225
|
-
]
|
|
10226
|
-
};
|
|
10227
10137
|
exports2.wethConfigOptimism = {
|
|
10228
10138
|
id: "optimism-weth-v3",
|
|
10229
10139
|
symbol: "dWETHV3",
|
|
10230
10140
|
name: "WETH v3",
|
|
10231
10141
|
network: "Optimism",
|
|
10232
10142
|
underlying: "WETH",
|
|
10233
|
-
accountAmount: BigInt(
|
|
10143
|
+
accountAmount: BigInt(10) * POOL_DECIMALS,
|
|
10234
10144
|
withdrawalFee: 0,
|
|
10235
|
-
totalDebtLimit: BigInt(
|
|
10145
|
+
totalDebtLimit: BigInt(15e4) * POOL_DECIMALS,
|
|
10236
10146
|
irm: {
|
|
10237
10147
|
U1: 7e3,
|
|
10238
10148
|
U2: 9e3,
|
|
@@ -10246,74 +10156,62 @@ var require_wethConfigOptimism = __commonJS({
|
|
|
10246
10156
|
// TRADEABLE TOKENS
|
|
10247
10157
|
WBTC: {
|
|
10248
10158
|
minRate: 4,
|
|
10249
|
-
maxRate:
|
|
10159
|
+
maxRate: 4e3,
|
|
10250
10160
|
quotaIncreaseFee: 1,
|
|
10251
|
-
limit: BigInt(
|
|
10161
|
+
limit: BigInt(150) * POOL_DECIMALS
|
|
10252
10162
|
},
|
|
10253
|
-
|
|
10163
|
+
USDC_e: {
|
|
10254
10164
|
minRate: 4,
|
|
10255
10165
|
maxRate: 1200,
|
|
10256
10166
|
quotaIncreaseFee: 1,
|
|
10257
|
-
limit: BigInt(
|
|
10167
|
+
limit: BigInt(1e3) * POOL_DECIMALS
|
|
10258
10168
|
},
|
|
10259
10169
|
OP: {
|
|
10260
10170
|
minRate: 4,
|
|
10261
|
-
maxRate:
|
|
10171
|
+
maxRate: 4e3,
|
|
10262
10172
|
quotaIncreaseFee: 1,
|
|
10263
|
-
limit: BigInt(
|
|
10173
|
+
limit: BigInt(300) * POOL_DECIMALS
|
|
10264
10174
|
},
|
|
10265
10175
|
WLD: {
|
|
10266
10176
|
minRate: 80,
|
|
10267
|
-
maxRate:
|
|
10268
|
-
quotaIncreaseFee: 5,
|
|
10269
|
-
limit: BigInt(1e5) * POOL_DECIMALS / POOL_DIVIDER
|
|
10270
|
-
},
|
|
10271
|
-
LINK: {
|
|
10272
|
-
minRate: 80,
|
|
10273
|
-
maxRate: 2400,
|
|
10177
|
+
maxRate: 5e3,
|
|
10274
10178
|
quotaIncreaseFee: 5,
|
|
10275
|
-
limit: BigInt(
|
|
10179
|
+
limit: BigInt(100) * POOL_DECIMALS
|
|
10276
10180
|
},
|
|
10277
10181
|
SNX: {
|
|
10278
10182
|
minRate: 80,
|
|
10279
|
-
maxRate:
|
|
10183
|
+
maxRate: 5e3,
|
|
10280
10184
|
quotaIncreaseFee: 5,
|
|
10281
|
-
limit: BigInt(
|
|
10185
|
+
limit: BigInt(100) * POOL_DECIMALS
|
|
10282
10186
|
},
|
|
10283
10187
|
// BOOSTED
|
|
10284
|
-
|
|
10285
|
-
minRate: 4,
|
|
10286
|
-
maxRate: 1500,
|
|
10287
|
-
quotaIncreaseFee: 1,
|
|
10288
|
-
limit: BigInt(55e4) * POOL_DECIMALS / POOL_DIVIDER
|
|
10289
|
-
},
|
|
10290
|
-
yvUSDC: {
|
|
10188
|
+
yvUSDC_e: {
|
|
10291
10189
|
minRate: 5,
|
|
10292
|
-
maxRate:
|
|
10190
|
+
maxRate: 2700,
|
|
10293
10191
|
quotaIncreaseFee: 0,
|
|
10294
|
-
limit: BigInt(
|
|
10192
|
+
limit: BigInt(100) * POOL_DECIMALS
|
|
10295
10193
|
},
|
|
10296
10194
|
// FARMS
|
|
10297
10195
|
yvWETH: {
|
|
10298
10196
|
minRate: 4,
|
|
10299
|
-
maxRate:
|
|
10300
|
-
quotaIncreaseFee:
|
|
10301
|
-
limit: BigInt(
|
|
10197
|
+
maxRate: 500,
|
|
10198
|
+
quotaIncreaseFee: 0,
|
|
10199
|
+
limit: BigInt(180) * POOL_DECIMALS
|
|
10302
10200
|
},
|
|
10303
10201
|
wstETH: {
|
|
10304
10202
|
minRate: 4,
|
|
10305
|
-
maxRate:
|
|
10306
|
-
quotaIncreaseFee:
|
|
10307
|
-
limit: BigInt(
|
|
10203
|
+
maxRate: 500,
|
|
10204
|
+
quotaIncreaseFee: 0,
|
|
10205
|
+
limit: BigInt(1e3) * POOL_DECIMALS
|
|
10308
10206
|
},
|
|
10309
10207
|
rETH: {
|
|
10310
10208
|
minRate: 4,
|
|
10311
|
-
maxRate:
|
|
10312
|
-
quotaIncreaseFee:
|
|
10313
|
-
limit: BigInt(
|
|
10209
|
+
maxRate: 500,
|
|
10210
|
+
quotaIncreaseFee: 0,
|
|
10211
|
+
limit: BigInt(500) * POOL_DECIMALS
|
|
10314
10212
|
}
|
|
10315
10213
|
},
|
|
10316
|
-
creditManagers: [tier1CreditManager, tier2CreditManager
|
|
10214
|
+
creditManagers: [tier1CreditManager, tier2CreditManager],
|
|
10317
10215
|
supportsQuotas: true
|
|
10318
10216
|
};
|
|
10319
10217
|
}
|
|
@@ -10582,6 +10480,7 @@ var require_decimals = __commonJS({
|
|
|
10582
10480
|
stkcvxcrvUSDETHCRV: 18,
|
|
10583
10481
|
yvDAI: 18,
|
|
10584
10482
|
yvUSDC: 6,
|
|
10483
|
+
yvUSDC_e: 6,
|
|
10585
10484
|
yvUSDT: 6,
|
|
10586
10485
|
yvOP: 18,
|
|
10587
10486
|
yvWETH: 18,
|
|
@@ -110068,6 +109967,13 @@ var require_yearn = __commonJS({
|
|
|
110068
109967
|
underlying: "USDC",
|
|
110069
109968
|
vault: "YEARN_USDC_VAULT"
|
|
110070
109969
|
},
|
|
109970
|
+
yvUSDC_e: {
|
|
109971
|
+
name: "Yearn yvUSDC.e",
|
|
109972
|
+
symbol: "yvUSDC_e",
|
|
109973
|
+
type: { AllNetworks: tokenType_1.TokenType.YEARN_ON_NORMAL_TOKEN },
|
|
109974
|
+
underlying: "USDC_e",
|
|
109975
|
+
vault: "YEARN_USDC_E_VAULT"
|
|
109976
|
+
},
|
|
110071
109977
|
yvWETH: {
|
|
110072
109978
|
name: "Yearn yvWETH",
|
|
110073
109979
|
symbol: "yvWETH",
|
|
@@ -110285,6 +110191,7 @@ var require_token = __commonJS({
|
|
|
110285
110191
|
// YEARN TOKENS
|
|
110286
110192
|
yvDAI: "0xdA816459F1AB5631232FE5e97a05BBBb94970c95",
|
|
110287
110193
|
yvUSDC: "0xa354F35829Ae975e850e23e9615b11Da1B3dC4DE",
|
|
110194
|
+
yvUSDC_e: constants_1.NOT_DEPLOYED,
|
|
110288
110195
|
yvWETH: "0xa258C4606Ca8206D8aA700cE2143D7db854D168c",
|
|
110289
110196
|
yvWBTC: "0xA696a63cc78DfFa1a63E9E50587C197387FF6C7E",
|
|
110290
110197
|
yvUSDT: "0x3B27F92C0e212C671EA351827EDF93DB27cc0c65",
|
|
@@ -110437,6 +110344,7 @@ var require_token = __commonJS({
|
|
|
110437
110344
|
// YEARN TOKENS
|
|
110438
110345
|
yvDAI: constants_1.NOT_DEPLOYED,
|
|
110439
110346
|
yvUSDC: constants_1.NOT_DEPLOYED,
|
|
110347
|
+
yvUSDC_e: constants_1.NOT_DEPLOYED,
|
|
110440
110348
|
yvWETH: constants_1.NOT_DEPLOYED,
|
|
110441
110349
|
yvWBTC: constants_1.NOT_DEPLOYED,
|
|
110442
110350
|
yvUSDT: constants_1.NOT_DEPLOYED,
|
|
@@ -110655,7 +110563,8 @@ var require_token = __commonJS({
|
|
|
110655
110563
|
SHIB: constants_1.NOT_DEPLOYED,
|
|
110656
110564
|
// YEARN TOKENS
|
|
110657
110565
|
yvDAI: "0x65343F414FFD6c97b0f6add33d16F6845Ac22BAc",
|
|
110658
|
-
yvUSDC:
|
|
110566
|
+
yvUSDC: constants_1.NOT_DEPLOYED,
|
|
110567
|
+
yvUSDC_e: "0xaD17A225074191d5c8a37B50FdA1AE278a2EE6A2",
|
|
110659
110568
|
yvUSDT: "0xFaee21D0f0Af88EE72BB6d68E54a90E6EC2616de",
|
|
110660
110569
|
yvWETH: "0x5B977577Eb8a480f63e11FC615D6753adB8652Ae",
|
|
110661
110570
|
yvWBTC: "0x7Edf16076e56FA4c111055fbA1fF5556b8757cFB",
|
|
@@ -110791,7 +110700,7 @@ var require_token = __commonJS({
|
|
|
110791
110700
|
sdUSDTV3: constants_1.NOT_DEPLOYED,
|
|
110792
110701
|
sdGHOV3: constants_1.NOT_DEPLOYED,
|
|
110793
110702
|
sdDAIV3: constants_1.NOT_DEPLOYED,
|
|
110794
|
-
GEAR:
|
|
110703
|
+
GEAR: "0x39E6C2E1757ae4354087266E2C3EA9aC4257C1eb",
|
|
110795
110704
|
// AAVE
|
|
110796
110705
|
aUSDC: constants_1.NOT_DEPLOYED,
|
|
110797
110706
|
aDAI: constants_1.NOT_DEPLOYED,
|
|
@@ -110879,6 +110788,7 @@ var require_token = __commonJS({
|
|
|
110879
110788
|
// YEARN TOKENS
|
|
110880
110789
|
yvDAI: constants_1.NOT_DEPLOYED,
|
|
110881
110790
|
yvUSDC: constants_1.NOT_DEPLOYED,
|
|
110791
|
+
yvUSDC_e: constants_1.NOT_DEPLOYED,
|
|
110882
110792
|
yvUSDT: constants_1.NOT_DEPLOYED,
|
|
110883
110793
|
yvWETH: constants_1.NOT_DEPLOYED,
|
|
110884
110794
|
yvWBTC: constants_1.NOT_DEPLOYED,
|
|
@@ -112538,6 +112448,7 @@ var require_contracts = __commonJS({
|
|
|
112538
112448
|
// YEARN
|
|
112539
112449
|
YEARN_DAI_VAULT: token_1.tokenDataByNetwork.Mainnet.yvDAI,
|
|
112540
112450
|
YEARN_USDC_VAULT: token_1.tokenDataByNetwork.Mainnet.yvUSDC,
|
|
112451
|
+
YEARN_USDC_E_VAULT: token_1.tokenDataByNetwork.Mainnet.yvUSDC_e,
|
|
112541
112452
|
YEARN_WETH_VAULT: token_1.tokenDataByNetwork.Mainnet.yvWETH,
|
|
112542
112453
|
YEARN_WBTC_VAULT: token_1.tokenDataByNetwork.Mainnet.yvWBTC,
|
|
112543
112454
|
YEARN_USDT_VAULT: token_1.tokenDataByNetwork.Mainnet.yvUSDT,
|
|
@@ -112652,6 +112563,7 @@ var require_contracts = __commonJS({
|
|
|
112652
112563
|
// YEARN
|
|
112653
112564
|
YEARN_DAI_VAULT: token_1.tokenDataByNetwork.Arbitrum.yvDAI,
|
|
112654
112565
|
YEARN_USDC_VAULT: token_1.tokenDataByNetwork.Arbitrum.yvUSDC,
|
|
112566
|
+
YEARN_USDC_E_VAULT: token_1.tokenDataByNetwork.Arbitrum.yvUSDC_e,
|
|
112655
112567
|
YEARN_WETH_VAULT: token_1.tokenDataByNetwork.Arbitrum.yvWETH,
|
|
112656
112568
|
YEARN_WBTC_VAULT: token_1.tokenDataByNetwork.Arbitrum.yvWBTC,
|
|
112657
112569
|
YEARN_USDT_VAULT: token_1.tokenDataByNetwork.Arbitrum.yvUSDT,
|
|
@@ -112765,6 +112677,7 @@ var require_contracts = __commonJS({
|
|
|
112765
112677
|
// YEARN
|
|
112766
112678
|
YEARN_DAI_VAULT: token_1.tokenDataByNetwork.Optimism.yvDAI,
|
|
112767
112679
|
YEARN_USDC_VAULT: token_1.tokenDataByNetwork.Optimism.yvUSDC,
|
|
112680
|
+
YEARN_USDC_E_VAULT: token_1.tokenDataByNetwork.Optimism.yvUSDC_e,
|
|
112768
112681
|
YEARN_WETH_VAULT: token_1.tokenDataByNetwork.Optimism.yvWETH,
|
|
112769
112682
|
YEARN_WBTC_VAULT: token_1.tokenDataByNetwork.Optimism.yvWBTC,
|
|
112770
112683
|
YEARN_USDT_VAULT: token_1.tokenDataByNetwork.Optimism.yvUSDT,
|
|
@@ -112878,6 +112791,7 @@ var require_contracts = __commonJS({
|
|
|
112878
112791
|
// YEARN
|
|
112879
112792
|
YEARN_DAI_VAULT: token_1.tokenDataByNetwork.Optimism.yvDAI,
|
|
112880
112793
|
YEARN_USDC_VAULT: token_1.tokenDataByNetwork.Optimism.yvUSDC,
|
|
112794
|
+
YEARN_USDC_E_VAULT: token_1.tokenDataByNetwork.Optimism.yvUSDC_e,
|
|
112881
112795
|
YEARN_WETH_VAULT: token_1.tokenDataByNetwork.Optimism.yvWETH,
|
|
112882
112796
|
YEARN_WBTC_VAULT: token_1.tokenDataByNetwork.Optimism.yvWBTC,
|
|
112883
112797
|
YEARN_USDT_VAULT: token_1.tokenDataByNetwork.Optimism.yvUSDT,
|
|
@@ -113276,6 +113190,12 @@ var require_contracts = __commonJS({
|
|
|
113276
113190
|
type: adapters_1.AdapterInterface.YEARN_V2,
|
|
113277
113191
|
shareToken: "yvUSDC"
|
|
113278
113192
|
},
|
|
113193
|
+
YEARN_USDC_E_VAULT: {
|
|
113194
|
+
name: "Yearn USDC.e",
|
|
113195
|
+
protocol: protocols_1.Protocols.Yearn,
|
|
113196
|
+
type: adapters_1.AdapterInterface.YEARN_V2,
|
|
113197
|
+
shareToken: "yvUSDC_e"
|
|
113198
|
+
},
|
|
113279
113199
|
YEARN_WETH_VAULT: {
|
|
113280
113200
|
name: "Yearn WETH",
|
|
113281
113201
|
protocol: protocols_1.Protocols.Yearn,
|
|
@@ -113924,19 +113844,19 @@ var require_utilsContracts = __commonJS({
|
|
|
113924
113844
|
exports2.TIMELOCK = {
|
|
113925
113845
|
Mainnet: "0xa133C9A92Fb8dDB962Af1cbae58b2723A0bdf23b",
|
|
113926
113846
|
Arbitrum: "0x148DD932eCe1155c11006F5650c6Ff428f8D374A",
|
|
113927
|
-
Optimism:
|
|
113847
|
+
Optimism: "0x148DD932eCe1155c11006F5650c6Ff428f8D374A",
|
|
113928
113848
|
Base: constants_1.NOT_DEPLOYED
|
|
113929
113849
|
};
|
|
113930
113850
|
exports2.GOVERNOR = {
|
|
113931
113851
|
Mainnet: "0x29B97F37B3E0C704bCFD785F5b7bBa2A0B7df2c7",
|
|
113932
113852
|
Arbitrum: "0xF0C89a0eDCD68B4176A26B3bf7574498DD3E6d09",
|
|
113933
|
-
Optimism:
|
|
113853
|
+
Optimism: "0xF0C89a0eDCD68B4176A26B3bf7574498DD3E6d09",
|
|
113934
113854
|
Base: constants_1.NOT_DEPLOYED
|
|
113935
113855
|
};
|
|
113936
113856
|
exports2.BATCH_CHAIN = {
|
|
113937
113857
|
Mainnet: "0xB900bDEf6eAc8C5D97F8e876aBC39573Cf6626b2",
|
|
113938
113858
|
Arbitrum: "0xAEbaa1015D0bc250F5b38aac9b8f65E0668cE3c2",
|
|
113939
|
-
Optimism:
|
|
113859
|
+
Optimism: "0xAEbaa1015D0bc250F5b38aac9b8f65E0668cE3c2",
|
|
113940
113860
|
Base: constants_1.NOT_DEPLOYED
|
|
113941
113861
|
};
|
|
113942
113862
|
exports2.BLACKLIST_HELPER = {
|
|
@@ -113948,7 +113868,7 @@ var require_utilsContracts = __commonJS({
|
|
|
113948
113868
|
exports2.CREATE2FACTORY = {
|
|
113949
113869
|
Mainnet: "0x45d146CAA25aa565Cfc7434926633f4F1C97c873",
|
|
113950
113870
|
Arbitrum: "0xad1231A64eE68D6BF721a1E8e177776cc49bAA2C",
|
|
113951
|
-
Optimism:
|
|
113871
|
+
Optimism: "0xad1231A64eE68D6BF721a1E8e177776cc49bAA2C",
|
|
113952
113872
|
Base: constants_1.NOT_DEPLOYED
|
|
113953
113873
|
};
|
|
113954
113874
|
exports2.MULTISIG = {
|
|
@@ -113978,7 +113898,7 @@ var require_utilsContracts = __commonJS({
|
|
|
113978
113898
|
exports2.ROUTER_CREATE2FACTORY = {
|
|
113979
113899
|
Mainnet: "0xA287577Fb7Cf49246e569EA268FE919F1cD6d9E2",
|
|
113980
113900
|
Arbitrum: "0x95345A4d55DAf6864924fC8861b311B9BC860E5f",
|
|
113981
|
-
Optimism:
|
|
113901
|
+
Optimism: "0x95345A4d55DAf6864924fC8861b311B9BC860E5f",
|
|
113982
113902
|
Base: constants_1.NOT_DEPLOYED
|
|
113983
113903
|
};
|
|
113984
113904
|
exports2.emergencyLiquidators = [
|
|
@@ -114838,7 +114758,6 @@ var require_priceFeeds = __commonJS({
|
|
|
114838
114758
|
"use strict";
|
|
114839
114759
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
114840
114760
|
exports2.priceFeedsByToken = exports2.getPriceFeedsByToken = exports2.REDSTONE_DEMO_SIGNERS = exports2.REDSTONE_ARBITRUM_SIGNERS = exports2.REDSTONE_SIGNERS = exports2.GAS_PRICE_FEED = void 0;
|
|
114841
|
-
var constants_1 = require_constants2();
|
|
114842
114761
|
var pricefeedType_1 = require_pricefeedType();
|
|
114843
114762
|
exports2.GAS_PRICE_FEED = "0x169e633a2d1e6c10dd91238ba11c4a708dfef37c";
|
|
114844
114763
|
exports2.REDSTONE_SIGNERS = {
|
|
@@ -114877,6 +114796,7 @@ var require_priceFeeds = __commonJS({
|
|
|
114877
114796
|
Main: {
|
|
114878
114797
|
type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
|
|
114879
114798
|
address: "0xc929ad75B72593967DE83E7F7Cda0493458261D9",
|
|
114799
|
+
stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED,
|
|
114880
114800
|
trusted: false
|
|
114881
114801
|
}
|
|
114882
114802
|
},
|
|
@@ -114894,6 +114814,7 @@ var require_priceFeeds = __commonJS({
|
|
|
114894
114814
|
Main: {
|
|
114895
114815
|
type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
|
|
114896
114816
|
address: "0x547a514d5e3769680Ce22B2361c10Ea13619e8a9",
|
|
114817
|
+
stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED,
|
|
114897
114818
|
trusted: false
|
|
114898
114819
|
},
|
|
114899
114820
|
Reserve: {
|
|
@@ -114925,6 +114846,7 @@ var require_priceFeeds = __commonJS({
|
|
|
114925
114846
|
Main: {
|
|
114926
114847
|
type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
|
|
114927
114848
|
address: "0xdbd020CAeF83eFd542f4De03e3cF0C28A4428bd5",
|
|
114849
|
+
stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED,
|
|
114928
114850
|
trusted: false
|
|
114929
114851
|
}
|
|
114930
114852
|
},
|
|
@@ -115021,13 +114943,13 @@ var require_priceFeeds = __commonJS({
|
|
|
115021
114943
|
Main: {
|
|
115022
114944
|
type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
|
|
115023
114945
|
address: "0xD2A593BF7594aCE1faD597adb697b5645d5edDB2",
|
|
114946
|
+
stalenessPeriod: pricefeedType_1.HOUR_24,
|
|
115024
114947
|
trusted: false
|
|
115025
114948
|
}
|
|
115026
114949
|
},
|
|
115027
114950
|
Arbitrum: {
|
|
115028
114951
|
Main: {
|
|
115029
|
-
type: pricefeedType_1.PriceFeedType.
|
|
115030
|
-
address: constants_1.NOT_DEPLOYED,
|
|
114952
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
115031
114953
|
trusted: false
|
|
115032
114954
|
}
|
|
115033
114955
|
}
|
|
@@ -115035,15 +114957,13 @@ var require_priceFeeds = __commonJS({
|
|
|
115035
114957
|
FEI: {
|
|
115036
114958
|
Mainnet: {
|
|
115037
114959
|
Main: {
|
|
115038
|
-
type: pricefeedType_1.PriceFeedType.
|
|
115039
|
-
address: constants_1.NOT_DEPLOYED,
|
|
114960
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
115040
114961
|
trusted: false
|
|
115041
114962
|
}
|
|
115042
114963
|
},
|
|
115043
114964
|
Arbitrum: {
|
|
115044
114965
|
Main: {
|
|
115045
|
-
type: pricefeedType_1.PriceFeedType.
|
|
115046
|
-
address: constants_1.NOT_DEPLOYED,
|
|
114966
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
115047
114967
|
trusted: false
|
|
115048
114968
|
}
|
|
115049
114969
|
}
|
|
@@ -115053,13 +114973,13 @@ var require_priceFeeds = __commonJS({
|
|
|
115053
114973
|
Main: {
|
|
115054
114974
|
type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
|
|
115055
114975
|
address: "0xa89f5d2365ce98B3cD68012b6f503ab1416245Fc",
|
|
114976
|
+
stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED,
|
|
115056
114977
|
trusted: false
|
|
115057
114978
|
}
|
|
115058
114979
|
},
|
|
115059
114980
|
Arbitrum: {
|
|
115060
114981
|
Main: {
|
|
115061
|
-
type: pricefeedType_1.PriceFeedType.
|
|
115062
|
-
address: constants_1.NOT_DEPLOYED,
|
|
114982
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
115063
114983
|
trusted: false
|
|
115064
114984
|
}
|
|
115065
114985
|
}
|
|
@@ -115116,6 +115036,7 @@ var require_priceFeeds = __commonJS({
|
|
|
115116
115036
|
Main: {
|
|
115117
115037
|
type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
|
|
115118
115038
|
address: "0xDC3EA94CD0AC27d9A86C180091e7f78C683d3699",
|
|
115039
|
+
stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED,
|
|
115119
115040
|
trusted: false
|
|
115120
115041
|
}
|
|
115121
115042
|
},
|
|
@@ -115141,6 +115062,7 @@ var require_priceFeeds = __commonJS({
|
|
|
115141
115062
|
Main: {
|
|
115142
115063
|
type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
|
|
115143
115064
|
address: "0x4e1C6B168DCFD7758bC2Ab9d2865f1895813D236",
|
|
115065
|
+
stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED_L2,
|
|
115144
115066
|
trusted: false
|
|
115145
115067
|
}
|
|
115146
115068
|
}
|
|
@@ -115443,6 +115365,7 @@ var require_priceFeeds = __commonJS({
|
|
|
115443
115365
|
Main: {
|
|
115444
115366
|
type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
|
|
115445
115367
|
address: "0xA027702dbb89fbd58938e4324ac03B58d812b0E1",
|
|
115368
|
+
stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED,
|
|
115446
115369
|
trusted: false
|
|
115447
115370
|
}
|
|
115448
115371
|
},
|
|
@@ -115482,8 +115405,7 @@ var require_priceFeeds = __commonJS({
|
|
|
115482
115405
|
},
|
|
115483
115406
|
Arbitrum: {
|
|
115484
115407
|
Main: {
|
|
115485
|
-
type: pricefeedType_1.PriceFeedType.
|
|
115486
|
-
address: constants_1.NOT_DEPLOYED,
|
|
115408
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
115487
115409
|
trusted: false
|
|
115488
115410
|
}
|
|
115489
115411
|
}
|
|
@@ -115652,8 +115574,7 @@ var require_priceFeeds = __commonJS({
|
|
|
115652
115574
|
},
|
|
115653
115575
|
Arbitrum: {
|
|
115654
115576
|
Main: {
|
|
115655
|
-
type: pricefeedType_1.PriceFeedType.
|
|
115656
|
-
address: constants_1.NOT_DEPLOYED,
|
|
115577
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
115657
115578
|
trusted: false
|
|
115658
115579
|
}
|
|
115659
115580
|
}
|
|
@@ -115762,13 +115683,13 @@ var require_priceFeeds = __commonJS({
|
|
|
115762
115683
|
Main: {
|
|
115763
115684
|
type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
|
|
115764
115685
|
address: "0x7A364e8770418566e3eb2001A96116E6138Eb32F",
|
|
115686
|
+
stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED,
|
|
115765
115687
|
trusted: false
|
|
115766
115688
|
}
|
|
115767
115689
|
},
|
|
115768
115690
|
Arbitrum: {
|
|
115769
115691
|
Main: {
|
|
115770
|
-
type: pricefeedType_1.PriceFeedType.
|
|
115771
|
-
address: constants_1.NOT_DEPLOYED,
|
|
115692
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
115772
115693
|
trusted: false
|
|
115773
115694
|
}
|
|
115774
115695
|
}
|
|
@@ -115778,6 +115699,7 @@ var require_priceFeeds = __commonJS({
|
|
|
115778
115699
|
Main: {
|
|
115779
115700
|
type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
|
|
115780
115701
|
address: "0x8c110B94C5f1d347fAcF5E1E938AB2db60E3c9a8",
|
|
115702
|
+
stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED,
|
|
115781
115703
|
trusted: false
|
|
115782
115704
|
}
|
|
115783
115705
|
},
|
|
@@ -115793,8 +115715,7 @@ var require_priceFeeds = __commonJS({
|
|
|
115793
115715
|
GMX: {
|
|
115794
115716
|
Mainnet: {
|
|
115795
115717
|
Main: {
|
|
115796
|
-
type: pricefeedType_1.PriceFeedType.
|
|
115797
|
-
address: constants_1.NOT_DEPLOYED,
|
|
115718
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
115798
115719
|
trusted: false
|
|
115799
115720
|
}
|
|
115800
115721
|
},
|
|
@@ -115817,8 +115738,7 @@ var require_priceFeeds = __commonJS({
|
|
|
115817
115738
|
ARB: {
|
|
115818
115739
|
Mainnet: {
|
|
115819
115740
|
Main: {
|
|
115820
|
-
type: pricefeedType_1.PriceFeedType.
|
|
115821
|
-
address: constants_1.NOT_DEPLOYED,
|
|
115741
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
115822
115742
|
trusted: false
|
|
115823
115743
|
}
|
|
115824
115744
|
},
|
|
@@ -115849,8 +115769,7 @@ var require_priceFeeds = __commonJS({
|
|
|
115849
115769
|
RDNT: {
|
|
115850
115770
|
Mainnet: {
|
|
115851
115771
|
Main: {
|
|
115852
|
-
type: pricefeedType_1.PriceFeedType.
|
|
115853
|
-
address: constants_1.NOT_DEPLOYED,
|
|
115772
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
115854
115773
|
trusted: false
|
|
115855
115774
|
}
|
|
115856
115775
|
},
|
|
@@ -115868,6 +115787,7 @@ var require_priceFeeds = __commonJS({
|
|
|
115868
115787
|
Main: {
|
|
115869
115788
|
type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
|
|
115870
115789
|
address: "0xdF2917806E30300537aEB49A7663062F4d1F2b5F",
|
|
115790
|
+
stalenessPeriod: pricefeedType_1.HOUR_24,
|
|
115871
115791
|
trusted: false
|
|
115872
115792
|
},
|
|
115873
115793
|
Reserve: {
|
|
@@ -116258,6 +116178,15 @@ var require_priceFeeds = __commonJS({
|
|
|
116258
116178
|
}
|
|
116259
116179
|
}
|
|
116260
116180
|
},
|
|
116181
|
+
yvUSDC_e: {
|
|
116182
|
+
AllNetworks: {
|
|
116183
|
+
Main: {
|
|
116184
|
+
type: pricefeedType_1.PriceFeedType.YEARN_ORACLE,
|
|
116185
|
+
token: "USDC_e",
|
|
116186
|
+
trusted: false
|
|
116187
|
+
}
|
|
116188
|
+
}
|
|
116189
|
+
},
|
|
116261
116190
|
yvUSDT: {
|
|
116262
116191
|
AllNetworks: {
|
|
116263
116192
|
Main: {
|
|
@@ -117105,15 +117034,13 @@ var require_priceFeeds = __commonJS({
|
|
|
117105
117034
|
dDAI: {
|
|
117106
117035
|
Mainnet: {
|
|
117107
117036
|
Main: {
|
|
117108
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117109
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117037
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117110
117038
|
trusted: false
|
|
117111
117039
|
}
|
|
117112
117040
|
},
|
|
117113
117041
|
Arbitrum: {
|
|
117114
117042
|
Main: {
|
|
117115
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117116
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117043
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117117
117044
|
trusted: false
|
|
117118
117045
|
}
|
|
117119
117046
|
}
|
|
@@ -117121,15 +117048,13 @@ var require_priceFeeds = __commonJS({
|
|
|
117121
117048
|
dUSDC: {
|
|
117122
117049
|
Mainnet: {
|
|
117123
117050
|
Main: {
|
|
117124
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117125
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117051
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117126
117052
|
trusted: false
|
|
117127
117053
|
}
|
|
117128
117054
|
},
|
|
117129
117055
|
Arbitrum: {
|
|
117130
117056
|
Main: {
|
|
117131
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117132
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117057
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117133
117058
|
trusted: false
|
|
117134
117059
|
}
|
|
117135
117060
|
}
|
|
@@ -117137,15 +117062,13 @@ var require_priceFeeds = __commonJS({
|
|
|
117137
117062
|
dWBTC: {
|
|
117138
117063
|
Mainnet: {
|
|
117139
117064
|
Main: {
|
|
117140
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117141
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117065
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117142
117066
|
trusted: false
|
|
117143
117067
|
}
|
|
117144
117068
|
},
|
|
117145
117069
|
Arbitrum: {
|
|
117146
117070
|
Main: {
|
|
117147
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117148
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117071
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117149
117072
|
trusted: false
|
|
117150
117073
|
}
|
|
117151
117074
|
}
|
|
@@ -117153,15 +117076,13 @@ var require_priceFeeds = __commonJS({
|
|
|
117153
117076
|
dWETH: {
|
|
117154
117077
|
Mainnet: {
|
|
117155
117078
|
Main: {
|
|
117156
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117157
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117079
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117158
117080
|
trusted: false
|
|
117159
117081
|
}
|
|
117160
117082
|
},
|
|
117161
117083
|
Arbitrum: {
|
|
117162
117084
|
Main: {
|
|
117163
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117164
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117085
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117165
117086
|
trusted: false
|
|
117166
117087
|
}
|
|
117167
117088
|
}
|
|
@@ -117169,15 +117090,13 @@ var require_priceFeeds = __commonJS({
|
|
|
117169
117090
|
dwstETH: {
|
|
117170
117091
|
Mainnet: {
|
|
117171
117092
|
Main: {
|
|
117172
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117173
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117093
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117174
117094
|
trusted: false
|
|
117175
117095
|
}
|
|
117176
117096
|
},
|
|
117177
117097
|
Arbitrum: {
|
|
117178
117098
|
Main: {
|
|
117179
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117180
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117099
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117181
117100
|
trusted: false
|
|
117182
117101
|
}
|
|
117183
117102
|
}
|
|
@@ -117185,15 +117104,13 @@ var require_priceFeeds = __commonJS({
|
|
|
117185
117104
|
dFRAX: {
|
|
117186
117105
|
Mainnet: {
|
|
117187
117106
|
Main: {
|
|
117188
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117189
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117107
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117190
117108
|
trusted: false
|
|
117191
117109
|
}
|
|
117192
117110
|
},
|
|
117193
117111
|
Arbitrum: {
|
|
117194
117112
|
Main: {
|
|
117195
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117196
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117113
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117197
117114
|
trusted: false
|
|
117198
117115
|
}
|
|
117199
117116
|
}
|
|
@@ -117201,15 +117118,13 @@ var require_priceFeeds = __commonJS({
|
|
|
117201
117118
|
dUSDCV3: {
|
|
117202
117119
|
Mainnet: {
|
|
117203
117120
|
Main: {
|
|
117204
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117205
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117121
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117206
117122
|
trusted: false
|
|
117207
117123
|
}
|
|
117208
117124
|
},
|
|
117209
117125
|
Arbitrum: {
|
|
117210
117126
|
Main: {
|
|
117211
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117212
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117127
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117213
117128
|
trusted: false
|
|
117214
117129
|
}
|
|
117215
117130
|
}
|
|
@@ -117217,15 +117132,13 @@ var require_priceFeeds = __commonJS({
|
|
|
117217
117132
|
dWBTCV3: {
|
|
117218
117133
|
Mainnet: {
|
|
117219
117134
|
Main: {
|
|
117220
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117221
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117135
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117222
117136
|
trusted: false
|
|
117223
117137
|
}
|
|
117224
117138
|
},
|
|
117225
117139
|
Arbitrum: {
|
|
117226
117140
|
Main: {
|
|
117227
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117228
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117141
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117229
117142
|
trusted: false
|
|
117230
117143
|
}
|
|
117231
117144
|
}
|
|
@@ -117233,15 +117146,13 @@ var require_priceFeeds = __commonJS({
|
|
|
117233
117146
|
dWETHV3: {
|
|
117234
117147
|
Mainnet: {
|
|
117235
117148
|
Main: {
|
|
117236
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117237
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117149
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117238
117150
|
trusted: false
|
|
117239
117151
|
}
|
|
117240
117152
|
},
|
|
117241
117153
|
Arbitrum: {
|
|
117242
117154
|
Main: {
|
|
117243
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117244
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117155
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117245
117156
|
trusted: false
|
|
117246
117157
|
}
|
|
117247
117158
|
}
|
|
@@ -117249,15 +117160,13 @@ var require_priceFeeds = __commonJS({
|
|
|
117249
117160
|
sdUSDCV3: {
|
|
117250
117161
|
Mainnet: {
|
|
117251
117162
|
Main: {
|
|
117252
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117253
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117163
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117254
117164
|
trusted: false
|
|
117255
117165
|
}
|
|
117256
117166
|
},
|
|
117257
117167
|
Arbitrum: {
|
|
117258
117168
|
Main: {
|
|
117259
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117260
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117169
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117261
117170
|
trusted: false
|
|
117262
117171
|
}
|
|
117263
117172
|
}
|
|
@@ -117265,15 +117174,13 @@ var require_priceFeeds = __commonJS({
|
|
|
117265
117174
|
sdWBTCV3: {
|
|
117266
117175
|
Mainnet: {
|
|
117267
117176
|
Main: {
|
|
117268
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117269
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117177
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117270
117178
|
trusted: false
|
|
117271
117179
|
}
|
|
117272
117180
|
},
|
|
117273
117181
|
Arbitrum: {
|
|
117274
117182
|
Main: {
|
|
117275
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117276
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117183
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117277
117184
|
trusted: false
|
|
117278
117185
|
}
|
|
117279
117186
|
}
|
|
@@ -117281,15 +117188,13 @@ var require_priceFeeds = __commonJS({
|
|
|
117281
117188
|
sdWETHV3: {
|
|
117282
117189
|
Mainnet: {
|
|
117283
117190
|
Main: {
|
|
117284
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117285
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117191
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117286
117192
|
trusted: false
|
|
117287
117193
|
}
|
|
117288
117194
|
},
|
|
117289
117195
|
Arbitrum: {
|
|
117290
117196
|
Main: {
|
|
117291
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117292
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117197
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117293
117198
|
trusted: false
|
|
117294
117199
|
}
|
|
117295
117200
|
}
|
|
@@ -117297,15 +117202,13 @@ var require_priceFeeds = __commonJS({
|
|
|
117297
117202
|
dUSDTV3: {
|
|
117298
117203
|
Mainnet: {
|
|
117299
117204
|
Main: {
|
|
117300
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117301
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117205
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117302
117206
|
trusted: false
|
|
117303
117207
|
}
|
|
117304
117208
|
},
|
|
117305
117209
|
Arbitrum: {
|
|
117306
117210
|
Main: {
|
|
117307
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117308
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117211
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117309
117212
|
trusted: false
|
|
117310
117213
|
}
|
|
117311
117214
|
}
|
|
@@ -117313,15 +117216,13 @@ var require_priceFeeds = __commonJS({
|
|
|
117313
117216
|
dGHOV3: {
|
|
117314
117217
|
Mainnet: {
|
|
117315
117218
|
Main: {
|
|
117316
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117317
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117219
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117318
117220
|
trusted: false
|
|
117319
117221
|
}
|
|
117320
117222
|
},
|
|
117321
117223
|
Arbitrum: {
|
|
117322
117224
|
Main: {
|
|
117323
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117324
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117225
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117325
117226
|
trusted: false
|
|
117326
117227
|
}
|
|
117327
117228
|
}
|
|
@@ -117329,15 +117230,13 @@ var require_priceFeeds = __commonJS({
|
|
|
117329
117230
|
dDAIV3: {
|
|
117330
117231
|
Mainnet: {
|
|
117331
117232
|
Main: {
|
|
117332
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117333
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117233
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117334
117234
|
trusted: false
|
|
117335
117235
|
}
|
|
117336
117236
|
},
|
|
117337
117237
|
Arbitrum: {
|
|
117338
117238
|
Main: {
|
|
117339
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117340
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117239
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117341
117240
|
trusted: false
|
|
117342
117241
|
}
|
|
117343
117242
|
}
|
|
@@ -117345,15 +117244,13 @@ var require_priceFeeds = __commonJS({
|
|
|
117345
117244
|
sdUSDTV3: {
|
|
117346
117245
|
Mainnet: {
|
|
117347
117246
|
Main: {
|
|
117348
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117349
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117247
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117350
117248
|
trusted: false
|
|
117351
117249
|
}
|
|
117352
117250
|
},
|
|
117353
117251
|
Arbitrum: {
|
|
117354
117252
|
Main: {
|
|
117355
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117356
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117253
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117357
117254
|
trusted: false
|
|
117358
117255
|
}
|
|
117359
117256
|
}
|
|
@@ -117361,15 +117258,13 @@ var require_priceFeeds = __commonJS({
|
|
|
117361
117258
|
sdGHOV3: {
|
|
117362
117259
|
Mainnet: {
|
|
117363
117260
|
Main: {
|
|
117364
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117365
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117261
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117366
117262
|
trusted: false
|
|
117367
117263
|
}
|
|
117368
117264
|
},
|
|
117369
117265
|
Arbitrum: {
|
|
117370
117266
|
Main: {
|
|
117371
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117372
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117267
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117373
117268
|
trusted: false
|
|
117374
117269
|
}
|
|
117375
117270
|
}
|
|
@@ -117377,15 +117272,13 @@ var require_priceFeeds = __commonJS({
|
|
|
117377
117272
|
sdDAIV3: {
|
|
117378
117273
|
Mainnet: {
|
|
117379
117274
|
Main: {
|
|
117380
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117381
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117275
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117382
117276
|
trusted: false
|
|
117383
117277
|
}
|
|
117384
117278
|
},
|
|
117385
117279
|
Arbitrum: {
|
|
117386
117280
|
Main: {
|
|
117387
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117388
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117281
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117389
117282
|
trusted: false
|
|
117390
117283
|
}
|
|
117391
117284
|
}
|
|
@@ -117393,15 +117286,13 @@ var require_priceFeeds = __commonJS({
|
|
|
117393
117286
|
GEAR: {
|
|
117394
117287
|
Mainnet: {
|
|
117395
117288
|
Main: {
|
|
117396
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117397
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117289
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117398
117290
|
trusted: false
|
|
117399
117291
|
}
|
|
117400
117292
|
},
|
|
117401
117293
|
Arbitrum: {
|
|
117402
117294
|
Main: {
|
|
117403
|
-
type: pricefeedType_1.PriceFeedType.
|
|
117404
|
-
address: constants_1.NOT_DEPLOYED,
|
|
117295
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
117405
117296
|
trusted: false
|
|
117406
117297
|
}
|
|
117407
117298
|
}
|
|
@@ -117563,6 +117454,7 @@ var require_priceFeeds = __commonJS({
|
|
|
117563
117454
|
Main: {
|
|
117564
117455
|
type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
|
|
117565
117456
|
address: "0x4E155eD98aFE9034b7A5962f6C84c86d869daA9d",
|
|
117457
|
+
stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED,
|
|
117566
117458
|
trusted: false
|
|
117567
117459
|
}
|
|
117568
117460
|
},
|
|
@@ -366324,6 +366216,7 @@ var ScriptTemplate = z.object({
|
|
|
366324
366216
|
id: z.string().regex(/^[0-9a-zA-Z\-_]+$/, "invalid script id"),
|
|
366325
366217
|
description: z.string().optional(),
|
|
366326
366218
|
npx: z.string().optional(),
|
|
366219
|
+
timeout: z.string().optional(),
|
|
366327
366220
|
args: z.array(z.string().min(1)).default([]),
|
|
366328
366221
|
env: z.record(z.string(), z.string()).default({}),
|
|
366329
366222
|
flags: z.array(z.string().min(1)).default([])
|
|
@@ -366468,7 +366361,7 @@ function getRenderer(opts) {
|
|
|
366468
366361
|
}
|
|
366469
366362
|
|
|
366470
366363
|
// package.json
|
|
366471
|
-
var version3 = "4.24.
|
|
366364
|
+
var version3 = "4.24.4";
|
|
366472
366365
|
|
|
366473
366366
|
// src/version.ts
|
|
366474
366367
|
var version_default = version3;
|