Skip to content

Commit

Permalink
caps and deploy link
Browse files Browse the repository at this point in the history
  • Loading branch information
MishaShWoof committed Dec 11, 2024
1 parent c32e3b4 commit de0182c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
8 changes: 4 additions & 4 deletions deployments/scroll/weth/configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,31 +30,31 @@
"borrowCF": 0.9,
"liquidateCF": 0.93,
"liquidationFactor": 0.96,
"supplyCap": "0e18"
"supplyCap": "20000e18"
},
"wrsETH": {
"address": "0xa25b25548B4C98B0c7d3d27dcA5D5ca743d68b7F",
"decimals": "18",
"borrowCF": 0.88,
"liquidateCF": 0.91,
"liquidationFactor": 0.96,
"supplyCap": "0e18"
"supplyCap": "4000e18"
},
"wstETH": {
"address": "0xf610A9dfB7C89644979b4A0f27063E9e7d7Cda32",
"decimals": "18",
"borrowCF": 0.9,
"liquidateCF": 0.93,
"liquidationFactor": 0.97,
"supplyCap": "0e18"
"supplyCap": "3000e18"
},
"PufETH": {
"address": "0xc4d46E8402F476F269c379677C99F18E22Ea030e",
"decimals": "18",
"borrowCF": 0.88,
"liquidateCF": 0.91,
"liquidationFactor": 0.95,
"supplyCap": "0e18"
"supplyCap": "1000e18"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export default migration('1733443598_configurate_and_ens', {
},
];

const description = '# Initialize cWETHv3 on Scroll network\n\n## Proposal summary\n\nCompound Growth Program [AlphaGrowth] proposes the deployment of Compound III to the Scroll network. This proposal takes the governance steps recommended and necessary to initialize a Compound III WETH market on Scroll; upon execution, cWETHv3 will be ready for use. Simulations have confirmed the market’s readiness, as much as possible, using the [Comet scenario suite](https://github.com/compound-finance/comet/tree/main/scenario). The new parameters include setting the risk parameters based off of the [recommendations from Gauntlet](https://www.comp.xyz/t/add-market-eth-on-scroll/5884).\n\nFurther detailed information can be found on the corresponding [proposal pull request](https://github.com/compound-finance/comet/pull/950), [deploy market GitHub action run](<>) and [forum discussion](https://www.comp.xyz/t/add-market-eth-on-scroll/).\n\n\n## Proposal Actions\n\nThe first proposal action sends ether to the Scroll Timelock so it can be wrapped and used to seed the reserves.\n\nThe second proposal action sets the Comet configuration and deploys a new Comet implementation on Scroll. This sends the encoded `setFactory`, `setConfiguration`, `deployAndUpgradeTo` calls across the bridge to the governance receiver on Scroll. Also it wraps and transfers ether to the Comet to seed the reserves.\n\nThe third action updates the ENS TXT record `v3-official-markets` on `v3-additional-grants.compound-community-licenses.eth`, updating the official markets JSON to include the new Scroll cWETHv3 market.';
const description = '# Initialize cWETHv3 on Scroll network\n\n## Proposal summary\n\nCompound Growth Program [AlphaGrowth] proposes the deployment of Compound III to the Scroll network. This proposal takes the governance steps recommended and necessary to initialize a Compound III WETH market on Scroll; upon execution, cWETHv3 will be ready for use. Simulations have confirmed the market’s readiness, as much as possible, using the [Comet scenario suite](https://github.com/compound-finance/comet/tree/main/scenario). The new parameters include setting the risk parameters based off of the [recommendations from Gauntlet](https://www.comp.xyz/t/add-market-eth-on-scroll/5884).\n\nFurther detailed information can be found on the corresponding [proposal pull request](https://github.com/compound-finance/comet/pull/950), [deploy market GitHub action run](https://github.com/woof-software/comet/actions/runs/12286114079/job/34285577514) and [forum discussion](https://www.comp.xyz/t/add-market-eth-on-scroll/).\n\n\n## Proposal Actions\n\nThe first proposal action sends ether to the Scroll Timelock so it can be wrapped and used to seed the reserves.\n\nThe second proposal action sets the Comet configuration and deploys a new Comet implementation on Scroll. This sends the encoded `setFactory`, `setConfiguration`, `deployAndUpgradeTo` calls across the bridge to the governance receiver on Scroll. Also it wraps and transfers ether to the Comet to seed the reserves.\n\nThe third action updates the ENS TXT record `v3-official-markets` on `v3-additional-grants.compound-community-licenses.eth`, updating the official markets JSON to include the new Scroll cWETHv3 market.';
const txn = await govDeploymentManager.retry(async () => {
return trace(await governor.propose(...(await proposal(actions, description))));
}
Expand Down Expand Up @@ -182,22 +182,22 @@ export default migration('1733443598_configurate_and_ens', {
// 2.
// uncomment on on-chain proposal PR
const stateChanges = await diffState(comet, getCometConfig, preMigrationBlockNumber);
// expect(stateChanges).to.deep.equal({
// weETH: {
// supplyCap: exp(20_000, 18)
// },
// wrsETH: {
// supplyCap: exp(4_000, 18)
// },
// wstETH: {
// supplyCap: exp(3_000, 18)
// },
// PufETH: {
// supplyCap: exp(1_000, 18)
// },
// baseTrackingSupplySpeed: 0,
// baseTrackingBorrowSpeed: 0,
// });
expect(stateChanges).to.deep.equal({
weETH: {
supplyCap: exp(20_000, 18)
},
wrsETH: {
supplyCap: exp(4_000, 18)
},
wstETH: {
supplyCap: exp(3_000, 18)
},
PufETH: {
supplyCap: exp(1_000, 18)
},
baseTrackingSupplySpeed: 0,
baseTrackingBorrowSpeed: 0,
});

// 3.
const ENSResolver = await govDeploymentManager.existing(
Expand Down

0 comments on commit de0182c

Please sign in to comment.