@meterio/sumer-js 0.2.34 → 0.2.36
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 +11 -0
- package/dist/nodejs/abi.js +285 -70
- package/dist/nodejs/abi.js.map +1 -1
- package/dist/nodejs/constants/arbitrum.js +6 -6
- package/dist/nodejs/constants/arbitrum.js.map +1 -1
- package/dist/nodejs/constants/basemain.js +6 -6
- package/dist/nodejs/constants/basemain.js.map +1 -1
- package/dist/nodejs/constants/basetest.js +6 -6
- package/dist/nodejs/constants/basetest.js.map +1 -1
- package/dist/nodejs/constants/ethereum.js +6 -6
- package/dist/nodejs/constants/ethereum.js.map +1 -1
- package/dist/nodejs/constants/metermain.js +6 -6
- package/dist/nodejs/constants/metermain.js.map +1 -1
- package/dist/nodejs/constants/metertest.js +6 -6
- package/dist/nodejs/constants/metertest.js.map +1 -1
- package/dist/nodejs/constants/sepolia.js +2 -2
- package/dist/nodejs/constants/sepolia.js.map +1 -1
- package/dist/nodejs/constants/zklink.d.ts +63 -0
- package/dist/nodejs/constants/zklink.js +168 -0
- package/dist/nodejs/constants/zklink.js.map +1 -0
- package/dist/nodejs/constants/zklinksepolia.d.ts +28 -0
- package/dist/nodejs/constants/zklinksepolia.js +34 -0
- package/dist/nodejs/constants/zklinksepolia.js.map +1 -0
- package/dist/nodejs/errorABIs.js +50 -0
- package/dist/nodejs/errorABIs.js.map +1 -1
- package/dist/nodejs/errors.d.ts +4 -0
- package/dist/nodejs/errors.js +4 -0
- package/dist/nodejs/errors.js.map +1 -1
- package/dist/nodejs/index.d.ts +11 -0
- package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/beacon/BeaconProxy.d.ts +65 -0
- package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/beacon/BeaconProxy.js +3 -0
- package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/beacon/BeaconProxy.js.map +1 -0
- package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.d.ts +84 -0
- package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.js +3 -0
- package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.js.map +1 -0
- package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/beacon/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/CToken/CErc20.d.ts +13 -1
- package/dist/nodejs/typechain/contracts/CToken/CEther.d.ts +13 -1
- package/dist/nodejs/typechain/contracts/CToken/CToken.d.ts +13 -1
- package/dist/nodejs/typechain/contracts/CToken/CTokenStorage.d.ts +9 -1
- package/dist/nodejs/typechain/contracts/CToken/SuErc20.d.ts +13 -1
- package/dist/nodejs/typechain/contracts/InterestRateModel/FixedInterestRateModel.d.ts +5 -5
- package/dist/nodejs/typechain/contracts/InterestRateModel/InterestRateModel.d.ts +5 -1
- package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelV2.d.ts +26 -26
- package/dist/nodejs/typechain/contracts/InterestRateModel/WhitePaperInterestRateModel.d.ts +20 -23
- package/dist/nodejs/typechain/contracts/Interfaces/ICToken.d.ts +5 -1
- package/dist/nodejs/typechain/contracts/Test.d.ts +25 -0
- package/dist/nodejs/typechain/contracts/Test.js +3 -0
- package/dist/nodejs/typechain/contracts/Test.js.map +1 -0
- package/dist/nodejs/typechain/contracts/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/governance/TimelockController__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/governance/TimelockController__factory.js +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/governance/TimelockController__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.js +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/BeaconProxy__factory.d.ts +75 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/BeaconProxy__factory.js +109 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/BeaconProxy__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon__factory.d.ts +101 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon__factory.js +142 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/index.js +5 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.js +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy__factory.js +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.js +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser__factory.js +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +31 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +39 -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 +31 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +39 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.d.ts +20 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js +26 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +30 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +38 -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 +31 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +39 -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 +5 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +6 -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 +5 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +6 -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/ComptrollerStorage__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +5 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +6 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +5 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +6 -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/Comptroller/SortedBorrows__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauserPermit__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauserPermit__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauserPermit__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauser__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauser__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauser__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestRateModel__factory.d.ts +13 -17
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestRateModel__factory.js +18 -23
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestRateModel__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/InterestRateModel__factory.d.ts +10 -0
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/InterestRateModel__factory.js +13 -0
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/InterestRateModel__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelV2__factory.d.ts +19 -23
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelV2__factory.js +24 -29
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelV2__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/WhitePaperInterestRateModel__factory.d.ts +17 -26
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/WhitePaperInterestRateModel__factory.js +22 -33
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/WhitePaperInterestRateModel__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.d.ts +10 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.js +13 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Library/CreateCall__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Library/CreateCall__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Library/CreateCall__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Library/RateLimiter__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Library/RateLimiter__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Library/RateLimiter__factory.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/Multicall2__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/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/WstETHAdapter.sol/WstETHAdapter__factory.js.map +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/WstMTRGAdapter.sol/WstMTRGAdapter__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/wstMTRGOracle.sol/WstMTRGOracle__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/wstMTRGOracle.sol/WstMTRGOracle__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/wstMTRGOracle.sol/WstMTRGOracle__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.d.ts +5 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js +6 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/SumerTimelockController__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/SumerTimelockController__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/SumerTimelockController__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Test__factory.d.ts +32 -0
- package/dist/nodejs/typechain/factories/contracts/Test__factory.js +53 -0
- package/dist/nodejs/typechain/factories/contracts/Test__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +5 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +6 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/contracts/index.js +3 -1
- package/dist/nodejs/typechain/factories/contracts/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxyAdmin__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxyAdmin__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxyAdmin__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxy__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxy__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxy__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/CommunalFarm__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/CommunalFarm__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/CommunalFarm__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeController.sol/FraxGaugeController__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeController.sol/FraxGaugeController__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeController.sol/FraxGaugeController__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeFXSRewardsDistributor__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeFXSRewardsDistributor__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeFXSRewardsDistributor__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/StakingRewardsMultiGauge__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/StakingRewardsMultiGauge__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/StakingRewardsMultiGauge__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/hardhat.d.ts +54 -0
- package/dist/nodejs/typechain/index.d.ts +6 -0
- package/dist/nodejs/typechain/index.js +9 -3
- package/dist/nodejs/typechain/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@ export declare namespace CTokenStorage {
|
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
16
|
export interface SuErc20Interface extends Interface {
|
|
17
|
-
getFunction(nameOrSignature: "_acceptAdmin" | "_addReserves" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "_syncUnderlyingBalance" | "accrualBlockNumber" | "accrueInterest" | "admin" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrow" | "borrowAndDepositBack" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowIndex" | "borrowRatePerBlock" | "comptroller" | "decimals" | "discountRateMantissa" | "exchangeRateCurrent" | "exchangeRateStored" | "executeRedemption" | "getAccountSnapshot" | "getBorrowSnapshot" | "getCash" | "initialize" | "interestRateModel" | "isCEther" | "isCEtherDeprecated" | "isCToken" | "isCTokenDeprecated" | "isDeprecated" | "liquidateBorrow" | "liquidateCalculateSeizeTokens" | "mint" | "mintWithPermit" | "name" | "pendingAdmin" | "percentScale" | "protectedMint" | "protocolSeizeShareMantissa" | "redeem" | "redeemUnderlying" | "repayBorrow" | "repayBorrowBehalf" | "repayBorrowWithPermit" | "reserveFactorMantissa" | "seize" | "supplyRatePerBlock" | "sweepToken" | "symbol" | "totalBorrows" | "totalBorrowsCurrent" | "totalReserves" | "totalSupply" | "transfer" | "transferFrom" | "underlying" | "underlyingBalance"): FunctionFragment;
|
|
17
|
+
getFunction(nameOrSignature: "_acceptAdmin" | "_addReserves" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "_syncUnderlyingBalance" | "accrualBlockNumber" | "accrualBlockTimestamp" | "accrueInterest" | "admin" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrow" | "borrowAndDepositBack" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowIndex" | "borrowRatePerBlock" | "comptroller" | "decimals" | "discountRateMantissa" | "exchangeRateCurrent" | "exchangeRateStored" | "executeRedemption" | "getAccountSnapshot" | "getBorrowSnapshot" | "getCash" | "initAccrualBlockTimestamp" | "initialize" | "interestRateModel" | "isCEther" | "isCEtherDeprecated" | "isCToken" | "isCTokenDeprecated" | "isDeprecated" | "liquidateBorrow" | "liquidateCalculateSeizeTokens" | "mint" | "mintWithPermit" | "name" | "pendingAdmin" | "percentScale" | "protectedMint" | "protocolSeizeShareMantissa" | "redeem" | "redeemUnderlying" | "repayBorrow" | "repayBorrowBehalf" | "repayBorrowWithPermit" | "reserveFactorMantissa" | "seize" | "supplyRatePerBlock" | "sweepToken" | "symbol" | "totalBorrows" | "totalBorrowsCurrent" | "totalReserves" | "totalSecures" | "totalSupply" | "transfer" | "transferFrom" | "underlying" | "underlyingBalance"): FunctionFragment;
|
|
18
18
|
getEvent(nameOrSignatureOrTopic: "AccrueInterest" | "Approval" | "Borrow" | "Initialized" | "LiquidateBorrow" | "Mint" | "NewAdmin" | "NewComptroller" | "NewDiscountRate" | "NewMarketInterestRateModel" | "NewPendingAdmin" | "NewReserveFactor" | "Redeem" | "RedeemFaceValue" | "RepayBorrow" | "ReservesAdded" | "ReservesReduced" | "Transfer"): EventFragment;
|
|
19
19
|
encodeFunctionData(functionFragment: "_acceptAdmin", values?: undefined): string;
|
|
20
20
|
encodeFunctionData(functionFragment: "_addReserves", values: [BigNumberish]): string;
|
|
@@ -26,6 +26,7 @@ export interface SuErc20Interface extends Interface {
|
|
|
26
26
|
encodeFunctionData(functionFragment: "_setReserveFactor", values: [BigNumberish]): string;
|
|
27
27
|
encodeFunctionData(functionFragment: "_syncUnderlyingBalance", values?: undefined): string;
|
|
28
28
|
encodeFunctionData(functionFragment: "accrualBlockNumber", values?: undefined): string;
|
|
29
|
+
encodeFunctionData(functionFragment: "accrualBlockTimestamp", values?: undefined): string;
|
|
29
30
|
encodeFunctionData(functionFragment: "accrueInterest", values?: undefined): string;
|
|
30
31
|
encodeFunctionData(functionFragment: "admin", values?: undefined): string;
|
|
31
32
|
encodeFunctionData(functionFragment: "allowance", values: [AddressLike, AddressLike]): string;
|
|
@@ -54,6 +55,7 @@ export interface SuErc20Interface extends Interface {
|
|
|
54
55
|
encodeFunctionData(functionFragment: "getAccountSnapshot", values: [AddressLike]): string;
|
|
55
56
|
encodeFunctionData(functionFragment: "getBorrowSnapshot", values: [AddressLike]): string;
|
|
56
57
|
encodeFunctionData(functionFragment: "getCash", values?: undefined): string;
|
|
58
|
+
encodeFunctionData(functionFragment: "initAccrualBlockTimestamp", values?: undefined): string;
|
|
57
59
|
encodeFunctionData(functionFragment: "initialize", values: [
|
|
58
60
|
AddressLike,
|
|
59
61
|
AddressLike,
|
|
@@ -99,6 +101,7 @@ export interface SuErc20Interface extends Interface {
|
|
|
99
101
|
encodeFunctionData(functionFragment: "totalBorrows", values?: undefined): string;
|
|
100
102
|
encodeFunctionData(functionFragment: "totalBorrowsCurrent", values?: undefined): string;
|
|
101
103
|
encodeFunctionData(functionFragment: "totalReserves", values?: undefined): string;
|
|
104
|
+
encodeFunctionData(functionFragment: "totalSecures", values?: undefined): string;
|
|
102
105
|
encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
|
|
103
106
|
encodeFunctionData(functionFragment: "transfer", values: [AddressLike, BigNumberish]): string;
|
|
104
107
|
encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
@@ -114,6 +117,7 @@ export interface SuErc20Interface extends Interface {
|
|
|
114
117
|
decodeFunctionResult(functionFragment: "_setReserveFactor", data: BytesLike): Result;
|
|
115
118
|
decodeFunctionResult(functionFragment: "_syncUnderlyingBalance", data: BytesLike): Result;
|
|
116
119
|
decodeFunctionResult(functionFragment: "accrualBlockNumber", data: BytesLike): Result;
|
|
120
|
+
decodeFunctionResult(functionFragment: "accrualBlockTimestamp", data: BytesLike): Result;
|
|
117
121
|
decodeFunctionResult(functionFragment: "accrueInterest", data: BytesLike): Result;
|
|
118
122
|
decodeFunctionResult(functionFragment: "admin", data: BytesLike): Result;
|
|
119
123
|
decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
|
|
@@ -135,6 +139,7 @@ export interface SuErc20Interface extends Interface {
|
|
|
135
139
|
decodeFunctionResult(functionFragment: "getAccountSnapshot", data: BytesLike): Result;
|
|
136
140
|
decodeFunctionResult(functionFragment: "getBorrowSnapshot", data: BytesLike): Result;
|
|
137
141
|
decodeFunctionResult(functionFragment: "getCash", data: BytesLike): Result;
|
|
142
|
+
decodeFunctionResult(functionFragment: "initAccrualBlockTimestamp", data: BytesLike): Result;
|
|
138
143
|
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
|
|
139
144
|
decodeFunctionResult(functionFragment: "interestRateModel", data: BytesLike): Result;
|
|
140
145
|
decodeFunctionResult(functionFragment: "isCEther", data: BytesLike): Result;
|
|
@@ -164,6 +169,7 @@ export interface SuErc20Interface extends Interface {
|
|
|
164
169
|
decodeFunctionResult(functionFragment: "totalBorrows", data: BytesLike): Result;
|
|
165
170
|
decodeFunctionResult(functionFragment: "totalBorrowsCurrent", data: BytesLike): Result;
|
|
166
171
|
decodeFunctionResult(functionFragment: "totalReserves", data: BytesLike): Result;
|
|
172
|
+
decodeFunctionResult(functionFragment: "totalSecures", data: BytesLike): Result;
|
|
167
173
|
decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
|
|
168
174
|
decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
|
|
169
175
|
decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
|
|
@@ -578,6 +584,7 @@ export interface SuErc20 extends BaseContract {
|
|
|
578
584
|
], "nonpayable">;
|
|
579
585
|
_syncUnderlyingBalance: TypedContractMethod<[], [void], "nonpayable">;
|
|
580
586
|
accrualBlockNumber: TypedContractMethod<[], [bigint], "view">;
|
|
587
|
+
accrualBlockTimestamp: TypedContractMethod<[], [bigint], "view">;
|
|
581
588
|
accrueInterest: TypedContractMethod<[], [bigint], "nonpayable">;
|
|
582
589
|
admin: TypedContractMethod<[], [string], "view">;
|
|
583
590
|
allowance: TypedContractMethod<[
|
|
@@ -647,6 +654,7 @@ export interface SuErc20 extends BaseContract {
|
|
|
647
654
|
CTokenStorage.BorrowSnapshotStructOutput
|
|
648
655
|
], "view">;
|
|
649
656
|
getCash: TypedContractMethod<[], [bigint], "view">;
|
|
657
|
+
initAccrualBlockTimestamp: TypedContractMethod<[], [void], "nonpayable">;
|
|
650
658
|
initialize: TypedContractMethod<[
|
|
651
659
|
underlying_: AddressLike,
|
|
652
660
|
comptroller_: AddressLike,
|
|
@@ -742,6 +750,7 @@ export interface SuErc20 extends BaseContract {
|
|
|
742
750
|
totalBorrows: TypedContractMethod<[], [bigint], "view">;
|
|
743
751
|
totalBorrowsCurrent: TypedContractMethod<[], [bigint], "nonpayable">;
|
|
744
752
|
totalReserves: TypedContractMethod<[], [bigint], "view">;
|
|
753
|
+
totalSecures: TypedContractMethod<[], [bigint], "view">;
|
|
745
754
|
totalSupply: TypedContractMethod<[], [bigint], "view">;
|
|
746
755
|
transfer: TypedContractMethod<[
|
|
747
756
|
dst: AddressLike,
|
|
@@ -785,6 +794,7 @@ export interface SuErc20 extends BaseContract {
|
|
|
785
794
|
], "nonpayable">;
|
|
786
795
|
getFunction(nameOrSignature: "_syncUnderlyingBalance"): TypedContractMethod<[], [void], "nonpayable">;
|
|
787
796
|
getFunction(nameOrSignature: "accrualBlockNumber"): TypedContractMethod<[], [bigint], "view">;
|
|
797
|
+
getFunction(nameOrSignature: "accrualBlockTimestamp"): TypedContractMethod<[], [bigint], "view">;
|
|
788
798
|
getFunction(nameOrSignature: "accrueInterest"): TypedContractMethod<[], [bigint], "nonpayable">;
|
|
789
799
|
getFunction(nameOrSignature: "admin"): TypedContractMethod<[], [string], "view">;
|
|
790
800
|
getFunction(nameOrSignature: "allowance"): TypedContractMethod<[
|
|
@@ -838,6 +848,7 @@ export interface SuErc20 extends BaseContract {
|
|
|
838
848
|
CTokenStorage.BorrowSnapshotStructOutput
|
|
839
849
|
], "view">;
|
|
840
850
|
getFunction(nameOrSignature: "getCash"): TypedContractMethod<[], [bigint], "view">;
|
|
851
|
+
getFunction(nameOrSignature: "initAccrualBlockTimestamp"): TypedContractMethod<[], [void], "nonpayable">;
|
|
841
852
|
getFunction(nameOrSignature: "initialize"): TypedContractMethod<[
|
|
842
853
|
underlying_: AddressLike,
|
|
843
854
|
comptroller_: AddressLike,
|
|
@@ -921,6 +932,7 @@ export interface SuErc20 extends BaseContract {
|
|
|
921
932
|
getFunction(nameOrSignature: "totalBorrows"): TypedContractMethod<[], [bigint], "view">;
|
|
922
933
|
getFunction(nameOrSignature: "totalBorrowsCurrent"): TypedContractMethod<[], [bigint], "nonpayable">;
|
|
923
934
|
getFunction(nameOrSignature: "totalReserves"): TypedContractMethod<[], [bigint], "view">;
|
|
935
|
+
getFunction(nameOrSignature: "totalSecures"): TypedContractMethod<[], [bigint], "view">;
|
|
924
936
|
getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">;
|
|
925
937
|
getFunction(nameOrSignature: "transfer"): TypedContractMethod<[
|
|
926
938
|
dst: AddressLike,
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
|
|
3
3
|
export interface FixedInterestRateModelInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "acceptOwnership" | "
|
|
4
|
+
getFunction(nameOrSignature: "acceptOwnership" | "borrowRate" | "getBorrowRate" | "getSupplyRate" | "isInterestRateModel" | "owner" | "pendingOwner" | "renounceOwnership" | "secondsPerYear" | "setBorrowRate" | "setSupplyRate" | "supplyRate" | "transferOwnership"): FunctionFragment;
|
|
5
5
|
getEvent(nameOrSignatureOrTopic: "OwnershipTransferStarted" | "OwnershipTransferred"): EventFragment;
|
|
6
6
|
encodeFunctionData(functionFragment: "acceptOwnership", values?: undefined): string;
|
|
7
|
-
encodeFunctionData(functionFragment: "blocksPerYear", values?: undefined): string;
|
|
8
7
|
encodeFunctionData(functionFragment: "borrowRate", values?: undefined): string;
|
|
9
8
|
encodeFunctionData(functionFragment: "getBorrowRate", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
10
9
|
encodeFunctionData(functionFragment: "getSupplyRate", values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]): string;
|
|
@@ -12,12 +11,12 @@ export interface FixedInterestRateModelInterface extends Interface {
|
|
|
12
11
|
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
|
13
12
|
encodeFunctionData(functionFragment: "pendingOwner", values?: undefined): string;
|
|
14
13
|
encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string;
|
|
14
|
+
encodeFunctionData(functionFragment: "secondsPerYear", values?: undefined): string;
|
|
15
15
|
encodeFunctionData(functionFragment: "setBorrowRate", values: [BigNumberish]): string;
|
|
16
16
|
encodeFunctionData(functionFragment: "setSupplyRate", values: [BigNumberish]): string;
|
|
17
17
|
encodeFunctionData(functionFragment: "supplyRate", values?: undefined): string;
|
|
18
18
|
encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string;
|
|
19
19
|
decodeFunctionResult(functionFragment: "acceptOwnership", data: BytesLike): Result;
|
|
20
|
-
decodeFunctionResult(functionFragment: "blocksPerYear", data: BytesLike): Result;
|
|
21
20
|
decodeFunctionResult(functionFragment: "borrowRate", data: BytesLike): Result;
|
|
22
21
|
decodeFunctionResult(functionFragment: "getBorrowRate", data: BytesLike): Result;
|
|
23
22
|
decodeFunctionResult(functionFragment: "getSupplyRate", data: BytesLike): Result;
|
|
@@ -25,6 +24,7 @@ export interface FixedInterestRateModelInterface extends Interface {
|
|
|
25
24
|
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
|
|
26
25
|
decodeFunctionResult(functionFragment: "pendingOwner", data: BytesLike): Result;
|
|
27
26
|
decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result;
|
|
27
|
+
decodeFunctionResult(functionFragment: "secondsPerYear", data: BytesLike): Result;
|
|
28
28
|
decodeFunctionResult(functionFragment: "setBorrowRate", data: BytesLike): Result;
|
|
29
29
|
decodeFunctionResult(functionFragment: "setSupplyRate", data: BytesLike): Result;
|
|
30
30
|
decodeFunctionResult(functionFragment: "supplyRate", data: BytesLike): Result;
|
|
@@ -68,7 +68,6 @@ export interface FixedInterestRateModel extends BaseContract {
|
|
|
68
68
|
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
69
69
|
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
70
70
|
acceptOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
|
71
|
-
blocksPerYear: TypedContractMethod<[], [bigint], "view">;
|
|
72
71
|
borrowRate: TypedContractMethod<[], [bigint], "view">;
|
|
73
72
|
getBorrowRate: TypedContractMethod<[
|
|
74
73
|
cash: BigNumberish,
|
|
@@ -89,6 +88,7 @@ export interface FixedInterestRateModel extends BaseContract {
|
|
|
89
88
|
owner: TypedContractMethod<[], [string], "view">;
|
|
90
89
|
pendingOwner: TypedContractMethod<[], [string], "view">;
|
|
91
90
|
renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
|
91
|
+
secondsPerYear: TypedContractMethod<[], [bigint], "view">;
|
|
92
92
|
setBorrowRate: TypedContractMethod<[
|
|
93
93
|
rate: BigNumberish
|
|
94
94
|
], [
|
|
@@ -107,7 +107,6 @@ export interface FixedInterestRateModel extends BaseContract {
|
|
|
107
107
|
], "nonpayable">;
|
|
108
108
|
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
109
109
|
getFunction(nameOrSignature: "acceptOwnership"): TypedContractMethod<[], [void], "nonpayable">;
|
|
110
|
-
getFunction(nameOrSignature: "blocksPerYear"): TypedContractMethod<[], [bigint], "view">;
|
|
111
110
|
getFunction(nameOrSignature: "borrowRate"): TypedContractMethod<[], [bigint], "view">;
|
|
112
111
|
getFunction(nameOrSignature: "getBorrowRate"): TypedContractMethod<[
|
|
113
112
|
cash: BigNumberish,
|
|
@@ -128,6 +127,7 @@ export interface FixedInterestRateModel extends BaseContract {
|
|
|
128
127
|
getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">;
|
|
129
128
|
getFunction(nameOrSignature: "pendingOwner"): TypedContractMethod<[], [string], "view">;
|
|
130
129
|
getFunction(nameOrSignature: "renounceOwnership"): TypedContractMethod<[], [void], "nonpayable">;
|
|
130
|
+
getFunction(nameOrSignature: "secondsPerYear"): TypedContractMethod<[], [bigint], "view">;
|
|
131
131
|
getFunction(nameOrSignature: "setBorrowRate"): TypedContractMethod<[rate: BigNumberish], [void], "nonpayable">;
|
|
132
132
|
getFunction(nameOrSignature: "setSupplyRate"): TypedContractMethod<[rate: BigNumberish], [void], "nonpayable">;
|
|
133
133
|
getFunction(nameOrSignature: "supplyRate"): TypedContractMethod<[], [bigint], "view">;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
|
|
3
3
|
export interface InterestRateModelInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "acceptOwnership" | "getBorrowRate" | "getSupplyRate" | "isInterestRateModel" | "owner" | "pendingOwner" | "renounceOwnership" | "transferOwnership"): FunctionFragment;
|
|
4
|
+
getFunction(nameOrSignature: "acceptOwnership" | "getBorrowRate" | "getSupplyRate" | "isInterestRateModel" | "owner" | "pendingOwner" | "renounceOwnership" | "secondsPerYear" | "transferOwnership"): FunctionFragment;
|
|
5
5
|
getEvent(nameOrSignatureOrTopic: "OwnershipTransferStarted" | "OwnershipTransferred"): EventFragment;
|
|
6
6
|
encodeFunctionData(functionFragment: "acceptOwnership", values?: undefined): string;
|
|
7
7
|
encodeFunctionData(functionFragment: "getBorrowRate", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
@@ -10,6 +10,7 @@ export interface InterestRateModelInterface extends Interface {
|
|
|
10
10
|
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
|
11
11
|
encodeFunctionData(functionFragment: "pendingOwner", values?: undefined): string;
|
|
12
12
|
encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string;
|
|
13
|
+
encodeFunctionData(functionFragment: "secondsPerYear", values?: undefined): string;
|
|
13
14
|
encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string;
|
|
14
15
|
decodeFunctionResult(functionFragment: "acceptOwnership", data: BytesLike): Result;
|
|
15
16
|
decodeFunctionResult(functionFragment: "getBorrowRate", data: BytesLike): Result;
|
|
@@ -18,6 +19,7 @@ export interface InterestRateModelInterface extends Interface {
|
|
|
18
19
|
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
|
|
19
20
|
decodeFunctionResult(functionFragment: "pendingOwner", data: BytesLike): Result;
|
|
20
21
|
decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result;
|
|
22
|
+
decodeFunctionResult(functionFragment: "secondsPerYear", data: BytesLike): Result;
|
|
21
23
|
decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
|
|
22
24
|
}
|
|
23
25
|
export declare namespace OwnershipTransferStartedEvent {
|
|
@@ -77,6 +79,7 @@ export interface InterestRateModel extends BaseContract {
|
|
|
77
79
|
owner: TypedContractMethod<[], [string], "view">;
|
|
78
80
|
pendingOwner: TypedContractMethod<[], [string], "view">;
|
|
79
81
|
renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
|
82
|
+
secondsPerYear: TypedContractMethod<[], [bigint], "view">;
|
|
80
83
|
transferOwnership: TypedContractMethod<[
|
|
81
84
|
newOwner: AddressLike
|
|
82
85
|
], [
|
|
@@ -103,6 +106,7 @@ export interface InterestRateModel extends BaseContract {
|
|
|
103
106
|
getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">;
|
|
104
107
|
getFunction(nameOrSignature: "pendingOwner"): TypedContractMethod<[], [string], "view">;
|
|
105
108
|
getFunction(nameOrSignature: "renounceOwnership"): TypedContractMethod<[], [void], "nonpayable">;
|
|
109
|
+
getFunction(nameOrSignature: "secondsPerYear"): TypedContractMethod<[], [bigint], "view">;
|
|
106
110
|
getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
|
|
107
111
|
getEvent(key: "OwnershipTransferStarted"): TypedContractEvent<OwnershipTransferStartedEvent.InputTuple, OwnershipTransferStartedEvent.OutputTuple, OwnershipTransferStartedEvent.OutputObject>;
|
|
108
112
|
getEvent(key: "OwnershipTransferred"): TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
|
|
3
3
|
export interface JumpRateModelV2Interface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "acceptOwnership" | "
|
|
4
|
+
getFunction(nameOrSignature: "acceptOwnership" | "baseRatePerSecond" | "getBorrowRate" | "getSupplyRate" | "isInterestRateModel" | "jumpMultiplierPerSecond" | "kink" | "multiplierPerSecond" | "owner" | "pendingOwner" | "renounceOwnership" | "secondsPerYear" | "transferOwnership" | "updateJumpRateModel" | "utilizationRate"): FunctionFragment;
|
|
5
5
|
getEvent(nameOrSignatureOrTopic: "NewInterestParams" | "OwnershipTransferStarted" | "OwnershipTransferred"): EventFragment;
|
|
6
6
|
encodeFunctionData(functionFragment: "acceptOwnership", values?: undefined): string;
|
|
7
|
-
encodeFunctionData(functionFragment: "
|
|
8
|
-
encodeFunctionData(functionFragment: "blocksPerYear", values?: undefined): string;
|
|
7
|
+
encodeFunctionData(functionFragment: "baseRatePerSecond", values?: undefined): string;
|
|
9
8
|
encodeFunctionData(functionFragment: "getBorrowRate", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
10
9
|
encodeFunctionData(functionFragment: "getSupplyRate", values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]): string;
|
|
11
10
|
encodeFunctionData(functionFragment: "isInterestRateModel", values?: undefined): string;
|
|
12
|
-
encodeFunctionData(functionFragment: "
|
|
11
|
+
encodeFunctionData(functionFragment: "jumpMultiplierPerSecond", values?: undefined): string;
|
|
13
12
|
encodeFunctionData(functionFragment: "kink", values?: undefined): string;
|
|
14
|
-
encodeFunctionData(functionFragment: "
|
|
13
|
+
encodeFunctionData(functionFragment: "multiplierPerSecond", values?: undefined): string;
|
|
15
14
|
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
|
16
15
|
encodeFunctionData(functionFragment: "pendingOwner", values?: undefined): string;
|
|
17
16
|
encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string;
|
|
17
|
+
encodeFunctionData(functionFragment: "secondsPerYear", values?: undefined): string;
|
|
18
18
|
encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string;
|
|
19
19
|
encodeFunctionData(functionFragment: "updateJumpRateModel", values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]): string;
|
|
20
20
|
encodeFunctionData(functionFragment: "utilizationRate", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
21
21
|
decodeFunctionResult(functionFragment: "acceptOwnership", data: BytesLike): Result;
|
|
22
|
-
decodeFunctionResult(functionFragment: "
|
|
23
|
-
decodeFunctionResult(functionFragment: "blocksPerYear", data: BytesLike): Result;
|
|
22
|
+
decodeFunctionResult(functionFragment: "baseRatePerSecond", data: BytesLike): Result;
|
|
24
23
|
decodeFunctionResult(functionFragment: "getBorrowRate", data: BytesLike): Result;
|
|
25
24
|
decodeFunctionResult(functionFragment: "getSupplyRate", data: BytesLike): Result;
|
|
26
25
|
decodeFunctionResult(functionFragment: "isInterestRateModel", data: BytesLike): Result;
|
|
27
|
-
decodeFunctionResult(functionFragment: "
|
|
26
|
+
decodeFunctionResult(functionFragment: "jumpMultiplierPerSecond", data: BytesLike): Result;
|
|
28
27
|
decodeFunctionResult(functionFragment: "kink", data: BytesLike): Result;
|
|
29
|
-
decodeFunctionResult(functionFragment: "
|
|
28
|
+
decodeFunctionResult(functionFragment: "multiplierPerSecond", data: BytesLike): Result;
|
|
30
29
|
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
|
|
31
30
|
decodeFunctionResult(functionFragment: "pendingOwner", data: BytesLike): Result;
|
|
32
31
|
decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result;
|
|
32
|
+
decodeFunctionResult(functionFragment: "secondsPerYear", data: BytesLike): Result;
|
|
33
33
|
decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
|
|
34
34
|
decodeFunctionResult(functionFragment: "updateJumpRateModel", data: BytesLike): Result;
|
|
35
35
|
decodeFunctionResult(functionFragment: "utilizationRate", data: BytesLike): Result;
|
|
36
36
|
}
|
|
37
37
|
export declare namespace NewInterestParamsEvent {
|
|
38
38
|
type InputTuple = [
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
baseRatePerSecond: BigNumberish,
|
|
40
|
+
multiplierPerSecond: BigNumberish,
|
|
41
|
+
jumpMultiplierPerSecond: BigNumberish,
|
|
42
42
|
kink: BigNumberish
|
|
43
43
|
];
|
|
44
44
|
type OutputTuple = [
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
baseRatePerSecond: bigint,
|
|
46
|
+
multiplierPerSecond: bigint,
|
|
47
|
+
jumpMultiplierPerSecond: bigint,
|
|
48
48
|
kink: bigint
|
|
49
49
|
];
|
|
50
50
|
interface OutputObject {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
baseRatePerSecond: bigint;
|
|
52
|
+
multiplierPerSecond: bigint;
|
|
53
|
+
jumpMultiplierPerSecond: bigint;
|
|
54
54
|
kink: bigint;
|
|
55
55
|
}
|
|
56
56
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
@@ -96,8 +96,7 @@ export interface JumpRateModelV2 extends BaseContract {
|
|
|
96
96
|
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
97
97
|
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
98
98
|
acceptOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
|
99
|
-
|
|
100
|
-
blocksPerYear: TypedContractMethod<[], [bigint], "view">;
|
|
99
|
+
baseRatePerSecond: TypedContractMethod<[], [bigint], "view">;
|
|
101
100
|
getBorrowRate: TypedContractMethod<[
|
|
102
101
|
cash: BigNumberish,
|
|
103
102
|
borrows: BigNumberish,
|
|
@@ -114,12 +113,13 @@ export interface JumpRateModelV2 extends BaseContract {
|
|
|
114
113
|
bigint
|
|
115
114
|
], "view">;
|
|
116
115
|
isInterestRateModel: TypedContractMethod<[], [boolean], "view">;
|
|
117
|
-
|
|
116
|
+
jumpMultiplierPerSecond: TypedContractMethod<[], [bigint], "view">;
|
|
118
117
|
kink: TypedContractMethod<[], [bigint], "view">;
|
|
119
|
-
|
|
118
|
+
multiplierPerSecond: TypedContractMethod<[], [bigint], "view">;
|
|
120
119
|
owner: TypedContractMethod<[], [string], "view">;
|
|
121
120
|
pendingOwner: TypedContractMethod<[], [string], "view">;
|
|
122
121
|
renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
|
122
|
+
secondsPerYear: TypedContractMethod<[], [bigint], "view">;
|
|
123
123
|
transferOwnership: TypedContractMethod<[
|
|
124
124
|
newOwner: AddressLike
|
|
125
125
|
], [
|
|
@@ -142,8 +142,7 @@ export interface JumpRateModelV2 extends BaseContract {
|
|
|
142
142
|
], "view">;
|
|
143
143
|
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
144
144
|
getFunction(nameOrSignature: "acceptOwnership"): TypedContractMethod<[], [void], "nonpayable">;
|
|
145
|
-
getFunction(nameOrSignature: "
|
|
146
|
-
getFunction(nameOrSignature: "blocksPerYear"): TypedContractMethod<[], [bigint], "view">;
|
|
145
|
+
getFunction(nameOrSignature: "baseRatePerSecond"): TypedContractMethod<[], [bigint], "view">;
|
|
147
146
|
getFunction(nameOrSignature: "getBorrowRate"): TypedContractMethod<[
|
|
148
147
|
cash: BigNumberish,
|
|
149
148
|
borrows: BigNumberish,
|
|
@@ -160,12 +159,13 @@ export interface JumpRateModelV2 extends BaseContract {
|
|
|
160
159
|
bigint
|
|
161
160
|
], "view">;
|
|
162
161
|
getFunction(nameOrSignature: "isInterestRateModel"): TypedContractMethod<[], [boolean], "view">;
|
|
163
|
-
getFunction(nameOrSignature: "
|
|
162
|
+
getFunction(nameOrSignature: "jumpMultiplierPerSecond"): TypedContractMethod<[], [bigint], "view">;
|
|
164
163
|
getFunction(nameOrSignature: "kink"): TypedContractMethod<[], [bigint], "view">;
|
|
165
|
-
getFunction(nameOrSignature: "
|
|
164
|
+
getFunction(nameOrSignature: "multiplierPerSecond"): TypedContractMethod<[], [bigint], "view">;
|
|
166
165
|
getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">;
|
|
167
166
|
getFunction(nameOrSignature: "pendingOwner"): TypedContractMethod<[], [string], "view">;
|
|
168
167
|
getFunction(nameOrSignature: "renounceOwnership"): TypedContractMethod<[], [void], "nonpayable">;
|
|
168
|
+
getFunction(nameOrSignature: "secondsPerYear"): TypedContractMethod<[], [bigint], "view">;
|
|
169
169
|
getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
|
|
170
170
|
getFunction(nameOrSignature: "updateJumpRateModel"): TypedContractMethod<[
|
|
171
171
|
baseRatePerYear: BigNumberish,
|
|
@@ -1,48 +1,45 @@
|
|
|
1
1
|
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
|
|
3
3
|
export interface WhitePaperInterestRateModelInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "acceptOwnership" | "
|
|
4
|
+
getFunction(nameOrSignature: "acceptOwnership" | "baseRatePerSecond" | "getBorrowRate" | "getSupplyRate" | "isInterestRateModel" | "multiplierPerSecond" | "owner" | "pendingOwner" | "renounceOwnership" | "secondsPerYear" | "transferOwnership" | "utilizationRate"): FunctionFragment;
|
|
5
5
|
getEvent(nameOrSignatureOrTopic: "NewInterestParams" | "OwnershipTransferStarted" | "OwnershipTransferred"): EventFragment;
|
|
6
6
|
encodeFunctionData(functionFragment: "acceptOwnership", values?: undefined): string;
|
|
7
|
-
encodeFunctionData(functionFragment: "
|
|
8
|
-
encodeFunctionData(functionFragment: "blocksPerYear", values?: undefined): string;
|
|
7
|
+
encodeFunctionData(functionFragment: "baseRatePerSecond", values?: undefined): string;
|
|
9
8
|
encodeFunctionData(functionFragment: "getBorrowRate", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
10
9
|
encodeFunctionData(functionFragment: "getSupplyRate", values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]): string;
|
|
11
10
|
encodeFunctionData(functionFragment: "isInterestRateModel", values?: undefined): string;
|
|
12
|
-
encodeFunctionData(functionFragment: "
|
|
11
|
+
encodeFunctionData(functionFragment: "multiplierPerSecond", values?: undefined): string;
|
|
13
12
|
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
|
14
13
|
encodeFunctionData(functionFragment: "pendingOwner", values?: undefined): string;
|
|
15
14
|
encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string;
|
|
15
|
+
encodeFunctionData(functionFragment: "secondsPerYear", values?: undefined): string;
|
|
16
16
|
encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string;
|
|
17
17
|
encodeFunctionData(functionFragment: "utilizationRate", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
18
18
|
decodeFunctionResult(functionFragment: "acceptOwnership", data: BytesLike): Result;
|
|
19
|
-
decodeFunctionResult(functionFragment: "
|
|
20
|
-
decodeFunctionResult(functionFragment: "blocksPerYear", data: BytesLike): Result;
|
|
19
|
+
decodeFunctionResult(functionFragment: "baseRatePerSecond", data: BytesLike): Result;
|
|
21
20
|
decodeFunctionResult(functionFragment: "getBorrowRate", data: BytesLike): Result;
|
|
22
21
|
decodeFunctionResult(functionFragment: "getSupplyRate", data: BytesLike): Result;
|
|
23
22
|
decodeFunctionResult(functionFragment: "isInterestRateModel", data: BytesLike): Result;
|
|
24
|
-
decodeFunctionResult(functionFragment: "
|
|
23
|
+
decodeFunctionResult(functionFragment: "multiplierPerSecond", data: BytesLike): Result;
|
|
25
24
|
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
|
|
26
25
|
decodeFunctionResult(functionFragment: "pendingOwner", data: BytesLike): Result;
|
|
27
26
|
decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result;
|
|
27
|
+
decodeFunctionResult(functionFragment: "secondsPerYear", data: BytesLike): Result;
|
|
28
28
|
decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
|
|
29
29
|
decodeFunctionResult(functionFragment: "utilizationRate", data: BytesLike): Result;
|
|
30
30
|
}
|
|
31
31
|
export declare namespace NewInterestParamsEvent {
|
|
32
32
|
type InputTuple = [
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
multiplierPerBlock: BigNumberish
|
|
33
|
+
baseRatePerSecond: BigNumberish,
|
|
34
|
+
multiplierPerSecond: BigNumberish
|
|
36
35
|
];
|
|
37
36
|
type OutputTuple = [
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
multiplierPerBlock: bigint
|
|
37
|
+
baseRatePerSecond: bigint,
|
|
38
|
+
multiplierPerSecond: bigint
|
|
41
39
|
];
|
|
42
40
|
interface OutputObject {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
multiplierPerBlock: bigint;
|
|
41
|
+
baseRatePerSecond: bigint;
|
|
42
|
+
multiplierPerSecond: bigint;
|
|
46
43
|
}
|
|
47
44
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
48
45
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
@@ -87,8 +84,7 @@ export interface WhitePaperInterestRateModel extends BaseContract {
|
|
|
87
84
|
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
88
85
|
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
89
86
|
acceptOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
|
90
|
-
|
|
91
|
-
blocksPerYear: TypedContractMethod<[], [bigint], "view">;
|
|
87
|
+
baseRatePerSecond: TypedContractMethod<[], [bigint], "view">;
|
|
92
88
|
getBorrowRate: TypedContractMethod<[
|
|
93
89
|
cash: BigNumberish,
|
|
94
90
|
borrows: BigNumberish,
|
|
@@ -105,10 +101,11 @@ export interface WhitePaperInterestRateModel extends BaseContract {
|
|
|
105
101
|
bigint
|
|
106
102
|
], "view">;
|
|
107
103
|
isInterestRateModel: TypedContractMethod<[], [boolean], "view">;
|
|
108
|
-
|
|
104
|
+
multiplierPerSecond: TypedContractMethod<[], [bigint], "view">;
|
|
109
105
|
owner: TypedContractMethod<[], [string], "view">;
|
|
110
106
|
pendingOwner: TypedContractMethod<[], [string], "view">;
|
|
111
107
|
renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
|
108
|
+
secondsPerYear: TypedContractMethod<[], [bigint], "view">;
|
|
112
109
|
transferOwnership: TypedContractMethod<[
|
|
113
110
|
newOwner: AddressLike
|
|
114
111
|
], [
|
|
@@ -123,8 +120,7 @@ export interface WhitePaperInterestRateModel extends BaseContract {
|
|
|
123
120
|
], "view">;
|
|
124
121
|
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
125
122
|
getFunction(nameOrSignature: "acceptOwnership"): TypedContractMethod<[], [void], "nonpayable">;
|
|
126
|
-
getFunction(nameOrSignature: "
|
|
127
|
-
getFunction(nameOrSignature: "blocksPerYear"): TypedContractMethod<[], [bigint], "view">;
|
|
123
|
+
getFunction(nameOrSignature: "baseRatePerSecond"): TypedContractMethod<[], [bigint], "view">;
|
|
128
124
|
getFunction(nameOrSignature: "getBorrowRate"): TypedContractMethod<[
|
|
129
125
|
cash: BigNumberish,
|
|
130
126
|
borrows: BigNumberish,
|
|
@@ -141,10 +137,11 @@ export interface WhitePaperInterestRateModel extends BaseContract {
|
|
|
141
137
|
bigint
|
|
142
138
|
], "view">;
|
|
143
139
|
getFunction(nameOrSignature: "isInterestRateModel"): TypedContractMethod<[], [boolean], "view">;
|
|
144
|
-
getFunction(nameOrSignature: "
|
|
140
|
+
getFunction(nameOrSignature: "multiplierPerSecond"): TypedContractMethod<[], [bigint], "view">;
|
|
145
141
|
getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">;
|
|
146
142
|
getFunction(nameOrSignature: "pendingOwner"): TypedContractMethod<[], [string], "view">;
|
|
147
143
|
getFunction(nameOrSignature: "renounceOwnership"): TypedContractMethod<[], [void], "nonpayable">;
|
|
144
|
+
getFunction(nameOrSignature: "secondsPerYear"): TypedContractMethod<[], [bigint], "view">;
|
|
148
145
|
getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
|
|
149
146
|
getFunction(nameOrSignature: "utilizationRate"): TypedContractMethod<[
|
|
150
147
|
cash: BigNumberish,
|
|
@@ -157,7 +154,7 @@ export interface WhitePaperInterestRateModel extends BaseContract {
|
|
|
157
154
|
getEvent(key: "OwnershipTransferStarted"): TypedContractEvent<OwnershipTransferStartedEvent.InputTuple, OwnershipTransferStartedEvent.OutputTuple, OwnershipTransferStartedEvent.OutputObject>;
|
|
158
155
|
getEvent(key: "OwnershipTransferred"): TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
159
156
|
filters: {
|
|
160
|
-
"NewInterestParams(uint256,uint256
|
|
157
|
+
"NewInterestParams(uint256,uint256)": TypedContractEvent<NewInterestParamsEvent.InputTuple, NewInterestParamsEvent.OutputTuple, NewInterestParamsEvent.OutputObject>;
|
|
161
158
|
NewInterestParams: TypedContractEvent<NewInterestParamsEvent.InputTuple, NewInterestParamsEvent.OutputTuple, NewInterestParamsEvent.OutputObject>;
|
|
162
159
|
"OwnershipTransferStarted(address,address)": TypedContractEvent<OwnershipTransferStartedEvent.InputTuple, OwnershipTransferStartedEvent.OutputTuple, OwnershipTransferStartedEvent.OutputObject>;
|
|
163
160
|
OwnershipTransferStarted: TypedContractEvent<OwnershipTransferStartedEvent.InputTuple, OwnershipTransferStartedEvent.OutputTuple, OwnershipTransferStartedEvent.OutputObject>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../common";
|
|
3
3
|
export interface ICTokenInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "_acceptAdmin" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "accrualBlockNumber" | "accrueInterest" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowRatePerBlock" | "exchangeRateCurrent" | "exchangeRateStored" | "getAccountSnapshot" | "getCash" | "seize" | "supplyRatePerBlock" | "totalBorrowsCurrent" | "totalSupply" | "transfer" | "transferFrom"): FunctionFragment;
|
|
4
|
+
getFunction(nameOrSignature: "_acceptAdmin" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "accrualBlockNumber" | "accrualBlockTimestamp" | "accrueInterest" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowRatePerBlock" | "exchangeRateCurrent" | "exchangeRateStored" | "getAccountSnapshot" | "getCash" | "seize" | "supplyRatePerBlock" | "totalBorrowsCurrent" | "totalSupply" | "transfer" | "transferFrom"): FunctionFragment;
|
|
5
5
|
encodeFunctionData(functionFragment: "_acceptAdmin", values?: undefined): string;
|
|
6
6
|
encodeFunctionData(functionFragment: "_reduceReserves", values: [BigNumberish]): string;
|
|
7
7
|
encodeFunctionData(functionFragment: "_setComptroller", values: [AddressLike]): string;
|
|
@@ -10,6 +10,7 @@ export interface ICTokenInterface extends Interface {
|
|
|
10
10
|
encodeFunctionData(functionFragment: "_setPendingAdmin", values: [AddressLike]): string;
|
|
11
11
|
encodeFunctionData(functionFragment: "_setReserveFactor", values: [BigNumberish]): string;
|
|
12
12
|
encodeFunctionData(functionFragment: "accrualBlockNumber", values?: undefined): string;
|
|
13
|
+
encodeFunctionData(functionFragment: "accrualBlockTimestamp", values?: undefined): string;
|
|
13
14
|
encodeFunctionData(functionFragment: "accrueInterest", values?: undefined): string;
|
|
14
15
|
encodeFunctionData(functionFragment: "allowance", values: [AddressLike, AddressLike]): string;
|
|
15
16
|
encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string;
|
|
@@ -43,6 +44,7 @@ export interface ICTokenInterface extends Interface {
|
|
|
43
44
|
decodeFunctionResult(functionFragment: "_setPendingAdmin", data: BytesLike): Result;
|
|
44
45
|
decodeFunctionResult(functionFragment: "_setReserveFactor", data: BytesLike): Result;
|
|
45
46
|
decodeFunctionResult(functionFragment: "accrualBlockNumber", data: BytesLike): Result;
|
|
47
|
+
decodeFunctionResult(functionFragment: "accrualBlockTimestamp", data: BytesLike): Result;
|
|
46
48
|
decodeFunctionResult(functionFragment: "accrueInterest", data: BytesLike): Result;
|
|
47
49
|
decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
|
|
48
50
|
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
|
|
@@ -107,6 +109,7 @@ export interface ICToken extends BaseContract {
|
|
|
107
109
|
bigint
|
|
108
110
|
], "nonpayable">;
|
|
109
111
|
accrualBlockNumber: TypedContractMethod<[], [bigint], "nonpayable">;
|
|
112
|
+
accrualBlockTimestamp: TypedContractMethod<[], [bigint], "nonpayable">;
|
|
110
113
|
accrueInterest: TypedContractMethod<[], [bigint], "nonpayable">;
|
|
111
114
|
allowance: TypedContractMethod<[
|
|
112
115
|
owner: AddressLike,
|
|
@@ -196,6 +199,7 @@ export interface ICToken extends BaseContract {
|
|
|
196
199
|
bigint
|
|
197
200
|
], "nonpayable">;
|
|
198
201
|
getFunction(nameOrSignature: "accrualBlockNumber"): TypedContractMethod<[], [bigint], "nonpayable">;
|
|
202
|
+
getFunction(nameOrSignature: "accrualBlockTimestamp"): TypedContractMethod<[], [bigint], "nonpayable">;
|
|
199
203
|
getFunction(nameOrSignature: "accrueInterest"): TypedContractMethod<[], [bigint], "nonpayable">;
|
|
200
204
|
getFunction(nameOrSignature: "allowance"): TypedContractMethod<[
|
|
201
205
|
owner: AddressLike,
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { BaseContract, BytesLike, FunctionFragment, Result, Interface, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../common";
|
|
3
|
+
export interface TestInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "getBlockNumber"): FunctionFragment;
|
|
5
|
+
encodeFunctionData(functionFragment: "getBlockNumber", values?: undefined): string;
|
|
6
|
+
decodeFunctionResult(functionFragment: "getBlockNumber", data: BytesLike): Result;
|
|
7
|
+
}
|
|
8
|
+
export interface Test extends BaseContract {
|
|
9
|
+
connect(runner?: ContractRunner | null): Test;
|
|
10
|
+
waitForDeployment(): Promise<this>;
|
|
11
|
+
interface: TestInterface;
|
|
12
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
13
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
14
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
15
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
16
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
17
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
18
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
19
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
20
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
21
|
+
getBlockNumber: TypedContractMethod<[], [bigint], "view">;
|
|
22
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
23
|
+
getFunction(nameOrSignature: "getBlockNumber"): TypedContractMethod<[], [bigint], "view">;
|
|
24
|
+
filters: {};
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Test.js","sourceRoot":"","sources":["../../../../src/typechain/contracts/Test.ts"],"names":[],"mappings":""}
|
|
@@ -19,4 +19,5 @@ export type { stake };
|
|
|
19
19
|
export type { Multicall2 } from "./Multicall2";
|
|
20
20
|
export type { SumerErrors } from "./SumerErrors";
|
|
21
21
|
export type { SumerTimelockController } from "./SumerTimelockController";
|
|
22
|
+
export type { Test } from "./Test";
|
|
22
23
|
export type { Timelock } from "./Timelock";
|