@ape.swap/bonds-sdk 1.0.470 → 1.0.474

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 (134) hide show
  1. package/dist/components/Modals/BondModal/BondModal.d.ts +6 -2
  2. package/dist/components/Modals/BondModal/BondModal.js +6 -7
  3. package/dist/components/YourBondsModal/YourBondsModal.d.ts +6 -2
  4. package/dist/components/YourBondsModal/YourBondsModal.js +8 -9
  5. package/dist/config/abi/bondNft.json +424 -0
  6. package/dist/config/abi/ens-public-resolver.json +816 -0
  7. package/dist/config/abi/ens-registrar.json +422 -0
  8. package/dist/config/abi/erc20_bytes32.json +30 -0
  9. package/dist/config/abi/jungleChef.json +291 -0
  10. package/dist/config/abi/launchBonds.json +2014 -0
  11. package/dist/config/abi/lockVeAbond.json +2198 -0
  12. package/dist/config/abi/migrationBond.json +1639 -0
  13. package/dist/config/abi/migrationFveAbond.json +160 -0
  14. package/dist/config/abi/multicallv3.json +92 -0
  15. package/dist/config/abi/sousChef.json +649 -0
  16. package/dist/config/abi/types/Banana.d.ts +417 -0
  17. package/dist/config/abi/types/Banana.js +1 -0
  18. package/dist/config/abi/types/Bond.d.ts +803 -0
  19. package/dist/config/abi/types/Bond.js +1 -0
  20. package/dist/config/abi/types/BondNft.d.ts +603 -0
  21. package/dist/config/abi/types/BondNft.js +1 -0
  22. package/dist/config/abi/types/EnsPublicResolver.d.ts +513 -0
  23. package/dist/config/abi/types/EnsPublicResolver.js +1 -0
  24. package/dist/config/abi/types/EnsRegistrar.d.ts +274 -0
  25. package/dist/config/abi/types/EnsRegistrar.js +1 -0
  26. package/dist/config/abi/types/Erc20.d.ts +168 -0
  27. package/dist/config/abi/types/Erc20.js +1 -0
  28. package/dist/config/abi/types/Erc20_bytes32.d.ts +50 -0
  29. package/dist/config/abi/types/Erc20_bytes32.js +1 -0
  30. package/dist/config/abi/types/JungleChef.d.ts +260 -0
  31. package/dist/config/abi/types/JungleChef.js +1 -0
  32. package/dist/config/abi/types/LaunchBonds.d.ts +1362 -0
  33. package/dist/config/abi/types/LaunchBonds.js +1 -0
  34. package/dist/config/abi/types/LensContract.d.ts +295 -0
  35. package/dist/config/abi/types/LensContract.js +1 -0
  36. package/dist/config/abi/types/LockVeAbond.d.ts +1279 -0
  37. package/dist/config/abi/types/LockVeAbond.js +1 -0
  38. package/dist/config/abi/types/MigrationBond.d.ts +1136 -0
  39. package/dist/config/abi/types/MigrationBond.js +1 -0
  40. package/dist/config/abi/types/MigrationFveAbond.d.ts +290 -0
  41. package/dist/config/abi/types/MigrationFveAbond.js +1 -0
  42. package/dist/config/abi/types/MiniComplexRewarder.d.ts +469 -0
  43. package/dist/config/abi/types/MiniComplexRewarder.js +1 -0
  44. package/dist/config/abi/types/Multicallv2.d.ts +150 -0
  45. package/dist/config/abi/types/Multicallv2.js +1 -0
  46. package/dist/config/abi/types/Multicallv3.d.ts +98 -0
  47. package/dist/config/abi/types/Multicallv3.js +1 -0
  48. package/dist/config/abi/types/NonFungibleApes.d.ts +532 -0
  49. package/dist/config/abi/types/NonFungibleApes.js +1 -0
  50. package/dist/config/abi/types/NonFungibleBananas.d.ts +505 -0
  51. package/dist/config/abi/types/NonFungibleBananas.js +1 -0
  52. package/dist/config/abi/types/PriceGetter.d.ts +713 -0
  53. package/dist/config/abi/types/PriceGetter.js +1 -0
  54. package/dist/config/abi/types/PriceGetterLinea.d.ts +789 -0
  55. package/dist/config/abi/types/PriceGetterLinea.js +1 -0
  56. package/dist/config/abi/types/PriceGetterV2.d.ts +729 -0
  57. package/dist/config/abi/types/PriceGetterV2.js +1 -0
  58. package/dist/config/abi/types/SousChef.d.ts +579 -0
  59. package/dist/config/abi/types/SousChef.js +1 -0
  60. package/dist/config/abi/types/Treasury.d.ts +277 -0
  61. package/dist/config/abi/types/Treasury.js +1 -0
  62. package/dist/config/abi/types/Weth.d.ts +221 -0
  63. package/dist/config/abi/types/Weth.js +1 -0
  64. package/dist/config/abi/types/Zap.d.ts +528 -0
  65. package/dist/config/abi/types/Zap.js +1 -0
  66. package/dist/config/abi/types/common.d.ts +22 -0
  67. package/dist/config/abi/types/common.js +1 -0
  68. package/dist/config/abi/types/factories/Banana__factory.d.ts +475 -0
  69. package/dist/config/abi/types/factories/Banana__factory.js +628 -0
  70. package/dist/config/abi/types/factories/BondNft__factory.d.ts +723 -0
  71. package/dist/config/abi/types/factories/BondNft__factory.js +951 -0
  72. package/dist/config/abi/types/factories/Bond__factory.d.ts +799 -0
  73. package/dist/config/abi/types/factories/Bond__factory.js +1042 -0
  74. package/dist/config/abi/types/factories/EnsPublicResolver__factory.d.ts +649 -0
  75. package/dist/config/abi/types/factories/EnsPublicResolver__factory.js +833 -0
  76. package/dist/config/abi/types/factories/EnsRegistrar__factory.d.ts +338 -0
  77. package/dist/config/abi/types/factories/EnsRegistrar__factory.js +439 -0
  78. package/dist/config/abi/types/factories/Erc20__factory.d.ts +175 -0
  79. package/dist/config/abi/types/factories/Erc20__factory.js +239 -0
  80. package/dist/config/abi/types/factories/Erc20_bytes32__factory.d.ts +30 -0
  81. package/dist/config/abi/types/factories/Erc20_bytes32__factory.js +47 -0
  82. package/dist/config/abi/types/factories/JungleChef__factory.d.ts +247 -0
  83. package/dist/config/abi/types/factories/JungleChef__factory.js +326 -0
  84. package/dist/config/abi/types/factories/LaunchBonds__factory.d.ts +1560 -0
  85. package/dist/config/abi/types/factories/LaunchBonds__factory.js +2031 -0
  86. package/dist/config/abi/types/factories/LensContract__factory.d.ts +254 -0
  87. package/dist/config/abi/types/factories/LensContract__factory.js +338 -0
  88. package/dist/config/abi/types/factories/LockVeAbond__factory.d.ts +1698 -0
  89. package/dist/config/abi/types/factories/LockVeAbond__factory.js +2215 -0
  90. package/dist/config/abi/types/factories/MigrationBond__factory.d.ts +1268 -0
  91. package/dist/config/abi/types/factories/MigrationBond__factory.js +1656 -0
  92. package/dist/config/abi/types/factories/MigrationFveAbond__factory.d.ts +262 -0
  93. package/dist/config/abi/types/factories/MigrationFveAbond__factory.js +346 -0
  94. package/dist/config/abi/types/factories/MiniComplexRewarder__factory.d.ts +448 -0
  95. package/dist/config/abi/types/factories/MiniComplexRewarder__factory.js +586 -0
  96. package/dist/config/abi/types/factories/Multicallv2__factory.d.ts +115 -0
  97. package/dist/config/abi/types/factories/Multicallv2__factory.js +160 -0
  98. package/dist/config/abi/types/factories/Multicallv3__factory.d.ts +76 -0
  99. package/dist/config/abi/types/factories/Multicallv3__factory.js +109 -0
  100. package/dist/config/abi/types/factories/NonFungibleApes__factory.d.ts +617 -0
  101. package/dist/config/abi/types/factories/NonFungibleApes__factory.js +810 -0
  102. package/dist/config/abi/types/factories/NonFungibleBananas__factory.d.ts +576 -0
  103. package/dist/config/abi/types/factories/NonFungibleBananas__factory.js +756 -0
  104. package/dist/config/abi/types/factories/PriceGetterLinea__factory.d.ts +1105 -0
  105. package/dist/config/abi/types/factories/PriceGetterLinea__factory.js +1465 -0
  106. package/dist/config/abi/types/factories/PriceGetterV2__factory.d.ts +1027 -0
  107. package/dist/config/abi/types/factories/PriceGetterV2__factory.js +1364 -0
  108. package/dist/config/abi/types/factories/PriceGetter__factory.d.ts +999 -0
  109. package/dist/config/abi/types/factories/PriceGetter__factory.js +1326 -0
  110. package/dist/config/abi/types/factories/SousChef__factory.d.ts +511 -0
  111. package/dist/config/abi/types/factories/SousChef__factory.js +666 -0
  112. package/dist/config/abi/types/factories/Treasury__factory.d.ts +235 -0
  113. package/dist/config/abi/types/factories/Treasury__factory.js +309 -0
  114. package/dist/config/abi/types/factories/Weth__factory.d.ts +220 -0
  115. package/dist/config/abi/types/factories/Weth__factory.js +296 -0
  116. package/dist/config/abi/types/factories/Zap__factory.d.ts +695 -0
  117. package/dist/config/abi/types/factories/Zap__factory.js +889 -0
  118. package/dist/config/abi/types/factories/index.d.ts +25 -0
  119. package/dist/config/abi/types/factories/index.js +28 -0
  120. package/dist/config/abi/types/index.d.ts +51 -0
  121. package/dist/config/abi/types/index.js +26 -0
  122. package/dist/config/abi/weth.json +279 -0
  123. package/dist/hooks/useClaimBill.d.ts +4 -0
  124. package/dist/hooks/useClaimBill.js +59 -0
  125. package/dist/hooks/useContract.d.ts +25 -0
  126. package/dist/hooks/useContract.js +107 -0
  127. package/dist/pages/Bonds/Bonds.d.ts +6 -1
  128. package/dist/pages/Bonds/Bonds.js +12 -13
  129. package/dist/pages/YourBonds/YourBonds.js +37 -10
  130. package/dist/utils/index.d.ts +16 -0
  131. package/dist/utils/index.js +127 -0
  132. package/dist/utils/track.d.ts +7 -0
  133. package/dist/utils/track.js +17 -0
  134. package/package.json +1 -1
