@meterio/sumer-js 0.2.130 → 0.2.131
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 +180 -0
- package/dist/nodejs/abi.js +3155 -50
- package/dist/nodejs/abi.js.map +1 -1
- package/dist/nodejs/constants/arbitrum.js +0 -11
- package/dist/nodejs/constants/arbitrum.js.map +1 -1
- package/dist/nodejs/constants/b2main.js +0 -11
- package/dist/nodejs/constants/b2main.js.map +1 -1
- package/dist/nodejs/constants/basemain.js +0 -11
- package/dist/nodejs/constants/basemain.js.map +1 -1
- package/dist/nodejs/constants/basetest.js +0 -11
- package/dist/nodejs/constants/basetest.js.map +1 -1
- package/dist/nodejs/constants/berabartio.js +0 -11
- package/dist/nodejs/constants/berabartio.js.map +1 -1
- package/dist/nodejs/constants/beramain.js +0 -11
- package/dist/nodejs/constants/beramain.js.map +1 -1
- package/dist/nodejs/constants/bsc.js +0 -11
- package/dist/nodejs/constants/bsc.js.map +1 -1
- package/dist/nodejs/constants/core.js +0 -11
- package/dist/nodejs/constants/core.js.map +1 -1
- package/dist/nodejs/constants/ethereum.js +0 -11
- package/dist/nodejs/constants/ethereum.js.map +1 -1
- package/dist/nodejs/constants/hemi.js +0 -11
- package/dist/nodejs/constants/hemi.js.map +1 -1
- package/dist/nodejs/constants/metertest.js +0 -11
- package/dist/nodejs/constants/metertest.js.map +1 -1
- package/dist/nodejs/constants/monadtest.d.ts +3 -0
- package/dist/nodejs/constants/monadtest.js +17 -13
- package/dist/nodejs/constants/monadtest.js.map +1 -1
- package/dist/nodejs/constants/sepolia.d.ts +17 -2
- package/dist/nodejs/constants/sepolia.js +35 -31
- package/dist/nodejs/constants/sepolia.js.map +1 -1
- package/dist/nodejs/constants/zklink.js +0 -11
- package/dist/nodejs/constants/zklink.js.map +1 -1
- package/dist/nodejs/errorABIs.js +522 -0
- package/dist/nodejs/errorABIs.js.map +1 -1
- package/dist/nodejs/index.d.ts +180 -0
- package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/beacon/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/CAavePool.d.ts +1060 -0
- package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/CAavePool.js +3 -0
- package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/CAavePool.js.map +1 -0
- package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAToken.d.ts +37 -0
- package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAToken.js +3 -0
- package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAToken.js.map +1 -0
- package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAaveV3Pool.d.ts +133 -0
- package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAaveV3Pool.js +3 -0
- package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAaveV3Pool.js.map +1 -0
- package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/index.d.ts +3 -0
- package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/CToken/CErc20.d.ts +17 -1
- package/dist/nodejs/typechain/contracts/CToken/CEther.d.ts +17 -1
- package/dist/nodejs/typechain/contracts/CToken/CToken.d.ts +17 -1
- package/dist/nodejs/typechain/contracts/CToken/CTokenStorage.d.ts +5 -1
- package/dist/nodejs/typechain/contracts/CToken/SuErc20.d.ts +17 -1
- package/dist/nodejs/typechain/contracts/CToken/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/CInfraredVault.d.ts +17 -1
- package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelForAave.sol/IAaveV3Pool.d.ts +133 -0
- package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelForAave.sol/IAaveV3Pool.js +3 -0
- package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelForAave.sol/IAaveV3Pool.js.map +1 -0
- package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelForAave.sol/JumpRateModelForAave.d.ts +196 -0
- package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelForAave.sol/JumpRateModelForAave.js +3 -0
- package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelForAave.sol/JumpRateModelForAave.js.map +1 -0
- package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelForAave.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelForAave.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelForAave.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/InterestRateModel/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter.d.ts +25 -0
- package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/IAprMon.d.ts +37 -0
- package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/IAprMon.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/IAprMon.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/index.js +5 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/CAavePool__factory.d.ts +1733 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/CAavePool__factory.js +2223 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/CAavePool__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAToken__factory.d.ts +55 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAToken__factory.js +84 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAToken__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAaveV3Pool__factory.d.ts +145 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAaveV3Pool__factory.js +199 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAaveV3Pool__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/index.d.ts +3 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/index.js +13 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +35 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +46 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +35 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +46 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.d.ts +14 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js +19 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +34 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +45 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +35 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +46 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/index.js +25 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.d.ts +35 -1
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.js +46 -1
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelForAave.sol/IAaveV3Pool__factory.d.ts +145 -0
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelForAave.sol/IAaveV3Pool__factory.js +199 -0
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelForAave.sol/IAaveV3Pool__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelForAave.sol/JumpRateModelForAave__factory.d.ts +299 -0
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelForAave.sol/JumpRateModelForAave__factory.js +396 -0
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelForAave.sol/JumpRateModelForAave__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelForAave.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelForAave.sol/index.js +11 -0
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelForAave.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.js +25 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter__factory.d.ts +44 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter__factory.js +69 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/IAprMon__factory.d.ts +35 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/IAprMon__factory.js +58 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/IAprMon__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/index.js +11 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +2 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
- package/dist/nodejs/typechain/hardhat.d.ts +162 -0
- package/dist/nodejs/typechain/index.d.ts +16 -0
- package/dist/nodejs/typechain/index.js +19 -3
- package/dist/nodejs/typechain/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ export declare namespace IInfraredVault {
|
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
13
|
export interface CInfraredVaultInterface extends Interface {
|
|
14
|
-
getFunction(nameOrSignature: "_acceptAdmin" | "_addReserves" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "_syncUnderlyingBalance" | "accrualBlockTimestamp" | "accrueInterest" | "admin" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrow" | "borrowAndDepositBack" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowIndex" | "borrowRatePerBlock" | "claimAll" | "claimProtocolRewards" | "comptroller" | "decimals" | "discountRateMantissa" | "earned" | "exchangeRateCurrent" | "exchangeRateStored" | "getAccountSnapshot" | "getCash" | "initialize(address,address,address,uint256,string,string,uint8,address)" | "initialize(address,address,address,uint256,string,string,uint8,address,address)" | "interestRateModel" | "isCEther" | "isCEtherDeprecated" | "isCToken" | "isCTokenDeprecated" | "liquidateBorrow" | "liquidateCalculateSeizeTokens" | "mint" | "mintWithPermit" | "name" | "pendingAdmin" | "percentScale" | "points" | "protocolRewards" | "protocolSeizeShareMantissa" | "redeem" | "redeemUnderlying" | "repayBorrow" | "repayBorrowBehalf" | "repayBorrowWithPermit" | "reserveFactorMantissa" | "seize" | "shareOf" | "supplyRatePerBlock" | "sweepToken" | "symbol" | "tokenType" | "totalBorrows" | "totalBorrowsCurrent" | "totalReserves" | "totalSupply" | "transfer" | "transferFrom" | "underlying" | "underlyingBalance"): FunctionFragment;
|
|
14
|
+
getFunction(nameOrSignature: "_acceptAdmin" | "_addReserves" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "_syncUnderlyingBalance" | "accrualBlockTimestamp" | "accrueInterest" | "admin" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrow" | "borrowAndDepositBack" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowIndex" | "borrowRatePerBlock" | "claimAll" | "claimProtocolRewards" | "comptroller" | "decimals" | "discountRateMantissa" | "earned" | "exchangeRateCurrent" | "exchangeRateStored" | "getAccountSnapshot" | "getCash" | "initialize(address,address,address,uint256,string,string,uint8,address)" | "initialize(address,address,address,uint256,string,string,uint8,address,address)" | "interestRateModel" | "isCEther" | "isCEtherDeprecated" | "isCToken" | "isCTokenDeprecated" | "liquidateBorrow" | "liquidateCalculateSeizeTokens" | "mint" | "mintWithPermit" | "name" | "pendingAdmin" | "percentScale" | "points" | "protocolRewards" | "protocolSeizeShareMantissa" | "redeem" | "redeemUnderlying" | "repayBorrow" | "repayBorrowBehalf" | "repayBorrowWithPermit" | "reserveFactorMantissa" | "revokeWhitelist" | "seize" | "shareOf" | "supplyRatePerBlock" | "sweepToken" | "symbol" | "tokenType" | "totalBorrows" | "totalBorrowsCurrent" | "totalReserves" | "totalSupply" | "transfer" | "transferFrom" | "underlying" | "underlyingBalance" | "whitelist" | "whitelisted"): FunctionFragment;
|
|
15
15
|
getEvent(nameOrSignatureOrTopic: "AccrueInterest" | "Approval" | "Borrow" | "Initialized" | "LiquidateBorrow" | "Mint" | "NewAdmin" | "NewComptroller" | "NewDiscountRate" | "NewMarketInterestRateModel" | "NewPendingAdmin" | "NewReserveFactor" | "Redeem" | "RedeemFaceValue" | "RepayBorrow" | "ReservesAdded" | "ReservesReduced" | "Transfer" | "UpdatePoints" | "UserRewardPaid"): EventFragment;
|
|
16
16
|
encodeFunctionData(functionFragment: "_acceptAdmin", values?: undefined): string;
|
|
17
17
|
encodeFunctionData(functionFragment: "_addReserves", values: [BigNumberish]): string;
|
|
@@ -87,6 +87,7 @@ export interface CInfraredVaultInterface extends Interface {
|
|
|
87
87
|
encodeFunctionData(functionFragment: "repayBorrowBehalf", values: [AddressLike, BigNumberish]): string;
|
|
88
88
|
encodeFunctionData(functionFragment: "repayBorrowWithPermit", values: [BigNumberish, BigNumberish, BytesLike]): string;
|
|
89
89
|
encodeFunctionData(functionFragment: "reserveFactorMantissa", values?: undefined): string;
|
|
90
|
+
encodeFunctionData(functionFragment: "revokeWhitelist", values: [AddressLike]): string;
|
|
90
91
|
encodeFunctionData(functionFragment: "seize", values: [
|
|
91
92
|
AddressLike,
|
|
92
93
|
AddressLike,
|
|
@@ -108,6 +109,8 @@ export interface CInfraredVaultInterface extends Interface {
|
|
|
108
109
|
encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
109
110
|
encodeFunctionData(functionFragment: "underlying", values?: undefined): string;
|
|
110
111
|
encodeFunctionData(functionFragment: "underlyingBalance", values?: undefined): string;
|
|
112
|
+
encodeFunctionData(functionFragment: "whitelist", values: [AddressLike]): string;
|
|
113
|
+
encodeFunctionData(functionFragment: "whitelisted", values: [AddressLike]): string;
|
|
111
114
|
decodeFunctionResult(functionFragment: "_acceptAdmin", data: BytesLike): Result;
|
|
112
115
|
decodeFunctionResult(functionFragment: "_addReserves", data: BytesLike): Result;
|
|
113
116
|
decodeFunctionResult(functionFragment: "_reduceReserves", data: BytesLike): Result;
|
|
@@ -163,6 +166,7 @@ export interface CInfraredVaultInterface extends Interface {
|
|
|
163
166
|
decodeFunctionResult(functionFragment: "repayBorrowBehalf", data: BytesLike): Result;
|
|
164
167
|
decodeFunctionResult(functionFragment: "repayBorrowWithPermit", data: BytesLike): Result;
|
|
165
168
|
decodeFunctionResult(functionFragment: "reserveFactorMantissa", data: BytesLike): Result;
|
|
169
|
+
decodeFunctionResult(functionFragment: "revokeWhitelist", data: BytesLike): Result;
|
|
166
170
|
decodeFunctionResult(functionFragment: "seize", data: BytesLike): Result;
|
|
167
171
|
decodeFunctionResult(functionFragment: "shareOf", data: BytesLike): Result;
|
|
168
172
|
decodeFunctionResult(functionFragment: "supplyRatePerBlock", data: BytesLike): Result;
|
|
@@ -177,6 +181,8 @@ export interface CInfraredVaultInterface extends Interface {
|
|
|
177
181
|
decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
|
|
178
182
|
decodeFunctionResult(functionFragment: "underlying", data: BytesLike): Result;
|
|
179
183
|
decodeFunctionResult(functionFragment: "underlyingBalance", data: BytesLike): Result;
|
|
184
|
+
decodeFunctionResult(functionFragment: "whitelist", data: BytesLike): Result;
|
|
185
|
+
decodeFunctionResult(functionFragment: "whitelisted", data: BytesLike): Result;
|
|
180
186
|
}
|
|
181
187
|
export declare namespace AccrueInterestEvent {
|
|
182
188
|
type InputTuple = [
|
|
@@ -786,6 +792,11 @@ export interface CInfraredVault extends BaseContract {
|
|
|
786
792
|
void
|
|
787
793
|
], "nonpayable">;
|
|
788
794
|
reserveFactorMantissa: TypedContractMethod<[], [bigint], "view">;
|
|
795
|
+
revokeWhitelist: TypedContractMethod<[
|
|
796
|
+
addr: AddressLike
|
|
797
|
+
], [
|
|
798
|
+
void
|
|
799
|
+
], "nonpayable">;
|
|
789
800
|
seize: TypedContractMethod<[
|
|
790
801
|
liquidator: AddressLike,
|
|
791
802
|
borrower: AddressLike,
|
|
@@ -820,6 +831,8 @@ export interface CInfraredVault extends BaseContract {
|
|
|
820
831
|
], "nonpayable">;
|
|
821
832
|
underlying: TypedContractMethod<[], [string], "view">;
|
|
822
833
|
underlyingBalance: TypedContractMethod<[], [bigint], "view">;
|
|
834
|
+
whitelist: TypedContractMethod<[addr: AddressLike], [void], "nonpayable">;
|
|
835
|
+
whitelisted: TypedContractMethod<[arg0: AddressLike], [boolean], "view">;
|
|
823
836
|
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
824
837
|
getFunction(nameOrSignature: "_acceptAdmin"): TypedContractMethod<[], [void], "nonpayable">;
|
|
825
838
|
getFunction(nameOrSignature: "_addReserves"): TypedContractMethod<[addAmount: BigNumberish], [void], "nonpayable">;
|
|
@@ -966,6 +979,7 @@ export interface CInfraredVault extends BaseContract {
|
|
|
966
979
|
void
|
|
967
980
|
], "nonpayable">;
|
|
968
981
|
getFunction(nameOrSignature: "reserveFactorMantissa"): TypedContractMethod<[], [bigint], "view">;
|
|
982
|
+
getFunction(nameOrSignature: "revokeWhitelist"): TypedContractMethod<[addr: AddressLike], [void], "nonpayable">;
|
|
969
983
|
getFunction(nameOrSignature: "seize"): TypedContractMethod<[
|
|
970
984
|
liquidator: AddressLike,
|
|
971
985
|
borrower: AddressLike,
|
|
@@ -1000,6 +1014,8 @@ export interface CInfraredVault extends BaseContract {
|
|
|
1000
1014
|
], "nonpayable">;
|
|
1001
1015
|
getFunction(nameOrSignature: "underlying"): TypedContractMethod<[], [string], "view">;
|
|
1002
1016
|
getFunction(nameOrSignature: "underlyingBalance"): TypedContractMethod<[], [bigint], "view">;
|
|
1017
|
+
getFunction(nameOrSignature: "whitelist"): TypedContractMethod<[addr: AddressLike], [void], "nonpayable">;
|
|
1018
|
+
getFunction(nameOrSignature: "whitelisted"): TypedContractMethod<[arg0: AddressLike], [boolean], "view">;
|
|
1003
1019
|
getEvent(key: "AccrueInterest"): TypedContractEvent<AccrueInterestEvent.InputTuple, AccrueInterestEvent.OutputTuple, AccrueInterestEvent.OutputObject>;
|
|
1004
1020
|
getEvent(key: "Approval"): TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
1005
1021
|
getEvent(key: "Borrow"): TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
|
package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelForAave.sol/IAaveV3Pool.d.ts
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../../common";
|
|
3
|
+
export declare namespace IAaveV3Pool {
|
|
4
|
+
type ReserveConfigurationMapStruct = {
|
|
5
|
+
data: BigNumberish;
|
|
6
|
+
};
|
|
7
|
+
type ReserveConfigurationMapStructOutput = [data: bigint] & {
|
|
8
|
+
data: bigint;
|
|
9
|
+
};
|
|
10
|
+
type ReserveDataStruct = {
|
|
11
|
+
configuration: IAaveV3Pool.ReserveConfigurationMapStruct;
|
|
12
|
+
liquidityIndex: BigNumberish;
|
|
13
|
+
currentLiquidityRate: BigNumberish;
|
|
14
|
+
variableBorrowIndex: BigNumberish;
|
|
15
|
+
currentVariableBorrowRate: BigNumberish;
|
|
16
|
+
currentStableBorrowRate: BigNumberish;
|
|
17
|
+
lastUpdateTimestamp: BigNumberish;
|
|
18
|
+
id: BigNumberish;
|
|
19
|
+
aTokenAddress: AddressLike;
|
|
20
|
+
stableDebtTokenAddress: AddressLike;
|
|
21
|
+
variableDebtTokenAddress: AddressLike;
|
|
22
|
+
interestRateStrategyAddress: AddressLike;
|
|
23
|
+
accruedToTreasury: BigNumberish;
|
|
24
|
+
unbacked: BigNumberish;
|
|
25
|
+
isolationModeTotalDebt: BigNumberish;
|
|
26
|
+
};
|
|
27
|
+
type ReserveDataStructOutput = [
|
|
28
|
+
configuration: IAaveV3Pool.ReserveConfigurationMapStructOutput,
|
|
29
|
+
liquidityIndex: bigint,
|
|
30
|
+
currentLiquidityRate: bigint,
|
|
31
|
+
variableBorrowIndex: bigint,
|
|
32
|
+
currentVariableBorrowRate: bigint,
|
|
33
|
+
currentStableBorrowRate: bigint,
|
|
34
|
+
lastUpdateTimestamp: bigint,
|
|
35
|
+
id: bigint,
|
|
36
|
+
aTokenAddress: string,
|
|
37
|
+
stableDebtTokenAddress: string,
|
|
38
|
+
variableDebtTokenAddress: string,
|
|
39
|
+
interestRateStrategyAddress: string,
|
|
40
|
+
accruedToTreasury: bigint,
|
|
41
|
+
unbacked: bigint,
|
|
42
|
+
isolationModeTotalDebt: bigint
|
|
43
|
+
] & {
|
|
44
|
+
configuration: IAaveV3Pool.ReserveConfigurationMapStructOutput;
|
|
45
|
+
liquidityIndex: bigint;
|
|
46
|
+
currentLiquidityRate: bigint;
|
|
47
|
+
variableBorrowIndex: bigint;
|
|
48
|
+
currentVariableBorrowRate: bigint;
|
|
49
|
+
currentStableBorrowRate: bigint;
|
|
50
|
+
lastUpdateTimestamp: bigint;
|
|
51
|
+
id: bigint;
|
|
52
|
+
aTokenAddress: string;
|
|
53
|
+
stableDebtTokenAddress: string;
|
|
54
|
+
variableDebtTokenAddress: string;
|
|
55
|
+
interestRateStrategyAddress: string;
|
|
56
|
+
accruedToTreasury: bigint;
|
|
57
|
+
unbacked: bigint;
|
|
58
|
+
isolationModeTotalDebt: bigint;
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
export interface IAaveV3PoolInterface extends Interface {
|
|
62
|
+
getFunction(nameOrSignature: "getReserveData" | "getReserveNormalizedIncome" | "supply" | "withdraw"): FunctionFragment;
|
|
63
|
+
encodeFunctionData(functionFragment: "getReserveData", values: [AddressLike]): string;
|
|
64
|
+
encodeFunctionData(functionFragment: "getReserveNormalizedIncome", values: [AddressLike]): string;
|
|
65
|
+
encodeFunctionData(functionFragment: "supply", values: [AddressLike, BigNumberish, AddressLike, BigNumberish]): string;
|
|
66
|
+
encodeFunctionData(functionFragment: "withdraw", values: [AddressLike, BigNumberish, AddressLike]): string;
|
|
67
|
+
decodeFunctionResult(functionFragment: "getReserveData", data: BytesLike): Result;
|
|
68
|
+
decodeFunctionResult(functionFragment: "getReserveNormalizedIncome", data: BytesLike): Result;
|
|
69
|
+
decodeFunctionResult(functionFragment: "supply", data: BytesLike): Result;
|
|
70
|
+
decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result;
|
|
71
|
+
}
|
|
72
|
+
export interface IAaveV3Pool extends BaseContract {
|
|
73
|
+
connect(runner?: ContractRunner | null): IAaveV3Pool;
|
|
74
|
+
waitForDeployment(): Promise<this>;
|
|
75
|
+
interface: IAaveV3PoolInterface;
|
|
76
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
77
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
78
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
79
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
80
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
81
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
82
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
83
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
84
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
85
|
+
getReserveData: TypedContractMethod<[
|
|
86
|
+
asset: AddressLike
|
|
87
|
+
], [
|
|
88
|
+
IAaveV3Pool.ReserveDataStructOutput
|
|
89
|
+
], "view">;
|
|
90
|
+
getReserveNormalizedIncome: TypedContractMethod<[
|
|
91
|
+
underlyingAsset: AddressLike
|
|
92
|
+
], [
|
|
93
|
+
bigint
|
|
94
|
+
], "view">;
|
|
95
|
+
supply: TypedContractMethod<[
|
|
96
|
+
asset: AddressLike,
|
|
97
|
+
amount: BigNumberish,
|
|
98
|
+
onBehalfOf: AddressLike,
|
|
99
|
+
referralCode: BigNumberish
|
|
100
|
+
], [
|
|
101
|
+
void
|
|
102
|
+
], "nonpayable">;
|
|
103
|
+
withdraw: TypedContractMethod<[
|
|
104
|
+
asset: AddressLike,
|
|
105
|
+
amount: BigNumberish,
|
|
106
|
+
to: AddressLike
|
|
107
|
+
], [
|
|
108
|
+
bigint
|
|
109
|
+
], "nonpayable">;
|
|
110
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
111
|
+
getFunction(nameOrSignature: "getReserveData"): TypedContractMethod<[
|
|
112
|
+
asset: AddressLike
|
|
113
|
+
], [
|
|
114
|
+
IAaveV3Pool.ReserveDataStructOutput
|
|
115
|
+
], "view">;
|
|
116
|
+
getFunction(nameOrSignature: "getReserveNormalizedIncome"): TypedContractMethod<[underlyingAsset: AddressLike], [bigint], "view">;
|
|
117
|
+
getFunction(nameOrSignature: "supply"): TypedContractMethod<[
|
|
118
|
+
asset: AddressLike,
|
|
119
|
+
amount: BigNumberish,
|
|
120
|
+
onBehalfOf: AddressLike,
|
|
121
|
+
referralCode: BigNumberish
|
|
122
|
+
], [
|
|
123
|
+
void
|
|
124
|
+
], "nonpayable">;
|
|
125
|
+
getFunction(nameOrSignature: "withdraw"): TypedContractMethod<[
|
|
126
|
+
asset: AddressLike,
|
|
127
|
+
amount: BigNumberish,
|
|
128
|
+
to: AddressLike
|
|
129
|
+
], [
|
|
130
|
+
bigint
|
|
131
|
+
], "nonpayable">;
|
|
132
|
+
filters: {};
|
|
133
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IAaveV3Pool.js","sourceRoot":"","sources":["../../../../../../src/typechain/contracts/InterestRateModel/JumpRateModelForAave.sol/IAaveV3Pool.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,196 @@
|
|
|
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 JumpRateModelForAaveInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "acceptOwnership" | "baseRatePerSecond" | "getBorrowRate" | "getSupplyRate" | "isInterestRateModel" | "jumpMultiplierPerSecond" | "kink" | "multiplierPerSecond" | "owner" | "pendingOwner" | "renounceOwnership" | "secondsPerYear" | "transferOwnership" | "updateJumpRateModel" | "utilizationRate"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "NewInterestParams" | "OwnershipTransferStarted" | "OwnershipTransferred"): EventFragment;
|
|
6
|
+
encodeFunctionData(functionFragment: "acceptOwnership", values?: undefined): string;
|
|
7
|
+
encodeFunctionData(functionFragment: "baseRatePerSecond", values?: undefined): string;
|
|
8
|
+
encodeFunctionData(functionFragment: "getBorrowRate", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
9
|
+
encodeFunctionData(functionFragment: "getSupplyRate", values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]): string;
|
|
10
|
+
encodeFunctionData(functionFragment: "isInterestRateModel", values?: undefined): string;
|
|
11
|
+
encodeFunctionData(functionFragment: "jumpMultiplierPerSecond", values?: undefined): string;
|
|
12
|
+
encodeFunctionData(functionFragment: "kink", values?: undefined): string;
|
|
13
|
+
encodeFunctionData(functionFragment: "multiplierPerSecond", values?: undefined): string;
|
|
14
|
+
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
|
15
|
+
encodeFunctionData(functionFragment: "pendingOwner", values?: undefined): string;
|
|
16
|
+
encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string;
|
|
17
|
+
encodeFunctionData(functionFragment: "secondsPerYear", values?: undefined): string;
|
|
18
|
+
encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string;
|
|
19
|
+
encodeFunctionData(functionFragment: "updateJumpRateModel", values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]): string;
|
|
20
|
+
encodeFunctionData(functionFragment: "utilizationRate", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
21
|
+
decodeFunctionResult(functionFragment: "acceptOwnership", data: BytesLike): Result;
|
|
22
|
+
decodeFunctionResult(functionFragment: "baseRatePerSecond", data: BytesLike): Result;
|
|
23
|
+
decodeFunctionResult(functionFragment: "getBorrowRate", data: BytesLike): Result;
|
|
24
|
+
decodeFunctionResult(functionFragment: "getSupplyRate", data: BytesLike): Result;
|
|
25
|
+
decodeFunctionResult(functionFragment: "isInterestRateModel", data: BytesLike): Result;
|
|
26
|
+
decodeFunctionResult(functionFragment: "jumpMultiplierPerSecond", data: BytesLike): Result;
|
|
27
|
+
decodeFunctionResult(functionFragment: "kink", data: BytesLike): Result;
|
|
28
|
+
decodeFunctionResult(functionFragment: "multiplierPerSecond", data: BytesLike): Result;
|
|
29
|
+
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
|
|
30
|
+
decodeFunctionResult(functionFragment: "pendingOwner", data: BytesLike): Result;
|
|
31
|
+
decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result;
|
|
32
|
+
decodeFunctionResult(functionFragment: "secondsPerYear", data: BytesLike): Result;
|
|
33
|
+
decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
|
|
34
|
+
decodeFunctionResult(functionFragment: "updateJumpRateModel", data: BytesLike): Result;
|
|
35
|
+
decodeFunctionResult(functionFragment: "utilizationRate", data: BytesLike): Result;
|
|
36
|
+
}
|
|
37
|
+
export declare namespace NewInterestParamsEvent {
|
|
38
|
+
type InputTuple = [
|
|
39
|
+
baseRatePerSecond: BigNumberish,
|
|
40
|
+
multiplierPerSecond: BigNumberish,
|
|
41
|
+
jumpMultiplierPerSecond: BigNumberish,
|
|
42
|
+
kink: BigNumberish
|
|
43
|
+
];
|
|
44
|
+
type OutputTuple = [
|
|
45
|
+
baseRatePerSecond: bigint,
|
|
46
|
+
multiplierPerSecond: bigint,
|
|
47
|
+
jumpMultiplierPerSecond: bigint,
|
|
48
|
+
kink: bigint
|
|
49
|
+
];
|
|
50
|
+
interface OutputObject {
|
|
51
|
+
baseRatePerSecond: bigint;
|
|
52
|
+
multiplierPerSecond: bigint;
|
|
53
|
+
jumpMultiplierPerSecond: bigint;
|
|
54
|
+
kink: bigint;
|
|
55
|
+
}
|
|
56
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
57
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
58
|
+
type Log = TypedEventLog<Event>;
|
|
59
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
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
|
+
}
|
|
85
|
+
export interface JumpRateModelForAave extends BaseContract {
|
|
86
|
+
connect(runner?: ContractRunner | null): JumpRateModelForAave;
|
|
87
|
+
waitForDeployment(): Promise<this>;
|
|
88
|
+
interface: JumpRateModelForAaveInterface;
|
|
89
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
90
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
91
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
92
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
93
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
94
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
95
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
96
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
97
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
98
|
+
acceptOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
|
99
|
+
baseRatePerSecond: TypedContractMethod<[], [bigint], "view">;
|
|
100
|
+
getBorrowRate: TypedContractMethod<[
|
|
101
|
+
cash: BigNumberish,
|
|
102
|
+
borrows: BigNumberish,
|
|
103
|
+
reserves: BigNumberish
|
|
104
|
+
], [
|
|
105
|
+
bigint
|
|
106
|
+
], "view">;
|
|
107
|
+
getSupplyRate: TypedContractMethod<[
|
|
108
|
+
cash: BigNumberish,
|
|
109
|
+
borrows: BigNumberish,
|
|
110
|
+
reserves: BigNumberish,
|
|
111
|
+
reserveFactorMantissa: BigNumberish
|
|
112
|
+
], [
|
|
113
|
+
bigint
|
|
114
|
+
], "view">;
|
|
115
|
+
isInterestRateModel: TypedContractMethod<[], [boolean], "view">;
|
|
116
|
+
jumpMultiplierPerSecond: TypedContractMethod<[], [bigint], "view">;
|
|
117
|
+
kink: TypedContractMethod<[], [bigint], "view">;
|
|
118
|
+
multiplierPerSecond: TypedContractMethod<[], [bigint], "view">;
|
|
119
|
+
owner: TypedContractMethod<[], [string], "view">;
|
|
120
|
+
pendingOwner: TypedContractMethod<[], [string], "view">;
|
|
121
|
+
renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
|
122
|
+
secondsPerYear: TypedContractMethod<[], [bigint], "view">;
|
|
123
|
+
transferOwnership: TypedContractMethod<[
|
|
124
|
+
newOwner: AddressLike
|
|
125
|
+
], [
|
|
126
|
+
void
|
|
127
|
+
], "nonpayable">;
|
|
128
|
+
updateJumpRateModel: TypedContractMethod<[
|
|
129
|
+
baseRatePerYear: BigNumberish,
|
|
130
|
+
multiplierPerYear: BigNumberish,
|
|
131
|
+
jumpMultiplierPerYear: BigNumberish,
|
|
132
|
+
kink_: BigNumberish
|
|
133
|
+
], [
|
|
134
|
+
void
|
|
135
|
+
], "nonpayable">;
|
|
136
|
+
utilizationRate: TypedContractMethod<[
|
|
137
|
+
cash: BigNumberish,
|
|
138
|
+
borrows: BigNumberish,
|
|
139
|
+
reserves: BigNumberish
|
|
140
|
+
], [
|
|
141
|
+
bigint
|
|
142
|
+
], "view">;
|
|
143
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
144
|
+
getFunction(nameOrSignature: "acceptOwnership"): TypedContractMethod<[], [void], "nonpayable">;
|
|
145
|
+
getFunction(nameOrSignature: "baseRatePerSecond"): TypedContractMethod<[], [bigint], "view">;
|
|
146
|
+
getFunction(nameOrSignature: "getBorrowRate"): TypedContractMethod<[
|
|
147
|
+
cash: BigNumberish,
|
|
148
|
+
borrows: BigNumberish,
|
|
149
|
+
reserves: BigNumberish
|
|
150
|
+
], [
|
|
151
|
+
bigint
|
|
152
|
+
], "view">;
|
|
153
|
+
getFunction(nameOrSignature: "getSupplyRate"): TypedContractMethod<[
|
|
154
|
+
cash: BigNumberish,
|
|
155
|
+
borrows: BigNumberish,
|
|
156
|
+
reserves: BigNumberish,
|
|
157
|
+
reserveFactorMantissa: BigNumberish
|
|
158
|
+
], [
|
|
159
|
+
bigint
|
|
160
|
+
], "view">;
|
|
161
|
+
getFunction(nameOrSignature: "isInterestRateModel"): TypedContractMethod<[], [boolean], "view">;
|
|
162
|
+
getFunction(nameOrSignature: "jumpMultiplierPerSecond"): TypedContractMethod<[], [bigint], "view">;
|
|
163
|
+
getFunction(nameOrSignature: "kink"): TypedContractMethod<[], [bigint], "view">;
|
|
164
|
+
getFunction(nameOrSignature: "multiplierPerSecond"): TypedContractMethod<[], [bigint], "view">;
|
|
165
|
+
getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">;
|
|
166
|
+
getFunction(nameOrSignature: "pendingOwner"): TypedContractMethod<[], [string], "view">;
|
|
167
|
+
getFunction(nameOrSignature: "renounceOwnership"): TypedContractMethod<[], [void], "nonpayable">;
|
|
168
|
+
getFunction(nameOrSignature: "secondsPerYear"): TypedContractMethod<[], [bigint], "view">;
|
|
169
|
+
getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
|
|
170
|
+
getFunction(nameOrSignature: "updateJumpRateModel"): TypedContractMethod<[
|
|
171
|
+
baseRatePerYear: BigNumberish,
|
|
172
|
+
multiplierPerYear: BigNumberish,
|
|
173
|
+
jumpMultiplierPerYear: BigNumberish,
|
|
174
|
+
kink_: BigNumberish
|
|
175
|
+
], [
|
|
176
|
+
void
|
|
177
|
+
], "nonpayable">;
|
|
178
|
+
getFunction(nameOrSignature: "utilizationRate"): TypedContractMethod<[
|
|
179
|
+
cash: BigNumberish,
|
|
180
|
+
borrows: BigNumberish,
|
|
181
|
+
reserves: BigNumberish
|
|
182
|
+
], [
|
|
183
|
+
bigint
|
|
184
|
+
], "view">;
|
|
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>;
|
|
188
|
+
filters: {
|
|
189
|
+
"NewInterestParams(uint256,uint256,uint256,uint256)": TypedContractEvent<NewInterestParamsEvent.InputTuple, NewInterestParamsEvent.OutputTuple, NewInterestParamsEvent.OutputObject>;
|
|
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>;
|
|
195
|
+
};
|
|
196
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JumpRateModelForAave.js","sourceRoot":"","sources":["../../../../../../src/typechain/contracts/InterestRateModel/JumpRateModelForAave.sol/JumpRateModelForAave.ts"],"names":[],"mappings":""}
|
package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelForAave.sol/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/typechain/contracts/InterestRateModel/JumpRateModelForAave.sol/index.ts"],"names":[],"mappings":""}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type * as jumpRateModelForAaveSol from "./JumpRateModelForAave.sol";
|
|
2
|
+
export type { jumpRateModelForAaveSol };
|
|
1
3
|
export type { FixedInterestRateModel } from "./FixedInterestRateModel";
|
|
2
4
|
export type { InterestRateModel } from "./InterestRateModel";
|
|
3
5
|
export type { JumpRateModelV2 } from "./JumpRateModelV2";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { BaseContract, BytesLike, FunctionFragment, Result, Interface, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../../common";
|
|
3
|
+
export interface AprMONAdapterInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "exchangeRate"): FunctionFragment;
|
|
5
|
+
encodeFunctionData(functionFragment: "exchangeRate", values?: undefined): string;
|
|
6
|
+
decodeFunctionResult(functionFragment: "exchangeRate", data: BytesLike): Result;
|
|
7
|
+
}
|
|
8
|
+
export interface AprMONAdapter extends BaseContract {
|
|
9
|
+
connect(runner?: ContractRunner | null): AprMONAdapter;
|
|
10
|
+
waitForDeployment(): Promise<this>;
|
|
11
|
+
interface: AprMONAdapterInterface;
|
|
12
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
13
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
14
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
15
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
16
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
17
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
18
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
19
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
20
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
21
|
+
exchangeRate: TypedContractMethod<[], [bigint], "view">;
|
|
22
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
23
|
+
getFunction(nameOrSignature: "exchangeRate"): TypedContractMethod<[], [bigint], "view">;
|
|
24
|
+
filters: {};
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AprMONAdapter.js","sourceRoot":"","sources":["../../../../../../src/typechain/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../../common";
|
|
3
|
+
export interface IAprMonInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "convertToAssets" | "convertToShares"): FunctionFragment;
|
|
5
|
+
encodeFunctionData(functionFragment: "convertToAssets", values: [BigNumberish]): string;
|
|
6
|
+
encodeFunctionData(functionFragment: "convertToShares", values: [BigNumberish]): string;
|
|
7
|
+
decodeFunctionResult(functionFragment: "convertToAssets", data: BytesLike): Result;
|
|
8
|
+
decodeFunctionResult(functionFragment: "convertToShares", data: BytesLike): Result;
|
|
9
|
+
}
|
|
10
|
+
export interface IAprMon extends BaseContract {
|
|
11
|
+
connect(runner?: ContractRunner | null): IAprMon;
|
|
12
|
+
waitForDeployment(): Promise<this>;
|
|
13
|
+
interface: IAprMonInterface;
|
|
14
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
15
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
16
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
17
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
18
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
19
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
20
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
21
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
22
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
23
|
+
convertToAssets: TypedContractMethod<[
|
|
24
|
+
shares: BigNumberish
|
|
25
|
+
], [
|
|
26
|
+
bigint
|
|
27
|
+
], "view">;
|
|
28
|
+
convertToShares: TypedContractMethod<[
|
|
29
|
+
amount: BigNumberish
|
|
30
|
+
], [
|
|
31
|
+
bigint
|
|
32
|
+
], "view">;
|
|
33
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
34
|
+
getFunction(nameOrSignature: "convertToAssets"): TypedContractMethod<[shares: BigNumberish], [bigint], "view">;
|
|
35
|
+
getFunction(nameOrSignature: "convertToShares"): TypedContractMethod<[amount: BigNumberish], [bigint], "view">;
|
|
36
|
+
filters: {};
|
|
37
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IAprMon.js","sourceRoot":"","sources":["../../../../../../src/typechain/contracts/Oracle/aprMONAdapter.sol/IAprMon.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/typechain/contracts/Oracle/aprMONAdapter.sol/index.ts"],"names":[],"mappings":""}
|
|
@@ -10,6 +10,8 @@ import type * as wstEthAdapterSol from "./WstETHAdapter.sol";
|
|
|
10
10
|
export type { wstEthAdapterSol };
|
|
11
11
|
import type * as wstMtrgAdapterSol from "./WstMTRGAdapter.sol";
|
|
12
12
|
export type { wstMtrgAdapterSol };
|
|
13
|
+
import type * as aprMonAdapterSol from "./aprMONAdapter.sol";
|
|
14
|
+
export type { aprMonAdapterSol };
|
|
13
15
|
import type * as dualCoreAdapterSol from "./dualCoreAdapter.sol";
|
|
14
16
|
export type { dualCoreAdapterSol };
|
|
15
17
|
import type * as stCoreAdapterSol from "./stCoreAdapter.sol";
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IBeacon__factory = void 0;
|
|
3
|
+
exports.UpgradeableBeacon__factory = exports.IBeacon__factory = exports.BeaconProxy__factory = void 0;
|
|
4
4
|
/* Autogenerated file. Do not edit manually. */
|
|
5
5
|
/* tslint:disable */
|
|
6
6
|
/* eslint-disable */
|
|
7
|
+
var BeaconProxy__factory_1 = require("./BeaconProxy__factory");
|
|
8
|
+
Object.defineProperty(exports, "BeaconProxy__factory", { enumerable: true, get: function () { return BeaconProxy__factory_1.BeaconProxy__factory; } });
|
|
7
9
|
var IBeacon__factory_1 = require("./IBeacon__factory");
|
|
8
10
|
Object.defineProperty(exports, "IBeacon__factory", { enumerable: true, get: function () { return IBeacon__factory_1.IBeacon__factory; } });
|
|
11
|
+
var UpgradeableBeacon__factory_1 = require("./UpgradeableBeacon__factory");
|
|
12
|
+
Object.defineProperty(exports, "UpgradeableBeacon__factory", { enumerable: true, get: function () { return UpgradeableBeacon__factory_1.UpgradeableBeacon__factory; } });
|
|
9
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/typechain/factories/@openzeppelin/contracts/proxy/beacon/index.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,uDAAsD;AAA7C,oHAAA,gBAAgB,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/typechain/factories/@openzeppelin/contracts/proxy/beacon/index.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,+DAA8D;AAArD,4HAAA,oBAAoB,OAAA;AAC7B,uDAAsD;AAA7C,oHAAA,gBAAgB,OAAA;AACzB,2EAA0E;AAAjE,wIAAA,0BAA0B,OAAA"}
|