@merkl/contracts 0.4.11 → 0.4.13

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.
@@ -0,0 +1,178 @@
1
+ import { Signer } from "ethers";
2
+ import type { Provider } from "@ethersproject/providers";
3
+ import type { YearnStrategyFactory, YearnStrategyFactoryInterface } from "../YearnStrategyFactory";
4
+ export declare class YearnStrategyFactory__factory {
5
+ static readonly abi: readonly [{
6
+ readonly inputs: readonly [{
7
+ readonly internalType: "address";
8
+ readonly name: "_management";
9
+ readonly type: "address";
10
+ }, {
11
+ readonly internalType: "address";
12
+ readonly name: "_performanceFeeRecipient";
13
+ readonly type: "address";
14
+ }, {
15
+ readonly internalType: "address";
16
+ readonly name: "_keeper";
17
+ readonly type: "address";
18
+ }, {
19
+ readonly internalType: "address";
20
+ readonly name: "_emergencyAdmin";
21
+ readonly type: "address";
22
+ }];
23
+ readonly stateMutability: "nonpayable";
24
+ readonly type: "constructor";
25
+ }, {
26
+ readonly anonymous: false;
27
+ readonly inputs: readonly [{
28
+ readonly indexed: true;
29
+ readonly internalType: "address";
30
+ readonly name: "strategy";
31
+ readonly type: "address";
32
+ }, {
33
+ readonly indexed: true;
34
+ readonly internalType: "address";
35
+ readonly name: "asset";
36
+ readonly type: "address";
37
+ }, {
38
+ readonly indexed: true;
39
+ readonly internalType: "address";
40
+ readonly name: "lp";
41
+ readonly type: "address";
42
+ }];
43
+ readonly name: "NewStrategy";
44
+ readonly type: "event";
45
+ }, {
46
+ readonly inputs: readonly [];
47
+ readonly name: "deployments";
48
+ readonly outputs: readonly [{
49
+ readonly internalType: "address[]";
50
+ readonly name: "";
51
+ readonly type: "address[]";
52
+ }];
53
+ readonly stateMutability: "view";
54
+ readonly type: "function";
55
+ }, {
56
+ readonly inputs: readonly [];
57
+ readonly name: "emergencyAdmin";
58
+ readonly outputs: readonly [{
59
+ readonly internalType: "address";
60
+ readonly name: "";
61
+ readonly type: "address";
62
+ }];
63
+ readonly stateMutability: "view";
64
+ readonly type: "function";
65
+ }, {
66
+ readonly inputs: readonly [{
67
+ readonly internalType: "address";
68
+ readonly name: "_asset";
69
+ readonly type: "address";
70
+ }, {
71
+ readonly internalType: "address";
72
+ readonly name: "_lp";
73
+ readonly type: "address";
74
+ }];
75
+ readonly name: "getStrategyForAssetLpPair";
76
+ readonly outputs: readonly [{
77
+ readonly internalType: "address";
78
+ readonly name: "_strategy";
79
+ readonly type: "address";
80
+ }];
81
+ readonly stateMutability: "view";
82
+ readonly type: "function";
83
+ }, {
84
+ readonly inputs: readonly [{
85
+ readonly internalType: "address";
86
+ readonly name: "_strategy";
87
+ readonly type: "address";
88
+ }];
89
+ readonly name: "isDeployedStrategy";
90
+ readonly outputs: readonly [{
91
+ readonly internalType: "bool";
92
+ readonly name: "";
93
+ readonly type: "bool";
94
+ }];
95
+ readonly stateMutability: "view";
96
+ readonly type: "function";
97
+ }, {
98
+ readonly inputs: readonly [];
99
+ readonly name: "keeper";
100
+ readonly outputs: readonly [{
101
+ readonly internalType: "address";
102
+ readonly name: "";
103
+ readonly type: "address";
104
+ }];
105
+ readonly stateMutability: "view";
106
+ readonly type: "function";
107
+ }, {
108
+ readonly inputs: readonly [];
109
+ readonly name: "management";
110
+ readonly outputs: readonly [{
111
+ readonly internalType: "address";
112
+ readonly name: "";
113
+ readonly type: "address";
114
+ }];
115
+ readonly stateMutability: "view";
116
+ readonly type: "function";
117
+ }, {
118
+ readonly inputs: readonly [{
119
+ readonly internalType: "address";
120
+ readonly name: "_asset";
121
+ readonly type: "address";
122
+ }, {
123
+ readonly internalType: "string";
124
+ readonly name: "_name";
125
+ readonly type: "string";
126
+ }, {
127
+ readonly internalType: "address";
128
+ readonly name: "_steerLP";
129
+ readonly type: "address";
130
+ }, {
131
+ readonly internalType: "uint128";
132
+ readonly name: "_minAsset";
133
+ readonly type: "uint128";
134
+ }, {
135
+ readonly internalType: "uint256";
136
+ readonly name: "_maxSwapValue";
137
+ readonly type: "uint256";
138
+ }];
139
+ readonly name: "newStrategy";
140
+ readonly outputs: readonly [{
141
+ readonly internalType: "address";
142
+ readonly name: "";
143
+ readonly type: "address";
144
+ }];
145
+ readonly stateMutability: "nonpayable";
146
+ readonly type: "function";
147
+ }, {
148
+ readonly inputs: readonly [];
149
+ readonly name: "performanceFeeRecipient";
150
+ readonly outputs: readonly [{
151
+ readonly internalType: "address";
152
+ readonly name: "";
153
+ readonly type: "address";
154
+ }];
155
+ readonly stateMutability: "view";
156
+ readonly type: "function";
157
+ }, {
158
+ readonly inputs: readonly [{
159
+ readonly internalType: "address";
160
+ readonly name: "_management";
161
+ readonly type: "address";
162
+ }, {
163
+ readonly internalType: "address";
164
+ readonly name: "_performanceFeeRecipient";
165
+ readonly type: "address";
166
+ }, {
167
+ readonly internalType: "address";
168
+ readonly name: "_keeper";
169
+ readonly type: "address";
170
+ }];
171
+ readonly name: "setAddresses";
172
+ readonly outputs: readonly [];
173
+ readonly stateMutability: "nonpayable";
174
+ readonly type: "function";
175
+ }];
176
+ static createInterface(): YearnStrategyFactoryInterface;
177
+ static connect(address: string, signerOrProvider: Signer | Provider): YearnStrategyFactory;
178
+ }
@@ -0,0 +1,236 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Contract, utils } from "ethers";
5
+ const _abi = [
6
+ {
7
+ inputs: [
8
+ {
9
+ internalType: "address",
10
+ name: "_management",
11
+ type: "address",
12
+ },
13
+ {
14
+ internalType: "address",
15
+ name: "_performanceFeeRecipient",
16
+ type: "address",
17
+ },
18
+ {
19
+ internalType: "address",
20
+ name: "_keeper",
21
+ type: "address",
22
+ },
23
+ {
24
+ internalType: "address",
25
+ name: "_emergencyAdmin",
26
+ type: "address",
27
+ },
28
+ ],
29
+ stateMutability: "nonpayable",
30
+ type: "constructor",
31
+ },
32
+ {
33
+ anonymous: false,
34
+ inputs: [
35
+ {
36
+ indexed: true,
37
+ internalType: "address",
38
+ name: "strategy",
39
+ type: "address",
40
+ },
41
+ {
42
+ indexed: true,
43
+ internalType: "address",
44
+ name: "asset",
45
+ type: "address",
46
+ },
47
+ {
48
+ indexed: true,
49
+ internalType: "address",
50
+ name: "lp",
51
+ type: "address",
52
+ },
53
+ ],
54
+ name: "NewStrategy",
55
+ type: "event",
56
+ },
57
+ {
58
+ inputs: [],
59
+ name: "deployments",
60
+ outputs: [
61
+ {
62
+ internalType: "address[]",
63
+ name: "",
64
+ type: "address[]",
65
+ },
66
+ ],
67
+ stateMutability: "view",
68
+ type: "function",
69
+ },
70
+ {
71
+ inputs: [],
72
+ name: "emergencyAdmin",
73
+ outputs: [
74
+ {
75
+ internalType: "address",
76
+ name: "",
77
+ type: "address",
78
+ },
79
+ ],
80
+ stateMutability: "view",
81
+ type: "function",
82
+ },
83
+ {
84
+ inputs: [
85
+ {
86
+ internalType: "address",
87
+ name: "_asset",
88
+ type: "address",
89
+ },
90
+ {
91
+ internalType: "address",
92
+ name: "_lp",
93
+ type: "address",
94
+ },
95
+ ],
96
+ name: "getStrategyForAssetLpPair",
97
+ outputs: [
98
+ {
99
+ internalType: "address",
100
+ name: "_strategy",
101
+ type: "address",
102
+ },
103
+ ],
104
+ stateMutability: "view",
105
+ type: "function",
106
+ },
107
+ {
108
+ inputs: [
109
+ {
110
+ internalType: "address",
111
+ name: "_strategy",
112
+ type: "address",
113
+ },
114
+ ],
115
+ name: "isDeployedStrategy",
116
+ outputs: [
117
+ {
118
+ internalType: "bool",
119
+ name: "",
120
+ type: "bool",
121
+ },
122
+ ],
123
+ stateMutability: "view",
124
+ type: "function",
125
+ },
126
+ {
127
+ inputs: [],
128
+ name: "keeper",
129
+ outputs: [
130
+ {
131
+ internalType: "address",
132
+ name: "",
133
+ type: "address",
134
+ },
135
+ ],
136
+ stateMutability: "view",
137
+ type: "function",
138
+ },
139
+ {
140
+ inputs: [],
141
+ name: "management",
142
+ outputs: [
143
+ {
144
+ internalType: "address",
145
+ name: "",
146
+ type: "address",
147
+ },
148
+ ],
149
+ stateMutability: "view",
150
+ type: "function",
151
+ },
152
+ {
153
+ inputs: [
154
+ {
155
+ internalType: "address",
156
+ name: "_asset",
157
+ type: "address",
158
+ },
159
+ {
160
+ internalType: "string",
161
+ name: "_name",
162
+ type: "string",
163
+ },
164
+ {
165
+ internalType: "address",
166
+ name: "_steerLP",
167
+ type: "address",
168
+ },
169
+ {
170
+ internalType: "uint128",
171
+ name: "_minAsset",
172
+ type: "uint128",
173
+ },
174
+ {
175
+ internalType: "uint256",
176
+ name: "_maxSwapValue",
177
+ type: "uint256",
178
+ },
179
+ ],
180
+ name: "newStrategy",
181
+ outputs: [
182
+ {
183
+ internalType: "address",
184
+ name: "",
185
+ type: "address",
186
+ },
187
+ ],
188
+ stateMutability: "nonpayable",
189
+ type: "function",
190
+ },
191
+ {
192
+ inputs: [],
193
+ name: "performanceFeeRecipient",
194
+ outputs: [
195
+ {
196
+ internalType: "address",
197
+ name: "",
198
+ type: "address",
199
+ },
200
+ ],
201
+ stateMutability: "view",
202
+ type: "function",
203
+ },
204
+ {
205
+ inputs: [
206
+ {
207
+ internalType: "address",
208
+ name: "_management",
209
+ type: "address",
210
+ },
211
+ {
212
+ internalType: "address",
213
+ name: "_performanceFeeRecipient",
214
+ type: "address",
215
+ },
216
+ {
217
+ internalType: "address",
218
+ name: "_keeper",
219
+ type: "address",
220
+ },
221
+ ],
222
+ name: "setAddresses",
223
+ outputs: [],
224
+ stateMutability: "nonpayable",
225
+ type: "function",
226
+ },
227
+ ];
228
+ export class YearnStrategyFactory__factory {
229
+ static abi = _abi;
230
+ static createInterface() {
231
+ return new utils.Interface(_abi);
232
+ }
233
+ static connect(address, signerOrProvider) {
234
+ return new Contract(address, _abi, signerOrProvider);
235
+ }
236
+ }
@@ -138,6 +138,7 @@ export { FactorySNG__factory } from "./FactorySNG__factory";
138
138
  export { FeeDistributor__factory } from "./FeeDistributor__factory";
