@merkl/contracts 0.4.7 → 0.4.9

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,174 @@
1
+ import { Signer } from "ethers";
2
+ import type { Provider } from "@ethersproject/providers";
3
+ import type { SiloVaultFactory, SiloVaultFactoryInterface } from "../SiloVaultFactory";
4
+ export declare class SiloVaultFactory__factory {
5
+ static readonly abi: readonly [{
6
+ readonly inputs: readonly [];
7
+ readonly stateMutability: "nonpayable";
8
+ readonly type: "constructor";
9
+ }, {
10
+ readonly inputs: readonly [{
11
+ readonly internalType: "address";
12
+ readonly name: "account";
13
+ readonly type: "address";
14
+ }, {
15
+ readonly internalType: "uint256";
16
+ readonly name: "currentNonce";
17
+ readonly type: "uint256";
18
+ }];
19
+ readonly name: "InvalidAccountNonce";
20
+ readonly type: "error";
21
+ }, {
22
+ readonly anonymous: false;
23
+ readonly inputs: readonly [{
24
+ readonly indexed: true;
25
+ readonly internalType: "address";
26
+ readonly name: "SiloVault";
27
+ readonly type: "address";
28
+ }, {
29
+ readonly indexed: true;
30
+ readonly internalType: "address";
31
+ readonly name: "caller";
32
+ readonly type: "address";
33
+ }, {
34
+ readonly indexed: false;
35
+ readonly internalType: "address";
36
+ readonly name: "initialOwner";
37
+ readonly type: "address";
38
+ }, {
39
+ readonly indexed: false;
40
+ readonly internalType: "uint256";
41
+ readonly name: "initialTimelock";
42
+ readonly type: "uint256";
43
+ }, {
44
+ readonly indexed: true;
45
+ readonly internalType: "address";
46
+ readonly name: "asset";
47
+ readonly type: "address";
48
+ }, {
49
+ readonly indexed: false;
50
+ readonly internalType: "string";
51
+ readonly name: "name";
52
+ readonly type: "string";
53
+ }, {
54
+ readonly indexed: false;
55
+ readonly internalType: "string";
56
+ readonly name: "symbol";
57
+ readonly type: "string";
58
+ }];
59
+ readonly name: "CreateSiloVault";
60
+ readonly type: "event";
61
+ }, {
62
+ readonly inputs: readonly [];
63
+ readonly name: "VAULT_INCENTIVES_MODULE_IMPLEMENTATION";
64
+ readonly outputs: readonly [{
65
+ readonly internalType: "address";
66
+ readonly name: "";
67
+ readonly type: "address";
68
+ }];
69
+ readonly stateMutability: "view";
70
+ readonly type: "function";
71
+ }, {
72
+ readonly inputs: readonly [{
73
+ readonly internalType: "address";
74
+ readonly name: "_initialOwner";
75
+ readonly type: "address";
76
+ }, {
77
+ readonly internalType: "uint256";
78
+ readonly name: "_initialTimelock";
79
+ readonly type: "uint256";
80
+ }, {
81
+ readonly internalType: "address";
82
+ readonly name: "_asset";
83
+ readonly type: "address";
84
+ }, {
85
+ readonly internalType: "string";
86
+ readonly name: "_name";
87
+ readonly type: "string";
88
+ }, {
89
+ readonly internalType: "string";
90
+ readonly name: "_symbol";
91
+ readonly type: "string";
92
+ }, {
93
+ readonly internalType: "bytes32";
94
+ readonly name: "_externalSalt";
95
+ readonly type: "bytes32";
96
+ }, {
97
+ readonly internalType: "address";
98
+ readonly name: "_notificationReceiver";
99
+ readonly type: "address";
100
+ }, {
101
+ readonly internalType: "contract IIncentivesClaimingLogic[]";
102
+ readonly name: "_claimingLogics";
103
+ readonly type: "address[]";
104
+ }, {
105
+ readonly internalType: "contract IERC4626[]";
106
+ readonly name: "_marketsWithIncentives";
107
+ readonly type: "address[]";
108
+ }, {
109
+ readonly internalType: "contract IIncentivesClaimingLogicFactory[]";
110
+ readonly name: "_trustedFactories";
111
+ readonly type: "address[]";
112
+ }];
113
+ readonly name: "createSiloVault";
114
+ readonly outputs: readonly [{
115
+ readonly internalType: "contract ISiloVault";
116
+ readonly name: "siloVault";
117
+ readonly type: "address";
118
+ }];
119
+ readonly stateMutability: "nonpayable";
120
+ readonly type: "function";
121
+ }, {
122
+ readonly inputs: readonly [{
123
+ readonly internalType: "address";
124
+ readonly name: "";
125
+ readonly type: "address";
126
+ }];
127
+ readonly name: "isSiloVault";
128
+ readonly outputs: readonly [{
129
+ readonly internalType: "bool";
130
+ readonly name: "";
131
+ readonly type: "bool";
132
+ }];
133
+ readonly stateMutability: "view";
134
+ readonly type: "function";
135
+ }, {
136
+ readonly inputs: readonly [{
137
+ readonly internalType: "address";
138
+ readonly name: "owner";
139
+ readonly type: "address";
140
+ }];
141
+ readonly name: "nonces";
142
+ readonly outputs: readonly [{
143
+ readonly internalType: "uint256";
144
+ readonly name: "";
145
+ readonly type: "uint256";
146
+ }];
147
+ readonly stateMutability: "view";
148
+ readonly type: "function";
149
+ }, {
150
+ readonly inputs: readonly [{
151
+ readonly internalType: "bytes";
152
+ readonly name: "_constructorArgs";
153
+ readonly type: "bytes";
154
+ }, {
155
+ readonly internalType: "bytes32";
156
+ readonly name: "_salt";
157
+ readonly type: "bytes32";
158
+ }, {
159
+ readonly internalType: "address";
160
+ readonly name: "_deployer";
161
+ readonly type: "address";
162
+ }];
163
+ readonly name: "predictSiloVaultAddress";
164
+ readonly outputs: readonly [{
165
+ readonly internalType: "address";
166
+ readonly name: "vaultAddress";
167
+ readonly type: "address";
168
+ }];
169
+ readonly stateMutability: "pure";
170
+ readonly type: "function";
171
+ }];
172
+ static createInterface(): SiloVaultFactoryInterface;
173
+ static connect(address: string, signerOrProvider: Signer | Provider): SiloVaultFactory;
174
+ }
@@ -0,0 +1,229 @@
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
+ stateMutability: "nonpayable",
9
+ type: "constructor",
10
+ },
11
+ {
12
+ inputs: [
13
+ {
14
+ internalType: "address",
15
+ name: "account",
16
+ type: "address",
17
+ },
18
+ {
19
+ internalType: "uint256",
20
+ name: "currentNonce",
21
+ type: "uint256",
22
+ },
23
+ ],
24
+ name: "InvalidAccountNonce",
25
+ type: "error",
26
+ },
27
+ {
28
+ anonymous: false,
29
+ inputs: [
30
+ {
31
+ indexed: true,
32
+ internalType: "address",
33
+ name: "SiloVault",
34
+ type: "address",
35
+ },
36
+ {
37
+ indexed: true,
38
+ internalType: "address",
39
+ name: "caller",
40
+ type: "address",
41
+ },
42
+ {
43
+ indexed: false,
44
+ internalType: "address",
45
+ name: "initialOwner",
46
+ type: "address",
47
+ },
48
+ {
49
+ indexed: false,
50
+ internalType: "uint256",
51
+ name: "initialTimelock",
52
+ type: "uint256",
53
+ },
54
+ {
55
+ indexed: true,
56
+ internalType: "address",
57
+ name: "asset",
58
+ type: "address",
59
+ },
60
+ {
61
+ indexed: false,
62
+ internalType: "string",
63
+ name: "name",
64
+ type: "string",
65
+ },
66
+ {
67
+ indexed: false,
68
+ internalType: "string",
69
+ name: "symbol",
70
+ type: "string",
71
+ },
72
+ ],
73
+ name: "CreateSiloVault",
74
+ type: "event",
75
+ },
76
+ {
77
+ inputs: [],
78
+ name: "VAULT_INCENTIVES_MODULE_IMPLEMENTATION",
79
+ outputs: [
80
+ {
81
+ internalType: "address",
82
+ name: "",
83
+ type: "address",
84
+ },
85
+ ],
86
+ stateMutability: "view",
87
+ type: "function",
88
+ },
89
+ {
90
+ inputs: [
91
+ {
92
+ internalType: "address",
93
+ name: "_initialOwner",
94
+ type: "address",
95
+ },
96
+ {
97
+ internalType: "uint256",
98
+ name: "_initialTimelock",
99
+ type: "uint256",
100
+ },
101
+ {
102
+ internalType: "address",
103
+ name: "_asset",
104
+ type: "address",
105
+ },
106
+ {
107
+ internalType: "string",
108
+ name: "_name",
109
+ type: "string",
110
+ },
111
+ {
112
+ internalType: "string",
113
+ name: "_symbol",
114
+ type: "string",
115
+ },
116
+ {
117
+ internalType: "bytes32",
118
+ name: "_externalSalt",
119
+ type: "bytes32",
120
+ },
121
+ {
122
+ internalType: "address",
123
+ name: "_notificationReceiver",
124
+ type: "address",
125
+ },
126
+ {
127
+ internalType: "contract IIncentivesClaimingLogic[]",
128
+ name: "_claimingLogics",
129
+ type: "address[]",
130
+ },
131
+ {
132
+ internalType: "contract IERC4626[]",
133
+ name: "_marketsWithIncentives",
134
+ type: "address[]",
135
+ },
136
+ {
137
+ internalType: "contract IIncentivesClaimingLogicFactory[]",
138
+ name: "_trustedFactories",
139
+ type: "address[]",
140
+ },
141
+ ],
142
+ name: "createSiloVault",
143
+ outputs: [
144
+ {
145
+ internalType: "contract ISiloVault",
146
+ name: "siloVault",
147
+ type: "address",
148
+ },
149
+ ],
150
+ stateMutability: "nonpayable",
151
+ type: "function",
152
+ },
153
+ {
154
+ inputs: [
155
+ {
156
+ internalType: "address",
157
+ name: "",
158
+ type: "address",
159
+ },
160
+ ],
161
+ name: "isSiloVault",
162
+ outputs: [
163
+ {
164
+ internalType: "bool",
165
+ name: "",
166
+ type: "bool",
167
+ },
168
+ ],
169
+ stateMutability: "view",
170
+ type: "function",
171
+ },
172
+ {
173
+ inputs: [
174
+ {
175
+ internalType: "address",
176
+ name: "owner",
177
+ type: "address",
178
+ },
179
+ ],
180
+ name: "nonces",
181
+ outputs: [
182
+ {
183
+ internalType: "uint256",
184
+ name: "",
185
+ type: "uint256",
186
+ },
187
+ ],
188
+ stateMutability: "view",
189
+ type: "function",
190
+ },
191
+ {
192
+ inputs: [
193
+ {
194
+ internalType: "bytes",
195
+ name: "_constructorArgs",
196
+ type: "bytes",
197
+ },
198
+ {
199
+ internalType: "bytes32",
200
+ name: "_salt",
201
+ type: "bytes32",
202
+ },
203
+ {
204
+ internalType: "address",
205
+ name: "_deployer",
206
+ type: "address",
207
+ },
208
+ ],
209
+ name: "predictSiloVaultAddress",
210
+ outputs: [
211
+ {
212
+ internalType: "address",
213
+ name: "vaultAddress",
214
+ type: "address",
215
+ },
216
+ ],
217
+ stateMutability: "pure",
218
+ type: "function",
219
+ },
220
+ ];
221
+ export class SiloVaultFactory__factory {
222
+ static abi = _abi;
223
+ static createInterface() {
224
+ return new utils.Interface(_abi);
225
+ }
226
+ static connect(address, signerOrProvider) {
227
+ return new Contract(address, _abi, signerOrProvider);
228
+ }
229
+ }
@@ -246,9 +246,13 @@ export { SavingsRate__factory } from "./SavingsRate__factory";
246
246
  export { SavingsRateFactory__factory } from "./SavingsRateFactory__factory";
