@meterio/sumer-js 0.2.96 → 0.2.97
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 +150 -0
- package/dist/nodejs/abi.js.map +1 -1
- package/dist/nodejs/errorABIs.js +150 -0
- package/dist/nodejs/errorABIs.js.map +1 -1
- package/dist/nodejs/typechain/contracts/Comptroller/CompLogic.d.ts +9 -1
- package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.d.ts +90 -31
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +49 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +61 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +49 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +61 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +48 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +60 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +49 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +61 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +59 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +74 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +49 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +61 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +146 -30
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +183 -35
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +49 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +61 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.d.ts +49 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js +61 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +49 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +61 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.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,16 @@ exports.errorABIs = [
|
|
|
309
314
|
"name": "NotEnoughForSeize",
|
|
310
315
|
"type": "error"
|
|
311
316
|
},
|
|
317
|
+
{
|
|
318
|
+
"inputs": [],
|
|
319
|
+
"name": "NotEnoughUnderlyingAfterRedeem",
|
|
320
|
+
"type": "error"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"inputs": [],
|
|
324
|
+
"name": "NotEnoughUnderlyingForMint",
|
|
325
|
+
"type": "error"
|
|
326
|
+
},
|
|
312
327
|
{
|
|
313
328
|
"inputs": [],
|
|
314
329
|
"name": "NotLiquidatableYet",
|
|
@@ -792,6 +807,11 @@ exports.errorABIs = [
|
|
|
792
807
|
"name": "MintPaused",
|
|
793
808
|
"type": "error"
|
|
794
809
|
},
|
|
810
|
+
{
|
|
811
|
+
"inputs": [],
|
|
812
|
+
"name": "MintTokensCantBeZero",
|
|
813
|
+
"type": "error"
|
|
814
|
+
},
|
|
795
815
|
{
|
|
796
816
|
"inputs": [],
|
|
797
817
|
"name": "NoRedemptionProvider",
|
|
@@ -807,6 +827,16 @@ exports.errorABIs = [
|
|
|
807
827
|
"name": "NotEnoughForSeize",
|
|
808
828
|
"type": "error"
|
|
809
829
|
},
|
|
830
|
+
{
|
|
831
|
+
"inputs": [],
|
|
832
|
+
"name": "NotEnoughUnderlyingAfterRedeem",
|
|
833
|
+
"type": "error"
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
"inputs": [],
|
|
837
|
+
"name": "NotEnoughUnderlyingForMint",
|
|
838
|
+
"type": "error"
|
|
839
|
+
},
|
|
810
840
|
{
|
|
811
841
|
"inputs": [],
|
|
812
842
|
"name": "NotLiquidatableYet",
|
|
@@ -1295,6 +1325,11 @@ exports.errorABIs = [
|
|
|
1295
1325
|
"name": "MintPaused",
|
|
1296
1326
|
"type": "error"
|
|
1297
1327
|
},
|
|
1328
|
+
{
|
|
1329
|
+
"inputs": [],
|
|
1330
|
+
"name": "MintTokensCantBeZero",
|
|
1331
|
+
"type": "error"
|
|
1332
|
+
},
|
|
1298
1333
|
{
|
|
1299
1334
|
"inputs": [],
|
|
1300
1335
|
"name": "NoRedemptionProvider",
|
|
@@ -1310,6 +1345,16 @@ exports.errorABIs = [
|
|
|
1310
1345
|
"name": "NotEnoughForSeize",
|
|
1311
1346
|
"type": "error"
|
|
1312
1347
|
},
|
|
1348
|
+
{
|
|
1349
|
+
"inputs": [],
|
|
1350
|
+
"name": "NotEnoughUnderlyingAfterRedeem",
|
|
1351
|
+
"type": "error"
|
|
1352
|
+
},
|
|
1353
|
+
{
|
|
1354
|
+
"inputs": [],
|
|
1355
|
+
"name": "NotEnoughUnderlyingForMint",
|
|
1356
|
+
"type": "error"
|
|
1357
|
+
},
|
|
1313
1358
|
{
|
|
1314
1359
|
"inputs": [],
|
|
1315
1360
|
"name": "NotLiquidatableYet",
|
|
@@ -1777,6 +1822,11 @@ exports.errorABIs = [
|
|
|
1777
1822
|
"name": "MintPaused",
|
|
1778
1823
|
"type": "error"
|
|
1779
1824
|
},
|
|
1825
|
+
{
|
|
1826
|
+
"inputs": [],
|
|
1827
|
+
"name": "MintTokensCantBeZero",
|
|
1828
|
+
"type": "error"
|
|
1829
|
+
},
|
|
1780
1830
|
{
|
|
1781
1831
|
"inputs": [],
|
|
1782
1832
|
"name": "NoRedemptionProvider",
|
|
@@ -1792,6 +1842,16 @@ exports.errorABIs = [
|
|
|
1792
1842
|
"name": "NotEnoughForSeize",
|
|
1793
1843
|
"type": "error"
|
|
1794
1844
|
},
|
|
1845
|
+
{
|
|
1846
|
+
"inputs": [],
|
|
1847
|
+
"name": "NotEnoughUnderlyingAfterRedeem",
|
|
1848
|
+
"type": "error"
|
|
1849
|
+
},
|
|
1850
|
+
{
|
|
1851
|
+
"inputs": [],
|
|
1852
|
+
"name": "NotEnoughUnderlyingForMint",
|
|
1853
|
+
"type": "error"
|
|
1854
|
+
},
|
|
1795
1855
|
{
|
|
1796
1856
|
"inputs": [],
|
|
1797
1857
|
"name": "NotLiquidatableYet",
|
|
@@ -2259,6 +2319,11 @@ exports.errorABIs = [
|
|
|
2259
2319
|
"name": "MintPaused",
|
|
2260
2320
|
"type": "error"
|
|
2261
2321
|
},
|
|
2322
|
+
{
|
|
2323
|
+
"inputs": [],
|
|
2324
|
+
"name": "MintTokensCantBeZero",
|
|
2325
|
+
"type": "error"
|
|
2326
|
+
},
|
|
2262
2327
|
{
|
|
2263
2328
|
"inputs": [],
|
|
2264
2329
|
"name": "NoRedemptionProvider",
|
|
@@ -2274,6 +2339,16 @@ exports.errorABIs = [
|
|
|
2274
2339
|
"name": "NotEnoughForSeize",
|
|
2275
2340
|
"type": "error"
|
|
2276
2341
|
},
|
|
2342
|
+
{
|
|
2343
|
+
"inputs": [],
|
|
2344
|
+
"name": "NotEnoughUnderlyingAfterRedeem",
|
|
2345
|
+
"type": "error"
|
|
2346
|
+
},
|
|
2347
|
+
{
|
|
2348
|
+
"inputs": [],
|
|
2349
|
+
"name": "NotEnoughUnderlyingForMint",
|
|
2350
|
+
"type": "error"
|
|
2351
|
+
},
|
|
2277
2352
|
{
|
|
2278
2353
|
"inputs": [],
|
|
2279
2354
|
"name": "NotLiquidatableYet",
|
|
@@ -2741,6 +2816,11 @@ exports.errorABIs = [
|
|
|
2741
2816
|
"name": "MintPaused",
|
|
2742
2817
|
"type": "error"
|
|
2743
2818
|
},
|
|
2819
|
+
{
|
|
2820
|
+
"inputs": [],
|
|
2821
|
+
"name": "MintTokensCantBeZero",
|
|
2822
|
+
"type": "error"
|
|
2823
|
+
},
|
|
2744
2824
|
{
|
|
2745
2825
|
"inputs": [],
|
|
2746
2826
|
"name": "NoRedemptionProvider",
|
|
@@ -2756,6 +2836,16 @@ exports.errorABIs = [
|
|
|
2756
2836
|
"name": "NotEnoughForSeize",
|
|
2757
2837
|
"type": "error"
|
|
2758
2838
|
},
|
|
2839
|
+
{
|
|
2840
|
+
"inputs": [],
|
|
2841
|
+
"name": "NotEnoughUnderlyingAfterRedeem",
|
|
2842
|
+
"type": "error"
|
|
2843
|
+
},
|
|
2844
|
+
{
|
|
2845
|
+
"inputs": [],
|
|
2846
|
+
"name": "NotEnoughUnderlyingForMint",
|
|
2847
|
+
"type": "error"
|
|
2848
|
+
},
|
|
2759
2849
|
{
|
|
2760
2850
|
"inputs": [],
|
|
2761
2851
|
"name": "NotLiquidatableYet",
|
|
@@ -3223,6 +3313,11 @@ exports.errorABIs = [
|
|
|
3223
3313
|
"name": "MintPaused",
|
|
3224
3314
|
"type": "error"
|
|
3225
3315
|
},
|
|
3316
|
+
{
|
|
3317
|
+
"inputs": [],
|
|
3318
|
+
"name": "MintTokensCantBeZero",
|
|
3319
|
+
"type": "error"
|
|
3320
|
+
},
|
|
3226
3321
|
{
|
|
3227
3322
|
"inputs": [],
|
|
3228
3323
|
"name": "NoRedemptionProvider",
|
|
@@ -3238,6 +3333,16 @@ exports.errorABIs = [
|
|
|
3238
3333
|
"name": "NotEnoughForSeize",
|
|
3239
3334
|
"type": "error"
|
|
3240
3335
|
},
|
|
3336
|
+
{
|
|
3337
|
+
"inputs": [],
|
|
3338
|
+
"name": "NotEnoughUnderlyingAfterRedeem",
|
|
3339
|
+
"type": "error"
|
|
3340
|
+
},
|
|
3341
|
+
{
|
|
3342
|
+
"inputs": [],
|
|
3343
|
+
"name": "NotEnoughUnderlyingForMint",
|
|
3344
|
+
"type": "error"
|
|
3345
|
+
},
|
|
3241
3346
|
{
|
|
3242
3347
|
"inputs": [],
|
|
3243
3348
|
"name": "NotLiquidatableYet",
|
|
@@ -3705,6 +3810,11 @@ exports.errorABIs = [
|
|
|
3705
3810
|
"name": "MintPaused",
|
|
3706
3811
|
"type": "error"
|
|
3707
3812
|
},
|
|
3813
|
+
{
|
|
3814
|
+
"inputs": [],
|
|
3815
|
+
"name": "MintTokensCantBeZero",
|
|
3816
|
+
"type": "error"
|
|
3817
|
+
},
|
|
3708
3818
|
{
|
|
3709
3819
|
"inputs": [],
|
|
3710
3820
|
"name": "NoRedemptionProvider",
|
|
@@ -3720,6 +3830,16 @@ exports.errorABIs = [
|
|
|
3720
3830
|
"name": "NotEnoughForSeize",
|
|
3721
3831
|
"type": "error"
|
|
3722
3832
|
},
|
|
3833
|
+
{
|
|
3834
|
+
"inputs": [],
|
|
3835
|
+
"name": "NotEnoughUnderlyingAfterRedeem",
|
|
3836
|
+
"type": "error"
|
|
3837
|
+
},
|
|
3838
|
+
{
|
|
3839
|
+
"inputs": [],
|
|
3840
|
+
"name": "NotEnoughUnderlyingForMint",
|
|
3841
|
+
"type": "error"
|
|
3842
|
+
},
|
|
3723
3843
|
{
|
|
3724
3844
|
"inputs": [],
|
|
3725
3845
|
"name": "NotLiquidatableYet",
|
|
@@ -4187,6 +4307,11 @@ exports.errorABIs = [
|
|
|
4187
4307
|
"name": "MintPaused",
|
|
4188
4308
|
"type": "error"
|
|
4189
4309
|
},
|
|
4310
|
+
{
|
|
4311
|
+
"inputs": [],
|
|
4312
|
+
"name": "MintTokensCantBeZero",
|
|
4313
|
+
"type": "error"
|
|
4314
|
+
},
|
|
4190
4315
|
{
|
|
4191
4316
|
"inputs": [],
|
|
4192
4317
|
"name": "NoRedemptionProvider",
|
|
@@ -4202,6 +4327,16 @@ exports.errorABIs = [
|
|
|
4202
4327
|
"name": "NotEnoughForSeize",
|
|
4203
4328
|
"type": "error"
|
|
4204
4329
|
},
|
|
4330
|
+
{
|
|
4331
|
+
"inputs": [],
|
|
4332
|
+
"name": "NotEnoughUnderlyingAfterRedeem",
|
|
4333
|
+
"type": "error"
|
|
4334
|
+
},
|
|
4335
|
+
{
|
|
4336
|
+
"inputs": [],
|
|
4337
|
+
"name": "NotEnoughUnderlyingForMint",
|
|
4338
|
+
"type": "error"
|
|
4339
|
+
},
|
|
4205
4340
|
{
|
|
4206
4341
|
"inputs": [],
|
|
4207
4342
|
"name": "NotLiquidatableYet",
|
|
@@ -4669,6 +4804,11 @@ exports.errorABIs = [
|
|
|
4669
4804
|
"name": "MintPaused",
|
|
4670
4805
|
"type": "error"
|
|
4671
4806
|
},
|
|
4807
|
+
{
|
|
4808
|
+
"inputs": [],
|
|
4809
|
+
"name": "MintTokensCantBeZero",
|
|
4810
|
+
"type": "error"
|
|
4811
|
+
},
|
|
4672
4812
|
{
|
|
4673
4813
|
"inputs": [],
|
|
4674
4814
|
"name": "NoRedemptionProvider",
|
|
@@ -4684,6 +4824,16 @@ exports.errorABIs = [
|
|
|
4684
4824
|
"name": "NotEnoughForSeize",
|
|
4685
4825
|
"type": "error"
|
|
4686
4826
|
},
|
|
4827
|
+
{
|
|
4828
|
+
"inputs": [],
|
|
4829
|
+
"name": "NotEnoughUnderlyingAfterRedeem",
|
|
4830
|
+
"type": "error"
|
|
4831
|
+
},
|
|
4832
|
+
{
|
|
4833
|
+
"inputs": [],
|
|
4834
|
+
"name": "NotEnoughUnderlyingForMint",
|
|
4835
|
+
"type": "error"
|
|
4836
|
+
},
|
|
4687
4837
|
{
|
|
4688
4838
|
"inputs": [],
|
|
4689
4839
|
"name": "NotLiquidatableYet",
|