@meterio/sumer-js 0.1.42 → 0.1.44

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 (169) hide show
  1. package/dist/browser/sumer.min.js +10 -10
  2. package/dist/nodejs/abi.d.ts +36 -74
  3. package/dist/nodejs/abi.js +594 -717
  4. package/dist/nodejs/abi.js.map +1 -1
  5. package/dist/nodejs/comptroller.d.ts +1 -0
  6. package/dist/nodejs/comptroller.js +4 -2
  7. package/dist/nodejs/comptroller.js.map +1 -1
  8. package/dist/nodejs/constants/arbitrum.d.ts +1 -0
  9. package/dist/nodejs/constants/arbitrum.js +1 -0
  10. package/dist/nodejs/constants/arbitrum.js.map +1 -1
  11. package/dist/nodejs/constants/metertest.d.ts +2 -10
  12. package/dist/nodejs/constants/metertest.js +2 -11
  13. package/dist/nodejs/constants/metertest.js.map +1 -1
  14. package/dist/nodejs/errors.d.ts +1 -1
  15. package/dist/nodejs/errors.js +3 -3
  16. package/dist/nodejs/errors.js.map +1 -1
  17. package/dist/nodejs/index.d.ts +37 -75
  18. package/dist/nodejs/typechain/@openzeppelin/contracts/governance/TimelockController.d.ts +1 -16
  19. package/dist/nodejs/typechain/@openzeppelin/contracts/interfaces/index.d.ts +0 -2
  20. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.d.ts +108 -0
  21. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.js +3 -0
  22. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.js.map +1 -0
  23. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/transparent/index.d.ts +1 -2
  24. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit.d.ts +61 -0
  25. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit.js +3 -0
  26. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit.js.map +1 -0
  27. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.d.ts +1 -0
  28. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.js +3 -0
  29. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.js.map +1 -0
  30. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts +2 -1
  31. package/dist/nodejs/typechain/@openzeppelin/contracts/utils/index.d.ts +0 -3
  32. package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.d.ts +89 -2
  33. package/dist/nodejs/typechain/contracts/ERC20/ERC20MinterBurnerPauserPermit.d.ts +2 -57
  34. package/dist/nodejs/typechain/contracts/InterestRateModel/FixedInterestRateModel.d.ts +139 -0
  35. package/dist/nodejs/typechain/contracts/InterestRateModel/FixedInterestRateModel.js +3 -0
  36. package/dist/nodejs/typechain/contracts/InterestRateModel/FixedInterestRateModel.js.map +1 -0
  37. package/dist/nodejs/typechain/contracts/InterestRateModel/InterestRateModel.d.ts +60 -4
  38. package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelV2.d.ts +53 -3
  39. package/dist/nodejs/typechain/contracts/InterestRateModel/WhitePaperInterestRateModel.d.ts +57 -3
  40. package/dist/nodejs/typechain/contracts/InterestRateModel/index.d.ts +1 -6
  41. package/dist/nodejs/typechain/contracts/SumerTimelockController.d.ts +1 -16
  42. package/dist/nodejs/typechain/contracts/proxy/SumerProxy.d.ts +45 -2
  43. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/governance/TimelockController__factory.d.ts +9 -24
  44. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/governance/TimelockController__factory.js +9 -28
  45. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/governance/TimelockController__factory.js.map +1 -1
  46. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/interfaces/index.d.ts +0 -2
  47. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/interfaces/index.js +1 -5
  48. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/interfaces/index.js.map +1 -1
  49. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.d.ts +1 -1
  50. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.js +1 -1
  51. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.d.ts +6 -6
  52. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.js +6 -6
  53. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.js.map +1 -1
  54. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy__factory.d.ts +133 -0
  55. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy__factory.js +184 -0
  56. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy__factory.js.map +1 -0
  57. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/index.d.ts +1 -1
  58. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/index.js +3 -25
  59. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/index.js.map +1 -1
  60. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.d.ts +1 -1
  61. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.js +1 -1
  62. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit__factory.d.ts +65 -0
  63. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit__factory.js +95 -0
  64. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit__factory.js.map +1 -0
  65. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.d.ts +1 -0
  66. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.js +9 -0
  67. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.js.map +1 -0
  68. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts +1 -1
  69. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/index.js +25 -3
  70. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/index.js.map +1 -1
  71. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser__factory.d.ts +1 -1
  72. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser__factory.js +1 -1
  73. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/utils/index.d.ts +0 -2
  74. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/utils/index.js +1 -4
  75. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/utils/index.js.map +1 -1
  76. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +4 -4
  77. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +4 -4
  78. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
  79. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +4 -4
  80. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +4 -4
  81. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
  82. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +3 -3
  83. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +3 -3
  84. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
  85. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +4 -4
  86. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +4 -4
  87. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
  88. package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.d.ts +4 -12
  89. package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.js +4 -14
  90. package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.js.map +1 -1
  91. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +1 -1
  92. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +1 -1
  93. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +4 -12
  94. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +4 -14
  95. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
  96. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +99 -4
  97. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +125 -4
  98. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -1
  99. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +4 -4
  100. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +4 -4
  101. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js.map +1 -1
  102. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.d.ts +1 -1
  103. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.js +1 -1
  104. package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauserPermit__factory.d.ts +1 -52
  105. package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauserPermit__factory.js +1 -66
  106. package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauserPermit__factory.js.map +1 -1
  107. package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauser__factory.d.ts +1 -1
  108. package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauser__factory.js +1 -1
  109. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestModel.sol/FixedRateModel__factory.d.ts +1 -1
  110. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestModel.sol/FixedRateModel__factory.js +1 -1
  111. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestRateModel__factory.d.ts +204 -0
  112. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestRateModel__factory.js +275 -0
  113. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestRateModel__factory.js.map +1 -0
  114. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/InterestRateModel__factory.d.ts +72 -0
  115. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/InterestRateModel__factory.js +91 -0
  116. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/InterestRateModel__factory.js.map +1 -1
  117. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelV2__factory.d.ts +66 -8
  118. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelV2__factory.js +83 -10
  119. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelV2__factory.js.map +1 -1
  120. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModel__factory.d.ts +1 -1
  121. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModel__factory.js +1 -1
  122. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/WhitePaperInterestRateModel__factory.d.ts +73 -1
  123. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/WhitePaperInterestRateModel__factory.js +92 -1
  124. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/WhitePaperInterestRateModel__factory.js.map +1 -1
  125. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/ZeroInterestRateModel__factory.d.ts +1 -1
  126. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/ZeroInterestRateModel__factory.js +1 -1
  127. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.d.ts +1 -4
  128. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.js +3 -30
  129. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.js.map +1 -1
  130. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/suTokenInterestModel.sol/SuTokenRateModel__factory.d.ts +1 -1
  131. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/suTokenInterestModel.sol/SuTokenRateModel__factory.js +1 -1
  132. package/dist/nodejs/typechain/factories/contracts/Library/RateLimiter__factory.d.ts +1 -1
  133. package/dist/nodejs/typechain/factories/contracts/Library/RateLimiter__factory.js +1 -1
  134. package/dist/nodejs/typechain/factories/contracts/Oracle/ChainlinkFeedAdaptor_ETHToUSD__factory.d.ts +1 -1
  135. package/dist/nodejs/typechain/factories/contracts/Oracle/ChainlinkFeedAdaptor_ETHToUSD__factory.js +1 -1
  136. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracleSafe__factory.d.ts +1 -1
  137. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracleSafe__factory.js +1 -1
  138. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.d.ts +1 -1
  139. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js +1 -1
  140. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.d.ts +4 -12
  141. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js +4 -14
  142. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js.map +1 -1
  143. package/dist/nodejs/typechain/factories/contracts/SumerTimelockController__factory.d.ts +9 -24
  144. package/dist/nodejs/typechain/factories/contracts/SumerTimelockController__factory.js +9 -28
  145. package/dist/nodejs/typechain/factories/contracts/SumerTimelockController__factory.js.map +1 -1
  146. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +4 -44
  147. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +4 -56
  148. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js.map +1 -1
  149. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxyAdmin__factory.d.ts +6 -6
  150. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxyAdmin__factory.js +6 -6
  151. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxyAdmin__factory.js.map +1 -1
  152. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxy__factory.d.ts +55 -1
  153. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxy__factory.js +71 -1
  154. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxy__factory.js.map +1 -1
  155. package/dist/nodejs/typechain/factories/contracts/stake/CommunalFarm__factory.d.ts +1 -1
  156. package/dist/nodejs/typechain/factories/contracts/stake/CommunalFarm__factory.js +1 -1
  157. package/dist/nodejs/typechain/factories/contracts/stake/CommunalFarm__factory.js.map +1 -1
  158. package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeFXSRewardsDistributor__factory.d.ts +1 -1
  159. package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeFXSRewardsDistributor__factory.js +1 -1
  160. package/dist/nodejs/typechain/factories/contracts/stake/StakingRewardsMultiGauge__factory.d.ts +1 -1
  161. package/dist/nodejs/typechain/factories/contracts/stake/StakingRewardsMultiGauge__factory.js +1 -1
  162. package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.d.ts +1 -1
  163. package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.js +1 -1
  164. package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.js.map +1 -1
  165. package/dist/nodejs/typechain/hardhat.d.ts +26 -170
  166. package/dist/nodejs/typechain/index.d.ts +6 -22
  167. package/dist/nodejs/typechain/index.js +7 -24
  168. package/dist/nodejs/typechain/index.js.map +1 -1
  169. package/package.json +1 -1
