@zkp2p/contracts-v2 0.0.1 → 0.0.2

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.
Files changed (130) hide show
  1. package/README.md +34 -8
  2. package/_cjs/abis/base/CashappReclaimVerifier.json +513 -0
  3. package/_cjs/abis/base/Escrow.json +2315 -0
  4. package/_cjs/abis/base/MercadoPagoReclaimVerifier.json +539 -0
  5. package/_cjs/abis/base/NullifierRegistry.json +213 -0
  6. package/_cjs/abis/base/RevolutReclaimVerifier.json +513 -0
  7. package/_cjs/abis/base/VenmoReclaimVerifier.json +500 -0
  8. package/_cjs/abis/base/WiseReclaimVerifier.json +513 -0
  9. package/_cjs/abis/base/ZelleBaseVerifier.json +377 -0
  10. package/_cjs/abis/base/ZelleBoAReclaimVerifier.json +424 -0
  11. package/_cjs/abis/base/ZelleChaseReclaimVerifier.json +437 -0
  12. package/_cjs/abis/base/ZelleCitiReclaimVerifier.json +424 -0
  13. package/_cjs/abis/base/index.js +11 -0
  14. package/_cjs/abis/base.cjs +14 -0
  15. package/_cjs/abis/base.mjs +16 -0
  16. package/_cjs/abis/baseSepolia/Escrow.json +2222 -0
  17. package/_cjs/abis/baseSepolia/EscrowRegistry.json +214 -0
  18. package/_cjs/abis/baseSepolia/NullifierRegistry.json +213 -0
  19. package/_cjs/abis/baseSepolia/Orchestrator.json +1121 -0
  20. package/_cjs/abis/baseSepolia/PaymentVerifierRegistry.json +332 -0
  21. package/_cjs/abis/baseSepolia/PostIntentHookRegistry.json +181 -0
  22. package/_cjs/abis/baseSepolia/ProtocolViewer.json +1382 -0
  23. package/_cjs/abis/baseSepolia/RelayerRegistry.json +162 -0
  24. package/_cjs/abis/baseSepolia/SimpleAttestationVerifier.json +215 -0
  25. package/_cjs/abis/baseSepolia/USDCMock.json +293 -0
  26. package/_cjs/abis/baseSepolia/UnifiedPaymentVerifier.json +545 -0
  27. package/_cjs/abis/baseSepolia/index.js +11 -0
  28. package/_cjs/abis/baseSepolia.cjs +14 -0
  29. package/_cjs/abis/baseSepolia.mjs +16 -0
  30. package/_cjs/addresses/base.json +1 -1
  31. package/_cjs/addresses/baseSepolia.json +1 -1
  32. package/_cjs/paymentMethods/baseSepolia.json +1 -1
  33. package/_cjs/paymentMethods/index.json +1 -1
  34. package/_cjs/types/contracts/Escrow.js +2688 -0
  35. package/_cjs/types/contracts/Orchestrator.js +1290 -0
  36. package/_cjs/types/contracts/ProtocolViewer.js +527 -0
  37. package/_cjs/types/contracts/index.js +12 -0
  38. package/_cjs/types/contracts/interfaces/IAttestationVerifier.js +114 -0
  39. package/_cjs/types/contracts/interfaces/IEscrow.js +1434 -0
  40. package/_cjs/types/contracts/interfaces/IEscrowRegistry.js +150 -0
  41. package/_cjs/types/contracts/interfaces/INullifierRegistry.js +141 -0
  42. package/_cjs/types/contracts/interfaces/IOrchestrator.js +704 -0
  43. package/_cjs/types/contracts/interfaces/IPaymentVerifier.js +154 -0
  44. package/_cjs/types/contracts/interfaces/IPaymentVerifierRegistry.js +233 -0
  45. package/_cjs/types/contracts/interfaces/IPostIntentHook.js +165 -0
  46. package/_cjs/types/contracts/interfaces/IPostIntentHookRegistry.js +126 -0
  47. package/_cjs/types/contracts/interfaces/IProtocolViewer.js +334 -0
  48. package/_cjs/types/contracts/interfaces/IRelayerRegistry.js +126 -0
  49. package/_cjs/types/contracts/interfaces/index.js +14 -0
  50. package/_cjs/types/contracts/registries/EscrowRegistry.js +463 -0
  51. package/_cjs/types/contracts/registries/NullifierRegistry.js +447 -0
  52. package/_cjs/types/contracts/registries/PaymentVerifierRegistry.js +657 -0
  53. package/_cjs/types/contracts/registries/PostIntentHookRegistry.js +414 -0
  54. package/_cjs/types/contracts/registries/RelayerRegistry.js +371 -0
  55. package/_cjs/types/contracts/registries/index.js +8 -0
  56. package/_cjs/types/contracts/unifiedVerifier/BaseUnifiedPaymentVerifier.js +828 -0
  57. package/_cjs/types/contracts/unifiedVerifier/SimpleAttestationVerifier.js +415 -0
  58. package/_cjs/types/contracts/unifiedVerifier/UnifiedPaymentVerifier.js +931 -0
  59. package/_cjs/types/contracts/unifiedVerifier/index.js +6 -0
  60. package/_esm/abis/base/CashappReclaimVerifier.json +513 -0
  61. package/_esm/abis/base/Escrow.json +2315 -0
  62. package/_esm/abis/base/MercadoPagoReclaimVerifier.json +539 -0
  63. package/_esm/abis/base/NullifierRegistry.json +213 -0
  64. package/_esm/abis/base/RevolutReclaimVerifier.json +513 -0
  65. package/_esm/abis/base/VenmoReclaimVerifier.json +500 -0
  66. package/_esm/abis/base/WiseReclaimVerifier.json +513 -0
  67. package/_esm/abis/base/ZelleBaseVerifier.json +377 -0
  68. package/_esm/abis/base/ZelleBoAReclaimVerifier.json +424 -0
  69. package/_esm/abis/base/ZelleChaseReclaimVerifier.json +437 -0
  70. package/_esm/abis/base/ZelleCitiReclaimVerifier.json +424 -0
  71. package/_esm/abis/base/index.js +11 -0
  72. package/_esm/abis/base.cjs +14 -0
  73. package/_esm/abis/base.mjs +16 -0
  74. package/_esm/abis/baseSepolia/Escrow.json +2222 -0
  75. package/_esm/abis/baseSepolia/EscrowRegistry.json +214 -0
  76. package/_esm/abis/baseSepolia/NullifierRegistry.json +213 -0
  77. package/_esm/abis/baseSepolia/Orchestrator.json +1121 -0
  78. package/_esm/abis/baseSepolia/PaymentVerifierRegistry.json +332 -0
  79. package/_esm/abis/baseSepolia/PostIntentHookRegistry.json +181 -0
  80. package/_esm/abis/baseSepolia/ProtocolViewer.json +1382 -0
  81. package/_esm/abis/baseSepolia/RelayerRegistry.json +162 -0
  82. package/_esm/abis/baseSepolia/SimpleAttestationVerifier.json +215 -0
  83. package/_esm/abis/baseSepolia/USDCMock.json +293 -0
  84. package/_esm/abis/baseSepolia/UnifiedPaymentVerifier.json +545 -0
  85. package/_esm/abis/baseSepolia/index.js +11 -0
  86. package/_esm/abis/baseSepolia.cjs +14 -0
  87. package/_esm/abis/baseSepolia.mjs +16 -0
  88. package/_esm/addresses/base.json +1 -1
  89. package/_esm/addresses/baseSepolia.json +1 -1
  90. package/_esm/paymentMethods/baseSepolia.json +1 -1
  91. package/_esm/paymentMethods/index.json +1 -1
  92. package/_esm/types/contracts/Escrow.js +2688 -0
  93. package/_esm/types/contracts/Orchestrator.js +1290 -0
  94. package/_esm/types/contracts/ProtocolViewer.js +527 -0
  95. package/_esm/types/contracts/index.js +12 -0
  96. package/_esm/types/contracts/interfaces/IAttestationVerifier.js +114 -0
  97. package/_esm/types/contracts/interfaces/IEscrow.js +1434 -0
  98. package/_esm/types/contracts/interfaces/IEscrowRegistry.js +150 -0
  99. package/_esm/types/contracts/interfaces/INullifierRegistry.js +141 -0
  100. package/_esm/types/contracts/interfaces/IOrchestrator.js +704 -0
  101. package/_esm/types/contracts/interfaces/IPaymentVerifier.js +154 -0
  102. package/_esm/types/contracts/interfaces/IPaymentVerifierRegistry.js +233 -0
  103. package/_esm/types/contracts/interfaces/IPostIntentHook.js +165 -0
  104. package/_esm/types/contracts/interfaces/IPostIntentHookRegistry.js +126 -0
  105. package/_esm/types/contracts/interfaces/IProtocolViewer.js +334 -0
  106. package/_esm/types/contracts/interfaces/IRelayerRegistry.js +126 -0
  107. package/_esm/types/contracts/interfaces/index.js +14 -0
  108. package/_esm/types/contracts/registries/EscrowRegistry.js +463 -0
  109. package/_esm/types/contracts/registries/NullifierRegistry.js +447 -0
  110. package/_esm/types/contracts/registries/PaymentVerifierRegistry.js +657 -0
  111. package/_esm/types/contracts/registries/PostIntentHookRegistry.js +414 -0
  112. package/_esm/types/contracts/registries/RelayerRegistry.js +371 -0
  113. package/_esm/types/contracts/registries/index.js +8 -0
  114. package/_esm/types/contracts/unifiedVerifier/BaseUnifiedPaymentVerifier.js +828 -0
  115. package/_esm/types/contracts/unifiedVerifier/SimpleAttestationVerifier.js +415 -0
  116. package/_esm/types/contracts/unifiedVerifier/UnifiedPaymentVerifier.js +931 -0
  117. package/_esm/types/contracts/unifiedVerifier/index.js +6 -0
  118. package/_types/abis/base.d.ts +12 -0
  119. package/_types/abis/baseSepolia.d.ts +12 -0
  120. package/abis/base.cjs +14 -0
  121. package/abis/base.d.ts +12 -0
  122. package/abis/base.mjs +16 -0
  123. package/abis/baseSepolia.cjs +14 -0
  124. package/abis/baseSepolia.d.ts +12 -0
  125. package/abis/baseSepolia.mjs +16 -0
  126. package/addresses/base.json +1 -1
  127. package/addresses/baseSepolia.json +1 -1
  128. package/package.json +23 -6
  129. package/paymentMethods/baseSepolia.json +1 -1
  130. package/paymentMethods/index.json +1 -1
