Skip to content

Commit

Permalink
🚚 package: rename mainnet to ethereum
Browse files Browse the repository at this point in the history
  • Loading branch information
cruzdanilo committed Jul 21, 2023
1 parent 2b027b3 commit 04865b1
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 12 deletions.
5 changes: 5 additions & 0 deletions .changeset/sweet-planets-own.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@exactly/protocol": patch
---

🚚 package: rename `mainnet` to `ethereum`
2 changes: 1 addition & 1 deletion .changeset/twelve-countries-appear.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"@exactly/protocol": patch
---

🚀 mainnet: deploy new interest rate models
🚀 ethereum: deploy new interest rate models
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### Patch Changes

- e2a4b01: 🚀 mainnet: deploy new debt manager
- e2a4b01: 🚀 ethereum: deploy new debt manager
- c4dc9d7: ✨ debt-manager: support `EIP-2612` permit
- 56bf04f: 🚀 optimism: deploy new debt manager
- 9803f19: 🐛 debt-manager: verify flashloan call origin
Expand All @@ -13,7 +13,7 @@

### Patch Changes

- d76c1a3: 🚀 mainnet: deploy debt manager
- d76c1a3: 🚀 ethereum: deploy debt manager

## 0.2.11

Expand Down
16 changes: 8 additions & 8 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,25 @@ export default {
settings: { optimizer: { enabled: true, runs: 200 }, debug: { revertStrings: "strip" } },
},
networks: {
mainnet: {
ethereum: {
priceDecimals: 18,
timelockDelay: 24 * 3_600,
finance: { treasuryFeeRate: 0, futurePools: 3 },
url: env.MAINNET_NODE ?? "",
url: env.ETHEREUM_NODE ?? "",
},
optimism: { priceDecimals: 8, timelockDelay: 24 * 3_600, url: env.OPTIMISM_NODE ?? "" },
goerli: { priceDecimals: 8, url: env.GOERLI_NODE ?? "" },
},
namedAccounts: {
deployer: {
default: 0,
mainnet: "0xe61Bdef3FFF4C3CF7A07996DCB8802b5C85B665a",
ethereum: "0xe61Bdef3FFF4C3CF7A07996DCB8802b5C85B665a",
optimism: "0xe61Bdef3FFF4C3CF7A07996DCB8802b5C85B665a",
goerli: "0xDb90CDB64CfF03f254e4015C4F705C3F3C834400",
},
multisig: {
default: 0,
mainnet: "0x7A65824d74B0C20730B6eE4929ABcc41Cbe843Aa",
ethereum: "0x7A65824d74B0C20730B6eE4929ABcc41Cbe843Aa",
optimism: "0xC0d6Bc5d052d1e74523AD79dD5A954276c9286D3",
goerli: "0x1801f5EAeAbA3fD02cBF4b7ED1A7b58AD84C0705",
},
Expand Down Expand Up @@ -94,7 +94,7 @@ export default {
},
},
DAI: {
networks: ["mainnet", "goerli"],
networks: ["ethereum", "goerli"],
adjustFactor: 0.9,
floatingCurve: { a: 1.7852e-2, b: -2.789e-3, maxUtilization: 1.003568501 },
fixedCurve: { a: 3.6909e-1, b: -3.3415e-1, maxUtilization: 1.02766986 },
Expand All @@ -113,12 +113,12 @@ export default {
},
},
WBTC: {
networks: ["mainnet", "goerli"],
networks: ["ethereum", "goerli"],
adjustFactor: 0.85,
floatingCurve: { a: 3.6184e-2, b: -1.5925e-2, maxUtilization: 1.007213882 },
fixedCurve: { a: 3.697e-1, b: -3.497e-1, maxUtilization: 1.000007768 },
overrides: {
mainnet: { priceFeed: "double" },
ethereum: { priceFeed: "double" },
goerli: { priceFeed: "double" },
},
},
Expand Down Expand Up @@ -174,7 +174,7 @@ export default {
{ assets: ["USDC", "wstETH"], fee: 0.05 },
],
},
mainnet: {
ethereum: {
uniswapFees: [
{ assets: ["WETH", "DAI"], fee: 0.05 },
{ assets: ["USDC", "DAI"], fee: 0.01 },
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"coverage:hardhat": "hardhat coverage",
"coverage:foundry:snapshot": "forge snapshot --no-match-test testFuzz --check",
"coverage:foundry:fuzzer": "FOUNDRY_PROFILE=production forge test --match-test testFuzz",
"deploy:mainnet": "hardhat --network mainnet deploy",
"deploy:ethereum": "hardhat --network ethereum deploy",
"deploy:goerli": "hardhat --network goerli deploy",
"postinstall": "run-s --continue-on-error postinstall:** || cd .",
"postinstall:foundry": "forge install",
Expand Down

0 comments on commit 04865b1

Please sign in to comment.