@gearbox-protocol/integrations-v3
Advanced tools
Comparing version 1.34.3 to 1.35.0
@@ -435,2 +435,68 @@ "use strict"; | ||
}; | ||
const restakingUniswapV3Config = { | ||
contract: "UNISWAP_V3_ROUTER", | ||
allowed: [ | ||
{ token0: "rETH", token1: "WETH", fee: 500 }, | ||
{ token0: "rETH", token1: "WETH", fee: 100 }, | ||
], | ||
}; | ||
const restakingBalancerConfig = { | ||
contract: "BALANCER_VAULT", | ||
allowed: [ | ||
{ | ||
pool: "weETH_rETH", | ||
status: 2, | ||
}, | ||
{ | ||
pool: "ezETH_WETH_BPT", | ||
status: 2, | ||
}, | ||
{ | ||
pool: "B_rETH_STABLE", | ||
status: 2, | ||
}, | ||
{ | ||
pool: "weETH_ezETH_rswETH", | ||
status: 2, | ||
}, | ||
], | ||
}; | ||
const restakingCreditManager = { | ||
name: "Restaking WETH", | ||
degenNft: false, | ||
expirationDate: undefined, | ||
minDebt: (BigInt(5e4) * POOL_DECIMALS) / POOL_DIVIDER, | ||
maxDebt: (BigInt(1e6) * POOL_DECIMALS) / POOL_DIVIDER, | ||
feeInterest: 2500, | ||
feeLiquidation: 100, | ||
liquidationPremium: 300, | ||
feeLiquidationExpired: 100, | ||
liquidationPremiumExpired: 200, | ||
poolLimit: BigInt(30000) * POOL_DECIMALS, | ||
collateralTokens: [ | ||
// LRT | ||
{ | ||
token: "weETH", | ||
lt: 9150, | ||
}, | ||
{ | ||
token: "ezETH", | ||
lt: 9150, | ||
}, | ||
// Compatibility | ||
{ | ||
token: "rETH", | ||
lt: 0, | ||
}, | ||
{ | ||
token: "rETH_f", | ||
lt: 0, | ||
}, | ||
], | ||
adapters: [ | ||
restakingUniswapV3Config, | ||
restakingBalancerConfig, | ||
{ contract: "CURVE_RETH_ETH_POOL" }, | ||
], | ||
}; | ||
exports.config = { | ||
@@ -565,8 +631,2 @@ id: "mainnet-weth-v3", | ||
}, | ||
weETH: { | ||
minRate: 5, | ||
maxRate: 3000, | ||
quotaIncreaseFee: 0, | ||
limit: (BigInt(5e6) * POOL_DECIMALS) / POOL_DIVIDER, | ||
}, | ||
osETH: { | ||
@@ -602,2 +662,15 @@ minRate: 5, | ||
}, | ||
// LRT | ||
weETH: { | ||
minRate: 5, | ||
maxRate: 3000, | ||
quotaIncreaseFee: 0, | ||
limit: BigInt(15000) * POOL_DECIMALS, | ||
}, | ||
ezETH: { | ||
minRate: 5, | ||
maxRate: 3000, | ||
quotaIncreaseFee: 0, | ||
limit: BigInt(15000) * POOL_DECIMALS, | ||
}, | ||
}, | ||
@@ -609,4 +682,5 @@ creditManagers: [ | ||
farmCreditManager, | ||
restakingCreditManager, | ||
], | ||
supportsQuotas: true, | ||
}; |
{ | ||
"name": "@gearbox-protocol/integrations-v3", | ||
"description": "Integration contracts for Gearbox V3", | ||
"version": "1.34.3", | ||
"version": "1.35.0", | ||
"homepage": "https://gearbox.fi", | ||
@@ -42,3 +42,3 @@ "main": "./npm-root/index.js", | ||
"@gearbox-protocol/prettier-config": "^1.5.0", | ||
"@gearbox-protocol/sdk-gov": "^1.30.0", | ||
"@gearbox-protocol/sdk-gov": "^1.32.0", | ||
"@openzeppelin/contracts": "4.9.3", | ||
@@ -45,0 +45,0 @@ "@redstone-finance/evm-connector": "0.2.5", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1083634
3156