@zoralabs/coins 0.6.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,13 @@
1
1
 
2
- > @zoralabs/coins@0.6.0 build /home/runner/work/zora-protocol-private/zora-protocol-private/packages/coins
2
+ > @zoralabs/coins@0.6.1 build /home/runner/work/zora-protocol-private/zora-protocol-private/packages/coins
3
3
  > pnpm run wagmi:generate && pnpm run copy-abis && pnpm run prettier:write && tsup
4
4
 
5
5
 
6
- > @zoralabs/coins@0.6.0 wagmi:generate /home/runner/work/zora-protocol-private/zora-protocol-private/packages/coins
6
+ > @zoralabs/coins@0.6.1 wagmi:generate /home/runner/work/zora-protocol-private/zora-protocol-private/packages/coins
7
7
  > FOUNDRY_PROFILE=dev forge build && wagmi generate && pnpm exec rename-generated-abi-casing ./package/wagmiGenerated.ts
8
8
 
9
- Compiling 93 files with Solc 0.8.28
10
- Solc 0.8.28 finished in 106.36s
9
+ Compiling 94 files with Solc 0.8.28
10
+ Solc 0.8.28 finished in 108.30s
11
11
  Compiler run successful with warnings:
12
12
  Warning (9302): Return value of low-level calls not used.
13
13
  --> test/Coin.t.sol:527:9:
@@ -15,6 +15,12 @@ Warning (9302): Return value of low-level calls not used.
15
15
  527 | address(coin).call{value: 1 ether}("");
16
16
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
17
17
 
18
+ Warning (2072): Unused local variable.
19
+ --> script/UpgradeCoinImpl.sol:14:9:
20
+ |
21
+ 14 | DeterministicDeployerAndCaller deployer = createOrGetDeployerAndCaller();
22
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
23
+
18
24
  Warning (2072): Unused local variable.
19
25
  --> test/Coin.t.sol:446:10:
20
26
  |
@@ -37,41 +43,42 @@ Warning (2072): Unused local variable.
37
43
  ✔ Writing to package/wagmiGenerated.ts
38
44
  🔄 Processing 1 file(s) to replace 'Abi' with 'ABI'...
39
45
  📝 Processing ./package/wagmiGenerated.ts...
40
- ✅ Updated ./package/wagmiGenerated.ts (2 replacements)
46
+ ✅ Updated ./package/wagmiGenerated.ts (4 replacements)
41
47
  ✨ All files processed successfully!
42
48
 
43
- > @zoralabs/coins@0.6.0 copy-abis /home/runner/work/zora-protocol-private/zora-protocol-private/packages/coins
49
+ > @zoralabs/coins@0.6.1 copy-abis /home/runner/work/zora-protocol-private/zora-protocol-private/packages/coins
44
50
  > pnpm exec bundle-abis
45
51
 
46
52
 
47
- > @zoralabs/coins@0.6.0 prettier:write /home/runner/work/zora-protocol-private/zora-protocol-private/packages/coins
53
+ > @zoralabs/coins@0.6.1 prettier:write /home/runner/work/zora-protocol-private/zora-protocol-private/packages/coins
48
54
  > prettier --write 'src/**/*.sol' 'test/**/*.sol' 'script/**/*.sol'
49
55
 
50
- src/Coin.sol 1610ms (unchanged)
51
- src/interfaces/ICoin.sol 66ms (unchanged)
52
- src/interfaces/ICoinComments.sol 8ms (unchanged)
56
+ src/Coin.sol 1595ms (unchanged)
57
+ src/interfaces/ICoin.sol 75ms (unchanged)
58
+ src/interfaces/ICoinComments.sol 5ms (unchanged)
53
59
  src/interfaces/IERC7572.sol 4ms (unchanged)
54
- src/interfaces/INonfungiblePositionManager.sol 19ms (unchanged)
55
- src/interfaces/IProtocolRewards.sol 14ms (unchanged)
60
+ src/interfaces/INonfungiblePositionManager.sol 30ms (unchanged)
61
+ src/interfaces/IProtocolRewards.sol 8ms (unchanged)
56
62
  src/interfaces/ISwapRouter.sol 6ms (unchanged)