247
247
  export { SavingsRateIlliquid__factory } from "./SavingsRateIlliquid__factory";
248
248
  export { SavingsRateL2__factory } from "./SavingsRateL2__factory";
249
+ export { SiloFactory__factory } from "./SiloFactory__factory";
250
+ export { SiloGauge__factory } from "./SiloGauge__factory";
251
+ export { SiloGaugeFactory__factory } from "./SiloGaugeFactory__factory";
249
252
  export { SiloV2DebtToken__factory } from "./SiloV2DebtToken__factory";
250
253
  export { SiloV2Silo__factory } from "./SiloV2Silo__factory";
251
254
  export { SiloV2SiloConfig__factory } from "./SiloV2SiloConfig__factory";
255
+ export { SiloVaultFactory__factory } from "./SiloVaultFactory__factory";
252
256
  export { SmartWalletWhitelist__factory } from "./SmartWalletWhitelist__factory";
253
257
  export { SortedCdps__factory } from "./SortedCdps__factory";
254
258
  export { SpectraPT__factory } from "./SpectraPT__factory";
@@ -249,9 +249,13 @@ export { SavingsRate__factory } from "./SavingsRate__factory";
249
249
  export { SavingsRateFactory__factory } from "./SavingsRateFactory__factory";
250
250
  export { SavingsRateIlliquid__factory } from "./SavingsRateIlliquid__factory";