package/README.md CHANGED
@@ -18,8 +18,8 @@ pnpm add @zkp2p/contracts-v2
18
18
  // Import addresses for specific networks
19
19
  import { base, baseSepolia } from "@zkp2p/contracts-v2/addresses"
20
20
 
21
- // Import specific contract ABIs
22
- import { Escrow, Orchestrator } from "@zkp2p/contracts-v2/abis/base"
21
+ // Import specific contract ABIs from a network
22
+ import { Escrow, Orchestrator } from "@zkp2p/contracts-v2/abis/baseSepolia"
23
23
 
24
24
  // Import constants
25
25
  import { USDC, INTENT_EXPIRATION_PERIOD } from "@zkp2p/contracts-v2/constants/base"
@@ -70,15 +70,19 @@ Supported networks:
70
70
  Minimal ABIs extracted from on-chain deployments:
71
71
 
72
72
  ```typescript
73
- import { Orchestrator, Escrow } from "@zkp2p/contracts-v2/abis/base"
74
- import * as baseSepoliaAbis from "@zkp2p/contracts-v2/abis/baseSepolia"
73
+ // Import specific contracts from a network
74
+ import { Orchestrator, Escrow } from "@zkp2p/contracts-v2/abis/baseSepolia"
75
75
 
76
- // Use the ABIs directly
76
+ // Use the ABIs directly with ethers or viem
77
77
  const orchestratorABI = Orchestrator;
78
78
  const escrowABI = Escrow;
79
79
 
80
- // Or access all ABIs for a network
80
+ // Alternative: Import all ABIs for a network
81
+ import * as baseSepoliaAbis from "@zkp2p/contracts-v2/abis/baseSepolia"
81
82
  const unifiedVerifierABI = baseSepoliaAbis.UnifiedPaymentVerifier;
83
+
84
+ // Also supports direct JSON imports for bundle optimization
85
+ import EscrowABI from "@zkp2p/contracts-v2/abis/baseSepolia/Escrow.json"
82
86
  ```
