@meterio/sumer-js 0.2.150 → 0.2.152
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/nodejs/abi.js +47 -0
- package/dist/nodejs/abi.js.map +1 -1
- package/dist/nodejs/comptroller.d.ts +10 -0
- package/dist/nodejs/comptroller.js +104 -1
- package/dist/nodejs/comptroller.js.map +1 -1
- package/dist/nodejs/typechain/contracts/Comptroller/CompoundLens.d.ts +17 -1
- package/dist/nodejs/typechain/contracts/Interfaces/ICTokenExternal.sol/ICToken.d.ts +5 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +27 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +35 -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 +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/MockComptroller__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/MockComptroller__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICTokenExternal.sol/ICToken__factory.d.ts +10 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICTokenExternal.sol/ICToken__factory.js +13 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICTokenExternal.sol/ICToken__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +1 -1
- package/package.json +1 -1
- package/dist/browser/sumer.min.js +0 -18
package/dist/nodejs/abi.js
CHANGED
|
@@ -14398,6 +14398,40 @@ exports.abi = {
|
|
|
14398
14398
|
"stateMutability": "view",
|
|
14399
14399
|
"type": "function"
|
|
14400
14400
|
},
|
|
14401
|
+
{
|
|
14402
|
+
"inputs": [
|
|
14403
|
+
{
|
|
14404
|
+
"internalType": "address",
|
|
14405
|
+
"name": "account",
|
|
14406
|
+
"type": "address"
|
|
14407
|
+
},
|
|
14408
|
+
{
|
|
14409
|
+
"internalType": "address",
|
|
14410
|
+
"name": "repayTokenAddress",
|
|
14411
|
+
"type": "address"
|
|
14412
|
+
},
|
|
14413
|
+
{
|
|
14414
|
+
"internalType": "address",
|
|
14415
|
+
"name": "seizeTokenAddress",
|
|
14416
|
+
"type": "address"
|
|
14417
|
+
}
|
|
14418
|
+
],
|
|
14419
|
+
"name": "calcPlan",
|
|
14420
|
+
"outputs": [
|
|
14421
|
+
{
|
|
14422
|
+
"internalType": "uint256",
|
|
14423
|
+
"name": "",
|
|
14424
|
+
"type": "uint256"
|
|
14425
|
+
},
|
|
14426
|
+
{
|
|
14427
|
+
"internalType": "uint256",
|
|
14428
|
+
"name": "",
|
|
14429
|
+
"type": "uint256"
|
|
14430
|
+
}
|
|
14431
|
+
],
|
|
14432
|
+
"stateMutability": "view",
|
|
14433
|
+
"type": "function"
|
|
14434
|
+
},
|
|
14401
14435
|
{
|
|
14402
14436
|
"inputs": [
|
|
14403
14437
|
{
|
|
@@ -27539,6 +27573,19 @@ exports.abi = {
|
|
|
27539
27573
|
"stateMutability": "view",
|
|
27540
27574
|
"type": "function"
|
|
27541
27575
|
},
|
|
27576
|
+
{
|
|
27577
|
+
"inputs": [],
|
|
27578
|
+
"name": "protocolSeizeShareMantissa",
|
|
27579
|
+
"outputs": [
|
|
27580
|
+
{
|
|
27581
|
+
"internalType": "uint256",
|
|
27582
|
+
"name": "",
|
|
27583
|
+
"type": "uint256"
|
|
27584
|
+
}
|
|
27585
|
+
],
|
|
27586
|
+
"stateMutability": "view",
|
|
27587
|
+
"type": "function"
|
|
27588
|
+
},
|
|
27542
27589
|
{
|
|
27543
27590
|
"inputs": [],
|
|
27544
27591
|
"name": "reserveFactorMantissa",
|