@meterio/sumer-js 0.2.130 → 0.2.132
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 +6 -6
- package/dist/nodejs/constants/monadtest.d.ts +3 -0
- package/dist/nodejs/constants/monadtest.js +17 -2
- package/dist/nodejs/constants/monadtest.js.map +1 -1
- package/dist/nodejs/constants/sepolia.d.ts +3 -1
- package/dist/nodejs/constants/sepolia.js +5 -3
- package/dist/nodejs/constants/sepolia.js.map +1 -1
- 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/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/Oracle/dualCoreAdapter.sol/ICoreVault.d.ts +25 -0
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/ICoreVault.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/ICoreVault.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/index.js +5 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/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/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/Oracle/dualCoreAdapter.sol/ICoreVault__factory.d.ts +21 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/ICoreVault__factory.js +39 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/ICoreVault__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.js +3 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.js.map +1 -1
- package/dist/nodejs/typechain/hardhat.d.ts +54 -0
- package/dist/nodejs/typechain/index.d.ts +6 -0
- package/dist/nodejs/typechain/index.js +9 -3
- package/dist/nodejs/typechain/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CAavePool.js","sourceRoot":"","sources":["../../../../../../src/typechain/contracts/CToken/CAavePool.sol/CAavePool.ts"],"names":[],"mappings":""}
|
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":""}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 ICoreVaultInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "exchangeCore"): FunctionFragment;
|
|
5
|
+
encodeFunctionData(functionFragment: "exchangeCore", values: [BigNumberish]): string;
|
|
6
|
+
decodeFunctionResult(functionFragment: "exchangeCore", data: BytesLike): Result;
|
|
7
|
+
}
|
|
8
|
+
export interface ICoreVault extends BaseContract {
|
|
9
|
+
connect(runner?: ContractRunner | null): ICoreVault;
|
|
10
|
+
waitForDeployment(): Promise<this>;
|
|
11
|
+
interface: ICoreVaultInterface;
|
|
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
|
+
exchangeCore: TypedContractMethod<[arg0: BigNumberish], [bigint], "view">;
|
|
22
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
23
|
+
getFunction(nameOrSignature: "exchangeCore"): TypedContractMethod<[arg0: BigNumberish], [bigint], "view">;
|
|
24
|
+
filters: {};
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ICoreVault.js","sourceRoot":"","sources":["../../../../../../src/typechain/contracts/Oracle/dualCoreAdapter.sol/ICoreVault.ts"],"names":[],"mappings":""}
|
|
@@ -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"}
|