57
- src/interfaces/IUniswapV3Pool.sol 14ms (unchanged)
58
- src/interfaces/IUniswapV3SwapCallback.sol 7ms (unchanged)
59
- src/interfaces/IWETH.sol 16ms (unchanged)
63
+ src/interfaces/IUniswapV3Pool.sol 8ms (unchanged)
64
+ src/interfaces/IUniswapV3SwapCallback.sol 5ms (unchanged)
65
+ src/interfaces/IWETH.sol 7ms (unchanged)
60
66
  src/interfaces/IZoraFactory.sol 11ms (unchanged)
61
- src/proxy/ZoraFactory.sol 30ms (unchanged)
62
- src/utils/CoinConstants.sol 10ms (unchanged)
63
- src/utils/MultiOwnable.sol 223ms (unchanged)
64
- src/utils/TickMath.sol 417ms (unchanged)
65
- src/version/ContractVersionBase.sol 7ms (unchanged)
66
- src/ZoraFactoryImpl.sol 234ms (unchanged)
67
- test/Coin.t.sol 1368ms (unchanged)
68
- test/Factory.t.sol 470ms (unchanged)
69
- test/MultiOwnable.t.sol 280ms (unchanged)
70
- test/utils/BaseTest.sol 238ms (unchanged)
71
- test/utils/ProtocolRewards.sol 1003ms (unchanged)
72
- script/CoinsDeployerBase.sol 96ms (unchanged)
73
- script/Deploy.s.sol 12ms (unchanged)
74
- script/GenerateDeterministicParams.s.sol 54ms (unchanged)
67
+ src/proxy/ZoraFactory.sol 23ms (unchanged)
68
+ src/utils/CoinConstants.sol 8ms (unchanged)
69
+ src/utils/MultiOwnable.sol 236ms (unchanged)
70
+ src/utils/TickMath.sol 365ms (unchanged)
71
+ src/version/ContractVersionBase.sol 6ms (unchanged)
72
+ src/ZoraFactoryImpl.sol 190ms (unchanged)
73
+ test/Coin.t.sol 950ms (unchanged)
74
+ test/Factory.t.sol 395ms (unchanged)
75
+ test/MultiOwnable.t.sol 429ms (unchanged)
76
+ test/utils/BaseTest.sol 304ms (unchanged)
77
+ test/utils/ProtocolRewards.sol 967ms (unchanged)
78
+ script/CoinsDeployerBase.sol 134ms (unchanged)
79
+ script/Deploy.s.sol 13ms (unchanged)
80
+ script/GenerateDeterministicParams.s.sol 44ms (unchanged)
81
+ script/UpgradeCoinImpl.sol 13ms (unchanged)
75
82
  CLI Building entry: package/index.ts
76
83
  CLI Using tsconfig: tsconfig.json
77
84
  CLI tsup v7.3.0
@@ -80,9 +87,9 @@ CLI Target: es2021
80
87
  CLI Cleaning output folder
81
88
  CJS Build start
82
89
  ESM Build start
83
- ESM dist/index.js 31.00 KB
84
- ESM dist/index.js.map 56.45 KB
85
- ESM ⚡️ Build success in 47ms
86
- CJS dist/index.cjs 32.06 KB
87
- CJS dist/index.cjs.map 56.56 KB
88
- CJS ⚡️ Build success in 49ms
90
+ CJS dist/index.cjs 34.70 KB
91
+ CJS dist/index.cjs.map 61.94 KB
92
+ CJS ⚡️ Build success in 44ms
93
+ ESM dist/index.js 33.49 KB
94
+ ESM dist/index.js.map 61.82 KB
95
+ ESM ⚡️ Build success in 44ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @zoralabs/coins
2
2
 
3
+ ## 0.6.1
4
+
5
+ ### Patch Changes
6
+
7
+ - b9f717db: Export IUniswapV3Pool interface
8
+
3
9
  ## 0.6.0
4
10
 
5
11
  ### Minor Changes
package/abis/IERC165.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "supportsInterface",
5
5
  "inputs": [
6
6
  {
7
- "name": "interfaceID",
7
+ "name": "interfaceId",
8
8
  "type": "bytes4",
9
9
  "internalType": "bytes4"
10
10
  }
package/abis/IERC20.json CHANGED
@@ -33,7 +33,7 @@
33
33
  "internalType": "address"
34
34
  },