251
251
  export { SavingsRateL2__factory } from "./SavingsRateL2__factory";
252
+ export { SiloFactory__factory } from "./SiloFactory__factory";
253
+ export { SiloGauge__factory } from "./SiloGauge__factory";
254
+ export { SiloGaugeFactory__factory } from "./SiloGaugeFactory__factory";
252
255
  export { SiloV2DebtToken__factory } from "./SiloV2DebtToken__factory";
253
256
  export { SiloV2Silo__factory } from "./SiloV2Silo__factory";
254
257
  export { SiloV2SiloConfig__factory } from "./SiloV2SiloConfig__factory";
258
+ export { SiloVaultFactory__factory } from "./SiloVaultFactory__factory";
255
259
  export { SmartWalletWhitelist__factory } from "./SmartWalletWhitelist__factory";
256
260
  export { SortedCdps__factory } from "./SortedCdps__factory";
257
261
  export { SpectraPT__factory } from "./SpectraPT__factory";
@@ -21,6 +21,7 @@ export type { FeeManager } from "./FeeManager";
21
21
  export type { GearBoxVault } from "./GearBoxVault";
22
22
  export type { IroncladReliquary } from "./IroncladReliquary";
23
23
  export type { AgTokenSideChainMultiBridge } from "./AgTokenSideChainMultiBridge";
