Skip to content

Commit

Permalink
Show addresses & transaction for each evmVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
- committed Oct 8, 2023
1 parent 32bfd87 commit ca5675c
Show file tree
Hide file tree
Showing 4 changed files with 408 additions and 244 deletions.
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,14 @@
/node_modules/
/output/

.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

# Swap the comments on the following lines if you don't wish to use zero-installs
# Documentation here: https://yarnpkg.com/features/zero-installs
#!.yarn/cache
.pnp.*
23 changes: 19 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,33 @@ Between the use of CREATE2 opcode and the one-time-use-account for the deployer,
----

### Proxy Address
#### If `evmVersion` = `shanghai`
```
0x81ff04d520c0bf78f3cefdb2bb2c09cf37258836
0xaf45f86eb0bbf0536fa770b699b806f22496d875
```
#### If `evmVersion` = `paris`
```
0xbf53a2647649ccd539e8f7e6864447bb7fb14ada
```

### Deployment Transaction
#### If `evmVersion` = `shanghai`
```
0xf8858085174876e800830186a08080b4602a80600a5f395ff3fe5f33815280356020526034600c20601f19360180602084378234f5908115602757526014600cf35b80fd1ba02222222222222222222222222222222222222222222222222222222222222222a02222222222222222222222222222222222222222222222222222222222222222
```
0xf8848085174876e800830186a08080b3602980600a5f395ff3fe5f338152803560205260408120601f19360180602084378234f5908115602657526014600cf35b80fd1ba02222222222222222222222222222222222222222222222222222222222222222a02222222222222222222222222222222222222222222222222222222222222222
#### If `evmVersion` = `paris`
```
0xf8888085174876e800830186a08080b7602b80600c6000396000f3fe600033815280356020526034600c20601f19360180602084378234f5908115602857526014600cf35b80fd1ba02222222222222222222222222222222222222222222222222222222222222222a02222222222222222222222222222222222222222222222222222222222222222
```

### Deployment Signer Address
#### If `evmVersion` = `shanghai`
```
0x790bec4474aff8686ab85225584988f9622efff5
```
#### If `evmVersion` = `paris`
```
54b4fe55397a67190f2470ad0bfa2d10af0e319c
0x3c1af275c75fb2d5556cf85bcfed36bfc2552890
```

### Deployment Gas Price
Expand All @@ -56,4 +71,4 @@ Between the use of CREATE2 opcode and the one-time-use-account for the deployer,
100000
```

**Note:** The actual gas used is 62,048, but that can change if the cost of opcodes changes. To avoid having to move the proxy to a different address, we opted to give excess gas. Given the gas price, this may result in notable expenses, but since this only needs to be deployed once per chain that is acceptable.
**Note:** The actual gas used is 62,264, but that can change if the cost of opcodes changes. To avoid having to move the proxy to a different address, we opted to give excess gas. Given the gas price, this may result in notable expenses, but since this only needs to be deployed once per chain that is acceptable.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@SKYBITDev3/deterministic-deployment-proxy",
"description": "An Ethereum proxy contract that can be used for deploying contracts to a deterministic address on any chain.",
"version": "2.1.0",
"version": "2.2.0",
"license": "Unlicense",
"repository": {
"type": "git",
Expand Down
Loading

0 comments on commit ca5675c

Please sign in to comment.