@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,586 @@
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: false,
11
+ internalType: "contract IERC20",
12
+ name: "rewardToken",
13
+ type: "address",
14
+ },
15
+ {
16
+ indexed: false,
17
+ internalType: "uint256",
18
+ name: "rewardPerSecond",
19
+ type: "uint256",
20
+ },
21
+ {
22
+ indexed: false,
23
+ internalType: "address",
24
+ name: "MINI_APE_V2",
25
+ type: "address",
26
+ },
27
+ ],
28
+ name: "LogInit",
29
+ type: "event",
30
+ },
31
+ {
32
+ anonymous: false,
33
+ inputs: [
34
+ {
35
+ indexed: true,
36
+ internalType: "address",
37
+ name: "user",
38
+ type: "address",
39
+ },
40
+ {
41
+ indexed: true,
42
+ internalType: "uint256",
43
+ name: "pid",
44
+ type: "uint256",
45
+ },
46
+ {
47
+ indexed: false,
48
+ internalType: "uint256",
49
+ name: "amount",
50
+ type: "uint256",
51
+ },
52
+ {
53
+ indexed: true,
54
+ internalType: "address",
55
+ name: "to",
56
+ type: "address",
57
+ },
58
+ ],
59
+ name: "LogOnReward",
60
+ type: "event",
61
+ },
62
+ {
63
+ anonymous: false,
64
+ inputs: [
65
+ {
66
+ indexed: true,
67
+ internalType: "uint256",
68
+ name: "pid",
69
+ type: "uint256",
70
+ },
71
+ {
72
+ indexed: false,
73
+ internalType: "uint256",
74
+ name: "allocPoint",
75
+ type: "uint256",
76
+ },
77
+ ],
78
+ name: "LogPoolAddition",
79
+ type: "event",
80
+ },
81
+ {
82
+ anonymous: false,
83
+ inputs: [
84
+ {
85
+ indexed: false,
86
+ internalType: "uint256",
87
+ name: "rewardPerSecond",
88
+ type: "uint256",
89
+ },
90
+ ],
91
+ name: "LogRewardPerSecond",
92
+ type: "event",
93
+ },
94
+ {
95
+ anonymous: false,
96
+ inputs: [
97
+ {
98
+ indexed: true,
99
+ internalType: "uint256",
100
+ name: "pid",
101
+ type: "uint256",
102
+ },
103
+ {
104
+ indexed: false,
105
+ internalType: "uint256",
106
+ name: "allocPoint",
107
+ type: "uint256",
108
+ },
109
+ ],
110
+ name: "LogSetPool",
111
+ type: "event",
112
+ },
113
+ {
114
+ anonymous: false,
115
+ inputs: [
116
+ {
117
+ indexed: true,
118
+ internalType: "uint256",
119
+ name: "pid",
120
+ type: "uint256",
121
+ },
122
+ {
123
+ indexed: false,
124
+ internalType: "uint64",
125
+ name: "lastRewardTime",
126
+ type: "uint64",
127
+ },
128
+ {
129
+ indexed: false,
130
+ internalType: "uint256",
131
+ name: "lpSupply",
132
+ type: "uint256",
133
+ },
134
+ {
135
+ indexed: false,
136
+ internalType: "uint256",
137
+ name: "accBananaPerShare",
138
+ type: "uint256",
139
+ },
140
+ ],
141
+ name: "LogUpdatePool",
142
+ type: "event",
143
+ },
144
+ {
145
+ anonymous: false,
146
+ inputs: [
147
+ {
148
+ indexed: true,
149
+ internalType: "address",
150
+ name: "previousOwner",
151
+ type: "address",
152
+ },
153
+ {
154
+ indexed: true,
155
+ internalType: "address",
156
+ name: "newOwner",
157
+ type: "address",
158
+ },
159
+ ],
160
+ name: "OwnershipTransferred",
161
+ type: "event",
162
+ },
163
+ {
164
+ inputs: [],
165
+ name: "MINIAPE_V2",
166
+ outputs: [
167
+ {
168
+ internalType: "address",
169
+ name: "",
170
+ type: "address",
171
+ },
172
+ ],
173
+ stateMutability: "view",
174
+ type: "function",
175
+ },
176
+ {
177
+ inputs: [
178
+ {
179
+ internalType: "uint256",
180
+ name: "allocPoint",
181
+ type: "uint256",
182
+ },
183
+ {
184
+ internalType: "uint256",
185
+ name: "_pid",
186
+ type: "uint256",
187
+ },
188
+ ],
189
+ name: "add",
190
+ outputs: [],
191
+ stateMutability: "nonpayable",
192
+ type: "function",
193
+ },
194
+ {
195
+ inputs: [],
196
+ name: "claimOwnership",
197
+ outputs: [],
198
+ stateMutability: "nonpayable",
199
+ type: "function",
200
+ },
201
+ {
202
+ inputs: [
203
+ {
204
+ internalType: "contract IERC20",
205
+ name: "_rewardToken",
206
+ type: "address",
207
+ },
208
+ {
209
+ internalType: "uint256",
210
+ name: "_rewardPerSecond",
211
+ type: "uint256",
212
+ },
213
+ {
214
+ internalType: "address",
215
+ name: "_MINI_APE_V2",
216
+ type: "address",
217
+ },
218
+ ],
219
+ name: "initialize",
220
+ outputs: [],
221
+ stateMutability: "nonpayable",
222
+ type: "function",
223
+ },
224
+ {
225
+ inputs: [
226
+ {
227
+ internalType: "uint256[]",
228
+ name: "pids",
229
+ type: "uint256[]",
230
+ },
231
+ ],
232
+ name: "massUpdatePools",
233
+ outputs: [],
234
+ stateMutability: "nonpayable",
235
+ type: "function",
236
+ },
237
+ {
238
+ inputs: [
239
+ {
240
+ internalType: "uint256",
241
+ name: "pid",
242
+ type: "uint256",
243
+ },
244
+ {
245
+ internalType: "address",
246
+ name: "_user",
247
+ type: "address",
248
+ },
249
+ {
250
+ internalType: "address",
251
+ name: "to",
252
+ type: "address",
253
+ },
254
+ {
255
+ internalType: "uint256",
256
+ name: "",
257
+ type: "uint256",
258
+ },
259
+ {
260
+ internalType: "uint256",
261
+ name: "lpToken",
262
+ type: "uint256",
263
+ },
264
+ ],
265
+ name: "onBananaReward",
266
+ outputs: [],
267
+ stateMutability: "nonpayable",
268
+ type: "function",
269
+ },
270
+ {
271
+ inputs: [],
272
+ name: "owner",
273
+ outputs: [
274
+ {
275
+ internalType: "address",
276
+ name: "",
277
+ type: "address",
278
+ },
279
+ ],
280
+ stateMutability: "view",
281
+ type: "function",
282
+ },
283
+ {
284
+ inputs: [],
285
+ name: "pendingOwner",
286
+ outputs: [
287
+ {
288
+ internalType: "address",
289
+ name: "",
290
+ type: "address",
291
+ },
292
+ ],
293
+ stateMutability: "view",
294
+ type: "function",
295
+ },
296
+ {
297
+ inputs: [
298
+ {
299
+ internalType: "uint256",
300
+ name: "_pid",
301
+ type: "uint256",
302
+ },
303
+ {
304
+ internalType: "address",
305
+ name: "_user",
306
+ type: "address",
307
+ },
308
+ ],
309
+ name: "pendingToken",
310
+ outputs: [
311
+ {
312
+ internalType: "uint256",
313
+ name: "pending",
314
+ type: "uint256",
315
+ },
316
+ ],
317
+ stateMutability: "view",
318
+ type: "function",
319
+ },
320
+ {
321
+ inputs: [
322
+ {
323
+ internalType: "uint256",
324
+ name: "pid",
325
+ type: "uint256",
326
+ },
327
+ {
328
+ internalType: "address",
329
+ name: "user",
330
+ type: "address",
331
+ },
332
+ {
333
+ internalType: "uint256",
334
+ name: "",
335
+ type: "uint256",
336
+ },
337
+ ],
338
+ name: "pendingTokens",
339
+ outputs: [
340
+ {
341
+ internalType: "contract IERC20[]",
342
+ name: "rewardTokens",
343
+ type: "address[]",
344
+ },
345
+ {
346
+ internalType: "uint256[]",
347
+ name: "rewardAmounts",
348
+ type: "uint256[]",
349
+ },
350
+ ],
351
+ stateMutability: "view",
352
+ type: "function",
353
+ },
354
+ {
355
+ inputs: [
356
+ {
357
+ internalType: "uint256",
358
+ name: "",
359
+ type: "uint256",
360
+ },
361
+ ],
362
+ name: "poolIds",
363
+ outputs: [
364
+ {
365
+ internalType: "uint256",
366
+ name: "",
367
+ type: "uint256",
368
+ },
369
+ ],
370
+ stateMutability: "view",
371
+ type: "function",
372
+ },
373
+ {
374
+ inputs: [
375
+ {
376
+ internalType: "uint256",
377
+ name: "",
378
+ type: "uint256",
379
+ },
380
+ ],
381
+ name: "poolInfo",
382
+ outputs: [
383
+ {
384
+ internalType: "uint128",
385
+ name: "accBananaPerShare",
386
+ type: "uint128",
387
+ },
388
+ {
389
+ internalType: "uint64",
390
+ name: "lastRewardTime",
391
+ type: "uint64",
392
+ },
393
+ {
394
+ internalType: "uint64",
395
+ name: "allocPoint",
396
+ type: "uint64",
397
+ },
398
+ ],
399
+ stateMutability: "view",
400
+ type: "function",
401
+ },
402
+ {
403
+ inputs: [],
404
+ name: "poolLength",
405
+ outputs: [
406
+ {
407
+ internalType: "uint256",
408
+ name: "pools",
409
+ type: "uint256",
410
+ },
411
+ ],
412
+ stateMutability: "view",
413
+ type: "function",
414
+ },
415
+ {
416
+ inputs: [],
417
+ name: "rewardPerSecond",
418
+ outputs: [
419
+ {
420
+ internalType: "uint256",
421
+ name: "",
422
+ type: "uint256",
423
+ },
424
+ ],
425
+ stateMutability: "view",
426
+ type: "function",
427
+ },
428
+ {
429
+ inputs: [],
430
+ name: "rewardToken",
431
+ outputs: [
432
+ {
433
+ internalType: "contract IERC20",
434
+ name: "",
435
+ type: "address",
436
+ },
437
+ ],
438
+ stateMutability: "view",
439
+ type: "function",
440
+ },
441
+ {
442
+ inputs: [
443
+ {
444
+ internalType: "uint256",
445
+ name: "_pid",
446
+ type: "uint256",
447
+ },
448
+ {
449
+ internalType: "uint256",
450
+ name: "_allocPoint",
451
+ type: "uint256",
452
+ },
453
+ ],
454
+ name: "set",
455
+ outputs: [],
456
+ stateMutability: "nonpayable",
457
+ type: "function",
458
+ },
459
+ {
460
+ inputs: [
461
+ {
462
+ internalType: "uint256",
463
+ name: "_rewardPerSecond",
464
+ type: "uint256",
465
+ },
466
+ ],
467
+ name: "setRewardPerSecond",
468
+ outputs: [],
469
+ stateMutability: "nonpayable",
470
+ type: "function",
471
+ },
472
+ {
473
+ inputs: [],
474
+ name: "totalAllocPoint",
475
+ outputs: [
476
+ {
477
+ internalType: "uint256",
478
+ name: "",
479
+ type: "uint256",
480
+ },
481
+ ],
482
+ stateMutability: "view",
483
+ type: "function",
484
+ },
485
+ {
486
+ inputs: [
487
+ {
488
+ internalType: "address",
489
+ name: "newOwner",
490
+ type: "address",
491
+ },
492
+ {
493
+ internalType: "bool",
494
+ name: "direct",
495
+ type: "bool",
496
+ },
497
+ {
498
+ internalType: "bool",
499
+ name: "renounce",
500
+ type: "bool",
501
+ },
502
+ ],
503
+ name: "transferOwnership",
504
+ outputs: [],
505
+ stateMutability: "nonpayable",
506
+ type: "function",
507
+ },
508
+ {
509
+ inputs: [
510
+ {
511
+ internalType: "uint256",
512
+ name: "pid",
513
+ type: "uint256",
514
+ },
515
+ ],
516
+ name: "updatePool",
517
+ outputs: [
518
+ {
519
+ components: [
520
+ {
521
+ internalType: "uint128",
522
+ name: "accBananaPerShare",
523
+ type: "uint128",
524
+ },
525
+ {
526
+ internalType: "uint64",
527
+ name: "lastRewardTime",
528
+ type: "uint64",
529
+ },
530
+ {
531
+ internalType: "uint64",
532
+ name: "allocPoint",
533
+ type: "uint64",
534
+ },
535
+ ],
536
+ internalType: "struct MiniRewarderTime.PoolInfo",
537
+ name: "pool",
538
+ type: "tuple",
539
+ },
540
+ ],
541
+ stateMutability: "nonpayable",
542
+ type: "function",
543
+ },
544
+ {
545
+ inputs: [
546
+ {
547
+ internalType: "uint256",
548
+ name: "",
549
+ type: "uint256",
550
+ },
551
+ {
552
+ internalType: "address",
553
+ name: "",
554
+ type: "address",
555
+ },
556
+ ],
557
+ name: "userInfo",
558
+ outputs: [
559
+ {
560
+ internalType: "uint256",
561
+ name: "amount",
562
+ type: "uint256",
563
+ },
564
+ {
565
+ internalType: "uint256",
566
+ name: "rewardDebt",
567
+ type: "uint256",
568
+ },
569
+ ],
570
+ stateMutability: "view",
571
+ type: "function",
572
+ },
573
+ ];
574
+ var MiniComplexRewarder__factory = /** @class */ (function () {
575
+ function MiniComplexRewarder__factory() {
576
+ }
577
+ MiniComplexRewarder__factory.createInterface = function () {
578
+ return new utils.Interface(_abi);
579
+ };
580
+ MiniComplexRewarder__factory.connect = function (address, signerOrProvider) {
581
+ return new Contract(address, _abi, signerOrProvider);
582
+ };
583
+ MiniComplexRewarder__factory.abi = _abi;
584
+ return MiniComplexRewarder__factory;
585
+ }());
586
+ export { MiniComplexRewarder__factory };
@@ -0,0 +1,115 @@
1
+ import { Signer } from "ethers";
2
+ import type { Provider } from "@ethersproject/providers";
3
+ import type { Multicallv2, Multicallv2Interface } from "../Multicallv2";
4
+ export declare class Multicallv2__factory {
5
+ static readonly abi: readonly [{
6
+ readonly constant: true;
7
+ readonly inputs: readonly [];
8
+ readonly name: "getCurrentBlockTimestamp";
9
+ readonly outputs: readonly [{
10
+ readonly name: "timestamp";
11
+ readonly type: "uint256";
12
+ }];
13
+ readonly payable: false;
14
+ readonly stateMutability: "view";
15
+ readonly type: "function";
16
+ }, {
17
+ readonly constant: true;
18
+ readonly inputs: readonly [{
19
+ readonly components: readonly [{
20
+ readonly name: "target";
21
+ readonly type: "address";
22
+ }, {
23
+ readonly name: "callData";
24
+ readonly type: "bytes";
25
+ }];
26
+ readonly name: "calls";
27
+ readonly type: "tuple[]";
28
+ }];
29
+ readonly name: "aggregate";
30
+ readonly outputs: readonly [{
31
+ readonly name: "blockNumber";
32
+ readonly type: "uint256";
33
+ }, {
34
+ readonly name: "returnData";
35
+ readonly type: "bytes[]";
36
+ }];
37
+ readonly payable: false;
38
+ readonly stateMutability: "view";
39
+ readonly type: "function";
40
+ }, {
41
+ readonly constant: true;
42
+ readonly inputs: readonly [];
43
+ readonly name: "getLastBlockHash";
44
+ readonly outputs: readonly [{
45
+ readonly name: "blockHash";
46
+ readonly type: "bytes32";
47
+ }];
48
+ readonly payable: false;
49
+ readonly stateMutability: "view";
50
+ readonly type: "function";
51
+ }, {
52
+ readonly constant: true;
53
+ readonly inputs: readonly [{
54
+ readonly name: "addr";
55
+ readonly type: "address";
56
+ }];
57
+ readonly name: "getEthBalance";
58
+ readonly outputs: readonly [{
59
+ readonly name: "balance";
60
+ readonly type: "uint256";
61
+ }];
62
+ readonly payable: false;
63
+ readonly stateMutability: "view";
64
+ readonly type: "function";
65
+ }, {
66
+ readonly constant: true;
67
+ readonly inputs: readonly [];
68
+ readonly name: "getCurrentBlockDifficulty";
69
+ readonly outputs: readonly [{
70
+ readonly name: "difficulty";
71
+ readonly type: "uint256";
72
+ }];
73
+ readonly payable: false;
74
+ readonly stateMutability: "view";
75
+ readonly type: "function";
76
+ }, {
77
+ readonly constant: true;
78
+ readonly inputs: readonly [];
79
+ readonly name: "getCurrentBlockGasLimit";
80
+ readonly outputs: readonly [{
81
+ readonly name: "gaslimit";
82
+ readonly type: "uint256";
83
+ }];
84
+ readonly payable: false;
85
+ readonly stateMutability: "view";
86
+ readonly type: "function";
87
+ }, {
88
+ readonly constant: true;
89
+ readonly inputs: readonly [];
90
+ readonly name: "getCurrentBlockCoinbase";
91
+ readonly outputs: readonly [{
92
+ readonly name: "coinbase";
93
+ readonly type: "address";
94
+ }];
95
+ readonly payable: false;
96
+ readonly stateMutability: "view";
97
+ readonly type: "function";
98
+ }, {
99
+ readonly constant: true;
100
+ readonly inputs: readonly [{
101
+ readonly name: "blockNumber";
102
+ readonly type: "uint256";
103
+ }];
104
+ readonly name: "getBlockHash";
105
+ readonly outputs: readonly [{
106
+ readonly name: "blockHash";
107
+ readonly type: "bytes32";
108
+ }];
109
+ readonly payable: false;
110
+ readonly stateMutability: "view";
111
+ readonly type: "function";
112
+ }];
113
+ static createInterface(): Multicallv2Interface;
114
+ static connect(address: string, signerOrProvider: Signer | Provider): Multicallv2;
115
+ }