@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,2031 @@
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: "endTime",
76
+ type: "uint256",
77
+ },
78
+ {
79
+ internalType: "uint256",
80
+ name: "startTime",
81
+ type: "uint256",
82
+ },
83
+ {
84
+ internalType: "uint256",
85
+ name: "vestingTerm",
86
+ type: "uint256",
87
+ },
88
+ {
89
+ internalType: "uint256",
90
+ name: "minimumPrice",
91
+ type: "uint256",
92
+ },
93
+ {
94
+ internalType: "bool",
95
+ name: "oversubscription",
96
+ type: "bool",
97
+ },
98
+ {
99
+ internalType: "uint16",
100
+ name: "initialRelease",
101
+ type: "uint16",
102
+ },
103
+ {
104
+ internalType: "uint256",
105
+ name: "totalRaise",
106
+ type: "uint256",
107
+ },
108
+ {
109
+ internalType: "uint256",
110
+ name: "maxTotalPayout",
111
+ type: "uint256",
112
+ },
113
+ ],
114
+ indexed: false,
115
+ internalType: "struct ICustomBillSale.BillSaleTerms",
116
+ name: "billSaleTerms",
117
+ type: "tuple",
118
+ },
119
+ {
120
+ indexed: false,
121
+ internalType: "uint256",
122
+ name: "lastDecay",
123
+ type: "uint256",
124
+ },
125
+ ],
126
+ name: "BillInitialized",
127
+ type: "event",
128
+ },
129
+ {
130
+ anonymous: false,
131
+ inputs: [
132
+ {
133
+ indexed: false,
134
+ internalType: "uint256",
135
+ name: "deposit",
136
+ type: "uint256",
137
+ },
138
+ {
139
+ indexed: true,
140
+ internalType: "address",
141
+ name: "depositor",
142
+ type: "address",
143
+ },
144
+ ],
145
+ name: "Deposit",
146
+ type: "event",
147
+ },
148
+ {
149
+ anonymous: false,
150
+ inputs: [
151
+ {
152
+ indexed: true,
153
+ internalType: "address",
154
+ name: "newFeeTo",
155
+ type: "address",
156
+ },
157
+ ],
158
+ name: "FeeToChanged",
159
+ type: "event",
160
+ },
161
+ {
162
+ anonymous: false,
163
+ inputs: [
164
+ {
165
+ indexed: false,
166
+ internalType: "uint8",
167
+ name: "version",
168
+ type: "uint8",
169
+ },
170
+ ],
171
+ name: "Initialized",
172
+ type: "event",
173
+ },
174
+ {
175
+ anonymous: false,
176
+ inputs: [
177
+ {
178
+ indexed: false,
179
+ internalType: "uint256",
180
+ name: "newMaxTotalPayout",
181
+ type: "uint256",
182
+ },
183
+ ],
184
+ name: "MaxTotalPayoutChanged",
185
+ type: "event",
186
+ },
187
+ {
188
+ anonymous: false,
189
+ inputs: [
190
+ {
191
+ indexed: true,
192
+ internalType: "address",
193
+ name: "previousOwner",
194
+ type: "address",
195
+ },
196
+ {
197
+ indexed: true,
198
+ internalType: "address",
199
+ name: "newOwner",
200
+ type: "address",
201
+ },
202
+ ],
203
+ name: "OwnershipTransferred",
204
+ type: "event",
205
+ },
206
+ {
207
+ anonymous: false,
208
+ inputs: [
209
+ {
210
+ indexed: true,
211
+ internalType: "bytes32",
212
+ name: "role",
213
+ type: "bytes32",
214
+ },
215
+ {
216
+ indexed: true,
217
+ internalType: "bytes32",
218
+ name: "previousAdminRole",
219
+ type: "bytes32",
220
+ },
221
+ {
222
+ indexed: true,
223
+ internalType: "bytes32",
224
+ name: "newAdminRole",
225
+ type: "bytes32",
226
+ },
227
+ ],
228
+ name: "RoleAdminChanged",
229
+ type: "event",
230
+ },
231
+ {
232
+ anonymous: false,
233
+ inputs: [
234
+ {
235
+ indexed: true,
236
+ internalType: "bytes32",
237
+ name: "role",
238
+ type: "bytes32",
239
+ },
240
+ {
241
+ indexed: true,
242
+ internalType: "address",
243
+ name: "account",
244
+ type: "address",
245
+ },
246
+ {
247
+ indexed: true,
248
+ internalType: "address",
249
+ name: "sender",
250
+ type: "address",
251
+ },
252
+ ],
253
+ name: "RoleGranted",
254
+ type: "event",
255
+ },
256
+ {
257
+ anonymous: false,
258
+ inputs: [
259
+ {
260
+ indexed: true,
261
+ internalType: "bytes32",
262
+ name: "role",
263
+ type: "bytes32",
264
+ },
265
+ {
266
+ indexed: true,
267
+ internalType: "address",
268
+ name: "account",
269
+ type: "address",
270
+ },
271
+ {
272
+ indexed: true,
273
+ internalType: "address",
274
+ name: "sender",
275
+ type: "address",
276
+ },
277
+ ],
278
+ name: "RoleRevoked",
279
+ type: "event",
280
+ },
281
+ {
282
+ anonymous: false,
283
+ inputs: [
284
+ {
285
+ indexed: false,
286
+ internalType: "uint256[]",
287
+ name: "fees",
288
+ type: "uint256[]",
289
+ },
290
+ {
291
+ indexed: false,
292
+ internalType: "uint256[]",
293
+ name: "tierCeilings",
294
+ type: "uint256[]",
295
+ },
296
+ ],
297
+ name: "SetFees",
298
+ type: "event",
299
+ },
300
+ {
301
+ anonymous: false,
302
+ inputs: [
303
+ {
304
+ indexed: true,
305
+ internalType: "address",
306
+ name: "pendingOwner",
307
+ type: "address",
308
+ },
309
+ ],
310
+ name: "SetPendingOwner",
311
+ type: "event",
312
+ },
313
+ {
314
+ anonymous: false,
315
+ inputs: [
316
+ {
317
+ indexed: false,
318
+ internalType: "enum CustomBillSale.PARAMETER",
319
+ name: "parameter",
320
+ type: "uint8",
321
+ },
322
+ {
323
+ indexed: false,
324
+ internalType: "uint256",
325
+ name: "input",
326
+ type: "uint256",
327
+ },
328
+ ],
329
+ name: "TermsSet",
330
+ type: "event",
331
+ },
332
+ {
333
+ anonymous: false,
334
+ inputs: [
335
+ {
336
+ indexed: true,
337
+ internalType: "address",
338
+ name: "owner",
339
+ type: "address",
340
+ },
341
+ {
342
+ indexed: true,
343
+ internalType: "address",
344
+ name: "approvedAccount",
345
+ type: "address",
346
+ },
347
+ {
348
+ indexed: false,
349
+ internalType: "bool",
350
+ name: "approved",
351
+ type: "bool",
352
+ },
353
+ ],
354
+ name: "UpdateClaimApproval",
355
+ type: "event",
356
+ },
357
+ {
358
+ inputs: [],
359
+ name: "DAO",
360
+ outputs: [
361
+ {
362
+ internalType: "address",
363
+ name: "",
364
+ type: "address",
365
+ },
366
+ ],
367
+ stateMutability: "view",
368
+ type: "function",
369
+ },
370
+ {
371
+ inputs: [],
372
+ name: "DEFAULT_ADMIN_ROLE",
373
+ outputs: [
374
+ {
375
+ internalType: "bytes32",
376
+ name: "",
377
+ type: "bytes32",
378
+ },
379
+ ],
380
+ stateMutability: "view",
381
+ type: "function",
382
+ },
383
+ {
384
+ inputs: [],
385
+ name: "MAX_FEE",
386
+ outputs: [
387
+ {
388
+ internalType: "uint256",
389
+ name: "",
390
+ type: "uint256",
391
+ },
392
+ ],
393
+ stateMutability: "view",
394
+ type: "function",
395
+ },
396
+ {
397
+ inputs: [],
398
+ name: "MAX_FEE_TIERS",
399
+ outputs: [
400
+ {
401
+ internalType: "uint8",
402
+ name: "",
403
+ type: "uint8",
404
+ },
405
+ ],
406
+ stateMutability: "view",
407
+ type: "function",
408
+ },
409
+ {
410
+ inputs: [],
411
+ name: "acceptOwnership",
412
+ outputs: [],
413
+ stateMutability: "nonpayable",
414
+ type: "function",
415
+ },
416
+ {
417
+ inputs: [
418
+ {
419
+ internalType: "address",
420
+ name: "",
421
+ type: "address",
422
+ },
423
+ ],
424
+ name: "accountInfo",
425
+ outputs: [
426
+ {
427
+ internalType: "uint256",
428
+ name: "payout",
429
+ type: "uint256",
430
+ },
431
+ {
432
+ internalType: "uint256",
433
+ name: "depositAmount",
434
+ type: "uint256",
435
+ },
436
+ {
437
+ internalType: "uint256",
438
+ name: "payoutClaimed",
439
+ type: "uint256",
440
+ },
441
+ {
442
+ internalType: "uint256",
443
+ name: "vesting",
444
+ type: "uint256",
445
+ },
446
+ {
447
+ internalType: "uint256",
448
+ name: "vestingTerm",
449
+ type: "uint256",
450
+ },
451
+ {
452
+ internalType: "uint256",
453
+ name: "vestingStartTimestamp",
454
+ type: "uint256",
455
+ },
456
+ {
457
+ internalType: "uint256",
458
+ name: "lastClaimTimestamp",
459
+ type: "uint256",
460
+ },
461
+ {
462
+ internalType: "uint256",
463
+ name: "truePricePaid",
464
+ type: "uint256",
465
+ },
466
+ ],
467
+ stateMutability: "view",
468
+ type: "function",
469
+ },
470
+ {
471
+ inputs: [],
472
+ name: "allIssuedBillIds",
473
+ outputs: [
474
+ {
475
+ internalType: "uint256[]",
476
+ name: "",
477
+ type: "uint256[]",
478
+ },
479
+ ],
480
+ stateMutability: "view",
481
+ type: "function",
482
+ },
483
+ {
484
+ inputs: [
485
+ {
486
+ internalType: "uint256[]",
487
+ name: "_billIds",
488
+ type: "uint256[]",
489
+ },
490
+ ],
491
+ name: "batchClaim",
492
+ outputs: [
493
+ {
494
+ internalType: "uint256",
495
+ name: "payout",
496
+ type: "uint256",
497
+ },
498
+ ],
499
+ stateMutability: "nonpayable",
500
+ type: "function",
501
+ },
502
+ {
503
+ inputs: [
504
+ {
505
+ internalType: "uint256[]",
506
+ name: "_billIds",
507
+ type: "uint256[]",
508
+ },
509
+ ],
510
+ name: "batchRedeem",
511
+ outputs: [
512
+ {
513
+ internalType: "uint256",
514
+ name: "payout",
515
+ type: "uint256",
516
+ },
517
+ ],
518
+ stateMutability: "nonpayable",
519
+ type: "function",
520
+ },
521
+ {
522
+ inputs: [
523
+ {
524
+ internalType: "uint256",
525
+ name: "",
526
+ type: "uint256",
527
+ },
528
+ ],
529
+ name: "billInfo",
530
+ outputs: [
531
+ {
532
+ internalType: "uint256",
533
+ name: "payout",
534
+ type: "uint256",
535
+ },
536
+ {
537
+ internalType: "uint256",
538
+ name: "depositAmount",
539
+ type: "uint256",
540
+ },
541
+ {
542
+ internalType: "uint256",
543
+ name: "payoutClaimed",
544
+ type: "uint256",
545
+ },
546
+ {
547
+ internalType: "uint256",
548
+ name: "vesting",
549
+ type: "uint256",
550
+ },
551
+ {
552
+ internalType: "uint256",
553
+ name: "vestingTerm",
554
+ type: "uint256",
555
+ },
556
+ {
557
+ internalType: "uint256",
558
+ name: "vestingStartTimestamp",
559
+ type: "uint256",
560
+ },
561
+ {
562
+ internalType: "uint256",
563
+ name: "lastClaimTimestamp",
564
+ type: "uint256",
565
+ },
566
+ {
567
+ internalType: "uint256",
568
+ name: "truePricePaid",
569
+ type: "uint256",
570
+ },
571
+ ],
572
+ stateMutability: "view",
573
+ type: "function",
574
+ },
575
+ {
576
+ inputs: [],
577
+ name: "billNft",
578
+ outputs: [
579
+ {
580
+ internalType: "contract IBillNft",
581
+ name: "",
582
+ type: "address",
583
+ },
584
+ ],
585
+ stateMutability: "view",
586
+ type: "function",
587
+ },
588
+ {
589
+ inputs: [],
590
+ name: "billPrice",
591
+ outputs: [
592
+ {
593
+ internalType: "uint256",
594
+ name: "price_",
595
+ type: "uint256",
596
+ },
597
+ ],
598
+ stateMutability: "view",
599
+ type: "function",
600
+ },
601
+ {
602
+ inputs: [
603
+ {
604
+ internalType: "address",
605
+ name: "_feeTo",
606
+ type: "address",
607
+ },
608
+ ],
609
+ name: "changeFeeTo",
610
+ outputs: [],
611
+ stateMutability: "nonpayable",
612
+ type: "function",
613
+ },
614
+ {
615
+ inputs: [
616
+ {
617
+ internalType: "uint256",
618
+ name: "_billId",
619
+ type: "uint256",
620
+ },
621
+ ],
622
+ name: "claim",
623
+ outputs: [
624
+ {
625
+ internalType: "uint256",
626
+ name: "",
627
+ type: "uint256",
628
+ },
629
+ ],
630
+ stateMutability: "nonpayable",
631
+ type: "function",
632
+ },
633
+ {
634
+ inputs: [
635
+ {
636
+ internalType: "uint256",
637
+ name: "_billId",
638
+ type: "uint256",
639
+ },
640
+ ],
641
+ name: "claimablePayout",
642
+ outputs: [
643
+ {
644
+ internalType: "uint256",
645
+ name: "claimablePayout_",
646
+ type: "uint256",
647
+ },
648
+ ],
649
+ stateMutability: "view",
650
+ type: "function",
651
+ },
652
+ {
653
+ inputs: [],
654
+ name: "currentFee",
655
+ outputs: [
656
+ {
657
+ internalType: "uint256",
658
+ name: "currentFee_",
659
+ type: "uint256",
660
+ },
661
+ ],
662
+ stateMutability: "view",
663
+ type: "function",
664
+ },
665
+ {
666
+ inputs: [],
667
+ name: "customTreasury",
668
+ outputs: [
669
+ {
670
+ internalType: "contract ICustomTreasury",
671
+ name: "",
672
+ type: "address",
673
+ },
674
+ ],
675
+ stateMutability: "view",
676
+ type: "function",
677
+ },
678
+ {
679
+ inputs: [
680
+ {
681
+ internalType: "uint256",
682
+ name: "_amount",
683
+ type: "uint256",
684
+ },
685
+ {
686
+ internalType: "uint256",
687
+ name: "_maxPrice",
688
+ type: "uint256",
689
+ },
690
+ {
691
+ internalType: "address",
692
+ name: "_depositor",
693
+ type: "address",
694
+ },
695
+ ],
696
+ name: "deposit",
697
+ outputs: [
698
+ {
699
+ internalType: "uint256",
700
+ name: "",
701
+ type: "uint256",
702
+ },
703
+ ],
704
+ stateMutability: "nonpayable",
705
+ type: "function",
706
+ },
707
+ {
708
+ inputs: [],
709
+ name: "feeInPayout",
710
+ outputs: [
711
+ {
712
+ internalType: "bool",
713
+ name: "",
714
+ type: "bool",
715
+ },
716
+ ],
717
+ stateMutability: "view",
718
+ type: "function",
719
+ },
720
+ {
721
+ inputs: [
722
+ {
723
+ internalType: "uint256",
724
+ name: "",
725
+ type: "uint256",
726
+ },
727
+ ],
728
+ name: "feeTiers",
729
+ outputs: [
730
+ {
731
+ internalType: "uint256",
732
+ name: "tierCeilings",
733
+ type: "uint256",
734
+ },
735
+ {
736
+ internalType: "uint256",
737
+ name: "fees",
738
+ type: "uint256",
739
+ },
740
+ ],
741
+ stateMutability: "view",
742
+ type: "function",
743
+ },
744
+ {
745
+ inputs: [],
746
+ name: "feeTo",
747
+ outputs: [
748
+ {
749
+ internalType: "address",
750
+ name: "",
751
+ type: "address",
752
+ },
753
+ ],
754
+ stateMutability: "view",
755
+ type: "function",
756
+ },
757
+ {
758
+ inputs: [],
759
+ name: "finalizeSale",
760
+ outputs: [],
761
+ stateMutability: "nonpayable",
762
+ type: "function",
763
+ },
764
+ {
765
+ inputs: [],
766
+ name: "finalized",
767
+ outputs: [
768
+ {
769
+ internalType: "bool",
770
+ name: "",
771
+ type: "bool",
772
+ },
773
+ ],
774
+ stateMutability: "view",
775
+ type: "function",
776
+ },
777
+ {
778
+ inputs: [
779
+ {
780
+ internalType: "address",
781
+ name: "user",
782
+ type: "address",
783
+ },
784
+ ],
785
+ name: "getBillIds",
786
+ outputs: [
787
+ {
788
+ internalType: "uint256[]",
789
+ name: "",
790
+ type: "uint256[]",
791
+ },
792
+ ],
793
+ stateMutability: "view",
794
+ type: "function",
795
+ },
796
+ {
797
+ inputs: [
798
+ {
799
+ internalType: "address",
800
+ name: "user",
801
+ type: "address",
802
+ },
803
+ {
804
+ internalType: "uint256",
805
+ name: "start",
806
+ type: "uint256",
807
+ },
808
+ {
809
+ internalType: "uint256",
810
+ name: "end",
811
+ type: "uint256",
812
+ },
813
+ ],
814
+ name: "getBillIdsInRange",
815
+ outputs: [
816
+ {
817
+ internalType: "uint256[]",
818
+ name: "",
819
+ type: "uint256[]",
820
+ },
821
+ ],
822
+ stateMutability: "view",
823
+ type: "function",
824
+ },
825
+ {
826
+ inputs: [
827
+ {
828
+ internalType: "uint256",
829
+ name: "billId",
830
+ type: "uint256",
831
+ },
832
+ ],
833
+ name: "getBillInfo",
834
+ outputs: [
835
+ {
836
+ components: [
837
+ {
838
+ internalType: "uint256",
839
+ name: "payout",
840
+ type: "uint256",
841
+ },
842
+ {
843
+ internalType: "uint256",
844
+ name: "depositAmount",
845
+ type: "uint256",
846
+ },
847
+ {
848
+ internalType: "uint256",
849
+ name: "payoutClaimed",
850
+ type: "uint256",
851
+ },
852
+ {
853
+ internalType: "uint256",
854
+ name: "vesting",
855
+ type: "uint256",
856
+ },
857
+ {
858
+ internalType: "uint256",
859
+ name: "vestingTerm",
860
+ type: "uint256",
861
+ },
862
+ {
863
+ internalType: "uint256",
864
+ name: "vestingStartTimestamp",
865
+ type: "uint256",
866
+ },
867
+ {
868
+ internalType: "uint256",
869
+ name: "lastClaimTimestamp",
870
+ type: "uint256",
871
+ },
872
+ {
873
+ internalType: "uint256",
874
+ name: "truePricePaid",
875
+ type: "uint256",
876
+ },
877
+ ],
878
+ internalType: "struct ICustomBillSale.BillSale",
879
+ name: "",
880
+ type: "tuple",
881
+ },
882
+ ],
883
+ stateMutability: "view",
884
+ type: "function",
885
+ },
886
+ {
887
+ inputs: [],
888
+ name: "getFeeTierLength",
889
+ outputs: [
890
+ {
891
+ internalType: "uint256",
892
+ name: "tierLength_",
893
+ type: "uint256",
894
+ },
895
+ ],
896
+ stateMutability: "view",
897
+ type: "function",
898
+ },
899
+ {
900
+ inputs: [],
901
+ name: "getMaxTotalPayout",
902
+ outputs: [
903
+ {
904
+ internalType: "uint256",
905
+ name: "",
906
+ type: "uint256",
907
+ },
908
+ ],
909
+ stateMutability: "view",
910
+ type: "function",
911
+ },
912
+ {
913
+ inputs: [
914
+ {
915
+ internalType: "uint256",
916
+ name: "_amount",
917
+ type: "uint256",
918
+ },
919
+ ],
920
+ name: "getRefundingAmount",
921
+ outputs: [
922
+ {
923
+ internalType: "uint256",
924
+ name: "",
925
+ type: "uint256",
926
+ },
927
+ ],
928
+ stateMutability: "view",
929
+ type: "function",
930
+ },
931
+ {
932
+ inputs: [
933
+ {
934
+ internalType: "bytes32",
935
+ name: "role",
936
+ type: "bytes32",
937
+ },
938
+ ],
939
+ name: "getRoleAdmin",
940
+ outputs: [
941
+ {
942
+ internalType: "bytes32",
943
+ name: "",
944
+ type: "bytes32",
945
+ },
946
+ ],
947
+ stateMutability: "view",
948
+ type: "function",
949
+ },
950
+ {
951
+ inputs: [
952
+ {
953
+ internalType: "bytes32",
954
+ name: "role",
955
+ type: "bytes32",
956
+ },
957
+ {
958
+ internalType: "uint256",
959
+ name: "index",
960
+ type: "uint256",
961
+ },
962
+ ],
963
+ name: "getRoleMember",
964
+ outputs: [
965
+ {
966
+ internalType: "address",
967
+ name: "",
968
+ type: "address",
969
+ },
970
+ ],
971
+ stateMutability: "view",
972
+ type: "function",
973
+ },
974
+ {
975
+ inputs: [
976
+ {
977
+ internalType: "bytes32",
978
+ name: "role",
979
+ type: "bytes32",
980
+ },
981
+ ],
982
+ name: "getRoleMemberCount",
983
+ outputs: [
984
+ {
985
+ internalType: "uint256",
986
+ name: "",
987
+ type: "uint256",
988
+ },
989
+ ],
990
+ stateMutability: "view",
991
+ type: "function",
992
+ },
993
+ {
994
+ inputs: [],
995
+ name: "getTotalRaise",
996
+ outputs: [
997
+ {
998
+ internalType: "uint256",
999
+ name: "",
1000
+ type: "uint256",
1001
+ },
1002
+ ],
1003
+ stateMutability: "view",
1004
+ type: "function",
1005
+ },
1006
+ {
1007
+ inputs: [
1008
+ {
1009
+ internalType: "uint256",
1010
+ name: "_amount",
1011
+ type: "uint256",
1012
+ },
1013
+ ],
1014
+ name: "getUserAllocation",
1015
+ outputs: [
1016
+ {
1017
+ internalType: "uint256",
1018
+ name: "",
1019
+ type: "uint256",
1020
+ },
1021
+ ],
1022
+ stateMutability: "view",
1023
+ type: "function",
1024
+ },
1025
+ {
1026
+ inputs: [
1027
+ {
1028
+ internalType: "address",
1029
+ name: "user",
1030
+ type: "address",
1031
+ },
1032
+ ],
1033
+ name: "getUserInfo",
1034
+ outputs: [
1035
+ {
1036
+ components: [
1037
+ {
1038
+ internalType: "uint256",
1039
+ name: "payout",
1040
+ type: "uint256",
1041
+ },
1042
+ {
1043
+ internalType: "uint256",
1044
+ name: "depositAmount",
1045
+ type: "uint256",
1046
+ },
1047
+ {
1048
+ internalType: "uint256",
1049
+ name: "payoutClaimed",
1050
+ type: "uint256",
1051
+ },
1052
+ {
1053
+ internalType: "uint256",
1054
+ name: "vesting",
1055
+ type: "uint256",
1056
+ },
1057
+ {
1058
+ internalType: "uint256",
1059
+ name: "vestingTerm",
1060
+ type: "uint256",
1061
+ },
1062
+ {
1063
+ internalType: "uint256",
1064
+ name: "vestingStartTimestamp",
1065
+ type: "uint256",
1066
+ },
1067
+ {
1068
+ internalType: "uint256",
1069
+ name: "lastClaimTimestamp",
1070
+ type: "uint256",
1071
+ },
1072
+ {
1073
+ internalType: "uint256",
1074
+ name: "truePricePaid",
1075
+ type: "uint256",
1076
+ },
1077
+ ],
1078
+ internalType: "struct ICustomBillSale.BillSale",
1079
+ name: "",
1080
+ type: "tuple",
1081
+ },
1082
+ ],
1083
+ stateMutability: "view",
1084
+ type: "function",
1085
+ },
1086
+ {
1087
+ inputs: [
1088
+ {
1089
+ internalType: "address",
1090
+ name: "_user",
1091
+ type: "address",
1092
+ },
1093
+ ],
1094
+ name: "getUserRefundingAmount",
1095
+ outputs: [
1096
+ {
1097
+ internalType: "uint256",
1098
+ name: "",
1099
+ type: "uint256",
1100
+ },
1101
+ ],
1102
+ stateMutability: "view",
1103
+ type: "function",
1104
+ },
1105
+ {
1106
+ inputs: [
1107
+ {
1108
+ internalType: "bytes32",
1109
+ name: "role",
1110
+ type: "bytes32",
1111
+ },
1112
+ {
1113
+ internalType: "address",
1114
+ name: "account",
1115
+ type: "address",
1116
+ },
1117
+ ],
1118
+ name: "grantRole",
1119
+ outputs: [],
1120
+ stateMutability: "nonpayable",
1121
+ type: "function",
1122
+ },
1123
+ {
1124
+ inputs: [
1125
+ {
1126
+ internalType: "address",
1127
+ name: "_user",
1128
+ type: "address",
1129
+ },
1130
+ ],
1131
+ name: "hasRedeemed",
1132
+ outputs: [
1133
+ {
1134
+ internalType: "bool",
1135
+ name: "",
1136
+ type: "bool",
1137
+ },
1138
+ ],
1139
+ stateMutability: "view",
1140
+ type: "function",
1141
+ },
1142
+ {
1143
+ inputs: [
1144
+ {
1145
+ internalType: "bytes32",
1146
+ name: "role",
1147
+ type: "bytes32",
1148
+ },
1149
+ {
1150
+ internalType: "address",
1151
+ name: "account",
1152
+ type: "address",
1153
+ },
1154
+ ],
1155
+ name: "hasRole",
1156
+ outputs: [
1157
+ {
1158
+ internalType: "bool",
1159
+ name: "",
1160
+ type: "bool",
1161
+ },
1162
+ ],
1163
+ stateMutability: "view",
1164
+ type: "function",
1165
+ },
1166
+ {
1167
+ inputs: [
1168
+ {
1169
+ internalType: "contract ICustomTreasury",
1170
+ name: "_customTreasury",
1171
+ type: "address",
1172
+ },
1173
+ {
1174
+ components: [
1175
+ {
1176
+ internalType: "address",
1177
+ name: "payoutToken",
1178
+ type: "address",
1179
+ },
1180
+ {
1181
+ internalType: "address",
1182
+ name: "principalToken",
1183
+ type: "address",
1184
+ },
1185
+ {
1186
+ internalType: "address",
1187
+ name: "initialOwner",
1188
+ type: "address",
1189
+ },
1190
+ {
1191
+ internalType: "contract IVestingCurve",
1192
+ name: "vestingCurve",
1193
+ type: "address",
1194
+ },
1195
+ {
1196
+ internalType: "uint256[]",
1197
+ name: "tierCeilings",
1198
+ type: "uint256[]",
1199
+ },
1200
+ {
1201
+ internalType: "uint256[]",
1202
+ name: "fees",
1203
+ type: "uint256[]",
1204
+ },
1205
+ {
1206
+ internalType: "uint256",
1207
+ name: "startVestingTimestamp",
1208
+ type: "uint256",
1209
+ },
1210
+ {
1211
+ internalType: "bool",
1212
+ name: "feeInPayout",
1213
+ type: "bool",
1214
+ },
1215
+ ],
1216
+ internalType: "struct ICustomBillBase.BillCreationDetails",
1217
+ name: "_billCreationDetails",
1218
+ type: "tuple",
1219
+ },
1220
+ {
1221
+ components: [
1222
+ {
1223
+ internalType: "uint256",
1224
+ name: "endTime",
1225
+ type: "uint256",
1226
+ },
1227
+ {
1228
+ internalType: "uint256",
1229
+ name: "startTime",
1230
+ type: "uint256",
1231
+ },
1232
+ {
1233
+ internalType: "uint256",
1234
+ name: "vestingTerm",
1235
+ type: "uint256",
1236
+ },
1237
+ {
1238
+ internalType: "uint256",
1239
+ name: "minimumPrice",
1240
+ type: "uint256",
1241
+ },
1242
+ {
1243
+ internalType: "bool",
1244
+ name: "oversubscription",
1245
+ type: "bool",
1246
+ },
1247
+ {
1248
+ internalType: "uint16",
1249
+ name: "initialRelease",
1250
+ type: "uint16",
1251
+ },
1252
+ {
1253
+ internalType: "uint256",
1254
+ name: "totalRaise",
1255
+ type: "uint256",
1256
+ },
1257
+ {
1258
+ internalType: "uint256",
1259
+ name: "maxTotalPayout",
1260
+ type: "uint256",
1261
+ },
1262
+ ],
1263
+ internalType: "struct ICustomBillSale.BillSaleTerms",
1264
+ name: "_billSaleTerms",
1265
+ type: "tuple",
1266
+ },
1267
+ {
1268
+ components: [
1269
+ {
1270
+ internalType: "address",
1271
+ name: "feeTo",
1272
+ type: "address",
1273
+ },
1274
+ {
1275
+ internalType: "address",
1276
+ name: "DAO",
1277
+ type: "address",
1278
+ },
1279
+ {
1280
+ internalType: "address",
1281
+ name: "billNft",
1282
+ type: "address",
1283
+ },
1284
+ ],
1285
+ internalType: "struct ICustomBillBase.BillAccounts",
1286
+ name: "_billAccounts",
1287
+ type: "tuple",
1288
+ },
1289
+ ],
1290
+ name: "initialize",
1291
+ outputs: [],
1292
+ stateMutability: "nonpayable",
1293
+ type: "function",
1294
+ },
1295
+ {
1296
+ inputs: [
1297
+ {
1298
+ internalType: "contract ICustomTreasury",
1299
+ name: "_customTreasury",
1300
+ type: "address",
1301
+ },
1302
+ {
1303
+ components: [
1304
+ {
1305
+ internalType: "address",
1306
+ name: "payoutToken",
1307
+ type: "address",
1308
+ },
1309
+ {
1310
+ internalType: "address",
1311
+ name: "principalToken",
1312
+ type: "address",
1313
+ },
1314
+ {
1315
+ internalType: "address",
1316
+ name: "initialOwner",
1317
+ type: "address",
1318
+ },
1319
+ {
1320
+ internalType: "contract IVestingCurve",
1321
+ name: "vestingCurve",
1322
+ type: "address",
1323
+ },
1324
+ {
1325
+ internalType: "uint256[]",
1326
+ name: "tierCeilings",
1327
+ type: "uint256[]",
1328
+ },
1329
+ {
1330
+ internalType: "uint256[]",
1331
+ name: "fees",
1332
+ type: "uint256[]",
1333
+ },
1334
+ {
1335
+ internalType: "uint256",
1336
+ name: "startVestingTimestamp",
1337
+ type: "uint256",
1338
+ },
1339
+ {
1340
+ internalType: "bool",
1341
+ name: "feeInPayout",
1342
+ type: "bool",
1343
+ },
1344
+ ],
1345
+ internalType: "struct ICustomBillBase.BillCreationDetails",
1346
+ name: "_billCreationDetails",
1347
+ type: "tuple",
1348
+ },
1349
+ {
1350
+ components: [
1351
+ {
1352
+ internalType: "uint256",
1353
+ name: "endTime",
1354
+ type: "uint256",
1355
+ },
1356
+ {
1357
+ internalType: "uint256",
1358
+ name: "startTime",
1359
+ type: "uint256",
1360
+ },
1361
+ {
1362
+ internalType: "uint256",
1363
+ name: "vestingTerm",
1364
+ type: "uint256",
1365
+ },
1366
+ {
1367
+ internalType: "uint256",
1368
+ name: "minimumPrice",
1369
+ type: "uint256",
1370
+ },
1371
+ {
1372
+ internalType: "bool",
1373
+ name: "oversubscription",
1374
+ type: "bool",
1375
+ },
1376
+ {
1377
+ internalType: "uint16",
1378
+ name: "initialRelease",
1379
+ type: "uint16",
1380
+ },
1381
+ {
1382
+ internalType: "uint256",
1383
+ name: "totalRaise",
1384
+ type: "uint256",
1385
+ },
1386
+ {
1387
+ internalType: "uint256",
1388
+ name: "maxTotalPayout",
1389
+ type: "uint256",
1390
+ },
1391
+ ],
1392
+ internalType: "struct ICustomBillSale.BillSaleTerms",
1393
+ name: "_billTerms",
1394
+ type: "tuple",
1395
+ },
1396
+ {
1397
+ components: [
1398
+ {
1399
+ internalType: "address",
1400
+ name: "feeTo",
1401
+ type: "address",
1402
+ },
1403
+ {
1404
+ internalType: "address",
1405
+ name: "DAO",
1406
+ type: "address",
1407
+ },
1408
+ {
1409
+ internalType: "address",
1410
+ name: "billNft",
1411
+ type: "address",
1412
+ },
1413
+ ],
1414
+ internalType: "struct ICustomBillBase.BillAccounts",
1415
+ name: "_billAccounts",
1416
+ type: "tuple",
1417
+ },
1418
+ {
1419
+ internalType: "uint256",
1420
+ name: "_minPoints",
1421
+ type: "uint256",
1422
+ },
1423
+ {
1424
+ internalType: "uint256",
1425
+ name: "_maxPoints",
1426
+ type: "uint256",
1427
+ },
1428
+ {
1429
+ internalType: "contract IEscrowWeightLens",
1430
+ name: "_pointsLens",
1431
+ type: "address",
1432
+ },
1433
+ ],
1434
+ name: "initialize",
1435
+ outputs: [],
1436
+ stateMutability: "nonpayable",
1437
+ type: "function",
1438
+ },
1439
+ {
1440
+ inputs: [],
1441
+ name: "maxPoints",
1442
+ outputs: [
1443
+ {
1444
+ internalType: "uint256",
1445
+ name: "",
1446
+ type: "uint256",
1447
+ },
1448
+ ],
1449
+ stateMutability: "view",
1450
+ type: "function",
1451
+ },
1452
+ {
1453
+ inputs: [],
1454
+ name: "minPoints",
1455
+ outputs: [
1456
+ {
1457
+ internalType: "uint256",
1458
+ name: "",
1459
+ type: "uint256",
1460
+ },
1461
+ ],
1462
+ stateMutability: "view",
1463
+ type: "function",
1464
+ },
1465
+ {
1466
+ inputs: [],
1467
+ name: "owner",
1468
+ outputs: [
1469
+ {
1470
+ internalType: "address",
1471
+ name: "",
1472
+ type: "address",
1473
+ },
1474
+ ],
1475
+ stateMutability: "view",
1476
+ type: "function",
1477
+ },
1478
+ {
1479
+ inputs: [
1480
+ {
1481
+ internalType: "uint256",
1482
+ name: "_amount",
1483
+ type: "uint256",
1484
+ },
1485
+ ],
1486
+ name: "payoutFor",
1487
+ outputs: [
1488
+ {
1489
+ internalType: "uint256",
1490
+ name: "_payout",
1491
+ type: "uint256",
1492
+ },
1493
+ {
1494
+ internalType: "uint256",
1495
+ name: "_fee",
1496
+ type: "uint256",
1497
+ },
1498
+ {
1499
+ internalType: "uint256",
1500
+ name: "_refundingAmount",
1501
+ type: "uint256",
1502
+ },
1503
+ ],
1504
+ stateMutability: "view",
1505
+ type: "function",
1506
+ },
1507
+ {
1508
+ inputs: [
1509
+ {
1510
+ internalType: "address",
1511
+ name: "_user",
1512
+ type: "address",
1513
+ },
1514
+ ],
1515
+ name: "payoutForUser",
1516
+ outputs: [
1517
+ {
1518
+ internalType: "uint256",
1519
+ name: "_payout",
1520
+ type: "uint256",
1521
+ },
1522
+ {
1523
+ internalType: "uint256",
1524
+ name: "_fee",
1525
+ type: "uint256",
1526
+ },
1527
+ {
1528
+ internalType: "uint256",
1529
+ name: "_refundingAmount",
1530
+ type: "uint256",
1531
+ },
1532
+ ],
1533
+ stateMutability: "view",
1534
+ type: "function",
1535
+ },
1536
+ {
1537
+ inputs: [],
1538
+ name: "payoutToken",
1539
+ outputs: [
1540
+ {
1541
+ internalType: "contract IERC20MetadataUpgradeable",
1542
+ name: "",
1543
+ type: "address",
1544
+ },
1545
+ ],
1546
+ stateMutability: "view",
1547
+ type: "function",
1548
+ },
1549
+ {
1550
+ inputs: [],
1551
+ name: "pendingOwner",
1552
+ outputs: [
1553
+ {
1554
+ internalType: "address",
1555
+ name: "",
1556
+ type: "address",
1557
+ },
1558
+ ],
1559
+ stateMutability: "view",
1560
+ type: "function",
1561
+ },
1562
+ {
1563
+ inputs: [
1564
+ {
1565
+ internalType: "uint256",
1566
+ name: "_billId",
1567
+ type: "uint256",
1568
+ },
1569
+ ],
1570
+ name: "pendingPayout",
1571
+ outputs: [
1572
+ {
1573
+ internalType: "uint256",
1574
+ name: "pendingPayout_",
1575
+ type: "uint256",
1576
+ },
1577
+ ],
1578
+ stateMutability: "view",
1579
+ type: "function",
1580
+ },
1581
+ {
1582
+ inputs: [
1583
+ {
1584
+ internalType: "uint256",
1585
+ name: "_billId",
1586
+ type: "uint256",
1587
+ },
1588
+ ],
1589
+ name: "pendingVesting",
1590
+ outputs: [
1591
+ {
1592
+ internalType: "uint256",
1593
+ name: "pendingVesting_",
1594
+ type: "uint256",
1595
+ },
1596
+ ],
1597
+ stateMutability: "view",
1598
+ type: "function",
1599
+ },
1600
+ {
1601
+ inputs: [],
1602
+ name: "pointsLens",
1603
+ outputs: [
1604
+ {
1605
+ internalType: "contract IEscrowWeightLens",
1606
+ name: "",
1607
+ type: "address",
1608
+ },
1609
+ ],
1610
+ stateMutability: "view",
1611
+ type: "function",
1612
+ },
1613
+ {
1614
+ inputs: [],
1615
+ name: "price",
1616
+ outputs: [
1617
+ {
1618
+ internalType: "uint256",
1619
+ name: "",
1620
+ type: "uint256",
1621
+ },
1622
+ ],
1623
+ stateMutability: "view",
1624
+ type: "function",
1625
+ },
1626
+ {
1627
+ inputs: [],
1628
+ name: "principalToken",
1629
+ outputs: [
1630
+ {
1631
+ internalType: "contract IERC20MetadataUpgradeable",
1632
+ name: "",
1633
+ type: "address",
1634
+ },
1635
+ ],
1636
+ stateMutability: "view",
1637
+ type: "function",
1638
+ },
1639
+ {
1640
+ inputs: [],
1641
+ name: "redeem",
1642
+ outputs: [],
1643
+ stateMutability: "nonpayable",
1644
+ type: "function",
1645
+ },
1646
+ {
1647
+ inputs: [
1648
+ {
1649
+ internalType: "address",
1650
+ name: "",
1651
+ type: "address",
1652
+ },
1653
+ {
1654
+ internalType: "address",
1655
+ name: "",
1656
+ type: "address",
1657
+ },
1658
+ ],
1659
+ name: "redeemerApproved",
1660
+ outputs: [
1661
+ {
1662
+ internalType: "bool",
1663
+ name: "",
1664
+ type: "bool",
1665
+ },
1666
+ ],
1667
+ stateMutability: "view",
1668
+ type: "function",
1669
+ },
1670
+ {
1671
+ inputs: [],
1672
+ name: "renounceOwnership",
1673
+ outputs: [],
1674
+ stateMutability: "nonpayable",
1675
+ type: "function",
1676
+ },
1677
+ {
1678
+ inputs: [
1679
+ {
1680
+ internalType: "bytes32",
1681
+ name: "role",
1682
+ type: "bytes32",
1683
+ },
1684
+ {
1685
+ internalType: "address",
1686
+ name: "account",
1687
+ type: "address",
1688
+ },
1689
+ ],
1690
+ name: "renounceRole",
1691
+ outputs: [],
1692
+ stateMutability: "nonpayable",
1693
+ type: "function",
1694
+ },
1695
+ {
1696
+ inputs: [
1697
+ {
1698
+ internalType: "bytes32",
1699
+ name: "role",
1700
+ type: "bytes32",
1701
+ },
1702
+ {
1703
+ internalType: "address",
1704
+ name: "account",
1705
+ type: "address",
1706
+ },
1707
+ ],
1708
+ name: "revokeRole",
1709
+ outputs: [],
1710
+ stateMutability: "nonpayable",
1711
+ type: "function",
1712
+ },
1713
+ {
1714
+ inputs: [],
1715
+ name: "saleActive",
1716
+ outputs: [
1717
+ {
1718
+ internalType: "bool",
1719
+ name: "",
1720
+ type: "bool",
1721
+ },
1722
+ ],
1723
+ stateMutability: "view",
1724
+ type: "function",
1725
+ },
1726
+ {
1727
+ inputs: [
1728
+ {
1729
+ internalType: "enum CustomBillSale.PARAMETER",
1730
+ name: "_parameter",
1731
+ type: "uint8",
1732
+ },
1733
+ {
1734
+ internalType: "uint256",
1735
+ name: "_input",
1736
+ type: "uint256",
1737
+ },
1738
+ ],
1739
+ name: "setBillTerms",
1740
+ outputs: [],
1741
+ stateMutability: "nonpayable",
1742
+ type: "function",
1743
+ },
1744
+ {
1745
+ inputs: [
1746
+ {
1747
+ internalType: "address",
1748
+ name: "approvedAccount",
1749
+ type: "address",
1750
+ },
1751
+ {
1752
+ internalType: "bool",
1753
+ name: "approved",
1754
+ type: "bool",
1755
+ },
1756
+ ],
1757
+ name: "setClaimApproval",
1758
+ outputs: [],
1759
+ stateMutability: "nonpayable",
1760
+ type: "function",
1761
+ },
1762
+ {
1763
+ inputs: [
1764
+ {
1765
+ internalType: "uint256[]",
1766
+ name: "fees",
1767
+ type: "uint256[]",
1768
+ },
1769
+ {
1770
+ internalType: "uint256[]",
1771
+ name: "tierCeilings",
1772
+ type: "uint256[]",
1773
+ },
1774
+ ],
1775
+ name: "setFeeTiers",
1776
+ outputs: [],
1777
+ stateMutability: "nonpayable",
1778
+ type: "function",
1779
+ },
1780
+ {
1781
+ inputs: [
1782
+ {
1783
+ internalType: "address",
1784
+ name: "newPendingOwner",
1785
+ type: "address",
1786
+ },
1787
+ ],
1788
+ name: "setPendingOwner",
1789
+ outputs: [],
1790
+ stateMutability: "nonpayable",
1791
+ type: "function",
1792
+ },
1793
+ {
1794
+ inputs: [],
1795
+ name: "startVestingTimestamp",
1796
+ outputs: [
1797
+ {
1798
+ internalType: "uint256",
1799
+ name: "",
1800
+ type: "uint256",
1801
+ },
1802
+ ],
1803
+ stateMutability: "view",
1804
+ type: "function",
1805
+ },
1806
+ {
1807
+ inputs: [
1808
+ {
1809
+ internalType: "bytes4",
1810
+ name: "interfaceId",
1811
+ type: "bytes4",
1812
+ },
1813
+ ],
1814
+ name: "supportsInterface",
1815
+ outputs: [
1816
+ {
1817
+ internalType: "bool",
1818
+ name: "",
1819
+ type: "bool",
1820
+ },
1821
+ ],
1822
+ stateMutability: "view",
1823
+ type: "function",
1824
+ },
1825
+ {
1826
+ inputs: [],
1827
+ name: "terms",
1828
+ outputs: [
1829
+ {
1830
+ internalType: "uint256",
1831
+ name: "endTime",
1832
+ type: "uint256",
1833
+ },
1834
+ {
1835
+ internalType: "uint256",
1836
+ name: "startTime",
1837
+ type: "uint256",
1838
+ },
1839
+ {
1840
+ internalType: "uint256",
1841
+ name: "vestingTerm",
1842
+ type: "uint256",
1843
+ },
1844
+ {
1845
+ internalType: "uint256",
1846
+ name: "minimumPrice",
1847
+ type: "uint256",
1848
+ },
1849
+ {
1850
+ internalType: "bool",
1851
+ name: "oversubscription",
1852
+ type: "bool",
1853
+ },
1854
+ {
1855
+ internalType: "uint16",
1856
+ name: "initialRelease",
1857
+ type: "uint16",
1858
+ },
1859
+ {
1860
+ internalType: "uint256",
1861
+ name: "totalRaise",
1862
+ type: "uint256",
1863
+ },
1864
+ {
1865
+ internalType: "uint256",
1866
+ name: "maxTotalPayout",
1867
+ type: "uint256",
1868
+ },
1869
+ ],
1870
+ stateMutability: "view",
1871
+ type: "function",
1872
+ },
1873
+ {
1874
+ inputs: [],
1875
+ name: "totalPayoutGiven",
1876
+ outputs: [
1877
+ {
1878
+ internalType: "uint256",
1879
+ name: "",
1880
+ type: "uint256",
1881
+ },
1882
+ ],
1883
+ stateMutability: "view",
1884
+ type: "function",
1885
+ },
1886
+ {
1887
+ inputs: [],
1888
+ name: "totalPrincipalBilled",
1889
+ outputs: [
1890
+ {
1891
+ internalType: "uint256",
1892
+ name: "",
1893
+ type: "uint256",
1894
+ },
1895
+ ],
1896
+ stateMutability: "view",
1897
+ type: "function",
1898
+ },
1899
+ {
1900
+ inputs: [
1901
+ {
1902
+ internalType: "address",
1903
+ name: "",
1904
+ type: "address",
1905
+ },
1906
+ ],
1907
+ name: "transferOwnership",
1908
+ outputs: [],
1909
+ stateMutability: "view",
1910
+ type: "function",
1911
+ },
1912
+ {
1913
+ inputs: [],
1914
+ name: "trueBillPrice",
1915
+ outputs: [
1916
+ {
1917
+ internalType: "uint256",
1918
+ name: "price_",
1919
+ type: "uint256",
1920
+ },
1921
+ ],
1922
+ stateMutability: "view",
1923
+ type: "function",
1924
+ },
1925
+ {
1926
+ inputs: [],
1927
+ name: "userBillIds",
1928
+ outputs: [
1929
+ {
1930
+ internalType: "uint256[]",
1931
+ name: "",
1932
+ type: "uint256[]",
1933
+ },
1934
+ ],
1935
+ stateMutability: "view",
1936
+ type: "function",
1937
+ },
1938
+ {
1939
+ inputs: [
1940
+ {
1941
+ internalType: "uint256",
1942
+ name: "_billId",
1943
+ type: "uint256",
1944
+ },
1945
+ {
1946
+ internalType: "uint256",
1947
+ name: "_timestamp",
1948
+ type: "uint256",
1949
+ },
1950
+ ],
1951
+ name: "vestedPayoutAtTime",
1952
+ outputs: [
1953
+ {
1954
+ internalType: "uint256",
1955
+ name: "vestedPayout_",
1956
+ type: "uint256",
1957
+ },
1958
+ ],
1959
+ stateMutability: "view",
1960
+ type: "function",
1961
+ },
1962
+ {
1963
+ inputs: [],
1964
+ name: "vestingCurve",
1965
+ outputs: [
1966
+ {
1967
+ internalType: "contract IVestingCurve",
1968
+ name: "",
1969
+ type: "address",
1970
+ },
1971
+ ],
1972
+ stateMutability: "view",
1973
+ type: "function",
1974
+ },
1975
+ {
1976
+ inputs: [
1977
+ {
1978
+ internalType: "uint256",
1979
+ name: "_billId",
1980
+ type: "uint256",
1981
+ },
1982
+ ],
1983
+ name: "vestingPayout",
1984
+ outputs: [
1985
+ {
1986
+ internalType: "uint256",
1987
+ name: "vestingPayout_",
1988
+ type: "uint256",
1989
+ },
1990
+ ],
1991
+ stateMutability: "view",
1992
+ type: "function",
1993
+ },
1994
+ {
1995
+ inputs: [
1996
+ {
1997
+ internalType: "uint256",
1998
+ name: "_billId",
1999
+ type: "uint256",
2000
+ },
2001
+ ],
2002
+ name: "vestingPeriod",
2003
+ outputs: [
2004
+ {
2005
+ internalType: "uint256",
2006
+ name: "vestingStart_",
2007
+ type: "uint256",
2008
+ },
2009
+ {
2010
+ internalType: "uint256",
2011
+ name: "vestingEnd_",
2012
+ type: "uint256",
2013
+ },
2014
+ ],
2015
+ stateMutability: "view",
2016
+ type: "function",
2017
+ },
2018
+ ];
2019
+ var LaunchBonds__factory = /** @class */ (function () {
2020
+ function LaunchBonds__factory() {
2021
+ }
2022
+ LaunchBonds__factory.createInterface = function () {
2023
+ return new utils.Interface(_abi);
2024
+ };
2025
+ LaunchBonds__factory.connect = function (address, signerOrProvider) {
2026
+ return new Contract(address, _abi, signerOrProvider);
2027
+ };
2028
+ LaunchBonds__factory.abi = _abi;
2029
+ return LaunchBonds__factory;
2030
+ }());
2031
+ export { LaunchBonds__factory };