@ape.swap/bonds-sdk 1.0.473 → 1.0.475

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 (128) hide show
  1. package/dist/config/abi/bondNft.json +424 -0
  2. package/dist/config/abi/ens-public-resolver.json +816 -0
  3. package/dist/config/abi/ens-registrar.json +422 -0
  4. package/dist/config/abi/erc20_bytes32.json +30 -0
  5. package/dist/config/abi/jungleChef.json +291 -0
  6. package/dist/config/abi/launchBonds.json +2014 -0
  7. package/dist/config/abi/lockVeAbond.json +2198 -0
  8. package/dist/config/abi/migrationBond.json +1639 -0
  9. package/dist/config/abi/migrationFveAbond.json +160 -0
  10. package/dist/config/abi/multicallv3.json +92 -0
  11. package/dist/config/abi/sousChef.json +649 -0
  12. package/dist/config/abi/types/Banana.d.ts +417 -0
  13. package/dist/config/abi/types/Banana.js +1 -0
  14. package/dist/config/abi/types/Bond.d.ts +803 -0
  15. package/dist/config/abi/types/Bond.js +1 -0
  16. package/dist/config/abi/types/BondNft.d.ts +603 -0
  17. package/dist/config/abi/types/BondNft.js +1 -0
  18. package/dist/config/abi/types/EnsPublicResolver.d.ts +513 -0
  19. package/dist/config/abi/types/EnsPublicResolver.js +1 -0
  20. package/dist/config/abi/types/EnsRegistrar.d.ts +274 -0
  21. package/dist/config/abi/types/EnsRegistrar.js +1 -0
  22. package/dist/config/abi/types/Erc20.d.ts +168 -0
  23. package/dist/config/abi/types/Erc20.js +1 -0
  24. package/dist/config/abi/types/Erc20_bytes32.d.ts +50 -0
  25. package/dist/config/abi/types/Erc20_bytes32.js +1 -0
  26. package/dist/config/abi/types/JungleChef.d.ts +260 -0
  27. package/dist/config/abi/types/JungleChef.js +1 -0
  28. package/dist/config/abi/types/LaunchBonds.d.ts +1362 -0
  29. package/dist/config/abi/types/LaunchBonds.js +1 -0
  30. package/dist/config/abi/types/LensContract.d.ts +295 -0
  31. package/dist/config/abi/types/LensContract.js +1 -0
  32. package/dist/config/abi/types/LockVeAbond.d.ts +1279 -0
  33. package/dist/config/abi/types/LockVeAbond.js +1 -0
  34. package/dist/config/abi/types/MigrationBond.d.ts +1136 -0
  35. package/dist/config/abi/types/MigrationBond.js +1 -0
  36. package/dist/config/abi/types/MigrationFveAbond.d.ts +290 -0
  37. package/dist/config/abi/types/MigrationFveAbond.js +1 -0
  38. package/dist/config/abi/types/MiniComplexRewarder.d.ts +469 -0
  39. package/dist/config/abi/types/MiniComplexRewarder.js +1 -0
  40. package/dist/config/abi/types/Multicallv2.d.ts +150 -0
  41. package/dist/config/abi/types/Multicallv2.js +1 -0
  42. package/dist/config/abi/types/Multicallv3.d.ts +98 -0
  43. package/dist/config/abi/types/Multicallv3.js +1 -0
  44. package/dist/config/abi/types/NonFungibleApes.d.ts +532 -0
  45. package/dist/config/abi/types/NonFungibleApes.js +1 -0
  46. package/dist/config/abi/types/NonFungibleBananas.d.ts +505 -0
  47. package/dist/config/abi/types/NonFungibleBananas.js +1 -0
  48. package/dist/config/abi/types/PriceGetter.d.ts +713 -0
  49. package/dist/config/abi/types/PriceGetter.js +1 -0
  50. package/dist/config/abi/types/PriceGetterLinea.d.ts +789 -0
  51. package/dist/config/abi/types/PriceGetterLinea.js +1 -0
  52. package/dist/config/abi/types/PriceGetterV2.d.ts +729 -0
  53. package/dist/config/abi/types/PriceGetterV2.js +1 -0
  54. package/dist/config/abi/types/SousChef.d.ts +579 -0
  55. package/dist/config/abi/types/SousChef.js +1 -0
  56. package/dist/config/abi/types/Treasury.d.ts +277 -0
  57. package/dist/config/abi/types/Treasury.js +1 -0
  58. package/dist/config/abi/types/Weth.d.ts +221 -0
  59. package/dist/config/abi/types/Weth.js +1 -0
  60. package/dist/config/abi/types/Zap.d.ts +528 -0
  61. package/dist/config/abi/types/Zap.js +1 -0
  62. package/dist/config/abi/types/common.d.ts +22 -0
  63. package/dist/config/abi/types/common.js +1 -0
  64. package/dist/config/abi/types/factories/Banana__factory.d.ts +475 -0
  65. package/dist/config/abi/types/factories/Banana__factory.js +628 -0
  66. package/dist/config/abi/types/factories/BondNft__factory.d.ts +723 -0
  67. package/dist/config/abi/types/factories/BondNft__factory.js +951 -0
  68. package/dist/config/abi/types/factories/Bond__factory.d.ts +799 -0
  69. package/dist/config/abi/types/factories/Bond__factory.js +1042 -0
  70. package/dist/config/abi/types/factories/EnsPublicResolver__factory.d.ts +649 -0
  71. package/dist/config/abi/types/factories/EnsPublicResolver__factory.js +833 -0
  72. package/dist/config/abi/types/factories/EnsRegistrar__factory.d.ts +338 -0
  73. package/dist/config/abi/types/factories/EnsRegistrar__factory.js +439 -0
  74. package/dist/config/abi/types/factories/Erc20__factory.d.ts +175 -0
  75. package/dist/config/abi/types/factories/Erc20__factory.js +239 -0
  76. package/dist/config/abi/types/factories/Erc20_bytes32__factory.d.ts +30 -0
  77. package/dist/config/abi/types/factories/Erc20_bytes32__factory.js +47 -0
  78. package/dist/config/abi/types/factories/JungleChef__factory.d.ts +247 -0
  79. package/dist/config/abi/types/factories/JungleChef__factory.js +326 -0
  80. package/dist/config/abi/types/factories/LaunchBonds__factory.d.ts +1560 -0
  81. package/dist/config/abi/types/factories/LaunchBonds__factory.js +2031 -0
  82. package/dist/config/abi/types/factories/LensContract__factory.d.ts +254 -0
  83. package/dist/config/abi/types/factories/LensContract__factory.js +338 -0
  84. package/dist/config/abi/types/factories/LockVeAbond__factory.d.ts +1698 -0
  85. package/dist/config/abi/types/factories/LockVeAbond__factory.js +2215 -0
  86. package/dist/config/abi/types/factories/MigrationBond__factory.d.ts +1268 -0
  87. package/dist/config/abi/types/factories/MigrationBond__factory.js +1656 -0
  88. package/dist/config/abi/types/factories/MigrationFveAbond__factory.d.ts +262 -0
  89. package/dist/config/abi/types/factories/MigrationFveAbond__factory.js +346 -0
  90. package/dist/config/abi/types/factories/MiniComplexRewarder__factory.d.ts +448 -0
  91. package/dist/config/abi/types/factories/MiniComplexRewarder__factory.js +586 -0
  92. package/dist/config/abi/types/factories/Multicallv2__factory.d.ts +115 -0
  93. package/dist/config/abi/types/factories/Multicallv2__factory.js +160 -0
  94. package/dist/config/abi/types/factories/Multicallv3__factory.d.ts +76 -0
  95. package/dist/config/abi/types/factories/Multicallv3__factory.js +109 -0
  96. package/dist/config/abi/types/factories/NonFungibleApes__factory.d.ts +617 -0
  97. package/dist/config/abi/types/factories/NonFungibleApes__factory.js +810 -0
  98. package/dist/config/abi/types/factories/NonFungibleBananas__factory.d.ts +576 -0
  99. package/dist/config/abi/types/factories/NonFungibleBananas__factory.js +756 -0
  100. package/dist/config/abi/types/factories/PriceGetterLinea__factory.d.ts +1105 -0
  101. package/dist/config/abi/types/factories/PriceGetterLinea__factory.js +1465 -0
  102. package/dist/config/abi/types/factories/PriceGetterV2__factory.d.ts +1027 -0
  103. package/dist/config/abi/types/factories/PriceGetterV2__factory.js +1364 -0
  104. package/dist/config/abi/types/factories/PriceGetter__factory.d.ts +999 -0
  105. package/dist/config/abi/types/factories/PriceGetter__factory.js +1326 -0
  106. package/dist/config/abi/types/factories/SousChef__factory.d.ts +511 -0
  107. package/dist/config/abi/types/factories/SousChef__factory.js +666 -0
  108. package/dist/config/abi/types/factories/Treasury__factory.d.ts +235 -0
  109. package/dist/config/abi/types/factories/Treasury__factory.js +309 -0
  110. package/dist/config/abi/types/factories/Weth__factory.d.ts +220 -0
  111. package/dist/config/abi/types/factories/Weth__factory.js +296 -0
  112. package/dist/config/abi/types/factories/Zap__factory.d.ts +695 -0
  113. package/dist/config/abi/types/factories/Zap__factory.js +889 -0
  114. package/dist/config/abi/types/factories/index.d.ts +25 -0
  115. package/dist/config/abi/types/factories/index.js +28 -0
  116. package/dist/config/abi/types/index.d.ts +51 -0
  117. package/dist/config/abi/types/index.js +26 -0
  118. package/dist/config/abi/weth.json +279 -0
  119. package/dist/hooks/useClaimBill.d.ts +4 -0
  120. package/dist/hooks/useClaimBill.js +59 -0
  121. package/dist/hooks/useContract.d.ts +25 -0
  122. package/dist/hooks/useContract.js +107 -0
  123. package/dist/pages/YourBonds/YourBonds.js +37 -10
  124. package/dist/utils/index.d.ts +16 -0
  125. package/dist/utils/index.js +127 -0
  126. package/dist/utils/track.d.ts +7 -0
  127. package/dist/utils/track.js +17 -0
  128. package/package.json +1 -1