24
+ export type { SiloGauge } from "./SiloGauge";
24
25
  export type { CloberBookManager } from "./CloberBookManager";
25
26
  export type { StakeDAOCurveVault } from "./StakeDAOCurveVault";
26
27
  export type { ZFFARM } from "./ZFFARM";
@@ -45,6 +46,7 @@ export type { BalancerV3StablePool } from "./BalancerV3StablePool";
45
46
  export type { StableMasterFront } from "./StableMasterFront";
46
47
  export type { Fraxlend } from "./Fraxlend";
47
48
  export type { BondingCurve } from "./BondingCurve";
49
+ export type { SiloGaugeFactory } from "./SiloGaugeFactory";
48
50
  export type { EquilibriaBaseRewardPool } from "./EquilibriaBaseRewardPool";
49
51
  export type { AmbientHotProxy } from "./AmbientHotProxy";
50
52
  export type { AlgebraV19NonFungibleManager } from "./AlgebraV19NonFungibleManager";
@@ -124,6 +126,7 @@ export type { ERC721 } from "./ERC721";
124
126
  export type { SurplusConverterSanTokens } from "./SurplusConverterSanTokens";
125
127
  export type { KilnFactory } from "./KilnFactory";
126
128
  export type { VIIUniswapV4WrapperFactory } from "./VIIUniswapV4WrapperFactory";