139
139
  export { FeeManager__factory } from "./FeeManager__factory";
140
140
  export { Fluid__factory } from "./Fluid__factory";
141
+ export { FluidPositionResolver__factory } from "./FluidPositionResolver__factory";
141
142
  export { FluidVaultResolver__factory } from "./FluidVaultResolver__factory";
142
143
  export { FluidVaultT1__factory } from "./FluidVaultT1__factory";
143
144
  export { FraxLendPair__factory } from "./FraxLendPair__factory";
@@ -312,6 +313,8 @@ export { Vest__factory } from "./Vest__factory";
312
313
  export { Vesting__factory } from "./Vesting__factory";
313
314
  export { VoltagePool__factory } from "./VoltagePool__factory";
314
315
  export { WorldIDAddressBook__factory } from "./WorldIDAddressBook__factory";
316
+ export { YearnMorphoCompounderFactory__factory } from "./YearnMorphoCompounderFactory__factory";
317
+ export { YearnStrategyFactory__factory } from "./YearnStrategyFactory__factory";
315
318
  export { ZFFARM__factory } from "./ZFFARM__factory";
316
319
  export { ZFStableLP__factory } from "./ZFStableLP__factory";
317
320
  export { ZFStableSwapThreePool__factory } from "./ZFStableSwapThreePool__factory";
