@gearbox-protocol/sdk 1.20.6 → 1.20.7
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/lib/core/pool.d.ts +9 -1
- package/lib/core/pool.js +46 -0
- package/lib/core/rewardConvex.spec.js +0 -1
- package/lib/pathfinder/pathfinder.d.ts +2 -3
- package/lib/types/@chainlink/contracts/src/v0.8/interfaces/AggregatorInterface.d.ts +106 -0
- package/lib/types/@chainlink/contracts/src/v0.8/interfaces/AggregatorV2V3Interface.d.ts +218 -0
- package/lib/types/@chainlink/contracts/src/v0.8/interfaces/index.d.ts +2 -0
- package/lib/types/@gearbox-protocol/core-v2/contracts/index.d.ts +2 -0
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/ICreditConfigurator.sol/ICreditConfigurator.d.ts +28 -1
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/ICreditConfigurator.sol/ICreditConfiguratorEvents.d.ts +11 -0
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/adapters/IAdapter.sol/IAdapter.d.ts +1 -9
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/adapters/IUniversalAdapter.sol/IUniversalAdapter.d.ts +1 -9
- package/lib/types/@gearbox-protocol/core-v2/contracts/pool/PoolService.d.ts +570 -0
- package/lib/types/@gearbox-protocol/core-v2/contracts/pool/index.d.ts +1 -0
- package/lib/types/@gearbox-protocol/core-v2/contracts/pool/index.js +2 -0
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/convex/IConvexV1BaseRewardPoolAdapter.sol/IConvexV1BaseRewardPoolAdapter.d.ts +1 -9
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/convex/IConvexV1BoosterAdapter.d.ts +1 -9
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1Adapter.sol/ICurveV1Adapter.d.ts +1 -9
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1_2AssetsAdapter.d.ts +1 -9
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1_3AssetsAdapter.d.ts +1 -9
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1_4AssetsAdapter.d.ts +1 -9
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/lido/ILidoV1Adapter.sol/ILidoV1Adapter.d.ts +1 -9
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/lido/IwstETHV1Adapter.d.ts +1 -9
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapPathChecker.d.ts +106 -0
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapPathChecker.js +2 -0
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/{IUniswapV2Adapter.d.ts → IUniswapV2Adapter.sol/IUniswapV2Adapter.d.ts} +2 -10
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV2Adapter.sol/IUniswapV2Adapter.js +2 -0
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions.d.ts +27 -0
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions.js +2 -0
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV2Adapter.sol/index.d.ts +2 -0
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV2Adapter.sol/index.js +2 -0
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV3Adapter.sol/IUniswapV3Adapter.d.ts +1 -9
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/index.d.ts +3 -1
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/yearn/IYearnV2Adapter.d.ts +1 -9
- package/lib/types/contracts/IGnosisSafeSignatureValidator.d.ts +42 -0
- package/lib/types/contracts/IGnosisSafeSignatureValidator.js +2 -0
- package/lib/types/contracts/index.d.ts +3 -2
- package/lib/types/contracts/{MultiCall.sol → support/MultiCall.sol}/Multicall2.d.ts +1 -1
- package/lib/types/contracts/support/MultiCall.sol/Multicall2.js +2 -0
- package/lib/types/contracts/support/MultiCall.sol/index.js +2 -0
- package/lib/types/contracts/support/index.d.ts +2 -0
- package/lib/types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorInterface__factory.d.ts +35 -0
- package/lib/types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorInterface__factory.js +149 -0
- package/lib/types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV2V3Interface__factory.d.ts +35 -0
- package/lib/types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV2V3Interface__factory.js +260 -0
- package/lib/types/factories/@chainlink/contracts/src/v0.8/interfaces/index.d.ts +2 -0
- package/lib/types/factories/@chainlink/contracts/src/v0.8/interfaces/index.js +5 -1
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/index.d.ts +1 -0
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/index.js +2 -1
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditConfigurator.sol/ICreditConfiguratorEvents__factory.js +13 -0
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditConfigurator.sol/ICreditConfigurator__factory.js +26 -0
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/adapters/IAdapter.sol/IAdapter__factory.js +0 -13
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/adapters/IUniversalAdapter.sol/IUniversalAdapter__factory.js +0 -13
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/pool/PoolService__factory.d.ts +65 -0
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/pool/PoolService__factory.js +884 -0
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/pool/index.d.ts +1 -0
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/pool/index.js +8 -0
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/convex/IConvexV1BaseRewardPoolAdapter.sol/IConvexV1BaseRewardPoolAdapter__factory.js +0 -13
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/convex/IConvexV1BoosterAdapter__factory.js +0 -13
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1Adapter.sol/ICurveV1Adapter__factory.js +0 -13
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1_2AssetsAdapter__factory.js +0 -13
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1_3AssetsAdapter__factory.js +0 -13
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1_4AssetsAdapter__factory.js +0 -13
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/lido/ILidoV1Adapter.sol/ILidoV1Adapter__factory.js +0 -13
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/lido/IwstETHV1Adapter__factory.js +0 -13
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapPathChecker__factory.d.ts +22 -0
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapPathChecker__factory.js +99 -0
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions__factory.d.ts +12 -0
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions__factory.js +27 -0
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/{IUniswapV2Adapter__factory.d.ts → IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.d.ts} +1 -1
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/{IUniswapV2Adapter__factory.js → IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.js} +5 -13
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV2Adapter.sol/index.d.ts +2 -0
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV2Adapter.sol/index.js +10 -0
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions__factory.js +1 -1
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.js +1 -14
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/index.d.ts +2 -1
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/index.js +4 -3
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/yearn/IYearnV2Adapter__factory.js +0 -13
- package/lib/types/factories/contracts/IGnosisSafeSignatureValidator__factory.d.ts +22 -0
- package/lib/types/factories/contracts/IGnosisSafeSignatureValidator__factory.js +46 -0
- package/lib/types/factories/contracts/index.d.ts +2 -1
- package/lib/types/factories/contracts/index.js +4 -2
- package/lib/types/factories/contracts/{MultiCall.sol → support/MultiCall.sol}/Multicall2__factory.d.ts +2 -2
- package/lib/types/factories/contracts/{MultiCall.sol → support/MultiCall.sol}/Multicall2__factory.js +1 -1
- package/lib/types/factories/contracts/support/index.d.ts +1 -0
- package/lib/types/factories/contracts/support/index.js +25 -1
- package/lib/types/index.d.ts +16 -4
- package/lib/types/index.js +15 -3
- package/package.json +1 -1
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV2Adapter.js → @chainlink/contracts/src/v0.8/interfaces/AggregatorInterface.js} +0 -0
- /package/lib/types/{contracts/MultiCall.sol/Multicall2.js → @chainlink/contracts/src/v0.8/interfaces/AggregatorV2V3Interface.js} +0 -0
- /package/lib/types/{contracts/MultiCall.sol/index.js → @gearbox-protocol/core-v2/contracts/pool/PoolService.js} +0 -0
- /package/lib/types/contracts/{MultiCall.sol → support/MultiCall.sol}/index.d.ts +0 -0
- /package/lib/types/factories/contracts/{MultiCall.sol → support/MultiCall.sol}/index.d.ts +0 -0
- /package/lib/types/factories/contracts/{MultiCall.sol → support/MultiCall.sol}/index.js +0 -0
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import type { BaseContract, BigNumber, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers";
|
|
2
|
+
import type { FunctionFragment, Result } from "@ethersproject/abi";
|
|
3
|
+
import type { Listener, Provider } from "@ethersproject/providers";
|
|
4
|
+
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "../../../../../common";
|
|
5
|
+
export interface IUniswapPathCheckerInterface extends utils.Interface {
|
|
6
|
+
functions: {
|
|
7
|
+
"isConnector(address)": FunctionFragment;
|
|
8
|
+
"parseUniV2Path(address[])": FunctionFragment;
|
|
9
|
+
"parseUniV3Path(bytes)": FunctionFragment;
|
|
10
|
+
};
|
|
11
|
+
getFunction(nameOrSignatureOrTopic: "isConnector" | "parseUniV2Path" | "parseUniV3Path"): FunctionFragment;
|
|
12
|
+
encodeFunctionData(functionFragment: "isConnector", values: [string]): string;
|
|
13
|
+
encodeFunctionData(functionFragment: "parseUniV2Path", values: [string[]]): string;
|
|
14
|
+
encodeFunctionData(functionFragment: "parseUniV3Path", values: [BytesLike]): string;
|
|
15
|
+
decodeFunctionResult(functionFragment: "isConnector", data: BytesLike): Result;
|
|
16
|
+
decodeFunctionResult(functionFragment: "parseUniV2Path", data: BytesLike): Result;
|
|
17
|
+
decodeFunctionResult(functionFragment: "parseUniV3Path", data: BytesLike): Result;
|
|
18
|
+
events: {};
|
|
19
|
+
}
|
|
20
|
+
export interface IUniswapPathChecker extends BaseContract {
|
|
21
|
+
connect(signerOrProvider: Signer | Provider | string): this;
|
|
22
|
+
attach(addressOrName: string): this;
|
|
23
|
+
deployed(): Promise<this>;
|
|
24
|
+
interface: IUniswapPathCheckerInterface;
|
|
25
|
+
queryFilter<TEvent extends TypedEvent>(event: TypedEventFilter<TEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TEvent>>;
|
|
26
|
+
listeners<TEvent extends TypedEvent>(eventFilter?: TypedEventFilter<TEvent>): Array<TypedListener<TEvent>>;
|
|
27
|
+
listeners(eventName?: string): Array<Listener>;
|
|
28
|
+
removeAllListeners<TEvent extends TypedEvent>(eventFilter: TypedEventFilter<TEvent>): this;
|
|
29
|
+
removeAllListeners(eventName?: string): this;
|
|
30
|
+
off: OnEvent<this>;
|
|
31
|
+
on: OnEvent<this>;
|
|
32
|
+
once: OnEvent<this>;
|
|
33
|
+
removeListener: OnEvent<this>;
|
|
34
|
+
functions: {
|
|
35
|
+
isConnector(token: string, overrides?: CallOverrides): Promise<[boolean]>;
|
|
36
|
+
parseUniV2Path(path: string[], overrides?: CallOverrides): Promise<[
|
|
37
|
+
boolean,
|
|
38
|
+
string,
|
|
39
|
+
string
|
|
40
|
+
] & {
|
|
41
|
+
valid: boolean;
|
|
42
|
+
tokenIn: string;
|
|
43
|
+
tokenOut: string;
|
|
44
|
+
}>;
|
|
45
|
+
parseUniV3Path(path: BytesLike, overrides?: CallOverrides): Promise<[
|
|
46
|
+
boolean,
|
|
47
|
+
string,
|
|
48
|
+
string
|
|
49
|
+
] & {
|
|
50
|
+
valid: boolean;
|
|
51
|
+
tokenIn: string;
|
|
52
|
+
tokenOut: string;
|
|
53
|
+
}>;
|
|
54
|
+
};
|
|
55
|
+
isConnector(token: string, overrides?: CallOverrides): Promise<boolean>;
|
|
56
|
+
parseUniV2Path(path: string[], overrides?: CallOverrides): Promise<[
|
|
57
|
+
boolean,
|
|
58
|
+
string,
|
|
59
|
+
string
|
|
60
|
+
] & {
|
|
61
|
+
valid: boolean;
|
|
62
|
+
tokenIn: string;
|
|
63
|
+
tokenOut: string;
|
|
64
|
+
}>;
|
|
65
|
+
parseUniV3Path(path: BytesLike, overrides?: CallOverrides): Promise<[
|
|
66
|
+
boolean,
|
|
67
|
+
string,
|
|
68
|
+
string
|
|
69
|
+
] & {
|
|
70
|
+
valid: boolean;
|
|
71
|
+
tokenIn: string;
|
|
72
|
+
tokenOut: string;
|
|
73
|
+
}>;
|
|
74
|
+
callStatic: {
|
|
75
|
+
isConnector(token: string, overrides?: CallOverrides): Promise<boolean>;
|
|
76
|
+
parseUniV2Path(path: string[], overrides?: CallOverrides): Promise<[
|
|
77
|
+
boolean,
|
|
78
|
+
string,
|
|
79
|
+
string
|
|
80
|
+
] & {
|
|
81
|
+
valid: boolean;
|
|
82
|
+
tokenIn: string;
|
|
83
|
+
tokenOut: string;
|
|
84
|
+
}>;
|
|
85
|
+
parseUniV3Path(path: BytesLike, overrides?: CallOverrides): Promise<[
|
|
86
|
+
boolean,
|
|
87
|
+
string,
|
|
88
|
+
string
|
|
89
|
+
] & {
|
|
90
|
+
valid: boolean;
|
|
91
|
+
tokenIn: string;
|
|
92
|
+
tokenOut: string;
|
|
93
|
+
}>;
|
|
94
|
+
};
|
|
95
|
+
filters: {};
|
|
96
|
+
estimateGas: {
|
|
97
|
+
isConnector(token: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
98
|
+
parseUniV2Path(path: string[], overrides?: CallOverrides): Promise<BigNumber>;
|
|
99
|
+
parseUniV3Path(path: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
|
|
100
|
+
};
|
|
101
|
+
populateTransaction: {
|
|
102
|
+
isConnector(token: string, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
103
|
+
parseUniV2Path(path: string[], overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
104
|
+
parseUniV3Path(path: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
105
|
+
};
|
|
106
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PayableOverrides, PopulatedTransaction, Signer, utils } from "ethers";
|
|
2
2
|
import type { FunctionFragment, Result } from "@ethersproject/abi";
|
|
3
3
|
import type { Listener, Provider } from "@ethersproject/providers";
|
|
4
|
-
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "
|
|
4
|
+
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "../../../../../../common";
|
|
5
5
|
export interface IUniswapV2AdapterInterface extends utils.Interface {
|
|
6
6
|
functions: {
|
|
7
7
|
"WETH()": FunctionFragment;
|
|
@@ -9,7 +9,6 @@ export interface IUniswapV2AdapterInterface extends utils.Interface {
|
|
|
9
9
|
"_gearboxAdapterVersion()": FunctionFragment;
|
|
10
10
|
"addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256)": FunctionFragment;
|
|
11
11
|
"addLiquidityETH(address,uint256,uint256,uint256,address,uint256)": FunctionFragment;
|
|
12
|
-
"creditFacade()": FunctionFragment;
|
|
13
12
|
"creditManager()": FunctionFragment;
|
|
14
13
|
"factory()": FunctionFragment;
|
|
15
14
|
"getAmountIn(uint256,uint256,uint256)": FunctionFragment;
|
|
@@ -35,7 +34,7 @@ export interface IUniswapV2AdapterInterface extends utils.Interface {
|
|
|
35
34
|
"swapTokensForExactTokens(uint256,uint256,address[],address,uint256)": FunctionFragment;
|
|
36
35
|
"targetContract()": FunctionFragment;
|
|
37
36
|
};
|
|
38
|
-
getFunction(nameOrSignatureOrTopic: "WETH" | "_gearboxAdapterType" | "_gearboxAdapterVersion" | "addLiquidity" | "addLiquidityETH" | "
|
|
37
|
+
getFunction(nameOrSignatureOrTopic: "WETH" | "_gearboxAdapterType" | "_gearboxAdapterVersion" | "addLiquidity" | "addLiquidityETH" | "creditManager" | "factory" | "getAmountIn" | "getAmountOut" | "getAmountsIn" | "getAmountsOut" | "quote" | "removeLiquidity" | "removeLiquidityETH" | "removeLiquidityETHSupportingFeeOnTransferTokens" | "removeLiquidityETHWithPermit" | "removeLiquidityETHWithPermitSupportingFeeOnTransferTokens" | "removeLiquidityWithPermit" | "swapAllTokensForTokens" | "swapETHForExactTokens" | "swapExactETHForTokens" | "swapExactETHForTokensSupportingFeeOnTransferTokens" | "swapExactTokensForETH" | "swapExactTokensForETHSupportingFeeOnTransferTokens" | "swapExactTokensForTokens" | "swapExactTokensForTokensSupportingFeeOnTransferTokens" | "swapTokensForExactETH" | "swapTokensForExactTokens" | "targetContract"): FunctionFragment;
|
|
39
38
|
encodeFunctionData(functionFragment: "WETH", values?: undefined): string;
|
|
40
39
|
encodeFunctionData(functionFragment: "_gearboxAdapterType", values?: undefined): string;
|
|
41
40
|
encodeFunctionData(functionFragment: "_gearboxAdapterVersion", values?: undefined): string;
|
|
@@ -57,7 +56,6 @@ export interface IUniswapV2AdapterInterface extends utils.Interface {
|
|
|
57
56
|
string,
|
|
58
57
|
BigNumberish
|
|
59
58
|
]): string;
|
|
60
|
-
encodeFunctionData(functionFragment: "creditFacade", values?: undefined): string;
|
|
61
59
|
encodeFunctionData(functionFragment: "creditManager", values?: undefined): string;
|
|
62
60
|
encodeFunctionData(functionFragment: "factory", values?: undefined): string;
|
|
63
61
|
encodeFunctionData(functionFragment: "getAmountIn", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
@@ -143,7 +141,6 @@ export interface IUniswapV2AdapterInterface extends utils.Interface {
|
|
|
143
141
|
decodeFunctionResult(functionFragment: "_gearboxAdapterVersion", data: BytesLike): Result;
|
|
144
142
|
decodeFunctionResult(functionFragment: "addLiquidity", data: BytesLike): Result;
|
|
145
143
|
decodeFunctionResult(functionFragment: "addLiquidityETH", data: BytesLike): Result;
|
|
146
|
-
decodeFunctionResult(functionFragment: "creditFacade", data: BytesLike): Result;
|
|
147
144
|
decodeFunctionResult(functionFragment: "creditManager", data: BytesLike): Result;
|
|
148
145
|
decodeFunctionResult(functionFragment: "factory", data: BytesLike): Result;
|
|
149
146
|
decodeFunctionResult(functionFragment: "getAmountIn", data: BytesLike): Result;
|
|
@@ -194,7 +191,6 @@ export interface IUniswapV2Adapter extends BaseContract {
|
|
|
194
191
|
addLiquidityETH(token: string, amountTokenDesired: BigNumberish, amountTokenMin: BigNumberish, amountETHMin: BigNumberish, to: string, deadline: BigNumberish, overrides?: PayableOverrides & {
|
|
195
192
|
from?: string | Promise<string>;
|
|
196
193
|
}): Promise<ContractTransaction>;
|
|
197
|
-
creditFacade(overrides?: CallOverrides): Promise<[string]>;
|
|
198
194
|
creditManager(overrides?: CallOverrides): Promise<[string]>;
|
|
199
195
|
factory(overrides?: CallOverrides): Promise<[string]>;
|
|
200
196
|
getAmountIn(amountOut: BigNumberish, reserveIn: BigNumberish, reserveOut: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber] & {
|
|
@@ -271,7 +267,6 @@ export interface IUniswapV2Adapter extends BaseContract {
|
|
|
271
267
|
addLiquidityETH(token: string, amountTokenDesired: BigNumberish, amountTokenMin: BigNumberish, amountETHMin: BigNumberish, to: string, deadline: BigNumberish, overrides?: PayableOverrides & {
|
|
272
268
|
from?: string | Promise<string>;
|
|
273
269
|
}): Promise<ContractTransaction>;
|
|
274
|
-
creditFacade(overrides?: CallOverrides): Promise<string>;
|
|
275
270
|
creditManager(overrides?: CallOverrides): Promise<string>;
|
|
276
271
|
factory(overrides?: CallOverrides): Promise<string>;
|
|
277
272
|
getAmountIn(amountOut: BigNumberish, reserveIn: BigNumberish, reserveOut: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -350,7 +345,6 @@ export interface IUniswapV2Adapter extends BaseContract {
|
|
|
350
345
|
amountETH: BigNumber;
|
|
351
346
|
liquidity: BigNumber;
|
|
352
347
|
}>;
|
|
353
|
-
creditFacade(overrides?: CallOverrides): Promise<string>;
|
|
354
348
|
creditManager(overrides?: CallOverrides): Promise<string>;
|
|
355
349
|
factory(overrides?: CallOverrides): Promise<string>;
|
|
356
350
|
getAmountIn(amountOut: BigNumberish, reserveIn: BigNumberish, reserveOut: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -411,7 +405,6 @@ export interface IUniswapV2Adapter extends BaseContract {
|
|
|
411
405
|
addLiquidityETH(token: string, amountTokenDesired: BigNumberish, amountTokenMin: BigNumberish, amountETHMin: BigNumberish, to: string, deadline: BigNumberish, overrides?: PayableOverrides & {
|
|
412
406
|
from?: string | Promise<string>;
|
|
413
407
|
}): Promise<BigNumber>;
|
|
414
|
-
creditFacade(overrides?: CallOverrides): Promise<BigNumber>;
|
|
415
408
|
creditManager(overrides?: CallOverrides): Promise<BigNumber>;
|
|
416
409
|
factory(overrides?: CallOverrides): Promise<BigNumber>;
|
|
417
410
|
getAmountIn(amountOut: BigNumberish, reserveIn: BigNumberish, reserveOut: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -479,7 +472,6 @@ export interface IUniswapV2Adapter extends BaseContract {
|
|
|
479
472
|
addLiquidityETH(token: string, amountTokenDesired: BigNumberish, amountTokenMin: BigNumberish, amountETHMin: BigNumberish, to: string, deadline: BigNumberish, overrides?: PayableOverrides & {
|
|
480
473
|
from?: string | Promise<string>;
|
|
481
474
|
}): Promise<PopulatedTransaction>;
|
|
482
|
-
creditFacade(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
483
475
|
creditManager(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
484
476
|
factory(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
485
477
|
getAmountIn(amountOut: BigNumberish, reserveIn: BigNumberish, reserveOut: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { BaseContract, Signer, utils } from "ethers";
|
|
2
|
+
import type { Listener, Provider } from "@ethersproject/providers";
|
|
3
|
+
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "../../../../../../common";
|
|
4
|
+
export interface IUniswapV2AdapterExceptionsInterface extends utils.Interface {
|
|
5
|
+
functions: {};
|
|
6
|
+
events: {};
|
|
7
|
+
}
|
|
8
|
+
export interface IUniswapV2AdapterExceptions extends BaseContract {
|
|
9
|
+
connect(signerOrProvider: Signer | Provider | string): this;
|
|
10
|
+
attach(addressOrName: string): this;
|
|
11
|
+
deployed(): Promise<this>;
|
|
12
|
+
interface: IUniswapV2AdapterExceptionsInterface;
|
|
13
|
+
queryFilter<TEvent extends TypedEvent>(event: TypedEventFilter<TEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TEvent>>;
|
|
14
|
+
listeners<TEvent extends TypedEvent>(eventFilter?: TypedEventFilter<TEvent>): Array<TypedListener<TEvent>>;
|
|
15
|
+
listeners(eventName?: string): Array<Listener>;
|
|
16
|
+
removeAllListeners<TEvent extends TypedEvent>(eventFilter: TypedEventFilter<TEvent>): this;
|
|
17
|
+
removeAllListeners(eventName?: string): this;
|
|
18
|
+
off: OnEvent<this>;
|
|
19
|
+
on: OnEvent<this>;
|
|
20
|
+
once: OnEvent<this>;
|
|
21
|
+
removeListener: OnEvent<this>;
|
|
22
|
+
functions: {};
|
|
23
|
+
callStatic: {};
|
|
24
|
+
filters: {};
|
|
25
|
+
estimateGas: {};
|
|
26
|
+
populateTransaction: {};
|
|
27
|
+
}
|
|
@@ -145,7 +145,6 @@ export interface IUniswapV3AdapterInterface extends utils.Interface {
|
|
|
145
145
|
functions: {
|
|
146
146
|
"_gearboxAdapterType()": FunctionFragment;
|
|
147
147
|
"_gearboxAdapterVersion()": FunctionFragment;
|
|
148
|
-
"creditFacade()": FunctionFragment;
|
|
149
148
|
"creditManager()": FunctionFragment;
|
|
150
149
|
"exactAllInput((bytes,uint256,uint256))": FunctionFragment;
|
|
151
150
|
"exactAllInputSingle((address,address,uint24,uint256,uint256,uint160))": FunctionFragment;
|
|
@@ -155,10 +154,9 @@ export interface IUniswapV3AdapterInterface extends utils.Interface {
|
|
|
155
154
|
"exactOutputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160))": FunctionFragment;
|
|
156
155
|
"targetContract()": FunctionFragment;
|
|
157
156
|
};
|
|
158
|
-
getFunction(nameOrSignatureOrTopic: "_gearboxAdapterType" | "_gearboxAdapterVersion" | "
|
|
157
|
+
getFunction(nameOrSignatureOrTopic: "_gearboxAdapterType" | "_gearboxAdapterVersion" | "creditManager" | "exactAllInput" | "exactAllInputSingle" | "exactInput" | "exactInputSingle" | "exactOutput" | "exactOutputSingle" | "targetContract"): FunctionFragment;
|
|
159
158
|
encodeFunctionData(functionFragment: "_gearboxAdapterType", values?: undefined): string;
|
|
160
159
|
encodeFunctionData(functionFragment: "_gearboxAdapterVersion", values?: undefined): string;
|
|
161
|
-
encodeFunctionData(functionFragment: "creditFacade", values?: undefined): string;
|
|
162
160
|
encodeFunctionData(functionFragment: "creditManager", values?: undefined): string;
|
|
163
161
|
encodeFunctionData(functionFragment: "exactAllInput", values: [IUniswapV3Adapter.ExactAllInputParamsStruct]): string;
|
|
164
162
|
encodeFunctionData(functionFragment: "exactAllInputSingle", values: [IUniswapV3Adapter.ExactAllInputSingleParamsStruct]): string;
|
|
@@ -169,7 +167,6 @@ export interface IUniswapV3AdapterInterface extends utils.Interface {
|
|
|
169
167
|
encodeFunctionData(functionFragment: "targetContract", values?: undefined): string;
|
|
170
168
|
decodeFunctionResult(functionFragment: "_gearboxAdapterType", data: BytesLike): Result;
|
|
171
169
|
decodeFunctionResult(functionFragment: "_gearboxAdapterVersion", data: BytesLike): Result;
|
|
172
|
-
decodeFunctionResult(functionFragment: "creditFacade", data: BytesLike): Result;
|
|
173
170
|
decodeFunctionResult(functionFragment: "creditManager", data: BytesLike): Result;
|
|
174
171
|
decodeFunctionResult(functionFragment: "exactAllInput", data: BytesLike): Result;
|
|
175
172
|
decodeFunctionResult(functionFragment: "exactAllInputSingle", data: BytesLike): Result;
|
|
@@ -197,7 +194,6 @@ export interface IUniswapV3Adapter extends BaseContract {
|
|
|
197
194
|
functions: {
|
|
198
195
|
_gearboxAdapterType(overrides?: CallOverrides): Promise<[number]>;
|
|
199
196
|
_gearboxAdapterVersion(overrides?: CallOverrides): Promise<[number]>;
|
|
200
|
-
creditFacade(overrides?: CallOverrides): Promise<[string]>;
|
|
201
197
|
creditManager(overrides?: CallOverrides): Promise<[string]>;
|
|
202
198
|
exactAllInput(params: IUniswapV3Adapter.ExactAllInputParamsStruct, overrides?: Overrides & {
|
|
203
199
|
from?: string | Promise<string>;
|
|
@@ -221,7 +217,6 @@ export interface IUniswapV3Adapter extends BaseContract {
|
|
|
221
217
|
};
|
|
222
218
|
_gearboxAdapterType(overrides?: CallOverrides): Promise<number>;
|
|
223
219
|
_gearboxAdapterVersion(overrides?: CallOverrides): Promise<number>;
|
|
224
|
-
creditFacade(overrides?: CallOverrides): Promise<string>;
|
|
225
220
|
creditManager(overrides?: CallOverrides): Promise<string>;
|
|
226
221
|
exactAllInput(params: IUniswapV3Adapter.ExactAllInputParamsStruct, overrides?: Overrides & {
|
|
227
222
|
from?: string | Promise<string>;
|
|
@@ -245,7 +240,6 @@ export interface IUniswapV3Adapter extends BaseContract {
|
|
|
245
240
|
callStatic: {
|
|
246
241
|
_gearboxAdapterType(overrides?: CallOverrides): Promise<number>;
|
|
247
242
|
_gearboxAdapterVersion(overrides?: CallOverrides): Promise<number>;
|
|
248
|
-
creditFacade(overrides?: CallOverrides): Promise<string>;
|
|
249
243
|
creditManager(overrides?: CallOverrides): Promise<string>;
|
|
250
244
|
exactAllInput(params: IUniswapV3Adapter.ExactAllInputParamsStruct, overrides?: CallOverrides): Promise<BigNumber>;
|
|
251
245
|
exactAllInputSingle(params: IUniswapV3Adapter.ExactAllInputSingleParamsStruct, overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -259,7 +253,6 @@ export interface IUniswapV3Adapter extends BaseContract {
|
|
|
259
253
|
estimateGas: {
|
|
260
254
|
_gearboxAdapterType(overrides?: CallOverrides): Promise<BigNumber>;
|
|
261
255
|
_gearboxAdapterVersion(overrides?: CallOverrides): Promise<BigNumber>;
|
|
262
|
-
creditFacade(overrides?: CallOverrides): Promise<BigNumber>;
|
|
263
256
|
creditManager(overrides?: CallOverrides): Promise<BigNumber>;
|
|
264
257
|
exactAllInput(params: IUniswapV3Adapter.ExactAllInputParamsStruct, overrides?: Overrides & {
|
|
265
258
|
from?: string | Promise<string>;
|
|
@@ -284,7 +277,6 @@ export interface IUniswapV3Adapter extends BaseContract {
|
|
|
284
277
|
populateTransaction: {
|
|
285
278
|
_gearboxAdapterType(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
286
279
|
_gearboxAdapterVersion(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
287
|
-
creditFacade(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
288
280
|
creditManager(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
289
281
|
exactAllInput(params: IUniswapV3Adapter.ExactAllInputParamsStruct, overrides?: Overrides & {
|
|
290
282
|
from?: string | Promise<string>;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type * as iUniswapV2AdapterSol from "./IUniswapV2Adapter.sol";
|
|
2
|
+
export type { iUniswapV2AdapterSol };
|
|
1
3
|
import type * as iUniswapV3AdapterSol from "./IUniswapV3Adapter.sol";
|
|
2
4
|
export type { iUniswapV3AdapterSol };
|
|
3
|
-
export type {
|
|
5
|
+
export type { IUniswapPathChecker } from "./IUniswapPathChecker";
|
package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/yearn/IYearnV2Adapter.d.ts
CHANGED
|
@@ -9,7 +9,6 @@ export interface IYearnV2AdapterInterface extends utils.Interface {
|
|
|
9
9
|
"allowance(address,address)": FunctionFragment;
|
|
10
10
|
"approve(address,uint256)": FunctionFragment;
|
|
11
11
|
"balanceOf(address)": FunctionFragment;
|
|
12
|
-
"creditFacade()": FunctionFragment;
|
|
13
12
|
"creditManager()": FunctionFragment;
|
|
14
13
|
"decimals()": FunctionFragment;
|
|
15
14
|
"deposit(uint256,address)": FunctionFragment;
|
|
@@ -28,13 +27,12 @@ export interface IYearnV2AdapterInterface extends utils.Interface {
|
|
|
28
27
|
"withdraw()": FunctionFragment;
|
|
29
28
|
"withdraw(uint256,address,uint256)": FunctionFragment;
|
|
30
29
|
};
|
|
31
|
-
getFunction(nameOrSignatureOrTopic: "_gearboxAdapterType" | "_gearboxAdapterVersion" | "allowance" | "approve" | "balanceOf" | "
|
|
30
|
+
getFunction(nameOrSignatureOrTopic: "_gearboxAdapterType" | "_gearboxAdapterVersion" | "allowance" | "approve" | "balanceOf" | "creditManager" | "decimals" | "deposit(uint256,address)" | "deposit(uint256)" | "deposit()" | "name" | "pricePerShare" | "symbol" | "targetContract" | "token" | "totalSupply" | "transfer" | "transferFrom" | "withdraw(uint256,address)" | "withdraw(uint256)" | "withdraw()" | "withdraw(uint256,address,uint256)"): FunctionFragment;
|
|
32
31
|
encodeFunctionData(functionFragment: "_gearboxAdapterType", values?: undefined): string;
|
|
33
32
|
encodeFunctionData(functionFragment: "_gearboxAdapterVersion", values?: undefined): string;
|
|
34
33
|
encodeFunctionData(functionFragment: "allowance", values: [string, string]): string;
|
|
35
34
|
encodeFunctionData(functionFragment: "approve", values: [string, BigNumberish]): string;
|
|
36
35
|
encodeFunctionData(functionFragment: "balanceOf", values: [string]): string;
|
|
37
|
-
encodeFunctionData(functionFragment: "creditFacade", values?: undefined): string;
|
|
38
36
|
encodeFunctionData(functionFragment: "creditManager", values?: undefined): string;
|
|
39
37
|
encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
|
|
40
38
|
encodeFunctionData(functionFragment: "deposit(uint256,address)", values: [BigNumberish, string]): string;
|
|
@@ -57,7 +55,6 @@ export interface IYearnV2AdapterInterface extends utils.Interface {
|
|
|
57
55
|
decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
|
|
58
56
|
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
|
|
59
57
|
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
|
60
|
-
decodeFunctionResult(functionFragment: "creditFacade", data: BytesLike): Result;
|
|
61
58
|
decodeFunctionResult(functionFragment: "creditManager", data: BytesLike): Result;
|
|
62
59
|
decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
|
|
63
60
|
decodeFunctionResult(functionFragment: "deposit(uint256,address)", data: BytesLike): Result;
|
|
@@ -126,7 +123,6 @@ export interface IYearnV2Adapter extends BaseContract {
|
|
|
126
123
|
from?: string | Promise<string>;
|
|
127
124
|
}): Promise<ContractTransaction>;
|
|
128
125
|
balanceOf(account: string, overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
129
|
-
creditFacade(overrides?: CallOverrides): Promise<[string]>;
|
|
130
126
|
creditManager(overrides?: CallOverrides): Promise<[string]>;
|
|
131
127
|
decimals(overrides?: CallOverrides): Promise<[number]>;
|
|
132
128
|
"deposit(uint256,address)"(_amount: BigNumberish, recipient: string, overrides?: Overrides & {
|
|
@@ -170,7 +166,6 @@ export interface IYearnV2Adapter extends BaseContract {
|
|
|
170
166
|
from?: string | Promise<string>;
|
|
171
167
|
}): Promise<ContractTransaction>;
|
|
172
168
|
balanceOf(account: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
173
|
-
creditFacade(overrides?: CallOverrides): Promise<string>;
|
|
174
169
|
creditManager(overrides?: CallOverrides): Promise<string>;
|
|
175
170
|
decimals(overrides?: CallOverrides): Promise<number>;
|
|
176
171
|
"deposit(uint256,address)"(_amount: BigNumberish, recipient: string, overrides?: Overrides & {
|
|
@@ -212,7 +207,6 @@ export interface IYearnV2Adapter extends BaseContract {
|
|
|
212
207
|
allowance(owner: string, spender: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
213
208
|
approve(spender: string, amount: BigNumberish, overrides?: CallOverrides): Promise<boolean>;
|
|
214
209
|
balanceOf(account: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
215
|
-
creditFacade(overrides?: CallOverrides): Promise<string>;
|
|
216
210
|
creditManager(overrides?: CallOverrides): Promise<string>;
|
|
217
211
|
decimals(overrides?: CallOverrides): Promise<number>;
|
|
218
212
|
"deposit(uint256,address)"(_amount: BigNumberish, recipient: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -245,7 +239,6 @@ export interface IYearnV2Adapter extends BaseContract {
|
|
|
245
239
|
from?: string | Promise<string>;
|
|
246
240
|
}): Promise<BigNumber>;
|
|
247
241
|
balanceOf(account: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
248
|
-
creditFacade(overrides?: CallOverrides): Promise<BigNumber>;
|
|
249
242
|
creditManager(overrides?: CallOverrides): Promise<BigNumber>;
|
|
250
243
|
decimals(overrides?: CallOverrides): Promise<BigNumber>;
|
|
251
244
|
"deposit(uint256,address)"(_amount: BigNumberish, recipient: string, overrides?: Overrides & {
|
|
@@ -290,7 +283,6 @@ export interface IYearnV2Adapter extends BaseContract {
|
|
|
290
283
|
from?: string | Promise<string>;
|
|
291
284
|
}): Promise<PopulatedTransaction>;
|
|
292
285
|
balanceOf(account: string, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
293
|
-
creditFacade(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
294
286
|
creditManager(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
295
287
|
decimals(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
296
288
|
"deposit(uint256,address)"(_amount: BigNumberish, recipient: string, overrides?: Overrides & {
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { BaseContract, BigNumber, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers";
|
|
2
|
+
import type { FunctionFragment, Result } from "@ethersproject/abi";
|
|
3
|
+
import type { Listener, Provider } from "@ethersproject/providers";
|
|
4
|
+
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "../common";
|
|
5
|
+
export interface IGnosisSafeSignatureValidatorInterface extends utils.Interface {
|
|
6
|
+
functions: {
|
|
7
|
+
"isValidSignature(bytes,bytes)": FunctionFragment;
|
|
8
|
+
};
|
|
9
|
+
getFunction(nameOrSignatureOrTopic: "isValidSignature"): FunctionFragment;
|
|
10
|
+
encodeFunctionData(functionFragment: "isValidSignature", values: [BytesLike, BytesLike]): string;
|
|
11
|
+
decodeFunctionResult(functionFragment: "isValidSignature", data: BytesLike): Result;
|
|
12
|
+
events: {};
|
|
13
|
+
}
|
|
14
|
+
export interface IGnosisSafeSignatureValidator extends BaseContract {
|
|
15
|
+
connect(signerOrProvider: Signer | Provider | string): this;
|
|
16
|
+
attach(addressOrName: string): this;
|
|
17
|
+
deployed(): Promise<this>;
|
|
18
|
+
interface: IGnosisSafeSignatureValidatorInterface;
|
|
19
|
+
queryFilter<TEvent extends TypedEvent>(event: TypedEventFilter<TEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TEvent>>;
|
|
20
|
+
listeners<TEvent extends TypedEvent>(eventFilter?: TypedEventFilter<TEvent>): Array<TypedListener<TEvent>>;
|
|
21
|
+
listeners(eventName?: string): Array<Listener>;
|
|
22
|
+
removeAllListeners<TEvent extends TypedEvent>(eventFilter: TypedEventFilter<TEvent>): this;
|
|
23
|
+
removeAllListeners(eventName?: string): this;
|
|
24
|
+
off: OnEvent<this>;
|
|
25
|
+
on: OnEvent<this>;
|
|
26
|
+
once: OnEvent<this>;
|
|
27
|
+
removeListener: OnEvent<this>;
|
|
28
|
+
functions: {
|
|
29
|
+
isValidSignature(_data: BytesLike, _signature: BytesLike, overrides?: CallOverrides): Promise<[string]>;
|
|
30
|
+
};
|
|
31
|
+
isValidSignature(_data: BytesLike, _signature: BytesLike, overrides?: CallOverrides): Promise<string>;
|
|
32
|
+
callStatic: {
|
|
33
|
+
isValidSignature(_data: BytesLike, _signature: BytesLike, overrides?: CallOverrides): Promise<string>;
|
|
34
|
+
};
|
|
35
|
+
filters: {};
|
|
36
|
+
estimateGas: {
|
|
37
|
+
isValidSignature(_data: BytesLike, _signature: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
|
|
38
|
+
};
|
|
39
|
+
populateTransaction: {
|
|
40
|
+
isValidSignature(_data: BytesLike, _signature: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type * as iTokenDistributorSol from "./ITokenDistributor.sol";
|
|
2
2
|
export type { iTokenDistributorSol };
|
|
3
|
-
import type * as
|
|
4
|
-
export type {
|
|
3
|
+
import type * as support from "./support";
|
|
4
|
+
export type { support };
|
|
5
5
|
export type { IGas } from "./IGas";
|
|
6
|
+
export type { IGnosisSafeSignatureValidator } from "./IGnosisSafeSignatureValidator";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers";
|
|
2
2
|
import type { FunctionFragment, Result } from "@ethersproject/abi";
|
|
3
3
|
import type { Listener, Provider } from "@ethersproject/providers";
|
|
4
|
-
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "
|
|
4
|
+
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "../../../common";
|
|
5
5
|
export declare namespace Multicall2 {
|
|
6
6
|
type CallStruct = {
|
|
7
7
|
target: string;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Signer } from "ethers";
|
|
2
|
+
import type { Provider } from "@ethersproject/providers";
|
|
3
|
+
import type { AggregatorInterface, AggregatorInterfaceInterface } from "../../../../../../@chainlink/contracts/src/v0.8/interfaces/AggregatorInterface";
|
|
4
|
+
export declare class AggregatorInterface__factory {
|
|
5
|
+
static readonly abi: ({
|
|
6
|
+
anonymous: boolean;
|
|
7
|
+
inputs: {
|
|
8
|
+
indexed: boolean;
|
|
9
|
+
internalType: string;
|
|
10
|
+
name: string;
|
|
11
|
+
type: string;
|
|
12
|
+
}[];
|
|
13
|
+
name: string;
|
|
14
|
+
type: string;
|
|
15
|
+
outputs?: undefined;
|
|
16
|
+
stateMutability?: undefined;
|
|
17
|
+
} | {
|
|
18
|
+
inputs: {
|
|
19
|
+
internalType: string;
|
|
20
|
+
name: string;
|
|
21
|
+
type: string;
|
|
22
|
+
}[];
|
|
23
|
+
name: string;
|
|
24
|
+
outputs: {
|
|
25
|
+
internalType: string;
|
|
26
|
+
name: string;
|
|
27
|
+
type: string;
|
|
28
|
+
}[];
|
|
29
|
+
stateMutability: string;
|
|
30
|
+
type: string;
|
|
31
|
+
anonymous?: undefined;
|
|
32
|
+
})[];
|
|
33
|
+
static createInterface(): AggregatorInterfaceInterface;
|
|
34
|
+
static connect(address: string, signerOrProvider: Signer | Provider): AggregatorInterface;
|
|
35
|
+
}
|