83
87
 
84
88
  ### 🔧 Network-Specific Protocol Constants
@@ -156,13 +160,35 @@ The package follows modern ESM/CJS patterns with clean subpath exports:
156
160
 
157
161
  All modules are directly accessible via subpath exports:
158
162
 
159
- - `@zkp2p/contracts-v2/addresses` - Contract addresses
160
- - `@zkp2p/contracts-v2/abis/<network>` - Contract ABIs per network
163
+ - `@zkp2p/contracts-v2/addresses` - Contract addresses for all networks
164
+ - `@zkp2p/contracts-v2/abis/<network>` - Contract ABIs per network (e.g., `/abis/baseSepolia`)
165
+ - `@zkp2p/contracts-v2/abis/<network>/<contract>.json` - Direct JSON import for specific contracts
161
166
  - `@zkp2p/contracts-v2/constants/<network>` - Constants per network
162
167
  - `@zkp2p/contracts-v2/paymentMethods` - Payment method configs
163
168
  - `@zkp2p/contracts-v2/utils/protocolUtils` - Protocol utilities
164
169
  - `@zkp2p/contracts-v2/types` - TypeScript types
165
170
 
171
+ ### Export Format Details
172
+
173
+ The package now uses explicit wrapper modules for each network to ensure reliable imports across all environments:
174
+
175
+ ```typescript
176
+ // Recommended: Import from network-specific wrappers
177
+ import { Escrow, Orchestrator } from "@zkp2p/contracts-v2/abis/baseSepolia"
178
+
179
+ // Alternative: Direct JSON imports for bundle size optimization
180
+ import EscrowABI from "@zkp2p/contracts-v2/abis/baseSepolia/Escrow.json"
181
+
182
+ // CommonJS compatibility
183
+ const { Escrow } = require("@zkp2p/contracts-v2/abis/baseSepolia")
184
+ ```
185
+
186
+ Each network export provides:
187
+ - CommonJS support (`.cjs`)
188
+ - ESM support (`.mjs`)
189
+ - TypeScript definitions (`.d.ts`)
190
+ - Direct JSON file access
191
+
166
192
  ## Version