@@ -141,6 +141,7 @@ export { FactorySNG__factory } from "./FactorySNG__factory";
141
141
  export { FeeDistributor__factory } from "./FeeDistributor__factory";
142
142
  export { FeeManager__factory } from "./FeeManager__factory";
143
143
  export { Fluid__factory } from "./Fluid__factory";
144
+ export { FluidPositionResolver__factory } from "./FluidPositionResolver__factory";
144
145
  export { FluidVaultResolver__factory } from "./FluidVaultResolver__factory";
145
146
  export { FluidVaultT1__factory } from "./FluidVaultT1__factory";
146
147
  export { FraxLendPair__factory } from "./FraxLendPair__factory";
@@ -315,6 +316,8 @@ export { Vest__factory } from "./Vest__factory";
315
316
  export { Vesting__factory } from "./Vesting__factory";
316
317
  export { VoltagePool__factory } from "./VoltagePool__factory";
317
318
  export { WorldIDAddressBook__factory } from "./WorldIDAddressBook__factory";
319
+ export { YearnMorphoCompounderFactory__factory } from "./YearnMorphoCompounderFactory__factory";
320
+ export { YearnStrategyFactory__factory } from "./YearnStrategyFactory__factory";
318
321
  export { ZFFARM__factory } from "./ZFFARM__factory";