35
35
  {
36
- "name": "amount",
36
+ "name": "value",
37
37
  "type": "uint256",
38
38
  "internalType": "uint256"
39
39
  }
@@ -66,45 +66,6 @@
66
66
  ],
67
67
  "stateMutability": "view"
68
68
  },
69
- {
70
- "type": "function",
71
- "name": "decimals",
72
- "inputs": [],
73
- "outputs": [
74
- {
75
- "name": "",
76
- "type": "uint8",
77
- "internalType": "uint8"
78
- }
79
- ],
80
- "stateMutability": "view"
81
- },
82
- {
83
- "type": "function",
84
- "name": "name",
85
- "inputs": [],
86
- "outputs": [
87
- {
88
- "name": "",
89
- "type": "string",
90
- "internalType": "string"
91
- }
92
- ],
93
- "stateMutability": "view"
94
- },
95
- {
96
- "type": "function",
97
- "name": "symbol",
98
- "inputs": [],
99
- "outputs": [
100
- {
101
- "name": "",
102
- "type": "string",
103
- "internalType": "string"
104
- }
105
- ],
106
- "stateMutability": "view"
107
- },
108
69
  {
109
70
  "type": "function",
110
71
  "name": "totalSupply",
@@ -128,7 +89,7 @@
128
89
  "internalType": "address"
129
90
  },
130
91
  {
131
- "name": "amount",
92
+ "name": "value",
132
93
  "type": "uint256",
133
94
  "internalType": "uint256"
134
95
  }
@@ -157,7 +118,7 @@
157
118
  "internalType": "address"
158
119
  },
159
120
  {
160
- "name": "amount",
121
+ "name": "value",
161
122
  "type": "uint256",
162
123
  "internalType": "uint256"
163
124
  }
@@ -221,4 +182,40 @@
221
182
  ],
222
183
  "anonymous": false
223
184
  }
185
+ ]pe": "address"
186
+ },
187
+ {
188
+ "name": "value",
189
+ "type": "uint256",
190
+ "indexed": false,
191
+ "internalType": "uint256"
192
+ }
193
+ ],
194
+ "anonymous": false
195
+ },
196
+ {
197
+ "type": "event",
198
+ "name": "Transfer",
199
+ "inputs": [
200
+ {
201
+ "name": "from",
202
+ "type": "address",
203
+ "indexed": true,
204
+ "internalType": "address"
205
+ },
206
+ {
207
+ "name": "to",
208
+ "type": "address",
209
+ "indexed": true,
210
+ "internalType": "address"
211
+ },
212
+ {
213
+ "name": "value",
214
+ "type": "uint256",
215
+ "indexed": false,
216
+ "internalType": "uint256"
217
+ }
218
+ ],
219
+ "anonymous": false
220
+ }
224
221
  ]
@@ -43,6 +43,19 @@
43
43
  "outputs": [],
44
44
  "stateMutability": "payable"
45
45
  },
46
+ {
47
+ "type": "event",
48
+ "name": "Initialized",
49
+ "inputs": [
50
+ {
51
+ "name": "version",
52
+ "type": "uint64",
53
+ "indexed": false,
54
+ "internalType": "uint64"
55
+ }
56
+ ],
57
+ "anonymous": false
58
+ },
46
59
  {
47
60
  "type": "event",
48
61
  "name": "Upgraded",
@@ -90,21 +103,7 @@
90
103
  },
91
104
  {
92
105
  "type": "error",
93
- "name": "UUPSUnauthorizedCallContext",
94
- "inputs": []
95
- },
96
- {
97
- "type": "error",
98
- "name": "UUPSUnsupportedProxiableUUID",
99
- "inputs": [
100
- {
101
- "name": "slot",
102
- "type": "bytes32",
103
- "internalType": "bytes32"
104
- }
105
- ]
106
- }
107
- ]ion",
106
+ "name": "InvalidInitialization",
108
107
  "inputs": []
109
108
  },
