@meterio/sumer-js 0.2.30 → 0.2.32
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 +175 -214
- package/dist/nodejs/abi.js +8098 -8853
- package/dist/nodejs/abi.js.map +1 -1
- package/dist/nodejs/constants/arbitrum.d.ts +4 -4
- package/dist/nodejs/constants/arbitrum.js +12 -12
- package/dist/nodejs/constants/arbitrum.js.map +1 -1
- package/dist/nodejs/constants/basemain.d.ts +4 -4
- package/dist/nodejs/constants/basemain.js +12 -12
- package/dist/nodejs/constants/basemain.js.map +1 -1
- package/dist/nodejs/constants/basetest.d.ts +4 -4
- package/dist/nodejs/constants/basetest.js +9 -9
- package/dist/nodejs/constants/basetest.js.map +1 -1
- package/dist/nodejs/constants/ethereum.d.ts +5 -4
- package/dist/nodejs/constants/ethereum.js +14 -13
- package/dist/nodejs/constants/ethereum.js.map +1 -1
- package/dist/nodejs/constants/metermain.d.ts +4 -4
- package/dist/nodejs/constants/metermain.js +9 -9
- package/dist/nodejs/constants/metermain.js.map +1 -1
- package/dist/nodejs/constants/metertest.d.ts +5 -5
- package/dist/nodejs/constants/metertest.js +46 -47
- package/dist/nodejs/constants/metertest.js.map +1 -1
- package/dist/nodejs/constants/sepolia.d.ts +28 -4
- package/dist/nodejs/constants/sepolia.js +68 -16
- package/dist/nodejs/constants/sepolia.js.map +1 -1
- package/dist/nodejs/errorABIs.js +141 -658
- package/dist/nodejs/errorABIs.js.map +1 -1
- package/dist/nodejs/errors.d.ts +48 -20
- package/dist/nodejs/errors.js +48 -20
- package/dist/nodejs/errors.js.map +1 -1
- package/dist/nodejs/index.d.ts +175 -214
- package/dist/nodejs/typechain/@chainlink/contracts/index.d.ts +2 -0
- package/dist/nodejs/typechain/@chainlink/contracts/index.js +3 -0
- package/dist/nodejs/typechain/@chainlink/contracts/index.js.map +1 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/index.d.ts +2 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/index.js +3 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/index.js.map +1 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/index.d.ts +2 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/index.js +3 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/index.js.map +1 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.d.ts +103 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.js +3 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.js.map +1 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/interfaces/index.d.ts +1 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/interfaces/index.js +3 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/interfaces/index.js.map +1 -0
- package/dist/nodejs/typechain/@chainlink/index.d.ts +2 -0
- package/dist/nodejs/typechain/@chainlink/index.js +3 -0
- package/dist/nodejs/typechain/@chainlink/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/CToken/CErc20.d.ts +12 -10
- package/dist/nodejs/typechain/contracts/CToken/CEther.d.ts +12 -10
- package/dist/nodejs/typechain/contracts/CToken/CToken.d.ts +9 -1
- package/dist/nodejs/typechain/contracts/CToken/CTokenStorage.d.ts +12 -411
- package/dist/nodejs/typechain/contracts/CToken/SuErc20.d.ts +12 -10
- package/dist/nodejs/typechain/contracts/Comptroller/CompoundLens.d.ts +17 -1
- package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.d.ts +358 -709
- package/dist/nodejs/typechain/contracts/Comptroller/ComptrollerStorage.d.ts +163 -207
- package/dist/nodejs/typechain/contracts/Comptroller/RedemptionManager.d.ts +1 -3
- package/dist/nodejs/typechain/contracts/Comptroller/index.d.ts +0 -1
- package/dist/nodejs/typechain/contracts/Interfaces/ICToken.d.ts +4 -407
- package/dist/nodejs/typechain/contracts/Interfaces/ICompLogic.d.ts +1 -19
- package/dist/nodejs/typechain/contracts/Interfaces/IComptroller.d.ts +122 -130
- package/dist/nodejs/typechain/contracts/Interfaces/IPMarket.d.ts +488 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPMarket.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPMarket.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPPrincipalToken.d.ts +193 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPPrincipalToken.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPPrincipalToken.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPYieldToken.d.ts +365 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPYieldToken.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPYieldToken.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPendlePtOracle.d.ts +65 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPendlePtOracle.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPendlePtOracle.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IStandardizedYield.d.ts +365 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IStandardizedYield.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IStandardizedYield.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/index.d.ts +5 -1
- package/dist/nodejs/typechain/contracts/Oracle/FeedPriceOracle.d.ts +321 -138
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/PriceAdapter.d.ts +25 -0
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/PriceAdapter.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/PriceAdapter.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/PriceOracle.d.ts +37 -0
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/PriceOracle.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/PriceOracle.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/IStETH.d.ts +33 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/IStETH.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/IStETH.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter.d.ts +25 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/IWstMTRG.d.ts +25 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/IWstMTRG.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/IWstMTRG.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter.d.ts +25 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +6 -4
- package/dist/nodejs/typechain/contracts/Timelock.d.ts +14 -4
- package/dist/nodejs/typechain/factories/@chainlink/contracts/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/index.js +31 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/index.js +31 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/index.js +31 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.d.ts +93 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.js +131 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/interfaces/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/interfaces/index.js +9 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/interfaces/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/index.js +31 -0
- package/dist/nodejs/typechain/factories/@chainlink/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +29 -29
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +37 -36
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +29 -29
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +37 -36
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.d.ts +2 -357
- package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js +2 -445
- package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +28 -20
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +36 -25
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +29 -33
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +37 -41
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.d.ts +9 -21
- package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.js +11 -26
- package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.js.map +1 -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 +31 -21
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +40 -26
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.d.ts +107 -221
- package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js +117 -265
- package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +299 -1054
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +380 -1375
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +9 -25
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +11 -31
- 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/Comptroller/index.d.ts +0 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/index.js +1 -3
- package/dist/nodejs/typechain/factories/contracts/Comptroller/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.d.ts +0 -365
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.js +0 -456
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.d.ts +0 -28
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js +0 -37
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.d.ts +108 -222
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js +135 -287
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPMarket__factory.d.ts +543 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPMarket__factory.js +712 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPMarket__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPPrincipalToken__factory.d.ts +265 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPPrincipalToken__factory.js +356 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPPrincipalToken__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPYieldToken__factory.d.ts +473 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPYieldToken__factory.js +624 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPYieldToken__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPendlePtOracle__factory.d.ts +51 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPendlePtOracle__factory.js +78 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPendlePtOracle__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IStandardizedYield__factory.d.ts +493 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IStandardizedYield__factory.js +652 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IStandardizedYield__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.d.ts +5 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js +11 -3
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.d.ts +398 -102
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js +494 -110
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/PriceAdapter__factory.d.ts +17 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/PriceAdapter__factory.js +33 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/PriceAdapter__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/PriceOracle__factory.d.ts +45 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/PriceOracle__factory.js +71 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/PriceOracle__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/index.js +11 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/IStETH__factory.d.ts +31 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/IStETH__factory.js +52 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/IStETH__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.d.ts +44 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.js +69 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/index.js +11 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/IWstMTRG__factory.d.ts +17 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/IWstMTRG__factory.js +33 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/IWstMTRG__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.d.ts +44 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.js +69 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/index.js +11 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +3 -4
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +4 -9
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.d.ts +9 -21
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js +11 -26
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +29 -25
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +37 -31
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/index.js +2 -1
- package/dist/nodejs/typechain/factories/index.js.map +1 -1
- package/dist/nodejs/typechain/hardhat.d.ts +178 -70
- package/dist/nodejs/typechain/index.d.ts +26 -14
- package/dist/nodejs/typechain/index.js +25 -14
- package/dist/nodejs/typechain/index.js.map +1 -1
- package/package.json +1 -1
package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.d.ts
CHANGED
|
@@ -14,144 +14,14 @@ export declare class ComptrollerStorage__factory extends ContractFactory {
|
|
|
14
14
|
deploymentTransaction(): ContractTransactionResponse;
|
|
15
15
|
}>;
|
|
16
16
|
connect(runner: ContractRunner | null): ComptrollerStorage__factory;
|
|
17
|
-
static readonly bytecode = "
|
|
17
|
+
static readonly bytecode = "0x608080604052346100165761053e908161001c8239f35b600080fdfe60806040818152600436101561001457600080fd5b600091823560e01c9081627e3dd2146104d25750806324a3d622146104aa5780632bebbc091461046a5780633278eb0414610442578063360f5a011461041a57806352d84d1e146103c25780637dc0d1d01461039a57806381a397e41461030a5780638c765e94146102d15780638e8f294b14610279578063a7c1abe014610226578063d33219b4146101fe578063d78a18d814610188578063dce1544914610136578063e63ab1e9146100fc5763f96dae0a146100d157600080fd5b346100f857816003193601126100f857603a5490516001600160a01b039091168152602090f35b5080fd5b50346100f857816003193601126100f857602090517f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a8152f35b50346100f857806003193601126100f85761014f6104ed565b6001600160a01b0390811683526034602052818320805460243591908210156101845784526020938490200154915191168152f35b8480fd5b50346100f85760203660031901126100f85760043560ff81168091036101fa5782829160c09452604d60205220549080519160ff8116835261ffff91828260081c166020850152828260181c1690840152818160281c166060840152818160381c16608084015260481c1660a0820152f35b8280fd5b50346100f857816003193601126100f85760465490516001600160a01b039091168152602090f35b50346100f857816003193601126100f85760a09060ff604f5482519261ffff8216845263ffffffff90818360101c166020860152818360301c16908501528160501c16606084015260701c166080820152f35b50346100f85760203660031901126100f85760609181906001600160a01b036102a06104ed565b1681526035602052209060ff600283549301541660ff8251938181161515855260081c166020840152151590820152f35b50346100f857816003193601126100f8576060906050549080519161ffff908181168452818160101c16602085015260201c1690820152f35b50346100f85760203660031901126100f85760c09181906001600160a01b036103316104ed565b168152604e6020522060018154916effffffffffffffffffffffffffffff9182910154169183519360ff82161515855260ff8260081c161515602086015260ff8260101c1615159085015260ff8160181c161515606085015260201c16608083015260a0820152f35b50346100f857816003193601126100f85760445490516001600160a01b039091168152602090f35b50346100f85760203660031901126100f8576004356036548110156101fa5760366020935260018060a01b03907f4a11f94e20a93c79f6ec743a1954ec4fc2c08429ae2122118bf234b2185c81b80154169051908152f35b50346100f857816003193601126100f85760435490516001600160a01b039091168152602090f35b50346100f857816003193601126100f85760475490516001600160a01b039091168152602090f35b50346100f85760203660031901126100f85760209165ffffffffffff9082906001600160a01b036104996104ed565b168152604b85522054169051908152f35b50346100f857816003193601126100f857603e5490516001600160a01b039091168152602090f35b8390346100f857816003193601126100f85780600160209252f35b600435906001600160a01b038216820361050357565b600080fdfea2646970667358221220c5a36d108e296799a58f44237a791fb555f1c184ab04f8dc076bad11e1a1e3b864736f6c63430008130033";
|
|
18
18
|
static readonly abi: readonly [{
|
|
19
|
-
readonly anonymous: false;
|
|
20
|
-
readonly inputs: readonly [{
|
|
21
|
-
readonly indexed: false;
|
|
22
|
-
readonly internalType: "address";
|
|
23
|
-
readonly name: "cToken";
|
|
24
|
-
readonly type: "address";
|
|
25
|
-
}, {
|
|
26
|
-
readonly indexed: false;
|
|
27
|
-
readonly internalType: "address";
|
|
28
|
-
readonly name: "account";
|
|
29
|
-
readonly type: "address";
|
|
30
|
-
}];
|
|
31
|
-
readonly name: "MarketEntered";
|
|
32
|
-
readonly type: "event";
|
|
33
|
-
}, {
|
|
34
|
-
readonly anonymous: false;
|
|
35
|
-
readonly inputs: readonly [{
|
|
36
|
-
readonly indexed: false;
|
|
37
|
-
readonly internalType: "address";
|
|
38
|
-
readonly name: "cToken";
|
|
39
|
-
readonly type: "address";
|
|
40
|
-
}, {
|
|
41
|
-
readonly indexed: false;
|
|
42
|
-
readonly internalType: "address";
|
|
43
|
-
readonly name: "account";
|
|
44
|
-
readonly type: "address";
|
|
45
|
-
}];
|
|
46
|
-
readonly name: "MarketExited";
|
|
47
|
-
readonly type: "event";
|
|
48
|
-
}, {
|
|
49
|
-
readonly anonymous: false;
|
|
50
|
-
readonly inputs: readonly [{
|
|
51
|
-
readonly indexed: false;
|
|
52
|
-
readonly internalType: "address";
|
|
53
|
-
readonly name: "cToken";
|
|
54
|
-
readonly type: "address";
|
|
55
|
-
}];
|
|
56
|
-
readonly name: "MarketListed";
|
|
57
|
-
readonly type: "event";
|
|
58
|
-
}, {
|
|
59
|
-
readonly anonymous: false;
|
|
60
|
-
readonly inputs: readonly [{
|
|
61
|
-
readonly indexed: false;
|
|
62
|
-
readonly internalType: "uint256";
|
|
63
|
-
readonly name: "oldCloseFactorMantissa";
|
|
64
|
-
readonly type: "uint256";
|
|
65
|
-
}, {
|
|
66
|
-
readonly indexed: false;
|
|
67
|
-
readonly internalType: "uint256";
|
|
68
|
-
readonly name: "newCloseFactorMantissa";
|
|
69
|
-
readonly type: "uint256";
|
|
70
|
-
}];
|
|
71
|
-
readonly name: "NewCloseFactor";
|
|
72
|
-
readonly type: "event";
|
|
73
|
-
}, {
|
|
74
|
-
readonly anonymous: false;
|
|
75
|
-
readonly inputs: readonly [{
|
|
76
|
-
readonly indexed: false;
|
|
77
|
-
readonly internalType: "uint256";
|
|
78
|
-
readonly name: "oldHeteroIncentive";
|
|
79
|
-
readonly type: "uint256";
|
|
80
|
-
}, {
|
|
81
|
-
readonly indexed: false;
|
|
82
|
-
readonly internalType: "uint256";
|
|
83
|
-
readonly name: "newHeteroIncentive";
|
|
84
|
-
readonly type: "uint256";
|
|
85
|
-
}, {
|
|
86
|
-
readonly indexed: false;
|
|
87
|
-
readonly internalType: "uint256";
|
|
88
|
-
readonly name: "oldHomoIncentive";
|
|
89
|
-
readonly type: "uint256";
|
|
90
|
-
}, {
|
|
91
|
-
readonly indexed: false;
|
|
92
|
-
readonly internalType: "uint256";
|
|
93
|
-
readonly name: "newHomoIncentive";
|
|
94
|
-
readonly type: "uint256";
|
|
95
|
-
}, {
|
|
96
|
-
readonly indexed: false;
|
|
97
|
-
readonly internalType: "uint256";
|
|
98
|
-
readonly name: "oldSutokenIncentive";
|
|
99
|
-
readonly type: "uint256";
|
|
100
|
-
}, {
|
|
101
|
-
readonly indexed: false;
|
|
102
|
-
readonly internalType: "uint256";
|
|
103
|
-
readonly name: "newSutokenIncentive";
|
|
104
|
-
readonly type: "uint256";
|
|
105
|
-
}];
|
|
106
|
-
readonly name: "NewLiquidationIncentive";
|
|
107
|
-
readonly type: "event";
|
|
108
|
-
}, {
|
|
109
|
-
readonly anonymous: false;
|
|
110
|
-
readonly inputs: readonly [{
|
|
111
|
-
readonly indexed: false;
|
|
112
|
-
readonly internalType: "address";
|
|
113
|
-
readonly name: "oldPriceOracle";
|
|
114
|
-
readonly type: "address";
|
|
115
|
-
}, {
|
|
116
|
-
readonly indexed: false;
|
|
117
|
-
readonly internalType: "address";
|
|
118
|
-
readonly name: "newPriceOracle";
|
|
119
|
-
readonly type: "address";
|
|
120
|
-
}];
|
|
121
|
-
readonly name: "NewPriceOracle";
|
|
122
|
-
readonly type: "event";
|
|
123
|
-
}, {
|
|
124
|
-
readonly anonymous: false;
|
|
125
|
-
readonly inputs: readonly [{
|
|
126
|
-
readonly indexed: true;
|
|
127
|
-
readonly internalType: "address";
|
|
128
|
-
readonly name: "cToken";
|
|
129
|
-
readonly type: "address";
|
|
130
|
-
}, {
|
|
131
|
-
readonly indexed: false;
|
|
132
|
-
readonly internalType: "uint256";
|
|
133
|
-
readonly name: "amount";
|
|
134
|
-
readonly type: "uint256";
|
|
135
|
-
}];
|
|
136
|
-
readonly name: "SetMaxSupply";
|
|
137
|
-
readonly type: "event";
|
|
138
|
-
}, {
|
|
139
|
-
readonly inputs: readonly [];
|
|
140
|
-
readonly name: "_borrowGuardianPaused";
|
|
141
|
-
readonly outputs: readonly [{
|
|
142
|
-
readonly internalType: "bool";
|
|
143
|
-
readonly name: "";
|
|
144
|
-
readonly type: "bool";
|
|
145
|
-
}];
|
|
146
|
-
readonly stateMutability: "view";
|
|
147
|
-
readonly type: "function";
|
|
148
|
-
}, {
|
|
149
19
|
readonly inputs: readonly [];
|
|
150
|
-
readonly name: "
|
|
20
|
+
readonly name: "PAUSER_ROLE";
|
|
151
21
|
readonly outputs: readonly [{
|
|
152
|
-
readonly internalType: "
|
|
22
|
+
readonly internalType: "bytes32";
|
|
153
23
|
readonly name: "";
|
|
154
|
-
readonly type: "
|
|
24
|
+
readonly type: "bytes32";
|
|
155
25
|
}];
|
|
156
26
|
readonly stateMutability: "view";
|
|
157
27
|
readonly type: "function";
|
|
@@ -193,99 +63,153 @@ export declare class ComptrollerStorage__factory extends ContractFactory {
|
|
|
193
63
|
readonly name: "";
|
|
194
64
|
readonly type: "uint8";
|
|
195
65
|
}];
|
|
196
|
-
readonly name: "
|
|
66
|
+
readonly name: "assetGroup";
|
|
197
67
|
readonly outputs: readonly [{
|
|
198
68
|
readonly internalType: "uint8";
|
|
199
|
-
readonly name: "";
|
|
69
|
+
readonly name: "groupId";
|
|
200
70
|
readonly type: "uint8";
|
|
71
|
+
}, {
|
|
72
|
+
readonly internalType: "uint16";
|
|
73
|
+
readonly name: "intraCRatePercent";
|
|
74
|
+
readonly type: "uint16";
|
|
75
|
+
}, {
|
|
76
|
+
readonly internalType: "uint16";
|
|
77
|
+
readonly name: "intraMintRatePercent";
|
|
78
|
+
readonly type: "uint16";
|
|
79
|
+
}, {
|
|
80
|
+
readonly internalType: "uint16";
|
|
81
|
+
readonly name: "intraSuRatePercent";
|
|
82
|
+
readonly type: "uint16";
|
|
83
|
+
}, {
|
|
84
|
+
readonly internalType: "uint16";
|
|
85
|
+
readonly name: "interCRatePercent";
|
|
86
|
+
readonly type: "uint16";
|
|
87
|
+
}, {
|
|
88
|
+
readonly internalType: "uint16";
|
|
89
|
+
readonly name: "interSuRatePercent";
|
|
90
|
+
readonly type: "uint16";
|
|
201
91
|
}];
|
|
202
92
|
readonly stateMutability: "view";
|
|
203
93
|
readonly type: "function";
|
|
204
94
|
}, {
|
|
205
95
|
readonly inputs: readonly [];
|
|
206
|
-
readonly name: "
|
|
96
|
+
readonly name: "compLogic";
|
|
207
97
|
readonly outputs: readonly [{
|
|
208
|
-
readonly internalType: "
|
|
98
|
+
readonly internalType: "contract ICompLogic";
|
|
209
99
|
readonly name: "";
|
|
210
100
|
readonly type: "address";
|
|
211
101
|
}];
|
|
212
102
|
readonly stateMutability: "view";
|
|
213
103
|
readonly type: "function";
|
|
214
104
|
}, {
|
|
215
|
-
readonly inputs: readonly [
|
|
216
|
-
|
|
217
|
-
readonly name: "";
|
|
218
|
-
readonly type: "address";
|
|
219
|
-
}];
|
|
220
|
-
readonly name: "borrowCaps";
|
|
105
|
+
readonly inputs: readonly [];
|
|
106
|
+
readonly name: "globalConfig";
|
|
221
107
|
readonly outputs: readonly [{
|
|
222
|
-
readonly internalType: "
|
|
223
|
-
readonly name: "";
|
|
224
|
-
readonly type: "
|
|
108
|
+
readonly internalType: "uint16";
|
|
109
|
+
readonly name: "closeFactorPercent";
|
|
110
|
+
readonly type: "uint16";
|
|
111
|
+
}, {
|
|
112
|
+
readonly internalType: "uint32";
|
|
113
|
+
readonly name: "minCloseValue";
|
|
114
|
+
readonly type: "uint32";
|
|
115
|
+
}, {
|
|
116
|
+
readonly internalType: "uint32";
|
|
117
|
+
readonly name: "minSuBorrowValue";
|
|
118
|
+
readonly type: "uint32";
|
|
119
|
+
}, {
|
|
120
|
+
readonly internalType: "uint32";
|
|
121
|
+
readonly name: "minWaitBeforeLiquidatable";
|
|
122
|
+
readonly type: "uint32";
|
|
123
|
+
}, {
|
|
124
|
+
readonly internalType: "uint8";
|
|
125
|
+
readonly name: "largestGroupId";
|
|
126
|
+
readonly type: "uint8";
|
|
225
127
|
}];
|
|
226
128
|
readonly stateMutability: "view";
|
|
227
129
|
readonly type: "function";
|
|
228
130
|
}, {
|
|
229
|
-
readonly inputs: readonly [
|
|
131
|
+
readonly inputs: readonly [];
|
|
132
|
+
readonly name: "governanceToken";
|
|
133
|
+
readonly outputs: readonly [{
|
|
230
134
|
readonly internalType: "address";
|
|
231
135
|
readonly name: "";
|
|
232
136
|
readonly type: "address";
|
|
233
137
|
}];
|
|
234
|
-
readonly name: "borrowGuardianPaused";
|
|
235
|
-
readonly outputs: readonly [{
|
|
236
|
-
readonly internalType: "bool";
|
|
237
|
-
readonly name: "";
|
|
238
|
-
readonly type: "bool";
|
|
239
|
-
}];
|
|
240
138
|
readonly stateMutability: "view";
|
|
241
139
|
readonly type: "function";
|
|
242
140
|
}, {
|
|
243
141
|
readonly inputs: readonly [];
|
|
244
|
-
readonly name: "
|
|
142
|
+
readonly name: "isComptroller";
|
|
245
143
|
readonly outputs: readonly [{
|
|
246
|
-
readonly internalType: "
|
|
144
|
+
readonly internalType: "bool";
|
|
247
145
|
readonly name: "";
|
|
248
|
-
readonly type: "
|
|
146
|
+
readonly type: "bool";
|
|
249
147
|
}];
|
|
250
148
|
readonly stateMutability: "view";
|
|
251
149
|
readonly type: "function";
|
|
252
150
|
}, {
|
|
253
|
-
readonly inputs: readonly [
|
|
254
|
-
readonly name: "governanceToken";
|
|
255
|
-
readonly outputs: readonly [{
|
|
151
|
+
readonly inputs: readonly [{
|
|
256
152
|
readonly internalType: "address";
|
|
257
153
|
readonly name: "";
|
|
258
154
|
readonly type: "address";
|
|
259
155
|
}];
|
|
260
|
-
readonly
|
|
261
|
-
readonly type: "function";
|
|
262
|
-
}, {
|
|
263
|
-
readonly inputs: readonly [];
|
|
264
|
-
readonly name: "heteroLiquidationIncentiveMantissa";
|
|
156
|
+
readonly name: "lastBorrowedAt";
|
|
265
157
|
readonly outputs: readonly [{
|
|
266
|
-
readonly internalType: "
|
|
158
|
+
readonly internalType: "uint48";
|
|
267
159
|
readonly name: "";
|
|
268
|
-
readonly type: "
|
|
160
|
+
readonly type: "uint48";
|
|
269
161
|
}];
|
|
270
162
|
readonly stateMutability: "view";
|
|
271
163
|
readonly type: "function";
|
|
272
164
|
}, {
|
|
273
165
|
readonly inputs: readonly [];
|
|
274
|
-
readonly name: "
|
|
166
|
+
readonly name: "liquidationIncentive";
|
|
275
167
|
readonly outputs: readonly [{
|
|
276
|
-
readonly internalType: "
|
|
277
|
-
readonly name: "";
|
|
278
|
-
readonly type: "
|
|
168
|
+
readonly internalType: "uint16";
|
|
169
|
+
readonly name: "heteroPercent";
|
|
170
|
+
readonly type: "uint16";
|
|
171
|
+
}, {
|
|
172
|
+
readonly internalType: "uint16";
|
|
173
|
+
readonly name: "homoPercent";
|
|
174
|
+
readonly type: "uint16";
|
|
175
|
+
}, {
|
|
176
|
+
readonly internalType: "uint16";
|
|
177
|
+
readonly name: "sutokenPercent";
|
|
178
|
+
readonly type: "uint16";
|
|
279
179
|
}];
|
|
280
180
|
readonly stateMutability: "view";
|
|
281
181
|
readonly type: "function";
|
|
282
182
|
}, {
|
|
283
|
-
readonly inputs: readonly [
|
|
284
|
-
|
|
183
|
+
readonly inputs: readonly [{
|
|
184
|
+
readonly internalType: "address";
|
|
185
|
+
readonly name: "";
|
|
186
|
+
readonly type: "address";
|
|
187
|
+
}];
|
|
188
|
+
readonly name: "marketConfig";
|
|
285
189
|
readonly outputs: readonly [{
|
|
286
190
|
readonly internalType: "bool";
|
|
287
|
-
readonly name: "";
|
|
191
|
+
readonly name: "mintPaused";
|
|
192
|
+
readonly type: "bool";
|
|
193
|
+
}, {
|
|
194
|
+
readonly internalType: "bool";
|
|
195
|
+
readonly name: "borrowPaused";
|
|
196
|
+
readonly type: "bool";
|
|
197
|
+
}, {
|
|
198
|
+
readonly internalType: "bool";
|
|
199
|
+
readonly name: "transferPaused";
|
|
200
|
+
readonly type: "bool";
|
|
201
|
+
}, {
|
|
202
|
+
readonly internalType: "bool";
|
|
203
|
+
readonly name: "seizePaused";
|
|
288
204
|
readonly type: "bool";
|
|
205
|
+
}, {
|
|
206
|
+
readonly internalType: "uint120";
|
|
207
|
+
readonly name: "borrowCap";
|
|
208
|
+
readonly type: "uint120";
|
|
209
|
+
}, {
|
|
210
|
+
readonly internalType: "uint120";
|
|
211
|
+
readonly name: "supplyCap";
|
|
212
|
+
readonly type: "uint120";
|
|
289
213
|
}];
|
|
290
214
|
readonly stateMutability: "view";
|
|
291
215
|
readonly type: "function";
|
|
@@ -312,31 +236,13 @@ export declare class ComptrollerStorage__factory extends ContractFactory {
|
|
|
312
236
|
readonly stateMutability: "view";
|
|
313
237
|
readonly type: "function";
|
|
314
238
|
}, {
|
|
315
|
-
readonly inputs: readonly [
|
|
316
|
-
|
|
317
|
-
readonly name: "";
|
|
318
|
-
readonly type: "address";
|
|
319
|
-
}];
|
|
320
|
-
readonly name: "maxSupply";
|
|
239
|
+
readonly inputs: readonly [];
|
|
240
|
+
readonly name: "oracle";
|
|
321
241
|
readonly outputs: readonly [{
|
|
322
|
-
readonly internalType: "
|
|
323
|
-
readonly name: "";
|
|
324
|
-
readonly type: "uint256";
|
|
325
|
-
}];
|
|
326
|
-
readonly stateMutability: "view";
|
|
327
|
-
readonly type: "function";
|
|
328
|
-
}, {
|
|
329
|
-
readonly inputs: readonly [{
|
|
330
|
-
readonly internalType: "address";
|
|
242
|
+
readonly internalType: "contract IPriceOracle";
|
|
331
243
|
readonly name: "";
|
|
332
244
|
readonly type: "address";
|
|
333
245
|
}];
|
|
334
|
-
readonly name: "mintGuardianPaused";
|
|
335
|
-
readonly outputs: readonly [{
|
|
336
|
-
readonly internalType: "bool";
|
|
337
|
-
readonly name: "";
|
|
338
|
-
readonly type: "bool";
|
|
339
|
-
}];
|
|
340
246
|
readonly stateMutability: "view";
|
|
341
247
|
readonly type: "function";
|
|
342
248
|
}, {
|
|
@@ -351,41 +257,21 @@ export declare class ComptrollerStorage__factory extends ContractFactory {
|
|
|
351
257
|
readonly type: "function";
|
|
352
258
|
}, {
|
|
353
259
|
readonly inputs: readonly [];
|
|
354
|
-
readonly name: "
|
|
260
|
+
readonly name: "redemptionManager";
|
|
355
261
|
readonly outputs: readonly [{
|
|
356
|
-
readonly internalType: "
|
|
262
|
+
readonly internalType: "contract IRedemptionManager";
|
|
357
263
|
readonly name: "";
|
|
358
|
-
readonly type: "
|
|
359
|
-
}];
|
|
360
|
-
readonly stateMutability: "view";
|
|
361
|
-
readonly type: "function";
|
|
362
|
-
}, {
|
|
363
|
-
readonly inputs: readonly [];
|
|
364
|
-
readonly name: "suTokenRateMantissa";
|
|
365
|
-
readonly outputs: readonly [{
|
|
366
|
-
readonly internalType: "uint256";
|
|
367
|
-
readonly name: "";
|
|
368
|
-
readonly type: "uint256";
|
|
369
|
-
}];
|
|
370
|
-
readonly stateMutability: "view";
|
|
371
|
-
readonly type: "function";
|
|
372
|
-
}, {
|
|
373
|
-
readonly inputs: readonly [];
|
|
374
|
-
readonly name: "sutokenLiquidationIncentiveMantissa";
|
|
375
|
-
readonly outputs: readonly [{
|
|
376
|
-
readonly internalType: "uint256";
|
|
377
|
-
readonly name: "";
|
|
378
|
-
readonly type: "uint256";
|
|
264
|
+
readonly type: "address";
|
|
379
265
|
}];
|
|
380
266
|
readonly stateMutability: "view";
|
|
381
267
|
readonly type: "function";
|
|
382
268
|
}, {
|
|
383
269
|
readonly inputs: readonly [];
|
|
384
|
-
readonly name: "
|
|
270
|
+
readonly name: "timelock";
|
|
385
271
|
readonly outputs: readonly [{
|
|
386
|
-
readonly internalType: "
|
|
272
|
+
readonly internalType: "address";
|
|
387
273
|
readonly name: "";
|
|
388
|
-
readonly type: "
|
|
274
|
+
readonly type: "address";
|
|
389
275
|
}];
|
|
390
276
|
readonly stateMutability: "view";
|
|
391
277
|
readonly type: "function";
|