319
322
  export { ZFStableLP__factory } from "./ZFStableLP__factory";
320
323
  export { ZFStableSwapThreePool__factory } from "./ZFStableSwapThreePool__factory";
@@ -68,11 +68,13 @@ export type { AlgebraIntegralV12FarmingCenter } from "./AlgebraIntegralV12Farmin
68
68
  export type { MimSwapPool } from "./MimSwapPool";
69
69
  export type { OneInchAggregatorV4 } from "./OneInchAggregatorV4";
70
70
  export type { EulerOracle } from "./EulerOracle";
71
+ export type { FluidPositionResolver } from "./FluidPositionResolver";
71
72
  export type { NitroVault } from "./NitroVault";
72
73
  export type { CurveLevSwapper2Tokens } from "./CurveLevSwapper2Tokens";
73
74
  export type { FraxLendPair } from "./FraxLendPair";
74
75
  export type { AngleGovernor } from "./AngleGovernor";
75
76
  export type { PenpieMaster } from "./PenpieMaster";
77
+ export type { YearnStrategyFactory } from "./YearnStrategyFactory";
76
78
  export type { EkuboPoolManager } from "./EkuboPoolManager";
77
79
  export type { StrategyLeverageAave } from "./StrategyLeverageAave";
78
80
  export type { SyncSwapClassicPool } from "./SyncSwapClassicPool";
