@ape.swap/bonds-sdk 1.0.473 → 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 (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,422 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "contract ENS",
6
+ "name": "_old",
7
+ "type": "address"
8
+ }
9
+ ],
10
+ "payable": false,
11
+ "stateMutability": "nonpayable",
12
+ "type": "constructor"
13
+ },
14
+ {
15
+ "anonymous": false,
16
+ "inputs": [
17
+ {
18
+ "indexed": true,
19
+ "internalType": "address",
20
+ "name": "owner",
21
+ "type": "address"
22
+ },
23
+ {
24
+ "indexed": true,
25
+ "internalType": "address",
26
+ "name": "operator",
27
+ "type": "address"
28
+ },
29
+ {
30
+ "indexed": false,
31
+ "internalType": "bool",
32
+ "name": "approved",
33
+ "type": "bool"
34
+ }
35
+ ],
36
+ "name": "ApprovalForAll",
37
+ "type": "event"
38
+ },
39
+ {
40
+ "anonymous": false,
41
+ "inputs": [
42
+ {
43
+ "indexed": true,
44
+ "internalType": "bytes32",
45
+ "name": "node",
46
+ "type": "bytes32"
47
+ },
48
+ {
49
+ "indexed": true,
50
+ "internalType": "bytes32",
51
+ "name": "label",
52
+ "type": "bytes32"
53
+ },
54
+ {
55
+ "indexed": false,
56
+ "internalType": "address",
57
+ "name": "owner",
58
+ "type": "address"
59
+ }
60
+ ],
61
+ "name": "NewOwner",
62
+ "type": "event"
63
+ },
64
+ {
65
+ "anonymous": false,
66
+ "inputs": [
67
+ {
68
+ "indexed": true,
69
+ "internalType": "bytes32",
70
+ "name": "node",
71
+ "type": "bytes32"
72
+ },
73
+ {
74
+ "indexed": false,
75
+ "internalType": "address",
76
+ "name": "resolver",
77
+ "type": "address"
78
+ }
79
+ ],
80
+ "name": "NewResolver",
81
+ "type": "event"
82
+ },
83
+ {
84
+ "anonymous": false,
85
+ "inputs": [
86
+ {
87
+ "indexed": true,
88
+ "internalType": "bytes32",
89
+ "name": "node",
90
+ "type": "bytes32"
91
+ },
92
+ {
93
+ "indexed": false,
94
+ "internalType": "uint64",
95
+ "name": "ttl",
96
+ "type": "uint64"
97
+ }
98
+ ],
99
+ "name": "NewTTL",
100
+ "type": "event"
101
+ },
102
+ {
103
+ "anonymous": false,
104
+ "inputs": [
105
+ {
106
+ "indexed": true,
107
+ "internalType": "bytes32",
108
+ "name": "node",
109
+ "type": "bytes32"
110
+ },
111
+ {
112
+ "indexed": false,
113
+ "internalType": "address",
114
+ "name": "owner",
115
+ "type": "address"
116
+ }
117
+ ],
118
+ "name": "Transfer",
119
+ "type": "event"
120
+ },
121
+ {
122
+ "constant": true,
123
+ "inputs": [
124
+ {
125
+ "internalType": "address",
126
+ "name": "owner",
127
+ "type": "address"
128
+ },
129
+ {
130
+ "internalType": "address",
131
+ "name": "operator",
132
+ "type": "address"
133
+ }
134
+ ],
135
+ "name": "isApprovedForAll",
136
+ "outputs": [
137
+ {
138
+ "internalType": "bool",
139
+ "name": "",
140
+ "type": "bool"
141
+ }
142
+ ],
143
+ "payable": false,
144
+ "stateMutability": "view",
145
+ "type": "function"
146
+ },
147
+ {
148
+ "constant": true,
149
+ "inputs": [],
150
+ "name": "old",
151
+ "outputs": [
152
+ {
153
+ "internalType": "contract ENS",
154
+ "name": "",
155
+ "type": "address"
156
+ }
157
+ ],
158
+ "payable": false,
159
+ "stateMutability": "view",
160
+ "type": "function"
161
+ },
162
+ {
163
+ "constant": true,
164
+ "inputs": [
165
+ {
166
+ "internalType": "bytes32",
167
+ "name": "node",
168
+ "type": "bytes32"
169
+ }
170
+ ],
171
+ "name": "owner",
172
+ "outputs": [
173
+ {
174
+ "internalType": "address",
175
+ "name": "",
176
+ "type": "address"
177
+ }
178
+ ],
179
+ "payable": false,
180
+ "stateMutability": "view",
181
+ "type": "function"
182
+ },
183
+ {
184
+ "constant": true,
185
+ "inputs": [
186
+ {
187
+ "internalType": "bytes32",
188
+ "name": "node",
189
+ "type": "bytes32"
190
+ }
191
+ ],
192
+ "name": "recordExists",
193
+ "outputs": [
194
+ {
195
+ "internalType": "bool",
196
+ "name": "",
197
+ "type": "bool"
198
+ }
199
+ ],
200
+ "payable": false,
201
+ "stateMutability": "view",
202
+ "type": "function"
203
+ },
204
+ {
205
+ "constant": true,
206
+ "inputs": [
207
+ {
208
+ "internalType": "bytes32",
209
+ "name": "node",
210
+ "type": "bytes32"
211
+ }
212
+ ],
213
+ "name": "resolver",
214
+ "outputs": [
215
+ {
216
+ "internalType": "address",
217
+ "name": "",
218
+ "type": "address"
219
+ }
220
+ ],
221
+ "payable": false,
222
+ "stateMutability": "view",
223
+ "type": "function"
224
+ },
225
+ {
226
+ "constant": false,
227
+ "inputs": [
228
+ {
229
+ "internalType": "address",
230
+ "name": "operator",
231
+ "type": "address"
232
+ },
233
+ {
234
+ "internalType": "bool",
235
+ "name": "approved",
236
+ "type": "bool"
237
+ }
238
+ ],
239
+ "name": "setApprovalForAll",
240
+ "outputs": [],
241
+ "payable": false,
242
+ "stateMutability": "nonpayable",
243
+ "type": "function"
244
+ },
245
+ {
246
+ "constant": false,
247
+ "inputs": [
248
+ {
249
+ "internalType": "bytes32",
250
+ "name": "node",
251
+ "type": "bytes32"
252
+ },
253
+ {
254
+ "internalType": "address",
255
+ "name": "owner",
256
+ "type": "address"
257
+ }
258
+ ],
259
+ "name": "setOwner",
260
+ "outputs": [],
261
+ "payable": false,
262
+ "stateMutability": "nonpayable",
263
+ "type": "function"
264
+ },
265
+ {
266
+ "constant": false,
267
+ "inputs": [
268
+ {
269
+ "internalType": "bytes32",
270
+ "name": "node",
271
+ "type": "bytes32"
272
+ },
273
+ {
274
+ "internalType": "address",
275
+ "name": "owner",
276
+ "type": "address"
277
+ },
278
+ {
279
+ "internalType": "address",
280
+ "name": "resolver",
281
+ "type": "address"
282
+ },
283
+ {
284
+ "internalType": "uint64",
285
+ "name": "ttl",
286
+ "type": "uint64"
287
+ }
288
+ ],
289
+ "name": "setRecord",
290
+ "outputs": [],
291
+ "payable": false,
292
+ "stateMutability": "nonpayable",
293
+ "type": "function"
294
+ },
295
+ {
296
+ "constant": false,
297
+ "inputs": [
298
+ {
299
+ "internalType": "bytes32",
300
+ "name": "node",
301
+ "type": "bytes32"
302
+ },
303
+ {
304
+ "internalType": "address",
305
+ "name": "resolver",
306
+ "type": "address"
307
+ }
308
+ ],
309
+ "name": "setResolver",
310
+ "outputs": [],
311
+ "payable": false,
312
+ "stateMutability": "nonpayable",
313
+ "type": "function"
314
+ },
315
+ {
316
+ "constant": false,
317
+ "inputs": [
318
+ {
319
+ "internalType": "bytes32",
320
+ "name": "node",
321
+ "type": "bytes32"
322
+ },
323
+ {
324
+ "internalType": "bytes32",
325
+ "name": "label",
326
+ "type": "bytes32"
327
+ },
328
+ {
329
+ "internalType": "address",
330
+ "name": "owner",
331
+ "type": "address"
332
+ }
333
+ ],
334
+ "name": "setSubnodeOwner",
335
+ "outputs": [
336
+ {
337
+ "internalType": "bytes32",
338
+ "name": "",
339
+ "type": "bytes32"
340
+ }
341
+ ],
342
+ "payable": false,
343
+ "stateMutability": "nonpayable",
344
+ "type": "function"
345
+ },
346
+ {
347
+ "constant": false,
348
+ "inputs": [
349
+ {
350
+ "internalType": "bytes32",
351
+ "name": "node",
352
+ "type": "bytes32"
353
+ },
354
+ {
355
+ "internalType": "bytes32",
356
+ "name": "label",
357
+ "type": "bytes32"
358
+ },
359
+ {
360
+ "internalType": "address",
361
+ "name": "owner",
362
+ "type": "address"
363
+ },
364
+ {
365
+ "internalType": "address",
366
+ "name": "resolver",
367
+ "type": "address"
368
+ },
369
+ {
370
+ "internalType": "uint64",
371
+ "name": "ttl",
372
+ "type": "uint64"
373
+ }
374
+ ],
375
+ "name": "setSubnodeRecord",
376
+ "outputs": [],
377
+ "payable": false,
378
+ "stateMutability": "nonpayable",
379
+ "type": "function"
380
+ },
381
+ {
382
+ "constant": false,
383
+ "inputs": [
384
+ {
385
+ "internalType": "bytes32",
386
+ "name": "node",
387
+ "type": "bytes32"
388
+ },
389
+ {
390
+ "internalType": "uint64",
391
+ "name": "ttl",
392
+ "type": "uint64"
393
+ }
394
+ ],
395
+ "name": "setTTL",
396
+ "outputs": [],
397
+ "payable": false,
398
+ "stateMutability": "nonpayable",
399
+ "type": "function"
400
+ },
401
+ {
402
+ "constant": true,
403
+ "inputs": [
404
+ {
405
+ "internalType": "bytes32",
406
+ "name": "node",
407
+ "type": "bytes32"
408
+ }
409
+ ],
410
+ "name": "ttl",
411
+ "outputs": [
412
+ {
413
+ "internalType": "uint64",
414
+ "name": "",
415
+ "type": "uint64"
416
+ }
417
+ ],
418
+ "payable": false,
419
+ "stateMutability": "view",
420
+ "type": "function"
421
+ }
422
+ ]
@@ -0,0 +1,30 @@
1
+ [
2
+ {
3
+ "constant": true,
4
+ "inputs": [],
5
+ "name": "name",
6
+ "outputs": [
7
+ {
8
+ "name": "",
9
+ "type": "bytes32"
10
+ }
11
+ ],
12
+ "payable": false,
13
+ "stateMutability": "view",
14
+ "type": "function"
15
+ },
16
+ {
17
+ "constant": true,
18
+ "inputs": [],
19
+ "name": "symbol",
20
+ "outputs": [
21
+ {
22
+ "name": "",
23
+ "type": "bytes32"
24
+ }
25
+ ],
26
+ "payable": false,
27
+ "stateMutability": "view",
28
+ "type": "function"
29
+ }
30
+ ]