@requestnetwork/smart-contracts 0.29.1-next.1888 → 0.29.1-next.1889

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.
@@ -0,0 +1,655 @@
1
+ {
2
+ "abi": [
3
+ {
4
+ "inputs": [
5
+ {
6
+ "internalType": "string",
7
+ "name": "name",
8
+ "type": "string"
9
+ },
10
+ {
11
+ "internalType": "string",
12
+ "name": "symbol",
13
+ "type": "string"
14
+ },
15
+ {
16
+ "internalType": "address",
17
+ "name": "_paymentProxyAddress",
18
+ "type": "address"
19
+ }
20
+ ],
21
+ "stateMutability": "nonpayable",
22
+ "type": "constructor"
23
+ },
24
+ {
25
+ "anonymous": false,
26
+ "inputs": [
27
+ {
28
+ "indexed": true,
29
+ "internalType": "address",
30
+ "name": "owner",
31
+ "type": "address"
32
+ },
33
+ {
34
+ "indexed": true,
35
+ "internalType": "address",
36
+ "name": "approved",
37
+ "type": "address"
38
+ },
39
+ {
40
+ "indexed": true,
41
+ "internalType": "uint256",
42
+ "name": "tokenId",
43
+ "type": "uint256"
44
+ }
45
+ ],
46
+ "name": "Approval",
47
+ "type": "event"
48
+ },
49
+ {
50
+ "anonymous": false,
51
+ "inputs": [
52
+ {
53
+ "indexed": true,
54
+ "internalType": "address",
55
+ "name": "owner",
56
+ "type": "address"
57
+ },
58
+ {
59
+ "indexed": true,
60
+ "internalType": "address",
61
+ "name": "operator",
62
+ "type": "address"
63
+ },
64
+ {
65
+ "indexed": false,
66
+ "internalType": "bool",
67
+ "name": "approved",
68
+ "type": "bool"
69
+ }
70
+ ],
71
+ "name": "ApprovalForAll",
72
+ "type": "event"
73
+ },
74
+ {
75
+ "anonymous": false,
76
+ "inputs": [
77
+ {
78
+ "indexed": true,
79
+ "internalType": "address",
80
+ "name": "from",
81
+ "type": "address"
82
+ },
83
+ {
84
+ "indexed": true,
85
+ "internalType": "address",
86
+ "name": "to",
87
+ "type": "address"
88
+ },
89
+ {
90
+ "indexed": true,
91
+ "internalType": "uint256",
92
+ "name": "tokenId",
93
+ "type": "uint256"
94
+ }
95
+ ],
96
+ "name": "Transfer",
97
+ "type": "event"
98
+ },
99
+ {
100
+ "anonymous": false,
101
+ "inputs": [
102
+ {
103
+ "indexed": false,
104
+ "internalType": "address",
105
+ "name": "tokenAddress",
106
+ "type": "address"
107
+ },
108
+ {
109
+ "indexed": false,
110
+ "internalType": "address",
111
+ "name": "to",
112
+ "type": "address"
113
+ },
114
+ {
115
+ "indexed": false,
116
+ "internalType": "uint256",
117
+ "name": "amount",
118
+ "type": "uint256"
119
+ },
120
+ {
121
+ "indexed": true,
122
+ "internalType": "bytes",
123
+ "name": "paymentReference",
124
+ "type": "bytes"
125
+ },
126
+ {
127
+ "indexed": false,
128
+ "internalType": "uint256",
129
+ "name": "feeAmount",
130
+ "type": "uint256"
131
+ },
132
+ {
133
+ "indexed": false,
134
+ "internalType": "address",
135
+ "name": "feeAddress",
136
+ "type": "address"
137
+ }
138
+ ],
139
+ "name": "TransferWithReferenceAndFee",
140
+ "type": "event"
141
+ },
142
+ {
143
+ "anonymous": false,
144
+ "inputs": [
145
+ {
146
+ "indexed": false,
147
+ "internalType": "address",
148
+ "name": "sender",
149
+ "type": "address"
150
+ },
151
+ {
152
+ "indexed": false,
153
+ "internalType": "address",
154
+ "name": "recipient",
155
+ "type": "address"
156
+ },
157
+ {
158
+ "indexed": false,
159
+ "internalType": "uint256",
160
+ "name": "amount",
161
+ "type": "uint256"
162
+ },
163
+ {
164
+ "indexed": false,
165
+ "internalType": "address",
166
+ "name": "paymentProxy",
167
+ "type": "address"
168
+ },
169
+ {
170
+ "indexed": false,
171
+ "internalType": "uint256",
172
+ "name": "receivableTokenId",
173
+ "type": "uint256"
174
+ },
175
+ {
176
+ "indexed": false,
177
+ "internalType": "address",
178
+ "name": "tokenAddress",
179
+ "type": "address"
180
+ },
181
+ {
182
+ "indexed": false,
183
+ "internalType": "uint256",
184
+ "name": "paymentId",
185
+ "type": "uint256"
186
+ },
187
+ {
188
+ "indexed": true,
189
+ "internalType": "bytes",
190
+ "name": "paymentReference",
191
+ "type": "bytes"
192
+ }
193
+ ],
194
+ "name": "TransferableReceivablePayment",
195
+ "type": "event"
196
+ },
197
+ {
198
+ "inputs": [
199
+ {
200
+ "internalType": "address",
201
+ "name": "to",
202
+ "type": "address"
203
+ },
204
+ {
205
+ "internalType": "uint256",
206
+ "name": "tokenId",
207
+ "type": "uint256"
208
+ }
209
+ ],
210
+ "name": "approve",
211
+ "outputs": [],
212
+ "stateMutability": "nonpayable",
213
+ "type": "function"
214
+ },
215
+ {
216
+ "inputs": [
217
+ {
218
+ "internalType": "address",
219
+ "name": "owner",
220
+ "type": "address"
221
+ }
222
+ ],
223
+ "name": "balanceOf",
224
+ "outputs": [
225
+ {
226
+ "internalType": "uint256",
227
+ "name": "",
228
+ "type": "uint256"
229
+ }
230
+ ],
231
+ "stateMutability": "view",
232
+ "type": "function"
233
+ },
234
+ {
235
+ "inputs": [
236
+ {
237
+ "internalType": "uint256",
238
+ "name": "tokenId",
239
+ "type": "uint256"
240
+ }
241
+ ],
242
+ "name": "getApproved",
243
+ "outputs": [
244
+ {
245
+ "internalType": "address",
246
+ "name": "",
247
+ "type": "address"
248
+ }
249
+ ],
250
+ "stateMutability": "view",
251
+ "type": "function"
252
+ },
253
+ {
254
+ "inputs": [
255
+ {
256
+ "internalType": "address",
257
+ "name": "_owner",
258
+ "type": "address"
259
+ }
260
+ ],
261
+ "name": "getTokenIds",
262
+ "outputs": [
263
+ {
264
+ "internalType": "uint256[]",
265
+ "name": "",
266
+ "type": "uint256[]"
267
+ }
268
+ ],
269
+ "stateMutability": "view",
270
+ "type": "function"
271
+ },
272
+ {
273
+ "inputs": [
274
+ {
275
+ "internalType": "address",
276
+ "name": "owner",
277
+ "type": "address"
278
+ },
279
+ {
280
+ "internalType": "address",
281
+ "name": "operator",
282
+ "type": "address"
283
+ }
284
+ ],
285
+ "name": "isApprovedForAll",
286
+ "outputs": [
287
+ {
288
+ "internalType": "bool",
289
+ "name": "",
290
+ "type": "bool"
291
+ }
292
+ ],
293
+ "stateMutability": "view",
294
+ "type": "function"
295
+ },
296
+ {
297
+ "inputs": [
298
+ {
299
+ "internalType": "address",
300
+ "name": "owner",
301
+ "type": "address"
302
+ },
303
+ {
304
+ "internalType": "bytes",
305
+ "name": "paymentReference",
306
+ "type": "bytes"
307
+ },
308
+ {
309
+ "internalType": "uint256",
310
+ "name": "amount",
311
+ "type": "uint256"
312
+ },
313
+ {
314
+ "internalType": "address",
315
+ "name": "erc20Addr",
316
+ "type": "address"
317
+ },
318
+ {
319
+ "internalType": "string",
320
+ "name": "newTokenURI",
321
+ "type": "string"
322
+ }
323
+ ],
324
+ "name": "mint",
325
+ "outputs": [],
326
+ "stateMutability": "nonpayable",
327
+ "type": "function"
328
+ },
329
+ {
330
+ "inputs": [],
331
+ "name": "name",
332
+ "outputs": [
333
+ {
334
+ "internalType": "string",
335
+ "name": "",
336
+ "type": "string"
337
+ }
338
+ ],
339
+ "stateMutability": "view",
340
+ "type": "function"
341
+ },
342
+ {
343
+ "inputs": [
344
+ {
345
+ "internalType": "uint256",
346
+ "name": "tokenId",
347
+ "type": "uint256"
348
+ }
349
+ ],
350
+ "name": "ownerOf",
351
+ "outputs": [
352
+ {
353
+ "internalType": "address",
354
+ "name": "",
355
+ "type": "address"
356
+ }
357
+ ],
358
+ "stateMutability": "view",
359
+ "type": "function"
360
+ },
361
+ {
362
+ "inputs": [
363
+ {
364
+ "internalType": "uint256",
365
+ "name": "receivableTokenId",
366
+ "type": "uint256"
367
+ },
368
+ {
369
+ "internalType": "uint256",
370
+ "name": "amount",
371
+ "type": "uint256"
372
+ },
373
+ {
374
+ "internalType": "bytes",
375
+ "name": "paymentReference",
376
+ "type": "bytes"
377
+ },
378
+ {
379
+ "internalType": "uint256",
380
+ "name": "feeAmount",
381
+ "type": "uint256"
382
+ },
383
+ {
384
+ "internalType": "address",
385
+ "name": "feeAddress",
386
+ "type": "address"
387
+ }
388
+ ],
389
+ "name": "payOwner",
390
+ "outputs": [],
391
+ "stateMutability": "nonpayable",
392
+ "type": "function"
393
+ },
394
+ {
395
+ "inputs": [],
396
+ "name": "paymentProxy",
397
+ "outputs": [
398
+ {
399
+ "internalType": "address",
400
+ "name": "",
401
+ "type": "address"
402
+ }
403
+ ],
404
+ "stateMutability": "view",
405
+ "type": "function"
406
+ },
407
+ {
408
+ "inputs": [
409
+ {
410
+ "internalType": "uint256",
411
+ "name": "",
412
+ "type": "uint256"
413
+ }
414
+ ],
415
+ "name": "receivableInfoMapping",
416
+ "outputs": [
417
+ {
418
+ "internalType": "address",
419
+ "name": "tokenAddress",
420
+ "type": "address"
421
+ },
422
+ {
423
+ "internalType": "uint256",
424
+ "name": "amount",
425
+ "type": "uint256"
426
+ },
427
+ {
428
+ "internalType": "uint256",
429
+ "name": "balance",
430
+ "type": "uint256"
431
+ }
432
+ ],
433
+ "stateMutability": "view",
434
+ "type": "function"
435
+ },
436
+ {
437
+ "inputs": [
438
+ {
439
+ "internalType": "bytes32",
440
+ "name": "",
441
+ "type": "bytes32"
442
+ }
443
+ ],
444
+ "name": "receivableTokenIdMapping",
445
+ "outputs": [
446
+ {
447
+ "internalType": "uint256",
448
+ "name": "",
449
+ "type": "uint256"
450
+ }
451
+ ],
452
+ "stateMutability": "view",
453
+ "type": "function"
454
+ },
455
+ {
456
+ "inputs": [
457
+ {
458
+ "internalType": "address",
459
+ "name": "from",
460
+ "type": "address"
461
+ },
462
+ {
463
+ "internalType": "address",
464
+ "name": "to",
465
+ "type": "address"
466
+ },
467
+ {
468
+ "internalType": "uint256",
469
+ "name": "tokenId",
470
+ "type": "uint256"
471
+ }
472
+ ],
473
+ "name": "safeTransferFrom",
474
+ "outputs": [],
475
+ "stateMutability": "nonpayable",
476
+ "type": "function"
477
+ },
478
+ {
479
+ "inputs": [
480
+ {
481
+ "internalType": "address",
482
+ "name": "from",
483
+ "type": "address"
484
+ },
485
+ {
486
+ "internalType": "address",
487
+ "name": "to",
488
+ "type": "address"
489
+ },
490
+ {
491
+ "internalType": "uint256",
492
+ "name": "tokenId",
493
+ "type": "uint256"
494
+ },
495
+ {
496
+ "internalType": "bytes",
497
+ "name": "_data",
498
+ "type": "bytes"
499
+ }
500
+ ],
501
+ "name": "safeTransferFrom",
502
+ "outputs": [],
503
+ "stateMutability": "nonpayable",
504
+ "type": "function"
505
+ },
506
+ {
507
+ "inputs": [
508
+ {
509
+ "internalType": "address",
510
+ "name": "operator",
511
+ "type": "address"
512
+ },
513
+ {
514
+ "internalType": "bool",
515
+ "name": "approved",
516
+ "type": "bool"
517
+ }
518
+ ],
519
+ "name": "setApprovalForAll",
520
+ "outputs": [],
521
+ "stateMutability": "nonpayable",
522
+ "type": "function"
523
+ },
524
+ {
525
+ "inputs": [
526
+ {
527
+ "internalType": "bytes4",
528
+ "name": "interfaceId",
529
+ "type": "bytes4"
530
+ }
531
+ ],
532
+ "name": "supportsInterface",
533
+ "outputs": [
534
+ {
535
+ "internalType": "bool",
536
+ "name": "",
537
+ "type": "bool"
538
+ }
539
+ ],
540
+ "stateMutability": "view",
541
+ "type": "function"
542
+ },
543
+ {
544
+ "inputs": [],
545
+ "name": "symbol",
546
+ "outputs": [
547
+ {
548
+ "internalType": "string",
549
+ "name": "",
550
+ "type": "string"
551
+ }
552
+ ],
553
+ "stateMutability": "view",
554
+ "type": "function"
555
+ },
556
+ {
557
+ "inputs": [
558
+ {
559
+ "internalType": "uint256",
560
+ "name": "index",
561
+ "type": "uint256"
562
+ }
563
+ ],
564
+ "name": "tokenByIndex",
565
+ "outputs": [
566
+ {
567
+ "internalType": "uint256",
568
+ "name": "",
569
+ "type": "uint256"
570
+ }
571
+ ],
572
+ "stateMutability": "view",
573
+ "type": "function"
574
+ },
575
+ {
576
+ "inputs": [
577
+ {
578
+ "internalType": "address",
579
+ "name": "owner",
580
+ "type": "address"
581
+ },
582
+ {
583
+ "internalType": "uint256",
584
+ "name": "index",
585
+ "type": "uint256"
586
+ }
587
+ ],
588
+ "name": "tokenOfOwnerByIndex",
589
+ "outputs": [
590
+ {
591
+ "internalType": "uint256",
592
+ "name": "",
593
+ "type": "uint256"
594
+ }
595
+ ],
596
+ "stateMutability": "view",
597
+ "type": "function"
598
+ },
599
+ {
600
+ "inputs": [
601
+ {
602
+ "internalType": "uint256",
603
+ "name": "tokenId",
604
+ "type": "uint256"
605
+ }
606
+ ],
607
+ "name": "tokenURI",
608
+ "outputs": [
609
+ {
610
+ "internalType": "string",
611
+ "name": "",
612
+ "type": "string"
613
+ }
614
+ ],
615
+ "stateMutability": "view",
616
+ "type": "function"
617
+ },
618
+ {
619
+ "inputs": [],
620
+ "name": "totalSupply",
621
+ "outputs": [
622
+ {
623
+ "internalType": "uint256",
624
+ "name": "",
625
+ "type": "uint256"
626
+ }
627
+ ],
628
+ "stateMutability": "view",
629
+ "type": "function"
630
+ },
631
+ {
632
+ "inputs": [
633
+ {
634
+ "internalType": "address",
635
+ "name": "from",
636
+ "type": "address"
637
+ },
638
+ {
639
+ "internalType": "address",
640
+ "name": "to",
641
+ "type": "address"
642
+ },
643
+ {
644
+ "internalType": "uint256",
645
+ "name": "tokenId",
646
+ "type": "uint256"
647
+ }
648
+ ],
649
+ "name": "transferFrom",
650
+ "outputs": [],
651
+ "stateMutability": "nonpayable",
652
+ "type": "function"
653
+ }
654
+ ]
655
+ }