@@ -177,7 +177,7 @@ const _abi = [
177
177
  type: "function",
178
178
  },
179
179
  ];
180
- const _bytecode = "0x60803461006b57601f61032938819003918201601f19168301916001600160401b0383118484101761007057808492604094855283398101031261006b5760208151910151906001556002553360018060a01b031960005416176000556040516102a290816100878239f35b600080fd5b634e487b7160e01b600052604160045260246000fdfe6080604090808252600436101561001557600080fd5b600091823560e01c91826315f2405314610216575081632191f92a146101fa5781633f95e273146101cb5781638da5cb5b146101a3578163a6f9dae11461011a578163ad2961a3146100fb578163b8168816146100db578163c914b437146100b8575063dd3eaf041461008757600080fd5b346100b55760203660031901126100b5576100ac60018060a01b038254163314610233565b60043560015580f35b80fd5b9050346100d757816003193601126100d7576020906001549051908152f35b5080fd5b9050346100d75760803660031901126100d7576020906002549051908152f35b9050346100d757816003193601126100d7576020906002549051908152f35b9050346100d75760203660031901126100d7576001600160a01b03600435818116929083900361019f5761015384549283163314610233565b821561016a57506001600160a01b03191617815580f35b5162461bcd60e51b815260206004820152600f60248201526e696e76616c6964206164647265737360881b6044820152606490fd5b8380fd5b9050346100d757816003193601126100d757905490516001600160a01b039091168152602090f35b82346100b55760203660031901126100b5576101f160018060a01b038254163314610233565b60043560025580f35b9050346100d757816003193601126100d7576020905160018152f35b8390346100d75760603660031901126100d7576020906001548152f35b1561023a57565b60405162461bcd60e51b815260206004820152600a60248201526937b7363c9037bbb732b960b11b6044820152606490fdfea2646970667358221220ae27f2a512ba38f4aebd78dc2c3a4dd75caf8f20188870e5d65611e9c79326cb64736f6c63430008130033";
180
+ const _bytecode = "0x60803461006b57601f61032938819003918201601f19168301916001600160401b0383118484101761007057808492604094855283398101031261006b5760208151910151906001556002553360018060a01b031960005416176000556040516102a290816100878239f35b600080fd5b634e487b7160e01b600052604160045260246000fdfe6080604090808252600436101561001557600080fd5b600091823560e01c91826315f2405314610216575081632191f92a146101fa5781633f95e273146101cb5781638da5cb5b146101a3578163a6f9dae11461011a578163ad2961a3146100fb578163b8168816146100db578163c914b437146100b8575063dd3eaf041461008757600080fd5b346100b55760203660031901126100b5576100ac60018060a01b038254163314610233565b60043560015580f35b80fd5b9050346100d757816003193601126100d7576020906001549051908152f35b5080fd5b9050346100d75760803660031901126100d7576020906002549051908152f35b9050346100d757816003193601126100d7576020906002549051908152f35b9050346100d75760203660031901126100d7576001600160a01b03600435818116929083900361019f5761015384549283163314610233565b821561016a57506001600160a01b03191617815580f35b5162461bcd60e51b815260206004820152600f60248201526e696e76616c6964206164647265737360881b6044820152606490fd5b8380fd5b9050346100d757816003193601126100d757905490516001600160a01b039091168152602090f35b82346100b55760203660031901126100b5576101f160018060a01b038254163314610233565b60043560025580f35b9050346100d757816003193601126100d7576020905160018152f35b8390346100d75760603660031901126100d7576020906001548152f35b1561023a57565b60405162461bcd60e51b815260206004820152600a60248201526937b7363c9037bbb732b960b11b6044820152606490fdfea2646970667358221220a0f2fb31f0bcf1cf192547a00feb56ee23003015e0a2656caeb9517b2704434864736f6c63430008130033";
181
181
  const isSuperArgs = (xs) => xs.length > 1;