@@ -0,0 +1,951 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Contract, utils } from "ethers";
5
+ var _abi = [
6
+ {
7
+ anonymous: false,
8
+ inputs: [
9
+ {
10
+ indexed: true,
11
+ internalType: "address",
12
+ name: "owner",
13
+ type: "address",
14
+ },
15
+ {
16
+ indexed: true,
17
+ internalType: "address",
18
+ name: "approved",
19
+ type: "address",
20
+ },
21
+ {
22
+ indexed: true,
23
+ internalType: "uint256",
24
+ name: "tokenId",
25
+ type: "uint256",
26
+ },
27
+ ],
28
+ name: "Approval",
29
+ type: "event",
30
+ },
31
+ {
32
+ anonymous: false,
33
+ inputs: [
34
+ {
35
+ indexed: true,
36
+ internalType: "address",
37
+ name: "owner",
38
+ type: "address",
39
+ },
40
+ {
41
+ indexed: true,
42
+ internalType: "address",
43
+ name: "operator",
44
+ type: "address",
45
+ },
46
+ {
47
+ indexed: false,
48
+ internalType: "bool",
49
+ name: "approved",
50
+ type: "bool",
51
+ },
52
+ ],
53
+ name: "ApprovalForAll",
54
+ type: "event",
55
+ },
56
+ {
57
+ anonymous: false,
58
+ inputs: [
59
+ {
60
+ indexed: false,
61
+ internalType: "string",
62
+ name: "newUri",
63
+ type: "string",
64
+ },
65
+ ],
66
+ name: "BaseTokenUriChanged",
67
+ type: "event",
68
+ },
69
+ {
70
+ anonymous: false,
71
+ inputs: [
72
+ {
73
+ indexed: true,
74
+ internalType: "bytes32",
75
+ name: "role",
76
+ type: "bytes32",
77
+ },
78
+ {
79
+ indexed: true,
80
+ internalType: "bytes32",
81
+ name: "previousAdminRole",
82
+ type: "bytes32",
83
+ },
84
+ {
85
+ indexed: true,
86
+ internalType: "bytes32",
87
+ name: "newAdminRole",
88
+ type: "bytes32",
89
+ },
90
+ ],
91
+ name: "RoleAdminChanged",
92
+ type: "event",
93
+ },
94
+ {
95
+ anonymous: false,
96
+ inputs: [
97
+ {
98
+ indexed: true,
99
+ internalType: "bytes32",
100
+ name: "role",
101
+ type: "bytes32",
102
+ },
103
+ {
104
+ indexed: true,
105
+ internalType: "address",
106
+ name: "account",
107
+ type: "address",
108
+ },
109
+ {
110
+ indexed: true,
111
+ internalType: "address",
112
+ name: "sender",
113
+ type: "address",
114
+ },
115
+ ],
116
+ name: "RoleGranted",
117
+ type: "event",
118
+ },
119
+ {
120
+ anonymous: false,
121
+ inputs: [
122
+ {
123
+ indexed: true,
124
+ internalType: "bytes32",
125
+ name: "role",
126
+ type: "bytes32",
127
+ },
128
+ {
129
+ indexed: true,
130
+ internalType: "address",
131
+ name: "account",
132
+ type: "address",
133
+ },
134
+ {
135
+ indexed: true,
136
+ internalType: "address",
137
+ name: "sender",
138
+ type: "address",
139
+ },
140
+ ],
141
+ name: "RoleRevoked",
142
+ type: "event",
143
+ },
144
+ {
145
+ anonymous: false,
146
+ inputs: [
147
+ {
148
+ indexed: true,
149
+ internalType: "address",
150
+ name: "from",
151
+ type: "address",
152
+ },
153
+ {
154
+ indexed: true,
155
+ internalType: "address",
156
+ name: "to",
157
+ type: "address",
158
+ },
159
+ {
160
+ indexed: true,
161
+ internalType: "uint256",
162
+ name: "tokenId",
163
+ type: "uint256",
164
+ },
165
+ ],
166
+ name: "Transfer",
167
+ type: "event",
168
+ },
169
+ {
170
+ anonymous: false,
171
+ inputs: [
172
+ {
173
+ indexed: false,
174
+ internalType: "bool",
175
+ name: "locked",
176
+ type: "bool",
177
+ },
178
+ ],
179
+ name: "UriLocked",
180
+ type: "event",
181
+ },
182
+ {
183
+ inputs: [],
184
+ name: "DEFAULT_ADMIN_ROLE",
185
+ outputs: [
186
+ {
187
+ internalType: "bytes32",
188
+ name: "",
189
+ type: "bytes32",
190
+ },
191
+ ],
192
+ stateMutability: "view",
193
+ type: "function",
194
+ },
195
+ {
196
+ inputs: [],
197
+ name: "FACTORY_ROLE",
198
+ outputs: [
199
+ {
200
+ internalType: "bytes32",
201
+ name: "",
202
+ type: "bytes32",
203
+ },
204
+ ],
205
+ stateMutability: "view",
206
+ type: "function",
207
+ },
208
+ {
209
+ inputs: [],
210
+ name: "MINTER_ROLE",
211
+ outputs: [
212
+ {
213
+ internalType: "bytes32",
214
+ name: "",
215
+ type: "bytes32",
216
+ },
217
+ ],
218
+ stateMutability: "view",
219
+ type: "function",
220
+ },
221
+ {
222
+ inputs: [],
223
+ name: "URI_SETTER_ROLE",
224
+ outputs: [
225
+ {
226
+ internalType: "bytes32",
227
+ name: "",
228
+ type: "bytes32",
229
+ },
230
+ ],
231
+ stateMutability: "view",
232
+ type: "function",
233
+ },
234
+ {
235
+ inputs: [
236
+ {
237
+ internalType: "address",
238
+ name: "minter",
239
+ type: "address",
240
+ },
241
+ ],
242
+ name: "addMinter",
243
+ outputs: [],
244
+ stateMutability: "nonpayable",
245
+ type: "function",
246
+ },
247
+ {
248
+ inputs: [
249
+ {
250
+ internalType: "address",
251
+ name: "owner",
252
+ type: "address",
253
+ },
254
+ ],
255
+ name: "allTokensDataOfOwner",
256
+ outputs: [
257
+ {
258
+ components: [
259
+ {
260
+ internalType: "uint256",
261
+ name: "tokenId",
262
+ type: "uint256",
263
+ },
264
+ {
265
+ internalType: "address",
266
+ name: "billAddress",
267
+ type: "address",
268
+ },
269
+ ],
270
+ internalType: "struct BillNft.TokenData[]",
271
+ name: "",
272
+ type: "tuple[]",
273
+ },
274
+ ],
275
+ stateMutability: "view",
276
+ type: "function",
277
+ },
278
+ {
279
+ inputs: [
280
+ {
281
+ internalType: "address",
282
+ name: "to",
283
+ type: "address",
284
+ },
285
+ {
286
+ internalType: "uint256",
287
+ name: "tokenId",
288
+ type: "uint256",
289
+ },
290
+ ],
291
+ name: "approve",
292
+ outputs: [],
293
+ stateMutability: "nonpayable",
294
+ type: "function",
295
+ },
296
+ {
297
+ inputs: [
298
+ {
299
+ internalType: "address",
300
+ name: "owner",
301
+ type: "address",
302
+ },
303
+ ],
304
+ name: "balanceOf",
305
+ outputs: [
306
+ {
307
+ internalType: "uint256",
308
+ name: "",
309
+ type: "uint256",
310
+ },
311
+ ],
312
+ stateMutability: "view",
313
+ type: "function",
314
+ },
315
+ {
316
+ inputs: [
317
+ {
318
+ internalType: "uint256",
319
+ name: "",
320
+ type: "uint256",
321
+ },
322
+ ],
323
+ name: "billAddresses",
324
+ outputs: [
325
+ {
326
+ internalType: "address",
327
+ name: "",
328
+ type: "address",
329
+ },
330
+ ],
331
+ stateMutability: "view",
332
+ type: "function",
333
+ },
334
+ {
335
+ inputs: [
336
+ {
337
+ internalType: "uint256",
338
+ name: "tokenId",
339
+ type: "uint256",
340
+ },
341
+ ],
342
+ name: "getApproved",
343
+ outputs: [
344
+ {
345
+ internalType: "address",
346
+ name: "",
347
+ type: "address",
348
+ },
349
+ ],
350
+ stateMutability: "view",
351
+ type: "function",
352
+ },
353
+ {
354
+ inputs: [
355
+ {
356
+ internalType: "bytes32",
357
+ name: "role",
358
+ type: "bytes32",
359
+ },
360
+ ],
361
+ name: "getRoleAdmin",
362
+ outputs: [
363
+ {
364
+ internalType: "bytes32",
365
+ name: "",
366
+ type: "bytes32",
367
+ },
368
+ ],
369
+ stateMutability: "view",
370
+ type: "function",
371
+ },
372
+ {
373
+ inputs: [
374
+ {
375
+ internalType: "bytes32",
376
+ name: "role",
377
+ type: "bytes32",
378
+ },
379
+ {
380
+ internalType: "uint256",
381
+ name: "index",
382
+ type: "uint256",
383
+ },
384
+ ],
385
+ name: "getRoleMember",
386
+ outputs: [
387
+ {
388
+ internalType: "address",
389
+ name: "",
390
+ type: "address",
391
+ },
392
+ ],
393
+ stateMutability: "view",
394
+ type: "function",
395
+ },
396
+ {
397
+ inputs: [
398
+ {
399
+ internalType: "bytes32",
400
+ name: "role",
401
+ type: "bytes32",
402
+ },
403
+ ],
404
+ name: "getRoleMemberCount",
405
+ outputs: [
406
+ {
407
+ internalType: "uint256",
408
+ name: "",
409
+ type: "uint256",
410
+ },
411
+ ],
412
+ stateMutability: "view",
413
+ type: "function",
414
+ },
415
+ {
416
+ inputs: [
417
+ {
418
+ internalType: "address",
419
+ name: "owner",
420
+ type: "address",
421
+ },
422
+ {
423
+ internalType: "uint256",
424
+ name: "start",
425
+ type: "uint256",
426
+ },
427
+ {
428
+ internalType: "uint256",
429
+ name: "end",
430
+ type: "uint256",
431
+ },
432
+ ],
433
+ name: "getTokensOfOwnerByIndexes",
434
+ outputs: [
435
+ {
436
+ components: [
437
+ {
438
+ internalType: "uint256",
439
+ name: "tokenId",
440
+ type: "uint256",
441
+ },
442
+ {
443
+ internalType: "address",
444
+ name: "billAddress",
445
+ type: "address",
446
+ },
447
+ ],
448
+ internalType: "struct BillNft.TokenData[]",
449
+ name: "",
450
+ type: "tuple[]",
451
+ },
452
+ ],
453
+ stateMutability: "view",
454
+ type: "function",
455
+ },
456
+ {
457
+ inputs: [
458
+ {
459
+ internalType: "bytes32",
460
+ name: "role",
461
+ type: "bytes32",
462
+ },
463
+ {
464
+ internalType: "address",
465
+ name: "account",
466
+ type: "address",
467
+ },
468
+ ],
469
+ name: "grantRole",
470
+ outputs: [],
471
+ stateMutability: "nonpayable",
472
+ type: "function",
473
+ },
474
+ {
475
+ inputs: [
476
+ {
477
+ internalType: "bytes32",
478
+ name: "role",
479
+ type: "bytes32",
480
+ },
481
+ {
482
+ internalType: "address",
483
+ name: "account",
484
+ type: "address",
485
+ },
486
+ ],
487
+ name: "hasRole",
488
+ outputs: [
489
+ {
490
+ internalType: "bool",
491
+ name: "",
492
+ type: "bool",
493
+ },
494
+ ],
495
+ stateMutability: "view",
496
+ type: "function",
497
+ },
498
+ {
499
+ inputs: [
500
+ {
501
+ internalType: "string",
502
+ name: "name",
503
+ type: "string",
504
+ },
505
+ {
506
+ internalType: "string",
507
+ name: "symbol",
508
+ type: "string",
509
+ },
510
+ {
511
+ internalType: "string",
512
+ name: "baseTokenURI",
513
+ type: "string",
514
+ },
515
+ {
516
+ internalType: "address",
517
+ name: "factory",
518
+ type: "address",
519
+ },
520
+ {
521
+ internalType: "address",
522
+ name: "owner",
523
+ type: "address",
524
+ },
525
+ ],
526
+ name: "initialize",
527
+ outputs: [],
528
+ stateMutability: "nonpayable",
529
+ type: "function",
530
+ },
531
+ {
532
+ inputs: [
533
+ {
534
+ internalType: "address",
535
+ name: "owner",
536
+ type: "address",
537
+ },
538
+ {
539
+ internalType: "address",
540
+ name: "operator",
541
+ type: "address",
542
+ },
543
+ ],
544
+ name: "isApprovedForAll",
545
+ outputs: [
546
+ {
547
+ internalType: "bool",
548
+ name: "",
549
+ type: "bool",
550
+ },
551
+ ],
552
+ stateMutability: "view",
553
+ type: "function",
554
+ },
555
+ {
556
+ inputs: [],
557
+ name: "lockURI",
558
+ outputs: [],
559
+ stateMutability: "nonpayable",
560
+ type: "function",
561
+ },
562
+ {
563
+ inputs: [
564
+ {
565
+ internalType: "address",
566
+ name: "to",
567
+ type: "address",
568
+ },
569
+ {
570
+ internalType: "address",
571
+ name: "billAddress",
572
+ type: "address",
573
+ },
574
+ ],
575
+ name: "mint",
576
+ outputs: [
577
+ {
578
+ internalType: "uint256",
579
+ name: "newTokenId",
580
+ type: "uint256",
581
+ },
582
+ ],
583
+ stateMutability: "nonpayable",
584
+ type: "function",
585
+ },
586
+ {
587
+ inputs: [
588
+ {
589
+ internalType: "uint256",
590
+ name: "amount",
591
+ type: "uint256",
592
+ },
593
+ {
594
+ internalType: "address",
595
+ name: "to",
596
+ type: "address",
597
+ },
598
+ {
599
+ internalType: "address",
600
+ name: "billAddress",
601
+ type: "address",
602
+ },
603
+ ],
604
+ name: "mintMany",
605
+ outputs: [],
606
+ stateMutability: "nonpayable",
607
+ type: "function",
608
+ },
609
+ {
610
+ inputs: [],
611
+ name: "name",
612
+ outputs: [
613
+ {
614
+ internalType: "string",
615
+ name: "",
616
+ type: "string",
617
+ },
618
+ ],
619
+ stateMutability: "view",
620
+ type: "function",
621
+ },
622
+ {
623
+ inputs: [
624
+ {
625
+ internalType: "uint256",
626
+ name: "tokenId",
627
+ type: "uint256",
628
+ },
629
+ ],
630
+ name: "ownerOf",
631
+ outputs: [
632
+ {
633
+ internalType: "address",
634
+ name: "",
635
+ type: "address",
636
+ },
637
+ ],
638
+ stateMutability: "view",
639
+ type: "function",
640
+ },
641
+ {
642
+ inputs: [
643
+ {
644
+ internalType: "bytes32",
645
+ name: "role",
646
+ type: "bytes32",
647
+ },
648
+ {
649
+ internalType: "address",
650
+ name: "account",
651
+ type: "address",
652
+ },
653
+ ],
654
+ name: "renounceRole",
655
+ outputs: [],
656
+ stateMutability: "nonpayable",
657
+ type: "function",
658
+ },
659
+ {
660
+ inputs: [
661
+ {
662
+ internalType: "bytes32",
663
+ name: "role",
664
+ type: "bytes32",
665
+ },
666
+ {
667
+ internalType: "address",
668
+ name: "account",
669
+ type: "address",
670
+ },
671
+ ],
672
+ name: "revokeRole",
673
+ outputs: [],
674
+ stateMutability: "nonpayable",
675
+ type: "function",
676
+ },
677
+ {
678
+ inputs: [
679
+ {
680
+ internalType: "address",
681
+ name: "from",
682
+ type: "address",
683
+ },
684
+ {
685
+ internalType: "address",
686
+ name: "to",
687
+ type: "address",
688
+ },
689
+ {
690
+ internalType: "uint256",
691
+ name: "tokenId",
692
+ type: "uint256",
693
+ },
694
+ ],
695
+ name: "safeTransferFrom",
696
+ outputs: [],
697
+ stateMutability: "nonpayable",
698
+ type: "function",
699
+ },
700
+ {
701
+ inputs: [
702
+ {
703
+ internalType: "address",
704
+ name: "from",
705
+ type: "address",
706
+ },
707
+ {
708
+ internalType: "address",
709
+ name: "to",
710
+ type: "address",
711
+ },
712
+ {
713
+ internalType: "uint256",
714
+ name: "tokenId",
715
+ type: "uint256",
716
+ },
717
+ {
718
+ internalType: "bytes",
719
+ name: "_data",
720
+ type: "bytes",
721
+ },
722
+ ],
723
+ name: "safeTransferFrom",
724
+ outputs: [],
725
+ stateMutability: "nonpayable",
726
+ type: "function",
727
+ },
728
+ {
729
+ inputs: [
730
+ {
731
+ internalType: "address",
732
+ name: "operator",
733
+ type: "address",
734
+ },
735
+ {
736
+ internalType: "bool",
737
+ name: "approved",
738
+ type: "bool",
739
+ },
740
+ ],
741
+ name: "setApprovalForAll",
742
+ outputs: [],
743
+ stateMutability: "nonpayable",
744
+ type: "function",
745
+ },
746
+ {
747
+ inputs: [
748
+ {
749
+ internalType: "string",
750
+ name: "baseTokenURI",
751
+ type: "string",
752
+ },
753
+ ],
754
+ name: "setBaseURI",
755
+ outputs: [],
756
+ stateMutability: "nonpayable",
757
+ type: "function",
758
+ },
759
+ {
760
+ inputs: [
761
+ {
762
+ internalType: "bytes4",
763
+ name: "interfaceId",
764
+ type: "bytes4",
765
+ },
766
+ ],
767
+ name: "supportsInterface",
768
+ outputs: [
769
+ {
770
+ internalType: "bool",
771
+ name: "",
772
+ type: "bool",
773
+ },
774
+ ],
775
+ stateMutability: "view",
776
+ type: "function",
777
+ },
778
+ {
779
+ inputs: [],
780
+ name: "symbol",
781
+ outputs: [
782
+ {
783
+ internalType: "string",
784
+ name: "",
785
+ type: "string",
786
+ },
787
+ ],
788
+ stateMutability: "view",
789
+ type: "function",
790
+ },
791
+ {
792
+ inputs: [
793
+ {
794
+ internalType: "uint256",
795
+ name: "index",
796
+ type: "uint256",
797
+ },
798
+ ],
799
+ name: "tokenByIndex",
800
+ outputs: [
801
+ {
802
+ internalType: "uint256",
803
+ name: "",
804
+ type: "uint256",
805
+ },
806
+ ],
807
+ stateMutability: "view",
808
+ type: "function",
809
+ },
810
+ {
811
+ inputs: [
812
+ {
813
+ internalType: "address",
814
+ name: "owner",
815
+ type: "address",
816
+ },
817
+ {
818
+ internalType: "uint256",
819
+ name: "index",
820
+ type: "uint256",
821
+ },
822
+ ],
823
+ name: "tokenDataOfOwnerByIndex",
824
+ outputs: [
825
+ {
826
+ components: [
827
+ {
828
+ internalType: "uint256",
829
+ name: "tokenId",
830
+ type: "uint256",
831
+ },
832
+ {
833
+ internalType: "address",
834
+ name: "billAddress",
835
+ type: "address",
836
+ },
837
+ ],
838
+ internalType: "struct BillNft.TokenData",
839
+ name: "tokenData",
840
+ type: "tuple",
841
+ },
842
+ ],
843
+ stateMutability: "view",
844
+ type: "function",
845
+ },
846
+ {
847
+ inputs: [
848
+ {
849
+ internalType: "address",
850
+ name: "owner",
851
+ type: "address",
852
+ },
853
+ {
854
+ internalType: "uint256",
855
+ name: "index",
856
+ type: "uint256",
857
+ },
858
+ ],
859
+ name: "tokenOfOwnerByIndex",
860
+ outputs: [
861
+ {
862
+ internalType: "uint256",
863
+ name: "",
864
+ type: "uint256",
865
+ },
866
+ ],
867
+ stateMutability: "view",
868
+ type: "function",
869
+ },
870
+ {
871
+ inputs: [
872
+ {
873
+ internalType: "uint256",
874
+ name: "tokenId",
875
+ type: "uint256",
876
+ },
877
+ ],
878
+ name: "tokenURI",
879
+ outputs: [
880
+ {
881
+ internalType: "string",
882
+ name: "",
883
+ type: "string",
884
+ },
885
+ ],
886
+ stateMutability: "view",
887
+ type: "function",
888
+ },
889
+ {
890
+ inputs: [],
891
+ name: "totalSupply",
892
+ outputs: [
893
+ {
894
+ internalType: "uint256",
895
+ name: "",
896
+ type: "uint256",
897
+ },
898
+ ],
899
+ stateMutability: "view",
900
+ type: "function",
901
+ },
902
+ {
903
+ inputs: [
904
+ {
905
+ internalType: "address",
906
+ name: "from",
907
+ type: "address",
908
+ },
909
+ {
910
+ internalType: "address",
911
+ name: "to",
912
+ type: "address",
913
+ },
914
+ {
915
+ internalType: "uint256",
916
+ name: "tokenId",
917
+ type: "uint256",
918
+ },
919
+ ],
920
+ name: "transferFrom",
921
+ outputs: [],
922
+ stateMutability: "nonpayable",
923
+ type: "function",
924
+ },
925
+ {
926
+ inputs: [],
927
+ name: "uriLocked",
928
+ outputs: [
929
+ {
930
+ internalType: "bool",
931
+ name: "",
932
+ type: "bool",
933
+ },
934
+ ],
935
+ stateMutability: "view",
936
+ type: "function",
937
+ },
938
+ ];
939
+ var BondNft__factory = /** @class */ (function () {
940
+ function BondNft__factory() {
941
+ }
942
+ BondNft__factory.createInterface = function () {
943
+ return new utils.Interface(_abi);
944
+ };
945
+ BondNft__factory.connect = function (address, signerOrProvider) {
946
+ return new Contract(address, _abi, signerOrProvider);
947
+ };
948
+ BondNft__factory.abi = _abi;
949
+ return BondNft__factory;
950
+ }());
951
+ export { BondNft__factory };