129
+ export type { SiloVaultFactory } from "./SiloVaultFactory";
127
130
  export type { SymbioticVault } from "./SymbioticVault";
128
131
  export type { LPManagerHelper } from "./LPManagerHelper";
129
132
  export type { ConvexBaseRewardPool } from "./ConvexBaseRewardPool";
@@ -281,6 +284,7 @@ export type { OFTCore } from "./OFTCore";
281
284
  export type { DolomiteMargin } from "./DolomiteMargin";
282
285
  export type { Orchestrator } from "./Orchestrator";
283
286
  export type { EulerEarnFactory } from "./EulerEarnFactory";
287
+ export type { SiloFactory } from "./SiloFactory";
284
288
  export type { LPManager } from "./LPManager";
285
289
  export type { HyperdriveTarget0 } from "./HyperdriveTarget0";
286
290
  export type { WorldIDAddressBook } from "./WorldIDAddressBook";
@@ -406,6 +410,7 @@ export declare const ArrakisPoolInterface: import("./ArrakisPool").ArrakisPoolIn
406
410
  export declare const SurplusConverterUniV3Interface: import("./SurplusConverterUniV3").SurplusConverterUniV3Interface;
407
411
  export declare const ProxyAdminInterface: import("./ProxyAdmin").ProxyAdminInterface;
408
412
  export declare const FactoryInterface: import("./Factory").FactoryInterface;
413
+ export declare const SiloGaugeFactoryInterface: import("./SiloGaugeFactory").SiloGaugeFactoryInterface;
409
414
  export declare const SturdyInterface: import("./Sturdy").SturdyInterface;
410
415
  export declare const GenericAaveInterface: import("./GenericAave").GenericAaveInterface;
411
416
  export declare const LPManagerInterface: import("./LPManager").LPManagerInterface;
