@zoralabs/protocol-deployments 0.6.5-PRE.2 → 0.6.5
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.
- package/.turbo/turbo-build$colon$js.log +50 -51
- package/CHANGELOG.md +1 -2
- package/LICENSE +21 -0
- package/dist/generated/sparks.d.ts +0 -14
- package/dist/generated/sparks.d.ts.map +1 -1
- package/dist/generated/wagmi.d.ts +3510 -7736
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +1197 -2468
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1194 -2462
- package/dist/index.js.map +1 -1
- package/package.json +12 -12
- package/src/generated/sparks.ts +0 -14
- package/src/generated/wagmi.ts +1220 -2484
- package/.turbo/turbo-build.log +0 -47
package/src/generated/wagmi.ts
CHANGED
|
@@ -278,7 +278,18 @@ export const buySupplyWithSwapRouterHookABI = [
|
|
|
278
278
|
],
|
|
279
279
|
name: 'BuyInitialSupply',
|
|
280
280
|
},
|
|
281
|
+
{
|
|
282
|
+
type: 'error',
|
|
283
|
+
inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
|
|
284
|
+
name: 'AddressEmptyCode',
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
type: 'error',
|
|
288
|
+
inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
|
|
289
|
+
name: 'AddressInsufficientBalance',
|
|
290
|
+
},
|
|
281
291
|
{ type: 'error', inputs: [], name: 'AddressZero' },
|
|
292
|
+
{ type: 'error', inputs: [], name: 'FailedInnerCall' },
|
|
282
293
|
{ type: 'error', inputs: [], name: 'HookNotImplemented' },
|
|
283
294
|
{
|
|
284
295
|
type: 'error',
|
|
@@ -296,6 +307,7 @@ export const buySupplyWithSwapRouterHookABI = [
|
|
|
296
307
|
inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
|
|
297
308
|
name: 'SafeERC20FailedOperation',
|
|
298
309
|
},
|
|
310
|
+
{ type: 'error', inputs: [], name: 'V3RouteCannotStartWithInputCurrency' },
|
|
299
311
|
{ type: 'error', inputs: [], name: 'V3RouteDoesNotConnectToV4RouteStart' },
|
|
300
312
|
] as const
|
|
301
313
|
|
|
@@ -3033,6 +3045,7 @@ export const coinFactoryABI = [
|
|
|
3033
3045
|
{ type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
|
|
3034
3046
|
{ type: 'error', inputs: [], name: 'ConfigTickLowerMustBeLessThanTickUpper' },
|
|
3035
3047
|
{ type: 'error', inputs: [], name: 'Deprecated' },
|
|
3048
|
+
{ type: 'error', inputs: [], name: 'ERC1167FailedCreateClone' },
|
|
3036
3049
|
{
|
|
3037
3050
|
type: 'error',
|
|
3038
3051
|
inputs: [
|
|
@@ -3042,16 +3055,7 @@ export const coinFactoryABI = [
|
|
|
3042
3055
|
},
|
|
3043
3056
|
{ type: 'error', inputs: [], name: 'ERC1967NonPayable' },
|
|
3044
3057
|
{ type: 'error', inputs: [], name: 'EthTransferInvalid' },
|
|
3045
|
-
{ type: 'error', inputs: [], name: '
|
|
3046
|
-
{ type: 'error', inputs: [], name: 'FailedDeployment' },
|
|
3047
|
-
{
|
|
3048
|
-
type: 'error',
|
|
3049
|
-
inputs: [
|
|
3050
|
-
{ name: 'balance', internalType: 'uint256', type: 'uint256' },
|
|
3051
|
-
{ name: 'needed', internalType: 'uint256', type: 'uint256' },
|
|
3052
|
-
],
|
|
3053
|
-
name: 'InsufficientBalance',
|
|
3054
|
-
},
|
|
3058
|
+
{ type: 'error', inputs: [], name: 'FailedInnerCall' },
|
|
3055
3059
|
{ type: 'error', inputs: [], name: 'InvalidConfig' },
|
|
3056
3060
|
{ type: 'error', inputs: [], name: 'InvalidHook' },
|
|
3057
3061
|
{ type: 'error', inputs: [], name: 'InvalidInitialization' },
|
|
@@ -3101,7 +3105,18 @@ export const coinFactoryABI = [
|
|
|
3101
3105
|
},
|
|
3102
3106
|
{ type: 'error', inputs: [], name: 'ZeroDiscoveryPositions' },
|
|
3103
3107
|
{ type: 'error', inputs: [], name: 'ZeroDiscoverySupplyShare' },
|
|
3108
|
+
{
|
|
3109
|
+
type: 'error',
|
|
3110
|
+
inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
|
|
3111
|
+
name: 'AddressEmptyCode',
|
|
3112
|
+
},
|
|
3113
|
+
{
|
|
3114
|
+
type: 'error',
|
|
3115
|
+
inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
|
|
3116
|
+
name: 'AddressInsufficientBalance',
|
|
3117
|
+
},
|
|
3104
3118
|
{ type: 'error', inputs: [], name: 'AddressZero' },
|
|
3119
|
+
{ type: 'error', inputs: [], name: 'FailedInnerCall' },
|
|
3105
3120
|
{ type: 'error', inputs: [], name: 'HookNotImplemented' },
|
|
3106
3121
|
{
|
|
3107
3122
|
type: 'error',
|
|
@@ -3119,6 +3134,7 @@ export const coinFactoryABI = [
|
|
|
3119
3134
|
inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
|
|
3120
3135
|
name: 'SafeERC20FailedOperation',
|
|
3121
3136
|
},
|
|
3137
|
+
{ type: 'error', inputs: [], name: 'V3RouteCannotStartWithInputCurrency' },
|
|
3122
3138
|
{ type: 'error', inputs: [], name: 'V3RouteDoesNotConnectToV4RouteStart' },
|
|
3123
3139
|
{ type: 'error', inputs: [], name: 'AddressZero' },
|
|
3124
3140
|
{ type: 'error', inputs: [], name: 'AlreadyOwner' },
|
|
@@ -3248,134 +3264,6 @@ export const coinFactoryABI = [
|
|
|
3248
3264
|
{ type: 'error', inputs: [], name: 'OwnerCannotBeAddressZero' },
|
|
3249
3265
|
{ type: 'error', inputs: [], name: 'SlippageBoundsExceeded' },
|
|
3250
3266
|
{ type: 'error', inputs: [], name: 'UseRevokeOwnershipToRemoveSelf' },
|
|
3251
|
-
{ type: 'error', inputs: [], name: 'CannotMintZeroLiquidity' },
|
|
3252
|
-
{ type: 'error', inputs: [], name: 'CoinVersionLookupCannotBeZeroAddress' },
|
|
3253
|
-
{ type: 'error', inputs: [], name: 'EthTransferFailed' },
|
|
3254
|
-
{ type: 'error', inputs: [], name: 'HookNotImplemented' },
|
|
3255
|
-
{
|
|
3256
|
-
type: 'error',
|
|
3257
|
-
inputs: [{ name: 'callbackId', internalType: 'uint8', type: 'uint8' }],
|
|
3258
|
-
name: 'InvalidCallbackId',
|
|
3259
|
-
},
|
|
3260
|
-
{
|
|
3261
|
-
type: 'error',
|
|
3262
|
-
inputs: [{ name: 'newHook', internalType: 'address', type: 'address' }],
|
|
3263
|
-
name: 'InvalidNewHook',
|
|
3264
|
-
},
|
|
3265
|
-
{
|
|
3266
|
-
type: 'error',
|
|
3267
|
-
inputs: [
|
|
3268
|
-
{ name: 'tickLower', internalType: 'int24', type: 'int24' },
|
|
3269
|
-
{ name: 'tickUpper', internalType: 'int24', type: 'int24' },
|
|
3270
|
-
],
|
|
3271
|
-
name: 'InvalidTickRangeMisordered',
|
|
3272
|
-
},
|
|
3273
|
-
{
|
|
3274
|
-
type: 'error',
|
|
3275
|
-
inputs: [
|
|
3276
|
-
{
|
|
3277
|
-
name: 'key',
|
|
3278
|
-
internalType: 'struct PoolKey',
|
|
3279
|
-
type: 'tuple',
|
|
3280
|
-
components: [
|
|
3281
|
-
{ name: 'currency0', internalType: 'Currency', type: 'address' },
|
|
3282
|
-
{ name: 'currency1', internalType: 'Currency', type: 'address' },
|
|
3283
|
-
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
3284
|
-
{ name: 'tickSpacing', internalType: 'int24', type: 'int24' },
|
|
3285
|
-
{ name: 'hooks', internalType: 'contract IHooks', type: 'address' },
|
|
3286
|
-
],
|
|
3287
|
-
},
|
|
3288
|
-
],
|
|
3289
|
-
name: 'NoCoinForHook',
|
|
3290
|
-
},
|
|
3291
|
-
{
|
|
3292
|
-
type: 'error',
|
|
3293
|
-
inputs: [{ name: 'coin', internalType: 'address', type: 'address' }],
|
|
3294
|
-
name: 'NotACoin',
|
|
3295
|
-
},
|
|
3296
|
-
{ type: 'error', inputs: [], name: 'NotPoolManager' },
|
|
3297
|
-
{
|
|
3298
|
-
type: 'error',
|
|
3299
|
-
inputs: [
|
|
3300
|
-
{ name: 'caller', internalType: 'address', type: 'address' },
|
|
3301
|
-
{ name: 'expectedCoin', internalType: 'address', type: 'address' },
|
|
3302
|
-
],
|
|
3303
|
-
name: 'OnlyCoin',
|
|
3304
|
-
},
|
|
3305
|
-
{ type: 'error', inputs: [], name: 'PathMustHaveAtLeastOneStep' },
|
|
3306
|
-
{ type: 'error', inputs: [], name: 'SafeCastOverflow' },
|
|
3307
|
-
{
|
|
3308
|
-
type: 'error',
|
|
3309
|
-
inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
|
|
3310
|
-
name: 'SafeERC20FailedOperation',
|
|
3311
|
-
},
|
|
3312
|
-
{
|
|
3313
|
-
type: 'error',
|
|
3314
|
-
inputs: [],
|
|
3315
|
-
name: 'TrustedMsgSenderLookupCannotBeZeroAddress',
|
|
3316
|
-
},
|
|
3317
|
-
{ type: 'error', inputs: [], name: 'UpgradeGateCannotBeZeroAddress' },
|
|
3318
|
-
{
|
|
3319
|
-
type: 'error',
|
|
3320
|
-
inputs: [
|
|
3321
|
-
{ name: 'oldHook', internalType: 'address', type: 'address' },
|
|
3322
|
-
{ name: 'newHook', internalType: 'address', type: 'address' },
|
|
3323
|
-
],
|
|
3324
|
-
name: 'UpgradePathNotRegistered',
|
|
3325
|
-
},
|
|
3326
|
-
{ type: 'error', inputs: [], name: 'ZoraHookRegistryCannotBeZeroAddress' },
|
|
3327
|
-
{ type: 'error', inputs: [], name: 'ZoraLimitOrderBookCannotBeZeroAddress' },
|
|
3328
|
-
{
|
|
3329
|
-
type: 'error',
|
|
3330
|
-
inputs: [{ name: 'authority', internalType: 'address', type: 'address' }],
|
|
3331
|
-
name: 'AccessManagedInvalidAuthority',
|
|
3332
|
-
},
|
|
3333
|
-
{ type: 'error', inputs: [], name: 'AccessManagedUnauthorized' },
|
|
3334
|
-
{ type: 'error', inputs: [], name: 'AddressZero' },
|
|
3335
|
-
{ type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
|
|
3336
|
-
{
|
|
3337
|
-
type: 'error',
|
|
3338
|
-
inputs: [
|
|
3339
|
-
{ name: 'orderId', internalType: 'bytes32', type: 'bytes32' },
|
|
3340
|
-
{ name: 'expectedCoin', internalType: 'address', type: 'address' },
|
|
3341
|
-
{ name: 'actualCoin', internalType: 'address', type: 'address' },
|
|
3342
|
-
],
|
|
3343
|
-
name: 'CoinMismatch',
|
|
3344
|
-
},
|
|
3345
|
-
{ type: 'error', inputs: [], name: 'InsufficientForwardedFunds' },
|
|
3346
|
-
{ type: 'error', inputs: [], name: 'InsufficientTransferFunds' },
|
|
3347
|
-
{
|
|
3348
|
-
type: 'error',
|
|
3349
|
-
inputs: [
|
|
3350
|
-
{ name: 'startTick', internalType: 'int24', type: 'int24' },
|
|
3351
|
-
{ name: 'endTick', internalType: 'int24', type: 'int24' },
|
|
3352
|
-
{ name: 'isCurrency0', internalType: 'bool', type: 'bool' },
|
|
3353
|
-
],
|
|
3354
|
-
name: 'InvalidFillWindow',
|
|
3355
|
-
},
|
|
3356
|
-
{ type: 'error', inputs: [], name: 'InvalidOrder' },
|
|
3357
|
-
{ type: 'error', inputs: [], name: 'InvalidPoolKey' },
|
|
3358
|
-
{ type: 'error', inputs: [], name: 'MaxFillCountCannotBeZero' },
|
|
3359
|
-
{
|
|
3360
|
-
type: 'error',
|
|
3361
|
-
inputs: [
|
|
3362
|
-
{ name: 'withdrawn', internalType: 'uint256', type: 'uint256' },
|
|
3363
|
-
{ name: 'minAmountOut', internalType: 'uint256', type: 'uint256' },
|
|
3364
|
-
],
|
|
3365
|
-
name: 'MinAmountNotReached',
|
|
3366
|
-
},
|
|
3367
|
-
{ type: 'error', inputs: [], name: 'NativeValueMismatch' },
|
|
3368
|
-
{ type: 'error', inputs: [], name: 'NotPoolManager' },
|
|
3369
|
-
{ type: 'error', inputs: [], name: 'OnlyZoraHook' },
|
|
3370
|
-
{ type: 'error', inputs: [], name: 'OrderClosed' },
|
|
3371
|
-
{ type: 'error', inputs: [], name: 'OrderNotMaker' },
|
|
3372
|
-
{ type: 'error', inputs: [], name: 'PathMustHaveAtLeastOneStep' },
|
|
3373
|
-
{ type: 'error', inputs: [], name: 'RouterMsgSenderInvalid' },
|
|
3374
|
-
{ type: 'error', inputs: [], name: 'UnknownCallback' },
|
|
3375
|
-
{ type: 'error', inputs: [], name: 'UnlockedFillNotAllowed' },
|
|
3376
|
-
{ type: 'error', inputs: [], name: 'ZeroMaker' },
|
|
3377
|
-
{ type: 'error', inputs: [], name: 'ZeroOrderSize' },
|
|
3378
|
-
{ type: 'error', inputs: [], name: 'ZeroRealizedOrder' },
|
|
3379
3267
|
] as const
|
|
3380
3268
|
|
|
3381
3269
|
/**
|
|
@@ -10266,6 +10154,58 @@ export const uniswapQuoterV2Config = {
|
|
|
10266
10154
|
abi: uniswapQuoterV2ABI,
|
|
10267
10155
|
} as const
|
|
10268
10156
|
|
|
10157
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
10158
|
+
// UniswapUniversalRouter
|
|
10159
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
10160
|
+
|
|
10161
|
+
/**
|
|
10162
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x6ff5693b99212da76ad316178a184ab56d299b43)
|
|
10163
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x492E6456D9528771018DeB9E87ef7750EF184104)
|
|
10164
|
+
*/
|
|
10165
|
+
export const uniswapUniversalRouterABI = [
|
|
10166
|
+
{
|
|
10167
|
+
type: 'function',
|
|
10168
|
+
inputs: [
|
|
10169
|
+
{ name: 'commands', internalType: 'bytes', type: 'bytes' },
|
|
10170
|
+
{ name: 'inputs', internalType: 'bytes[]', type: 'bytes[]' },
|
|
10171
|
+
{ name: 'deadline', internalType: 'uint256', type: 'uint256' },
|
|
10172
|
+
],
|
|
10173
|
+
name: 'execute',
|
|
10174
|
+
outputs: [],
|
|
10175
|
+
stateMutability: 'payable',
|
|
10176
|
+
},
|
|
10177
|
+
{ type: 'error', inputs: [], name: 'ETHNotAccepted' },
|
|
10178
|
+
{
|
|
10179
|
+
type: 'error',
|
|
10180
|
+
inputs: [
|
|
10181
|
+
{ name: 'commandIndex', internalType: 'uint256', type: 'uint256' },
|
|
10182
|
+
{ name: 'message', internalType: 'bytes', type: 'bytes' },
|
|
10183
|
+
],
|
|
10184
|
+
name: 'ExecutionFailed',
|
|
10185
|
+
},
|
|
10186
|
+
{ type: 'error', inputs: [], name: 'InvalidEthSender' },
|
|
10187
|
+
{ type: 'error', inputs: [], name: 'LengthMismatch' },
|
|
10188
|
+
{ type: 'error', inputs: [], name: 'TransactionDeadlinePassed' },
|
|
10189
|
+
] as const
|
|
10190
|
+
|
|
10191
|
+
/**
|
|
10192
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x6ff5693b99212da76ad316178a184ab56d299b43)
|
|
10193
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x492E6456D9528771018DeB9E87ef7750EF184104)
|
|
10194
|
+
*/
|
|
10195
|
+
export const uniswapUniversalRouterAddress = {
|
|
10196
|
+
8453: '0x6fF5693b99212Da76ad316178A184AB56D299b43',
|
|
10197
|
+
84532: '0x492E6456D9528771018DeB9E87ef7750EF184104',
|
|
10198
|
+
} as const
|
|
10199
|
+
|
|
10200
|
+
/**
|
|
10201
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x6ff5693b99212da76ad316178a184ab56d299b43)
|
|
10202
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x492E6456D9528771018DeB9E87ef7750EF184104)
|
|
10203
|
+
*/
|
|
10204
|
+
export const uniswapUniversalRouterConfig = {
|
|
10205
|
+
address: uniswapUniversalRouterAddress,
|
|
10206
|
+
abi: uniswapUniversalRouterABI,
|
|
10207
|
+
} as const
|
|
10208
|
+
|
|
10269
10209
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
10270
10210
|
// UniswapV3SwapRouter
|
|
10271
10211
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
@@ -15244,2529 +15184,1274 @@ export const zoraCreatorRedeemMinterFactoryConfig = {
|
|
|
15244
15184
|
} as const
|
|
15245
15185
|
|
|
15246
15186
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
15247
|
-
//
|
|
15187
|
+
// ZoraMints1155
|
|
15248
15188
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
15249
15189
|
|
|
15250
15190
|
/**
|
|
15251
|
-
* [__View Contract on
|
|
15191
|
+
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
15192
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
15252
15193
|
*/
|
|
15253
|
-
export const
|
|
15254
|
-
{
|
|
15255
|
-
type: 'constructor',
|
|
15256
|
-
inputs: [
|
|
15257
|
-
{ name: 'poolManager_', internalType: 'address', type: 'address' },
|
|
15258
|
-
{
|
|
15259
|
-
name: 'zoraCoinVersionLookup_',
|
|
15260
|
-
internalType: 'address',
|
|
15261
|
-
type: 'address',
|
|
15262
|
-
},
|
|
15263
|
-
{ name: 'zoraHookRegistry_', internalType: 'address', type: 'address' },
|
|
15264
|
-
{ name: 'authority_', internalType: 'address', type: 'address' },
|
|
15265
|
-
],
|
|
15266
|
-
stateMutability: 'nonpayable',
|
|
15267
|
-
},
|
|
15268
|
-
{ type: 'receive', stateMutability: 'payable' },
|
|
15194
|
+
export const zoraMints1155ABI = [
|
|
15195
|
+
{ type: 'constructor', inputs: [], stateMutability: 'nonpayable' },
|
|
15269
15196
|
{
|
|
15270
15197
|
type: 'function',
|
|
15271
15198
|
inputs: [],
|
|
15272
|
-
name: '
|
|
15199
|
+
name: 'ETH_ADDRESS',
|
|
15273
15200
|
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
15274
15201
|
stateMutability: 'view',
|
|
15275
15202
|
},
|
|
15276
15203
|
{
|
|
15277
15204
|
type: 'function',
|
|
15278
|
-
inputs: [
|
|
15279
|
-
|
|
15280
|
-
{ name: 'coin', internalType: 'address', type: 'address' },
|
|
15281
|
-
],
|
|
15282
|
-
name: 'balanceOf',
|
|
15205
|
+
inputs: [],
|
|
15206
|
+
name: 'MINIMUM_ERC20_PRICE',
|
|
15283
15207
|
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
15284
15208
|
stateMutability: 'view',
|
|
15285
15209
|
},
|
|
15286
15210
|
{
|
|
15287
15211
|
type: 'function',
|
|
15288
|
-
inputs: [
|
|
15289
|
-
|
|
15290
|
-
|
|
15291
|
-
|
|
15292
|
-
type: 'tuple',
|
|
15293
|
-
components: [
|
|
15294
|
-
{ name: 'currency0', internalType: 'Currency', type: 'address' },
|
|
15295
|
-
{ name: 'currency1', internalType: 'Currency', type: 'address' },
|
|
15296
|
-
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
15297
|
-
{ name: 'tickSpacing', internalType: 'int24', type: 'int24' },
|
|
15298
|
-
{ name: 'hooks', internalType: 'contract IHooks', type: 'address' },
|
|
15299
|
-
],
|
|
15300
|
-
},
|
|
15301
|
-
{ name: 'isCurrency0', internalType: 'bool', type: 'bool' },
|
|
15302
|
-
{ name: 'orderSizes', internalType: 'uint256[]', type: 'uint256[]' },
|
|
15303
|
-
{ name: 'orderTicks', internalType: 'int24[]', type: 'int24[]' },
|
|
15304
|
-
{ name: 'maker', internalType: 'address', type: 'address' },
|
|
15305
|
-
],
|
|
15306
|
-
name: 'create',
|
|
15307
|
-
outputs: [{ name: '', internalType: 'bytes32[]', type: 'bytes32[]' }],
|
|
15308
|
-
stateMutability: 'payable',
|
|
15309
|
-
},
|
|
15310
|
-
{
|
|
15311
|
-
type: 'function',
|
|
15312
|
-
inputs: [
|
|
15313
|
-
{
|
|
15314
|
-
name: 'key',
|
|
15315
|
-
internalType: 'struct PoolKey',
|
|
15316
|
-
type: 'tuple',
|
|
15317
|
-
components: [
|
|
15318
|
-
{ name: 'currency0', internalType: 'Currency', type: 'address' },
|
|
15319
|
-
{ name: 'currency1', internalType: 'Currency', type: 'address' },
|
|
15320
|
-
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
15321
|
-
{ name: 'tickSpacing', internalType: 'int24', type: 'int24' },
|
|
15322
|
-
{ name: 'hooks', internalType: 'contract IHooks', type: 'address' },
|
|
15323
|
-
],
|
|
15324
|
-
},
|
|
15325
|
-
{ name: 'isCurrency0', internalType: 'bool', type: 'bool' },
|
|
15326
|
-
{ name: 'startTick', internalType: 'int24', type: 'int24' },
|
|
15327
|
-
{ name: 'endTick', internalType: 'int24', type: 'int24' },
|
|
15328
|
-
{ name: 'maxFillCount', internalType: 'uint256', type: 'uint256' },
|
|
15329
|
-
{ name: 'fillReferral', internalType: 'address', type: 'address' },
|
|
15330
|
-
],
|
|
15331
|
-
name: 'fill',
|
|
15332
|
-
outputs: [],
|
|
15333
|
-
stateMutability: 'nonpayable',
|
|
15212
|
+
inputs: [],
|
|
15213
|
+
name: 'MINIMUM_ETH_PRICE',
|
|
15214
|
+
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
15215
|
+
stateMutability: 'view',
|
|
15334
15216
|
},
|
|
15335
15217
|
{
|
|
15336
15218
|
type: 'function',
|
|
15337
|
-
inputs: [
|
|
15338
|
-
|
|
15339
|
-
|
|
15340
|
-
|
|
15341
|
-
type: 'tuple[]',
|
|
15342
|
-
components: [
|
|
15343
|
-
{
|
|
15344
|
-
name: 'key',
|
|
15345
|
-
internalType: 'struct PoolKey',
|
|
15346
|
-
type: 'tuple',
|
|
15347
|
-
components: [
|
|
15348
|
-
{ name: 'currency0', internalType: 'Currency', type: 'address' },
|
|
15349
|
-
{ name: 'currency1', internalType: 'Currency', type: 'address' },
|
|
15350
|
-
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
15351
|
-
{ name: 'tickSpacing', internalType: 'int24', type: 'int24' },
|
|
15352
|
-
{
|
|
15353
|
-
name: 'hooks',
|
|
15354
|
-
internalType: 'contract IHooks',
|
|
15355
|
-
type: 'address',
|
|
15356
|
-
},
|
|
15357
|
-
],
|
|
15358
|
-
},
|
|
15359
|
-
{ name: 'isCurrency0', internalType: 'bool', type: 'bool' },
|
|
15360
|
-
{ name: 'orderIds', internalType: 'bytes32[]', type: 'bytes32[]' },
|
|
15361
|
-
],
|
|
15362
|
-
},
|
|
15363
|
-
{ name: 'fillReferral', internalType: 'address', type: 'address' },
|
|
15364
|
-
],
|
|
15365
|
-
name: 'fill',
|
|
15366
|
-
outputs: [],
|
|
15367
|
-
stateMutability: 'nonpayable',
|
|
15219
|
+
inputs: [],
|
|
15220
|
+
name: 'NAME',
|
|
15221
|
+
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
15222
|
+
stateMutability: 'view',
|
|
15368
15223
|
},
|
|
15369
15224
|
{
|
|
15370
15225
|
type: 'function',
|
|
15371
15226
|
inputs: [],
|
|
15372
|
-
name: '
|
|
15373
|
-
outputs: [{ name: '', internalType: '
|
|
15227
|
+
name: 'VERSION',
|
|
15228
|
+
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
15374
15229
|
stateMutability: 'view',
|
|
15375
15230
|
},
|
|
15376
15231
|
{
|
|
15377
15232
|
type: 'function',
|
|
15378
15233
|
inputs: [],
|
|
15379
|
-
name: '
|
|
15380
|
-
outputs: [
|
|
15381
|
-
{ name: '', internalType: 'contract IPoolManager', type: 'address' },
|
|
15382
|
-
],
|
|
15234
|
+
name: 'authority',
|
|
15235
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
15383
15236
|
stateMutability: 'view',
|
|
15384
15237
|
},
|
|
15385
15238
|
{
|
|
15386
15239
|
type: 'function',
|
|
15387
15240
|
inputs: [
|
|
15388
|
-
{ name: '
|
|
15241
|
+
{ name: 'account', internalType: 'address', type: 'address' },
|
|
15242
|
+
{ name: 'id', internalType: 'uint256', type: 'uint256' },
|
|
15389
15243
|
],
|
|
15390
|
-
name: '
|
|
15391
|
-
outputs: [],
|
|
15392
|
-
stateMutability: '
|
|
15244
|
+
name: 'balanceOf',
|
|
15245
|
+
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
15246
|
+
stateMutability: 'view',
|
|
15393
15247
|
},
|
|
15394
15248
|
{
|
|
15395
15249
|
type: 'function',
|
|
15396
|
-
inputs: [
|
|
15397
|
-
|
|
15398
|
-
],
|
|
15399
|
-
|
|
15400
|
-
outputs: [],
|
|
15401
|
-
stateMutability: 'nonpayable',
|
|
15250
|
+
inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
|
|
15251
|
+
name: 'balanceOfAccount',
|
|
15252
|
+
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
15253
|
+
stateMutability: 'view',
|
|
15402
15254
|
},
|
|
15403
15255
|
{
|
|
15404
15256
|
type: 'function',
|
|
15405
|
-
inputs: [
|
|
15406
|
-
|
|
15407
|
-
|
|
15408
|
-
|
|
15257
|
+
inputs: [
|
|
15258
|
+
{ name: 'accounts', internalType: 'address[]', type: 'address[]' },
|
|
15259
|
+
{ name: 'ids', internalType: 'uint256[]', type: 'uint256[]' },
|
|
15260
|
+
],
|
|
15261
|
+
name: 'balanceOfBatch',
|
|
15262
|
+
outputs: [{ name: '', internalType: 'uint256[]', type: 'uint256[]' }],
|
|
15263
|
+
stateMutability: 'view',
|
|
15264
|
+
},
|
|
15265
|
+
{
|
|
15266
|
+
type: 'function',
|
|
15267
|
+
inputs: [],
|
|
15268
|
+
name: 'contractURI',
|
|
15269
|
+
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
15270
|
+
stateMutability: 'view',
|
|
15409
15271
|
},
|
|
15410
15272
|
{
|
|
15411
15273
|
type: 'function',
|
|
15412
15274
|
inputs: [
|
|
15413
|
-
{ name: '
|
|
15414
|
-
{
|
|
15415
|
-
|
|
15416
|
-
|
|
15275
|
+
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
15276
|
+
{
|
|
15277
|
+
name: 'tokenConfig',
|
|
15278
|
+
internalType: 'struct TokenConfig',
|
|
15279
|
+
type: 'tuple',
|
|
15280
|
+
components: [
|
|
15281
|
+
{ name: 'price', internalType: 'uint256', type: 'uint256' },
|
|
15282
|
+
{ name: 'tokenAddress', internalType: 'address', type: 'address' },
|
|
15283
|
+
{ name: 'redeemHandler', internalType: 'address', type: 'address' },
|
|
15284
|
+
],
|
|
15285
|
+
},
|
|
15417
15286
|
],
|
|
15418
|
-
name: '
|
|
15287
|
+
name: 'createToken',
|
|
15419
15288
|
outputs: [],
|
|
15420
15289
|
stateMutability: 'nonpayable',
|
|
15421
15290
|
},
|
|
15422
15291
|
{
|
|
15423
15292
|
type: 'function',
|
|
15424
15293
|
inputs: [],
|
|
15425
|
-
name: '
|
|
15294
|
+
name: 'eip712Domain',
|
|
15426
15295
|
outputs: [
|
|
15427
|
-
{
|
|
15428
|
-
|
|
15429
|
-
|
|
15430
|
-
|
|
15431
|
-
},
|
|
15296
|
+
{ name: 'fields', internalType: 'bytes1', type: 'bytes1' },
|
|
15297
|
+
{ name: 'name', internalType: 'string', type: 'string' },
|
|
15298
|
+
{ name: 'version', internalType: 'string', type: 'string' },
|
|
15299
|
+
{ name: 'chainId', internalType: 'uint256', type: 'uint256' },
|
|
15300
|
+
{ name: 'verifyingContract', internalType: 'address', type: 'address' },
|
|
15301
|
+
{ name: 'salt', internalType: 'bytes32', type: 'bytes32' },
|
|
15302
|
+
{ name: 'extensions', internalType: 'uint256[]', type: 'uint256[]' },
|
|
15432
15303
|
],
|
|
15433
15304
|
stateMutability: 'view',
|
|
15434
15305
|
},
|
|
15435
15306
|
{
|
|
15436
15307
|
type: 'function',
|
|
15437
15308
|
inputs: [],
|
|
15438
|
-
name: '
|
|
15439
|
-
outputs: [
|
|
15440
|
-
{ name: '', internalType: 'contract IZoraHookRegistry', type: 'address' },
|
|
15441
|
-
],
|
|
15309
|
+
name: 'getManager',
|
|
15310
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
15442
15311
|
stateMutability: 'view',
|
|
15443
15312
|
},
|
|
15444
15313
|
{
|
|
15445
|
-
type: '
|
|
15446
|
-
|
|
15447
|
-
|
|
15314
|
+
type: 'function',
|
|
15315
|
+
inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
|
|
15316
|
+
name: 'getTokenConfig',
|
|
15317
|
+
outputs: [
|
|
15448
15318
|
{
|
|
15449
|
-
name: '
|
|
15450
|
-
internalType: '
|
|
15451
|
-
type: '
|
|
15452
|
-
|
|
15319
|
+
name: '',
|
|
15320
|
+
internalType: 'struct TokenConfig',
|
|
15321
|
+
type: 'tuple',
|
|
15322
|
+
components: [
|
|
15323
|
+
{ name: 'price', internalType: 'uint256', type: 'uint256' },
|
|
15324
|
+
{ name: 'tokenAddress', internalType: 'address', type: 'address' },
|
|
15325
|
+
{ name: 'redeemHandler', internalType: 'address', type: 'address' },
|
|
15326
|
+
],
|
|
15453
15327
|
},
|
|
15454
15328
|
],
|
|
15455
|
-
|
|
15329
|
+
stateMutability: 'view',
|
|
15456
15330
|
},
|
|
15457
15331
|
{
|
|
15458
|
-
type: '
|
|
15459
|
-
anonymous: false,
|
|
15332
|
+
type: 'function',
|
|
15460
15333
|
inputs: [
|
|
15461
15334
|
{
|
|
15462
|
-
name: '
|
|
15463
|
-
internalType: '
|
|
15464
|
-
type: '
|
|
15465
|
-
|
|
15466
|
-
|
|
15467
|
-
|
|
15468
|
-
|
|
15469
|
-
|
|
15470
|
-
|
|
15471
|
-
|
|
15472
|
-
|
|
15473
|
-
|
|
15474
|
-
{
|
|
15475
|
-
name: 'isCurrency0',
|
|
15476
|
-
internalType: 'bool',
|
|
15477
|
-
type: 'bool',
|
|
15478
|
-
indexed: false,
|
|
15479
|
-
},
|
|
15480
|
-
{
|
|
15481
|
-
name: 'orderTick',
|
|
15482
|
-
internalType: 'int24',
|
|
15483
|
-
type: 'int24',
|
|
15484
|
-
indexed: false,
|
|
15485
|
-
},
|
|
15486
|
-
{
|
|
15487
|
-
name: 'currentTick',
|
|
15488
|
-
internalType: 'int24',
|
|
15489
|
-
type: 'int24',
|
|
15490
|
-
indexed: false,
|
|
15491
|
-
},
|
|
15492
|
-
{
|
|
15493
|
-
name: 'orderSize',
|
|
15494
|
-
internalType: 'uint128',
|
|
15495
|
-
type: 'uint128',
|
|
15496
|
-
indexed: false,
|
|
15497
|
-
},
|
|
15498
|
-
{
|
|
15499
|
-
name: 'orderId',
|
|
15500
|
-
internalType: 'bytes32',
|
|
15501
|
-
type: 'bytes32',
|
|
15502
|
-
indexed: false,
|
|
15335
|
+
name: 'permit',
|
|
15336
|
+
internalType: 'struct IZoraSparks1155Managed.PermitBatch',
|
|
15337
|
+
type: 'tuple',
|
|
15338
|
+
components: [
|
|
15339
|
+
{ name: 'owner', internalType: 'address', type: 'address' },
|
|
15340
|
+
{ name: 'to', internalType: 'address', type: 'address' },
|
|
15341
|
+
{ name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
|
|
15342
|
+
{ name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
|
|
15343
|
+
{ name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
|
|
15344
|
+
{ name: 'deadline', internalType: 'uint256', type: 'uint256' },
|
|
15345
|
+
{ name: 'nonce', internalType: 'uint256', type: 'uint256' },
|
|
15346
|
+
],
|
|
15503
15347
|
},
|
|
15504
15348
|
],
|
|
15505
|
-
name: '
|
|
15349
|
+
name: 'hashPermitBatch',
|
|
15350
|
+
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
|
15351
|
+
stateMutability: 'view',
|
|
15506
15352
|
},
|
|
15507
15353
|
{
|
|
15508
|
-
type: '
|
|
15509
|
-
anonymous: false,
|
|
15354
|
+
type: 'function',
|
|
15510
15355
|
inputs: [
|
|
15511
15356
|
{
|
|
15512
|
-
name: '
|
|
15513
|
-
internalType: '
|
|
15514
|
-
type: '
|
|
15515
|
-
|
|
15516
|
-
|
|
15517
|
-
|
|
15518
|
-
|
|
15519
|
-
|
|
15520
|
-
|
|
15521
|
-
|
|
15522
|
-
|
|
15523
|
-
|
|
15524
|
-
name: 'coinOut',
|
|
15525
|
-
internalType: 'address',
|
|
15526
|
-
type: 'address',
|
|
15527
|
-
indexed: false,
|
|
15528
|
-
},
|
|
15529
|
-
{
|
|
15530
|
-
name: 'amountIn',
|
|
15531
|
-
internalType: 'uint128',
|
|
15532
|
-
type: 'uint128',
|
|
15533
|
-
indexed: false,
|
|
15534
|
-
},
|
|
15535
|
-
{
|
|
15536
|
-
name: 'amountOut',
|
|
15537
|
-
internalType: 'uint128',
|
|
15538
|
-
type: 'uint128',
|
|
15539
|
-
indexed: false,
|
|
15540
|
-
},
|
|
15541
|
-
{
|
|
15542
|
-
name: 'fillReferral',
|
|
15543
|
-
internalType: 'address',
|
|
15544
|
-
type: 'address',
|
|
15545
|
-
indexed: false,
|
|
15546
|
-
},
|
|
15547
|
-
{
|
|
15548
|
-
name: 'fillReferralAmount',
|
|
15549
|
-
internalType: 'uint128',
|
|
15550
|
-
type: 'uint128',
|
|
15551
|
-
indexed: false,
|
|
15552
|
-
},
|
|
15553
|
-
{
|
|
15554
|
-
name: 'poolKeyHash',
|
|
15555
|
-
internalType: 'bytes32',
|
|
15556
|
-
type: 'bytes32',
|
|
15557
|
-
indexed: false,
|
|
15558
|
-
},
|
|
15559
|
-
{ name: 'tick', internalType: 'int24', type: 'int24', indexed: false },
|
|
15560
|
-
{
|
|
15561
|
-
name: 'orderId',
|
|
15562
|
-
internalType: 'bytes32',
|
|
15563
|
-
type: 'bytes32',
|
|
15564
|
-
indexed: false,
|
|
15357
|
+
name: 'permit',
|
|
15358
|
+
internalType: 'struct IZoraSparks1155Managed.PermitSingle',
|
|
15359
|
+
type: 'tuple',
|
|
15360
|
+
components: [
|
|
15361
|
+
{ name: 'owner', internalType: 'address', type: 'address' },
|
|
15362
|
+
{ name: 'to', internalType: 'address', type: 'address' },
|
|
15363
|
+
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
15364
|
+
{ name: 'quantity', internalType: 'uint256', type: 'uint256' },
|
|
15365
|
+
{ name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
|
|
15366
|
+
{ name: 'deadline', internalType: 'uint256', type: 'uint256' },
|
|
15367
|
+
{ name: 'nonce', internalType: 'uint256', type: 'uint256' },
|
|
15368
|
+
],
|
|
15565
15369
|
},
|
|
15566
15370
|
],
|
|
15567
|
-
name: '
|
|
15371
|
+
name: 'hashPermitSingle',
|
|
15372
|
+
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
|
15373
|
+
stateMutability: 'view',
|
|
15568
15374
|
},
|
|
15569
15375
|
{
|
|
15570
|
-
type: '
|
|
15571
|
-
anonymous: false,
|
|
15376
|
+
type: 'function',
|
|
15572
15377
|
inputs: [
|
|
15573
|
-
{
|
|
15574
|
-
|
|
15575
|
-
internalType: 'address',
|
|
15576
|
-
type: 'address',
|
|
15577
|
-
indexed: true,
|
|
15578
|
-
},
|
|
15579
|
-
{ name: 'coin', internalType: 'address', type: 'address', indexed: true },
|
|
15580
|
-
{
|
|
15581
|
-
name: 'poolKeyHash',
|
|
15582
|
-
internalType: 'bytes32',
|
|
15583
|
-
type: 'bytes32',
|
|
15584
|
-
indexed: false,
|
|
15585
|
-
},
|
|
15586
|
-
{
|
|
15587
|
-
name: 'isCurrency0',
|
|
15588
|
-
internalType: 'bool',
|
|
15589
|
-
type: 'bool',
|
|
15590
|
-
indexed: false,
|
|
15591
|
-
},
|
|
15592
|
-
{ name: 'tick', internalType: 'int24', type: 'int24', indexed: false },
|
|
15593
|
-
{
|
|
15594
|
-
name: 'orderSize',
|
|
15595
|
-
internalType: 'uint128',
|
|
15596
|
-
type: 'uint128',
|
|
15597
|
-
indexed: false,
|
|
15598
|
-
},
|
|
15599
|
-
{
|
|
15600
|
-
name: 'orderId',
|
|
15601
|
-
internalType: 'bytes32',
|
|
15602
|
-
type: 'bytes32',
|
|
15603
|
-
indexed: false,
|
|
15604
|
-
},
|
|
15605
|
-
{
|
|
15606
|
-
name: 'isCancelled',
|
|
15607
|
-
internalType: 'bool',
|
|
15608
|
-
type: 'bool',
|
|
15609
|
-
indexed: false,
|
|
15610
|
-
},
|
|
15378
|
+
{ name: 'account', internalType: 'address', type: 'address' },
|
|
15379
|
+
{ name: 'operator', internalType: 'address', type: 'address' },
|
|
15611
15380
|
],
|
|
15612
|
-
name: '
|
|
15381
|
+
name: 'isApprovedForAll',
|
|
15382
|
+
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
15383
|
+
stateMutability: 'view',
|
|
15613
15384
|
},
|
|
15614
15385
|
{
|
|
15615
|
-
type: '
|
|
15616
|
-
|
|
15386
|
+
type: 'function',
|
|
15387
|
+
inputs: [],
|
|
15388
|
+
name: 'isConsumingScheduledOp',
|
|
15389
|
+
outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
|
|
15390
|
+
stateMutability: 'view',
|
|
15391
|
+
},
|
|
15392
|
+
{
|
|
15393
|
+
type: 'function',
|
|
15617
15394
|
inputs: [
|
|
15618
15395
|
{
|
|
15619
|
-
name: '
|
|
15620
|
-
internalType: '
|
|
15621
|
-
type: '
|
|
15622
|
-
|
|
15623
|
-
|
|
15624
|
-
|
|
15625
|
-
|
|
15626
|
-
|
|
15627
|
-
|
|
15628
|
-
|
|
15629
|
-
|
|
15396
|
+
name: 'permit',
|
|
15397
|
+
internalType: 'struct IZoraSparks1155Managed.PermitBatch',
|
|
15398
|
+
type: 'tuple',
|
|
15399
|
+
components: [
|
|
15400
|
+
{ name: 'owner', internalType: 'address', type: 'address' },
|
|
15401
|
+
{ name: 'to', internalType: 'address', type: 'address' },
|
|
15402
|
+
{ name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
|
|
15403
|
+
{ name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
|
|
15404
|
+
{ name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
|
|
15405
|
+
{ name: 'deadline', internalType: 'uint256', type: 'uint256' },
|
|
15406
|
+
{ name: 'nonce', internalType: 'uint256', type: 'uint256' },
|
|
15407
|
+
],
|
|
15630
15408
|
},
|
|
15409
|
+
{ name: 'signature', internalType: 'bytes', type: 'bytes' },
|
|
15631
15410
|
],
|
|
15632
|
-
name: '
|
|
15633
|
-
|
|
15634
|
-
|
|
15635
|
-
type: 'error',
|
|
15636
|
-
inputs: [{ name: 'authority', internalType: 'address', type: 'address' }],
|
|
15637
|
-
name: 'AccessManagedInvalidAuthority',
|
|
15411
|
+
name: 'isValidSignatureTransferBatch',
|
|
15412
|
+
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
15413
|
+
stateMutability: 'view',
|
|
15638
15414
|
},
|
|
15639
|
-
{ type: 'error', inputs: [], name: 'AccessManagedUnauthorized' },
|
|
15640
|
-
{ type: 'error', inputs: [], name: 'AddressZero' },
|
|
15641
|
-
{ type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
|
|
15642
15415
|
{
|
|
15643
|
-
type: '
|
|
15416
|
+
type: 'function',
|
|
15644
15417
|
inputs: [
|
|
15645
|
-
{
|
|
15646
|
-
|
|
15647
|
-
|
|
15648
|
-
|
|
15649
|
-
|
|
15418
|
+
{
|
|
15419
|
+
name: 'permit',
|
|
15420
|
+
internalType: 'struct IZoraSparks1155Managed.PermitSingle',
|
|
15421
|
+
type: 'tuple',
|
|
15422
|
+
components: [
|
|
15423
|
+
{ name: 'owner', internalType: 'address', type: 'address' },
|
|
15424
|
+
{ name: 'to', internalType: 'address', type: 'address' },
|
|
15425
|
+
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
15426
|
+
{ name: 'quantity', internalType: 'uint256', type: 'uint256' },
|
|
15427
|
+
{ name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
|
|
15428
|
+
{ name: 'deadline', internalType: 'uint256', type: 'uint256' },
|
|
15429
|
+
{ name: 'nonce', internalType: 'uint256', type: 'uint256' },
|
|
15430
|
+
],
|
|
15431
|
+
},
|
|
15432
|
+
{ name: 'signature', internalType: 'bytes', type: 'bytes' },
|
|
15433
|
+
],
|
|
15434
|
+
name: 'isValidSignatureTransferSingle',
|
|
15435
|
+
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
15436
|
+
stateMutability: 'view',
|
|
15650
15437
|
},
|
|
15651
|
-
{ type: 'error', inputs: [], name: 'InsufficientForwardedFunds' },
|
|
15652
|
-
{ type: 'error', inputs: [], name: 'InsufficientTransferFunds' },
|
|
15653
15438
|
{
|
|
15654
|
-
type: '
|
|
15439
|
+
type: 'function',
|
|
15655
15440
|
inputs: [
|
|
15656
|
-
{ name: '
|
|
15657
|
-
{ name: '
|
|
15658
|
-
{ name: '
|
|
15441
|
+
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
15442
|
+
{ name: 'tokenAddress', internalType: 'address', type: 'address' },
|
|
15443
|
+
{ name: 'quantity', internalType: 'uint256', type: 'uint256' },
|
|
15444
|
+
{ name: 'recipient', internalType: 'address', type: 'address' },
|
|
15445
|
+
{ name: 'data', internalType: 'bytes', type: 'bytes' },
|
|
15659
15446
|
],
|
|
15660
|
-
name: '
|
|
15447
|
+
name: 'mintTokenWithERC20',
|
|
15448
|
+
outputs: [],
|
|
15449
|
+
stateMutability: 'nonpayable',
|
|
15661
15450
|
},
|
|
15662
|
-
{ type: 'error', inputs: [], name: 'InvalidOrder' },
|
|
15663
|
-
{ type: 'error', inputs: [], name: 'InvalidPoolKey' },
|
|
15664
|
-
{ type: 'error', inputs: [], name: 'MaxFillCountCannotBeZero' },
|
|
15665
15451
|
{
|
|
15666
|
-
type: '
|
|
15452
|
+
type: 'function',
|
|
15667
15453
|
inputs: [
|
|
15668
|
-
{ name: '
|
|
15669
|
-
{ name: '
|
|
15454
|
+
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
15455
|
+
{ name: 'quantity', internalType: 'uint256', type: 'uint256' },
|
|
15456
|
+
{ name: 'recipient', internalType: 'address', type: 'address' },
|
|
15457
|
+
{ name: 'data', internalType: 'bytes', type: 'bytes' },
|
|
15670
15458
|
],
|
|
15671
|
-
name: '
|
|
15459
|
+
name: 'mintTokenWithEth',
|
|
15460
|
+
outputs: [],
|
|
15461
|
+
stateMutability: 'payable',
|
|
15672
15462
|
},
|
|
15673
|
-
{ type: 'error', inputs: [], name: 'NativeValueMismatch' },
|
|
15674
|
-
{ type: 'error', inputs: [], name: 'NotPoolManager' },
|
|
15675
|
-
{ type: 'error', inputs: [], name: 'OnlyZoraHook' },
|
|
15676
|
-
{ type: 'error', inputs: [], name: 'OrderClosed' },
|
|
15677
|
-
{ type: 'error', inputs: [], name: 'OrderNotMaker' },
|
|
15678
|
-
{ type: 'error', inputs: [], name: 'PathMustHaveAtLeastOneStep' },
|
|
15679
|
-
{ type: 'error', inputs: [], name: 'RouterMsgSenderInvalid' },
|
|
15680
|
-
{ type: 'error', inputs: [], name: 'UnknownCallback' },
|
|
15681
|
-
{ type: 'error', inputs: [], name: 'UnlockedFillNotAllowed' },
|
|
15682
|
-
{ type: 'error', inputs: [], name: 'ZeroMaker' },
|
|
15683
|
-
{ type: 'error', inputs: [], name: 'ZeroOrderSize' },
|
|
15684
|
-
{ type: 'error', inputs: [], name: 'ZeroRealizedOrder' },
|
|
15685
|
-
{ type: 'error', inputs: [], name: 'AddressZero' },
|
|
15686
|
-
{ type: 'error', inputs: [], name: 'AlreadyOwner' },
|
|
15687
|
-
{ type: 'error', inputs: [], name: 'CannotMintZeroLiquidity' },
|
|
15688
15463
|
{
|
|
15689
|
-
type: '
|
|
15464
|
+
type: 'function',
|
|
15690
15465
|
inputs: [],
|
|
15691
|
-
name: '
|
|
15692
|
-
|
|
15693
|
-
|
|
15694
|
-
{
|
|
15695
|
-
type: 'error',
|
|
15696
|
-
inputs: [{ name: 'length', internalType: 'uint256', type: 'uint256' }],
|
|
15697
|
-
name: 'ECDSAInvalidSignatureLength',
|
|
15698
|
-
},
|
|
15699
|
-
{
|
|
15700
|
-
type: 'error',
|
|
15701
|
-
inputs: [{ name: 's', internalType: 'bytes32', type: 'bytes32' }],
|
|
15702
|
-
name: 'ECDSAInvalidSignatureS',
|
|
15466
|
+
name: 'name',
|
|
15467
|
+
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
15468
|
+
stateMutability: 'pure',
|
|
15703
15469
|
},
|
|
15704
15470
|
{
|
|
15705
|
-
type: '
|
|
15471
|
+
type: 'function',
|
|
15706
15472
|
inputs: [
|
|
15707
|
-
{ name: '
|
|
15708
|
-
{ name: '
|
|
15709
|
-
{ name: 'needed', internalType: 'uint256', type: 'uint256' },
|
|
15473
|
+
{ name: 'owner', internalType: 'address', type: 'address' },
|
|
15474
|
+
{ name: 'nonce', internalType: 'uint256', type: 'uint256' },
|
|
15710
15475
|
],
|
|
15711
|
-
name: '
|
|
15476
|
+
name: 'nonceUsed',
|
|
15477
|
+
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
15478
|
+
stateMutability: 'view',
|
|
15712
15479
|
},
|
|
15713
15480
|
{
|
|
15714
|
-
type: '
|
|
15481
|
+
type: 'function',
|
|
15715
15482
|
inputs: [
|
|
15716
|
-
{ name: '
|
|
15717
|
-
{ name: '
|
|
15718
|
-
{ name: 'needed', internalType: 'uint256', type: 'uint256' },
|
|
15483
|
+
{ name: 'newContractURI', internalType: 'string', type: 'string' },
|
|
15484
|
+
{ name: 'newBaseURI', internalType: 'string', type: 'string' },
|
|
15719
15485
|
],
|
|
15720
|
-
name: '
|
|
15721
|
-
|
|
15722
|
-
|
|
15723
|
-
type: 'error',
|
|
15724
|
-
inputs: [{ name: 'approver', internalType: 'address', type: 'address' }],
|
|
15725
|
-
name: 'ERC20InvalidApprover',
|
|
15726
|
-
},
|
|
15727
|
-
{
|
|
15728
|
-
type: 'error',
|
|
15729
|
-
inputs: [{ name: 'receiver', internalType: 'address', type: 'address' }],
|
|
15730
|
-
name: 'ERC20InvalidReceiver',
|
|
15731
|
-
},
|
|
15732
|
-
{
|
|
15733
|
-
type: 'error',
|
|
15734
|
-
inputs: [{ name: 'sender', internalType: 'address', type: 'address' }],
|
|
15735
|
-
name: 'ERC20InvalidSender',
|
|
15736
|
-
},
|
|
15737
|
-
{
|
|
15738
|
-
type: 'error',
|
|
15739
|
-
inputs: [{ name: 'spender', internalType: 'address', type: 'address' }],
|
|
15740
|
-
name: 'ERC20InvalidSpender',
|
|
15741
|
-
},
|
|
15742
|
-
{ type: 'error', inputs: [], name: 'ERC20TransferAmountMismatch' },
|
|
15743
|
-
{
|
|
15744
|
-
type: 'error',
|
|
15745
|
-
inputs: [{ name: 'deadline', internalType: 'uint256', type: 'uint256' }],
|
|
15746
|
-
name: 'ERC2612ExpiredSignature',
|
|
15486
|
+
name: 'notifyURIsUpdated',
|
|
15487
|
+
outputs: [],
|
|
15488
|
+
stateMutability: 'nonpayable',
|
|
15747
15489
|
},
|
|
15748
15490
|
{
|
|
15749
|
-
type: '
|
|
15491
|
+
type: 'function',
|
|
15750
15492
|
inputs: [
|
|
15751
|
-
{ name: '
|
|
15752
|
-
{ name: '
|
|
15493
|
+
{ name: 'newUri', internalType: 'string', type: 'string' },
|
|
15494
|
+
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
15753
15495
|
],
|
|
15754
|
-
name: '
|
|
15496
|
+
name: 'notifyUpdatedTokenURI',
|
|
15497
|
+
outputs: [],
|
|
15498
|
+
stateMutability: 'nonpayable',
|
|
15755
15499
|
},
|
|
15756
|
-
{ type: 'error', inputs: [], name: 'EthAmountMismatch' },
|
|
15757
|
-
{ type: 'error', inputs: [], name: 'EthAmountTooSmall' },
|
|
15758
|
-
{ type: 'error', inputs: [], name: 'EthTransferFailed' },
|
|
15759
|
-
{ type: 'error', inputs: [], name: 'EthTransferInvalid' },
|
|
15760
|
-
{ type: 'error', inputs: [], name: 'InitialOrderSizeTooLarge' },
|
|
15761
|
-
{ type: 'error', inputs: [], name: 'InsufficientFunds' },
|
|
15762
|
-
{ type: 'error', inputs: [], name: 'InsufficientLiquidity' },
|
|
15763
15500
|
{
|
|
15764
|
-
type: '
|
|
15501
|
+
type: 'function',
|
|
15765
15502
|
inputs: [
|
|
15766
|
-
{
|
|
15767
|
-
|
|
15503
|
+
{
|
|
15504
|
+
name: 'permit',
|
|
15505
|
+
internalType: 'struct IZoraSparks1155Managed.PermitSingle',
|
|
15506
|
+
type: 'tuple',
|
|
15507
|
+
components: [
|
|
15508
|
+
{ name: 'owner', internalType: 'address', type: 'address' },
|
|
15509
|
+
{ name: 'to', internalType: 'address', type: 'address' },
|
|
15510
|
+
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
15511
|
+
{ name: 'quantity', internalType: 'uint256', type: 'uint256' },
|
|
15512
|
+
{ name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
|
|
15513
|
+
{ name: 'deadline', internalType: 'uint256', type: 'uint256' },
|
|
15514
|
+
{ name: 'nonce', internalType: 'uint256', type: 'uint256' },
|
|
15515
|
+
],
|
|
15516
|
+
},
|
|
15517
|
+
{ name: 'signature', internalType: 'bytes', type: 'bytes' },
|
|
15768
15518
|
],
|
|
15769
|
-
name: '
|
|
15519
|
+
name: 'permitSafeTransfer',
|
|
15520
|
+
outputs: [],
|
|
15521
|
+
stateMutability: 'nonpayable',
|
|
15770
15522
|
},
|
|
15771
|
-
{ type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
|
|
15772
|
-
{ type: 'error', inputs: [], name: 'InvalidInitialization' },
|
|
15773
|
-
{ type: 'error', inputs: [], name: 'InvalidMarketType' },
|
|
15774
|
-
{ type: 'error', inputs: [], name: 'InvalidPoolVersion' },
|
|
15775
15523
|
{
|
|
15776
|
-
type: '
|
|
15524
|
+
type: 'function',
|
|
15777
15525
|
inputs: [
|
|
15778
|
-
{
|
|
15779
|
-
|
|
15526
|
+
{
|
|
15527
|
+
name: 'permit',
|
|
15528
|
+
internalType: 'struct IZoraSparks1155Managed.PermitBatch',
|
|
15529
|
+
type: 'tuple',
|
|
15530
|
+
components: [
|
|
15531
|
+
{ name: 'owner', internalType: 'address', type: 'address' },
|
|
15532
|
+
{ name: 'to', internalType: 'address', type: 'address' },
|
|
15533
|
+
{ name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
|
|
15534
|
+
{ name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
|
|
15535
|
+
{ name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
|
|
15536
|
+
{ name: 'deadline', internalType: 'uint256', type: 'uint256' },
|
|
15537
|
+
{ name: 'nonce', internalType: 'uint256', type: 'uint256' },
|
|
15538
|
+
],
|
|
15539
|
+
},
|
|
15540
|
+
{ name: 'signature', internalType: 'bytes', type: 'bytes' },
|
|
15780
15541
|
],
|
|
15781
|
-
name: '
|
|
15542
|
+
name: 'permitSafeTransferBatch',
|
|
15543
|
+
outputs: [],
|
|
15544
|
+
stateMutability: 'nonpayable',
|
|
15782
15545
|
},
|
|
15783
|
-
{ type: 'error', inputs: [], name: 'InvalidWethLowerTick' },
|
|
15784
|
-
{ type: 'error', inputs: [], name: 'LegacyPoolMustHaveOneDiscoveryPosition' },
|
|
15785
|
-
{ type: 'error', inputs: [], name: 'MarketAlreadyGraduated' },
|
|
15786
|
-
{ type: 'error', inputs: [], name: 'MarketNotGraduated' },
|
|
15787
15546
|
{
|
|
15788
|
-
type: '
|
|
15547
|
+
type: 'function',
|
|
15789
15548
|
inputs: [
|
|
15790
|
-
{ name: '
|
|
15791
|
-
{ name: '
|
|
15549
|
+
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
15550
|
+
{ name: 'quantity', internalType: 'uint256', type: 'uint256' },
|
|
15551
|
+
{ name: 'recipient', internalType: 'address', type: 'address' },
|
|
15792
15552
|
],
|
|
15793
|
-
name: '
|
|
15794
|
-
|
|
15795
|
-
|
|
15796
|
-
|
|
15797
|
-
|
|
15798
|
-
|
|
15799
|
-
|
|
15800
|
-
|
|
15801
|
-
|
|
15802
|
-
|
|
15803
|
-
|
|
15804
|
-
{ name: 'sender', internalType: 'address', type: 'address' },
|
|
15805
|
-
{ name: 'pool', internalType: 'address', type: 'address' },
|
|
15553
|
+
name: 'redeem',
|
|
15554
|
+
outputs: [
|
|
15555
|
+
{
|
|
15556
|
+
name: '',
|
|
15557
|
+
internalType: 'struct Redemption',
|
|
15558
|
+
type: 'tuple',
|
|
15559
|
+
components: [
|
|
15560
|
+
{ name: 'tokenAddress', internalType: 'address', type: 'address' },
|
|
15561
|
+
{ name: 'valueRedeemed', internalType: 'uint256', type: 'uint256' },
|
|
15562
|
+
],
|
|
15563
|
+
},
|
|
15806
15564
|
],
|
|
15807
|
-
|
|
15808
|
-
},
|
|
15809
|
-
{ type: 'error', inputs: [], name: 'OnlyWeth' },
|
|
15810
|
-
{ type: 'error', inputs: [], name: 'OwnerCannotBeAddressZero' },
|
|
15811
|
-
{ type: 'error', inputs: [], name: 'SlippageBoundsExceeded' },
|
|
15812
|
-
{ type: 'error', inputs: [], name: 'UseRevokeOwnershipToRemoveSelf' },
|
|
15813
|
-
{ type: 'error', inputs: [], name: 'CannotMintZeroLiquidity' },
|
|
15814
|
-
{ type: 'error', inputs: [], name: 'CoinVersionLookupCannotBeZeroAddress' },
|
|
15815
|
-
{ type: 'error', inputs: [], name: 'EthTransferFailed' },
|
|
15816
|
-
{ type: 'error', inputs: [], name: 'HookNotImplemented' },
|
|
15817
|
-
{
|
|
15818
|
-
type: 'error',
|
|
15819
|
-
inputs: [{ name: 'callbackId', internalType: 'uint8', type: 'uint8' }],
|
|
15820
|
-
name: 'InvalidCallbackId',
|
|
15821
|
-
},
|
|
15822
|
-
{
|
|
15823
|
-
type: 'error',
|
|
15824
|
-
inputs: [{ name: 'newHook', internalType: 'address', type: 'address' }],
|
|
15825
|
-
name: 'InvalidNewHook',
|
|
15565
|
+
stateMutability: 'nonpayable',
|
|
15826
15566
|
},
|
|
15827
15567
|
{
|
|
15828
|
-
type: '
|
|
15568
|
+
type: 'function',
|
|
15829
15569
|
inputs: [
|
|
15830
|
-
{ name: '
|
|
15831
|
-
{ name: '
|
|
15570
|
+
{ name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
|
|
15571
|
+
{ name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
|
|
15572
|
+
{ name: 'recipient', internalType: 'address', type: 'address' },
|
|
15832
15573
|
],
|
|
15833
|
-
name: '
|
|
15834
|
-
|
|
15835
|
-
{
|
|
15836
|
-
type: 'error',
|
|
15837
|
-
inputs: [
|
|
15574
|
+
name: 'redeemBatch',
|
|
15575
|
+
outputs: [
|
|
15838
15576
|
{
|
|
15839
|
-
name: '
|
|
15840
|
-
internalType: 'struct
|
|
15841
|
-
type: 'tuple',
|
|
15577
|
+
name: 'redemptions',
|
|
15578
|
+
internalType: 'struct Redemption[]',
|
|
15579
|
+
type: 'tuple[]',
|
|
15842
15580
|
components: [
|
|
15843
|
-
{ name: '
|
|
15844
|
-
{ name: '
|
|
15845
|
-
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
15846
|
-
{ name: 'tickSpacing', internalType: 'int24', type: 'int24' },
|
|
15847
|
-
{ name: 'hooks', internalType: 'contract IHooks', type: 'address' },
|
|
15581
|
+
{ name: 'tokenAddress', internalType: 'address', type: 'address' },
|
|
15582
|
+
{ name: 'valueRedeemed', internalType: 'uint256', type: 'uint256' },
|
|
15848
15583
|
],
|
|
15849
15584
|
},
|
|
15850
15585
|
],
|
|
15851
|
-
|
|
15852
|
-
},
|
|
15853
|
-
{
|
|
15854
|
-
type: 'error',
|
|
15855
|
-
inputs: [{ name: 'coin', internalType: 'address', type: 'address' }],
|
|
15856
|
-
name: 'NotACoin',
|
|
15586
|
+
stateMutability: 'nonpayable',
|
|
15857
15587
|
},
|
|
15858
|
-
{ type: 'error', inputs: [], name: 'NotPoolManager' },
|
|
15859
15588
|
{
|
|
15860
|
-
type: '
|
|
15589
|
+
type: 'function',
|
|
15861
15590
|
inputs: [
|
|
15862
|
-
{ name: '
|
|
15863
|
-
{ name: '
|
|
15591
|
+
{ name: 'from', internalType: 'address', type: 'address' },
|
|
15592
|
+
{ name: 'to', internalType: 'address', type: 'address' },
|
|
15593
|
+
{ name: 'ids', internalType: 'uint256[]', type: 'uint256[]' },
|
|
15594
|
+
{ name: 'values', internalType: 'uint256[]', type: 'uint256[]' },
|
|
15595
|
+
{ name: 'data', internalType: 'bytes', type: 'bytes' },
|
|
15864
15596
|
],
|
|
15865
|
-
name: '
|
|
15866
|
-
|
|
15867
|
-
|
|
15868
|
-
{ type: 'error', inputs: [], name: 'SafeCastOverflow' },
|
|
15869
|
-
{
|
|
15870
|
-
type: 'error',
|
|
15871
|
-
inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
|
|
15872
|
-
name: 'SafeERC20FailedOperation',
|
|
15873
|
-
},
|
|
15874
|
-
{
|
|
15875
|
-
type: 'error',
|
|
15876
|
-
inputs: [],
|
|
15877
|
-
name: 'TrustedMsgSenderLookupCannotBeZeroAddress',
|
|
15597
|
+
name: 'safeBatchTransferFrom',
|
|
15598
|
+
outputs: [],
|
|
15599
|
+
stateMutability: 'nonpayable',
|
|
15878
15600
|
},
|
|
15879
|
-
{ type: 'error', inputs: [], name: 'UpgradeGateCannotBeZeroAddress' },
|
|
15880
15601
|
{
|
|
15881
|
-
type: '
|
|
15602
|
+
type: 'function',
|
|
15882
15603
|
inputs: [
|
|
15883
|
-
{ name: '
|
|
15884
|
-
{ name: '
|
|
15604
|
+
{ name: 'from', internalType: 'address', type: 'address' },
|
|
15605
|
+
{ name: 'to', internalType: 'address', type: 'address' },
|
|
15606
|
+
{ name: 'id', internalType: 'uint256', type: 'uint256' },
|
|
15607
|
+
{ name: 'value', internalType: 'uint256', type: 'uint256' },
|
|
15608
|
+
{ name: 'data', internalType: 'bytes', type: 'bytes' },
|
|
15885
15609
|
],
|
|
15886
|
-
name: '
|
|
15887
|
-
|
|
15888
|
-
|
|
15889
|
-
{ type: 'error', inputs: [], name: 'ZoraLimitOrderBookCannotBeZeroAddress' },
|
|
15890
|
-
] as const
|
|
15891
|
-
|
|
15892
|
-
/**
|
|
15893
|
-
* [__View Contract on Base Basescan__](https://basescan.org/address/0xb2057BbCa566bcfDb16F5caD4A26D6Fe2f3E5caE)
|
|
15894
|
-
*/
|
|
15895
|
-
export const zoraLimitOrderBookAddress = {
|
|
15896
|
-
8453: '0xb2057BbCa566bcfDb16F5caD4A26D6Fe2f3E5caE',
|
|
15897
|
-
} as const
|
|
15898
|
-
|
|
15899
|
-
/**
|
|
15900
|
-
* [__View Contract on Base Basescan__](https://basescan.org/address/0xb2057BbCa566bcfDb16F5caD4A26D6Fe2f3E5caE)
|
|
15901
|
-
*/
|
|
15902
|
-
export const zoraLimitOrderBookConfig = {
|
|
15903
|
-
address: zoraLimitOrderBookAddress,
|
|
15904
|
-
abi: zoraLimitOrderBookABI,
|
|
15905
|
-
} as const
|
|
15906
|
-
|
|
15907
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
15908
|
-
// ZoraMints1155
|
|
15909
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
15910
|
-
|
|
15911
|
-
/**
|
|
15912
|
-
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
15913
|
-
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
15914
|
-
*/
|
|
15915
|
-
export const zoraMints1155ABI = [
|
|
15916
|
-
{ type: 'constructor', inputs: [], stateMutability: 'nonpayable' },
|
|
15917
|
-
{
|
|
15918
|
-
type: 'function',
|
|
15919
|
-
inputs: [],
|
|
15920
|
-
name: 'ETH_ADDRESS',
|
|
15921
|
-
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
15922
|
-
stateMutability: 'view',
|
|
15610
|
+
name: 'safeTransferFrom',
|
|
15611
|
+
outputs: [],
|
|
15612
|
+
stateMutability: 'nonpayable',
|
|
15923
15613
|
},
|
|
15924
15614
|
{
|
|
15925
15615
|
type: 'function',
|
|
15926
|
-
inputs: [
|
|
15927
|
-
|
|
15928
|
-
|
|
15929
|
-
|
|
15616
|
+
inputs: [
|
|
15617
|
+
{ name: 'operator', internalType: 'address', type: 'address' },
|
|
15618
|
+
{ name: 'approved', internalType: 'bool', type: 'bool' },
|
|
15619
|
+
],
|
|
15620
|
+
name: 'setApprovalForAll',
|
|
15621
|
+
outputs: [],
|
|
15622
|
+
stateMutability: 'nonpayable',
|
|
15930
15623
|
},
|
|
15931
15624
|
{
|
|
15932
15625
|
type: 'function',
|
|
15933
|
-
inputs: [
|
|
15934
|
-
|
|
15935
|
-
|
|
15936
|
-
|
|
15626
|
+
inputs: [
|
|
15627
|
+
{ name: 'newAuthority', internalType: 'address', type: 'address' },
|
|
15628
|
+
],
|
|
15629
|
+
name: 'setAuthority',
|
|
15630
|
+
outputs: [],
|
|
15631
|
+
stateMutability: 'nonpayable',
|
|
15937
15632
|
},
|
|
15938
15633
|
{
|
|
15939
15634
|
type: 'function',
|
|
15940
|
-
inputs: [],
|
|
15941
|
-
name: '
|
|
15942
|
-
outputs: [{ name: '', internalType: '
|
|
15635
|
+
inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }],
|
|
15636
|
+
name: 'supportsInterface',
|
|
15637
|
+
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
15943
15638
|
stateMutability: 'view',
|
|
15944
15639
|
},
|
|
15945
15640
|
{
|
|
15946
15641
|
type: 'function',
|
|
15947
15642
|
inputs: [],
|
|
15948
|
-
name: '
|
|
15643
|
+
name: 'symbol',
|
|
15949
15644
|
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
15950
|
-
stateMutability: '
|
|
15951
|
-
},
|
|
15952
|
-
{
|
|
15953
|
-
type: 'function',
|
|
15954
|
-
inputs: [],
|
|
15955
|
-
name: 'authority',
|
|
15956
|
-
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
15957
|
-
stateMutability: 'view',
|
|
15645
|
+
stateMutability: 'pure',
|
|
15958
15646
|
},
|
|
15959
15647
|
{
|
|
15960
15648
|
type: 'function',
|
|
15961
|
-
inputs: [
|
|
15962
|
-
|
|
15963
|
-
|
|
15964
|
-
],
|
|
15965
|
-
name: 'balanceOf',
|
|
15966
|
-
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
15649
|
+
inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
|
|
15650
|
+
name: 'tokenExists',
|
|
15651
|
+
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
15967
15652
|
stateMutability: 'view',
|
|
15968
15653
|
},
|
|
15969
15654
|
{
|
|
15970
15655
|
type: 'function',
|
|
15971
|
-
inputs: [{ name: '
|
|
15972
|
-
name: '
|
|
15656
|
+
inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
|
|
15657
|
+
name: 'tokenPrice',
|
|
15973
15658
|
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
15974
15659
|
stateMutability: 'view',
|
|
15975
15660
|
},
|
|
15976
15661
|
{
|
|
15977
15662
|
type: 'function',
|
|
15978
15663
|
inputs: [
|
|
15979
|
-
{ name: '
|
|
15980
|
-
{ name: '
|
|
15664
|
+
{ name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
|
|
15665
|
+
{ name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
|
|
15666
|
+
{ name: 'call', internalType: 'bytes', type: 'bytes' },
|
|
15981
15667
|
],
|
|
15982
|
-
name: '
|
|
15983
|
-
outputs: [{ name: '', internalType: '
|
|
15984
|
-
stateMutability: '
|
|
15668
|
+
name: 'transferBatchToManagerAndCall',
|
|
15669
|
+
outputs: [{ name: 'callReturn', internalType: 'bytes', type: 'bytes' }],
|
|
15670
|
+
stateMutability: 'payable',
|
|
15985
15671
|
},
|
|
15986
15672
|
{
|
|
15987
15673
|
type: 'function',
|
|
15988
|
-
inputs: [],
|
|
15989
|
-
name: '
|
|
15674
|
+
inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
|
|
15675
|
+
name: 'uri',
|
|
15990
15676
|
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
15991
15677
|
stateMutability: 'view',
|
|
15992
15678
|
},
|
|
15993
15679
|
{
|
|
15994
|
-
type: '
|
|
15680
|
+
type: 'event',
|
|
15681
|
+
anonymous: false,
|
|
15995
15682
|
inputs: [
|
|
15996
|
-
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
15997
15683
|
{
|
|
15998
|
-
name: '
|
|
15999
|
-
internalType: '
|
|
16000
|
-
type: '
|
|
16001
|
-
|
|
16002
|
-
|
|
16003
|
-
|
|
16004
|
-
|
|
16005
|
-
|
|
15684
|
+
name: 'account',
|
|
15685
|
+
internalType: 'address',
|
|
15686
|
+
type: 'address',
|
|
15687
|
+
indexed: true,
|
|
15688
|
+
},
|
|
15689
|
+
{
|
|
15690
|
+
name: 'operator',
|
|
15691
|
+
internalType: 'address',
|
|
15692
|
+
type: 'address',
|
|
15693
|
+
indexed: true,
|
|
16006
15694
|
},
|
|
15695
|
+
{ name: 'approved', internalType: 'bool', type: 'bool', indexed: false },
|
|
16007
15696
|
],
|
|
16008
|
-
name: '
|
|
16009
|
-
outputs: [],
|
|
16010
|
-
stateMutability: 'nonpayable',
|
|
15697
|
+
name: 'ApprovalForAll',
|
|
16011
15698
|
},
|
|
16012
15699
|
{
|
|
16013
|
-
type: '
|
|
16014
|
-
|
|
16015
|
-
|
|
16016
|
-
|
|
16017
|
-
|
|
16018
|
-
|
|
16019
|
-
|
|
16020
|
-
|
|
16021
|
-
|
|
16022
|
-
{ name: 'salt', internalType: 'bytes32', type: 'bytes32' },
|
|
16023
|
-
{ name: 'extensions', internalType: 'uint256[]', type: 'uint256[]' },
|
|
15700
|
+
type: 'event',
|
|
15701
|
+
anonymous: false,
|
|
15702
|
+
inputs: [
|
|
15703
|
+
{
|
|
15704
|
+
name: 'authority',
|
|
15705
|
+
internalType: 'address',
|
|
15706
|
+
type: 'address',
|
|
15707
|
+
indexed: false,
|
|
15708
|
+
},
|
|
16024
15709
|
],
|
|
16025
|
-
|
|
16026
|
-
},
|
|
16027
|
-
{
|
|
16028
|
-
type: 'function',
|
|
16029
|
-
inputs: [],
|
|
16030
|
-
name: 'getManager',
|
|
16031
|
-
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
16032
|
-
stateMutability: 'view',
|
|
15710
|
+
name: 'AuthorityUpdated',
|
|
16033
15711
|
},
|
|
15712
|
+
{ type: 'event', anonymous: false, inputs: [], name: 'ContractURIUpdated' },
|
|
15713
|
+
{ type: 'event', anonymous: false, inputs: [], name: 'EIP712DomainChanged' },
|
|
16034
15714
|
{
|
|
16035
|
-
type: '
|
|
16036
|
-
|
|
16037
|
-
|
|
16038
|
-
outputs: [
|
|
15715
|
+
type: 'event',
|
|
15716
|
+
anonymous: false,
|
|
15717
|
+
inputs: [
|
|
16039
15718
|
{
|
|
16040
|
-
name: '',
|
|
16041
|
-
internalType: '
|
|
16042
|
-
type: '
|
|
16043
|
-
|
|
16044
|
-
|
|
16045
|
-
|
|
16046
|
-
|
|
16047
|
-
|
|
15719
|
+
name: 'tokenId',
|
|
15720
|
+
internalType: 'uint256',
|
|
15721
|
+
type: 'uint256',
|
|
15722
|
+
indexed: true,
|
|
15723
|
+
},
|
|
15724
|
+
{
|
|
15725
|
+
name: 'price',
|
|
15726
|
+
internalType: 'uint256',
|
|
15727
|
+
type: 'uint256',
|
|
15728
|
+
indexed: true,
|
|
15729
|
+
},
|
|
15730
|
+
{
|
|
15731
|
+
name: 'tokenAddress',
|
|
15732
|
+
internalType: 'address',
|
|
15733
|
+
type: 'address',
|
|
15734
|
+
indexed: true,
|
|
16048
15735
|
},
|
|
16049
15736
|
],
|
|
16050
|
-
|
|
15737
|
+
name: 'TokenCreated',
|
|
16051
15738
|
},
|
|
16052
15739
|
{
|
|
16053
|
-
type: '
|
|
15740
|
+
type: 'event',
|
|
15741
|
+
anonymous: false,
|
|
16054
15742
|
inputs: [
|
|
16055
15743
|
{
|
|
16056
|
-
name: '
|
|
16057
|
-
internalType: '
|
|
16058
|
-
type: '
|
|
16059
|
-
|
|
16060
|
-
|
|
16061
|
-
|
|
16062
|
-
|
|
16063
|
-
|
|
16064
|
-
|
|
16065
|
-
|
|
16066
|
-
|
|
16067
|
-
|
|
15744
|
+
name: 'operator',
|
|
15745
|
+
internalType: 'address',
|
|
15746
|
+
type: 'address',
|
|
15747
|
+
indexed: true,
|
|
15748
|
+
},
|
|
15749
|
+
{ name: 'from', internalType: 'address', type: 'address', indexed: true },
|
|
15750
|
+
{ name: 'to', internalType: 'address', type: 'address', indexed: true },
|
|
15751
|
+
{
|
|
15752
|
+
name: 'ids',
|
|
15753
|
+
internalType: 'uint256[]',
|
|
15754
|
+
type: 'uint256[]',
|
|
15755
|
+
indexed: false,
|
|
15756
|
+
},
|
|
15757
|
+
{
|
|
15758
|
+
name: 'values',
|
|
15759
|
+
internalType: 'uint256[]',
|
|
15760
|
+
type: 'uint256[]',
|
|
15761
|
+
indexed: false,
|
|
16068
15762
|
},
|
|
16069
15763
|
],
|
|
16070
|
-
name: '
|
|
16071
|
-
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
|
16072
|
-
stateMutability: 'view',
|
|
15764
|
+
name: 'TransferBatch',
|
|
16073
15765
|
},
|
|
16074
15766
|
{
|
|
16075
|
-
type: '
|
|
15767
|
+
type: 'event',
|
|
15768
|
+
anonymous: false,
|
|
16076
15769
|
inputs: [
|
|
16077
15770
|
{
|
|
16078
|
-
name: '
|
|
16079
|
-
internalType: '
|
|
16080
|
-
type: '
|
|
16081
|
-
|
|
16082
|
-
|
|
16083
|
-
|
|
16084
|
-
|
|
16085
|
-
|
|
16086
|
-
|
|
16087
|
-
|
|
16088
|
-
|
|
16089
|
-
|
|
15771
|
+
name: 'operator',
|
|
15772
|
+
internalType: 'address',
|
|
15773
|
+
type: 'address',
|
|
15774
|
+
indexed: true,
|
|
15775
|
+
},
|
|
15776
|
+
{ name: 'from', internalType: 'address', type: 'address', indexed: true },
|
|
15777
|
+
{ name: 'to', internalType: 'address', type: 'address', indexed: true },
|
|
15778
|
+
{ name: 'id', internalType: 'uint256', type: 'uint256', indexed: false },
|
|
15779
|
+
{
|
|
15780
|
+
name: 'value',
|
|
15781
|
+
internalType: 'uint256',
|
|
15782
|
+
type: 'uint256',
|
|
15783
|
+
indexed: false,
|
|
16090
15784
|
},
|
|
16091
15785
|
],
|
|
16092
|
-
name: '
|
|
16093
|
-
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
|
16094
|
-
stateMutability: 'view',
|
|
15786
|
+
name: 'TransferSingle',
|
|
16095
15787
|
},
|
|
16096
15788
|
{
|
|
16097
|
-
type: '
|
|
15789
|
+
type: 'event',
|
|
15790
|
+
anonymous: false,
|
|
16098
15791
|
inputs: [
|
|
16099
|
-
{ name: '
|
|
16100
|
-
{ name: '
|
|
15792
|
+
{ name: 'value', internalType: 'string', type: 'string', indexed: false },
|
|
15793
|
+
{ name: 'id', internalType: 'uint256', type: 'uint256', indexed: true },
|
|
16101
15794
|
],
|
|
16102
|
-
name: '
|
|
16103
|
-
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
16104
|
-
stateMutability: 'view',
|
|
16105
|
-
},
|
|
16106
|
-
{
|
|
16107
|
-
type: 'function',
|
|
16108
|
-
inputs: [],
|
|
16109
|
-
name: 'isConsumingScheduledOp',
|
|
16110
|
-
outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
|
|
16111
|
-
stateMutability: 'view',
|
|
15795
|
+
name: 'URI',
|
|
16112
15796
|
},
|
|
16113
15797
|
{
|
|
16114
|
-
type: '
|
|
15798
|
+
type: 'event',
|
|
15799
|
+
anonymous: false,
|
|
16115
15800
|
inputs: [
|
|
16116
15801
|
{
|
|
16117
|
-
name: '
|
|
16118
|
-
internalType: '
|
|
16119
|
-
type: '
|
|
16120
|
-
|
|
16121
|
-
|
|
16122
|
-
|
|
16123
|
-
|
|
16124
|
-
|
|
16125
|
-
|
|
16126
|
-
|
|
16127
|
-
{ name: 'nonce', internalType: 'uint256', type: 'uint256' },
|
|
16128
|
-
],
|
|
15802
|
+
name: 'contractURI',
|
|
15803
|
+
internalType: 'string',
|
|
15804
|
+
type: 'string',
|
|
15805
|
+
indexed: false,
|
|
15806
|
+
},
|
|
15807
|
+
{
|
|
15808
|
+
name: 'baseURI',
|
|
15809
|
+
internalType: 'string',
|
|
15810
|
+
type: 'string',
|
|
15811
|
+
indexed: false,
|
|
16129
15812
|
},
|
|
16130
|
-
{ name: 'signature', internalType: 'bytes', type: 'bytes' },
|
|
16131
15813
|
],
|
|
16132
|
-
name: '
|
|
16133
|
-
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
16134
|
-
stateMutability: 'view',
|
|
15814
|
+
name: 'URIsUpdated',
|
|
16135
15815
|
},
|
|
16136
15816
|
{
|
|
16137
|
-
type: '
|
|
15817
|
+
type: 'error',
|
|
15818
|
+
inputs: [{ name: 'authority', internalType: 'address', type: 'address' }],
|
|
15819
|
+
name: 'AccessManagedInvalidAuthority',
|
|
15820
|
+
},
|
|
15821
|
+
{
|
|
15822
|
+
type: 'error',
|
|
16138
15823
|
inputs: [
|
|
16139
|
-
{
|
|
16140
|
-
|
|
16141
|
-
internalType: 'struct IZoraSparks1155Managed.PermitSingle',
|
|
16142
|
-
type: 'tuple',
|
|
16143
|
-
components: [
|
|
16144
|
-
{ name: 'owner', internalType: 'address', type: 'address' },
|
|
16145
|
-
{ name: 'to', internalType: 'address', type: 'address' },
|
|
16146
|
-
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
16147
|
-
{ name: 'quantity', internalType: 'uint256', type: 'uint256' },
|
|
16148
|
-
{ name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
|
|
16149
|
-
{ name: 'deadline', internalType: 'uint256', type: 'uint256' },
|
|
16150
|
-
{ name: 'nonce', internalType: 'uint256', type: 'uint256' },
|
|
16151
|
-
],
|
|
16152
|
-
},
|
|
16153
|
-
{ name: 'signature', internalType: 'bytes', type: 'bytes' },
|
|
15824
|
+
{ name: 'caller', internalType: 'address', type: 'address' },
|
|
15825
|
+
{ name: 'delay', internalType: 'uint32', type: 'uint32' },
|
|
16154
15826
|
],
|
|
16155
|
-
name: '
|
|
16156
|
-
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
16157
|
-
stateMutability: 'view',
|
|
15827
|
+
name: 'AccessManagedRequiredDelay',
|
|
16158
15828
|
},
|
|
16159
15829
|
{
|
|
16160
|
-
type: '
|
|
15830
|
+
type: 'error',
|
|
15831
|
+
inputs: [{ name: 'caller', internalType: 'address', type: 'address' }],
|
|
15832
|
+
name: 'AccessManagedUnauthorized',
|
|
15833
|
+
},
|
|
15834
|
+
{
|
|
15835
|
+
type: 'error',
|
|
15836
|
+
inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
|
|
15837
|
+
name: 'AddressEmptyCode',
|
|
15838
|
+
},
|
|
15839
|
+
{
|
|
15840
|
+
type: 'error',
|
|
15841
|
+
inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
|
|
15842
|
+
name: 'AddressInsufficientBalance',
|
|
15843
|
+
},
|
|
15844
|
+
{
|
|
15845
|
+
type: 'error',
|
|
16161
15846
|
inputs: [
|
|
16162
|
-
{ name: '
|
|
16163
|
-
{ name: '
|
|
16164
|
-
{ name: 'quantity', internalType: 'uint256', type: 'uint256' },
|
|
16165
|
-
{ name: 'recipient', internalType: 'address', type: 'address' },
|
|
16166
|
-
{ name: 'data', internalType: 'bytes', type: 'bytes' },
|
|
15847
|
+
{ name: 'lengthA', internalType: 'uint256', type: 'uint256' },
|
|
15848
|
+
{ name: 'lengthB', internalType: 'uint256', type: 'uint256' },
|
|
16167
15849
|
],
|
|
16168
|
-
name: '
|
|
16169
|
-
outputs: [],
|
|
16170
|
-
stateMutability: 'nonpayable',
|
|
15850
|
+
name: 'ArrayLengthMismatch',
|
|
16171
15851
|
},
|
|
16172
15852
|
{
|
|
16173
|
-
type: '
|
|
15853
|
+
type: 'error',
|
|
15854
|
+
inputs: [{ name: 'returnData', internalType: 'bytes', type: 'bytes' }],
|
|
15855
|
+
name: 'CallFailed',
|
|
15856
|
+
},
|
|
15857
|
+
{
|
|
15858
|
+
type: 'error',
|
|
16174
15859
|
inputs: [
|
|
15860
|
+
{ name: 'sender', internalType: 'address', type: 'address' },
|
|
15861
|
+
{ name: 'balance', internalType: 'uint256', type: 'uint256' },
|
|
15862
|
+
{ name: 'needed', internalType: 'uint256', type: 'uint256' },
|
|
16175
15863
|
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
16176
|
-
{ name: 'quantity', internalType: 'uint256', type: 'uint256' },
|
|
16177
|
-
{ name: 'recipient', internalType: 'address', type: 'address' },
|
|
16178
|
-
{ name: 'data', internalType: 'bytes', type: 'bytes' },
|
|
16179
15864
|
],
|
|
16180
|
-
name: '
|
|
16181
|
-
outputs: [],
|
|
16182
|
-
stateMutability: 'payable',
|
|
15865
|
+
name: 'ERC1155InsufficientBalance',
|
|
16183
15866
|
},
|
|
16184
15867
|
{
|
|
16185
|
-
type: '
|
|
16186
|
-
inputs: [],
|
|
16187
|
-
name: '
|
|
16188
|
-
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
16189
|
-
stateMutability: 'pure',
|
|
15868
|
+
type: 'error',
|
|
15869
|
+
inputs: [{ name: 'approver', internalType: 'address', type: 'address' }],
|
|
15870
|
+
name: 'ERC1155InvalidApprover',
|
|
16190
15871
|
},
|
|
16191
15872
|
{
|
|
16192
|
-
type: '
|
|
15873
|
+
type: 'error',
|
|
16193
15874
|
inputs: [
|
|
16194
|
-
{ name: '
|
|
16195
|
-
{ name: '
|
|
15875
|
+
{ name: 'idsLength', internalType: 'uint256', type: 'uint256' },
|
|
15876
|
+
{ name: 'valuesLength', internalType: 'uint256', type: 'uint256' },
|
|
16196
15877
|
],
|
|
16197
|
-
name: '
|
|
16198
|
-
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
16199
|
-
stateMutability: 'view',
|
|
15878
|
+
name: 'ERC1155InvalidArrayLength',
|
|
16200
15879
|
},
|
|
16201
15880
|
{
|
|
16202
|
-
type: '
|
|
15881
|
+
type: 'error',
|
|
15882
|
+
inputs: [{ name: 'operator', internalType: 'address', type: 'address' }],
|
|
15883
|
+
name: 'ERC1155InvalidOperator',
|
|
15884
|
+
},
|
|
15885
|
+
{
|
|
15886
|
+
type: 'error',
|
|
15887
|
+
inputs: [{ name: 'receiver', internalType: 'address', type: 'address' }],
|
|
15888
|
+
name: 'ERC1155InvalidReceiver',
|
|
15889
|
+
},
|
|
15890
|
+
{
|
|
15891
|
+
type: 'error',
|
|
15892
|
+
inputs: [{ name: 'sender', internalType: 'address', type: 'address' }],
|
|
15893
|
+
name: 'ERC1155InvalidSender',
|
|
15894
|
+
},
|
|
15895
|
+
{
|
|
15896
|
+
type: 'error',
|
|
16203
15897
|
inputs: [
|
|
16204
|
-
{ name: '
|
|
16205
|
-
{ name: '
|
|
15898
|
+
{ name: 'operator', internalType: 'address', type: 'address' },
|
|
15899
|
+
{ name: 'owner', internalType: 'address', type: 'address' },
|
|
16206
15900
|
],
|
|
16207
|
-
name: '
|
|
16208
|
-
outputs: [],
|
|
16209
|
-
stateMutability: 'nonpayable',
|
|
15901
|
+
name: 'ERC1155MissingApprovalForAll',
|
|
16210
15902
|
},
|
|
15903
|
+
{ type: 'error', inputs: [], name: 'ERC20TransferSlippage' },
|
|
16211
15904
|
{
|
|
16212
|
-
type: '
|
|
15905
|
+
type: 'error',
|
|
15906
|
+
inputs: [{ name: 'deadline', internalType: 'uint256', type: 'uint256' }],
|
|
15907
|
+
name: 'ERC2612ExpiredSignature',
|
|
15908
|
+
},
|
|
15909
|
+
{ type: 'error', inputs: [], name: 'ETHTransferFailed' },
|
|
15910
|
+
{ type: 'error', inputs: [], name: 'FailedInnerCall' },
|
|
15911
|
+
{ type: 'error', inputs: [], name: 'IncorrectAmountSent' },
|
|
15912
|
+
{
|
|
15913
|
+
type: 'error',
|
|
16213
15914
|
inputs: [
|
|
16214
|
-
{ name: '
|
|
16215
|
-
{ name: '
|
|
15915
|
+
{ name: 'account', internalType: 'address', type: 'address' },
|
|
15916
|
+
{ name: 'currentNonce', internalType: 'uint256', type: 'uint256' },
|
|
16216
15917
|
],
|
|
16217
|
-
name: '
|
|
16218
|
-
outputs: [],
|
|
16219
|
-
stateMutability: 'nonpayable',
|
|
15918
|
+
name: 'InvalidAccountNonce',
|
|
16220
15919
|
},
|
|
15920
|
+
{ type: 'error', inputs: [], name: 'InvalidRecipient' },
|
|
15921
|
+
{ type: 'error', inputs: [], name: 'InvalidShortString' },
|
|
15922
|
+
{ type: 'error', inputs: [], name: 'InvalidSignature' },
|
|
15923
|
+
{ type: 'error', inputs: [], name: 'InvalidTokenPrice' },
|
|
15924
|
+
{ type: 'error', inputs: [], name: 'NoUriForNonexistentToken' },
|
|
16221
15925
|
{
|
|
16222
|
-
type: '
|
|
15926
|
+
type: 'error',
|
|
15927
|
+
inputs: [{ name: 'handler', internalType: 'address', type: 'address' }],
|
|
15928
|
+
name: 'NotARedeemHandler',
|
|
15929
|
+
},
|
|
15930
|
+
{
|
|
15931
|
+
type: 'error',
|
|
15932
|
+
inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
|
|
15933
|
+
name: 'SafeERC20FailedOperation',
|
|
15934
|
+
},
|
|
15935
|
+
{
|
|
15936
|
+
type: 'error',
|
|
15937
|
+
inputs: [{ name: 'str', internalType: 'string', type: 'string' }],
|
|
15938
|
+
name: 'StringTooLong',
|
|
15939
|
+
},
|
|
15940
|
+
{ type: 'error', inputs: [], name: 'TokenAlreadyCreated' },
|
|
15941
|
+
{ type: 'error', inputs: [], name: 'TokenDoesNotExist' },
|
|
15942
|
+
{
|
|
15943
|
+
type: 'error',
|
|
16223
15944
|
inputs: [
|
|
15945
|
+
{ name: 'storedTokenAddress', internalType: 'address', type: 'address' },
|
|
16224
15946
|
{
|
|
16225
|
-
name: '
|
|
16226
|
-
internalType: '
|
|
16227
|
-
type: '
|
|
16228
|
-
components: [
|
|
16229
|
-
{ name: 'owner', internalType: 'address', type: 'address' },
|
|
16230
|
-
{ name: 'to', internalType: 'address', type: 'address' },
|
|
16231
|
-
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
16232
|
-
{ name: 'quantity', internalType: 'uint256', type: 'uint256' },
|
|
16233
|
-
{ name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
|
|
16234
|
-
{ name: 'deadline', internalType: 'uint256', type: 'uint256' },
|
|
16235
|
-
{ name: 'nonce', internalType: 'uint256', type: 'uint256' },
|
|
16236
|
-
],
|
|
15947
|
+
name: 'expectedTokenAddress',
|
|
15948
|
+
internalType: 'address',
|
|
15949
|
+
type: 'address',
|
|
16237
15950
|
},
|
|
16238
|
-
{ name: 'signature', internalType: 'bytes', type: 'bytes' },
|
|
16239
15951
|
],
|
|
16240
|
-
name: '
|
|
16241
|
-
outputs: [],
|
|
16242
|
-
stateMutability: 'nonpayable',
|
|
16243
|
-
},
|
|
16244
|
-
{
|
|
16245
|
-
type: 'function',
|
|
16246
|
-
inputs: [
|
|
16247
|
-
{
|
|
16248
|
-
name: 'permit',
|
|
16249
|
-
internalType: 'struct IZoraSparks1155Managed.PermitBatch',
|
|
16250
|
-
type: 'tuple',
|
|
16251
|
-
components: [
|
|
16252
|
-
{ name: 'owner', internalType: 'address', type: 'address' },
|
|
16253
|
-
{ name: 'to', internalType: 'address', type: 'address' },
|
|
16254
|
-
{ name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
|
|
16255
|
-
{ name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
|
|
16256
|
-
{ name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
|
|
16257
|
-
{ name: 'deadline', internalType: 'uint256', type: 'uint256' },
|
|
16258
|
-
{ name: 'nonce', internalType: 'uint256', type: 'uint256' },
|
|
16259
|
-
],
|
|
16260
|
-
},
|
|
16261
|
-
{ name: 'signature', internalType: 'bytes', type: 'bytes' },
|
|
16262
|
-
],
|
|
16263
|
-
name: 'permitSafeTransferBatch',
|
|
16264
|
-
outputs: [],
|
|
16265
|
-
stateMutability: 'nonpayable',
|
|
16266
|
-
},
|
|
16267
|
-
{
|
|
16268
|
-
type: 'function',
|
|
16269
|
-
inputs: [
|
|
16270
|
-
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
16271
|
-
{ name: 'quantity', internalType: 'uint256', type: 'uint256' },
|
|
16272
|
-
{ name: 'recipient', internalType: 'address', type: 'address' },
|
|
16273
|
-
],
|
|
16274
|
-
name: 'redeem',
|
|
16275
|
-
outputs: [
|
|
16276
|
-
{
|
|
16277
|
-
name: '',
|
|
16278
|
-
internalType: 'struct Redemption',
|
|
16279
|
-
type: 'tuple',
|
|
16280
|
-
components: [
|
|
16281
|
-
{ name: 'tokenAddress', internalType: 'address', type: 'address' },
|
|
16282
|
-
{ name: 'valueRedeemed', internalType: 'uint256', type: 'uint256' },
|
|
16283
|
-
],
|
|
16284
|
-
},
|
|
16285
|
-
],
|
|
16286
|
-
stateMutability: 'nonpayable',
|
|
15952
|
+
name: 'TokenMismatch',
|
|
16287
15953
|
},
|
|
15954
|
+
{ type: 'error', inputs: [], name: 'TokenNotMintable' },
|
|
15955
|
+
] as const
|
|
15956
|
+
|
|
15957
|
+
/**
|
|
15958
|
+
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
15959
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
15960
|
+
*/
|
|
15961
|
+
export const zoraMints1155Address = {
|
|
15962
|
+
7777777: '0x7777777d57c1C6e472fa379b7b3B6c6ba3835073',
|
|
15963
|
+
999999999: '0x7777777d57c1C6e472fa379b7b3B6c6ba3835073',
|
|
15964
|
+
} as const
|
|
15965
|
+
|
|
15966
|
+
/**
|
|
15967
|
+
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
15968
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
15969
|
+
*/
|
|
15970
|
+
export const zoraMints1155Config = {
|
|
15971
|
+
address: zoraMints1155Address,
|
|
15972
|
+
abi: zoraMints1155ABI,
|
|
15973
|
+
} as const
|
|
15974
|
+
|
|
15975
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
15976
|
+
// ZoraMintsManagerImpl
|
|
15977
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
15978
|
+
|
|
15979
|
+
/**
|
|
15980
|
+
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
15981
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
15982
|
+
*/
|
|
15983
|
+
export const zoraMintsManagerImplABI = [
|
|
16288
15984
|
{
|
|
16289
|
-
type: '
|
|
15985
|
+
type: 'constructor',
|
|
16290
15986
|
inputs: [
|
|
16291
|
-
{ name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
|
|
16292
|
-
{ name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
|
|
16293
|
-
{ name: 'recipient', internalType: 'address', type: 'address' },
|
|
16294
|
-
],
|
|
16295
|
-
name: 'redeemBatch',
|
|
16296
|
-
outputs: [
|
|
16297
15987
|
{
|
|
16298
|
-
name: '
|
|
16299
|
-
internalType: '
|
|
16300
|
-
type: '
|
|
16301
|
-
components: [
|
|
16302
|
-
{ name: 'tokenAddress', internalType: 'address', type: 'address' },
|
|
16303
|
-
{ name: 'valueRedeemed', internalType: 'uint256', type: 'uint256' },
|
|
16304
|
-
],
|
|
15988
|
+
name: '_premintExecutor',
|
|
15989
|
+
internalType: 'contract IZoraCreator1155PremintExecutorAllVersions',
|
|
15990
|
+
type: 'address',
|
|
16305
15991
|
},
|
|
16306
15992
|
],
|
|
16307
15993
|
stateMutability: 'nonpayable',
|
|
16308
15994
|
},
|
|
16309
|
-
{
|
|
16310
|
-
type: 'function',
|
|
16311
|
-
inputs: [
|
|
16312
|
-
{ name: 'from', internalType: 'address', type: 'address' },
|
|
16313
|
-
{ name: 'to', internalType: 'address', type: 'address' },
|
|
16314
|
-
{ name: 'ids', internalType: 'uint256[]', type: 'uint256[]' },
|
|
16315
|
-
{ name: 'values', internalType: 'uint256[]', type: 'uint256[]' },
|
|
16316
|
-
{ name: 'data', internalType: 'bytes', type: 'bytes' },
|
|
16317
|
-
],
|
|
16318
|
-
name: 'safeBatchTransferFrom',
|
|
16319
|
-
outputs: [],
|
|
16320
|
-
stateMutability: 'nonpayable',
|
|
16321
|
-
},
|
|
16322
|
-
{
|
|
16323
|
-
type: 'function',
|
|
16324
|
-
inputs: [
|
|
16325
|
-
{ name: 'from', internalType: 'address', type: 'address' },
|
|
16326
|
-
{ name: 'to', internalType: 'address', type: 'address' },
|
|
16327
|
-
{ name: 'id', internalType: 'uint256', type: 'uint256' },
|
|
16328
|
-
{ name: 'value', internalType: 'uint256', type: 'uint256' },
|
|
16329
|
-
{ name: 'data', internalType: 'bytes', type: 'bytes' },
|
|
16330
|
-
],
|
|
16331
|
-
name: 'safeTransferFrom',
|
|
16332
|
-
outputs: [],
|
|
16333
|
-
stateMutability: 'nonpayable',
|
|
16334
|
-
},
|
|
16335
|
-
{
|
|
16336
|
-
type: 'function',
|
|
16337
|
-
inputs: [
|
|
16338
|
-
{ name: 'operator', internalType: 'address', type: 'address' },
|
|
16339
|
-
{ name: 'approved', internalType: 'bool', type: 'bool' },
|
|
16340
|
-
],
|
|
16341
|
-
name: 'setApprovalForAll',
|
|
16342
|
-
outputs: [],
|
|
16343
|
-
stateMutability: 'nonpayable',
|
|
16344
|
-
},
|
|
16345
|
-
{
|
|
16346
|
-
type: 'function',
|
|
16347
|
-
inputs: [
|
|
16348
|
-
{ name: 'newAuthority', internalType: 'address', type: 'address' },
|
|
16349
|
-
],
|
|
16350
|
-
name: 'setAuthority',
|
|
16351
|
-
outputs: [],
|
|
16352
|
-
stateMutability: 'nonpayable',
|
|
16353
|
-
},
|
|
16354
|
-
{
|
|
16355
|
-
type: 'function',
|
|
16356
|
-
inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }],
|
|
16357
|
-
name: 'supportsInterface',
|
|
16358
|
-
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
16359
|
-
stateMutability: 'view',
|
|
16360
|
-
},
|
|
16361
15995
|
{
|
|
16362
15996
|
type: 'function',
|
|
16363
15997
|
inputs: [],
|
|
16364
|
-
name: '
|
|
15998
|
+
name: 'UPGRADE_INTERFACE_VERSION',
|
|
16365
15999
|
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
16366
|
-
stateMutability: 'pure',
|
|
16367
|
-
},
|
|
16368
|
-
{
|
|
16369
|
-
type: 'function',
|
|
16370
|
-
inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
|
|
16371
|
-
name: 'tokenExists',
|
|
16372
|
-
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
16373
16000
|
stateMutability: 'view',
|
|
16374
16001
|
},
|
|
16375
16002
|
{
|
|
16376
16003
|
type: 'function',
|
|
16377
|
-
inputs: [
|
|
16378
|
-
name: '
|
|
16379
|
-
outputs: [
|
|
16380
|
-
stateMutability: '
|
|
16004
|
+
inputs: [],
|
|
16005
|
+
name: 'acceptOwnership',
|
|
16006
|
+
outputs: [],
|
|
16007
|
+
stateMutability: 'nonpayable',
|
|
16381
16008
|
},
|
|
16382
16009
|
{
|
|
16383
16010
|
type: 'function',
|
|
16384
16011
|
inputs: [
|
|
16012
|
+
{ name: 'callFrom', internalType: 'address', type: 'address' },
|
|
16385
16013
|
{ name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
|
|
16386
16014
|
{ name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
|
|
16387
16015
|
{ name: 'call', internalType: 'bytes', type: 'bytes' },
|
|
16388
16016
|
],
|
|
16389
|
-
name: '
|
|
16390
|
-
outputs: [
|
|
16017
|
+
name: 'callWithTransferTokens',
|
|
16018
|
+
outputs: [
|
|
16019
|
+
{ name: 'success', internalType: 'bool', type: 'bool' },
|
|
16020
|
+
{ name: 'result', internalType: 'bytes', type: 'bytes' },
|
|
16021
|
+
],
|
|
16391
16022
|
stateMutability: 'payable',
|
|
16392
16023
|
},
|
|
16393
16024
|
{
|
|
16394
16025
|
type: 'function',
|
|
16395
|
-
inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
|
|
16396
|
-
name: 'uri',
|
|
16397
|
-
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
16398
|
-
stateMutability: 'view',
|
|
16399
|
-
},
|
|
16400
|
-
{
|
|
16401
|
-
type: 'event',
|
|
16402
|
-
anonymous: false,
|
|
16403
16026
|
inputs: [
|
|
16404
|
-
{
|
|
16405
|
-
|
|
16406
|
-
|
|
16407
|
-
type: 'address',
|
|
16408
|
-
indexed: true,
|
|
16409
|
-
},
|
|
16410
|
-
{
|
|
16411
|
-
name: 'operator',
|
|
16412
|
-
internalType: 'address',
|
|
16413
|
-
type: 'address',
|
|
16414
|
-
indexed: true,
|
|
16415
|
-
},
|
|
16416
|
-
{ name: 'approved', internalType: 'bool', type: 'bool', indexed: false },
|
|
16027
|
+
{ name: 'caller', internalType: 'address', type: 'address' },
|
|
16028
|
+
{ name: '', internalType: 'address', type: 'address' },
|
|
16029
|
+
{ name: '', internalType: 'bytes4', type: 'bytes4' },
|
|
16417
16030
|
],
|
|
16418
|
-
name: '
|
|
16031
|
+
name: 'canCall',
|
|
16032
|
+
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
16033
|
+
stateMutability: 'view',
|
|
16419
16034
|
},
|
|
16420
16035
|
{
|
|
16421
|
-
type: '
|
|
16422
|
-
anonymous: false,
|
|
16036
|
+
type: 'function',
|
|
16423
16037
|
inputs: [
|
|
16424
16038
|
{
|
|
16425
|
-
name: '
|
|
16426
|
-
internalType: '
|
|
16039
|
+
name: 'zoraCreator1155Contract',
|
|
16040
|
+
internalType: 'contract IMintWithSparks',
|
|
16427
16041
|
type: 'address',
|
|
16428
|
-
indexed: false,
|
|
16429
|
-
},
|
|
16430
|
-
],
|
|
16431
|
-
name: 'AuthorityUpdated',
|
|
16432
|
-
},
|
|
16433
|
-
{ type: 'event', anonymous: false, inputs: [], name: 'ContractURIUpdated' },
|
|
16434
|
-
{ type: 'event', anonymous: false, inputs: [], name: 'EIP712DomainChanged' },
|
|
16435
|
-
{
|
|
16436
|
-
type: 'event',
|
|
16437
|
-
anonymous: false,
|
|
16438
|
-
inputs: [
|
|
16439
|
-
{
|
|
16440
|
-
name: 'tokenId',
|
|
16441
|
-
internalType: 'uint256',
|
|
16442
|
-
type: 'uint256',
|
|
16443
|
-
indexed: true,
|
|
16444
16042
|
},
|
|
16043
|
+
{ name: 'minter', internalType: 'contract IMinter1155', type: 'address' },
|
|
16445
16044
|
{
|
|
16446
|
-
name: '
|
|
16045
|
+
name: 'zoraCreator1155TokenId',
|
|
16447
16046
|
internalType: 'uint256',
|
|
16448
16047
|
type: 'uint256',
|
|
16449
|
-
indexed: true,
|
|
16450
16048
|
},
|
|
16451
16049
|
{
|
|
16452
|
-
name: '
|
|
16453
|
-
internalType: '
|
|
16454
|
-
type: '
|
|
16455
|
-
|
|
16050
|
+
name: 'collectMintArguments',
|
|
16051
|
+
internalType: 'struct ICollectWithZoraSparks.CollectMintArguments',
|
|
16052
|
+
type: 'tuple',
|
|
16053
|
+
components: [
|
|
16054
|
+
{
|
|
16055
|
+
name: 'mintRewardsRecipients',
|
|
16056
|
+
internalType: 'address[]',
|
|
16057
|
+
type: 'address[]',
|
|
16058
|
+
},
|
|
16059
|
+
{ name: 'minterArguments', internalType: 'bytes', type: 'bytes' },
|
|
16060
|
+
{ name: 'mintComment', internalType: 'string', type: 'string' },
|
|
16061
|
+
],
|
|
16456
16062
|
},
|
|
16457
16063
|
],
|
|
16458
|
-
name: '
|
|
16064
|
+
name: 'collect',
|
|
16065
|
+
outputs: [],
|
|
16066
|
+
stateMutability: 'payable',
|
|
16459
16067
|
},
|
|
16460
16068
|
{
|
|
16461
|
-
type: '
|
|
16462
|
-
anonymous: false,
|
|
16069
|
+
type: 'function',
|
|
16463
16070
|
inputs: [
|
|
16464
16071
|
{
|
|
16465
|
-
name: '
|
|
16466
|
-
internalType: '
|
|
16467
|
-
type: '
|
|
16468
|
-
|
|
16469
|
-
|
|
16470
|
-
|
|
16471
|
-
|
|
16472
|
-
|
|
16473
|
-
|
|
16474
|
-
|
|
16475
|
-
|
|
16476
|
-
|
|
16477
|
-
|
|
16478
|
-
{
|
|
16479
|
-
name: 'values',
|
|
16480
|
-
internalType: 'uint256[]',
|
|
16481
|
-
type: 'uint256[]',
|
|
16482
|
-
indexed: false,
|
|
16483
|
-
},
|
|
16484
|
-
],
|
|
16485
|
-
name: 'TransferBatch',
|
|
16486
|
-
},
|
|
16487
|
-
{
|
|
16488
|
-
type: 'event',
|
|
16489
|
-
anonymous: false,
|
|
16490
|
-
inputs: [
|
|
16491
|
-
{
|
|
16492
|
-
name: 'operator',
|
|
16493
|
-
internalType: 'address',
|
|
16494
|
-
type: 'address',
|
|
16495
|
-
indexed: true,
|
|
16496
|
-
},
|
|
16497
|
-
{ name: 'from', internalType: 'address', type: 'address', indexed: true },
|
|
16498
|
-
{ name: 'to', internalType: 'address', type: 'address', indexed: true },
|
|
16499
|
-
{ name: 'id', internalType: 'uint256', type: 'uint256', indexed: false },
|
|
16500
|
-
{
|
|
16501
|
-
name: 'value',
|
|
16502
|
-
internalType: 'uint256',
|
|
16503
|
-
type: 'uint256',
|
|
16504
|
-
indexed: false,
|
|
16505
|
-
},
|
|
16506
|
-
],
|
|
16507
|
-
name: 'TransferSingle',
|
|
16508
|
-
},
|
|
16509
|
-
{
|
|
16510
|
-
type: 'event',
|
|
16511
|
-
anonymous: false,
|
|
16512
|
-
inputs: [
|
|
16513
|
-
{ name: 'value', internalType: 'string', type: 'string', indexed: false },
|
|
16514
|
-
{ name: 'id', internalType: 'uint256', type: 'uint256', indexed: true },
|
|
16515
|
-
],
|
|
16516
|
-
name: 'URI',
|
|
16517
|
-
},
|
|
16518
|
-
{
|
|
16519
|
-
type: 'event',
|
|
16520
|
-
anonymous: false,
|
|
16521
|
-
inputs: [
|
|
16522
|
-
{
|
|
16523
|
-
name: 'contractURI',
|
|
16524
|
-
internalType: 'string',
|
|
16525
|
-
type: 'string',
|
|
16526
|
-
indexed: false,
|
|
16527
|
-
},
|
|
16528
|
-
{
|
|
16529
|
-
name: 'baseURI',
|
|
16530
|
-
internalType: 'string',
|
|
16531
|
-
type: 'string',
|
|
16532
|
-
indexed: false,
|
|
16533
|
-
},
|
|
16534
|
-
],
|
|
16535
|
-
name: 'URIsUpdated',
|
|
16536
|
-
},
|
|
16537
|
-
{
|
|
16538
|
-
type: 'error',
|
|
16539
|
-
inputs: [{ name: 'authority', internalType: 'address', type: 'address' }],
|
|
16540
|
-
name: 'AccessManagedInvalidAuthority',
|
|
16541
|
-
},
|
|
16542
|
-
{
|
|
16543
|
-
type: 'error',
|
|
16544
|
-
inputs: [
|
|
16545
|
-
{ name: 'caller', internalType: 'address', type: 'address' },
|
|
16546
|
-
{ name: 'delay', internalType: 'uint32', type: 'uint32' },
|
|
16547
|
-
],
|
|
16548
|
-
name: 'AccessManagedRequiredDelay',
|
|
16549
|
-
},
|
|
16550
|
-
{
|
|
16551
|
-
type: 'error',
|
|
16552
|
-
inputs: [{ name: 'caller', internalType: 'address', type: 'address' }],
|
|
16553
|
-
name: 'AccessManagedUnauthorized',
|
|
16554
|
-
},
|
|
16555
|
-
{
|
|
16556
|
-
type: 'error',
|
|
16557
|
-
inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
|
|
16558
|
-
name: 'AddressEmptyCode',
|
|
16559
|
-
},
|
|
16560
|
-
{
|
|
16561
|
-
type: 'error',
|
|
16562
|
-
inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
|
|
16563
|
-
name: 'AddressInsufficientBalance',
|
|
16564
|
-
},
|
|
16565
|
-
{
|
|
16566
|
-
type: 'error',
|
|
16567
|
-
inputs: [
|
|
16568
|
-
{ name: 'lengthA', internalType: 'uint256', type: 'uint256' },
|
|
16569
|
-
{ name: 'lengthB', internalType: 'uint256', type: 'uint256' },
|
|
16570
|
-
],
|
|
16571
|
-
name: 'ArrayLengthMismatch',
|
|
16572
|
-
},
|
|
16573
|
-
{
|
|
16574
|
-
type: 'error',
|
|
16575
|
-
inputs: [{ name: 'returnData', internalType: 'bytes', type: 'bytes' }],
|
|
16576
|
-
name: 'CallFailed',
|
|
16577
|
-
},
|
|
16578
|
-
{
|
|
16579
|
-
type: 'error',
|
|
16580
|
-
inputs: [
|
|
16581
|
-
{ name: 'sender', internalType: 'address', type: 'address' },
|
|
16582
|
-
{ name: 'balance', internalType: 'uint256', type: 'uint256' },
|
|
16583
|
-
{ name: 'needed', internalType: 'uint256', type: 'uint256' },
|
|
16584
|
-
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
16585
|
-
],
|
|
16586
|
-
name: 'ERC1155InsufficientBalance',
|
|
16587
|
-
},
|
|
16588
|
-
{
|
|
16589
|
-
type: 'error',
|
|
16590
|
-
inputs: [{ name: 'approver', internalType: 'address', type: 'address' }],
|
|
16591
|
-
name: 'ERC1155InvalidApprover',
|
|
16592
|
-
},
|
|
16593
|
-
{
|
|
16594
|
-
type: 'error',
|
|
16595
|
-
inputs: [
|
|
16596
|
-
{ name: 'idsLength', internalType: 'uint256', type: 'uint256' },
|
|
16597
|
-
{ name: 'valuesLength', internalType: 'uint256', type: 'uint256' },
|
|
16598
|
-
],
|
|
16599
|
-
name: 'ERC1155InvalidArrayLength',
|
|
16600
|
-
},
|
|
16601
|
-
{
|
|
16602
|
-
type: 'error',
|
|
16603
|
-
inputs: [{ name: 'operator', internalType: 'address', type: 'address' }],
|
|
16604
|
-
name: 'ERC1155InvalidOperator',
|
|
16605
|
-
},
|
|
16606
|
-
{
|
|
16607
|
-
type: 'error',
|
|
16608
|
-
inputs: [{ name: 'receiver', internalType: 'address', type: 'address' }],
|
|
16609
|
-
name: 'ERC1155InvalidReceiver',
|
|
16610
|
-
},
|
|
16611
|
-
{
|
|
16612
|
-
type: 'error',
|
|
16613
|
-
inputs: [{ name: 'sender', internalType: 'address', type: 'address' }],
|
|
16614
|
-
name: 'ERC1155InvalidSender',
|
|
16615
|
-
},
|
|
16616
|
-
{
|
|
16617
|
-
type: 'error',
|
|
16618
|
-
inputs: [
|
|
16619
|
-
{ name: 'operator', internalType: 'address', type: 'address' },
|
|
16620
|
-
{ name: 'owner', internalType: 'address', type: 'address' },
|
|
16621
|
-
],
|
|
16622
|
-
name: 'ERC1155MissingApprovalForAll',
|
|
16623
|
-
},
|
|
16624
|
-
{ type: 'error', inputs: [], name: 'ERC20TransferSlippage' },
|
|
16625
|
-
{
|
|
16626
|
-
type: 'error',
|
|
16627
|
-
inputs: [{ name: 'deadline', internalType: 'uint256', type: 'uint256' }],
|
|
16628
|
-
name: 'ERC2612ExpiredSignature',
|
|
16629
|
-
},
|
|
16630
|
-
{ type: 'error', inputs: [], name: 'ETHTransferFailed' },
|
|
16631
|
-
{ type: 'error', inputs: [], name: 'FailedInnerCall' },
|
|
16632
|
-
{ type: 'error', inputs: [], name: 'IncorrectAmountSent' },
|
|
16633
|
-
{
|
|
16634
|
-
type: 'error',
|
|
16635
|
-
inputs: [
|
|
16636
|
-
{ name: 'account', internalType: 'address', type: 'address' },
|
|
16637
|
-
{ name: 'currentNonce', internalType: 'uint256', type: 'uint256' },
|
|
16638
|
-
],
|
|
16639
|
-
name: 'InvalidAccountNonce',
|
|
16640
|
-
},
|
|
16641
|
-
{ type: 'error', inputs: [], name: 'InvalidRecipient' },
|
|
16642
|
-
{ type: 'error', inputs: [], name: 'InvalidShortString' },
|
|
16643
|
-
{ type: 'error', inputs: [], name: 'InvalidSignature' },
|
|
16644
|
-
{ type: 'error', inputs: [], name: 'InvalidTokenPrice' },
|
|
16645
|
-
{ type: 'error', inputs: [], name: 'NoUriForNonexistentToken' },
|
|
16646
|
-
{
|
|
16647
|
-
type: 'error',
|
|
16648
|
-
inputs: [{ name: 'handler', internalType: 'address', type: 'address' }],
|
|
16649
|
-
name: 'NotARedeemHandler',
|
|
16650
|
-
},
|
|
16651
|
-
{
|
|
16652
|
-
type: 'error',
|
|
16653
|
-
inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
|
|
16654
|
-
name: 'SafeERC20FailedOperation',
|
|
16655
|
-
},
|
|
16656
|
-
{
|
|
16657
|
-
type: 'error',
|
|
16658
|
-
inputs: [{ name: 'str', internalType: 'string', type: 'string' }],
|
|
16659
|
-
name: 'StringTooLong',
|
|
16660
|
-
},
|
|
16661
|
-
{ type: 'error', inputs: [], name: 'TokenAlreadyCreated' },
|
|
16662
|
-
{ type: 'error', inputs: [], name: 'TokenDoesNotExist' },
|
|
16663
|
-
{
|
|
16664
|
-
type: 'error',
|
|
16665
|
-
inputs: [
|
|
16666
|
-
{ name: 'storedTokenAddress', internalType: 'address', type: 'address' },
|
|
16667
|
-
{
|
|
16668
|
-
name: 'expectedTokenAddress',
|
|
16669
|
-
internalType: 'address',
|
|
16670
|
-
type: 'address',
|
|
16671
|
-
},
|
|
16672
|
-
],
|
|
16673
|
-
name: 'TokenMismatch',
|
|
16674
|
-
},
|
|
16675
|
-
{ type: 'error', inputs: [], name: 'TokenNotMintable' },
|
|
16676
|
-
] as const
|
|
16677
|
-
|
|
16678
|
-
/**
|
|
16679
|
-
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
16680
|
-
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
16681
|
-
*/
|
|
16682
|
-
export const zoraMints1155Address = {
|
|
16683
|
-
7777777: '0x7777777d57c1C6e472fa379b7b3B6c6ba3835073',
|
|
16684
|
-
999999999: '0x7777777d57c1C6e472fa379b7b3B6c6ba3835073',
|
|
16685
|
-
} as const
|
|
16686
|
-
|
|
16687
|
-
/**
|
|
16688
|
-
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
16689
|
-
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
16690
|
-
*/
|
|
16691
|
-
export const zoraMints1155Config = {
|
|
16692
|
-
address: zoraMints1155Address,
|
|
16693
|
-
abi: zoraMints1155ABI,
|
|
16694
|
-
} as const
|
|
16695
|
-
|
|
16696
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
16697
|
-
// ZoraMintsManagerImpl
|
|
16698
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
16699
|
-
|
|
16700
|
-
/**
|
|
16701
|
-
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
16702
|
-
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
16703
|
-
*/
|
|
16704
|
-
export const zoraMintsManagerImplABI = [
|
|
16705
|
-
{
|
|
16706
|
-
type: 'constructor',
|
|
16707
|
-
inputs: [
|
|
16708
|
-
{
|
|
16709
|
-
name: '_premintExecutor',
|
|
16710
|
-
internalType: 'contract IZoraCreator1155PremintExecutorAllVersions',
|
|
16711
|
-
type: 'address',
|
|
16712
|
-
},
|
|
16713
|
-
],
|
|
16714
|
-
stateMutability: 'nonpayable',
|
|
16715
|
-
},
|
|
16716
|
-
{
|
|
16717
|
-
type: 'function',
|
|
16718
|
-
inputs: [],
|
|
16719
|
-
name: 'UPGRADE_INTERFACE_VERSION',
|
|
16720
|
-
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
16721
|
-
stateMutability: 'view',
|
|
16722
|
-
},
|
|
16723
|
-
{
|
|
16724
|
-
type: 'function',
|
|
16725
|
-
inputs: [],
|
|
16726
|
-
name: 'acceptOwnership',
|
|
16727
|
-
outputs: [],
|
|
16728
|
-
stateMutability: 'nonpayable',
|
|
16729
|
-
},
|
|
16730
|
-
{
|
|
16731
|
-
type: 'function',
|
|
16732
|
-
inputs: [
|
|
16733
|
-
{ name: 'callFrom', internalType: 'address', type: 'address' },
|
|
16734
|
-
{ name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
|
|
16735
|
-
{ name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
|
|
16736
|
-
{ name: 'call', internalType: 'bytes', type: 'bytes' },
|
|
16737
|
-
],
|
|
16738
|
-
name: 'callWithTransferTokens',
|
|
16739
|
-
outputs: [
|
|
16740
|
-
{ name: 'success', internalType: 'bool', type: 'bool' },
|
|
16741
|
-
{ name: 'result', internalType: 'bytes', type: 'bytes' },
|
|
16742
|
-
],
|
|
16743
|
-
stateMutability: 'payable',
|
|
16744
|
-
},
|
|
16745
|
-
{
|
|
16746
|
-
type: 'function',
|
|
16747
|
-
inputs: [
|
|
16748
|
-
{ name: 'caller', internalType: 'address', type: 'address' },
|
|
16749
|
-
{ name: '', internalType: 'address', type: 'address' },
|
|
16750
|
-
{ name: '', internalType: 'bytes4', type: 'bytes4' },
|
|
16751
|
-
],
|
|
16752
|
-
name: 'canCall',
|
|
16753
|
-
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
16754
|
-
stateMutability: 'view',
|
|
16755
|
-
},
|
|
16756
|
-
{
|
|
16757
|
-
type: 'function',
|
|
16758
|
-
inputs: [
|
|
16759
|
-
{
|
|
16760
|
-
name: 'zoraCreator1155Contract',
|
|
16761
|
-
internalType: 'contract IMintWithSparks',
|
|
16762
|
-
type: 'address',
|
|
16763
|
-
},
|
|
16764
|
-
{ name: 'minter', internalType: 'contract IMinter1155', type: 'address' },
|
|
16765
|
-
{
|
|
16766
|
-
name: 'zoraCreator1155TokenId',
|
|
16767
|
-
internalType: 'uint256',
|
|
16768
|
-
type: 'uint256',
|
|
16769
|
-
},
|
|
16770
|
-
{
|
|
16771
|
-
name: 'collectMintArguments',
|
|
16772
|
-
internalType: 'struct ICollectWithZoraSparks.CollectMintArguments',
|
|
16773
|
-
type: 'tuple',
|
|
16774
|
-
components: [
|
|
16775
|
-
{
|
|
16776
|
-
name: 'mintRewardsRecipients',
|
|
16777
|
-
internalType: 'address[]',
|
|
16778
|
-
type: 'address[]',
|
|
16779
|
-
},
|
|
16780
|
-
{ name: 'minterArguments', internalType: 'bytes', type: 'bytes' },
|
|
16781
|
-
{ name: 'mintComment', internalType: 'string', type: 'string' },
|
|
16782
|
-
],
|
|
16783
|
-
},
|
|
16784
|
-
],
|
|
16785
|
-
name: 'collect',
|
|
16786
|
-
outputs: [],
|
|
16787
|
-
stateMutability: 'payable',
|
|
16788
|
-
},
|
|
16789
|
-
{
|
|
16790
|
-
type: 'function',
|
|
16791
|
-
inputs: [
|
|
16792
|
-
{
|
|
16793
|
-
name: 'contractConfig',
|
|
16794
|
-
internalType: 'struct ContractWithAdditionalAdminsCreationConfig',
|
|
16795
|
-
type: 'tuple',
|
|
16796
|
-
components: [
|
|
16797
|
-
{ name: 'contractAdmin', internalType: 'address', type: 'address' },
|
|
16798
|
-
{ name: 'contractURI', internalType: 'string', type: 'string' },
|
|
16799
|
-
{ name: 'contractName', internalType: 'string', type: 'string' },
|
|
16800
|
-
{
|
|
16801
|
-
name: 'additionalAdmins',
|
|
16802
|
-
internalType: 'address[]',
|
|
16803
|
-
type: 'address[]',
|
|
16804
|
-
},
|
|
16805
|
-
],
|
|
16806
|
-
},
|
|
16807
|
-
{ name: 'tokenContract', internalType: 'address', type: 'address' },
|
|
16808
|
-
{
|
|
16809
|
-
name: 'premintConfig',
|
|
16810
|
-
internalType: 'struct PremintConfigEncoded',
|
|
16811
|
-
type: 'tuple',
|
|
16812
|
-
components: [
|
|
16813
|
-
{ name: 'uid', internalType: 'uint32', type: 'uint32' },
|
|
16814
|
-
{ name: 'version', internalType: 'uint32', type: 'uint32' },
|
|
16815
|
-
{ name: 'deleted', internalType: 'bool', type: 'bool' },
|
|
16816
|
-
{ name: 'tokenConfig', internalType: 'bytes', type: 'bytes' },
|
|
16817
|
-
{
|
|
16818
|
-
name: 'premintConfigVersion',
|
|
16819
|
-
internalType: 'bytes32',
|
|
16820
|
-
type: 'bytes32',
|
|
16821
|
-
},
|
|
16822
|
-
],
|
|
16823
|
-
},
|
|
16824
|
-
{ name: 'signature', internalType: 'bytes', type: 'bytes' },
|
|
16825
|
-
{
|
|
16826
|
-
name: 'mintArguments',
|
|
16827
|
-
internalType: 'struct MintArguments',
|
|
16828
|
-
type: 'tuple',
|
|
16829
|
-
components: [
|
|
16830
|
-
{ name: 'mintRecipient', internalType: 'address', type: 'address' },
|
|
16831
|
-
{ name: 'mintComment', internalType: 'string', type: 'string' },
|
|
16832
|
-
{
|
|
16833
|
-
name: 'mintRewardsRecipients',
|
|
16834
|
-
internalType: 'address[]',
|
|
16835
|
-
type: 'address[]',
|
|
16836
|
-
},
|
|
16837
|
-
],
|
|
16838
|
-
},
|
|
16839
|
-
{ name: 'firstMinter', internalType: 'address', type: 'address' },
|
|
16840
|
-
{ name: 'signerContract', internalType: 'address', type: 'address' },
|
|
16841
|
-
],
|
|
16842
|
-
name: 'collectPremint',
|
|
16843
|
-
outputs: [
|
|
16844
|
-
{
|
|
16845
|
-
name: 'result',
|
|
16846
|
-
internalType: 'struct PremintResult',
|
|
16847
|
-
type: 'tuple',
|
|
16848
|
-
components: [
|
|
16849
|
-
{ name: 'contractAddress', internalType: 'address', type: 'address' },
|
|
16850
|
-
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
16851
|
-
{ name: 'createdNewContract', internalType: 'bool', type: 'bool' },
|
|
16852
|
-
],
|
|
16853
|
-
},
|
|
16854
|
-
],
|
|
16855
|
-
stateMutability: 'payable',
|
|
16856
|
-
},
|
|
16857
|
-
{
|
|
16858
|
-
type: 'function',
|
|
16859
|
-
inputs: [
|
|
16860
|
-
{
|
|
16861
|
-
name: 'contractConfig',
|
|
16862
|
-
internalType: 'struct ContractCreationConfig',
|
|
16863
|
-
type: 'tuple',
|
|
16864
|
-
components: [
|
|
16865
|
-
{ name: 'contractAdmin', internalType: 'address', type: 'address' },
|
|
16866
|
-
{ name: 'contractURI', internalType: 'string', type: 'string' },
|
|
16867
|
-
{ name: 'contractName', internalType: 'string', type: 'string' },
|
|
16868
|
-
],
|
|
16869
|
-
},
|
|
16870
|
-
{
|
|
16871
|
-
name: 'premintConfig',
|
|
16872
|
-
internalType: 'struct PremintConfigV2',
|
|
16873
|
-
type: 'tuple',
|
|
16874
|
-
components: [
|
|
16875
|
-
{
|
|
16876
|
-
name: 'tokenConfig',
|
|
16877
|
-
internalType: 'struct TokenCreationConfigV2',
|
|
16878
|
-
type: 'tuple',
|
|
16879
|
-
components: [
|
|
16880
|
-
{ name: 'tokenURI', internalType: 'string', type: 'string' },
|
|
16881
|
-
{ name: 'maxSupply', internalType: 'uint256', type: 'uint256' },
|
|
16882
|
-
{
|
|
16883
|
-
name: 'maxTokensPerAddress',
|
|
16884
|
-
internalType: 'uint64',
|
|
16885
|
-
type: 'uint64',
|
|
16886
|
-
},
|
|
16887
|
-
{ name: 'pricePerToken', internalType: 'uint96', type: 'uint96' },
|
|
16888
|
-
{ name: 'mintStart', internalType: 'uint64', type: 'uint64' },
|
|
16889
|
-
{ name: 'mintDuration', internalType: 'uint64', type: 'uint64' },
|
|
16890
|
-
{ name: 'royaltyBPS', internalType: 'uint32', type: 'uint32' },
|
|
16891
|
-
{
|
|
16892
|
-
name: 'payoutRecipient',
|
|
16893
|
-
internalType: 'address',
|
|
16894
|
-
type: 'address',
|
|
16895
|
-
},
|
|
16896
|
-
{
|
|
16897
|
-
name: 'fixedPriceMinter',
|
|
16898
|
-
internalType: 'address',
|
|
16899
|
-
type: 'address',
|
|
16900
|
-
},
|
|
16901
|
-
{
|
|
16902
|
-
name: 'createReferral',
|
|
16903
|
-
internalType: 'address',
|
|
16904
|
-
type: 'address',
|
|
16905
|
-
},
|
|
16906
|
-
],
|
|
16907
|
-
},
|
|
16908
|
-
{ name: 'uid', internalType: 'uint32', type: 'uint32' },
|
|
16909
|
-
{ name: 'version', internalType: 'uint32', type: 'uint32' },
|
|
16910
|
-
{ name: 'deleted', internalType: 'bool', type: 'bool' },
|
|
16911
|
-
],
|
|
16912
|
-
},
|
|
16913
|
-
{ name: 'signature', internalType: 'bytes', type: 'bytes' },
|
|
16914
|
-
{
|
|
16915
|
-
name: 'mintArguments',
|
|
16916
|
-
internalType: 'struct MintArguments',
|
|
16917
|
-
type: 'tuple',
|
|
16918
|
-
components: [
|
|
16919
|
-
{ name: 'mintRecipient', internalType: 'address', type: 'address' },
|
|
16920
|
-
{ name: 'mintComment', internalType: 'string', type: 'string' },
|
|
16921
|
-
{
|
|
16922
|
-
name: 'mintRewardsRecipients',
|
|
16923
|
-
internalType: 'address[]',
|
|
16924
|
-
type: 'address[]',
|
|
16925
|
-
},
|
|
16926
|
-
],
|
|
16927
|
-
},
|
|
16928
|
-
{ name: 'signerContract', internalType: 'address', type: 'address' },
|
|
16929
|
-
],
|
|
16930
|
-
name: 'collectPremintV2',
|
|
16931
|
-
outputs: [
|
|
16932
|
-
{
|
|
16933
|
-
name: 'result',
|
|
16934
|
-
internalType: 'struct PremintResult',
|
|
16935
|
-
type: 'tuple',
|
|
16936
|
-
components: [
|
|
16937
|
-
{ name: 'contractAddress', internalType: 'address', type: 'address' },
|
|
16938
|
-
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
16939
|
-
{ name: 'createdNewContract', internalType: 'bool', type: 'bool' },
|
|
16940
|
-
],
|
|
16941
|
-
},
|
|
16942
|
-
],
|
|
16943
|
-
stateMutability: 'payable',
|
|
16944
|
-
},
|
|
16945
|
-
{
|
|
16946
|
-
type: 'function',
|
|
16947
|
-
inputs: [],
|
|
16948
|
-
name: 'contractName',
|
|
16949
|
-
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
16950
|
-
stateMutability: 'pure',
|
|
16951
|
-
},
|
|
16952
|
-
{
|
|
16953
|
-
type: 'function',
|
|
16954
|
-
inputs: [],
|
|
16955
|
-
name: 'contractURI',
|
|
16956
|
-
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
16957
|
-
stateMutability: 'view',
|
|
16958
|
-
},
|
|
16959
|
-
{
|
|
16960
|
-
type: 'function',
|
|
16961
|
-
inputs: [],
|
|
16962
|
-
name: 'contractVersion',
|
|
16963
|
-
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
16964
|
-
stateMutability: 'pure',
|
|
16965
|
-
},
|
|
16966
|
-
{
|
|
16967
|
-
type: 'function',
|
|
16968
|
-
inputs: [
|
|
16969
|
-
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
16970
|
-
{
|
|
16971
|
-
name: 'tokenConfig',
|
|
16972
|
-
internalType: 'struct TokenConfig',
|
|
16973
|
-
type: 'tuple',
|
|
16974
|
-
components: [
|
|
16975
|
-
{ name: 'price', internalType: 'uint256', type: 'uint256' },
|
|
16976
|
-
{ name: 'tokenAddress', internalType: 'address', type: 'address' },
|
|
16977
|
-
{ name: 'redeemHandler', internalType: 'address', type: 'address' },
|
|
16978
|
-
],
|
|
16979
|
-
},
|
|
16980
|
-
{ name: 'defaultMintable', internalType: 'bool', type: 'bool' },
|
|
16981
|
-
],
|
|
16982
|
-
name: 'createToken',
|
|
16983
|
-
outputs: [],
|
|
16984
|
-
stateMutability: 'nonpayable',
|
|
16985
|
-
},
|
|
16986
|
-
{
|
|
16987
|
-
type: 'function',
|
|
16988
|
-
inputs: [{ name: 'minterArguments', internalType: 'bytes', type: 'bytes' }],
|
|
16989
|
-
name: 'decodeMintRecipientAndComment',
|
|
16990
|
-
outputs: [
|
|
16991
|
-
{ name: 'mintTo', internalType: 'address', type: 'address' },
|
|
16992
|
-
{ name: 'mintComment', internalType: 'string', type: 'string' },
|
|
16993
|
-
],
|
|
16994
|
-
stateMutability: 'pure',
|
|
16995
|
-
},
|
|
16996
|
-
{
|
|
16997
|
-
type: 'function',
|
|
16998
|
-
inputs: [],
|
|
16999
|
-
name: 'getEthPrice',
|
|
17000
|
-
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
17001
|
-
stateMutability: 'view',
|
|
17002
|
-
},
|
|
17003
|
-
{
|
|
17004
|
-
type: 'function',
|
|
17005
|
-
inputs: [],
|
|
17006
|
-
name: 'implementation',
|
|
17007
|
-
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
17008
|
-
stateMutability: 'view',
|
|
17009
|
-
},
|
|
17010
|
-
{
|
|
17011
|
-
type: 'function',
|
|
17012
|
-
inputs: [
|
|
17013
|
-
{ name: 'defaultOwner', internalType: 'address', type: 'address' },
|
|
17014
|
-
{ name: 'zoraSparksSalt', internalType: 'bytes32', type: 'bytes32' },
|
|
17015
|
-
{ name: 'zoraSparksCreationCode', internalType: 'bytes', type: 'bytes' },
|
|
17016
|
-
{ name: 'initialEthTokenId', internalType: 'uint256', type: 'uint256' },
|
|
17017
|
-
{
|
|
17018
|
-
name: 'initialEthTokenPrice',
|
|
17019
|
-
internalType: 'uint256',
|
|
17020
|
-
type: 'uint256',
|
|
17021
|
-
},
|
|
17022
|
-
{ name: 'newBaseURI', internalType: 'string', type: 'string' },
|
|
17023
|
-
{ name: 'newContractURI', internalType: 'string', type: 'string' },
|
|
17024
|
-
],
|
|
17025
|
-
name: 'initialize',
|
|
17026
|
-
outputs: [
|
|
17027
|
-
{
|
|
17028
|
-
name: 'mints',
|
|
17029
|
-
internalType: 'contract IZoraSparks1155',
|
|
17030
|
-
type: 'address',
|
|
17031
|
-
},
|
|
17032
|
-
],
|
|
17033
|
-
stateMutability: 'nonpayable',
|
|
17034
|
-
},
|
|
17035
|
-
{
|
|
17036
|
-
type: 'function',
|
|
17037
|
-
inputs: [
|
|
17038
|
-
{ name: 'tokenAddress', internalType: 'address', type: 'address' },
|
|
17039
|
-
{ name: 'quantity', internalType: 'uint256', type: 'uint256' },
|
|
17040
|
-
{ name: 'recipient', internalType: 'address', type: 'address' },
|
|
17041
|
-
],
|
|
17042
|
-
name: 'mintWithERC20',
|
|
17043
|
-
outputs: [
|
|
17044
|
-
{ name: 'mintableTokenId', internalType: 'uint256', type: 'uint256' },
|
|
17045
|
-
],
|
|
17046
|
-
stateMutability: 'nonpayable',
|
|
17047
|
-
},
|
|
17048
|
-
{
|
|
17049
|
-
type: 'function',
|
|
17050
|
-
inputs: [
|
|
17051
|
-
{ name: 'quantity', internalType: 'uint256', type: 'uint256' },
|
|
17052
|
-
{ name: 'recipient', internalType: 'address', type: 'address' },
|
|
17053
|
-
],
|
|
17054
|
-
name: 'mintWithEth',
|
|
17055
|
-
outputs: [
|
|
17056
|
-
{ name: 'mintableTokenId', internalType: 'uint256', type: 'uint256' },
|
|
17057
|
-
],
|
|
17058
|
-
stateMutability: 'payable',
|
|
17059
|
-
},
|
|
17060
|
-
{
|
|
17061
|
-
type: 'function',
|
|
17062
|
-
inputs: [],
|
|
17063
|
-
name: 'mintableEthToken',
|
|
17064
|
-
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
17065
|
-
stateMutability: 'view',
|
|
17066
|
-
},
|
|
17067
|
-
{
|
|
17068
|
-
type: 'function',
|
|
17069
|
-
inputs: [
|
|
17070
|
-
{ name: '', internalType: 'address', type: 'address' },
|
|
17071
|
-
{ name: 'from', internalType: 'address', type: 'address' },
|
|
17072
|
-
{ name: 'ids', internalType: 'uint256[]', type: 'uint256[]' },
|
|
17073
|
-
{ name: 'values', internalType: 'uint256[]', type: 'uint256[]' },
|
|
17074
|
-
{ name: 'data', internalType: 'bytes', type: 'bytes' },
|
|
17075
|
-
],
|
|
17076
|
-
name: 'onERC1155BatchReceived',
|
|
17077
|
-
outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
|
|
17078
|
-
stateMutability: 'nonpayable',
|
|
17079
|
-
},
|
|
17080
|
-
{
|
|
17081
|
-
type: 'function',
|
|
17082
|
-
inputs: [
|
|
17083
|
-
{ name: '', internalType: 'address', type: 'address' },
|
|
17084
|
-
{ name: 'from', internalType: 'address', type: 'address' },
|
|
17085
|
-
{ name: 'id', internalType: 'uint256', type: 'uint256' },
|
|
17086
|
-
{ name: 'value', internalType: 'uint256', type: 'uint256' },
|
|
17087
|
-
{ name: 'data', internalType: 'bytes', type: 'bytes' },
|
|
17088
|
-
],
|
|
17089
|
-
name: 'onERC1155Received',
|
|
17090
|
-
outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
|
|
17091
|
-
stateMutability: 'nonpayable',
|
|
17092
|
-
},
|
|
17093
|
-
{
|
|
17094
|
-
type: 'function',
|
|
17095
|
-
inputs: [],
|
|
17096
|
-
name: 'owner',
|
|
17097
|
-
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
17098
|
-
stateMutability: 'view',
|
|
17099
|
-
},
|
|
17100
|
-
{
|
|
17101
|
-
type: 'function',
|
|
17102
|
-
inputs: [],
|
|
17103
|
-
name: 'pendingOwner',
|
|
17104
|
-
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
17105
|
-
stateMutability: 'view',
|
|
17106
|
-
},
|
|
17107
|
-
{
|
|
17108
|
-
type: 'function',
|
|
17109
|
-
inputs: [],
|
|
17110
|
-
name: 'proxiableUUID',
|
|
17111
|
-
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
|
17112
|
-
stateMutability: 'view',
|
|
17113
|
-
},
|
|
17114
|
-
{
|
|
17115
|
-
type: 'function',
|
|
17116
|
-
inputs: [],
|
|
17117
|
-
name: 'renounceOwnership',
|
|
17118
|
-
outputs: [],
|
|
17119
|
-
stateMutability: 'nonpayable',
|
|
17120
|
-
},
|
|
17121
|
-
{
|
|
17122
|
-
type: 'function',
|
|
17123
|
-
inputs: [
|
|
17124
|
-
{ name: 'tokenAddress', internalType: 'address', type: 'address' },
|
|
17125
|
-
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
17126
|
-
],
|
|
17127
|
-
name: 'setDefaultMintable',
|
|
17128
|
-
outputs: [],
|
|
17129
|
-
stateMutability: 'nonpayable',
|
|
17130
|
-
},
|
|
17131
|
-
{
|
|
17132
|
-
type: 'function',
|
|
17133
|
-
inputs: [
|
|
17134
|
-
{ name: 'newContractURI', internalType: 'string', type: 'string' },
|
|
17135
|
-
{ name: 'newBaseURI', internalType: 'string', type: 'string' },
|
|
17136
|
-
{
|
|
17137
|
-
name: 'tokenIdsToNotifyUpdate',
|
|
17138
|
-
internalType: 'uint256[]',
|
|
17139
|
-
type: 'uint256[]',
|
|
17140
|
-
},
|
|
17141
|
-
],
|
|
17142
|
-
name: 'setMetadataURIs',
|
|
17143
|
-
outputs: [],
|
|
17144
|
-
stateMutability: 'nonpayable',
|
|
17145
|
-
},
|
|
17146
|
-
{
|
|
17147
|
-
type: 'function',
|
|
17148
|
-
inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }],
|
|
17149
|
-
name: 'transferOwnership',
|
|
17150
|
-
outputs: [],
|
|
17151
|
-
stateMutability: 'nonpayable',
|
|
17152
|
-
},
|
|
17153
|
-
{
|
|
17154
|
-
type: 'function',
|
|
17155
|
-
inputs: [
|
|
17156
|
-
{ name: 'newImplementation', internalType: 'address', type: 'address' },
|
|
17157
|
-
{ name: 'data', internalType: 'bytes', type: 'bytes' },
|
|
17158
|
-
],
|
|
17159
|
-
name: 'upgradeToAndCall',
|
|
17160
|
-
outputs: [],
|
|
17161
|
-
stateMutability: 'payable',
|
|
17162
|
-
},
|
|
17163
|
-
{
|
|
17164
|
-
type: 'function',
|
|
17165
|
-
inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
|
|
17166
|
-
name: 'uri',
|
|
17167
|
-
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
17168
|
-
stateMutability: 'view',
|
|
17169
|
-
},
|
|
17170
|
-
{
|
|
17171
|
-
type: 'function',
|
|
17172
|
-
inputs: [],
|
|
17173
|
-
name: 'zoraSparks1155',
|
|
17174
|
-
outputs: [
|
|
17175
|
-
{ name: '', internalType: 'contract IZoraSparks1155', type: 'address' },
|
|
17176
|
-
],
|
|
17177
|
-
stateMutability: 'view',
|
|
17178
|
-
},
|
|
17179
|
-
{
|
|
17180
|
-
type: 'event',
|
|
17181
|
-
anonymous: false,
|
|
17182
|
-
inputs: [
|
|
17183
|
-
{
|
|
17184
|
-
name: 'tokenIds',
|
|
17185
|
-
internalType: 'uint256[]',
|
|
17186
|
-
type: 'uint256[]',
|
|
17187
|
-
indexed: true,
|
|
17188
|
-
},
|
|
17189
|
-
{
|
|
17190
|
-
name: 'quantities',
|
|
17191
|
-
internalType: 'uint256[]',
|
|
17192
|
-
type: 'uint256[]',
|
|
17193
|
-
indexed: false,
|
|
17194
|
-
},
|
|
17195
|
-
{
|
|
17196
|
-
name: 'zoraCreator1155Contract',
|
|
17197
|
-
internalType: 'address',
|
|
17198
|
-
type: 'address',
|
|
17199
|
-
indexed: true,
|
|
17200
|
-
},
|
|
17201
|
-
{
|
|
17202
|
-
name: 'zoraCreator1155TokenId',
|
|
17203
|
-
internalType: 'uint256',
|
|
17204
|
-
type: 'uint256',
|
|
17205
|
-
indexed: true,
|
|
17206
|
-
},
|
|
17207
|
-
],
|
|
17208
|
-
name: 'Collected',
|
|
17209
|
-
},
|
|
17210
|
-
{
|
|
17211
|
-
type: 'event',
|
|
17212
|
-
anonymous: false,
|
|
17213
|
-
inputs: [
|
|
17214
|
-
{
|
|
17215
|
-
name: 'tokenAddress',
|
|
17216
|
-
internalType: 'address',
|
|
17217
|
-
type: 'address',
|
|
17218
|
-
indexed: false,
|
|
17219
|
-
},
|
|
17220
|
-
{
|
|
17221
|
-
name: 'tokenId',
|
|
17222
|
-
internalType: 'uint256',
|
|
17223
|
-
type: 'uint256',
|
|
17224
|
-
indexed: false,
|
|
17225
|
-
},
|
|
17226
|
-
],
|
|
17227
|
-
name: 'DefaultMintableTokenSet',
|
|
17228
|
-
},
|
|
17229
|
-
{
|
|
17230
|
-
type: 'event',
|
|
17231
|
-
anonymous: false,
|
|
17232
|
-
inputs: [
|
|
17233
|
-
{
|
|
17234
|
-
name: 'version',
|
|
17235
|
-
internalType: 'uint64',
|
|
17236
|
-
type: 'uint64',
|
|
17237
|
-
indexed: false,
|
|
17238
|
-
},
|
|
17239
|
-
],
|
|
17240
|
-
name: 'Initialized',
|
|
17241
|
-
},
|
|
17242
|
-
{
|
|
17243
|
-
type: 'event',
|
|
17244
|
-
anonymous: false,
|
|
17245
|
-
inputs: [
|
|
17246
|
-
{
|
|
17247
|
-
name: 'sender',
|
|
17248
|
-
internalType: 'address',
|
|
17249
|
-
type: 'address',
|
|
17250
|
-
indexed: true,
|
|
17251
|
-
},
|
|
17252
|
-
{
|
|
17253
|
-
name: 'tokenContract',
|
|
17254
|
-
internalType: 'address',
|
|
17255
|
-
type: 'address',
|
|
17256
|
-
indexed: true,
|
|
17257
|
-
},
|
|
17258
|
-
{
|
|
17259
|
-
name: 'tokenId',
|
|
17260
|
-
internalType: 'uint256',
|
|
17261
|
-
type: 'uint256',
|
|
17262
|
-
indexed: true,
|
|
17263
|
-
},
|
|
17264
|
-
{
|
|
17265
|
-
name: 'quantity',
|
|
17266
|
-
internalType: 'uint256',
|
|
17267
|
-
type: 'uint256',
|
|
17268
|
-
indexed: false,
|
|
17269
|
-
},
|
|
17270
|
-
{
|
|
17271
|
-
name: 'comment',
|
|
17272
|
-
internalType: 'string',
|
|
17273
|
-
type: 'string',
|
|
17274
|
-
indexed: false,
|
|
17275
|
-
},
|
|
17276
|
-
],
|
|
17277
|
-
name: 'MintComment',
|
|
17278
|
-
},
|
|
17279
|
-
{
|
|
17280
|
-
type: 'event',
|
|
17281
|
-
anonymous: false,
|
|
17282
|
-
inputs: [
|
|
17283
|
-
{
|
|
17284
|
-
name: 'previousOwner',
|
|
17285
|
-
internalType: 'address',
|
|
17286
|
-
type: 'address',
|
|
17287
|
-
indexed: true,
|
|
16072
|
+
name: 'contractConfig',
|
|
16073
|
+
internalType: 'struct ContractWithAdditionalAdminsCreationConfig',
|
|
16074
|
+
type: 'tuple',
|
|
16075
|
+
components: [
|
|
16076
|
+
{ name: 'contractAdmin', internalType: 'address', type: 'address' },
|
|
16077
|
+
{ name: 'contractURI', internalType: 'string', type: 'string' },
|
|
16078
|
+
{ name: 'contractName', internalType: 'string', type: 'string' },
|
|
16079
|
+
{
|
|
16080
|
+
name: 'additionalAdmins',
|
|
16081
|
+
internalType: 'address[]',
|
|
16082
|
+
type: 'address[]',
|
|
16083
|
+
},
|
|
16084
|
+
],
|
|
17288
16085
|
},
|
|
16086
|
+
{ name: 'tokenContract', internalType: 'address', type: 'address' },
|
|
17289
16087
|
{
|
|
17290
|
-
name: '
|
|
17291
|
-
internalType: '
|
|
17292
|
-
type: '
|
|
17293
|
-
|
|
16088
|
+
name: 'premintConfig',
|
|
16089
|
+
internalType: 'struct PremintConfigEncoded',
|
|
16090
|
+
type: 'tuple',
|
|
16091
|
+
components: [
|
|
16092
|
+
{ name: 'uid', internalType: 'uint32', type: 'uint32' },
|
|
16093
|
+
{ name: 'version', internalType: 'uint32', type: 'uint32' },
|
|
16094
|
+
{ name: 'deleted', internalType: 'bool', type: 'bool' },
|
|
16095
|
+
{ name: 'tokenConfig', internalType: 'bytes', type: 'bytes' },
|
|
16096
|
+
{
|
|
16097
|
+
name: 'premintConfigVersion',
|
|
16098
|
+
internalType: 'bytes32',
|
|
16099
|
+
type: 'bytes32',
|
|
16100
|
+
},
|
|
16101
|
+
],
|
|
17294
16102
|
},
|
|
17295
|
-
|
|
17296
|
-
name: 'OwnershipTransferStarted',
|
|
17297
|
-
},
|
|
17298
|
-
{
|
|
17299
|
-
type: 'event',
|
|
17300
|
-
anonymous: false,
|
|
17301
|
-
inputs: [
|
|
16103
|
+
{ name: 'signature', internalType: 'bytes', type: 'bytes' },
|
|
17302
16104
|
{
|
|
17303
|
-
name: '
|
|
17304
|
-
internalType: '
|
|
17305
|
-
type: '
|
|
17306
|
-
|
|
16105
|
+
name: 'mintArguments',
|
|
16106
|
+
internalType: 'struct MintArguments',
|
|
16107
|
+
type: 'tuple',
|
|
16108
|
+
components: [
|
|
16109
|
+
{ name: 'mintRecipient', internalType: 'address', type: 'address' },
|
|
16110
|
+
{ name: 'mintComment', internalType: 'string', type: 'string' },
|
|
16111
|
+
{
|
|
16112
|
+
name: 'mintRewardsRecipients',
|
|
16113
|
+
internalType: 'address[]',
|
|
16114
|
+
type: 'address[]',
|
|
16115
|
+
},
|
|
16116
|
+
],
|
|
17307
16117
|
},
|
|
16118
|
+
{ name: 'firstMinter', internalType: 'address', type: 'address' },
|
|
16119
|
+
{ name: 'signerContract', internalType: 'address', type: 'address' },
|
|
16120
|
+
],
|
|
16121
|
+
name: 'collectPremint',
|
|
16122
|
+
outputs: [
|
|
17308
16123
|
{
|
|
17309
|
-
name: '
|
|
17310
|
-
internalType: '
|
|
17311
|
-
type: '
|
|
17312
|
-
|
|
16124
|
+
name: 'result',
|
|
16125
|
+
internalType: 'struct PremintResult',
|
|
16126
|
+
type: 'tuple',
|
|
16127
|
+
components: [
|
|
16128
|
+
{ name: 'contractAddress', internalType: 'address', type: 'address' },
|
|
16129
|
+
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
16130
|
+
{ name: 'createdNewContract', internalType: 'bool', type: 'bool' },
|
|
16131
|
+
],
|
|
17313
16132
|
},
|
|
17314
16133
|
],
|
|
17315
|
-
|
|
16134
|
+
stateMutability: 'payable',
|
|
17316
16135
|
},
|
|
17317
16136
|
{
|
|
17318
|
-
type: '
|
|
17319
|
-
anonymous: false,
|
|
16137
|
+
type: 'function',
|
|
17320
16138
|
inputs: [
|
|
17321
16139
|
{
|
|
17322
|
-
name: '
|
|
17323
|
-
internalType: '
|
|
17324
|
-
type: '
|
|
17325
|
-
|
|
16140
|
+
name: 'contractConfig',
|
|
16141
|
+
internalType: 'struct ContractCreationConfig',
|
|
16142
|
+
type: 'tuple',
|
|
16143
|
+
components: [
|
|
16144
|
+
{ name: 'contractAdmin', internalType: 'address', type: 'address' },
|
|
16145
|
+
{ name: 'contractURI', internalType: 'string', type: 'string' },
|
|
16146
|
+
{ name: 'contractName', internalType: 'string', type: 'string' },
|
|
16147
|
+
],
|
|
17326
16148
|
},
|
|
17327
16149
|
{
|
|
17328
|
-
name: '
|
|
17329
|
-
internalType: '
|
|
17330
|
-
type: '
|
|
17331
|
-
|
|
16150
|
+
name: 'premintConfig',
|
|
16151
|
+
internalType: 'struct PremintConfigV2',
|
|
16152
|
+
type: 'tuple',
|
|
16153
|
+
components: [
|
|
16154
|
+
{
|
|
16155
|
+
name: 'tokenConfig',
|
|
16156
|
+
internalType: 'struct TokenCreationConfigV2',
|
|
16157
|
+
type: 'tuple',
|
|
16158
|
+
components: [
|
|
16159
|
+
{ name: 'tokenURI', internalType: 'string', type: 'string' },
|
|
16160
|
+
{ name: 'maxSupply', internalType: 'uint256', type: 'uint256' },
|
|
16161
|
+
{
|
|
16162
|
+
name: 'maxTokensPerAddress',
|
|
16163
|
+
internalType: 'uint64',
|
|
16164
|
+
type: 'uint64',
|
|
16165
|
+
},
|
|
16166
|
+
{ name: 'pricePerToken', internalType: 'uint96', type: 'uint96' },
|
|
16167
|
+
{ name: 'mintStart', internalType: 'uint64', type: 'uint64' },
|
|
16168
|
+
{ name: 'mintDuration', internalType: 'uint64', type: 'uint64' },
|
|
16169
|
+
{ name: 'royaltyBPS', internalType: 'uint32', type: 'uint32' },
|
|
16170
|
+
{
|
|
16171
|
+
name: 'payoutRecipient',
|
|
16172
|
+
internalType: 'address',
|
|
16173
|
+
type: 'address',
|
|
16174
|
+
},
|
|
16175
|
+
{
|
|
16176
|
+
name: 'fixedPriceMinter',
|
|
16177
|
+
internalType: 'address',
|
|
16178
|
+
type: 'address',
|
|
16179
|
+
},
|
|
16180
|
+
{
|
|
16181
|
+
name: 'createReferral',
|
|
16182
|
+
internalType: 'address',
|
|
16183
|
+
type: 'address',
|
|
16184
|
+
},
|
|
16185
|
+
],
|
|
16186
|
+
},
|
|
16187
|
+
{ name: 'uid', internalType: 'uint32', type: 'uint32' },
|
|
16188
|
+
{ name: 'version', internalType: 'uint32', type: 'uint32' },
|
|
16189
|
+
{ name: 'deleted', internalType: 'bool', type: 'bool' },
|
|
16190
|
+
],
|
|
17332
16191
|
},
|
|
17333
|
-
|
|
17334
|
-
name: 'URIsUpdated',
|
|
17335
|
-
},
|
|
17336
|
-
{
|
|
17337
|
-
type: 'event',
|
|
17338
|
-
anonymous: false,
|
|
17339
|
-
inputs: [
|
|
16192
|
+
{ name: 'signature', internalType: 'bytes', type: 'bytes' },
|
|
17340
16193
|
{
|
|
17341
|
-
name: '
|
|
17342
|
-
internalType: '
|
|
17343
|
-
type: '
|
|
17344
|
-
|
|
16194
|
+
name: 'mintArguments',
|
|
16195
|
+
internalType: 'struct MintArguments',
|
|
16196
|
+
type: 'tuple',
|
|
16197
|
+
components: [
|
|
16198
|
+
{ name: 'mintRecipient', internalType: 'address', type: 'address' },
|
|
16199
|
+
{ name: 'mintComment', internalType: 'string', type: 'string' },
|
|
16200
|
+
{
|
|
16201
|
+
name: 'mintRewardsRecipients',
|
|
16202
|
+
internalType: 'address[]',
|
|
16203
|
+
type: 'address[]',
|
|
16204
|
+
},
|
|
16205
|
+
],
|
|
17345
16206
|
},
|
|
16207
|
+
{ name: 'signerContract', internalType: 'address', type: 'address' },
|
|
17346
16208
|
],
|
|
17347
|
-
name: '
|
|
17348
|
-
|
|
17349
|
-
|
|
17350
|
-
|
|
17351
|
-
|
|
17352
|
-
|
|
17353
|
-
|
|
17354
|
-
|
|
17355
|
-
|
|
17356
|
-
|
|
17357
|
-
|
|
17358
|
-
|
|
17359
|
-
{
|
|
17360
|
-
type: 'error',
|
|
17361
|
-
inputs: [
|
|
17362
|
-
{ name: 'lengthA', internalType: 'uint256', type: 'uint256' },
|
|
17363
|
-
{ name: 'lengthB', internalType: 'uint256', type: 'uint256' },
|
|
17364
|
-
],
|
|
17365
|
-
name: 'ArrayLengthMismatch',
|
|
17366
|
-
},
|
|
17367
|
-
{
|
|
17368
|
-
type: 'error',
|
|
17369
|
-
inputs: [
|
|
17370
|
-
{ name: 'operator', internalType: 'address', type: 'address' },
|
|
17371
|
-
{ name: 'user', internalType: 'address', type: 'address' },
|
|
17372
|
-
],
|
|
17373
|
-
name: 'Burn_NotOwnerOrApproved',
|
|
17374
|
-
},
|
|
17375
|
-
{
|
|
17376
|
-
type: 'error',
|
|
17377
|
-
inputs: [{ name: 'reason', internalType: 'bytes', type: 'bytes' }],
|
|
17378
|
-
name: 'CallFailed',
|
|
17379
|
-
},
|
|
17380
|
-
{ type: 'error', inputs: [], name: 'Call_TokenIdMismatch' },
|
|
17381
|
-
{ type: 'error', inputs: [], name: 'CallerNotZoraCreator1155' },
|
|
17382
|
-
{
|
|
17383
|
-
type: 'error',
|
|
17384
|
-
inputs: [
|
|
17385
|
-
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
17386
|
-
{ name: 'quantity', internalType: 'uint256', type: 'uint256' },
|
|
17387
|
-
{ name: 'totalMinted', internalType: 'uint256', type: 'uint256' },
|
|
17388
|
-
{ name: 'maxSupply', internalType: 'uint256', type: 'uint256' },
|
|
17389
|
-
],
|
|
17390
|
-
name: 'CannotMintMoreTokens',
|
|
17391
|
-
},
|
|
17392
|
-
{
|
|
17393
|
-
type: 'error',
|
|
17394
|
-
inputs: [
|
|
17395
|
-
{ name: 'proposedAddress', internalType: 'address', type: 'address' },
|
|
17396
|
-
],
|
|
17397
|
-
name: 'Config_TransferHookNotSupported',
|
|
17398
|
-
},
|
|
17399
|
-
{ type: 'error', inputs: [], name: 'Create2EmptyBytecode' },
|
|
17400
|
-
{ type: 'error', inputs: [], name: 'Create2FailedDeployment' },
|
|
17401
|
-
{
|
|
17402
|
-
type: 'error',
|
|
17403
|
-
inputs: [
|
|
17404
|
-
{ name: 'balance', internalType: 'uint256', type: 'uint256' },
|
|
17405
|
-
{ name: 'needed', internalType: 'uint256', type: 'uint256' },
|
|
17406
|
-
],
|
|
17407
|
-
name: 'Create2InsufficientBalance',
|
|
17408
|
-
},
|
|
17409
|
-
{ type: 'error', inputs: [], name: 'DefaultOwnerCannotBeZero' },
|
|
17410
|
-
{ type: 'error', inputs: [], name: 'ERC1155BatchReceivedCallFailed' },
|
|
17411
|
-
{ type: 'error', inputs: [], name: 'ERC1155_MINT_TO_ZERO_ADDRESS' },
|
|
17412
|
-
{
|
|
17413
|
-
type: 'error',
|
|
17414
|
-
inputs: [
|
|
17415
|
-
{ name: 'implementation', internalType: 'address', type: 'address' },
|
|
17416
|
-
],
|
|
17417
|
-
name: 'ERC1967InvalidImplementation',
|
|
17418
|
-
},
|
|
17419
|
-
{ type: 'error', inputs: [], name: 'ERC1967NonPayable' },
|
|
17420
|
-
{ type: 'error', inputs: [], name: 'ERC20TransferSlippage' },
|
|
17421
|
-
{ type: 'error', inputs: [], name: 'ETHTransferFailed' },
|
|
17422
|
-
{
|
|
17423
|
-
type: 'error',
|
|
17424
|
-
inputs: [
|
|
17425
|
-
{ name: 'recipient', internalType: 'address', type: 'address' },
|
|
17426
|
-
{ name: 'amount', internalType: 'uint256', type: 'uint256' },
|
|
17427
|
-
],
|
|
17428
|
-
name: 'ETHWithdrawFailed',
|
|
17429
|
-
},
|
|
17430
|
-
{ type: 'error', inputs: [], name: 'FailedInnerCall' },
|
|
17431
|
-
{ type: 'error', inputs: [], name: 'FirstMinterAddressZero' },
|
|
17432
|
-
{
|
|
17433
|
-
type: 'error',
|
|
17434
|
-
inputs: [
|
|
17435
|
-
{ name: 'amount', internalType: 'uint256', type: 'uint256' },
|
|
17436
|
-
{ name: 'contractValue', internalType: 'uint256', type: 'uint256' },
|
|
17437
|
-
],
|
|
17438
|
-
name: 'FundsWithdrawInsolvent',
|
|
17439
|
-
},
|
|
17440
|
-
{ type: 'error', inputs: [], name: 'IncorrectAmountSent' },
|
|
17441
|
-
{ type: 'error', inputs: [], name: 'InvalidAdminAction' },
|
|
17442
|
-
{ type: 'error', inputs: [], name: 'InvalidInitialization' },
|
|
17443
|
-
{
|
|
17444
|
-
type: 'error',
|
|
17445
|
-
inputs: [
|
|
17446
|
-
{ name: 'mintTo', internalType: 'address', type: 'address' },
|
|
17447
|
-
{ name: 'merkleProof', internalType: 'bytes32[]', type: 'bytes32[]' },
|
|
17448
|
-
{ name: 'merkleRoot', internalType: 'bytes32', type: 'bytes32' },
|
|
16209
|
+
name: 'collectPremintV2',
|
|
16210
|
+
outputs: [
|
|
16211
|
+
{
|
|
16212
|
+
name: 'result',
|
|
16213
|
+
internalType: 'struct PremintResult',
|
|
16214
|
+
type: 'tuple',
|
|
16215
|
+
components: [
|
|
16216
|
+
{ name: 'contractAddress', internalType: 'address', type: 'address' },
|
|
16217
|
+
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
16218
|
+
{ name: 'createdNewContract', internalType: 'bool', type: 'bool' },
|
|
16219
|
+
],
|
|
16220
|
+
},
|
|
17449
16221
|
],
|
|
17450
|
-
|
|
17451
|
-
},
|
|
17452
|
-
{ type: 'error', inputs: [], name: 'InvalidMintSchedule' },
|
|
17453
|
-
{ type: 'error', inputs: [], name: 'InvalidOwnerForAssociatedZoraSparks' },
|
|
17454
|
-
{ type: 'error', inputs: [], name: 'InvalidPremintVersion' },
|
|
17455
|
-
{ type: 'error', inputs: [], name: 'InvalidRecipient' },
|
|
17456
|
-
{ type: 'error', inputs: [], name: 'InvalidSignature' },
|
|
17457
|
-
{ type: 'error', inputs: [], name: 'InvalidSignatureVersion' },
|
|
17458
|
-
{
|
|
17459
|
-
type: 'error',
|
|
17460
|
-
inputs: [{ name: 'magicValue', internalType: 'bytes4', type: 'bytes4' }],
|
|
17461
|
-
name: 'InvalidSigner',
|
|
16222
|
+
stateMutability: 'payable',
|
|
17462
16223
|
},
|
|
17463
|
-
{ type: 'error', inputs: [], name: 'InvalidTokenPrice' },
|
|
17464
|
-
{ type: 'error', inputs: [], name: 'MintNotYetStarted' },
|
|
17465
|
-
{ type: 'error', inputs: [], name: 'MintWithSparksNotSupportedOnContract' },
|
|
17466
|
-
{ type: 'error', inputs: [], name: 'Mint_InsolventSaleTransfer' },
|
|
17467
|
-
{ type: 'error', inputs: [], name: 'Mint_InvalidMintArrayLength' },
|
|
17468
|
-
{ type: 'error', inputs: [], name: 'Mint_TokenIDMintNotAllowed' },
|
|
17469
|
-
{ type: 'error', inputs: [], name: 'Mint_UnknownCommand' },
|
|
17470
|
-
{ type: 'error', inputs: [], name: 'Mint_ValueTransferFail' },
|
|
17471
|
-
{ type: 'error', inputs: [], name: 'MinterContractAlreadyExists' },
|
|
17472
|
-
{ type: 'error', inputs: [], name: 'MinterContractDoesNotExist' },
|
|
17473
|
-
{ type: 'error', inputs: [], name: 'NewOwnerNeedsToBeAdmin' },
|
|
17474
|
-
{ type: 'error', inputs: [], name: 'NoTokensTransferred' },
|
|
17475
|
-
{ type: 'error', inputs: [], name: 'NoUriForNonexistentToken' },
|
|
17476
|
-
{ type: 'error', inputs: [], name: 'NonEthRedemption' },
|
|
17477
16224
|
{
|
|
17478
|
-
type: '
|
|
17479
|
-
inputs: [
|
|
17480
|
-
name: '
|
|
16225
|
+
type: 'function',
|
|
16226
|
+
inputs: [],
|
|
16227
|
+
name: 'contractName',
|
|
16228
|
+
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
16229
|
+
stateMutability: 'pure',
|
|
17481
16230
|
},
|
|
17482
|
-
{ type: 'error', inputs: [], name: 'NotInitializing' },
|
|
17483
|
-
{ type: 'error', inputs: [], name: 'NotSelfCall' },
|
|
17484
|
-
{ type: 'error', inputs: [], name: 'NotZoraSparks1155' },
|
|
17485
|
-
{ type: 'error', inputs: [], name: 'OnlyTransfersFromZoraSparks' },
|
|
17486
16231
|
{
|
|
17487
|
-
type: '
|
|
17488
|
-
inputs: [
|
|
17489
|
-
name: '
|
|
16232
|
+
type: 'function',
|
|
16233
|
+
inputs: [],
|
|
16234
|
+
name: 'contractURI',
|
|
16235
|
+
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
16236
|
+
stateMutability: 'view',
|
|
17490
16237
|
},
|
|
17491
16238
|
{
|
|
17492
|
-
type: '
|
|
17493
|
-
inputs: [
|
|
17494
|
-
name: '
|
|
16239
|
+
type: 'function',
|
|
16240
|
+
inputs: [],
|
|
16241
|
+
name: 'contractVersion',
|
|
16242
|
+
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
16243
|
+
stateMutability: 'pure',
|
|
17495
16244
|
},
|
|
17496
|
-
{ type: 'error', inputs: [], name: 'PremintDeleted' },
|
|
17497
|
-
{ type: 'error', inputs: [], name: 'PremintExecutorCannotBeZero' },
|
|
17498
16245
|
{
|
|
17499
|
-
type: '
|
|
16246
|
+
type: 'function',
|
|
17500
16247
|
inputs: [
|
|
17501
|
-
{ name: '
|
|
17502
|
-
{
|
|
17503
|
-
|
|
16248
|
+
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
16249
|
+
{
|
|
16250
|
+
name: 'tokenConfig',
|
|
16251
|
+
internalType: 'struct TokenConfig',
|
|
16252
|
+
type: 'tuple',
|
|
16253
|
+
components: [
|
|
16254
|
+
{ name: 'price', internalType: 'uint256', type: 'uint256' },
|
|
16255
|
+
{ name: 'tokenAddress', internalType: 'address', type: 'address' },
|
|
16256
|
+
{ name: 'redeemHandler', internalType: 'address', type: 'address' },
|
|
16257
|
+
],
|
|
16258
|
+
},
|
|
16259
|
+
{ name: 'defaultMintable', internalType: 'bool', type: 'bool' },
|
|
17504
16260
|
],
|
|
17505
|
-
name: '
|
|
16261
|
+
name: 'createToken',
|
|
16262
|
+
outputs: [],
|
|
16263
|
+
stateMutability: 'nonpayable',
|
|
17506
16264
|
},
|
|
17507
|
-
{ type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
|
|
17508
|
-
{ type: 'error', inputs: [], name: 'Renderer_NotValidRendererContract' },
|
|
17509
16265
|
{
|
|
17510
|
-
type: '
|
|
17511
|
-
inputs: [{ name: '
|
|
17512
|
-
name: '
|
|
16266
|
+
type: 'function',
|
|
16267
|
+
inputs: [{ name: 'minterArguments', internalType: 'bytes', type: 'bytes' }],
|
|
16268
|
+
name: 'decodeMintRecipientAndComment',
|
|
16269
|
+
outputs: [
|
|
16270
|
+
{ name: 'mintTo', internalType: 'address', type: 'address' },
|
|
16271
|
+
{ name: 'mintComment', internalType: 'string', type: 'string' },
|
|
16272
|
+
],
|
|
16273
|
+
stateMutability: 'pure',
|
|
17513
16274
|
},
|
|
17514
|
-
{ type: 'error', inputs: [], name: 'SaleEnded' },
|
|
17515
|
-
{ type: 'error', inputs: [], name: 'SaleHasNotStarted' },
|
|
17516
16275
|
{
|
|
17517
|
-
type: '
|
|
17518
|
-
inputs: [
|
|
17519
|
-
|
|
17520
|
-
],
|
|
17521
|
-
|
|
16276
|
+
type: 'function',
|
|
16277
|
+
inputs: [],
|
|
16278
|
+
name: 'getEthPrice',
|
|
16279
|
+
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
16280
|
+
stateMutability: 'view',
|
|
17522
16281
|
},
|
|
17523
|
-
{ type: 'error', inputs: [], name: 'TokenAlreadyCreated' },
|
|
17524
|
-
{ type: 'error', inputs: [], name: 'TokenDoesNotExist' },
|
|
17525
16282
|
{
|
|
17526
|
-
type: '
|
|
17527
|
-
inputs: [
|
|
17528
|
-
|
|
17529
|
-
|
|
17530
|
-
|
|
17531
|
-
name: 'TokenIdMismatch',
|
|
16283
|
+
type: 'function',
|
|
16284
|
+
inputs: [],
|
|
16285
|
+
name: 'implementation',
|
|
16286
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
16287
|
+
stateMutability: 'view',
|
|
17532
16288
|
},
|
|
17533
16289
|
{
|
|
17534
|
-
type: '
|
|
16290
|
+
type: 'function',
|
|
17535
16291
|
inputs: [
|
|
17536
|
-
{ name: '
|
|
16292
|
+
{ name: 'defaultOwner', internalType: 'address', type: 'address' },
|
|
16293
|
+
{ name: 'zoraSparksSalt', internalType: 'bytes32', type: 'bytes32' },
|
|
16294
|
+
{ name: 'zoraSparksCreationCode', internalType: 'bytes', type: 'bytes' },
|
|
16295
|
+
{ name: 'initialEthTokenId', internalType: 'uint256', type: 'uint256' },
|
|
17537
16296
|
{
|
|
17538
|
-
name: '
|
|
17539
|
-
internalType: '
|
|
16297
|
+
name: 'initialEthTokenPrice',
|
|
16298
|
+
internalType: 'uint256',
|
|
16299
|
+
type: 'uint256',
|
|
16300
|
+
},
|
|
16301
|
+
{ name: 'newBaseURI', internalType: 'string', type: 'string' },
|
|
16302
|
+
{ name: 'newContractURI', internalType: 'string', type: 'string' },
|
|
16303
|
+
],
|
|
16304
|
+
name: 'initialize',
|
|
16305
|
+
outputs: [
|
|
16306
|
+
{
|
|
16307
|
+
name: 'mints',
|
|
16308
|
+
internalType: 'contract IZoraSparks1155',
|
|
17540
16309
|
type: 'address',
|
|
17541
16310
|
},
|
|
17542
16311
|
],
|
|
17543
|
-
|
|
17544
|
-
},
|
|
17545
|
-
{ type: 'error', inputs: [], name: 'TokenNotMintable' },
|
|
17546
|
-
{ type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
|
|
17547
|
-
{
|
|
17548
|
-
type: 'error',
|
|
17549
|
-
inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
|
|
17550
|
-
name: 'UUPSUnsupportedProxiableUUID',
|
|
17551
|
-
},
|
|
17552
|
-
{
|
|
17553
|
-
type: 'error',
|
|
17554
|
-
inputs: [{ name: 'selector', internalType: 'bytes4', type: 'bytes4' }],
|
|
17555
|
-
name: 'UnknownUserAction',
|
|
16312
|
+
stateMutability: 'nonpayable',
|
|
17556
16313
|
},
|
|
17557
16314
|
{
|
|
17558
|
-
type: '
|
|
16315
|
+
type: 'function',
|
|
17559
16316
|
inputs: [
|
|
17560
|
-
{ name: '
|
|
17561
|
-
{ name: '
|
|
16317
|
+
{ name: 'tokenAddress', internalType: 'address', type: 'address' },
|
|
16318
|
+
{ name: 'quantity', internalType: 'uint256', type: 'uint256' },
|
|
16319
|
+
{ name: 'recipient', internalType: 'address', type: 'address' },
|
|
17562
16320
|
],
|
|
17563
|
-
name: '
|
|
17564
|
-
|
|
17565
|
-
|
|
17566
|
-
type: 'error',
|
|
17567
|
-
inputs: [
|
|
17568
|
-
{ name: 'user', internalType: 'address', type: 'address' },
|
|
17569
|
-
{ name: 'limit', internalType: 'uint256', type: 'uint256' },
|
|
17570
|
-
{ name: 'requestedAmount', internalType: 'uint256', type: 'uint256' },
|
|
16321
|
+
name: 'mintWithERC20',
|
|
16322
|
+
outputs: [
|
|
16323
|
+
{ name: 'mintableTokenId', internalType: 'uint256', type: 'uint256' },
|
|
17571
16324
|
],
|
|
17572
|
-
|
|
16325
|
+
stateMutability: 'nonpayable',
|
|
17573
16326
|
},
|
|
17574
16327
|
{
|
|
17575
|
-
type: '
|
|
16328
|
+
type: 'function',
|
|
17576
16329
|
inputs: [
|
|
17577
|
-
{ name: '
|
|
17578
|
-
{ name: '
|
|
17579
|
-
{ name: 'role', internalType: 'uint256', type: 'uint256' },
|
|
16330
|
+
{ name: 'quantity', internalType: 'uint256', type: 'uint256' },
|
|
16331
|
+
{ name: 'recipient', internalType: 'address', type: 'address' },
|
|
17580
16332
|
],
|
|
17581
|
-
name: '
|
|
16333
|
+
name: 'mintWithEth',
|
|
16334
|
+
outputs: [
|
|
16335
|
+
{ name: 'mintableTokenId', internalType: 'uint256', type: 'uint256' },
|
|
16336
|
+
],
|
|
16337
|
+
stateMutability: 'payable',
|
|
17582
16338
|
},
|
|
17583
|
-
{ type: 'error', inputs: [], name: 'WrongValueSent' },
|
|
17584
16339
|
{
|
|
17585
|
-
type: '
|
|
16340
|
+
type: 'function',
|
|
17586
16341
|
inputs: [],
|
|
17587
|
-
name: '
|
|
16342
|
+
name: 'mintableEthToken',
|
|
16343
|
+
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
16344
|
+
stateMutability: 'view',
|
|
17588
16345
|
},
|
|
17589
|
-
{ type: 'error', inputs: [], name: 'premintSignerContractNotAContract' },
|
|
17590
|
-
] as const
|
|
17591
|
-
|
|
17592
|
-
/**
|
|
17593
|
-
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
17594
|
-
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
17595
|
-
*/
|
|
17596
|
-
export const zoraMintsManagerImplAddress = {
|
|
17597
|
-
7777777: '0x77777770cA269366c7208aFcF36FE2C6F7f7608B',
|
|
17598
|
-
999999999: '0x77777770cA269366c7208aFcF36FE2C6F7f7608B',
|
|
17599
|
-
} as const
|
|
17600
|
-
|
|
17601
|
-
/**
|
|
17602
|
-
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
17603
|
-
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
17604
|
-
*/
|
|
17605
|
-
export const zoraMintsManagerImplConfig = {
|
|
17606
|
-
address: zoraMintsManagerImplAddress,
|
|
17607
|
-
abi: zoraMintsManagerImplABI,
|
|
17608
|
-
} as const
|
|
17609
|
-
|
|
17610
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
17611
|
-
// ZoraRouter
|
|
17612
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
17613
|
-
|
|
17614
|
-
/**
|
|
17615
|
-
* [__View Contract on Base Basescan__](https://basescan.org/address/0x73d53C97e82593321eBf20efBE0EE40b5f9727A2)
|
|
17616
|
-
*/
|
|
17617
|
-
export const zoraRouterABI = [
|
|
17618
16346
|
{
|
|
17619
|
-
type: '
|
|
16347
|
+
type: 'function',
|
|
17620
16348
|
inputs: [
|
|
17621
|
-
{
|
|
17622
|
-
|
|
17623
|
-
|
|
17624
|
-
|
|
17625
|
-
},
|
|
17626
|
-
|
|
17627
|
-
|
|
17628
|
-
|
|
17629
|
-
|
|
17630
|
-
|
|
17631
|
-
|
|
17632
|
-
|
|
17633
|
-
|
|
17634
|
-
|
|
17635
|
-
},
|
|
17636
|
-
{ name: '
|
|
16349
|
+
{ name: '', internalType: 'address', type: 'address' },
|
|
16350
|
+
{ name: 'from', internalType: 'address', type: 'address' },
|
|
16351
|
+
{ name: 'ids', internalType: 'uint256[]', type: 'uint256[]' },
|
|
16352
|
+
{ name: 'values', internalType: 'uint256[]', type: 'uint256[]' },
|
|
16353
|
+
{ name: 'data', internalType: 'bytes', type: 'bytes' },
|
|
16354
|
+
],
|
|
16355
|
+
name: 'onERC1155BatchReceived',
|
|
16356
|
+
outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
|
|
16357
|
+
stateMutability: 'nonpayable',
|
|
16358
|
+
},
|
|
16359
|
+
{
|
|
16360
|
+
type: 'function',
|
|
16361
|
+
inputs: [
|
|
16362
|
+
{ name: '', internalType: 'address', type: 'address' },
|
|
16363
|
+
{ name: 'from', internalType: 'address', type: 'address' },
|
|
16364
|
+
{ name: 'id', internalType: 'uint256', type: 'uint256' },
|
|
16365
|
+
{ name: 'value', internalType: 'uint256', type: 'uint256' },
|
|
16366
|
+
{ name: 'data', internalType: 'bytes', type: 'bytes' },
|
|
17637
16367
|
],
|
|
16368
|
+
name: 'onERC1155Received',
|
|
16369
|
+
outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
|
|
17638
16370
|
stateMutability: 'nonpayable',
|
|
17639
16371
|
},
|
|
17640
|
-
{ type: 'receive', stateMutability: 'payable' },
|
|
17641
16372
|
{
|
|
17642
16373
|
type: 'function',
|
|
17643
16374
|
inputs: [],
|
|
17644
|
-
name: '
|
|
17645
|
-
outputs: [
|
|
17646
|
-
{
|
|
17647
|
-
name: '',
|
|
17648
|
-
internalType: 'struct LimitOrderConfig',
|
|
17649
|
-
type: 'tuple',
|
|
17650
|
-
components: [
|
|
17651
|
-
{ name: 'multiples', internalType: 'uint256[]', type: 'uint256[]' },
|
|
17652
|
-
{ name: 'percentages', internalType: 'uint256[]', type: 'uint256[]' },
|
|
17653
|
-
],
|
|
17654
|
-
},
|
|
17655
|
-
],
|
|
16375
|
+
name: 'owner',
|
|
16376
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
17656
16377
|
stateMutability: 'view',
|
|
17657
16378
|
},
|
|
17658
16379
|
{
|
|
17659
16380
|
type: 'function',
|
|
17660
16381
|
inputs: [],
|
|
17661
|
-
name: '
|
|
16382
|
+
name: 'pendingOwner',
|
|
17662
16383
|
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
17663
16384
|
stateMutability: 'view',
|
|
17664
16385
|
},
|
|
17665
16386
|
{
|
|
17666
16387
|
type: 'function',
|
|
17667
16388
|
inputs: [],
|
|
17668
|
-
name: '
|
|
17669
|
-
outputs: [
|
|
17670
|
-
{ name: '', internalType: 'contract IPoolManager', type: 'address' },
|
|
17671
|
-
],
|
|
16389
|
+
name: 'proxiableUUID',
|
|
16390
|
+
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
|
17672
16391
|
stateMutability: 'view',
|
|
17673
16392
|
},
|
|
16393
|
+
{
|
|
16394
|
+
type: 'function',
|
|
16395
|
+
inputs: [],
|
|
16396
|
+
name: 'renounceOwnership',
|
|
16397
|
+
outputs: [],
|
|
16398
|
+
stateMutability: 'nonpayable',
|
|
16399
|
+
},
|
|
16400
|
+
{
|
|
16401
|
+
type: 'function',
|
|
16402
|
+
inputs: [
|
|
16403
|
+
{ name: 'tokenAddress', internalType: 'address', type: 'address' },
|
|
16404
|
+
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
16405
|
+
],
|
|
16406
|
+
name: 'setDefaultMintable',
|
|
16407
|
+
outputs: [],
|
|
16408
|
+
stateMutability: 'nonpayable',
|
|
16409
|
+
},
|
|
17674
16410
|
{
|
|
17675
16411
|
type: 'function',
|
|
17676
16412
|
inputs: [
|
|
16413
|
+
{ name: 'newContractURI', internalType: 'string', type: 'string' },
|
|
16414
|
+
{ name: 'newBaseURI', internalType: 'string', type: 'string' },
|
|
17677
16415
|
{
|
|
17678
|
-
name: '
|
|
17679
|
-
internalType: '
|
|
17680
|
-
type: '
|
|
17681
|
-
components: [
|
|
17682
|
-
{ name: 'multiples', internalType: 'uint256[]', type: 'uint256[]' },
|
|
17683
|
-
{ name: 'percentages', internalType: 'uint256[]', type: 'uint256[]' },
|
|
17684
|
-
],
|
|
16416
|
+
name: 'tokenIdsToNotifyUpdate',
|
|
16417
|
+
internalType: 'uint256[]',
|
|
16418
|
+
type: 'uint256[]',
|
|
17685
16419
|
},
|
|
17686
16420
|
],
|
|
17687
|
-
name: '
|
|
16421
|
+
name: 'setMetadataURIs',
|
|
17688
16422
|
outputs: [],
|
|
17689
16423
|
stateMutability: 'nonpayable',
|
|
17690
16424
|
},
|
|
17691
16425
|
{
|
|
17692
16426
|
type: 'function',
|
|
17693
|
-
inputs: [],
|
|
17694
|
-
name: '
|
|
17695
|
-
outputs: [
|
|
17696
|
-
|
|
17697
|
-
],
|
|
17698
|
-
stateMutability: 'view',
|
|
16427
|
+
inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }],
|
|
16428
|
+
name: 'transferOwnership',
|
|
16429
|
+
outputs: [],
|
|
16430
|
+
stateMutability: 'nonpayable',
|
|
17699
16431
|
},
|
|
17700
16432
|
{
|
|
17701
16433
|
type: 'function',
|
|
17702
16434
|
inputs: [
|
|
17703
|
-
{
|
|
17704
|
-
|
|
17705
|
-
internalType: 'struct SwapWithLimitOrders.SwapWithLimitOrdersParams',
|
|
17706
|
-
type: 'tuple',
|
|
17707
|
-
components: [
|
|
17708
|
-
{ name: 'recipient', internalType: 'address', type: 'address' },
|
|
17709
|
-
{
|
|
17710
|
-
name: 'limitOrderConfig',
|
|
17711
|
-
internalType: 'struct LimitOrderConfig',
|
|
17712
|
-
type: 'tuple',
|
|
17713
|
-
components: [
|
|
17714
|
-
{
|
|
17715
|
-
name: 'multiples',
|
|
17716
|
-
internalType: 'uint256[]',
|
|
17717
|
-
type: 'uint256[]',
|
|
17718
|
-
},
|
|
17719
|
-
{
|
|
17720
|
-
name: 'percentages',
|
|
17721
|
-
internalType: 'uint256[]',
|
|
17722
|
-
type: 'uint256[]',
|
|
17723
|
-
},
|
|
17724
|
-
],
|
|
17725
|
-
},
|
|
17726
|
-
{ name: 'inputCurrency', internalType: 'address', type: 'address' },
|
|
17727
|
-
{ name: 'inputAmount', internalType: 'uint256', type: 'uint256' },
|
|
17728
|
-
{ name: 'v3Route', internalType: 'bytes', type: 'bytes' },
|
|
17729
|
-
{
|
|
17730
|
-
name: 'v4Route',
|
|
17731
|
-
internalType: 'struct PoolKey[]',
|
|
17732
|
-
type: 'tuple[]',
|
|
17733
|
-
components: [
|
|
17734
|
-
{ name: 'currency0', internalType: 'Currency', type: 'address' },
|
|
17735
|
-
{ name: 'currency1', internalType: 'Currency', type: 'address' },
|
|
17736
|
-
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
17737
|
-
{ name: 'tickSpacing', internalType: 'int24', type: 'int24' },
|
|
17738
|
-
{
|
|
17739
|
-
name: 'hooks',
|
|
17740
|
-
internalType: 'contract IHooks',
|
|
17741
|
-
type: 'address',
|
|
17742
|
-
},
|
|
17743
|
-
],
|
|
17744
|
-
},
|
|
17745
|
-
{ name: 'minAmountOut', internalType: 'uint256', type: 'uint256' },
|
|
17746
|
-
],
|
|
17747
|
-
},
|
|
16435
|
+
{ name: 'newImplementation', internalType: 'address', type: 'address' },
|
|
16436
|
+
{ name: 'data', internalType: 'bytes', type: 'bytes' },
|
|
17748
16437
|
],
|
|
17749
|
-
name: '
|
|
17750
|
-
outputs: [
|
|
16438
|
+
name: 'upgradeToAndCall',
|
|
16439
|
+
outputs: [],
|
|
17751
16440
|
stateMutability: 'payable',
|
|
17752
16441
|
},
|
|
17753
16442
|
{
|
|
17754
16443
|
type: 'function',
|
|
17755
|
-
inputs: [{ name: '
|
|
17756
|
-
name: '
|
|
17757
|
-
outputs: [{ name: '', internalType: '
|
|
17758
|
-
stateMutability: '
|
|
16444
|
+
inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
|
|
16445
|
+
name: 'uri',
|
|
16446
|
+
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
16447
|
+
stateMutability: 'view',
|
|
17759
16448
|
},
|
|
17760
16449
|
{
|
|
17761
16450
|
type: 'function',
|
|
17762
16451
|
inputs: [],
|
|
17763
|
-
name: '
|
|
16452
|
+
name: 'zoraSparks1155',
|
|
17764
16453
|
outputs: [
|
|
17765
|
-
{
|
|
17766
|
-
name: '',
|
|
17767
|
-
internalType: 'contract IZoraLimitOrderBook',
|
|
17768
|
-
type: 'address',
|
|
17769
|
-
},
|
|
16454
|
+
{ name: '', internalType: 'contract IZoraSparks1155', type: 'address' },
|
|
17770
16455
|
],
|
|
17771
16456
|
stateMutability: 'view',
|
|
17772
16457
|
},
|
|
@@ -17775,19 +16460,63 @@ export const zoraRouterABI = [
|
|
|
17775
16460
|
anonymous: false,
|
|
17776
16461
|
inputs: [
|
|
17777
16462
|
{
|
|
17778
|
-
name: '
|
|
16463
|
+
name: 'tokenIds',
|
|
17779
16464
|
internalType: 'uint256[]',
|
|
17780
16465
|
type: 'uint256[]',
|
|
17781
|
-
indexed:
|
|
16466
|
+
indexed: true,
|
|
17782
16467
|
},
|
|
17783
16468
|
{
|
|
17784
|
-
name: '
|
|
16469
|
+
name: 'quantities',
|
|
17785
16470
|
internalType: 'uint256[]',
|
|
17786
16471
|
type: 'uint256[]',
|
|
17787
16472
|
indexed: false,
|
|
17788
16473
|
},
|
|
16474
|
+
{
|
|
16475
|
+
name: 'zoraCreator1155Contract',
|
|
16476
|
+
internalType: 'address',
|
|
16477
|
+
type: 'address',
|
|
16478
|
+
indexed: true,
|
|
16479
|
+
},
|
|
16480
|
+
{
|
|
16481
|
+
name: 'zoraCreator1155TokenId',
|
|
16482
|
+
internalType: 'uint256',
|
|
16483
|
+
type: 'uint256',
|
|
16484
|
+
indexed: true,
|
|
16485
|
+
},
|
|
16486
|
+
],
|
|
16487
|
+
name: 'Collected',
|
|
16488
|
+
},
|
|
16489
|
+
{
|
|
16490
|
+
type: 'event',
|
|
16491
|
+
anonymous: false,
|
|
16492
|
+
inputs: [
|
|
16493
|
+
{
|
|
16494
|
+
name: 'tokenAddress',
|
|
16495
|
+
internalType: 'address',
|
|
16496
|
+
type: 'address',
|
|
16497
|
+
indexed: false,
|
|
16498
|
+
},
|
|
16499
|
+
{
|
|
16500
|
+
name: 'tokenId',
|
|
16501
|
+
internalType: 'uint256',
|
|
16502
|
+
type: 'uint256',
|
|
16503
|
+
indexed: false,
|
|
16504
|
+
},
|
|
16505
|
+
],
|
|
16506
|
+
name: 'DefaultMintableTokenSet',
|
|
16507
|
+
},
|
|
16508
|
+
{
|
|
16509
|
+
type: 'event',
|
|
16510
|
+
anonymous: false,
|
|
16511
|
+
inputs: [
|
|
16512
|
+
{
|
|
16513
|
+
name: 'version',
|
|
16514
|
+
internalType: 'uint64',
|
|
16515
|
+
type: 'uint64',
|
|
16516
|
+
indexed: false,
|
|
16517
|
+
},
|
|
17789
16518
|
],
|
|
17790
|
-
name: '
|
|
16519
|
+
name: 'Initialized',
|
|
17791
16520
|
},
|
|
17792
16521
|
{
|
|
17793
16522
|
type: 'event',
|
|
@@ -17800,354 +16529,361 @@ export const zoraRouterABI = [
|
|
|
17800
16529
|
indexed: true,
|
|
17801
16530
|
},
|
|
17802
16531
|
{
|
|
17803
|
-
name: '
|
|
16532
|
+
name: 'tokenContract',
|
|
17804
16533
|
internalType: 'address',
|
|
17805
16534
|
type: 'address',
|
|
17806
16535
|
indexed: true,
|
|
17807
16536
|
},
|
|
17808
16537
|
{
|
|
17809
|
-
name: '
|
|
17810
|
-
internalType: '
|
|
17811
|
-
type: '
|
|
17812
|
-
|
|
17813
|
-
{ name: 'currency0', internalType: 'Currency', type: 'address' },
|
|
17814
|
-
{ name: 'currency1', internalType: 'Currency', type: 'address' },
|
|
17815
|
-
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
17816
|
-
{ name: 'tickSpacing', internalType: 'int24', type: 'int24' },
|
|
17817
|
-
{ name: 'hooks', internalType: 'contract IHooks', type: 'address' },
|
|
17818
|
-
],
|
|
17819
|
-
indexed: false,
|
|
16538
|
+
name: 'tokenId',
|
|
16539
|
+
internalType: 'uint256',
|
|
16540
|
+
type: 'uint256',
|
|
16541
|
+
indexed: true,
|
|
17820
16542
|
},
|
|
17821
16543
|
{
|
|
17822
|
-
name: '
|
|
17823
|
-
internalType: '
|
|
17824
|
-
type: '
|
|
16544
|
+
name: 'quantity',
|
|
16545
|
+
internalType: 'uint256',
|
|
16546
|
+
type: 'uint256',
|
|
17825
16547
|
indexed: false,
|
|
17826
16548
|
},
|
|
17827
16549
|
{
|
|
17828
|
-
name: '
|
|
17829
|
-
internalType: '
|
|
17830
|
-
type: '
|
|
16550
|
+
name: 'comment',
|
|
16551
|
+
internalType: 'string',
|
|
16552
|
+
type: 'string',
|
|
17831
16553
|
indexed: false,
|
|
17832
16554
|
},
|
|
16555
|
+
],
|
|
16556
|
+
name: 'MintComment',
|
|
16557
|
+
},
|
|
16558
|
+
{
|
|
16559
|
+
type: 'event',
|
|
16560
|
+
anonymous: false,
|
|
16561
|
+
inputs: [
|
|
17833
16562
|
{
|
|
17834
|
-
name: '
|
|
17835
|
-
internalType: '
|
|
17836
|
-
type: '
|
|
17837
|
-
indexed:
|
|
16563
|
+
name: 'previousOwner',
|
|
16564
|
+
internalType: 'address',
|
|
16565
|
+
type: 'address',
|
|
16566
|
+
indexed: true,
|
|
17838
16567
|
},
|
|
17839
16568
|
{
|
|
17840
|
-
name: '
|
|
17841
|
-
internalType: '
|
|
17842
|
-
type: '
|
|
17843
|
-
|
|
17844
|
-
{ name: 'orderId', internalType: 'bytes32', type: 'bytes32' },
|
|
17845
|
-
{ name: 'multiple', internalType: 'uint256', type: 'uint256' },
|
|
17846
|
-
{ name: 'percentage', internalType: 'uint256', type: 'uint256' },
|
|
17847
|
-
],
|
|
17848
|
-
indexed: false,
|
|
16569
|
+
name: 'newOwner',
|
|
16570
|
+
internalType: 'address',
|
|
16571
|
+
type: 'address',
|
|
16572
|
+
indexed: true,
|
|
17849
16573
|
},
|
|
17850
16574
|
],
|
|
17851
|
-
name: '
|
|
16575
|
+
name: 'OwnershipTransferStarted',
|
|
17852
16576
|
},
|
|
17853
|
-
{ type: 'error', inputs: [], name: 'EmptyV4Route' },
|
|
17854
|
-
{ type: 'error', inputs: [], name: 'FromAddressIsNotOwner' },
|
|
17855
16577
|
{
|
|
17856
|
-
type: '
|
|
16578
|
+
type: 'event',
|
|
16579
|
+
anonymous: false,
|
|
17857
16580
|
inputs: [
|
|
17858
|
-
{
|
|
17859
|
-
|
|
16581
|
+
{
|
|
16582
|
+
name: 'previousOwner',
|
|
16583
|
+
internalType: 'address',
|
|
16584
|
+
type: 'address',
|
|
16585
|
+
indexed: true,
|
|
16586
|
+
},
|
|
16587
|
+
{
|
|
16588
|
+
name: 'newOwner',
|
|
16589
|
+
internalType: 'address',
|
|
16590
|
+
type: 'address',
|
|
16591
|
+
indexed: true,
|
|
16592
|
+
},
|
|
17860
16593
|
],
|
|
17861
|
-
name: '
|
|
16594
|
+
name: 'OwnershipTransferred',
|
|
17862
16595
|
},
|
|
17863
|
-
{ type: 'error', inputs: [], name: 'InsufficientOutputAmount' },
|
|
17864
|
-
{ type: 'error', inputs: [], name: 'InsufficientTransferFunds' },
|
|
17865
|
-
{ type: 'error', inputs: [], name: 'InvalidLimitOrderConfig' },
|
|
17866
|
-
{ type: 'error', inputs: [], name: 'InvalidMultiple' },
|
|
17867
|
-
{ type: 'error', inputs: [], name: 'InvalidPercent' },
|
|
17868
|
-
{ type: 'error', inputs: [], name: 'LengthMismatch' },
|
|
17869
|
-
{ type: 'error', inputs: [], name: 'OnlyAuthority' },
|
|
17870
|
-
{ type: 'error', inputs: [], name: 'OnlyPoolManager' },
|
|
17871
|
-
{ type: 'error', inputs: [], name: 'PercentOverflow' },
|
|
17872
16596
|
{
|
|
17873
|
-
type: '
|
|
17874
|
-
|
|
17875
|
-
|
|
16597
|
+
type: 'event',
|
|
16598
|
+
anonymous: false,
|
|
16599
|
+
inputs: [
|
|
16600
|
+
{
|
|
16601
|
+
name: 'contractURI',
|
|
16602
|
+
internalType: 'string',
|
|
16603
|
+
type: 'string',
|
|
16604
|
+
indexed: false,
|
|
16605
|
+
},
|
|
16606
|
+
{
|
|
16607
|
+
name: 'baseURI',
|
|
16608
|
+
internalType: 'string',
|
|
16609
|
+
type: 'string',
|
|
16610
|
+
indexed: false,
|
|
16611
|
+
},
|
|
16612
|
+
],
|
|
16613
|
+
name: 'URIsUpdated',
|
|
17876
16614
|
},
|
|
17877
|
-
{ type: 'error', inputs: [], name: 'UnsafeCast' },
|
|
17878
|
-
{ type: 'error', inputs: [], name: 'V3RouteDoesNotConnectToV4RouteStart' },
|
|
17879
|
-
{ type: 'error', inputs: [], name: 'ZeroSwapDelta' },
|
|
17880
|
-
{ type: 'error', inputs: [], name: 'AddressZero' },
|
|
17881
|
-
{ type: 'error', inputs: [], name: 'AlreadyOwner' },
|
|
17882
|
-
{ type: 'error', inputs: [], name: 'CannotMintZeroLiquidity' },
|
|
17883
16615
|
{
|
|
17884
|
-
type: '
|
|
17885
|
-
|
|
17886
|
-
|
|
16616
|
+
type: 'event',
|
|
16617
|
+
anonymous: false,
|
|
16618
|
+
inputs: [
|
|
16619
|
+
{
|
|
16620
|
+
name: 'implementation',
|
|
16621
|
+
internalType: 'address',
|
|
16622
|
+
type: 'address',
|
|
16623
|
+
indexed: true,
|
|
16624
|
+
},
|
|
16625
|
+
],
|
|
16626
|
+
name: 'Upgraded',
|
|
17887
16627
|
},
|
|
17888
|
-
{ type: 'error', inputs: [], name: 'ECDSAInvalidSignature' },
|
|
17889
16628
|
{
|
|
17890
16629
|
type: 'error',
|
|
17891
|
-
inputs: [{ name: '
|
|
17892
|
-
name: '
|
|
16630
|
+
inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
|
|
16631
|
+
name: 'AddressEmptyCode',
|
|
17893
16632
|
},
|
|
17894
16633
|
{
|
|
17895
16634
|
type: 'error',
|
|
17896
|
-
inputs: [{ name: '
|
|
17897
|
-
name: '
|
|
16635
|
+
inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
|
|
16636
|
+
name: 'AddressInsufficientBalance',
|
|
17898
16637
|
},
|
|
17899
16638
|
{
|
|
17900
16639
|
type: 'error',
|
|
17901
16640
|
inputs: [
|
|
17902
|
-
{ name: '
|
|
17903
|
-
{ name: '
|
|
17904
|
-
{ name: 'needed', internalType: 'uint256', type: 'uint256' },
|
|
16641
|
+
{ name: 'lengthA', internalType: 'uint256', type: 'uint256' },
|
|
16642
|
+
{ name: 'lengthB', internalType: 'uint256', type: 'uint256' },
|
|
17905
16643
|
],
|
|
17906
|
-
name: '
|
|
16644
|
+
name: 'ArrayLengthMismatch',
|
|
17907
16645
|
},
|
|
17908
16646
|
{
|
|
17909
16647
|
type: 'error',
|
|
17910
16648
|
inputs: [
|
|
17911
|
-
{ name: '
|
|
17912
|
-
{ name: '
|
|
17913
|
-
{ name: 'needed', internalType: 'uint256', type: 'uint256' },
|
|
16649
|
+
{ name: 'operator', internalType: 'address', type: 'address' },
|
|
16650
|
+
{ name: 'user', internalType: 'address', type: 'address' },
|
|
17914
16651
|
],
|
|
17915
|
-
name: '
|
|
16652
|
+
name: 'Burn_NotOwnerOrApproved',
|
|
17916
16653
|
},
|
|
17917
16654
|
{
|
|
17918
16655
|
type: 'error',
|
|
17919
|
-
inputs: [{ name: '
|
|
17920
|
-
name: '
|
|
16656
|
+
inputs: [{ name: 'reason', internalType: 'bytes', type: 'bytes' }],
|
|
16657
|
+
name: 'CallFailed',
|
|
17921
16658
|
},
|
|
16659
|
+
{ type: 'error', inputs: [], name: 'Call_TokenIdMismatch' },
|
|
16660
|
+
{ type: 'error', inputs: [], name: 'CallerNotZoraCreator1155' },
|
|
17922
16661
|
{
|
|
17923
16662
|
type: 'error',
|
|
17924
|
-
inputs: [
|
|
17925
|
-
|
|
16663
|
+
inputs: [
|
|
16664
|
+
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
16665
|
+
{ name: 'quantity', internalType: 'uint256', type: 'uint256' },
|
|
16666
|
+
{ name: 'totalMinted', internalType: 'uint256', type: 'uint256' },
|
|
16667
|
+
{ name: 'maxSupply', internalType: 'uint256', type: 'uint256' },
|
|
16668
|
+
],
|
|
16669
|
+
name: 'CannotMintMoreTokens',
|
|
17926
16670
|
},
|
|
17927
16671
|
{
|
|
17928
16672
|
type: 'error',
|
|
17929
|
-
inputs: [
|
|
17930
|
-
|
|
16673
|
+
inputs: [
|
|
16674
|
+
{ name: 'proposedAddress', internalType: 'address', type: 'address' },
|
|
16675
|
+
],
|
|
16676
|
+
name: 'Config_TransferHookNotSupported',
|
|
17931
16677
|
},
|
|
16678
|
+
{ type: 'error', inputs: [], name: 'Create2EmptyBytecode' },
|
|
16679
|
+
{ type: 'error', inputs: [], name: 'Create2FailedDeployment' },
|
|
17932
16680
|
{
|
|
17933
16681
|
type: 'error',
|
|
17934
|
-
inputs: [
|
|
17935
|
-
|
|
16682
|
+
inputs: [
|
|
16683
|
+
{ name: 'balance', internalType: 'uint256', type: 'uint256' },
|
|
16684
|
+
{ name: 'needed', internalType: 'uint256', type: 'uint256' },
|
|
16685
|
+
],
|
|
16686
|
+
name: 'Create2InsufficientBalance',
|
|
17936
16687
|
},
|
|
17937
|
-
{ type: 'error', inputs: [], name: '
|
|
16688
|
+
{ type: 'error', inputs: [], name: 'DefaultOwnerCannotBeZero' },
|
|
16689
|
+
{ type: 'error', inputs: [], name: 'ERC1155BatchReceivedCallFailed' },
|
|
16690
|
+
{ type: 'error', inputs: [], name: 'ERC1155_MINT_TO_ZERO_ADDRESS' },
|
|
17938
16691
|
{
|
|
17939
16692
|
type: 'error',
|
|
17940
|
-
inputs: [
|
|
17941
|
-
|
|
16693
|
+
inputs: [
|
|
16694
|
+
{ name: 'implementation', internalType: 'address', type: 'address' },
|
|
16695
|
+
],
|
|
16696
|
+
name: 'ERC1967InvalidImplementation',
|
|
17942
16697
|
},
|
|
16698
|
+
{ type: 'error', inputs: [], name: 'ERC1967NonPayable' },
|
|
16699
|
+
{ type: 'error', inputs: [], name: 'ERC20TransferSlippage' },
|
|
16700
|
+
{ type: 'error', inputs: [], name: 'ETHTransferFailed' },
|
|
17943
16701
|
{
|
|
17944
16702
|
type: 'error',
|
|
17945
16703
|
inputs: [
|
|
17946
|
-
{ name: '
|
|
17947
|
-
{ name: '
|
|
16704
|
+
{ name: 'recipient', internalType: 'address', type: 'address' },
|
|
16705
|
+
{ name: 'amount', internalType: 'uint256', type: 'uint256' },
|
|
17948
16706
|
],
|
|
17949
|
-
name: '
|
|
16707
|
+
name: 'ETHWithdrawFailed',
|
|
17950
16708
|
},
|
|
17951
|
-
{ type: 'error', inputs: [], name: '
|
|
17952
|
-
{ type: 'error', inputs: [], name: '
|
|
17953
|
-
{ type: 'error', inputs: [], name: 'EthTransferFailed' },
|
|
17954
|
-
{ type: 'error', inputs: [], name: 'EthTransferInvalid' },
|
|
17955
|
-
{ type: 'error', inputs: [], name: 'InitialOrderSizeTooLarge' },
|
|
17956
|
-
{ type: 'error', inputs: [], name: 'InsufficientFunds' },
|
|
17957
|
-
{ type: 'error', inputs: [], name: 'InsufficientLiquidity' },
|
|
16709
|
+
{ type: 'error', inputs: [], name: 'FailedInnerCall' },
|
|
16710
|
+
{ type: 'error', inputs: [], name: 'FirstMinterAddressZero' },
|
|
17958
16711
|
{
|
|
17959
16712
|
type: 'error',
|
|
17960
16713
|
inputs: [
|
|
17961
|
-
{ name: '
|
|
17962
|
-
{ name: '
|
|
16714
|
+
{ name: 'amount', internalType: 'uint256', type: 'uint256' },
|
|
16715
|
+
{ name: 'contractValue', internalType: 'uint256', type: 'uint256' },
|
|
17963
16716
|
],
|
|
17964
|
-
name: '
|
|
16717
|
+
name: 'FundsWithdrawInsolvent',
|
|
17965
16718
|
},
|
|
17966
|
-
{ type: 'error', inputs: [], name: '
|
|
16719
|
+
{ type: 'error', inputs: [], name: 'IncorrectAmountSent' },
|
|
16720
|
+
{ type: 'error', inputs: [], name: 'InvalidAdminAction' },
|
|
17967
16721
|
{ type: 'error', inputs: [], name: 'InvalidInitialization' },
|
|
17968
|
-
{ type: 'error', inputs: [], name: 'InvalidMarketType' },
|
|
17969
|
-
{ type: 'error', inputs: [], name: 'InvalidPoolVersion' },
|
|
17970
16722
|
{
|
|
17971
16723
|
type: 'error',
|
|
17972
16724
|
inputs: [
|
|
17973
|
-
{ name: '
|
|
17974
|
-
{ name: '
|
|
16725
|
+
{ name: 'mintTo', internalType: 'address', type: 'address' },
|
|
16726
|
+
{ name: 'merkleProof', internalType: 'bytes32[]', type: 'bytes32[]' },
|
|
16727
|
+
{ name: 'merkleRoot', internalType: 'bytes32', type: 'bytes32' },
|
|
17975
16728
|
],
|
|
17976
|
-
name: '
|
|
16729
|
+
name: 'InvalidMerkleProof',
|
|
17977
16730
|
},
|
|
17978
|
-
{ type: 'error', inputs: [], name: '
|
|
17979
|
-
{ type: 'error', inputs: [], name: '
|
|
17980
|
-
{ type: 'error', inputs: [], name: '
|
|
17981
|
-
{ type: 'error', inputs: [], name: '
|
|
16731
|
+
{ type: 'error', inputs: [], name: 'InvalidMintSchedule' },
|
|
16732
|
+
{ type: 'error', inputs: [], name: 'InvalidOwnerForAssociatedZoraSparks' },
|
|
16733
|
+
{ type: 'error', inputs: [], name: 'InvalidPremintVersion' },
|
|
16734
|
+
{ type: 'error', inputs: [], name: 'InvalidRecipient' },
|
|
16735
|
+
{ type: 'error', inputs: [], name: 'InvalidSignature' },
|
|
16736
|
+
{ type: 'error', inputs: [], name: 'InvalidSignatureVersion' },
|
|
17982
16737
|
{
|
|
17983
16738
|
type: 'error',
|
|
17984
|
-
inputs: [
|
|
17985
|
-
|
|
17986
|
-
{ name: 'limit', internalType: 'uint256', type: 'uint256' },
|
|
17987
|
-
],
|
|
17988
|
-
name: 'MaxShareToBeSoldExceeded',
|
|
16739
|
+
inputs: [{ name: 'magicValue', internalType: 'bytes4', type: 'bytes4' }],
|
|
16740
|
+
name: 'InvalidSigner',
|
|
17989
16741
|
},
|
|
17990
|
-
{ type: 'error', inputs: [], name: '
|
|
17991
|
-
{ type: 'error', inputs: [], name: '
|
|
17992
|
-
{ type: 'error', inputs: [], name: '
|
|
17993
|
-
{ type: 'error', inputs: [], name: '
|
|
17994
|
-
{ type: 'error', inputs: [], name: '
|
|
17995
|
-
{ type: 'error', inputs: [], name: '
|
|
16742
|
+
{ type: 'error', inputs: [], name: 'InvalidTokenPrice' },
|
|
16743
|
+
{ type: 'error', inputs: [], name: 'MintNotYetStarted' },
|
|
16744
|
+
{ type: 'error', inputs: [], name: 'MintWithSparksNotSupportedOnContract' },
|
|
16745
|
+
{ type: 'error', inputs: [], name: 'Mint_InsolventSaleTransfer' },
|
|
16746
|
+
{ type: 'error', inputs: [], name: 'Mint_InvalidMintArrayLength' },
|
|
16747
|
+
{ type: 'error', inputs: [], name: 'Mint_TokenIDMintNotAllowed' },
|
|
16748
|
+
{ type: 'error', inputs: [], name: 'Mint_UnknownCommand' },
|
|
16749
|
+
{ type: 'error', inputs: [], name: 'Mint_ValueTransferFail' },
|
|
16750
|
+
{ type: 'error', inputs: [], name: 'MinterContractAlreadyExists' },
|
|
16751
|
+
{ type: 'error', inputs: [], name: 'MinterContractDoesNotExist' },
|
|
16752
|
+
{ type: 'error', inputs: [], name: 'NewOwnerNeedsToBeAdmin' },
|
|
16753
|
+
{ type: 'error', inputs: [], name: 'NoTokensTransferred' },
|
|
16754
|
+
{ type: 'error', inputs: [], name: 'NoUriForNonexistentToken' },
|
|
16755
|
+
{ type: 'error', inputs: [], name: 'NonEthRedemption' },
|
|
17996
16756
|
{
|
|
17997
16757
|
type: 'error',
|
|
17998
|
-
inputs: [
|
|
17999
|
-
|
|
18000
|
-
{ name: 'pool', internalType: 'address', type: 'address' },
|
|
18001
|
-
],
|
|
18002
|
-
name: 'OnlyPool',
|
|
16758
|
+
inputs: [{ name: 'handler', internalType: 'address', type: 'address' }],
|
|
16759
|
+
name: 'NotARedeemHandler',
|
|
18003
16760
|
},
|
|
18004
|
-
{ type: 'error', inputs: [], name: '
|
|
18005
|
-
{ type: 'error', inputs: [], name: '
|
|
18006
|
-
{ type: 'error', inputs: [], name: '
|
|
18007
|
-
{ type: 'error', inputs: [], name: '
|
|
18008
|
-
{ type: 'error', inputs: [], name: 'CannotMintZeroLiquidity' },
|
|
18009
|
-
{ type: 'error', inputs: [], name: 'CoinVersionLookupCannotBeZeroAddress' },
|
|
18010
|
-
{ type: 'error', inputs: [], name: 'EthTransferFailed' },
|
|
18011
|
-
{ type: 'error', inputs: [], name: 'HookNotImplemented' },
|
|
16761
|
+
{ type: 'error', inputs: [], name: 'NotInitializing' },
|
|
16762
|
+
{ type: 'error', inputs: [], name: 'NotSelfCall' },
|
|
16763
|
+
{ type: 'error', inputs: [], name: 'NotZoraSparks1155' },
|
|
16764
|
+
{ type: 'error', inputs: [], name: 'OnlyTransfersFromZoraSparks' },
|
|
18012
16765
|
{
|
|
18013
16766
|
type: 'error',
|
|
18014
|
-
inputs: [{ name: '
|
|
18015
|
-
name: '
|
|
16767
|
+
inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
|
|
16768
|
+
name: 'OwnableInvalidOwner',
|
|
18016
16769
|
},
|
|
18017
16770
|
{
|
|
18018
16771
|
type: 'error',
|
|
18019
|
-
inputs: [{ name: '
|
|
18020
|
-
name: '
|
|
16772
|
+
inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
|
|
16773
|
+
name: 'OwnableUnauthorizedAccount',
|
|
18021
16774
|
},
|
|
16775
|
+
{ type: 'error', inputs: [], name: 'PremintDeleted' },
|
|
16776
|
+
{ type: 'error', inputs: [], name: 'PremintExecutorCannotBeZero' },
|
|
18022
16777
|
{
|
|
18023
16778
|
type: 'error',
|
|
18024
16779
|
inputs: [
|
|
18025
|
-
{ name: '
|
|
18026
|
-
{ name: '
|
|
16780
|
+
{ name: 'caller', internalType: 'address', type: 'address' },
|
|
16781
|
+
{ name: 'recipient', internalType: 'address', type: 'address' },
|
|
16782
|
+
{ name: 'amount', internalType: 'uint256', type: 'uint256' },
|
|
18027
16783
|
],
|
|
18028
|
-
name: '
|
|
16784
|
+
name: 'ProtocolRewardsWithdrawFailed',
|
|
16785
|
+
},
|
|
16786
|
+
{ type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
|
|
16787
|
+
{ type: 'error', inputs: [], name: 'Renderer_NotValidRendererContract' },
|
|
16788
|
+
{
|
|
16789
|
+
type: 'error',
|
|
16790
|
+
inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
|
|
16791
|
+
name: 'SafeERC20FailedOperation',
|
|
18029
16792
|
},
|
|
16793
|
+
{ type: 'error', inputs: [], name: 'SaleEnded' },
|
|
16794
|
+
{ type: 'error', inputs: [], name: 'SaleHasNotStarted' },
|
|
18030
16795
|
{
|
|
18031
16796
|
type: 'error',
|
|
18032
16797
|
inputs: [
|
|
18033
|
-
{
|
|
18034
|
-
name: 'key',
|
|
18035
|
-
internalType: 'struct PoolKey',
|
|
18036
|
-
type: 'tuple',
|
|
18037
|
-
components: [
|
|
18038
|
-
{ name: 'currency0', internalType: 'Currency', type: 'address' },
|
|
18039
|
-
{ name: 'currency1', internalType: 'Currency', type: 'address' },
|
|
18040
|
-
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
18041
|
-
{ name: 'tickSpacing', internalType: 'int24', type: 'int24' },
|
|
18042
|
-
{ name: 'hooks', internalType: 'contract IHooks', type: 'address' },
|
|
18043
|
-
],
|
|
18044
|
-
},
|
|
16798
|
+
{ name: 'targetContract', internalType: 'address', type: 'address' },
|
|
18045
16799
|
],
|
|
18046
|
-
name: '
|
|
16800
|
+
name: 'Sale_CannotCallNonSalesContract',
|
|
18047
16801
|
},
|
|
16802
|
+
{ type: 'error', inputs: [], name: 'TokenAlreadyCreated' },
|
|
16803
|
+
{ type: 'error', inputs: [], name: 'TokenDoesNotExist' },
|
|
18048
16804
|
{
|
|
18049
16805
|
type: 'error',
|
|
18050
|
-
inputs: [
|
|
18051
|
-
|
|
16806
|
+
inputs: [
|
|
16807
|
+
{ name: 'expected', internalType: 'uint256', type: 'uint256' },
|
|
16808
|
+
{ name: 'actual', internalType: 'uint256', type: 'uint256' },
|
|
16809
|
+
],
|
|
16810
|
+
name: 'TokenIdMismatch',
|
|
18052
16811
|
},
|
|
18053
|
-
{ type: 'error', inputs: [], name: 'NotPoolManager' },
|
|
18054
16812
|
{
|
|
18055
16813
|
type: 'error',
|
|
18056
16814
|
inputs: [
|
|
18057
|
-
{ name: '
|
|
18058
|
-
{
|
|
16815
|
+
{ name: 'storedTokenAddress', internalType: 'address', type: 'address' },
|
|
16816
|
+
{
|
|
16817
|
+
name: 'expectedTokenAddress',
|
|
16818
|
+
internalType: 'address',
|
|
16819
|
+
type: 'address',
|
|
16820
|
+
},
|
|
18059
16821
|
],
|
|
18060
|
-
name: '
|
|
16822
|
+
name: 'TokenMismatch',
|
|
18061
16823
|
},
|
|
18062
|
-
{ type: 'error', inputs: [], name: '
|
|
18063
|
-
{ type: 'error', inputs: [], name: '
|
|
16824
|
+
{ type: 'error', inputs: [], name: 'TokenNotMintable' },
|
|
16825
|
+
{ type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
|
|
18064
16826
|
{
|
|
18065
16827
|
type: 'error',
|
|
18066
|
-
inputs: [{ name: '
|
|
18067
|
-
name: '
|
|
16828
|
+
inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
|
|
16829
|
+
name: 'UUPSUnsupportedProxiableUUID',
|
|
18068
16830
|
},
|
|
18069
16831
|
{
|
|
18070
16832
|
type: 'error',
|
|
18071
|
-
inputs: [],
|
|
18072
|
-
name: '
|
|
16833
|
+
inputs: [{ name: 'selector', internalType: 'bytes4', type: 'bytes4' }],
|
|
16834
|
+
name: 'UnknownUserAction',
|
|
18073
16835
|
},
|
|
18074
|
-
{ type: 'error', inputs: [], name: 'UpgradeGateCannotBeZeroAddress' },
|
|
18075
16836
|
{
|
|
18076
16837
|
type: 'error',
|
|
18077
16838
|
inputs: [
|
|
18078
|
-
{ name: '
|
|
18079
|
-
{ name: '
|
|
16839
|
+
{ name: 'expected', internalType: 'string', type: 'string' },
|
|
16840
|
+
{ name: 'actual', internalType: 'string', type: 'string' },
|
|
18080
16841
|
],
|
|
18081
|
-
name: '
|
|
18082
|
-
},
|
|
18083
|
-
{ type: 'error', inputs: [], name: 'ZoraHookRegistryCannotBeZeroAddress' },
|
|
18084
|
-
{ type: 'error', inputs: [], name: 'ZoraLimitOrderBookCannotBeZeroAddress' },
|
|
18085
|
-
{
|
|
18086
|
-
type: 'error',
|
|
18087
|
-
inputs: [{ name: 'authority', internalType: 'address', type: 'address' }],
|
|
18088
|
-
name: 'AccessManagedInvalidAuthority',
|
|
16842
|
+
name: 'UpgradeToMismatchedContractName',
|
|
18089
16843
|
},
|
|
18090
|
-
{ type: 'error', inputs: [], name: 'AccessManagedUnauthorized' },
|
|
18091
|
-
{ type: 'error', inputs: [], name: 'AddressZero' },
|
|
18092
|
-
{ type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
|
|
18093
16844
|
{
|
|
18094
16845
|
type: 'error',
|
|
18095
16846
|
inputs: [
|
|
18096
|
-
{ name: '
|
|
18097
|
-
{ name: '
|
|
18098
|
-
{ name: '
|
|
16847
|
+
{ name: 'user', internalType: 'address', type: 'address' },
|
|
16848
|
+
{ name: 'limit', internalType: 'uint256', type: 'uint256' },
|
|
16849
|
+
{ name: 'requestedAmount', internalType: 'uint256', type: 'uint256' },
|
|
18099
16850
|
],
|
|
18100
|
-
name: '
|
|
16851
|
+
name: 'UserExceedsMintLimit',
|
|
18101
16852
|
},
|
|
18102
|
-
{ type: 'error', inputs: [], name: 'InsufficientForwardedFunds' },
|
|
18103
|
-
{ type: 'error', inputs: [], name: 'InsufficientTransferFunds' },
|
|
18104
16853
|
{
|
|
18105
16854
|
type: 'error',
|
|
18106
16855
|
inputs: [
|
|
18107
|
-
{ name: '
|
|
18108
|
-
{ name: '
|
|
18109
|
-
{ name: '
|
|
16856
|
+
{ name: 'user', internalType: 'address', type: 'address' },
|
|
16857
|
+
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
16858
|
+
{ name: 'role', internalType: 'uint256', type: 'uint256' },
|
|
18110
16859
|
],
|
|
18111
|
-
name: '
|
|
16860
|
+
name: 'UserMissingRoleForToken',
|
|
18112
16861
|
},
|
|
18113
|
-
{ type: 'error', inputs: [], name: '
|
|
18114
|
-
{ type: 'error', inputs: [], name: 'InvalidPoolKey' },
|
|
18115
|
-
{ type: 'error', inputs: [], name: 'MaxFillCountCannotBeZero' },
|
|
16862
|
+
{ type: 'error', inputs: [], name: 'WrongValueSent' },
|
|
18116
16863
|
{
|
|
18117
16864
|
type: 'error',
|
|
18118
|
-
inputs: [
|
|
18119
|
-
|
|
18120
|
-
{ name: 'minAmountOut', internalType: 'uint256', type: 'uint256' },
|
|
18121
|
-
],
|
|
18122
|
-
name: 'MinAmountNotReached',
|
|
16865
|
+
inputs: [],
|
|
16866
|
+
name: 'premintSignerContractFailedToRecoverSigner',
|
|
18123
16867
|
},
|
|
18124
|
-
{ type: 'error', inputs: [], name: '
|
|
18125
|
-
{ type: 'error', inputs: [], name: 'NotPoolManager' },
|
|
18126
|
-
{ type: 'error', inputs: [], name: 'OnlyZoraHook' },
|
|
18127
|
-
{ type: 'error', inputs: [], name: 'OrderClosed' },
|
|
18128
|
-
{ type: 'error', inputs: [], name: 'OrderNotMaker' },
|
|
18129
|
-
{ type: 'error', inputs: [], name: 'PathMustHaveAtLeastOneStep' },
|
|
18130
|
-
{ type: 'error', inputs: [], name: 'RouterMsgSenderInvalid' },
|
|
18131
|
-
{ type: 'error', inputs: [], name: 'UnknownCallback' },
|
|
18132
|
-
{ type: 'error', inputs: [], name: 'UnlockedFillNotAllowed' },
|
|
18133
|
-
{ type: 'error', inputs: [], name: 'ZeroMaker' },
|
|
18134
|
-
{ type: 'error', inputs: [], name: 'ZeroOrderSize' },
|
|
18135
|
-
{ type: 'error', inputs: [], name: 'ZeroRealizedOrder' },
|
|
16868
|
+
{ type: 'error', inputs: [], name: 'premintSignerContractNotAContract' },
|
|
18136
16869
|
] as const
|
|
18137
16870
|
|
|
18138
16871
|
/**
|
|
18139
|
-
* [__View Contract on
|
|
16872
|
+
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
16873
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
18140
16874
|
*/
|
|
18141
|
-
export const
|
|
18142
|
-
|
|
16875
|
+
export const zoraMintsManagerImplAddress = {
|
|
16876
|
+
7777777: '0x77777770cA269366c7208aFcF36FE2C6F7f7608B',
|
|
16877
|
+
999999999: '0x77777770cA269366c7208aFcF36FE2C6F7f7608B',
|
|
18143
16878
|
} as const
|
|
18144
16879
|
|
|
18145
16880
|
/**
|
|
18146
|
-
* [__View Contract on
|
|
16881
|
+
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
16882
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
18147
16883
|
*/
|
|
18148
|
-
export const
|
|
18149
|
-
address:
|
|
18150
|
-
abi:
|
|
16884
|
+
export const zoraMintsManagerImplConfig = {
|
|
16885
|
+
address: zoraMintsManagerImplAddress,
|
|
16886
|
+
abi: zoraMintsManagerImplABI,
|
|
18151
16887
|
} as const
|
|
18152
16888
|
|
|
18153
16889
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|