167
193
 
168
194
  Current version: `0.0.1-rc5`
@@ -0,0 +1,513 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "address",
6
+ "name": "_escrow",
7
+ "type": "address"
8
+ },
9
+ {
10
+ "internalType": "contract INullifierRegistry",
11
+ "name": "_nullifierRegistry",
12
+ "type": "address"
13
+ },
14
+ {
15
+ "internalType": "uint256",
16
+ "name": "_timestampBuffer",
17
+ "type": "uint256"
18
+ },
19
+ {
20
+ "internalType": "bytes32[]",
21
+ "name": "_currencies",
22
+ "type": "bytes32[]"
23
+ },
24
+ {
25
+ "internalType": "string[]",
26
+ "name": "_providerHashes",
27
+ "type": "string[]"
28
+ }
29
+ ],
30
+ "stateMutability": "nonpayable",
31
+ "type": "constructor"
32
+ },
33
+ {
34
+ "anonymous": false,
35
+ "inputs": [
36
+ {
37
+ "indexed": false,
38
+ "internalType": "bytes32",
39
+ "name": "currencyCode",
40
+ "type": "bytes32"
41
+ }
42
+ ],
43
+ "name": "CurrencyAdded",
44
+ "type": "event"
45
+ },
46
+ {
47
+ "anonymous": false,
48
+ "inputs": [
49
+ {
50
+ "indexed": false,
51
+ "internalType": "bytes32",
52
+ "name": "currencyCode",
53
+ "type": "bytes32"
54
+ }
55
+ ],
56
+ "name": "CurrencyRemoved",
57
+ "type": "event"
58
+ },
59
+ {
60
+ "anonymous": false,
61
+ "inputs": [
62
+ {
63
+ "indexed": true,
64
+ "internalType": "address",
65
+ "name": "previousOwner",
66
+ "type": "address"
67
+ },
68
+ {
69
+ "indexed": true,
70
+ "internalType": "address",
71
+ "name": "newOwner",
72
+ "type": "address"
73
+ }
74
+ ],
75
+ "name": "OwnershipTransferred",
76
+ "type": "event"
77
+ },
78
+ {
79
+ "anonymous": false,
80
+ "inputs": [
81
+ {
82
+ "indexed": false,
83
+ "internalType": "string",
84
+ "name": "providerHash",
85
+ "type": "string"
86
+ }
87
+ ],
88
+ "name": "ProviderHashAdded",
89
+ "type": "event"
90
+ },
91
+ {
92
+ "anonymous": false,
93
+ "inputs": [
94
+ {
95
+ "indexed": false,
96
+ "internalType": "string",
97
+ "name": "providerHash",
98
+ "type": "string"
99
+ }
100
+ ],
101
+ "name": "ProviderHashRemoved",
102
+ "type": "event"
103
+ },
104
+ {
105
+ "anonymous": false,
106
+ "inputs": [
107
+ {
108
+ "indexed": false,
109
+ "internalType": "uint256",
110
+ "name": "timestampBuffer",
111
+ "type": "uint256"
112
+ }
113
+ ],
114
+ "name": "TimestampBufferSet",
115
+ "type": "event"
116
+ },
117
+ {
118
+ "inputs": [],
119
+ "name": "COMPLETE_PAYMENT_STATUS",
120
+ "outputs": [
121
+ {
122
+ "internalType": "bytes32",
123
+ "name": "",
124
+ "type": "bytes32"
125
+ }
126
+ ],
127
+ "stateMutability": "view",
128
+ "type": "function"
129
+ },
130
+ {
131
+ "inputs": [
132
+ {
133
+ "internalType": "bytes32",
134
+ "name": "_currencyCode",
135
+ "type": "bytes32"
136
+ }
137
+ ],
138
+ "name": "addCurrency",
139
+ "outputs": [],
140
+ "stateMutability": "nonpayable",
141
+ "type": "function"
142
+ },
143
+ {
144
+ "inputs": [
145
+ {
146
+ "internalType": "string",
147
+ "name": "_newProviderHash",
148
+ "type": "string"
149
+ }
150
+ ],
151
+ "name": "addProviderHash",
152
+ "outputs": [],
153
+ "stateMutability": "nonpayable",
154
+ "type": "function"
155
+ },
156
+ {
157
+ "inputs": [],
158
+ "name": "escrow",
159
+ "outputs": [
160
+ {
161
+ "internalType": "address",
162
+ "name": "",
163
+ "type": "address"
164
+ }
165
+ ],
166
+ "stateMutability": "view",
167
+ "type": "function"
168
+ },
169
+ {
170
+ "inputs": [],
171
+ "name": "getCurrencies",
172
+ "outputs": [
173
+ {
174
+ "internalType": "bytes32[]",
175
+ "name": "",
176
+ "type": "bytes32[]"
177
+ }
178
+ ],
179
+ "stateMutability": "view",
180
+ "type": "function"
181
+ },
182
+ {
183
+ "inputs": [],
184
+ "name": "getProviderHashes",
185
+ "outputs": [
186
+ {
187
+ "internalType": "string[]",
188
+ "name": "",
189
+ "type": "string[]"
190
+ }
191
+ ],
192
+ "stateMutability": "view",
193
+ "type": "function"
194
+ },
195
+ {
196
+ "inputs": [
197
+ {
198
+ "internalType": "bytes32",
199
+ "name": "",
200
+ "type": "bytes32"
201
+ }
202
+ ],
203
+ "name": "isCurrency",
204
+ "outputs": [
205
+ {
206
+ "internalType": "bool",
207
+ "name": "",
208
+ "type": "bool"
209
+ }
210
+ ],
211
+ "stateMutability": "view",
212
+ "type": "function"
213
+ },
214
+ {
215
+ "inputs": [
216
+ {
217
+ "internalType": "string",
218
+ "name": "",
219
+ "type": "string"
220
+ }
221
+ ],
222
+ "name": "isProviderHash",
223
+ "outputs": [
224
+ {
225
+ "internalType": "bool",
226
+ "name": "",
227
+ "type": "bool"
228
+ }
229
+ ],
230
+ "stateMutability": "view",
231
+ "type": "function"
232
+ },
233
+ {
234
+ "inputs": [],
235
+ "name": "nullifierRegistry",
236
+ "outputs": [
237
+ {
238
+ "internalType": "contract INullifierRegistry",
239
+ "name": "",
240
+ "type": "address"
241
+ }
242
+ ],
243
+ "stateMutability": "view",
244
+ "type": "function"
245
+ },
246
+ {
247
+ "inputs": [],
248
+ "name": "owner",
249
+ "outputs": [
250
+ {
251
+ "internalType": "address",
252
+ "name": "",
253
+ "type": "address"
254
+ }
255
+ ],
256
+ "stateMutability": "view",
257
+ "type": "function"
258
+ },
259
+ {
260
+ "inputs": [
261
+ {
262
+ "internalType": "uint256",
263
+ "name": "",
264
+ "type": "uint256"
265
+ }
266
+ ],
267
+ "name": "providerHashes",
268
+ "outputs": [
269
+ {
270
+ "internalType": "string",
271
+ "name": "",
272
+ "type": "string"
273
+ }
274
+ ],
275
+ "stateMutability": "view",
276
+ "type": "function"
277
+ },
278
+ {
279
+ "inputs": [
280
+ {
281
+ "internalType": "bytes32",
282
+ "name": "_currencyCode",
283
+ "type": "bytes32"
284
+ }
285
+ ],
286
+ "name": "removeCurrency",
287
+ "outputs": [],
288
+ "stateMutability": "nonpayable",
289
+ "type": "function"
290
+ },
291
+ {
292
+ "inputs": [
293
+ {
294
+ "internalType": "string",
295
+ "name": "_removeProviderHash",
296
+ "type": "string"
297
+ }
298
+ ],
299
+ "name": "removeProviderHash",
300
+ "outputs": [],
301
+ "stateMutability": "nonpayable",
302
+ "type": "function"
303
+ },
304
+ {
305
+ "inputs": [],
306
+ "name": "renounceOwnership",
307
+ "outputs": [],
308
+ "stateMutability": "nonpayable",
309
+ "type": "function"
310
+ },
311
+ {
312
+ "inputs": [
313
+ {
314
+ "internalType": "uint256",
315
+ "name": "_timestampBuffer",
316
+ "type": "uint256"
317
+ }
318
+ ],
319
+ "name": "setTimestampBuffer",
320
+ "outputs": [],
321
+ "stateMutability": "nonpayable",
322
+ "type": "function"
323
+ },
324
+ {
325
+ "inputs": [],
326
+ "name": "timestampBuffer",
327
+ "outputs": [
328
+ {
329
+ "internalType": "uint256",
330
+ "name": "",
331
+ "type": "uint256"
332
+ }
333
+ ],
334
+ "stateMutability": "view",
335
+ "type": "function"
336
+ },
337
+ {
338
+ "inputs": [
339
+ {
340
+ "internalType": "address",
341
+ "name": "newOwner",
342
+ "type": "address"
343
+ }
344
+ ],
345
+ "name": "transferOwnership",
346
+ "outputs": [],
347
+ "stateMutability": "nonpayable",
348
+ "type": "function"
349
+ },
350
+ {
351
+ "inputs": [
352
+ {
353
+ "components": [
354
+ {
355
+ "internalType": "bytes",
356
+ "name": "paymentProof",
357
+ "type": "bytes"
358
+ },
359
+ {
360
+ "internalType": "address",
361
+ "name": "depositToken",
362
+ "type": "address"
363
+ },
364
+ {
365
+ "internalType": "uint256",
366
+ "name": "intentAmount",
367
+ "type": "uint256"
368
+ },
369
+ {
370
+ "internalType": "uint256",
371
+ "name": "intentTimestamp",
372
+ "type": "uint256"
373
+ },
374
+ {
375
+ "internalType": "string",
376
+ "name": "payeeDetails",
377
+ "type": "string"
378
+ },
379
+ {
380
+ "internalType": "bytes32",
381
+ "name": "fiatCurrency",
382
+ "type": "bytes32"
383
+ },
384
+ {
385
+ "internalType": "uint256",
386
+ "name": "conversionRate",
387
+ "type": "uint256"
388
+ },
389
+ {
390
+ "internalType": "bytes",
391
+ "name": "data",
392
+ "type": "bytes"
393
+ }
394
+ ],
395
+ "internalType": "struct IPaymentVerifier.VerifyPaymentData",
396
+ "name": "_verifyPaymentData",
397
+ "type": "tuple"
398
+ }
399
+ ],
400
+ "name": "verifyPayment",
401
+ "outputs": [
402
+ {
403
+ "internalType": "bool",
404
+ "name": "",
405
+ "type": "bool"
406
+ },
407
+ {
408
+ "internalType": "bytes32",
409
+ "name": "",
410
+ "type": "bytes32"
411
+ }
412
+ ],
413
+ "stateMutability": "nonpayable",
414
+ "type": "function"
415
+ },
416
+ {
417
+ "inputs": [
418
+ {
419
+ "components": [
420
+ {
421
+ "components": [
422
+ {
423
+ "internalType": "string",
424
+ "name": "provider",
425
+ "type": "string"
426
+ },
427
+ {
428
+ "internalType": "string",
429
+ "name": "parameters",
430
+ "type": "string"
431
+ },
432
+ {
433
+ "internalType": "string",
434
+ "name": "context",
435
+ "type": "string"
436
+ }
437
+ ],
438
+ "internalType": "struct Claims.ClaimInfo",
439
+ "name": "claimInfo",
440
+ "type": "tuple"
441
+ },
442
+ {
443
+ "components": [
444
+ {
445
+ "components": [
446
+ {
447
+ "internalType": "bytes32",
448
+ "name": "identifier",
449
+ "type": "bytes32"
450
+ },
451
+ {
452
+ "internalType": "address",
453
+ "name": "owner",
454
+ "type": "address"
455
+ },
456
+ {
457
+ "internalType": "uint32",
458
+ "name": "timestampS",
459
+ "type": "uint32"
460
+ },
461
+ {
462
+ "internalType": "uint32",
463
+ "name": "epoch",
464
+ "type": "uint32"
465
+ }
466
+ ],
467
+ "internalType": "struct Claims.CompleteClaimData",
468
+ "name": "claim",
469
+ "type": "tuple"
470
+ },
471
+ {
472
+ "internalType": "bytes[]",
473
+ "name": "signatures",
474
+ "type": "bytes[]"
475
+ }
476
+ ],
477
+ "internalType": "struct Claims.SignedClaim",
478
+ "name": "signedClaim",
479
+ "type": "tuple"
480
+ },
481
+ {
482
+ "internalType": "bool",
483
+ "name": "isAppclipProof",
484
+ "type": "bool"
485
+ }
486
+ ],
487
+ "internalType": "struct IReclaimVerifier.ReclaimProof",
488
+ "name": "proof",
489
+ "type": "tuple"
490
+ },
491
+ {
492
+ "internalType": "address[]",
493
+ "name": "_witnesses",
494
+ "type": "address[]"
495
+ },
496
+ {
497
+ "internalType": "uint256",
498
+ "name": "_requiredThreshold",
499
+ "type": "uint256"
500
+ }
501
+ ],
502
+ "name": "verifyProofSignatures",
503
+ "outputs": [
504
+ {
505
+ "internalType": "bool",
506
+ "name": "",
507
+ "type": "bool"
508
+ }
509
+ ],
510
+ "stateMutability": "pure",
511
+ "type": "function"
512
+ }
513
+ ]