@meterio/sumer-js 0.2.35 → 0.2.37

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.
Files changed (182) hide show
  1. package/dist/browser/sumer.min.js +10 -10
  2. package/dist/nodejs/abi.d.ts +11 -0
  3. package/dist/nodejs/abi.js +285 -70
  4. package/dist/nodejs/abi.js.map +1 -1
  5. package/dist/nodejs/constants/index.js +2 -0
  6. package/dist/nodejs/constants/index.js.map +1 -1
  7. package/dist/nodejs/constants/zklink.d.ts +63 -0
  8. package/dist/nodejs/constants/zklink.js +168 -0
  9. package/dist/nodejs/constants/zklink.js.map +1 -0
  10. package/dist/nodejs/constants/zklinksepolia.d.ts +28 -0
  11. package/dist/nodejs/constants/zklinksepolia.js +34 -0
  12. package/dist/nodejs/constants/zklinksepolia.js.map +1 -0
  13. package/dist/nodejs/errorABIs.js +50 -0
  14. package/dist/nodejs/errorABIs.js.map +1 -1
  15. package/dist/nodejs/errors.d.ts +4 -0
  16. package/dist/nodejs/errors.js +4 -0
  17. package/dist/nodejs/errors.js.map +1 -1
  18. package/dist/nodejs/index.d.ts +11 -0
  19. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/beacon/BeaconProxy.d.ts +65 -0
  20. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/beacon/BeaconProxy.js +3 -0
  21. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/beacon/BeaconProxy.js.map +1 -0
  22. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.d.ts +84 -0
  23. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.js +3 -0
  24. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.js.map +1 -0
  25. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/beacon/index.d.ts +2 -0
  26. package/dist/nodejs/typechain/contracts/CToken/CErc20.d.ts +13 -1
  27. package/dist/nodejs/typechain/contracts/CToken/CEther.d.ts +13 -1
  28. package/dist/nodejs/typechain/contracts/CToken/CToken.d.ts +13 -1
  29. package/dist/nodejs/typechain/contracts/CToken/CTokenStorage.d.ts +9 -1
  30. package/dist/nodejs/typechain/contracts/CToken/SuErc20.d.ts +13 -1
  31. package/dist/nodejs/typechain/contracts/InterestRateModel/FixedInterestRateModel.d.ts +5 -5
  32. package/dist/nodejs/typechain/contracts/InterestRateModel/InterestRateModel.d.ts +5 -1
  33. package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelV2.d.ts +26 -26
  34. package/dist/nodejs/typechain/contracts/InterestRateModel/WhitePaperInterestRateModel.d.ts +20 -23
  35. package/dist/nodejs/typechain/contracts/Interfaces/ICToken.d.ts +5 -1
  36. package/dist/nodejs/typechain/contracts/Test.d.ts +25 -0
  37. package/dist/nodejs/typechain/contracts/Test.js +3 -0
  38. package/dist/nodejs/typechain/contracts/Test.js.map +1 -0
  39. package/dist/nodejs/typechain/contracts/index.d.ts +1 -0
  40. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/governance/TimelockController__factory.d.ts +1 -1
  41. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/governance/TimelockController__factory.js +1 -1
  42. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/governance/TimelockController__factory.js.map +1 -1
  43. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.d.ts +1 -1
  44. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.js +1 -1
  45. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.js.map +1 -1
  46. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/BeaconProxy__factory.d.ts +75 -0
  47. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/BeaconProxy__factory.js +109 -0
  48. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/BeaconProxy__factory.js.map +1 -0
  49. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon__factory.d.ts +101 -0
  50. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon__factory.js +142 -0
  51. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon__factory.js.map +1 -0
  52. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/index.d.ts +2 -0
  53. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/index.js +5 -1
  54. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/index.js.map +1 -1
  55. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.d.ts +1 -1
  56. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.js +1 -1
  57. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.js.map +1 -1
  58. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy__factory.d.ts +1 -1
  59. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy__factory.js +1 -1
  60. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy__factory.js.map +1 -1
  61. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.d.ts +1 -1
  62. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.js +1 -1
  63. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.js.map +1 -1
  64. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser__factory.d.ts +1 -1
  65. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser__factory.js +1 -1
  66. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser__factory.js.map +1 -1
  67. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +31 -1
  68. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +39 -1
  69. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
  70. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +31 -1
  71. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +39 -1
  72. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
  73. package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.d.ts +20 -0
  74. package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js +26 -0
  75. package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js.map +1 -1
  76. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +30 -0
  77. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +38 -0
  78. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
  79. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +31 -1
  80. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +39 -1
  81. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
  82. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +5 -1
  83. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +6 -1
  84. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js.map +1 -1
  85. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +5 -1
  86. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +6 -1
  87. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
  88. package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.d.ts +1 -1
  89. package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js +1 -1
  90. package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js.map +1 -1
  91. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +5 -1
  92. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +6 -1
  93. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -1
  94. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +5 -1
  95. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +6 -1
  96. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js.map +1 -1
  97. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.d.ts +1 -1
  98. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.js +1 -1
  99. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.js.map +1 -1
  100. package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauserPermit__factory.d.ts +1 -1
  101. package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauserPermit__factory.js +1 -1
  102. package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauserPermit__factory.js.map +1 -1
  103. package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauser__factory.d.ts +1 -1
  104. package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauser__factory.js +1 -1
  105. package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauser__factory.js.map +1 -1
  106. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestRateModel__factory.d.ts +13 -17
  107. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestRateModel__factory.js +18 -23
  108. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestRateModel__factory.js.map +1 -1
  109. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/InterestRateModel__factory.d.ts +10 -0
  110. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/InterestRateModel__factory.js +13 -0
  111. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/InterestRateModel__factory.js.map +1 -1
  112. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelV2__factory.d.ts +19 -23
  113. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelV2__factory.js +24 -29
  114. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelV2__factory.js.map +1 -1
  115. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/WhitePaperInterestRateModel__factory.d.ts +17 -26
  116. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/WhitePaperInterestRateModel__factory.js +22 -33
  117. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/WhitePaperInterestRateModel__factory.js.map +1 -1
  118. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.d.ts +10 -0
  119. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.js +13 -0
  120. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.js.map +1 -1
  121. package/dist/nodejs/typechain/factories/contracts/Library/CreateCall__factory.d.ts +1 -1
  122. package/dist/nodejs/typechain/factories/contracts/Library/CreateCall__factory.js +1 -1
  123. package/dist/nodejs/typechain/factories/contracts/Library/CreateCall__factory.js.map +1 -1
  124. package/dist/nodejs/typechain/factories/contracts/Library/RateLimiter__factory.d.ts +1 -1
  125. package/dist/nodejs/typechain/factories/contracts/Library/RateLimiter__factory.js +1 -1
  126. package/dist/nodejs/typechain/factories/contracts/Library/RateLimiter__factory.js.map +1 -1
  127. package/dist/nodejs/typechain/factories/contracts/Multicall2__factory.d.ts +1 -1
  128. package/dist/nodejs/typechain/factories/contracts/Multicall2__factory.js +1 -1
  129. package/dist/nodejs/typechain/factories/contracts/Multicall2__factory.js.map +1 -1
  130. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.d.ts +1 -1
  131. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js +1 -1
  132. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js.map +1 -1
  133. package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.d.ts +1 -1
  134. package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.js +1 -1
  135. package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.js.map +1 -1
  136. package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.d.ts +1 -1
  137. package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.js +1 -1
  138. package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.js.map +1 -1
  139. package/dist/nodejs/typechain/factories/contracts/Oracle/wstMTRGOracle.sol/WstMTRGOracle__factory.d.ts +1 -1
  140. package/dist/nodejs/typechain/factories/contracts/Oracle/wstMTRGOracle.sol/WstMTRGOracle__factory.js +1 -1
  141. package/dist/nodejs/typechain/factories/contracts/Oracle/wstMTRGOracle.sol/WstMTRGOracle__factory.js.map +1 -1
  142. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.d.ts +5 -1
  143. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js +6 -1
  144. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js.map +1 -1
  145. package/dist/nodejs/typechain/factories/contracts/SumerTimelockController__factory.d.ts +1 -1
  146. package/dist/nodejs/typechain/factories/contracts/SumerTimelockController__factory.js +1 -1
  147. package/dist/nodejs/typechain/factories/contracts/SumerTimelockController__factory.js.map +1 -1
  148. package/dist/nodejs/typechain/factories/contracts/Test__factory.d.ts +32 -0
  149. package/dist/nodejs/typechain/factories/contracts/Test__factory.js +53 -0
  150. package/dist/nodejs/typechain/factories/contracts/Test__factory.js.map +1 -0
  151. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +5 -1
  152. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +6 -1
  153. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js.map +1 -1
  154. package/dist/nodejs/typechain/factories/contracts/index.d.ts +1 -0
  155. package/dist/nodejs/typechain/factories/contracts/index.js +3 -1
  156. package/dist/nodejs/typechain/factories/contracts/index.js.map +1 -1
  157. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxyAdmin__factory.d.ts +1 -1
  158. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxyAdmin__factory.js +1 -1
  159. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxyAdmin__factory.js.map +1 -1
  160. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxy__factory.d.ts +1 -1
  161. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxy__factory.js +1 -1
  162. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxy__factory.js.map +1 -1
  163. package/dist/nodejs/typechain/factories/contracts/stake/CommunalFarm__factory.d.ts +1 -1
  164. package/dist/nodejs/typechain/factories/contracts/stake/CommunalFarm__factory.js +1 -1
  165. package/dist/nodejs/typechain/factories/contracts/stake/CommunalFarm__factory.js.map +1 -1
  166. package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeController.sol/FraxGaugeController__factory.d.ts +1 -1
  167. package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeController.sol/FraxGaugeController__factory.js +1 -1
  168. package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeController.sol/FraxGaugeController__factory.js.map +1 -1
  169. package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeFXSRewardsDistributor__factory.d.ts +1 -1
  170. package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeFXSRewardsDistributor__factory.js +1 -1
  171. package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeFXSRewardsDistributor__factory.js.map +1 -1
  172. package/dist/nodejs/typechain/factories/contracts/stake/StakingRewardsMultiGauge__factory.d.ts +1 -1
  173. package/dist/nodejs/typechain/factories/contracts/stake/StakingRewardsMultiGauge__factory.js +1 -1
  174. package/dist/nodejs/typechain/factories/contracts/stake/StakingRewardsMultiGauge__factory.js.map +1 -1
  175. package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.d.ts +1 -1
  176. package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.js +1 -1
  177. package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.js.map +1 -1
  178. package/dist/nodejs/typechain/hardhat.d.ts +54 -0
  179. package/dist/nodejs/typechain/index.d.ts +6 -0
  180. package/dist/nodejs/typechain/index.js +9 -3
  181. package/dist/nodejs/typechain/index.js.map +1 -1
  182. package/package.json +1 -1
