@zoralabs/protocol-deployments 0.6.3 → 0.6.4

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.
@@ -100,7 +100,7 @@ export const autoSwapperABI = [
100
100
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
101
101
 
102
102
  /**
103
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0xc90e349360C43a0217CEF289f231C66D4748960F)
103
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0xd8CC7bCA1dE52eA788829B16E375e9B96C18D433)
104
104
  * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE)
105
105
  */
106
106
  export const buySupplyWithSwapRouterHookABI = [
@@ -128,6 +128,63 @@ export const buySupplyWithSwapRouterHookABI = [
128
128
  outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
129
129
  stateMutability: 'payable',
130
130
  },
131
+ {
132
+ type: 'function',
133
+ inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
134
+ name: 'decodeV4RouteData',
135
+ outputs: [
136
+ {
137
+ name: 'v4Route',
138
+ internalType: 'struct PoolKey[]',
139
+ type: 'tuple[]',
140
+ components: [
141
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
142
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
143
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
144
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
145
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
146
+ ],
147
+ },
148
+ { name: 'startAmount', internalType: 'uint256', type: 'uint256' },
149
+ ],
150
+ stateMutability: 'pure',
151
+ },
152
+ {
153
+ type: 'function',
154
+ inputs: [
155
+ {
156
+ name: 'params',
157
+ internalType: 'struct BuySupplyWithV4SwapHook.InitialSupplyParams',
158
+ type: 'tuple',
159
+ components: [
160
+ { name: 'buyRecipient', internalType: 'address', type: 'address' },
161
+ { name: 'v3Route', internalType: 'bytes', type: 'bytes' },
162
+ {
163
+ name: 'v4Route',
164
+ internalType: 'struct PoolKey[]',
165
+ type: 'tuple[]',
166
+ components: [
167
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
168
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
169
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
170
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
171
+ {
172
+ name: 'hooks',
173
+ internalType: 'contract IHooks',
174
+ type: 'address',
175
+ },
176
+ ],
177
+ },
178
+ { name: 'inputCurrency', internalType: 'address', type: 'address' },
179
+ { name: 'inputAmount', internalType: 'uint256', type: 'uint256' },
180
+ { name: 'minAmountOut', internalType: 'uint256', type: 'uint256' },
181
+ ],
182
+ },
183
+ ],
184
+ name: 'encodeBuySupplyWithV4SwapHookData',
185
+ outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
186
+ stateMutability: 'pure',
187
+ },
131
188
  {
132
189
  type: 'function',
133
190
  inputs: [],
@@ -137,6 +194,15 @@ export const buySupplyWithSwapRouterHookABI = [
137
194
  ],
138
195
  stateMutability: 'view',
139
196
  },
197
+ {
198
+ type: 'function',
199
+ inputs: [],
200
+ name: 'poolManager',
201
+ outputs: [
202
+ { name: '', internalType: 'contract IPoolManager', type: 'address' },
203
+ ],
204
+ stateMutability: 'view',
205
+ },
140
206
  {
141
207
  type: 'function',
142
208
  inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }],
@@ -144,6 +210,15 @@ export const buySupplyWithSwapRouterHookABI = [
144
210
  outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
145
211
  stateMutability: 'pure',
146
212
  },
213
+ {
214
+ type: 'function',
215
+ inputs: [],
216
+ name: 'swapRouter',
217
+ outputs: [
218
+ { name: '', internalType: 'contract ISwapRouter', type: 'address' },
219
+ ],
220
+ stateMutability: 'view',
221
+ },
147
222
  {
148
223
  type: 'function',
149
224
  inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
@@ -151,6 +226,58 @@ export const buySupplyWithSwapRouterHookABI = [
151
226
  outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
152
227
  stateMutability: 'nonpayable',
153
228
  },
229
+ {
230
+ type: 'event',
231
+ anonymous: false,
232
+ inputs: [
233
+ { name: 'coin', internalType: 'address', type: 'address', indexed: true },
234
+ {
235
+ name: 'recipient',
236
+ internalType: 'address',
237
+ type: 'address',
238
+ indexed: true,
239
+ },
240
+ {
241
+ name: 'coinsPurchased',
242
+ internalType: 'uint256',
243
+ type: 'uint256',
244
+ indexed: true,
245
+ },
246
+ { name: 'v3Route', internalType: 'bytes', type: 'bytes', indexed: false },
247
+ {
248
+ name: 'v4Route',
249
+ internalType: 'struct PoolKey[]',
250
+ type: 'tuple[]',
251
+ components: [
252
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
253
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
254
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
255
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
256
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
257
+ ],
258
+ indexed: false,
259
+ },
260
+ {
261
+ name: 'inputCurrency',
262
+ internalType: 'address',
263
+ type: 'address',
264
+ indexed: false,
265
+ },
266
+ {
267
+ name: 'inputAmount',
268
+ internalType: 'uint256',
269
+ type: 'uint256',
270
+ indexed: false,
271
+ },
272
+ {
273
+ name: 'v4SwapInput',
274
+ internalType: 'uint256',
275
+ type: 'uint256',
276
+ indexed: false,
277
+ },
278
+ ],
279
+ name: 'BuyInitialSupply',
280
+ },
154
281
  {
155
282
  type: 'error',
156
283
  inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
@@ -162,20 +289,17 @@ export const buySupplyWithSwapRouterHookABI = [
162
289
  name: 'AddressInsufficientBalance',
163
290
  },
164
291
  { type: 'error', inputs: [], name: 'AddressZero' },
292
+ { type: 'error', inputs: [], name: 'FailedInnerCall' },
293
+ { type: 'error', inputs: [], name: 'HookNotImplemented' },
165
294
  {
166
295
  type: 'error',
167
- inputs: [{ name: 'balance', internalType: 'uint256', type: 'uint256' }],
168
- name: 'CoinBalanceNot0',
169
- },
170
- {
171
- type: 'error',
172
- inputs: [{ name: 'balance', internalType: 'uint256', type: 'uint256' }],
173
- name: 'CurrencyBalanceNot0',
296
+ inputs: [
297
+ { name: 'inputAmount', internalType: 'uint256', type: 'uint256' },
298
+ { name: 'availableAmount', internalType: 'uint256', type: 'uint256' },
299
+ ],
300
+ name: 'InsufficientInputCurrency',
174
301
  },
175
- { type: 'error', inputs: [], name: 'Erc20NotReceived' },
176
- { type: 'error', inputs: [], name: 'FailedInnerCall' },
177
- { type: 'error', inputs: [], name: 'HookNotImplemented' },
178
- { type: 'error', inputs: [], name: 'InvalidSwapRouterCall' },
302
+ { type: 'error', inputs: [], name: 'InsufficientOutputAmount' },
179
303
  { type: 'error', inputs: [], name: 'NotFactory' },
180
304
  { type: 'error', inputs: [], name: 'OnlyPoolManager' },
181
305
  {
@@ -183,24 +307,21 @@ export const buySupplyWithSwapRouterHookABI = [
183
307
  inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
184
308
  name: 'SafeERC20FailedOperation',
185
309
  },
186
- {
187
- type: 'error',
188
- inputs: [{ name: 'error', internalType: 'bytes', type: 'bytes' }],
189
- name: 'SwapReverted',
190
- },
310
+ { type: 'error', inputs: [], name: 'V3RouteCannotStartWithInputCurrency' },
311
+ { type: 'error', inputs: [], name: 'V3RouteDoesNotConnectToV4RouteStart' },
191
312
  ] as const
192
313
 
193
314
  /**
194
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0xc90e349360C43a0217CEF289f231C66D4748960F)
315
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0xd8CC7bCA1dE52eA788829B16E375e9B96C18D433)
195
316
  * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE)
196
317
  */
197
318
  export const buySupplyWithSwapRouterHookAddress = {
198
- 8453: '0xc90e349360C43a0217CEF289f231C66D4748960F',
319
+ 8453: '0xd8CC7bCA1dE52eA788829B16E375e9B96C18D433',
199
320
  84532: '0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE',
200
321
  } as const
201
322
 
202
323
  /**
203
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0xc90e349360C43a0217CEF289f231C66D4748960F)
324
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0xd8CC7bCA1dE52eA788829B16E375e9B96C18D433)
204
325
  * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE)
205
326
  */
206
327
  export const buySupplyWithSwapRouterHookConfig = {
@@ -2984,124 +3105,283 @@ export const coinFactoryABI = [
2984
3105
  },
2985
3106
  { type: 'error', inputs: [], name: 'ZeroDiscoveryPositions' },
2986
3107
  { type: 'error', inputs: [], name: 'ZeroDiscoverySupplyShare' },
2987
- ] as const
2988
-
2989
- /**
2990
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0x777777751622c0d3258f214F9DF38E35BF45baF3)
2991
- * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xaF88840cb637F2684A9E460316b1678AD6245e4a)
2992
- */
2993
- export const coinFactoryAddress = {
2994
- 8453: '0x777777751622c0d3258f214F9DF38E35BF45baF3',
2995
- 84532: '0xaF88840cb637F2684A9E460316b1678AD6245e4a',
2996
- } as const
2997
-
2998
- /**
2999
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0x777777751622c0d3258f214F9DF38E35BF45baF3)
3000
- * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xaF88840cb637F2684A9E460316b1678AD6245e4a)
3001
- */
3002
- export const coinFactoryConfig = {
3003
- address: coinFactoryAddress,
3004
- abi: coinFactoryABI,
3005
- } as const
3006
-
3007
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
3008
- // CoinV4
3009
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
3010
-
3011
- export const coinV4ABI = [
3012
- {
3013
- type: 'constructor',
3014
- inputs: [
3015
- {
3016
- name: 'protocolRewardRecipient_',
3017
- internalType: 'address',
3018
- type: 'address',
3019
- },
3020
- { name: 'protocolRewards_', internalType: 'address', type: 'address' },
3021
- {
3022
- name: 'poolManager_',
3023
- internalType: 'contract IPoolManager',
3024
- type: 'address',
3025
- },
3026
- { name: 'airlock_', internalType: 'address', type: 'address' },
3027
- ],
3028
- stateMutability: 'nonpayable',
3029
- },
3030
3108
  {
3031
- type: 'function',
3032
- inputs: [],
3033
- name: 'DOMAIN_SEPARATOR',
3034
- outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
3035
- stateMutability: 'view',
3109
+ type: 'error',
3110
+ inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
3111
+ name: 'AddressEmptyCode',
3036
3112
  },
3037
3113
  {
3038
- type: 'function',
3114
+ type: 'error',
3039
3115
  inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
3040
- name: 'addOwner',
3041
- outputs: [],
3042
- stateMutability: 'nonpayable',
3116
+ name: 'AddressInsufficientBalance',
3043
3117
  },
3118
+ { type: 'error', inputs: [], name: 'AddressZero' },
3119
+ { type: 'error', inputs: [], name: 'FailedInnerCall' },
3120
+ { type: 'error', inputs: [], name: 'HookNotImplemented' },
3044
3121
  {
3045
- type: 'function',
3122
+ type: 'error',
3046
3123
  inputs: [
3047
- { name: 'accounts', internalType: 'address[]', type: 'address[]' },
3124
+ { name: 'inputAmount', internalType: 'uint256', type: 'uint256' },
3125
+ { name: 'availableAmount', internalType: 'uint256', type: 'uint256' },
3048
3126
  ],
3049
- name: 'addOwners',
3050
- outputs: [],
3051
- stateMutability: 'nonpayable',
3127
+ name: 'InsufficientInputCurrency',
3052
3128
  },
3129
+ { type: 'error', inputs: [], name: 'InsufficientOutputAmount' },
3130
+ { type: 'error', inputs: [], name: 'NotFactory' },
3131
+ { type: 'error', inputs: [], name: 'OnlyPoolManager' },
3053
3132
  {
3054
- type: 'function',
3133
+ type: 'error',
3134
+ inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
3135
+ name: 'SafeERC20FailedOperation',
3136
+ },
3137
+ { type: 'error', inputs: [], name: 'V3RouteCannotStartWithInputCurrency' },
3138
+ { type: 'error', inputs: [], name: 'V3RouteDoesNotConnectToV4RouteStart' },
3139
+ { type: 'error', inputs: [], name: 'AddressZero' },
3140
+ { type: 'error', inputs: [], name: 'AlreadyOwner' },
3141
+ { type: 'error', inputs: [], name: 'CannotMintZeroLiquidity' },
3142
+ {
3143
+ type: 'error',
3055
3144
  inputs: [],
3056
- name: 'airlock',
3057
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
3058
- stateMutability: 'view',
3145
+ name: 'DopplerPoolMustHaveMoreThan2DiscoveryPositions',
3059
3146
  },
3147
+ { type: 'error', inputs: [], name: 'ECDSAInvalidSignature' },
3060
3148
  {
3061
- type: 'function',
3149
+ type: 'error',
3150
+ inputs: [{ name: 'length', internalType: 'uint256', type: 'uint256' }],
3151
+ name: 'ECDSAInvalidSignatureLength',
3152
+ },
3153
+ {
3154
+ type: 'error',
3155
+ inputs: [{ name: 's', internalType: 'bytes32', type: 'bytes32' }],
3156
+ name: 'ECDSAInvalidSignatureS',
3157
+ },
3158
+ {
3159
+ type: 'error',
3062
3160
  inputs: [
3063
- { name: 'owner', internalType: 'address', type: 'address' },
3064
3161
  { name: 'spender', internalType: 'address', type: 'address' },
3162
+ { name: 'allowance', internalType: 'uint256', type: 'uint256' },
3163
+ { name: 'needed', internalType: 'uint256', type: 'uint256' },
3065
3164
  ],
3066
- name: 'allowance',
3067
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
3068
- stateMutability: 'view',
3165
+ name: 'ERC20InsufficientAllowance',
3069
3166
  },
3070
3167
  {
3071
- type: 'function',
3168
+ type: 'error',
3072
3169
  inputs: [
3073
- { name: 'spender', internalType: 'address', type: 'address' },
3074
- { name: 'value', internalType: 'uint256', type: 'uint256' },
3170
+ { name: 'sender', internalType: 'address', type: 'address' },
3171
+ { name: 'balance', internalType: 'uint256', type: 'uint256' },
3172
+ { name: 'needed', internalType: 'uint256', type: 'uint256' },
3075
3173
  ],
3076
- name: 'approve',
3077
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
3078
- stateMutability: 'nonpayable',
3174
+ name: 'ERC20InsufficientBalance',
3079
3175
  },
3080
3176
  {
3081
- type: 'function',
3082
- inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
3083
- name: 'balanceOf',
3084
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
3085
- stateMutability: 'view',
3177
+ type: 'error',
3178
+ inputs: [{ name: 'approver', internalType: 'address', type: 'address' }],
3179
+ name: 'ERC20InvalidApprover',
3086
3180
  },
3087
3181
  {
3088
- type: 'function',
3089
- inputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }],
3090
- name: 'burn',
3091
- outputs: [],
3092
- stateMutability: 'nonpayable',
3182
+ type: 'error',
3183
+ inputs: [{ name: 'receiver', internalType: 'address', type: 'address' }],
3184
+ name: 'ERC20InvalidReceiver',
3093
3185
  },
3094
3186
  {
3095
- type: 'function',
3096
- inputs: [],
3097
- name: 'claimVesting',
3098
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
3099
- stateMutability: 'nonpayable',
3187
+ type: 'error',
3188
+ inputs: [{ name: 'sender', internalType: 'address', type: 'address' }],
3189
+ name: 'ERC20InvalidSender',
3100
3190
  },
3101
3191
  {
3102
- type: 'function',
3103
- inputs: [],
3104
- name: 'coinType',
3192
+ type: 'error',
3193
+ inputs: [{ name: 'spender', internalType: 'address', type: 'address' }],
3194
+ name: 'ERC20InvalidSpender',
3195
+ },
3196
+ { type: 'error', inputs: [], name: 'ERC20TransferAmountMismatch' },
3197
+ {
3198
+ type: 'error',
3199
+ inputs: [{ name: 'deadline', internalType: 'uint256', type: 'uint256' }],
3200
+ name: 'ERC2612ExpiredSignature',
3201
+ },
3202
+ {
3203
+ type: 'error',
3204
+ inputs: [
3205
+ { name: 'signer', internalType: 'address', type: 'address' },
3206
+ { name: 'owner', internalType: 'address', type: 'address' },
3207
+ ],
3208
+ name: 'ERC2612InvalidSigner',
3209
+ },
3210
+ { type: 'error', inputs: [], name: 'EthAmountMismatch' },
3211
+ { type: 'error', inputs: [], name: 'EthAmountTooSmall' },
3212
+ { type: 'error', inputs: [], name: 'EthTransferFailed' },
3213
+ { type: 'error', inputs: [], name: 'EthTransferInvalid' },
3214
+ { type: 'error', inputs: [], name: 'InitialOrderSizeTooLarge' },
3215
+ { type: 'error', inputs: [], name: 'InsufficientFunds' },
3216
+ { type: 'error', inputs: [], name: 'InsufficientLiquidity' },
3217
+ {
3218
+ type: 'error',
3219
+ inputs: [
3220
+ { name: 'account', internalType: 'address', type: 'address' },
3221
+ { name: 'currentNonce', internalType: 'uint256', type: 'uint256' },
3222
+ ],
3223
+ name: 'InvalidAccountNonce',
3224
+ },
3225
+ { type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
3226
+ { type: 'error', inputs: [], name: 'InvalidInitialization' },
3227
+ { type: 'error', inputs: [], name: 'InvalidMarketType' },
3228
+ { type: 'error', inputs: [], name: 'InvalidPoolVersion' },
3229
+ {
3230
+ type: 'error',
3231
+ inputs: [
3232
+ { name: 'tickLower', internalType: 'int24', type: 'int24' },
3233
+ { name: 'tickUpper', internalType: 'int24', type: 'int24' },
3234
+ ],
3235
+ name: 'InvalidTickRangeMisordered',
3236
+ },
3237
+ { type: 'error', inputs: [], name: 'InvalidWethLowerTick' },
3238
+ { type: 'error', inputs: [], name: 'LegacyPoolMustHaveOneDiscoveryPosition' },
3239
+ { type: 'error', inputs: [], name: 'MarketAlreadyGraduated' },
3240
+ { type: 'error', inputs: [], name: 'MarketNotGraduated' },
3241
+ {
3242
+ type: 'error',
3243
+ inputs: [
3244
+ { name: 'value', internalType: 'uint256', type: 'uint256' },
3245
+ { name: 'limit', internalType: 'uint256', type: 'uint256' },
3246
+ ],
3247
+ name: 'MaxShareToBeSoldExceeded',
3248
+ },
3249
+ { type: 'error', inputs: [], name: 'NameIsRequired' },
3250
+ { type: 'error', inputs: [], name: 'NotInitializing' },
3251
+ { type: 'error', inputs: [], name: 'NotOwner' },
3252
+ { type: 'error', inputs: [], name: 'NumDiscoveryPositionsOutOfRange' },
3253
+ { type: 'error', inputs: [], name: 'OneOwnerRequired' },
3254
+ { type: 'error', inputs: [], name: 'OnlyOwner' },
3255
+ {
3256
+ type: 'error',
3257
+ inputs: [
3258
+ { name: 'sender', internalType: 'address', type: 'address' },
3259
+ { name: 'pool', internalType: 'address', type: 'address' },
3260
+ ],
3261
+ name: 'OnlyPool',
3262
+ },
3263
+ { type: 'error', inputs: [], name: 'OnlyWeth' },
3264
+ { type: 'error', inputs: [], name: 'OwnerCannotBeAddressZero' },
3265
+ { type: 'error', inputs: [], name: 'SlippageBoundsExceeded' },
3266
+ { type: 'error', inputs: [], name: 'UseRevokeOwnershipToRemoveSelf' },
3267
+ ] as const
3268
+
3269
+ /**
3270
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0x777777751622c0d3258f214F9DF38E35BF45baF3)
3271
+ * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xaF88840cb637F2684A9E460316b1678AD6245e4a)
3272
+ */
3273
+ export const coinFactoryAddress = {
3274
+ 8453: '0x777777751622c0d3258f214F9DF38E35BF45baF3',
3275
+ 84532: '0xaF88840cb637F2684A9E460316b1678AD6245e4a',
3276
+ } as const
3277
+
3278
+ /**
3279
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0x777777751622c0d3258f214F9DF38E35BF45baF3)
3280
+ * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xaF88840cb637F2684A9E460316b1678AD6245e4a)
3281
+ */
3282
+ export const coinFactoryConfig = {
3283
+ address: coinFactoryAddress,
3284
+ abi: coinFactoryABI,
3285
+ } as const
3286
+
3287
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
3288
+ // CoinV4
3289
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
3290
+
3291
+ export const coinV4ABI = [
3292
+ {
3293
+ type: 'constructor',
3294
+ inputs: [
3295
+ {
3296
+ name: 'protocolRewardRecipient_',
3297
+ internalType: 'address',
3298
+ type: 'address',
3299
+ },
3300
+ { name: 'protocolRewards_', internalType: 'address', type: 'address' },
3301
+ {
3302
+ name: 'poolManager_',
3303
+ internalType: 'contract IPoolManager',
3304
+ type: 'address',
3305
+ },
3306
+ { name: 'airlock_', internalType: 'address', type: 'address' },
3307
+ ],
3308
+ stateMutability: 'nonpayable',
3309
+ },
3310
+ {
3311
+ type: 'function',
3312
+ inputs: [],
3313
+ name: 'DOMAIN_SEPARATOR',
3314
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
3315
+ stateMutability: 'view',
3316
+ },
3317
+ {
3318
+ type: 'function',
3319
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
3320
+ name: 'addOwner',
3321
+ outputs: [],
3322
+ stateMutability: 'nonpayable',
3323
+ },
3324
+ {
3325
+ type: 'function',
3326
+ inputs: [
3327
+ { name: 'accounts', internalType: 'address[]', type: 'address[]' },
3328
+ ],
3329
+ name: 'addOwners',
3330
+ outputs: [],
3331
+ stateMutability: 'nonpayable',
3332
+ },
3333
+ {
3334
+ type: 'function',
3335
+ inputs: [],
3336
+ name: 'airlock',
3337
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
3338
+ stateMutability: 'view',
3339
+ },
3340
+ {
3341
+ type: 'function',
3342
+ inputs: [
3343
+ { name: 'owner', internalType: 'address', type: 'address' },
3344
+ { name: 'spender', internalType: 'address', type: 'address' },
3345
+ ],
3346
+ name: 'allowance',
3347
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
3348
+ stateMutability: 'view',
3349
+ },
3350
+ {
3351
+ type: 'function',
3352
+ inputs: [
3353
+ { name: 'spender', internalType: 'address', type: 'address' },
3354
+ { name: 'value', internalType: 'uint256', type: 'uint256' },
3355
+ ],
3356
+ name: 'approve',
3357
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
3358
+ stateMutability: 'nonpayable',
3359
+ },
3360
+ {
3361
+ type: 'function',
3362
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
3363
+ name: 'balanceOf',
3364
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
3365
+ stateMutability: 'view',
3366
+ },
3367
+ {
3368
+ type: 'function',
3369
+ inputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }],
3370
+ name: 'burn',
3371
+ outputs: [],
3372
+ stateMutability: 'nonpayable',
3373
+ },
3374
+ {
3375
+ type: 'function',
3376
+ inputs: [],
3377
+ name: 'claimVesting',
3378
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
3379
+ stateMutability: 'nonpayable',
3380
+ },
3381
+ {
3382
+ type: 'function',
3383
+ inputs: [],
3384
+ name: 'coinType',
3105
3385
  outputs: [
3106
3386
  { name: '', internalType: 'enum IHasCoinType.CoinType', type: 'uint8' },
3107
3387
  ],
@@ -6025,748 +6305,6 @@ export const commentsConfig = {
6025
6305
  abi: commentsABI,
6026
6306
  } as const
6027
6307
 
6028
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
6029
- // DevBuySupplyWithSwapRouterHook
6030
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
6031
-
6032
- /**
6033
- * [__View Contract on Base Basescan__](https://basescan.org/address/0x62B95629F965bf48E15BB110A1729B9b9dF1C07D)
6034
- */
6035
- export const devBuySupplyWithSwapRouterHookABI = [
6036
- {
6037
- type: 'constructor',
6038
- inputs: [
6039
- {
6040
- name: '_factory',
6041
- internalType: 'contract IZoraFactory',
6042
- type: 'address',
6043
- },
6044
- { name: '_swapRouter', internalType: 'address', type: 'address' },
6045
- { name: '_poolManager', internalType: 'address', type: 'address' },
6046
- ],
6047
- stateMutability: 'nonpayable',
6048
- },
6049
- {
6050
- type: 'function',
6051
- inputs: [
6052
- { name: 'sender', internalType: 'address', type: 'address' },
6053
- { name: 'coin', internalType: 'contract ICoin', type: 'address' },
6054
- { name: 'hookData', internalType: 'bytes', type: 'bytes' },
6055
- ],
6056
- name: 'afterCoinDeploy',
6057
- outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
6058
- stateMutability: 'payable',
6059
- },
6060
- {
6061
- type: 'function',
6062
- inputs: [],
6063
- name: 'factory',
6064
- outputs: [
6065
- { name: '', internalType: 'contract IZoraFactory', type: 'address' },
6066
- ],
6067
- stateMutability: 'view',
6068
- },
6069
- {
6070
- type: 'function',
6071
- inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }],
6072
- name: 'supportsInterface',
6073
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
6074
- stateMutability: 'pure',
6075
- },
6076
- {
6077
- type: 'function',
6078
- inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
6079
- name: 'unlockCallback',
6080
- outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
6081
- stateMutability: 'nonpayable',
6082
- },
6083
- {
6084
- type: 'error',
6085
- inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
6086
- name: 'AddressEmptyCode',
6087
- },
6088
- {
6089
- type: 'error',
6090
- inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
6091
- name: 'AddressInsufficientBalance',
6092
- },
6093
- { type: 'error', inputs: [], name: 'AddressZero' },
6094
- {
6095
- type: 'error',
6096
- inputs: [{ name: 'balance', internalType: 'uint256', type: 'uint256' }],
6097
- name: 'CoinBalanceNot0',
6098
- },
6099
- {
6100
- type: 'error',
6101
- inputs: [{ name: 'balance', internalType: 'uint256', type: 'uint256' }],
6102
- name: 'CurrencyBalanceNot0',
6103
- },
6104
- { type: 'error', inputs: [], name: 'Erc20NotReceived' },
6105
- { type: 'error', inputs: [], name: 'FailedInnerCall' },
6106
- { type: 'error', inputs: [], name: 'HookNotImplemented' },
6107
- { type: 'error', inputs: [], name: 'InvalidSwapRouterCall' },
6108
- { type: 'error', inputs: [], name: 'NotFactory' },
6109
- { type: 'error', inputs: [], name: 'OnlyPoolManager' },
6110
- {
6111
- type: 'error',
6112
- inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
6113
- name: 'SafeERC20FailedOperation',
6114
- },
6115
- {
6116
- type: 'error',
6117
- inputs: [{ name: 'error', internalType: 'bytes', type: 'bytes' }],
6118
- name: 'SwapReverted',
6119
- },
6120
- ] as const
6121
-
6122
- /**
6123
- * [__View Contract on Base Basescan__](https://basescan.org/address/0x62B95629F965bf48E15BB110A1729B9b9dF1C07D)
6124
- */
6125
- export const devBuySupplyWithSwapRouterHookAddress = {
6126
- 8453: '0x62B95629F965bf48E15BB110A1729B9b9dF1C07D',
6127
- } as const
6128
-
6129
- /**
6130
- * [__View Contract on Base Basescan__](https://basescan.org/address/0x62B95629F965bf48E15BB110A1729B9b9dF1C07D)
6131
- */
6132
- export const devBuySupplyWithSwapRouterHookConfig = {
6133
- address: devBuySupplyWithSwapRouterHookAddress,
6134
- abi: devBuySupplyWithSwapRouterHookABI,
6135
- } as const
6136
-
6137
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
6138
- // DevCoinFactory
6139
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
6140
-
6141
- /**
6142
- * [__View Contract on Base Basescan__](https://basescan.org/address/0x47B0C1205B01e5e967dB24A186968152e5cCf764)
6143
- */
6144
- export const devCoinFactoryABI = [
6145
- {
6146
- type: 'constructor',
6147
- inputs: [
6148
- { name: 'coinV4Impl_', internalType: 'address', type: 'address' },
6149
- { name: 'creatorCoinImpl_', internalType: 'address', type: 'address' },
6150
- { name: 'hook_', internalType: 'address', type: 'address' },
6151
- { name: 'zoraHookRegistry_', internalType: 'address', type: 'address' },
6152
- ],
6153
- stateMutability: 'nonpayable',
6154
- },
6155
- {
6156
- type: 'function',
6157
- inputs: [],
6158
- name: 'UPGRADE_INTERFACE_VERSION',
6159
- outputs: [{ name: '', internalType: 'string', type: 'string' }],
6160
- stateMutability: 'view',
6161
- },
6162
- {
6163
- type: 'function',
6164
- inputs: [],
6165
- name: 'acceptOwnership',
6166
- outputs: [],
6167
- stateMutability: 'nonpayable',
6168
- },
6169
- {
6170
- type: 'function',
6171
- inputs: [
6172
- { name: 'msgSender', internalType: 'address', type: 'address' },
6173
- { name: 'name', internalType: 'string', type: 'string' },
6174
- { name: 'symbol', internalType: 'string', type: 'string' },
6175
- { name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
6176
- { name: 'platformReferrer', internalType: 'address', type: 'address' },
6177
- { name: 'coinSalt', internalType: 'bytes32', type: 'bytes32' },
6178
- ],
6179
- name: 'coinAddress',
6180
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
6181
- stateMutability: 'view',
6182
- },
6183
- {
6184
- type: 'function',
6185
- inputs: [],
6186
- name: 'coinV4Impl',
6187
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
6188
- stateMutability: 'view',
6189
- },
6190
- {
6191
- type: 'function',
6192
- inputs: [],
6193
- name: 'contentCoinHook',
6194
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
6195
- stateMutability: 'view',
6196
- },
6197
- {
6198
- type: 'function',
6199
- inputs: [],
6200
- name: 'contractName',
6201
- outputs: [{ name: '', internalType: 'string', type: 'string' }],
6202
- stateMutability: 'pure',
6203
- },
6204
- {
6205
- type: 'function',
6206
- inputs: [],
6207
- name: 'contractVersion',
6208
- outputs: [{ name: '', internalType: 'string', type: 'string' }],
6209
- stateMutability: 'pure',
6210
- },
6211
- {
6212
- type: 'function',
6213
- inputs: [],
6214
- name: 'creatorCoinHook',
6215
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
6216
- stateMutability: 'view',
6217
- },
6218
- {
6219
- type: 'function',
6220
- inputs: [],
6221
- name: 'creatorCoinImpl',
6222
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
6223
- stateMutability: 'view',
6224
- },
6225
- {
6226
- type: 'function',
6227
- inputs: [
6228
- { name: 'payoutRecipient', internalType: 'address', type: 'address' },
6229
- { name: 'owners', internalType: 'address[]', type: 'address[]' },
6230
- { name: 'uri', internalType: 'string', type: 'string' },
6231
- { name: 'name', internalType: 'string', type: 'string' },
6232
- { name: 'symbol', internalType: 'string', type: 'string' },
6233
- { name: 'platformReferrer', internalType: 'address', type: 'address' },
6234
- { name: 'currency', internalType: 'address', type: 'address' },
6235
- { name: '', internalType: 'int24', type: 'int24' },
6236
- { name: '', internalType: 'uint256', type: 'uint256' },
6237
- ],
6238
- name: 'deploy',
6239
- outputs: [
6240
- { name: '', internalType: 'address', type: 'address' },
6241
- { name: '', internalType: 'uint256', type: 'uint256' },
6242
- ],
6243
- stateMutability: 'payable',
6244
- },
6245
- {
6246
- type: 'function',
6247
- inputs: [
6248
- { name: 'payoutRecipient', internalType: 'address', type: 'address' },
6249
- { name: 'owners', internalType: 'address[]', type: 'address[]' },
6250
- { name: 'uri', internalType: 'string', type: 'string' },
6251
- { name: 'name', internalType: 'string', type: 'string' },
6252
- { name: 'symbol', internalType: 'string', type: 'string' },
6253
- { name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
6254
- { name: 'platformReferrer', internalType: 'address', type: 'address' },
6255
- { name: 'postDeployHook', internalType: 'address', type: 'address' },
6256
- { name: 'postDeployHookData', internalType: 'bytes', type: 'bytes' },
6257
- { name: 'coinSalt', internalType: 'bytes32', type: 'bytes32' },
6258
- ],
6259
- name: 'deploy',
6260
- outputs: [
6261
- { name: 'coin', internalType: 'address', type: 'address' },
6262
- { name: 'postDeployHookDataOut', internalType: 'bytes', type: 'bytes' },
6263
- ],
6264
- stateMutability: 'payable',
6265
- },
6266
- {
6267
- type: 'function',
6268
- inputs: [
6269
- { name: 'payoutRecipient', internalType: 'address', type: 'address' },
6270
- { name: 'owners', internalType: 'address[]', type: 'address[]' },
6271
- { name: 'uri', internalType: 'string', type: 'string' },
6272
- { name: 'name', internalType: 'string', type: 'string' },
6273
- { name: 'symbol', internalType: 'string', type: 'string' },
6274
- { name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
6275
- { name: 'platformReferrer', internalType: 'address', type: 'address' },
6276
- { name: '', internalType: 'uint256', type: 'uint256' },
6277
- ],
6278
- name: 'deploy',
6279
- outputs: [
6280
- { name: '', internalType: 'address', type: 'address' },
6281
- { name: '', internalType: 'uint256', type: 'uint256' },
6282
- ],
6283
- stateMutability: 'payable',
6284
- },
6285
- {
6286
- type: 'function',
6287
- inputs: [
6288
- { name: 'payoutRecipient', internalType: 'address', type: 'address' },
6289
- { name: 'owners', internalType: 'address[]', type: 'address[]' },
6290
- { name: 'uri', internalType: 'string', type: 'string' },
6291
- { name: 'name', internalType: 'string', type: 'string' },
6292
- { name: 'symbol', internalType: 'string', type: 'string' },
6293
- { name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
6294
- { name: 'platformReferrer', internalType: 'address', type: 'address' },
6295
- { name: 'coinSalt', internalType: 'bytes32', type: 'bytes32' },
6296
- ],
6297
- name: 'deployCreatorCoin',
6298
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
6299
- stateMutability: 'nonpayable',
6300
- },
6301
- {
6302
- type: 'function',
6303
- inputs: [
6304
- { name: 'payoutRecipient', internalType: 'address', type: 'address' },
6305
- { name: 'owners', internalType: 'address[]', type: 'address[]' },
6306
- { name: 'uri', internalType: 'string', type: 'string' },
6307
- { name: 'name', internalType: 'string', type: 'string' },
6308
- { name: 'symbol', internalType: 'string', type: 'string' },
6309
- { name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
6310
- { name: 'platformReferrer', internalType: 'address', type: 'address' },
6311
- { name: 'postDeployHook', internalType: 'address', type: 'address' },
6312
- { name: 'postDeployHookData', internalType: 'bytes', type: 'bytes' },
6313
- { name: 'coinSalt', internalType: 'bytes32', type: 'bytes32' },
6314
- ],
6315
- name: 'deployCreatorCoin',
6316
- outputs: [
6317
- { name: 'coin', internalType: 'address', type: 'address' },
6318
- { name: 'postDeployHookDataOut', internalType: 'bytes', type: 'bytes' },
6319
- ],
6320
- stateMutability: 'payable',
6321
- },
6322
- {
6323
- type: 'function',
6324
- inputs: [
6325
- { name: 'payoutRecipient', internalType: 'address', type: 'address' },
6326
- { name: 'owners', internalType: 'address[]', type: 'address[]' },
6327
- { name: 'uri', internalType: 'string', type: 'string' },
6328
- { name: 'name', internalType: 'string', type: 'string' },
6329
- { name: 'symbol', internalType: 'string', type: 'string' },
6330
- { name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
6331
- { name: 'platformReferrer', internalType: 'address', type: 'address' },
6332
- { name: 'deployHook', internalType: 'address', type: 'address' },
6333
- { name: 'hookData', internalType: 'bytes', type: 'bytes' },
6334
- ],
6335
- name: 'deployWithHook',
6336
- outputs: [
6337
- { name: 'coin', internalType: 'address', type: 'address' },
6338
- { name: 'hookDataOut', internalType: 'bytes', type: 'bytes' },
6339
- ],
6340
- stateMutability: 'payable',
6341
- },
6342
- {
6343
- type: 'function',
6344
- inputs: [{ name: 'coin', internalType: 'address', type: 'address' }],
6345
- name: 'getVersionForDeployedCoin',
6346
- outputs: [{ name: '', internalType: 'uint8', type: 'uint8' }],
6347
- stateMutability: 'view',
6348
- },
6349
- {
6350
- type: 'function',
6351
- inputs: [],
6352
- name: 'hook',
6353
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
6354
- stateMutability: 'view',
6355
- },
6356
- {
6357
- type: 'function',
6358
- inputs: [],
6359
- name: 'implementation',
6360
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
6361
- stateMutability: 'view',
6362
- },
6363
- {
6364
- type: 'function',
6365
- inputs: [
6366
- { name: 'initialOwner', internalType: 'address', type: 'address' },
6367
- ],
6368
- name: 'initialize',
6369
- outputs: [],
6370
- stateMutability: 'nonpayable',
6371
- },
6372
- {
6373
- type: 'function',
6374
- inputs: [],
6375
- name: 'owner',
6376
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
6377
- stateMutability: 'view',
6378
- },
6379
- {
6380
- type: 'function',
6381
- inputs: [],
6382
- name: 'pendingOwner',
6383
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
6384
- stateMutability: 'view',
6385
- },
6386
- {
6387
- type: 'function',
6388
- inputs: [],
6389
- name: 'proxiableUUID',
6390
- outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
6391
- stateMutability: 'view',
6392
- },
6393
- {
6394
- type: 'function',
6395
- inputs: [],
6396
- name: 'renounceOwnership',
6397
- outputs: [],
6398
- stateMutability: 'nonpayable',
6399
- },
6400
- {
6401
- type: 'function',
6402
- inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }],
6403
- name: 'transferOwnership',
6404
- outputs: [],
6405
- stateMutability: 'nonpayable',
6406
- },
6407
- {
6408
- type: 'function',
6409
- inputs: [
6410
- { name: 'newImplementation', internalType: 'address', type: 'address' },
6411
- { name: 'data', internalType: 'bytes', type: 'bytes' },
6412
- ],
6413
- name: 'upgradeToAndCall',
6414
- outputs: [],
6415
- stateMutability: 'payable',
6416
- },
6417
- {
6418
- type: 'function',
6419
- inputs: [],
6420
- name: 'zoraHookRegistry',
6421
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
6422
- stateMutability: 'view',
6423
- },
6424
- {
6425
- type: 'event',
6426
- anonymous: false,
6427
- inputs: [
6428
- {
6429
- name: 'caller',
6430
- internalType: 'address',
6431
- type: 'address',
6432
- indexed: true,
6433
- },
6434
- {
6435
- name: 'payoutRecipient',
6436
- internalType: 'address',
6437
- type: 'address',
6438
- indexed: true,
6439
- },
6440
- {
6441
- name: 'platformReferrer',
6442
- internalType: 'address',
6443
- type: 'address',
6444
- indexed: true,
6445
- },
6446
- {
6447
- name: 'currency',
6448
- internalType: 'address',
6449
- type: 'address',
6450
- indexed: false,
6451
- },
6452
- { name: 'uri', internalType: 'string', type: 'string', indexed: false },
6453
- { name: 'name', internalType: 'string', type: 'string', indexed: false },
6454
- {
6455
- name: 'symbol',
6456
- internalType: 'string',
6457
- type: 'string',
6458
- indexed: false,
6459
- },
6460
- {
6461
- name: 'coin',
6462
- internalType: 'address',
6463
- type: 'address',
6464
- indexed: false,
6465
- },
6466
- {
6467
- name: 'pool',
6468
- internalType: 'address',
6469
- type: 'address',
6470
- indexed: false,
6471
- },
6472
- {
6473
- name: 'version',
6474
- internalType: 'string',
6475
- type: 'string',
6476
- indexed: false,
6477
- },
6478
- ],
6479
- name: 'CoinCreated',
6480
- },
6481
- {
6482
- type: 'event',
6483
- anonymous: false,
6484
- inputs: [
6485
- {
6486
- name: 'caller',
6487
- internalType: 'address',
6488
- type: 'address',
6489
- indexed: true,
6490
- },
6491
- {
6492
- name: 'payoutRecipient',
6493
- internalType: 'address',
6494
- type: 'address',
6495
- indexed: true,
6496
- },
6497
- {
6498
- name: 'platformReferrer',
6499
- internalType: 'address',
6500
- type: 'address',
6501
- indexed: true,
6502
- },
6503
- {
6504
- name: 'currency',
6505
- internalType: 'address',
6506
- type: 'address',
6507
- indexed: false,
6508
- },
6509
- { name: 'uri', internalType: 'string', type: 'string', indexed: false },
6510
- { name: 'name', internalType: 'string', type: 'string', indexed: false },
6511
- {
6512
- name: 'symbol',
6513
- internalType: 'string',
6514
- type: 'string',
6515
- indexed: false,
6516
- },
6517
- {
6518
- name: 'coin',
6519
- internalType: 'address',
6520
- type: 'address',
6521
- indexed: false,
6522
- },
6523
- {
6524
- name: 'poolKey',
6525
- internalType: 'struct PoolKey',
6526
- type: 'tuple',
6527
- components: [
6528
- { name: 'currency0', internalType: 'Currency', type: 'address' },
6529
- { name: 'currency1', internalType: 'Currency', type: 'address' },
6530
- { name: 'fee', internalType: 'uint24', type: 'uint24' },
6531
- { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
6532
- { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
6533
- ],
6534
- indexed: false,
6535
- },
6536
- {
6537
- name: 'poolKeyHash',
6538
- internalType: 'bytes32',
6539
- type: 'bytes32',
6540
- indexed: false,
6541
- },
6542
- {
6543
- name: 'version',
6544
- internalType: 'string',
6545
- type: 'string',
6546
- indexed: false,
6547
- },
6548
- ],
6549
- name: 'CoinCreatedV4',
6550
- },
6551
- {
6552
- type: 'event',
6553
- anonymous: false,
6554
- inputs: [
6555
- {
6556
- name: 'caller',
6557
- internalType: 'address',
6558
- type: 'address',
6559
- indexed: true,
6560
- },
6561
- {
6562
- name: 'payoutRecipient',
6563
- internalType: 'address',
6564
- type: 'address',
6565
- indexed: true,
6566
- },
6567
- {
6568
- name: 'platformReferrer',
6569
- internalType: 'address',
6570
- type: 'address',
6571
- indexed: true,
6572
- },
6573
- {
6574
- name: 'currency',
6575
- internalType: 'address',
6576
- type: 'address',
6577
- indexed: false,
6578
- },
6579
- { name: 'uri', internalType: 'string', type: 'string', indexed: false },
6580
- { name: 'name', internalType: 'string', type: 'string', indexed: false },
6581
- {
6582
- name: 'symbol',
6583
- internalType: 'string',
6584
- type: 'string',
6585
- indexed: false,
6586
- },
6587
- {
6588
- name: 'coin',
6589
- internalType: 'address',
6590
- type: 'address',
6591
- indexed: false,
6592
- },
6593
- {
6594
- name: 'poolKey',
6595
- internalType: 'struct PoolKey',
6596
- type: 'tuple',
6597
- components: [
6598
- { name: 'currency0', internalType: 'Currency', type: 'address' },
6599
- { name: 'currency1', internalType: 'Currency', type: 'address' },
6600
- { name: 'fee', internalType: 'uint24', type: 'uint24' },
6601
- { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
6602
- { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
6603
- ],
6604
- indexed: false,
6605
- },
6606
- {
6607
- name: 'poolKeyHash',
6608
- internalType: 'bytes32',
6609
- type: 'bytes32',
6610
- indexed: false,
6611
- },
6612
- {
6613
- name: 'version',
6614
- internalType: 'string',
6615
- type: 'string',
6616
- indexed: false,
6617
- },
6618
- ],
6619
- name: 'CreatorCoinCreated',
6620
- },
6621
- {
6622
- type: 'event',
6623
- anonymous: false,
6624
- inputs: [
6625
- {
6626
- name: 'version',
6627
- internalType: 'uint64',
6628
- type: 'uint64',
6629
- indexed: false,
6630
- },
6631
- ],
6632
- name: 'Initialized',
6633
- },
6634
- {
6635
- type: 'event',
6636
- anonymous: false,
6637
- inputs: [
6638
- {
6639
- name: 'previousOwner',
6640
- internalType: 'address',
6641
- type: 'address',
6642
- indexed: true,
6643
- },
6644
- {
6645
- name: 'newOwner',
6646
- internalType: 'address',
6647
- type: 'address',
6648
- indexed: true,
6649
- },
6650
- ],
6651
- name: 'OwnershipTransferStarted',
6652
- },
6653
- {
6654
- type: 'event',
6655
- anonymous: false,
6656
- inputs: [
6657
- {
6658
- name: 'previousOwner',
6659
- internalType: 'address',
6660
- type: 'address',
6661
- indexed: true,
6662
- },
6663
- {
6664
- name: 'newOwner',
6665
- internalType: 'address',
6666
- type: 'address',
6667
- indexed: true,
6668
- },
6669
- ],
6670
- name: 'OwnershipTransferred',
6671
- },
6672
- {
6673
- type: 'event',
6674
- anonymous: false,
6675
- inputs: [
6676
- {
6677
- name: 'implementation',
6678
- internalType: 'address',
6679
- type: 'address',
6680
- indexed: true,
6681
- },
6682
- ],
6683
- name: 'Upgraded',
6684
- },
6685
- {
6686
- type: 'error',
6687
- inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
6688
- name: 'AddressEmptyCode',
6689
- },
6690
- { type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
6691
- { type: 'error', inputs: [], name: 'ConfigTickLowerMustBeLessThanTickUpper' },
6692
- { type: 'error', inputs: [], name: 'Deprecated' },
6693
- { type: 'error', inputs: [], name: 'ERC1167FailedCreateClone' },
6694
- {
6695
- type: 'error',
6696
- inputs: [
6697
- { name: 'implementation', internalType: 'address', type: 'address' },
6698
- ],
6699
- name: 'ERC1967InvalidImplementation',
6700
- },
6701
- { type: 'error', inputs: [], name: 'ERC1967NonPayable' },
6702
- { type: 'error', inputs: [], name: 'EthTransferInvalid' },
6703
- { type: 'error', inputs: [], name: 'FailedInnerCall' },
6704
- { type: 'error', inputs: [], name: 'InvalidConfig' },
6705
- { type: 'error', inputs: [], name: 'InvalidHook' },
6706
- { type: 'error', inputs: [], name: 'InvalidInitialization' },
6707
- { type: 'error', inputs: [], name: 'InvalidPoolVersion' },
6708
- {
6709
- type: 'error',
6710
- inputs: [
6711
- { name: 'tickLower', internalType: 'int24', type: 'int24' },
6712
- { name: 'tickUpper', internalType: 'int24', type: 'int24' },
6713
- ],
6714
- name: 'InvalidTickRangeMisordered',
6715
- },
6716
- {
6717
- type: 'error',
6718
- inputs: [
6719
- { name: 'value', internalType: 'uint256', type: 'uint256' },
6720
- { name: 'limit', internalType: 'uint256', type: 'uint256' },
6721
- ],
6722
- name: 'MaxShareToBeSoldExceeded',
6723
- },
6724
- { type: 'error', inputs: [], name: 'NotInitializing' },
6725
- { type: 'error', inputs: [], name: 'NumDiscoveryPositionsOutOfRange' },
6726
- {
6727
- type: 'error',
6728
- inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
6729
- name: 'OwnableInvalidOwner',
6730
- },
6731
- {
6732
- type: 'error',
6733
- inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
6734
- name: 'OwnableUnauthorizedAccount',
6735
- },
6736
- { type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
6737
- { type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
6738
- {
6739
- type: 'error',
6740
- inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
6741
- name: 'UUPSUnsupportedProxiableUUID',
6742
- },
6743
- {
6744
- type: 'error',
6745
- inputs: [
6746
- { name: 'currentName', internalType: 'string', type: 'string' },
6747
- { name: 'newName', internalType: 'string', type: 'string' },
6748
- ],
6749
- name: 'UpgradeToMismatchedContractName',
6750
- },
6751
- { type: 'error', inputs: [], name: 'ZeroDiscoveryPositions' },
6752
- { type: 'error', inputs: [], name: 'ZeroDiscoverySupplyShare' },
6753
- ] as const
6754
-
6755
- /**
6756
- * [__View Contract on Base Basescan__](https://basescan.org/address/0x47B0C1205B01e5e967dB24A186968152e5cCf764)
6757
- */
6758
- export const devCoinFactoryAddress = {
6759
- 8453: '0x47B0C1205B01e5e967dB24A186968152e5cCf764',
6760
- } as const
6761
-
6762
- /**
6763
- * [__View Contract on Base Basescan__](https://basescan.org/address/0x47B0C1205B01e5e967dB24A186968152e5cCf764)
6764
- */
6765
- export const devCoinFactoryConfig = {
6766
- address: devCoinFactoryAddress,
6767
- abi: devCoinFactoryABI,
6768
- } as const
6769
-
6770
6308
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
6771
6309
  // ERC20Minter
6772
6310
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////