@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zoralabs/protocol-deployments",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "repository": "https://github.com/ourzora/zora-protocol",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -2566,6 +2566,13 @@ export const sponsoredSparksSpenderABI = [
2566
2566
  name: 'NAME',
2567
2567
  outputs: [{ name: '', internalType: 'string', type: 'string' }],
2568
2568
  },
2569
+ {
2570
+ stateMutability: 'view',
2571
+ type: 'function',
2572
+ inputs: [],
2573
+ name: 'SPONSORED_SPEND_TYPEHASH',
2574
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
2575
+ },
2569
2576
  {
2570
2577
  stateMutability: 'view',
2571
2578
  type: 'function',
@@ -2663,6 +2670,37 @@ export const sponsoredSparksSpenderABI = [
2663
2670
  name: 'hashSponsoredMint',
2664
2671
  outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
2665
2672
  },
2673
+ {
2674
+ stateMutability: 'view',
2675
+ type: 'function',
2676
+ inputs: [
2677
+ {
2678
+ name: 'sponsoredSpend',
2679
+ internalType: 'struct SponsoredSpend',
2680
+ type: 'tuple',
2681
+ components: [
2682
+ { name: 'verifier', internalType: 'address', type: 'address' },
2683
+ { name: 'from', internalType: 'address', type: 'address' },
2684
+ {
2685
+ name: 'destination',
2686
+ internalType: 'address payable',
2687
+ type: 'address',
2688
+ },
2689
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
2690
+ {
2691
+ name: 'expectedInputAmount',
2692
+ internalType: 'uint256',
2693
+ type: 'uint256',
2694
+ },
2695
+ { name: 'totalAmount', internalType: 'uint256', type: 'uint256' },
2696
+ { name: 'nonce', internalType: 'uint256', type: 'uint256' },
2697
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
2698
+ ],
2699
+ },
2700
+ ],
2701
+ name: 'hashSponsoredSpend',
2702
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
2703
+ },
2666
2704
  {
2667
2705
  stateMutability: 'nonpayable',
2668
2706
  type: 'function',
@@ -2720,6 +2758,38 @@ export const sponsoredSparksSpenderABI = [
2720
2758
  name: 'setVerifierStatus',
2721
2759
  outputs: [],
2722
2760
  },
2761
+ {
2762
+ stateMutability: 'payable',
2763
+ type: 'function',
2764
+ inputs: [
2765
+ {
2766
+ name: 'sponsoredSpend',
2767
+ internalType: 'struct SponsoredSpend',
2768
+ type: 'tuple',
2769
+ components: [
2770
+ { name: 'verifier', internalType: 'address', type: 'address' },
2771
+ { name: 'from', internalType: 'address', type: 'address' },
2772
+ {
2773
+ name: 'destination',
2774
+ internalType: 'address payable',
2775
+ type: 'address',
2776
+ },
2777
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
2778
+ {
2779
+ name: 'expectedInputAmount',
2780
+ internalType: 'uint256',
2781
+ type: 'uint256',
2782
+ },
2783
+ { name: 'totalAmount', internalType: 'uint256', type: 'uint256' },
2784
+ { name: 'nonce', internalType: 'uint256', type: 'uint256' },
2785
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
2786
+ ],
2787
+ },
2788
+ { name: 'signature', internalType: 'bytes', type: 'bytes' },
2789
+ ],
2790
+ name: 'sponsoredExecute',
2791
+ outputs: [],
2792
+ },
2723
2793
  {
2724
2794
  stateMutability: 'nonpayable',
2725
2795
  type: 'function',
@@ -2856,6 +2926,7 @@ export const sponsoredSparksSpenderABI = [
2856
2926
  { type: 'error', inputs: [], name: 'InvalidShortString' },
2857
2927
  { type: 'error', inputs: [], name: 'InvalidSignature' },
2858
2928
  { type: 'error', inputs: [], name: 'LengthMismatch' },
2929
+ { type: 'error', inputs: [], name: 'NoMoreFundsToSponsor' },
2859
2930
  { type: 'error', inputs: [], name: 'NonceUsed' },
2860
2931
  { type: 'error', inputs: [], name: 'NotExpectingReceive' },
2861
2932
  { type: 'error', inputs: [], name: 'NotZoraSparks1155' },
@@ -2885,6 +2956,7 @@ export const sponsoredSparksSpenderABI = [
2885
2956
  ],
2886
2957
  name: 'RedeemAmountIsIncorrect',
2887
2958
  },
2959
+ { type: 'error', inputs: [], name: 'SenderNotAllowedInSignature' },
2888
2960
  { type: 'error', inputs: [], name: 'SignatureExpired' },
2889
2961
  { type: 'error', inputs: [], name: 'SingleTransferNotSupported' },
2890
2962
  {
@@ -10398,7 +10470,7 @@ export const zoraSparksManagerImplConfig = {
10398
10470
  * - [__View Contract on Blast Blastscan__](https://blastscan.io/address/0x777777722D078c97c6ad07d9f36801e653E356Ae)
10399
10471
  * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x777777722D078c97c6ad07d9f36801e653E356Ae)
10400
10472
  * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x777777722D078c97c6ad07d9f36801e653E356Ae)
10401
- * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x8237F421357F87a23ed0CFf3a5586172F210A21B)
10473
+ * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x777777722D078c97c6ad07d9f36801e653E356Ae)
10402
10474
  * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x777777722D078c97c6ad07d9f36801e653E356Ae)
10403
10475
  */
10404
10476
  export const zoraTimedSaleStrategyABI = [
@@ -11199,7 +11271,7 @@ export const zoraTimedSaleStrategyABI = [
11199
11271
  * - [__View Contract on Blast Blastscan__](https://blastscan.io/address/0x777777722D078c97c6ad07d9f36801e653E356Ae)
11200
11272
  * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x777777722D078c97c6ad07d9f36801e653E356Ae)
11201
11273
  * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x777777722D078c97c6ad07d9f36801e653E356Ae)
11202
- * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x8237F421357F87a23ed0CFf3a5586172F210A21B)
11274
+ * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x777777722D078c97c6ad07d9f36801e653E356Ae)
11203
11275
  * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x777777722D078c97c6ad07d9f36801e653E356Ae)