@@ -14,7 +14,7 @@ export declare namespace CTokenStorage {
14
14
  };
15
15
  }
16
16
  export interface CErc20Interface 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" | "getAccountSnapshot" | "getBorrowSnapshot" | "getCash" | "initialize" | "interestRateModel" | "isCEther" | "isCEtherDeprecated" | "isCToken" | "isCTokenDeprecated" | "isDeprecated" | "liquidateBorrow" | "liquidateCalculateSeizeTokens" | "mint" | "mintWithPermit" | "name" | "pendingAdmin" | "percentScale" | "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" | "getAccountSnapshot" | "getBorrowSnapshot" | "getCash" | "initAccrualBlockTimestamp" | "initialize" | "interestRateModel" | "isCEther" | "isCEtherDeprecated" | "isCToken" | "isCTokenDeprecated" | "isDeprecated" | "liquidateBorrow" | "liquidateCalculateSeizeTokens" | "mint" | "mintWithPermit" | "name" | "pendingAdmin" | "percentScale" | "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 CErc20Interface 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;
@@ -46,6 +47,7 @@ export interface CErc20Interface extends Interface {
46
47
  encodeFunctionData(functionFragment: "getAccountSnapshot", values: [AddressLike]): string;
47
48
  encodeFunctionData(functionFragment: "getBorrowSnapshot", values: [AddressLike]): string;
48
49
  encodeFunctionData(functionFragment: "getCash", values?: undefined): string;
50
+ encodeFunctionData(functionFragment: "initAccrualBlockTimestamp", values?: undefined): string;
49
51
  encodeFunctionData(functionFragment: "initialize", values: [
50
52
  AddressLike,
51
53
  AddressLike,
@@ -90,6 +92,7 @@ export interface CErc20Interface extends Interface {
90
92
  encodeFunctionData(functionFragment: "totalBorrows", values?: undefined): string;
91
93
  encodeFunctionData(functionFragment: "totalBorrowsCurrent", values?: undefined): string;
92
94
  encodeFunctionData(functionFragment: "totalReserves", values?: undefined): string;
95
+ encodeFunctionData(functionFragment: "totalSecures", values?: undefined): string;
93
96
  encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
94
97
  encodeFunctionData(functionFragment: "transfer", values: [AddressLike, BigNumberish]): string;
95
98
  encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
@@ -105,6 +108,7 @@ export interface CErc20Interface extends Interface {
105
108
  decodeFunctionResult(functionFragment: "_setReserveFactor", data: BytesLike): Result;
106
109
  decodeFunctionResult(functionFragment: "_syncUnderlyingBalance", data: BytesLike): Result;
107
110
  decodeFunctionResult(functionFragment: "accrualBlockNumber", data: BytesLike): Result;
111
+ decodeFunctionResult(functionFragment: "accrualBlockTimestamp", data: BytesLike): Result;
108
112
  decodeFunctionResult(functionFragment: "accrueInterest", data: BytesLike): Result;
109
113
  decodeFunctionResult(functionFragment: "admin", data: BytesLike): Result;
110
114
  decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
@@ -125,6 +129,7 @@ export interface CErc20Interface extends Interface {
125
129
  decodeFunctionResult(functionFragment: "getAccountSnapshot", data: BytesLike): Result;
126
130
  decodeFunctionResult(functionFragment: "getBorrowSnapshot", data: BytesLike): Result;
127
131
  decodeFunctionResult(functionFragment: "getCash", data: BytesLike): Result;
132
+ decodeFunctionResult(functionFragment: "initAccrualBlockTimestamp", data: BytesLike): Result;
128
133
  decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
129
134
  decodeFunctionResult(functionFragment: "interestRateModel", data: BytesLike): Result;
130
135
  decodeFunctionResult(functionFragment: "isCEther", data: BytesLike): Result;
@@ -153,6 +158,7 @@ export interface CErc20Interface extends Interface {
153
158
  decodeFunctionResult(functionFragment: "totalBorrows", data: BytesLike): Result;
154
159
  decodeFunctionResult(functionFragment: "totalBorrowsCurrent", data: BytesLike): Result;
155
160
  decodeFunctionResult(functionFragment: "totalReserves", data: BytesLike): Result;
161
+ decodeFunctionResult(functionFragment: "totalSecures", data: BytesLike): Result;
156
162
  decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
157
163
  decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
158
164
  decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
@@ -567,6 +573,7 @@ export interface CErc20 extends BaseContract {
567
573
  ], "nonpayable">;
568
574
  _syncUnderlyingBalance: TypedContractMethod<[], [void], "nonpayable">;
569
575
  accrualBlockNumber: TypedContractMethod<[], [bigint], "view">;
576
+ accrualBlockTimestamp: TypedContractMethod<[], [bigint], "view">;
570
577
  accrueInterest: TypedContractMethod<[], [bigint], "nonpayable">;
571
578
  admin: TypedContractMethod<[], [string], "view">;
572
579
  allowance: TypedContractMethod<[
@@ -626,6 +633,7 @@ export interface CErc20 extends BaseContract {
626
633
  CTokenStorage.BorrowSnapshotStructOutput
627
634
  ], "view">;
628
635
  getCash: TypedContractMethod<[], [bigint], "view">;
636
+ initAccrualBlockTimestamp: TypedContractMethod<[], [void], "nonpayable">;
629
637
  initialize: TypedContractMethod<[
630
638
  underlying_: AddressLike,
631
639
  comptroller_: AddressLike,
@@ -714,6 +722,7 @@ export interface CErc20 extends BaseContract {
714
722
  totalBorrows: TypedContractMethod<[], [bigint], "view">;
715
723
  totalBorrowsCurrent: TypedContractMethod<[], [bigint], "nonpayable">;
716
724
  totalReserves: TypedContractMethod<[], [bigint], "view">;
725
+ totalSecures: TypedContractMethod<[], [bigint], "view">;
717
726
  totalSupply: TypedContractMethod<[], [bigint], "view">;
718
727
  transfer: TypedContractMethod<[
719
728
  dst: AddressLike,
@@ -757,6 +766,7 @@ export interface CErc20 extends BaseContract {
757
766
  ], "nonpayable">;
758
767
  getFunction(nameOrSignature: "_syncUnderlyingBalance"): TypedContractMethod<[], [void], "nonpayable">;
759
768
  getFunction(nameOrSignature: "accrualBlockNumber"): TypedContractMethod<[], [bigint], "view">;
769
+ getFunction(nameOrSignature: "accrualBlockTimestamp"): TypedContractMethod<[], [bigint], "view">;
760
770
  getFunction(nameOrSignature: "accrueInterest"): TypedContractMethod<[], [bigint], "nonpayable">;
761
771
  getFunction(nameOrSignature: "admin"): TypedContractMethod<[], [string], "view">;
762
772
  getFunction(nameOrSignature: "allowance"): TypedContractMethod<[
@@ -800,6 +810,7 @@ export interface CErc20 extends BaseContract {
800
810
  CTokenStorage.BorrowSnapshotStructOutput
801
811
  ], "view">;
802
812
  getFunction(nameOrSignature: "getCash"): TypedContractMethod<[], [bigint], "view">;
813
+ getFunction(nameOrSignature: "initAccrualBlockTimestamp"): TypedContractMethod<[], [void], "nonpayable">;
803
814
  getFunction(nameOrSignature: "initialize"): TypedContractMethod<[
804
815
  underlying_: AddressLike,
805
816
  comptroller_: AddressLike,
@@ -876,6 +887,7 @@ export interface CErc20 extends BaseContract {
876
887
  getFunction(nameOrSignature: "totalBorrows"): TypedContractMethod<[], [bigint], "view">;
877
888
  getFunction(nameOrSignature: "totalBorrowsCurrent"): TypedContractMethod<[], [bigint], "nonpayable">;
878
889
  getFunction(nameOrSignature: "totalReserves"): TypedContractMethod<[], [bigint], "view">;
890
+ getFunction(nameOrSignature: "totalSecures"): TypedContractMethod<[], [bigint], "view">;
879
891
  getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">;
880
892
  getFunction(nameOrSignature: "transfer"): TypedContractMethod<[
881
893
  dst: AddressLike,
@@ -14,7 +14,7 @@ export declare namespace CTokenStorage {
14
14
  };
15
15
  }
16
16
  export interface CEtherInterface 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" | "getAccountSnapshot" | "getBorrowSnapshot" | "getCash" | "initialize" | "interestRateModel" | "isCEther" | "isCEtherDeprecated" | "isCToken" | "isCTokenDeprecated" | "isDeprecated" | "liquidateBorrow" | "liquidateCalculateSeizeTokens" | "mint" | "name" | "pendingAdmin" | "percentScale" | "protocolSeizeShareMantissa" | "redeem" | "redeemUnderlying" | "repayBorrow" | "repayBorrowBehalf" | "reserveFactorMantissa" | "seize" | "supplyRatePerBlock" | "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" | "getAccountSnapshot" | "getBorrowSnapshot" | "getCash" | "initAccrualBlockTimestamp" | "initialize" | "interestRateModel" | "isCEther" | "isCEtherDeprecated" | "isCToken" | "isCTokenDeprecated" | "isDeprecated" | "liquidateBorrow" | "liquidateCalculateSeizeTokens" | "mint" | "name" | "pendingAdmin" | "percentScale" | "protocolSeizeShareMantissa" | "redeem" | "redeemUnderlying" | "repayBorrow" | "repayBorrowBehalf" | "reserveFactorMantissa" | "seize" | "supplyRatePerBlock" | "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?: undefined): string;
@@ -26,6 +26,7 @@ export interface CEtherInterface 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;
@@ -46,6 +47,7 @@ export interface CEtherInterface extends Interface {
46
47
  encodeFunctionData(functionFragment: "getAccountSnapshot", values: [AddressLike]): string;
47
48
  encodeFunctionData(functionFragment: "getBorrowSnapshot", values: [AddressLike]): string;
48
49
  encodeFunctionData(functionFragment: "getCash", values?: undefined): string;
50
+ encodeFunctionData(functionFragment: "initAccrualBlockTimestamp", values?: undefined): string;
49
51
  encodeFunctionData(functionFragment: "initialize", values: [
50
52
  AddressLike,
51
53
  AddressLike,
@@ -86,6 +88,7 @@ export interface CEtherInterface extends Interface {
86
88
  encodeFunctionData(functionFragment: "totalBorrows", values?: undefined): string;
87
89
  encodeFunctionData(functionFragment: "totalBorrowsCurrent", values?: undefined): string;
88
90
  encodeFunctionData(functionFragment: "totalReserves", values?: undefined): string;
91
+ encodeFunctionData(functionFragment: "totalSecures", values?: undefined): string;
89
92
  encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
90
93
  encodeFunctionData(functionFragment: "transfer", values: [AddressLike, BigNumberish]): string;
91
94
  encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
@@ -101,6 +104,7 @@ export interface CEtherInterface extends Interface {
101
104
  decodeFunctionResult(functionFragment: "_setReserveFactor", data: BytesLike): Result;
102
105
  decodeFunctionResult(functionFragment: "_syncUnderlyingBalance", data: BytesLike): Result;
103
106
  decodeFunctionResult(functionFragment: "accrualBlockNumber", data: BytesLike): Result;
107
+ decodeFunctionResult(functionFragment: "accrualBlockTimestamp", data: BytesLike): Result;
104
108
  decodeFunctionResult(functionFragment: "accrueInterest", data: BytesLike): Result;
105
109
  decodeFunctionResult(functionFragment: "admin", data: BytesLike): Result;
106
110
  decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
@@ -121,6 +125,7 @@ export interface CEtherInterface extends Interface {
121
125
  decodeFunctionResult(functionFragment: "getAccountSnapshot", data: BytesLike): Result;
122
126
  decodeFunctionResult(functionFragment: "getBorrowSnapshot", data: BytesLike): Result;
123
127
  decodeFunctionResult(functionFragment: "getCash", data: BytesLike): Result;
128
+ decodeFunctionResult(functionFragment: "initAccrualBlockTimestamp", data: BytesLike): Result;
124
129
  decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
125
130
  decodeFunctionResult(functionFragment: "interestRateModel", data: BytesLike): Result;
126
131
  decodeFunctionResult(functionFragment: "isCEther", data: BytesLike): Result;
@@ -146,6 +151,7 @@ export interface CEtherInterface extends Interface {
146
151
  decodeFunctionResult(functionFragment: "totalBorrows", data: BytesLike): Result;
147
152
  decodeFunctionResult(functionFragment: "totalBorrowsCurrent", data: BytesLike): Result;
148
153
  decodeFunctionResult(functionFragment: "totalReserves", data: BytesLike): Result;
154
+ decodeFunctionResult(functionFragment: "totalSecures", data: BytesLike): Result;
149
155
  decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
150
156
  decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
151
157
  decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
@@ -556,6 +562,7 @@ export interface CEther extends BaseContract {
556
562
  ], "nonpayable">;
557
563
  _syncUnderlyingBalance: TypedContractMethod<[], [void], "nonpayable">;
558
564
  accrualBlockNumber: TypedContractMethod<[], [bigint], "view">;
565
+ accrualBlockTimestamp: TypedContractMethod<[], [bigint], "view">;
559
566
  accrueInterest: TypedContractMethod<[], [bigint], "nonpayable">;
560
567
  admin: TypedContractMethod<[], [string], "view">;
561
568
  allowance: TypedContractMethod<[
@@ -615,6 +622,7 @@ export interface CEther extends BaseContract {
615
622
  CTokenStorage.BorrowSnapshotStructOutput
616
623
  ], "view">;
617
624
  getCash: TypedContractMethod<[], [bigint], "view">;
625
+ initAccrualBlockTimestamp: TypedContractMethod<[], [void], "nonpayable">;
618
626
  initialize: TypedContractMethod<[
619
627
  comptroller_: AddressLike,
620
628
  interestRateModel_: AddressLike,
@@ -681,6 +689,7 @@ export interface CEther extends BaseContract {
681
689
  totalBorrows: TypedContractMethod<[], [bigint], "view">;
682
690
  totalBorrowsCurrent: TypedContractMethod<[], [bigint], "nonpayable">;
683
691
  totalReserves: TypedContractMethod<[], [bigint], "view">;
692
+ totalSecures: TypedContractMethod<[], [bigint], "view">;
684
693
  totalSupply: TypedContractMethod<[], [bigint], "view">;
685
694
  transfer: TypedContractMethod<[
686
695
  dst: AddressLike,
@@ -724,6 +733,7 @@ export interface CEther extends BaseContract {
724
733
  ], "nonpayable">;
725
734
  getFunction(nameOrSignature: "_syncUnderlyingBalance"): TypedContractMethod<[], [void], "nonpayable">;
726
735
  getFunction(nameOrSignature: "accrualBlockNumber"): TypedContractMethod<[], [bigint], "view">;
736
+ getFunction(nameOrSignature: "accrualBlockTimestamp"): TypedContractMethod<[], [bigint], "view">;
727
737
  getFunction(nameOrSignature: "accrueInterest"): TypedContractMethod<[], [bigint], "nonpayable">;
728
738
  getFunction(nameOrSignature: "admin"): TypedContractMethod<[], [string], "view">;
729
739
  getFunction(nameOrSignature: "allowance"): TypedContractMethod<[
@@ -767,6 +777,7 @@ export interface CEther extends BaseContract {
767
777
  CTokenStorage.BorrowSnapshotStructOutput
768
778
  ], "view">;
769
779
  getFunction(nameOrSignature: "getCash"): TypedContractMethod<[], [bigint], "view">;
780
+ getFunction(nameOrSignature: "initAccrualBlockTimestamp"): TypedContractMethod<[], [void], "nonpayable">;
770
781
  getFunction(nameOrSignature: "initialize"): TypedContractMethod<[
771
782
  comptroller_: AddressLike,
772
783
  interestRateModel_: AddressLike,
@@ -821,6 +832,7 @@ export interface CEther extends BaseContract {
821
832
  getFunction(nameOrSignature: "totalBorrows"): TypedContractMethod<[], [bigint], "view">;
822
833
  getFunction(nameOrSignature: "totalBorrowsCurrent"): TypedContractMethod<[], [bigint], "nonpayable">;
823
834
  getFunction(nameOrSignature: "totalReserves"): TypedContractMethod<[], [bigint], "view">;
835
+ getFunction(nameOrSignature: "totalSecures"): TypedContractMethod<[], [bigint], "view">;
824
836
  getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">;
825
837
  getFunction(nameOrSignature: "transfer"): TypedContractMethod<[
826
838
  dst: AddressLike,
@@ -14,7 +14,7 @@ export declare namespace CTokenStorage {
14
14
  };
15
15
  }
16
16
  export interface CTokenInterface extends Interface {
17
- getFunction(nameOrSignature: "_acceptAdmin" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "_syncUnderlyingBalance" | "accrualBlockNumber" | "accrueInterest" | "admin" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrowAndDepositBack" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowIndex" | "borrowRatePerBlock" | "comptroller" | "decimals" | "discountRateMantissa" | "exchangeRateCurrent" | "exchangeRateStored" | "getAccountSnapshot" | "getBorrowSnapshot" | "getCash" | "interestRateModel" | "isCEther" | "isCEtherDeprecated" | "isCToken" | "isCTokenDeprecated" | "isDeprecated" | "liquidateCalculateSeizeTokens" | "name" | "pendingAdmin" | "percentScale" | "protocolSeizeShareMantissa" | "reserveFactorMantissa" | "seize" | "supplyRatePerBlock" | "symbol" | "totalBorrows" | "totalBorrowsCurrent" | "totalReserves" | "totalSupply" | "transfer" | "transferFrom" | "underlying" | "underlyingBalance"): FunctionFragment;
17
+ getFunction(nameOrSignature: "_acceptAdmin" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "_syncUnderlyingBalance" | "accrualBlockNumber" | "accrualBlockTimestamp" | "accrueInterest" | "admin" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrowAndDepositBack" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowIndex" | "borrowRatePerBlock" | "comptroller" | "decimals" | "discountRateMantissa" | "exchangeRateCurrent" | "exchangeRateStored" | "getAccountSnapshot" | "getBorrowSnapshot" | "getCash" | "initAccrualBlockTimestamp" | "interestRateModel" | "isCEther" | "isCEtherDeprecated" | "isCToken" | "isCTokenDeprecated" | "isDeprecated" | "liquidateCalculateSeizeTokens" | "name" | "pendingAdmin" | "percentScale" | "protocolSeizeShareMantissa" | "reserveFactorMantissa" | "seize" | "supplyRatePerBlock" | "symbol" | "totalBorrows" | "totalBorrowsCurrent" | "totalReserves" | "totalSecures" | "totalSupply" | "transfer" | "transferFrom" | "underlying" | "underlyingBalance"): FunctionFragment;
18
18
  getEvent(nameOrSignatureOrTopic: "AccrueInterest" | "Approval" | "Borrow" | "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: "_reduceReserves", values: [BigNumberish]): string;
@@ -25,6 +25,7 @@ export interface CTokenInterface extends Interface {
25
25
  encodeFunctionData(functionFragment: "_setReserveFactor", values: [BigNumberish]): string;
26
26
  encodeFunctionData(functionFragment: "_syncUnderlyingBalance", values?: undefined): string;
27
27
  encodeFunctionData(functionFragment: "accrualBlockNumber", values?: undefined): string;
28
+ encodeFunctionData(functionFragment: "accrualBlockTimestamp", values?: undefined): string;
28
29
  encodeFunctionData(functionFragment: "accrueInterest", values?: undefined): string;
29
30
  encodeFunctionData(functionFragment: "admin", values?: undefined): string;
30
31
  encodeFunctionData(functionFragment: "allowance", values: [AddressLike, AddressLike]): string;
@@ -44,6 +45,7 @@ export interface CTokenInterface extends Interface {
44
45
  encodeFunctionData(functionFragment: "getAccountSnapshot", values: [AddressLike]): string;
45
46
  encodeFunctionData(functionFragment: "getBorrowSnapshot", values: [AddressLike]): string;
46
47
  encodeFunctionData(functionFragment: "getCash", values?: undefined): string;
48
+ encodeFunctionData(functionFragment: "initAccrualBlockTimestamp", values?: undefined): string;
47
49
  encodeFunctionData(functionFragment: "interestRateModel", values?: undefined): string;
48
50
  encodeFunctionData(functionFragment: "isCEther", values?: undefined): string;
49
51
  encodeFunctionData(functionFragment: "isCEtherDeprecated", values?: undefined): string;
@@ -69,6 +71,7 @@ export interface CTokenInterface extends Interface {
69
71
  encodeFunctionData(functionFragment: "totalBorrows", values?: undefined): string;
70
72
  encodeFunctionData(functionFragment: "totalBorrowsCurrent", values?: undefined): string;
71
73
  encodeFunctionData(functionFragment: "totalReserves", values?: undefined): string;
74
+ encodeFunctionData(functionFragment: "totalSecures", values?: undefined): string;
72
75
  encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
73
76
  encodeFunctionData(functionFragment: "transfer", values: [AddressLike, BigNumberish]): string;
74
77
  encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
@@ -83,6 +86,7 @@ export interface CTokenInterface extends Interface {
83
86
  decodeFunctionResult(functionFragment: "_setReserveFactor", data: BytesLike): Result;
84
87
  decodeFunctionResult(functionFragment: "_syncUnderlyingBalance", data: BytesLike): Result;
85
88
  decodeFunctionResult(functionFragment: "accrualBlockNumber", data: BytesLike): Result;
89
+ decodeFunctionResult(functionFragment: "accrualBlockTimestamp", data: BytesLike): Result;
86
90
  decodeFunctionResult(functionFragment: "accrueInterest", data: BytesLike): Result;
87
91
  decodeFunctionResult(functionFragment: "admin", data: BytesLike): Result;
88
92
  decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
@@ -102,6 +106,7 @@ export interface CTokenInterface extends Interface {
102
106
  decodeFunctionResult(functionFragment: "getAccountSnapshot", data: BytesLike): Result;
103
107
  decodeFunctionResult(functionFragment: "getBorrowSnapshot", data: BytesLike): Result;
104
108
  decodeFunctionResult(functionFragment: "getCash", data: BytesLike): Result;
109
+ decodeFunctionResult(functionFragment: "initAccrualBlockTimestamp", data: BytesLike): Result;
105
110
  decodeFunctionResult(functionFragment: "interestRateModel", data: BytesLike): Result;
106
111
  decodeFunctionResult(functionFragment: "isCEther", data: BytesLike): Result;
107
112
  decodeFunctionResult(functionFragment: "isCEtherDeprecated", data: BytesLike): Result;
@@ -120,6 +125,7 @@ export interface CTokenInterface extends Interface {
120
125
  decodeFunctionResult(functionFragment: "totalBorrows", data: BytesLike): Result;
121
126
  decodeFunctionResult(functionFragment: "totalBorrowsCurrent", data: BytesLike): Result;
122
127
  decodeFunctionResult(functionFragment: "totalReserves", data: BytesLike): Result;
128
+ decodeFunctionResult(functionFragment: "totalSecures", data: BytesLike): Result;
123
129
  decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
124
130
  decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
125
131
  decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
@@ -518,6 +524,7 @@ export interface CToken extends BaseContract {
518
524
  ], "nonpayable">;
519
525
  _syncUnderlyingBalance: TypedContractMethod<[], [void], "nonpayable">;
520
526
  accrualBlockNumber: TypedContractMethod<[], [bigint], "view">;
527
+ accrualBlockTimestamp: TypedContractMethod<[], [bigint], "view">;
521
528
  accrueInterest: TypedContractMethod<[], [bigint], "nonpayable">;
522
529
  admin: TypedContractMethod<[], [string], "view">;
523
530
  allowance: TypedContractMethod<[
@@ -572,6 +579,7 @@ export interface CToken extends BaseContract {
572
579
  CTokenStorage.BorrowSnapshotStructOutput
573
580
  ], "view">;
574
581
  getCash: TypedContractMethod<[], [bigint], "view">;
582
+ initAccrualBlockTimestamp: TypedContractMethod<[], [void], "nonpayable">;
575
583
  interestRateModel: TypedContractMethod<[], [string], "view">;
576
584
  isCEther: TypedContractMethod<[], [boolean], "view">;
577
585
  isCEtherDeprecated: TypedContractMethod<[], [boolean], "view">;
@@ -604,6 +612,7 @@ export interface CToken extends BaseContract {
604
612
  totalBorrows: TypedContractMethod<[], [bigint], "view">;
605
613
  totalBorrowsCurrent: TypedContractMethod<[], [bigint], "nonpayable">;
606
614
  totalReserves: TypedContractMethod<[], [bigint], "view">;
615
+ totalSecures: TypedContractMethod<[], [bigint], "view">;
607
616
  totalSupply: TypedContractMethod<[], [bigint], "view">;
608
617
  transfer: TypedContractMethod<[
609
618
  dst: AddressLike,
@@ -646,6 +655,7 @@ export interface CToken extends BaseContract {
646
655
  ], "nonpayable">;
647
656
  getFunction(nameOrSignature: "_syncUnderlyingBalance"): TypedContractMethod<[], [void], "nonpayable">;
648
657
  getFunction(nameOrSignature: "accrualBlockNumber"): TypedContractMethod<[], [bigint], "view">;
658
+ getFunction(nameOrSignature: "accrualBlockTimestamp"): TypedContractMethod<[], [bigint], "view">;
649
659
  getFunction(nameOrSignature: "accrueInterest"): TypedContractMethod<[], [bigint], "nonpayable">;
650
660
  getFunction(nameOrSignature: "admin"): TypedContractMethod<[], [string], "view">;
651
661
  getFunction(nameOrSignature: "allowance"): TypedContractMethod<[
@@ -688,6 +698,7 @@ export interface CToken extends BaseContract {
688
698
  CTokenStorage.BorrowSnapshotStructOutput
689
699
  ], "view">;
690
700
  getFunction(nameOrSignature: "getCash"): TypedContractMethod<[], [bigint], "view">;
701
+ getFunction(nameOrSignature: "initAccrualBlockTimestamp"): TypedContractMethod<[], [void], "nonpayable">;
691
702
  getFunction(nameOrSignature: "interestRateModel"): TypedContractMethod<[], [string], "view">;
692
703
  getFunction(nameOrSignature: "isCEther"): TypedContractMethod<[], [boolean], "view">;
693
704
  getFunction(nameOrSignature: "isCEtherDeprecated"): TypedContractMethod<[], [boolean], "view">;
@@ -720,6 +731,7 @@ export interface CToken extends BaseContract {
720
731
  getFunction(nameOrSignature: "totalBorrows"): TypedContractMethod<[], [bigint], "view">;
721
732
  getFunction(nameOrSignature: "totalBorrowsCurrent"): TypedContractMethod<[], [bigint], "nonpayable">;
722
733
  getFunction(nameOrSignature: "totalReserves"): TypedContractMethod<[], [bigint], "view">;
734
+ getFunction(nameOrSignature: "totalSecures"): TypedContractMethod<[], [bigint], "view">;
723
735
  getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">;
724
736
  getFunction(nameOrSignature: "transfer"): TypedContractMethod<[
725
737
  dst: AddressLike,
@@ -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 CTokenStorageInterface extends Interface {
4
- getFunction(nameOrSignature: "_acceptAdmin" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "accrualBlockNumber" | "accrueInterest" | "admin" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowIndex" | "borrowRatePerBlock" | "comptroller" | "decimals" | "discountRateMantissa" | "exchangeRateCurrent" | "exchangeRateStored" | "getAccountSnapshot" | "getCash" | "interestRateModel" | "isCEtherDeprecated" | "isCTokenDeprecated" | "name" | "pendingAdmin" | "percentScale" | "protocolSeizeShareMantissa" | "reserveFactorMantissa" | "seize" | "supplyRatePerBlock" | "symbol" | "totalBorrows" | "totalBorrowsCurrent" | "totalReserves" | "totalSupply" | "transfer" | "transferFrom" | "underlying" | "underlyingBalance"): FunctionFragment;
4
+ getFunction(nameOrSignature: "_acceptAdmin" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "accrualBlockNumber" | "accrualBlockTimestamp" | "accrueInterest" | "admin" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowIndex" | "borrowRatePerBlock" | "comptroller" | "decimals" | "discountRateMantissa" | "exchangeRateCurrent" | "exchangeRateStored" | "getAccountSnapshot" | "getCash" | "interestRateModel" | "isCEtherDeprecated" | "isCTokenDeprecated" | "name" | "pendingAdmin" | "percentScale" | "protocolSeizeShareMantissa" | "reserveFactorMantissa" | "seize" | "supplyRatePerBlock" | "symbol" | "totalBorrows" | "totalBorrowsCurrent" | "totalReserves" | "totalSecures" | "totalSupply" | "transfer" | "transferFrom" | "underlying" | "underlyingBalance"): 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 CTokenStorageInterface 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: "admin", values?: undefined): string;
15
16
  encodeFunctionData(functionFragment: "allowance", values: [AddressLike, AddressLike]): string;
@@ -48,6 +49,7 @@ export interface CTokenStorageInterface extends Interface {
48
49
  encodeFunctionData(functionFragment: "totalBorrows", values?: undefined): string;
49
50
  encodeFunctionData(functionFragment: "totalBorrowsCurrent", values?: undefined): string;
50
51
  encodeFunctionData(functionFragment: "totalReserves", values?: undefined): string;
52
+ encodeFunctionData(functionFragment: "totalSecures", values?: undefined): string;
51
53
  encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
52
54
  encodeFunctionData(functionFragment: "transfer", values: [AddressLike, BigNumberish]): string;
53
55
  encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
@@ -61,6 +63,7 @@ export interface CTokenStorageInterface extends Interface {
61
63
  decodeFunctionResult(functionFragment: "_setPendingAdmin", data: BytesLike): Result;
62
64
  decodeFunctionResult(functionFragment: "_setReserveFactor", data: BytesLike): Result;
63
65
  decodeFunctionResult(functionFragment: "accrualBlockNumber", data: BytesLike): Result;
66
+ decodeFunctionResult(functionFragment: "accrualBlockTimestamp", data: BytesLike): Result;
64
67
  decodeFunctionResult(functionFragment: "accrueInterest", data: BytesLike): Result;
65
68
  decodeFunctionResult(functionFragment: "admin", data: BytesLike): Result;
66
69
  decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
@@ -92,6 +95,7 @@ export interface CTokenStorageInterface extends Interface {
92
95
  decodeFunctionResult(functionFragment: "totalBorrows", data: BytesLike): Result;
93
96
  decodeFunctionResult(functionFragment: "totalBorrowsCurrent", data: BytesLike): Result;
94
97
  decodeFunctionResult(functionFragment: "totalReserves", data: BytesLike): Result;
98
+ decodeFunctionResult(functionFragment: "totalSecures", data: BytesLike): Result;
95
99
  decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
96
100
  decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
97
101
  decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
@@ -143,6 +147,7 @@ export interface CTokenStorage extends BaseContract {
143
147
  bigint
144
148
  ], "nonpayable">;
145
149
  accrualBlockNumber: TypedContractMethod<[], [bigint], "view">;
150
+ accrualBlockTimestamp: TypedContractMethod<[], [bigint], "view">;
146
151
  accrueInterest: TypedContractMethod<[], [bigint], "nonpayable">;
147
152
  admin: TypedContractMethod<[], [string], "view">;
148
153
  allowance: TypedContractMethod<[
@@ -209,6 +214,7 @@ export interface CTokenStorage extends BaseContract {
209
214
  totalBorrows: TypedContractMethod<[], [bigint], "view">;
210
215
  totalBorrowsCurrent: TypedContractMethod<[], [bigint], "nonpayable">;
211
216
  totalReserves: TypedContractMethod<[], [bigint], "view">;
217
+ totalSecures: TypedContractMethod<[], [bigint], "view">;
212
218
  totalSupply: TypedContractMethod<[], [bigint], "view">;
213
219
  transfer: TypedContractMethod<[
214
220
  dst: AddressLike,
@@ -250,6 +256,7 @@ export interface CTokenStorage extends BaseContract {
250
256
  bigint
251
257
  ], "nonpayable">;
252
258
  getFunction(nameOrSignature: "accrualBlockNumber"): TypedContractMethod<[], [bigint], "view">;
259
+ getFunction(nameOrSignature: "accrualBlockTimestamp"): TypedContractMethod<[], [bigint], "view">;
253
260
  getFunction(nameOrSignature: "accrueInterest"): TypedContractMethod<[], [bigint], "nonpayable">;
254
261
  getFunction(nameOrSignature: "admin"): TypedContractMethod<[], [string], "view">;
255
262
  getFunction(nameOrSignature: "allowance"): TypedContractMethod<[
@@ -304,6 +311,7 @@ export interface CTokenStorage extends BaseContract {
304
311
  getFunction(nameOrSignature: "totalBorrows"): TypedContractMethod<[], [bigint], "view">;
305
312
  getFunction(nameOrSignature: "totalBorrowsCurrent"): TypedContractMethod<[], [bigint], "nonpayable">;
306
313
  getFunction(nameOrSignature: "totalReserves"): TypedContractMethod<[], [bigint], "view">;
314
+ getFunction(nameOrSignature: "totalSecures"): TypedContractMethod<[], [bigint], "view">;
307
315
  getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">;
308
316
  getFunction(nameOrSignature: "transfer"): TypedContractMethod<[
309
317
  dst: AddressLike,
@@ -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" | "blocksPerYear" | "borrowRate" | "getBorrowRate" | "getSupplyRate" | "isInterestRateModel" | "owner" | "pendingOwner" | "renounceOwnership" | "setBorrowRate" | "setSupplyRate" | "supplyRate" | "transferOwnership"): FunctionFragment;
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">;