@@ -189,6 +191,7 @@ export type { AlgebraV4NonFungiblePositionManager } from "./AlgebraV4NonFungible
189
191
  export type { JonesDoubleRewardTracker } from "./JonesDoubleRewardTracker";
190
192
  export type { ThrusterRegistrar } from "./ThrusterRegistrar";
191
193
  export type { Ctoken } from "./Ctoken";
194
+ export type { YearnMorphoCompounderFactory } from "./YearnMorphoCompounderFactory";
192
195
  export type { Factory } from "./Factory";
193
196
  export type { EulerLiquidator } from "./EulerLiquidator";
194
197
  export type { CurveLevSwapper3TokensWithBP } from "./CurveLevSwapper3TokensWithBP";
@@ -602,6 +605,7 @@ export declare const TermMaxMarketInterface: import("./TermMaxMarket").TermMaxMa
602
605
  export declare const VaultManagerInterface: import("./VaultManager").VaultManagerInterface;
603
606
  export declare const UniswapV3SingleTickLiquidityHandlerV2Interface: import("./UniswapV3SingleTickLiquidityHandlerV2").UniswapV3SingleTickLiquidityHandlerV2Interface;
604
607
  export declare const SpectraPTInterface: import("./SpectraPT").SpectraPTInterface;
608
+ export declare const FluidPositionResolverInterface: import("./FluidPositionResolver").FluidPositionResolverInterface;
605
609
  export declare const ZFStableSwapThreePoolInterface: import("./ZFStableSwapThreePool").ZFStableSwapThreePoolInterface;
606
610
  export declare const EigenLayerDelegation_oldInterface: import("./EigenLayerDelegation_old").EigenLayerDelegation_oldInterface;
607
611
  export declare const AlgebraIntegralNonFungiblePositionManagerInterface: import("./AlgebraIntegralNonFungiblePositionManager").AlgebraIntegralNonFungiblePositionManagerInterface;
@@ -641,6 +645,7 @@ export declare const GenericFactoryInterface: import("./GenericFactory").Generic
641
645
  export declare const CurveLevSwapper3TokensWithBPInterface: import("./CurveLevSwapper3TokensWithBP").CurveLevSwapper3TokensWithBPInterface;
642
646
  export declare const BalancerGaugeFactoryInterface: import("./BalancerGaugeFactory").BalancerGaugeFactoryInterface;
643
647
  export declare const OneInchAggregatorV4Interface: import("./OneInchAggregatorV4").OneInchAggregatorV4Interface;
648
+ export declare const YearnStrategyFactoryInterface: import("./YearnStrategyFactory").YearnStrategyFactoryInterface;
644
649
  export declare const PendleSYFactoryInterface: import("./PendleSYFactory").PendleSYFactoryInterface;
645
650
  export declare const ERC721PointsDepositsInterface: import("./ERC721PointsDeposits").ERC721PointsDepositsInterface;
646
651
  export declare const MorphoMarketInterface: import("./MorphoMarket").MorphoMarketInterface;
