@zoralabs/protocol-deployments 0.6.5-PRE.1 → 0.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build$colon$js.log +50 -51
- package/CHANGELOG.md +1 -2
- package/LICENSE +21 -0
- package/dist/generated/sparks.d.ts +0 -14
- package/dist/generated/sparks.d.ts.map +1 -1
- package/dist/generated/wagmi.d.ts +3712 -7838
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +1222 -2457
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1219 -2451
- package/dist/index.js.map +1 -1
- package/package.json +12 -12
- package/src/generated/sparks.ts +0 -14
- package/src/generated/wagmi.ts +1221 -2449
- package/.turbo/turbo-build.log +0 -47
package/dist/index.cjs
CHANGED
|
@@ -2207,6 +2207,9 @@ __export(index_exports, {
|
|
|
2207
2207
|
uniswapQuoterV2ABI: () => uniswapQuoterV2ABI,
|
|
2208
2208
|
uniswapQuoterV2Address: () => uniswapQuoterV2Address,
|
|
2209
2209
|
uniswapQuoterV2Config: () => uniswapQuoterV2Config,
|
|
2210
|
+
uniswapUniversalRouterABI: () => uniswapUniversalRouterABI,
|
|
2211
|
+
uniswapUniversalRouterAddress: () => uniswapUniversalRouterAddress,
|
|
2212
|
+
uniswapUniversalRouterConfig: () => uniswapUniversalRouterConfig,
|
|
2210
2213
|
uniswapV3SwapRouterABI: () => uniswapV3SwapRouterABI,
|
|
2211
2214
|
uniswapV3SwapRouterAddress: () => uniswapV3SwapRouterAddress,
|
|
2212
2215
|
uniswapV3SwapRouterConfig: () => uniswapV3SwapRouterConfig,
|
|
@@ -2235,18 +2238,12 @@ __export(index_exports, {
|
|
|
2235
2238
|
zoraCreatorRedeemMinterFactoryABI: () => zoraCreatorRedeemMinterFactoryABI,
|
|
2236
2239
|
zoraCreatorRedeemMinterFactoryAddress: () => zoraCreatorRedeemMinterFactoryAddress,
|
|
2237
2240
|
zoraCreatorRedeemMinterFactoryConfig: () => zoraCreatorRedeemMinterFactoryConfig,
|
|
2238
|
-
zoraLimitOrderBookABI: () => zoraLimitOrderBookABI,
|
|
2239
|
-
zoraLimitOrderBookAddress: () => zoraLimitOrderBookAddress,
|
|
2240
|
-
zoraLimitOrderBookConfig: () => zoraLimitOrderBookConfig,
|
|
2241
2241
|
zoraMints1155ABI: () => zoraMints1155ABI,
|
|
2242
2242
|
zoraMints1155Address: () => zoraMints1155Address,
|
|
2243
2243
|
zoraMints1155Config: () => zoraMints1155Config,
|
|
2244
2244
|
zoraMintsManagerImplABI: () => zoraMintsManagerImplABI,
|
|
2245
2245
|
zoraMintsManagerImplAddress: () => zoraMintsManagerImplAddress,
|
|
2246
2246
|
zoraMintsManagerImplConfig: () => zoraMintsManagerImplConfig,
|
|
2247
|
-
zoraRouterABI: () => zoraRouterABI,
|
|
2248
|
-
zoraRouterAddress: () => zoraRouterAddress,
|
|
2249
|
-
zoraRouterConfig: () => zoraRouterConfig,
|
|
2250
2247
|
zoraSparks1155ABI: () => zoraSparks1155ABI,
|
|
2251
2248
|
zoraSparks1155Address: () => zoraSparks1155Address,
|
|
2252
2249
|
zoraSparks1155Config: () => zoraSparks1155Config,
|
|
@@ -2527,7 +2524,18 @@ var buySupplyWithSwapRouterHookABI = [
|
|
|
2527
2524
|
],
|
|
2528
2525
|
name: "BuyInitialSupply"
|
|
2529
2526
|
},
|
|
2527
|
+
{
|
|
2528
|
+
type: "error",
|
|
2529
|
+
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
2530
|
+
name: "AddressEmptyCode"
|
|
2531
|
+
},
|
|
2532
|
+
{
|
|
2533
|
+
type: "error",
|
|
2534
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
2535
|
+
name: "AddressInsufficientBalance"
|
|
2536
|
+
},
|
|
2530
2537
|
{ type: "error", inputs: [], name: "AddressZero" },
|
|
2538
|
+
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
2531
2539
|
{ type: "error", inputs: [], name: "HookNotImplemented" },
|
|
2532
2540
|
{
|
|
2533
2541
|
type: "error",
|
|
@@ -2545,6 +2553,7 @@ var buySupplyWithSwapRouterHookABI = [
|
|
|
2545
2553
|
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
2546
2554
|
name: "SafeERC20FailedOperation"
|
|
2547
2555
|
},
|
|
2556
|
+
{ type: "error", inputs: [], name: "V3RouteCannotStartWithInputCurrency" },
|
|
2548
2557
|
{ type: "error", inputs: [], name: "V3RouteDoesNotConnectToV4RouteStart" }
|
|
2549
2558
|
];
|
|
2550
2559
|
var buySupplyWithSwapRouterHookAddress = {
|
|
@@ -5211,6 +5220,7 @@ var coinFactoryABI = [
|
|
|
5211
5220
|
{ type: "error", inputs: [], name: "ArrayLengthMismatch" },
|
|
5212
5221
|
{ type: "error", inputs: [], name: "ConfigTickLowerMustBeLessThanTickUpper" },
|
|
5213
5222
|
{ type: "error", inputs: [], name: "Deprecated" },
|
|
5223
|
+
{ type: "error", inputs: [], name: "ERC1167FailedCreateClone" },
|
|
5214
5224
|
{
|
|
5215
5225
|
type: "error",
|
|
5216
5226
|
inputs: [
|
|
@@ -5220,16 +5230,7 @@ var coinFactoryABI = [
|
|
|
5220
5230
|
},
|
|
5221
5231
|
{ type: "error", inputs: [], name: "ERC1967NonPayable" },
|
|
5222
5232
|
{ type: "error", inputs: [], name: "EthTransferInvalid" },
|
|
5223
|
-
{ type: "error", inputs: [], name: "
|
|
5224
|
-
{ type: "error", inputs: [], name: "FailedDeployment" },
|
|
5225
|
-
{
|
|
5226
|
-
type: "error",
|
|
5227
|
-
inputs: [
|
|
5228
|
-
{ name: "balance", internalType: "uint256", type: "uint256" },
|
|
5229
|
-
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
5230
|
-
],
|
|
5231
|
-
name: "InsufficientBalance"
|
|
5232
|
-
},
|
|
5233
|
+
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
5233
5234
|
{ type: "error", inputs: [], name: "InvalidConfig" },
|
|
5234
5235
|
{ type: "error", inputs: [], name: "InvalidHook" },
|
|
5235
5236
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
@@ -5279,7 +5280,18 @@ var coinFactoryABI = [
|
|
|
5279
5280
|
},
|
|
5280
5281
|
{ type: "error", inputs: [], name: "ZeroDiscoveryPositions" },
|
|
5281
5282
|
{ type: "error", inputs: [], name: "ZeroDiscoverySupplyShare" },
|
|
5283
|
+
{
|
|
5284
|
+
type: "error",
|
|
5285
|
+
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
5286
|
+
name: "AddressEmptyCode"
|
|
5287
|
+
},
|
|
5288
|
+
{
|
|
5289
|
+
type: "error",
|
|
5290
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
5291
|
+
name: "AddressInsufficientBalance"
|
|
5292
|
+
},
|
|
5282
5293
|
{ type: "error", inputs: [], name: "AddressZero" },
|
|
5294
|
+
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
5283
5295
|
{ type: "error", inputs: [], name: "HookNotImplemented" },
|
|
5284
5296
|
{
|
|
5285
5297
|
type: "error",
|
|
@@ -5297,6 +5309,7 @@ var coinFactoryABI = [
|
|
|
5297
5309
|
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
5298
5310
|
name: "SafeERC20FailedOperation"
|
|
5299
5311
|
},
|
|
5312
|
+
{ type: "error", inputs: [], name: "V3RouteCannotStartWithInputCurrency" },
|
|
5300
5313
|
{ type: "error", inputs: [], name: "V3RouteDoesNotConnectToV4RouteStart" },
|
|
5301
5314
|
{ type: "error", inputs: [], name: "AddressZero" },
|
|
5302
5315
|
{ type: "error", inputs: [], name: "AlreadyOwner" },
|
|
@@ -5425,120 +5438,7 @@ var coinFactoryABI = [
|
|
|
5425
5438
|
{ type: "error", inputs: [], name: "OnlyWeth" },
|
|
5426
5439
|
{ type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
|
|
5427
5440
|
{ type: "error", inputs: [], name: "SlippageBoundsExceeded" },
|
|
5428
|
-
{ type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" }
|
|
5429
|
-
{ type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
|
|
5430
|
-
{ type: "error", inputs: [], name: "CoinVersionLookupCannotBeZeroAddress" },
|
|
5431
|
-
{ type: "error", inputs: [], name: "EthTransferFailed" },
|
|
5432
|
-
{ type: "error", inputs: [], name: "HookNotImplemented" },
|
|
5433
|
-
{
|
|
5434
|
-
type: "error",
|
|
5435
|
-
inputs: [{ name: "callbackId", internalType: "uint8", type: "uint8" }],
|
|
5436
|
-
name: "InvalidCallbackId"
|
|
5437
|
-
},
|
|
5438
|
-
{
|
|
5439
|
-
type: "error",
|
|
5440
|
-
inputs: [{ name: "newHook", internalType: "address", type: "address" }],
|
|
5441
|
-
name: "InvalidNewHook"
|
|
5442
|
-
},
|
|
5443
|
-
{
|
|
5444
|
-
type: "error",
|
|
5445
|
-
inputs: [
|
|
5446
|
-
{ name: "tickLower", internalType: "int24", type: "int24" },
|
|
5447
|
-
{ name: "tickUpper", internalType: "int24", type: "int24" }
|
|
5448
|
-
],
|
|
5449
|
-
name: "InvalidTickRangeMisordered"
|
|
5450
|
-
},
|
|
5451
|
-
{
|
|
5452
|
-
type: "error",
|
|
5453
|
-
inputs: [
|
|
5454
|
-
{
|
|
5455
|
-
name: "key",
|
|
5456
|
-
internalType: "struct PoolKey",
|
|
5457
|
-
type: "tuple",
|
|
5458
|
-
components: [
|
|
5459
|
-
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
5460
|
-
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
5461
|
-
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
5462
|
-
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
5463
|
-
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
5464
|
-
]
|
|
5465
|
-
}
|
|
5466
|
-
],
|
|
5467
|
-
name: "NoCoinForHook"
|
|
5468
|
-
},
|
|
5469
|
-
{
|
|
5470
|
-
type: "error",
|
|
5471
|
-
inputs: [{ name: "coin", internalType: "address", type: "address" }],
|
|
5472
|
-
name: "NotACoin"
|
|
5473
|
-
},
|
|
5474
|
-
{ type: "error", inputs: [], name: "NotPoolManager" },
|
|
5475
|
-
{
|
|
5476
|
-
type: "error",
|
|
5477
|
-
inputs: [
|
|
5478
|
-
{ name: "caller", internalType: "address", type: "address" },
|
|
5479
|
-
{ name: "expectedCoin", internalType: "address", type: "address" }
|
|
5480
|
-
],
|
|
5481
|
-
name: "OnlyCoin"
|
|
5482
|
-
},
|
|
5483
|
-
{ type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
|
|
5484
|
-
{ type: "error", inputs: [], name: "SafeCastOverflow" },
|
|
5485
|
-
{
|
|
5486
|
-
type: "error",
|
|
5487
|
-
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
5488
|
-
name: "SafeERC20FailedOperation"
|
|
5489
|
-
},
|
|
5490
|
-
{
|
|
5491
|
-
type: "error",
|
|
5492
|
-
inputs: [],
|
|
5493
|
-
name: "TrustedMsgSenderLookupCannotBeZeroAddress"
|
|
5494
|
-
},
|
|
5495
|
-
{ type: "error", inputs: [], name: "UpgradeGateCannotBeZeroAddress" },
|
|
5496
|
-
{
|
|
5497
|
-
type: "error",
|
|
5498
|
-
inputs: [
|
|
5499
|
-
{ name: "oldHook", internalType: "address", type: "address" },
|
|
5500
|
-
{ name: "newHook", internalType: "address", type: "address" }
|
|
5501
|
-
],
|
|
5502
|
-
name: "UpgradePathNotRegistered"
|
|
5503
|
-
},
|
|
5504
|
-
{ type: "error", inputs: [], name: "ZoraHookRegistryCannotBeZeroAddress" },
|
|
5505
|
-
{ type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" },
|
|
5506
|
-
{
|
|
5507
|
-
type: "error",
|
|
5508
|
-
inputs: [{ name: "authority", internalType: "address", type: "address" }],
|
|
5509
|
-
name: "AccessManagedInvalidAuthority"
|
|
5510
|
-
},
|
|
5511
|
-
{ type: "error", inputs: [], name: "AccessManagedUnauthorized" },
|
|
5512
|
-
{ type: "error", inputs: [], name: "AddressZero" },
|
|
5513
|
-
{ type: "error", inputs: [], name: "ArrayLengthMismatch" },
|
|
5514
|
-
{ type: "error", inputs: [], name: "InsufficientBalance" },
|
|
5515
|
-
{ type: "error", inputs: [], name: "InsufficientForwardedFunds" },
|
|
5516
|
-
{ type: "error", inputs: [], name: "InsufficientTransferFunds" },
|
|
5517
|
-
{
|
|
5518
|
-
type: "error",
|
|
5519
|
-
inputs: [
|
|
5520
|
-
{ name: "startTick", internalType: "int24", type: "int24" },
|
|
5521
|
-
{ name: "endTick", internalType: "int24", type: "int24" },
|
|
5522
|
-
{ name: "isCurrency0", internalType: "bool", type: "bool" }
|
|
5523
|
-
],
|
|
5524
|
-
name: "InvalidFillWindow"
|
|
5525
|
-
},
|
|
5526
|
-
{ type: "error", inputs: [], name: "InvalidOrder" },
|
|
5527
|
-
{ type: "error", inputs: [], name: "InvalidPoolKey" },
|
|
5528
|
-
{ type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
|
|
5529
|
-
{ type: "error", inputs: [], name: "NativeValueMismatch" },
|
|
5530
|
-
{ type: "error", inputs: [], name: "NotPoolManager" },
|
|
5531
|
-
{ type: "error", inputs: [], name: "OnlyZoraHook" },
|
|
5532
|
-
{ type: "error", inputs: [], name: "OrderClosed" },
|
|
5533
|
-
{ type: "error", inputs: [], name: "OrderNotMaker" },
|
|
5534
|
-
{ type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
|
|
5535
|
-
{ type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
|
|
5536
|
-
{ type: "error", inputs: [], name: "UnknownCallback" },
|
|
5537
|
-
{ type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
|
|
5538
|
-
{ type: "error", inputs: [], name: "ZeroMaker" },
|
|
5539
|
-
{ type: "error", inputs: [], name: "ZeroMakerOrders" },
|
|
5540
|
-
{ type: "error", inputs: [], name: "ZeroOrderSize" },
|
|
5541
|
-
{ type: "error", inputs: [], name: "ZeroRealizedOrder" }
|
|
5441
|
+
{ type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" }
|
|
5542
5442
|
];
|
|
5543
5443
|
var coinFactoryAddress = {
|
|
5544
5444
|
8453: "0x777777751622c0d3258f214F9DF38E35BF45baF3",
|
|
@@ -12041,6 +11941,39 @@ var uniswapQuoterV2Config = {
|
|
|
12041
11941
|
address: uniswapQuoterV2Address,
|
|
12042
11942
|
abi: uniswapQuoterV2ABI
|
|
12043
11943
|
};
|
|
11944
|
+
var uniswapUniversalRouterABI = [
|
|
11945
|
+
{
|
|
11946
|
+
type: "function",
|
|
11947
|
+
inputs: [
|
|
11948
|
+
{ name: "commands", internalType: "bytes", type: "bytes" },
|
|
11949
|
+
{ name: "inputs", internalType: "bytes[]", type: "bytes[]" },
|
|
11950
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" }
|
|
11951
|
+
],
|
|
11952
|
+
name: "execute",
|
|
11953
|
+
outputs: [],
|
|
11954
|
+
stateMutability: "payable"
|
|
11955
|
+
},
|
|
11956
|
+
{ type: "error", inputs: [], name: "ETHNotAccepted" },
|
|
11957
|
+
{
|
|
11958
|
+
type: "error",
|
|
11959
|
+
inputs: [
|
|
11960
|
+
{ name: "commandIndex", internalType: "uint256", type: "uint256" },
|
|
11961
|
+
{ name: "message", internalType: "bytes", type: "bytes" }
|
|
11962
|
+
],
|
|
11963
|
+
name: "ExecutionFailed"
|
|
11964
|
+
},
|
|
11965
|
+
{ type: "error", inputs: [], name: "InvalidEthSender" },
|
|
11966
|
+
{ type: "error", inputs: [], name: "LengthMismatch" },
|
|
11967
|
+
{ type: "error", inputs: [], name: "TransactionDeadlinePassed" }
|
|
11968
|
+
];
|
|
11969
|
+
var uniswapUniversalRouterAddress = {
|
|
11970
|
+
8453: "0x6fF5693b99212Da76ad316178A184AB56D299b43",
|
|
11971
|
+
84532: "0x492E6456D9528771018DeB9E87ef7750EF184104"
|
|
11972
|
+
};
|
|
11973
|
+
var uniswapUniversalRouterConfig = {
|
|
11974
|
+
address: uniswapUniversalRouterAddress,
|
|
11975
|
+
abi: uniswapUniversalRouterABI
|
|
11976
|
+
};
|
|
12044
11977
|
var uniswapV3SwapRouterABI = [
|
|
12045
11978
|
{
|
|
12046
11979
|
type: "function",
|
|
@@ -16611,22 +16544,43 @@ var zoraCreatorRedeemMinterFactoryConfig = {
|
|
|
16611
16544
|
address: zoraCreatorRedeemMinterFactoryAddress,
|
|
16612
16545
|
abi: zoraCreatorRedeemMinterFactoryABI
|
|
16613
16546
|
};
|
|
16614
|
-
var
|
|
16547
|
+
var zoraMints1155ABI = [
|
|
16548
|
+
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
16615
16549
|
{
|
|
16616
|
-
type: "
|
|
16617
|
-
inputs: [
|
|
16618
|
-
|
|
16619
|
-
|
|
16620
|
-
|
|
16621
|
-
|
|
16622
|
-
|
|
16623
|
-
|
|
16624
|
-
|
|
16625
|
-
|
|
16626
|
-
],
|
|
16627
|
-
stateMutability: "
|
|
16550
|
+
type: "function",
|
|
16551
|
+
inputs: [],
|
|
16552
|
+
name: "ETH_ADDRESS",
|
|
16553
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
16554
|
+
stateMutability: "view"
|
|
16555
|
+
},
|
|
16556
|
+
{
|
|
16557
|
+
type: "function",
|
|
16558
|
+
inputs: [],
|
|
16559
|
+
name: "MINIMUM_ERC20_PRICE",
|
|
16560
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
16561
|
+
stateMutability: "view"
|
|
16562
|
+
},
|
|
16563
|
+
{
|
|
16564
|
+
type: "function",
|
|
16565
|
+
inputs: [],
|
|
16566
|
+
name: "MINIMUM_ETH_PRICE",
|
|
16567
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
16568
|
+
stateMutability: "view"
|
|
16569
|
+
},
|
|
16570
|
+
{
|
|
16571
|
+
type: "function",
|
|
16572
|
+
inputs: [],
|
|
16573
|
+
name: "NAME",
|
|
16574
|
+
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
16575
|
+
stateMutability: "view"
|
|
16576
|
+
},
|
|
16577
|
+
{
|
|
16578
|
+
type: "function",
|
|
16579
|
+
inputs: [],
|
|
16580
|
+
name: "VERSION",
|
|
16581
|
+
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
16582
|
+
stateMutability: "view"
|
|
16628
16583
|
},
|
|
16629
|
-
{ type: "receive", stateMutability: "payable" },
|
|
16630
16584
|
{
|
|
16631
16585
|
type: "function",
|
|
16632
16586
|
inputs: [],
|
|
@@ -16637,2437 +16591,1201 @@ var zoraLimitOrderBookABI = [
|
|
|
16637
16591
|
{
|
|
16638
16592
|
type: "function",
|
|
16639
16593
|
inputs: [
|
|
16640
|
-
{ name: "
|
|
16641
|
-
{ name: "
|
|
16594
|
+
{ name: "account", internalType: "address", type: "address" },
|
|
16595
|
+
{ name: "id", internalType: "uint256", type: "uint256" }
|
|
16642
16596
|
],
|
|
16643
16597
|
name: "balanceOf",
|
|
16644
16598
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
16645
16599
|
stateMutability: "view"
|
|
16646
16600
|
},
|
|
16601
|
+
{
|
|
16602
|
+
type: "function",
|
|
16603
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
16604
|
+
name: "balanceOfAccount",
|
|
16605
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
16606
|
+
stateMutability: "view"
|
|
16607
|
+
},
|
|
16647
16608
|
{
|
|
16648
16609
|
type: "function",
|
|
16649
16610
|
inputs: [
|
|
16650
|
-
{
|
|
16651
|
-
|
|
16652
|
-
internalType: "struct PoolKey",
|
|
16653
|
-
type: "tuple",
|
|
16654
|
-
components: [
|
|
16655
|
-
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
16656
|
-
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
16657
|
-
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
16658
|
-
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
16659
|
-
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
16660
|
-
]
|
|
16661
|
-
},
|
|
16662
|
-
{ name: "isCurrency0", internalType: "bool", type: "bool" },
|
|
16663
|
-
{ name: "orderSizes", internalType: "uint256[]", type: "uint256[]" },
|
|
16664
|
-
{ name: "orderTicks", internalType: "int24[]", type: "int24[]" },
|
|
16665
|
-
{ name: "maker", internalType: "address", type: "address" }
|
|
16611
|
+
{ name: "accounts", internalType: "address[]", type: "address[]" },
|
|
16612
|
+
{ name: "ids", internalType: "uint256[]", type: "uint256[]" }
|
|
16666
16613
|
],
|
|
16667
|
-
name: "
|
|
16668
|
-
outputs: [{ name: "", internalType: "
|
|
16669
|
-
stateMutability: "
|
|
16614
|
+
name: "balanceOfBatch",
|
|
16615
|
+
outputs: [{ name: "", internalType: "uint256[]", type: "uint256[]" }],
|
|
16616
|
+
stateMutability: "view"
|
|
16617
|
+
},
|
|
16618
|
+
{
|
|
16619
|
+
type: "function",
|
|
16620
|
+
inputs: [],
|
|
16621
|
+
name: "contractURI",
|
|
16622
|
+
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
16623
|
+
stateMutability: "view"
|
|
16670
16624
|
},
|
|
16671
16625
|
{
|
|
16672
16626
|
type: "function",
|
|
16673
16627
|
inputs: [
|
|
16628
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
16674
16629
|
{
|
|
16675
|
-
name: "
|
|
16676
|
-
internalType: "struct
|
|
16630
|
+
name: "tokenConfig",
|
|
16631
|
+
internalType: "struct TokenConfig",
|
|
16677
16632
|
type: "tuple",
|
|
16678
16633
|
components: [
|
|
16679
|
-
{ name: "
|
|
16680
|
-
{ name: "
|
|
16681
|
-
{ name: "
|
|
16682
|
-
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
16683
|
-
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
16634
|
+
{ name: "price", internalType: "uint256", type: "uint256" },
|
|
16635
|
+
{ name: "tokenAddress", internalType: "address", type: "address" },
|
|
16636
|
+
{ name: "redeemHandler", internalType: "address", type: "address" }
|
|
16684
16637
|
]
|
|
16685
|
-
}
|
|
16686
|
-
{ name: "isCurrency0", internalType: "bool", type: "bool" },
|
|
16687
|
-
{ name: "startTick", internalType: "int24", type: "int24" },
|
|
16688
|
-
{ name: "endTick", internalType: "int24", type: "int24" },
|
|
16689
|
-
{ name: "maxFillCount", internalType: "uint256", type: "uint256" },
|
|
16690
|
-
{ name: "fillReferral", internalType: "address", type: "address" }
|
|
16638
|
+
}
|
|
16691
16639
|
],
|
|
16692
|
-
name: "
|
|
16640
|
+
name: "createToken",
|
|
16693
16641
|
outputs: [],
|
|
16694
16642
|
stateMutability: "nonpayable"
|
|
16695
16643
|
},
|
|
16696
16644
|
{
|
|
16697
16645
|
type: "function",
|
|
16698
|
-
inputs: [
|
|
16699
|
-
|
|
16700
|
-
|
|
16701
|
-
|
|
16702
|
-
|
|
16703
|
-
|
|
16704
|
-
|
|
16705
|
-
|
|
16706
|
-
|
|
16707
|
-
|
|
16708
|
-
components: [
|
|
16709
|
-
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
16710
|
-
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
16711
|
-
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
16712
|
-
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
16713
|
-
{
|
|
16714
|
-
name: "hooks",
|
|
16715
|
-
internalType: "contract IHooks",
|
|
16716
|
-
type: "address"
|
|
16717
|
-
}
|
|
16718
|
-
]
|
|
16719
|
-
},
|
|
16720
|
-
{ name: "isCurrency0", internalType: "bool", type: "bool" },
|
|
16721
|
-
{ name: "orderIds", internalType: "bytes32[]", type: "bytes32[]" }
|
|
16722
|
-
]
|
|
16723
|
-
},
|
|
16724
|
-
{ name: "fillReferral", internalType: "address", type: "address" }
|
|
16646
|
+
inputs: [],
|
|
16647
|
+
name: "eip712Domain",
|
|
16648
|
+
outputs: [
|
|
16649
|
+
{ name: "fields", internalType: "bytes1", type: "bytes1" },
|
|
16650
|
+
{ name: "name", internalType: "string", type: "string" },
|
|
16651
|
+
{ name: "version", internalType: "string", type: "string" },
|
|
16652
|
+
{ name: "chainId", internalType: "uint256", type: "uint256" },
|
|
16653
|
+
{ name: "verifyingContract", internalType: "address", type: "address" },
|
|
16654
|
+
{ name: "salt", internalType: "bytes32", type: "bytes32" },
|
|
16655
|
+
{ name: "extensions", internalType: "uint256[]", type: "uint256[]" }
|
|
16725
16656
|
],
|
|
16726
|
-
|
|
16727
|
-
outputs: [],
|
|
16728
|
-
stateMutability: "nonpayable"
|
|
16657
|
+
stateMutability: "view"
|
|
16729
16658
|
},
|
|
16730
16659
|
{
|
|
16731
16660
|
type: "function",
|
|
16732
16661
|
inputs: [],
|
|
16733
|
-
name: "
|
|
16734
|
-
outputs: [{ name: "", internalType: "
|
|
16662
|
+
name: "getManager",
|
|
16663
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
16735
16664
|
stateMutability: "view"
|
|
16736
16665
|
},
|
|
16737
16666
|
{
|
|
16738
16667
|
type: "function",
|
|
16739
|
-
inputs: [],
|
|
16740
|
-
name: "
|
|
16668
|
+
inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
|
|
16669
|
+
name: "getTokenConfig",
|
|
16741
16670
|
outputs: [
|
|
16742
|
-
{
|
|
16671
|
+
{
|
|
16672
|
+
name: "",
|
|
16673
|
+
internalType: "struct TokenConfig",
|
|
16674
|
+
type: "tuple",
|
|
16675
|
+
components: [
|
|
16676
|
+
{ name: "price", internalType: "uint256", type: "uint256" },
|
|
16677
|
+
{ name: "tokenAddress", internalType: "address", type: "address" },
|
|
16678
|
+
{ name: "redeemHandler", internalType: "address", type: "address" }
|
|
16679
|
+
]
|
|
16680
|
+
}
|
|
16743
16681
|
],
|
|
16744
16682
|
stateMutability: "view"
|
|
16745
16683
|
},
|
|
16746
16684
|
{
|
|
16747
16685
|
type: "function",
|
|
16748
16686
|
inputs: [
|
|
16749
|
-
{
|
|
16687
|
+
{
|
|
16688
|
+
name: "permit",
|
|
16689
|
+
internalType: "struct IZoraSparks1155Managed.PermitBatch",
|
|
16690
|
+
type: "tuple",
|
|
16691
|
+
components: [
|
|
16692
|
+
{ name: "owner", internalType: "address", type: "address" },
|
|
16693
|
+
{ name: "to", internalType: "address", type: "address" },
|
|
16694
|
+
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
16695
|
+
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
16696
|
+
{ name: "safeTransferData", internalType: "bytes", type: "bytes" },
|
|
16697
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
16698
|
+
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
16699
|
+
]
|
|
16700
|
+
}
|
|
16750
16701
|
],
|
|
16751
|
-
name: "
|
|
16752
|
-
outputs: [],
|
|
16753
|
-
stateMutability: "
|
|
16702
|
+
name: "hashPermitBatch",
|
|
16703
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
|
|
16704
|
+
stateMutability: "view"
|
|
16705
|
+
},
|
|
16706
|
+
{
|
|
16707
|
+
type: "function",
|
|
16708
|
+
inputs: [
|
|
16709
|
+
{
|
|
16710
|
+
name: "permit",
|
|
16711
|
+
internalType: "struct IZoraSparks1155Managed.PermitSingle",
|
|
16712
|
+
type: "tuple",
|
|
16713
|
+
components: [
|
|
16714
|
+
{ name: "owner", internalType: "address", type: "address" },
|
|
16715
|
+
{ name: "to", internalType: "address", type: "address" },
|
|
16716
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
16717
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
16718
|
+
{ name: "safeTransferData", internalType: "bytes", type: "bytes" },
|
|
16719
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
16720
|
+
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
16721
|
+
]
|
|
16722
|
+
}
|
|
16723
|
+
],
|
|
16724
|
+
name: "hashPermitSingle",
|
|
16725
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
|
|
16726
|
+
stateMutability: "view"
|
|
16754
16727
|
},
|
|
16755
16728
|
{
|
|
16756
16729
|
type: "function",
|
|
16757
16730
|
inputs: [
|
|
16758
|
-
{ name: "
|
|
16731
|
+
{ name: "account", internalType: "address", type: "address" },
|
|
16732
|
+
{ name: "operator", internalType: "address", type: "address" }
|
|
16759
16733
|
],
|
|
16760
|
-
name: "
|
|
16761
|
-
outputs: [],
|
|
16762
|
-
stateMutability: "
|
|
16734
|
+
name: "isApprovedForAll",
|
|
16735
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
16736
|
+
stateMutability: "view"
|
|
16763
16737
|
},
|
|
16764
16738
|
{
|
|
16765
16739
|
type: "function",
|
|
16766
|
-
inputs: [
|
|
16767
|
-
name: "
|
|
16768
|
-
outputs: [{ name: "", internalType: "
|
|
16769
|
-
stateMutability: "
|
|
16740
|
+
inputs: [],
|
|
16741
|
+
name: "isConsumingScheduledOp",
|
|
16742
|
+
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
|
|
16743
|
+
stateMutability: "view"
|
|
16770
16744
|
},
|
|
16771
16745
|
{
|
|
16772
16746
|
type: "function",
|
|
16773
16747
|
inputs: [
|
|
16774
|
-
{
|
|
16775
|
-
|
|
16748
|
+
{
|
|
16749
|
+
name: "permit",
|
|
16750
|
+
internalType: "struct IZoraSparks1155Managed.PermitBatch",
|
|
16751
|
+
type: "tuple",
|
|
16752
|
+
components: [
|
|
16753
|
+
{ name: "owner", internalType: "address", type: "address" },
|
|
16754
|
+
{ name: "to", internalType: "address", type: "address" },
|
|
16755
|
+
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
16756
|
+
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
16757
|
+
{ name: "safeTransferData", internalType: "bytes", type: "bytes" },
|
|
16758
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
16759
|
+
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
16760
|
+
]
|
|
16761
|
+
},
|
|
16762
|
+
{ name: "signature", internalType: "bytes", type: "bytes" }
|
|
16776
16763
|
],
|
|
16777
|
-
name: "
|
|
16778
|
-
outputs: [],
|
|
16779
|
-
stateMutability: "
|
|
16764
|
+
name: "isValidSignatureTransferBatch",
|
|
16765
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
16766
|
+
stateMutability: "view"
|
|
16780
16767
|
},
|
|
16781
16768
|
{
|
|
16782
16769
|
type: "function",
|
|
16783
16770
|
inputs: [
|
|
16784
|
-
{
|
|
16785
|
-
|
|
16786
|
-
|
|
16771
|
+
{
|
|
16772
|
+
name: "permit",
|
|
16773
|
+
internalType: "struct IZoraSparks1155Managed.PermitSingle",
|
|
16774
|
+
type: "tuple",
|
|
16775
|
+
components: [
|
|
16776
|
+
{ name: "owner", internalType: "address", type: "address" },
|
|
16777
|
+
{ name: "to", internalType: "address", type: "address" },
|
|
16778
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
16779
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
16780
|
+
{ name: "safeTransferData", internalType: "bytes", type: "bytes" },
|
|
16781
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
16782
|
+
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
16783
|
+
]
|
|
16784
|
+
},
|
|
16785
|
+
{ name: "signature", internalType: "bytes", type: "bytes" }
|
|
16787
16786
|
],
|
|
16788
|
-
name: "
|
|
16787
|
+
name: "isValidSignatureTransferSingle",
|
|
16788
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
16789
|
+
stateMutability: "view"
|
|
16790
|
+
},
|
|
16791
|
+
{
|
|
16792
|
+
type: "function",
|
|
16793
|
+
inputs: [
|
|
16794
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
16795
|
+
{ name: "tokenAddress", internalType: "address", type: "address" },
|
|
16796
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
16797
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
16798
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
16799
|
+
],
|
|
16800
|
+
name: "mintTokenWithERC20",
|
|
16789
16801
|
outputs: [],
|
|
16790
16802
|
stateMutability: "nonpayable"
|
|
16791
16803
|
},
|
|
16792
16804
|
{
|
|
16793
16805
|
type: "function",
|
|
16794
|
-
inputs: [
|
|
16795
|
-
|
|
16796
|
-
|
|
16797
|
-
{
|
|
16798
|
-
|
|
16799
|
-
internalType: "contract IDeployedCoinVersionLookup",
|
|
16800
|
-
type: "address"
|
|
16801
|
-
}
|
|
16806
|
+
inputs: [
|
|
16807
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
16808
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
16809
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
16810
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
16802
16811
|
],
|
|
16803
|
-
|
|
16812
|
+
name: "mintTokenWithEth",
|
|
16813
|
+
outputs: [],
|
|
16814
|
+
stateMutability: "payable"
|
|
16804
16815
|
},
|
|
16805
16816
|
{
|
|
16806
16817
|
type: "function",
|
|
16807
16818
|
inputs: [],
|
|
16808
|
-
name: "
|
|
16809
|
-
outputs: [
|
|
16810
|
-
|
|
16819
|
+
name: "name",
|
|
16820
|
+
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
16821
|
+
stateMutability: "pure"
|
|
16822
|
+
},
|
|
16823
|
+
{
|
|
16824
|
+
type: "function",
|
|
16825
|
+
inputs: [
|
|
16826
|
+
{ name: "owner", internalType: "address", type: "address" },
|
|
16827
|
+
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
16811
16828
|
],
|
|
16829
|
+
name: "nonceUsed",
|
|
16830
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
16812
16831
|
stateMutability: "view"
|
|
16813
16832
|
},
|
|
16814
16833
|
{
|
|
16815
|
-
type: "
|
|
16816
|
-
anonymous: false,
|
|
16834
|
+
type: "function",
|
|
16817
16835
|
inputs: [
|
|
16818
|
-
{
|
|
16819
|
-
|
|
16820
|
-
internalType: "address",
|
|
16821
|
-
type: "address",
|
|
16822
|
-
indexed: false
|
|
16823
|
-
}
|
|
16836
|
+
{ name: "newContractURI", internalType: "string", type: "string" },
|
|
16837
|
+
{ name: "newBaseURI", internalType: "string", type: "string" }
|
|
16824
16838
|
],
|
|
16825
|
-
name: "
|
|
16839
|
+
name: "notifyURIsUpdated",
|
|
16840
|
+
outputs: [],
|
|
16841
|
+
stateMutability: "nonpayable"
|
|
16826
16842
|
},
|
|
16827
16843
|
{
|
|
16828
|
-
type: "
|
|
16829
|
-
anonymous: false,
|
|
16844
|
+
type: "function",
|
|
16830
16845
|
inputs: [
|
|
16831
|
-
{
|
|
16832
|
-
|
|
16833
|
-
internalType: "address",
|
|
16834
|
-
type: "address",
|
|
16835
|
-
indexed: true
|
|
16836
|
-
},
|
|
16837
|
-
{ name: "coin", internalType: "address", type: "address", indexed: true },
|
|
16838
|
-
{
|
|
16839
|
-
name: "poolKeyHash",
|
|
16840
|
-
internalType: "bytes32",
|
|
16841
|
-
type: "bytes32",
|
|
16842
|
-
indexed: false
|
|
16843
|
-
},
|
|
16844
|
-
{
|
|
16845
|
-
name: "isCurrency0",
|
|
16846
|
-
internalType: "bool",
|
|
16847
|
-
type: "bool",
|
|
16848
|
-
indexed: false
|
|
16849
|
-
},
|
|
16850
|
-
{
|
|
16851
|
-
name: "orderTick",
|
|
16852
|
-
internalType: "int24",
|
|
16853
|
-
type: "int24",
|
|
16854
|
-
indexed: false
|
|
16855
|
-
},
|
|
16856
|
-
{
|
|
16857
|
-
name: "currentTick",
|
|
16858
|
-
internalType: "int24",
|
|
16859
|
-
type: "int24",
|
|
16860
|
-
indexed: false
|
|
16861
|
-
},
|
|
16862
|
-
{
|
|
16863
|
-
name: "orderSize",
|
|
16864
|
-
internalType: "uint128",
|
|
16865
|
-
type: "uint128",
|
|
16866
|
-
indexed: false
|
|
16867
|
-
},
|
|
16868
|
-
{
|
|
16869
|
-
name: "orderId",
|
|
16870
|
-
internalType: "bytes32",
|
|
16871
|
-
type: "bytes32",
|
|
16872
|
-
indexed: false
|
|
16873
|
-
}
|
|
16846
|
+
{ name: "newUri", internalType: "string", type: "string" },
|
|
16847
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" }
|
|
16874
16848
|
],
|
|
16875
|
-
name: "
|
|
16849
|
+
name: "notifyUpdatedTokenURI",
|
|
16850
|
+
outputs: [],
|
|
16851
|
+
stateMutability: "nonpayable"
|
|
16876
16852
|
},
|
|
16877
16853
|
{
|
|
16878
|
-
type: "
|
|
16879
|
-
anonymous: false,
|
|
16854
|
+
type: "function",
|
|
16880
16855
|
inputs: [
|
|
16881
16856
|
{
|
|
16882
|
-
name: "
|
|
16883
|
-
internalType: "
|
|
16884
|
-
type: "
|
|
16885
|
-
|
|
16886
|
-
|
|
16887
|
-
|
|
16888
|
-
|
|
16889
|
-
|
|
16890
|
-
|
|
16891
|
-
|
|
16892
|
-
|
|
16893
|
-
|
|
16894
|
-
name: "coinOut",
|
|
16895
|
-
internalType: "address",
|
|
16896
|
-
type: "address",
|
|
16897
|
-
indexed: false
|
|
16898
|
-
},
|
|
16899
|
-
{
|
|
16900
|
-
name: "amountIn",
|
|
16901
|
-
internalType: "uint128",
|
|
16902
|
-
type: "uint128",
|
|
16903
|
-
indexed: false
|
|
16904
|
-
},
|
|
16905
|
-
{
|
|
16906
|
-
name: "amountOut",
|
|
16907
|
-
internalType: "uint128",
|
|
16908
|
-
type: "uint128",
|
|
16909
|
-
indexed: false
|
|
16910
|
-
},
|
|
16911
|
-
{
|
|
16912
|
-
name: "fillReferral",
|
|
16913
|
-
internalType: "address",
|
|
16914
|
-
type: "address",
|
|
16915
|
-
indexed: false
|
|
16916
|
-
},
|
|
16917
|
-
{
|
|
16918
|
-
name: "fillReferralAmount",
|
|
16919
|
-
internalType: "uint128",
|
|
16920
|
-
type: "uint128",
|
|
16921
|
-
indexed: false
|
|
16922
|
-
},
|
|
16923
|
-
{
|
|
16924
|
-
name: "poolKeyHash",
|
|
16925
|
-
internalType: "bytes32",
|
|
16926
|
-
type: "bytes32",
|
|
16927
|
-
indexed: false
|
|
16857
|
+
name: "permit",
|
|
16858
|
+
internalType: "struct IZoraSparks1155Managed.PermitSingle",
|
|
16859
|
+
type: "tuple",
|
|
16860
|
+
components: [
|
|
16861
|
+
{ name: "owner", internalType: "address", type: "address" },
|
|
16862
|
+
{ name: "to", internalType: "address", type: "address" },
|
|
16863
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
16864
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
16865
|
+
{ name: "safeTransferData", internalType: "bytes", type: "bytes" },
|
|
16866
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
16867
|
+
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
16868
|
+
]
|
|
16928
16869
|
},
|
|
16929
|
-
{ name: "
|
|
16930
|
-
{
|
|
16931
|
-
name: "orderId",
|
|
16932
|
-
internalType: "bytes32",
|
|
16933
|
-
type: "bytes32",
|
|
16934
|
-
indexed: false
|
|
16935
|
-
}
|
|
16870
|
+
{ name: "signature", internalType: "bytes", type: "bytes" }
|
|
16936
16871
|
],
|
|
16937
|
-
name: "
|
|
16872
|
+
name: "permitSafeTransfer",
|
|
16873
|
+
outputs: [],
|
|
16874
|
+
stateMutability: "nonpayable"
|
|
16938
16875
|
},
|
|
16939
16876
|
{
|
|
16940
|
-
type: "
|
|
16941
|
-
anonymous: false,
|
|
16877
|
+
type: "function",
|
|
16942
16878
|
inputs: [
|
|
16943
16879
|
{
|
|
16944
|
-
name: "
|
|
16945
|
-
internalType: "
|
|
16946
|
-
type: "
|
|
16947
|
-
|
|
16948
|
-
|
|
16949
|
-
|
|
16950
|
-
|
|
16951
|
-
|
|
16952
|
-
|
|
16953
|
-
|
|
16954
|
-
|
|
16955
|
-
|
|
16956
|
-
{
|
|
16957
|
-
name: "isCurrency0",
|
|
16958
|
-
internalType: "bool",
|
|
16959
|
-
type: "bool",
|
|
16960
|
-
indexed: false
|
|
16961
|
-
},
|
|
16962
|
-
{ name: "tick", internalType: "int24", type: "int24", indexed: false },
|
|
16963
|
-
{
|
|
16964
|
-
name: "orderSize",
|
|
16965
|
-
internalType: "uint128",
|
|
16966
|
-
type: "uint128",
|
|
16967
|
-
indexed: false
|
|
16968
|
-
},
|
|
16969
|
-
{
|
|
16970
|
-
name: "orderId",
|
|
16971
|
-
internalType: "bytes32",
|
|
16972
|
-
type: "bytes32",
|
|
16973
|
-
indexed: false
|
|
16880
|
+
name: "permit",
|
|
16881
|
+
internalType: "struct IZoraSparks1155Managed.PermitBatch",
|
|
16882
|
+
type: "tuple",
|
|
16883
|
+
components: [
|
|
16884
|
+
{ name: "owner", internalType: "address", type: "address" },
|
|
16885
|
+
{ name: "to", internalType: "address", type: "address" },
|
|
16886
|
+
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
16887
|
+
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
16888
|
+
{ name: "safeTransferData", internalType: "bytes", type: "bytes" },
|
|
16889
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
16890
|
+
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
16891
|
+
]
|
|
16974
16892
|
},
|
|
16975
|
-
{
|
|
16976
|
-
name: "isCancelled",
|
|
16977
|
-
internalType: "bool",
|
|
16978
|
-
type: "bool",
|
|
16979
|
-
indexed: false
|
|
16980
|
-
}
|
|
16893
|
+
{ name: "signature", internalType: "bytes", type: "bytes" }
|
|
16981
16894
|
],
|
|
16982
|
-
name: "
|
|
16895
|
+
name: "permitSafeTransferBatch",
|
|
16896
|
+
outputs: [],
|
|
16897
|
+
stateMutability: "nonpayable"
|
|
16983
16898
|
},
|
|
16984
16899
|
{
|
|
16985
|
-
type: "
|
|
16986
|
-
anonymous: false,
|
|
16900
|
+
type: "function",
|
|
16987
16901
|
inputs: [
|
|
16902
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
16903
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
16904
|
+
{ name: "recipient", internalType: "address", type: "address" }
|
|
16905
|
+
],
|
|
16906
|
+
name: "redeem",
|
|
16907
|
+
outputs: [
|
|
16988
16908
|
{
|
|
16989
|
-
name: "
|
|
16990
|
-
internalType: "
|
|
16991
|
-
type: "
|
|
16992
|
-
|
|
16993
|
-
|
|
16994
|
-
|
|
16995
|
-
|
|
16996
|
-
name: "balance",
|
|
16997
|
-
internalType: "uint128",
|
|
16998
|
-
type: "uint128",
|
|
16999
|
-
indexed: false
|
|
16909
|
+
name: "",
|
|
16910
|
+
internalType: "struct Redemption",
|
|
16911
|
+
type: "tuple",
|
|
16912
|
+
components: [
|
|
16913
|
+
{ name: "tokenAddress", internalType: "address", type: "address" },
|
|
16914
|
+
{ name: "valueRedeemed", internalType: "uint256", type: "uint256" }
|
|
16915
|
+
]
|
|
17000
16916
|
}
|
|
17001
16917
|
],
|
|
17002
|
-
|
|
17003
|
-
},
|
|
17004
|
-
{
|
|
17005
|
-
type: "error",
|
|
17006
|
-
inputs: [{ name: "authority", internalType: "address", type: "address" }],
|
|
17007
|
-
name: "AccessManagedInvalidAuthority"
|
|
17008
|
-
},
|
|
17009
|
-
{ type: "error", inputs: [], name: "AccessManagedUnauthorized" },
|
|
17010
|
-
{ type: "error", inputs: [], name: "AddressZero" },
|
|
17011
|
-
{ type: "error", inputs: [], name: "ArrayLengthMismatch" },
|
|
17012
|
-
{ type: "error", inputs: [], name: "InsufficientBalance" },
|
|
17013
|
-
{ type: "error", inputs: [], name: "InsufficientForwardedFunds" },
|
|
17014
|
-
{ type: "error", inputs: [], name: "InsufficientTransferFunds" },
|
|
17015
|
-
{
|
|
17016
|
-
type: "error",
|
|
17017
|
-
inputs: [
|
|
17018
|
-
{ name: "startTick", internalType: "int24", type: "int24" },
|
|
17019
|
-
{ name: "endTick", internalType: "int24", type: "int24" },
|
|
17020
|
-
{ name: "isCurrency0", internalType: "bool", type: "bool" }
|
|
17021
|
-
],
|
|
17022
|
-
name: "InvalidFillWindow"
|
|
17023
|
-
},
|
|
17024
|
-
{ type: "error", inputs: [], name: "InvalidOrder" },
|
|
17025
|
-
{ type: "error", inputs: [], name: "InvalidPoolKey" },
|
|
17026
|
-
{ type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
|
|
17027
|
-
{ type: "error", inputs: [], name: "NativeValueMismatch" },
|
|
17028
|
-
{ type: "error", inputs: [], name: "NotPoolManager" },
|
|
17029
|
-
{ type: "error", inputs: [], name: "OnlyZoraHook" },
|
|
17030
|
-
{ type: "error", inputs: [], name: "OrderClosed" },
|
|
17031
|
-
{ type: "error", inputs: [], name: "OrderNotMaker" },
|
|
17032
|
-
{ type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
|
|
17033
|
-
{ type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
|
|
17034
|
-
{ type: "error", inputs: [], name: "UnknownCallback" },
|
|
17035
|
-
{ type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
|
|
17036
|
-
{ type: "error", inputs: [], name: "ZeroMaker" },
|
|
17037
|
-
{ type: "error", inputs: [], name: "ZeroMakerOrders" },
|
|
17038
|
-
{ type: "error", inputs: [], name: "ZeroOrderSize" },
|
|
17039
|
-
{ type: "error", inputs: [], name: "ZeroRealizedOrder" },
|
|
17040
|
-
{ type: "error", inputs: [], name: "AddressZero" },
|
|
17041
|
-
{ type: "error", inputs: [], name: "AlreadyOwner" },
|
|
17042
|
-
{ type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
|
|
17043
|
-
{
|
|
17044
|
-
type: "error",
|
|
17045
|
-
inputs: [],
|
|
17046
|
-
name: "DopplerPoolMustHaveMoreThan2DiscoveryPositions"
|
|
16918
|
+
stateMutability: "nonpayable"
|
|
17047
16919
|
},
|
|
17048
|
-
{ type: "error", inputs: [], name: "ECDSAInvalidSignature" },
|
|
17049
16920
|
{
|
|
17050
|
-
type: "
|
|
17051
|
-
inputs: [
|
|
17052
|
-
|
|
16921
|
+
type: "function",
|
|
16922
|
+
inputs: [
|
|
16923
|
+
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
16924
|
+
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
16925
|
+
{ name: "recipient", internalType: "address", type: "address" }
|
|
16926
|
+
],
|
|
16927
|
+
name: "redeemBatch",
|
|
16928
|
+
outputs: [
|
|
16929
|
+
{
|
|
16930
|
+
name: "redemptions",
|
|
16931
|
+
internalType: "struct Redemption[]",
|
|
16932
|
+
type: "tuple[]",
|
|
16933
|
+
components: [
|
|
16934
|
+
{ name: "tokenAddress", internalType: "address", type: "address" },
|
|
16935
|
+
{ name: "valueRedeemed", internalType: "uint256", type: "uint256" }
|
|
16936
|
+
]
|
|
16937
|
+
}
|
|
16938
|
+
],
|
|
16939
|
+
stateMutability: "nonpayable"
|
|
17053
16940
|
},
|
|
17054
16941
|
{
|
|
17055
|
-
type: "
|
|
17056
|
-
inputs: [
|
|
17057
|
-
|
|
16942
|
+
type: "function",
|
|
16943
|
+
inputs: [
|
|
16944
|
+
{ name: "from", internalType: "address", type: "address" },
|
|
16945
|
+
{ name: "to", internalType: "address", type: "address" },
|
|
16946
|
+
{ name: "ids", internalType: "uint256[]", type: "uint256[]" },
|
|
16947
|
+
{ name: "values", internalType: "uint256[]", type: "uint256[]" },
|
|
16948
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
16949
|
+
],
|
|
16950
|
+
name: "safeBatchTransferFrom",
|
|
16951
|
+
outputs: [],
|
|
16952
|
+
stateMutability: "nonpayable"
|
|
17058
16953
|
},
|
|
17059
16954
|
{
|
|
17060
|
-
type: "
|
|
16955
|
+
type: "function",
|
|
17061
16956
|
inputs: [
|
|
17062
|
-
{ name: "
|
|
17063
|
-
{ name: "
|
|
17064
|
-
{ name: "
|
|
16957
|
+
{ name: "from", internalType: "address", type: "address" },
|
|
16958
|
+
{ name: "to", internalType: "address", type: "address" },
|
|
16959
|
+
{ name: "id", internalType: "uint256", type: "uint256" },
|
|
16960
|
+
{ name: "value", internalType: "uint256", type: "uint256" },
|
|
16961
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
17065
16962
|
],
|
|
17066
|
-
name: "
|
|
16963
|
+
name: "safeTransferFrom",
|
|
16964
|
+
outputs: [],
|
|
16965
|
+
stateMutability: "nonpayable"
|
|
17067
16966
|
},
|
|
17068
16967
|
{
|
|
17069
|
-
type: "
|
|
16968
|
+
type: "function",
|
|
17070
16969
|
inputs: [
|
|
17071
|
-
{ name: "
|
|
17072
|
-
{ name: "
|
|
17073
|
-
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
16970
|
+
{ name: "operator", internalType: "address", type: "address" },
|
|
16971
|
+
{ name: "approved", internalType: "bool", type: "bool" }
|
|
17074
16972
|
],
|
|
17075
|
-
name: "
|
|
16973
|
+
name: "setApprovalForAll",
|
|
16974
|
+
outputs: [],
|
|
16975
|
+
stateMutability: "nonpayable"
|
|
17076
16976
|
},
|
|
17077
16977
|
{
|
|
17078
|
-
type: "
|
|
17079
|
-
inputs: [
|
|
17080
|
-
|
|
16978
|
+
type: "function",
|
|
16979
|
+
inputs: [
|
|
16980
|
+
{ name: "newAuthority", internalType: "address", type: "address" }
|
|
16981
|
+
],
|
|
16982
|
+
name: "setAuthority",
|
|
16983
|
+
outputs: [],
|
|
16984
|
+
stateMutability: "nonpayable"
|
|
17081
16985
|
},
|
|
17082
16986
|
{
|
|
17083
|
-
type: "
|
|
17084
|
-
inputs: [{ name: "
|
|
17085
|
-
name: "
|
|
16987
|
+
type: "function",
|
|
16988
|
+
inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
|
|
16989
|
+
name: "supportsInterface",
|
|
16990
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
16991
|
+
stateMutability: "view"
|
|
17086
16992
|
},
|
|
17087
16993
|
{
|
|
17088
|
-
type: "
|
|
17089
|
-
inputs: [
|
|
17090
|
-
name: "
|
|
16994
|
+
type: "function",
|
|
16995
|
+
inputs: [],
|
|
16996
|
+
name: "symbol",
|
|
16997
|
+
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
16998
|
+
stateMutability: "pure"
|
|
17091
16999
|
},
|
|
17092
17000
|
{
|
|
17093
|
-
type: "
|
|
17094
|
-
inputs: [{ name: "
|
|
17095
|
-
name: "
|
|
17001
|
+
type: "function",
|
|
17002
|
+
inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
|
|
17003
|
+
name: "tokenExists",
|
|
17004
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
17005
|
+
stateMutability: "view"
|
|
17096
17006
|
},
|
|
17097
|
-
{ type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
|
|
17098
17007
|
{
|
|
17099
|
-
type: "
|
|
17100
|
-
inputs: [{ name: "
|
|
17101
|
-
name: "
|
|
17008
|
+
type: "function",
|
|
17009
|
+
inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
|
|
17010
|
+
name: "tokenPrice",
|
|
17011
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
17012
|
+
stateMutability: "view"
|
|
17102
17013
|
},
|
|
17103
17014
|
{
|
|
17104
|
-
type: "
|
|
17015
|
+
type: "function",
|
|
17105
17016
|
inputs: [
|
|
17106
|
-
{ name: "
|
|
17107
|
-
{ name: "
|
|
17017
|
+
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
17018
|
+
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
17019
|
+
{ name: "call", internalType: "bytes", type: "bytes" }
|
|
17108
17020
|
],
|
|
17109
|
-
name: "
|
|
17021
|
+
name: "transferBatchToManagerAndCall",
|
|
17022
|
+
outputs: [{ name: "callReturn", internalType: "bytes", type: "bytes" }],
|
|
17023
|
+
stateMutability: "payable"
|
|
17110
17024
|
},
|
|
17111
|
-
{ type: "error", inputs: [], name: "EthAmountMismatch" },
|
|
17112
|
-
{ type: "error", inputs: [], name: "EthAmountTooSmall" },
|
|
17113
|
-
{ type: "error", inputs: [], name: "EthTransferFailed" },
|
|
17114
|
-
{ type: "error", inputs: [], name: "EthTransferInvalid" },
|
|
17115
|
-
{ type: "error", inputs: [], name: "InitialOrderSizeTooLarge" },
|
|
17116
|
-
{ type: "error", inputs: [], name: "InsufficientFunds" },
|
|
17117
|
-
{ type: "error", inputs: [], name: "InsufficientLiquidity" },
|
|
17118
17025
|
{
|
|
17119
|
-
type: "
|
|
17120
|
-
inputs: [
|
|
17121
|
-
|
|
17122
|
-
|
|
17123
|
-
|
|
17124
|
-
name: "InvalidAccountNonce"
|
|
17026
|
+
type: "function",
|
|
17027
|
+
inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
|
|
17028
|
+
name: "uri",
|
|
17029
|
+
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
17030
|
+
stateMutability: "view"
|
|
17125
17031
|
},
|
|
17126
|
-
{ type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
|
|
17127
|
-
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
17128
|
-
{ type: "error", inputs: [], name: "InvalidMarketType" },
|
|
17129
|
-
{ type: "error", inputs: [], name: "InvalidPoolVersion" },
|
|
17130
17032
|
{
|
|
17131
|
-
type: "
|
|
17033
|
+
type: "event",
|
|
17034
|
+
anonymous: false,
|
|
17132
17035
|
inputs: [
|
|
17133
|
-
{
|
|
17134
|
-
|
|
17036
|
+
{
|
|
17037
|
+
name: "account",
|
|
17038
|
+
internalType: "address",
|
|
17039
|
+
type: "address",
|
|
17040
|
+
indexed: true
|
|
17041
|
+
},
|
|
17042
|
+
{
|
|
17043
|
+
name: "operator",
|
|
17044
|
+
internalType: "address",
|
|
17045
|
+
type: "address",
|
|
17046
|
+
indexed: true
|
|
17047
|
+
},
|
|
17048
|
+
{ name: "approved", internalType: "bool", type: "bool", indexed: false }
|
|
17135
17049
|
],
|
|
17136
|
-
name: "
|
|
17050
|
+
name: "ApprovalForAll"
|
|
17137
17051
|
},
|
|
17138
|
-
{ type: "error", inputs: [], name: "InvalidWethLowerTick" },
|
|
17139
|
-
{ type: "error", inputs: [], name: "LegacyPoolMustHaveOneDiscoveryPosition" },
|
|
17140
|
-
{ type: "error", inputs: [], name: "MarketAlreadyGraduated" },
|
|
17141
|
-
{ type: "error", inputs: [], name: "MarketNotGraduated" },
|
|
17142
17052
|
{
|
|
17143
|
-
type: "
|
|
17053
|
+
type: "event",
|
|
17054
|
+
anonymous: false,
|
|
17144
17055
|
inputs: [
|
|
17145
|
-
{
|
|
17146
|
-
|
|
17147
|
-
|
|
17148
|
-
|
|
17149
|
-
|
|
17150
|
-
|
|
17151
|
-
|
|
17152
|
-
|
|
17153
|
-
|
|
17154
|
-
{ type: "
|
|
17155
|
-
{ type: "
|
|
17056
|
+
{
|
|
17057
|
+
name: "authority",
|
|
17058
|
+
internalType: "address",
|
|
17059
|
+
type: "address",
|
|
17060
|
+
indexed: false
|
|
17061
|
+
}
|
|
17062
|
+
],
|
|
17063
|
+
name: "AuthorityUpdated"
|
|
17064
|
+
},
|
|
17065
|
+
{ type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
|
|
17066
|
+
{ type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
|
|
17156
17067
|
{
|
|
17157
|
-
type: "
|
|
17068
|
+
type: "event",
|
|
17069
|
+
anonymous: false,
|
|
17158
17070
|
inputs: [
|
|
17159
|
-
{
|
|
17160
|
-
|
|
17071
|
+
{
|
|
17072
|
+
name: "tokenId",
|
|
17073
|
+
internalType: "uint256",
|
|
17074
|
+
type: "uint256",
|
|
17075
|
+
indexed: true
|
|
17076
|
+
},
|
|
17077
|
+
{
|
|
17078
|
+
name: "price",
|
|
17079
|
+
internalType: "uint256",
|
|
17080
|
+
type: "uint256",
|
|
17081
|
+
indexed: true
|
|
17082
|
+
},
|
|
17083
|
+
{
|
|
17084
|
+
name: "tokenAddress",
|
|
17085
|
+
internalType: "address",
|
|
17086
|
+
type: "address",
|
|
17087
|
+
indexed: true
|
|
17088
|
+
}
|
|
17161
17089
|
],
|
|
17162
|
-
name: "
|
|
17090
|
+
name: "TokenCreated"
|
|
17163
17091
|
},
|
|
17164
|
-
{ type: "error", inputs: [], name: "OnlyWeth" },
|
|
17165
|
-
{ type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
|
|
17166
|
-
{ type: "error", inputs: [], name: "SlippageBoundsExceeded" },
|
|
17167
|
-
{ type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" },
|
|
17168
|
-
{ type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
|
|
17169
|
-
{ type: "error", inputs: [], name: "CoinVersionLookupCannotBeZeroAddress" },
|
|
17170
|
-
{ type: "error", inputs: [], name: "EthTransferFailed" },
|
|
17171
|
-
{ type: "error", inputs: [], name: "HookNotImplemented" },
|
|
17172
17092
|
{
|
|
17173
|
-
type: "
|
|
17174
|
-
|
|
17175
|
-
|
|
17093
|
+
type: "event",
|
|
17094
|
+
anonymous: false,
|
|
17095
|
+
inputs: [
|
|
17096
|
+
{
|
|
17097
|
+
name: "operator",
|
|
17098
|
+
internalType: "address",
|
|
17099
|
+
type: "address",
|
|
17100
|
+
indexed: true
|
|
17101
|
+
},
|
|
17102
|
+
{ name: "from", internalType: "address", type: "address", indexed: true },
|
|
17103
|
+
{ name: "to", internalType: "address", type: "address", indexed: true },
|
|
17104
|
+
{
|
|
17105
|
+
name: "ids",
|
|
17106
|
+
internalType: "uint256[]",
|
|
17107
|
+
type: "uint256[]",
|
|
17108
|
+
indexed: false
|
|
17109
|
+
},
|
|
17110
|
+
{
|
|
17111
|
+
name: "values",
|
|
17112
|
+
internalType: "uint256[]",
|
|
17113
|
+
type: "uint256[]",
|
|
17114
|
+
indexed: false
|
|
17115
|
+
}
|
|
17116
|
+
],
|
|
17117
|
+
name: "TransferBatch"
|
|
17176
17118
|
},
|
|
17177
17119
|
{
|
|
17178
|
-
type: "
|
|
17179
|
-
|
|
17180
|
-
|
|
17120
|
+
type: "event",
|
|
17121
|
+
anonymous: false,
|
|
17122
|
+
inputs: [
|
|
17123
|
+
{
|
|
17124
|
+
name: "operator",
|
|
17125
|
+
internalType: "address",
|
|
17126
|
+
type: "address",
|
|
17127
|
+
indexed: true
|
|
17128
|
+
},
|
|
17129
|
+
{ name: "from", internalType: "address", type: "address", indexed: true },
|
|
17130
|
+
{ name: "to", internalType: "address", type: "address", indexed: true },
|
|
17131
|
+
{ name: "id", internalType: "uint256", type: "uint256", indexed: false },
|
|
17132
|
+
{
|
|
17133
|
+
name: "value",
|
|
17134
|
+
internalType: "uint256",
|
|
17135
|
+
type: "uint256",
|
|
17136
|
+
indexed: false
|
|
17137
|
+
}
|
|
17138
|
+
],
|
|
17139
|
+
name: "TransferSingle"
|
|
17181
17140
|
},
|
|
17182
17141
|
{
|
|
17183
|
-
type: "
|
|
17142
|
+
type: "event",
|
|
17143
|
+
anonymous: false,
|
|
17184
17144
|
inputs: [
|
|
17185
|
-
{ name: "
|
|
17186
|
-
{ name: "
|
|
17145
|
+
{ name: "value", internalType: "string", type: "string", indexed: false },
|
|
17146
|
+
{ name: "id", internalType: "uint256", type: "uint256", indexed: true }
|
|
17187
17147
|
],
|
|
17188
|
-
name: "
|
|
17148
|
+
name: "URI"
|
|
17189
17149
|
},
|
|
17190
17150
|
{
|
|
17191
|
-
type: "
|
|
17151
|
+
type: "event",
|
|
17152
|
+
anonymous: false,
|
|
17192
17153
|
inputs: [
|
|
17193
17154
|
{
|
|
17194
|
-
name: "
|
|
17195
|
-
internalType: "
|
|
17196
|
-
type: "
|
|
17197
|
-
|
|
17198
|
-
|
|
17199
|
-
|
|
17200
|
-
|
|
17201
|
-
|
|
17202
|
-
|
|
17203
|
-
|
|
17155
|
+
name: "contractURI",
|
|
17156
|
+
internalType: "string",
|
|
17157
|
+
type: "string",
|
|
17158
|
+
indexed: false
|
|
17159
|
+
},
|
|
17160
|
+
{
|
|
17161
|
+
name: "baseURI",
|
|
17162
|
+
internalType: "string",
|
|
17163
|
+
type: "string",
|
|
17164
|
+
indexed: false
|
|
17204
17165
|
}
|
|
17205
17166
|
],
|
|
17206
|
-
name: "
|
|
17167
|
+
name: "URIsUpdated"
|
|
17207
17168
|
},
|
|
17208
17169
|
{
|
|
17209
17170
|
type: "error",
|
|
17210
|
-
inputs: [{ name: "
|
|
17211
|
-
name: "
|
|
17171
|
+
inputs: [{ name: "authority", internalType: "address", type: "address" }],
|
|
17172
|
+
name: "AccessManagedInvalidAuthority"
|
|
17212
17173
|
},
|
|
17213
|
-
{ type: "error", inputs: [], name: "NotPoolManager" },
|
|
17214
17174
|
{
|
|
17215
17175
|
type: "error",
|
|
17216
17176
|
inputs: [
|
|
17217
17177
|
{ name: "caller", internalType: "address", type: "address" },
|
|
17218
|
-
{ name: "
|
|
17178
|
+
{ name: "delay", internalType: "uint32", type: "uint32" }
|
|
17219
17179
|
],
|
|
17220
|
-
name: "
|
|
17180
|
+
name: "AccessManagedRequiredDelay"
|
|
17221
17181
|
},
|
|
17222
|
-
{ type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
|
|
17223
|
-
{ type: "error", inputs: [], name: "SafeCastOverflow" },
|
|
17224
17182
|
{
|
|
17225
17183
|
type: "error",
|
|
17226
|
-
inputs: [{ name: "
|
|
17227
|
-
name: "
|
|
17184
|
+
inputs: [{ name: "caller", internalType: "address", type: "address" }],
|
|
17185
|
+
name: "AccessManagedUnauthorized"
|
|
17228
17186
|
},
|
|
17229
17187
|
{
|
|
17230
17188
|
type: "error",
|
|
17231
|
-
inputs: [],
|
|
17232
|
-
name: "
|
|
17189
|
+
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
17190
|
+
name: "AddressEmptyCode"
|
|
17191
|
+
},
|
|
17192
|
+
{
|
|
17193
|
+
type: "error",
|
|
17194
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
17195
|
+
name: "AddressInsufficientBalance"
|
|
17233
17196
|
},
|
|
17234
|
-
{ type: "error", inputs: [], name: "UpgradeGateCannotBeZeroAddress" },
|
|
17235
17197
|
{
|
|
17236
17198
|
type: "error",
|
|
17237
17199
|
inputs: [
|
|
17238
|
-
{ name: "
|
|
17239
|
-
{ name: "
|
|
17200
|
+
{ name: "lengthA", internalType: "uint256", type: "uint256" },
|
|
17201
|
+
{ name: "lengthB", internalType: "uint256", type: "uint256" }
|
|
17240
17202
|
],
|
|
17241
|
-
name: "
|
|
17203
|
+
name: "ArrayLengthMismatch"
|
|
17242
17204
|
},
|
|
17243
|
-
{ type: "error", inputs: [], name: "ZoraHookRegistryCannotBeZeroAddress" },
|
|
17244
|
-
{ type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" }
|
|
17245
|
-
];
|
|
17246
|
-
var zoraLimitOrderBookAddress = {
|
|
17247
|
-
8453: "0xAe990bBE7624b20b30e282A159e2BF05f45143A8"
|
|
17248
|
-
};
|
|
17249
|
-
var zoraLimitOrderBookConfig = {
|
|
17250
|
-
address: zoraLimitOrderBookAddress,
|
|
17251
|
-
abi: zoraLimitOrderBookABI
|
|
17252
|
-
};
|
|
17253
|
-
var zoraMints1155ABI = [
|
|
17254
|
-
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
17255
17205
|
{
|
|
17256
|
-
type: "
|
|
17257
|
-
inputs: [],
|
|
17258
|
-
name: "
|
|
17259
|
-
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
17260
|
-
stateMutability: "view"
|
|
17206
|
+
type: "error",
|
|
17207
|
+
inputs: [{ name: "returnData", internalType: "bytes", type: "bytes" }],
|
|
17208
|
+
name: "CallFailed"
|
|
17261
17209
|
},
|
|
17262
17210
|
{
|
|
17263
|
-
type: "
|
|
17264
|
-
inputs: [
|
|
17265
|
-
|
|
17266
|
-
|
|
17267
|
-
|
|
17211
|
+
type: "error",
|
|
17212
|
+
inputs: [
|
|
17213
|
+
{ name: "sender", internalType: "address", type: "address" },
|
|
17214
|
+
{ name: "balance", internalType: "uint256", type: "uint256" },
|
|
17215
|
+
{ name: "needed", internalType: "uint256", type: "uint256" },
|
|
17216
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" }
|
|
17217
|
+
],
|
|
17218
|
+
name: "ERC1155InsufficientBalance"
|
|
17268
17219
|
},
|
|
17269
17220
|
{
|
|
17270
|
-
type: "
|
|
17271
|
-
inputs: [],
|
|
17272
|
-
name: "
|
|
17273
|
-
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
17274
|
-
stateMutability: "view"
|
|
17221
|
+
type: "error",
|
|
17222
|
+
inputs: [{ name: "approver", internalType: "address", type: "address" }],
|
|
17223
|
+
name: "ERC1155InvalidApprover"
|
|
17275
17224
|
},
|
|
17276
17225
|
{
|
|
17277
|
-
type: "
|
|
17278
|
-
inputs: [
|
|
17279
|
-
|
|
17280
|
-
|
|
17281
|
-
|
|
17226
|
+
type: "error",
|
|
17227
|
+
inputs: [
|
|
17228
|
+
{ name: "idsLength", internalType: "uint256", type: "uint256" },
|
|
17229
|
+
{ name: "valuesLength", internalType: "uint256", type: "uint256" }
|
|
17230
|
+
],
|
|
17231
|
+
name: "ERC1155InvalidArrayLength"
|
|
17282
17232
|
},
|
|
17283
17233
|
{
|
|
17284
|
-
type: "
|
|
17285
|
-
inputs: [],
|
|
17286
|
-
name: "
|
|
17287
|
-
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
17288
|
-
stateMutability: "view"
|
|
17234
|
+
type: "error",
|
|
17235
|
+
inputs: [{ name: "operator", internalType: "address", type: "address" }],
|
|
17236
|
+
name: "ERC1155InvalidOperator"
|
|
17289
17237
|
},
|
|
17290
17238
|
{
|
|
17291
|
-
type: "
|
|
17292
|
-
inputs: [],
|
|
17293
|
-
name: "
|
|
17294
|
-
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
17295
|
-
stateMutability: "view"
|
|
17239
|
+
type: "error",
|
|
17240
|
+
inputs: [{ name: "receiver", internalType: "address", type: "address" }],
|
|
17241
|
+
name: "ERC1155InvalidReceiver"
|
|
17296
17242
|
},
|
|
17297
17243
|
{
|
|
17298
|
-
type: "
|
|
17244
|
+
type: "error",
|
|
17245
|
+
inputs: [{ name: "sender", internalType: "address", type: "address" }],
|
|
17246
|
+
name: "ERC1155InvalidSender"
|
|
17247
|
+
},
|
|
17248
|
+
{
|
|
17249
|
+
type: "error",
|
|
17299
17250
|
inputs: [
|
|
17300
|
-
{ name: "
|
|
17301
|
-
{ name: "
|
|
17251
|
+
{ name: "operator", internalType: "address", type: "address" },
|
|
17252
|
+
{ name: "owner", internalType: "address", type: "address" }
|
|
17302
17253
|
],
|
|
17303
|
-
name: "
|
|
17304
|
-
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
17305
|
-
stateMutability: "view"
|
|
17254
|
+
name: "ERC1155MissingApprovalForAll"
|
|
17306
17255
|
},
|
|
17256
|
+
{ type: "error", inputs: [], name: "ERC20TransferSlippage" },
|
|
17307
17257
|
{
|
|
17308
|
-
type: "
|
|
17309
|
-
inputs: [{ name: "
|
|
17310
|
-
name: "
|
|
17311
|
-
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
17312
|
-
stateMutability: "view"
|
|
17258
|
+
type: "error",
|
|
17259
|
+
inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
|
|
17260
|
+
name: "ERC2612ExpiredSignature"
|
|
17313
17261
|
},
|
|
17262
|
+
{ type: "error", inputs: [], name: "ETHTransferFailed" },
|
|
17263
|
+
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
17264
|
+
{ type: "error", inputs: [], name: "IncorrectAmountSent" },
|
|
17314
17265
|
{
|
|
17315
|
-
type: "
|
|
17266
|
+
type: "error",
|
|
17316
17267
|
inputs: [
|
|
17317
|
-
{ name: "
|
|
17318
|
-
{ name: "
|
|
17268
|
+
{ name: "account", internalType: "address", type: "address" },
|
|
17269
|
+
{ name: "currentNonce", internalType: "uint256", type: "uint256" }
|
|
17319
17270
|
],
|
|
17320
|
-
name: "
|
|
17321
|
-
outputs: [{ name: "", internalType: "uint256[]", type: "uint256[]" }],
|
|
17322
|
-
stateMutability: "view"
|
|
17271
|
+
name: "InvalidAccountNonce"
|
|
17323
17272
|
},
|
|
17273
|
+
{ type: "error", inputs: [], name: "InvalidRecipient" },
|
|
17274
|
+
{ type: "error", inputs: [], name: "InvalidShortString" },
|
|
17275
|
+
{ type: "error", inputs: [], name: "InvalidSignature" },
|
|
17276
|
+
{ type: "error", inputs: [], name: "InvalidTokenPrice" },
|
|
17277
|
+
{ type: "error", inputs: [], name: "NoUriForNonexistentToken" },
|
|
17324
17278
|
{
|
|
17325
|
-
type: "
|
|
17326
|
-
inputs: [],
|
|
17327
|
-
name: "
|
|
17328
|
-
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
17329
|
-
stateMutability: "view"
|
|
17279
|
+
type: "error",
|
|
17280
|
+
inputs: [{ name: "handler", internalType: "address", type: "address" }],
|
|
17281
|
+
name: "NotARedeemHandler"
|
|
17330
17282
|
},
|
|
17331
17283
|
{
|
|
17332
|
-
type: "
|
|
17284
|
+
type: "error",
|
|
17285
|
+
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
17286
|
+
name: "SafeERC20FailedOperation"
|
|
17287
|
+
},
|
|
17288
|
+
{
|
|
17289
|
+
type: "error",
|
|
17290
|
+
inputs: [{ name: "str", internalType: "string", type: "string" }],
|
|
17291
|
+
name: "StringTooLong"
|
|
17292
|
+
},
|
|
17293
|
+
{ type: "error", inputs: [], name: "TokenAlreadyCreated" },
|
|
17294
|
+
{ type: "error", inputs: [], name: "TokenDoesNotExist" },
|
|
17295
|
+
{
|
|
17296
|
+
type: "error",
|
|
17333
17297
|
inputs: [
|
|
17334
|
-
{ name: "
|
|
17298
|
+
{ name: "storedTokenAddress", internalType: "address", type: "address" },
|
|
17335
17299
|
{
|
|
17336
|
-
name: "
|
|
17337
|
-
internalType: "
|
|
17338
|
-
type: "
|
|
17339
|
-
|
|
17340
|
-
|
|
17341
|
-
|
|
17342
|
-
|
|
17343
|
-
|
|
17300
|
+
name: "expectedTokenAddress",
|
|
17301
|
+
internalType: "address",
|
|
17302
|
+
type: "address"
|
|
17303
|
+
}
|
|
17304
|
+
],
|
|
17305
|
+
name: "TokenMismatch"
|
|
17306
|
+
},
|
|
17307
|
+
{ type: "error", inputs: [], name: "TokenNotMintable" }
|
|
17308
|
+
];
|
|
17309
|
+
var zoraMints1155Address = {
|
|
17310
|
+
7777777: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
|
|
17311
|
+
999999999: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073"
|
|
17312
|
+
};
|
|
17313
|
+
var zoraMints1155Config = {
|
|
17314
|
+
address: zoraMints1155Address,
|
|
17315
|
+
abi: zoraMints1155ABI
|
|
17316
|
+
};
|
|
17317
|
+
var zoraMintsManagerImplABI = [
|
|
17318
|
+
{
|
|
17319
|
+
type: "constructor",
|
|
17320
|
+
inputs: [
|
|
17321
|
+
{
|
|
17322
|
+
name: "_premintExecutor",
|
|
17323
|
+
internalType: "contract IZoraCreator1155PremintExecutorAllVersions",
|
|
17324
|
+
type: "address"
|
|
17344
17325
|
}
|
|
17345
17326
|
],
|
|
17346
|
-
name: "createToken",
|
|
17347
|
-
outputs: [],
|
|
17348
17327
|
stateMutability: "nonpayable"
|
|
17349
17328
|
},
|
|
17350
17329
|
{
|
|
17351
17330
|
type: "function",
|
|
17352
17331
|
inputs: [],
|
|
17353
|
-
name: "
|
|
17354
|
-
outputs: [
|
|
17355
|
-
{ name: "fields", internalType: "bytes1", type: "bytes1" },
|
|
17356
|
-
{ name: "name", internalType: "string", type: "string" },
|
|
17357
|
-
{ name: "version", internalType: "string", type: "string" },
|
|
17358
|
-
{ name: "chainId", internalType: "uint256", type: "uint256" },
|
|
17359
|
-
{ name: "verifyingContract", internalType: "address", type: "address" },
|
|
17360
|
-
{ name: "salt", internalType: "bytes32", type: "bytes32" },
|
|
17361
|
-
{ name: "extensions", internalType: "uint256[]", type: "uint256[]" }
|
|
17362
|
-
],
|
|
17332
|
+
name: "UPGRADE_INTERFACE_VERSION",
|
|
17333
|
+
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
17363
17334
|
stateMutability: "view"
|
|
17364
17335
|
},
|
|
17365
17336
|
{
|
|
17366
17337
|
type: "function",
|
|
17367
17338
|
inputs: [],
|
|
17368
|
-
name: "
|
|
17369
|
-
outputs: [
|
|
17370
|
-
stateMutability: "
|
|
17339
|
+
name: "acceptOwnership",
|
|
17340
|
+
outputs: [],
|
|
17341
|
+
stateMutability: "nonpayable"
|
|
17371
17342
|
},
|
|
17372
17343
|
{
|
|
17373
17344
|
type: "function",
|
|
17374
|
-
inputs: [
|
|
17375
|
-
|
|
17345
|
+
inputs: [
|
|
17346
|
+
{ name: "callFrom", internalType: "address", type: "address" },
|
|
17347
|
+
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
17348
|
+
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
17349
|
+
{ name: "call", internalType: "bytes", type: "bytes" }
|
|
17350
|
+
],
|
|
17351
|
+
name: "callWithTransferTokens",
|
|
17376
17352
|
outputs: [
|
|
17377
|
-
{
|
|
17378
|
-
|
|
17379
|
-
internalType: "struct TokenConfig",
|
|
17380
|
-
type: "tuple",
|
|
17381
|
-
components: [
|
|
17382
|
-
{ name: "price", internalType: "uint256", type: "uint256" },
|
|
17383
|
-
{ name: "tokenAddress", internalType: "address", type: "address" },
|
|
17384
|
-
{ name: "redeemHandler", internalType: "address", type: "address" }
|
|
17385
|
-
]
|
|
17386
|
-
}
|
|
17353
|
+
{ name: "success", internalType: "bool", type: "bool" },
|
|
17354
|
+
{ name: "result", internalType: "bytes", type: "bytes" }
|
|
17387
17355
|
],
|
|
17388
|
-
stateMutability: "
|
|
17356
|
+
stateMutability: "payable"
|
|
17389
17357
|
},
|
|
17390
17358
|
{
|
|
17391
17359
|
type: "function",
|
|
17392
17360
|
inputs: [
|
|
17393
|
-
{
|
|
17394
|
-
|
|
17395
|
-
|
|
17396
|
-
type: "tuple",
|
|
17397
|
-
components: [
|
|
17398
|
-
{ name: "owner", internalType: "address", type: "address" },
|
|
17399
|
-
{ name: "to", internalType: "address", type: "address" },
|
|
17400
|
-
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
17401
|
-
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
17402
|
-
{ name: "safeTransferData", internalType: "bytes", type: "bytes" },
|
|
17403
|
-
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
17404
|
-
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
17405
|
-
]
|
|
17406
|
-
}
|
|
17361
|
+
{ name: "caller", internalType: "address", type: "address" },
|
|
17362
|
+
{ name: "", internalType: "address", type: "address" },
|
|
17363
|
+
{ name: "", internalType: "bytes4", type: "bytes4" }
|
|
17407
17364
|
],
|
|
17408
|
-
name: "
|
|
17409
|
-
outputs: [{ name: "", internalType: "
|
|
17365
|
+
name: "canCall",
|
|
17366
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
17410
17367
|
stateMutability: "view"
|
|
17411
17368
|
},
|
|
17412
17369
|
{
|
|
17413
17370
|
type: "function",
|
|
17414
17371
|
inputs: [
|
|
17415
17372
|
{
|
|
17416
|
-
name: "
|
|
17417
|
-
internalType: "
|
|
17373
|
+
name: "zoraCreator1155Contract",
|
|
17374
|
+
internalType: "contract IMintWithSparks",
|
|
17375
|
+
type: "address"
|
|
17376
|
+
},
|
|
17377
|
+
{ name: "minter", internalType: "contract IMinter1155", type: "address" },
|
|
17378
|
+
{
|
|
17379
|
+
name: "zoraCreator1155TokenId",
|
|
17380
|
+
internalType: "uint256",
|
|
17381
|
+
type: "uint256"
|
|
17382
|
+
},
|
|
17383
|
+
{
|
|
17384
|
+
name: "collectMintArguments",
|
|
17385
|
+
internalType: "struct ICollectWithZoraSparks.CollectMintArguments",
|
|
17418
17386
|
type: "tuple",
|
|
17419
17387
|
components: [
|
|
17420
|
-
{
|
|
17421
|
-
|
|
17422
|
-
|
|
17423
|
-
|
|
17424
|
-
|
|
17425
|
-
{ name: "
|
|
17426
|
-
{ name: "
|
|
17388
|
+
{
|
|
17389
|
+
name: "mintRewardsRecipients",
|
|
17390
|
+
internalType: "address[]",
|
|
17391
|
+
type: "address[]"
|
|
17392
|
+
},
|
|
17393
|
+
{ name: "minterArguments", internalType: "bytes", type: "bytes" },
|
|
17394
|
+
{ name: "mintComment", internalType: "string", type: "string" }
|
|
17427
17395
|
]
|
|
17428
17396
|
}
|
|
17429
17397
|
],
|
|
17430
|
-
name: "
|
|
17431
|
-
outputs: [
|
|
17432
|
-
stateMutability: "
|
|
17433
|
-
},
|
|
17434
|
-
{
|
|
17435
|
-
type: "function",
|
|
17436
|
-
inputs: [
|
|
17437
|
-
{ name: "account", internalType: "address", type: "address" },
|
|
17438
|
-
{ name: "operator", internalType: "address", type: "address" }
|
|
17439
|
-
],
|
|
17440
|
-
name: "isApprovedForAll",
|
|
17441
|
-
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
17442
|
-
stateMutability: "view"
|
|
17443
|
-
},
|
|
17444
|
-
{
|
|
17445
|
-
type: "function",
|
|
17446
|
-
inputs: [],
|
|
17447
|
-
name: "isConsumingScheduledOp",
|
|
17448
|
-
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
|
|
17449
|
-
stateMutability: "view"
|
|
17398
|
+
name: "collect",
|
|
17399
|
+
outputs: [],
|
|
17400
|
+
stateMutability: "payable"
|
|
17450
17401
|
},
|
|
17451
17402
|
{
|
|
17452
17403
|
type: "function",
|
|
17453
17404
|
inputs: [
|
|
17454
17405
|
{
|
|
17455
|
-
name: "
|
|
17456
|
-
internalType: "struct
|
|
17406
|
+
name: "contractConfig",
|
|
17407
|
+
internalType: "struct ContractWithAdditionalAdminsCreationConfig",
|
|
17457
17408
|
type: "tuple",
|
|
17458
17409
|
components: [
|
|
17459
|
-
{ name: "
|
|
17460
|
-
{ name: "
|
|
17461
|
-
{ name: "
|
|
17462
|
-
{
|
|
17463
|
-
|
|
17464
|
-
|
|
17465
|
-
|
|
17410
|
+
{ name: "contractAdmin", internalType: "address", type: "address" },
|
|
17411
|
+
{ name: "contractURI", internalType: "string", type: "string" },
|
|
17412
|
+
{ name: "contractName", internalType: "string", type: "string" },
|
|
17413
|
+
{
|
|
17414
|
+
name: "additionalAdmins",
|
|
17415
|
+
internalType: "address[]",
|
|
17416
|
+
type: "address[]"
|
|
17417
|
+
}
|
|
17466
17418
|
]
|
|
17467
17419
|
},
|
|
17468
|
-
{ name: "
|
|
17420
|
+
{ name: "tokenContract", internalType: "address", type: "address" },
|
|
17421
|
+
{
|
|
17422
|
+
name: "premintConfig",
|
|
17423
|
+
internalType: "struct PremintConfigEncoded",
|
|
17424
|
+
type: "tuple",
|
|
17425
|
+
components: [
|
|
17426
|
+
{ name: "uid", internalType: "uint32", type: "uint32" },
|
|
17427
|
+
{ name: "version", internalType: "uint32", type: "uint32" },
|
|
17428
|
+
{ name: "deleted", internalType: "bool", type: "bool" },
|
|
17429
|
+
{ name: "tokenConfig", internalType: "bytes", type: "bytes" },
|
|
17430
|
+
{
|
|
17431
|
+
name: "premintConfigVersion",
|
|
17432
|
+
internalType: "bytes32",
|
|
17433
|
+
type: "bytes32"
|
|
17434
|
+
}
|
|
17435
|
+
]
|
|
17436
|
+
},
|
|
17437
|
+
{ name: "signature", internalType: "bytes", type: "bytes" },
|
|
17438
|
+
{
|
|
17439
|
+
name: "mintArguments",
|
|
17440
|
+
internalType: "struct MintArguments",
|
|
17441
|
+
type: "tuple",
|
|
17442
|
+
components: [
|
|
17443
|
+
{ name: "mintRecipient", internalType: "address", type: "address" },
|
|
17444
|
+
{ name: "mintComment", internalType: "string", type: "string" },
|
|
17445
|
+
{
|
|
17446
|
+
name: "mintRewardsRecipients",
|
|
17447
|
+
internalType: "address[]",
|
|
17448
|
+
type: "address[]"
|
|
17449
|
+
}
|
|
17450
|
+
]
|
|
17451
|
+
},
|
|
17452
|
+
{ name: "firstMinter", internalType: "address", type: "address" },
|
|
17453
|
+
{ name: "signerContract", internalType: "address", type: "address" }
|
|
17469
17454
|
],
|
|
17470
|
-
name: "
|
|
17471
|
-
outputs: [
|
|
17472
|
-
stateMutability: "view"
|
|
17473
|
-
},
|
|
17474
|
-
{
|
|
17475
|
-
type: "function",
|
|
17476
|
-
inputs: [
|
|
17455
|
+
name: "collectPremint",
|
|
17456
|
+
outputs: [
|
|
17477
17457
|
{
|
|
17478
|
-
name: "
|
|
17479
|
-
internalType: "struct
|
|
17458
|
+
name: "result",
|
|
17459
|
+
internalType: "struct PremintResult",
|
|
17480
17460
|
type: "tuple",
|
|
17481
17461
|
components: [
|
|
17482
|
-
{ name: "
|
|
17483
|
-
{ name: "to", internalType: "address", type: "address" },
|
|
17462
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
17484
17463
|
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
17485
|
-
{ name: "
|
|
17486
|
-
{ name: "safeTransferData", internalType: "bytes", type: "bytes" },
|
|
17487
|
-
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
17488
|
-
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
17464
|
+
{ name: "createdNewContract", internalType: "bool", type: "bool" }
|
|
17489
17465
|
]
|
|
17490
|
-
}
|
|
17491
|
-
{ name: "signature", internalType: "bytes", type: "bytes" }
|
|
17466
|
+
}
|
|
17492
17467
|
],
|
|
17493
|
-
|
|
17494
|
-
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
17495
|
-
stateMutability: "view"
|
|
17496
|
-
},
|
|
17497
|
-
{
|
|
17498
|
-
type: "function",
|
|
17499
|
-
inputs: [
|
|
17500
|
-
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
17501
|
-
{ name: "tokenAddress", internalType: "address", type: "address" },
|
|
17502
|
-
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
17503
|
-
{ name: "recipient", internalType: "address", type: "address" },
|
|
17504
|
-
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
17505
|
-
],
|
|
17506
|
-
name: "mintTokenWithERC20",
|
|
17507
|
-
outputs: [],
|
|
17508
|
-
stateMutability: "nonpayable"
|
|
17509
|
-
},
|
|
17510
|
-
{
|
|
17511
|
-
type: "function",
|
|
17512
|
-
inputs: [
|
|
17513
|
-
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
17514
|
-
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
17515
|
-
{ name: "recipient", internalType: "address", type: "address" },
|
|
17516
|
-
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
17517
|
-
],
|
|
17518
|
-
name: "mintTokenWithEth",
|
|
17519
|
-
outputs: [],
|
|
17520
|
-
stateMutability: "payable"
|
|
17521
|
-
},
|
|
17522
|
-
{
|
|
17523
|
-
type: "function",
|
|
17524
|
-
inputs: [],
|
|
17525
|
-
name: "name",
|
|
17526
|
-
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
17527
|
-
stateMutability: "pure"
|
|
17528
|
-
},
|
|
17529
|
-
{
|
|
17530
|
-
type: "function",
|
|
17531
|
-
inputs: [
|
|
17532
|
-
{ name: "owner", internalType: "address", type: "address" },
|
|
17533
|
-
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
17534
|
-
],
|
|
17535
|
-
name: "nonceUsed",
|
|
17536
|
-
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
17537
|
-
stateMutability: "view"
|
|
17538
|
-
},
|
|
17539
|
-
{
|
|
17540
|
-
type: "function",
|
|
17541
|
-
inputs: [
|
|
17542
|
-
{ name: "newContractURI", internalType: "string", type: "string" },
|
|
17543
|
-
{ name: "newBaseURI", internalType: "string", type: "string" }
|
|
17544
|
-
],
|
|
17545
|
-
name: "notifyURIsUpdated",
|
|
17546
|
-
outputs: [],
|
|
17547
|
-
stateMutability: "nonpayable"
|
|
17548
|
-
},
|
|
17549
|
-
{
|
|
17550
|
-
type: "function",
|
|
17551
|
-
inputs: [
|
|
17552
|
-
{ name: "newUri", internalType: "string", type: "string" },
|
|
17553
|
-
{ name: "tokenId", internalType: "uint256", type: "uint256" }
|
|
17554
|
-
],
|
|
17555
|
-
name: "notifyUpdatedTokenURI",
|
|
17556
|
-
outputs: [],
|
|
17557
|
-
stateMutability: "nonpayable"
|
|
17468
|
+
stateMutability: "payable"
|
|
17558
17469
|
},
|
|
17559
17470
|
{
|
|
17560
17471
|
type: "function",
|
|
17561
17472
|
inputs: [
|
|
17562
17473
|
{
|
|
17563
|
-
name: "
|
|
17564
|
-
internalType: "struct
|
|
17474
|
+
name: "contractConfig",
|
|
17475
|
+
internalType: "struct ContractCreationConfig",
|
|
17565
17476
|
type: "tuple",
|
|
17566
17477
|
components: [
|
|
17567
|
-
{ name: "
|
|
17568
|
-
{ name: "
|
|
17569
|
-
{ name: "
|
|
17570
|
-
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
17571
|
-
{ name: "safeTransferData", internalType: "bytes", type: "bytes" },
|
|
17572
|
-
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
17573
|
-
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
17478
|
+
{ name: "contractAdmin", internalType: "address", type: "address" },
|
|
17479
|
+
{ name: "contractURI", internalType: "string", type: "string" },
|
|
17480
|
+
{ name: "contractName", internalType: "string", type: "string" }
|
|
17574
17481
|
]
|
|
17575
17482
|
},
|
|
17576
|
-
{ name: "signature", internalType: "bytes", type: "bytes" }
|
|
17577
|
-
],
|
|
17578
|
-
name: "permitSafeTransfer",
|
|
17579
|
-
outputs: [],
|
|
17580
|
-
stateMutability: "nonpayable"
|
|
17581
|
-
},
|
|
17582
|
-
{
|
|
17583
|
-
type: "function",
|
|
17584
|
-
inputs: [
|
|
17585
17483
|
{
|
|
17586
|
-
name: "
|
|
17587
|
-
internalType: "struct
|
|
17484
|
+
name: "premintConfig",
|
|
17485
|
+
internalType: "struct PremintConfigV2",
|
|
17588
17486
|
type: "tuple",
|
|
17589
17487
|
components: [
|
|
17590
|
-
{
|
|
17591
|
-
|
|
17592
|
-
|
|
17593
|
-
|
|
17594
|
-
|
|
17595
|
-
|
|
17596
|
-
|
|
17488
|
+
{
|
|
17489
|
+
name: "tokenConfig",
|
|
17490
|
+
internalType: "struct TokenCreationConfigV2",
|
|
17491
|
+
type: "tuple",
|
|
17492
|
+
components: [
|
|
17493
|
+
{ name: "tokenURI", internalType: "string", type: "string" },
|
|
17494
|
+
{ name: "maxSupply", internalType: "uint256", type: "uint256" },
|
|
17495
|
+
{
|
|
17496
|
+
name: "maxTokensPerAddress",
|
|
17497
|
+
internalType: "uint64",
|
|
17498
|
+
type: "uint64"
|
|
17499
|
+
},
|
|
17500
|
+
{ name: "pricePerToken", internalType: "uint96", type: "uint96" },
|
|
17501
|
+
{ name: "mintStart", internalType: "uint64", type: "uint64" },
|
|
17502
|
+
{ name: "mintDuration", internalType: "uint64", type: "uint64" },
|
|
17503
|
+
{ name: "royaltyBPS", internalType: "uint32", type: "uint32" },
|
|
17504
|
+
{
|
|
17505
|
+
name: "payoutRecipient",
|
|
17506
|
+
internalType: "address",
|
|
17507
|
+
type: "address"
|
|
17508
|
+
},
|
|
17509
|
+
{
|
|
17510
|
+
name: "fixedPriceMinter",
|
|
17511
|
+
internalType: "address",
|
|
17512
|
+
type: "address"
|
|
17513
|
+
},
|
|
17514
|
+
{
|
|
17515
|
+
name: "createReferral",
|
|
17516
|
+
internalType: "address",
|
|
17517
|
+
type: "address"
|
|
17518
|
+
}
|
|
17519
|
+
]
|
|
17520
|
+
},
|
|
17521
|
+
{ name: "uid", internalType: "uint32", type: "uint32" },
|
|
17522
|
+
{ name: "version", internalType: "uint32", type: "uint32" },
|
|
17523
|
+
{ name: "deleted", internalType: "bool", type: "bool" }
|
|
17597
17524
|
]
|
|
17598
17525
|
},
|
|
17599
|
-
{ name: "signature", internalType: "bytes", type: "bytes" }
|
|
17600
|
-
],
|
|
17601
|
-
name: "permitSafeTransferBatch",
|
|
17602
|
-
outputs: [],
|
|
17603
|
-
stateMutability: "nonpayable"
|
|
17604
|
-
},
|
|
17605
|
-
{
|
|
17606
|
-
type: "function",
|
|
17607
|
-
inputs: [
|
|
17608
|
-
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
17609
|
-
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
17610
|
-
{ name: "recipient", internalType: "address", type: "address" }
|
|
17611
|
-
],
|
|
17612
|
-
name: "redeem",
|
|
17613
|
-
outputs: [
|
|
17526
|
+
{ name: "signature", internalType: "bytes", type: "bytes" },
|
|
17614
17527
|
{
|
|
17615
|
-
name: "",
|
|
17616
|
-
internalType: "struct
|
|
17528
|
+
name: "mintArguments",
|
|
17529
|
+
internalType: "struct MintArguments",
|
|
17617
17530
|
type: "tuple",
|
|
17618
17531
|
components: [
|
|
17619
|
-
{ name: "
|
|
17620
|
-
{ name: "
|
|
17621
|
-
|
|
17622
|
-
|
|
17623
|
-
|
|
17624
|
-
|
|
17625
|
-
|
|
17626
|
-
{
|
|
17627
|
-
type: "function",
|
|
17628
|
-
inputs: [
|
|
17629
|
-
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
17630
|
-
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
17631
|
-
{ name: "recipient", internalType: "address", type: "address" }
|
|
17632
|
-
],
|
|
17633
|
-
name: "redeemBatch",
|
|
17634
|
-
outputs: [
|
|
17635
|
-
{
|
|
17636
|
-
name: "redemptions",
|
|
17637
|
-
internalType: "struct Redemption[]",
|
|
17638
|
-
type: "tuple[]",
|
|
17639
|
-
components: [
|
|
17640
|
-
{ name: "tokenAddress", internalType: "address", type: "address" },
|
|
17641
|
-
{ name: "valueRedeemed", internalType: "uint256", type: "uint256" }
|
|
17532
|
+
{ name: "mintRecipient", internalType: "address", type: "address" },
|
|
17533
|
+
{ name: "mintComment", internalType: "string", type: "string" },
|
|
17534
|
+
{
|
|
17535
|
+
name: "mintRewardsRecipients",
|
|
17536
|
+
internalType: "address[]",
|
|
17537
|
+
type: "address[]"
|
|
17538
|
+
}
|
|
17642
17539
|
]
|
|
17643
|
-
}
|
|
17644
|
-
|
|
17645
|
-
stateMutability: "nonpayable"
|
|
17646
|
-
},
|
|
17647
|
-
{
|
|
17648
|
-
type: "function",
|
|
17649
|
-
inputs: [
|
|
17650
|
-
{ name: "from", internalType: "address", type: "address" },
|
|
17651
|
-
{ name: "to", internalType: "address", type: "address" },
|
|
17652
|
-
{ name: "ids", internalType: "uint256[]", type: "uint256[]" },
|
|
17653
|
-
{ name: "values", internalType: "uint256[]", type: "uint256[]" },
|
|
17654
|
-
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
17655
|
-
],
|
|
17656
|
-
name: "safeBatchTransferFrom",
|
|
17657
|
-
outputs: [],
|
|
17658
|
-
stateMutability: "nonpayable"
|
|
17659
|
-
},
|
|
17660
|
-
{
|
|
17661
|
-
type: "function",
|
|
17662
|
-
inputs: [
|
|
17663
|
-
{ name: "from", internalType: "address", type: "address" },
|
|
17664
|
-
{ name: "to", internalType: "address", type: "address" },
|
|
17665
|
-
{ name: "id", internalType: "uint256", type: "uint256" },
|
|
17666
|
-
{ name: "value", internalType: "uint256", type: "uint256" },
|
|
17667
|
-
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
17668
|
-
],
|
|
17669
|
-
name: "safeTransferFrom",
|
|
17670
|
-
outputs: [],
|
|
17671
|
-
stateMutability: "nonpayable"
|
|
17672
|
-
},
|
|
17673
|
-
{
|
|
17674
|
-
type: "function",
|
|
17675
|
-
inputs: [
|
|
17676
|
-
{ name: "operator", internalType: "address", type: "address" },
|
|
17677
|
-
{ name: "approved", internalType: "bool", type: "bool" }
|
|
17678
|
-
],
|
|
17679
|
-
name: "setApprovalForAll",
|
|
17680
|
-
outputs: [],
|
|
17681
|
-
stateMutability: "nonpayable"
|
|
17682
|
-
},
|
|
17683
|
-
{
|
|
17684
|
-
type: "function",
|
|
17685
|
-
inputs: [
|
|
17686
|
-
{ name: "newAuthority", internalType: "address", type: "address" }
|
|
17540
|
+
},
|
|
17541
|
+
{ name: "signerContract", internalType: "address", type: "address" }
|
|
17687
17542
|
],
|
|
17688
|
-
name: "
|
|
17689
|
-
outputs: [
|
|
17690
|
-
|
|
17691
|
-
|
|
17692
|
-
|
|
17693
|
-
|
|
17694
|
-
|
|
17695
|
-
|
|
17696
|
-
|
|
17697
|
-
|
|
17698
|
-
|
|
17699
|
-
|
|
17700
|
-
type: "function",
|
|
17701
|
-
inputs: [],
|
|
17702
|
-
name: "symbol",
|
|
17703
|
-
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
17704
|
-
stateMutability: "pure"
|
|
17705
|
-
},
|
|
17706
|
-
{
|
|
17707
|
-
type: "function",
|
|
17708
|
-
inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
|
|
17709
|
-
name: "tokenExists",
|
|
17710
|
-
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
17711
|
-
stateMutability: "view"
|
|
17712
|
-
},
|
|
17713
|
-
{
|
|
17714
|
-
type: "function",
|
|
17715
|
-
inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
|
|
17716
|
-
name: "tokenPrice",
|
|
17717
|
-
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
17718
|
-
stateMutability: "view"
|
|
17719
|
-
},
|
|
17720
|
-
{
|
|
17721
|
-
type: "function",
|
|
17722
|
-
inputs: [
|
|
17723
|
-
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
17724
|
-
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
17725
|
-
{ name: "call", internalType: "bytes", type: "bytes" }
|
|
17726
|
-
],
|
|
17727
|
-
name: "transferBatchToManagerAndCall",
|
|
17728
|
-
outputs: [{ name: "callReturn", internalType: "bytes", type: "bytes" }],
|
|
17729
|
-
stateMutability: "payable"
|
|
17730
|
-
},
|
|
17731
|
-
{
|
|
17732
|
-
type: "function",
|
|
17733
|
-
inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
|
|
17734
|
-
name: "uri",
|
|
17735
|
-
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
17736
|
-
stateMutability: "view"
|
|
17737
|
-
},
|
|
17738
|
-
{
|
|
17739
|
-
type: "event",
|
|
17740
|
-
anonymous: false,
|
|
17741
|
-
inputs: [
|
|
17742
|
-
{
|
|
17743
|
-
name: "account",
|
|
17744
|
-
internalType: "address",
|
|
17745
|
-
type: "address",
|
|
17746
|
-
indexed: true
|
|
17747
|
-
},
|
|
17748
|
-
{
|
|
17749
|
-
name: "operator",
|
|
17750
|
-
internalType: "address",
|
|
17751
|
-
type: "address",
|
|
17752
|
-
indexed: true
|
|
17753
|
-
},
|
|
17754
|
-
{ name: "approved", internalType: "bool", type: "bool", indexed: false }
|
|
17755
|
-
],
|
|
17756
|
-
name: "ApprovalForAll"
|
|
17757
|
-
},
|
|
17758
|
-
{
|
|
17759
|
-
type: "event",
|
|
17760
|
-
anonymous: false,
|
|
17761
|
-
inputs: [
|
|
17762
|
-
{
|
|
17763
|
-
name: "authority",
|
|
17764
|
-
internalType: "address",
|
|
17765
|
-
type: "address",
|
|
17766
|
-
indexed: false
|
|
17767
|
-
}
|
|
17768
|
-
],
|
|
17769
|
-
name: "AuthorityUpdated"
|
|
17770
|
-
},
|
|
17771
|
-
{ type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
|
|
17772
|
-
{ type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
|
|
17773
|
-
{
|
|
17774
|
-
type: "event",
|
|
17775
|
-
anonymous: false,
|
|
17776
|
-
inputs: [
|
|
17777
|
-
{
|
|
17778
|
-
name: "tokenId",
|
|
17779
|
-
internalType: "uint256",
|
|
17780
|
-
type: "uint256",
|
|
17781
|
-
indexed: true
|
|
17782
|
-
},
|
|
17783
|
-
{
|
|
17784
|
-
name: "price",
|
|
17785
|
-
internalType: "uint256",
|
|
17786
|
-
type: "uint256",
|
|
17787
|
-
indexed: true
|
|
17788
|
-
},
|
|
17789
|
-
{
|
|
17790
|
-
name: "tokenAddress",
|
|
17791
|
-
internalType: "address",
|
|
17792
|
-
type: "address",
|
|
17793
|
-
indexed: true
|
|
17794
|
-
}
|
|
17795
|
-
],
|
|
17796
|
-
name: "TokenCreated"
|
|
17797
|
-
},
|
|
17798
|
-
{
|
|
17799
|
-
type: "event",
|
|
17800
|
-
anonymous: false,
|
|
17801
|
-
inputs: [
|
|
17802
|
-
{
|
|
17803
|
-
name: "operator",
|
|
17804
|
-
internalType: "address",
|
|
17805
|
-
type: "address",
|
|
17806
|
-
indexed: true
|
|
17807
|
-
},
|
|
17808
|
-
{ name: "from", internalType: "address", type: "address", indexed: true },
|
|
17809
|
-
{ name: "to", internalType: "address", type: "address", indexed: true },
|
|
17810
|
-
{
|
|
17811
|
-
name: "ids",
|
|
17812
|
-
internalType: "uint256[]",
|
|
17813
|
-
type: "uint256[]",
|
|
17814
|
-
indexed: false
|
|
17815
|
-
},
|
|
17816
|
-
{
|
|
17817
|
-
name: "values",
|
|
17818
|
-
internalType: "uint256[]",
|
|
17819
|
-
type: "uint256[]",
|
|
17820
|
-
indexed: false
|
|
17821
|
-
}
|
|
17822
|
-
],
|
|
17823
|
-
name: "TransferBatch"
|
|
17824
|
-
},
|
|
17825
|
-
{
|
|
17826
|
-
type: "event",
|
|
17827
|
-
anonymous: false,
|
|
17828
|
-
inputs: [
|
|
17829
|
-
{
|
|
17830
|
-
name: "operator",
|
|
17831
|
-
internalType: "address",
|
|
17832
|
-
type: "address",
|
|
17833
|
-
indexed: true
|
|
17834
|
-
},
|
|
17835
|
-
{ name: "from", internalType: "address", type: "address", indexed: true },
|
|
17836
|
-
{ name: "to", internalType: "address", type: "address", indexed: true },
|
|
17837
|
-
{ name: "id", internalType: "uint256", type: "uint256", indexed: false },
|
|
17838
|
-
{
|
|
17839
|
-
name: "value",
|
|
17840
|
-
internalType: "uint256",
|
|
17841
|
-
type: "uint256",
|
|
17842
|
-
indexed: false
|
|
17843
|
-
}
|
|
17844
|
-
],
|
|
17845
|
-
name: "TransferSingle"
|
|
17846
|
-
},
|
|
17847
|
-
{
|
|
17848
|
-
type: "event",
|
|
17849
|
-
anonymous: false,
|
|
17850
|
-
inputs: [
|
|
17851
|
-
{ name: "value", internalType: "string", type: "string", indexed: false },
|
|
17852
|
-
{ name: "id", internalType: "uint256", type: "uint256", indexed: true }
|
|
17853
|
-
],
|
|
17854
|
-
name: "URI"
|
|
17855
|
-
},
|
|
17856
|
-
{
|
|
17857
|
-
type: "event",
|
|
17858
|
-
anonymous: false,
|
|
17859
|
-
inputs: [
|
|
17860
|
-
{
|
|
17861
|
-
name: "contractURI",
|
|
17862
|
-
internalType: "string",
|
|
17863
|
-
type: "string",
|
|
17864
|
-
indexed: false
|
|
17865
|
-
},
|
|
17866
|
-
{
|
|
17867
|
-
name: "baseURI",
|
|
17868
|
-
internalType: "string",
|
|
17869
|
-
type: "string",
|
|
17870
|
-
indexed: false
|
|
17871
|
-
}
|
|
17872
|
-
],
|
|
17873
|
-
name: "URIsUpdated"
|
|
17874
|
-
},
|
|
17875
|
-
{
|
|
17876
|
-
type: "error",
|
|
17877
|
-
inputs: [{ name: "authority", internalType: "address", type: "address" }],
|
|
17878
|
-
name: "AccessManagedInvalidAuthority"
|
|
17879
|
-
},
|
|
17880
|
-
{
|
|
17881
|
-
type: "error",
|
|
17882
|
-
inputs: [
|
|
17883
|
-
{ name: "caller", internalType: "address", type: "address" },
|
|
17884
|
-
{ name: "delay", internalType: "uint32", type: "uint32" }
|
|
17885
|
-
],
|
|
17886
|
-
name: "AccessManagedRequiredDelay"
|
|
17887
|
-
},
|
|
17888
|
-
{
|
|
17889
|
-
type: "error",
|
|
17890
|
-
inputs: [{ name: "caller", internalType: "address", type: "address" }],
|
|
17891
|
-
name: "AccessManagedUnauthorized"
|
|
17892
|
-
},
|
|
17893
|
-
{
|
|
17894
|
-
type: "error",
|
|
17895
|
-
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
17896
|
-
name: "AddressEmptyCode"
|
|
17897
|
-
},
|
|
17898
|
-
{
|
|
17899
|
-
type: "error",
|
|
17900
|
-
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
17901
|
-
name: "AddressInsufficientBalance"
|
|
17902
|
-
},
|
|
17903
|
-
{
|
|
17904
|
-
type: "error",
|
|
17905
|
-
inputs: [
|
|
17906
|
-
{ name: "lengthA", internalType: "uint256", type: "uint256" },
|
|
17907
|
-
{ name: "lengthB", internalType: "uint256", type: "uint256" }
|
|
17908
|
-
],
|
|
17909
|
-
name: "ArrayLengthMismatch"
|
|
17910
|
-
},
|
|
17911
|
-
{
|
|
17912
|
-
type: "error",
|
|
17913
|
-
inputs: [{ name: "returnData", internalType: "bytes", type: "bytes" }],
|
|
17914
|
-
name: "CallFailed"
|
|
17915
|
-
},
|
|
17916
|
-
{
|
|
17917
|
-
type: "error",
|
|
17918
|
-
inputs: [
|
|
17919
|
-
{ name: "sender", internalType: "address", type: "address" },
|
|
17920
|
-
{ name: "balance", internalType: "uint256", type: "uint256" },
|
|
17921
|
-
{ name: "needed", internalType: "uint256", type: "uint256" },
|
|
17922
|
-
{ name: "tokenId", internalType: "uint256", type: "uint256" }
|
|
17923
|
-
],
|
|
17924
|
-
name: "ERC1155InsufficientBalance"
|
|
17925
|
-
},
|
|
17926
|
-
{
|
|
17927
|
-
type: "error",
|
|
17928
|
-
inputs: [{ name: "approver", internalType: "address", type: "address" }],
|
|
17929
|
-
name: "ERC1155InvalidApprover"
|
|
17930
|
-
},
|
|
17931
|
-
{
|
|
17932
|
-
type: "error",
|
|
17933
|
-
inputs: [
|
|
17934
|
-
{ name: "idsLength", internalType: "uint256", type: "uint256" },
|
|
17935
|
-
{ name: "valuesLength", internalType: "uint256", type: "uint256" }
|
|
17936
|
-
],
|
|
17937
|
-
name: "ERC1155InvalidArrayLength"
|
|
17938
|
-
},
|
|
17939
|
-
{
|
|
17940
|
-
type: "error",
|
|
17941
|
-
inputs: [{ name: "operator", internalType: "address", type: "address" }],
|
|
17942
|
-
name: "ERC1155InvalidOperator"
|
|
17943
|
-
},
|
|
17944
|
-
{
|
|
17945
|
-
type: "error",
|
|
17946
|
-
inputs: [{ name: "receiver", internalType: "address", type: "address" }],
|
|
17947
|
-
name: "ERC1155InvalidReceiver"
|
|
17948
|
-
},
|
|
17949
|
-
{
|
|
17950
|
-
type: "error",
|
|
17951
|
-
inputs: [{ name: "sender", internalType: "address", type: "address" }],
|
|
17952
|
-
name: "ERC1155InvalidSender"
|
|
17953
|
-
},
|
|
17954
|
-
{
|
|
17955
|
-
type: "error",
|
|
17956
|
-
inputs: [
|
|
17957
|
-
{ name: "operator", internalType: "address", type: "address" },
|
|
17958
|
-
{ name: "owner", internalType: "address", type: "address" }
|
|
17959
|
-
],
|
|
17960
|
-
name: "ERC1155MissingApprovalForAll"
|
|
17961
|
-
},
|
|
17962
|
-
{ type: "error", inputs: [], name: "ERC20TransferSlippage" },
|
|
17963
|
-
{
|
|
17964
|
-
type: "error",
|
|
17965
|
-
inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
|
|
17966
|
-
name: "ERC2612ExpiredSignature"
|
|
17967
|
-
},
|
|
17968
|
-
{ type: "error", inputs: [], name: "ETHTransferFailed" },
|
|
17969
|
-
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
17970
|
-
{ type: "error", inputs: [], name: "IncorrectAmountSent" },
|
|
17971
|
-
{
|
|
17972
|
-
type: "error",
|
|
17973
|
-
inputs: [
|
|
17974
|
-
{ name: "account", internalType: "address", type: "address" },
|
|
17975
|
-
{ name: "currentNonce", internalType: "uint256", type: "uint256" }
|
|
17976
|
-
],
|
|
17977
|
-
name: "InvalidAccountNonce"
|
|
17978
|
-
},
|
|
17979
|
-
{ type: "error", inputs: [], name: "InvalidRecipient" },
|
|
17980
|
-
{ type: "error", inputs: [], name: "InvalidShortString" },
|
|
17981
|
-
{ type: "error", inputs: [], name: "InvalidSignature" },
|
|
17982
|
-
{ type: "error", inputs: [], name: "InvalidTokenPrice" },
|
|
17983
|
-
{ type: "error", inputs: [], name: "NoUriForNonexistentToken" },
|
|
17984
|
-
{
|
|
17985
|
-
type: "error",
|
|
17986
|
-
inputs: [{ name: "handler", internalType: "address", type: "address" }],
|
|
17987
|
-
name: "NotARedeemHandler"
|
|
17988
|
-
},
|
|
17989
|
-
{
|
|
17990
|
-
type: "error",
|
|
17991
|
-
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
17992
|
-
name: "SafeERC20FailedOperation"
|
|
17993
|
-
},
|
|
17994
|
-
{
|
|
17995
|
-
type: "error",
|
|
17996
|
-
inputs: [{ name: "str", internalType: "string", type: "string" }],
|
|
17997
|
-
name: "StringTooLong"
|
|
17998
|
-
},
|
|
17999
|
-
{ type: "error", inputs: [], name: "TokenAlreadyCreated" },
|
|
18000
|
-
{ type: "error", inputs: [], name: "TokenDoesNotExist" },
|
|
18001
|
-
{
|
|
18002
|
-
type: "error",
|
|
18003
|
-
inputs: [
|
|
18004
|
-
{ name: "storedTokenAddress", internalType: "address", type: "address" },
|
|
18005
|
-
{
|
|
18006
|
-
name: "expectedTokenAddress",
|
|
18007
|
-
internalType: "address",
|
|
18008
|
-
type: "address"
|
|
18009
|
-
}
|
|
18010
|
-
],
|
|
18011
|
-
name: "TokenMismatch"
|
|
18012
|
-
},
|
|
18013
|
-
{ type: "error", inputs: [], name: "TokenNotMintable" }
|
|
18014
|
-
];
|
|
18015
|
-
var zoraMints1155Address = {
|
|
18016
|
-
7777777: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
|
|
18017
|
-
999999999: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073"
|
|
18018
|
-
};
|
|
18019
|
-
var zoraMints1155Config = {
|
|
18020
|
-
address: zoraMints1155Address,
|
|
18021
|
-
abi: zoraMints1155ABI
|
|
18022
|
-
};
|
|
18023
|
-
var zoraMintsManagerImplABI = [
|
|
18024
|
-
{
|
|
18025
|
-
type: "constructor",
|
|
18026
|
-
inputs: [
|
|
18027
|
-
{
|
|
18028
|
-
name: "_premintExecutor",
|
|
18029
|
-
internalType: "contract IZoraCreator1155PremintExecutorAllVersions",
|
|
18030
|
-
type: "address"
|
|
18031
|
-
}
|
|
18032
|
-
],
|
|
18033
|
-
stateMutability: "nonpayable"
|
|
18034
|
-
},
|
|
18035
|
-
{
|
|
18036
|
-
type: "function",
|
|
18037
|
-
inputs: [],
|
|
18038
|
-
name: "UPGRADE_INTERFACE_VERSION",
|
|
18039
|
-
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
18040
|
-
stateMutability: "view"
|
|
18041
|
-
},
|
|
18042
|
-
{
|
|
18043
|
-
type: "function",
|
|
18044
|
-
inputs: [],
|
|
18045
|
-
name: "acceptOwnership",
|
|
18046
|
-
outputs: [],
|
|
18047
|
-
stateMutability: "nonpayable"
|
|
18048
|
-
},
|
|
18049
|
-
{
|
|
18050
|
-
type: "function",
|
|
18051
|
-
inputs: [
|
|
18052
|
-
{ name: "callFrom", internalType: "address", type: "address" },
|
|
18053
|
-
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
18054
|
-
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
18055
|
-
{ name: "call", internalType: "bytes", type: "bytes" }
|
|
18056
|
-
],
|
|
18057
|
-
name: "callWithTransferTokens",
|
|
18058
|
-
outputs: [
|
|
18059
|
-
{ name: "success", internalType: "bool", type: "bool" },
|
|
18060
|
-
{ name: "result", internalType: "bytes", type: "bytes" }
|
|
18061
|
-
],
|
|
18062
|
-
stateMutability: "payable"
|
|
18063
|
-
},
|
|
18064
|
-
{
|
|
18065
|
-
type: "function",
|
|
18066
|
-
inputs: [
|
|
18067
|
-
{ name: "caller", internalType: "address", type: "address" },
|
|
18068
|
-
{ name: "", internalType: "address", type: "address" },
|
|
18069
|
-
{ name: "", internalType: "bytes4", type: "bytes4" }
|
|
18070
|
-
],
|
|
18071
|
-
name: "canCall",
|
|
18072
|
-
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
18073
|
-
stateMutability: "view"
|
|
18074
|
-
},
|
|
18075
|
-
{
|
|
18076
|
-
type: "function",
|
|
18077
|
-
inputs: [
|
|
18078
|
-
{
|
|
18079
|
-
name: "zoraCreator1155Contract",
|
|
18080
|
-
internalType: "contract IMintWithSparks",
|
|
18081
|
-
type: "address"
|
|
18082
|
-
},
|
|
18083
|
-
{ name: "minter", internalType: "contract IMinter1155", type: "address" },
|
|
18084
|
-
{
|
|
18085
|
-
name: "zoraCreator1155TokenId",
|
|
18086
|
-
internalType: "uint256",
|
|
18087
|
-
type: "uint256"
|
|
18088
|
-
},
|
|
18089
|
-
{
|
|
18090
|
-
name: "collectMintArguments",
|
|
18091
|
-
internalType: "struct ICollectWithZoraSparks.CollectMintArguments",
|
|
18092
|
-
type: "tuple",
|
|
18093
|
-
components: [
|
|
18094
|
-
{
|
|
18095
|
-
name: "mintRewardsRecipients",
|
|
18096
|
-
internalType: "address[]",
|
|
18097
|
-
type: "address[]"
|
|
18098
|
-
},
|
|
18099
|
-
{ name: "minterArguments", internalType: "bytes", type: "bytes" },
|
|
18100
|
-
{ name: "mintComment", internalType: "string", type: "string" }
|
|
18101
|
-
]
|
|
18102
|
-
}
|
|
18103
|
-
],
|
|
18104
|
-
name: "collect",
|
|
18105
|
-
outputs: [],
|
|
18106
|
-
stateMutability: "payable"
|
|
18107
|
-
},
|
|
18108
|
-
{
|
|
18109
|
-
type: "function",
|
|
18110
|
-
inputs: [
|
|
18111
|
-
{
|
|
18112
|
-
name: "contractConfig",
|
|
18113
|
-
internalType: "struct ContractWithAdditionalAdminsCreationConfig",
|
|
18114
|
-
type: "tuple",
|
|
18115
|
-
components: [
|
|
18116
|
-
{ name: "contractAdmin", internalType: "address", type: "address" },
|
|
18117
|
-
{ name: "contractURI", internalType: "string", type: "string" },
|
|
18118
|
-
{ name: "contractName", internalType: "string", type: "string" },
|
|
18119
|
-
{
|
|
18120
|
-
name: "additionalAdmins",
|
|
18121
|
-
internalType: "address[]",
|
|
18122
|
-
type: "address[]"
|
|
18123
|
-
}
|
|
18124
|
-
]
|
|
18125
|
-
},
|
|
18126
|
-
{ name: "tokenContract", internalType: "address", type: "address" },
|
|
18127
|
-
{
|
|
18128
|
-
name: "premintConfig",
|
|
18129
|
-
internalType: "struct PremintConfigEncoded",
|
|
18130
|
-
type: "tuple",
|
|
18131
|
-
components: [
|
|
18132
|
-
{ name: "uid", internalType: "uint32", type: "uint32" },
|
|
18133
|
-
{ name: "version", internalType: "uint32", type: "uint32" },
|
|
18134
|
-
{ name: "deleted", internalType: "bool", type: "bool" },
|
|
18135
|
-
{ name: "tokenConfig", internalType: "bytes", type: "bytes" },
|
|
18136
|
-
{
|
|
18137
|
-
name: "premintConfigVersion",
|
|
18138
|
-
internalType: "bytes32",
|
|
18139
|
-
type: "bytes32"
|
|
18140
|
-
}
|
|
18141
|
-
]
|
|
18142
|
-
},
|
|
18143
|
-
{ name: "signature", internalType: "bytes", type: "bytes" },
|
|
18144
|
-
{
|
|
18145
|
-
name: "mintArguments",
|
|
18146
|
-
internalType: "struct MintArguments",
|
|
18147
|
-
type: "tuple",
|
|
18148
|
-
components: [
|
|
18149
|
-
{ name: "mintRecipient", internalType: "address", type: "address" },
|
|
18150
|
-
{ name: "mintComment", internalType: "string", type: "string" },
|
|
18151
|
-
{
|
|
18152
|
-
name: "mintRewardsRecipients",
|
|
18153
|
-
internalType: "address[]",
|
|
18154
|
-
type: "address[]"
|
|
18155
|
-
}
|
|
18156
|
-
]
|
|
18157
|
-
},
|
|
18158
|
-
{ name: "firstMinter", internalType: "address", type: "address" },
|
|
18159
|
-
{ name: "signerContract", internalType: "address", type: "address" }
|
|
18160
|
-
],
|
|
18161
|
-
name: "collectPremint",
|
|
18162
|
-
outputs: [
|
|
18163
|
-
{
|
|
18164
|
-
name: "result",
|
|
18165
|
-
internalType: "struct PremintResult",
|
|
18166
|
-
type: "tuple",
|
|
18167
|
-
components: [
|
|
18168
|
-
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
18169
|
-
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
18170
|
-
{ name: "createdNewContract", internalType: "bool", type: "bool" }
|
|
18171
|
-
]
|
|
18172
|
-
}
|
|
18173
|
-
],
|
|
18174
|
-
stateMutability: "payable"
|
|
18175
|
-
},
|
|
18176
|
-
{
|
|
18177
|
-
type: "function",
|
|
18178
|
-
inputs: [
|
|
18179
|
-
{
|
|
18180
|
-
name: "contractConfig",
|
|
18181
|
-
internalType: "struct ContractCreationConfig",
|
|
18182
|
-
type: "tuple",
|
|
18183
|
-
components: [
|
|
18184
|
-
{ name: "contractAdmin", internalType: "address", type: "address" },
|
|
18185
|
-
{ name: "contractURI", internalType: "string", type: "string" },
|
|
18186
|
-
{ name: "contractName", internalType: "string", type: "string" }
|
|
18187
|
-
]
|
|
18188
|
-
},
|
|
18189
|
-
{
|
|
18190
|
-
name: "premintConfig",
|
|
18191
|
-
internalType: "struct PremintConfigV2",
|
|
18192
|
-
type: "tuple",
|
|
18193
|
-
components: [
|
|
18194
|
-
{
|
|
18195
|
-
name: "tokenConfig",
|
|
18196
|
-
internalType: "struct TokenCreationConfigV2",
|
|
18197
|
-
type: "tuple",
|
|
18198
|
-
components: [
|
|
18199
|
-
{ name: "tokenURI", internalType: "string", type: "string" },
|
|
18200
|
-
{ name: "maxSupply", internalType: "uint256", type: "uint256" },
|
|
18201
|
-
{
|
|
18202
|
-
name: "maxTokensPerAddress",
|
|
18203
|
-
internalType: "uint64",
|
|
18204
|
-
type: "uint64"
|
|
18205
|
-
},
|
|
18206
|
-
{ name: "pricePerToken", internalType: "uint96", type: "uint96" },
|
|
18207
|
-
{ name: "mintStart", internalType: "uint64", type: "uint64" },
|
|
18208
|
-
{ name: "mintDuration", internalType: "uint64", type: "uint64" },
|
|
18209
|
-
{ name: "royaltyBPS", internalType: "uint32", type: "uint32" },
|
|
18210
|
-
{
|
|
18211
|
-
name: "payoutRecipient",
|
|
18212
|
-
internalType: "address",
|
|
18213
|
-
type: "address"
|
|
18214
|
-
},
|
|
18215
|
-
{
|
|
18216
|
-
name: "fixedPriceMinter",
|
|
18217
|
-
internalType: "address",
|
|
18218
|
-
type: "address"
|
|
18219
|
-
},
|
|
18220
|
-
{
|
|
18221
|
-
name: "createReferral",
|
|
18222
|
-
internalType: "address",
|
|
18223
|
-
type: "address"
|
|
18224
|
-
}
|
|
18225
|
-
]
|
|
18226
|
-
},
|
|
18227
|
-
{ name: "uid", internalType: "uint32", type: "uint32" },
|
|
18228
|
-
{ name: "version", internalType: "uint32", type: "uint32" },
|
|
18229
|
-
{ name: "deleted", internalType: "bool", type: "bool" }
|
|
18230
|
-
]
|
|
18231
|
-
},
|
|
18232
|
-
{ name: "signature", internalType: "bytes", type: "bytes" },
|
|
18233
|
-
{
|
|
18234
|
-
name: "mintArguments",
|
|
18235
|
-
internalType: "struct MintArguments",
|
|
18236
|
-
type: "tuple",
|
|
18237
|
-
components: [
|
|
18238
|
-
{ name: "mintRecipient", internalType: "address", type: "address" },
|
|
18239
|
-
{ name: "mintComment", internalType: "string", type: "string" },
|
|
18240
|
-
{
|
|
18241
|
-
name: "mintRewardsRecipients",
|
|
18242
|
-
internalType: "address[]",
|
|
18243
|
-
type: "address[]"
|
|
18244
|
-
}
|
|
18245
|
-
]
|
|
18246
|
-
},
|
|
18247
|
-
{ name: "signerContract", internalType: "address", type: "address" }
|
|
18248
|
-
],
|
|
18249
|
-
name: "collectPremintV2",
|
|
18250
|
-
outputs: [
|
|
18251
|
-
{
|
|
18252
|
-
name: "result",
|
|
18253
|
-
internalType: "struct PremintResult",
|
|
18254
|
-
type: "tuple",
|
|
18255
|
-
components: [
|
|
18256
|
-
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
18257
|
-
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
18258
|
-
{ name: "createdNewContract", internalType: "bool", type: "bool" }
|
|
18259
|
-
]
|
|
18260
|
-
}
|
|
18261
|
-
],
|
|
18262
|
-
stateMutability: "payable"
|
|
18263
|
-
},
|
|
18264
|
-
{
|
|
18265
|
-
type: "function",
|
|
18266
|
-
inputs: [],
|
|
18267
|
-
name: "contractName",
|
|
18268
|
-
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
18269
|
-
stateMutability: "pure"
|
|
18270
|
-
},
|
|
18271
|
-
{
|
|
18272
|
-
type: "function",
|
|
18273
|
-
inputs: [],
|
|
18274
|
-
name: "contractURI",
|
|
18275
|
-
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
18276
|
-
stateMutability: "view"
|
|
18277
|
-
},
|
|
18278
|
-
{
|
|
18279
|
-
type: "function",
|
|
18280
|
-
inputs: [],
|
|
18281
|
-
name: "contractVersion",
|
|
18282
|
-
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
18283
|
-
stateMutability: "pure"
|
|
18284
|
-
},
|
|
18285
|
-
{
|
|
18286
|
-
type: "function",
|
|
18287
|
-
inputs: [
|
|
18288
|
-
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
18289
|
-
{
|
|
18290
|
-
name: "tokenConfig",
|
|
18291
|
-
internalType: "struct TokenConfig",
|
|
18292
|
-
type: "tuple",
|
|
18293
|
-
components: [
|
|
18294
|
-
{ name: "price", internalType: "uint256", type: "uint256" },
|
|
18295
|
-
{ name: "tokenAddress", internalType: "address", type: "address" },
|
|
18296
|
-
{ name: "redeemHandler", internalType: "address", type: "address" }
|
|
18297
|
-
]
|
|
18298
|
-
},
|
|
18299
|
-
{ name: "defaultMintable", internalType: "bool", type: "bool" }
|
|
18300
|
-
],
|
|
18301
|
-
name: "createToken",
|
|
18302
|
-
outputs: [],
|
|
18303
|
-
stateMutability: "nonpayable"
|
|
18304
|
-
},
|
|
18305
|
-
{
|
|
18306
|
-
type: "function",
|
|
18307
|
-
inputs: [{ name: "minterArguments", internalType: "bytes", type: "bytes" }],
|
|
18308
|
-
name: "decodeMintRecipientAndComment",
|
|
18309
|
-
outputs: [
|
|
18310
|
-
{ name: "mintTo", internalType: "address", type: "address" },
|
|
18311
|
-
{ name: "mintComment", internalType: "string", type: "string" }
|
|
18312
|
-
],
|
|
18313
|
-
stateMutability: "pure"
|
|
18314
|
-
},
|
|
18315
|
-
{
|
|
18316
|
-
type: "function",
|
|
18317
|
-
inputs: [],
|
|
18318
|
-
name: "getEthPrice",
|
|
18319
|
-
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
18320
|
-
stateMutability: "view"
|
|
18321
|
-
},
|
|
18322
|
-
{
|
|
18323
|
-
type: "function",
|
|
18324
|
-
inputs: [],
|
|
18325
|
-
name: "implementation",
|
|
18326
|
-
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
18327
|
-
stateMutability: "view"
|
|
18328
|
-
},
|
|
18329
|
-
{
|
|
18330
|
-
type: "function",
|
|
18331
|
-
inputs: [
|
|
18332
|
-
{ name: "defaultOwner", internalType: "address", type: "address" },
|
|
18333
|
-
{ name: "zoraSparksSalt", internalType: "bytes32", type: "bytes32" },
|
|
18334
|
-
{ name: "zoraSparksCreationCode", internalType: "bytes", type: "bytes" },
|
|
18335
|
-
{ name: "initialEthTokenId", internalType: "uint256", type: "uint256" },
|
|
18336
|
-
{
|
|
18337
|
-
name: "initialEthTokenPrice",
|
|
18338
|
-
internalType: "uint256",
|
|
18339
|
-
type: "uint256"
|
|
18340
|
-
},
|
|
18341
|
-
{ name: "newBaseURI", internalType: "string", type: "string" },
|
|
18342
|
-
{ name: "newContractURI", internalType: "string", type: "string" }
|
|
18343
|
-
],
|
|
18344
|
-
name: "initialize",
|
|
18345
|
-
outputs: [
|
|
18346
|
-
{
|
|
18347
|
-
name: "mints",
|
|
18348
|
-
internalType: "contract IZoraSparks1155",
|
|
18349
|
-
type: "address"
|
|
18350
|
-
}
|
|
18351
|
-
],
|
|
18352
|
-
stateMutability: "nonpayable"
|
|
18353
|
-
},
|
|
18354
|
-
{
|
|
18355
|
-
type: "function",
|
|
18356
|
-
inputs: [
|
|
18357
|
-
{ name: "tokenAddress", internalType: "address", type: "address" },
|
|
18358
|
-
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
18359
|
-
{ name: "recipient", internalType: "address", type: "address" }
|
|
18360
|
-
],
|
|
18361
|
-
name: "mintWithERC20",
|
|
18362
|
-
outputs: [
|
|
18363
|
-
{ name: "mintableTokenId", internalType: "uint256", type: "uint256" }
|
|
18364
|
-
],
|
|
18365
|
-
stateMutability: "nonpayable"
|
|
18366
|
-
},
|
|
18367
|
-
{
|
|
18368
|
-
type: "function",
|
|
18369
|
-
inputs: [
|
|
18370
|
-
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
18371
|
-
{ name: "recipient", internalType: "address", type: "address" }
|
|
18372
|
-
],
|
|
18373
|
-
name: "mintWithEth",
|
|
18374
|
-
outputs: [
|
|
18375
|
-
{ name: "mintableTokenId", internalType: "uint256", type: "uint256" }
|
|
18376
|
-
],
|
|
18377
|
-
stateMutability: "payable"
|
|
18378
|
-
},
|
|
18379
|
-
{
|
|
18380
|
-
type: "function",
|
|
18381
|
-
inputs: [],
|
|
18382
|
-
name: "mintableEthToken",
|
|
18383
|
-
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
18384
|
-
stateMutability: "view"
|
|
18385
|
-
},
|
|
18386
|
-
{
|
|
18387
|
-
type: "function",
|
|
18388
|
-
inputs: [
|
|
18389
|
-
{ name: "", internalType: "address", type: "address" },
|
|
18390
|
-
{ name: "from", internalType: "address", type: "address" },
|
|
18391
|
-
{ name: "ids", internalType: "uint256[]", type: "uint256[]" },
|
|
18392
|
-
{ name: "values", internalType: "uint256[]", type: "uint256[]" },
|
|
18393
|
-
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
18394
|
-
],
|
|
18395
|
-
name: "onERC1155BatchReceived",
|
|
18396
|
-
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
|
|
18397
|
-
stateMutability: "nonpayable"
|
|
18398
|
-
},
|
|
18399
|
-
{
|
|
18400
|
-
type: "function",
|
|
18401
|
-
inputs: [
|
|
18402
|
-
{ name: "", internalType: "address", type: "address" },
|
|
18403
|
-
{ name: "from", internalType: "address", type: "address" },
|
|
18404
|
-
{ name: "id", internalType: "uint256", type: "uint256" },
|
|
18405
|
-
{ name: "value", internalType: "uint256", type: "uint256" },
|
|
18406
|
-
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
18407
|
-
],
|
|
18408
|
-
name: "onERC1155Received",
|
|
18409
|
-
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
|
|
18410
|
-
stateMutability: "nonpayable"
|
|
18411
|
-
},
|
|
18412
|
-
{
|
|
18413
|
-
type: "function",
|
|
18414
|
-
inputs: [],
|
|
18415
|
-
name: "owner",
|
|
18416
|
-
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
18417
|
-
stateMutability: "view"
|
|
18418
|
-
},
|
|
18419
|
-
{
|
|
18420
|
-
type: "function",
|
|
18421
|
-
inputs: [],
|
|
18422
|
-
name: "pendingOwner",
|
|
18423
|
-
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
18424
|
-
stateMutability: "view"
|
|
18425
|
-
},
|
|
18426
|
-
{
|
|
18427
|
-
type: "function",
|
|
18428
|
-
inputs: [],
|
|
18429
|
-
name: "proxiableUUID",
|
|
18430
|
-
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
|
|
18431
|
-
stateMutability: "view"
|
|
18432
|
-
},
|
|
18433
|
-
{
|
|
18434
|
-
type: "function",
|
|
18435
|
-
inputs: [],
|
|
18436
|
-
name: "renounceOwnership",
|
|
18437
|
-
outputs: [],
|
|
18438
|
-
stateMutability: "nonpayable"
|
|
18439
|
-
},
|
|
18440
|
-
{
|
|
18441
|
-
type: "function",
|
|
18442
|
-
inputs: [
|
|
18443
|
-
{ name: "tokenAddress", internalType: "address", type: "address" },
|
|
18444
|
-
{ name: "tokenId", internalType: "uint256", type: "uint256" }
|
|
18445
|
-
],
|
|
18446
|
-
name: "setDefaultMintable",
|
|
18447
|
-
outputs: [],
|
|
18448
|
-
stateMutability: "nonpayable"
|
|
18449
|
-
},
|
|
18450
|
-
{
|
|
18451
|
-
type: "function",
|
|
18452
|
-
inputs: [
|
|
18453
|
-
{ name: "newContractURI", internalType: "string", type: "string" },
|
|
18454
|
-
{ name: "newBaseURI", internalType: "string", type: "string" },
|
|
18455
|
-
{
|
|
18456
|
-
name: "tokenIdsToNotifyUpdate",
|
|
18457
|
-
internalType: "uint256[]",
|
|
18458
|
-
type: "uint256[]"
|
|
18459
|
-
}
|
|
18460
|
-
],
|
|
18461
|
-
name: "setMetadataURIs",
|
|
18462
|
-
outputs: [],
|
|
18463
|
-
stateMutability: "nonpayable"
|
|
18464
|
-
},
|
|
18465
|
-
{
|
|
18466
|
-
type: "function",
|
|
18467
|
-
inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
|
|
18468
|
-
name: "transferOwnership",
|
|
18469
|
-
outputs: [],
|
|
18470
|
-
stateMutability: "nonpayable"
|
|
18471
|
-
},
|
|
18472
|
-
{
|
|
18473
|
-
type: "function",
|
|
18474
|
-
inputs: [
|
|
18475
|
-
{ name: "newImplementation", internalType: "address", type: "address" },
|
|
18476
|
-
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
18477
|
-
],
|
|
18478
|
-
name: "upgradeToAndCall",
|
|
18479
|
-
outputs: [],
|
|
18480
|
-
stateMutability: "payable"
|
|
18481
|
-
},
|
|
18482
|
-
{
|
|
18483
|
-
type: "function",
|
|
18484
|
-
inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
|
|
18485
|
-
name: "uri",
|
|
18486
|
-
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
18487
|
-
stateMutability: "view"
|
|
18488
|
-
},
|
|
18489
|
-
{
|
|
18490
|
-
type: "function",
|
|
18491
|
-
inputs: [],
|
|
18492
|
-
name: "zoraSparks1155",
|
|
18493
|
-
outputs: [
|
|
18494
|
-
{ name: "", internalType: "contract IZoraSparks1155", type: "address" }
|
|
18495
|
-
],
|
|
18496
|
-
stateMutability: "view"
|
|
18497
|
-
},
|
|
18498
|
-
{
|
|
18499
|
-
type: "event",
|
|
18500
|
-
anonymous: false,
|
|
18501
|
-
inputs: [
|
|
18502
|
-
{
|
|
18503
|
-
name: "tokenIds",
|
|
18504
|
-
internalType: "uint256[]",
|
|
18505
|
-
type: "uint256[]",
|
|
18506
|
-
indexed: true
|
|
18507
|
-
},
|
|
18508
|
-
{
|
|
18509
|
-
name: "quantities",
|
|
18510
|
-
internalType: "uint256[]",
|
|
18511
|
-
type: "uint256[]",
|
|
18512
|
-
indexed: false
|
|
18513
|
-
},
|
|
18514
|
-
{
|
|
18515
|
-
name: "zoraCreator1155Contract",
|
|
18516
|
-
internalType: "address",
|
|
18517
|
-
type: "address",
|
|
18518
|
-
indexed: true
|
|
18519
|
-
},
|
|
18520
|
-
{
|
|
18521
|
-
name: "zoraCreator1155TokenId",
|
|
18522
|
-
internalType: "uint256",
|
|
18523
|
-
type: "uint256",
|
|
18524
|
-
indexed: true
|
|
18525
|
-
}
|
|
18526
|
-
],
|
|
18527
|
-
name: "Collected"
|
|
18528
|
-
},
|
|
18529
|
-
{
|
|
18530
|
-
type: "event",
|
|
18531
|
-
anonymous: false,
|
|
18532
|
-
inputs: [
|
|
18533
|
-
{
|
|
18534
|
-
name: "tokenAddress",
|
|
18535
|
-
internalType: "address",
|
|
18536
|
-
type: "address",
|
|
18537
|
-
indexed: false
|
|
18538
|
-
},
|
|
18539
|
-
{
|
|
18540
|
-
name: "tokenId",
|
|
18541
|
-
internalType: "uint256",
|
|
18542
|
-
type: "uint256",
|
|
18543
|
-
indexed: false
|
|
18544
|
-
}
|
|
18545
|
-
],
|
|
18546
|
-
name: "DefaultMintableTokenSet"
|
|
18547
|
-
},
|
|
18548
|
-
{
|
|
18549
|
-
type: "event",
|
|
18550
|
-
anonymous: false,
|
|
18551
|
-
inputs: [
|
|
18552
|
-
{
|
|
18553
|
-
name: "version",
|
|
18554
|
-
internalType: "uint64",
|
|
18555
|
-
type: "uint64",
|
|
18556
|
-
indexed: false
|
|
18557
|
-
}
|
|
18558
|
-
],
|
|
18559
|
-
name: "Initialized"
|
|
18560
|
-
},
|
|
18561
|
-
{
|
|
18562
|
-
type: "event",
|
|
18563
|
-
anonymous: false,
|
|
18564
|
-
inputs: [
|
|
18565
|
-
{
|
|
18566
|
-
name: "sender",
|
|
18567
|
-
internalType: "address",
|
|
18568
|
-
type: "address",
|
|
18569
|
-
indexed: true
|
|
18570
|
-
},
|
|
18571
|
-
{
|
|
18572
|
-
name: "tokenContract",
|
|
18573
|
-
internalType: "address",
|
|
18574
|
-
type: "address",
|
|
18575
|
-
indexed: true
|
|
18576
|
-
},
|
|
18577
|
-
{
|
|
18578
|
-
name: "tokenId",
|
|
18579
|
-
internalType: "uint256",
|
|
18580
|
-
type: "uint256",
|
|
18581
|
-
indexed: true
|
|
18582
|
-
},
|
|
18583
|
-
{
|
|
18584
|
-
name: "quantity",
|
|
18585
|
-
internalType: "uint256",
|
|
18586
|
-
type: "uint256",
|
|
18587
|
-
indexed: false
|
|
18588
|
-
},
|
|
18589
|
-
{
|
|
18590
|
-
name: "comment",
|
|
18591
|
-
internalType: "string",
|
|
18592
|
-
type: "string",
|
|
18593
|
-
indexed: false
|
|
18594
|
-
}
|
|
18595
|
-
],
|
|
18596
|
-
name: "MintComment"
|
|
18597
|
-
},
|
|
18598
|
-
{
|
|
18599
|
-
type: "event",
|
|
18600
|
-
anonymous: false,
|
|
18601
|
-
inputs: [
|
|
18602
|
-
{
|
|
18603
|
-
name: "previousOwner",
|
|
18604
|
-
internalType: "address",
|
|
18605
|
-
type: "address",
|
|
18606
|
-
indexed: true
|
|
18607
|
-
},
|
|
18608
|
-
{
|
|
18609
|
-
name: "newOwner",
|
|
18610
|
-
internalType: "address",
|
|
18611
|
-
type: "address",
|
|
18612
|
-
indexed: true
|
|
18613
|
-
}
|
|
18614
|
-
],
|
|
18615
|
-
name: "OwnershipTransferStarted"
|
|
18616
|
-
},
|
|
18617
|
-
{
|
|
18618
|
-
type: "event",
|
|
18619
|
-
anonymous: false,
|
|
18620
|
-
inputs: [
|
|
18621
|
-
{
|
|
18622
|
-
name: "previousOwner",
|
|
18623
|
-
internalType: "address",
|
|
18624
|
-
type: "address",
|
|
18625
|
-
indexed: true
|
|
18626
|
-
},
|
|
18627
|
-
{
|
|
18628
|
-
name: "newOwner",
|
|
18629
|
-
internalType: "address",
|
|
18630
|
-
type: "address",
|
|
18631
|
-
indexed: true
|
|
18632
|
-
}
|
|
18633
|
-
],
|
|
18634
|
-
name: "OwnershipTransferred"
|
|
18635
|
-
},
|
|
18636
|
-
{
|
|
18637
|
-
type: "event",
|
|
18638
|
-
anonymous: false,
|
|
18639
|
-
inputs: [
|
|
18640
|
-
{
|
|
18641
|
-
name: "contractURI",
|
|
18642
|
-
internalType: "string",
|
|
18643
|
-
type: "string",
|
|
18644
|
-
indexed: false
|
|
18645
|
-
},
|
|
18646
|
-
{
|
|
18647
|
-
name: "baseURI",
|
|
18648
|
-
internalType: "string",
|
|
18649
|
-
type: "string",
|
|
18650
|
-
indexed: false
|
|
18651
|
-
}
|
|
18652
|
-
],
|
|
18653
|
-
name: "URIsUpdated"
|
|
18654
|
-
},
|
|
18655
|
-
{
|
|
18656
|
-
type: "event",
|
|
18657
|
-
anonymous: false,
|
|
18658
|
-
inputs: [
|
|
18659
|
-
{
|
|
18660
|
-
name: "implementation",
|
|
18661
|
-
internalType: "address",
|
|
18662
|
-
type: "address",
|
|
18663
|
-
indexed: true
|
|
18664
|
-
}
|
|
18665
|
-
],
|
|
18666
|
-
name: "Upgraded"
|
|
18667
|
-
},
|
|
18668
|
-
{
|
|
18669
|
-
type: "error",
|
|
18670
|
-
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
18671
|
-
name: "AddressEmptyCode"
|
|
18672
|
-
},
|
|
18673
|
-
{
|
|
18674
|
-
type: "error",
|
|
18675
|
-
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
18676
|
-
name: "AddressInsufficientBalance"
|
|
18677
|
-
},
|
|
18678
|
-
{
|
|
18679
|
-
type: "error",
|
|
18680
|
-
inputs: [
|
|
18681
|
-
{ name: "lengthA", internalType: "uint256", type: "uint256" },
|
|
18682
|
-
{ name: "lengthB", internalType: "uint256", type: "uint256" }
|
|
18683
|
-
],
|
|
18684
|
-
name: "ArrayLengthMismatch"
|
|
18685
|
-
},
|
|
18686
|
-
{
|
|
18687
|
-
type: "error",
|
|
18688
|
-
inputs: [
|
|
18689
|
-
{ name: "operator", internalType: "address", type: "address" },
|
|
18690
|
-
{ name: "user", internalType: "address", type: "address" }
|
|
18691
|
-
],
|
|
18692
|
-
name: "Burn_NotOwnerOrApproved"
|
|
18693
|
-
},
|
|
18694
|
-
{
|
|
18695
|
-
type: "error",
|
|
18696
|
-
inputs: [{ name: "reason", internalType: "bytes", type: "bytes" }],
|
|
18697
|
-
name: "CallFailed"
|
|
18698
|
-
},
|
|
18699
|
-
{ type: "error", inputs: [], name: "Call_TokenIdMismatch" },
|
|
18700
|
-
{ type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
|
|
18701
|
-
{
|
|
18702
|
-
type: "error",
|
|
18703
|
-
inputs: [
|
|
18704
|
-
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
18705
|
-
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
18706
|
-
{ name: "totalMinted", internalType: "uint256", type: "uint256" },
|
|
18707
|
-
{ name: "maxSupply", internalType: "uint256", type: "uint256" }
|
|
18708
|
-
],
|
|
18709
|
-
name: "CannotMintMoreTokens"
|
|
18710
|
-
},
|
|
18711
|
-
{
|
|
18712
|
-
type: "error",
|
|
18713
|
-
inputs: [
|
|
18714
|
-
{ name: "proposedAddress", internalType: "address", type: "address" }
|
|
18715
|
-
],
|
|
18716
|
-
name: "Config_TransferHookNotSupported"
|
|
18717
|
-
},
|
|
18718
|
-
{ type: "error", inputs: [], name: "Create2EmptyBytecode" },
|
|
18719
|
-
{ type: "error", inputs: [], name: "Create2FailedDeployment" },
|
|
18720
|
-
{
|
|
18721
|
-
type: "error",
|
|
18722
|
-
inputs: [
|
|
18723
|
-
{ name: "balance", internalType: "uint256", type: "uint256" },
|
|
18724
|
-
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
18725
|
-
],
|
|
18726
|
-
name: "Create2InsufficientBalance"
|
|
18727
|
-
},
|
|
18728
|
-
{ type: "error", inputs: [], name: "DefaultOwnerCannotBeZero" },
|
|
18729
|
-
{ type: "error", inputs: [], name: "ERC1155BatchReceivedCallFailed" },
|
|
18730
|
-
{ type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
|
|
18731
|
-
{
|
|
18732
|
-
type: "error",
|
|
18733
|
-
inputs: [
|
|
18734
|
-
{ name: "implementation", internalType: "address", type: "address" }
|
|
18735
|
-
],
|
|
18736
|
-
name: "ERC1967InvalidImplementation"
|
|
18737
|
-
},
|
|
18738
|
-
{ type: "error", inputs: [], name: "ERC1967NonPayable" },
|
|
18739
|
-
{ type: "error", inputs: [], name: "ERC20TransferSlippage" },
|
|
18740
|
-
{ type: "error", inputs: [], name: "ETHTransferFailed" },
|
|
18741
|
-
{
|
|
18742
|
-
type: "error",
|
|
18743
|
-
inputs: [
|
|
18744
|
-
{ name: "recipient", internalType: "address", type: "address" },
|
|
18745
|
-
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
18746
|
-
],
|
|
18747
|
-
name: "ETHWithdrawFailed"
|
|
18748
|
-
},
|
|
18749
|
-
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
18750
|
-
{ type: "error", inputs: [], name: "FirstMinterAddressZero" },
|
|
18751
|
-
{
|
|
18752
|
-
type: "error",
|
|
18753
|
-
inputs: [
|
|
18754
|
-
{ name: "amount", internalType: "uint256", type: "uint256" },
|
|
18755
|
-
{ name: "contractValue", internalType: "uint256", type: "uint256" }
|
|
18756
|
-
],
|
|
18757
|
-
name: "FundsWithdrawInsolvent"
|
|
18758
|
-
},
|
|
18759
|
-
{ type: "error", inputs: [], name: "IncorrectAmountSent" },
|
|
18760
|
-
{ type: "error", inputs: [], name: "InvalidAdminAction" },
|
|
18761
|
-
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
18762
|
-
{
|
|
18763
|
-
type: "error",
|
|
18764
|
-
inputs: [
|
|
18765
|
-
{ name: "mintTo", internalType: "address", type: "address" },
|
|
18766
|
-
{ name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
|
|
18767
|
-
{ name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
|
|
17543
|
+
name: "collectPremintV2",
|
|
17544
|
+
outputs: [
|
|
17545
|
+
{
|
|
17546
|
+
name: "result",
|
|
17547
|
+
internalType: "struct PremintResult",
|
|
17548
|
+
type: "tuple",
|
|
17549
|
+
components: [
|
|
17550
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
17551
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
17552
|
+
{ name: "createdNewContract", internalType: "bool", type: "bool" }
|
|
17553
|
+
]
|
|
17554
|
+
}
|
|
18768
17555
|
],
|
|
18769
|
-
|
|
18770
|
-
},
|
|
18771
|
-
{ type: "error", inputs: [], name: "InvalidMintSchedule" },
|
|
18772
|
-
{ type: "error", inputs: [], name: "InvalidOwnerForAssociatedZoraSparks" },
|
|
18773
|
-
{ type: "error", inputs: [], name: "InvalidPremintVersion" },
|
|
18774
|
-
{ type: "error", inputs: [], name: "InvalidRecipient" },
|
|
18775
|
-
{ type: "error", inputs: [], name: "InvalidSignature" },
|
|
18776
|
-
{ type: "error", inputs: [], name: "InvalidSignatureVersion" },
|
|
18777
|
-
{
|
|
18778
|
-
type: "error",
|
|
18779
|
-
inputs: [{ name: "magicValue", internalType: "bytes4", type: "bytes4" }],
|
|
18780
|
-
name: "InvalidSigner"
|
|
17556
|
+
stateMutability: "payable"
|
|
18781
17557
|
},
|
|
18782
|
-
{ type: "error", inputs: [], name: "InvalidTokenPrice" },
|
|
18783
|
-
{ type: "error", inputs: [], name: "MintNotYetStarted" },
|
|
18784
|
-
{ type: "error", inputs: [], name: "MintWithSparksNotSupportedOnContract" },
|
|
18785
|
-
{ type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
|
|
18786
|
-
{ type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
|
|
18787
|
-
{ type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
|
|
18788
|
-
{ type: "error", inputs: [], name: "Mint_UnknownCommand" },
|
|
18789
|
-
{ type: "error", inputs: [], name: "Mint_ValueTransferFail" },
|
|
18790
|
-
{ type: "error", inputs: [], name: "MinterContractAlreadyExists" },
|
|
18791
|
-
{ type: "error", inputs: [], name: "MinterContractDoesNotExist" },
|
|
18792
|
-
{ type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
|
|
18793
|
-
{ type: "error", inputs: [], name: "NoTokensTransferred" },
|
|
18794
|
-
{ type: "error", inputs: [], name: "NoUriForNonexistentToken" },
|
|
18795
|
-
{ type: "error", inputs: [], name: "NonEthRedemption" },
|
|
18796
17558
|
{
|
|
18797
|
-
type: "
|
|
18798
|
-
inputs: [
|
|
18799
|
-
name: "
|
|
17559
|
+
type: "function",
|
|
17560
|
+
inputs: [],
|
|
17561
|
+
name: "contractName",
|
|
17562
|
+
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
17563
|
+
stateMutability: "pure"
|
|
18800
17564
|
},
|
|
18801
|
-
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
18802
|
-
{ type: "error", inputs: [], name: "NotSelfCall" },
|
|
18803
|
-
{ type: "error", inputs: [], name: "NotZoraSparks1155" },
|
|
18804
|
-
{ type: "error", inputs: [], name: "OnlyTransfersFromZoraSparks" },
|
|
18805
17565
|
{
|
|
18806
|
-
type: "
|
|
18807
|
-
inputs: [
|
|
18808
|
-
name: "
|
|
17566
|
+
type: "function",
|
|
17567
|
+
inputs: [],
|
|
17568
|
+
name: "contractURI",
|
|
17569
|
+
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
17570
|
+
stateMutability: "view"
|
|
18809
17571
|
},
|
|
18810
17572
|
{
|
|
18811
|
-
type: "
|
|
18812
|
-
inputs: [
|
|
18813
|
-
name: "
|
|
17573
|
+
type: "function",
|
|
17574
|
+
inputs: [],
|
|
17575
|
+
name: "contractVersion",
|
|
17576
|
+
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
17577
|
+
stateMutability: "pure"
|
|
18814
17578
|
},
|
|
18815
|
-
{ type: "error", inputs: [], name: "PremintDeleted" },
|
|
18816
|
-
{ type: "error", inputs: [], name: "PremintExecutorCannotBeZero" },
|
|
18817
17579
|
{
|
|
18818
|
-
type: "
|
|
17580
|
+
type: "function",
|
|
18819
17581
|
inputs: [
|
|
18820
|
-
{ name: "
|
|
18821
|
-
{
|
|
18822
|
-
|
|
17582
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
17583
|
+
{
|
|
17584
|
+
name: "tokenConfig",
|
|
17585
|
+
internalType: "struct TokenConfig",
|
|
17586
|
+
type: "tuple",
|
|
17587
|
+
components: [
|
|
17588
|
+
{ name: "price", internalType: "uint256", type: "uint256" },
|
|
17589
|
+
{ name: "tokenAddress", internalType: "address", type: "address" },
|
|
17590
|
+
{ name: "redeemHandler", internalType: "address", type: "address" }
|
|
17591
|
+
]
|
|
17592
|
+
},
|
|
17593
|
+
{ name: "defaultMintable", internalType: "bool", type: "bool" }
|
|
18823
17594
|
],
|
|
18824
|
-
name: "
|
|
17595
|
+
name: "createToken",
|
|
17596
|
+
outputs: [],
|
|
17597
|
+
stateMutability: "nonpayable"
|
|
18825
17598
|
},
|
|
18826
|
-
{ type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
|
|
18827
|
-
{ type: "error", inputs: [], name: "Renderer_NotValidRendererContract" },
|
|
18828
17599
|
{
|
|
18829
|
-
type: "
|
|
18830
|
-
inputs: [{ name: "
|
|
18831
|
-
name: "
|
|
17600
|
+
type: "function",
|
|
17601
|
+
inputs: [{ name: "minterArguments", internalType: "bytes", type: "bytes" }],
|
|
17602
|
+
name: "decodeMintRecipientAndComment",
|
|
17603
|
+
outputs: [
|
|
17604
|
+
{ name: "mintTo", internalType: "address", type: "address" },
|
|
17605
|
+
{ name: "mintComment", internalType: "string", type: "string" }
|
|
17606
|
+
],
|
|
17607
|
+
stateMutability: "pure"
|
|
18832
17608
|
},
|
|
18833
|
-
{ type: "error", inputs: [], name: "SaleEnded" },
|
|
18834
|
-
{ type: "error", inputs: [], name: "SaleHasNotStarted" },
|
|
18835
17609
|
{
|
|
18836
|
-
type: "
|
|
18837
|
-
inputs: [
|
|
18838
|
-
|
|
18839
|
-
],
|
|
18840
|
-
|
|
17610
|
+
type: "function",
|
|
17611
|
+
inputs: [],
|
|
17612
|
+
name: "getEthPrice",
|
|
17613
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
17614
|
+
stateMutability: "view"
|
|
18841
17615
|
},
|
|
18842
|
-
{ type: "error", inputs: [], name: "TokenAlreadyCreated" },
|
|
18843
|
-
{ type: "error", inputs: [], name: "TokenDoesNotExist" },
|
|
18844
17616
|
{
|
|
18845
|
-
type: "
|
|
18846
|
-
inputs: [
|
|
18847
|
-
|
|
18848
|
-
|
|
18849
|
-
|
|
18850
|
-
name: "TokenIdMismatch"
|
|
17617
|
+
type: "function",
|
|
17618
|
+
inputs: [],
|
|
17619
|
+
name: "implementation",
|
|
17620
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
17621
|
+
stateMutability: "view"
|
|
18851
17622
|
},
|
|
18852
17623
|
{
|
|
18853
|
-
type: "
|
|
17624
|
+
type: "function",
|
|
18854
17625
|
inputs: [
|
|
18855
|
-
{ name: "
|
|
17626
|
+
{ name: "defaultOwner", internalType: "address", type: "address" },
|
|
17627
|
+
{ name: "zoraSparksSalt", internalType: "bytes32", type: "bytes32" },
|
|
17628
|
+
{ name: "zoraSparksCreationCode", internalType: "bytes", type: "bytes" },
|
|
17629
|
+
{ name: "initialEthTokenId", internalType: "uint256", type: "uint256" },
|
|
18856
17630
|
{
|
|
18857
|
-
name: "
|
|
18858
|
-
internalType: "
|
|
17631
|
+
name: "initialEthTokenPrice",
|
|
17632
|
+
internalType: "uint256",
|
|
17633
|
+
type: "uint256"
|
|
17634
|
+
},
|
|
17635
|
+
{ name: "newBaseURI", internalType: "string", type: "string" },
|
|
17636
|
+
{ name: "newContractURI", internalType: "string", type: "string" }
|
|
17637
|
+
],
|
|
17638
|
+
name: "initialize",
|
|
17639
|
+
outputs: [
|
|
17640
|
+
{
|
|
17641
|
+
name: "mints",
|
|
17642
|
+
internalType: "contract IZoraSparks1155",
|
|
18859
17643
|
type: "address"
|
|
18860
17644
|
}
|
|
18861
17645
|
],
|
|
18862
|
-
|
|
18863
|
-
},
|
|
18864
|
-
{ type: "error", inputs: [], name: "TokenNotMintable" },
|
|
18865
|
-
{ type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
|
|
18866
|
-
{
|
|
18867
|
-
type: "error",
|
|
18868
|
-
inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
|
|
18869
|
-
name: "UUPSUnsupportedProxiableUUID"
|
|
17646
|
+
stateMutability: "nonpayable"
|
|
18870
17647
|
},
|
|
18871
17648
|
{
|
|
18872
|
-
type: "
|
|
18873
|
-
inputs: [
|
|
18874
|
-
|
|
17649
|
+
type: "function",
|
|
17650
|
+
inputs: [
|
|
17651
|
+
{ name: "tokenAddress", internalType: "address", type: "address" },
|
|
17652
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
17653
|
+
{ name: "recipient", internalType: "address", type: "address" }
|
|
17654
|
+
],
|
|
17655
|
+
name: "mintWithERC20",
|
|
17656
|
+
outputs: [
|
|
17657
|
+
{ name: "mintableTokenId", internalType: "uint256", type: "uint256" }
|
|
17658
|
+
],
|
|
17659
|
+
stateMutability: "nonpayable"
|
|
18875
17660
|
},
|
|
18876
17661
|
{
|
|
18877
|
-
type: "
|
|
17662
|
+
type: "function",
|
|
18878
17663
|
inputs: [
|
|
18879
|
-
{ name: "
|
|
18880
|
-
{ name: "
|
|
17664
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
17665
|
+
{ name: "recipient", internalType: "address", type: "address" }
|
|
18881
17666
|
],
|
|
18882
|
-
name: "
|
|
17667
|
+
name: "mintWithEth",
|
|
17668
|
+
outputs: [
|
|
17669
|
+
{ name: "mintableTokenId", internalType: "uint256", type: "uint256" }
|
|
17670
|
+
],
|
|
17671
|
+
stateMutability: "payable"
|
|
18883
17672
|
},
|
|
18884
17673
|
{
|
|
18885
|
-
type: "
|
|
17674
|
+
type: "function",
|
|
17675
|
+
inputs: [],
|
|
17676
|
+
name: "mintableEthToken",
|
|
17677
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
17678
|
+
stateMutability: "view"
|
|
17679
|
+
},
|
|
17680
|
+
{
|
|
17681
|
+
type: "function",
|
|
18886
17682
|
inputs: [
|
|
18887
|
-
{ name: "
|
|
18888
|
-
{ name: "
|
|
18889
|
-
{ name: "
|
|
17683
|
+
{ name: "", internalType: "address", type: "address" },
|
|
17684
|
+
{ name: "from", internalType: "address", type: "address" },
|
|
17685
|
+
{ name: "ids", internalType: "uint256[]", type: "uint256[]" },
|
|
17686
|
+
{ name: "values", internalType: "uint256[]", type: "uint256[]" },
|
|
17687
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
18890
17688
|
],
|
|
18891
|
-
name: "
|
|
17689
|
+
name: "onERC1155BatchReceived",
|
|
17690
|
+
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
|
|
17691
|
+
stateMutability: "nonpayable"
|
|
18892
17692
|
},
|
|
18893
17693
|
{
|
|
18894
|
-
type: "
|
|
17694
|
+
type: "function",
|
|
18895
17695
|
inputs: [
|
|
18896
|
-
{ name: "
|
|
18897
|
-
{ name: "
|
|
18898
|
-
{ name: "
|
|
17696
|
+
{ name: "", internalType: "address", type: "address" },
|
|
17697
|
+
{ name: "from", internalType: "address", type: "address" },
|
|
17698
|
+
{ name: "id", internalType: "uint256", type: "uint256" },
|
|
17699
|
+
{ name: "value", internalType: "uint256", type: "uint256" },
|
|
17700
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
18899
17701
|
],
|
|
18900
|
-
name: "
|
|
17702
|
+
name: "onERC1155Received",
|
|
17703
|
+
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
|
|
17704
|
+
stateMutability: "nonpayable"
|
|
18901
17705
|
},
|
|
18902
|
-
{ type: "error", inputs: [], name: "WrongValueSent" },
|
|
18903
17706
|
{
|
|
18904
|
-
type: "
|
|
17707
|
+
type: "function",
|
|
18905
17708
|
inputs: [],
|
|
18906
|
-
name: "
|
|
17709
|
+
name: "owner",
|
|
17710
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
17711
|
+
stateMutability: "view"
|
|
18907
17712
|
},
|
|
18908
|
-
{ type: "error", inputs: [], name: "premintSignerContractNotAContract" }
|
|
18909
|
-
];
|
|
18910
|
-
var zoraMintsManagerImplAddress = {
|
|
18911
|
-
7777777: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
|
|
18912
|
-
999999999: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B"
|
|
18913
|
-
};
|
|
18914
|
-
var zoraMintsManagerImplConfig = {
|
|
18915
|
-
address: zoraMintsManagerImplAddress,
|
|
18916
|
-
abi: zoraMintsManagerImplABI
|
|
18917
|
-
};
|
|
18918
|
-
var zoraRouterABI = [
|
|
18919
17713
|
{
|
|
18920
|
-
type: "
|
|
18921
|
-
inputs: [
|
|
18922
|
-
|
|
18923
|
-
|
|
18924
|
-
|
|
18925
|
-
type: "address"
|
|
18926
|
-
},
|
|
18927
|
-
{
|
|
18928
|
-
name: "zoraLimitOrderBook_",
|
|
18929
|
-
internalType: "contract IZoraLimitOrderBook",
|
|
18930
|
-
type: "address"
|
|
18931
|
-
},
|
|
18932
|
-
{
|
|
18933
|
-
name: "swapRouter_",
|
|
18934
|
-
internalType: "contract ISwapRouter",
|
|
18935
|
-
type: "address"
|
|
18936
|
-
},
|
|
18937
|
-
{ name: "permit2_", internalType: "address", type: "address" }
|
|
18938
|
-
],
|
|
18939
|
-
stateMutability: "nonpayable"
|
|
17714
|
+
type: "function",
|
|
17715
|
+
inputs: [],
|
|
17716
|
+
name: "pendingOwner",
|
|
17717
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
17718
|
+
stateMutability: "view"
|
|
18940
17719
|
},
|
|
18941
|
-
{ type: "receive", stateMutability: "payable" },
|
|
18942
17720
|
{
|
|
18943
17721
|
type: "function",
|
|
18944
17722
|
inputs: [],
|
|
18945
|
-
name: "
|
|
18946
|
-
outputs: [
|
|
18947
|
-
{
|
|
18948
|
-
name: "",
|
|
18949
|
-
internalType: "struct LimitOrderConfig",
|
|
18950
|
-
type: "tuple",
|
|
18951
|
-
components: [
|
|
18952
|
-
{ name: "multiples", internalType: "uint256[]", type: "uint256[]" },
|
|
18953
|
-
{ name: "percentages", internalType: "uint256[]", type: "uint256[]" }
|
|
18954
|
-
]
|
|
18955
|
-
}
|
|
18956
|
-
],
|
|
17723
|
+
name: "proxiableUUID",
|
|
17724
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
|
|
18957
17725
|
stateMutability: "view"
|
|
18958
17726
|
},
|
|
18959
17727
|
{
|
|
18960
17728
|
type: "function",
|
|
18961
17729
|
inputs: [],
|
|
18962
|
-
name: "
|
|
18963
|
-
outputs: [
|
|
18964
|
-
stateMutability: "
|
|
17730
|
+
name: "renounceOwnership",
|
|
17731
|
+
outputs: [],
|
|
17732
|
+
stateMutability: "nonpayable"
|
|
18965
17733
|
},
|
|
18966
17734
|
{
|
|
18967
17735
|
type: "function",
|
|
18968
|
-
inputs: [
|
|
18969
|
-
|
|
18970
|
-
|
|
18971
|
-
{ name: "", internalType: "contract IPoolManager", type: "address" }
|
|
17736
|
+
inputs: [
|
|
17737
|
+
{ name: "tokenAddress", internalType: "address", type: "address" },
|
|
17738
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" }
|
|
18972
17739
|
],
|
|
18973
|
-
|
|
17740
|
+
name: "setDefaultMintable",
|
|
17741
|
+
outputs: [],
|
|
17742
|
+
stateMutability: "nonpayable"
|
|
18974
17743
|
},
|
|
18975
17744
|
{
|
|
18976
17745
|
type: "function",
|
|
18977
17746
|
inputs: [
|
|
17747
|
+
{ name: "newContractURI", internalType: "string", type: "string" },
|
|
17748
|
+
{ name: "newBaseURI", internalType: "string", type: "string" },
|
|
18978
17749
|
{
|
|
18979
|
-
name: "
|
|
18980
|
-
internalType: "
|
|
18981
|
-
type: "
|
|
18982
|
-
components: [
|
|
18983
|
-
{ name: "multiples", internalType: "uint256[]", type: "uint256[]" },
|
|
18984
|
-
{ name: "percentages", internalType: "uint256[]", type: "uint256[]" }
|
|
18985
|
-
]
|
|
17750
|
+
name: "tokenIdsToNotifyUpdate",
|
|
17751
|
+
internalType: "uint256[]",
|
|
17752
|
+
type: "uint256[]"
|
|
18986
17753
|
}
|
|
18987
17754
|
],
|
|
18988
|
-
name: "
|
|
17755
|
+
name: "setMetadataURIs",
|
|
18989
17756
|
outputs: [],
|
|
18990
17757
|
stateMutability: "nonpayable"
|
|
18991
17758
|
},
|
|
18992
17759
|
{
|
|
18993
17760
|
type: "function",
|
|
18994
|
-
inputs: [],
|
|
18995
|
-
name: "
|
|
18996
|
-
outputs: [
|
|
18997
|
-
|
|
18998
|
-
],
|
|
18999
|
-
stateMutability: "view"
|
|
17761
|
+
inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
|
|
17762
|
+
name: "transferOwnership",
|
|
17763
|
+
outputs: [],
|
|
17764
|
+
stateMutability: "nonpayable"
|
|
19000
17765
|
},
|
|
19001
17766
|
{
|
|
19002
17767
|
type: "function",
|
|
19003
17768
|
inputs: [
|
|
19004
|
-
{
|
|
19005
|
-
|
|
19006
|
-
internalType: "struct SwapWithLimitOrders.SwapWithLimitOrdersParams",
|
|
19007
|
-
type: "tuple",
|
|
19008
|
-
components: [
|
|
19009
|
-
{ name: "recipient", internalType: "address", type: "address" },
|
|
19010
|
-
{
|
|
19011
|
-
name: "limitOrderConfig",
|
|
19012
|
-
internalType: "struct LimitOrderConfig",
|
|
19013
|
-
type: "tuple",
|
|
19014
|
-
components: [
|
|
19015
|
-
{
|
|
19016
|
-
name: "multiples",
|
|
19017
|
-
internalType: "uint256[]",
|
|
19018
|
-
type: "uint256[]"
|
|
19019
|
-
},
|
|
19020
|
-
{
|
|
19021
|
-
name: "percentages",
|
|
19022
|
-
internalType: "uint256[]",
|
|
19023
|
-
type: "uint256[]"
|
|
19024
|
-
}
|
|
19025
|
-
]
|
|
19026
|
-
},
|
|
19027
|
-
{ name: "inputCurrency", internalType: "address", type: "address" },
|
|
19028
|
-
{ name: "inputAmount", internalType: "uint256", type: "uint256" },
|
|
19029
|
-
{ name: "v3Route", internalType: "bytes", type: "bytes" },
|
|
19030
|
-
{
|
|
19031
|
-
name: "v4Route",
|
|
19032
|
-
internalType: "struct PoolKey[]",
|
|
19033
|
-
type: "tuple[]",
|
|
19034
|
-
components: [
|
|
19035
|
-
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
19036
|
-
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
19037
|
-
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
19038
|
-
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
19039
|
-
{
|
|
19040
|
-
name: "hooks",
|
|
19041
|
-
internalType: "contract IHooks",
|
|
19042
|
-
type: "address"
|
|
19043
|
-
}
|
|
19044
|
-
]
|
|
19045
|
-
},
|
|
19046
|
-
{ name: "minAmountOut", internalType: "uint256", type: "uint256" }
|
|
19047
|
-
]
|
|
19048
|
-
}
|
|
17769
|
+
{ name: "newImplementation", internalType: "address", type: "address" },
|
|
17770
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
19049
17771
|
],
|
|
19050
|
-
name: "
|
|
19051
|
-
outputs: [
|
|
17772
|
+
name: "upgradeToAndCall",
|
|
17773
|
+
outputs: [],
|
|
19052
17774
|
stateMutability: "payable"
|
|
19053
17775
|
},
|
|
19054
17776
|
{
|
|
19055
17777
|
type: "function",
|
|
19056
|
-
inputs: [{ name: "
|
|
19057
|
-
name: "
|
|
19058
|
-
outputs: [{ name: "", internalType: "
|
|
19059
|
-
stateMutability: "
|
|
17778
|
+
inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
|
|
17779
|
+
name: "uri",
|
|
17780
|
+
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
17781
|
+
stateMutability: "view"
|
|
19060
17782
|
},
|
|
19061
17783
|
{
|
|
19062
17784
|
type: "function",
|
|
19063
17785
|
inputs: [],
|
|
19064
|
-
name: "
|
|
17786
|
+
name: "zoraSparks1155",
|
|
19065
17787
|
outputs: [
|
|
19066
|
-
{
|
|
19067
|
-
name: "",
|
|
19068
|
-
internalType: "contract IZoraLimitOrderBook",
|
|
19069
|
-
type: "address"
|
|
19070
|
-
}
|
|
17788
|
+
{ name: "", internalType: "contract IZoraSparks1155", type: "address" }
|
|
19071
17789
|
],
|
|
19072
17790
|
stateMutability: "view"
|
|
19073
17791
|
},
|
|
@@ -19076,19 +17794,63 @@ var zoraRouterABI = [
|
|
|
19076
17794
|
anonymous: false,
|
|
19077
17795
|
inputs: [
|
|
19078
17796
|
{
|
|
19079
|
-
name: "
|
|
17797
|
+
name: "tokenIds",
|
|
19080
17798
|
internalType: "uint256[]",
|
|
19081
17799
|
type: "uint256[]",
|
|
19082
|
-
indexed:
|
|
17800
|
+
indexed: true
|
|
19083
17801
|
},
|
|
19084
17802
|
{
|
|
19085
|
-
name: "
|
|
17803
|
+
name: "quantities",
|
|
19086
17804
|
internalType: "uint256[]",
|
|
19087
17805
|
type: "uint256[]",
|
|
19088
17806
|
indexed: false
|
|
17807
|
+
},
|
|
17808
|
+
{
|
|
17809
|
+
name: "zoraCreator1155Contract",
|
|
17810
|
+
internalType: "address",
|
|
17811
|
+
type: "address",
|
|
17812
|
+
indexed: true
|
|
17813
|
+
},
|
|
17814
|
+
{
|
|
17815
|
+
name: "zoraCreator1155TokenId",
|
|
17816
|
+
internalType: "uint256",
|
|
17817
|
+
type: "uint256",
|
|
17818
|
+
indexed: true
|
|
17819
|
+
}
|
|
17820
|
+
],
|
|
17821
|
+
name: "Collected"
|
|
17822
|
+
},
|
|
17823
|
+
{
|
|
17824
|
+
type: "event",
|
|
17825
|
+
anonymous: false,
|
|
17826
|
+
inputs: [
|
|
17827
|
+
{
|
|
17828
|
+
name: "tokenAddress",
|
|
17829
|
+
internalType: "address",
|
|
17830
|
+
type: "address",
|
|
17831
|
+
indexed: false
|
|
17832
|
+
},
|
|
17833
|
+
{
|
|
17834
|
+
name: "tokenId",
|
|
17835
|
+
internalType: "uint256",
|
|
17836
|
+
type: "uint256",
|
|
17837
|
+
indexed: false
|
|
17838
|
+
}
|
|
17839
|
+
],
|
|
17840
|
+
name: "DefaultMintableTokenSet"
|
|
17841
|
+
},
|
|
17842
|
+
{
|
|
17843
|
+
type: "event",
|
|
17844
|
+
anonymous: false,
|
|
17845
|
+
inputs: [
|
|
17846
|
+
{
|
|
17847
|
+
name: "version",
|
|
17848
|
+
internalType: "uint64",
|
|
17849
|
+
type: "uint64",
|
|
17850
|
+
indexed: false
|
|
19089
17851
|
}
|
|
19090
17852
|
],
|
|
19091
|
-
name: "
|
|
17853
|
+
name: "Initialized"
|
|
19092
17854
|
},
|
|
19093
17855
|
{
|
|
19094
17856
|
type: "event",
|
|
@@ -19101,331 +17863,351 @@ var zoraRouterABI = [
|
|
|
19101
17863
|
indexed: true
|
|
19102
17864
|
},
|
|
19103
17865
|
{
|
|
19104
|
-
name: "
|
|
17866
|
+
name: "tokenContract",
|
|
19105
17867
|
internalType: "address",
|
|
19106
17868
|
type: "address",
|
|
19107
17869
|
indexed: true
|
|
19108
17870
|
},
|
|
19109
17871
|
{
|
|
19110
|
-
name: "
|
|
19111
|
-
internalType: "
|
|
19112
|
-
type: "
|
|
19113
|
-
|
|
19114
|
-
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
19115
|
-
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
19116
|
-
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
19117
|
-
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
19118
|
-
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
19119
|
-
],
|
|
19120
|
-
indexed: false
|
|
17872
|
+
name: "tokenId",
|
|
17873
|
+
internalType: "uint256",
|
|
17874
|
+
type: "uint256",
|
|
17875
|
+
indexed: true
|
|
19121
17876
|
},
|
|
19122
17877
|
{
|
|
19123
|
-
name: "
|
|
19124
|
-
internalType: "
|
|
19125
|
-
type: "
|
|
17878
|
+
name: "quantity",
|
|
17879
|
+
internalType: "uint256",
|
|
17880
|
+
type: "uint256",
|
|
19126
17881
|
indexed: false
|
|
19127
17882
|
},
|
|
19128
17883
|
{
|
|
19129
|
-
name: "
|
|
19130
|
-
internalType: "
|
|
19131
|
-
type: "
|
|
17884
|
+
name: "comment",
|
|
17885
|
+
internalType: "string",
|
|
17886
|
+
type: "string",
|
|
19132
17887
|
indexed: false
|
|
19133
|
-
}
|
|
17888
|
+
}
|
|
17889
|
+
],
|
|
17890
|
+
name: "MintComment"
|
|
17891
|
+
},
|
|
17892
|
+
{
|
|
17893
|
+
type: "event",
|
|
17894
|
+
anonymous: false,
|
|
17895
|
+
inputs: [
|
|
19134
17896
|
{
|
|
19135
|
-
name: "
|
|
19136
|
-
internalType: "
|
|
19137
|
-
type: "
|
|
19138
|
-
indexed:
|
|
17897
|
+
name: "previousOwner",
|
|
17898
|
+
internalType: "address",
|
|
17899
|
+
type: "address",
|
|
17900
|
+
indexed: true
|
|
19139
17901
|
},
|
|
19140
17902
|
{
|
|
19141
|
-
name: "
|
|
19142
|
-
internalType: "
|
|
19143
|
-
type: "
|
|
19144
|
-
|
|
19145
|
-
{ name: "orderId", internalType: "bytes32", type: "bytes32" },
|
|
19146
|
-
{ name: "multiple", internalType: "uint256", type: "uint256" },
|
|
19147
|
-
{ name: "percentage", internalType: "uint256", type: "uint256" }
|
|
19148
|
-
],
|
|
19149
|
-
indexed: false
|
|
17903
|
+
name: "newOwner",
|
|
17904
|
+
internalType: "address",
|
|
17905
|
+
type: "address",
|
|
17906
|
+
indexed: true
|
|
19150
17907
|
}
|
|
19151
17908
|
],
|
|
19152
|
-
name: "
|
|
17909
|
+
name: "OwnershipTransferStarted"
|
|
19153
17910
|
},
|
|
19154
|
-
{ type: "error", inputs: [], name: "EmptyV4Route" },
|
|
19155
|
-
{ type: "error", inputs: [], name: "FromAddressIsNotOwner" },
|
|
19156
17911
|
{
|
|
19157
|
-
type: "
|
|
17912
|
+
type: "event",
|
|
17913
|
+
anonymous: false,
|
|
19158
17914
|
inputs: [
|
|
19159
|
-
{
|
|
19160
|
-
|
|
17915
|
+
{
|
|
17916
|
+
name: "previousOwner",
|
|
17917
|
+
internalType: "address",
|
|
17918
|
+
type: "address",
|
|
17919
|
+
indexed: true
|
|
17920
|
+
},
|
|
17921
|
+
{
|
|
17922
|
+
name: "newOwner",
|
|
17923
|
+
internalType: "address",
|
|
17924
|
+
type: "address",
|
|
17925
|
+
indexed: true
|
|
17926
|
+
}
|
|
19161
17927
|
],
|
|
19162
|
-
name: "
|
|
17928
|
+
name: "OwnershipTransferred"
|
|
19163
17929
|
},
|
|
19164
|
-
{ type: "error", inputs: [], name: "InsufficientOutputAmount" },
|
|
19165
|
-
{ type: "error", inputs: [], name: "InsufficientTransferFunds" },
|
|
19166
|
-
{ type: "error", inputs: [], name: "InvalidLimitOrderConfig" },
|
|
19167
|
-
{ type: "error", inputs: [], name: "InvalidMultiple" },
|
|
19168
|
-
{ type: "error", inputs: [], name: "InvalidPercent" },
|
|
19169
|
-
{ type: "error", inputs: [], name: "LengthMismatch" },
|
|
19170
|
-
{ type: "error", inputs: [], name: "OnlyAuthority" },
|
|
19171
|
-
{ type: "error", inputs: [], name: "OnlyPoolManager" },
|
|
19172
|
-
{ type: "error", inputs: [], name: "PercentOverflow" },
|
|
19173
17930
|
{
|
|
19174
|
-
type: "
|
|
19175
|
-
|
|
19176
|
-
|
|
17931
|
+
type: "event",
|
|
17932
|
+
anonymous: false,
|
|
17933
|
+
inputs: [
|
|
17934
|
+
{
|
|
17935
|
+
name: "contractURI",
|
|
17936
|
+
internalType: "string",
|
|
17937
|
+
type: "string",
|
|
17938
|
+
indexed: false
|
|
17939
|
+
},
|
|
17940
|
+
{
|
|
17941
|
+
name: "baseURI",
|
|
17942
|
+
internalType: "string",
|
|
17943
|
+
type: "string",
|
|
17944
|
+
indexed: false
|
|
17945
|
+
}
|
|
17946
|
+
],
|
|
17947
|
+
name: "URIsUpdated"
|
|
19177
17948
|
},
|
|
19178
|
-
{ type: "error", inputs: [], name: "UnsafeCast" },
|
|
19179
|
-
{ type: "error", inputs: [], name: "V3RouteDoesNotConnectToV4RouteStart" },
|
|
19180
|
-
{ type: "error", inputs: [], name: "ZeroSwapDelta" },
|
|
19181
|
-
{ type: "error", inputs: [], name: "AddressZero" },
|
|
19182
|
-
{ type: "error", inputs: [], name: "AlreadyOwner" },
|
|
19183
|
-
{ type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
|
|
19184
17949
|
{
|
|
19185
|
-
type: "
|
|
19186
|
-
|
|
19187
|
-
|
|
17950
|
+
type: "event",
|
|
17951
|
+
anonymous: false,
|
|
17952
|
+
inputs: [
|
|
17953
|
+
{
|
|
17954
|
+
name: "implementation",
|
|
17955
|
+
internalType: "address",
|
|
17956
|
+
type: "address",
|
|
17957
|
+
indexed: true
|
|
17958
|
+
}
|
|
17959
|
+
],
|
|
17960
|
+
name: "Upgraded"
|
|
19188
17961
|
},
|
|
19189
|
-
{ type: "error", inputs: [], name: "ECDSAInvalidSignature" },
|
|
19190
17962
|
{
|
|
19191
17963
|
type: "error",
|
|
19192
|
-
inputs: [{ name: "
|
|
19193
|
-
name: "
|
|
17964
|
+
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
17965
|
+
name: "AddressEmptyCode"
|
|
19194
17966
|
},
|
|
19195
17967
|
{
|
|
19196
17968
|
type: "error",
|
|
19197
|
-
inputs: [{ name: "
|
|
19198
|
-
name: "
|
|
17969
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
17970
|
+
name: "AddressInsufficientBalance"
|
|
19199
17971
|
},
|
|
19200
17972
|
{
|
|
19201
17973
|
type: "error",
|
|
19202
17974
|
inputs: [
|
|
19203
|
-
{ name: "
|
|
19204
|
-
{ name: "
|
|
19205
|
-
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
17975
|
+
{ name: "lengthA", internalType: "uint256", type: "uint256" },
|
|
17976
|
+
{ name: "lengthB", internalType: "uint256", type: "uint256" }
|
|
19206
17977
|
],
|
|
19207
|
-
name: "
|
|
17978
|
+
name: "ArrayLengthMismatch"
|
|
19208
17979
|
},
|
|
19209
17980
|
{
|
|
19210
17981
|
type: "error",
|
|
19211
17982
|
inputs: [
|
|
19212
|
-
{ name: "
|
|
19213
|
-
{ name: "
|
|
19214
|
-
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
17983
|
+
{ name: "operator", internalType: "address", type: "address" },
|
|
17984
|
+
{ name: "user", internalType: "address", type: "address" }
|
|
19215
17985
|
],
|
|
19216
|
-
name: "
|
|
17986
|
+
name: "Burn_NotOwnerOrApproved"
|
|
19217
17987
|
},
|
|
19218
17988
|
{
|
|
19219
17989
|
type: "error",
|
|
19220
|
-
inputs: [{ name: "
|
|
19221
|
-
name: "
|
|
17990
|
+
inputs: [{ name: "reason", internalType: "bytes", type: "bytes" }],
|
|
17991
|
+
name: "CallFailed"
|
|
19222
17992
|
},
|
|
17993
|
+
{ type: "error", inputs: [], name: "Call_TokenIdMismatch" },
|
|
17994
|
+
{ type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
|
|
19223
17995
|
{
|
|
19224
17996
|
type: "error",
|
|
19225
|
-
inputs: [
|
|
19226
|
-
|
|
17997
|
+
inputs: [
|
|
17998
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
17999
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
18000
|
+
{ name: "totalMinted", internalType: "uint256", type: "uint256" },
|
|
18001
|
+
{ name: "maxSupply", internalType: "uint256", type: "uint256" }
|
|
18002
|
+
],
|
|
18003
|
+
name: "CannotMintMoreTokens"
|
|
19227
18004
|
},
|
|
19228
18005
|
{
|
|
19229
18006
|
type: "error",
|
|
19230
|
-
inputs: [
|
|
19231
|
-
|
|
18007
|
+
inputs: [
|
|
18008
|
+
{ name: "proposedAddress", internalType: "address", type: "address" }
|
|
18009
|
+
],
|
|
18010
|
+
name: "Config_TransferHookNotSupported"
|
|
19232
18011
|
},
|
|
18012
|
+
{ type: "error", inputs: [], name: "Create2EmptyBytecode" },
|
|
18013
|
+
{ type: "error", inputs: [], name: "Create2FailedDeployment" },
|
|
19233
18014
|
{
|
|
19234
18015
|
type: "error",
|
|
19235
|
-
inputs: [
|
|
19236
|
-
|
|
18016
|
+
inputs: [
|
|
18017
|
+
{ name: "balance", internalType: "uint256", type: "uint256" },
|
|
18018
|
+
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
18019
|
+
],
|
|
18020
|
+
name: "Create2InsufficientBalance"
|
|
19237
18021
|
},
|
|
19238
|
-
{ type: "error", inputs: [], name: "
|
|
18022
|
+
{ type: "error", inputs: [], name: "DefaultOwnerCannotBeZero" },
|
|
18023
|
+
{ type: "error", inputs: [], name: "ERC1155BatchReceivedCallFailed" },
|
|
18024
|
+
{ type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
|
|
19239
18025
|
{
|
|
19240
18026
|
type: "error",
|
|
19241
|
-
inputs: [
|
|
19242
|
-
|
|
18027
|
+
inputs: [
|
|
18028
|
+
{ name: "implementation", internalType: "address", type: "address" }
|
|
18029
|
+
],
|
|
18030
|
+
name: "ERC1967InvalidImplementation"
|
|
19243
18031
|
},
|
|
18032
|
+
{ type: "error", inputs: [], name: "ERC1967NonPayable" },
|
|
18033
|
+
{ type: "error", inputs: [], name: "ERC20TransferSlippage" },
|
|
18034
|
+
{ type: "error", inputs: [], name: "ETHTransferFailed" },
|
|
19244
18035
|
{
|
|
19245
18036
|
type: "error",
|
|
19246
18037
|
inputs: [
|
|
19247
|
-
{ name: "
|
|
19248
|
-
{ name: "
|
|
18038
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
18039
|
+
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
19249
18040
|
],
|
|
19250
|
-
name: "
|
|
18041
|
+
name: "ETHWithdrawFailed"
|
|
19251
18042
|
},
|
|
19252
|
-
{ type: "error", inputs: [], name: "
|
|
19253
|
-
{ type: "error", inputs: [], name: "
|
|
19254
|
-
{ type: "error", inputs: [], name: "EthTransferFailed" },
|
|
19255
|
-
{ type: "error", inputs: [], name: "EthTransferInvalid" },
|
|
19256
|
-
{ type: "error", inputs: [], name: "InitialOrderSizeTooLarge" },
|
|
19257
|
-
{ type: "error", inputs: [], name: "InsufficientFunds" },
|
|
19258
|
-
{ type: "error", inputs: [], name: "InsufficientLiquidity" },
|
|
18043
|
+
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
18044
|
+
{ type: "error", inputs: [], name: "FirstMinterAddressZero" },
|
|
19259
18045
|
{
|
|
19260
18046
|
type: "error",
|
|
19261
18047
|
inputs: [
|
|
19262
|
-
{ name: "
|
|
19263
|
-
{ name: "
|
|
18048
|
+
{ name: "amount", internalType: "uint256", type: "uint256" },
|
|
18049
|
+
{ name: "contractValue", internalType: "uint256", type: "uint256" }
|
|
19264
18050
|
],
|
|
19265
|
-
name: "
|
|
18051
|
+
name: "FundsWithdrawInsolvent"
|
|
19266
18052
|
},
|
|
19267
|
-
{ type: "error", inputs: [], name: "
|
|
18053
|
+
{ type: "error", inputs: [], name: "IncorrectAmountSent" },
|
|
18054
|
+
{ type: "error", inputs: [], name: "InvalidAdminAction" },
|
|
19268
18055
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
19269
|
-
{ type: "error", inputs: [], name: "InvalidMarketType" },
|
|
19270
|
-
{ type: "error", inputs: [], name: "InvalidPoolVersion" },
|
|
19271
18056
|
{
|
|
19272
18057
|
type: "error",
|
|
19273
18058
|
inputs: [
|
|
19274
|
-
{ name: "
|
|
19275
|
-
{ name: "
|
|
18059
|
+
{ name: "mintTo", internalType: "address", type: "address" },
|
|
18060
|
+
{ name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
|
|
18061
|
+
{ name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
|
|
19276
18062
|
],
|
|
19277
|
-
name: "
|
|
18063
|
+
name: "InvalidMerkleProof"
|
|
19278
18064
|
},
|
|
19279
|
-
{ type: "error", inputs: [], name: "
|
|
19280
|
-
{ type: "error", inputs: [], name: "
|
|
19281
|
-
{ type: "error", inputs: [], name: "
|
|
19282
|
-
{ type: "error", inputs: [], name: "
|
|
18065
|
+
{ type: "error", inputs: [], name: "InvalidMintSchedule" },
|
|
18066
|
+
{ type: "error", inputs: [], name: "InvalidOwnerForAssociatedZoraSparks" },
|
|
18067
|
+
{ type: "error", inputs: [], name: "InvalidPremintVersion" },
|
|
18068
|
+
{ type: "error", inputs: [], name: "InvalidRecipient" },
|
|
18069
|
+
{ type: "error", inputs: [], name: "InvalidSignature" },
|
|
18070
|
+
{ type: "error", inputs: [], name: "InvalidSignatureVersion" },
|
|
19283
18071
|
{
|
|
19284
18072
|
type: "error",
|
|
19285
|
-
inputs: [
|
|
19286
|
-
|
|
19287
|
-
|
|
19288
|
-
|
|
19289
|
-
|
|
18073
|
+
inputs: [{ name: "magicValue", internalType: "bytes4", type: "bytes4" }],
|
|
18074
|
+
name: "InvalidSigner"
|
|
18075
|
+
},
|
|
18076
|
+
{ type: "error", inputs: [], name: "InvalidTokenPrice" },
|
|
18077
|
+
{ type: "error", inputs: [], name: "MintNotYetStarted" },
|
|
18078
|
+
{ type: "error", inputs: [], name: "MintWithSparksNotSupportedOnContract" },
|
|
18079
|
+
{ type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
|
|
18080
|
+
{ type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
|
|
18081
|
+
{ type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
|
|
18082
|
+
{ type: "error", inputs: [], name: "Mint_UnknownCommand" },
|
|
18083
|
+
{ type: "error", inputs: [], name: "Mint_ValueTransferFail" },
|
|
18084
|
+
{ type: "error", inputs: [], name: "MinterContractAlreadyExists" },
|
|
18085
|
+
{ type: "error", inputs: [], name: "MinterContractDoesNotExist" },
|
|
18086
|
+
{ type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
|
|
18087
|
+
{ type: "error", inputs: [], name: "NoTokensTransferred" },
|
|
18088
|
+
{ type: "error", inputs: [], name: "NoUriForNonexistentToken" },
|
|
18089
|
+
{ type: "error", inputs: [], name: "NonEthRedemption" },
|
|
18090
|
+
{
|
|
18091
|
+
type: "error",
|
|
18092
|
+
inputs: [{ name: "handler", internalType: "address", type: "address" }],
|
|
18093
|
+
name: "NotARedeemHandler"
|
|
19290
18094
|
},
|
|
19291
|
-
{ type: "error", inputs: [], name: "NameIsRequired" },
|
|
19292
18095
|
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
19293
|
-
{ type: "error", inputs: [], name: "
|
|
19294
|
-
{ type: "error", inputs: [], name: "
|
|
19295
|
-
{ type: "error", inputs: [], name: "
|
|
19296
|
-
{
|
|
18096
|
+
{ type: "error", inputs: [], name: "NotSelfCall" },
|
|
18097
|
+
{ type: "error", inputs: [], name: "NotZoraSparks1155" },
|
|
18098
|
+
{ type: "error", inputs: [], name: "OnlyTransfersFromZoraSparks" },
|
|
18099
|
+
{
|
|
18100
|
+
type: "error",
|
|
18101
|
+
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
18102
|
+
name: "OwnableInvalidOwner"
|
|
18103
|
+
},
|
|
18104
|
+
{
|
|
18105
|
+
type: "error",
|
|
18106
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
18107
|
+
name: "OwnableUnauthorizedAccount"
|
|
18108
|
+
},
|
|
18109
|
+
{ type: "error", inputs: [], name: "PremintDeleted" },
|
|
18110
|
+
{ type: "error", inputs: [], name: "PremintExecutorCannotBeZero" },
|
|
19297
18111
|
{
|
|
19298
18112
|
type: "error",
|
|
19299
18113
|
inputs: [
|
|
19300
|
-
{ name: "
|
|
19301
|
-
{ name: "
|
|
18114
|
+
{ name: "caller", internalType: "address", type: "address" },
|
|
18115
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
18116
|
+
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
19302
18117
|
],
|
|
19303
|
-
name: "
|
|
18118
|
+
name: "ProtocolRewardsWithdrawFailed"
|
|
19304
18119
|
},
|
|
19305
|
-
{ type: "error", inputs: [], name: "
|
|
19306
|
-
{ type: "error", inputs: [], name: "
|
|
19307
|
-
{ type: "error", inputs: [], name: "SlippageBoundsExceeded" },
|
|
19308
|
-
{ type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" },
|
|
19309
|
-
{ type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
|
|
19310
|
-
{ type: "error", inputs: [], name: "CoinVersionLookupCannotBeZeroAddress" },
|
|
19311
|
-
{ type: "error", inputs: [], name: "EthTransferFailed" },
|
|
19312
|
-
{ type: "error", inputs: [], name: "HookNotImplemented" },
|
|
18120
|
+
{ type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
|
|
18121
|
+
{ type: "error", inputs: [], name: "Renderer_NotValidRendererContract" },
|
|
19313
18122
|
{
|
|
19314
18123
|
type: "error",
|
|
19315
|
-
inputs: [{ name: "
|
|
19316
|
-
name: "
|
|
18124
|
+
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
18125
|
+
name: "SafeERC20FailedOperation"
|
|
19317
18126
|
},
|
|
18127
|
+
{ type: "error", inputs: [], name: "SaleEnded" },
|
|
18128
|
+
{ type: "error", inputs: [], name: "SaleHasNotStarted" },
|
|
19318
18129
|
{
|
|
19319
18130
|
type: "error",
|
|
19320
|
-
inputs: [
|
|
19321
|
-
|
|
18131
|
+
inputs: [
|
|
18132
|
+
{ name: "targetContract", internalType: "address", type: "address" }
|
|
18133
|
+
],
|
|
18134
|
+
name: "Sale_CannotCallNonSalesContract"
|
|
19322
18135
|
},
|
|
18136
|
+
{ type: "error", inputs: [], name: "TokenAlreadyCreated" },
|
|
18137
|
+
{ type: "error", inputs: [], name: "TokenDoesNotExist" },
|
|
19323
18138
|
{
|
|
19324
18139
|
type: "error",
|
|
19325
18140
|
inputs: [
|
|
19326
|
-
{ name: "
|
|
19327
|
-
{ name: "
|
|
18141
|
+
{ name: "expected", internalType: "uint256", type: "uint256" },
|
|
18142
|
+
{ name: "actual", internalType: "uint256", type: "uint256" }
|
|
19328
18143
|
],
|
|
19329
|
-
name: "
|
|
18144
|
+
name: "TokenIdMismatch"
|
|
19330
18145
|
},
|
|
19331
18146
|
{
|
|
19332
18147
|
type: "error",
|
|
19333
18148
|
inputs: [
|
|
18149
|
+
{ name: "storedTokenAddress", internalType: "address", type: "address" },
|
|
19334
18150
|
{
|
|
19335
|
-
name: "
|
|
19336
|
-
internalType: "
|
|
19337
|
-
type: "
|
|
19338
|
-
components: [
|
|
19339
|
-
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
19340
|
-
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
19341
|
-
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
19342
|
-
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
19343
|
-
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
19344
|
-
]
|
|
18151
|
+
name: "expectedTokenAddress",
|
|
18152
|
+
internalType: "address",
|
|
18153
|
+
type: "address"
|
|
19345
18154
|
}
|
|
19346
18155
|
],
|
|
19347
|
-
name: "
|
|
18156
|
+
name: "TokenMismatch"
|
|
19348
18157
|
},
|
|
18158
|
+
{ type: "error", inputs: [], name: "TokenNotMintable" },
|
|
18159
|
+
{ type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
|
|
19349
18160
|
{
|
|
19350
18161
|
type: "error",
|
|
19351
|
-
inputs: [{ name: "
|
|
19352
|
-
name: "
|
|
18162
|
+
inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
|
|
18163
|
+
name: "UUPSUnsupportedProxiableUUID"
|
|
19353
18164
|
},
|
|
19354
|
-
{ type: "error", inputs: [], name: "NotPoolManager" },
|
|
19355
18165
|
{
|
|
19356
18166
|
type: "error",
|
|
19357
|
-
inputs: [
|
|
19358
|
-
|
|
19359
|
-
{ name: "expectedCoin", internalType: "address", type: "address" }
|
|
19360
|
-
],
|
|
19361
|
-
name: "OnlyCoin"
|
|
18167
|
+
inputs: [{ name: "selector", internalType: "bytes4", type: "bytes4" }],
|
|
18168
|
+
name: "UnknownUserAction"
|
|
19362
18169
|
},
|
|
19363
|
-
{ type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
|
|
19364
|
-
{ type: "error", inputs: [], name: "SafeCastOverflow" },
|
|
19365
18170
|
{
|
|
19366
18171
|
type: "error",
|
|
19367
|
-
inputs: [
|
|
19368
|
-
|
|
18172
|
+
inputs: [
|
|
18173
|
+
{ name: "expected", internalType: "string", type: "string" },
|
|
18174
|
+
{ name: "actual", internalType: "string", type: "string" }
|
|
18175
|
+
],
|
|
18176
|
+
name: "UpgradeToMismatchedContractName"
|
|
19369
18177
|
},
|
|
19370
18178
|
{
|
|
19371
18179
|
type: "error",
|
|
19372
|
-
inputs: [
|
|
19373
|
-
|
|
18180
|
+
inputs: [
|
|
18181
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
18182
|
+
{ name: "limit", internalType: "uint256", type: "uint256" },
|
|
18183
|
+
{ name: "requestedAmount", internalType: "uint256", type: "uint256" }
|
|
18184
|
+
],
|
|
18185
|
+
name: "UserExceedsMintLimit"
|
|
19374
18186
|
},
|
|
19375
|
-
{ type: "error", inputs: [], name: "UpgradeGateCannotBeZeroAddress" },
|
|
19376
18187
|
{
|
|
19377
18188
|
type: "error",
|
|
19378
18189
|
inputs: [
|
|
19379
|
-
{ name: "
|
|
19380
|
-
{ name: "
|
|
18190
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
18191
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
18192
|
+
{ name: "role", internalType: "uint256", type: "uint256" }
|
|
19381
18193
|
],
|
|
19382
|
-
name: "
|
|
18194
|
+
name: "UserMissingRoleForToken"
|
|
19383
18195
|
},
|
|
19384
|
-
{ type: "error", inputs: [], name: "
|
|
19385
|
-
{ type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" },
|
|
18196
|
+
{ type: "error", inputs: [], name: "WrongValueSent" },
|
|
19386
18197
|
{
|
|
19387
18198
|
type: "error",
|
|
19388
|
-
inputs: [
|
|
19389
|
-
name: "
|
|
18199
|
+
inputs: [],
|
|
18200
|
+
name: "premintSignerContractFailedToRecoverSigner"
|
|
19390
18201
|
},
|
|
19391
|
-
{ type: "error", inputs: [], name: "
|
|
19392
|
-
{ type: "error", inputs: [], name: "AddressZero" },
|
|
19393
|
-
{ type: "error", inputs: [], name: "ArrayLengthMismatch" },
|
|
19394
|
-
{ type: "error", inputs: [], name: "InsufficientBalance" },
|
|
19395
|
-
{ type: "error", inputs: [], name: "InsufficientForwardedFunds" },
|
|
19396
|
-
{ type: "error", inputs: [], name: "InsufficientTransferFunds" },
|
|
19397
|
-
{
|
|
19398
|
-
type: "error",
|
|
19399
|
-
inputs: [
|
|
19400
|
-
{ name: "startTick", internalType: "int24", type: "int24" },
|
|
19401
|
-
{ name: "endTick", internalType: "int24", type: "int24" },
|
|
19402
|
-
{ name: "isCurrency0", internalType: "bool", type: "bool" }
|
|
19403
|
-
],
|
|
19404
|
-
name: "InvalidFillWindow"
|
|
19405
|
-
},
|
|
19406
|
-
{ type: "error", inputs: [], name: "InvalidOrder" },
|
|
19407
|
-
{ type: "error", inputs: [], name: "InvalidPoolKey" },
|
|
19408
|
-
{ type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
|
|
19409
|
-
{ type: "error", inputs: [], name: "NativeValueMismatch" },
|
|
19410
|
-
{ type: "error", inputs: [], name: "NotPoolManager" },
|
|
19411
|
-
{ type: "error", inputs: [], name: "OnlyZoraHook" },
|
|
19412
|
-
{ type: "error", inputs: [], name: "OrderClosed" },
|
|
19413
|
-
{ type: "error", inputs: [], name: "OrderNotMaker" },
|
|
19414
|
-
{ type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
|
|
19415
|
-
{ type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
|
|
19416
|
-
{ type: "error", inputs: [], name: "UnknownCallback" },
|
|
19417
|
-
{ type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
|
|
19418
|
-
{ type: "error", inputs: [], name: "ZeroMaker" },
|
|
19419
|
-
{ type: "error", inputs: [], name: "ZeroMakerOrders" },
|
|
19420
|
-
{ type: "error", inputs: [], name: "ZeroOrderSize" },
|
|
19421
|
-
{ type: "error", inputs: [], name: "ZeroRealizedOrder" }
|
|
18202
|
+
{ type: "error", inputs: [], name: "premintSignerContractNotAContract" }
|
|
19422
18203
|
];
|
|
19423
|
-
var
|
|
19424
|
-
|
|
18204
|
+
var zoraMintsManagerImplAddress = {
|
|
18205
|
+
7777777: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
|
|
18206
|
+
999999999: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B"
|
|
19425
18207
|
};
|
|
19426
|
-
var
|
|
19427
|
-
address:
|
|
19428
|
-
abi:
|
|
18208
|
+
var zoraMintsManagerImplConfig = {
|
|
18209
|
+
address: zoraMintsManagerImplAddress,
|
|
18210
|
+
abi: zoraMintsManagerImplABI
|
|
19429
18211
|
};
|
|
19430
18212
|
var zoraSparks1155ABI = [
|
|
19431
18213
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
@@ -22355,20 +21137,6 @@ var chainConfigs2 = {
|
|
|
22355
21137
|
PROXY_ADMIN: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
|
|
22356
21138
|
ZORA_RECIPIENT: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
|
|
22357
21139
|
WETH: "0x4200000000000000000000000000000000000006"
|
|
22358
|
-
},
|
|
22359
|
-
NaN: {
|
|
22360
|
-
NONFUNGIBLE_POSITION_MANAGER: "0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1",
|
|
22361
|
-
UNISWAP_SWAP_ROUTER: "0x2626664c2603336E57B271c5C0b26F421741e481",
|
|
22362
|
-
UNISWAP_V3_FACTORY: "0x33128a8fC17869897dcE68Ed026d694621f6FDfD",
|
|
22363
|
-
UNISWAP_QUOTER_V2: "0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a",
|
|
22364
|
-
DOPPLER_AIRLOCK: "0x660eAaEdEBc968f8f3694354FA8EC0b4c5Ba8D12",
|
|
22365
|
-
PROXY_ADMIN: "0xEAB37fbA9E4F99602815E173A7FeAee0f4eF980B",
|
|
22366
|
-
ZORA_RECIPIENT: "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
|
|
22367
|
-
WETH: "0x4200000000000000000000000000000000000006",
|
|
22368
|
-
UNISWAP_V4_POOL_MANAGER: "0x498581ff718922c3f8e6a244956af099b2652b2b",
|
|
22369
|
-
UNISWAP_V4_POSITION_MANAGER: "0x7c5f5a4bbd8fd63184577525326123b519429bdc",
|
|
22370
|
-
UNISWAP_PERMIT2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
|
|
22371
|
-
UNISWAP_UNIVERSAL_ROUTER: "0x6ff5693b99212da76ad316178a184ab56d299b43"
|
|
22372
21140
|
}
|
|
22373
21141
|
};
|
|
22374
21142
|
var addresses2 = {
|
|
@@ -22511,6 +21279,9 @@ var addresses2 = {
|
|
|
22511
21279
|
uniswapQuoterV2ABI,
|
|
22512
21280
|
uniswapQuoterV2Address,
|
|
22513
21281
|
uniswapQuoterV2Config,
|
|
21282
|
+
uniswapUniversalRouterABI,
|
|
21283
|
+
uniswapUniversalRouterAddress,
|
|
21284
|
+
uniswapUniversalRouterConfig,
|
|
22514
21285
|
uniswapV3SwapRouterABI,
|
|
22515
21286
|
uniswapV3SwapRouterAddress,
|
|
22516
21287
|
uniswapV3SwapRouterConfig,
|
|
@@ -22539,18 +21310,12 @@ var addresses2 = {
|
|
|
22539
21310
|
zoraCreatorRedeemMinterFactoryABI,
|
|
22540
21311
|
zoraCreatorRedeemMinterFactoryAddress,
|
|
22541
21312
|
zoraCreatorRedeemMinterFactoryConfig,
|
|
22542
|
-
zoraLimitOrderBookABI,
|
|
22543
|
-
zoraLimitOrderBookAddress,
|
|
22544
|
-
zoraLimitOrderBookConfig,
|
|
22545
21313
|
zoraMints1155ABI,
|
|
22546
21314
|
zoraMints1155Address,
|
|
22547
21315
|
zoraMints1155Config,
|
|
22548
21316
|
zoraMintsManagerImplABI,
|
|
22549
21317
|
zoraMintsManagerImplAddress,
|
|
22550
21318
|
zoraMintsManagerImplConfig,
|
|
22551
|
-
zoraRouterABI,
|
|
22552
|
-
zoraRouterAddress,
|
|
22553
|
-
zoraRouterConfig,
|
|
22554
21319
|
zoraSparks1155ABI,
|
|
22555
21320
|
zoraSparks1155Address,
|
|
22556
21321
|
zoraSparks1155Config,
|