@@ -428,6 +433,7 @@ export declare const StrategyLeverageAaveInterface: import("./StrategyLeverageAa
428
433
  export declare const AmbientHotProxyInterface: import("./AmbientHotProxy").AmbientHotProxyInterface;
429
434
  export declare const SanTokenInterface: import("./SanToken").SanTokenInterface;
430
435
  export declare const RfxInterface: import("./Rfx").RfxInterface;
436
+ export declare const SiloFactoryInterface: import("./SiloFactory").SiloFactoryInterface;
431
437
  export declare const AmbientWarmPathInterface: import("./AmbientWarmPath").AmbientWarmPathInterface;
432
438
  export declare const SavingsInterface: import("./Savings").SavingsInterface;
433
439
  export declare const IroncladReliquaryInterface: import("./IroncladReliquary").IroncladReliquaryInterface;
@@ -533,6 +539,7 @@ export declare const GammaUniV4HypeRegistryInterface: import("./GammaUniV4HypeRe
533
539
  export declare const SortedCdpsInterface: import("./SortedCdps").SortedCdpsInterface;
534
540
  export declare const PendleInterface: import("./Pendle").PendleInterface;
535
541
  export declare const CoreInterface: import("./Core").CoreInterface;
542
+ export declare const SiloVaultFactoryInterface: import("./SiloVaultFactory").SiloVaultFactoryInterface;
536
543
  export declare const SatoshiFarmInterface: import("./SatoshiFarm").SatoshiFarmInterface;
537
544
  export declare const HyperlockV2NfpBoosterInterface: import("./HyperlockV2NfpBooster").HyperlockV2NfpBoosterInterface;
538
545
  export declare const BalancerV3StablePoolInterface: import("./BalancerV3StablePool").BalancerV3StablePoolInterface;
@@ -626,6 +633,7 @@ export declare const BalancerVaultInterface: import("./BalancerVault").BalancerV
626
633
  export declare const AaveUmbrellaInterface: import("./AaveUmbrella").AaveUmbrellaInterface;
627
634
  export declare const AlgebraIntegralPoolInterface: import("./AlgebraIntegralPool").AlgebraIntegralPoolInterface;
628
635
  export declare const TermFinanceEventEmitterInterface: import("./TermFinanceEventEmitter").TermFinanceEventEmitterInterface;
636
+ export declare const SiloGaugeInterface: import("./SiloGauge").SiloGaugeInterface;
629
637
  export declare const SymetricAmbientStrategyInterface: import("./SymetricAmbientStrategy").SymetricAmbientStrategyInterface;
630
638
  export declare const SiloV2DebtTokenInterface: import("./SiloV2DebtToken").SiloV2DebtTokenInterface;
631
639
  export declare const BondingCurveInterface: import("./BondingCurve").BondingCurveInterface;
package/dist/src/index.js CHANGED
@@ -144,6 +144,8 @@ import { ProxyAdmin__factory } from "./factories/ProxyAdmin__factory";
144
144
  export const ProxyAdminInterface = ProxyAdmin__factory.createInterface();
145
145
  import { Factory__factory } from "./factories/Factory__factory";
146
146
  export const FactoryInterface = Factory__factory.createInterface();
147
+ import { SiloGaugeFactory__factory } from "./factories/SiloGaugeFactory__factory";
148
+ export const SiloGaugeFactoryInterface = SiloGaugeFactory__factory.createInterface();
147
149
  import { Sturdy__factory } from "./factories/Sturdy__factory";
148
150
  export const SturdyInterface = Sturdy__factory.createInterface();
149
151
  import { GenericAave__factory } from "./factories/GenericAave__factory";
@@ -188,6 +190,8 @@ import { SanToken__factory } from "./factories/SanToken__factory";
188
190
  export const SanTokenInterface = SanToken__factory.createInterface();
189
191
  import { Rfx__factory } from "./factories/Rfx__factory";
190
192
  export const RfxInterface = Rfx__factory.createInterface();
193
+ import { SiloFactory__factory } from "./factories/SiloFactory__factory";
194
+ export const SiloFactoryInterface = SiloFactory__factory.createInterface();
191
195
  import { AmbientWarmPath__factory } from "./factories/AmbientWarmPath__factory";
192
196
  export const AmbientWarmPathInterface = AmbientWarmPath__factory.createInterface();
193
197
  import { Savings__factory } from "./factories/Savings__factory";
@@ -398,6 +402,8 @@ import { Pendle__factory } from "./factories/Pendle__factory";
398
402
  export const PendleInterface = Pendle__factory.createInterface();
399
403
  import { Core__factory } from "./factories/Core__factory";
400
404
  export const CoreInterface = Core__factory.createInterface();
405
+ import { SiloVaultFactory__factory } from "./factories/SiloVaultFactory__factory";
406
+ export const SiloVaultFactoryInterface = SiloVaultFactory__factory.createInterface();
401
407
  import { SatoshiFarm__factory } from "./factories/SatoshiFarm__factory";
402
408
  export const SatoshiFarmInterface = SatoshiFarm__factory.createInterface();
403
409
  import { HyperlockV2NfpBooster__factory } from "./factories/HyperlockV2NfpBooster__factory";
@@ -584,6 +590,8 @@ import { AlgebraIntegralPool__factory } from "./factories/AlgebraIntegralPool__f
584
590
  export const AlgebraIntegralPoolInterface = AlgebraIntegralPool__factory.createInterface();
585
591
  import { TermFinanceEventEmitter__factory } from "./factories/TermFinanceEventEmitter__factory";
586
592
  export const TermFinanceEventEmitterInterface = TermFinanceEventEmitter__factory.createInterface();
593
+ import { SiloGauge__factory } from "./factories/SiloGauge__factory";
594
+ export const SiloGaugeInterface = SiloGauge__factory.createInterface();
587
595
  import { SymetricAmbientStrategy__factory } from "./factories/SymetricAmbientStrategy__factory";
588
596
  export const SymetricAmbientStrategyInterface = SymetricAmbientStrategy__factory.createInterface();
589
597
  import { SiloV2DebtToken__factory } from "./factories/SiloV2DebtToken__factory";