@@ -652,6 +657,7 @@ export declare const ERC20PoolInterface: import("./ERC20Pool").ERC20PoolInterfac
652
657
  export declare const EkuboPositionManagerInterface: import("./EkuboPositionManager").EkuboPositionManagerInterface;
653
658
  export declare const EulerEVCInterface: import("./EulerEVC").EulerEVCInterface;
654
659
  export declare const BunniV2TokenInterface: import("./BunniV2Token").BunniV2TokenInterface;
660
+ export declare const YearnMorphoCompounderFactoryInterface: import("./YearnMorphoCompounderFactory").YearnMorphoCompounderFactoryInterface;
655
661
  export declare const MarketplaceInterface: import("./Marketplace").MarketplaceInterface;
656
662
  export declare const SanTokenLevSwapperInterface: import("./SanTokenLevSwapper").SanTokenLevSwapperInterface;
657
663
  export declare const DisputerInterface: import("./Disputer").DisputerInterface;
package/dist/src/index.js CHANGED
@@ -528,6 +528,8 @@ import { UniswapV3SingleTickLiquidityHandlerV2__factory } from "./factories/Unis
528
528
  export const UniswapV3SingleTickLiquidityHandlerV2Interface = UniswapV3SingleTickLiquidityHandlerV2__factory.createInterface();
529
529
  import { SpectraPT__factory } from "./factories/SpectraPT__factory";
530
530
  export const SpectraPTInterface = SpectraPT__factory.createInterface();
531
+ import { FluidPositionResolver__factory } from "./factories/FluidPositionResolver__factory";
532
+ export const FluidPositionResolverInterface = FluidPositionResolver__factory.createInterface();
531
533
  import { ZFStableSwapThreePool__factory } from "./factories/ZFStableSwapThreePool__factory";
532
534
  export const ZFStableSwapThreePoolInterface = ZFStableSwapThreePool__factory.createInterface();
533
535
  import { EigenLayerDelegation_old__factory } from "./factories/EigenLayerDelegation_old__factory";
@@ -606,6 +608,8 @@ import { BalancerGaugeFactory__factory } from "./factories/BalancerGaugeFactory_
606
608
  export const BalancerGaugeFactoryInterface = BalancerGaugeFactory__factory.createInterface();
607
609
  import { OneInchAggregatorV4__factory } from "./factories/OneInchAggregatorV4__factory";
608
610
  export const OneInchAggregatorV4Interface = OneInchAggregatorV4__factory.createInterface();
611
+ import { YearnStrategyFactory__factory } from "./factories/YearnStrategyFactory__factory";
612
+ export const YearnStrategyFactoryInterface = YearnStrategyFactory__factory.createInterface();
609
613
  import { PendleSYFactory__factory } from "./factories/PendleSYFactory__factory";
610
614
  export const PendleSYFactoryInterface = PendleSYFactory__factory.createInterface();
611
615
  import { ERC721PointsDeposits__factory } from "./factories/ERC721PointsDeposits__factory";
@@ -628,6 +632,8 @@ import { EulerEVC__factory } from "./factories/EulerEVC__factory";
628
632
  export const EulerEVCInterface = EulerEVC__factory.createInterface();
629
633
  import { BunniV2Token__factory } from "./factories/BunniV2Token__factory";
630
634
  export const BunniV2TokenInterface = BunniV2Token__factory.createInterface();
635
+ import { YearnMorphoCompounderFactory__factory } from "./factories/YearnMorphoCompounderFactory__factory";
636
+ export const YearnMorphoCompounderFactoryInterface = YearnMorphoCompounderFactory__factory.createInterface();
631
637
  import { Marketplace__factory } from "./factories/Marketplace__factory";
632
638
  export const MarketplaceInterface = Marketplace__factory.createInterface();
633
639
  import { SanTokenLevSwapper__factory } from "./factories/SanTokenLevSwapper__factory";