182
182
  class FixedRateModel__factory extends ethers_1.ContractFactory {
183
183
  constructor(...args) {
@@ -0,0 +1,204 @@
1
+ import { ContractFactory, ContractTransactionResponse } from "ethers";
2
+ import type { Signer, BigNumberish, ContractDeployTransaction, ContractRunner } from "ethers";
3
+ import type { NonPayableOverrides } from "../../../common";
4
+ import type { FixedInterestRateModel, FixedInterestRateModelInterface } from "../../../contracts/InterestRateModel/FixedInterestRateModel";
5
+ type FixedInterestRateModelConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
6
+ export declare class FixedInterestRateModel__factory extends ContractFactory {
7
+ constructor(...args: FixedInterestRateModelConstructorParams);
8
+ getDeployTransaction(initBorrowRate: BigNumberish, initSupplyRate: BigNumberish, overrides?: NonPayableOverrides & {
9
+ from?: string;
10
+ }): Promise<ContractDeployTransaction>;
11
+ deploy(initBorrowRate: BigNumberish, initSupplyRate: BigNumberish, overrides?: NonPayableOverrides & {
12
+ from?: string;
13
+ }): Promise<FixedInterestRateModel & {
14
+ deploymentTransaction(): ContractTransactionResponse;
15
+ }>;
16
+ connect(runner: ContractRunner | null): FixedInterestRateModel__factory;
17
+ static readonly bytecode = "0x6080346100a657601f6104c038819003918201601f19168301916001600160401b038311848410176100ab5780849260409485528339810103126100a6576020815191015160018060a01b031991826001541660015560005492339084161760005560405192339060018060a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a36002556003556103fe90816100c28239f35b600080fd5b634e487b7160e01b600052604160045260246000fdfe6080604090808252600436101561001557600080fd5b600091823560e01c91826315f2405314610353575081632191f92a146103375781633f95e27314610314578163715018a6146102af57816379ba5097146101f05781638da5cb5b146101c8578163ad2961a3146101a9578163b816881614610189578163c914b4371461016a578163dd3eaf0414610147578163e30c39781461011a575063f2fde38b146100a857600080fd5b34610117576020366003190112610117576004356001600160a01b0381811691829003610113576100d7610370565b600180546001600160a01b031916831790558254167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e227008380a380f35b8280fd5b80fd5b90503461014357816003193601126101435760015490516001600160a01b039091168152602090f35b5080fd5b823461011757602036600319011261011757610161610370565b60043560025580f35b9050346101435781600319360112610143576020906002549051908152f35b905034610143576080366003190112610143576020906003549051908152f35b9050346101435781600319360112610143576020906003549051908152f35b905034610143578160031936011261014357905490516001600160a01b039091168152602090f35b905034610143578160031936011261014357600154906001600160a01b0390338284160361025a57506001600160a01b031991821660015582543392811683178455167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b5162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f7420746865206044820152683732bb9037bbb732b960b91b6064820152608490fd5b82346101175780600319360112610117576102c8610370565b600180546001600160a01b03199081169091558154908116825581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b82346101175760203660031901126101175761032e610370565b60043560035580f35b9050346101435781600319360112610143576020905160018152f35b839034610143576060366003190112610143576020906002548152f35b6000546001600160a01b0316330361038457565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fdfea2646970667358221220f5a526e268e41a5753de367dd4c538bb16bcf24556bea38626864edf0487550164736f6c63430008130033";
18
+ static readonly abi: readonly [{
19
+ readonly inputs: readonly [{
20
+ readonly internalType: "uint256";
21
+ readonly name: "initBorrowRate";
22
+ readonly type: "uint256";
23
+ }, {
24
+ readonly internalType: "uint256";
25
+ readonly name: "initSupplyRate";
26
+ readonly type: "uint256";
27
+ }];
28
+ readonly stateMutability: "nonpayable";
29
+ readonly type: "constructor";
30
+ }, {
31
+ readonly anonymous: false;
32
+ readonly inputs: readonly [{
33
+ readonly indexed: true;
34
+ readonly internalType: "address";
35
+ readonly name: "previousOwner";
36
+ readonly type: "address";
37
+ }, {
38
+ readonly indexed: true;
39
+ readonly internalType: "address";
40
+ readonly name: "newOwner";
41
+ readonly type: "address";
42
+ }];
43
+ readonly name: "OwnershipTransferStarted";
44
+ readonly type: "event";
45
+ }, {
46
+ readonly anonymous: false;
47
+ readonly inputs: readonly [{
48
+ readonly indexed: true;
49
+ readonly internalType: "address";
50
+ readonly name: "previousOwner";
51
+ readonly type: "address";
52
+ }, {
53
+ readonly indexed: true;
54
+ readonly internalType: "address";
55
+ readonly name: "newOwner";
56
+ readonly type: "address";
57
+ }];
58
+ readonly name: "OwnershipTransferred";
59
+ readonly type: "event";
60
+ }, {
61
+ readonly inputs: readonly [];
62
+ readonly name: "acceptOwnership";
63
+ readonly outputs: readonly [];
64
+ readonly stateMutability: "nonpayable";
65
+ readonly type: "function";
66
+ }, {
67
+ readonly inputs: readonly [];
68
+ readonly name: "borrowRate";
69
+ readonly outputs: readonly [{
70
+ readonly internalType: "uint256";
71
+ readonly name: "";
72
+ readonly type: "uint256";
73
+ }];
74
+ readonly stateMutability: "view";
75
+ readonly type: "function";
76
+ }, {
77
+ readonly inputs: readonly [{
78
+ readonly internalType: "uint256";
79
+ readonly name: "cash";
80
+ readonly type: "uint256";
81
+ }, {
82
+ readonly internalType: "uint256";
83
+ readonly name: "borrows";
84
+ readonly type: "uint256";
85
+ }, {
86
+ readonly internalType: "uint256";
87
+ readonly name: "reserves";
88
+ readonly type: "uint256";
89
+ }];
90
+ readonly name: "getBorrowRate";
91
+ readonly outputs: readonly [{
92
+ readonly internalType: "uint256";
93
+ readonly name: "";
94
+ readonly type: "uint256";
95
+ }];
96
+ readonly stateMutability: "view";
97
+ readonly type: "function";
98
+ }, {
99
+ readonly inputs: readonly [{
100
+ readonly internalType: "uint256";
101
+ readonly name: "cash";
102
+ readonly type: "uint256";
103
+ }, {
104
+ readonly internalType: "uint256";
105
+ readonly name: "borrows";
106
+ readonly type: "uint256";
107
+ }, {
108
+ readonly internalType: "uint256";
109
+ readonly name: "reserves";
110
+ readonly type: "uint256";
111
+ }, {
112
+ readonly internalType: "uint256";
113
+ readonly name: "reserveFactorMantissa";
114
+ readonly type: "uint256";
115
+ }];
116
+ readonly name: "getSupplyRate";
117
+ readonly outputs: readonly [{
118
+ readonly internalType: "uint256";
119
+ readonly name: "";
120
+ readonly type: "uint256";
121
+ }];
122
+ readonly stateMutability: "view";
123
+ readonly type: "function";
124
+ }, {
125
+ readonly inputs: readonly [];
126
+ readonly name: "isInterestRateModel";
127
+ readonly outputs: readonly [{
128
+ readonly internalType: "bool";
129
+ readonly name: "";
130
+ readonly type: "bool";
131
+ }];
132
+ readonly stateMutability: "view";
133
+ readonly type: "function";
134
+ }, {
135
+ readonly inputs: readonly [];
136
+ readonly name: "owner";
137
+ readonly outputs: readonly [{
138
+ readonly internalType: "address";
139
+ readonly name: "";
140
+ readonly type: "address";
141
+ }];
142
+ readonly stateMutability: "view";
143
+ readonly type: "function";
144
+ }, {
145
+ readonly inputs: readonly [];
146
+ readonly name: "pendingOwner";
147
+ readonly outputs: readonly [{
148
+ readonly internalType: "address";
149
+ readonly name: "";
150
+ readonly type: "address";
151
+ }];
152
+ readonly stateMutability: "view";
153
+ readonly type: "function";
154
+ }, {
155
+ readonly inputs: readonly [];
156
+ readonly name: "renounceOwnership";
157
+ readonly outputs: readonly [];
158
+ readonly stateMutability: "nonpayable";
159
+ readonly type: "function";
160
+ }, {
161
+ readonly inputs: readonly [{
162
+ readonly internalType: "uint256";
163
+ readonly name: "rate";
164
+ readonly type: "uint256";
165
+ }];
166
+ readonly name: "setBorrowRate";
167
+ readonly outputs: readonly [];
168
+ readonly stateMutability: "nonpayable";
169
+ readonly type: "function";
170
+ }, {
171
+ readonly inputs: readonly [{
172
+ readonly internalType: "uint256";
173
+ readonly name: "rate";
174
+ readonly type: "uint256";
175
+ }];
176
+ readonly name: "setSupplyRate";
177
+ readonly outputs: readonly [];
178
+ readonly stateMutability: "nonpayable";
179
+ readonly type: "function";
180
+ }, {
181
+ readonly inputs: readonly [];
182
+ readonly name: "supplyRate";
183
+ readonly outputs: readonly [{
184
+ readonly internalType: "uint256";
185
+ readonly name: "";
186
+ readonly type: "uint256";
187
+ }];
188
+ readonly stateMutability: "view";
189
+ readonly type: "function";
190
+ }, {
191
+ readonly inputs: readonly [{
192
+ readonly internalType: "address";
193
+ readonly name: "newOwner";
194
+ readonly type: "address";
195
+ }];
196
+ readonly name: "transferOwnership";
197
+ readonly outputs: readonly [];
198
+ readonly stateMutability: "nonpayable";
199
+ readonly type: "function";
200
+ }];
201
+ static createInterface(): FixedInterestRateModelInterface;
202
+ static connect(address: string, runner?: ContractRunner | null): FixedInterestRateModel;
203
+ }
204
+ export {};
@@ -0,0 +1,275 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FixedInterestRateModel__factory = void 0;
4
+ /* Autogenerated file. Do not edit manually. */
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ const ethers_1 = require("ethers");
8
+ const _abi = [
9
+ {
10
+ inputs: [
11
+ {
12
+ internalType: "uint256",
13
+ name: "initBorrowRate",
14
+ type: "uint256",
15
+ },
16
+ {
17
+ internalType: "uint256",
18
+ name: "initSupplyRate",
19
+ type: "uint256",
20
+ },
21
+ ],
22
+ stateMutability: "nonpayable",
23
+ type: "constructor",
24
+ },
25
+ {
26
+ anonymous: false,
27
+ inputs: [
28
+ {
29
+ indexed: true,
30
+ internalType: "address",
31
+ name: "previousOwner",
32
+ type: "address",
33
+ },
34
+ {
35
+ indexed: true,
36
+ internalType: "address",
37
+ name: "newOwner",
38
+ type: "address",
39
+ },
40
+ ],
41
+ name: "OwnershipTransferStarted",
42
+ type: "event",
43
+ },
44
+ {
45
+ anonymous: false,
46
+ inputs: [
47
+ {
48
+ indexed: true,
49
+ internalType: "address",
50
+ name: "previousOwner",
51
+ type: "address",
52
+ },
53
+ {
54
+ indexed: true,
55
+ internalType: "address",
56
+ name: "newOwner",
57
+ type: "address",
58
+ },
59
+ ],
60
+ name: "OwnershipTransferred",
61
+ type: "event",
62
+ },
63
+ {
64
+ inputs: [],
65
+ name: "acceptOwnership",
66
+ outputs: [],
67
+ stateMutability: "nonpayable",
68
+ type: "function",
69
+ },
70
+ {
71
+ inputs: [],
72
+ name: "borrowRate",
73
+ outputs: [
74
+ {
75
+ internalType: "uint256",
76
+ name: "",
77
+ type: "uint256",
78
+ },
79
+ ],
80
+ stateMutability: "view",
81
+ type: "function",
82
+ },
83
+ {
84
+ inputs: [
85
+ {
86
+ internalType: "uint256",
87
+ name: "cash",
88
+ type: "uint256",
89
+ },
90
+ {
91
+ internalType: "uint256",
92
+ name: "borrows",
93
+ type: "uint256",
94
+ },
95
+ {
96
+ internalType: "uint256",
97
+ name: "reserves",
98
+ type: "uint256",
99
+ },
100
+ ],
101
+ name: "getBorrowRate",
102
+ outputs: [
103
+ {
104
+ internalType: "uint256",
105
+ name: "",
106
+ type: "uint256",
107
+ },
108
+ ],
109
+ stateMutability: "view",
110
+ type: "function",
111
+ },
112
+ {
113
+ inputs: [
114
+ {
115
+ internalType: "uint256",
116
+ name: "cash",
117
+ type: "uint256",
118
+ },
119
+ {
120
+ internalType: "uint256",
121
+ name: "borrows",
122
+ type: "uint256",
123
+ },
124
+ {
125
+ internalType: "uint256",
126
+ name: "reserves",
127
+ type: "uint256",
128
+ },
129
+ {
130
+ internalType: "uint256",
131
+ name: "reserveFactorMantissa",
132
+ type: "uint256",
133
+ },
134
+ ],
135
+ name: "getSupplyRate",
136
+ outputs: [
137
+ {
138
+ internalType: "uint256",
139
+ name: "",
140
+ type: "uint256",
141
+ },
142
+ ],
143
+ stateMutability: "view",
144
+ type: "function",
145
+ },
146
+ {
147
+ inputs: [],
148
+ name: "isInterestRateModel",
149
+ outputs: [
150
+ {
151
+ internalType: "bool",
152
+ name: "",
153
+ type: "bool",
154
+ },
155
+ ],
156
+ stateMutability: "view",
157
+ type: "function",
158
+ },
159
+ {
160
+ inputs: [],
161
+ name: "owner",
162
+ outputs: [
163
+ {
164
+ internalType: "address",
165
+ name: "",
166
+ type: "address",
167
+ },
168
+ ],
169
+ stateMutability: "view",
170
+ type: "function",
171
+ },
172
+ {
173
+ inputs: [],
174
+ name: "pendingOwner",
175
+ outputs: [
176
+ {
177
+ internalType: "address",
178
+ name: "",
179
+ type: "address",
180
+ },
181
+ ],
182
+ stateMutability: "view",
183
+ type: "function",
184
+ },
185
+ {
186
+ inputs: [],
187
+ name: "renounceOwnership",
188
+ outputs: [],
189
+ stateMutability: "nonpayable",
190
+ type: "function",
191
+ },
192
+ {
193
+ inputs: [
194
+ {
195
+ internalType: "uint256",
196
+ name: "rate",
197
+ type: "uint256",
198
+ },
199
+ ],
200
+ name: "setBorrowRate",
201
+ outputs: [],
202
+ stateMutability: "nonpayable",
203
+ type: "function",
204
+ },
205
+ {
206
+ inputs: [
207
+ {
208
+ internalType: "uint256",
209
+ name: "rate",
210
+ type: "uint256",
211
+ },
212
+ ],
213
+ name: "setSupplyRate",
214
+ outputs: [],
215
+ stateMutability: "nonpayable",
216
+ type: "function",
217
+ },
218
+ {
219
+ inputs: [],
220
+ name: "supplyRate",
221
+ outputs: [
222
+ {
223
+ internalType: "uint256",
224
+ name: "",
225
+ type: "uint256",
226
+ },
227
+ ],
228
+ stateMutability: "view",
229
+ type: "function",
230
+ },
231
+ {
232
+ inputs: [
233
+ {
234
+ internalType: "address",
235
+ name: "newOwner",
236
+ type: "address",
237
+ },
238
+ ],
239
+ name: "transferOwnership",
240
+ outputs: [],
241
+ stateMutability: "nonpayable",
242
+ type: "function",
243
+ },
244
+ ];
245
+ const _bytecode = "0x6080346100a657601f6104c038819003918201601f19168301916001600160401b038311848410176100ab5780849260409485528339810103126100a6576020815191015160018060a01b031991826001541660015560005492339084161760005560405192339060018060a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a36002556003556103fe90816100c28239f35b600080fd5b634e487b7160e01b600052604160045260246000fdfe6080604090808252600436101561001557600080fd5b600091823560e01c91826315f2405314610353575081632191f92a146103375781633f95e27314610314578163715018a6146102af57816379ba5097146101f05781638da5cb5b146101c8578163ad2961a3146101a9578163b816881614610189578163c914b4371461016a578163dd3eaf0414610147578163e30c39781461011a575063f2fde38b146100a857600080fd5b34610117576020366003190112610117576004356001600160a01b0381811691829003610113576100d7610370565b600180546001600160a01b031916831790558254167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e227008380a380f35b8280fd5b80fd5b90503461014357816003193601126101435760015490516001600160a01b039091168152602090f35b5080fd5b823461011757602036600319011261011757610161610370565b60043560025580f35b9050346101435781600319360112610143576020906002549051908152f35b905034610143576080366003190112610143576020906003549051908152f35b9050346101435781600319360112610143576020906003549051908152f35b905034610143578160031936011261014357905490516001600160a01b039091168152602090f35b905034610143578160031936011261014357600154906001600160a01b0390338284160361025a57506001600160a01b031991821660015582543392811683178455167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b5162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f7420746865206044820152683732bb9037bbb732b960b91b6064820152608490fd5b82346101175780600319360112610117576102c8610370565b600180546001600160a01b03199081169091558154908116825581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b82346101175760203660031901126101175761032e610370565b60043560035580f35b9050346101435781600319360112610143576020905160018152f35b839034610143576060366003190112610143576020906002548152f35b6000546001600160a01b0316330361038457565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fdfea2646970667358221220f5a526e268e41a5753de367dd4c538bb16bcf24556bea38626864edf0487550164736f6c63430008130033";
246
+ const isSuperArgs = (xs) => xs.length > 1;
247
+ class FixedInterestRateModel__factory extends ethers_1.ContractFactory {
248
+ constructor(...args) {
249
+ if (isSuperArgs(args)) {
250
+ super(...args);
251
+ }
252
+ else {
253
+ super(_abi, _bytecode, args[0]);
254
+ }
255
+ }
256
+ getDeployTransaction(initBorrowRate, initSupplyRate, overrides) {
257
+ return super.getDeployTransaction(initBorrowRate, initSupplyRate, overrides || {});
258
+ }
259
+ deploy(initBorrowRate, initSupplyRate, overrides) {
260
+ return super.deploy(initBorrowRate, initSupplyRate, overrides || {});
261
+ }
262
+ connect(runner) {
263
+ return super.connect(runner);
264
+ }
265
+ static createInterface() {
266
+ return new ethers_1.Interface(_abi);
267
+ }
268
+ static connect(address, runner) {
269
+ return new ethers_1.Contract(address, _abi, runner);
270
+ }
271
+ }
272
+ exports.FixedInterestRateModel__factory = FixedInterestRateModel__factory;
273
+ FixedInterestRateModel__factory.bytecode = _bytecode;
274
+ FixedInterestRateModel__factory.abi = _abi;
275
+ //# sourceMappingURL=FixedInterestRateModel__factory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FixedInterestRateModel__factory.js","sourceRoot":"","sources":["../../../../../../src/typechain/factories/contracts/InterestRateModel/FixedInterestRateModel__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAKgB;AAahB,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,aAAa;KACpB;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,0BAA0B;QAChC,IAAI,EAAE,OAAO;KACd;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,sBAAsB;QAC5B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAA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AO,CACd,MAA6B;QAE7B,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAAoC,CAAC;IAClE,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,kBAAS,CAAC,IAAI,CAAoC,CAAC;IAChE,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,MAA8B;QAE9B,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,MAAM,CAC8B,CAAC;IACzC,CAAC;;AAvDH,0EAwDC;AAfiB,wCAAQ,GAAG,SAAS,CAAC;AACrB,mCAAG,GAAG,IAAI,CAAC"}
@@ -2,6 +2,42 @@ import { type ContractRunner } from "ethers";
2
2
  import type { InterestRateModel, InterestRateModelInterface } from "../../../contracts/InterestRateModel/InterestRateModel";
3
3
  export declare class InterestRateModel__factory {
4
4
  static readonly abi: readonly [{
5
+ readonly anonymous: false;
6
+ readonly inputs: readonly [{
7
+ readonly indexed: true;
8
+ readonly internalType: "address";
9
+ readonly name: "previousOwner";
10
+ readonly type: "address";
11
+ }, {
12
+ readonly indexed: true;
13
+ readonly internalType: "address";
14
+ readonly name: "newOwner";
15
+ readonly type: "address";
16
+ }];
17
+ readonly name: "OwnershipTransferStarted";
18
+ readonly type: "event";
19
+ }, {
20
+ readonly anonymous: false;
21
+ readonly inputs: readonly [{
22
+ readonly indexed: true;
23
+ readonly internalType: "address";
24
+ readonly name: "previousOwner";
25
+ readonly type: "address";
26
+ }, {
27
+ readonly indexed: true;
28
+ readonly internalType: "address";
29
+ readonly name: "newOwner";
30
+ readonly type: "address";
31
+ }];
32
+ readonly name: "OwnershipTransferred";
33
+ readonly type: "event";
34
+ }, {
35
+ readonly inputs: readonly [];
36
+ readonly name: "acceptOwnership";
37
+ readonly outputs: readonly [];
38
+ readonly stateMutability: "nonpayable";
39
+ readonly type: "function";
40
+ }, {
5
41
  readonly inputs: readonly [{
6
42
  readonly internalType: "uint256";
7
43
  readonly name: "cash";
@@ -59,6 +95,42 @@ export declare class InterestRateModel__factory {
59
95
  }];
60
96
  readonly stateMutability: "view";
61
97
  readonly type: "function";
98
+ }, {
99
+ readonly inputs: readonly [];
100
+ readonly name: "owner";
101
+ readonly outputs: readonly [{
102
+ readonly internalType: "address";
103
+ readonly name: "";
104
+ readonly type: "address";
105
+ }];
106
+ readonly stateMutability: "view";
107
+ readonly type: "function";
108
+ }, {
109
+ readonly inputs: readonly [];
110
+ readonly name: "pendingOwner";
111
+ readonly outputs: readonly [{
112
+ readonly internalType: "address";
113
+ readonly name: "";
114
+ readonly type: "address";
115
+ }];
116
+ readonly stateMutability: "view";
117
+ readonly type: "function";
118
+ }, {
119
+ readonly inputs: readonly [];
120
+ readonly name: "renounceOwnership";
121
+ readonly outputs: readonly [];
122
+ readonly stateMutability: "nonpayable";
123
+ readonly type: "function";
124
+ }, {
125
+ readonly inputs: readonly [{
126
+ readonly internalType: "address";
127
+ readonly name: "newOwner";
128
+ readonly type: "address";
129
+ }];
130
+ readonly name: "transferOwnership";
131
+ readonly outputs: readonly [];
132
+ readonly stateMutability: "nonpayable";
133
+ readonly type: "function";
62
134
  }];
63
135
  static createInterface(): InterestRateModelInterface;
64
136
  static connect(address: string, runner?: ContractRunner | null): InterestRateModel;