11204
11276
  */
11205
11277
  export const zoraTimedSaleStrategyAddress = {
@@ -11210,7 +11282,7 @@ export const zoraTimedSaleStrategyAddress = {
11210
11282
  81457: '0x777777722D078c97c6ad07d9f36801e653E356Ae',
11211
11283
  84532: '0x777777722D078c97c6ad07d9f36801e653E356Ae',
11212
11284
  7777777: '0x777777722D078c97c6ad07d9f36801e653E356Ae',
11213
- 11155111: '0x8237F421357F87a23ed0CFf3a5586172F210A21B',
11285
+ 11155111: '0x777777722D078c97c6ad07d9f36801e653E356Ae',
11214
11286
  999999999: '0x777777722D078c97c6ad07d9f36801e653E356Ae',
11215
11287
  } as const
11216
11288
 
@@ -11222,7 +11294,7 @@ export const zoraTimedSaleStrategyAddress = {
11222
11294
  * - [__View Contract on Blast Blastscan__](https://blastscan.io/address/0x777777722D078c97c6ad07d9f36801e653E356Ae)
11223
11295
  * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x777777722D078c97c6ad07d9f36801e653E356Ae)
11224
11296
  * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x777777722D078c97c6ad07d9f36801e653E356Ae)
11225
- * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x8237F421357F87a23ed0CFf3a5586172F210A21B)
11297
+ * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x777777722D078c97c6ad07d9f36801e653E356Ae)
11226
11298
  * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x777777722D078c97c6ad07d9f36801e653E356Ae)
11227
11299
  */
11228
11300
  export const zoraTimedSaleStrategyConfig = {