@zoralabs/protocol-deployments 0.6.4 → 0.6.5-PRE.0
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 +51 -50
- package/.turbo/turbo-build.log +47 -0
- package/CHANGELOG.md +7 -0
- package/dist/generated/sparks.d.ts +14 -0
- package/dist/generated/sparks.d.ts.map +1 -1
- package/dist/generated/wagmi.d.ts +7810 -3732
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +2422 -1198
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2416 -1195
- package/dist/index.js.map +1 -1
- package/package.json +12 -12
- package/src/generated/sparks.ts +14 -0
- package/src/generated/wagmi.ts +2403 -1186
- package/LICENSE +0 -21
package/dist/index.js
CHANGED
|
@@ -279,18 +279,7 @@ var buySupplyWithSwapRouterHookABI = [
|
|
|
279
279
|
],
|
|
280
280
|
name: "BuyInitialSupply"
|
|
281
281
|
},
|
|
282
|
-
{
|
|
283
|
-
type: "error",
|
|
284
|
-
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
285
|
-
name: "AddressEmptyCode"
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
type: "error",
|
|
289
|
-
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
290
|
-
name: "AddressInsufficientBalance"
|
|
291
|
-
},
|
|
292
282
|
{ type: "error", inputs: [], name: "AddressZero" },
|
|
293
|
-
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
294
283
|
{ type: "error", inputs: [], name: "HookNotImplemented" },
|
|
295
284
|
{
|
|
296
285
|
type: "error",
|
|
@@ -308,7 +297,6 @@ var buySupplyWithSwapRouterHookABI = [
|
|
|
308
297
|
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
309
298
|
name: "SafeERC20FailedOperation"
|
|
310
299
|
},
|
|
311
|
-
{ type: "error", inputs: [], name: "V3RouteCannotStartWithInputCurrency" },
|
|
312
300
|
{ type: "error", inputs: [], name: "V3RouteDoesNotConnectToV4RouteStart" }
|
|
313
301
|
];
|
|
314
302
|
var buySupplyWithSwapRouterHookAddress = {
|
|
@@ -2975,7 +2963,6 @@ var coinFactoryABI = [
|
|
|
2975
2963
|
{ type: "error", inputs: [], name: "ArrayLengthMismatch" },
|
|
2976
2964
|
{ type: "error", inputs: [], name: "ConfigTickLowerMustBeLessThanTickUpper" },
|
|
2977
2965
|
{ type: "error", inputs: [], name: "Deprecated" },
|
|
2978
|
-
{ type: "error", inputs: [], name: "ERC1167FailedCreateClone" },
|
|
2979
2966
|
{
|
|
2980
2967
|
type: "error",
|
|
2981
2968
|
inputs: [
|
|
@@ -2985,7 +2972,16 @@ var coinFactoryABI = [
|
|
|
2985
2972
|
},
|
|
2986
2973
|
{ type: "error", inputs: [], name: "ERC1967NonPayable" },
|
|
2987
2974
|
{ type: "error", inputs: [], name: "EthTransferInvalid" },
|
|
2988
|
-
{ type: "error", inputs: [], name: "
|
|
2975
|
+
{ type: "error", inputs: [], name: "FailedCall" },
|
|
2976
|
+
{ type: "error", inputs: [], name: "FailedDeployment" },
|
|
2977
|
+
{
|
|
2978
|
+
type: "error",
|
|
2979
|
+
inputs: [
|
|
2980
|
+
{ name: "balance", internalType: "uint256", type: "uint256" },
|
|
2981
|
+
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
2982
|
+
],
|
|
2983
|
+
name: "InsufficientBalance"
|
|
2984
|
+
},
|
|
2989
2985
|
{ type: "error", inputs: [], name: "InvalidConfig" },
|
|
2990
2986
|
{ type: "error", inputs: [], name: "InvalidHook" },
|
|
2991
2987
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
@@ -3035,18 +3031,7 @@ var coinFactoryABI = [
|
|
|
3035
3031
|
},
|
|
3036
3032
|
{ type: "error", inputs: [], name: "ZeroDiscoveryPositions" },
|
|
3037
3033
|
{ type: "error", inputs: [], name: "ZeroDiscoverySupplyShare" },
|
|
3038
|
-
{
|
|
3039
|
-
type: "error",
|
|
3040
|
-
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
3041
|
-
name: "AddressEmptyCode"
|
|
3042
|
-
},
|
|
3043
|
-
{
|
|
3044
|
-
type: "error",
|
|
3045
|
-
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
3046
|
-
name: "AddressInsufficientBalance"
|
|
3047
|
-
},
|
|
3048
3034
|
{ type: "error", inputs: [], name: "AddressZero" },
|
|
3049
|
-
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
3050
3035
|
{ type: "error", inputs: [], name: "HookNotImplemented" },
|
|
3051
3036
|
{
|
|
3052
3037
|
type: "error",
|
|
@@ -3064,7 +3049,6 @@ var coinFactoryABI = [
|
|
|
3064
3049
|
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
3065
3050
|
name: "SafeERC20FailedOperation"
|
|
3066
3051
|
},
|
|
3067
|
-
{ type: "error", inputs: [], name: "V3RouteCannotStartWithInputCurrency" },
|
|
3068
3052
|
{ type: "error", inputs: [], name: "V3RouteDoesNotConnectToV4RouteStart" },
|
|
3069
3053
|
{ type: "error", inputs: [], name: "AddressZero" },
|
|
3070
3054
|
{ type: "error", inputs: [], name: "AlreadyOwner" },
|
|
@@ -3193,7 +3177,118 @@ var coinFactoryABI = [
|
|
|
3193
3177
|
{ type: "error", inputs: [], name: "OnlyWeth" },
|
|
3194
3178
|
{ type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
|
|
3195
3179
|
{ type: "error", inputs: [], name: "SlippageBoundsExceeded" },
|
|
3196
|
-
{ type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" }
|
|
3180
|
+
{ type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" },
|
|
3181
|
+
{ type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
|
|
3182
|
+
{ type: "error", inputs: [], name: "CoinVersionLookupCannotBeZeroAddress" },
|
|
3183
|
+
{ type: "error", inputs: [], name: "EthTransferFailed" },
|
|
3184
|
+
{ type: "error", inputs: [], name: "HookNotImplemented" },
|
|
3185
|
+
{
|
|
3186
|
+
type: "error",
|
|
3187
|
+
inputs: [{ name: "callbackId", internalType: "uint8", type: "uint8" }],
|
|
3188
|
+
name: "InvalidCallbackId"
|
|
3189
|
+
},
|
|
3190
|
+
{
|
|
3191
|
+
type: "error",
|
|
3192
|
+
inputs: [{ name: "newHook", internalType: "address", type: "address" }],
|
|
3193
|
+
name: "InvalidNewHook"
|
|
3194
|
+
},
|
|
3195
|
+
{
|
|
3196
|
+
type: "error",
|
|
3197
|
+
inputs: [
|
|
3198
|
+
{ name: "tickLower", internalType: "int24", type: "int24" },
|
|
3199
|
+
{ name: "tickUpper", internalType: "int24", type: "int24" }
|
|
3200
|
+
],
|
|
3201
|
+
name: "InvalidTickRangeMisordered"
|
|
3202
|
+
},
|
|
3203
|
+
{
|
|
3204
|
+
type: "error",
|
|
3205
|
+
inputs: [
|
|
3206
|
+
{
|
|
3207
|
+
name: "key",
|
|
3208
|
+
internalType: "struct PoolKey",
|
|
3209
|
+
type: "tuple",
|
|
3210
|
+
components: [
|
|
3211
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
3212
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
3213
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
3214
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
3215
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
3216
|
+
]
|
|
3217
|
+
}
|
|
3218
|
+
],
|
|
3219
|
+
name: "NoCoinForHook"
|
|
3220
|
+
},
|
|
3221
|
+
{
|
|
3222
|
+
type: "error",
|
|
3223
|
+
inputs: [{ name: "coin", internalType: "address", type: "address" }],
|
|
3224
|
+
name: "NotACoin"
|
|
3225
|
+
},
|
|
3226
|
+
{ type: "error", inputs: [], name: "NotPoolManager" },
|
|
3227
|
+
{
|
|
3228
|
+
type: "error",
|
|
3229
|
+
inputs: [
|
|
3230
|
+
{ name: "caller", internalType: "address", type: "address" },
|
|
3231
|
+
{ name: "expectedCoin", internalType: "address", type: "address" }
|
|
3232
|
+
],
|
|
3233
|
+
name: "OnlyCoin"
|
|
3234
|
+
},
|
|
3235
|
+
{ type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
|
|
3236
|
+
{ type: "error", inputs: [], name: "SafeCastOverflow" },
|
|
3237
|
+
{
|
|
3238
|
+
type: "error",
|
|
3239
|
+
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
3240
|
+
name: "SafeERC20FailedOperation"
|
|
3241
|
+
},
|
|
3242
|
+
{
|
|
3243
|
+
type: "error",
|
|
3244
|
+
inputs: [],
|
|
3245
|
+
name: "TrustedMsgSenderLookupCannotBeZeroAddress"
|
|
3246
|
+
},
|
|
3247
|
+
{ type: "error", inputs: [], name: "UpgradeGateCannotBeZeroAddress" },
|
|
3248
|
+
{
|
|
3249
|
+
type: "error",
|
|
3250
|
+
inputs: [
|
|
3251
|
+
{ name: "oldHook", internalType: "address", type: "address" },
|
|
3252
|
+
{ name: "newHook", internalType: "address", type: "address" }
|
|
3253
|
+
],
|
|
3254
|
+
name: "UpgradePathNotRegistered"
|
|
3255
|
+
},
|
|
3256
|
+
{
|
|
3257
|
+
type: "error",
|
|
3258
|
+
inputs: [{ name: "authority", internalType: "address", type: "address" }],
|
|
3259
|
+
name: "AccessManagedInvalidAuthority"
|
|
3260
|
+
},
|
|
3261
|
+
{ type: "error", inputs: [], name: "AccessManagedUnauthorized" },
|
|
3262
|
+
{ type: "error", inputs: [], name: "AddressZero" },
|
|
3263
|
+
{ type: "error", inputs: [], name: "ArrayLengthMismatch" },
|
|
3264
|
+
{ type: "error", inputs: [], name: "InsufficientBalance" },
|
|
3265
|
+
{ type: "error", inputs: [], name: "InsufficientForwardedFunds" },
|
|
3266
|
+
{ type: "error", inputs: [], name: "InsufficientTransferFunds" },
|
|
3267
|
+
{
|
|
3268
|
+
type: "error",
|
|
3269
|
+
inputs: [
|
|
3270
|
+
{ name: "startTick", internalType: "int24", type: "int24" },
|
|
3271
|
+
{ name: "endTick", internalType: "int24", type: "int24" },
|
|
3272
|
+
{ name: "isCurrency0", internalType: "bool", type: "bool" }
|
|
3273
|
+
],
|
|
3274
|
+
name: "InvalidFillWindow"
|
|
3275
|
+
},
|
|
3276
|
+
{ type: "error", inputs: [], name: "InvalidOrder" },
|
|
3277
|
+
{ type: "error", inputs: [], name: "InvalidPoolKey" },
|
|
3278
|
+
{ type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
|
|
3279
|
+
{ type: "error", inputs: [], name: "NativeValueMismatch" },
|
|
3280
|
+
{ type: "error", inputs: [], name: "NotPoolManager" },
|
|
3281
|
+
{ type: "error", inputs: [], name: "OnlyZoraHook" },
|
|
3282
|
+
{ type: "error", inputs: [], name: "OrderClosed" },
|
|
3283
|
+
{ type: "error", inputs: [], name: "OrderNotMaker" },
|
|
3284
|
+
{ type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
|
|
3285
|
+
{ type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
|
|
3286
|
+
{ type: "error", inputs: [], name: "UnknownCallback" },
|
|
3287
|
+
{ type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
|
|
3288
|
+
{ type: "error", inputs: [], name: "ZeroMaker" },
|
|
3289
|
+
{ type: "error", inputs: [], name: "ZeroMakerOrders" },
|
|
3290
|
+
{ type: "error", inputs: [], name: "ZeroOrderSize" },
|
|
3291
|
+
{ type: "error", inputs: [], name: "ZeroRealizedOrder" }
|
|
3197
3292
|
];
|
|
3198
3293
|
var coinFactoryAddress = {
|
|
3199
3294
|
8453: "0x777777751622c0d3258f214F9DF38E35BF45baF3",
|
|
@@ -9696,39 +9791,6 @@ var uniswapQuoterV2Config = {
|
|
|
9696
9791
|
address: uniswapQuoterV2Address,
|
|
9697
9792
|
abi: uniswapQuoterV2ABI
|
|
9698
9793
|
};
|
|
9699
|
-
var uniswapUniversalRouterABI = [
|
|
9700
|
-
{
|
|
9701
|
-
type: "function",
|
|
9702
|
-
inputs: [
|
|
9703
|
-
{ name: "commands", internalType: "bytes", type: "bytes" },
|
|
9704
|
-
{ name: "inputs", internalType: "bytes[]", type: "bytes[]" },
|
|
9705
|
-
{ name: "deadline", internalType: "uint256", type: "uint256" }
|
|
9706
|
-
],
|
|
9707
|
-
name: "execute",
|
|
9708
|
-
outputs: [],
|
|
9709
|
-
stateMutability: "payable"
|
|
9710
|
-
},
|
|
9711
|
-
{ type: "error", inputs: [], name: "ETHNotAccepted" },
|
|
9712
|
-
{
|
|
9713
|
-
type: "error",
|
|
9714
|
-
inputs: [
|
|
9715
|
-
{ name: "commandIndex", internalType: "uint256", type: "uint256" },
|
|
9716
|
-
{ name: "message", internalType: "bytes", type: "bytes" }
|
|
9717
|
-
],
|
|
9718
|
-
name: "ExecutionFailed"
|
|
9719
|
-
},
|
|
9720
|
-
{ type: "error", inputs: [], name: "InvalidEthSender" },
|
|
9721
|
-
{ type: "error", inputs: [], name: "LengthMismatch" },
|
|
9722
|
-
{ type: "error", inputs: [], name: "TransactionDeadlinePassed" }
|
|
9723
|
-
];
|
|
9724
|
-
var uniswapUniversalRouterAddress = {
|
|
9725
|
-
8453: "0x6fF5693b99212Da76ad316178A184AB56D299b43",
|
|
9726
|
-
84532: "0x492E6456D9528771018DeB9E87ef7750EF184104"
|
|
9727
|
-
};
|
|
9728
|
-
var uniswapUniversalRouterConfig = {
|
|
9729
|
-
address: uniswapUniversalRouterAddress,
|
|
9730
|
-
abi: uniswapUniversalRouterABI
|
|
9731
|
-
};
|
|
9732
9794
|
var uniswapV3SwapRouterABI = [
|
|
9733
9795
|
{
|
|
9734
9796
|
type: "function",
|
|
@@ -14299,43 +14361,22 @@ var zoraCreatorRedeemMinterFactoryConfig = {
|
|
|
14299
14361
|
address: zoraCreatorRedeemMinterFactoryAddress,
|
|
14300
14362
|
abi: zoraCreatorRedeemMinterFactoryABI
|
|
14301
14363
|
};
|
|
14302
|
-
var
|
|
14303
|
-
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
14304
|
-
{
|
|
14305
|
-
type: "function",
|
|
14306
|
-
inputs: [],
|
|
14307
|
-
name: "ETH_ADDRESS",
|
|
14308
|
-
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
14309
|
-
stateMutability: "view"
|
|
14310
|
-
},
|
|
14311
|
-
{
|
|
14312
|
-
type: "function",
|
|
14313
|
-
inputs: [],
|
|
14314
|
-
name: "MINIMUM_ERC20_PRICE",
|
|
14315
|
-
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
14316
|
-
stateMutability: "view"
|
|
14317
|
-
},
|
|
14318
|
-
{
|
|
14319
|
-
type: "function",
|
|
14320
|
-
inputs: [],
|
|
14321
|
-
name: "MINIMUM_ETH_PRICE",
|
|
14322
|
-
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
14323
|
-
stateMutability: "view"
|
|
14324
|
-
},
|
|
14364
|
+
var zoraLimitOrderBookABI = [
|
|
14325
14365
|
{
|
|
14326
|
-
type: "
|
|
14327
|
-
inputs: [
|
|
14328
|
-
|
|
14329
|
-
|
|
14330
|
-
|
|
14331
|
-
|
|
14332
|
-
|
|
14333
|
-
|
|
14334
|
-
|
|
14335
|
-
|
|
14336
|
-
|
|
14337
|
-
stateMutability: "
|
|
14366
|
+
type: "constructor",
|
|
14367
|
+
inputs: [
|
|
14368
|
+
{ name: "poolManager_", internalType: "address", type: "address" },
|
|
14369
|
+
{
|
|
14370
|
+
name: "zoraCoinVersionLookup_",
|
|
14371
|
+
internalType: "address",
|
|
14372
|
+
type: "address"
|
|
14373
|
+
},
|
|
14374
|
+
{ name: "zoraHookRegistry_", internalType: "address", type: "address" },
|
|
14375
|
+
{ name: "authority_", internalType: "address", type: "address" }
|
|
14376
|
+
],
|
|
14377
|
+
stateMutability: "nonpayable"
|
|
14338
14378
|
},
|
|
14379
|
+
{ type: "receive", stateMutability: "payable" },
|
|
14339
14380
|
{
|
|
14340
14381
|
type: "function",
|
|
14341
14382
|
inputs: [],
|
|
@@ -14346,677 +14387,479 @@ var zoraMints1155ABI = [
|
|
|
14346
14387
|
{
|
|
14347
14388
|
type: "function",
|
|
14348
14389
|
inputs: [
|
|
14349
|
-
{ name: "
|
|
14350
|
-
{ name: "
|
|
14390
|
+
{ name: "maker", internalType: "address", type: "address" },
|
|
14391
|
+
{ name: "coin", internalType: "address", type: "address" }
|
|
14351
14392
|
],
|
|
14352
14393
|
name: "balanceOf",
|
|
14353
14394
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
14354
14395
|
stateMutability: "view"
|
|
14355
14396
|
},
|
|
14356
|
-
{
|
|
14357
|
-
type: "function",
|
|
14358
|
-
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
14359
|
-
name: "balanceOfAccount",
|
|
14360
|
-
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
14361
|
-
stateMutability: "view"
|
|
14362
|
-
},
|
|
14363
14397
|
{
|
|
14364
14398
|
type: "function",
|
|
14365
14399
|
inputs: [
|
|
14366
|
-
{
|
|
14367
|
-
|
|
14400
|
+
{
|
|
14401
|
+
name: "key",
|
|
14402
|
+
internalType: "struct PoolKey",
|
|
14403
|
+
type: "tuple",
|
|
14404
|
+
components: [
|
|
14405
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
14406
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
14407
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
14408
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
14409
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
14410
|
+
]
|
|
14411
|
+
},
|
|
14412
|
+
{ name: "isCurrency0", internalType: "bool", type: "bool" },
|
|
14413
|
+
{ name: "orderSizes", internalType: "uint256[]", type: "uint256[]" },
|
|
14414
|
+
{ name: "orderTicks", internalType: "int24[]", type: "int24[]" },
|
|
14415
|
+
{ name: "maker", internalType: "address", type: "address" }
|
|
14368
14416
|
],
|
|
14369
|
-
name: "
|
|
14370
|
-
outputs: [{ name: "", internalType: "
|
|
14371
|
-
stateMutability: "
|
|
14372
|
-
},
|
|
14373
|
-
{
|
|
14374
|
-
type: "function",
|
|
14375
|
-
inputs: [],
|
|
14376
|
-
name: "contractURI",
|
|
14377
|
-
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
14378
|
-
stateMutability: "view"
|
|
14417
|
+
name: "create",
|
|
14418
|
+
outputs: [{ name: "", internalType: "bytes32[]", type: "bytes32[]" }],
|
|
14419
|
+
stateMutability: "payable"
|
|
14379
14420
|
},
|
|
14380
14421
|
{
|
|
14381
14422
|
type: "function",
|
|
14382
14423
|
inputs: [
|
|
14383
|
-
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
14384
14424
|
{
|
|
14385
|
-
name: "
|
|
14386
|
-
internalType: "struct
|
|
14425
|
+
name: "key",
|
|
14426
|
+
internalType: "struct PoolKey",
|
|
14387
14427
|
type: "tuple",
|
|
14388
14428
|
components: [
|
|
14389
|
-
{ name: "
|
|
14390
|
-
{ name: "
|
|
14391
|
-
{ name: "
|
|
14429
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
14430
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
14431
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
14432
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
14433
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
14392
14434
|
]
|
|
14393
|
-
}
|
|
14435
|
+
},
|
|
14436
|
+
{ name: "isCurrency0", internalType: "bool", type: "bool" },
|
|
14437
|
+
{ name: "startTick", internalType: "int24", type: "int24" },
|
|
14438
|
+
{ name: "endTick", internalType: "int24", type: "int24" },
|
|
14439
|
+
{ name: "maxFillCount", internalType: "uint256", type: "uint256" },
|
|
14440
|
+
{ name: "fillReferral", internalType: "address", type: "address" }
|
|
14394
14441
|
],
|
|
14395
|
-
name: "
|
|
14442
|
+
name: "fill",
|
|
14396
14443
|
outputs: [],
|
|
14397
14444
|
stateMutability: "nonpayable"
|
|
14398
14445
|
},
|
|
14399
14446
|
{
|
|
14400
14447
|
type: "function",
|
|
14401
|
-
inputs: [
|
|
14402
|
-
|
|
14403
|
-
|
|
14404
|
-
|
|
14405
|
-
|
|
14406
|
-
|
|
14407
|
-
|
|
14408
|
-
|
|
14409
|
-
|
|
14410
|
-
|
|
14448
|
+
inputs: [
|
|
14449
|
+
{
|
|
14450
|
+
name: "batches",
|
|
14451
|
+
internalType: "struct IZoraLimitOrderBook.OrderBatch[]",
|
|
14452
|
+
type: "tuple[]",
|
|
14453
|
+
components: [
|
|
14454
|
+
{
|
|
14455
|
+
name: "key",
|
|
14456
|
+
internalType: "struct PoolKey",
|
|
14457
|
+
type: "tuple",
|
|
14458
|
+
components: [
|
|
14459
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
14460
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
14461
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
14462
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
14463
|
+
{
|
|
14464
|
+
name: "hooks",
|
|
14465
|
+
internalType: "contract IHooks",
|
|
14466
|
+
type: "address"
|
|
14467
|
+
}
|
|
14468
|
+
]
|
|
14469
|
+
},
|
|
14470
|
+
{ name: "isCurrency0", internalType: "bool", type: "bool" },
|
|
14471
|
+
{ name: "orderIds", internalType: "bytes32[]", type: "bytes32[]" }
|
|
14472
|
+
]
|
|
14473
|
+
},
|
|
14474
|
+
{ name: "fillReferral", internalType: "address", type: "address" }
|
|
14411
14475
|
],
|
|
14412
|
-
|
|
14476
|
+
name: "fill",
|
|
14477
|
+
outputs: [],
|
|
14478
|
+
stateMutability: "nonpayable"
|
|
14413
14479
|
},
|
|
14414
14480
|
{
|
|
14415
14481
|
type: "function",
|
|
14416
14482
|
inputs: [],
|
|
14417
|
-
name: "
|
|
14418
|
-
outputs: [{ name: "", internalType: "
|
|
14483
|
+
name: "getMaxFillCount",
|
|
14484
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
14419
14485
|
stateMutability: "view"
|
|
14420
14486
|
},
|
|
14421
14487
|
{
|
|
14422
14488
|
type: "function",
|
|
14423
|
-
inputs: [
|
|
14424
|
-
name: "
|
|
14489
|
+
inputs: [],
|
|
14490
|
+
name: "poolManager",
|
|
14425
14491
|
outputs: [
|
|
14426
|
-
{
|
|
14427
|
-
name: "",
|
|
14428
|
-
internalType: "struct TokenConfig",
|
|
14429
|
-
type: "tuple",
|
|
14430
|
-
components: [
|
|
14431
|
-
{ name: "price", internalType: "uint256", type: "uint256" },
|
|
14432
|
-
{ name: "tokenAddress", internalType: "address", type: "address" },
|
|
14433
|
-
{ name: "redeemHandler", internalType: "address", type: "address" }
|
|
14434
|
-
]
|
|
14435
|
-
}
|
|
14492
|
+
{ name: "", internalType: "contract IPoolManager", type: "address" }
|
|
14436
14493
|
],
|
|
14437
14494
|
stateMutability: "view"
|
|
14438
14495
|
},
|
|
14439
14496
|
{
|
|
14440
14497
|
type: "function",
|
|
14441
14498
|
inputs: [
|
|
14442
|
-
{
|
|
14443
|
-
name: "permit",
|
|
14444
|
-
internalType: "struct IZoraSparks1155Managed.PermitBatch",
|
|
14445
|
-
type: "tuple",
|
|
14446
|
-
components: [
|
|
14447
|
-
{ name: "owner", internalType: "address", type: "address" },
|
|
14448
|
-
{ name: "to", internalType: "address", type: "address" },
|
|
14449
|
-
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
14450
|
-
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
14451
|
-
{ name: "safeTransferData", internalType: "bytes", type: "bytes" },
|
|
14452
|
-
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
14453
|
-
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
14454
|
-
]
|
|
14455
|
-
}
|
|
14456
|
-
],
|
|
14457
|
-
name: "hashPermitBatch",
|
|
14458
|
-
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
|
|
14459
|
-
stateMutability: "view"
|
|
14460
|
-
},
|
|
14461
|
-
{
|
|
14462
|
-
type: "function",
|
|
14463
|
-
inputs: [
|
|
14464
|
-
{
|
|
14465
|
-
name: "permit",
|
|
14466
|
-
internalType: "struct IZoraSparks1155Managed.PermitSingle",
|
|
14467
|
-
type: "tuple",
|
|
14468
|
-
components: [
|
|
14469
|
-
{ name: "owner", internalType: "address", type: "address" },
|
|
14470
|
-
{ name: "to", internalType: "address", type: "address" },
|
|
14471
|
-
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
14472
|
-
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
14473
|
-
{ name: "safeTransferData", internalType: "bytes", type: "bytes" },
|
|
14474
|
-
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
14475
|
-
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
14476
|
-
]
|
|
14477
|
-
}
|
|
14478
|
-
],
|
|
14479
|
-
name: "hashPermitSingle",
|
|
14480
|
-
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
|
|
14481
|
-
stateMutability: "view"
|
|
14482
|
-
},
|
|
14483
|
-
{
|
|
14484
|
-
type: "function",
|
|
14485
|
-
inputs: [
|
|
14486
|
-
{ name: "account", internalType: "address", type: "address" },
|
|
14487
|
-
{ name: "operator", internalType: "address", type: "address" }
|
|
14499
|
+
{ name: "newAuthority", internalType: "address", type: "address" }
|
|
14488
14500
|
],
|
|
14489
|
-
name: "
|
|
14490
|
-
outputs: [
|
|
14491
|
-
stateMutability: "
|
|
14492
|
-
},
|
|
14493
|
-
{
|
|
14494
|
-
type: "function",
|
|
14495
|
-
inputs: [],
|
|
14496
|
-
name: "isConsumingScheduledOp",
|
|
14497
|
-
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
|
|
14498
|
-
stateMutability: "view"
|
|
14501
|
+
name: "setAuthority",
|
|
14502
|
+
outputs: [],
|
|
14503
|
+
stateMutability: "nonpayable"
|
|
14499
14504
|
},
|
|
14500
14505
|
{
|
|
14501
14506
|
type: "function",
|
|
14502
14507
|
inputs: [
|
|
14503
|
-
{
|
|
14504
|
-
name: "permit",
|
|
14505
|
-
internalType: "struct IZoraSparks1155Managed.PermitBatch",
|
|
14506
|
-
type: "tuple",
|
|
14507
|
-
components: [
|
|
14508
|
-
{ name: "owner", internalType: "address", type: "address" },
|
|
14509
|
-
{ name: "to", internalType: "address", type: "address" },
|
|
14510
|
-
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
14511
|
-
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
14512
|
-
{ name: "safeTransferData", internalType: "bytes", type: "bytes" },
|
|
14513
|
-
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
14514
|
-
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
14515
|
-
]
|
|
14516
|
-
},
|
|
14517
|
-
{ name: "signature", internalType: "bytes", type: "bytes" }
|
|
14508
|
+
{ name: "maxFillCount", internalType: "uint256", type: "uint256" }
|
|
14518
14509
|
],
|
|
14519
|
-
name: "
|
|
14520
|
-
outputs: [
|
|
14521
|
-
stateMutability: "
|
|
14510
|
+
name: "setMaxFillCount",
|
|
14511
|
+
outputs: [],
|
|
14512
|
+
stateMutability: "nonpayable"
|
|
14522
14513
|
},
|
|
14523
14514
|
{
|
|
14524
14515
|
type: "function",
|
|
14525
|
-
inputs: [
|
|
14526
|
-
|
|
14527
|
-
|
|
14528
|
-
|
|
14529
|
-
type: "tuple",
|
|
14530
|
-
components: [
|
|
14531
|
-
{ name: "owner", internalType: "address", type: "address" },
|
|
14532
|
-
{ name: "to", internalType: "address", type: "address" },
|
|
14533
|
-
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
14534
|
-
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
14535
|
-
{ name: "safeTransferData", internalType: "bytes", type: "bytes" },
|
|
14536
|
-
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
14537
|
-
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
14538
|
-
]
|
|
14539
|
-
},
|
|
14540
|
-
{ name: "signature", internalType: "bytes", type: "bytes" }
|
|
14541
|
-
],
|
|
14542
|
-
name: "isValidSignatureTransferSingle",
|
|
14543
|
-
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
14544
|
-
stateMutability: "view"
|
|
14516
|
+
inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
|
|
14517
|
+
name: "unlockCallback",
|
|
14518
|
+
outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
|
|
14519
|
+
stateMutability: "nonpayable"
|
|
14545
14520
|
},
|
|
14546
14521
|
{
|
|
14547
14522
|
type: "function",
|
|
14548
14523
|
inputs: [
|
|
14549
|
-
{ name: "
|
|
14550
|
-
{ name: "
|
|
14551
|
-
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
14552
|
-
{ name: "recipient", internalType: "address", type: "address" },
|
|
14553
|
-
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
14524
|
+
{ name: "orderIds", internalType: "bytes32[]", type: "bytes32[]" },
|
|
14525
|
+
{ name: "recipient", internalType: "address", type: "address" }
|
|
14554
14526
|
],
|
|
14555
|
-
name: "
|
|
14527
|
+
name: "withdraw",
|
|
14556
14528
|
outputs: [],
|
|
14557
14529
|
stateMutability: "nonpayable"
|
|
14558
14530
|
},
|
|
14559
14531
|
{
|
|
14560
14532
|
type: "function",
|
|
14561
14533
|
inputs: [
|
|
14562
|
-
{ name: "
|
|
14563
|
-
{ name: "
|
|
14564
|
-
{ name: "recipient", internalType: "address", type: "address" }
|
|
14565
|
-
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
14534
|
+
{ name: "coin", internalType: "address", type: "address" },
|
|
14535
|
+
{ name: "amount", internalType: "uint256", type: "uint256" },
|
|
14536
|
+
{ name: "recipient", internalType: "address", type: "address" }
|
|
14566
14537
|
],
|
|
14567
|
-
name: "
|
|
14538
|
+
name: "withdraw",
|
|
14568
14539
|
outputs: [],
|
|
14569
|
-
stateMutability: "
|
|
14540
|
+
stateMutability: "nonpayable"
|
|
14570
14541
|
},
|
|
14571
14542
|
{
|
|
14572
14543
|
type: "function",
|
|
14573
14544
|
inputs: [],
|
|
14574
|
-
name: "
|
|
14575
|
-
outputs: [
|
|
14576
|
-
|
|
14577
|
-
|
|
14578
|
-
|
|
14579
|
-
|
|
14580
|
-
|
|
14581
|
-
{ name: "owner", internalType: "address", type: "address" },
|
|
14582
|
-
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
14545
|
+
name: "zoraCoinVersionLookup",
|
|
14546
|
+
outputs: [
|
|
14547
|
+
{
|
|
14548
|
+
name: "",
|
|
14549
|
+
internalType: "contract IDeployedCoinVersionLookup",
|
|
14550
|
+
type: "address"
|
|
14551
|
+
}
|
|
14583
14552
|
],
|
|
14584
|
-
name: "nonceUsed",
|
|
14585
|
-
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
14586
14553
|
stateMutability: "view"
|
|
14587
14554
|
},
|
|
14588
14555
|
{
|
|
14589
14556
|
type: "function",
|
|
14590
|
-
inputs: [
|
|
14591
|
-
|
|
14592
|
-
|
|
14557
|
+
inputs: [],
|
|
14558
|
+
name: "zoraHookRegistry",
|
|
14559
|
+
outputs: [
|
|
14560
|
+
{ name: "", internalType: "contract IZoraHookRegistry", type: "address" }
|
|
14593
14561
|
],
|
|
14594
|
-
|
|
14595
|
-
outputs: [],
|
|
14596
|
-
stateMutability: "nonpayable"
|
|
14562
|
+
stateMutability: "view"
|
|
14597
14563
|
},
|
|
14598
14564
|
{
|
|
14599
|
-
type: "
|
|
14565
|
+
type: "event",
|
|
14566
|
+
anonymous: false,
|
|
14600
14567
|
inputs: [
|
|
14601
|
-
{
|
|
14602
|
-
|
|
14568
|
+
{
|
|
14569
|
+
name: "authority",
|
|
14570
|
+
internalType: "address",
|
|
14571
|
+
type: "address",
|
|
14572
|
+
indexed: false
|
|
14573
|
+
}
|
|
14603
14574
|
],
|
|
14604
|
-
name: "
|
|
14605
|
-
outputs: [],
|
|
14606
|
-
stateMutability: "nonpayable"
|
|
14575
|
+
name: "AuthorityUpdated"
|
|
14607
14576
|
},
|
|
14608
14577
|
{
|
|
14609
|
-
type: "
|
|
14578
|
+
type: "event",
|
|
14579
|
+
anonymous: false,
|
|
14610
14580
|
inputs: [
|
|
14611
14581
|
{
|
|
14612
|
-
name: "
|
|
14613
|
-
internalType: "
|
|
14614
|
-
type: "
|
|
14615
|
-
|
|
14616
|
-
{ name: "owner", internalType: "address", type: "address" },
|
|
14617
|
-
{ name: "to", internalType: "address", type: "address" },
|
|
14618
|
-
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
14619
|
-
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
14620
|
-
{ name: "safeTransferData", internalType: "bytes", type: "bytes" },
|
|
14621
|
-
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
14622
|
-
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
14623
|
-
]
|
|
14582
|
+
name: "maker",
|
|
14583
|
+
internalType: "address",
|
|
14584
|
+
type: "address",
|
|
14585
|
+
indexed: true
|
|
14624
14586
|
},
|
|
14625
|
-
{ name: "
|
|
14626
|
-
],
|
|
14627
|
-
name: "permitSafeTransfer",
|
|
14628
|
-
outputs: [],
|
|
14629
|
-
stateMutability: "nonpayable"
|
|
14630
|
-
},
|
|
14631
|
-
{
|
|
14632
|
-
type: "function",
|
|
14633
|
-
inputs: [
|
|
14587
|
+
{ name: "coin", internalType: "address", type: "address", indexed: true },
|
|
14634
14588
|
{
|
|
14635
|
-
name: "
|
|
14636
|
-
internalType: "
|
|
14637
|
-
type: "
|
|
14638
|
-
|
|
14639
|
-
{ name: "owner", internalType: "address", type: "address" },
|
|
14640
|
-
{ name: "to", internalType: "address", type: "address" },
|
|
14641
|
-
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
14642
|
-
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
14643
|
-
{ name: "safeTransferData", internalType: "bytes", type: "bytes" },
|
|
14644
|
-
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
14645
|
-
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
14646
|
-
]
|
|
14589
|
+
name: "poolKeyHash",
|
|
14590
|
+
internalType: "bytes32",
|
|
14591
|
+
type: "bytes32",
|
|
14592
|
+
indexed: false
|
|
14647
14593
|
},
|
|
14648
|
-
{ name: "signature", internalType: "bytes", type: "bytes" }
|
|
14649
|
-
],
|
|
14650
|
-
name: "permitSafeTransferBatch",
|
|
14651
|
-
outputs: [],
|
|
14652
|
-
stateMutability: "nonpayable"
|
|
14653
|
-
},
|
|
14654
|
-
{
|
|
14655
|
-
type: "function",
|
|
14656
|
-
inputs: [
|
|
14657
|
-
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
14658
|
-
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
14659
|
-
{ name: "recipient", internalType: "address", type: "address" }
|
|
14660
|
-
],
|
|
14661
|
-
name: "redeem",
|
|
14662
|
-
outputs: [
|
|
14663
14594
|
{
|
|
14664
|
-
name: "",
|
|
14665
|
-
internalType: "
|
|
14666
|
-
type: "
|
|
14667
|
-
|
|
14668
|
-
|
|
14669
|
-
|
|
14670
|
-
|
|
14595
|
+
name: "isCurrency0",
|
|
14596
|
+
internalType: "bool",
|
|
14597
|
+
type: "bool",
|
|
14598
|
+
indexed: false
|
|
14599
|
+
},
|
|
14600
|
+
{ name: "tick", internalType: "int24", type: "int24", indexed: false },
|
|
14601
|
+
{
|
|
14602
|
+
name: "currentTick",
|
|
14603
|
+
internalType: "int24",
|
|
14604
|
+
type: "int24",
|
|
14605
|
+
indexed: false
|
|
14606
|
+
},
|
|
14607
|
+
{
|
|
14608
|
+
name: "orderSize",
|
|
14609
|
+
internalType: "uint128",
|
|
14610
|
+
type: "uint128",
|
|
14611
|
+
indexed: false
|
|
14612
|
+
},
|
|
14613
|
+
{
|
|
14614
|
+
name: "orderId",
|
|
14615
|
+
internalType: "bytes32",
|
|
14616
|
+
type: "bytes32",
|
|
14617
|
+
indexed: false
|
|
14671
14618
|
}
|
|
14672
14619
|
],
|
|
14673
|
-
|
|
14620
|
+
name: "LimitOrderCreated"
|
|
14674
14621
|
},
|
|
14675
14622
|
{
|
|
14676
|
-
type: "
|
|
14623
|
+
type: "event",
|
|
14624
|
+
anonymous: false,
|
|
14677
14625
|
inputs: [
|
|
14678
|
-
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
14679
|
-
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
14680
|
-
{ name: "recipient", internalType: "address", type: "address" }
|
|
14681
|
-
],
|
|
14682
|
-
name: "redeemBatch",
|
|
14683
|
-
outputs: [
|
|
14684
14626
|
{
|
|
14685
|
-
name: "
|
|
14686
|
-
internalType: "struct Redemption[]",
|
|
14687
|
-
type: "tuple[]",
|
|
14688
|
-
components: [
|
|
14689
|
-
{ name: "tokenAddress", internalType: "address", type: "address" },
|
|
14690
|
-
{ name: "valueRedeemed", internalType: "uint256", type: "uint256" }
|
|
14691
|
-
]
|
|
14692
|
-
}
|
|
14693
|
-
],
|
|
14694
|
-
stateMutability: "nonpayable"
|
|
14695
|
-
},
|
|
14696
|
-
{
|
|
14697
|
-
type: "function",
|
|
14698
|
-
inputs: [
|
|
14699
|
-
{ name: "from", internalType: "address", type: "address" },
|
|
14700
|
-
{ name: "to", internalType: "address", type: "address" },
|
|
14701
|
-
{ name: "ids", internalType: "uint256[]", type: "uint256[]" },
|
|
14702
|
-
{ name: "values", internalType: "uint256[]", type: "uint256[]" },
|
|
14703
|
-
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
14704
|
-
],
|
|
14705
|
-
name: "safeBatchTransferFrom",
|
|
14706
|
-
outputs: [],
|
|
14707
|
-
stateMutability: "nonpayable"
|
|
14708
|
-
},
|
|
14709
|
-
{
|
|
14710
|
-
type: "function",
|
|
14711
|
-
inputs: [
|
|
14712
|
-
{ name: "from", internalType: "address", type: "address" },
|
|
14713
|
-
{ name: "to", internalType: "address", type: "address" },
|
|
14714
|
-
{ name: "id", internalType: "uint256", type: "uint256" },
|
|
14715
|
-
{ name: "value", internalType: "uint256", type: "uint256" },
|
|
14716
|
-
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
14717
|
-
],
|
|
14718
|
-
name: "safeTransferFrom",
|
|
14719
|
-
outputs: [],
|
|
14720
|
-
stateMutability: "nonpayable"
|
|
14721
|
-
},
|
|
14722
|
-
{
|
|
14723
|
-
type: "function",
|
|
14724
|
-
inputs: [
|
|
14725
|
-
{ name: "operator", internalType: "address", type: "address" },
|
|
14726
|
-
{ name: "approved", internalType: "bool", type: "bool" }
|
|
14727
|
-
],
|
|
14728
|
-
name: "setApprovalForAll",
|
|
14729
|
-
outputs: [],
|
|
14730
|
-
stateMutability: "nonpayable"
|
|
14731
|
-
},
|
|
14732
|
-
{
|
|
14733
|
-
type: "function",
|
|
14734
|
-
inputs: [
|
|
14735
|
-
{ name: "newAuthority", internalType: "address", type: "address" }
|
|
14736
|
-
],
|
|
14737
|
-
name: "setAuthority",
|
|
14738
|
-
outputs: [],
|
|
14739
|
-
stateMutability: "nonpayable"
|
|
14740
|
-
},
|
|
14741
|
-
{
|
|
14742
|
-
type: "function",
|
|
14743
|
-
inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
|
|
14744
|
-
name: "supportsInterface",
|
|
14745
|
-
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
14746
|
-
stateMutability: "view"
|
|
14747
|
-
},
|
|
14748
|
-
{
|
|
14749
|
-
type: "function",
|
|
14750
|
-
inputs: [],
|
|
14751
|
-
name: "symbol",
|
|
14752
|
-
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
14753
|
-
stateMutability: "pure"
|
|
14754
|
-
},
|
|
14755
|
-
{
|
|
14756
|
-
type: "function",
|
|
14757
|
-
inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
|
|
14758
|
-
name: "tokenExists",
|
|
14759
|
-
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
14760
|
-
stateMutability: "view"
|
|
14761
|
-
},
|
|
14762
|
-
{
|
|
14763
|
-
type: "function",
|
|
14764
|
-
inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
|
|
14765
|
-
name: "tokenPrice",
|
|
14766
|
-
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
14767
|
-
stateMutability: "view"
|
|
14768
|
-
},
|
|
14769
|
-
{
|
|
14770
|
-
type: "function",
|
|
14771
|
-
inputs: [
|
|
14772
|
-
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
14773
|
-
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
14774
|
-
{ name: "call", internalType: "bytes", type: "bytes" }
|
|
14775
|
-
],
|
|
14776
|
-
name: "transferBatchToManagerAndCall",
|
|
14777
|
-
outputs: [{ name: "callReturn", internalType: "bytes", type: "bytes" }],
|
|
14778
|
-
stateMutability: "payable"
|
|
14779
|
-
},
|
|
14780
|
-
{
|
|
14781
|
-
type: "function",
|
|
14782
|
-
inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
|
|
14783
|
-
name: "uri",
|
|
14784
|
-
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
14785
|
-
stateMutability: "view"
|
|
14786
|
-
},
|
|
14787
|
-
{
|
|
14788
|
-
type: "event",
|
|
14789
|
-
anonymous: false,
|
|
14790
|
-
inputs: [
|
|
14791
|
-
{
|
|
14792
|
-
name: "account",
|
|
14627
|
+
name: "maker",
|
|
14793
14628
|
internalType: "address",
|
|
14794
14629
|
type: "address",
|
|
14795
14630
|
indexed: true
|
|
14796
14631
|
},
|
|
14797
14632
|
{
|
|
14798
|
-
name: "
|
|
14633
|
+
name: "coinIn",
|
|
14799
14634
|
internalType: "address",
|
|
14800
14635
|
type: "address",
|
|
14801
14636
|
indexed: true
|
|
14802
14637
|
},
|
|
14803
|
-
{ name: "approved", internalType: "bool", type: "bool", indexed: false }
|
|
14804
|
-
],
|
|
14805
|
-
name: "ApprovalForAll"
|
|
14806
|
-
},
|
|
14807
|
-
{
|
|
14808
|
-
type: "event",
|
|
14809
|
-
anonymous: false,
|
|
14810
|
-
inputs: [
|
|
14811
14638
|
{
|
|
14812
|
-
name: "
|
|
14639
|
+
name: "coinOut",
|
|
14813
14640
|
internalType: "address",
|
|
14814
14641
|
type: "address",
|
|
14815
14642
|
indexed: false
|
|
14816
|
-
}
|
|
14817
|
-
],
|
|
14818
|
-
name: "AuthorityUpdated"
|
|
14819
|
-
},
|
|
14820
|
-
{ type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
|
|
14821
|
-
{ type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
|
|
14822
|
-
{
|
|
14823
|
-
type: "event",
|
|
14824
|
-
anonymous: false,
|
|
14825
|
-
inputs: [
|
|
14643
|
+
},
|
|
14826
14644
|
{
|
|
14827
|
-
name: "
|
|
14828
|
-
internalType: "
|
|
14829
|
-
type: "
|
|
14830
|
-
indexed:
|
|
14645
|
+
name: "amountIn",
|
|
14646
|
+
internalType: "uint128",
|
|
14647
|
+
type: "uint128",
|
|
14648
|
+
indexed: false
|
|
14831
14649
|
},
|
|
14832
14650
|
{
|
|
14833
|
-
name: "
|
|
14834
|
-
internalType: "
|
|
14835
|
-
type: "
|
|
14836
|
-
indexed:
|
|
14651
|
+
name: "amountOut",
|
|
14652
|
+
internalType: "uint128",
|
|
14653
|
+
type: "uint128",
|
|
14654
|
+
indexed: false
|
|
14837
14655
|
},
|
|
14838
14656
|
{
|
|
14839
|
-
name: "
|
|
14657
|
+
name: "fillReferral",
|
|
14840
14658
|
internalType: "address",
|
|
14841
14659
|
type: "address",
|
|
14842
|
-
indexed:
|
|
14843
|
-
}
|
|
14844
|
-
],
|
|
14845
|
-
name: "TokenCreated"
|
|
14846
|
-
},
|
|
14847
|
-
{
|
|
14848
|
-
type: "event",
|
|
14849
|
-
anonymous: false,
|
|
14850
|
-
inputs: [
|
|
14660
|
+
indexed: false
|
|
14661
|
+
},
|
|
14851
14662
|
{
|
|
14852
|
-
name: "
|
|
14853
|
-
internalType: "
|
|
14854
|
-
type: "
|
|
14855
|
-
indexed:
|
|
14663
|
+
name: "fillReferralAmount",
|
|
14664
|
+
internalType: "uint128",
|
|
14665
|
+
type: "uint128",
|
|
14666
|
+
indexed: false
|
|
14856
14667
|
},
|
|
14857
|
-
{ name: "from", internalType: "address", type: "address", indexed: true },
|
|
14858
|
-
{ name: "to", internalType: "address", type: "address", indexed: true },
|
|
14859
14668
|
{
|
|
14860
|
-
name: "
|
|
14861
|
-
internalType: "
|
|
14862
|
-
type: "
|
|
14669
|
+
name: "poolKeyHash",
|
|
14670
|
+
internalType: "bytes32",
|
|
14671
|
+
type: "bytes32",
|
|
14863
14672
|
indexed: false
|
|
14864
14673
|
},
|
|
14674
|
+
{ name: "tick", internalType: "int24", type: "int24", indexed: false },
|
|
14865
14675
|
{
|
|
14866
|
-
name: "
|
|
14867
|
-
internalType: "
|
|
14868
|
-
type: "
|
|
14676
|
+
name: "orderId",
|
|
14677
|
+
internalType: "bytes32",
|
|
14678
|
+
type: "bytes32",
|
|
14869
14679
|
indexed: false
|
|
14870
14680
|
}
|
|
14871
14681
|
],
|
|
14872
|
-
name: "
|
|
14682
|
+
name: "LimitOrderFilled"
|
|
14873
14683
|
},
|
|
14874
14684
|
{
|
|
14875
14685
|
type: "event",
|
|
14876
14686
|
anonymous: false,
|
|
14877
14687
|
inputs: [
|
|
14878
14688
|
{
|
|
14879
|
-
name: "
|
|
14689
|
+
name: "maker",
|
|
14880
14690
|
internalType: "address",
|
|
14881
14691
|
type: "address",
|
|
14882
14692
|
indexed: true
|
|
14883
14693
|
},
|
|
14884
|
-
{ name: "
|
|
14885
|
-
{ name: "to", internalType: "address", type: "address", indexed: true },
|
|
14886
|
-
{ name: "id", internalType: "uint256", type: "uint256", indexed: false },
|
|
14694
|
+
{ name: "coin", internalType: "address", type: "address", indexed: true },
|
|
14887
14695
|
{
|
|
14888
|
-
name: "
|
|
14889
|
-
internalType: "
|
|
14890
|
-
type: "
|
|
14696
|
+
name: "poolKeyHash",
|
|
14697
|
+
internalType: "bytes32",
|
|
14698
|
+
type: "bytes32",
|
|
14699
|
+
indexed: false
|
|
14700
|
+
},
|
|
14701
|
+
{
|
|
14702
|
+
name: "isCurrency0",
|
|
14703
|
+
internalType: "bool",
|
|
14704
|
+
type: "bool",
|
|
14705
|
+
indexed: false
|
|
14706
|
+
},
|
|
14707
|
+
{ name: "tick", internalType: "int24", type: "int24", indexed: false },
|
|
14708
|
+
{
|
|
14709
|
+
name: "orderSize",
|
|
14710
|
+
internalType: "uint128",
|
|
14711
|
+
type: "uint128",
|
|
14712
|
+
indexed: false
|
|
14713
|
+
},
|
|
14714
|
+
{
|
|
14715
|
+
name: "orderId",
|
|
14716
|
+
internalType: "bytes32",
|
|
14717
|
+
type: "bytes32",
|
|
14718
|
+
indexed: false
|
|
14719
|
+
},
|
|
14720
|
+
{
|
|
14721
|
+
name: "isCancelled",
|
|
14722
|
+
internalType: "bool",
|
|
14723
|
+
type: "bool",
|
|
14891
14724
|
indexed: false
|
|
14892
14725
|
}
|
|
14893
14726
|
],
|
|
14894
|
-
name: "
|
|
14895
|
-
},
|
|
14896
|
-
{
|
|
14897
|
-
type: "event",
|
|
14898
|
-
anonymous: false,
|
|
14899
|
-
inputs: [
|
|
14900
|
-
{ name: "value", internalType: "string", type: "string", indexed: false },
|
|
14901
|
-
{ name: "id", internalType: "uint256", type: "uint256", indexed: true }
|
|
14902
|
-
],
|
|
14903
|
-
name: "URI"
|
|
14727
|
+
name: "LimitOrderUpdated"
|
|
14904
14728
|
},
|
|
14905
14729
|
{
|
|
14906
14730
|
type: "event",
|
|
14907
14731
|
anonymous: false,
|
|
14908
14732
|
inputs: [
|
|
14909
14733
|
{
|
|
14910
|
-
name: "
|
|
14911
|
-
internalType: "
|
|
14912
|
-
type: "
|
|
14913
|
-
indexed:
|
|
14734
|
+
name: "maker",
|
|
14735
|
+
internalType: "address",
|
|
14736
|
+
type: "address",
|
|
14737
|
+
indexed: true
|
|
14914
14738
|
},
|
|
14739
|
+
{ name: "coin", internalType: "address", type: "address", indexed: true },
|
|
14915
14740
|
{
|
|
14916
|
-
name: "
|
|
14917
|
-
internalType: "
|
|
14918
|
-
type: "
|
|
14741
|
+
name: "balance",
|
|
14742
|
+
internalType: "uint128",
|
|
14743
|
+
type: "uint128",
|
|
14919
14744
|
indexed: false
|
|
14920
14745
|
}
|
|
14921
14746
|
],
|
|
14922
|
-
name: "
|
|
14747
|
+
name: "MakerBalanceUpdated"
|
|
14923
14748
|
},
|
|
14924
14749
|
{
|
|
14925
14750
|
type: "error",
|
|
14926
14751
|
inputs: [{ name: "authority", internalType: "address", type: "address" }],
|
|
14927
14752
|
name: "AccessManagedInvalidAuthority"
|
|
14928
14753
|
},
|
|
14754
|
+
{ type: "error", inputs: [], name: "AccessManagedUnauthorized" },
|
|
14755
|
+
{ type: "error", inputs: [], name: "AddressZero" },
|
|
14756
|
+
{ type: "error", inputs: [], name: "ArrayLengthMismatch" },
|
|
14757
|
+
{ type: "error", inputs: [], name: "InsufficientBalance" },
|
|
14758
|
+
{ type: "error", inputs: [], name: "InsufficientForwardedFunds" },
|
|
14759
|
+
{ type: "error", inputs: [], name: "InsufficientTransferFunds" },
|
|
14760
|
+
{
|
|
14761
|
+
type: "error",
|
|
14762
|
+
inputs: [
|
|
14763
|
+
{ name: "startTick", internalType: "int24", type: "int24" },
|
|
14764
|
+
{ name: "endTick", internalType: "int24", type: "int24" },
|
|
14765
|
+
{ name: "isCurrency0", internalType: "bool", type: "bool" }
|
|
14766
|
+
],
|
|
14767
|
+
name: "InvalidFillWindow"
|
|
14768
|
+
},
|
|
14769
|
+
{ type: "error", inputs: [], name: "InvalidOrder" },
|
|
14770
|
+
{ type: "error", inputs: [], name: "InvalidPoolKey" },
|
|
14771
|
+
{ type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
|
|
14772
|
+
{ type: "error", inputs: [], name: "NativeValueMismatch" },
|
|
14773
|
+
{ type: "error", inputs: [], name: "NotPoolManager" },
|
|
14774
|
+
{ type: "error", inputs: [], name: "OnlyZoraHook" },
|
|
14775
|
+
{ type: "error", inputs: [], name: "OrderClosed" },
|
|
14776
|
+
{ type: "error", inputs: [], name: "OrderNotMaker" },
|
|
14777
|
+
{ type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
|
|
14778
|
+
{ type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
|
|
14779
|
+
{ type: "error", inputs: [], name: "UnknownCallback" },
|
|
14780
|
+
{ type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
|
|
14781
|
+
{ type: "error", inputs: [], name: "ZeroMaker" },
|
|
14782
|
+
{ type: "error", inputs: [], name: "ZeroMakerOrders" },
|
|
14783
|
+
{ type: "error", inputs: [], name: "ZeroOrderSize" },
|
|
14784
|
+
{ type: "error", inputs: [], name: "ZeroRealizedOrder" },
|
|
14785
|
+
{ type: "error", inputs: [], name: "AddressZero" },
|
|
14786
|
+
{ type: "error", inputs: [], name: "AlreadyOwner" },
|
|
14787
|
+
{ type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
|
|
14929
14788
|
{
|
|
14930
14789
|
type: "error",
|
|
14931
|
-
inputs: [
|
|
14932
|
-
|
|
14933
|
-
{ name: "delay", internalType: "uint32", type: "uint32" }
|
|
14934
|
-
],
|
|
14935
|
-
name: "AccessManagedRequiredDelay"
|
|
14936
|
-
},
|
|
14937
|
-
{
|
|
14938
|
-
type: "error",
|
|
14939
|
-
inputs: [{ name: "caller", internalType: "address", type: "address" }],
|
|
14940
|
-
name: "AccessManagedUnauthorized"
|
|
14790
|
+
inputs: [],
|
|
14791
|
+
name: "DopplerPoolMustHaveMoreThan2DiscoveryPositions"
|
|
14941
14792
|
},
|
|
14793
|
+
{ type: "error", inputs: [], name: "ECDSAInvalidSignature" },
|
|
14942
14794
|
{
|
|
14943
14795
|
type: "error",
|
|
14944
|
-
inputs: [{ name: "
|
|
14945
|
-
name: "
|
|
14796
|
+
inputs: [{ name: "length", internalType: "uint256", type: "uint256" }],
|
|
14797
|
+
name: "ECDSAInvalidSignatureLength"
|
|
14946
14798
|
},
|
|
14947
14799
|
{
|
|
14948
14800
|
type: "error",
|
|
14949
|
-
inputs: [{ name: "
|
|
14950
|
-
name: "
|
|
14801
|
+
inputs: [{ name: "s", internalType: "bytes32", type: "bytes32" }],
|
|
14802
|
+
name: "ECDSAInvalidSignatureS"
|
|
14951
14803
|
},
|
|
14952
14804
|
{
|
|
14953
14805
|
type: "error",
|
|
14954
14806
|
inputs: [
|
|
14955
|
-
{ name: "
|
|
14956
|
-
{ name: "
|
|
14807
|
+
{ name: "spender", internalType: "address", type: "address" },
|
|
14808
|
+
{ name: "allowance", internalType: "uint256", type: "uint256" },
|
|
14809
|
+
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
14957
14810
|
],
|
|
14958
|
-
name: "
|
|
14959
|
-
},
|
|
14960
|
-
{
|
|
14961
|
-
type: "error",
|
|
14962
|
-
inputs: [{ name: "returnData", internalType: "bytes", type: "bytes" }],
|
|
14963
|
-
name: "CallFailed"
|
|
14811
|
+
name: "ERC20InsufficientAllowance"
|
|
14964
14812
|
},
|
|
14965
14813
|
{
|
|
14966
14814
|
type: "error",
|
|
14967
14815
|
inputs: [
|
|
14968
14816
|
{ name: "sender", internalType: "address", type: "address" },
|
|
14969
14817
|
{ name: "balance", internalType: "uint256", type: "uint256" },
|
|
14970
|
-
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
14971
|
-
{ name: "tokenId", internalType: "uint256", type: "uint256" }
|
|
14818
|
+
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
14972
14819
|
],
|
|
14973
|
-
name: "
|
|
14820
|
+
name: "ERC20InsufficientBalance"
|
|
14974
14821
|
},
|
|
14975
14822
|
{
|
|
14976
14823
|
type: "error",
|
|
14977
14824
|
inputs: [{ name: "approver", internalType: "address", type: "address" }],
|
|
14978
|
-
name: "
|
|
14825
|
+
name: "ERC20InvalidApprover"
|
|
14979
14826
|
},
|
|
14980
14827
|
{
|
|
14981
14828
|
type: "error",
|
|
14982
|
-
inputs: [
|
|
14983
|
-
|
|
14984
|
-
{ name: "valuesLength", internalType: "uint256", type: "uint256" }
|
|
14985
|
-
],
|
|
14986
|
-
name: "ERC1155InvalidArrayLength"
|
|
14829
|
+
inputs: [{ name: "receiver", internalType: "address", type: "address" }],
|
|
14830
|
+
name: "ERC20InvalidReceiver"
|
|
14987
14831
|
},
|
|
14988
14832
|
{
|
|
14989
14833
|
type: "error",
|
|
14990
|
-
inputs: [{ name: "
|
|
14991
|
-
name: "
|
|
14834
|
+
inputs: [{ name: "sender", internalType: "address", type: "address" }],
|
|
14835
|
+
name: "ERC20InvalidSender"
|
|
14992
14836
|
},
|
|
14993
14837
|
{
|
|
14994
14838
|
type: "error",
|
|
14995
|
-
inputs: [{ name: "
|
|
14996
|
-
name: "
|
|
14839
|
+
inputs: [{ name: "spender", internalType: "address", type: "address" }],
|
|
14840
|
+
name: "ERC20InvalidSpender"
|
|
14997
14841
|
},
|
|
14842
|
+
{ type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
|
|
14998
14843
|
{
|
|
14999
14844
|
type: "error",
|
|
15000
|
-
inputs: [{ name: "
|
|
15001
|
-
name: "
|
|
14845
|
+
inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
|
|
14846
|
+
name: "ERC2612ExpiredSignature"
|
|
15002
14847
|
},
|
|
15003
14848
|
{
|
|
15004
14849
|
type: "error",
|
|
15005
14850
|
inputs: [
|
|
15006
|
-
{ name: "
|
|
14851
|
+
{ name: "signer", internalType: "address", type: "address" },
|
|
15007
14852
|
{ name: "owner", internalType: "address", type: "address" }
|
|
15008
14853
|
],
|
|
15009
|
-
name: "
|
|
15010
|
-
},
|
|
15011
|
-
{ type: "error", inputs: [], name: "ERC20TransferSlippage" },
|
|
15012
|
-
{
|
|
15013
|
-
type: "error",
|
|
15014
|
-
inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
|
|
15015
|
-
name: "ERC2612ExpiredSignature"
|
|
14854
|
+
name: "ERC2612InvalidSigner"
|
|
15016
14855
|
},
|
|
15017
|
-
{ type: "error", inputs: [], name: "
|
|
15018
|
-
{ type: "error", inputs: [], name: "
|
|
15019
|
-
{ type: "error", inputs: [], name: "
|
|
14856
|
+
{ type: "error", inputs: [], name: "EthAmountMismatch" },
|
|
14857
|
+
{ type: "error", inputs: [], name: "EthAmountTooSmall" },
|
|
14858
|
+
{ type: "error", inputs: [], name: "EthTransferFailed" },
|
|
14859
|
+
{ type: "error", inputs: [], name: "EthTransferInvalid" },
|
|
14860
|
+
{ type: "error", inputs: [], name: "InitialOrderSizeTooLarge" },
|
|
14861
|
+
{ type: "error", inputs: [], name: "InsufficientFunds" },
|
|
14862
|
+
{ type: "error", inputs: [], name: "InsufficientLiquidity" },
|
|
15020
14863
|
{
|
|
15021
14864
|
type: "error",
|
|
15022
14865
|
inputs: [
|
|
@@ -15025,297 +14868,201 @@ var zoraMints1155ABI = [
|
|
|
15025
14868
|
],
|
|
15026
14869
|
name: "InvalidAccountNonce"
|
|
15027
14870
|
},
|
|
15028
|
-
{ type: "error", inputs: [], name: "
|
|
15029
|
-
{ type: "error", inputs: [], name: "
|
|
15030
|
-
{ type: "error", inputs: [], name: "
|
|
15031
|
-
{ type: "error", inputs: [], name: "
|
|
15032
|
-
{ type: "error", inputs: [], name: "NoUriForNonexistentToken" },
|
|
14871
|
+
{ type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
|
|
14872
|
+
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
14873
|
+
{ type: "error", inputs: [], name: "InvalidMarketType" },
|
|
14874
|
+
{ type: "error", inputs: [], name: "InvalidPoolVersion" },
|
|
15033
14875
|
{
|
|
15034
14876
|
type: "error",
|
|
15035
|
-
inputs: [
|
|
15036
|
-
|
|
14877
|
+
inputs: [
|
|
14878
|
+
{ name: "tickLower", internalType: "int24", type: "int24" },
|
|
14879
|
+
{ name: "tickUpper", internalType: "int24", type: "int24" }
|
|
14880
|
+
],
|
|
14881
|
+
name: "InvalidTickRangeMisordered"
|
|
15037
14882
|
},
|
|
14883
|
+
{ type: "error", inputs: [], name: "InvalidWethLowerTick" },
|
|
14884
|
+
{ type: "error", inputs: [], name: "LegacyPoolMustHaveOneDiscoveryPosition" },
|
|
14885
|
+
{ type: "error", inputs: [], name: "MarketAlreadyGraduated" },
|
|
14886
|
+
{ type: "error", inputs: [], name: "MarketNotGraduated" },
|
|
15038
14887
|
{
|
|
15039
14888
|
type: "error",
|
|
15040
|
-
inputs: [
|
|
15041
|
-
|
|
14889
|
+
inputs: [
|
|
14890
|
+
{ name: "value", internalType: "uint256", type: "uint256" },
|
|
14891
|
+
{ name: "limit", internalType: "uint256", type: "uint256" }
|
|
14892
|
+
],
|
|
14893
|
+
name: "MaxShareToBeSoldExceeded"
|
|
15042
14894
|
},
|
|
14895
|
+
{ type: "error", inputs: [], name: "NameIsRequired" },
|
|
14896
|
+
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
14897
|
+
{ type: "error", inputs: [], name: "NotOwner" },
|
|
14898
|
+
{ type: "error", inputs: [], name: "NumDiscoveryPositionsOutOfRange" },
|
|
14899
|
+
{ type: "error", inputs: [], name: "OneOwnerRequired" },
|
|
14900
|
+
{ type: "error", inputs: [], name: "OnlyOwner" },
|
|
15043
14901
|
{
|
|
15044
14902
|
type: "error",
|
|
15045
|
-
inputs: [
|
|
15046
|
-
|
|
14903
|
+
inputs: [
|
|
14904
|
+
{ name: "sender", internalType: "address", type: "address" },
|
|
14905
|
+
{ name: "pool", internalType: "address", type: "address" }
|
|
14906
|
+
],
|
|
14907
|
+
name: "OnlyPool"
|
|
14908
|
+
},
|
|
14909
|
+
{ type: "error", inputs: [], name: "OnlyWeth" },
|
|
14910
|
+
{ type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
|
|
14911
|
+
{ type: "error", inputs: [], name: "SlippageBoundsExceeded" },
|
|
14912
|
+
{ type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" },
|
|
14913
|
+
{ type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
|
|
14914
|
+
{ type: "error", inputs: [], name: "CoinVersionLookupCannotBeZeroAddress" },
|
|
14915
|
+
{ type: "error", inputs: [], name: "EthTransferFailed" },
|
|
14916
|
+
{ type: "error", inputs: [], name: "HookNotImplemented" },
|
|
14917
|
+
{
|
|
14918
|
+
type: "error",
|
|
14919
|
+
inputs: [{ name: "callbackId", internalType: "uint8", type: "uint8" }],
|
|
14920
|
+
name: "InvalidCallbackId"
|
|
14921
|
+
},
|
|
14922
|
+
{
|
|
14923
|
+
type: "error",
|
|
14924
|
+
inputs: [{ name: "newHook", internalType: "address", type: "address" }],
|
|
14925
|
+
name: "InvalidNewHook"
|
|
14926
|
+
},
|
|
14927
|
+
{
|
|
14928
|
+
type: "error",
|
|
14929
|
+
inputs: [
|
|
14930
|
+
{ name: "tickLower", internalType: "int24", type: "int24" },
|
|
14931
|
+
{ name: "tickUpper", internalType: "int24", type: "int24" }
|
|
14932
|
+
],
|
|
14933
|
+
name: "InvalidTickRangeMisordered"
|
|
15047
14934
|
},
|
|
15048
|
-
{ type: "error", inputs: [], name: "TokenAlreadyCreated" },
|
|
15049
|
-
{ type: "error", inputs: [], name: "TokenDoesNotExist" },
|
|
15050
14935
|
{
|
|
15051
14936
|
type: "error",
|
|
15052
14937
|
inputs: [
|
|
15053
|
-
{ name: "storedTokenAddress", internalType: "address", type: "address" },
|
|
15054
14938
|
{
|
|
15055
|
-
name: "
|
|
15056
|
-
internalType: "
|
|
15057
|
-
type: "
|
|
14939
|
+
name: "key",
|
|
14940
|
+
internalType: "struct PoolKey",
|
|
14941
|
+
type: "tuple",
|
|
14942
|
+
components: [
|
|
14943
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
14944
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
14945
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
14946
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
14947
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
14948
|
+
]
|
|
15058
14949
|
}
|
|
15059
14950
|
],
|
|
15060
|
-
name: "
|
|
14951
|
+
name: "NoCoinForHook"
|
|
15061
14952
|
},
|
|
15062
|
-
{
|
|
14953
|
+
{
|
|
14954
|
+
type: "error",
|
|
14955
|
+
inputs: [{ name: "coin", internalType: "address", type: "address" }],
|
|
14956
|
+
name: "NotACoin"
|
|
14957
|
+
},
|
|
14958
|
+
{ type: "error", inputs: [], name: "NotPoolManager" },
|
|
14959
|
+
{
|
|
14960
|
+
type: "error",
|
|
14961
|
+
inputs: [
|
|
14962
|
+
{ name: "caller", internalType: "address", type: "address" },
|
|
14963
|
+
{ name: "expectedCoin", internalType: "address", type: "address" }
|
|
14964
|
+
],
|
|
14965
|
+
name: "OnlyCoin"
|
|
14966
|
+
},
|
|
14967
|
+
{ type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
|
|
14968
|
+
{ type: "error", inputs: [], name: "SafeCastOverflow" },
|
|
14969
|
+
{
|
|
14970
|
+
type: "error",
|
|
14971
|
+
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
14972
|
+
name: "SafeERC20FailedOperation"
|
|
14973
|
+
},
|
|
14974
|
+
{
|
|
14975
|
+
type: "error",
|
|
14976
|
+
inputs: [],
|
|
14977
|
+
name: "TrustedMsgSenderLookupCannotBeZeroAddress"
|
|
14978
|
+
},
|
|
14979
|
+
{ type: "error", inputs: [], name: "UpgradeGateCannotBeZeroAddress" },
|
|
14980
|
+
{
|
|
14981
|
+
type: "error",
|
|
14982
|
+
inputs: [
|
|
14983
|
+
{ name: "oldHook", internalType: "address", type: "address" },
|
|
14984
|
+
{ name: "newHook", internalType: "address", type: "address" }
|
|
14985
|
+
],
|
|
14986
|
+
name: "UpgradePathNotRegistered"
|
|
14987
|
+
}
|
|
15063
14988
|
];
|
|
15064
|
-
var
|
|
15065
|
-
|
|
15066
|
-
999999999: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073"
|
|
14989
|
+
var zoraLimitOrderBookAddress = {
|
|
14990
|
+
8453: "0xBF26D61054Ad1f0f7AcafF9b3A0627A37915D627"
|
|
15067
14991
|
};
|
|
15068
|
-
var
|
|
15069
|
-
address:
|
|
15070
|
-
abi:
|
|
14992
|
+
var zoraLimitOrderBookConfig = {
|
|
14993
|
+
address: zoraLimitOrderBookAddress,
|
|
14994
|
+
abi: zoraLimitOrderBookABI
|
|
15071
14995
|
};
|
|
15072
|
-
var
|
|
14996
|
+
var zoraMints1155ABI = [
|
|
14997
|
+
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
15073
14998
|
{
|
|
15074
|
-
type: "
|
|
15075
|
-
inputs: [
|
|
15076
|
-
|
|
15077
|
-
|
|
15078
|
-
|
|
15079
|
-
type: "address"
|
|
15080
|
-
}
|
|
15081
|
-
],
|
|
15082
|
-
stateMutability: "nonpayable"
|
|
14999
|
+
type: "function",
|
|
15000
|
+
inputs: [],
|
|
15001
|
+
name: "ETH_ADDRESS",
|
|
15002
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
15003
|
+
stateMutability: "view"
|
|
15083
15004
|
},
|
|
15084
15005
|
{
|
|
15085
15006
|
type: "function",
|
|
15086
15007
|
inputs: [],
|
|
15087
|
-
name: "
|
|
15008
|
+
name: "MINIMUM_ERC20_PRICE",
|
|
15009
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
15010
|
+
stateMutability: "view"
|
|
15011
|
+
},
|
|
15012
|
+
{
|
|
15013
|
+
type: "function",
|
|
15014
|
+
inputs: [],
|
|
15015
|
+
name: "MINIMUM_ETH_PRICE",
|
|
15016
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
15017
|
+
stateMutability: "view"
|
|
15018
|
+
},
|
|
15019
|
+
{
|
|
15020
|
+
type: "function",
|
|
15021
|
+
inputs: [],
|
|
15022
|
+
name: "NAME",
|
|
15088
15023
|
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
15089
15024
|
stateMutability: "view"
|
|
15090
15025
|
},
|
|
15091
15026
|
{
|
|
15092
15027
|
type: "function",
|
|
15093
15028
|
inputs: [],
|
|
15094
|
-
name: "
|
|
15095
|
-
outputs: [],
|
|
15096
|
-
stateMutability: "
|
|
15029
|
+
name: "VERSION",
|
|
15030
|
+
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
15031
|
+
stateMutability: "view"
|
|
15097
15032
|
},
|
|
15098
15033
|
{
|
|
15099
15034
|
type: "function",
|
|
15100
|
-
inputs: [
|
|
15101
|
-
|
|
15102
|
-
|
|
15103
|
-
|
|
15104
|
-
{ name: "call", internalType: "bytes", type: "bytes" }
|
|
15105
|
-
],
|
|
15106
|
-
name: "callWithTransferTokens",
|
|
15107
|
-
outputs: [
|
|
15108
|
-
{ name: "success", internalType: "bool", type: "bool" },
|
|
15109
|
-
{ name: "result", internalType: "bytes", type: "bytes" }
|
|
15110
|
-
],
|
|
15111
|
-
stateMutability: "payable"
|
|
15035
|
+
inputs: [],
|
|
15036
|
+
name: "authority",
|
|
15037
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
15038
|
+
stateMutability: "view"
|
|
15112
15039
|
},
|
|
15113
15040
|
{
|
|
15114
15041
|
type: "function",
|
|
15115
15042
|
inputs: [
|
|
15116
|
-
{ name: "
|
|
15117
|
-
{ name: "", internalType: "
|
|
15118
|
-
{ name: "", internalType: "bytes4", type: "bytes4" }
|
|
15043
|
+
{ name: "account", internalType: "address", type: "address" },
|
|
15044
|
+
{ name: "id", internalType: "uint256", type: "uint256" }
|
|
15119
15045
|
],
|
|
15120
|
-
name: "
|
|
15121
|
-
outputs: [{ name: "", internalType: "
|
|
15046
|
+
name: "balanceOf",
|
|
15047
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
15122
15048
|
stateMutability: "view"
|
|
15123
15049
|
},
|
|
15124
15050
|
{
|
|
15125
15051
|
type: "function",
|
|
15126
|
-
inputs: [
|
|
15127
|
-
|
|
15128
|
-
|
|
15129
|
-
|
|
15130
|
-
type: "address"
|
|
15131
|
-
},
|
|
15132
|
-
{ name: "minter", internalType: "contract IMinter1155", type: "address" },
|
|
15133
|
-
{
|
|
15134
|
-
name: "zoraCreator1155TokenId",
|
|
15135
|
-
internalType: "uint256",
|
|
15136
|
-
type: "uint256"
|
|
15137
|
-
},
|
|
15138
|
-
{
|
|
15139
|
-
name: "collectMintArguments",
|
|
15140
|
-
internalType: "struct ICollectWithZoraSparks.CollectMintArguments",
|
|
15141
|
-
type: "tuple",
|
|
15142
|
-
components: [
|
|
15143
|
-
{
|
|
15144
|
-
name: "mintRewardsRecipients",
|
|
15145
|
-
internalType: "address[]",
|
|
15146
|
-
type: "address[]"
|
|
15147
|
-
},
|
|
15148
|
-
{ name: "minterArguments", internalType: "bytes", type: "bytes" },
|
|
15149
|
-
{ name: "mintComment", internalType: "string", type: "string" }
|
|
15150
|
-
]
|
|
15151
|
-
}
|
|
15152
|
-
],
|
|
15153
|
-
name: "collect",
|
|
15154
|
-
outputs: [],
|
|
15155
|
-
stateMutability: "payable"
|
|
15052
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
15053
|
+
name: "balanceOfAccount",
|
|
15054
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
15055
|
+
stateMutability: "view"
|
|
15156
15056
|
},
|
|
15157
15057
|
{
|
|
15158
15058
|
type: "function",
|
|
15159
15059
|
inputs: [
|
|
15160
|
-
{
|
|
15161
|
-
|
|
15162
|
-
internalType: "struct ContractWithAdditionalAdminsCreationConfig",
|
|
15163
|
-
type: "tuple",
|
|
15164
|
-
components: [
|
|
15165
|
-
{ name: "contractAdmin", internalType: "address", type: "address" },
|
|
15166
|
-
{ name: "contractURI", internalType: "string", type: "string" },
|
|
15167
|
-
{ name: "contractName", internalType: "string", type: "string" },
|
|
15168
|
-
{
|
|
15169
|
-
name: "additionalAdmins",
|
|
15170
|
-
internalType: "address[]",
|
|
15171
|
-
type: "address[]"
|
|
15172
|
-
}
|
|
15173
|
-
]
|
|
15174
|
-
},
|
|
15175
|
-
{ name: "tokenContract", internalType: "address", type: "address" },
|
|
15176
|
-
{
|
|
15177
|
-
name: "premintConfig",
|
|
15178
|
-
internalType: "struct PremintConfigEncoded",
|
|
15179
|
-
type: "tuple",
|
|
15180
|
-
components: [
|
|
15181
|
-
{ name: "uid", internalType: "uint32", type: "uint32" },
|
|
15182
|
-
{ name: "version", internalType: "uint32", type: "uint32" },
|
|
15183
|
-
{ name: "deleted", internalType: "bool", type: "bool" },
|
|
15184
|
-
{ name: "tokenConfig", internalType: "bytes", type: "bytes" },
|
|
15185
|
-
{
|
|
15186
|
-
name: "premintConfigVersion",
|
|
15187
|
-
internalType: "bytes32",
|
|
15188
|
-
type: "bytes32"
|
|
15189
|
-
}
|
|
15190
|
-
]
|
|
15191
|
-
},
|
|
15192
|
-
{ name: "signature", internalType: "bytes", type: "bytes" },
|
|
15193
|
-
{
|
|
15194
|
-
name: "mintArguments",
|
|
15195
|
-
internalType: "struct MintArguments",
|
|
15196
|
-
type: "tuple",
|
|
15197
|
-
components: [
|
|
15198
|
-
{ name: "mintRecipient", internalType: "address", type: "address" },
|
|
15199
|
-
{ name: "mintComment", internalType: "string", type: "string" },
|
|
15200
|
-
{
|
|
15201
|
-
name: "mintRewardsRecipients",
|
|
15202
|
-
internalType: "address[]",
|
|
15203
|
-
type: "address[]"
|
|
15204
|
-
}
|
|
15205
|
-
]
|
|
15206
|
-
},
|
|
15207
|
-
{ name: "firstMinter", internalType: "address", type: "address" },
|
|
15208
|
-
{ name: "signerContract", internalType: "address", type: "address" }
|
|
15209
|
-
],
|
|
15210
|
-
name: "collectPremint",
|
|
15211
|
-
outputs: [
|
|
15212
|
-
{
|
|
15213
|
-
name: "result",
|
|
15214
|
-
internalType: "struct PremintResult",
|
|
15215
|
-
type: "tuple",
|
|
15216
|
-
components: [
|
|
15217
|
-
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
15218
|
-
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
15219
|
-
{ name: "createdNewContract", internalType: "bool", type: "bool" }
|
|
15220
|
-
]
|
|
15221
|
-
}
|
|
15222
|
-
],
|
|
15223
|
-
stateMutability: "payable"
|
|
15224
|
-
},
|
|
15225
|
-
{
|
|
15226
|
-
type: "function",
|
|
15227
|
-
inputs: [
|
|
15228
|
-
{
|
|
15229
|
-
name: "contractConfig",
|
|
15230
|
-
internalType: "struct ContractCreationConfig",
|
|
15231
|
-
type: "tuple",
|
|
15232
|
-
components: [
|
|
15233
|
-
{ name: "contractAdmin", internalType: "address", type: "address" },
|
|
15234
|
-
{ name: "contractURI", internalType: "string", type: "string" },
|
|
15235
|
-
{ name: "contractName", internalType: "string", type: "string" }
|
|
15236
|
-
]
|
|
15237
|
-
},
|
|
15238
|
-
{
|
|
15239
|
-
name: "premintConfig",
|
|
15240
|
-
internalType: "struct PremintConfigV2",
|
|
15241
|
-
type: "tuple",
|
|
15242
|
-
components: [
|
|
15243
|
-
{
|
|
15244
|
-
name: "tokenConfig",
|
|
15245
|
-
internalType: "struct TokenCreationConfigV2",
|
|
15246
|
-
type: "tuple",
|
|
15247
|
-
components: [
|
|
15248
|
-
{ name: "tokenURI", internalType: "string", type: "string" },
|
|
15249
|
-
{ name: "maxSupply", internalType: "uint256", type: "uint256" },
|
|
15250
|
-
{
|
|
15251
|
-
name: "maxTokensPerAddress",
|
|
15252
|
-
internalType: "uint64",
|
|
15253
|
-
type: "uint64"
|
|
15254
|
-
},
|
|
15255
|
-
{ name: "pricePerToken", internalType: "uint96", type: "uint96" },
|
|
15256
|
-
{ name: "mintStart", internalType: "uint64", type: "uint64" },
|
|
15257
|
-
{ name: "mintDuration", internalType: "uint64", type: "uint64" },
|
|
15258
|
-
{ name: "royaltyBPS", internalType: "uint32", type: "uint32" },
|
|
15259
|
-
{
|
|
15260
|
-
name: "payoutRecipient",
|
|
15261
|
-
internalType: "address",
|
|
15262
|
-
type: "address"
|
|
15263
|
-
},
|
|
15264
|
-
{
|
|
15265
|
-
name: "fixedPriceMinter",
|
|
15266
|
-
internalType: "address",
|
|
15267
|
-
type: "address"
|
|
15268
|
-
},
|
|
15269
|
-
{
|
|
15270
|
-
name: "createReferral",
|
|
15271
|
-
internalType: "address",
|
|
15272
|
-
type: "address"
|
|
15273
|
-
}
|
|
15274
|
-
]
|
|
15275
|
-
},
|
|
15276
|
-
{ name: "uid", internalType: "uint32", type: "uint32" },
|
|
15277
|
-
{ name: "version", internalType: "uint32", type: "uint32" },
|
|
15278
|
-
{ name: "deleted", internalType: "bool", type: "bool" }
|
|
15279
|
-
]
|
|
15280
|
-
},
|
|
15281
|
-
{ name: "signature", internalType: "bytes", type: "bytes" },
|
|
15282
|
-
{
|
|
15283
|
-
name: "mintArguments",
|
|
15284
|
-
internalType: "struct MintArguments",
|
|
15285
|
-
type: "tuple",
|
|
15286
|
-
components: [
|
|
15287
|
-
{ name: "mintRecipient", internalType: "address", type: "address" },
|
|
15288
|
-
{ name: "mintComment", internalType: "string", type: "string" },
|
|
15289
|
-
{
|
|
15290
|
-
name: "mintRewardsRecipients",
|
|
15291
|
-
internalType: "address[]",
|
|
15292
|
-
type: "address[]"
|
|
15293
|
-
}
|
|
15294
|
-
]
|
|
15295
|
-
},
|
|
15296
|
-
{ name: "signerContract", internalType: "address", type: "address" }
|
|
15297
|
-
],
|
|
15298
|
-
name: "collectPremintV2",
|
|
15299
|
-
outputs: [
|
|
15300
|
-
{
|
|
15301
|
-
name: "result",
|
|
15302
|
-
internalType: "struct PremintResult",
|
|
15303
|
-
type: "tuple",
|
|
15304
|
-
components: [
|
|
15305
|
-
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
15306
|
-
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
15307
|
-
{ name: "createdNewContract", internalType: "bool", type: "bool" }
|
|
15308
|
-
]
|
|
15309
|
-
}
|
|
15060
|
+
{ name: "accounts", internalType: "address[]", type: "address[]" },
|
|
15061
|
+
{ name: "ids", internalType: "uint256[]", type: "uint256[]" }
|
|
15310
15062
|
],
|
|
15311
|
-
|
|
15312
|
-
|
|
15313
|
-
|
|
15314
|
-
type: "function",
|
|
15315
|
-
inputs: [],
|
|
15316
|
-
name: "contractName",
|
|
15317
|
-
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
15318
|
-
stateMutability: "pure"
|
|
15063
|
+
name: "balanceOfBatch",
|
|
15064
|
+
outputs: [{ name: "", internalType: "uint256[]", type: "uint256[]" }],
|
|
15065
|
+
stateMutability: "view"
|
|
15319
15066
|
},
|
|
15320
15067
|
{
|
|
15321
15068
|
type: "function",
|
|
@@ -15324,13 +15071,6 @@ var zoraMintsManagerImplABI = [
|
|
|
15324
15071
|
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
15325
15072
|
stateMutability: "view"
|
|
15326
15073
|
},
|
|
15327
|
-
{
|
|
15328
|
-
type: "function",
|
|
15329
|
-
inputs: [],
|
|
15330
|
-
name: "contractVersion",
|
|
15331
|
-
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
15332
|
-
stateMutability: "pure"
|
|
15333
|
-
},
|
|
15334
15074
|
{
|
|
15335
15075
|
type: "function",
|
|
15336
15076
|
inputs: [
|
|
@@ -15344,8 +15084,7 @@ var zoraMintsManagerImplABI = [
|
|
|
15344
15084
|
{ name: "tokenAddress", internalType: "address", type: "address" },
|
|
15345
15085
|
{ name: "redeemHandler", internalType: "address", type: "address" }
|
|
15346
15086
|
]
|
|
15347
|
-
}
|
|
15348
|
-
{ name: "defaultMintable", internalType: "bool", type: "bool" }
|
|
15087
|
+
}
|
|
15349
15088
|
],
|
|
15350
15089
|
name: "createToken",
|
|
15351
15090
|
outputs: [],
|
|
@@ -15353,194 +15092,1725 @@ var zoraMintsManagerImplABI = [
|
|
|
15353
15092
|
},
|
|
15354
15093
|
{
|
|
15355
15094
|
type: "function",
|
|
15356
|
-
inputs: [
|
|
15357
|
-
name: "
|
|
15095
|
+
inputs: [],
|
|
15096
|
+
name: "eip712Domain",
|
|
15358
15097
|
outputs: [
|
|
15359
|
-
{ name: "
|
|
15360
|
-
{ name: "
|
|
15098
|
+
{ name: "fields", internalType: "bytes1", type: "bytes1" },
|
|
15099
|
+
{ name: "name", internalType: "string", type: "string" },
|
|
15100
|
+
{ name: "version", internalType: "string", type: "string" },
|
|
15101
|
+
{ name: "chainId", internalType: "uint256", type: "uint256" },
|
|
15102
|
+
{ name: "verifyingContract", internalType: "address", type: "address" },
|
|
15103
|
+
{ name: "salt", internalType: "bytes32", type: "bytes32" },
|
|
15104
|
+
{ name: "extensions", internalType: "uint256[]", type: "uint256[]" }
|
|
15361
15105
|
],
|
|
15362
|
-
stateMutability: "pure"
|
|
15363
|
-
},
|
|
15364
|
-
{
|
|
15365
|
-
type: "function",
|
|
15366
|
-
inputs: [],
|
|
15367
|
-
name: "getEthPrice",
|
|
15368
|
-
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
15369
15106
|
stateMutability: "view"
|
|
15370
15107
|
},
|
|
15371
15108
|
{
|
|
15372
15109
|
type: "function",
|
|
15373
15110
|
inputs: [],
|
|
15374
|
-
name: "
|
|
15111
|
+
name: "getManager",
|
|
15375
15112
|
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
15376
15113
|
stateMutability: "view"
|
|
15377
15114
|
},
|
|
15378
15115
|
{
|
|
15379
15116
|
type: "function",
|
|
15380
|
-
inputs: [
|
|
15381
|
-
|
|
15382
|
-
{ name: "zoraSparksSalt", internalType: "bytes32", type: "bytes32" },
|
|
15383
|
-
{ name: "zoraSparksCreationCode", internalType: "bytes", type: "bytes" },
|
|
15384
|
-
{ name: "initialEthTokenId", internalType: "uint256", type: "uint256" },
|
|
15385
|
-
{
|
|
15386
|
-
name: "initialEthTokenPrice",
|
|
15387
|
-
internalType: "uint256",
|
|
15388
|
-
type: "uint256"
|
|
15389
|
-
},
|
|
15390
|
-
{ name: "newBaseURI", internalType: "string", type: "string" },
|
|
15391
|
-
{ name: "newContractURI", internalType: "string", type: "string" }
|
|
15392
|
-
],
|
|
15393
|
-
name: "initialize",
|
|
15117
|
+
inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
|
|
15118
|
+
name: "getTokenConfig",
|
|
15394
15119
|
outputs: [
|
|
15395
15120
|
{
|
|
15396
|
-
name: "
|
|
15397
|
-
internalType: "
|
|
15398
|
-
type: "
|
|
15121
|
+
name: "",
|
|
15122
|
+
internalType: "struct TokenConfig",
|
|
15123
|
+
type: "tuple",
|
|
15124
|
+
components: [
|
|
15125
|
+
{ name: "price", internalType: "uint256", type: "uint256" },
|
|
15126
|
+
{ name: "tokenAddress", internalType: "address", type: "address" },
|
|
15127
|
+
{ name: "redeemHandler", internalType: "address", type: "address" }
|
|
15128
|
+
]
|
|
15399
15129
|
}
|
|
15400
15130
|
],
|
|
15401
|
-
stateMutability: "
|
|
15131
|
+
stateMutability: "view"
|
|
15402
15132
|
},
|
|
15403
15133
|
{
|
|
15404
15134
|
type: "function",
|
|
15405
15135
|
inputs: [
|
|
15406
|
-
{
|
|
15407
|
-
|
|
15408
|
-
|
|
15409
|
-
|
|
15410
|
-
|
|
15411
|
-
|
|
15412
|
-
|
|
15136
|
+
{
|
|
15137
|
+
name: "permit",
|
|
15138
|
+
internalType: "struct IZoraSparks1155Managed.PermitBatch",
|
|
15139
|
+
type: "tuple",
|
|
15140
|
+
components: [
|
|
15141
|
+
{ name: "owner", internalType: "address", type: "address" },
|
|
15142
|
+
{ name: "to", internalType: "address", type: "address" },
|
|
15143
|
+
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
15144
|
+
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
15145
|
+
{ name: "safeTransferData", internalType: "bytes", type: "bytes" },
|
|
15146
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
15147
|
+
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
15148
|
+
]
|
|
15149
|
+
}
|
|
15413
15150
|
],
|
|
15414
|
-
|
|
15151
|
+
name: "hashPermitBatch",
|
|
15152
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
|
|
15153
|
+
stateMutability: "view"
|
|
15415
15154
|
},
|
|
15416
15155
|
{
|
|
15417
15156
|
type: "function",
|
|
15418
15157
|
inputs: [
|
|
15419
|
-
{
|
|
15420
|
-
|
|
15421
|
-
|
|
15422
|
-
|
|
15423
|
-
|
|
15424
|
-
|
|
15425
|
-
|
|
15426
|
-
|
|
15158
|
+
{
|
|
15159
|
+
name: "permit",
|
|
15160
|
+
internalType: "struct IZoraSparks1155Managed.PermitSingle",
|
|
15161
|
+
type: "tuple",
|
|
15162
|
+
components: [
|
|
15163
|
+
{ name: "owner", internalType: "address", type: "address" },
|
|
15164
|
+
{ name: "to", internalType: "address", type: "address" },
|
|
15165
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
15166
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
15167
|
+
{ name: "safeTransferData", internalType: "bytes", type: "bytes" },
|
|
15168
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
15169
|
+
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
15170
|
+
]
|
|
15171
|
+
}
|
|
15172
|
+
],
|
|
15173
|
+
name: "hashPermitSingle",
|
|
15174
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
|
|
15175
|
+
stateMutability: "view"
|
|
15176
|
+
},
|
|
15177
|
+
{
|
|
15178
|
+
type: "function",
|
|
15179
|
+
inputs: [
|
|
15180
|
+
{ name: "account", internalType: "address", type: "address" },
|
|
15181
|
+
{ name: "operator", internalType: "address", type: "address" }
|
|
15182
|
+
],
|
|
15183
|
+
name: "isApprovedForAll",
|
|
15184
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
15185
|
+
stateMutability: "view"
|
|
15427
15186
|
},
|
|
15428
15187
|
{
|
|
15429
15188
|
type: "function",
|
|
15430
15189
|
inputs: [],
|
|
15431
|
-
name: "
|
|
15432
|
-
outputs: [{ name: "", internalType: "
|
|
15190
|
+
name: "isConsumingScheduledOp",
|
|
15191
|
+
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
|
|
15433
15192
|
stateMutability: "view"
|
|
15434
15193
|
},
|
|
15435
15194
|
{
|
|
15436
15195
|
type: "function",
|
|
15437
15196
|
inputs: [
|
|
15438
|
-
{
|
|
15197
|
+
{
|
|
15198
|
+
name: "permit",
|
|
15199
|
+
internalType: "struct IZoraSparks1155Managed.PermitBatch",
|
|
15200
|
+
type: "tuple",
|
|
15201
|
+
components: [
|
|
15202
|
+
{ name: "owner", internalType: "address", type: "address" },
|
|
15203
|
+
{ name: "to", internalType: "address", type: "address" },
|
|
15204
|
+
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
15205
|
+
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
15206
|
+
{ name: "safeTransferData", internalType: "bytes", type: "bytes" },
|
|
15207
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
15208
|
+
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
15209
|
+
]
|
|
15210
|
+
},
|
|
15211
|
+
{ name: "signature", internalType: "bytes", type: "bytes" }
|
|
15212
|
+
],
|
|
15213
|
+
name: "isValidSignatureTransferBatch",
|
|
15214
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
15215
|
+
stateMutability: "view"
|
|
15216
|
+
},
|
|
15217
|
+
{
|
|
15218
|
+
type: "function",
|
|
15219
|
+
inputs: [
|
|
15220
|
+
{
|
|
15221
|
+
name: "permit",
|
|
15222
|
+
internalType: "struct IZoraSparks1155Managed.PermitSingle",
|
|
15223
|
+
type: "tuple",
|
|
15224
|
+
components: [
|
|
15225
|
+
{ name: "owner", internalType: "address", type: "address" },
|
|
15226
|
+
{ name: "to", internalType: "address", type: "address" },
|
|
15227
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
15228
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
15229
|
+
{ name: "safeTransferData", internalType: "bytes", type: "bytes" },
|
|
15230
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
15231
|
+
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
15232
|
+
]
|
|
15233
|
+
},
|
|
15234
|
+
{ name: "signature", internalType: "bytes", type: "bytes" }
|
|
15235
|
+
],
|
|
15236
|
+
name: "isValidSignatureTransferSingle",
|
|
15237
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
15238
|
+
stateMutability: "view"
|
|
15239
|
+
},
|
|
15240
|
+
{
|
|
15241
|
+
type: "function",
|
|
15242
|
+
inputs: [
|
|
15243
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
15244
|
+
{ name: "tokenAddress", internalType: "address", type: "address" },
|
|
15245
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
15246
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
15247
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
15248
|
+
],
|
|
15249
|
+
name: "mintTokenWithERC20",
|
|
15250
|
+
outputs: [],
|
|
15251
|
+
stateMutability: "nonpayable"
|
|
15252
|
+
},
|
|
15253
|
+
{
|
|
15254
|
+
type: "function",
|
|
15255
|
+
inputs: [
|
|
15256
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
15257
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
15258
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
15259
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
15260
|
+
],
|
|
15261
|
+
name: "mintTokenWithEth",
|
|
15262
|
+
outputs: [],
|
|
15263
|
+
stateMutability: "payable"
|
|
15264
|
+
},
|
|
15265
|
+
{
|
|
15266
|
+
type: "function",
|
|
15267
|
+
inputs: [],
|
|
15268
|
+
name: "name",
|
|
15269
|
+
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
15270
|
+
stateMutability: "pure"
|
|
15271
|
+
},
|
|
15272
|
+
{
|
|
15273
|
+
type: "function",
|
|
15274
|
+
inputs: [
|
|
15275
|
+
{ name: "owner", internalType: "address", type: "address" },
|
|
15276
|
+
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
15277
|
+
],
|
|
15278
|
+
name: "nonceUsed",
|
|
15279
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
15280
|
+
stateMutability: "view"
|
|
15281
|
+
},
|
|
15282
|
+
{
|
|
15283
|
+
type: "function",
|
|
15284
|
+
inputs: [
|
|
15285
|
+
{ name: "newContractURI", internalType: "string", type: "string" },
|
|
15286
|
+
{ name: "newBaseURI", internalType: "string", type: "string" }
|
|
15287
|
+
],
|
|
15288
|
+
name: "notifyURIsUpdated",
|
|
15289
|
+
outputs: [],
|
|
15290
|
+
stateMutability: "nonpayable"
|
|
15291
|
+
},
|
|
15292
|
+
{
|
|
15293
|
+
type: "function",
|
|
15294
|
+
inputs: [
|
|
15295
|
+
{ name: "newUri", internalType: "string", type: "string" },
|
|
15296
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" }
|
|
15297
|
+
],
|
|
15298
|
+
name: "notifyUpdatedTokenURI",
|
|
15299
|
+
outputs: [],
|
|
15300
|
+
stateMutability: "nonpayable"
|
|
15301
|
+
},
|
|
15302
|
+
{
|
|
15303
|
+
type: "function",
|
|
15304
|
+
inputs: [
|
|
15305
|
+
{
|
|
15306
|
+
name: "permit",
|
|
15307
|
+
internalType: "struct IZoraSparks1155Managed.PermitSingle",
|
|
15308
|
+
type: "tuple",
|
|
15309
|
+
components: [
|
|
15310
|
+
{ name: "owner", internalType: "address", type: "address" },
|
|
15311
|
+
{ name: "to", internalType: "address", type: "address" },
|
|
15312
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
15313
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
15314
|
+
{ name: "safeTransferData", internalType: "bytes", type: "bytes" },
|
|
15315
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
15316
|
+
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
15317
|
+
]
|
|
15318
|
+
},
|
|
15319
|
+
{ name: "signature", internalType: "bytes", type: "bytes" }
|
|
15320
|
+
],
|
|
15321
|
+
name: "permitSafeTransfer",
|
|
15322
|
+
outputs: [],
|
|
15323
|
+
stateMutability: "nonpayable"
|
|
15324
|
+
},
|
|
15325
|
+
{
|
|
15326
|
+
type: "function",
|
|
15327
|
+
inputs: [
|
|
15328
|
+
{
|
|
15329
|
+
name: "permit",
|
|
15330
|
+
internalType: "struct IZoraSparks1155Managed.PermitBatch",
|
|
15331
|
+
type: "tuple",
|
|
15332
|
+
components: [
|
|
15333
|
+
{ name: "owner", internalType: "address", type: "address" },
|
|
15334
|
+
{ name: "to", internalType: "address", type: "address" },
|
|
15335
|
+
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
15336
|
+
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
15337
|
+
{ name: "safeTransferData", internalType: "bytes", type: "bytes" },
|
|
15338
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
15339
|
+
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
15340
|
+
]
|
|
15341
|
+
},
|
|
15342
|
+
{ name: "signature", internalType: "bytes", type: "bytes" }
|
|
15343
|
+
],
|
|
15344
|
+
name: "permitSafeTransferBatch",
|
|
15345
|
+
outputs: [],
|
|
15346
|
+
stateMutability: "nonpayable"
|
|
15347
|
+
},
|
|
15348
|
+
{
|
|
15349
|
+
type: "function",
|
|
15350
|
+
inputs: [
|
|
15351
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
15352
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
15353
|
+
{ name: "recipient", internalType: "address", type: "address" }
|
|
15354
|
+
],
|
|
15355
|
+
name: "redeem",
|
|
15356
|
+
outputs: [
|
|
15357
|
+
{
|
|
15358
|
+
name: "",
|
|
15359
|
+
internalType: "struct Redemption",
|
|
15360
|
+
type: "tuple",
|
|
15361
|
+
components: [
|
|
15362
|
+
{ name: "tokenAddress", internalType: "address", type: "address" },
|
|
15363
|
+
{ name: "valueRedeemed", internalType: "uint256", type: "uint256" }
|
|
15364
|
+
]
|
|
15365
|
+
}
|
|
15366
|
+
],
|
|
15367
|
+
stateMutability: "nonpayable"
|
|
15368
|
+
},
|
|
15369
|
+
{
|
|
15370
|
+
type: "function",
|
|
15371
|
+
inputs: [
|
|
15372
|
+
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
15373
|
+
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
15374
|
+
{ name: "recipient", internalType: "address", type: "address" }
|
|
15375
|
+
],
|
|
15376
|
+
name: "redeemBatch",
|
|
15377
|
+
outputs: [
|
|
15378
|
+
{
|
|
15379
|
+
name: "redemptions",
|
|
15380
|
+
internalType: "struct Redemption[]",
|
|
15381
|
+
type: "tuple[]",
|
|
15382
|
+
components: [
|
|
15383
|
+
{ name: "tokenAddress", internalType: "address", type: "address" },
|
|
15384
|
+
{ name: "valueRedeemed", internalType: "uint256", type: "uint256" }
|
|
15385
|
+
]
|
|
15386
|
+
}
|
|
15387
|
+
],
|
|
15388
|
+
stateMutability: "nonpayable"
|
|
15389
|
+
},
|
|
15390
|
+
{
|
|
15391
|
+
type: "function",
|
|
15392
|
+
inputs: [
|
|
15439
15393
|
{ name: "from", internalType: "address", type: "address" },
|
|
15394
|
+
{ name: "to", internalType: "address", type: "address" },
|
|
15440
15395
|
{ name: "ids", internalType: "uint256[]", type: "uint256[]" },
|
|
15441
15396
|
{ name: "values", internalType: "uint256[]", type: "uint256[]" },
|
|
15442
15397
|
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
15443
15398
|
],
|
|
15444
|
-
name: "
|
|
15445
|
-
outputs: [
|
|
15399
|
+
name: "safeBatchTransferFrom",
|
|
15400
|
+
outputs: [],
|
|
15446
15401
|
stateMutability: "nonpayable"
|
|
15447
15402
|
},
|
|
15448
15403
|
{
|
|
15449
15404
|
type: "function",
|
|
15450
15405
|
inputs: [
|
|
15451
|
-
{ name: "", internalType: "address", type: "address" },
|
|
15452
15406
|
{ name: "from", internalType: "address", type: "address" },
|
|
15407
|
+
{ name: "to", internalType: "address", type: "address" },
|
|
15453
15408
|
{ name: "id", internalType: "uint256", type: "uint256" },
|
|
15454
15409
|
{ name: "value", internalType: "uint256", type: "uint256" },
|
|
15455
15410
|
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
15456
15411
|
],
|
|
15457
|
-
name: "
|
|
15458
|
-
outputs: [
|
|
15412
|
+
name: "safeTransferFrom",
|
|
15413
|
+
outputs: [],
|
|
15459
15414
|
stateMutability: "nonpayable"
|
|
15460
15415
|
},
|
|
15461
15416
|
{
|
|
15462
15417
|
type: "function",
|
|
15463
|
-
inputs: [
|
|
15464
|
-
|
|
15465
|
-
|
|
15466
|
-
|
|
15418
|
+
inputs: [
|
|
15419
|
+
{ name: "operator", internalType: "address", type: "address" },
|
|
15420
|
+
{ name: "approved", internalType: "bool", type: "bool" }
|
|
15421
|
+
],
|
|
15422
|
+
name: "setApprovalForAll",
|
|
15423
|
+
outputs: [],
|
|
15424
|
+
stateMutability: "nonpayable"
|
|
15467
15425
|
},
|
|
15468
15426
|
{
|
|
15469
15427
|
type: "function",
|
|
15470
|
-
inputs: [
|
|
15471
|
-
|
|
15472
|
-
|
|
15473
|
-
|
|
15428
|
+
inputs: [
|
|
15429
|
+
{ name: "newAuthority", internalType: "address", type: "address" }
|
|
15430
|
+
],
|
|
15431
|
+
name: "setAuthority",
|
|
15432
|
+
outputs: [],
|
|
15433
|
+
stateMutability: "nonpayable"
|
|
15434
|
+
},
|
|
15435
|
+
{
|
|
15436
|
+
type: "function",
|
|
15437
|
+
inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
|
|
15438
|
+
name: "supportsInterface",
|
|
15439
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
15440
|
+
stateMutability: "view"
|
|
15441
|
+
},
|
|
15442
|
+
{
|
|
15443
|
+
type: "function",
|
|
15444
|
+
inputs: [],
|
|
15445
|
+
name: "symbol",
|
|
15446
|
+
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
15447
|
+
stateMutability: "pure"
|
|
15448
|
+
},
|
|
15449
|
+
{
|
|
15450
|
+
type: "function",
|
|
15451
|
+
inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
|
|
15452
|
+
name: "tokenExists",
|
|
15453
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
15454
|
+
stateMutability: "view"
|
|
15455
|
+
},
|
|
15456
|
+
{
|
|
15457
|
+
type: "function",
|
|
15458
|
+
inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
|
|
15459
|
+
name: "tokenPrice",
|
|
15460
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
15461
|
+
stateMutability: "view"
|
|
15462
|
+
},
|
|
15463
|
+
{
|
|
15464
|
+
type: "function",
|
|
15465
|
+
inputs: [
|
|
15466
|
+
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
15467
|
+
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
15468
|
+
{ name: "call", internalType: "bytes", type: "bytes" }
|
|
15469
|
+
],
|
|
15470
|
+
name: "transferBatchToManagerAndCall",
|
|
15471
|
+
outputs: [{ name: "callReturn", internalType: "bytes", type: "bytes" }],
|
|
15472
|
+
stateMutability: "payable"
|
|
15473
|
+
},
|
|
15474
|
+
{
|
|
15475
|
+
type: "function",
|
|
15476
|
+
inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
|
|
15477
|
+
name: "uri",
|
|
15478
|
+
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
15479
|
+
stateMutability: "view"
|
|
15480
|
+
},
|
|
15481
|
+
{
|
|
15482
|
+
type: "event",
|
|
15483
|
+
anonymous: false,
|
|
15484
|
+
inputs: [
|
|
15485
|
+
{
|
|
15486
|
+
name: "account",
|
|
15487
|
+
internalType: "address",
|
|
15488
|
+
type: "address",
|
|
15489
|
+
indexed: true
|
|
15490
|
+
},
|
|
15491
|
+
{
|
|
15492
|
+
name: "operator",
|
|
15493
|
+
internalType: "address",
|
|
15494
|
+
type: "address",
|
|
15495
|
+
indexed: true
|
|
15496
|
+
},
|
|
15497
|
+
{ name: "approved", internalType: "bool", type: "bool", indexed: false }
|
|
15498
|
+
],
|
|
15499
|
+
name: "ApprovalForAll"
|
|
15500
|
+
},
|
|
15501
|
+
{
|
|
15502
|
+
type: "event",
|
|
15503
|
+
anonymous: false,
|
|
15504
|
+
inputs: [
|
|
15505
|
+
{
|
|
15506
|
+
name: "authority",
|
|
15507
|
+
internalType: "address",
|
|
15508
|
+
type: "address",
|
|
15509
|
+
indexed: false
|
|
15510
|
+
}
|
|
15511
|
+
],
|
|
15512
|
+
name: "AuthorityUpdated"
|
|
15513
|
+
},
|
|
15514
|
+
{ type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
|
|
15515
|
+
{ type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
|
|
15516
|
+
{
|
|
15517
|
+
type: "event",
|
|
15518
|
+
anonymous: false,
|
|
15519
|
+
inputs: [
|
|
15520
|
+
{
|
|
15521
|
+
name: "tokenId",
|
|
15522
|
+
internalType: "uint256",
|
|
15523
|
+
type: "uint256",
|
|
15524
|
+
indexed: true
|
|
15525
|
+
},
|
|
15526
|
+
{
|
|
15527
|
+
name: "price",
|
|
15528
|
+
internalType: "uint256",
|
|
15529
|
+
type: "uint256",
|
|
15530
|
+
indexed: true
|
|
15531
|
+
},
|
|
15532
|
+
{
|
|
15533
|
+
name: "tokenAddress",
|
|
15534
|
+
internalType: "address",
|
|
15535
|
+
type: "address",
|
|
15536
|
+
indexed: true
|
|
15537
|
+
}
|
|
15538
|
+
],
|
|
15539
|
+
name: "TokenCreated"
|
|
15540
|
+
},
|
|
15541
|
+
{
|
|
15542
|
+
type: "event",
|
|
15543
|
+
anonymous: false,
|
|
15544
|
+
inputs: [
|
|
15545
|
+
{
|
|
15546
|
+
name: "operator",
|
|
15547
|
+
internalType: "address",
|
|
15548
|
+
type: "address",
|
|
15549
|
+
indexed: true
|
|
15550
|
+
},
|
|
15551
|
+
{ name: "from", internalType: "address", type: "address", indexed: true },
|
|
15552
|
+
{ name: "to", internalType: "address", type: "address", indexed: true },
|
|
15553
|
+
{
|
|
15554
|
+
name: "ids",
|
|
15555
|
+
internalType: "uint256[]",
|
|
15556
|
+
type: "uint256[]",
|
|
15557
|
+
indexed: false
|
|
15558
|
+
},
|
|
15559
|
+
{
|
|
15560
|
+
name: "values",
|
|
15561
|
+
internalType: "uint256[]",
|
|
15562
|
+
type: "uint256[]",
|
|
15563
|
+
indexed: false
|
|
15564
|
+
}
|
|
15565
|
+
],
|
|
15566
|
+
name: "TransferBatch"
|
|
15567
|
+
},
|
|
15568
|
+
{
|
|
15569
|
+
type: "event",
|
|
15570
|
+
anonymous: false,
|
|
15571
|
+
inputs: [
|
|
15572
|
+
{
|
|
15573
|
+
name: "operator",
|
|
15574
|
+
internalType: "address",
|
|
15575
|
+
type: "address",
|
|
15576
|
+
indexed: true
|
|
15577
|
+
},
|
|
15578
|
+
{ name: "from", internalType: "address", type: "address", indexed: true },
|
|
15579
|
+
{ name: "to", internalType: "address", type: "address", indexed: true },
|
|
15580
|
+
{ name: "id", internalType: "uint256", type: "uint256", indexed: false },
|
|
15581
|
+
{
|
|
15582
|
+
name: "value",
|
|
15583
|
+
internalType: "uint256",
|
|
15584
|
+
type: "uint256",
|
|
15585
|
+
indexed: false
|
|
15586
|
+
}
|
|
15587
|
+
],
|
|
15588
|
+
name: "TransferSingle"
|
|
15589
|
+
},
|
|
15590
|
+
{
|
|
15591
|
+
type: "event",
|
|
15592
|
+
anonymous: false,
|
|
15593
|
+
inputs: [
|
|
15594
|
+
{ name: "value", internalType: "string", type: "string", indexed: false },
|
|
15595
|
+
{ name: "id", internalType: "uint256", type: "uint256", indexed: true }
|
|
15596
|
+
],
|
|
15597
|
+
name: "URI"
|
|
15598
|
+
},
|
|
15599
|
+
{
|
|
15600
|
+
type: "event",
|
|
15601
|
+
anonymous: false,
|
|
15602
|
+
inputs: [
|
|
15603
|
+
{
|
|
15604
|
+
name: "contractURI",
|
|
15605
|
+
internalType: "string",
|
|
15606
|
+
type: "string",
|
|
15607
|
+
indexed: false
|
|
15608
|
+
},
|
|
15609
|
+
{
|
|
15610
|
+
name: "baseURI",
|
|
15611
|
+
internalType: "string",
|
|
15612
|
+
type: "string",
|
|
15613
|
+
indexed: false
|
|
15614
|
+
}
|
|
15615
|
+
],
|
|
15616
|
+
name: "URIsUpdated"
|
|
15617
|
+
},
|
|
15618
|
+
{
|
|
15619
|
+
type: "error",
|
|
15620
|
+
inputs: [{ name: "authority", internalType: "address", type: "address" }],
|
|
15621
|
+
name: "AccessManagedInvalidAuthority"
|
|
15622
|
+
},
|
|
15623
|
+
{
|
|
15624
|
+
type: "error",
|
|
15625
|
+
inputs: [
|
|
15626
|
+
{ name: "caller", internalType: "address", type: "address" },
|
|
15627
|
+
{ name: "delay", internalType: "uint32", type: "uint32" }
|
|
15628
|
+
],
|
|
15629
|
+
name: "AccessManagedRequiredDelay"
|
|
15630
|
+
},
|
|
15631
|
+
{
|
|
15632
|
+
type: "error",
|
|
15633
|
+
inputs: [{ name: "caller", internalType: "address", type: "address" }],
|
|
15634
|
+
name: "AccessManagedUnauthorized"
|
|
15635
|
+
},
|
|
15636
|
+
{
|
|
15637
|
+
type: "error",
|
|
15638
|
+
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
15639
|
+
name: "AddressEmptyCode"
|
|
15640
|
+
},
|
|
15641
|
+
{
|
|
15642
|
+
type: "error",
|
|
15643
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
15644
|
+
name: "AddressInsufficientBalance"
|
|
15645
|
+
},
|
|
15646
|
+
{
|
|
15647
|
+
type: "error",
|
|
15648
|
+
inputs: [
|
|
15649
|
+
{ name: "lengthA", internalType: "uint256", type: "uint256" },
|
|
15650
|
+
{ name: "lengthB", internalType: "uint256", type: "uint256" }
|
|
15651
|
+
],
|
|
15652
|
+
name: "ArrayLengthMismatch"
|
|
15653
|
+
},
|
|
15654
|
+
{
|
|
15655
|
+
type: "error",
|
|
15656
|
+
inputs: [{ name: "returnData", internalType: "bytes", type: "bytes" }],
|
|
15657
|
+
name: "CallFailed"
|
|
15658
|
+
},
|
|
15659
|
+
{
|
|
15660
|
+
type: "error",
|
|
15661
|
+
inputs: [
|
|
15662
|
+
{ name: "sender", internalType: "address", type: "address" },
|
|
15663
|
+
{ name: "balance", internalType: "uint256", type: "uint256" },
|
|
15664
|
+
{ name: "needed", internalType: "uint256", type: "uint256" },
|
|
15665
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" }
|
|
15666
|
+
],
|
|
15667
|
+
name: "ERC1155InsufficientBalance"
|
|
15668
|
+
},
|
|
15669
|
+
{
|
|
15670
|
+
type: "error",
|
|
15671
|
+
inputs: [{ name: "approver", internalType: "address", type: "address" }],
|
|
15672
|
+
name: "ERC1155InvalidApprover"
|
|
15673
|
+
},
|
|
15674
|
+
{
|
|
15675
|
+
type: "error",
|
|
15676
|
+
inputs: [
|
|
15677
|
+
{ name: "idsLength", internalType: "uint256", type: "uint256" },
|
|
15678
|
+
{ name: "valuesLength", internalType: "uint256", type: "uint256" }
|
|
15679
|
+
],
|
|
15680
|
+
name: "ERC1155InvalidArrayLength"
|
|
15681
|
+
},
|
|
15682
|
+
{
|
|
15683
|
+
type: "error",
|
|
15684
|
+
inputs: [{ name: "operator", internalType: "address", type: "address" }],
|
|
15685
|
+
name: "ERC1155InvalidOperator"
|
|
15686
|
+
},
|
|
15687
|
+
{
|
|
15688
|
+
type: "error",
|
|
15689
|
+
inputs: [{ name: "receiver", internalType: "address", type: "address" }],
|
|
15690
|
+
name: "ERC1155InvalidReceiver"
|
|
15691
|
+
},
|
|
15692
|
+
{
|
|
15693
|
+
type: "error",
|
|
15694
|
+
inputs: [{ name: "sender", internalType: "address", type: "address" }],
|
|
15695
|
+
name: "ERC1155InvalidSender"
|
|
15696
|
+
},
|
|
15697
|
+
{
|
|
15698
|
+
type: "error",
|
|
15699
|
+
inputs: [
|
|
15700
|
+
{ name: "operator", internalType: "address", type: "address" },
|
|
15701
|
+
{ name: "owner", internalType: "address", type: "address" }
|
|
15702
|
+
],
|
|
15703
|
+
name: "ERC1155MissingApprovalForAll"
|
|
15704
|
+
},
|
|
15705
|
+
{ type: "error", inputs: [], name: "ERC20TransferSlippage" },
|
|
15706
|
+
{
|
|
15707
|
+
type: "error",
|
|
15708
|
+
inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
|
|
15709
|
+
name: "ERC2612ExpiredSignature"
|
|
15710
|
+
},
|
|
15711
|
+
{ type: "error", inputs: [], name: "ETHTransferFailed" },
|
|
15712
|
+
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
15713
|
+
{ type: "error", inputs: [], name: "IncorrectAmountSent" },
|
|
15714
|
+
{
|
|
15715
|
+
type: "error",
|
|
15716
|
+
inputs: [
|
|
15717
|
+
{ name: "account", internalType: "address", type: "address" },
|
|
15718
|
+
{ name: "currentNonce", internalType: "uint256", type: "uint256" }
|
|
15719
|
+
],
|
|
15720
|
+
name: "InvalidAccountNonce"
|
|
15721
|
+
},
|
|
15722
|
+
{ type: "error", inputs: [], name: "InvalidRecipient" },
|
|
15723
|
+
{ type: "error", inputs: [], name: "InvalidShortString" },
|
|
15724
|
+
{ type: "error", inputs: [], name: "InvalidSignature" },
|
|
15725
|
+
{ type: "error", inputs: [], name: "InvalidTokenPrice" },
|
|
15726
|
+
{ type: "error", inputs: [], name: "NoUriForNonexistentToken" },
|
|
15727
|
+
{
|
|
15728
|
+
type: "error",
|
|
15729
|
+
inputs: [{ name: "handler", internalType: "address", type: "address" }],
|
|
15730
|
+
name: "NotARedeemHandler"
|
|
15731
|
+
},
|
|
15732
|
+
{
|
|
15733
|
+
type: "error",
|
|
15734
|
+
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
15735
|
+
name: "SafeERC20FailedOperation"
|
|
15736
|
+
},
|
|
15737
|
+
{
|
|
15738
|
+
type: "error",
|
|
15739
|
+
inputs: [{ name: "str", internalType: "string", type: "string" }],
|
|
15740
|
+
name: "StringTooLong"
|
|
15741
|
+
},
|
|
15742
|
+
{ type: "error", inputs: [], name: "TokenAlreadyCreated" },
|
|
15743
|
+
{ type: "error", inputs: [], name: "TokenDoesNotExist" },
|
|
15744
|
+
{
|
|
15745
|
+
type: "error",
|
|
15746
|
+
inputs: [
|
|
15747
|
+
{ name: "storedTokenAddress", internalType: "address", type: "address" },
|
|
15748
|
+
{
|
|
15749
|
+
name: "expectedTokenAddress",
|
|
15750
|
+
internalType: "address",
|
|
15751
|
+
type: "address"
|
|
15752
|
+
}
|
|
15753
|
+
],
|
|
15754
|
+
name: "TokenMismatch"
|
|
15755
|
+
},
|
|
15756
|
+
{ type: "error", inputs: [], name: "TokenNotMintable" }
|
|
15757
|
+
];
|
|
15758
|
+
var zoraMints1155Address = {
|
|
15759
|
+
7777777: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
|
|
15760
|
+
999999999: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073"
|
|
15761
|
+
};
|
|
15762
|
+
var zoraMints1155Config = {
|
|
15763
|
+
address: zoraMints1155Address,
|
|
15764
|
+
abi: zoraMints1155ABI
|
|
15765
|
+
};
|
|
15766
|
+
var zoraMintsManagerImplABI = [
|
|
15767
|
+
{
|
|
15768
|
+
type: "constructor",
|
|
15769
|
+
inputs: [
|
|
15770
|
+
{
|
|
15771
|
+
name: "_premintExecutor",
|
|
15772
|
+
internalType: "contract IZoraCreator1155PremintExecutorAllVersions",
|
|
15773
|
+
type: "address"
|
|
15774
|
+
}
|
|
15775
|
+
],
|
|
15776
|
+
stateMutability: "nonpayable"
|
|
15777
|
+
},
|
|
15778
|
+
{
|
|
15779
|
+
type: "function",
|
|
15780
|
+
inputs: [],
|
|
15781
|
+
name: "UPGRADE_INTERFACE_VERSION",
|
|
15782
|
+
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
15783
|
+
stateMutability: "view"
|
|
15784
|
+
},
|
|
15785
|
+
{
|
|
15786
|
+
type: "function",
|
|
15787
|
+
inputs: [],
|
|
15788
|
+
name: "acceptOwnership",
|
|
15789
|
+
outputs: [],
|
|
15790
|
+
stateMutability: "nonpayable"
|
|
15791
|
+
},
|
|
15792
|
+
{
|
|
15793
|
+
type: "function",
|
|
15794
|
+
inputs: [
|
|
15795
|
+
{ name: "callFrom", internalType: "address", type: "address" },
|
|
15796
|
+
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
15797
|
+
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
15798
|
+
{ name: "call", internalType: "bytes", type: "bytes" }
|
|
15799
|
+
],
|
|
15800
|
+
name: "callWithTransferTokens",
|
|
15801
|
+
outputs: [
|
|
15802
|
+
{ name: "success", internalType: "bool", type: "bool" },
|
|
15803
|
+
{ name: "result", internalType: "bytes", type: "bytes" }
|
|
15804
|
+
],
|
|
15805
|
+
stateMutability: "payable"
|
|
15806
|
+
},
|
|
15807
|
+
{
|
|
15808
|
+
type: "function",
|
|
15809
|
+
inputs: [
|
|
15810
|
+
{ name: "caller", internalType: "address", type: "address" },
|
|
15811
|
+
{ name: "", internalType: "address", type: "address" },
|
|
15812
|
+
{ name: "", internalType: "bytes4", type: "bytes4" }
|
|
15813
|
+
],
|
|
15814
|
+
name: "canCall",
|
|
15815
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
15816
|
+
stateMutability: "view"
|
|
15817
|
+
},
|
|
15818
|
+
{
|
|
15819
|
+
type: "function",
|
|
15820
|
+
inputs: [
|
|
15821
|
+
{
|
|
15822
|
+
name: "zoraCreator1155Contract",
|
|
15823
|
+
internalType: "contract IMintWithSparks",
|
|
15824
|
+
type: "address"
|
|
15825
|
+
},
|
|
15826
|
+
{ name: "minter", internalType: "contract IMinter1155", type: "address" },
|
|
15827
|
+
{
|
|
15828
|
+
name: "zoraCreator1155TokenId",
|
|
15829
|
+
internalType: "uint256",
|
|
15830
|
+
type: "uint256"
|
|
15831
|
+
},
|
|
15832
|
+
{
|
|
15833
|
+
name: "collectMintArguments",
|
|
15834
|
+
internalType: "struct ICollectWithZoraSparks.CollectMintArguments",
|
|
15835
|
+
type: "tuple",
|
|
15836
|
+
components: [
|
|
15837
|
+
{
|
|
15838
|
+
name: "mintRewardsRecipients",
|
|
15839
|
+
internalType: "address[]",
|
|
15840
|
+
type: "address[]"
|
|
15841
|
+
},
|
|
15842
|
+
{ name: "minterArguments", internalType: "bytes", type: "bytes" },
|
|
15843
|
+
{ name: "mintComment", internalType: "string", type: "string" }
|
|
15844
|
+
]
|
|
15845
|
+
}
|
|
15846
|
+
],
|
|
15847
|
+
name: "collect",
|
|
15848
|
+
outputs: [],
|
|
15849
|
+
stateMutability: "payable"
|
|
15850
|
+
},
|
|
15851
|
+
{
|
|
15852
|
+
type: "function",
|
|
15853
|
+
inputs: [
|
|
15854
|
+
{
|
|
15855
|
+
name: "contractConfig",
|
|
15856
|
+
internalType: "struct ContractWithAdditionalAdminsCreationConfig",
|
|
15857
|
+
type: "tuple",
|
|
15858
|
+
components: [
|
|
15859
|
+
{ name: "contractAdmin", internalType: "address", type: "address" },
|
|
15860
|
+
{ name: "contractURI", internalType: "string", type: "string" },
|
|
15861
|
+
{ name: "contractName", internalType: "string", type: "string" },
|
|
15862
|
+
{
|
|
15863
|
+
name: "additionalAdmins",
|
|
15864
|
+
internalType: "address[]",
|
|
15865
|
+
type: "address[]"
|
|
15866
|
+
}
|
|
15867
|
+
]
|
|
15868
|
+
},
|
|
15869
|
+
{ name: "tokenContract", internalType: "address", type: "address" },
|
|
15870
|
+
{
|
|
15871
|
+
name: "premintConfig",
|
|
15872
|
+
internalType: "struct PremintConfigEncoded",
|
|
15873
|
+
type: "tuple",
|
|
15874
|
+
components: [
|
|
15875
|
+
{ name: "uid", internalType: "uint32", type: "uint32" },
|
|
15876
|
+
{ name: "version", internalType: "uint32", type: "uint32" },
|
|
15877
|
+
{ name: "deleted", internalType: "bool", type: "bool" },
|
|
15878
|
+
{ name: "tokenConfig", internalType: "bytes", type: "bytes" },
|
|
15879
|
+
{
|
|
15880
|
+
name: "premintConfigVersion",
|
|
15881
|
+
internalType: "bytes32",
|
|
15882
|
+
type: "bytes32"
|
|
15883
|
+
}
|
|
15884
|
+
]
|
|
15885
|
+
},
|
|
15886
|
+
{ name: "signature", internalType: "bytes", type: "bytes" },
|
|
15887
|
+
{
|
|
15888
|
+
name: "mintArguments",
|
|
15889
|
+
internalType: "struct MintArguments",
|
|
15890
|
+
type: "tuple",
|
|
15891
|
+
components: [
|
|
15892
|
+
{ name: "mintRecipient", internalType: "address", type: "address" },
|
|
15893
|
+
{ name: "mintComment", internalType: "string", type: "string" },
|
|
15894
|
+
{
|
|
15895
|
+
name: "mintRewardsRecipients",
|
|
15896
|
+
internalType: "address[]",
|
|
15897
|
+
type: "address[]"
|
|
15898
|
+
}
|
|
15899
|
+
]
|
|
15900
|
+
},
|
|
15901
|
+
{ name: "firstMinter", internalType: "address", type: "address" },
|
|
15902
|
+
{ name: "signerContract", internalType: "address", type: "address" }
|
|
15903
|
+
],
|
|
15904
|
+
name: "collectPremint",
|
|
15905
|
+
outputs: [
|
|
15906
|
+
{
|
|
15907
|
+
name: "result",
|
|
15908
|
+
internalType: "struct PremintResult",
|
|
15909
|
+
type: "tuple",
|
|
15910
|
+
components: [
|
|
15911
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
15912
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
15913
|
+
{ name: "createdNewContract", internalType: "bool", type: "bool" }
|
|
15914
|
+
]
|
|
15915
|
+
}
|
|
15916
|
+
],
|
|
15917
|
+
stateMutability: "payable"
|
|
15918
|
+
},
|
|
15919
|
+
{
|
|
15920
|
+
type: "function",
|
|
15921
|
+
inputs: [
|
|
15922
|
+
{
|
|
15923
|
+
name: "contractConfig",
|
|
15924
|
+
internalType: "struct ContractCreationConfig",
|
|
15925
|
+
type: "tuple",
|
|
15926
|
+
components: [
|
|
15927
|
+
{ name: "contractAdmin", internalType: "address", type: "address" },
|
|
15928
|
+
{ name: "contractURI", internalType: "string", type: "string" },
|
|
15929
|
+
{ name: "contractName", internalType: "string", type: "string" }
|
|
15930
|
+
]
|
|
15931
|
+
},
|
|
15932
|
+
{
|
|
15933
|
+
name: "premintConfig",
|
|
15934
|
+
internalType: "struct PremintConfigV2",
|
|
15935
|
+
type: "tuple",
|
|
15936
|
+
components: [
|
|
15937
|
+
{
|
|
15938
|
+
name: "tokenConfig",
|
|
15939
|
+
internalType: "struct TokenCreationConfigV2",
|
|
15940
|
+
type: "tuple",
|
|
15941
|
+
components: [
|
|
15942
|
+
{ name: "tokenURI", internalType: "string", type: "string" },
|
|
15943
|
+
{ name: "maxSupply", internalType: "uint256", type: "uint256" },
|
|
15944
|
+
{
|
|
15945
|
+
name: "maxTokensPerAddress",
|
|
15946
|
+
internalType: "uint64",
|
|
15947
|
+
type: "uint64"
|
|
15948
|
+
},
|
|
15949
|
+
{ name: "pricePerToken", internalType: "uint96", type: "uint96" },
|
|
15950
|
+
{ name: "mintStart", internalType: "uint64", type: "uint64" },
|
|
15951
|
+
{ name: "mintDuration", internalType: "uint64", type: "uint64" },
|
|
15952
|
+
{ name: "royaltyBPS", internalType: "uint32", type: "uint32" },
|
|
15953
|
+
{
|
|
15954
|
+
name: "payoutRecipient",
|
|
15955
|
+
internalType: "address",
|
|
15956
|
+
type: "address"
|
|
15957
|
+
},
|
|
15958
|
+
{
|
|
15959
|
+
name: "fixedPriceMinter",
|
|
15960
|
+
internalType: "address",
|
|
15961
|
+
type: "address"
|
|
15962
|
+
},
|
|
15963
|
+
{
|
|
15964
|
+
name: "createReferral",
|
|
15965
|
+
internalType: "address",
|
|
15966
|
+
type: "address"
|
|
15967
|
+
}
|
|
15968
|
+
]
|
|
15969
|
+
},
|
|
15970
|
+
{ name: "uid", internalType: "uint32", type: "uint32" },
|
|
15971
|
+
{ name: "version", internalType: "uint32", type: "uint32" },
|
|
15972
|
+
{ name: "deleted", internalType: "bool", type: "bool" }
|
|
15973
|
+
]
|
|
15974
|
+
},
|
|
15975
|
+
{ name: "signature", internalType: "bytes", type: "bytes" },
|
|
15976
|
+
{
|
|
15977
|
+
name: "mintArguments",
|
|
15978
|
+
internalType: "struct MintArguments",
|
|
15979
|
+
type: "tuple",
|
|
15980
|
+
components: [
|
|
15981
|
+
{ name: "mintRecipient", internalType: "address", type: "address" },
|
|
15982
|
+
{ name: "mintComment", internalType: "string", type: "string" },
|
|
15983
|
+
{
|
|
15984
|
+
name: "mintRewardsRecipients",
|
|
15985
|
+
internalType: "address[]",
|
|
15986
|
+
type: "address[]"
|
|
15987
|
+
}
|
|
15988
|
+
]
|
|
15989
|
+
},
|
|
15990
|
+
{ name: "signerContract", internalType: "address", type: "address" }
|
|
15991
|
+
],
|
|
15992
|
+
name: "collectPremintV2",
|
|
15993
|
+
outputs: [
|
|
15994
|
+
{
|
|
15995
|
+
name: "result",
|
|
15996
|
+
internalType: "struct PremintResult",
|
|
15997
|
+
type: "tuple",
|
|
15998
|
+
components: [
|
|
15999
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
16000
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
16001
|
+
{ name: "createdNewContract", internalType: "bool", type: "bool" }
|
|
16002
|
+
]
|
|
16003
|
+
}
|
|
16004
|
+
],
|
|
16005
|
+
stateMutability: "payable"
|
|
16006
|
+
},
|
|
16007
|
+
{
|
|
16008
|
+
type: "function",
|
|
16009
|
+
inputs: [],
|
|
16010
|
+
name: "contractName",
|
|
16011
|
+
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
16012
|
+
stateMutability: "pure"
|
|
16013
|
+
},
|
|
16014
|
+
{
|
|
16015
|
+
type: "function",
|
|
16016
|
+
inputs: [],
|
|
16017
|
+
name: "contractURI",
|
|
16018
|
+
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
16019
|
+
stateMutability: "view"
|
|
16020
|
+
},
|
|
16021
|
+
{
|
|
16022
|
+
type: "function",
|
|
16023
|
+
inputs: [],
|
|
16024
|
+
name: "contractVersion",
|
|
16025
|
+
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
16026
|
+
stateMutability: "pure"
|
|
16027
|
+
},
|
|
16028
|
+
{
|
|
16029
|
+
type: "function",
|
|
16030
|
+
inputs: [
|
|
16031
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
16032
|
+
{
|
|
16033
|
+
name: "tokenConfig",
|
|
16034
|
+
internalType: "struct TokenConfig",
|
|
16035
|
+
type: "tuple",
|
|
16036
|
+
components: [
|
|
16037
|
+
{ name: "price", internalType: "uint256", type: "uint256" },
|
|
16038
|
+
{ name: "tokenAddress", internalType: "address", type: "address" },
|
|
16039
|
+
{ name: "redeemHandler", internalType: "address", type: "address" }
|
|
16040
|
+
]
|
|
16041
|
+
},
|
|
16042
|
+
{ name: "defaultMintable", internalType: "bool", type: "bool" }
|
|
16043
|
+
],
|
|
16044
|
+
name: "createToken",
|
|
16045
|
+
outputs: [],
|
|
16046
|
+
stateMutability: "nonpayable"
|
|
16047
|
+
},
|
|
16048
|
+
{
|
|
16049
|
+
type: "function",
|
|
16050
|
+
inputs: [{ name: "minterArguments", internalType: "bytes", type: "bytes" }],
|
|
16051
|
+
name: "decodeMintRecipientAndComment",
|
|
16052
|
+
outputs: [
|
|
16053
|
+
{ name: "mintTo", internalType: "address", type: "address" },
|
|
16054
|
+
{ name: "mintComment", internalType: "string", type: "string" }
|
|
16055
|
+
],
|
|
16056
|
+
stateMutability: "pure"
|
|
16057
|
+
},
|
|
16058
|
+
{
|
|
16059
|
+
type: "function",
|
|
16060
|
+
inputs: [],
|
|
16061
|
+
name: "getEthPrice",
|
|
16062
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
16063
|
+
stateMutability: "view"
|
|
16064
|
+
},
|
|
16065
|
+
{
|
|
16066
|
+
type: "function",
|
|
16067
|
+
inputs: [],
|
|
16068
|
+
name: "implementation",
|
|
16069
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
16070
|
+
stateMutability: "view"
|
|
16071
|
+
},
|
|
16072
|
+
{
|
|
16073
|
+
type: "function",
|
|
16074
|
+
inputs: [
|
|
16075
|
+
{ name: "defaultOwner", internalType: "address", type: "address" },
|
|
16076
|
+
{ name: "zoraSparksSalt", internalType: "bytes32", type: "bytes32" },
|
|
16077
|
+
{ name: "zoraSparksCreationCode", internalType: "bytes", type: "bytes" },
|
|
16078
|
+
{ name: "initialEthTokenId", internalType: "uint256", type: "uint256" },
|
|
16079
|
+
{
|
|
16080
|
+
name: "initialEthTokenPrice",
|
|
16081
|
+
internalType: "uint256",
|
|
16082
|
+
type: "uint256"
|
|
16083
|
+
},
|
|
16084
|
+
{ name: "newBaseURI", internalType: "string", type: "string" },
|
|
16085
|
+
{ name: "newContractURI", internalType: "string", type: "string" }
|
|
16086
|
+
],
|
|
16087
|
+
name: "initialize",
|
|
16088
|
+
outputs: [
|
|
16089
|
+
{
|
|
16090
|
+
name: "mints",
|
|
16091
|
+
internalType: "contract IZoraSparks1155",
|
|
16092
|
+
type: "address"
|
|
16093
|
+
}
|
|
16094
|
+
],
|
|
16095
|
+
stateMutability: "nonpayable"
|
|
16096
|
+
},
|
|
16097
|
+
{
|
|
16098
|
+
type: "function",
|
|
16099
|
+
inputs: [
|
|
16100
|
+
{ name: "tokenAddress", internalType: "address", type: "address" },
|
|
16101
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
16102
|
+
{ name: "recipient", internalType: "address", type: "address" }
|
|
16103
|
+
],
|
|
16104
|
+
name: "mintWithERC20",
|
|
16105
|
+
outputs: [
|
|
16106
|
+
{ name: "mintableTokenId", internalType: "uint256", type: "uint256" }
|
|
16107
|
+
],
|
|
16108
|
+
stateMutability: "nonpayable"
|
|
16109
|
+
},
|
|
16110
|
+
{
|
|
16111
|
+
type: "function",
|
|
16112
|
+
inputs: [
|
|
16113
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
16114
|
+
{ name: "recipient", internalType: "address", type: "address" }
|
|
16115
|
+
],
|
|
16116
|
+
name: "mintWithEth",
|
|
16117
|
+
outputs: [
|
|
16118
|
+
{ name: "mintableTokenId", internalType: "uint256", type: "uint256" }
|
|
16119
|
+
],
|
|
16120
|
+
stateMutability: "payable"
|
|
16121
|
+
},
|
|
16122
|
+
{
|
|
16123
|
+
type: "function",
|
|
16124
|
+
inputs: [],
|
|
16125
|
+
name: "mintableEthToken",
|
|
16126
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
16127
|
+
stateMutability: "view"
|
|
16128
|
+
},
|
|
16129
|
+
{
|
|
16130
|
+
type: "function",
|
|
16131
|
+
inputs: [
|
|
16132
|
+
{ name: "", internalType: "address", type: "address" },
|
|
16133
|
+
{ name: "from", internalType: "address", type: "address" },
|
|
16134
|
+
{ name: "ids", internalType: "uint256[]", type: "uint256[]" },
|
|
16135
|
+
{ name: "values", internalType: "uint256[]", type: "uint256[]" },
|
|
16136
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
16137
|
+
],
|
|
16138
|
+
name: "onERC1155BatchReceived",
|
|
16139
|
+
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
|
|
16140
|
+
stateMutability: "nonpayable"
|
|
16141
|
+
},
|
|
16142
|
+
{
|
|
16143
|
+
type: "function",
|
|
16144
|
+
inputs: [
|
|
16145
|
+
{ name: "", internalType: "address", type: "address" },
|
|
16146
|
+
{ name: "from", internalType: "address", type: "address" },
|
|
16147
|
+
{ name: "id", internalType: "uint256", type: "uint256" },
|
|
16148
|
+
{ name: "value", internalType: "uint256", type: "uint256" },
|
|
16149
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
16150
|
+
],
|
|
16151
|
+
name: "onERC1155Received",
|
|
16152
|
+
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
|
|
16153
|
+
stateMutability: "nonpayable"
|
|
16154
|
+
},
|
|
16155
|
+
{
|
|
16156
|
+
type: "function",
|
|
16157
|
+
inputs: [],
|
|
16158
|
+
name: "owner",
|
|
16159
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
16160
|
+
stateMutability: "view"
|
|
16161
|
+
},
|
|
16162
|
+
{
|
|
16163
|
+
type: "function",
|
|
16164
|
+
inputs: [],
|
|
16165
|
+
name: "pendingOwner",
|
|
16166
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
16167
|
+
stateMutability: "view"
|
|
16168
|
+
},
|
|
16169
|
+
{
|
|
16170
|
+
type: "function",
|
|
16171
|
+
inputs: [],
|
|
16172
|
+
name: "proxiableUUID",
|
|
16173
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
|
|
16174
|
+
stateMutability: "view"
|
|
16175
|
+
},
|
|
16176
|
+
{
|
|
16177
|
+
type: "function",
|
|
16178
|
+
inputs: [],
|
|
16179
|
+
name: "renounceOwnership",
|
|
16180
|
+
outputs: [],
|
|
16181
|
+
stateMutability: "nonpayable"
|
|
16182
|
+
},
|
|
16183
|
+
{
|
|
16184
|
+
type: "function",
|
|
16185
|
+
inputs: [
|
|
16186
|
+
{ name: "tokenAddress", internalType: "address", type: "address" },
|
|
16187
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" }
|
|
16188
|
+
],
|
|
16189
|
+
name: "setDefaultMintable",
|
|
16190
|
+
outputs: [],
|
|
16191
|
+
stateMutability: "nonpayable"
|
|
16192
|
+
},
|
|
16193
|
+
{
|
|
16194
|
+
type: "function",
|
|
16195
|
+
inputs: [
|
|
16196
|
+
{ name: "newContractURI", internalType: "string", type: "string" },
|
|
16197
|
+
{ name: "newBaseURI", internalType: "string", type: "string" },
|
|
16198
|
+
{
|
|
16199
|
+
name: "tokenIdsToNotifyUpdate",
|
|
16200
|
+
internalType: "uint256[]",
|
|
16201
|
+
type: "uint256[]"
|
|
16202
|
+
}
|
|
16203
|
+
],
|
|
16204
|
+
name: "setMetadataURIs",
|
|
16205
|
+
outputs: [],
|
|
16206
|
+
stateMutability: "nonpayable"
|
|
16207
|
+
},
|
|
16208
|
+
{
|
|
16209
|
+
type: "function",
|
|
16210
|
+
inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
|
|
16211
|
+
name: "transferOwnership",
|
|
16212
|
+
outputs: [],
|
|
16213
|
+
stateMutability: "nonpayable"
|
|
16214
|
+
},
|
|
16215
|
+
{
|
|
16216
|
+
type: "function",
|
|
16217
|
+
inputs: [
|
|
16218
|
+
{ name: "newImplementation", internalType: "address", type: "address" },
|
|
16219
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
16220
|
+
],
|
|
16221
|
+
name: "upgradeToAndCall",
|
|
16222
|
+
outputs: [],
|
|
16223
|
+
stateMutability: "payable"
|
|
16224
|
+
},
|
|
16225
|
+
{
|
|
16226
|
+
type: "function",
|
|
16227
|
+
inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
|
|
16228
|
+
name: "uri",
|
|
16229
|
+
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
16230
|
+
stateMutability: "view"
|
|
16231
|
+
},
|
|
16232
|
+
{
|
|
16233
|
+
type: "function",
|
|
16234
|
+
inputs: [],
|
|
16235
|
+
name: "zoraSparks1155",
|
|
16236
|
+
outputs: [
|
|
16237
|
+
{ name: "", internalType: "contract IZoraSparks1155", type: "address" }
|
|
16238
|
+
],
|
|
16239
|
+
stateMutability: "view"
|
|
16240
|
+
},
|
|
16241
|
+
{
|
|
16242
|
+
type: "event",
|
|
16243
|
+
anonymous: false,
|
|
16244
|
+
inputs: [
|
|
16245
|
+
{
|
|
16246
|
+
name: "tokenIds",
|
|
16247
|
+
internalType: "uint256[]",
|
|
16248
|
+
type: "uint256[]",
|
|
16249
|
+
indexed: true
|
|
16250
|
+
},
|
|
16251
|
+
{
|
|
16252
|
+
name: "quantities",
|
|
16253
|
+
internalType: "uint256[]",
|
|
16254
|
+
type: "uint256[]",
|
|
16255
|
+
indexed: false
|
|
16256
|
+
},
|
|
16257
|
+
{
|
|
16258
|
+
name: "zoraCreator1155Contract",
|
|
16259
|
+
internalType: "address",
|
|
16260
|
+
type: "address",
|
|
16261
|
+
indexed: true
|
|
16262
|
+
},
|
|
16263
|
+
{
|
|
16264
|
+
name: "zoraCreator1155TokenId",
|
|
16265
|
+
internalType: "uint256",
|
|
16266
|
+
type: "uint256",
|
|
16267
|
+
indexed: true
|
|
16268
|
+
}
|
|
16269
|
+
],
|
|
16270
|
+
name: "Collected"
|
|
16271
|
+
},
|
|
16272
|
+
{
|
|
16273
|
+
type: "event",
|
|
16274
|
+
anonymous: false,
|
|
16275
|
+
inputs: [
|
|
16276
|
+
{
|
|
16277
|
+
name: "tokenAddress",
|
|
16278
|
+
internalType: "address",
|
|
16279
|
+
type: "address",
|
|
16280
|
+
indexed: false
|
|
16281
|
+
},
|
|
16282
|
+
{
|
|
16283
|
+
name: "tokenId",
|
|
16284
|
+
internalType: "uint256",
|
|
16285
|
+
type: "uint256",
|
|
16286
|
+
indexed: false
|
|
16287
|
+
}
|
|
16288
|
+
],
|
|
16289
|
+
name: "DefaultMintableTokenSet"
|
|
16290
|
+
},
|
|
16291
|
+
{
|
|
16292
|
+
type: "event",
|
|
16293
|
+
anonymous: false,
|
|
16294
|
+
inputs: [
|
|
16295
|
+
{
|
|
16296
|
+
name: "version",
|
|
16297
|
+
internalType: "uint64",
|
|
16298
|
+
type: "uint64",
|
|
16299
|
+
indexed: false
|
|
16300
|
+
}
|
|
16301
|
+
],
|
|
16302
|
+
name: "Initialized"
|
|
16303
|
+
},
|
|
16304
|
+
{
|
|
16305
|
+
type: "event",
|
|
16306
|
+
anonymous: false,
|
|
16307
|
+
inputs: [
|
|
16308
|
+
{
|
|
16309
|
+
name: "sender",
|
|
16310
|
+
internalType: "address",
|
|
16311
|
+
type: "address",
|
|
16312
|
+
indexed: true
|
|
16313
|
+
},
|
|
16314
|
+
{
|
|
16315
|
+
name: "tokenContract",
|
|
16316
|
+
internalType: "address",
|
|
16317
|
+
type: "address",
|
|
16318
|
+
indexed: true
|
|
16319
|
+
},
|
|
16320
|
+
{
|
|
16321
|
+
name: "tokenId",
|
|
16322
|
+
internalType: "uint256",
|
|
16323
|
+
type: "uint256",
|
|
16324
|
+
indexed: true
|
|
16325
|
+
},
|
|
16326
|
+
{
|
|
16327
|
+
name: "quantity",
|
|
16328
|
+
internalType: "uint256",
|
|
16329
|
+
type: "uint256",
|
|
16330
|
+
indexed: false
|
|
16331
|
+
},
|
|
16332
|
+
{
|
|
16333
|
+
name: "comment",
|
|
16334
|
+
internalType: "string",
|
|
16335
|
+
type: "string",
|
|
16336
|
+
indexed: false
|
|
16337
|
+
}
|
|
16338
|
+
],
|
|
16339
|
+
name: "MintComment"
|
|
16340
|
+
},
|
|
16341
|
+
{
|
|
16342
|
+
type: "event",
|
|
16343
|
+
anonymous: false,
|
|
16344
|
+
inputs: [
|
|
16345
|
+
{
|
|
16346
|
+
name: "previousOwner",
|
|
16347
|
+
internalType: "address",
|
|
16348
|
+
type: "address",
|
|
16349
|
+
indexed: true
|
|
16350
|
+
},
|
|
16351
|
+
{
|
|
16352
|
+
name: "newOwner",
|
|
16353
|
+
internalType: "address",
|
|
16354
|
+
type: "address",
|
|
16355
|
+
indexed: true
|
|
16356
|
+
}
|
|
16357
|
+
],
|
|
16358
|
+
name: "OwnershipTransferStarted"
|
|
16359
|
+
},
|
|
16360
|
+
{
|
|
16361
|
+
type: "event",
|
|
16362
|
+
anonymous: false,
|
|
16363
|
+
inputs: [
|
|
16364
|
+
{
|
|
16365
|
+
name: "previousOwner",
|
|
16366
|
+
internalType: "address",
|
|
16367
|
+
type: "address",
|
|
16368
|
+
indexed: true
|
|
16369
|
+
},
|
|
16370
|
+
{
|
|
16371
|
+
name: "newOwner",
|
|
16372
|
+
internalType: "address",
|
|
16373
|
+
type: "address",
|
|
16374
|
+
indexed: true
|
|
16375
|
+
}
|
|
16376
|
+
],
|
|
16377
|
+
name: "OwnershipTransferred"
|
|
16378
|
+
},
|
|
16379
|
+
{
|
|
16380
|
+
type: "event",
|
|
16381
|
+
anonymous: false,
|
|
16382
|
+
inputs: [
|
|
16383
|
+
{
|
|
16384
|
+
name: "contractURI",
|
|
16385
|
+
internalType: "string",
|
|
16386
|
+
type: "string",
|
|
16387
|
+
indexed: false
|
|
16388
|
+
},
|
|
16389
|
+
{
|
|
16390
|
+
name: "baseURI",
|
|
16391
|
+
internalType: "string",
|
|
16392
|
+
type: "string",
|
|
16393
|
+
indexed: false
|
|
16394
|
+
}
|
|
16395
|
+
],
|
|
16396
|
+
name: "URIsUpdated"
|
|
16397
|
+
},
|
|
16398
|
+
{
|
|
16399
|
+
type: "event",
|
|
16400
|
+
anonymous: false,
|
|
16401
|
+
inputs: [
|
|
16402
|
+
{
|
|
16403
|
+
name: "implementation",
|
|
16404
|
+
internalType: "address",
|
|
16405
|
+
type: "address",
|
|
16406
|
+
indexed: true
|
|
16407
|
+
}
|
|
16408
|
+
],
|
|
16409
|
+
name: "Upgraded"
|
|
16410
|
+
},
|
|
16411
|
+
{
|
|
16412
|
+
type: "error",
|
|
16413
|
+
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
16414
|
+
name: "AddressEmptyCode"
|
|
16415
|
+
},
|
|
16416
|
+
{
|
|
16417
|
+
type: "error",
|
|
16418
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
16419
|
+
name: "AddressInsufficientBalance"
|
|
16420
|
+
},
|
|
16421
|
+
{
|
|
16422
|
+
type: "error",
|
|
16423
|
+
inputs: [
|
|
16424
|
+
{ name: "lengthA", internalType: "uint256", type: "uint256" },
|
|
16425
|
+
{ name: "lengthB", internalType: "uint256", type: "uint256" }
|
|
16426
|
+
],
|
|
16427
|
+
name: "ArrayLengthMismatch"
|
|
16428
|
+
},
|
|
16429
|
+
{
|
|
16430
|
+
type: "error",
|
|
16431
|
+
inputs: [
|
|
16432
|
+
{ name: "operator", internalType: "address", type: "address" },
|
|
16433
|
+
{ name: "user", internalType: "address", type: "address" }
|
|
16434
|
+
],
|
|
16435
|
+
name: "Burn_NotOwnerOrApproved"
|
|
16436
|
+
},
|
|
16437
|
+
{
|
|
16438
|
+
type: "error",
|
|
16439
|
+
inputs: [{ name: "reason", internalType: "bytes", type: "bytes" }],
|
|
16440
|
+
name: "CallFailed"
|
|
16441
|
+
},
|
|
16442
|
+
{ type: "error", inputs: [], name: "Call_TokenIdMismatch" },
|
|
16443
|
+
{ type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
|
|
16444
|
+
{
|
|
16445
|
+
type: "error",
|
|
16446
|
+
inputs: [
|
|
16447
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
16448
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
16449
|
+
{ name: "totalMinted", internalType: "uint256", type: "uint256" },
|
|
16450
|
+
{ name: "maxSupply", internalType: "uint256", type: "uint256" }
|
|
16451
|
+
],
|
|
16452
|
+
name: "CannotMintMoreTokens"
|
|
16453
|
+
},
|
|
16454
|
+
{
|
|
16455
|
+
type: "error",
|
|
16456
|
+
inputs: [
|
|
16457
|
+
{ name: "proposedAddress", internalType: "address", type: "address" }
|
|
16458
|
+
],
|
|
16459
|
+
name: "Config_TransferHookNotSupported"
|
|
16460
|
+
},
|
|
16461
|
+
{ type: "error", inputs: [], name: "Create2EmptyBytecode" },
|
|
16462
|
+
{ type: "error", inputs: [], name: "Create2FailedDeployment" },
|
|
16463
|
+
{
|
|
16464
|
+
type: "error",
|
|
16465
|
+
inputs: [
|
|
16466
|
+
{ name: "balance", internalType: "uint256", type: "uint256" },
|
|
16467
|
+
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
16468
|
+
],
|
|
16469
|
+
name: "Create2InsufficientBalance"
|
|
16470
|
+
},
|
|
16471
|
+
{ type: "error", inputs: [], name: "DefaultOwnerCannotBeZero" },
|
|
16472
|
+
{ type: "error", inputs: [], name: "ERC1155BatchReceivedCallFailed" },
|
|
16473
|
+
{ type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
|
|
16474
|
+
{
|
|
16475
|
+
type: "error",
|
|
16476
|
+
inputs: [
|
|
16477
|
+
{ name: "implementation", internalType: "address", type: "address" }
|
|
16478
|
+
],
|
|
16479
|
+
name: "ERC1967InvalidImplementation"
|
|
16480
|
+
},
|
|
16481
|
+
{ type: "error", inputs: [], name: "ERC1967NonPayable" },
|
|
16482
|
+
{ type: "error", inputs: [], name: "ERC20TransferSlippage" },
|
|
16483
|
+
{ type: "error", inputs: [], name: "ETHTransferFailed" },
|
|
16484
|
+
{
|
|
16485
|
+
type: "error",
|
|
16486
|
+
inputs: [
|
|
16487
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
16488
|
+
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
16489
|
+
],
|
|
16490
|
+
name: "ETHWithdrawFailed"
|
|
16491
|
+
},
|
|
16492
|
+
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
16493
|
+
{ type: "error", inputs: [], name: "FirstMinterAddressZero" },
|
|
16494
|
+
{
|
|
16495
|
+
type: "error",
|
|
16496
|
+
inputs: [
|
|
16497
|
+
{ name: "amount", internalType: "uint256", type: "uint256" },
|
|
16498
|
+
{ name: "contractValue", internalType: "uint256", type: "uint256" }
|
|
16499
|
+
],
|
|
16500
|
+
name: "FundsWithdrawInsolvent"
|
|
16501
|
+
},
|
|
16502
|
+
{ type: "error", inputs: [], name: "IncorrectAmountSent" },
|
|
16503
|
+
{ type: "error", inputs: [], name: "InvalidAdminAction" },
|
|
16504
|
+
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
16505
|
+
{
|
|
16506
|
+
type: "error",
|
|
16507
|
+
inputs: [
|
|
16508
|
+
{ name: "mintTo", internalType: "address", type: "address" },
|
|
16509
|
+
{ name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
|
|
16510
|
+
{ name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
|
|
16511
|
+
],
|
|
16512
|
+
name: "InvalidMerkleProof"
|
|
16513
|
+
},
|
|
16514
|
+
{ type: "error", inputs: [], name: "InvalidMintSchedule" },
|
|
16515
|
+
{ type: "error", inputs: [], name: "InvalidOwnerForAssociatedZoraSparks" },
|
|
16516
|
+
{ type: "error", inputs: [], name: "InvalidPremintVersion" },
|
|
16517
|
+
{ type: "error", inputs: [], name: "InvalidRecipient" },
|
|
16518
|
+
{ type: "error", inputs: [], name: "InvalidSignature" },
|
|
16519
|
+
{ type: "error", inputs: [], name: "InvalidSignatureVersion" },
|
|
16520
|
+
{
|
|
16521
|
+
type: "error",
|
|
16522
|
+
inputs: [{ name: "magicValue", internalType: "bytes4", type: "bytes4" }],
|
|
16523
|
+
name: "InvalidSigner"
|
|
16524
|
+
},
|
|
16525
|
+
{ type: "error", inputs: [], name: "InvalidTokenPrice" },
|
|
16526
|
+
{ type: "error", inputs: [], name: "MintNotYetStarted" },
|
|
16527
|
+
{ type: "error", inputs: [], name: "MintWithSparksNotSupportedOnContract" },
|
|
16528
|
+
{ type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
|
|
16529
|
+
{ type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
|
|
16530
|
+
{ type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
|
|
16531
|
+
{ type: "error", inputs: [], name: "Mint_UnknownCommand" },
|
|
16532
|
+
{ type: "error", inputs: [], name: "Mint_ValueTransferFail" },
|
|
16533
|
+
{ type: "error", inputs: [], name: "MinterContractAlreadyExists" },
|
|
16534
|
+
{ type: "error", inputs: [], name: "MinterContractDoesNotExist" },
|
|
16535
|
+
{ type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
|
|
16536
|
+
{ type: "error", inputs: [], name: "NoTokensTransferred" },
|
|
16537
|
+
{ type: "error", inputs: [], name: "NoUriForNonexistentToken" },
|
|
16538
|
+
{ type: "error", inputs: [], name: "NonEthRedemption" },
|
|
16539
|
+
{
|
|
16540
|
+
type: "error",
|
|
16541
|
+
inputs: [{ name: "handler", internalType: "address", type: "address" }],
|
|
16542
|
+
name: "NotARedeemHandler"
|
|
16543
|
+
},
|
|
16544
|
+
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
16545
|
+
{ type: "error", inputs: [], name: "NotSelfCall" },
|
|
16546
|
+
{ type: "error", inputs: [], name: "NotZoraSparks1155" },
|
|
16547
|
+
{ type: "error", inputs: [], name: "OnlyTransfersFromZoraSparks" },
|
|
16548
|
+
{
|
|
16549
|
+
type: "error",
|
|
16550
|
+
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
16551
|
+
name: "OwnableInvalidOwner"
|
|
16552
|
+
},
|
|
16553
|
+
{
|
|
16554
|
+
type: "error",
|
|
16555
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
16556
|
+
name: "OwnableUnauthorizedAccount"
|
|
16557
|
+
},
|
|
16558
|
+
{ type: "error", inputs: [], name: "PremintDeleted" },
|
|
16559
|
+
{ type: "error", inputs: [], name: "PremintExecutorCannotBeZero" },
|
|
16560
|
+
{
|
|
16561
|
+
type: "error",
|
|
16562
|
+
inputs: [
|
|
16563
|
+
{ name: "caller", internalType: "address", type: "address" },
|
|
16564
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
16565
|
+
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
16566
|
+
],
|
|
16567
|
+
name: "ProtocolRewardsWithdrawFailed"
|
|
16568
|
+
},
|
|
16569
|
+
{ type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
|
|
16570
|
+
{ type: "error", inputs: [], name: "Renderer_NotValidRendererContract" },
|
|
16571
|
+
{
|
|
16572
|
+
type: "error",
|
|
16573
|
+
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
16574
|
+
name: "SafeERC20FailedOperation"
|
|
16575
|
+
},
|
|
16576
|
+
{ type: "error", inputs: [], name: "SaleEnded" },
|
|
16577
|
+
{ type: "error", inputs: [], name: "SaleHasNotStarted" },
|
|
16578
|
+
{
|
|
16579
|
+
type: "error",
|
|
16580
|
+
inputs: [
|
|
16581
|
+
{ name: "targetContract", internalType: "address", type: "address" }
|
|
16582
|
+
],
|
|
16583
|
+
name: "Sale_CannotCallNonSalesContract"
|
|
16584
|
+
},
|
|
16585
|
+
{ type: "error", inputs: [], name: "TokenAlreadyCreated" },
|
|
16586
|
+
{ type: "error", inputs: [], name: "TokenDoesNotExist" },
|
|
16587
|
+
{
|
|
16588
|
+
type: "error",
|
|
16589
|
+
inputs: [
|
|
16590
|
+
{ name: "expected", internalType: "uint256", type: "uint256" },
|
|
16591
|
+
{ name: "actual", internalType: "uint256", type: "uint256" }
|
|
16592
|
+
],
|
|
16593
|
+
name: "TokenIdMismatch"
|
|
16594
|
+
},
|
|
16595
|
+
{
|
|
16596
|
+
type: "error",
|
|
16597
|
+
inputs: [
|
|
16598
|
+
{ name: "storedTokenAddress", internalType: "address", type: "address" },
|
|
16599
|
+
{
|
|
16600
|
+
name: "expectedTokenAddress",
|
|
16601
|
+
internalType: "address",
|
|
16602
|
+
type: "address"
|
|
16603
|
+
}
|
|
16604
|
+
],
|
|
16605
|
+
name: "TokenMismatch"
|
|
16606
|
+
},
|
|
16607
|
+
{ type: "error", inputs: [], name: "TokenNotMintable" },
|
|
16608
|
+
{ type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
|
|
16609
|
+
{
|
|
16610
|
+
type: "error",
|
|
16611
|
+
inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
|
|
16612
|
+
name: "UUPSUnsupportedProxiableUUID"
|
|
16613
|
+
},
|
|
16614
|
+
{
|
|
16615
|
+
type: "error",
|
|
16616
|
+
inputs: [{ name: "selector", internalType: "bytes4", type: "bytes4" }],
|
|
16617
|
+
name: "UnknownUserAction"
|
|
16618
|
+
},
|
|
16619
|
+
{
|
|
16620
|
+
type: "error",
|
|
16621
|
+
inputs: [
|
|
16622
|
+
{ name: "expected", internalType: "string", type: "string" },
|
|
16623
|
+
{ name: "actual", internalType: "string", type: "string" }
|
|
16624
|
+
],
|
|
16625
|
+
name: "UpgradeToMismatchedContractName"
|
|
16626
|
+
},
|
|
16627
|
+
{
|
|
16628
|
+
type: "error",
|
|
16629
|
+
inputs: [
|
|
16630
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
16631
|
+
{ name: "limit", internalType: "uint256", type: "uint256" },
|
|
16632
|
+
{ name: "requestedAmount", internalType: "uint256", type: "uint256" }
|
|
16633
|
+
],
|
|
16634
|
+
name: "UserExceedsMintLimit"
|
|
16635
|
+
},
|
|
16636
|
+
{
|
|
16637
|
+
type: "error",
|
|
16638
|
+
inputs: [
|
|
16639
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
16640
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
16641
|
+
{ name: "role", internalType: "uint256", type: "uint256" }
|
|
16642
|
+
],
|
|
16643
|
+
name: "UserMissingRoleForToken"
|
|
16644
|
+
},
|
|
16645
|
+
{ type: "error", inputs: [], name: "WrongValueSent" },
|
|
16646
|
+
{
|
|
16647
|
+
type: "error",
|
|
16648
|
+
inputs: [],
|
|
16649
|
+
name: "premintSignerContractFailedToRecoverSigner"
|
|
16650
|
+
},
|
|
16651
|
+
{ type: "error", inputs: [], name: "premintSignerContractNotAContract" }
|
|
16652
|
+
];
|
|
16653
|
+
var zoraMintsManagerImplAddress = {
|
|
16654
|
+
7777777: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
|
|
16655
|
+
999999999: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B"
|
|
16656
|
+
};
|
|
16657
|
+
var zoraMintsManagerImplConfig = {
|
|
16658
|
+
address: zoraMintsManagerImplAddress,
|
|
16659
|
+
abi: zoraMintsManagerImplABI
|
|
16660
|
+
};
|
|
16661
|
+
var zoraRouterABI = [
|
|
16662
|
+
{
|
|
16663
|
+
type: "constructor",
|
|
16664
|
+
inputs: [
|
|
16665
|
+
{
|
|
16666
|
+
name: "poolManager_",
|
|
16667
|
+
internalType: "contract IPoolManager",
|
|
16668
|
+
type: "address"
|
|
16669
|
+
},
|
|
16670
|
+
{
|
|
16671
|
+
name: "zoraLimitOrderBook_",
|
|
16672
|
+
internalType: "contract IZoraLimitOrderBook",
|
|
16673
|
+
type: "address"
|
|
16674
|
+
},
|
|
16675
|
+
{
|
|
16676
|
+
name: "swapRouter_",
|
|
16677
|
+
internalType: "contract ISwapRouter",
|
|
16678
|
+
type: "address"
|
|
16679
|
+
},
|
|
16680
|
+
{ name: "permit2_", internalType: "address", type: "address" }
|
|
16681
|
+
],
|
|
16682
|
+
stateMutability: "nonpayable"
|
|
15474
16683
|
},
|
|
16684
|
+
{ type: "receive", stateMutability: "payable" },
|
|
15475
16685
|
{
|
|
15476
16686
|
type: "function",
|
|
15477
16687
|
inputs: [],
|
|
15478
|
-
name: "
|
|
15479
|
-
outputs: [
|
|
16688
|
+
name: "getLimitOrderConfig",
|
|
16689
|
+
outputs: [
|
|
16690
|
+
{
|
|
16691
|
+
name: "",
|
|
16692
|
+
internalType: "struct LimitOrderConfig",
|
|
16693
|
+
type: "tuple",
|
|
16694
|
+
components: [
|
|
16695
|
+
{ name: "multiples", internalType: "uint256[]", type: "uint256[]" },
|
|
16696
|
+
{ name: "percentages", internalType: "uint256[]", type: "uint256[]" }
|
|
16697
|
+
]
|
|
16698
|
+
}
|
|
16699
|
+
],
|
|
15480
16700
|
stateMutability: "view"
|
|
15481
16701
|
},
|
|
15482
16702
|
{
|
|
15483
16703
|
type: "function",
|
|
15484
16704
|
inputs: [],
|
|
15485
|
-
name: "
|
|
15486
|
-
outputs: [],
|
|
15487
|
-
stateMutability: "
|
|
16705
|
+
name: "msgSender",
|
|
16706
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
16707
|
+
stateMutability: "view"
|
|
15488
16708
|
},
|
|
15489
16709
|
{
|
|
15490
16710
|
type: "function",
|
|
15491
|
-
inputs: [
|
|
15492
|
-
|
|
15493
|
-
|
|
16711
|
+
inputs: [],
|
|
16712
|
+
name: "poolManager",
|
|
16713
|
+
outputs: [
|
|
16714
|
+
{ name: "", internalType: "contract IPoolManager", type: "address" }
|
|
15494
16715
|
],
|
|
15495
|
-
|
|
15496
|
-
outputs: [],
|
|
15497
|
-
stateMutability: "nonpayable"
|
|
16716
|
+
stateMutability: "view"
|
|
15498
16717
|
},
|
|
15499
16718
|
{
|
|
15500
16719
|
type: "function",
|
|
15501
16720
|
inputs: [
|
|
15502
|
-
{ name: "newContractURI", internalType: "string", type: "string" },
|
|
15503
|
-
{ name: "newBaseURI", internalType: "string", type: "string" },
|
|
15504
16721
|
{
|
|
15505
|
-
name: "
|
|
15506
|
-
internalType: "
|
|
15507
|
-
type: "
|
|
16722
|
+
name: "config",
|
|
16723
|
+
internalType: "struct LimitOrderConfig",
|
|
16724
|
+
type: "tuple",
|
|
16725
|
+
components: [
|
|
16726
|
+
{ name: "multiples", internalType: "uint256[]", type: "uint256[]" },
|
|
16727
|
+
{ name: "percentages", internalType: "uint256[]", type: "uint256[]" }
|
|
16728
|
+
]
|
|
15508
16729
|
}
|
|
15509
16730
|
],
|
|
15510
|
-
name: "
|
|
16731
|
+
name: "setLimitOrderConfig",
|
|
15511
16732
|
outputs: [],
|
|
15512
16733
|
stateMutability: "nonpayable"
|
|
15513
16734
|
},
|
|
15514
16735
|
{
|
|
15515
16736
|
type: "function",
|
|
15516
|
-
inputs: [
|
|
15517
|
-
name: "
|
|
15518
|
-
outputs: [
|
|
15519
|
-
|
|
16737
|
+
inputs: [],
|
|
16738
|
+
name: "swapRouter",
|
|
16739
|
+
outputs: [
|
|
16740
|
+
{ name: "", internalType: "contract ISwapRouter", type: "address" }
|
|
16741
|
+
],
|
|
16742
|
+
stateMutability: "view"
|
|
15520
16743
|
},
|
|
15521
16744
|
{
|
|
15522
16745
|
type: "function",
|
|
15523
16746
|
inputs: [
|
|
15524
|
-
{
|
|
15525
|
-
|
|
16747
|
+
{
|
|
16748
|
+
name: "params",
|
|
16749
|
+
internalType: "struct SwapWithLimitOrders.SwapWithLimitOrdersParams",
|
|
16750
|
+
type: "tuple",
|
|
16751
|
+
components: [
|
|
16752
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
16753
|
+
{
|
|
16754
|
+
name: "limitOrderConfig",
|
|
16755
|
+
internalType: "struct LimitOrderConfig",
|
|
16756
|
+
type: "tuple",
|
|
16757
|
+
components: [
|
|
16758
|
+
{
|
|
16759
|
+
name: "multiples",
|
|
16760
|
+
internalType: "uint256[]",
|
|
16761
|
+
type: "uint256[]"
|
|
16762
|
+
},
|
|
16763
|
+
{
|
|
16764
|
+
name: "percentages",
|
|
16765
|
+
internalType: "uint256[]",
|
|
16766
|
+
type: "uint256[]"
|
|
16767
|
+
}
|
|
16768
|
+
]
|
|
16769
|
+
},
|
|
16770
|
+
{ name: "inputCurrency", internalType: "address", type: "address" },
|
|
16771
|
+
{ name: "inputAmount", internalType: "uint256", type: "uint256" },
|
|
16772
|
+
{ name: "v3Route", internalType: "bytes", type: "bytes" },
|
|
16773
|
+
{
|
|
16774
|
+
name: "v4Route",
|
|
16775
|
+
internalType: "struct PoolKey[]",
|
|
16776
|
+
type: "tuple[]",
|
|
16777
|
+
components: [
|
|
16778
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
16779
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
16780
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
16781
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
16782
|
+
{
|
|
16783
|
+
name: "hooks",
|
|
16784
|
+
internalType: "contract IHooks",
|
|
16785
|
+
type: "address"
|
|
16786
|
+
}
|
|
16787
|
+
]
|
|
16788
|
+
},
|
|
16789
|
+
{ name: "minAmountOut", internalType: "uint256", type: "uint256" }
|
|
16790
|
+
]
|
|
16791
|
+
}
|
|
15526
16792
|
],
|
|
15527
|
-
name: "
|
|
15528
|
-
outputs: [],
|
|
16793
|
+
name: "swapWithLimitOrders",
|
|
16794
|
+
outputs: [{ name: "delta", internalType: "BalanceDelta", type: "int256" }],
|
|
15529
16795
|
stateMutability: "payable"
|
|
15530
16796
|
},
|
|
15531
16797
|
{
|
|
15532
16798
|
type: "function",
|
|
15533
|
-
inputs: [{ name: "
|
|
15534
|
-
name: "
|
|
15535
|
-
outputs: [{ name: "", internalType: "
|
|
15536
|
-
stateMutability: "
|
|
16799
|
+
inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
|
|
16800
|
+
name: "unlockCallback",
|
|
16801
|
+
outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
|
|
16802
|
+
stateMutability: "nonpayable"
|
|
15537
16803
|
},
|
|
15538
16804
|
{
|
|
15539
16805
|
type: "function",
|
|
15540
16806
|
inputs: [],
|
|
15541
|
-
name: "
|
|
16807
|
+
name: "zoraLimitOrderBook",
|
|
15542
16808
|
outputs: [
|
|
15543
|
-
{
|
|
16809
|
+
{
|
|
16810
|
+
name: "",
|
|
16811
|
+
internalType: "contract IZoraLimitOrderBook",
|
|
16812
|
+
type: "address"
|
|
16813
|
+
}
|
|
15544
16814
|
],
|
|
15545
16815
|
stateMutability: "view"
|
|
15546
16816
|
},
|
|
@@ -15549,63 +16819,19 @@ var zoraMintsManagerImplABI = [
|
|
|
15549
16819
|
anonymous: false,
|
|
15550
16820
|
inputs: [
|
|
15551
16821
|
{
|
|
15552
|
-
name: "
|
|
16822
|
+
name: "multiples",
|
|
15553
16823
|
internalType: "uint256[]",
|
|
15554
16824
|
type: "uint256[]",
|
|
15555
|
-
indexed:
|
|
16825
|
+
indexed: false
|
|
15556
16826
|
},
|
|
15557
16827
|
{
|
|
15558
|
-
name: "
|
|
16828
|
+
name: "percentages",
|
|
15559
16829
|
internalType: "uint256[]",
|
|
15560
16830
|
type: "uint256[]",
|
|
15561
16831
|
indexed: false
|
|
15562
|
-
},
|
|
15563
|
-
{
|
|
15564
|
-
name: "zoraCreator1155Contract",
|
|
15565
|
-
internalType: "address",
|
|
15566
|
-
type: "address",
|
|
15567
|
-
indexed: true
|
|
15568
|
-
},
|
|
15569
|
-
{
|
|
15570
|
-
name: "zoraCreator1155TokenId",
|
|
15571
|
-
internalType: "uint256",
|
|
15572
|
-
type: "uint256",
|
|
15573
|
-
indexed: true
|
|
15574
|
-
}
|
|
15575
|
-
],
|
|
15576
|
-
name: "Collected"
|
|
15577
|
-
},
|
|
15578
|
-
{
|
|
15579
|
-
type: "event",
|
|
15580
|
-
anonymous: false,
|
|
15581
|
-
inputs: [
|
|
15582
|
-
{
|
|
15583
|
-
name: "tokenAddress",
|
|
15584
|
-
internalType: "address",
|
|
15585
|
-
type: "address",
|
|
15586
|
-
indexed: false
|
|
15587
|
-
},
|
|
15588
|
-
{
|
|
15589
|
-
name: "tokenId",
|
|
15590
|
-
internalType: "uint256",
|
|
15591
|
-
type: "uint256",
|
|
15592
|
-
indexed: false
|
|
15593
|
-
}
|
|
15594
|
-
],
|
|
15595
|
-
name: "DefaultMintableTokenSet"
|
|
15596
|
-
},
|
|
15597
|
-
{
|
|
15598
|
-
type: "event",
|
|
15599
|
-
anonymous: false,
|
|
15600
|
-
inputs: [
|
|
15601
|
-
{
|
|
15602
|
-
name: "version",
|
|
15603
|
-
internalType: "uint64",
|
|
15604
|
-
type: "uint64",
|
|
15605
|
-
indexed: false
|
|
15606
16832
|
}
|
|
15607
16833
|
],
|
|
15608
|
-
name: "
|
|
16834
|
+
name: "LimitOrderConfigUpdated"
|
|
15609
16835
|
},
|
|
15610
16836
|
{
|
|
15611
16837
|
type: "event",
|
|
@@ -15618,351 +16844,329 @@ var zoraMintsManagerImplABI = [
|
|
|
15618
16844
|
indexed: true
|
|
15619
16845
|
},
|
|
15620
16846
|
{
|
|
15621
|
-
name: "
|
|
16847
|
+
name: "recipient",
|
|
15622
16848
|
internalType: "address",
|
|
15623
16849
|
type: "address",
|
|
15624
16850
|
indexed: true
|
|
15625
16851
|
},
|
|
15626
16852
|
{
|
|
15627
|
-
name: "
|
|
15628
|
-
internalType: "
|
|
15629
|
-
type: "
|
|
15630
|
-
|
|
16853
|
+
name: "poolKey",
|
|
16854
|
+
internalType: "struct PoolKey",
|
|
16855
|
+
type: "tuple",
|
|
16856
|
+
components: [
|
|
16857
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
16858
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
16859
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
16860
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
16861
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
16862
|
+
],
|
|
16863
|
+
indexed: false
|
|
15631
16864
|
},
|
|
15632
16865
|
{
|
|
15633
|
-
name: "
|
|
15634
|
-
internalType: "
|
|
15635
|
-
type: "
|
|
16866
|
+
name: "delta",
|
|
16867
|
+
internalType: "BalanceDelta",
|
|
16868
|
+
type: "int256",
|
|
15636
16869
|
indexed: false
|
|
15637
16870
|
},
|
|
15638
16871
|
{
|
|
15639
|
-
name: "
|
|
15640
|
-
internalType: "
|
|
15641
|
-
type: "
|
|
16872
|
+
name: "tickBeforeSwap",
|
|
16873
|
+
internalType: "int24",
|
|
16874
|
+
type: "int24",
|
|
15642
16875
|
indexed: false
|
|
15643
|
-
}
|
|
15644
|
-
],
|
|
15645
|
-
name: "MintComment"
|
|
15646
|
-
},
|
|
15647
|
-
{
|
|
15648
|
-
type: "event",
|
|
15649
|
-
anonymous: false,
|
|
15650
|
-
inputs: [
|
|
16876
|
+
},
|
|
15651
16877
|
{
|
|
15652
|
-
name: "
|
|
15653
|
-
internalType: "
|
|
15654
|
-
type: "
|
|
15655
|
-
indexed:
|
|
16878
|
+
name: "tickAfterSwap",
|
|
16879
|
+
internalType: "int24",
|
|
16880
|
+
type: "int24",
|
|
16881
|
+
indexed: false
|
|
15656
16882
|
},
|
|
15657
16883
|
{
|
|
15658
|
-
name: "
|
|
15659
|
-
internalType: "
|
|
15660
|
-
type: "
|
|
15661
|
-
|
|
16884
|
+
name: "orders",
|
|
16885
|
+
internalType: "struct SwapWithLimitOrders.CreatedOrder[]",
|
|
16886
|
+
type: "tuple[]",
|
|
16887
|
+
components: [
|
|
16888
|
+
{ name: "orderId", internalType: "bytes32", type: "bytes32" },
|
|
16889
|
+
{ name: "multiple", internalType: "uint256", type: "uint256" },
|
|
16890
|
+
{ name: "percentage", internalType: "uint256", type: "uint256" }
|
|
16891
|
+
],
|
|
16892
|
+
indexed: false
|
|
15662
16893
|
}
|
|
15663
16894
|
],
|
|
15664
|
-
name: "
|
|
16895
|
+
name: "SwapWithLimitOrdersExecuted"
|
|
15665
16896
|
},
|
|
16897
|
+
{ type: "error", inputs: [], name: "EmptyV4Route" },
|
|
16898
|
+
{ type: "error", inputs: [], name: "FromAddressIsNotOwner" },
|
|
15666
16899
|
{
|
|
15667
|
-
type: "
|
|
15668
|
-
anonymous: false,
|
|
16900
|
+
type: "error",
|
|
15669
16901
|
inputs: [
|
|
15670
|
-
{
|
|
15671
|
-
|
|
15672
|
-
internalType: "address",
|
|
15673
|
-
type: "address",
|
|
15674
|
-
indexed: true
|
|
15675
|
-
},
|
|
15676
|
-
{
|
|
15677
|
-
name: "newOwner",
|
|
15678
|
-
internalType: "address",
|
|
15679
|
-
type: "address",
|
|
15680
|
-
indexed: true
|
|
15681
|
-
}
|
|
16902
|
+
{ name: "inputAmount", internalType: "uint256", type: "uint256" },
|
|
16903
|
+
{ name: "availableAmount", internalType: "uint256", type: "uint256" }
|
|
15682
16904
|
],
|
|
15683
|
-
name: "
|
|
16905
|
+
name: "InsufficientInputCurrency"
|
|
15684
16906
|
},
|
|
16907
|
+
{ type: "error", inputs: [], name: "InsufficientOutputAmount" },
|
|
16908
|
+
{ type: "error", inputs: [], name: "InsufficientTransferFunds" },
|
|
16909
|
+
{ type: "error", inputs: [], name: "InvalidLimitOrderConfig" },
|
|
16910
|
+
{ type: "error", inputs: [], name: "InvalidMultiple" },
|
|
16911
|
+
{ type: "error", inputs: [], name: "InvalidPercent" },
|
|
16912
|
+
{ type: "error", inputs: [], name: "LengthMismatch" },
|
|
16913
|
+
{ type: "error", inputs: [], name: "OnlyAuthority" },
|
|
16914
|
+
{ type: "error", inputs: [], name: "OnlyPoolManager" },
|
|
16915
|
+
{ type: "error", inputs: [], name: "PercentOverflow" },
|
|
15685
16916
|
{
|
|
15686
|
-
type: "
|
|
15687
|
-
|
|
15688
|
-
|
|
15689
|
-
{
|
|
15690
|
-
name: "contractURI",
|
|
15691
|
-
internalType: "string",
|
|
15692
|
-
type: "string",
|
|
15693
|
-
indexed: false
|
|
15694
|
-
},
|
|
15695
|
-
{
|
|
15696
|
-
name: "baseURI",
|
|
15697
|
-
internalType: "string",
|
|
15698
|
-
type: "string",
|
|
15699
|
-
indexed: false
|
|
15700
|
-
}
|
|
15701
|
-
],
|
|
15702
|
-
name: "URIsUpdated"
|
|
16917
|
+
type: "error",
|
|
16918
|
+
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
16919
|
+
name: "SafeERC20FailedOperation"
|
|
15703
16920
|
},
|
|
16921
|
+
{ type: "error", inputs: [], name: "UnsafeCast" },
|
|
16922
|
+
{ type: "error", inputs: [], name: "V3RouteDoesNotConnectToV4RouteStart" },
|
|
16923
|
+
{ type: "error", inputs: [], name: "ZeroSwapDelta" },
|
|
16924
|
+
{ type: "error", inputs: [], name: "AddressZero" },
|
|
16925
|
+
{ type: "error", inputs: [], name: "AlreadyOwner" },
|
|
16926
|
+
{ type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
|
|
15704
16927
|
{
|
|
15705
|
-
type: "
|
|
15706
|
-
|
|
15707
|
-
|
|
15708
|
-
{
|
|
15709
|
-
name: "implementation",
|
|
15710
|
-
internalType: "address",
|
|
15711
|
-
type: "address",
|
|
15712
|
-
indexed: true
|
|
15713
|
-
}
|
|
15714
|
-
],
|
|
15715
|
-
name: "Upgraded"
|
|
16928
|
+
type: "error",
|
|
16929
|
+
inputs: [],
|
|
16930
|
+
name: "DopplerPoolMustHaveMoreThan2DiscoveryPositions"
|
|
15716
16931
|
},
|
|
16932
|
+
{ type: "error", inputs: [], name: "ECDSAInvalidSignature" },
|
|
15717
16933
|
{
|
|
15718
16934
|
type: "error",
|
|
15719
|
-
inputs: [{ name: "
|
|
15720
|
-
name: "
|
|
16935
|
+
inputs: [{ name: "length", internalType: "uint256", type: "uint256" }],
|
|
16936
|
+
name: "ECDSAInvalidSignatureLength"
|
|
15721
16937
|
},
|
|
15722
16938
|
{
|
|
15723
16939
|
type: "error",
|
|
15724
|
-
inputs: [{ name: "
|
|
15725
|
-
name: "
|
|
16940
|
+
inputs: [{ name: "s", internalType: "bytes32", type: "bytes32" }],
|
|
16941
|
+
name: "ECDSAInvalidSignatureS"
|
|
15726
16942
|
},
|
|
15727
16943
|
{
|
|
15728
16944
|
type: "error",
|
|
15729
16945
|
inputs: [
|
|
15730
|
-
{ name: "
|
|
15731
|
-
{ name: "
|
|
16946
|
+
{ name: "spender", internalType: "address", type: "address" },
|
|
16947
|
+
{ name: "allowance", internalType: "uint256", type: "uint256" },
|
|
16948
|
+
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
15732
16949
|
],
|
|
15733
|
-
name: "
|
|
16950
|
+
name: "ERC20InsufficientAllowance"
|
|
15734
16951
|
},
|
|
15735
16952
|
{
|
|
15736
16953
|
type: "error",
|
|
15737
16954
|
inputs: [
|
|
15738
|
-
{ name: "
|
|
15739
|
-
{ name: "
|
|
16955
|
+
{ name: "sender", internalType: "address", type: "address" },
|
|
16956
|
+
{ name: "balance", internalType: "uint256", type: "uint256" },
|
|
16957
|
+
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
15740
16958
|
],
|
|
15741
|
-
name: "
|
|
16959
|
+
name: "ERC20InsufficientBalance"
|
|
15742
16960
|
},
|
|
15743
16961
|
{
|
|
15744
16962
|
type: "error",
|
|
15745
|
-
inputs: [{ name: "
|
|
15746
|
-
name: "
|
|
16963
|
+
inputs: [{ name: "approver", internalType: "address", type: "address" }],
|
|
16964
|
+
name: "ERC20InvalidApprover"
|
|
15747
16965
|
},
|
|
15748
|
-
{ type: "error", inputs: [], name: "Call_TokenIdMismatch" },
|
|
15749
|
-
{ type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
|
|
15750
16966
|
{
|
|
15751
16967
|
type: "error",
|
|
15752
|
-
inputs: [
|
|
15753
|
-
|
|
15754
|
-
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
15755
|
-
{ name: "totalMinted", internalType: "uint256", type: "uint256" },
|
|
15756
|
-
{ name: "maxSupply", internalType: "uint256", type: "uint256" }
|
|
15757
|
-
],
|
|
15758
|
-
name: "CannotMintMoreTokens"
|
|
16968
|
+
inputs: [{ name: "receiver", internalType: "address", type: "address" }],
|
|
16969
|
+
name: "ERC20InvalidReceiver"
|
|
15759
16970
|
},
|
|
15760
16971
|
{
|
|
15761
16972
|
type: "error",
|
|
15762
|
-
inputs: [
|
|
15763
|
-
|
|
15764
|
-
],
|
|
15765
|
-
name: "Config_TransferHookNotSupported"
|
|
16973
|
+
inputs: [{ name: "sender", internalType: "address", type: "address" }],
|
|
16974
|
+
name: "ERC20InvalidSender"
|
|
15766
16975
|
},
|
|
15767
|
-
{ type: "error", inputs: [], name: "Create2EmptyBytecode" },
|
|
15768
|
-
{ type: "error", inputs: [], name: "Create2FailedDeployment" },
|
|
15769
16976
|
{
|
|
15770
16977
|
type: "error",
|
|
15771
|
-
inputs: [
|
|
15772
|
-
|
|
15773
|
-
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
15774
|
-
],
|
|
15775
|
-
name: "Create2InsufficientBalance"
|
|
16978
|
+
inputs: [{ name: "spender", internalType: "address", type: "address" }],
|
|
16979
|
+
name: "ERC20InvalidSpender"
|
|
15776
16980
|
},
|
|
15777
|
-
{ type: "error", inputs: [], name: "
|
|
15778
|
-
{ type: "error", inputs: [], name: "ERC1155BatchReceivedCallFailed" },
|
|
15779
|
-
{ type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
|
|
16981
|
+
{ type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
|
|
15780
16982
|
{
|
|
15781
16983
|
type: "error",
|
|
15782
|
-
inputs: [
|
|
15783
|
-
|
|
15784
|
-
],
|
|
15785
|
-
name: "ERC1967InvalidImplementation"
|
|
16984
|
+
inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
|
|
16985
|
+
name: "ERC2612ExpiredSignature"
|
|
15786
16986
|
},
|
|
15787
|
-
{ type: "error", inputs: [], name: "ERC1967NonPayable" },
|
|
15788
|
-
{ type: "error", inputs: [], name: "ERC20TransferSlippage" },
|
|
15789
|
-
{ type: "error", inputs: [], name: "ETHTransferFailed" },
|
|
15790
16987
|
{
|
|
15791
16988
|
type: "error",
|
|
15792
16989
|
inputs: [
|
|
15793
|
-
{ name: "
|
|
15794
|
-
{ name: "
|
|
16990
|
+
{ name: "signer", internalType: "address", type: "address" },
|
|
16991
|
+
{ name: "owner", internalType: "address", type: "address" }
|
|
15795
16992
|
],
|
|
15796
|
-
name: "
|
|
16993
|
+
name: "ERC2612InvalidSigner"
|
|
15797
16994
|
},
|
|
15798
|
-
{ type: "error", inputs: [], name: "
|
|
15799
|
-
{ type: "error", inputs: [], name: "
|
|
16995
|
+
{ type: "error", inputs: [], name: "EthAmountMismatch" },
|
|
16996
|
+
{ type: "error", inputs: [], name: "EthAmountTooSmall" },
|
|
16997
|
+
{ type: "error", inputs: [], name: "EthTransferFailed" },
|
|
16998
|
+
{ type: "error", inputs: [], name: "EthTransferInvalid" },
|
|
16999
|
+
{ type: "error", inputs: [], name: "InitialOrderSizeTooLarge" },
|
|
17000
|
+
{ type: "error", inputs: [], name: "InsufficientFunds" },
|
|
17001
|
+
{ type: "error", inputs: [], name: "InsufficientLiquidity" },
|
|
15800
17002
|
{
|
|
15801
17003
|
type: "error",
|
|
15802
17004
|
inputs: [
|
|
15803
|
-
{ name: "
|
|
15804
|
-
{ name: "
|
|
17005
|
+
{ name: "account", internalType: "address", type: "address" },
|
|
17006
|
+
{ name: "currentNonce", internalType: "uint256", type: "uint256" }
|
|
15805
17007
|
],
|
|
15806
|
-
name: "
|
|
17008
|
+
name: "InvalidAccountNonce"
|
|
15807
17009
|
},
|
|
15808
|
-
{ type: "error", inputs: [], name: "
|
|
15809
|
-
{ type: "error", inputs: [], name: "InvalidAdminAction" },
|
|
17010
|
+
{ type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
|
|
15810
17011
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
17012
|
+
{ type: "error", inputs: [], name: "InvalidMarketType" },
|
|
17013
|
+
{ type: "error", inputs: [], name: "InvalidPoolVersion" },
|
|
15811
17014
|
{
|
|
15812
17015
|
type: "error",
|
|
15813
17016
|
inputs: [
|
|
15814
|
-
{ name: "
|
|
15815
|
-
{ name: "
|
|
15816
|
-
{ name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
|
|
17017
|
+
{ name: "tickLower", internalType: "int24", type: "int24" },
|
|
17018
|
+
{ name: "tickUpper", internalType: "int24", type: "int24" }
|
|
15817
17019
|
],
|
|
15818
|
-
name: "
|
|
15819
|
-
},
|
|
15820
|
-
{ type: "error", inputs: [], name: "InvalidMintSchedule" },
|
|
15821
|
-
{ type: "error", inputs: [], name: "InvalidOwnerForAssociatedZoraSparks" },
|
|
15822
|
-
{ type: "error", inputs: [], name: "InvalidPremintVersion" },
|
|
15823
|
-
{ type: "error", inputs: [], name: "InvalidRecipient" },
|
|
15824
|
-
{ type: "error", inputs: [], name: "InvalidSignature" },
|
|
15825
|
-
{ type: "error", inputs: [], name: "InvalidSignatureVersion" },
|
|
15826
|
-
{
|
|
15827
|
-
type: "error",
|
|
15828
|
-
inputs: [{ name: "magicValue", internalType: "bytes4", type: "bytes4" }],
|
|
15829
|
-
name: "InvalidSigner"
|
|
17020
|
+
name: "InvalidTickRangeMisordered"
|
|
15830
17021
|
},
|
|
15831
|
-
{ type: "error", inputs: [], name: "
|
|
15832
|
-
{ type: "error", inputs: [], name: "
|
|
15833
|
-
{ type: "error", inputs: [], name: "
|
|
15834
|
-
{ type: "error", inputs: [], name: "
|
|
15835
|
-
{ type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
|
|
15836
|
-
{ type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
|
|
15837
|
-
{ type: "error", inputs: [], name: "Mint_UnknownCommand" },
|
|
15838
|
-
{ type: "error", inputs: [], name: "Mint_ValueTransferFail" },
|
|
15839
|
-
{ type: "error", inputs: [], name: "MinterContractAlreadyExists" },
|
|
15840
|
-
{ type: "error", inputs: [], name: "MinterContractDoesNotExist" },
|
|
15841
|
-
{ type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
|
|
15842
|
-
{ type: "error", inputs: [], name: "NoTokensTransferred" },
|
|
15843
|
-
{ type: "error", inputs: [], name: "NoUriForNonexistentToken" },
|
|
15844
|
-
{ type: "error", inputs: [], name: "NonEthRedemption" },
|
|
17022
|
+
{ type: "error", inputs: [], name: "InvalidWethLowerTick" },
|
|
17023
|
+
{ type: "error", inputs: [], name: "LegacyPoolMustHaveOneDiscoveryPosition" },
|
|
17024
|
+
{ type: "error", inputs: [], name: "MarketAlreadyGraduated" },
|
|
17025
|
+
{ type: "error", inputs: [], name: "MarketNotGraduated" },
|
|
15845
17026
|
{
|
|
15846
17027
|
type: "error",
|
|
15847
|
-
inputs: [
|
|
15848
|
-
|
|
17028
|
+
inputs: [
|
|
17029
|
+
{ name: "value", internalType: "uint256", type: "uint256" },
|
|
17030
|
+
{ name: "limit", internalType: "uint256", type: "uint256" }
|
|
17031
|
+
],
|
|
17032
|
+
name: "MaxShareToBeSoldExceeded"
|
|
15849
17033
|
},
|
|
17034
|
+
{ type: "error", inputs: [], name: "NameIsRequired" },
|
|
15850
17035
|
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
15851
|
-
{ type: "error", inputs: [], name: "
|
|
15852
|
-
{ type: "error", inputs: [], name: "
|
|
15853
|
-
{ type: "error", inputs: [], name: "
|
|
15854
|
-
{
|
|
15855
|
-
type: "error",
|
|
15856
|
-
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
15857
|
-
name: "OwnableInvalidOwner"
|
|
15858
|
-
},
|
|
15859
|
-
{
|
|
15860
|
-
type: "error",
|
|
15861
|
-
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
15862
|
-
name: "OwnableUnauthorizedAccount"
|
|
15863
|
-
},
|
|
15864
|
-
{ type: "error", inputs: [], name: "PremintDeleted" },
|
|
15865
|
-
{ type: "error", inputs: [], name: "PremintExecutorCannotBeZero" },
|
|
17036
|
+
{ type: "error", inputs: [], name: "NotOwner" },
|
|
17037
|
+
{ type: "error", inputs: [], name: "NumDiscoveryPositionsOutOfRange" },
|
|
17038
|
+
{ type: "error", inputs: [], name: "OneOwnerRequired" },
|
|
17039
|
+
{ type: "error", inputs: [], name: "OnlyOwner" },
|
|
15866
17040
|
{
|
|
15867
17041
|
type: "error",
|
|
15868
17042
|
inputs: [
|
|
15869
|
-
{ name: "
|
|
15870
|
-
{ name: "
|
|
15871
|
-
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
17043
|
+
{ name: "sender", internalType: "address", type: "address" },
|
|
17044
|
+
{ name: "pool", internalType: "address", type: "address" }
|
|
15872
17045
|
],
|
|
15873
|
-
name: "
|
|
17046
|
+
name: "OnlyPool"
|
|
15874
17047
|
},
|
|
15875
|
-
{ type: "error", inputs: [], name: "
|
|
15876
|
-
{ type: "error", inputs: [], name: "
|
|
17048
|
+
{ type: "error", inputs: [], name: "OnlyWeth" },
|
|
17049
|
+
{ type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
|
|
17050
|
+
{ type: "error", inputs: [], name: "SlippageBoundsExceeded" },
|
|
17051
|
+
{ type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" },
|
|
17052
|
+
{ type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
|
|
17053
|
+
{ type: "error", inputs: [], name: "CoinVersionLookupCannotBeZeroAddress" },
|
|
17054
|
+
{ type: "error", inputs: [], name: "EthTransferFailed" },
|
|
17055
|
+
{ type: "error", inputs: [], name: "HookNotImplemented" },
|
|
15877
17056
|
{
|
|
15878
17057
|
type: "error",
|
|
15879
|
-
inputs: [{ name: "
|
|
15880
|
-
name: "
|
|
17058
|
+
inputs: [{ name: "callbackId", internalType: "uint8", type: "uint8" }],
|
|
17059
|
+
name: "InvalidCallbackId"
|
|
15881
17060
|
},
|
|
15882
|
-
{ type: "error", inputs: [], name: "SaleEnded" },
|
|
15883
|
-
{ type: "error", inputs: [], name: "SaleHasNotStarted" },
|
|
15884
17061
|
{
|
|
15885
17062
|
type: "error",
|
|
15886
|
-
inputs: [
|
|
15887
|
-
|
|
15888
|
-
],
|
|
15889
|
-
name: "Sale_CannotCallNonSalesContract"
|
|
17063
|
+
inputs: [{ name: "newHook", internalType: "address", type: "address" }],
|
|
17064
|
+
name: "InvalidNewHook"
|
|
15890
17065
|
},
|
|
15891
|
-
{ type: "error", inputs: [], name: "TokenAlreadyCreated" },
|
|
15892
|
-
{ type: "error", inputs: [], name: "TokenDoesNotExist" },
|
|
15893
17066
|
{
|
|
15894
17067
|
type: "error",
|
|
15895
17068
|
inputs: [
|
|
15896
|
-
{ name: "
|
|
15897
|
-
{ name: "
|
|
17069
|
+
{ name: "tickLower", internalType: "int24", type: "int24" },
|
|
17070
|
+
{ name: "tickUpper", internalType: "int24", type: "int24" }
|
|
15898
17071
|
],
|
|
15899
|
-
name: "
|
|
17072
|
+
name: "InvalidTickRangeMisordered"
|
|
15900
17073
|
},
|
|
15901
17074
|
{
|
|
15902
17075
|
type: "error",
|
|
15903
17076
|
inputs: [
|
|
15904
|
-
{ name: "storedTokenAddress", internalType: "address", type: "address" },
|
|
15905
17077
|
{
|
|
15906
|
-
name: "
|
|
15907
|
-
internalType: "
|
|
15908
|
-
type: "
|
|
17078
|
+
name: "key",
|
|
17079
|
+
internalType: "struct PoolKey",
|
|
17080
|
+
type: "tuple",
|
|
17081
|
+
components: [
|
|
17082
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
17083
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
17084
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
17085
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
17086
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
17087
|
+
]
|
|
15909
17088
|
}
|
|
15910
17089
|
],
|
|
15911
|
-
name: "
|
|
17090
|
+
name: "NoCoinForHook"
|
|
15912
17091
|
},
|
|
15913
|
-
{ type: "error", inputs: [], name: "TokenNotMintable" },
|
|
15914
|
-
{ type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
|
|
15915
17092
|
{
|
|
15916
17093
|
type: "error",
|
|
15917
|
-
inputs: [{ name: "
|
|
15918
|
-
name: "
|
|
17094
|
+
inputs: [{ name: "coin", internalType: "address", type: "address" }],
|
|
17095
|
+
name: "NotACoin"
|
|
15919
17096
|
},
|
|
17097
|
+
{ type: "error", inputs: [], name: "NotPoolManager" },
|
|
15920
17098
|
{
|
|
15921
17099
|
type: "error",
|
|
15922
|
-
inputs: [
|
|
15923
|
-
|
|
17100
|
+
inputs: [
|
|
17101
|
+
{ name: "caller", internalType: "address", type: "address" },
|
|
17102
|
+
{ name: "expectedCoin", internalType: "address", type: "address" }
|
|
17103
|
+
],
|
|
17104
|
+
name: "OnlyCoin"
|
|
15924
17105
|
},
|
|
17106
|
+
{ type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
|
|
17107
|
+
{ type: "error", inputs: [], name: "SafeCastOverflow" },
|
|
15925
17108
|
{
|
|
15926
17109
|
type: "error",
|
|
15927
|
-
inputs: [
|
|
15928
|
-
|
|
15929
|
-
{ name: "actual", internalType: "string", type: "string" }
|
|
15930
|
-
],
|
|
15931
|
-
name: "UpgradeToMismatchedContractName"
|
|
17110
|
+
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
17111
|
+
name: "SafeERC20FailedOperation"
|
|
15932
17112
|
},
|
|
15933
17113
|
{
|
|
15934
17114
|
type: "error",
|
|
15935
|
-
inputs: [
|
|
15936
|
-
|
|
15937
|
-
{ name: "limit", internalType: "uint256", type: "uint256" },
|
|
15938
|
-
{ name: "requestedAmount", internalType: "uint256", type: "uint256" }
|
|
15939
|
-
],
|
|
15940
|
-
name: "UserExceedsMintLimit"
|
|
17115
|
+
inputs: [],
|
|
17116
|
+
name: "TrustedMsgSenderLookupCannotBeZeroAddress"
|
|
15941
17117
|
},
|
|
17118
|
+
{ type: "error", inputs: [], name: "UpgradeGateCannotBeZeroAddress" },
|
|
15942
17119
|
{
|
|
15943
17120
|
type: "error",
|
|
15944
17121
|
inputs: [
|
|
15945
|
-
{ name: "
|
|
15946
|
-
{ name: "
|
|
15947
|
-
{ name: "role", internalType: "uint256", type: "uint256" }
|
|
17122
|
+
{ name: "oldHook", internalType: "address", type: "address" },
|
|
17123
|
+
{ name: "newHook", internalType: "address", type: "address" }
|
|
15948
17124
|
],
|
|
15949
|
-
name: "
|
|
17125
|
+
name: "UpgradePathNotRegistered"
|
|
15950
17126
|
},
|
|
15951
|
-
{ type: "error", inputs: [], name: "WrongValueSent" },
|
|
15952
17127
|
{
|
|
15953
17128
|
type: "error",
|
|
15954
|
-
inputs: [],
|
|
15955
|
-
name: "
|
|
17129
|
+
inputs: [{ name: "authority", internalType: "address", type: "address" }],
|
|
17130
|
+
name: "AccessManagedInvalidAuthority"
|
|
15956
17131
|
},
|
|
15957
|
-
{ type: "error", inputs: [], name: "
|
|
17132
|
+
{ type: "error", inputs: [], name: "AccessManagedUnauthorized" },
|
|
17133
|
+
{ type: "error", inputs: [], name: "AddressZero" },
|
|
17134
|
+
{ type: "error", inputs: [], name: "ArrayLengthMismatch" },
|
|
17135
|
+
{ type: "error", inputs: [], name: "InsufficientBalance" },
|
|
17136
|
+
{ type: "error", inputs: [], name: "InsufficientForwardedFunds" },
|
|
17137
|
+
{ type: "error", inputs: [], name: "InsufficientTransferFunds" },
|
|
17138
|
+
{
|
|
17139
|
+
type: "error",
|
|
17140
|
+
inputs: [
|
|
17141
|
+
{ name: "startTick", internalType: "int24", type: "int24" },
|
|
17142
|
+
{ name: "endTick", internalType: "int24", type: "int24" },
|
|
17143
|
+
{ name: "isCurrency0", internalType: "bool", type: "bool" }
|
|
17144
|
+
],
|
|
17145
|
+
name: "InvalidFillWindow"
|
|
17146
|
+
},
|
|
17147
|
+
{ type: "error", inputs: [], name: "InvalidOrder" },
|
|
17148
|
+
{ type: "error", inputs: [], name: "InvalidPoolKey" },
|
|
17149
|
+
{ type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
|
|
17150
|
+
{ type: "error", inputs: [], name: "NativeValueMismatch" },
|
|
17151
|
+
{ type: "error", inputs: [], name: "NotPoolManager" },
|
|
17152
|
+
{ type: "error", inputs: [], name: "OnlyZoraHook" },
|
|
17153
|
+
{ type: "error", inputs: [], name: "OrderClosed" },
|
|
17154
|
+
{ type: "error", inputs: [], name: "OrderNotMaker" },
|
|
17155
|
+
{ type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
|
|
17156
|
+
{ type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
|
|
17157
|
+
{ type: "error", inputs: [], name: "UnknownCallback" },
|
|
17158
|
+
{ type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
|
|
17159
|
+
{ type: "error", inputs: [], name: "ZeroMaker" },
|
|
17160
|
+
{ type: "error", inputs: [], name: "ZeroMakerOrders" },
|
|
17161
|
+
{ type: "error", inputs: [], name: "ZeroOrderSize" },
|
|
17162
|
+
{ type: "error", inputs: [], name: "ZeroRealizedOrder" }
|
|
15958
17163
|
];
|
|
15959
|
-
var
|
|
15960
|
-
|
|
15961
|
-
999999999: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B"
|
|
17164
|
+
var zoraRouterAddress = {
|
|
17165
|
+
8453: "0xD17924a5f6B4845D214719aB6035a2ED64Ba23d9"
|
|
15962
17166
|
};
|
|
15963
|
-
var
|
|
15964
|
-
address:
|
|
15965
|
-
abi:
|
|
17167
|
+
var zoraRouterConfig = {
|
|
17168
|
+
address: zoraRouterAddress,
|
|
17169
|
+
abi: zoraRouterABI
|
|
15966
17170
|
};
|
|
15967
17171
|
var zoraSparks1155ABI = [
|
|
15968
17172
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
@@ -18883,6 +20087,20 @@ var chainConfigs2 = {
|
|
|
18883
20087
|
PROXY_ADMIN: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
|
|
18884
20088
|
ZORA_RECIPIENT: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
|
|
18885
20089
|
WETH: "0x4200000000000000000000000000000000000006"
|
|
20090
|
+
},
|
|
20091
|
+
NaN: {
|
|
20092
|
+
NONFUNGIBLE_POSITION_MANAGER: "0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1",
|
|
20093
|
+
UNISWAP_SWAP_ROUTER: "0x2626664c2603336E57B271c5C0b26F421741e481",
|
|
20094
|
+
UNISWAP_V3_FACTORY: "0x33128a8fC17869897dcE68Ed026d694621f6FDfD",
|
|
20095
|
+
UNISWAP_QUOTER_V2: "0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a",
|
|
20096
|
+
DOPPLER_AIRLOCK: "0x660eAaEdEBc968f8f3694354FA8EC0b4c5Ba8D12",
|
|
20097
|
+
PROXY_ADMIN: "0xEAB37fbA9E4F99602815E173A7FeAee0f4eF980B",
|
|
20098
|
+
ZORA_RECIPIENT: "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
|
|
20099
|
+
WETH: "0x4200000000000000000000000000000000000006",
|
|
20100
|
+
UNISWAP_V4_POOL_MANAGER: "0x498581ff718922c3f8e6a244956af099b2652b2b",
|
|
20101
|
+
UNISWAP_V4_POSITION_MANAGER: "0x7c5f5a4bbd8fd63184577525326123b519429bdc",
|
|
20102
|
+
UNISWAP_PERMIT2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
|
|
20103
|
+
UNISWAP_UNIVERSAL_ROUTER: "0x6ff5693b99212da76ad316178a184ab56d299b43"
|
|
18886
20104
|
}
|
|
18887
20105
|
};
|
|
18888
20106
|
var addresses2 = {
|
|
@@ -19024,9 +20242,6 @@ export {
|
|
|
19024
20242
|
uniswapQuoterV2ABI,
|
|
19025
20243
|
uniswapQuoterV2Address,
|
|
19026
20244
|
uniswapQuoterV2Config,
|
|
19027
|
-
uniswapUniversalRouterABI,
|
|
19028
|
-
uniswapUniversalRouterAddress,
|
|
19029
|
-
uniswapUniversalRouterConfig,
|
|
19030
20245
|
uniswapV3SwapRouterABI,
|
|
19031
20246
|
uniswapV3SwapRouterAddress,
|
|
19032
20247
|
uniswapV3SwapRouterConfig,
|
|
@@ -19055,12 +20270,18 @@ export {
|
|
|
19055
20270
|
zoraCreatorRedeemMinterFactoryABI,
|
|
19056
20271
|
zoraCreatorRedeemMinterFactoryAddress,
|
|
19057
20272
|
zoraCreatorRedeemMinterFactoryConfig,
|
|
20273
|
+
zoraLimitOrderBookABI,
|
|
20274
|
+
zoraLimitOrderBookAddress,
|
|
20275
|
+
zoraLimitOrderBookConfig,
|
|
19058
20276
|
zoraMints1155ABI,
|
|
19059
20277
|
zoraMints1155Address,
|
|
19060
20278
|
zoraMints1155Config,
|
|
19061
20279
|
zoraMintsManagerImplABI,
|
|
19062
20280
|
zoraMintsManagerImplAddress,
|
|
19063
20281
|
zoraMintsManagerImplConfig,
|
|
20282
|
+
zoraRouterABI,
|
|
20283
|
+
zoraRouterAddress,
|
|
20284
|
+
zoraRouterConfig,
|
|
19064
20285
|
zoraSparks1155ABI,
|
|
19065
20286
|
zoraSparks1155Address,
|
|
19066
20287
|
zoraSparks1155Config,
|