@@ -0,0 +1,1656 @@
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: "uint256",
12
+ name: "billId",
13
+ type: "uint256",
14
+ },
15
+ {
16
+ indexed: true,
17
+ internalType: "address",
18
+ name: "recipient",
19
+ type: "address",
20
+ },
21
+ {
22
+ indexed: false,
23
+ internalType: "uint256",
24
+ name: "payout",
25
+ type: "uint256",
26
+ },
27
+ {
28
+ indexed: false,
29
+ internalType: "uint256",
30
+ name: "remaining",
31
+ type: "uint256",
32
+ },
33
+ ],
34
+ name: "BillClaimed",
35
+ type: "event",
36
+ },
37
+ {
38
+ anonymous: false,
39
+ inputs: [
40
+ {
41
+ indexed: false,
42
+ internalType: "uint256",
43
+ name: "deposit",
44
+ type: "uint256",
45
+ },
46
+ {
47
+ indexed: false,
48
+ internalType: "uint256",
49
+ name: "payout",
50
+ type: "uint256",
51
+ },
52
+ {
53
+ indexed: false,
54
+ internalType: "uint256",
55
+ name: "expires",
56
+ type: "uint256",
57
+ },
58
+ {
59
+ indexed: true,
60
+ internalType: "uint256",
61
+ name: "billId",
62
+ type: "uint256",
63
+ },
64
+ ],
65
+ name: "BillCreated",
66
+ type: "event",
67
+ },
68
+ {
69
+ anonymous: false,
70
+ inputs: [
71
+ {
72
+ components: [
73
+ {
74
+ internalType: "uint256",
75
+ name: "vestingTerm",
76
+ type: "uint256",
77
+ },
78
+ {
79
+ internalType: "uint256",
80
+ name: "minimumPrice",
81
+ type: "uint256",
82
+ },
83
+ {
84
+ internalType: "uint256",
85
+ name: "maxTotalPayout",
86
+ type: "uint256",
87
+ },
88
+ ],
89
+ indexed: false,
90
+ internalType: "struct ICustomBillFixedPrice.BillTerms",
91
+ name: "billTerms",
92
+ type: "tuple",
93
+ },
94
+ {
95
+ indexed: false,
96
+ internalType: "uint256",
97
+ name: "lastDecay",
98
+ type: "uint256",
99
+ },
100
+ ],
101
+ name: "BillInitialized",
102
+ type: "event",
103
+ },
104
+ {
105
+ anonymous: false,
106
+ inputs: [
107
+ {
108
+ indexed: true,
109
+ internalType: "address",
110
+ name: "newFeeTo",
111
+ type: "address",
112
+ },
113
+ ],
114
+ name: "FeeToChanged",
115
+ type: "event",
116
+ },
117
+ {
118
+ anonymous: false,
119
+ inputs: [
120
+ {
121
+ indexed: false,
122
+ internalType: "uint8",
123
+ name: "version",
124
+ type: "uint8",
125
+ },
126
+ ],
127
+ name: "Initialized",
128
+ type: "event",
129
+ },
130
+ {
131
+ anonymous: false,
132
+ inputs: [
133
+ {
134
+ indexed: false,
135
+ internalType: "uint256",
136
+ name: "newMaxTotalPayout",
137
+ type: "uint256",
138
+ },
139
+ ],
140
+ name: "MaxTotalPayoutChanged",
141
+ type: "event",
142
+ },
143
+ {
144
+ anonymous: false,
145
+ inputs: [
146
+ {
147
+ indexed: true,
148
+ internalType: "address",
149
+ name: "previousOwner",
150
+ type: "address",
151
+ },
152
+ {
153
+ indexed: true,
154
+ internalType: "address",
155
+ name: "newOwner",
156
+ type: "address",
157
+ },
158
+ ],
159
+ name: "OwnershipTransferred",
160
+ type: "event",
161
+ },
162
+ {
163
+ anonymous: false,
164
+ inputs: [
165
+ {
166
+ indexed: true,
167
+ internalType: "bytes32",
168
+ name: "role",
169
+ type: "bytes32",
170
+ },
171
+ {
172
+ indexed: true,
173
+ internalType: "bytes32",
174
+ name: "previousAdminRole",
175
+ type: "bytes32",
176
+ },
177
+ {
178
+ indexed: true,
179
+ internalType: "bytes32",
180
+ name: "newAdminRole",
181
+ type: "bytes32",
182
+ },
183
+ ],
184
+ name: "RoleAdminChanged",
185
+ type: "event",
186
+ },
187
+ {
188
+ anonymous: false,
189
+ inputs: [
190
+ {
191
+ indexed: true,
192
+ internalType: "bytes32",
193
+ name: "role",
194
+ type: "bytes32",
195
+ },
196
+ {
197
+ indexed: true,
198
+ internalType: "address",
199
+ name: "account",
200
+ type: "address",
201
+ },
202
+ {
203
+ indexed: true,
204
+ internalType: "address",
205
+ name: "sender",
206
+ type: "address",
207
+ },
208
+ ],
209
+ name: "RoleGranted",
210
+ type: "event",
211
+ },
212
+ {
213
+ anonymous: false,
214
+ inputs: [
215
+ {
216
+ indexed: true,
217
+ internalType: "bytes32",
218
+ name: "role",
219
+ type: "bytes32",
220
+ },
221
+ {
222
+ indexed: true,
223
+ internalType: "address",
224
+ name: "account",
225
+ type: "address",
226
+ },
227
+ {
228
+ indexed: true,
229
+ internalType: "address",
230
+ name: "sender",
231
+ type: "address",
232
+ },
233
+ ],
234
+ name: "RoleRevoked",
235
+ type: "event",
236
+ },
237
+ {
238
+ anonymous: false,
239
+ inputs: [
240
+ {
241
+ indexed: false,
242
+ internalType: "uint256[]",
243
+ name: "fees",
244
+ type: "uint256[]",
245
+ },
246
+ {
247
+ indexed: false,
248
+ internalType: "uint256[]",
249
+ name: "tierCeilings",
250
+ type: "uint256[]",
251
+ },
252
+ ],
253
+ name: "SetFees",
254
+ type: "event",
255
+ },
256
+ {
257
+ anonymous: false,
258
+ inputs: [
259
+ {
260
+ indexed: true,
261
+ internalType: "address",
262
+ name: "pendingOwner",
263
+ type: "address",
264
+ },
265
+ ],
266
+ name: "SetPendingOwner",
267
+ type: "event",
268
+ },
269
+ {
270
+ anonymous: false,
271
+ inputs: [
272
+ {
273
+ indexed: false,
274
+ internalType: "enum CustomBillFixedPrice.PARAMETER",
275
+ name: "parameter",
276
+ type: "uint8",
277
+ },
278
+ {
279
+ indexed: false,
280
+ internalType: "uint256",
281
+ name: "input",
282
+ type: "uint256",
283
+ },
284
+ ],
285
+ name: "TermsSet",
286
+ type: "event",
287
+ },
288
+ {
289
+ anonymous: false,
290
+ inputs: [
291
+ {
292
+ indexed: true,
293
+ internalType: "address",
294
+ name: "owner",
295
+ type: "address",
296
+ },
297
+ {
298
+ indexed: true,
299
+ internalType: "address",
300
+ name: "approvedAccount",
301
+ type: "address",
302
+ },
303
+ {
304
+ indexed: false,
305
+ internalType: "bool",
306
+ name: "approved",
307
+ type: "bool",
308
+ },
309
+ ],
310
+ name: "UpdateClaimApproval",
311
+ type: "event",
312
+ },
313
+ {
314
+ inputs: [],
315
+ name: "DAO",
316
+ outputs: [
317
+ {
318
+ internalType: "address",
319
+ name: "",
320
+ type: "address",
321
+ },
322
+ ],
323
+ stateMutability: "view",
324
+ type: "function",
325
+ },
326
+ {
327
+ inputs: [],
328
+ name: "DEFAULT_ADMIN_ROLE",
329
+ outputs: [
330
+ {
331
+ internalType: "bytes32",
332
+ name: "",
333
+ type: "bytes32",
334
+ },
335
+ ],
336
+ stateMutability: "view",
337
+ type: "function",
338
+ },
339
+ {
340
+ inputs: [],
341
+ name: "MAX_FEE",
342
+ outputs: [
343
+ {
344
+ internalType: "uint256",
345
+ name: "",
346
+ type: "uint256",
347
+ },
348
+ ],
349
+ stateMutability: "view",
350
+ type: "function",
351
+ },
352
+ {
353
+ inputs: [],
354
+ name: "MAX_FEE_TIERS",
355
+ outputs: [
356
+ {
357
+ internalType: "uint8",
358
+ name: "",
359
+ type: "uint8",
360
+ },
361
+ ],
362
+ stateMutability: "view",
363
+ type: "function",
364
+ },
365
+ {
366
+ inputs: [],
367
+ name: "acceptOwnership",
368
+ outputs: [],
369
+ stateMutability: "nonpayable",
370
+ type: "function",
371
+ },
372
+ {
373
+ inputs: [],
374
+ name: "accumulatedRewardsPerShare",
375
+ outputs: [
376
+ {
377
+ internalType: "uint256",
378
+ name: "accRewardPerShare",
379
+ type: "uint256",
380
+ },
381
+ ],
382
+ stateMutability: "view",
383
+ type: "function",
384
+ },
385
+ {
386
+ inputs: [],
387
+ name: "allIssuedBillIds",
388
+ outputs: [
389
+ {
390
+ internalType: "uint256[]",
391
+ name: "",
392
+ type: "uint256[]",
393
+ },
394
+ ],
395
+ stateMutability: "view",
396
+ type: "function",
397
+ },
398
+ {
399
+ inputs: [
400
+ {
401
+ internalType: "uint256[]",
402
+ name: "_billIds",
403
+ type: "uint256[]",
404
+ },
405
+ ],
406
+ name: "batchClaim",
407
+ outputs: [
408
+ {
409
+ internalType: "uint256",
410
+ name: "payout",
411
+ type: "uint256",
412
+ },
413
+ ],
414
+ stateMutability: "nonpayable",
415
+ type: "function",
416
+ },
417
+ {
418
+ inputs: [
419
+ {
420
+ internalType: "uint256[]",
421
+ name: "_billIds",
422
+ type: "uint256[]",
423
+ },
424
+ ],
425
+ name: "batchRedeem",
426
+ outputs: [
427
+ {
428
+ internalType: "uint256",
429
+ name: "payout",
430
+ type: "uint256",
431
+ },
432
+ ],
433
+ stateMutability: "nonpayable",
434
+ type: "function",
435
+ },
436
+ {
437
+ inputs: [
438
+ {
439
+ internalType: "uint256",
440
+ name: "",
441
+ type: "uint256",
442
+ },
443
+ ],
444
+ name: "billInfo",
445
+ outputs: [
446
+ {
447
+ internalType: "uint256",
448
+ name: "payout",
449
+ type: "uint256",
450
+ },
451
+ {
452
+ internalType: "uint256",
453
+ name: "depositAmount",
454
+ type: "uint256",
455
+ },
456
+ {
457
+ internalType: "uint256",
458
+ name: "payoutClaimed",
459
+ type: "uint256",
460
+ },
461
+ {
462
+ internalType: "uint256",
463
+ name: "vesting",
464
+ type: "uint256",
465
+ },
466
+ {
467
+ internalType: "uint256",
468
+ name: "vestingTerm",
469
+ type: "uint256",
470
+ },
471
+ {
472
+ internalType: "uint256",
473
+ name: "vestingStartTimestamp",
474
+ type: "uint256",
475
+ },
476
+ {
477
+ internalType: "uint256",
478
+ name: "lastClaimTimestamp",
479
+ type: "uint256",
480
+ },
481
+ {
482
+ internalType: "uint256",
483
+ name: "truePricePaid",
484
+ type: "uint256",
485
+ },
486
+ ],
487
+ stateMutability: "view",
488
+ type: "function",
489
+ },
490
+ {
491
+ inputs: [],
492
+ name: "billNft",
493
+ outputs: [
494
+ {
495
+ internalType: "contract IBillNft",
496
+ name: "",
497
+ type: "address",
498
+ },
499
+ ],
500
+ stateMutability: "view",
501
+ type: "function",
502
+ },
503
+ {
504
+ inputs: [],
505
+ name: "billPrice",
506
+ outputs: [
507
+ {
508
+ internalType: "uint256",
509
+ name: "price_",
510
+ type: "uint256",
511
+ },
512
+ ],
513
+ stateMutability: "view",
514
+ type: "function",
515
+ },
516
+ {
517
+ inputs: [
518
+ {
519
+ internalType: "uint256",
520
+ name: "_billId",
521
+ type: "uint256",
522
+ },
523
+ ],
524
+ name: "bonusRewards",
525
+ outputs: [
526
+ {
527
+ internalType: "uint256",
528
+ name: "pending",
529
+ type: "uint256",
530
+ },
531
+ ],
532
+ stateMutability: "view",
533
+ type: "function",
534
+ },
535
+ {
536
+ inputs: [
537
+ {
538
+ internalType: "address",
539
+ name: "_feeTo",
540
+ type: "address",
541
+ },
542
+ ],
543
+ name: "changeFeeTo",
544
+ outputs: [],
545
+ stateMutability: "nonpayable",
546
+ type: "function",
547
+ },
548
+ {
549
+ inputs: [
550
+ {
551
+ internalType: "uint256",
552
+ name: "_billId",
553
+ type: "uint256",
554
+ },
555
+ ],
556
+ name: "claim",
557
+ outputs: [
558
+ {
559
+ internalType: "uint256",
560
+ name: "",
561
+ type: "uint256",
562
+ },
563
+ ],
564
+ stateMutability: "nonpayable",
565
+ type: "function",
566
+ },
567
+ {
568
+ inputs: [
569
+ {
570
+ internalType: "uint256",
571
+ name: "_billId",
572
+ type: "uint256",
573
+ },
574
+ ],
575
+ name: "claimablePayout",
576
+ outputs: [
577
+ {
578
+ internalType: "uint256",
579
+ name: "claimablePayout_",
580
+ type: "uint256",
581
+ },
582
+ ],
583
+ stateMutability: "view",
584
+ type: "function",
585
+ },
586
+ {
587
+ inputs: [],
588
+ name: "currentFee",
589
+ outputs: [
590
+ {
591
+ internalType: "uint256",
592
+ name: "currentFee_",
593
+ type: "uint256",
594
+ },
595
+ ],
596
+ stateMutability: "view",
597
+ type: "function",
598
+ },
599
+ {
600
+ inputs: [],
601
+ name: "customTreasury",
602
+ outputs: [
603
+ {
604
+ internalType: "contract ICustomTreasury",
605
+ name: "",
606
+ type: "address",
607
+ },
608
+ ],
609
+ stateMutability: "view",
610
+ type: "function",
611
+ },
612
+ {
613
+ inputs: [
614
+ {
615
+ internalType: "uint256",
616
+ name: "_amount",
617
+ type: "uint256",
618
+ },
619
+ {
620
+ internalType: "uint256",
621
+ name: "_maxPrice",
622
+ type: "uint256",
623
+ },
624
+ {
625
+ internalType: "address",
626
+ name: "_depositor",
627
+ type: "address",
628
+ },
629
+ ],
630
+ name: "deposit",
631
+ outputs: [
632
+ {
633
+ internalType: "uint256",
634
+ name: "",
635
+ type: "uint256",
636
+ },
637
+ ],
638
+ stateMutability: "nonpayable",
639
+ type: "function",
640
+ },
641
+ {
642
+ inputs: [],
643
+ name: "depositsClosed",
644
+ outputs: [
645
+ {
646
+ internalType: "bool",
647
+ name: "",
648
+ type: "bool",
649
+ },
650
+ ],
651
+ stateMutability: "view",
652
+ type: "function",
653
+ },
654
+ {
655
+ inputs: [],
656
+ name: "disableDeposits",
657
+ outputs: [],
658
+ stateMutability: "nonpayable",
659
+ type: "function",
660
+ },
661
+ {
662
+ inputs: [],
663
+ name: "feeInPayout",
664
+ outputs: [
665
+ {
666
+ internalType: "bool",
667
+ name: "",
668
+ type: "bool",
669
+ },
670
+ ],
671
+ stateMutability: "view",
672
+ type: "function",
673
+ },
674
+ {
675
+ inputs: [
676
+ {
677
+ internalType: "uint256",
678
+ name: "",
679
+ type: "uint256",
680
+ },
681
+ ],
682
+ name: "feeTiers",
683
+ outputs: [
684
+ {
685
+ internalType: "uint256",
686
+ name: "tierCeilings",
687
+ type: "uint256",
688
+ },
689
+ {
690
+ internalType: "uint256",
691
+ name: "fees",
692
+ type: "uint256",
693
+ },
694
+ ],
695
+ stateMutability: "view",
696
+ type: "function",
697
+ },
698
+ {
699
+ inputs: [],
700
+ name: "feeTo",
701
+ outputs: [
702
+ {
703
+ internalType: "address",
704
+ name: "",
705
+ type: "address",
706
+ },
707
+ ],
708
+ stateMutability: "view",
709
+ type: "function",
710
+ },
711
+ {
712
+ inputs: [
713
+ {
714
+ internalType: "address",
715
+ name: "user",
716
+ type: "address",
717
+ },
718
+ ],
719
+ name: "getBillIds",
720
+ outputs: [
721
+ {
722
+ internalType: "uint256[]",
723
+ name: "",
724
+ type: "uint256[]",
725
+ },
726
+ ],
727
+ stateMutability: "view",
728
+ type: "function",
729
+ },
730
+ {
731
+ inputs: [
732
+ {
733
+ internalType: "address",
734
+ name: "user",
735
+ type: "address",
736
+ },
737
+ {
738
+ internalType: "uint256",
739
+ name: "start",
740
+ type: "uint256",
741
+ },
742
+ {
743
+ internalType: "uint256",
744
+ name: "end",
745
+ type: "uint256",
746
+ },
747
+ ],
748
+ name: "getBillIdsInRange",
749
+ outputs: [
750
+ {
751
+ internalType: "uint256[]",
752
+ name: "",
753
+ type: "uint256[]",
754
+ },
755
+ ],
756
+ stateMutability: "view",
757
+ type: "function",
758
+ },
759
+ {
760
+ inputs: [
761
+ {
762
+ internalType: "uint256",
763
+ name: "billId",
764
+ type: "uint256",
765
+ },
766
+ ],
767
+ name: "getBillInfo",
768
+ outputs: [
769
+ {
770
+ components: [
771
+ {
772
+ internalType: "uint256",
773
+ name: "payout",
774
+ type: "uint256",
775
+ },
776
+ {
777
+ internalType: "uint256",
778
+ name: "depositAmount",
779
+ type: "uint256",
780
+ },
781
+ {
782
+ internalType: "uint256",
783
+ name: "payoutClaimed",
784
+ type: "uint256",
785
+ },
786
+ {
787
+ internalType: "uint256",
788
+ name: "vesting",
789
+ type: "uint256",
790
+ },
791
+ {
792
+ internalType: "uint256",
793
+ name: "vestingTerm",
794
+ type: "uint256",
795
+ },
796
+ {
797
+ internalType: "uint256",
798
+ name: "vestingStartTimestamp",
799
+ type: "uint256",
800
+ },
801
+ {
802
+ internalType: "uint256",
803
+ name: "lastClaimTimestamp",
804
+ type: "uint256",
805
+ },
806
+ {
807
+ internalType: "uint256",
808
+ name: "truePricePaid",
809
+ type: "uint256",
810
+ },
811
+ ],
812
+ internalType: "struct ICustomBillFixedPrice.Bill",
813
+ name: "",
814
+ type: "tuple",
815
+ },
816
+ ],
817
+ stateMutability: "view",
818
+ type: "function",
819
+ },
820
+ {
821
+ inputs: [],
822
+ name: "getFeeTierLength",
823
+ outputs: [
824
+ {
825
+ internalType: "uint256",
826
+ name: "tierLength_",
827
+ type: "uint256",
828
+ },
829
+ ],
830
+ stateMutability: "view",
831
+ type: "function",
832
+ },
833
+ {
834
+ inputs: [],
835
+ name: "getMaxTotalPayout",
836
+ outputs: [
837
+ {
838
+ internalType: "uint256",
839
+ name: "",
840
+ type: "uint256",
841
+ },
842
+ ],
843
+ stateMutability: "view",
844
+ type: "function",
845
+ },
846
+ {
847
+ inputs: [
848
+ {
849
+ internalType: "bytes32",
850
+ name: "role",
851
+ type: "bytes32",
852
+ },
853
+ ],
854
+ name: "getRoleAdmin",
855
+ outputs: [
856
+ {
857
+ internalType: "bytes32",
858
+ name: "",
859
+ type: "bytes32",
860
+ },
861
+ ],
862
+ stateMutability: "view",
863
+ type: "function",
864
+ },
865
+ {
866
+ inputs: [
867
+ {
868
+ internalType: "bytes32",
869
+ name: "role",
870
+ type: "bytes32",
871
+ },
872
+ {
873
+ internalType: "uint256",
874
+ name: "index",
875
+ type: "uint256",
876
+ },
877
+ ],
878
+ name: "getRoleMember",
879
+ outputs: [
880
+ {
881
+ internalType: "address",
882
+ name: "",
883
+ type: "address",
884
+ },
885
+ ],
886
+ stateMutability: "view",
887
+ type: "function",
888
+ },
889
+ {
890
+ inputs: [
891
+ {
892
+ internalType: "bytes32",
893
+ name: "role",
894
+ type: "bytes32",
895
+ },
896
+ ],
897
+ name: "getRoleMemberCount",
898
+ outputs: [
899
+ {
900
+ internalType: "uint256",
901
+ name: "",
902
+ type: "uint256",
903
+ },
904
+ ],
905
+ stateMutability: "view",
906
+ type: "function",
907
+ },
908
+ {
909
+ inputs: [
910
+ {
911
+ internalType: "bytes32",
912
+ name: "role",
913
+ type: "bytes32",
914
+ },
915
+ {
916
+ internalType: "address",
917
+ name: "account",
918
+ type: "address",
919
+ },
920
+ ],
921
+ name: "grantRole",
922
+ outputs: [],
923
+ stateMutability: "nonpayable",
924
+ type: "function",
925
+ },
926
+ {
927
+ inputs: [
928
+ {
929
+ internalType: "bytes32",
930
+ name: "role",
931
+ type: "bytes32",
932
+ },
933
+ {
934
+ internalType: "address",
935
+ name: "account",
936
+ type: "address",
937
+ },
938
+ ],
939
+ name: "hasRole",
940
+ outputs: [
941
+ {
942
+ internalType: "bool",
943
+ name: "",
944
+ type: "bool",
945
+ },
946
+ ],
947
+ stateMutability: "view",
948
+ type: "function",
949
+ },
950
+ {
951
+ inputs: [
952
+ {
953
+ internalType: "contract ICustomTreasury",
954
+ name: "_customTreasury",
955
+ type: "address",
956
+ },
957
+ {
958
+ components: [
959
+ {
960
+ internalType: "address",
961
+ name: "payoutToken",
962
+ type: "address",
963
+ },
964
+ {
965
+ internalType: "address",
966
+ name: "principalToken",
967
+ type: "address",
968
+ },
969
+ {
970
+ internalType: "address",
971
+ name: "initialOwner",
972
+ type: "address",
973
+ },
974
+ {
975
+ internalType: "contract IVestingCurve",
976
+ name: "vestingCurve",
977
+ type: "address",
978
+ },
979
+ {
980
+ internalType: "uint256[]",
981
+ name: "tierCeilings",
982
+ type: "uint256[]",
983
+ },
984
+ {
985
+ internalType: "uint256[]",
986
+ name: "fees",
987
+ type: "uint256[]",
988
+ },
989
+ {
990
+ internalType: "uint256",
991
+ name: "startVestingTimestamp",
992
+ type: "uint256",
993
+ },
994
+ {
995
+ internalType: "bool",
996
+ name: "feeInPayout",
997
+ type: "bool",
998
+ },
999
+ ],
1000
+ internalType: "struct ICustomBillFixedPrice.BillCreationDetails",
1001
+ name: "_billCreationDetails",
1002
+ type: "tuple",
1003
+ },
1004
+ {
1005
+ components: [
1006
+ {
1007
+ internalType: "uint256",
1008
+ name: "vestingTerm",
1009
+ type: "uint256",
1010
+ },
1011
+ {
1012
+ internalType: "uint256",
1013
+ name: "minimumPrice",
1014
+ type: "uint256",
1015
+ },
1016
+ {
1017
+ internalType: "uint256",
1018
+ name: "maxTotalPayout",
1019
+ type: "uint256",
1020
+ },
1021
+ ],
1022
+ internalType: "struct ICustomBillFixedPrice.BillTerms",
1023
+ name: "_billTerms",
1024
+ type: "tuple",
1025
+ },
1026
+ {
1027
+ components: [
1028
+ {
1029
+ internalType: "address",
1030
+ name: "feeTo",
1031
+ type: "address",
1032
+ },
1033
+ {
1034
+ internalType: "address",
1035
+ name: "DAO",
1036
+ type: "address",
1037
+ },
1038
+ {
1039
+ internalType: "address",
1040
+ name: "billNft",
1041
+ type: "address",
1042
+ },
1043
+ ],
1044
+ internalType: "struct ICustomBillFixedPrice.BillAccounts",
1045
+ name: "_billAccounts",
1046
+ type: "tuple",
1047
+ },
1048
+ {
1049
+ internalType: "uint256",
1050
+ name: "_totalRewards",
1051
+ type: "uint256",
1052
+ },
1053
+ ],
1054
+ name: "initialize",
1055
+ outputs: [],
1056
+ stateMutability: "nonpayable",
1057
+ type: "function",
1058
+ },
1059
+ {
1060
+ inputs: [
1061
+ {
1062
+ internalType: "contract ICustomTreasury",
1063
+ name: "_customTreasury",
1064
+ type: "address",
1065
+ },
1066
+ {
1067
+ components: [
1068
+ {
1069
+ internalType: "address",
1070
+ name: "payoutToken",
1071
+ type: "address",
1072
+ },
1073
+ {
1074
+ internalType: "address",
1075
+ name: "principalToken",
1076
+ type: "address",
1077
+ },
1078
+ {
1079
+ internalType: "address",
1080
+ name: "initialOwner",
1081
+ type: "address",
1082
+ },
1083
+ {
1084
+ internalType: "contract IVestingCurve",
1085
+ name: "vestingCurve",
1086
+ type: "address",
1087
+ },
1088
+ {
1089
+ internalType: "uint256[]",
1090
+ name: "tierCeilings",
1091
+ type: "uint256[]",
1092
+ },
1093
+ {
1094
+ internalType: "uint256[]",
1095
+ name: "fees",
1096
+ type: "uint256[]",
1097
+ },
1098
+ {
1099
+ internalType: "uint256",
1100
+ name: "startVestingTimestamp",
1101
+ type: "uint256",
1102
+ },
1103
+ {
1104
+ internalType: "bool",
1105
+ name: "feeInPayout",
1106
+ type: "bool",
1107
+ },
1108
+ ],
1109
+ internalType: "struct ICustomBillFixedPrice.BillCreationDetails",
1110
+ name: "_billCreationDetails",
1111
+ type: "tuple",
1112
+ },
1113
+ {
1114
+ components: [
1115
+ {
1116
+ internalType: "uint256",
1117
+ name: "vestingTerm",
1118
+ type: "uint256",
1119
+ },
1120
+ {
1121
+ internalType: "uint256",
1122
+ name: "minimumPrice",
1123
+ type: "uint256",
1124
+ },
1125
+ {
1126
+ internalType: "uint256",
1127
+ name: "maxTotalPayout",
1128
+ type: "uint256",
1129
+ },
1130
+ ],
1131
+ internalType: "struct ICustomBillFixedPrice.BillTerms",
1132
+ name: "_billTerms",
1133
+ type: "tuple",
1134
+ },
1135
+ {
1136
+ components: [
1137
+ {
1138
+ internalType: "address",
1139
+ name: "feeTo",
1140
+ type: "address",
1141
+ },
1142
+ {
1143
+ internalType: "address",
1144
+ name: "DAO",
1145
+ type: "address",
1146
+ },
1147
+ {
1148
+ internalType: "address",
1149
+ name: "billNft",
1150
+ type: "address",
1151
+ },
1152
+ ],
1153
+ internalType: "struct ICustomBillFixedPrice.BillAccounts",
1154
+ name: "_billAccounts",
1155
+ type: "tuple",
1156
+ },
1157
+ ],
1158
+ name: "initialize",
1159
+ outputs: [],
1160
+ stateMutability: "nonpayable",
1161
+ type: "function",
1162
+ },
1163
+ {
1164
+ inputs: [],
1165
+ name: "owner",
1166
+ outputs: [
1167
+ {
1168
+ internalType: "address",
1169
+ name: "",
1170
+ type: "address",
1171
+ },
1172
+ ],
1173
+ stateMutability: "view",
1174
+ type: "function",
1175
+ },
1176
+ {
1177
+ inputs: [
1178
+ {
1179
+ internalType: "uint256",
1180
+ name: "_amount",
1181
+ type: "uint256",
1182
+ },
1183
+ ],
1184
+ name: "payoutFor",
1185
+ outputs: [
1186
+ {
1187
+ internalType: "uint256",
1188
+ name: "_payout",
1189
+ type: "uint256",
1190
+ },
1191
+ {
1192
+ internalType: "uint256",
1193
+ name: "_fee",
1194
+ type: "uint256",
1195
+ },
1196
+ ],
1197
+ stateMutability: "view",
1198
+ type: "function",
1199
+ },
1200
+ {
1201
+ inputs: [],
1202
+ name: "payoutToken",
1203
+ outputs: [
1204
+ {
1205
+ internalType: "contract IERC20MetadataUpgradeable",
1206
+ name: "",
1207
+ type: "address",
1208
+ },
1209
+ ],
1210
+ stateMutability: "view",
1211
+ type: "function",
1212
+ },
1213
+ {
1214
+ inputs: [],
1215
+ name: "pendingOwner",
1216
+ outputs: [
1217
+ {
1218
+ internalType: "address",
1219
+ name: "",
1220
+ type: "address",
1221
+ },
1222
+ ],
1223
+ stateMutability: "view",
1224
+ type: "function",
1225
+ },
1226
+ {
1227
+ inputs: [
1228
+ {
1229
+ internalType: "uint256",
1230
+ name: "_billId",
1231
+ type: "uint256",
1232
+ },
1233
+ ],
1234
+ name: "pendingPayout",
1235
+ outputs: [
1236
+ {
1237
+ internalType: "uint256",
1238
+ name: "pendingPayout_",
1239
+ type: "uint256",
1240
+ },
1241
+ ],
1242
+ stateMutability: "view",
1243
+ type: "function",
1244
+ },
1245
+ {
1246
+ inputs: [
1247
+ {
1248
+ internalType: "uint256",
1249
+ name: "_billId",
1250
+ type: "uint256",
1251
+ },
1252
+ ],
1253
+ name: "pendingVesting",
1254
+ outputs: [
1255
+ {
1256
+ internalType: "uint256",
1257
+ name: "pendingVesting_",
1258
+ type: "uint256",
1259
+ },
1260
+ ],
1261
+ stateMutability: "view",
1262
+ type: "function",
1263
+ },
1264
+ {
1265
+ inputs: [],
1266
+ name: "principalToken",
1267
+ outputs: [
1268
+ {
1269
+ internalType: "contract IERC20MetadataUpgradeable",
1270
+ name: "",
1271
+ type: "address",
1272
+ },
1273
+ ],
1274
+ stateMutability: "view",
1275
+ type: "function",
1276
+ },
1277
+ {
1278
+ inputs: [
1279
+ {
1280
+ internalType: "uint256",
1281
+ name: "_billId",
1282
+ type: "uint256",
1283
+ },
1284
+ ],
1285
+ name: "redeem",
1286
+ outputs: [
1287
+ {
1288
+ internalType: "uint256",
1289
+ name: "",
1290
+ type: "uint256",
1291
+ },
1292
+ ],
1293
+ stateMutability: "nonpayable",
1294
+ type: "function",
1295
+ },
1296
+ {
1297
+ inputs: [
1298
+ {
1299
+ internalType: "address",
1300
+ name: "",
1301
+ type: "address",
1302
+ },
1303
+ {
1304
+ internalType: "address",
1305
+ name: "",
1306
+ type: "address",
1307
+ },
1308
+ ],
1309
+ name: "redeemerApproved",
1310
+ outputs: [
1311
+ {
1312
+ internalType: "bool",
1313
+ name: "",
1314
+ type: "bool",
1315
+ },
1316
+ ],
1317
+ stateMutability: "view",
1318
+ type: "function",
1319
+ },
1320
+ {
1321
+ inputs: [],
1322
+ name: "renounceOwnership",
1323
+ outputs: [],
1324
+ stateMutability: "nonpayable",
1325
+ type: "function",
1326
+ },
1327
+ {
1328
+ inputs: [
1329
+ {
1330
+ internalType: "bytes32",
1331
+ name: "role",
1332
+ type: "bytes32",
1333
+ },
1334
+ {
1335
+ internalType: "address",
1336
+ name: "account",
1337
+ type: "address",
1338
+ },
1339
+ ],
1340
+ name: "renounceRole",
1341
+ outputs: [],
1342
+ stateMutability: "nonpayable",
1343
+ type: "function",
1344
+ },
1345
+ {
1346
+ inputs: [
1347
+ {
1348
+ internalType: "bytes32",
1349
+ name: "role",
1350
+ type: "bytes32",
1351
+ },
1352
+ {
1353
+ internalType: "address",
1354
+ name: "account",
1355
+ type: "address",
1356
+ },
1357
+ ],
1358
+ name: "revokeRole",
1359
+ outputs: [],
1360
+ stateMutability: "nonpayable",
1361
+ type: "function",
1362
+ },
1363
+ {
1364
+ inputs: [
1365
+ {
1366
+ internalType: "enum CustomBillFixedPrice.PARAMETER",
1367
+ name: "_parameter",
1368
+ type: "uint8",
1369
+ },
1370
+ {
1371
+ internalType: "uint256",
1372
+ name: "_input",
1373
+ type: "uint256",
1374
+ },
1375
+ ],
1376
+ name: "setBillTerms",
1377
+ outputs: [],
1378
+ stateMutability: "nonpayable",
1379
+ type: "function",
1380
+ },
1381
+ {
1382
+ inputs: [
1383
+ {
1384
+ internalType: "address",
1385
+ name: "approvedAccount",
1386
+ type: "address",
1387
+ },
1388
+ {
1389
+ internalType: "bool",
1390
+ name: "approved",
1391
+ type: "bool",
1392
+ },
1393
+ ],
1394
+ name: "setClaimApproval",
1395
+ outputs: [],
1396
+ stateMutability: "nonpayable",
1397
+ type: "function",
1398
+ },
1399
+ {
1400
+ inputs: [
1401
+ {
1402
+ internalType: "uint256[]",
1403
+ name: "fees",
1404
+ type: "uint256[]",
1405
+ },
1406
+ {
1407
+ internalType: "uint256[]",
1408
+ name: "tierCeilings",
1409
+ type: "uint256[]",
1410
+ },
1411
+ ],
1412
+ name: "setFeeTiers",
1413
+ outputs: [],
1414
+ stateMutability: "nonpayable",
1415
+ type: "function",
1416
+ },
1417
+ {
1418
+ inputs: [
1419
+ {
1420
+ internalType: "address",
1421
+ name: "newPendingOwner",
1422
+ type: "address",
1423
+ },
1424
+ ],
1425
+ name: "setPendingOwner",
1426
+ outputs: [],
1427
+ stateMutability: "nonpayable",
1428
+ type: "function",
1429
+ },
1430
+ {
1431
+ inputs: [],
1432
+ name: "startVestingTimestamp",
1433
+ outputs: [
1434
+ {
1435
+ internalType: "uint256",
1436
+ name: "",
1437
+ type: "uint256",
1438
+ },
1439
+ ],
1440
+ stateMutability: "view",
1441
+ type: "function",
1442
+ },
1443
+ {
1444
+ inputs: [
1445
+ {
1446
+ internalType: "bytes4",
1447
+ name: "interfaceId",
1448
+ type: "bytes4",
1449
+ },
1450
+ ],
1451
+ name: "supportsInterface",
1452
+ outputs: [
1453
+ {
1454
+ internalType: "bool",
1455
+ name: "",
1456
+ type: "bool",
1457
+ },
1458
+ ],
1459
+ stateMutability: "view",
1460
+ type: "function",
1461
+ },
1462
+ {
1463
+ inputs: [],
1464
+ name: "terms",
1465
+ outputs: [
1466
+ {
1467
+ internalType: "uint256",
1468
+ name: "vestingTerm",
1469
+ type: "uint256",
1470
+ },
1471
+ {
1472
+ internalType: "uint256",
1473
+ name: "minimumPrice",
1474
+ type: "uint256",
1475
+ },
1476
+ {
1477
+ internalType: "uint256",
1478
+ name: "maxTotalPayout",
1479
+ type: "uint256",
1480
+ },
1481
+ ],
1482
+ stateMutability: "view",
1483
+ type: "function",
1484
+ },
1485
+ {
1486
+ inputs: [],
1487
+ name: "totalPayoutGiven",
1488
+ outputs: [
1489
+ {
1490
+ internalType: "uint256",
1491
+ name: "",
1492
+ type: "uint256",
1493
+ },
1494
+ ],
1495
+ stateMutability: "view",
1496
+ type: "function",
1497
+ },
1498
+ {
1499
+ inputs: [],
1500
+ name: "totalPrincipalBilled",
1501
+ outputs: [
1502
+ {
1503
+ internalType: "uint256",
1504
+ name: "",
1505
+ type: "uint256",
1506
+ },
1507
+ ],
1508
+ stateMutability: "view",
1509
+ type: "function",
1510
+ },
1511
+ {
1512
+ inputs: [],
1513
+ name: "totalRewards",
1514
+ outputs: [
1515
+ {
1516
+ internalType: "uint256",
1517
+ name: "",
1518
+ type: "uint256",
1519
+ },
1520
+ ],
1521
+ stateMutability: "view",
1522
+ type: "function",
1523
+ },
1524
+ {
1525
+ inputs: [
1526
+ {
1527
+ internalType: "address",
1528
+ name: "",
1529
+ type: "address",
1530
+ },
1531
+ ],
1532
+ name: "transferOwnership",
1533
+ outputs: [],
1534
+ stateMutability: "view",
1535
+ type: "function",
1536
+ },
1537
+ {
1538
+ inputs: [],
1539
+ name: "trueBillPrice",
1540
+ outputs: [
1541
+ {
1542
+ internalType: "uint256",
1543
+ name: "price_",
1544
+ type: "uint256",
1545
+ },
1546
+ ],
1547
+ stateMutability: "view",
1548
+ type: "function",
1549
+ },
1550
+ {
1551
+ inputs: [],
1552
+ name: "userBillIds",
1553
+ outputs: [
1554
+ {
1555
+ internalType: "uint256[]",
1556
+ name: "",
1557
+ type: "uint256[]",
1558
+ },
1559
+ ],
1560
+ stateMutability: "view",
1561
+ type: "function",
1562
+ },
1563
+ {
1564
+ inputs: [
1565
+ {
1566
+ internalType: "uint256",
1567
+ name: "_billId",
1568
+ type: "uint256",
1569
+ },
1570
+ {
1571
+ internalType: "uint256",
1572
+ name: "_timestamp",
1573
+ type: "uint256",
1574
+ },
1575
+ ],
1576
+ name: "vestedPayoutAtTime",
1577
+ outputs: [
1578
+ {
1579
+ internalType: "uint256",
1580
+ name: "vestedPayout_",
1581
+ type: "uint256",
1582
+ },
1583
+ ],
1584
+ stateMutability: "view",
1585
+ type: "function",
1586
+ },
1587
+ {
1588
+ inputs: [],
1589
+ name: "vestingCurve",
1590
+ outputs: [
1591
+ {
1592
+ internalType: "contract IVestingCurve",
1593
+ name: "",
1594
+ type: "address",
1595
+ },
1596
+ ],
1597
+ stateMutability: "view",
1598
+ type: "function",
1599
+ },
1600
+ {
1601
+ inputs: [
1602
+ {
1603
+ internalType: "uint256",
1604
+ name: "_billId",
1605
+ type: "uint256",
1606
+ },
1607
+ ],
1608
+ name: "vestingPayout",
1609
+ outputs: [
1610
+ {
1611
+ internalType: "uint256",
1612
+ name: "vestingPayout_",
1613
+ type: "uint256",
1614
+ },
1615
+ ],
1616
+ stateMutability: "view",
1617
+ type: "function",
1618
+ },
1619
+ {
1620
+ inputs: [
1621
+ {
1622
+ internalType: "uint256",
1623
+ name: "_billId",
1624
+ type: "uint256",
1625
+ },
1626
+ ],
1627
+ name: "vestingPeriod",
1628
+ outputs: [
1629
+ {
1630
+ internalType: "uint256",
1631
+ name: "vestingStart_",
1632
+ type: "uint256",
1633
+ },
1634
+ {
1635
+ internalType: "uint256",
1636
+ name: "vestingEnd_",
1637
+ type: "uint256",
1638
+ },
1639
+ ],
1640
+ stateMutability: "view",
1641
+ type: "function",
1642
+ },
1643
+ ];
1644
+ var MigrationBond__factory = /** @class */ (function () {
1645
+ function MigrationBond__factory() {
1646
+ }
1647
+ MigrationBond__factory.createInterface = function () {
1648
+ return new utils.Interface(_abi);
1649
+ };
1650
+ MigrationBond__factory.connect = function (address, signerOrProvider) {
1651
+ return new Contract(address, _abi, signerOrProvider);
1652
+ };
1653
+ MigrationBond__factory.abi = _abi;
1654
+ return MigrationBond__factory;
1655
+ }());
1656
+ export { MigrationBond__factory };