@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/dist/index.cjs CHANGED
@@ -3983,6 +3983,13 @@ var sponsoredSparksSpenderABI = [
3983
3983
  name: "NAME",
3984
3984
  outputs: [{ name: "", internalType: "string", type: "string" }]
3985
3985
  },
3986
+ {
3987
+ stateMutability: "view",
3988
+ type: "function",
3989
+ inputs: [],
3990
+ name: "SPONSORED_SPEND_TYPEHASH",
3991
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
3992
+ },
3986
3993
  {
3987
3994
  stateMutability: "view",
3988
3995
  type: "function",
@@ -4080,6 +4087,37 @@ var sponsoredSparksSpenderABI = [
4080
4087
  name: "hashSponsoredMint",
4081
4088
  outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
4082
4089
  },
4090
+ {
4091
+ stateMutability: "view",
4092
+ type: "function",
4093
+ inputs: [
4094
+ {
4095
+ name: "sponsoredSpend",
4096
+ internalType: "struct SponsoredSpend",
4097
+ type: "tuple",
4098
+ components: [
4099
+ { name: "verifier", internalType: "address", type: "address" },
4100
+ { name: "from", internalType: "address", type: "address" },
4101
+ {
4102
+ name: "destination",
4103
+ internalType: "address payable",
4104
+ type: "address"
4105
+ },
4106
+ { name: "data", internalType: "bytes", type: "bytes" },
4107
+ {
4108
+ name: "expectedInputAmount",
4109
+ internalType: "uint256",
4110
+ type: "uint256"
4111
+ },
4112
+ { name: "totalAmount", internalType: "uint256", type: "uint256" },
4113
+ { name: "nonce", internalType: "uint256", type: "uint256" },
4114
+ { name: "deadline", internalType: "uint256", type: "uint256" }
4115
+ ]
4116
+ }
4117
+ ],
4118
+ name: "hashSponsoredSpend",
4119
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
4120
+ },
4083
4121
  {
4084
4122
  stateMutability: "nonpayable",
4085
4123
  type: "function",
@@ -4137,6 +4175,38 @@ var sponsoredSparksSpenderABI = [
4137
4175
  name: "setVerifierStatus",
4138
4176
  outputs: []
4139
4177
  },
4178
+ {
4179
+ stateMutability: "payable",
4180
+ type: "function",
4181
+ inputs: [
4182
+ {
4183
+ name: "sponsoredSpend",
4184
+ internalType: "struct SponsoredSpend",
4185
+ type: "tuple",
4186
+ components: [
4187
+ { name: "verifier", internalType: "address", type: "address" },
4188
+ { name: "from", internalType: "address", type: "address" },
4189
+ {
4190
+ name: "destination",
4191
+ internalType: "address payable",
4192
+ type: "address"
4193
+ },
4194
+ { name: "data", internalType: "bytes", type: "bytes" },
4195
+ {
4196
+ name: "expectedInputAmount",
4197
+ internalType: "uint256",
4198
+ type: "uint256"
4199
+ },
4200
+ { name: "totalAmount", internalType: "uint256", type: "uint256" },
4201
+ { name: "nonce", internalType: "uint256", type: "uint256" },
4202
+ { name: "deadline", internalType: "uint256", type: "uint256" }
4203
+ ]
4204
+ },
4205
+ { name: "signature", internalType: "bytes", type: "bytes" }
4206
+ ],
4207
+ name: "sponsoredExecute",
4208
+ outputs: []
4209
+ },
4140
4210
  {
4141
4211
  stateMutability: "nonpayable",
4142
4212
  type: "function",
@@ -4273,6 +4343,7 @@ var sponsoredSparksSpenderABI = [
4273
4343
  { type: "error", inputs: [], name: "InvalidShortString" },
4274
4344
  { type: "error", inputs: [], name: "InvalidSignature" },
4275
4345
  { type: "error", inputs: [], name: "LengthMismatch" },
4346
+ { type: "error", inputs: [], name: "NoMoreFundsToSponsor" },
4276
4347
  { type: "error", inputs: [], name: "NonceUsed" },
4277
4348
  { type: "error", inputs: [], name: "NotExpectingReceive" },
4278
4349
  { type: "error", inputs: [], name: "NotZoraSparks1155" },
@@ -4302,6 +4373,7 @@ var sponsoredSparksSpenderABI = [
4302
4373
  ],
4303
4374
  name: "RedeemAmountIsIncorrect"
4304
4375
  },
4376
+ { type: "error", inputs: [], name: "SenderNotAllowedInSignature" },
4305
4377
  { type: "error", inputs: [], name: "SignatureExpired" },
4306
4378
  { type: "error", inputs: [], name: "SingleTransferNotSupported" },
4307
4379
  {
@@ -12176,7 +12248,7 @@ var zoraTimedSaleStrategyAddress = {
12176
12248
  81457: "0x777777722D078c97c6ad07d9f36801e653E356Ae",
12177
12249
  84532: "0x777777722D078c97c6ad07d9f36801e653E356Ae",
12178
12250
  7777777: "0x777777722D078c97c6ad07d9f36801e653E356Ae",
12179
- 11155111: "0x8237F421357F87a23ed0CFf3a5586172F210A21B",
12251
+ 11155111: "0x777777722D078c97c6ad07d9f36801e653E356Ae",
12180
12252
  999999999: "0x777777722D078c97c6ad07d9f36801e653E356Ae"
12181
12253
  };
12182
12254
  var zoraTimedSaleStrategyConfig = {