@meterio/sumer-js 0.2.117 → 0.2.119
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 +10 -10
- package/dist/nodejs/abi.d.ts +55 -346
- package/dist/nodejs/abi.js +10133 -15862
- package/dist/nodejs/abi.js.map +1 -1
- package/dist/nodejs/constants/arbitrum.d.ts +0 -1
- package/dist/nodejs/constants/arbitrum.js +1 -2
- package/dist/nodejs/constants/arbitrum.js.map +1 -1
- package/dist/nodejs/constants/beramain.d.ts +5 -0
- package/dist/nodejs/constants/beramain.js +50 -11
- package/dist/nodejs/constants/beramain.js.map +1 -1
- package/dist/nodejs/constants/core.d.ts +4 -0
- package/dist/nodejs/constants/core.js +37 -10
- package/dist/nodejs/constants/core.js.map +1 -1
- package/dist/nodejs/constants/hemi.d.ts +79 -0
- package/dist/nodejs/constants/hemi.js +180 -0
- package/dist/nodejs/constants/hemi.js.map +1 -0
- package/dist/nodejs/constants/monadtest.js +1 -1
- package/dist/nodejs/constants/zklink.d.ts +4 -4
- package/dist/nodejs/constants/zklink.js +4 -4
- package/dist/nodejs/constants/zklink.js.map +1 -1
- package/dist/nodejs/errorABIs.js +10 -1207
- package/dist/nodejs/errorABIs.js.map +1 -1
- package/dist/nodejs/index.d.ts +55 -346
- package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/security/index.d.ts +0 -1
- package/dist/nodejs/typechain/contracts/CToken/CErc20.d.ts +9 -46
- package/dist/nodejs/typechain/contracts/CToken/CEther.d.ts +33 -74
- package/dist/nodejs/typechain/contracts/CToken/CToken.d.ts +21 -66
- package/dist/nodejs/typechain/contracts/CToken/CTokenStorage.d.ts +16 -20
- package/dist/nodejs/typechain/contracts/CToken/SuErc20.d.ts +9 -46
- package/dist/nodejs/typechain/contracts/Comptroller/CompLogic.d.ts +9 -1
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/CInfraredVault.d.ts +1094 -0
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/CInfraredVault.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/CInfraredVault.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/IPool.d.ts +25 -0
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/IPool.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/IPool.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/IInfraredVault.d.ts +4 -313
- package/dist/nodejs/typechain/contracts/Infrared/IMultiRewards.d.ts +1 -17
- package/dist/nodejs/typechain/contracts/Infrared/ITimeWeightedMultiRewards.d.ts +149 -0
- package/dist/nodejs/typechain/contracts/Infrared/ITimeWeightedMultiRewards.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/ITimeWeightedMultiRewards.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/InfraredRewards.d.ts +186 -0
- package/dist/nodejs/typechain/contracts/Infrared/InfraredRewards.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/InfraredRewards.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/TimeWeightedMultiRewards.d.ts +217 -0
- package/dist/nodejs/typechain/contracts/Infrared/TimeWeightedMultiRewards.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/TimeWeightedMultiRewards.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/IVault.d.ts +55 -0
- package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/IVault.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/IVault.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/VaultReentrancyLib.d.ts +20 -0
- package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/VaultReentrancyLib.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/VaultReentrancyLib.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/index.d.ts +4 -4
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerLP.d.ts +33 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerLP.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerLP.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/ICErc20.d.ts +16 -16
- package/dist/nodejs/typechain/contracts/Interfaces/ICToken.d.ts +16 -20
- package/dist/nodejs/typechain/contracts/Interfaces/ICTokenExternal.sol/ICToken.d.ts +6 -6
- package/dist/nodejs/typechain/contracts/Interfaces/ICompLogic.d.ts +9 -1
- package/dist/nodejs/typechain/contracts/Interfaces/IComptroller.d.ts +76 -5
- package/dist/nodejs/typechain/contracts/Interfaces/IPool.d.ts +41 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPool.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPool.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IVault.d.ts +83 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IVault.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IVault.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/index.d.ts +2 -2
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter.d.ts +93 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP.d.ts +33 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault.d.ts +49 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle.d.ts +25 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/index.d.ts +4 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/FeedPriceOracle.d.ts +108 -6
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter.d.ts +25 -0
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/IDualCore.d.ts +25 -0
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/IDualCore.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/IDualCore.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/index.d.ts +0 -2
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.d.ts +0 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.js +1 -3
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +13 -54
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +16 -72
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +80 -113
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +97 -154
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.d.ts +8 -40
- package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js +8 -56
- package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +65 -92
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +79 -125
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +13 -54
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +16 -72
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +67 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +84 -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 +57 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +71 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +57 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +71 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js.map +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/Infrared/CInfraredVault.sol/CInfraredVault__factory.d.ts +1804 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.js +2315 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/IPool__factory.d.ts +17 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/IPool__factory.js +33 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/IPool__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/index.js +11 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault__factory.d.ts +1 -5
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault__factory.js +1 -6
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredVault__factory.d.ts +0 -359
- package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredVault__factory.js +0 -463
- package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredVault__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Infrared/IMultiRewards__factory.d.ts +0 -30
- package/dist/nodejs/typechain/factories/contracts/Infrared/IMultiRewards__factory.js +0 -39
- package/dist/nodejs/typechain/factories/contracts/Infrared/IMultiRewards__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Infrared/ITimeWeightedMultiRewards__factory.d.ts +169 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/ITimeWeightedMultiRewards__factory.js +229 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/ITimeWeightedMultiRewards__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/InfraredRewards__factory.d.ts +219 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/InfraredRewards__factory.js +296 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/InfraredRewards__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/TimeWeightedMultiRewards__factory.d.ts +241 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/TimeWeightedMultiRewards__factory.js +323 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/TimeWeightedMultiRewards__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/IVault__factory.d.ts +38 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/IVault__factory.js +60 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/IVault__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/VaultReentrancyLib__factory.d.ts +26 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/VaultReentrancyLib__factory.js +45 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/VaultReentrancyLib__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/index.js +11 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Infrared/index.d.ts +2 -4
- package/dist/nodejs/typechain/factories/contracts/Infrared/index.js +26 -9
- package/dist/nodejs/typechain/factories/contracts/Infrared/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerLP__factory.d.ts +37 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerLP__factory.js +59 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerLP__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICErc20__factory.d.ts +8 -40
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICErc20__factory.js +8 -56
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICTokenExternal.sol/ICToken__factory.d.ts +2 -14
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICTokenExternal.sol/ICToken__factory.js +2 -19
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICTokenExternal.sol/ICToken__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.d.ts +8 -40
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.js +8 -56
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.d.ts +10 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js +13 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.d.ts +86 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js +109 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPool__factory.d.ts +57 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPool__factory.js +85 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPool__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IVault__factory.d.ts +60 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IVault__factory.js +89 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IVault__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.d.ts +2 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js +5 -2
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Multicall2__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Multicall2__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter__factory.d.ts +158 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter__factory.js +214 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP__factory.d.ts +37 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP__factory.js +59 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault__factory.d.ts +29 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault__factory.js +49 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle__factory.d.ts +21 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle__factory.js +39 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/index.d.ts +4 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/index.js +15 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.d.ts +119 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js +154 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.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/dualCoreAdapter.sol/DualCoreAdapter__factory.d.ts +44 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter__factory.js +69 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/IDualCore__factory.d.ts +21 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/IDualCore__factory.js +39 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/IDualCore__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.js +11 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +2 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.d.ts +57 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js +71 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +57 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +71 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/index.d.ts +0 -1
- package/dist/nodejs/typechain/factories/contracts/index.js +1 -2
- package/dist/nodejs/typechain/factories/contracts/index.js.map +1 -1
- package/dist/nodejs/typechain/hardhat.d.ts +96 -168
- package/dist/nodejs/typechain/index.d.ts +12 -24
- package/dist/nodejs/typechain/index.js +14 -26
- package/dist/nodejs/typechain/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -37,6 +37,10 @@ export declare class CToken__factory {
|
|
|
37
37
|
}];
|
|
38
38
|
readonly name: "BorrowValueMustBeLargerThanThreshold";
|
|
39
39
|
readonly type: "error";
|
|
40
|
+
}, {
|
|
41
|
+
readonly inputs: readonly [];
|
|
42
|
+
readonly name: "CantEnterPausedMarket";
|
|
43
|
+
readonly type: "error";
|
|
40
44
|
}, {
|
|
41
45
|
readonly inputs: readonly [];
|
|
42
46
|
readonly name: "CantExitMarketWithNonZeroBorrowBalance";
|
|
@@ -105,6 +109,10 @@ export declare class CToken__factory {
|
|
|
105
109
|
readonly inputs: readonly [];
|
|
106
110
|
readonly name: "InvalidBlockNumber";
|
|
107
111
|
readonly type: "error";
|
|
112
|
+
}, {
|
|
113
|
+
readonly inputs: readonly [];
|
|
114
|
+
readonly name: "InvalidCToken";
|
|
115
|
+
readonly type: "error";
|
|
108
116
|
}, {
|
|
109
117
|
readonly inputs: readonly [];
|
|
110
118
|
readonly name: "InvalidCloseFactor";
|
|
@@ -137,6 +145,10 @@ export declare class CToken__factory {
|
|
|
137
145
|
readonly inputs: readonly [];
|
|
138
146
|
readonly name: "InvalidMinSuBorrowValue";
|
|
139
147
|
readonly type: "error";
|
|
148
|
+
}, {
|
|
149
|
+
readonly inputs: readonly [];
|
|
150
|
+
readonly name: "InvalidRedeem";
|
|
151
|
+
readonly type: "error";
|
|
140
152
|
}, {
|
|
141
153
|
readonly inputs: readonly [];
|
|
142
154
|
readonly name: "InvalidReduceAmount";
|
|
@@ -189,14 +201,26 @@ export declare class CToken__factory {
|
|
|
189
201
|
readonly inputs: readonly [];
|
|
190
202
|
readonly name: "MarketAlreadyListed";
|
|
191
203
|
readonly type: "error";
|
|
204
|
+
}, {
|
|
205
|
+
readonly inputs: readonly [];
|
|
206
|
+
readonly name: "MarketAlreadyUnlisted";
|
|
207
|
+
readonly type: "error";
|
|
192
208
|
}, {
|
|
193
209
|
readonly inputs: readonly [];
|
|
194
210
|
readonly name: "MarketCanOnlyInitializeOnce";
|
|
195
211
|
readonly type: "error";
|
|
212
|
+
}, {
|
|
213
|
+
readonly inputs: readonly [];
|
|
214
|
+
readonly name: "MarketNotEmpty";
|
|
215
|
+
readonly type: "error";
|
|
196
216
|
}, {
|
|
197
217
|
readonly inputs: readonly [];
|
|
198
218
|
readonly name: "MarketNotListed";
|
|
199
219
|
readonly type: "error";
|
|
220
|
+
}, {
|
|
221
|
+
readonly inputs: readonly [];
|
|
222
|
+
readonly name: "MarketPaused";
|
|
223
|
+
readonly type: "error";
|
|
200
224
|
}, {
|
|
201
225
|
readonly inputs: readonly [];
|
|
202
226
|
readonly name: "MinDelayNotReached";
|
|
@@ -209,6 +233,10 @@ export declare class CToken__factory {
|
|
|
209
233
|
readonly inputs: readonly [];
|
|
210
234
|
readonly name: "MintPaused";
|
|
211
235
|
readonly type: "error";
|
|
236
|
+
}, {
|
|
237
|
+
readonly inputs: readonly [];
|
|
238
|
+
readonly name: "MintTokensCantBeZero";
|
|
239
|
+
readonly type: "error";
|
|
212
240
|
}, {
|
|
213
241
|
readonly inputs: readonly [];
|
|
214
242
|
readonly name: "NoRedemptionProvider";
|
|
@@ -221,6 +249,22 @@ export declare class CToken__factory {
|
|
|
221
249
|
readonly inputs: readonly [];
|
|
222
250
|
readonly name: "NotEnoughForSeize";
|
|
223
251
|
readonly type: "error";
|
|
252
|
+
}, {
|
|
253
|
+
readonly inputs: readonly [];
|
|
254
|
+
readonly name: "NotEnoughRedeemAmount";
|
|
255
|
+
readonly type: "error";
|
|
256
|
+
}, {
|
|
257
|
+
readonly inputs: readonly [];
|
|
258
|
+
readonly name: "NotEnoughRedeemTokens";
|
|
259
|
+
readonly type: "error";
|
|
260
|
+
}, {
|
|
261
|
+
readonly inputs: readonly [];
|
|
262
|
+
readonly name: "NotEnoughUnderlyingAfterRedeem";
|
|
263
|
+
readonly type: "error";
|
|
264
|
+
}, {
|
|
265
|
+
readonly inputs: readonly [];
|
|
266
|
+
readonly name: "NotEnoughUnderlyingForMint";
|
|
267
|
+
readonly type: "error";
|
|
224
268
|
}, {
|
|
225
269
|
readonly inputs: readonly [];
|
|
226
270
|
readonly name: "NotLiquidatableYet";
|
|
@@ -245,6 +289,10 @@ export declare class CToken__factory {
|
|
|
245
289
|
readonly inputs: readonly [];
|
|
246
290
|
readonly name: "OnlyListedCToken";
|
|
247
291
|
readonly type: "error";
|
|
292
|
+
}, {
|
|
293
|
+
readonly inputs: readonly [];
|
|
294
|
+
readonly name: "OnlyPausedMarketCanBeUnlisted";
|
|
295
|
+
readonly type: "error";
|
|
248
296
|
}, {
|
|
249
297
|
readonly inputs: readonly [];
|
|
250
298
|
readonly name: "OnlyPendingAdmin";
|
|
@@ -333,6 +381,14 @@ export declare class CToken__factory {
|
|
|
333
381
|
readonly inputs: readonly [];
|
|
334
382
|
readonly name: "TooMuchRepay";
|
|
335
383
|
readonly type: "error";
|
|
384
|
+
}, {
|
|
385
|
+
readonly inputs: readonly [];
|
|
386
|
+
readonly name: "TotalBorrowsNotZero";
|
|
387
|
+
readonly type: "error";
|
|
388
|
+
}, {
|
|
389
|
+
readonly inputs: readonly [];
|
|
390
|
+
readonly name: "TotalSupplyNotZero";
|
|
391
|
+
readonly type: "error";
|
|
336
392
|
}, {
|
|
337
393
|
readonly inputs: readonly [];
|
|
338
394
|
readonly name: "TransferNotAllowed";
|
|
@@ -707,11 +763,7 @@ export declare class CToken__factory {
|
|
|
707
763
|
}, {
|
|
708
764
|
readonly inputs: readonly [];
|
|
709
765
|
readonly name: "_acceptAdmin";
|
|
710
|
-
readonly outputs: readonly [
|
|
711
|
-
readonly internalType: "uint256";
|
|
712
|
-
readonly name: "";
|
|
713
|
-
readonly type: "uint256";
|
|
714
|
-
}];
|
|
766
|
+
readonly outputs: readonly [];
|
|
715
767
|
readonly stateMutability: "nonpayable";
|
|
716
768
|
readonly type: "function";
|
|
717
769
|
}, {
|
|
@@ -721,11 +773,7 @@ export declare class CToken__factory {
|
|
|
721
773
|
readonly type: "uint256";
|
|
722
774
|
}];
|
|
723
775
|
readonly name: "_reduceReserves";
|
|
724
|
-
readonly outputs: readonly [
|
|
725
|
-
readonly internalType: "uint256";
|
|
726
|
-
readonly name: "";
|
|
727
|
-
readonly type: "uint256";
|
|
728
|
-
}];
|
|
776
|
+
readonly outputs: readonly [];
|
|
729
777
|
readonly stateMutability: "nonpayable";
|
|
730
778
|
readonly type: "function";
|
|
731
779
|
}, {
|
|
@@ -735,11 +783,7 @@ export declare class CToken__factory {
|
|
|
735
783
|
readonly type: "address";
|
|
736
784
|
}];
|
|
737
785
|
readonly name: "_setComptroller";
|
|
738
|
-
readonly outputs: readonly [
|
|
739
|
-
readonly internalType: "uint256";
|
|
740
|
-
readonly name: "";
|
|
741
|
-
readonly type: "uint256";
|
|
742
|
-
}];
|
|
786
|
+
readonly outputs: readonly [];
|
|
743
787
|
readonly stateMutability: "nonpayable";
|
|
744
788
|
readonly type: "function";
|
|
745
789
|
}, {
|
|
@@ -763,11 +807,7 @@ export declare class CToken__factory {
|
|
|
763
807
|
readonly type: "address";
|
|
764
808
|
}];
|
|
765
809
|
readonly name: "_setInterestRateModel";
|
|
766
|
-
readonly outputs: readonly [
|
|
767
|
-
readonly internalType: "uint256";
|
|
768
|
-
readonly name: "";
|
|
769
|
-
readonly type: "uint256";
|
|
770
|
-
}];
|
|
810
|
+
readonly outputs: readonly [];
|
|
771
811
|
readonly stateMutability: "nonpayable";
|
|
772
812
|
readonly type: "function";
|
|
773
813
|
}, {
|
|
@@ -777,11 +817,7 @@ export declare class CToken__factory {
|
|
|
777
817
|
readonly type: "address";
|
|
778
818
|
}];
|
|
779
819
|
readonly name: "_setPendingAdmin";
|
|
780
|
-
readonly outputs: readonly [
|
|
781
|
-
readonly internalType: "uint256";
|
|
782
|
-
readonly name: "";
|
|
783
|
-
readonly type: "uint256";
|
|
784
|
-
}];
|
|
820
|
+
readonly outputs: readonly [];
|
|
785
821
|
readonly stateMutability: "nonpayable";
|
|
786
822
|
readonly type: "function";
|
|
787
823
|
}, {
|
|
@@ -791,11 +827,7 @@ export declare class CToken__factory {
|
|
|
791
827
|
readonly type: "uint256";
|
|
792
828
|
}];
|
|
793
829
|
readonly name: "_setReserveFactor";
|
|
794
|
-
readonly outputs: readonly [
|
|
795
|
-
readonly internalType: "uint256";
|
|
796
|
-
readonly name: "";
|
|
797
|
-
readonly type: "uint256";
|
|
798
|
-
}];
|
|
830
|
+
readonly outputs: readonly [];
|
|
799
831
|
readonly stateMutability: "nonpayable";
|
|
800
832
|
readonly type: "function";
|
|
801
833
|
}, {
|
|
@@ -817,11 +849,7 @@ export declare class CToken__factory {
|
|
|
817
849
|
}, {
|
|
818
850
|
readonly inputs: readonly [];
|
|
819
851
|
readonly name: "accrueInterest";
|
|
820
|
-
readonly outputs: readonly [
|
|
821
|
-
readonly internalType: "uint256";
|
|
822
|
-
readonly name: "";
|
|
823
|
-
readonly type: "uint256";
|
|
824
|
-
}];
|
|
852
|
+
readonly outputs: readonly [];
|
|
825
853
|
readonly stateMutability: "nonpayable";
|
|
826
854
|
readonly type: "function";
|
|
827
855
|
}, {
|
|
@@ -909,11 +937,7 @@ export declare class CToken__factory {
|
|
|
909
937
|
readonly type: "uint256";
|
|
910
938
|
}];
|
|
911
939
|
readonly name: "borrowAndDepositBack";
|
|
912
|
-
readonly outputs: readonly [
|
|
913
|
-
readonly internalType: "uint256";
|
|
914
|
-
readonly name: "";
|
|
915
|
-
readonly type: "uint256";
|
|
916
|
-
}];
|
|
940
|
+
readonly outputs: readonly [];
|
|
917
941
|
readonly stateMutability: "nonpayable";
|
|
918
942
|
readonly type: "function";
|
|
919
943
|
}, {
|
|
@@ -1040,29 +1064,6 @@ export declare class CToken__factory {
|
|
|
1040
1064
|
}];
|
|
1041
1065
|
readonly stateMutability: "view";
|
|
1042
1066
|
readonly type: "function";
|
|
1043
|
-
}, {
|
|
1044
|
-
readonly inputs: readonly [{
|
|
1045
|
-
readonly internalType: "address";
|
|
1046
|
-
readonly name: "borrower";
|
|
1047
|
-
readonly type: "address";
|
|
1048
|
-
}];
|
|
1049
|
-
readonly name: "getBorrowSnapshot";
|
|
1050
|
-
readonly outputs: readonly [{
|
|
1051
|
-
readonly components: readonly [{
|
|
1052
|
-
readonly internalType: "uint256";
|
|
1053
|
-
readonly name: "principal";
|
|
1054
|
-
readonly type: "uint256";
|
|
1055
|
-
}, {
|
|
1056
|
-
readonly internalType: "uint256";
|
|
1057
|
-
readonly name: "interestIndex";
|
|
1058
|
-
readonly type: "uint256";
|
|
1059
|
-
}];
|
|
1060
|
-
readonly internalType: "struct CTokenStorage.BorrowSnapshot";
|
|
1061
|
-
readonly name: "";
|
|
1062
|
-
readonly type: "tuple";
|
|
1063
|
-
}];
|
|
1064
|
-
readonly stateMutability: "view";
|
|
1065
|
-
readonly type: "function";
|
|
1066
1067
|
}, {
|
|
1067
1068
|
readonly inputs: readonly [];
|
|
1068
1069
|
readonly name: "getCash";
|
|
@@ -1073,16 +1074,6 @@ export declare class CToken__factory {
|
|
|
1073
1074
|
}];
|
|
1074
1075
|
readonly stateMutability: "view";
|
|
1075
1076
|
readonly type: "function";
|
|
1076
|
-
}, {
|
|
1077
|
-
readonly inputs: readonly [{
|
|
1078
|
-
readonly internalType: "address";
|
|
1079
|
-
readonly name: "timeBasedInterestRateModel";
|
|
1080
|
-
readonly type: "address";
|
|
1081
|
-
}];
|
|
1082
|
-
readonly name: "initAccrualBlockTimestamp";
|
|
1083
|
-
readonly outputs: readonly [];
|
|
1084
|
-
readonly stateMutability: "nonpayable";
|
|
1085
|
-
readonly type: "function";
|
|
1086
1077
|
}, {
|
|
1087
1078
|
readonly inputs: readonly [];
|
|
1088
1079
|
readonly name: "interestRateModel";
|
|
@@ -1133,16 +1124,6 @@ export declare class CToken__factory {
|
|
|
1133
1124
|
}];
|
|
1134
1125
|
readonly stateMutability: "view";
|
|
1135
1126
|
readonly type: "function";
|
|
1136
|
-
}, {
|
|
1137
|
-
readonly inputs: readonly [];
|
|
1138
|
-
readonly name: "isDeprecated";
|
|
1139
|
-
readonly outputs: readonly [{
|
|
1140
|
-
readonly internalType: "bool";
|
|
1141
|
-
readonly name: "";
|
|
1142
|
-
readonly type: "bool";
|
|
1143
|
-
}];
|
|
1144
|
-
readonly stateMutability: "view";
|
|
1145
|
-
readonly type: "function";
|
|
1146
1127
|
}, {
|
|
1147
1128
|
readonly inputs: readonly [{
|
|
1148
1129
|
readonly internalType: "address";
|
|
@@ -1162,10 +1143,6 @@ export declare class CToken__factory {
|
|
|
1162
1143
|
readonly internalType: "uint256";
|
|
1163
1144
|
readonly name: "";
|
|
1164
1145
|
readonly type: "uint256";
|
|
1165
|
-
}, {
|
|
1166
|
-
readonly internalType: "uint256";
|
|
1167
|
-
readonly name: "";
|
|
1168
|
-
readonly type: "uint256";
|
|
1169
1146
|
}];
|
|
1170
1147
|
readonly stateMutability: "view";
|
|
1171
1148
|
readonly type: "function";
|
|
@@ -1246,11 +1223,7 @@ export declare class CToken__factory {
|
|
|
1246
1223
|
readonly type: "uint256";
|
|
1247
1224
|
}];
|
|
1248
1225
|
readonly name: "seize";
|
|
1249
|
-
readonly outputs: readonly [
|
|
1250
|
-
readonly internalType: "uint256";
|
|
1251
|
-
readonly name: "";
|
|
1252
|
-
readonly type: "uint256";
|
|
1253
|
-
}];
|
|
1226
|
+
readonly outputs: readonly [];
|
|
1254
1227
|
readonly stateMutability: "nonpayable";
|
|
1255
1228
|
readonly type: "function";
|
|
1256
1229
|
}, {
|
|
@@ -52,6 +52,11 @@ const _abi = [
|
|
|
52
52
|
name: "BorrowValueMustBeLargerThanThreshold",
|
|
53
53
|
type: "error",
|
|
54
54
|
},
|
|
55
|
+
{
|
|
56
|
+
inputs: [],
|
|
57
|
+
name: "CantEnterPausedMarket",
|
|
58
|
+
type: "error",
|
|
59
|
+
},
|
|
55
60
|
{
|
|
56
61
|
inputs: [],
|
|
57
62
|
name: "CantExitMarketWithNonZeroBorrowBalance",
|
|
@@ -138,6 +143,11 @@ const _abi = [
|
|
|
138
143
|
name: "InvalidBlockNumber",
|
|
139
144
|
type: "error",
|
|
140
145
|
},
|
|
146
|
+
{
|
|
147
|
+
inputs: [],
|
|
148
|
+
name: "InvalidCToken",
|
|
149
|
+
type: "error",
|
|
150
|
+
},
|
|
141
151
|
{
|
|
142
152
|
inputs: [],
|
|
143
153
|
name: "InvalidCloseFactor",
|
|
@@ -178,6 +188,11 @@ const _abi = [
|
|
|
178
188
|
name: "InvalidMinSuBorrowValue",
|
|
179
189
|
type: "error",
|
|
180
190
|
},
|
|
191
|
+
{
|
|
192
|
+
inputs: [],
|
|
193
|
+
name: "InvalidRedeem",
|
|
194
|
+
type: "error",
|
|
195
|
+
},
|
|
181
196
|
{
|
|
182
197
|
inputs: [],
|
|
183
198
|
name: "InvalidReduceAmount",
|
|
@@ -243,16 +258,31 @@ const _abi = [
|
|
|
243
258
|
name: "MarketAlreadyListed",
|
|
244
259
|
type: "error",
|
|
245
260
|
},
|
|
261
|
+
{
|
|
262
|
+
inputs: [],
|
|
263
|
+
name: "MarketAlreadyUnlisted",
|
|
264
|
+
type: "error",
|
|
265
|
+
},
|
|
246
266
|
{
|
|
247
267
|
inputs: [],
|
|
248
268
|
name: "MarketCanOnlyInitializeOnce",
|
|
249
269
|
type: "error",
|
|
250
270
|
},
|
|
271
|
+
{
|
|
272
|
+
inputs: [],
|
|
273
|
+
name: "MarketNotEmpty",
|
|
274
|
+
type: "error",
|
|
275
|
+
},
|
|
251
276
|
{
|
|
252
277
|
inputs: [],
|
|
253
278
|
name: "MarketNotListed",
|
|
254
279
|
type: "error",
|
|
255
280
|
},
|
|
281
|
+
{
|
|
282
|
+
inputs: [],
|
|
283
|
+
name: "MarketPaused",
|
|
284
|
+
type: "error",
|
|
285
|
+
},
|
|
256
286
|
{
|
|
257
287
|
inputs: [],
|
|
258
288
|
name: "MinDelayNotReached",
|
|
@@ -268,6 +298,11 @@ const _abi = [
|
|
|
268
298
|
name: "MintPaused",
|
|
269
299
|
type: "error",
|
|
270
300
|
},
|
|
301
|
+
{
|
|
302
|
+
inputs: [],
|
|
303
|
+
name: "MintTokensCantBeZero",
|
|
304
|
+
type: "error",
|
|
305
|
+
},
|
|
271
306
|
{
|
|
272
307
|
inputs: [],
|
|
273
308
|
name: "NoRedemptionProvider",
|
|
@@ -283,6 +318,26 @@ const _abi = [
|
|
|
283
318
|
name: "NotEnoughForSeize",
|
|
284
319
|
type: "error",
|
|
285
320
|
},
|
|
321
|
+
{
|
|
322
|
+
inputs: [],
|
|
323
|
+
name: "NotEnoughRedeemAmount",
|
|
324
|
+
type: "error",
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
inputs: [],
|
|
328
|
+
name: "NotEnoughRedeemTokens",
|
|
329
|
+
type: "error",
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
inputs: [],
|
|
333
|
+
name: "NotEnoughUnderlyingAfterRedeem",
|
|
334
|
+
type: "error",
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
inputs: [],
|
|
338
|
+
name: "NotEnoughUnderlyingForMint",
|
|
339
|
+
type: "error",
|
|
340
|
+
},
|
|
286
341
|
{
|
|
287
342
|
inputs: [],
|
|
288
343
|
name: "NotLiquidatableYet",
|
|
@@ -313,6 +368,11 @@ const _abi = [
|
|
|
313
368
|
name: "OnlyListedCToken",
|
|
314
369
|
type: "error",
|
|
315
370
|
},
|
|
371
|
+
{
|
|
372
|
+
inputs: [],
|
|
373
|
+
name: "OnlyPausedMarketCanBeUnlisted",
|
|
374
|
+
type: "error",
|
|
375
|
+
},
|
|
316
376
|
{
|
|
317
377
|
inputs: [],
|
|
318
378
|
name: "OnlyPendingAdmin",
|
|
@@ -423,6 +483,16 @@ const _abi = [
|
|
|
423
483
|
name: "TooMuchRepay",
|
|
424
484
|
type: "error",
|
|
425
485
|
},
|
|
486
|
+
{
|
|
487
|
+
inputs: [],
|
|
488
|
+
name: "TotalBorrowsNotZero",
|
|
489
|
+
type: "error",
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
inputs: [],
|
|
493
|
+
name: "TotalSupplyNotZero",
|
|
494
|
+
type: "error",
|
|
495
|
+
},
|
|
426
496
|
{
|
|
427
497
|
inputs: [],
|
|
428
498
|
name: "TransferNotAllowed",
|
|
@@ -889,13 +959,7 @@ const _abi = [
|
|
|
889
959
|
{
|
|
890
960
|
inputs: [],
|
|
891
961
|
name: "_acceptAdmin",
|
|
892
|
-
outputs: [
|
|
893
|
-
{
|
|
894
|
-
internalType: "uint256",
|
|
895
|
-
name: "",
|
|
896
|
-
type: "uint256",
|
|
897
|
-
},
|
|
898
|
-
],
|
|
962
|
+
outputs: [],
|
|
899
963
|
stateMutability: "nonpayable",
|
|
900
964
|
type: "function",
|
|
901
965
|
},
|
|
@@ -908,13 +972,7 @@ const _abi = [
|
|
|
908
972
|
},
|
|
909
973
|
],
|
|
910
974
|
name: "_reduceReserves",
|
|
911
|
-
outputs: [
|
|
912
|
-
{
|
|
913
|
-
internalType: "uint256",
|
|
914
|
-
name: "",
|
|
915
|
-
type: "uint256",
|
|
916
|
-
},
|
|
917
|
-
],
|
|
975
|
+
outputs: [],
|
|
918
976
|
stateMutability: "nonpayable",
|
|
919
977
|
type: "function",
|
|
920
978
|
},
|
|
@@ -927,13 +985,7 @@ const _abi = [
|
|
|
927
985
|
},
|
|
928
986
|
],
|
|
929
987
|
name: "_setComptroller",
|
|
930
|
-
outputs: [
|
|
931
|
-
{
|
|
932
|
-
internalType: "uint256",
|
|
933
|
-
name: "",
|
|
934
|
-
type: "uint256",
|
|
935
|
-
},
|
|
936
|
-
],
|
|
988
|
+
outputs: [],
|
|
937
989
|
stateMutability: "nonpayable",
|
|
938
990
|
type: "function",
|
|
939
991
|
},
|
|
@@ -965,13 +1017,7 @@ const _abi = [
|
|
|
965
1017
|
},
|
|
966
1018
|
],
|
|
967
1019
|
name: "_setInterestRateModel",
|
|
968
|
-
outputs: [
|
|
969
|
-
{
|
|
970
|
-
internalType: "uint256",
|
|
971
|
-
name: "",
|
|
972
|
-
type: "uint256",
|
|
973
|
-
},
|
|
974
|
-
],
|
|
1020
|
+
outputs: [],
|
|
975
1021
|
stateMutability: "nonpayable",
|
|
976
1022
|
type: "function",
|
|
977
1023
|
},
|
|
@@ -984,13 +1030,7 @@ const _abi = [
|
|
|
984
1030
|
},
|
|
985
1031
|
],
|
|
986
1032
|
name: "_setPendingAdmin",
|
|
987
|
-
outputs: [
|
|
988
|
-
{
|
|
989
|
-
internalType: "uint256",
|
|
990
|
-
name: "",
|
|
991
|
-
type: "uint256",
|
|
992
|
-
},
|
|
993
|
-
],
|
|
1033
|
+
outputs: [],
|
|
994
1034
|
stateMutability: "nonpayable",
|
|
995
1035
|
type: "function",
|
|
996
1036
|
},
|
|
@@ -1003,13 +1043,7 @@ const _abi = [
|
|
|
1003
1043
|
},
|
|
1004
1044
|
],
|
|
1005
1045
|
name: "_setReserveFactor",
|
|
1006
|
-
outputs: [
|
|
1007
|
-
{
|
|
1008
|
-
internalType: "uint256",
|
|
1009
|
-
name: "",
|
|
1010
|
-
type: "uint256",
|
|
1011
|
-
},
|
|
1012
|
-
],
|
|
1046
|
+
outputs: [],
|
|
1013
1047
|
stateMutability: "nonpayable",
|
|
1014
1048
|
type: "function",
|
|
1015
1049
|
},
|
|
@@ -1036,13 +1070,7 @@ const _abi = [
|
|
|
1036
1070
|
{
|
|
1037
1071
|
inputs: [],
|
|
1038
1072
|
name: "accrueInterest",
|
|
1039
|
-
outputs: [
|
|
1040
|
-
{
|
|
1041
|
-
internalType: "uint256",
|
|
1042
|
-
name: "",
|
|
1043
|
-
type: "uint256",
|
|
1044
|
-
},
|
|
1045
|
-
],
|
|
1073
|
+
outputs: [],
|
|
1046
1074
|
stateMutability: "nonpayable",
|
|
1047
1075
|
type: "function",
|
|
1048
1076
|
},
|
|
@@ -1159,13 +1187,7 @@ const _abi = [
|
|
|
1159
1187
|
},
|
|
1160
1188
|
],
|
|
1161
1189
|
name: "borrowAndDepositBack",
|
|
1162
|
-
outputs: [
|
|
1163
|
-
{
|
|
1164
|
-
internalType: "uint256",
|
|
1165
|
-
name: "",
|
|
1166
|
-
type: "uint256",
|
|
1167
|
-
},
|
|
1168
|
-
],
|
|
1190
|
+
outputs: [],
|
|
1169
1191
|
stateMutability: "nonpayable",
|
|
1170
1192
|
type: "function",
|
|
1171
1193
|
},
|
|
@@ -1332,37 +1354,6 @@ const _abi = [
|
|
|
1332
1354
|
stateMutability: "view",
|
|
1333
1355
|
type: "function",
|
|
1334
1356
|
},
|
|
1335
|
-
{
|
|
1336
|
-
inputs: [
|
|
1337
|
-
{
|
|
1338
|
-
internalType: "address",
|
|
1339
|
-
name: "borrower",
|
|
1340
|
-
type: "address",
|
|
1341
|
-
},
|
|
1342
|
-
],
|
|
1343
|
-
name: "getBorrowSnapshot",
|
|
1344
|
-
outputs: [
|
|
1345
|
-
{
|
|
1346
|
-
components: [
|
|
1347
|
-
{
|
|
1348
|
-
internalType: "uint256",
|
|
1349
|
-
name: "principal",
|
|
1350
|
-
type: "uint256",
|
|
1351
|
-
},
|
|
1352
|
-
{
|
|
1353
|
-
internalType: "uint256",
|
|
1354
|
-
name: "interestIndex",
|
|
1355
|
-
type: "uint256",
|
|
1356
|
-
},
|
|
1357
|
-
],
|
|
1358
|
-
internalType: "struct CTokenStorage.BorrowSnapshot",
|
|
1359
|
-
name: "",
|
|
1360
|
-
type: "tuple",
|
|
1361
|
-
},
|
|
1362
|
-
],
|
|
1363
|
-
stateMutability: "view",
|
|
1364
|
-
type: "function",
|
|
1365
|
-
},
|
|
1366
1357
|
{
|
|
1367
1358
|
inputs: [],
|
|
1368
1359
|
name: "getCash",
|
|
@@ -1376,19 +1367,6 @@ const _abi = [
|
|
|
1376
1367
|
stateMutability: "view",
|
|
1377
1368
|
type: "function",
|
|
1378
1369
|
},
|
|
1379
|
-
{
|
|
1380
|
-
inputs: [
|
|
1381
|
-
{
|
|
1382
|
-
internalType: "address",
|
|
1383
|
-
name: "timeBasedInterestRateModel",
|
|
1384
|
-
type: "address",
|
|
1385
|
-
},
|
|
1386
|
-
],
|
|
1387
|
-
name: "initAccrualBlockTimestamp",
|
|
1388
|
-
outputs: [],
|
|
1389
|
-
stateMutability: "nonpayable",
|
|
1390
|
-
type: "function",
|
|
1391
|
-
},
|
|
1392
1370
|
{
|
|
1393
1371
|
inputs: [],
|
|
1394
1372
|
name: "interestRateModel",
|
|
@@ -1454,19 +1432,6 @@ const _abi = [
|
|
|
1454
1432
|
stateMutability: "view",
|
|
1455
1433
|
type: "function",
|
|
1456
1434
|
},
|
|
1457
|
-
{
|
|
1458
|
-
inputs: [],
|
|
1459
|
-
name: "isDeprecated",
|
|
1460
|
-
outputs: [
|
|
1461
|
-
{
|
|
1462
|
-
internalType: "bool",
|
|
1463
|
-
name: "",
|
|
1464
|
-
type: "bool",
|
|
1465
|
-
},
|
|
1466
|
-
],
|
|
1467
|
-
stateMutability: "view",
|
|
1468
|
-
type: "function",
|
|
1469
|
-
},
|
|
1470
1435
|
{
|
|
1471
1436
|
inputs: [
|
|
1472
1437
|
{
|
|
@@ -1492,11 +1457,6 @@ const _abi = [
|
|
|
1492
1457
|
name: "",
|
|
1493
1458
|
type: "uint256",
|
|
1494
1459
|
},
|
|
1495
|
-
{
|
|
1496
|
-
internalType: "uint256",
|
|
1497
|
-
name: "",
|
|
1498
|
-
type: "uint256",
|
|
1499
|
-
},
|
|
1500
1460
|
],
|
|
1501
1461
|
stateMutability: "view",
|
|
1502
1462
|
type: "function",
|
|
@@ -1600,13 +1560,7 @@ const _abi = [
|
|
|
1600
1560
|
},
|
|
1601
1561
|
],
|
|
1602
1562
|
name: "seize",
|
|
1603
|
-
outputs: [
|
|
1604
|
-
{
|
|
1605
|
-
internalType: "uint256",
|
|
1606
|
-
name: "",
|
|
1607
|
-
type: "uint256",
|
|
1608
|
-
},
|
|
1609
|
-
],
|
|
1563
|
+
outputs: [],
|
|
1610
1564
|
stateMutability: "nonpayable",
|
|
1611
1565
|
type: "function",
|
|
1612
1566
|
},
|