110
109
  {
@@ -0,0 +1,9 @@
1
+ [
2
+ {
3
+ "type": "function",
4
+ "name": "run",
5
+ "inputs": [],
6
+ "outputs": [],
7
+ "stateMutability": "nonpayable"
8
+ }
9
+ ]
@@ -3,4 +3,4 @@
3
3
  "COIN_VERSION": "0.6.0",
4
4
  "ZORA_FACTORY": "0x777777751622c0d3258f214F9DF38E35BF45baF3",
5
5
  "ZORA_FACTORY_IMPL": "0x914f448760938Ba34aBf9bC992B7Fb7553B309eA"
6
- }
6
+ }
@@ -3,4 +3,4 @@
3
3
  "COIN_VERSION": "0.6.0",
4
4
  "ZORA_FACTORY": "0x777777751622c0d3258f214F9DF38E35BF45baF3",
5
5
  "ZORA_FACTORY_IMPL": "0xFC6d77d32d2545f2b08F7ffFb6E99E472ACa1cA3"
6
- }
6
+ }
@@ -2,4 +2,4 @@
2
2
  "creationCode": "0x610180604052346101a1576040516100186040826101a5565b601e815260208101907f44657465726d696e69737469634465706c6f796572416e6443616c6c657200008252604051916100536040846101a5565b600183526020830191603160f81b835261006c816101c8565b610120526100798461035e565b61014052519020918260e05251902080610100524660a0526040519060208201927f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f8452604083015260608201524660808201523060a082015260a081526100e260c0826101a5565b5190206080523060c05260405161046b80820191906001600160401b0383118284101761018d575f928291610fbd8339039082f580156101825761016052604051610b269081610497823960805181610980015260a05181610a3d015260c0518161094a015260e051816109cf015261010051816109f50152610120518161025e0152610140518161028701526101605181818161035301526104bf0152f35b6040513d5f823e3d90fd5b634e487b7160e01b5f52604160045260245ffd5b5f80fd5b601f909101601f19168101906001600160401b0382119082101761018d57604052565b908151602081105f14610242575090601f8151116102025760208151910151602082106101f3571790565b5f198260200360031b1b161790565b604460209160405192839163305a27a960e01b83528160048401528051918291826024860152018484015e5f828201840152601f01601f19168101030190fd5b6001600160401b03811161018d575f54600181811c91168015610354575b602082101461034057601f811161030e575b50602092601f82116001146102af57928192935f926102a4575b50508160011b915f199060031b1c1916175f5560ff90565b015190505f8061028c565b601f198216935f8052805f20915f5b8681106102f657508360019596106102de575b505050811b015f5560ff90565b01515f1960f88460031b161c191690555f80806102d1565b919260206001819286850151815501940192016102be565b5f8052601f60205f20910160051c810190601f830160051c015b8181106103355750610272565b5f8155600101610328565b634e487b7160e01b5f52602260045260245ffd5b90607f1690610260565b908151602081105f14610389575090601f8151116102025760208151910151602082106101f3571790565b6001600160401b03811161018d57600154600181811c9116801561048c575b602082101461034057601f8111610459575b50602092601f82116001146103f857928192935f926103ed575b50508160011b915f199060031b1c19161760015560ff90565b015190505f806103d4565b601f1982169360015f52805f20915f5b8681106104415750836001959610610429575b505050811b0160015560ff90565b01515f1960f88460031b161c191690555f808061041b565b91926020600181928685015181550194019201610408565b60015f52601f60205f20910160051c810190601f830160051c015b81811061048157506103ba565b5f8155600101610474565b90607f16906103a856fe60806040526004361015610011575f80fd5b5f3560e01c806325746d39146103825780637db68ec41461033e57806384b0196e1461024657806386881034146101cf578063e3867c2914610105578063eae49c87146100d25763f9baed1814610066575f80fd5b346100ce5760603660031901126100ce5760243567ffffffffffffffff81116100ce57610097903690600401610449565b60443567ffffffffffffffff81116100ce576020916100bd6100c6923690600401610449565b906004356104f6565b604051908152f35b5f80fd5b346100ce575f3660031901126100ce576101016100ed6104b3565b60405191829160208352602083019061048f565b0390f35b60a03660031901126100ce5760043567ffffffffffffffff81116100ce57610131903690600401610449565b6024359060443567ffffffffffffffff81116100ce57610155903690600401610449565b60643567ffffffffffffffff81116100ce57610175903690600401610449565b608435916001600160a01b03831683036100ce57846101b8816101b36101aa6101bd986101a5888860209d6104f6565b610899565b909291926108d3565b61057a565b6105a8565b6040516001600160a01b039091168152f35b346100ce5760203660031901126100ce5760043567ffffffffffffffff81116100ce5760206100ed610208610101933690600401610449565b82806102126104b3565b6040519584879551918291018487015e8401908282015f8152815193849201905e01015f815203601f1981018352826103f7565b346100ce575f3660031901126100ce576102e26102827f00000000000000000000000000000000000000000000000000000000000000006106a6565b6102ab7f00000000000000000000000000000000000000000000000000000000000000006107c9565b60206102f0604051926102be83856103f7565b5f84525f368137604051958695600f60f81b875260e08588015260e087019061048f565b90858203604087015261048f565b4660608501523060808501525f60a085015283810360c08501528180845192838152019301915f5b82811061032757505050500390f35b835185528695509381019392810192600101610318565b346100ce575f3660031901126100ce576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b60803660031901126100ce5760043560243567ffffffffffffffff81116100ce576103b1903690600401610449565b9060443567ffffffffffffffff81116100ce576103d2903690600401610449565b606435906001600160a01b03821682036100ce57602093836101b86101bd953361057a565b90601f8019910116810190811067ffffffffffffffff82111761041957604052565b634e487b7160e01b5f52604160045260245ffd5b67ffffffffffffffff811161041957601f01601f191660200190565b81601f820112156100ce578035906104608261042d565b9261046e60405194856103f7565b828452602083830101116100ce57815f926020809301838601378301015290565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b60405160018060a01b037f0000000000000000000000000000000000000000000000000000000000000000166020820152602081526104f36040826103f7565b90565b90916042926020815191012090602081519101206040519160208301937fdc039731015eea17e316614c8f3af7dca5fc4664683c8e8f2adc4e0ff71a7c9285526040840152606083015260808201526080815261055460a0826103f7565b51902061055f610947565b906040519161190160f01b8352600283015260228201522090565b6001600160a01b0316606082901c819003610593575050565b632696d3f160e11b5f5260045260245260445ffd5b919290805191600b602083019384206040519060408201528560208201523081520160ff8153605590206001600160a01b0390811691168181036106915750508051156106825751905ff5906001600160a01b03821615610673575f816020829351910182855af13d1561066b573d906106218261042d565b9161062f60405193846103f7565b82523d5f602084013e5b15610642575090565b60405163a5fa8d2b60e01b81526020600482015290819061066790602483019061048f565b0390fd5b606090610639565b633a0ba96160e11b5f5260045ffd5b631328927760e21b5f5260045ffd5b6312ae30e560e01b5f5260045260245260445ffd5b60ff81146106ec5760ff811690601f82116106dd57604051916106ca6040846103f7565b6020808452838101919036833783525290565b632cd44ac360e21b5f5260045ffd5b506040515f5f548060011c91600182169182156107bf575b6020841083146107ab57838552849290811561078c575060011461072f575b6104f3925003826103f7565b505f80805290917f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5635b8183106107705750509060206104f392820101610723565b6020919350806001915483858801015201910190918392610758565b602092506104f394915060ff191682840152151560051b820101610723565b634e487b7160e01b5f52602260045260245ffd5b92607f1692610704565b60ff81146107ed5760ff811690601f82116106dd57604051916106ca6040846103f7565b506040515f6001548060011c916001821691821561088f575b6020841083146107ab57838552849290811561078c5750600114610830576104f3925003826103f7565b5060015f90815290917fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf65b8183106108735750509060206104f392820101610723565b602091935080600191548385880101520191019091839261085b565b92607f1692610806565b81519190604183036108c9576108c29250602082015190606060408401519301515f1a90610a63565b9192909190565b50505f9160029190565b600481101561093357806108e5575050565b600181036108fc5763f645eedf60e01b5f5260045ffd5b60028103610917575063fce698f760e01b5f5260045260245ffd5b6003146109215750565b6335e2f38360e21b5f5260045260245ffd5b634e487b7160e01b5f52602160045260245ffd5b307f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03161480610a3a575b156109a2577f000000000000000000000000000000000000000000000000000000000000000090565b60405160208101907f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f82527f000000000000000000000000000000000000000000000000000000000000000060408201527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260a08152610a3460c0826103f7565b51902090565b507f00000000000000000000000000000000000000000000000000000000000000004614610979565b91907f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08411610ae5579160209360809260ff5f9560405194855216868401526040830152606082015282805260015afa15610ada575f516001600160a01b03811615610ad057905f905f90565b505f906001905f90565b6040513d5f823e3d90fd5b5050505f916003919056fea264697066735822122020d4cc29643fbc137d039c78a8d78f52fd9a09b7daa1a5943440ff9a3e8ea56f64736f6c634300081c003360c08060405234603257306080523360a0526104349081610037823960805181818160ae015261018b015260a051815050f35b5f80fdfe60806040526004361015610011575f80fd5b5f3560e01c80634f1ef2861461010257806352d1902d1461009c5763ad3cb1cc1461003a575f80fd5b34610098575f366003190112610098576040805190610059818361032e565b600582526020820191640352e302e360dc1b83528151928391602083525180918160208501528484015e5f828201840152601f01601f19168101030190f35b5f80fd5b34610098575f366003190112610098577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031630036100f35760206040515f5160206103df5f395f51905f528152f35b63703e46dd60e11b5f5260045ffd5b6040366003190112610098576004356001600160a01b03811690818103610098576024359067ffffffffffffffff821161009857366023830112156100985781600401359161015083610364565b9261015e604051948561032e565b8084526020840191366024838301011161009857815f926024602093018537850101526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630811490811561030c575b506100f3576040516352d1902d60e01b8152602081600481885afa5f91816102d8575b506101f15784634c9c8ce360e01b5f5260045260245ffd5b805f5160206103df5f395f51905f528692036102c65750823b156102b4575f5160206103df5f395f51905f5280546001600160a01b031916821790557fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b5f80a282511561029b575f8091610291945190845af43d15610293573d9161027583610364565b92610283604051948561032e565b83523d5f602085013e610380565b005b606091610380565b505050346102a557005b63b398979f60e01b5f5260045ffd5b634c9c8ce360e01b5f5260045260245ffd5b632a87526960e21b5f5260045260245ffd5b9091506020813d602011610304575b816102f46020938361032e565b81010312610098575190866101d9565b3d91506102e7565b5f5160206103df5f395f51905f52546001600160a01b031614159050856101b6565b90601f8019910116810190811067ffffffffffffffff82111761035057604052565b634e487b7160e01b5f52604160045260245ffd5b67ffffffffffffffff811161035057601f01601f191660200190565b906103a4575080511561039557805190602001fd5b630a12f52160e11b5f5260045ffd5b815115806103d5575b6103b5575090565b639996b31560e01b5f9081526001600160a01b0391909116600452602490fd5b50803b156103ad56fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbca264697066735822122005f8ca25544854f7fe07eac3cac751ac5b35b9a8529e80352f19449570409c3364736f6c634300081c0033",
