@meterio/sumer-js 0.1.43 → 0.1.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/sumer.min.js +10 -10
- package/dist/nodejs/abi.d.ts +36 -74
- package/dist/nodejs/abi.js +400 -626
- package/dist/nodejs/abi.js.map +1 -1
- package/dist/nodejs/constants/arbitrum.d.ts +1 -0
- package/dist/nodejs/constants/arbitrum.js +1 -0
- package/dist/nodejs/constants/arbitrum.js.map +1 -1
- package/dist/nodejs/constants/metertest.d.ts +2 -10
- package/dist/nodejs/constants/metertest.js +2 -11
- package/dist/nodejs/constants/metertest.js.map +1 -1
- package/dist/nodejs/index.d.ts +36 -74
- package/dist/nodejs/typechain/@openzeppelin/contracts/governance/TimelockController.d.ts +1 -16
- package/dist/nodejs/typechain/@openzeppelin/contracts/interfaces/index.d.ts +0 -2
- package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.d.ts +108 -0
- package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.js +3 -0
- package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.js.map +1 -0
- package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/transparent/index.d.ts +1 -2
- package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit.d.ts +61 -0
- package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit.js +3 -0
- package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit.js.map +1 -0
- package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.d.ts +1 -0
- package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.js +3 -0
- package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts +2 -1
- package/dist/nodejs/typechain/@openzeppelin/contracts/utils/index.d.ts +0 -3
- package/dist/nodejs/typechain/contracts/ERC20/ERC20MinterBurnerPauserPermit.d.ts +2 -57
- package/dist/nodejs/typechain/contracts/InterestRateModel/FixedInterestRateModel.d.ts +143 -0
- package/dist/nodejs/typechain/contracts/InterestRateModel/FixedInterestRateModel.js +3 -0
- package/dist/nodejs/typechain/contracts/InterestRateModel/FixedInterestRateModel.js.map +1 -0
- package/dist/nodejs/typechain/contracts/InterestRateModel/InterestRateModel.d.ts +60 -4
- package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelV2.d.ts +53 -3
- package/dist/nodejs/typechain/contracts/InterestRateModel/WhitePaperInterestRateModel.d.ts +57 -3
- package/dist/nodejs/typechain/contracts/InterestRateModel/index.d.ts +1 -6
- package/dist/nodejs/typechain/contracts/SumerTimelockController.d.ts +1 -16
- package/dist/nodejs/typechain/contracts/proxy/SumerProxy.d.ts +45 -2
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/governance/TimelockController__factory.d.ts +9 -24
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/governance/TimelockController__factory.js +9 -28
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/governance/TimelockController__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/interfaces/index.d.ts +0 -2
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/interfaces/index.js +1 -5
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/interfaces/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.js +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.d.ts +6 -6
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.js +6 -6
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy__factory.d.ts +133 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy__factory.js +184 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/index.d.ts +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/index.js +3 -25
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.js +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit__factory.d.ts +65 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit__factory.js +95 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.js +9 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/index.js +25 -3
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser__factory.js +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/utils/index.d.ts +0 -2
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/utils/index.js +1 -4
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/utils/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauserPermit__factory.d.ts +1 -52
- package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauserPermit__factory.js +1 -66
- package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauserPermit__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauser__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauser__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestModel.sol/FixedRateModel__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestModel.sol/FixedRateModel__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestRateModel__factory.d.ts +218 -0
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestRateModel__factory.js +293 -0
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestRateModel__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/InterestRateModel__factory.d.ts +72 -0
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/InterestRateModel__factory.js +91 -0
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/InterestRateModel__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelV2__factory.d.ts +66 -8
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelV2__factory.js +83 -10
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelV2__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModel__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModel__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/WhitePaperInterestRateModel__factory.d.ts +73 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/WhitePaperInterestRateModel__factory.js +92 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/WhitePaperInterestRateModel__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/ZeroInterestRateModel__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/ZeroInterestRateModel__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.d.ts +1 -4
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.js +3 -30
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/suTokenInterestModel.sol/SuTokenRateModel__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/suTokenInterestModel.sol/SuTokenRateModel__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Library/RateLimiter__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Library/RateLimiter__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/ChainlinkFeedAdaptor_ETHToUSD__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/ChainlinkFeedAdaptor_ETHToUSD__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracleSafe__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracleSafe__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/SumerTimelockController__factory.d.ts +9 -24
- package/dist/nodejs/typechain/factories/contracts/SumerTimelockController__factory.js +9 -28
- package/dist/nodejs/typechain/factories/contracts/SumerTimelockController__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +1 -33
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +1 -43
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxyAdmin__factory.d.ts +6 -6
- package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxyAdmin__factory.js +6 -6
- package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxyAdmin__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxy__factory.d.ts +55 -1
- package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxy__factory.js +71 -1
- package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxy__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/CommunalFarm__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/CommunalFarm__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/CommunalFarm__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeFXSRewardsDistributor__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeFXSRewardsDistributor__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/StakingRewardsMultiGauge__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/StakingRewardsMultiGauge__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.js.map +1 -1
- package/dist/nodejs/typechain/hardhat.d.ts +26 -170
- package/dist/nodejs/typechain/index.d.ts +6 -22
- package/dist/nodejs/typechain/index.js +7 -24
- package/dist/nodejs/typechain/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
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 ERC20MinterBurnerPauserPermitInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE" | "DOMAIN_SEPARATOR" | "MINTER_ROLE" | "PAUSER_ROLE" | "allowance" | "approve" | "balanceOf" | "burn" | "burnFrom" | "decimals" | "decreaseAllowance" | "
|
|
5
|
-
getEvent(nameOrSignatureOrTopic: "Approval" | "
|
|
4
|
+
getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE" | "DOMAIN_SEPARATOR" | "MINTER_ROLE" | "PAUSER_ROLE" | "allowance" | "approve" | "balanceOf" | "burn" | "burnFrom" | "decimals" | "decreaseAllowance" | "getRoleAdmin" | "getRoleMember" | "getRoleMemberCount" | "grantRole" | "hasRole" | "increaseAllowance" | "mint" | "name" | "nonces" | "pause" | "paused" | "permit(address,address,uint256,uint256,bytes)" | "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)" | "renounceRole" | "revokeRole" | "supportsInterface" | "symbol" | "totalSupply" | "transfer" | "transferFrom" | "unpause"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "Approval" | "Paused" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "Transfer" | "Unpaused"): EventFragment;
|
|
6
6
|
encodeFunctionData(functionFragment: "DEFAULT_ADMIN_ROLE", values?: undefined): string;
|
|
7
7
|
encodeFunctionData(functionFragment: "DOMAIN_SEPARATOR", values?: undefined): string;
|
|
8
8
|
encodeFunctionData(functionFragment: "MINTER_ROLE", values?: undefined): string;
|
|
@@ -14,7 +14,6 @@ export interface ERC20MinterBurnerPauserPermitInterface extends Interface {
|
|
|
14
14
|
encodeFunctionData(functionFragment: "burnFrom", values: [AddressLike, BigNumberish]): string;
|
|
15
15
|
encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
|
|
16
16
|
encodeFunctionData(functionFragment: "decreaseAllowance", values: [AddressLike, BigNumberish]): string;
|
|
17
|
-
encodeFunctionData(functionFragment: "eip712Domain", values?: undefined): string;
|
|
18
17
|
encodeFunctionData(functionFragment: "getRoleAdmin", values: [BytesLike]): string;
|
|
19
18
|
encodeFunctionData(functionFragment: "getRoleMember", values: [BytesLike, BigNumberish]): string;
|
|
20
19
|
encodeFunctionData(functionFragment: "getRoleMemberCount", values: [BytesLike]): string;
|
|
@@ -55,7 +54,6 @@ export interface ERC20MinterBurnerPauserPermitInterface extends Interface {
|
|
|
55
54
|
decodeFunctionResult(functionFragment: "burnFrom", data: BytesLike): Result;
|
|
56
55
|
decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
|
|
57
56
|
decodeFunctionResult(functionFragment: "decreaseAllowance", data: BytesLike): Result;
|
|
58
|
-
decodeFunctionResult(functionFragment: "eip712Domain", data: BytesLike): Result;
|
|
59
57
|
decodeFunctionResult(functionFragment: "getRoleAdmin", data: BytesLike): Result;
|
|
60
58
|
decodeFunctionResult(functionFragment: "getRoleMember", data: BytesLike): Result;
|
|
61
59
|
decodeFunctionResult(functionFragment: "getRoleMemberCount", data: BytesLike): Result;
|
|
@@ -95,16 +93,6 @@ export declare namespace ApprovalEvent {
|
|
|
95
93
|
type Log = TypedEventLog<Event>;
|
|
96
94
|
type LogDescription = TypedLogDescription<Event>;
|
|
97
95
|
}
|
|
98
|
-
export declare namespace EIP712DomainChangedEvent {
|
|
99
|
-
type InputTuple = [];
|
|
100
|
-
type OutputTuple = [];
|
|
101
|
-
interface OutputObject {
|
|
102
|
-
}
|
|
103
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
104
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
105
|
-
type Log = TypedEventLog<Event>;
|
|
106
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
107
|
-
}
|
|
108
96
|
export declare namespace PausedEvent {
|
|
109
97
|
type InputTuple = [account: AddressLike];
|
|
110
98
|
type OutputTuple = [account: string];
|
|
@@ -243,26 +231,6 @@ export interface ERC20MinterBurnerPauserPermit extends BaseContract {
|
|
|
243
231
|
], [
|
|
244
232
|
boolean
|
|
245
233
|
], "nonpayable">;
|
|
246
|
-
eip712Domain: TypedContractMethod<[
|
|
247
|
-
], [
|
|
248
|
-
[
|
|
249
|
-
string,
|
|
250
|
-
string,
|
|
251
|
-
string,
|
|
252
|
-
bigint,
|
|
253
|
-
string,
|
|
254
|
-
string,
|
|
255
|
-
bigint[]
|
|
256
|
-
] & {
|
|
257
|
-
fields: string;
|
|
258
|
-
name: string;
|
|
259
|
-
version: string;
|
|
260
|
-
chainId: bigint;
|
|
261
|
-
verifyingContract: string;
|
|
262
|
-
salt: string;
|
|
263
|
-
extensions: bigint[];
|
|
264
|
-
}
|
|
265
|
-
], "view">;
|
|
266
234
|
getRoleAdmin: TypedContractMethod<[role: BytesLike], [string], "view">;
|
|
267
235
|
getRoleMember: TypedContractMethod<[
|
|
268
236
|
role: BytesLike,
|
|
@@ -384,26 +352,6 @@ export interface ERC20MinterBurnerPauserPermit extends BaseContract {
|
|
|
384
352
|
], [
|
|
385
353
|
boolean
|
|
386
354
|
], "nonpayable">;
|
|
387
|
-
getFunction(nameOrSignature: "eip712Domain"): TypedContractMethod<[
|
|
388
|
-
], [
|
|
389
|
-
[
|
|
390
|
-
string,
|
|
391
|
-
string,
|
|
392
|
-
string,
|
|
393
|
-
bigint,
|
|
394
|
-
string,
|
|
395
|
-
string,
|
|
396
|
-
bigint[]
|
|
397
|
-
] & {
|
|
398
|
-
fields: string;
|
|
399
|
-
name: string;
|
|
400
|
-
version: string;
|
|
401
|
-
chainId: bigint;
|
|
402
|
-
verifyingContract: string;
|
|
403
|
-
salt: string;
|
|
404
|
-
extensions: bigint[];
|
|
405
|
-
}
|
|
406
|
-
], "view">;
|
|
407
355
|
getFunction(nameOrSignature: "getRoleAdmin"): TypedContractMethod<[role: BytesLike], [string], "view">;
|
|
408
356
|
getFunction(nameOrSignature: "getRoleMember"): TypedContractMethod<[
|
|
409
357
|
role: BytesLike,
|
|
@@ -490,7 +438,6 @@ export interface ERC20MinterBurnerPauserPermit extends BaseContract {
|
|
|
490
438
|
], "nonpayable">;
|
|
491
439
|
getFunction(nameOrSignature: "unpause"): TypedContractMethod<[], [void], "nonpayable">;
|
|
492
440
|
getEvent(key: "Approval"): TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
493
|
-
getEvent(key: "EIP712DomainChanged"): TypedContractEvent<EIP712DomainChangedEvent.InputTuple, EIP712DomainChangedEvent.OutputTuple, EIP712DomainChangedEvent.OutputObject>;
|
|
494
441
|
getEvent(key: "Paused"): TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
495
442
|
getEvent(key: "RoleAdminChanged"): TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
496
443
|
getEvent(key: "RoleGranted"): TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
|
|
@@ -500,8 +447,6 @@ export interface ERC20MinterBurnerPauserPermit extends BaseContract {
|
|
|
500
447
|
filters: {
|
|
501
448
|
"Approval(address,address,uint256)": TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
502
449
|
Approval: TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
503
|
-
"EIP712DomainChanged()": TypedContractEvent<EIP712DomainChangedEvent.InputTuple, EIP712DomainChangedEvent.OutputTuple, EIP712DomainChangedEvent.OutputObject>;
|
|
504
|
-
EIP712DomainChanged: TypedContractEvent<EIP712DomainChangedEvent.InputTuple, EIP712DomainChangedEvent.OutputTuple, EIP712DomainChangedEvent.OutputObject>;
|
|
505
450
|
"Paused(address)": TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
506
451
|
Paused: TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
507
452
|
"RoleAdminChanged(bytes32,bytes32,bytes32)": TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
|
|
3
|
+
export interface FixedInterestRateModelInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "acceptOwnership" | "blocksPerYear" | "borrowRate" | "getBorrowRate" | "getSupplyRate" | "isInterestRateModel" | "owner" | "pendingOwner" | "renounceOwnership" | "setBorrowRate" | "setSupplyRate" | "supplyRate" | "transferOwnership"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "OwnershipTransferStarted" | "OwnershipTransferred"): EventFragment;
|
|
6
|
+
encodeFunctionData(functionFragment: "acceptOwnership", values?: undefined): string;
|
|
7
|
+
encodeFunctionData(functionFragment: "blocksPerYear", values?: undefined): string;
|
|
8
|
+
encodeFunctionData(functionFragment: "borrowRate", values?: undefined): string;
|
|
9
|
+
encodeFunctionData(functionFragment: "getBorrowRate", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
10
|
+
encodeFunctionData(functionFragment: "getSupplyRate", values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]): string;
|
|
11
|
+
encodeFunctionData(functionFragment: "isInterestRateModel", values?: undefined): string;
|
|
12
|
+
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
|
13
|
+
encodeFunctionData(functionFragment: "pendingOwner", values?: undefined): string;
|
|
14
|
+
encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string;
|
|
15
|
+
encodeFunctionData(functionFragment: "setBorrowRate", values: [BigNumberish]): string;
|
|
16
|
+
encodeFunctionData(functionFragment: "setSupplyRate", values: [BigNumberish]): string;
|
|
17
|
+
encodeFunctionData(functionFragment: "supplyRate", values?: undefined): string;
|
|
18
|
+
encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string;
|
|
19
|
+
decodeFunctionResult(functionFragment: "acceptOwnership", data: BytesLike): Result;
|
|
20
|
+
decodeFunctionResult(functionFragment: "blocksPerYear", data: BytesLike): Result;
|
|
21
|
+
decodeFunctionResult(functionFragment: "borrowRate", data: BytesLike): Result;
|
|
22
|
+
decodeFunctionResult(functionFragment: "getBorrowRate", data: BytesLike): Result;
|
|
23
|
+
decodeFunctionResult(functionFragment: "getSupplyRate", data: BytesLike): Result;
|
|
24
|
+
decodeFunctionResult(functionFragment: "isInterestRateModel", data: BytesLike): Result;
|
|
25
|
+
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
|
|
26
|
+
decodeFunctionResult(functionFragment: "pendingOwner", data: BytesLike): Result;
|
|
27
|
+
decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result;
|
|
28
|
+
decodeFunctionResult(functionFragment: "setBorrowRate", data: BytesLike): Result;
|
|
29
|
+
decodeFunctionResult(functionFragment: "setSupplyRate", data: BytesLike): Result;
|
|
30
|
+
decodeFunctionResult(functionFragment: "supplyRate", data: BytesLike): Result;
|
|
31
|
+
decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
|
|
32
|
+
}
|
|
33
|
+
export declare namespace OwnershipTransferStartedEvent {
|
|
34
|
+
type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
|
|
35
|
+
type OutputTuple = [previousOwner: string, newOwner: string];
|
|
36
|
+
interface OutputObject {
|
|
37
|
+
previousOwner: string;
|
|
38
|
+
newOwner: string;
|
|
39
|
+
}
|
|
40
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
41
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
42
|
+
type Log = TypedEventLog<Event>;
|
|
43
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
44
|
+
}
|
|
45
|
+
export declare namespace OwnershipTransferredEvent {
|
|
46
|
+
type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
|
|
47
|
+
type OutputTuple = [previousOwner: string, newOwner: string];
|
|
48
|
+
interface OutputObject {
|
|
49
|
+
previousOwner: string;
|
|
50
|
+
newOwner: string;
|
|
51
|
+
}
|
|
52
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
53
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
54
|
+
type Log = TypedEventLog<Event>;
|
|
55
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
56
|
+
}
|
|
57
|
+
export interface FixedInterestRateModel extends BaseContract {
|
|
58
|
+
connect(runner?: ContractRunner | null): FixedInterestRateModel;
|
|
59
|
+
waitForDeployment(): Promise<this>;
|
|
60
|
+
interface: FixedInterestRateModelInterface;
|
|
61
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
62
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
63
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
64
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
65
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
66
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
67
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
68
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
69
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
70
|
+
acceptOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
|
71
|
+
blocksPerYear: TypedContractMethod<[], [bigint], "view">;
|
|
72
|
+
borrowRate: TypedContractMethod<[], [bigint], "view">;
|
|
73
|
+
getBorrowRate: TypedContractMethod<[
|
|
74
|
+
cash: BigNumberish,
|
|
75
|
+
borrows: BigNumberish,
|
|
76
|
+
reserves: BigNumberish
|
|
77
|
+
], [
|
|
78
|
+
bigint
|
|
79
|
+
], "view">;
|
|
80
|
+
getSupplyRate: TypedContractMethod<[
|
|
81
|
+
cash: BigNumberish,
|
|
82
|
+
borrows: BigNumberish,
|
|
83
|
+
reserves: BigNumberish,
|
|
84
|
+
reserveFactorMantissa: BigNumberish
|
|
85
|
+
], [
|
|
86
|
+
bigint
|
|
87
|
+
], "view">;
|
|
88
|
+
isInterestRateModel: TypedContractMethod<[], [boolean], "view">;
|
|
89
|
+
owner: TypedContractMethod<[], [string], "view">;
|
|
90
|
+
pendingOwner: TypedContractMethod<[], [string], "view">;
|
|
91
|
+
renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
|
92
|
+
setBorrowRate: TypedContractMethod<[
|
|
93
|
+
rate: BigNumberish
|
|
94
|
+
], [
|
|
95
|
+
void
|
|
96
|
+
], "nonpayable">;
|
|
97
|
+
setSupplyRate: TypedContractMethod<[
|
|
98
|
+
rate: BigNumberish
|
|
99
|
+
], [
|
|
100
|
+
void
|
|
101
|
+
], "nonpayable">;
|
|
102
|
+
supplyRate: TypedContractMethod<[], [bigint], "view">;
|
|
103
|
+
transferOwnership: TypedContractMethod<[
|
|
104
|
+
newOwner: AddressLike
|
|
105
|
+
], [
|
|
106
|
+
void
|
|
107
|
+
], "nonpayable">;
|
|
108
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
109
|
+
getFunction(nameOrSignature: "acceptOwnership"): TypedContractMethod<[], [void], "nonpayable">;
|
|
110
|
+
getFunction(nameOrSignature: "blocksPerYear"): TypedContractMethod<[], [bigint], "view">;
|
|
111
|
+
getFunction(nameOrSignature: "borrowRate"): TypedContractMethod<[], [bigint], "view">;
|
|
112
|
+
getFunction(nameOrSignature: "getBorrowRate"): TypedContractMethod<[
|
|
113
|
+
cash: BigNumberish,
|
|
114
|
+
borrows: BigNumberish,
|
|
115
|
+
reserves: BigNumberish
|
|
116
|
+
], [
|
|
117
|
+
bigint
|
|
118
|
+
], "view">;
|
|
119
|
+
getFunction(nameOrSignature: "getSupplyRate"): TypedContractMethod<[
|
|
120
|
+
cash: BigNumberish,
|
|
121
|
+
borrows: BigNumberish,
|
|
122
|
+
reserves: BigNumberish,
|
|
123
|
+
reserveFactorMantissa: BigNumberish
|
|
124
|
+
], [
|
|
125
|
+
bigint
|
|
126
|
+
], "view">;
|
|
127
|
+
getFunction(nameOrSignature: "isInterestRateModel"): TypedContractMethod<[], [boolean], "view">;
|
|
128
|
+
getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">;
|
|
129
|
+
getFunction(nameOrSignature: "pendingOwner"): TypedContractMethod<[], [string], "view">;
|
|
130
|
+
getFunction(nameOrSignature: "renounceOwnership"): TypedContractMethod<[], [void], "nonpayable">;
|
|
131
|
+
getFunction(nameOrSignature: "setBorrowRate"): TypedContractMethod<[rate: BigNumberish], [void], "nonpayable">;
|
|
132
|
+
getFunction(nameOrSignature: "setSupplyRate"): TypedContractMethod<[rate: BigNumberish], [void], "nonpayable">;
|
|
133
|
+
getFunction(nameOrSignature: "supplyRate"): TypedContractMethod<[], [bigint], "view">;
|
|
134
|
+
getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
|
|
135
|
+
getEvent(key: "OwnershipTransferStarted"): TypedContractEvent<OwnershipTransferStartedEvent.InputTuple, OwnershipTransferStartedEvent.OutputTuple, OwnershipTransferStartedEvent.OutputObject>;
|
|
136
|
+
getEvent(key: "OwnershipTransferred"): TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
137
|
+
filters: {
|
|
138
|
+
"OwnershipTransferStarted(address,address)": TypedContractEvent<OwnershipTransferStartedEvent.InputTuple, OwnershipTransferStartedEvent.OutputTuple, OwnershipTransferStartedEvent.OutputObject>;
|
|
139
|
+
OwnershipTransferStarted: TypedContractEvent<OwnershipTransferStartedEvent.InputTuple, OwnershipTransferStartedEvent.OutputTuple, OwnershipTransferStartedEvent.OutputObject>;
|
|
140
|
+
"OwnershipTransferred(address,address)": TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
141
|
+
OwnershipTransferred: TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
142
|
+
};
|
|
143
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FixedInterestRateModel.js","sourceRoot":"","sources":["../../../../../src/typechain/contracts/InterestRateModel/FixedInterestRateModel.ts"],"names":[],"mappings":""}
|
|
@@ -1,13 +1,48 @@
|
|
|
1
|
-
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
-
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../common";
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
|
|
3
3
|
export interface InterestRateModelInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "getBorrowRate" | "getSupplyRate" | "isInterestRateModel"): FunctionFragment;
|
|
4
|
+
getFunction(nameOrSignature: "acceptOwnership" | "getBorrowRate" | "getSupplyRate" | "isInterestRateModel" | "owner" | "pendingOwner" | "renounceOwnership" | "transferOwnership"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "OwnershipTransferStarted" | "OwnershipTransferred"): EventFragment;
|
|
6
|
+
encodeFunctionData(functionFragment: "acceptOwnership", values?: undefined): string;
|
|
5
7
|
encodeFunctionData(functionFragment: "getBorrowRate", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
6
8
|
encodeFunctionData(functionFragment: "getSupplyRate", values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]): string;
|
|
7
9
|
encodeFunctionData(functionFragment: "isInterestRateModel", values?: undefined): string;
|
|
10
|
+
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
|
11
|
+
encodeFunctionData(functionFragment: "pendingOwner", values?: undefined): string;
|
|
12
|
+
encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string;
|
|
13
|
+
encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string;
|
|
14
|
+
decodeFunctionResult(functionFragment: "acceptOwnership", data: BytesLike): Result;
|
|
8
15
|
decodeFunctionResult(functionFragment: "getBorrowRate", data: BytesLike): Result;
|
|
9
16
|
decodeFunctionResult(functionFragment: "getSupplyRate", data: BytesLike): Result;
|
|
10
17
|
decodeFunctionResult(functionFragment: "isInterestRateModel", data: BytesLike): Result;
|
|
18
|
+
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
|
|
19
|
+
decodeFunctionResult(functionFragment: "pendingOwner", data: BytesLike): Result;
|
|
20
|
+
decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result;
|
|
21
|
+
decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace OwnershipTransferStartedEvent {
|
|
24
|
+
type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
|
|
25
|
+
type OutputTuple = [previousOwner: string, newOwner: string];
|
|
26
|
+
interface OutputObject {
|
|
27
|
+
previousOwner: string;
|
|
28
|
+
newOwner: string;
|
|
29
|
+
}
|
|
30
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
31
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
32
|
+
type Log = TypedEventLog<Event>;
|
|
33
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
34
|
+
}
|
|
35
|
+
export declare namespace OwnershipTransferredEvent {
|
|
36
|
+
type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
|
|
37
|
+
type OutputTuple = [previousOwner: string, newOwner: string];
|
|
38
|
+
interface OutputObject {
|
|
39
|
+
previousOwner: string;
|
|
40
|
+
newOwner: string;
|
|
41
|
+
}
|
|
42
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
43
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
44
|
+
type Log = TypedEventLog<Event>;
|
|
45
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
11
46
|
}
|
|
12
47
|
export interface InterestRateModel extends BaseContract {
|
|
13
48
|
connect(runner?: ContractRunner | null): InterestRateModel;
|
|
@@ -22,6 +57,7 @@ export interface InterestRateModel extends BaseContract {
|
|
|
22
57
|
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
23
58
|
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
24
59
|
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
60
|
+
acceptOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
|
25
61
|
getBorrowRate: TypedContractMethod<[
|
|
26
62
|
cash: BigNumberish,
|
|
27
63
|
borrows: BigNumberish,
|
|
@@ -38,7 +74,16 @@ export interface InterestRateModel extends BaseContract {
|
|
|
38
74
|
bigint
|
|
39
75
|
], "view">;
|
|
40
76
|
isInterestRateModel: TypedContractMethod<[], [boolean], "view">;
|
|
77
|
+
owner: TypedContractMethod<[], [string], "view">;
|
|
78
|
+
pendingOwner: TypedContractMethod<[], [string], "view">;
|
|
79
|
+
renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
|
80
|
+
transferOwnership: TypedContractMethod<[
|
|
81
|
+
newOwner: AddressLike
|
|
82
|
+
], [
|
|
83
|
+
void
|
|
84
|
+
], "nonpayable">;
|
|
41
85
|
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
86
|
+
getFunction(nameOrSignature: "acceptOwnership"): TypedContractMethod<[], [void], "nonpayable">;
|
|
42
87
|
getFunction(nameOrSignature: "getBorrowRate"): TypedContractMethod<[
|
|
43
88
|
cash: BigNumberish,
|
|
44
89
|
borrows: BigNumberish,
|
|
@@ -55,5 +100,16 @@ export interface InterestRateModel extends BaseContract {
|
|
|
55
100
|
bigint
|
|
56
101
|
], "view">;
|
|
57
102
|
getFunction(nameOrSignature: "isInterestRateModel"): TypedContractMethod<[], [boolean], "view">;
|
|
58
|
-
|
|
103
|
+
getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">;
|
|
104
|
+
getFunction(nameOrSignature: "pendingOwner"): TypedContractMethod<[], [string], "view">;
|
|
105
|
+
getFunction(nameOrSignature: "renounceOwnership"): TypedContractMethod<[], [void], "nonpayable">;
|
|
106
|
+
getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
|
|
107
|
+
getEvent(key: "OwnershipTransferStarted"): TypedContractEvent<OwnershipTransferStartedEvent.InputTuple, OwnershipTransferStartedEvent.OutputTuple, OwnershipTransferStartedEvent.OutputObject>;
|
|
108
|
+
getEvent(key: "OwnershipTransferred"): TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
109
|
+
filters: {
|
|
110
|
+
"OwnershipTransferStarted(address,address)": TypedContractEvent<OwnershipTransferStartedEvent.InputTuple, OwnershipTransferStartedEvent.OutputTuple, OwnershipTransferStartedEvent.OutputObject>;
|
|
111
|
+
OwnershipTransferStarted: TypedContractEvent<OwnershipTransferStartedEvent.InputTuple, OwnershipTransferStartedEvent.OutputTuple, OwnershipTransferStartedEvent.OutputObject>;
|
|
112
|
+
"OwnershipTransferred(address,address)": TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
113
|
+
OwnershipTransferred: TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
114
|
+
};
|
|
59
115
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
|
|
3
3
|
export interface JumpRateModelV2Interface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "baseRatePerBlock" | "blocksPerYear" | "getBorrowRate" | "getSupplyRate" | "isInterestRateModel" | "jumpMultiplierPerBlock" | "kink" | "multiplierPerBlock" | "owner" | "updateJumpRateModel" | "utilizationRate"): FunctionFragment;
|
|
5
|
-
getEvent(nameOrSignatureOrTopic: "NewInterestParams"): EventFragment;
|
|
4
|
+
getFunction(nameOrSignature: "acceptOwnership" | "baseRatePerBlock" | "blocksPerYear" | "getBorrowRate" | "getSupplyRate" | "isInterestRateModel" | "jumpMultiplierPerBlock" | "kink" | "multiplierPerBlock" | "owner" | "pendingOwner" | "renounceOwnership" | "transferOwnership" | "updateJumpRateModel" | "utilizationRate"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "NewInterestParams" | "OwnershipTransferStarted" | "OwnershipTransferred"): EventFragment;
|
|
6
|
+
encodeFunctionData(functionFragment: "acceptOwnership", values?: undefined): string;
|
|
6
7
|
encodeFunctionData(functionFragment: "baseRatePerBlock", values?: undefined): string;
|
|
7
8
|
encodeFunctionData(functionFragment: "blocksPerYear", values?: undefined): string;
|
|
8
9
|
encodeFunctionData(functionFragment: "getBorrowRate", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
@@ -12,8 +13,12 @@ export interface JumpRateModelV2Interface extends Interface {
|
|
|
12
13
|
encodeFunctionData(functionFragment: "kink", values?: undefined): string;
|
|
13
14
|
encodeFunctionData(functionFragment: "multiplierPerBlock", values?: undefined): string;
|
|
14
15
|
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
|
16
|
+
encodeFunctionData(functionFragment: "pendingOwner", values?: undefined): string;
|
|
17
|
+
encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string;
|
|
18
|
+
encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string;
|
|
15
19
|
encodeFunctionData(functionFragment: "updateJumpRateModel", values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]): string;
|
|
16
20
|
encodeFunctionData(functionFragment: "utilizationRate", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
21
|
+
decodeFunctionResult(functionFragment: "acceptOwnership", data: BytesLike): Result;
|
|
17
22
|
decodeFunctionResult(functionFragment: "baseRatePerBlock", data: BytesLike): Result;
|
|
18
23
|
decodeFunctionResult(functionFragment: "blocksPerYear", data: BytesLike): Result;
|
|
19
24
|
decodeFunctionResult(functionFragment: "getBorrowRate", data: BytesLike): Result;
|
|
@@ -23,6 +28,9 @@ export interface JumpRateModelV2Interface extends Interface {
|
|
|
23
28
|
decodeFunctionResult(functionFragment: "kink", data: BytesLike): Result;
|
|
24
29
|
decodeFunctionResult(functionFragment: "multiplierPerBlock", data: BytesLike): Result;
|
|
25
30
|
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
|
|
31
|
+
decodeFunctionResult(functionFragment: "pendingOwner", data: BytesLike): Result;
|
|
32
|
+
decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result;
|
|
33
|
+
decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
|
|
26
34
|
decodeFunctionResult(functionFragment: "updateJumpRateModel", data: BytesLike): Result;
|
|
27
35
|
decodeFunctionResult(functionFragment: "utilizationRate", data: BytesLike): Result;
|
|
28
36
|
}
|
|
@@ -50,6 +58,30 @@ export declare namespace NewInterestParamsEvent {
|
|
|
50
58
|
type Log = TypedEventLog<Event>;
|
|
51
59
|
type LogDescription = TypedLogDescription<Event>;
|
|
52
60
|
}
|
|
61
|
+
export declare namespace OwnershipTransferStartedEvent {
|
|
62
|
+
type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
|
|
63
|
+
type OutputTuple = [previousOwner: string, newOwner: string];
|
|
64
|
+
interface OutputObject {
|
|
65
|
+
previousOwner: string;
|
|
66
|
+
newOwner: string;
|
|
67
|
+
}
|
|
68
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
69
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
70
|
+
type Log = TypedEventLog<Event>;
|
|
71
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
72
|
+
}
|
|
73
|
+
export declare namespace OwnershipTransferredEvent {
|
|
74
|
+
type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
|
|
75
|
+
type OutputTuple = [previousOwner: string, newOwner: string];
|
|
76
|
+
interface OutputObject {
|
|
77
|
+
previousOwner: string;
|
|
78
|
+
newOwner: string;
|
|
79
|
+
}
|
|
80
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
81
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
82
|
+
type Log = TypedEventLog<Event>;
|
|
83
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
84
|
+
}
|
|
53
85
|
export interface JumpRateModelV2 extends BaseContract {
|
|
54
86
|
connect(runner?: ContractRunner | null): JumpRateModelV2;
|
|
55
87
|
waitForDeployment(): Promise<this>;
|
|
@@ -63,6 +95,7 @@ export interface JumpRateModelV2 extends BaseContract {
|
|
|
63
95
|
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
64
96
|
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
65
97
|
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
98
|
+
acceptOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
|
66
99
|
baseRatePerBlock: TypedContractMethod<[], [bigint], "view">;
|
|
67
100
|
blocksPerYear: TypedContractMethod<[], [bigint], "view">;
|
|
68
101
|
getBorrowRate: TypedContractMethod<[
|
|
@@ -85,6 +118,13 @@ export interface JumpRateModelV2 extends BaseContract {
|
|
|
85
118
|
kink: TypedContractMethod<[], [bigint], "view">;
|
|
86
119
|
multiplierPerBlock: TypedContractMethod<[], [bigint], "view">;
|
|
87
120
|
owner: TypedContractMethod<[], [string], "view">;
|
|
121
|
+
pendingOwner: TypedContractMethod<[], [string], "view">;
|
|
122
|
+
renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
|
123
|
+
transferOwnership: TypedContractMethod<[
|
|
124
|
+
newOwner: AddressLike
|
|
125
|
+
], [
|
|
126
|
+
void
|
|
127
|
+
], "nonpayable">;
|
|
88
128
|
updateJumpRateModel: TypedContractMethod<[
|
|
89
129
|
baseRatePerYear: BigNumberish,
|
|
90
130
|
multiplierPerYear: BigNumberish,
|
|
@@ -101,6 +141,7 @@ export interface JumpRateModelV2 extends BaseContract {
|
|
|
101
141
|
bigint
|
|
102
142
|
], "view">;
|
|
103
143
|
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
144
|
+
getFunction(nameOrSignature: "acceptOwnership"): TypedContractMethod<[], [void], "nonpayable">;
|
|
104
145
|
getFunction(nameOrSignature: "baseRatePerBlock"): TypedContractMethod<[], [bigint], "view">;
|
|
105
146
|
getFunction(nameOrSignature: "blocksPerYear"): TypedContractMethod<[], [bigint], "view">;
|
|
106
147
|
getFunction(nameOrSignature: "getBorrowRate"): TypedContractMethod<[
|
|
@@ -123,6 +164,9 @@ export interface JumpRateModelV2 extends BaseContract {
|
|
|
123
164
|
getFunction(nameOrSignature: "kink"): TypedContractMethod<[], [bigint], "view">;
|
|
124
165
|
getFunction(nameOrSignature: "multiplierPerBlock"): TypedContractMethod<[], [bigint], "view">;
|
|
125
166
|
getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">;
|
|
167
|
+
getFunction(nameOrSignature: "pendingOwner"): TypedContractMethod<[], [string], "view">;
|
|
168
|
+
getFunction(nameOrSignature: "renounceOwnership"): TypedContractMethod<[], [void], "nonpayable">;
|
|
169
|
+
getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
|
|
126
170
|
getFunction(nameOrSignature: "updateJumpRateModel"): TypedContractMethod<[
|
|
127
171
|
baseRatePerYear: BigNumberish,
|
|
128
172
|
multiplierPerYear: BigNumberish,
|
|
@@ -139,8 +183,14 @@ export interface JumpRateModelV2 extends BaseContract {
|
|
|
139
183
|
bigint
|
|
140
184
|
], "view">;
|
|
141
185
|
getEvent(key: "NewInterestParams"): TypedContractEvent<NewInterestParamsEvent.InputTuple, NewInterestParamsEvent.OutputTuple, NewInterestParamsEvent.OutputObject>;
|
|
186
|
+
getEvent(key: "OwnershipTransferStarted"): TypedContractEvent<OwnershipTransferStartedEvent.InputTuple, OwnershipTransferStartedEvent.OutputTuple, OwnershipTransferStartedEvent.OutputObject>;
|
|
187
|
+
getEvent(key: "OwnershipTransferred"): TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
142
188
|
filters: {
|
|
143
189
|
"NewInterestParams(uint256,uint256,uint256,uint256)": TypedContractEvent<NewInterestParamsEvent.InputTuple, NewInterestParamsEvent.OutputTuple, NewInterestParamsEvent.OutputObject>;
|
|
144
190
|
NewInterestParams: TypedContractEvent<NewInterestParamsEvent.InputTuple, NewInterestParamsEvent.OutputTuple, NewInterestParamsEvent.OutputObject>;
|
|
191
|
+
"OwnershipTransferStarted(address,address)": TypedContractEvent<OwnershipTransferStartedEvent.InputTuple, OwnershipTransferStartedEvent.OutputTuple, OwnershipTransferStartedEvent.OutputObject>;
|
|
192
|
+
OwnershipTransferStarted: TypedContractEvent<OwnershipTransferStartedEvent.InputTuple, OwnershipTransferStartedEvent.OutputTuple, OwnershipTransferStartedEvent.OutputObject>;
|
|
193
|
+
"OwnershipTransferred(address,address)": TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
194
|
+
OwnershipTransferred: TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
145
195
|
};
|
|
146
196
|
}
|
|
@@ -1,21 +1,31 @@
|
|
|
1
|
-
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
|
|
3
3
|
export interface WhitePaperInterestRateModelInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "baseRatePerBlock" | "blocksPerYear" | "getBorrowRate" | "getSupplyRate" | "isInterestRateModel" | "multiplierPerBlock" | "utilizationRate"): FunctionFragment;
|
|
5
|
-
getEvent(nameOrSignatureOrTopic: "NewInterestParams"): EventFragment;
|
|
4
|
+
getFunction(nameOrSignature: "acceptOwnership" | "baseRatePerBlock" | "blocksPerYear" | "getBorrowRate" | "getSupplyRate" | "isInterestRateModel" | "multiplierPerBlock" | "owner" | "pendingOwner" | "renounceOwnership" | "transferOwnership" | "utilizationRate"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "NewInterestParams" | "OwnershipTransferStarted" | "OwnershipTransferred"): EventFragment;
|
|
6
|
+
encodeFunctionData(functionFragment: "acceptOwnership", values?: undefined): string;
|
|
6
7
|
encodeFunctionData(functionFragment: "baseRatePerBlock", values?: undefined): string;
|
|
7
8
|
encodeFunctionData(functionFragment: "blocksPerYear", values?: undefined): string;
|
|
8
9
|
encodeFunctionData(functionFragment: "getBorrowRate", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
9
10
|
encodeFunctionData(functionFragment: "getSupplyRate", values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]): string;
|
|
10
11
|
encodeFunctionData(functionFragment: "isInterestRateModel", values?: undefined): string;
|
|
11
12
|
encodeFunctionData(functionFragment: "multiplierPerBlock", values?: undefined): string;
|
|
13
|
+
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
|
14
|
+
encodeFunctionData(functionFragment: "pendingOwner", values?: undefined): string;
|
|
15
|
+
encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string;
|
|
16
|
+
encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string;
|
|
12
17
|
encodeFunctionData(functionFragment: "utilizationRate", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
18
|
+
decodeFunctionResult(functionFragment: "acceptOwnership", data: BytesLike): Result;
|
|
13
19
|
decodeFunctionResult(functionFragment: "baseRatePerBlock", data: BytesLike): Result;
|
|
14
20
|
decodeFunctionResult(functionFragment: "blocksPerYear", data: BytesLike): Result;
|
|
15
21
|
decodeFunctionResult(functionFragment: "getBorrowRate", data: BytesLike): Result;
|
|
16
22
|
decodeFunctionResult(functionFragment: "getSupplyRate", data: BytesLike): Result;
|
|
17
23
|
decodeFunctionResult(functionFragment: "isInterestRateModel", data: BytesLike): Result;
|
|
18
24
|
decodeFunctionResult(functionFragment: "multiplierPerBlock", data: BytesLike): Result;
|
|
25
|
+
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
|
|
26
|
+
decodeFunctionResult(functionFragment: "pendingOwner", data: BytesLike): Result;
|
|
27
|
+
decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result;
|
|
28
|
+
decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
|
|
19
29
|
decodeFunctionResult(functionFragment: "utilizationRate", data: BytesLike): Result;
|
|
20
30
|
}
|
|
21
31
|
export declare namespace NewInterestParamsEvent {
|
|
@@ -39,6 +49,30 @@ export declare namespace NewInterestParamsEvent {
|
|
|
39
49
|
type Log = TypedEventLog<Event>;
|
|
40
50
|
type LogDescription = TypedLogDescription<Event>;
|
|
41
51
|
}
|
|
52
|
+
export declare namespace OwnershipTransferStartedEvent {
|
|
53
|
+
type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
|
|
54
|
+
type OutputTuple = [previousOwner: string, newOwner: string];
|
|
55
|
+
interface OutputObject {
|
|
56
|
+
previousOwner: string;
|
|
57
|
+
newOwner: string;
|
|
58
|
+
}
|
|
59
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
60
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
61
|
+
type Log = TypedEventLog<Event>;
|
|
62
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
63
|
+
}
|
|
64
|
+
export declare namespace OwnershipTransferredEvent {
|
|
65
|
+
type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
|
|
66
|
+
type OutputTuple = [previousOwner: string, newOwner: string];
|
|
67
|
+
interface OutputObject {
|
|
68
|
+
previousOwner: string;
|
|
69
|
+
newOwner: string;
|
|
70
|
+
}
|
|
71
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
72
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
73
|
+
type Log = TypedEventLog<Event>;
|
|
74
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
75
|
+
}
|
|
42
76
|
export interface WhitePaperInterestRateModel extends BaseContract {
|
|
43
77
|
connect(runner?: ContractRunner | null): WhitePaperInterestRateModel;
|
|
44
78
|
waitForDeployment(): Promise<this>;
|
|
@@ -52,6 +86,7 @@ export interface WhitePaperInterestRateModel extends BaseContract {
|
|
|
52
86
|
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
53
87
|
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
54
88
|
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
89
|
+
acceptOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
|
55
90
|
baseRatePerBlock: TypedContractMethod<[], [bigint], "view">;
|
|
56
91
|
blocksPerYear: TypedContractMethod<[], [bigint], "view">;
|
|
57
92
|
getBorrowRate: TypedContractMethod<[
|
|
@@ -71,6 +106,14 @@ export interface WhitePaperInterestRateModel extends BaseContract {
|
|
|
71
106
|
], "view">;
|
|
72
107
|
isInterestRateModel: TypedContractMethod<[], [boolean], "view">;
|
|
73
108
|
multiplierPerBlock: TypedContractMethod<[], [bigint], "view">;
|
|
109
|
+
owner: TypedContractMethod<[], [string], "view">;
|
|
110
|
+
pendingOwner: TypedContractMethod<[], [string], "view">;
|
|
111
|
+
renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
|
112
|
+
transferOwnership: TypedContractMethod<[
|
|
113
|
+
newOwner: AddressLike
|
|
114
|
+
], [
|
|
115
|
+
void
|
|
116
|
+
], "nonpayable">;
|
|
74
117
|
utilizationRate: TypedContractMethod<[
|
|
75
118
|
cash: BigNumberish,
|
|
76
119
|
borrows: BigNumberish,
|
|
@@ -79,6 +122,7 @@ export interface WhitePaperInterestRateModel extends BaseContract {
|
|
|
79
122
|
bigint
|
|
80
123
|
], "view">;
|
|
81
124
|
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
125
|
+
getFunction(nameOrSignature: "acceptOwnership"): TypedContractMethod<[], [void], "nonpayable">;
|
|
82
126
|
getFunction(nameOrSignature: "baseRatePerBlock"): TypedContractMethod<[], [bigint], "view">;
|
|
83
127
|
getFunction(nameOrSignature: "blocksPerYear"): TypedContractMethod<[], [bigint], "view">;
|
|
84
128
|
getFunction(nameOrSignature: "getBorrowRate"): TypedContractMethod<[
|
|
@@ -98,6 +142,10 @@ export interface WhitePaperInterestRateModel extends BaseContract {
|
|
|
98
142
|
], "view">;
|
|
99
143
|
getFunction(nameOrSignature: "isInterestRateModel"): TypedContractMethod<[], [boolean], "view">;
|
|
100
144
|
getFunction(nameOrSignature: "multiplierPerBlock"): TypedContractMethod<[], [bigint], "view">;
|
|
145
|
+
getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">;
|
|
146
|
+
getFunction(nameOrSignature: "pendingOwner"): TypedContractMethod<[], [string], "view">;
|
|
147
|
+
getFunction(nameOrSignature: "renounceOwnership"): TypedContractMethod<[], [void], "nonpayable">;
|
|
148
|
+
getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
|
|
101
149
|
getFunction(nameOrSignature: "utilizationRate"): TypedContractMethod<[
|
|
102
150
|
cash: BigNumberish,
|
|
103
151
|
borrows: BigNumberish,
|
|
@@ -106,8 +154,14 @@ export interface WhitePaperInterestRateModel extends BaseContract {
|
|
|
106
154
|
bigint
|
|
107
155
|
], "view">;
|
|
108
156
|
getEvent(key: "NewInterestParams"): TypedContractEvent<NewInterestParamsEvent.InputTuple, NewInterestParamsEvent.OutputTuple, NewInterestParamsEvent.OutputObject>;
|
|
157
|
+
getEvent(key: "OwnershipTransferStarted"): TypedContractEvent<OwnershipTransferStartedEvent.InputTuple, OwnershipTransferStartedEvent.OutputTuple, OwnershipTransferStartedEvent.OutputObject>;
|
|
158
|
+
getEvent(key: "OwnershipTransferred"): TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
109
159
|
filters: {
|
|
110
160
|
"NewInterestParams(uint256,uint256,uint256)": TypedContractEvent<NewInterestParamsEvent.InputTuple, NewInterestParamsEvent.OutputTuple, NewInterestParamsEvent.OutputObject>;
|
|
111
161
|
NewInterestParams: TypedContractEvent<NewInterestParamsEvent.InputTuple, NewInterestParamsEvent.OutputTuple, NewInterestParamsEvent.OutputObject>;
|
|
162
|
+
"OwnershipTransferStarted(address,address)": TypedContractEvent<OwnershipTransferStartedEvent.InputTuple, OwnershipTransferStartedEvent.OutputTuple, OwnershipTransferStartedEvent.OutputObject>;
|
|
163
|
+
OwnershipTransferStarted: TypedContractEvent<OwnershipTransferStartedEvent.InputTuple, OwnershipTransferStartedEvent.OutputTuple, OwnershipTransferStartedEvent.OutputObject>;
|
|
164
|
+
"OwnershipTransferred(address,address)": TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
165
|
+
OwnershipTransferred: TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
112
166
|
};
|
|
113
167
|
}
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
export type { fixedInterestModelSol };
|
|
3
|
-
import type * as suTokenInterestModelSol from "./suTokenInterestModel.sol";
|
|
4
|
-
export type { suTokenInterestModelSol };
|
|
1
|
+
export type { FixedInterestRateModel } from "./FixedInterestRateModel";
|
|
5
2
|
export type { InterestRateModel } from "./InterestRateModel";
|
|
6
|
-
export type { JumpRateModel } from "./JumpRateModel";
|
|
7
3
|
export type { JumpRateModelV2 } from "./JumpRateModelV2";
|
|
8
4
|
export type { WhitePaperInterestRateModel } from "./WhitePaperInterestRateModel";
|
|
9
|
-
export type { ZeroInterestRateModel } from "./ZeroInterestRateModel";
|