-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validate Cointag is created with valid uniswapv3 pool (#992)
# Add Uniswap V3 Pool Validation ## Description This PR adds a simple validation to ensure that pools used in Cointags are legitimate Uniswap V3 pools by verifying they implement the `fee()` function. ## Changes - Added `NotUniswapV3Pool` error to `ICointag` interface - Added pool validation in `CointagImpl.initialize()` - Added test case for non-Uniswap V3 pool rejection Upgrade: - base: https://ourzora.github.io/smol-safe/#/safe/8453/0x004d6611884B4A661749B64b2ADc78505c3e1AB3/new?targets=0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F&calldatas=0x4f1ef2860000000000000000000000001111cfc7a0e39e17c4c2e7ca737b5e3b19b8c88100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000&values=0 - zora: https://ourzora.github.io/smol-safe/#/safe/7777777/0xdEA20c96253dc2d64897D2b8d27A8d935dE74955/new?targets=0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F&calldatas=0x4f1ef286000000000000000000000000cce57dfe2cb128a18ef970e6547bb62dd47b181400000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000&values=0
- Loading branch information
Showing
8 changed files
with
32 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"COINTAG": "0x264b731e40691Da5B40aA63AC5c3B7F7DAafA721", | ||
"COINTAG": "0xe72B3547c80C6b7149995bc89918a834d155f378", | ||
"COINTAG_FACTORY": "0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F", | ||
"COINTAG_FACTORY_IMPL": "0x3764bd00B291c79Ee8912208e279C3Db8A7b89c7", | ||
"COINTAG_VERSION": "0.1.1", | ||
"COINTAG_FACTORY_IMPL": "0xcCe57DFe2cb128a18EF970e6547bB62dd47B1814", | ||
"COINTAG_VERSION": "0.1.2", | ||
"UPGRADE_GATE": "0xa1B8447527B993CAbe73B1f3d3d36FC96bABA037" | ||
} |
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,7 +1,7 @@ | ||
{ | ||
"COINTAG": "0x6ec25a679DA11E3a91Edf6a2ffB62D1906075925", | ||
"COINTAG": "0x1585E6FEb5da8AEA107290596F747f81522123dE", | ||
"COINTAG_FACTORY": "0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F", | ||
"COINTAG_FACTORY_IMPL": "0x68D5a36Af02D303771947C9E55FcfD8998eC769D", | ||
"COINTAG_VERSION": "0.1.1", | ||
"COINTAG_FACTORY_IMPL": "0x1111cfc7A0E39e17C4C2E7cA737B5e3B19b8c881", | ||
"COINTAG_VERSION": "0.1.2", | ||
"UPGRADE_GATE": "0x2383770929F8d56e314A449eC5f6812dE27245E6" | ||
} |
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