Skip to content

Commit

Permalink
Add Sepolia deployment (#27)
Browse files Browse the repository at this point in the history
Remove deprecated testnets and add sepolia deployment
  • Loading branch information
pclaesen authored May 15, 2024
1 parent ce3235e commit d39189c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ To nullify inflation attacks, `CometWrapper` maintains internal accounting of al

| Network | Base Asset | CometWrapper Address |
| -------- | ---------- | ------------------------------------------ |
| Goerli | USDC | 0x00674edDE603C5AB9A3F284B41Ef58ff31d1cd7B |
| Mumbai | USDC | 0x797D7126C35E0894Ba76043dA874095db4776035 |
| Base | USDC | 0xcCB6009A6eC62FEd3091F670c4F9DDe55A0559FE |
| Base | WETH | 0x0182621987C4C0D05685EF4E9e3F8323d58D963b |
| Sepolia | USDC | 0xC3836072018B4D590488b851d574556f2EeB895a |

## Usage

Expand Down
2 changes: 2 additions & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ remappings = [
mainnet = "${MAINNET_RPC_URL}"
base = "${BASE_RPC_URL}"
goerli = "${GOERLI_RPC_URL}"
sepolia = "${SEPOLIA_RPC_URL}"

# See more config options https://github.com/foundry-rs/foundry/tree/master/config
2 changes: 1 addition & 1 deletion script/DeployCometWrapper.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ contract DeployCometWrapper is Script {
rewardsAddr = vm.envAddress("REWARDS_ADDRESS");
proxyAdminAddr = vm.envAddress("PROXY_ADMIN_ADDRESS");
tokenName = vm.envString("TOKEN_NAME"); // Wrapped Comet WETH || Wrapped Comet USDC
tokenSymbol = vm.envString("TOKEN_SYMBOL"); // WcWETHv3 || WcUSDCv3
tokenSymbol = vm.envString("TOKEN_SYMBOL"); // wcWETHv3 || wcUSDCv3
address deployer = vm.addr(vm.envUint("DEPLOYER_PK"));

vm.startBroadcast(deployer);
Expand Down
2 changes: 1 addition & 1 deletion src/CometWrapper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ contract CometWrapper is ERC4626Upgradeable, IERC7246, CometHelpers {
}

/**
* @notice Redeems shares (Wrapped Comet) in exchange for assets (Wrapped Comet).
* @notice Redeems shares (Wrapped Comet) in exchange for assets (cTokens).
* Caller can only redeem shares from owner if they have been given allowance to.
* @param shares The amount of shares to be redeemed
* @param receiver The recipient address of the withdrawn assets
Expand Down

0 comments on commit d39189c

Please sign in to comment.