@zoralabs/protocol-deployments 0.3.5 → 0.3.6
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.log +17 -17
- package/CHANGELOG.md +6 -0
- package/dist/generated/wagmi.d.ts +229 -5
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +73 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +73 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/wagmi.ts +76 -4
package/dist/index.js
CHANGED
|
@@ -2360,6 +2360,13 @@ var sponsoredSparksSpenderABI = [
|
|
|
2360
2360
|
name: "NAME",
|
|
2361
2361
|
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
2362
2362
|
},
|
|
2363
|
+
{
|
|
2364
|
+
stateMutability: "view",
|
|
2365
|
+
type: "function",
|
|
2366
|
+
inputs: [],
|
|
2367
|
+
name: "SPONSORED_SPEND_TYPEHASH",
|
|
2368
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
2369
|
+
},
|
|
2363
2370
|
{
|
|
2364
2371
|
stateMutability: "view",
|
|
2365
2372
|
type: "function",
|
|
@@ -2457,6 +2464,37 @@ var sponsoredSparksSpenderABI = [
|
|
|
2457
2464
|
name: "hashSponsoredMint",
|
|
2458
2465
|
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
2459
2466
|
},
|
|
2467
|
+
{
|
|
2468
|
+
stateMutability: "view",
|
|
2469
|
+
type: "function",
|
|
2470
|
+
inputs: [
|
|
2471
|
+
{
|
|
2472
|
+
name: "sponsoredSpend",
|
|
2473
|
+
internalType: "struct SponsoredSpend",
|
|
2474
|
+
type: "tuple",
|
|
2475
|
+
components: [
|
|
2476
|
+
{ name: "verifier", internalType: "address", type: "address" },
|
|
2477
|
+
{ name: "from", internalType: "address", type: "address" },
|
|
2478
|
+
{
|
|
2479
|
+
name: "destination",
|
|
2480
|
+
internalType: "address payable",
|
|
2481
|
+
type: "address"
|
|
2482
|
+
},
|
|
2483
|
+
{ name: "data", internalType: "bytes", type: "bytes" },
|
|
2484
|
+
{
|
|
2485
|
+
name: "expectedInputAmount",
|
|
2486
|
+
internalType: "uint256",
|
|
2487
|
+
type: "uint256"
|
|
2488
|
+
},
|
|
2489
|
+
{ name: "totalAmount", internalType: "uint256", type: "uint256" },
|
|
2490
|
+
{ name: "nonce", internalType: "uint256", type: "uint256" },
|
|
2491
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" }
|
|
2492
|
+
]
|
|
2493
|
+
}
|
|
2494
|
+
],
|
|
2495
|
+
name: "hashSponsoredSpend",
|
|
2496
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
2497
|
+
},
|
|
2460
2498
|
{
|
|
2461
2499
|
stateMutability: "nonpayable",
|
|
2462
2500
|
type: "function",
|
|
@@ -2514,6 +2552,38 @@ var sponsoredSparksSpenderABI = [
|
|
|
2514
2552
|
name: "setVerifierStatus",
|
|
2515
2553
|
outputs: []
|
|
2516
2554
|
},
|
|
2555
|
+
{
|
|
2556
|
+
stateMutability: "payable",
|
|
2557
|
+
type: "function",
|
|
2558
|
+
inputs: [
|
|
2559
|
+
{
|
|
2560
|
+
name: "sponsoredSpend",
|
|
2561
|
+
internalType: "struct SponsoredSpend",
|
|
2562
|
+
type: "tuple",
|
|
2563
|
+
components: [
|
|
2564
|
+
{ name: "verifier", internalType: "address", type: "address" },
|
|
2565
|
+
{ name: "from", internalType: "address", type: "address" },
|
|
2566
|
+
{
|
|
2567
|
+
name: "destination",
|
|
2568
|
+
internalType: "address payable",
|
|
2569
|
+
type: "address"
|
|
2570
|
+
},
|
|
2571
|
+
{ name: "data", internalType: "bytes", type: "bytes" },
|
|
2572
|
+
{
|
|
2573
|
+
name: "expectedInputAmount",
|
|
2574
|
+
internalType: "uint256",
|
|
2575
|
+
type: "uint256"
|
|
2576
|
+
},
|
|
2577
|
+
{ name: "totalAmount", internalType: "uint256", type: "uint256" },
|
|
2578
|
+
{ name: "nonce", internalType: "uint256", type: "uint256" },
|
|
2579
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" }
|
|
2580
|
+
]
|
|
2581
|
+
},
|
|
2582
|
+
{ name: "signature", internalType: "bytes", type: "bytes" }
|
|
2583
|
+
],
|
|
2584
|
+
name: "sponsoredExecute",
|
|
2585
|
+
outputs: []
|
|
2586
|
+
},
|
|
2517
2587
|
{
|
|
2518
2588
|
stateMutability: "nonpayable",
|
|
2519
2589
|
type: "function",
|
|
@@ -2650,6 +2720,7 @@ var sponsoredSparksSpenderABI = [
|
|
|
2650
2720
|
{ type: "error", inputs: [], name: "InvalidShortString" },
|
|
2651
2721
|
{ type: "error", inputs: [], name: "InvalidSignature" },
|
|
2652
2722
|
{ type: "error", inputs: [], name: "LengthMismatch" },
|
|
2723
|
+
{ type: "error", inputs: [], name: "NoMoreFundsToSponsor" },
|
|
2653
2724
|
{ type: "error", inputs: [], name: "NonceUsed" },
|
|
2654
2725
|
{ type: "error", inputs: [], name: "NotExpectingReceive" },
|
|
2655
2726
|
{ type: "error", inputs: [], name: "NotZoraSparks1155" },
|
|
@@ -2679,6 +2750,7 @@ var sponsoredSparksSpenderABI = [
|
|
|
2679
2750
|
],
|
|
2680
2751
|
name: "RedeemAmountIsIncorrect"
|
|
2681
2752
|
},
|
|
2753
|
+
{ type: "error", inputs: [], name: "SenderNotAllowedInSignature" },
|
|
2682
2754
|
{ type: "error", inputs: [], name: "SignatureExpired" },
|
|
2683
2755
|
{ type: "error", inputs: [], name: "SingleTransferNotSupported" },
|
|
2684
2756
|
{
|
|
@@ -10553,7 +10625,7 @@ var zoraTimedSaleStrategyAddress = {
|
|
|
10553
10625
|
81457: "0x777777722D078c97c6ad07d9f36801e653E356Ae",
|
|
10554
10626
|
84532: "0x777777722D078c97c6ad07d9f36801e653E356Ae",
|
|
10555
10627
|
7777777: "0x777777722D078c97c6ad07d9f36801e653E356Ae",
|
|
10556
|
-
11155111: "
|
|
10628
|
+
11155111: "0x777777722D078c97c6ad07d9f36801e653E356Ae",
|
|
10557
10629
|
999999999: "0x777777722D078c97c6ad07d9f36801e653E356Ae"
|
|
10558
10630
|
};
|
|
10559
10631
|
var zoraTimedSaleStrategyConfig = {
|