@pendle/core-v2 6.8.1 → 6.10.0
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/build/artifacts/contracts/interfaces/IPPTLooper.sol/IPPTLooper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPTLooper.sol/IPPTLooper.json +244 -249
- package/build/artifacts/contracts/interfaces/IPPTLooper.sol/IPPTLooperEIP712Types.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/PTLooperBase.sol/PTLooperBase.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/PTLooperBase.sol/PTLooperBase.json +244 -249
- package/build/artifacts/contracts/pt-looping/PTLooperEIP712TypesEncodeDataLib.sol/PTLooperEIP712TypesEncodeDataLib.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/PTLooperEIP712TypesEncodeDataLib.sol/PTLooperEIP712TypesEncodeDataLib.json +2 -2
- package/build/artifacts/contracts/pt-looping/PendlePTLooper.sol/PendlePTLooper.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/PendlePTLooper.sol/PendlePTLooper.json +246 -251
- package/build/artifacts/contracts/pt-looping/money-market/BaseMoneyMarket.sol/BaseMoneyMarket.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/BaseMoneyMarketView.sol/BaseMoneyMarketView.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarket.sol/AaveMoneyMarket.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarket.sol/AaveMoneyMarket.json +2 -2
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarketView.sol/AaveMoneyMarketView.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarketView.sol/AaveMoneyMarketView.json +2 -2
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MMPayloadLib.sol/AaveV4MMPayloadLib.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MMPayloadLib.sol/AaveV4MMPayloadLib.json +10 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MoneyMarket.sol/AaveV4MoneyMarket.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MoneyMarket.sol/AaveV4MoneyMarket.json +615 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MoneyMarketView.sol/AaveV4MoneyMarketView.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MoneyMarketView.sol/AaveV4MoneyMarketView.json +280 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/IAaveOracle.sol/IAaveOracle.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/IAaveOracle.sol/IAaveOracle.json +30 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/IHubBase.sol/IHubBase.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/IHubBase.sol/IHubBase.json +322 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/ISpoke.sol/ISpoke.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/ISpoke.sol/ISpoke.json +398 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/EulerMMPayloadLib.sol/EulerMMPayloadLib.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/EulerMMPayloadLib.sol/EulerMMPayloadLib.json +10 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/EulerMoneyMarket.sol/EulerMoneyMarket.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/EulerMoneyMarket.sol/EulerMoneyMarket.json +651 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/EulerMoneyMarketView.sol/EulerMoneyMarketView.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/EulerMoneyMarketView.sol/EulerMoneyMarketView.json +298 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEthereumVaultConnector.sol/IEVC.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEthereumVaultConnector.sol/IEVC.json +959 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerFactory.sol/IEulerFactory.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerFactory.sol/IEulerFactory.json +30 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerPriceOracle.sol/IEulerPriceOracle.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerPriceOracle.sol/IEulerPriceOracle.json +53 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerVault.sol/AmountCapLib.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerVault.sol/AmountCapLib.json +10 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerVault.sol/IEulerVault.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerVault.sol/IEulerVault.json +933 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarket.sol/MorphoBlueMoneyMarket.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarket.sol/MorphoBlueMoneyMarket.json +2 -2
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarketView.sol/MorphoBlueMoneyMarketView.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarketView.sol/MorphoBlueMoneyMarketView.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
- package/contracts/interfaces/IPPTLooper.sol +2 -4
- package/contracts/pt-looping/PTLooperEIP712TypesEncodeDataLib.sol +6 -6
- package/contracts/pt-looping/PendlePTLooper.sol +4 -2
- package/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MMPayloadLib.sol +20 -0
- package/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MoneyMarket.sol +85 -0
- package/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MoneyMarketView.sol +180 -0
- package/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/IAaveOracle.sol +12 -0
- package/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/IHubBase.sol +72 -0
- package/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/ISpoke.sol +88 -0
- package/contracts/pt-looping/money-market/implementations/euler/EulerMMPayloadLib.sol +25 -0
- package/contracts/pt-looping/money-market/implementations/euler/EulerMoneyMarket.sol +104 -0
- package/contracts/pt-looping/money-market/implementations/euler/EulerMoneyMarketView.sol +105 -0
- package/contracts/pt-looping/money-market/implementations/euler/dependencies/IEthereumVaultConnector.sol +432 -0
- package/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerFactory.sol +10 -0
- package/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerPriceOracle.sol +26 -0
- package/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerVault.sol +149 -0
- package/contracts/router/swap-aggregator/OKXScaleHelper.sol +6 -0
- package/deployments/1-offchain-helper.json +2 -1
- package/deployments/143-core.json +7 -1
- package/deployments/143-offchain-helper.json +2 -1
- package/deployments/196-core.json +49 -0
- package/deployments/196-offchain-helper.json +12 -0
- package/deployments/42161-core.json +4 -1
- package/deployments/42161-offchain-helper.json +2 -1
- package/deployments/4663-core.json +48 -0
- package/deployments/4663-offchain-helper.json +12 -0
- package/deployments/56-offchain-helper.json +2 -1
- package/deployments/8453-offchain-helper.json +2 -1
- package/deployments/9745-offchain-helper.json +2 -1
- package/deployments/999-offchain-helper.json +2 -1
- package/package.json +1 -1
- package/typechain-types/AaveV4MoneyMarket.ts +573 -0
- package/typechain-types/AaveV4MoneyMarketView.ts +362 -0
- package/typechain-types/EulerMoneyMarket.ts +599 -0
- package/typechain-types/EulerMoneyMarketView.ts +375 -0
- package/typechain-types/IAaveOracle.ts +17 -149
- package/typechain-types/IEVC.ts +1647 -0
- package/typechain-types/IEulerFactory.ts +94 -0
- package/typechain-types/IEulerPriceOracle.ts +123 -0
- package/typechain-types/IEulerVault.ts +1298 -0
- package/typechain-types/IHubBase.ts +452 -0
- package/typechain-types/IPPTLooper.ts +68 -68
- package/typechain-types/ISpoke.ts +577 -0
- package/typechain-types/PTLooperBase.ts +68 -68
- package/typechain-types/PendlePTLooper.ts +68 -68
- package/typechain-types/factories/AaveMoneyMarketView__factory.ts +1 -1
- package/typechain-types/factories/AaveMoneyMarket__factory.ts +1 -1
- package/typechain-types/factories/AaveV4MoneyMarketView__factory.ts +349 -0
- package/typechain-types/factories/AaveV4MoneyMarket__factory.ts +673 -0
- package/typechain-types/factories/EulerMoneyMarketView__factory.ts +371 -0
- package/typechain-types/factories/EulerMoneyMarket__factory.ts +720 -0
- package/typechain-types/factories/IAaveOracle__factory.ts +3 -93
- package/typechain-types/factories/IEVC__factory.ts +968 -0
- package/typechain-types/factories/IEulerFactory__factory.ts +42 -0
- package/typechain-types/factories/IEulerPriceOracle__factory.ts +68 -0
- package/typechain-types/factories/IEulerVault__factory.ts +945 -0
- package/typechain-types/factories/IHubBase__factory.ts +334 -0
- package/typechain-types/factories/IPPTLooper__factory.ts +243 -248
- package/typechain-types/factories/ISpoke__factory.ts +407 -0
- package/typechain-types/factories/MorphoBlueMoneyMarketView__factory.ts +1 -1
- package/typechain-types/factories/MorphoBlueMoneyMarket__factory.ts +1 -1
- package/typechain-types/factories/PTLooperBase__factory.ts +243 -248
- package/typechain-types/factories/PendlePTLooper__factory.ts +244 -249
- package/typechain-types/factories/PendleSwap__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +99 -45
- package/typechain-types/index.ts +22 -12
|
@@ -0,0 +1,362 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import {
|
|
5
|
+
BaseContract,
|
|
6
|
+
BigNumber,
|
|
7
|
+
BigNumberish,
|
|
8
|
+
BytesLike,
|
|
9
|
+
CallOverrides,
|
|
10
|
+
ContractTransaction,
|
|
11
|
+
Overrides,
|
|
12
|
+
PopulatedTransaction,
|
|
13
|
+
Signer,
|
|
14
|
+
utils,
|
|
15
|
+
} from "ethers";
|
|
16
|
+
import { FunctionFragment, Result } from "@ethersproject/abi";
|
|
17
|
+
import { Listener, Provider } from "@ethersproject/providers";
|
|
18
|
+
import type {
|
|
19
|
+
TypedEventFilter,
|
|
20
|
+
TypedEvent,
|
|
21
|
+
TypedListener,
|
|
22
|
+
OnEvent,
|
|
23
|
+
} from "./common";
|
|
24
|
+
|
|
25
|
+
export type LimitsStruct = {
|
|
26
|
+
minBorrowing: BigNumberish;
|
|
27
|
+
maxBorrowing: BigNumberish;
|
|
28
|
+
minBorrowingForRewards: BigNumberish;
|
|
29
|
+
minLending: BigNumberish;
|
|
30
|
+
maxLending: BigNumberish;
|
|
31
|
+
minLendingForRewards: BigNumberish;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export type LimitsStructOutput = [
|
|
35
|
+
BigNumber,
|
|
36
|
+
BigNumber,
|
|
37
|
+
BigNumber,
|
|
38
|
+
BigNumber,
|
|
39
|
+
BigNumber,
|
|
40
|
+
BigNumber
|
|
41
|
+
] & {
|
|
42
|
+
minBorrowing: BigNumber;
|
|
43
|
+
maxBorrowing: BigNumber;
|
|
44
|
+
minBorrowingForRewards: BigNumber;
|
|
45
|
+
minLending: BigNumber;
|
|
46
|
+
maxLending: BigNumber;
|
|
47
|
+
minLendingForRewards: BigNumber;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
export type RewardStruct = { token: string; claimable: BigNumberish };
|
|
51
|
+
|
|
52
|
+
export type RewardStructOutput = [string, BigNumber] & {
|
|
53
|
+
token: string;
|
|
54
|
+
claimable: BigNumber;
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
export interface AaveV4MoneyMarketViewInterface extends utils.Interface {
|
|
58
|
+
contractName: "AaveV4MoneyMarketView";
|
|
59
|
+
functions: {
|
|
60
|
+
"POSITION_BOX_FACTORY()": FunctionFragment;
|
|
61
|
+
"PT_LOOPER()": FunctionFragment;
|
|
62
|
+
"limits(address)": FunctionFragment;
|
|
63
|
+
"liquidity(address)": FunctionFragment;
|
|
64
|
+
"moneyMarketBalances(address)": FunctionFragment;
|
|
65
|
+
"moneyMarketName()": FunctionFragment;
|
|
66
|
+
"ptDebtRate(address)": FunctionFragment;
|
|
67
|
+
"rates(address)": FunctionFragment;
|
|
68
|
+
"rewards(address)": FunctionFragment;
|
|
69
|
+
"thresholds(address)": FunctionFragment;
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
encodeFunctionData(
|
|
73
|
+
functionFragment: "POSITION_BOX_FACTORY",
|
|
74
|
+
values?: undefined
|
|
75
|
+
): string;
|
|
76
|
+
encodeFunctionData(functionFragment: "PT_LOOPER", values?: undefined): string;
|
|
77
|
+
encodeFunctionData(functionFragment: "limits", values: [string]): string;
|
|
78
|
+
encodeFunctionData(functionFragment: "liquidity", values: [string]): string;
|
|
79
|
+
encodeFunctionData(
|
|
80
|
+
functionFragment: "moneyMarketBalances",
|
|
81
|
+
values: [string]
|
|
82
|
+
): string;
|
|
83
|
+
encodeFunctionData(
|
|
84
|
+
functionFragment: "moneyMarketName",
|
|
85
|
+
values?: undefined
|
|
86
|
+
): string;
|
|
87
|
+
encodeFunctionData(functionFragment: "ptDebtRate", values: [string]): string;
|
|
88
|
+
encodeFunctionData(functionFragment: "rates", values: [string]): string;
|
|
89
|
+
encodeFunctionData(functionFragment: "rewards", values: [string]): string;
|
|
90
|
+
encodeFunctionData(functionFragment: "thresholds", values: [string]): string;
|
|
91
|
+
|
|
92
|
+
decodeFunctionResult(
|
|
93
|
+
functionFragment: "POSITION_BOX_FACTORY",
|
|
94
|
+
data: BytesLike
|
|
95
|
+
): Result;
|
|
96
|
+
decodeFunctionResult(functionFragment: "PT_LOOPER", data: BytesLike): Result;
|
|
97
|
+
decodeFunctionResult(functionFragment: "limits", data: BytesLike): Result;
|
|
98
|
+
decodeFunctionResult(functionFragment: "liquidity", data: BytesLike): Result;
|
|
99
|
+
decodeFunctionResult(
|
|
100
|
+
functionFragment: "moneyMarketBalances",
|
|
101
|
+
data: BytesLike
|
|
102
|
+
): Result;
|
|
103
|
+
decodeFunctionResult(
|
|
104
|
+
functionFragment: "moneyMarketName",
|
|
105
|
+
data: BytesLike
|
|
106
|
+
): Result;
|
|
107
|
+
decodeFunctionResult(functionFragment: "ptDebtRate", data: BytesLike): Result;
|
|
108
|
+
decodeFunctionResult(functionFragment: "rates", data: BytesLike): Result;
|
|
109
|
+
decodeFunctionResult(functionFragment: "rewards", data: BytesLike): Result;
|
|
110
|
+
decodeFunctionResult(functionFragment: "thresholds", data: BytesLike): Result;
|
|
111
|
+
|
|
112
|
+
events: {};
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export interface AaveV4MoneyMarketView extends BaseContract {
|
|
116
|
+
contractName: "AaveV4MoneyMarketView";
|
|
117
|
+
connect(signerOrProvider: Signer | Provider | string): this;
|
|
118
|
+
attach(addressOrName: string): this;
|
|
119
|
+
deployed(): Promise<this>;
|
|
120
|
+
|
|
121
|
+
interface: AaveV4MoneyMarketViewInterface;
|
|
122
|
+
|
|
123
|
+
queryFilter<TEvent extends TypedEvent>(
|
|
124
|
+
event: TypedEventFilter<TEvent>,
|
|
125
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
126
|
+
toBlock?: string | number | undefined
|
|
127
|
+
): Promise<Array<TEvent>>;
|
|
128
|
+
|
|
129
|
+
listeners<TEvent extends TypedEvent>(
|
|
130
|
+
eventFilter?: TypedEventFilter<TEvent>
|
|
131
|
+
): Array<TypedListener<TEvent>>;
|
|
132
|
+
listeners(eventName?: string): Array<Listener>;
|
|
133
|
+
removeAllListeners<TEvent extends TypedEvent>(
|
|
134
|
+
eventFilter: TypedEventFilter<TEvent>
|
|
135
|
+
): this;
|
|
136
|
+
removeAllListeners(eventName?: string): this;
|
|
137
|
+
off: OnEvent<this>;
|
|
138
|
+
on: OnEvent<this>;
|
|
139
|
+
once: OnEvent<this>;
|
|
140
|
+
removeListener: OnEvent<this>;
|
|
141
|
+
|
|
142
|
+
functions: {
|
|
143
|
+
POSITION_BOX_FACTORY(overrides?: CallOverrides): Promise<[string]>;
|
|
144
|
+
|
|
145
|
+
PT_LOOPER(overrides?: CallOverrides): Promise<[string]>;
|
|
146
|
+
|
|
147
|
+
limits(
|
|
148
|
+
box: string,
|
|
149
|
+
overrides?: CallOverrides
|
|
150
|
+
): Promise<[LimitsStructOutput] & { limits_: LimitsStructOutput }>;
|
|
151
|
+
|
|
152
|
+
liquidity(
|
|
153
|
+
box: string,
|
|
154
|
+
overrides?: CallOverrides
|
|
155
|
+
): Promise<
|
|
156
|
+
[BigNumber, BigNumber] & { borrowing: BigNumber; lending: BigNumber }
|
|
157
|
+
>;
|
|
158
|
+
|
|
159
|
+
moneyMarketBalances(
|
|
160
|
+
box: string,
|
|
161
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
162
|
+
): Promise<ContractTransaction>;
|
|
163
|
+
|
|
164
|
+
moneyMarketName(overrides?: CallOverrides): Promise<[string]>;
|
|
165
|
+
|
|
166
|
+
ptDebtRate(box: string, overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
167
|
+
|
|
168
|
+
rates(
|
|
169
|
+
box: string,
|
|
170
|
+
overrides?: CallOverrides
|
|
171
|
+
): Promise<
|
|
172
|
+
[BigNumber, BigNumber] & { borrowing: BigNumber; lending: BigNumber }
|
|
173
|
+
>;
|
|
174
|
+
|
|
175
|
+
rewards(
|
|
176
|
+
box: string,
|
|
177
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
178
|
+
): Promise<ContractTransaction>;
|
|
179
|
+
|
|
180
|
+
thresholds(
|
|
181
|
+
box: string,
|
|
182
|
+
overrides?: CallOverrides
|
|
183
|
+
): Promise<
|
|
184
|
+
[BigNumber, BigNumber] & {
|
|
185
|
+
ltv: BigNumber;
|
|
186
|
+
liquidationThreshold: BigNumber;
|
|
187
|
+
}
|
|
188
|
+
>;
|
|
189
|
+
};
|
|
190
|
+
|
|
191
|
+
POSITION_BOX_FACTORY(overrides?: CallOverrides): Promise<string>;
|
|
192
|
+
|
|
193
|
+
PT_LOOPER(overrides?: CallOverrides): Promise<string>;
|
|
194
|
+
|
|
195
|
+
limits(box: string, overrides?: CallOverrides): Promise<LimitsStructOutput>;
|
|
196
|
+
|
|
197
|
+
liquidity(
|
|
198
|
+
box: string,
|
|
199
|
+
overrides?: CallOverrides
|
|
200
|
+
): Promise<
|
|
201
|
+
[BigNumber, BigNumber] & { borrowing: BigNumber; lending: BigNumber }
|
|
202
|
+
>;
|
|
203
|
+
|
|
204
|
+
moneyMarketBalances(
|
|
205
|
+
box: string,
|
|
206
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
207
|
+
): Promise<ContractTransaction>;
|
|
208
|
+
|
|
209
|
+
moneyMarketName(overrides?: CallOverrides): Promise<string>;
|
|
210
|
+
|
|
211
|
+
ptDebtRate(box: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
212
|
+
|
|
213
|
+
rates(
|
|
214
|
+
box: string,
|
|
215
|
+
overrides?: CallOverrides
|
|
216
|
+
): Promise<
|
|
217
|
+
[BigNumber, BigNumber] & { borrowing: BigNumber; lending: BigNumber }
|
|
218
|
+
>;
|
|
219
|
+
|
|
220
|
+
rewards(
|
|
221
|
+
box: string,
|
|
222
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
223
|
+
): Promise<ContractTransaction>;
|
|
224
|
+
|
|
225
|
+
thresholds(
|
|
226
|
+
box: string,
|
|
227
|
+
overrides?: CallOverrides
|
|
228
|
+
): Promise<
|
|
229
|
+
[BigNumber, BigNumber] & { ltv: BigNumber; liquidationThreshold: BigNumber }
|
|
230
|
+
>;
|
|
231
|
+
|
|
232
|
+
callStatic: {
|
|
233
|
+
POSITION_BOX_FACTORY(overrides?: CallOverrides): Promise<string>;
|
|
234
|
+
|
|
235
|
+
PT_LOOPER(overrides?: CallOverrides): Promise<string>;
|
|
236
|
+
|
|
237
|
+
limits(box: string, overrides?: CallOverrides): Promise<LimitsStructOutput>;
|
|
238
|
+
|
|
239
|
+
liquidity(
|
|
240
|
+
box: string,
|
|
241
|
+
overrides?: CallOverrides
|
|
242
|
+
): Promise<
|
|
243
|
+
[BigNumber, BigNumber] & { borrowing: BigNumber; lending: BigNumber }
|
|
244
|
+
>;
|
|
245
|
+
|
|
246
|
+
moneyMarketBalances(
|
|
247
|
+
box: string,
|
|
248
|
+
overrides?: CallOverrides
|
|
249
|
+
): Promise<
|
|
250
|
+
[BigNumber, BigNumber] & {
|
|
251
|
+
mmPtBalance: BigNumber;
|
|
252
|
+
mmDebtBalance: BigNumber;
|
|
253
|
+
}
|
|
254
|
+
>;
|
|
255
|
+
|
|
256
|
+
moneyMarketName(overrides?: CallOverrides): Promise<string>;
|
|
257
|
+
|
|
258
|
+
ptDebtRate(box: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
259
|
+
|
|
260
|
+
rates(
|
|
261
|
+
box: string,
|
|
262
|
+
overrides?: CallOverrides
|
|
263
|
+
): Promise<
|
|
264
|
+
[BigNumber, BigNumber] & { borrowing: BigNumber; lending: BigNumber }
|
|
265
|
+
>;
|
|
266
|
+
|
|
267
|
+
rewards(
|
|
268
|
+
box: string,
|
|
269
|
+
overrides?: CallOverrides
|
|
270
|
+
): Promise<
|
|
271
|
+
[RewardStructOutput[], RewardStructOutput[]] & {
|
|
272
|
+
borrowing: RewardStructOutput[];
|
|
273
|
+
lending: RewardStructOutput[];
|
|
274
|
+
}
|
|
275
|
+
>;
|
|
276
|
+
|
|
277
|
+
thresholds(
|
|
278
|
+
box: string,
|
|
279
|
+
overrides?: CallOverrides
|
|
280
|
+
): Promise<
|
|
281
|
+
[BigNumber, BigNumber] & {
|
|
282
|
+
ltv: BigNumber;
|
|
283
|
+
liquidationThreshold: BigNumber;
|
|
284
|
+
}
|
|
285
|
+
>;
|
|
286
|
+
};
|
|
287
|
+
|
|
288
|
+
filters: {};
|
|
289
|
+
|
|
290
|
+
estimateGas: {
|
|
291
|
+
POSITION_BOX_FACTORY(overrides?: CallOverrides): Promise<BigNumber>;
|
|
292
|
+
|
|
293
|
+
PT_LOOPER(overrides?: CallOverrides): Promise<BigNumber>;
|
|
294
|
+
|
|
295
|
+
limits(box: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
296
|
+
|
|
297
|
+
liquidity(box: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
298
|
+
|
|
299
|
+
moneyMarketBalances(
|
|
300
|
+
box: string,
|
|
301
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
302
|
+
): Promise<BigNumber>;
|
|
303
|
+
|
|
304
|
+
moneyMarketName(overrides?: CallOverrides): Promise<BigNumber>;
|
|
305
|
+
|
|
306
|
+
ptDebtRate(box: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
307
|
+
|
|
308
|
+
rates(box: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
309
|
+
|
|
310
|
+
rewards(
|
|
311
|
+
box: string,
|
|
312
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
313
|
+
): Promise<BigNumber>;
|
|
314
|
+
|
|
315
|
+
thresholds(box: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
316
|
+
};
|
|
317
|
+
|
|
318
|
+
populateTransaction: {
|
|
319
|
+
POSITION_BOX_FACTORY(
|
|
320
|
+
overrides?: CallOverrides
|
|
321
|
+
): Promise<PopulatedTransaction>;
|
|
322
|
+
|
|
323
|
+
PT_LOOPER(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
324
|
+
|
|
325
|
+
limits(
|
|
326
|
+
box: string,
|
|
327
|
+
overrides?: CallOverrides
|
|
328
|
+
): Promise<PopulatedTransaction>;
|
|
329
|
+
|
|
330
|
+
liquidity(
|
|
331
|
+
box: string,
|
|
332
|
+
overrides?: CallOverrides
|
|
333
|
+
): Promise<PopulatedTransaction>;
|
|
334
|
+
|
|
335
|
+
moneyMarketBalances(
|
|
336
|
+
box: string,
|
|
337
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
338
|
+
): Promise<PopulatedTransaction>;
|
|
339
|
+
|
|
340
|
+
moneyMarketName(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
341
|
+
|
|
342
|
+
ptDebtRate(
|
|
343
|
+
box: string,
|
|
344
|
+
overrides?: CallOverrides
|
|
345
|
+
): Promise<PopulatedTransaction>;
|
|
346
|
+
|
|
347
|
+
rates(
|
|
348
|
+
box: string,
|
|
349
|
+
overrides?: CallOverrides
|
|
350
|
+
): Promise<PopulatedTransaction>;
|
|
351
|
+
|
|
352
|
+
rewards(
|
|
353
|
+
box: string,
|
|
354
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
355
|
+
): Promise<PopulatedTransaction>;
|
|
356
|
+
|
|
357
|
+
thresholds(
|
|
358
|
+
box: string,
|
|
359
|
+
overrides?: CallOverrides
|
|
360
|
+
): Promise<PopulatedTransaction>;
|
|
361
|
+
};
|
|
362
|
+
}
|