-
-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: mapping "salts" to "getNextSalt" and "nextSalts"
chore: temporarily disable loading of deploy tasks docs: add requirements in natspec of "deploy" and "deployFor" functions docs: document all params in natspec of constant functions docs: rewrite top-level natspec for IPRBProxyRegistry feat: mapping "lastSalts" and "getLastSalt" in PRBProxyRegistry feat: function "getProxy" in PRBProxyRegistry fix: load proper address for PRBProxyFactory in "dist/addresses-computeProxyAddress" refactor: emit "PRBProxyRegistry__ProxyAlreadyExists" custom error in PRBProxyRegistry refactor: mapping "_isProxy" to "proxies" in PRBProxyFactory refactor: var "salt" to "finalSalt" test: fix order of context blocks test: new custom error "PRBProxyRegistry__ProxyAlreadyExists" test: new helper constant SALT_TWO test: refactor "test/shared/create2-computeProxyAddress" to load next salt from contract test: update tests to conform to latest contracts test: when the deployer interacts with the factory while interacting with the registry
- Loading branch information
Showing
15 changed files
with
199 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
// See https://github.com/Zoltu/deterministic-deployment-proxy | ||
export const DETERMINISTIC_DEPLOYMENT_PROXY_ADDRESS: string = "0x7A0D94F55792C434d74a40883C6ed8545E406D12"; | ||
export const SALT_ONE: string = "0x0000000000000000000000000000000000000000000000000000000000000001"; | ||
export const SALT_THREE: string = "0x0000000000000000000000000000000000000000000000000000000000000003"; | ||
export const SALT_TWO: string = "0x0000000000000000000000000000000000000000000000000000000000000002"; | ||
export const SALT_ZERO: string = "0x0000000000000000000000000000000000000000000000000000000000000000"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.