3
3
  "deployedAddress": "0xCB571Eaa13A8276B1Ed44348291dD80b5BC360dA",
4
4
  "salt": "0x0000000000000000000000000000000000000000000000000000000000000000"
5
- }
5
+ }
@@ -5,4 +5,4 @@
5
5
  "deployedAddress": "0x777777751622c0d3258f214F9DF38E35BF45baF3",
6
6
  "deploymentCaller": "0x680E26B472d8cae8148ee21FCAd6A69D73766436",
7
7
  "salt": "0x680e26b472d8cae8148ee21fcad6a69d73766436f27a901327372bd2be5d38f6"
8
- }
8
+ }
package/dist/index.cjs CHANGED
@@ -21,7 +21,10 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  var package_exports = {};
22
22
  __export(package_exports, {
23
23
  coinABI: () => coinABI,
24
- zoraFactoryImplABI: () => zoraFactoryImplABI
24
+ iUniswapV3PoolABI: () => iUniswapV3PoolABI,
25
+ zoraFactoryImplABI: () => zoraFactoryImplABI,
26
+ zoraFactoryImplAddress: () => zoraFactoryImplAddress,
27
+ zoraFactoryImplConfig: () => zoraFactoryImplConfig
25
28
  });
26
29
  module.exports = __toCommonJS(package_exports);
