@meterio/sumer-js 0.2.96 → 0.2.98
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.
- package/dist/browser/sumer.min.js +1 -1
- package/dist/nodejs/abi.js +270 -0
- package/dist/nodejs/abi.js.map +1 -1
- package/dist/nodejs/constants/beramain.d.ts +55 -0
- package/dist/nodejs/constants/beramain.js +100 -0
- package/dist/nodejs/constants/beramain.js.map +1 -0
- package/dist/nodejs/constants/monadtest.d.ts +73 -0
- package/dist/nodejs/constants/monadtest.js +152 -0
- package/dist/nodejs/constants/monadtest.js.map +1 -0
- package/dist/nodejs/errorABIs.js +250 -0
- package/dist/nodejs/errorABIs.js.map +1 -1
- package/dist/nodejs/typechain/contracts/Interfaces/index.d.ts +0 -1
- package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +0 -12
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.d.ts +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js +1 -3
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +0 -6
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +1 -7
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
- package/dist/nodejs/typechain/hardhat.d.ts +0 -252
- package/dist/nodejs/typechain/index.d.ts +0 -26
- package/dist/nodejs/typechain/index.js +2 -28
- package/dist/nodejs/typechain/index.js.map +1 -1
- package/package.json +1 -1
package/dist/nodejs/errorABIs.js
CHANGED
|
@@ -294,6 +294,11 @@ exports.errorABIs = [
|
|
|
294
294
|
"name": "MintPaused",
|
|
295
295
|
"type": "error"
|
|
296
296
|
},
|
|
297
|
+
{
|
|
298
|
+
"inputs": [],
|
|
299
|
+
"name": "MintTokensCantBeZero",
|
|
300
|
+
"type": "error"
|
|
301
|
+
},
|
|
297
302
|
{
|
|
298
303
|
"inputs": [],
|
|
299
304
|
"name": "NoRedemptionProvider",
|
|
@@ -309,6 +314,26 @@ exports.errorABIs = [
|
|
|
309
314
|
"name": "NotEnoughForSeize",
|
|
310
315
|
"type": "error"
|
|
311
316
|
},
|
|
317
|
+
{
|
|
318
|
+
"inputs": [],
|
|
319
|
+
"name": "NotEnoughRedeemAmount",
|
|
320
|
+
"type": "error"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"inputs": [],
|
|
324
|
+
"name": "NotEnoughRedeemTokens",
|
|
325
|
+
"type": "error"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"inputs": [],
|
|
329
|
+
"name": "NotEnoughUnderlyingAfterRedeem",
|
|
330
|
+
"type": "error"
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"inputs": [],
|
|
334
|
+
"name": "NotEnoughUnderlyingForMint",
|
|
335
|
+
"type": "error"
|
|
336
|
+
},
|
|
312
337
|
{
|
|
313
338
|
"inputs": [],
|
|
314
339
|
"name": "NotLiquidatableYet",
|
|
@@ -792,6 +817,11 @@ exports.errorABIs = [
|
|
|
792
817
|
"name": "MintPaused",
|
|
793
818
|
"type": "error"
|
|
794
819
|
},
|
|
820
|
+
{
|
|
821
|
+
"inputs": [],
|
|
822
|
+
"name": "MintTokensCantBeZero",
|
|
823
|
+
"type": "error"
|
|
824
|
+
},
|
|
795
825
|
{
|
|
796
826
|
"inputs": [],
|
|
797
827
|
"name": "NoRedemptionProvider",
|
|
@@ -807,6 +837,26 @@ exports.errorABIs = [
|
|
|
807
837
|
"name": "NotEnoughForSeize",
|
|
808
838
|
"type": "error"
|
|
809
839
|
},
|
|
840
|
+
{
|
|
841
|
+
"inputs": [],
|
|
842
|
+
"name": "NotEnoughRedeemAmount",
|
|
843
|
+
"type": "error"
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
"inputs": [],
|
|
847
|
+
"name": "NotEnoughRedeemTokens",
|
|
848
|
+
"type": "error"
|
|
849
|
+
},
|
|
850
|
+
{
|
|
851
|
+
"inputs": [],
|
|
852
|
+
"name": "NotEnoughUnderlyingAfterRedeem",
|
|
853
|
+
"type": "error"
|
|
854
|
+
},
|
|
855
|
+
{
|
|
856
|
+
"inputs": [],
|
|
857
|
+
"name": "NotEnoughUnderlyingForMint",
|
|
858
|
+
"type": "error"
|
|
859
|
+
},
|
|
810
860
|
{
|
|
811
861
|
"inputs": [],
|
|
812
862
|
"name": "NotLiquidatableYet",
|
|
@@ -1295,6 +1345,11 @@ exports.errorABIs = [
|
|
|
1295
1345
|
"name": "MintPaused",
|
|
1296
1346
|
"type": "error"
|
|
1297
1347
|
},
|
|
1348
|
+
{
|
|
1349
|
+
"inputs": [],
|
|
1350
|
+
"name": "MintTokensCantBeZero",
|
|
1351
|
+
"type": "error"
|
|
1352
|
+
},
|
|
1298
1353
|
{
|
|
1299
1354
|
"inputs": [],
|
|
1300
1355
|
"name": "NoRedemptionProvider",
|
|
@@ -1310,6 +1365,26 @@ exports.errorABIs = [
|
|
|
1310
1365
|
"name": "NotEnoughForSeize",
|
|
1311
1366
|
"type": "error"
|
|
1312
1367
|
},
|
|
1368
|
+
{
|
|
1369
|
+
"inputs": [],
|
|
1370
|
+
"name": "NotEnoughRedeemAmount",
|
|
1371
|
+
"type": "error"
|
|
1372
|
+
},
|
|
1373
|
+
{
|
|
1374
|
+
"inputs": [],
|
|
1375
|
+
"name": "NotEnoughRedeemTokens",
|
|
1376
|
+
"type": "error"
|
|
1377
|
+
},
|
|
1378
|
+
{
|
|
1379
|
+
"inputs": [],
|
|
1380
|
+
"name": "NotEnoughUnderlyingAfterRedeem",
|
|
1381
|
+
"type": "error"
|
|
1382
|
+
},
|
|
1383
|
+
{
|
|
1384
|
+
"inputs": [],
|
|
1385
|
+
"name": "NotEnoughUnderlyingForMint",
|
|
1386
|
+
"type": "error"
|
|
1387
|
+
},
|
|
1313
1388
|
{
|
|
1314
1389
|
"inputs": [],
|
|
1315
1390
|
"name": "NotLiquidatableYet",
|
|
@@ -1777,6 +1852,11 @@ exports.errorABIs = [
|
|
|
1777
1852
|
"name": "MintPaused",
|
|
1778
1853
|
"type": "error"
|
|
1779
1854
|
},
|
|
1855
|
+
{
|
|
1856
|
+
"inputs": [],
|
|
1857
|
+
"name": "MintTokensCantBeZero",
|
|
1858
|
+
"type": "error"
|
|
1859
|
+
},
|
|
1780
1860
|
{
|
|
1781
1861
|
"inputs": [],
|
|
1782
1862
|
"name": "NoRedemptionProvider",
|
|
@@ -1792,6 +1872,26 @@ exports.errorABIs = [
|
|
|
1792
1872
|
"name": "NotEnoughForSeize",
|
|
1793
1873
|
"type": "error"
|
|
1794
1874
|
},
|
|
1875
|
+
{
|
|
1876
|
+
"inputs": [],
|
|
1877
|
+
"name": "NotEnoughRedeemAmount",
|
|
1878
|
+
"type": "error"
|
|
1879
|
+
},
|
|
1880
|
+
{
|
|
1881
|
+
"inputs": [],
|
|
1882
|
+
"name": "NotEnoughRedeemTokens",
|
|
1883
|
+
"type": "error"
|
|
1884
|
+
},
|
|
1885
|
+
{
|
|
1886
|
+
"inputs": [],
|
|
1887
|
+
"name": "NotEnoughUnderlyingAfterRedeem",
|
|
1888
|
+
"type": "error"
|
|
1889
|
+
},
|
|
1890
|
+
{
|
|
1891
|
+
"inputs": [],
|
|
1892
|
+
"name": "NotEnoughUnderlyingForMint",
|
|
1893
|
+
"type": "error"
|
|
1894
|
+
},
|
|
1795
1895
|
{
|
|
1796
1896
|
"inputs": [],
|
|
1797
1897
|
"name": "NotLiquidatableYet",
|
|
@@ -2259,6 +2359,11 @@ exports.errorABIs = [
|
|
|
2259
2359
|
"name": "MintPaused",
|
|
2260
2360
|
"type": "error"
|
|
2261
2361
|
},
|
|
2362
|
+
{
|
|
2363
|
+
"inputs": [],
|
|
2364
|
+
"name": "MintTokensCantBeZero",
|
|
2365
|
+
"type": "error"
|
|
2366
|
+
},
|
|
2262
2367
|
{
|
|
2263
2368
|
"inputs": [],
|
|
2264
2369
|
"name": "NoRedemptionProvider",
|
|
@@ -2274,6 +2379,26 @@ exports.errorABIs = [
|
|
|
2274
2379
|
"name": "NotEnoughForSeize",
|
|
2275
2380
|
"type": "error"
|
|
2276
2381
|
},
|
|
2382
|
+
{
|
|
2383
|
+
"inputs": [],
|
|
2384
|
+
"name": "NotEnoughRedeemAmount",
|
|
2385
|
+
"type": "error"
|
|
2386
|
+
},
|
|
2387
|
+
{
|
|
2388
|
+
"inputs": [],
|
|
2389
|
+
"name": "NotEnoughRedeemTokens",
|
|
2390
|
+
"type": "error"
|
|
2391
|
+
},
|
|
2392
|
+
{
|
|
2393
|
+
"inputs": [],
|
|
2394
|
+
"name": "NotEnoughUnderlyingAfterRedeem",
|
|
2395
|
+
"type": "error"
|
|
2396
|
+
},
|
|
2397
|
+
{
|
|
2398
|
+
"inputs": [],
|
|
2399
|
+
"name": "NotEnoughUnderlyingForMint",
|
|
2400
|
+
"type": "error"
|
|
2401
|
+
},
|
|
2277
2402
|
{
|
|
2278
2403
|
"inputs": [],
|
|
2279
2404
|
"name": "NotLiquidatableYet",
|
|
@@ -2741,6 +2866,11 @@ exports.errorABIs = [
|
|
|
2741
2866
|
"name": "MintPaused",
|
|
2742
2867
|
"type": "error"
|
|
2743
2868
|
},
|
|
2869
|
+
{
|
|
2870
|
+
"inputs": [],
|
|
2871
|
+
"name": "MintTokensCantBeZero",
|
|
2872
|
+
"type": "error"
|
|
2873
|
+
},
|
|
2744
2874
|
{
|
|
2745
2875
|
"inputs": [],
|
|
2746
2876
|
"name": "NoRedemptionProvider",
|
|
@@ -2756,6 +2886,26 @@ exports.errorABIs = [
|
|
|
2756
2886
|
"name": "NotEnoughForSeize",
|
|
2757
2887
|
"type": "error"
|
|
2758
2888
|
},
|
|
2889
|
+
{
|
|
2890
|
+
"inputs": [],
|
|
2891
|
+
"name": "NotEnoughRedeemAmount",
|
|
2892
|
+
"type": "error"
|
|
2893
|
+
},
|
|
2894
|
+
{
|
|
2895
|
+
"inputs": [],
|
|
2896
|
+
"name": "NotEnoughRedeemTokens",
|
|
2897
|
+
"type": "error"
|
|
2898
|
+
},
|
|
2899
|
+
{
|
|
2900
|
+
"inputs": [],
|
|
2901
|
+
"name": "NotEnoughUnderlyingAfterRedeem",
|
|
2902
|
+
"type": "error"
|
|
2903
|
+
},
|
|
2904
|
+
{
|
|
2905
|
+
"inputs": [],
|
|
2906
|
+
"name": "NotEnoughUnderlyingForMint",
|
|
2907
|
+
"type": "error"
|
|
2908
|
+
},
|
|
2759
2909
|
{
|
|
2760
2910
|
"inputs": [],
|
|
2761
2911
|
"name": "NotLiquidatableYet",
|
|
@@ -3223,6 +3373,11 @@ exports.errorABIs = [
|
|
|
3223
3373
|
"name": "MintPaused",
|
|
3224
3374
|
"type": "error"
|
|
3225
3375
|
},
|
|
3376
|
+
{
|
|
3377
|
+
"inputs": [],
|
|
3378
|
+
"name": "MintTokensCantBeZero",
|
|
3379
|
+
"type": "error"
|
|
3380
|
+
},
|
|
3226
3381
|
{
|
|
3227
3382
|
"inputs": [],
|
|
3228
3383
|
"name": "NoRedemptionProvider",
|
|
@@ -3238,6 +3393,26 @@ exports.errorABIs = [
|
|
|
3238
3393
|
"name": "NotEnoughForSeize",
|
|
3239
3394
|
"type": "error"
|
|
3240
3395
|
},
|
|
3396
|
+
{
|
|
3397
|
+
"inputs": [],
|
|
3398
|
+
"name": "NotEnoughRedeemAmount",
|
|
3399
|
+
"type": "error"
|
|
3400
|
+
},
|
|
3401
|
+
{
|
|
3402
|
+
"inputs": [],
|
|
3403
|
+
"name": "NotEnoughRedeemTokens",
|
|
3404
|
+
"type": "error"
|
|
3405
|
+
},
|
|
3406
|
+
{
|
|
3407
|
+
"inputs": [],
|
|
3408
|
+
"name": "NotEnoughUnderlyingAfterRedeem",
|
|
3409
|
+
"type": "error"
|
|
3410
|
+
},
|
|
3411
|
+
{
|
|
3412
|
+
"inputs": [],
|
|
3413
|
+
"name": "NotEnoughUnderlyingForMint",
|
|
3414
|
+
"type": "error"
|
|
3415
|
+
},
|
|
3241
3416
|
{
|
|
3242
3417
|
"inputs": [],
|
|
3243
3418
|
"name": "NotLiquidatableYet",
|
|
@@ -3705,6 +3880,11 @@ exports.errorABIs = [
|
|
|
3705
3880
|
"name": "MintPaused",
|
|
3706
3881
|
"type": "error"
|
|
3707
3882
|
},
|
|
3883
|
+
{
|
|
3884
|
+
"inputs": [],
|
|
3885
|
+
"name": "MintTokensCantBeZero",
|
|
3886
|
+
"type": "error"
|
|
3887
|
+
},
|
|
3708
3888
|
{
|
|
3709
3889
|
"inputs": [],
|
|
3710
3890
|
"name": "NoRedemptionProvider",
|
|
@@ -3720,6 +3900,26 @@ exports.errorABIs = [
|
|
|
3720
3900
|
"name": "NotEnoughForSeize",
|
|
3721
3901
|
"type": "error"
|
|
3722
3902
|
},
|
|
3903
|
+
{
|
|
3904
|
+
"inputs": [],
|
|
3905
|
+
"name": "NotEnoughRedeemAmount",
|
|
3906
|
+
"type": "error"
|
|
3907
|
+
},
|
|
3908
|
+
{
|
|
3909
|
+
"inputs": [],
|
|
3910
|
+
"name": "NotEnoughRedeemTokens",
|
|
3911
|
+
"type": "error"
|
|
3912
|
+
},
|
|
3913
|
+
{
|
|
3914
|
+
"inputs": [],
|
|
3915
|
+
"name": "NotEnoughUnderlyingAfterRedeem",
|
|
3916
|
+
"type": "error"
|
|
3917
|
+
},
|
|
3918
|
+
{
|
|
3919
|
+
"inputs": [],
|
|
3920
|
+
"name": "NotEnoughUnderlyingForMint",
|
|
3921
|
+
"type": "error"
|
|
3922
|
+
},
|
|
3723
3923
|
{
|
|
3724
3924
|
"inputs": [],
|
|
3725
3925
|
"name": "NotLiquidatableYet",
|
|
@@ -4187,6 +4387,11 @@ exports.errorABIs = [
|
|
|
4187
4387
|
"name": "MintPaused",
|
|
4188
4388
|
"type": "error"
|
|
4189
4389
|
},
|
|
4390
|
+
{
|
|
4391
|
+
"inputs": [],
|
|
4392
|
+
"name": "MintTokensCantBeZero",
|
|
4393
|
+
"type": "error"
|
|
4394
|
+
},
|
|
4190
4395
|
{
|
|
4191
4396
|
"inputs": [],
|
|
4192
4397
|
"name": "NoRedemptionProvider",
|
|
@@ -4202,6 +4407,26 @@ exports.errorABIs = [
|
|
|
4202
4407
|
"name": "NotEnoughForSeize",
|
|
4203
4408
|
"type": "error"
|
|
4204
4409
|
},
|
|
4410
|
+
{
|
|
4411
|
+
"inputs": [],
|
|
4412
|
+
"name": "NotEnoughRedeemAmount",
|
|
4413
|
+
"type": "error"
|
|
4414
|
+
},
|
|
4415
|
+
{
|
|
4416
|
+
"inputs": [],
|
|
4417
|
+
"name": "NotEnoughRedeemTokens",
|
|
4418
|
+
"type": "error"
|
|
4419
|
+
},
|
|
4420
|
+
{
|
|
4421
|
+
"inputs": [],
|
|
4422
|
+
"name": "NotEnoughUnderlyingAfterRedeem",
|
|
4423
|
+
"type": "error"
|
|
4424
|
+
},
|
|
4425
|
+
{
|
|
4426
|
+
"inputs": [],
|
|
4427
|
+
"name": "NotEnoughUnderlyingForMint",
|
|
4428
|
+
"type": "error"
|
|
4429
|
+
},
|
|
4205
4430
|
{
|
|
4206
4431
|
"inputs": [],
|
|
4207
4432
|
"name": "NotLiquidatableYet",
|
|
@@ -4669,6 +4894,11 @@ exports.errorABIs = [
|
|
|
4669
4894
|
"name": "MintPaused",
|
|
4670
4895
|
"type": "error"
|
|
4671
4896
|
},
|
|
4897
|
+
{
|
|
4898
|
+
"inputs": [],
|
|
4899
|
+
"name": "MintTokensCantBeZero",
|
|
4900
|
+
"type": "error"
|
|
4901
|
+
},
|
|
4672
4902
|
{
|
|
4673
4903
|
"inputs": [],
|
|
4674
4904
|
"name": "NoRedemptionProvider",
|
|
@@ -4684,6 +4914,26 @@ exports.errorABIs = [
|
|
|
4684
4914
|
"name": "NotEnoughForSeize",
|
|
4685
4915
|
"type": "error"
|
|
4686
4916
|
},
|
|
4917
|
+
{
|
|
4918
|
+
"inputs": [],
|
|
4919
|
+
"name": "NotEnoughRedeemAmount",
|
|
4920
|
+
"type": "error"
|
|
4921
|
+
},
|
|
4922
|
+
{
|
|
4923
|
+
"inputs": [],
|
|
4924
|
+
"name": "NotEnoughRedeemTokens",
|
|
4925
|
+
"type": "error"
|
|
4926
|
+
},
|
|
4927
|
+
{
|
|
4928
|
+
"inputs": [],
|
|
4929
|
+
"name": "NotEnoughUnderlyingAfterRedeem",
|
|
4930
|
+
"type": "error"
|
|
4931
|
+
},
|
|
4932
|
+
{
|
|
4933
|
+
"inputs": [],
|
|
4934
|
+
"name": "NotEnoughUnderlyingForMint",
|
|
4935
|
+
"type": "error"
|
|
4936
|
+
},
|
|
4687
4937
|
{
|
|
4688
4938
|
"inputs": [],
|
|
4689
4939
|
"name": "NotLiquidatableYet",
|