@merkl/contracts 0.1.103 → 0.2.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/dist/src/VIIUniswapV3Wrapper.d.ts +573 -0
- package/dist/src/VIIUniswapV3Wrapper.js +1 -0
- package/dist/src/VIIUniswapV3WrapperFactory.d.ts +161 -0
- package/dist/src/VIIUniswapV3WrapperFactory.js +1 -0
- package/dist/src/VIIUniswapV4Wrapper.d.ts +641 -0
- package/dist/src/VIIUniswapV4Wrapper.js +1 -0
- package/dist/src/VIIUniswapV4WrapperFactory.d.ts +173 -0
- package/dist/src/VIIUniswapV4WrapperFactory.js +1 -0
- package/dist/src/factories/VIIUniswapV3WrapperFactory__factory.d.ts +218 -0
- package/dist/src/factories/VIIUniswapV3WrapperFactory__factory.js +291 -0
- package/dist/src/factories/VIIUniswapV3Wrapper__factory.d.ts +845 -0
- package/dist/src/factories/VIIUniswapV3Wrapper__factory.js +1109 -0
- package/dist/src/factories/VIIUniswapV4WrapperFactory__factory.d.ts +321 -0
- package/dist/src/factories/VIIUniswapV4WrapperFactory__factory.js +423 -0
- package/dist/src/factories/VIIUniswapV4Wrapper__factory.d.ts +909 -0
- package/dist/src/factories/VIIUniswapV4Wrapper__factory.js +1192 -0
- package/dist/src/factories/index.d.ts +4 -0
- package/dist/src/factories/index.js +4 -0
- package/dist/src/index.d.ts +8 -0
- package/dist/src/index.js +8 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import type { BaseContract, BigNumber, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers";
|
|
2
|
+
import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
|
|
3
|
+
import type { Listener, Provider } from "@ethersproject/providers";
|
|
4
|
+
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "./common";
|
|
5
|
+
export interface VIIUniswapV3WrapperFactoryInterface extends utils.Interface {
|
|
6
|
+
functions: {
|
|
7
|
+
"createUniswapV3Wrapper(address,address,address)": FunctionFragment;
|
|
8
|
+
"evc()": FunctionFragment;
|
|
9
|
+
"getFixedRateOracleAddress(address,address)": FunctionFragment;
|
|
10
|
+
"getFixedRateOracleAddress(address)": FunctionFragment;
|
|
11
|
+
"getFixedRateOracleBytecode(address,address)": FunctionFragment;
|
|
12
|
+
"getUniswapV3WrapperAddress(address,address,address)": FunctionFragment;
|
|
13
|
+
"getUniswapV3WrapperBytecode(address,address,address)": FunctionFragment;
|
|
14
|
+
"isFixedRateOracleValid(address)": FunctionFragment;
|
|
15
|
+
"isUniswapV3WrapperValid(address)": FunctionFragment;
|
|
16
|
+
"nonFungiblePositionManager()": FunctionFragment;
|
|
17
|
+
};
|
|
18
|
+
getFunction(nameOrSignatureOrTopic: "createUniswapV3Wrapper" | "evc" | "getFixedRateOracleAddress(address,address)" | "getFixedRateOracleAddress(address)" | "getFixedRateOracleBytecode" | "getUniswapV3WrapperAddress" | "getUniswapV3WrapperBytecode" | "isFixedRateOracleValid" | "isUniswapV3WrapperValid" | "nonFungiblePositionManager"): FunctionFragment;
|
|
19
|
+
encodeFunctionData(functionFragment: "createUniswapV3Wrapper", values: [
|
|
20
|
+
PromiseOrValue<string>,
|
|
21
|
+
PromiseOrValue<string>,
|
|
22
|
+
PromiseOrValue<string>
|
|
23
|
+
]): string;
|
|
24
|
+
encodeFunctionData(functionFragment: "evc", values?: undefined): string;
|
|
25
|
+
encodeFunctionData(functionFragment: "getFixedRateOracleAddress(address,address)", values: [PromiseOrValue<string>, PromiseOrValue<string>]): string;
|
|
26
|
+
encodeFunctionData(functionFragment: "getFixedRateOracleAddress(address)", values: [PromiseOrValue<string>]): string;
|
|
27
|
+
encodeFunctionData(functionFragment: "getFixedRateOracleBytecode", values: [PromiseOrValue<string>, PromiseOrValue<string>]): string;
|
|
28
|
+
encodeFunctionData(functionFragment: "getUniswapV3WrapperAddress", values: [
|
|
29
|
+
PromiseOrValue<string>,
|
|
30
|
+
PromiseOrValue<string>,
|
|
31
|
+
PromiseOrValue<string>
|
|
32
|
+
]): string;
|
|
33
|
+
encodeFunctionData(functionFragment: "getUniswapV3WrapperBytecode", values: [
|
|
34
|
+
PromiseOrValue<string>,
|
|
35
|
+
PromiseOrValue<string>,
|
|
36
|
+
PromiseOrValue<string>
|
|
37
|
+
]): string;
|
|
38
|
+
encodeFunctionData(functionFragment: "isFixedRateOracleValid", values: [PromiseOrValue<string>]): string;
|
|
39
|
+
encodeFunctionData(functionFragment: "isUniswapV3WrapperValid", values: [PromiseOrValue<string>]): string;
|
|
40
|
+
encodeFunctionData(functionFragment: "nonFungiblePositionManager", values?: undefined): string;
|
|
41
|
+
decodeFunctionResult(functionFragment: "createUniswapV3Wrapper", data: BytesLike): Result;
|
|
42
|
+
decodeFunctionResult(functionFragment: "evc", data: BytesLike): Result;
|
|
43
|
+
decodeFunctionResult(functionFragment: "getFixedRateOracleAddress(address,address)", data: BytesLike): Result;
|
|
44
|
+
decodeFunctionResult(functionFragment: "getFixedRateOracleAddress(address)", data: BytesLike): Result;
|
|
45
|
+
decodeFunctionResult(functionFragment: "getFixedRateOracleBytecode", data: BytesLike): Result;
|
|
46
|
+
decodeFunctionResult(functionFragment: "getUniswapV3WrapperAddress", data: BytesLike): Result;
|
|
47
|
+
decodeFunctionResult(functionFragment: "getUniswapV3WrapperBytecode", data: BytesLike): Result;
|
|
48
|
+
decodeFunctionResult(functionFragment: "isFixedRateOracleValid", data: BytesLike): Result;
|
|
49
|
+
decodeFunctionResult(functionFragment: "isUniswapV3WrapperValid", data: BytesLike): Result;
|
|
50
|
+
decodeFunctionResult(functionFragment: "nonFungiblePositionManager", data: BytesLike): Result;
|
|
51
|
+
events: {
|
|
52
|
+
"UniswapV3WrapperCreated(address,address,address,address,address)": EventFragment;
|
|
53
|
+
};
|
|
54
|
+
getEvent(nameOrSignatureOrTopic: "UniswapV3WrapperCreated"): EventFragment;
|
|
55
|
+
}
|
|
56
|
+
export interface UniswapV3WrapperCreatedEventObject {
|
|
57
|
+
uniswapV3Wrapper: string;
|
|
58
|
+
fixedRateOracle: string;
|
|
59
|
+
poolAddress: string;
|
|
60
|
+
oracle: string;
|
|
61
|
+
unitOfAccount: string;
|
|
62
|
+
}
|
|
63
|
+
export type UniswapV3WrapperCreatedEvent = TypedEvent<[
|
|
64
|
+
string,
|
|
65
|
+
string,
|
|
66
|
+
string,
|
|
67
|
+
string,
|
|
68
|
+
string
|
|
69
|
+
], UniswapV3WrapperCreatedEventObject>;
|
|
70
|
+
export type UniswapV3WrapperCreatedEventFilter = TypedEventFilter<UniswapV3WrapperCreatedEvent>;
|
|
71
|
+
export interface VIIUniswapV3WrapperFactory extends BaseContract {
|
|
72
|
+
connect(signerOrProvider: Signer | Provider | string): this;
|
|
73
|
+
attach(addressOrName: string): this;
|
|
74
|
+
deployed(): Promise<this>;
|
|
75
|
+
interface: VIIUniswapV3WrapperFactoryInterface;
|
|
76
|
+
queryFilter<TEvent extends TypedEvent>(event: TypedEventFilter<TEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TEvent>>;
|
|
77
|
+
listeners<TEvent extends TypedEvent>(eventFilter?: TypedEventFilter<TEvent>): Array<TypedListener<TEvent>>;
|
|
78
|
+
listeners(eventName?: string): Array<Listener>;
|
|
79
|
+
removeAllListeners<TEvent extends TypedEvent>(eventFilter: TypedEventFilter<TEvent>): this;
|
|
80
|
+
removeAllListeners(eventName?: string): this;
|
|
81
|
+
off: OnEvent<this>;
|
|
82
|
+
on: OnEvent<this>;
|
|
83
|
+
once: OnEvent<this>;
|
|
84
|
+
removeListener: OnEvent<this>;
|
|
85
|
+
functions: {
|
|
86
|
+
createUniswapV3Wrapper(oracle: PromiseOrValue<string>, unitOfAccount: PromiseOrValue<string>, poolAddress: PromiseOrValue<string>, overrides?: Overrides & {
|
|
87
|
+
from?: PromiseOrValue<string>;
|
|
88
|
+
}): Promise<ContractTransaction>;
|
|
89
|
+
evc(overrides?: CallOverrides): Promise<[string]>;
|
|
90
|
+
"getFixedRateOracleAddress(address,address)"(uniswapWrapper: PromiseOrValue<string>, unitOfAccount: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[string]>;
|
|
91
|
+
"getFixedRateOracleAddress(address)"(uniswapWrapper: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[string]>;
|
|
92
|
+
getFixedRateOracleBytecode(uniswapWrapper: PromiseOrValue<string>, unitOfAccount: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[string]>;
|
|
93
|
+
getUniswapV3WrapperAddress(oracle: PromiseOrValue<string>, unitOfAccount: PromiseOrValue<string>, poolAddress: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[string]>;
|
|
94
|
+
getUniswapV3WrapperBytecode(oracle: PromiseOrValue<string>, unitOfAccount: PromiseOrValue<string>, poolAddress: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[string]>;
|
|
95
|
+
isFixedRateOracleValid(fixedRateOracleToCheck: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[boolean]>;
|
|
96
|
+
isUniswapV3WrapperValid(uniswapV3WrapperToCheck: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[boolean]>;
|
|
97
|
+
nonFungiblePositionManager(overrides?: CallOverrides): Promise<[string]>;
|
|
98
|
+
};
|
|
99
|
+
createUniswapV3Wrapper(oracle: PromiseOrValue<string>, unitOfAccount: PromiseOrValue<string>, poolAddress: PromiseOrValue<string>, overrides?: Overrides & {
|
|
100
|
+
from?: PromiseOrValue<string>;
|
|
101
|
+
}): Promise<ContractTransaction>;
|
|
102
|
+
evc(overrides?: CallOverrides): Promise<string>;
|
|
103
|
+
"getFixedRateOracleAddress(address,address)"(uniswapWrapper: PromiseOrValue<string>, unitOfAccount: PromiseOrValue<string>, overrides?: CallOverrides): Promise<string>;
|
|
104
|
+
"getFixedRateOracleAddress(address)"(uniswapWrapper: PromiseOrValue<string>, overrides?: CallOverrides): Promise<string>;
|
|
105
|
+
getFixedRateOracleBytecode(uniswapWrapper: PromiseOrValue<string>, unitOfAccount: PromiseOrValue<string>, overrides?: CallOverrides): Promise<string>;
|
|
106
|
+
getUniswapV3WrapperAddress(oracle: PromiseOrValue<string>, unitOfAccount: PromiseOrValue<string>, poolAddress: PromiseOrValue<string>, overrides?: CallOverrides): Promise<string>;
|
|
107
|
+
getUniswapV3WrapperBytecode(oracle: PromiseOrValue<string>, unitOfAccount: PromiseOrValue<string>, poolAddress: PromiseOrValue<string>, overrides?: CallOverrides): Promise<string>;
|
|
108
|
+
isFixedRateOracleValid(fixedRateOracleToCheck: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
|
|
109
|
+
isUniswapV3WrapperValid(uniswapV3WrapperToCheck: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
|
|
110
|
+
nonFungiblePositionManager(overrides?: CallOverrides): Promise<string>;
|
|
111
|
+
callStatic: {
|
|
112
|
+
createUniswapV3Wrapper(oracle: PromiseOrValue<string>, unitOfAccount: PromiseOrValue<string>, poolAddress: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[
|
|
113
|
+
string,
|
|
114
|
+
string
|
|
115
|
+
] & {
|
|
116
|
+
uniswapV3Wrapper: string;
|
|
117
|
+
fixedRateOracle: string;
|
|
118
|
+
}>;
|
|
119
|
+
evc(overrides?: CallOverrides): Promise<string>;
|
|
120
|
+
"getFixedRateOracleAddress(address,address)"(uniswapWrapper: PromiseOrValue<string>, unitOfAccount: PromiseOrValue<string>, overrides?: CallOverrides): Promise<string>;
|
|
121
|
+
"getFixedRateOracleAddress(address)"(uniswapWrapper: PromiseOrValue<string>, overrides?: CallOverrides): Promise<string>;
|
|
122
|
+
getFixedRateOracleBytecode(uniswapWrapper: PromiseOrValue<string>, unitOfAccount: PromiseOrValue<string>, overrides?: CallOverrides): Promise<string>;
|
|
123
|
+
getUniswapV3WrapperAddress(oracle: PromiseOrValue<string>, unitOfAccount: PromiseOrValue<string>, poolAddress: PromiseOrValue<string>, overrides?: CallOverrides): Promise<string>;
|
|
124
|
+
getUniswapV3WrapperBytecode(oracle: PromiseOrValue<string>, unitOfAccount: PromiseOrValue<string>, poolAddress: PromiseOrValue<string>, overrides?: CallOverrides): Promise<string>;
|
|
125
|
+
isFixedRateOracleValid(fixedRateOracleToCheck: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
|
|
126
|
+
isUniswapV3WrapperValid(uniswapV3WrapperToCheck: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
|
|
127
|
+
nonFungiblePositionManager(overrides?: CallOverrides): Promise<string>;
|
|
128
|
+
};
|
|
129
|
+
filters: {
|
|
130
|
+
"UniswapV3WrapperCreated(address,address,address,address,address)"(uniswapV3Wrapper?: PromiseOrValue<string> | null, fixedRateOracle?: PromiseOrValue<string> | null, poolAddress?: PromiseOrValue<string> | null, oracle?: null, unitOfAccount?: null): UniswapV3WrapperCreatedEventFilter;
|
|
131
|
+
UniswapV3WrapperCreated(uniswapV3Wrapper?: PromiseOrValue<string> | null, fixedRateOracle?: PromiseOrValue<string> | null, poolAddress?: PromiseOrValue<string> | null, oracle?: null, unitOfAccount?: null): UniswapV3WrapperCreatedEventFilter;
|
|
132
|
+
};
|
|
133
|
+
estimateGas: {
|
|
134
|
+
createUniswapV3Wrapper(oracle: PromiseOrValue<string>, unitOfAccount: PromiseOrValue<string>, poolAddress: PromiseOrValue<string>, overrides?: Overrides & {
|
|
135
|
+
from?: PromiseOrValue<string>;
|
|
136
|
+
}): Promise<BigNumber>;
|
|
137
|
+
evc(overrides?: CallOverrides): Promise<BigNumber>;
|
|
138
|
+
"getFixedRateOracleAddress(address,address)"(uniswapWrapper: PromiseOrValue<string>, unitOfAccount: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
139
|
+
"getFixedRateOracleAddress(address)"(uniswapWrapper: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
140
|
+
getFixedRateOracleBytecode(uniswapWrapper: PromiseOrValue<string>, unitOfAccount: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
141
|
+
getUniswapV3WrapperAddress(oracle: PromiseOrValue<string>, unitOfAccount: PromiseOrValue<string>, poolAddress: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
142
|
+
getUniswapV3WrapperBytecode(oracle: PromiseOrValue<string>, unitOfAccount: PromiseOrValue<string>, poolAddress: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
143
|
+
isFixedRateOracleValid(fixedRateOracleToCheck: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
144
|
+
isUniswapV3WrapperValid(uniswapV3WrapperToCheck: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
145
|
+
nonFungiblePositionManager(overrides?: CallOverrides): Promise<BigNumber>;
|
|
146
|
+
};
|
|
147
|
+
populateTransaction: {
|
|
148
|
+
createUniswapV3Wrapper(oracle: PromiseOrValue<string>, unitOfAccount: PromiseOrValue<string>, poolAddress: PromiseOrValue<string>, overrides?: Overrides & {
|
|
149
|
+
from?: PromiseOrValue<string>;
|
|
150
|
+
}): Promise<PopulatedTransaction>;
|
|
151
|
+
evc(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
152
|
+
"getFixedRateOracleAddress(address,address)"(uniswapWrapper: PromiseOrValue<string>, unitOfAccount: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
153
|
+
"getFixedRateOracleAddress(address)"(uniswapWrapper: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
154
|
+
getFixedRateOracleBytecode(uniswapWrapper: PromiseOrValue<string>, unitOfAccount: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
155
|
+
getUniswapV3WrapperAddress(oracle: PromiseOrValue<string>, unitOfAccount: PromiseOrValue<string>, poolAddress: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
156
|
+
getUniswapV3WrapperBytecode(oracle: PromiseOrValue<string>, unitOfAccount: PromiseOrValue<string>, poolAddress: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
157
|
+
isFixedRateOracleValid(fixedRateOracleToCheck: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
158
|
+
isUniswapV3WrapperValid(uniswapV3WrapperToCheck: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
159
|
+
nonFungiblePositionManager(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
160
|
+
};
|
|
161
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|