Skip to content

Commit 6516940

Browse files
committed
update base-README
1 parent 0ea02bf commit 6516940

File tree

2 files changed

+58
-10
lines changed

2 files changed

+58
-10
lines changed

README.md

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,32 @@ Note: Tags are defined in the deploy script at the end like: `func.tags = ["<tag
175175

176176
`yarn verify:goerli --license "GPL-2.0" --force-license --solc-input`
177177

178-
How to verify the BeaconProxy (for Vaults):
179-
`source .env && forge verify-contract --chain-id 5 --num-of-optimizations 800 --watch --etherscan-api-key $ETHERSCAN_API_KEY --compiler-version v0.8.15+commit.e14f2714 0xffE5d77309efd6e9391Ac14D95f2035A1e138659 lib/openzeppelin-contracts/contracts/proxy/beacon/BeaconProxy.sol:BeaconProxy --constructor-args $(cast abi-encode "constructor(address,bytes)" 0x1d552A0e6c2f680872C4a88b1e7def05F1858dF0 "")`
180-
181-
where `0xffE5d77309efd6e9391Ac14D95f2035A1e138659` = vault (proxy) address\
182-
and `0x1d552A0e6c2f680872C4a88b1e7def05F1858dF0` = vault factory
178+
- How to verify the Create2BeaconProxy (for Vaults):
179+
180+
```
181+
source .env &&
182+
forge verify-contract --chain-id 1 \
183+
0x8e42595f46e5998332F51D3267830DE982A3E59a \
184+
src/custom/proxy/Create2BeaconProxy.sol:Create2BeaconProxy \
185+
--num-of-optimizations 800 \
186+
--compiler-version v0.8.15+commit.e14f2714 \
187+
--watch \
188+
--etherscan-api-key $ETHERSCAN_API_KEY
189+
```
190+
191+
where `0x8e42595f46e5998332F51D3267830DE982A3E59a` = vault (proxy) address.
192+
193+
- How to verify the Create2BeaconProxy (for UniswapV3Pool):
194+
195+
```
196+
source .env &&
197+
forge verify-contract --chain-id 1 \
198+
0x2c2511250C3561F6E5f8999Ac777d9465E7e27FA \
199+
src/custom/proxy/Create2BeaconProxy.sol:Create2BeaconProxy \
200+
--num-of-optimizations 380 \
201+
--compiler-version v0.8.15+commit.e14f2714 \
202+
--watch \
203+
--etherscan-api-key $ETHERSCAN_API_KEY
204+
```
205+
206+
where `0x2c2511250C3561F6E5f8999Ac777d9465E7e27FA` = pool (proxy) address.

script/base-README.md

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,32 @@ Note: Tags are defined in the deploy script at the end like: `func.tags = ["<tag
158158

159159
`yarn verify:goerli --license "GPL-2.0" --force-license --solc-input`
160160

161-
How to verify the BeaconProxy (for Vaults):
162-
`source .env && forge verify-contract --chain-id 5 --num-of-optimizations 800 --watch --etherscan-api-key $ETHERSCAN_API_KEY --compiler-version v0.8.15+commit.e14f2714 0xffE5d77309efd6e9391Ac14D95f2035A1e138659 lib/openzeppelin-contracts/contracts/proxy/beacon/BeaconProxy.sol:BeaconProxy --constructor-args $(cast abi-encode "constructor(address,bytes)" 0x1d552A0e6c2f680872C4a88b1e7def05F1858dF0 "")`
163-
164-
where `0xffE5d77309efd6e9391Ac14D95f2035A1e138659` = vault (proxy) address\
165-
and `0x1d552A0e6c2f680872C4a88b1e7def05F1858dF0` = vault factory
161+
- How to verify the Create2BeaconProxy (for Vaults):
162+
163+
```
164+
source .env &&
165+
forge verify-contract --chain-id 1 \
166+
0x8e42595f46e5998332F51D3267830DE982A3E59a \
167+
src/custom/proxy/Create2BeaconProxy.sol:Create2BeaconProxy \
168+
--num-of-optimizations 800 \
169+
--compiler-version v0.8.15+commit.e14f2714 \
170+
--watch \
171+
--etherscan-api-key $ETHERSCAN_API_KEY
172+
```
173+
174+
where `0x8e42595f46e5998332F51D3267830DE982A3E59a` = vault (proxy) address.
175+
176+
- How to verify the Create2BeaconProxy (for UniswapV3Pool):
177+
178+
```
179+
source .env &&
180+
forge verify-contract --chain-id 1 \
181+
0x2c2511250C3561F6E5f8999Ac777d9465E7e27FA \
182+
src/custom/proxy/Create2BeaconProxy.sol:Create2BeaconProxy \
183+
--num-of-optimizations 380 \
184+
--compiler-version v0.8.15+commit.e14f2714 \
185+
--watch \
186+
--etherscan-api-key $ETHERSCAN_API_KEY
187+
```
188+
189+
where `0x2c2511250C3561F6E5f8999Ac777d9465E7e27FA` = pool (proxy) address.

0 commit comments

Comments
 (0)