Skip to content

Commit

Permalink
Merge pull request #66 from Gearbox-protocol/configs-separation
Browse files Browse the repository at this point in the history
fix: add cms names to configs
  • Loading branch information
manylov authored Oct 10, 2023
2 parents e975a6e + 52b5334 commit 5e3868c
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 6 deletions.
1 change: 1 addition & 0 deletions config/usdcLevconfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ export const config: PoolV3DeployConfig = {
},
creditManagers: [
{
name: "Farm USDC v3",
degenNft: false,
expirationDate: undefined,
minDebt: (BigInt(1e4) * POOL_DECIMALS) / POOL_DIVIDER,
Expand Down
1 change: 1 addition & 0 deletions config/usdcMTconfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export const config: PoolV3DeployConfig = {
},
creditManagers: [
{
name: "Trade USDC v3",
degenNft: false,
expirationDate: undefined,
minDebt: (BigInt(1e4) * POOL_DECIMALS) / POOL_DIVIDER,
Expand Down
1 change: 1 addition & 0 deletions config/wbtcTconfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export const config: PoolV3DeployConfig = {
},
creditManagers: [
{
name: "WBTC v3",
degenNft: false,
expirationDate: undefined,
minDebt: (BigInt(1e4) * POOL_DECIMALS) / POOL_DIVIDER,
Expand Down
1 change: 1 addition & 0 deletions config/wethMTconfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export const config: PoolV3DeployConfig = {
},
creditManagers: [
{
name: "WETH v3",
degenNft: false,
expirationDate: undefined,
minDebt: (BigInt(1e4) * POOL_DECIMALS) / POOL_DIVIDER,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@gearbox-protocol/eslint-config": "^1.6.1",
"@gearbox-protocol/oracles-v3": "^1.7.6",
"@gearbox-protocol/prettier-config": "^1.5.0",
"@gearbox-protocol/sdk-gov": "^1.6.2",
"@gearbox-protocol/sdk-gov": "^1.11.1",
"@openzeppelin/contracts": "4.9.3",
"@redstone-finance/evm-connector": "0.2.5",
"@typechain/ethers-v5": "^10.1.0",
Expand Down
54 changes: 49 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1363,12 +1363,19 @@
resolved "https://registry.yarnpkg.com/@gearbox-protocol/prettier-config/-/prettier-config-1.5.0.tgz#4df8e9fd2305fee6ab8c1417a02e31343836932a"
integrity sha512-FUoprSsBdZyBjgxXCKL6mTkbeUJytaLzPJqIOoQpDmBRTX0seCc2o5I9PI9tySoRIlNnd/XXnKCXq1xHDEGbxw==

"@gearbox-protocol/sdk-gov@^1.6.2":
version "1.6.2"
resolved "https://registry.yarnpkg.com/@gearbox-protocol/sdk-gov/-/sdk-gov-1.6.2.tgz#fafab388029dc57c5c520747becd3e7b0d799f4c"
integrity sha512-h5m0qb8gV5oLAKSd3zmnkS+G9yZ2xyoTElAWZk0iOowxeGPqQtTeNlQrLisYvo1QsRcVn9yjsGEqI6tksBwChQ==
dependencies:
"@gearbox-protocol/sdk-gov@^1.11.1":
version "1.11.1"
resolved "https://registry.yarnpkg.com/@gearbox-protocol/sdk-gov/-/sdk-gov-1.11.1.tgz#8fd18b0f2453e995d7099e21a17a90fc9453dcd0"
integrity sha512-9Wl+uySUAqELPWrd8zo+I7wQqviRMTs+BlWZEspJJc+VJk0ktaVNrmfs6Whoh9Eg20WcUuBAhxWQ35CZU+tiKQ==
dependencies:
"@types/yaml" "^1.9.7"
add "^2.0.6"
deep-object-diff "^1.1.9"
ethers "5.6.9"
humanize-duration-ts "^2.1.1"
yaml "^2.3.2"
yarn "^1.22.19"
zod "^3.22.2"

"@humanwhocodes/config-array@^0.11.10":
version "0.11.10"
Expand Down Expand Up @@ -1639,6 +1646,13 @@
resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.5.0.tgz#591c1ce3a702c45ee15f47a42ade72c2fd78978a"
integrity sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw==

"@types/yaml@^1.9.7":
version "1.9.7"
resolved "https://registry.yarnpkg.com/@types/yaml/-/yaml-1.9.7.tgz#2331f36e0aac91311a63d33eb026c21687729679"
integrity sha512-8WMXRDD1D+wCohjfslHDgICd2JtMATZU8CkhH8LVJqcJs6dyYj5TGptzP8wApbmEullGBSsCEzzap73DQ1HJaA==
dependencies:
yaml "*"

"@typescript-eslint/eslint-plugin@^5.33.0":
version "5.62.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz#aeef0328d172b9e37d9bab6dbc13b87ed88977db"
Expand Down Expand Up @@ -1754,6 +1768,11 @@ acorn@^8.4.1, acorn@^8.9.0:
resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.10.0.tgz#8be5b3907a67221a81ab23c7889c4c5526b62ec5"
integrity sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==

add@^2.0.6:
version "2.0.6"
resolved "https://registry.yarnpkg.com/add/-/add-2.0.6.tgz#248f0a9f6e5a528ef2295dbeec30532130ae2235"
integrity sha512-j5QzrmsokwWWp6kUcJQySpbG+xfOBqqKnup3OIk1pz+kB/80SLorZ9V8zHFLO92Lcd+hbvq8bT+zOGoPkmBV0Q==

[email protected]:
version "3.0.0"
resolved "https://registry.yarnpkg.com/aes-js/-/aes-js-3.0.0.tgz#e21df10ad6c2053295bcbb8dab40b09dbea87e4d"
Expand Down Expand Up @@ -2364,6 +2383,11 @@ deep-is@^0.1.3:
resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831"
integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==

deep-object-diff@^1.1.9:
version "1.1.9"
resolved "https://registry.yarnpkg.com/deep-object-diff/-/deep-object-diff-1.1.9.tgz#6df7ef035ad6a0caa44479c536ed7b02570f4595"
integrity sha512-Rn+RuwkmkDwCi2/oXOFS9Gsr5lJZu/yTGpK7wAaAIE75CC+LCGEZHpY6VQJa/RoJcrmaA/docWJZvYohlNkWPA==

define-properties@^1.1.3, define-properties@^1.1.4, define-properties@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.2.0.tgz#52988570670c9eacedd8064f4a990f2405849bd5"
Expand Down Expand Up @@ -3370,6 +3394,11 @@ human-signals@^4.3.0:
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-4.3.1.tgz#ab7f811e851fca97ffbd2c1fe9a958964de321b2"
integrity sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==

humanize-duration-ts@^2.1.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/humanize-duration-ts/-/humanize-duration-ts-2.1.1.tgz#5382b2789f851005a67229eaf031931d71f37ee9"
integrity sha512-TibNF2/fkypjAfHdGpWL/dmWUS0G6Qi+3mKyiB6LDCowbMy+PtzbgPTnFMNTOVAJXDau01jYrJ3tFoz5AJSqhA==

husky@^8.0.1:
version "8.0.3"
resolved "https://registry.yarnpkg.com/husky/-/husky-8.0.3.tgz#4936d7212e46d1dea28fef29bb3a108872cd9184"
Expand Down Expand Up @@ -5203,6 +5232,11 @@ yallist@^4.0.0:
resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72"
integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==

yaml@*, yaml@^2.3.2:
version "2.3.2"
resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.3.2.tgz#f522db4313c671a0ca963a75670f1c12ea909144"
integrity sha512-N/lyzTPaJasoDmfV7YTrYCI0G/3ivm/9wdG0aHuheKowWQwGTsK0Eoiw6utmzAnI6pkJa0DUVygvp3spqqEKXg==

[email protected]:
version "2.3.1"
resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.3.1.tgz#02fe0975d23cd441242aa7204e09fc28ac2ac33b"
Expand Down Expand Up @@ -5231,6 +5265,11 @@ yargs@^17.0.0:
y18n "^5.0.5"
yargs-parser "^21.1.1"

yarn@^1.22.19:
version "1.22.19"
resolved "https://registry.yarnpkg.com/yarn/-/yarn-1.22.19.tgz#4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
integrity sha512-/0V5q0WbslqnwP91tirOvldvYISzaqhClxzyUKXYxs07yUILIs5jx/k6CFe8bvKSkds5w+eiOqta39Wk3WxdcQ==

[email protected]:
version "3.1.1"
resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50"
Expand All @@ -5240,3 +5279,8 @@ yocto-queue@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"
integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==

zod@^3.22.2:
version "3.22.4"
resolved "https://registry.yarnpkg.com/zod/-/zod-3.22.4.tgz#f31c3a9386f61b1f228af56faa9255e845cf3fff"
integrity sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==

0 comments on commit 5e3868c

Please sign in to comment.