27
30
 
@@ -977,6 +980,82 @@ var coinABI = [
977
980
  { type: "error", inputs: [], name: "SlippageBoundsExceeded" },
978
981
  { type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" }
979
982
  ];
983
+ var iUniswapV3PoolABI = [
984
+ {
985
+ type: "function",
986
+ inputs: [],
987
+ name: "feeGrowthGlobal0X128",
988
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
989
+ stateMutability: "view"
990
+ },
991
+ {
992
+ type: "function",
993
+ inputs: [],
994
+ name: "feeGrowthGlobal1X128",
995
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
996
+ stateMutability: "view"
997
+ },
998
+ {
999
+ type: "function",
1000
+ inputs: [],
1001
+ name: "slot0",
1002
+ outputs: [
1003
+ {
1004
+ name: "slot0",
1005
+ internalType: "struct IUniswapV3Pool.Slot0",
1006
+ type: "tuple",
1007
+ components: [
1008
+ { name: "sqrtPriceX96", internalType: "uint160", type: "uint160" },
1009
+ { name: "tick", internalType: "int24", type: "int24" },
1010
+ { name: "observationIndex", internalType: "uint16", type: "uint16" },
1011
+ {
1012
+ name: "observationCardinality",
1013
+ internalType: "uint16",
1014
+ type: "uint16"
1015
+ },
1016
+ {
1017
+ name: "observationCardinalityNext",
1018
+ internalType: "uint16",
1019
+ type: "uint16"
1020
+ },
1021
+ { name: "feeProtocol", internalType: "uint8", type: "uint8" },
1022
+ { name: "unlocked", internalType: "bool", type: "bool" }
1023
+ ]
1024
+ }
1025
+ ],
1026
+ stateMutability: "view"
1027
+ },
1028
+ {
1029
+ type: "function",
1030
+ inputs: [
1031
+ { name: "recipient", internalType: "address", type: "address" },
1032
+ { name: "zeroForOne", internalType: "bool", type: "bool" },
1033
+ { name: "amountSpecified", internalType: "int256", type: "int256" },
1034
+ { name: "sqrtPriceLimitX96", internalType: "uint160", type: "uint160" },
1035
+ { name: "data", internalType: "bytes", type: "bytes" }
1036
+ ],
1037
+ name: "swap",
1038
+ outputs: [
1039
+ { name: "amount0", internalType: "int256", type: "int256" },
1040
+ { name: "amount1", internalType: "int256", type: "int256" }
1041
+ ],
1042
+ stateMutability: "nonpayable"
1043
+ },
1044
+ {
1045
+ type: "function",
1046
+ inputs: [],
1047
+ name: "token0",
1048
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1049
+ stateMutability: "nonpayable"
1050
+ },
1051
+ {
1052
+ type: "function",
1053
+ inputs: [],
1054
+ name: "token1",
1055
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1056
+ stateMutability: "nonpayable"
1057
+ }
1058
+ ];
980
1059
  var zoraFactoryImplABI = [
981
1060
  {
982
1061
  type: "constructor",
@@ -1220,9 +1299,20 @@ var zoraFactoryImplABI = [
1220
1299
  name: "UUPSUnsupportedProxiableUUID"
1221
1300
  }
1222
1301
  ];
1302
+ var zoraFactoryImplAddress = {
1303
+ 8453: "0x777777751622c0d3258f214F9DF38E35BF45baF3",
1304
+ 84532: "0x777777751622c0d3258f214F9DF38E35BF45baF3"
1305
+ };
1306
+ var zoraFactoryImplConfig = {
1307
+ address: zoraFactoryImplAddress,
1308
+ abi: zoraFactoryImplABI
1309
+ };
1223
1310
  // Annotate the CommonJS export names for ESM import in node:
1224
1311
  0 && (module.exports = {
1225
1312
  coinABI,
1226
- zoraFactoryImplABI
1313
+ iUniswapV3PoolABI,
1314
+ zoraFactoryImplABI,
1315
+ zoraFactoryImplAddress,
1316
+ zoraFactoryImplConfig
1227
1317
  });
1228
1318
  //# sourceMappingURL=index.cjs.map