@merkl/contracts 0.1.80 → 0.1.82
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/AmbientMicroPaths.d.ts +398 -0
- package/dist/src/AmbientMicroPaths.js +1 -0
- package/dist/src/AttestationIndexer.d.ts +382 -0
- package/dist/src/AttestationIndexer.js +1 -0
- package/dist/src/CrossChainLayerERC20.d.ts +248 -0
- package/dist/src/CrossChainLayerERC20.js +1 -0
- package/dist/src/KilnVault.d.ts +1341 -0
- package/dist/src/KilnVault.js +1 -0
- package/dist/src/StabullPoolFactory.d.ts +252 -0
- package/dist/src/StabullPoolFactory.js +1 -0
- package/dist/src/StabullStakingFactory.d.ts +713 -0
- package/dist/src/StabullStakingFactory.js +1 -0
- package/dist/src/SummerFinanceFactory.d.ts +65 -0
- package/dist/src/SummerFinanceFactory.js +1 -0
- package/dist/src/SummerFinanceVault.d.ts +552 -0
- package/dist/src/SummerFinanceVault.js +1 -0
- package/dist/src/factories/AmbientMicroPaths__factory.d.ts +476 -0
- package/dist/src/factories/AmbientMicroPaths__factory.js +612 -0
- package/dist/src/factories/AttestationIndexer__factory.d.ts +428 -0
- package/dist/src/factories/AttestationIndexer__factory.js +558 -0
- package/dist/src/factories/CrossChainLayerERC20__factory.d.ts +349 -0
- package/dist/src/factories/CrossChainLayerERC20__factory.js +461 -0
- package/dist/src/factories/KilnVault__factory.d.ts +1855 -0
- package/dist/src/factories/KilnVault__factory.js +2423 -0
- package/dist/src/factories/StabullPoolFactory__factory.d.ts +282 -0
- package/dist/src/factories/StabullPoolFactory__factory.js +372 -0
- package/dist/src/factories/StabullStakingFactory__factory.d.ts +693 -0
- package/dist/src/factories/StabullStakingFactory__factory.js +897 -0
- package/dist/src/factories/SummerFinanceFactory__factory.d.ts +45 -0
- package/dist/src/factories/SummerFinanceFactory__factory.js +63 -0
- package/dist/src/factories/SummerFinanceVault__factory.d.ts +828 -0
- package/dist/src/factories/SummerFinanceVault__factory.js +1089 -0
- package/dist/src/factories/index.d.ts +8 -1
- package/dist/src/factories/index.js +8 -1
- package/dist/src/index.d.ts +16 -0
- package/dist/src/index.js +16 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
import { Signer } from "ethers";
|
|
2
|
+
import type { Provider } from "@ethersproject/providers";
|
|
3
|
+
import type { StabullPoolFactory, StabullPoolFactoryInterface } from "../StabullPoolFactory";
|
|
4
|
+
export declare class StabullPoolFactory__factory {
|
|
5
|
+
static readonly abi: readonly [{
|
|
6
|
+
readonly inputs: readonly [{
|
|
7
|
+
readonly internalType: "address";
|
|
8
|
+
readonly name: "_assimFactory";
|
|
9
|
+
readonly type: "address";
|
|
10
|
+
}, {
|
|
11
|
+
readonly internalType: "address";
|
|
12
|
+
readonly name: "_config";
|
|
13
|
+
readonly type: "address";
|
|
14
|
+
}];
|
|
15
|
+
readonly stateMutability: "nonpayable";
|
|
16
|
+
readonly type: "constructor";
|
|
17
|
+
}, {
|
|
18
|
+
readonly anonymous: false;
|
|
19
|
+
readonly inputs: readonly [{
|
|
20
|
+
readonly indexed: true;
|
|
21
|
+
readonly internalType: "address";
|
|
22
|
+
readonly name: "caller";
|
|
23
|
+
readonly type: "address";
|
|
24
|
+
}, {
|
|
25
|
+
readonly indexed: true;
|
|
26
|
+
readonly internalType: "bytes32";
|
|
27
|
+
readonly name: "id";
|
|
28
|
+
readonly type: "bytes32";
|
|
29
|
+
}, {
|
|
30
|
+
readonly indexed: true;
|
|
31
|
+
readonly internalType: "address";
|
|
32
|
+
readonly name: "curve";
|
|
33
|
+
readonly type: "address";
|
|
34
|
+
}];
|
|
35
|
+
readonly name: "NewCurve";
|
|
36
|
+
readonly type: "event";
|
|
37
|
+
}, {
|
|
38
|
+
readonly anonymous: false;
|
|
39
|
+
readonly inputs: readonly [{
|
|
40
|
+
readonly indexed: true;
|
|
41
|
+
readonly internalType: "address";
|
|
42
|
+
readonly name: "previousOwner";
|
|
43
|
+
readonly type: "address";
|
|
44
|
+
}, {
|
|
45
|
+
readonly indexed: true;
|
|
46
|
+
readonly internalType: "address";
|
|
47
|
+
readonly name: "newOwner";
|
|
48
|
+
readonly type: "address";
|
|
49
|
+
}];
|
|
50
|
+
readonly name: "OwnershipTransferred";
|
|
51
|
+
readonly type: "event";
|
|
52
|
+
}, {
|
|
53
|
+
readonly inputs: readonly [];
|
|
54
|
+
readonly name: "assimilatorFactory";
|
|
55
|
+
readonly outputs: readonly [{
|
|
56
|
+
readonly internalType: "contract IAssimilatorFactory";
|
|
57
|
+
readonly name: "";
|
|
58
|
+
readonly type: "address";
|
|
59
|
+
}];
|
|
60
|
+
readonly stateMutability: "view";
|
|
61
|
+
readonly type: "function";
|
|
62
|
+
}, {
|
|
63
|
+
readonly inputs: readonly [];
|
|
64
|
+
readonly name: "config";
|
|
65
|
+
readonly outputs: readonly [{
|
|
66
|
+
readonly internalType: "contract IConfig";
|
|
67
|
+
readonly name: "";
|
|
68
|
+
readonly type: "address";
|
|
69
|
+
}];
|
|
70
|
+
readonly stateMutability: "view";
|
|
71
|
+
readonly type: "function";
|
|
72
|
+
}, {
|
|
73
|
+
readonly inputs: readonly [{
|
|
74
|
+
readonly internalType: "bytes32";
|
|
75
|
+
readonly name: "";
|
|
76
|
+
readonly type: "bytes32";
|
|
77
|
+
}];
|
|
78
|
+
readonly name: "curves";
|
|
79
|
+
readonly outputs: readonly [{
|
|
80
|
+
readonly internalType: "address";
|
|
81
|
+
readonly name: "";
|
|
82
|
+
readonly type: "address";
|
|
83
|
+
}];
|
|
84
|
+
readonly stateMutability: "view";
|
|
85
|
+
readonly type: "function";
|
|
86
|
+
}, {
|
|
87
|
+
readonly inputs: readonly [{
|
|
88
|
+
readonly internalType: "address";
|
|
89
|
+
readonly name: "_baseCurrency";
|
|
90
|
+
readonly type: "address";
|
|
91
|
+
}, {
|
|
92
|
+
readonly internalType: "address";
|
|
93
|
+
readonly name: "_quoteCurrency";
|
|
94
|
+
readonly type: "address";
|
|
95
|
+
}];
|
|
96
|
+
readonly name: "getCurve";
|
|
97
|
+
readonly outputs: readonly [{
|
|
98
|
+
readonly internalType: "address";
|
|
99
|
+
readonly name: "";
|
|
100
|
+
readonly type: "address";
|
|
101
|
+
}];
|
|
102
|
+
readonly stateMutability: "view";
|
|
103
|
+
readonly type: "function";
|
|
104
|
+
}, {
|
|
105
|
+
readonly inputs: readonly [];
|
|
106
|
+
readonly name: "getFlashableState";
|
|
107
|
+
readonly outputs: readonly [{
|
|
108
|
+
readonly internalType: "bool";
|
|
109
|
+
readonly name: "";
|
|
110
|
+
readonly type: "bool";
|
|
111
|
+
}];
|
|
112
|
+
readonly stateMutability: "view";
|
|
113
|
+
readonly type: "function";
|
|
114
|
+
}, {
|
|
115
|
+
readonly inputs: readonly [];
|
|
116
|
+
readonly name: "getGlobalFrozenState";
|
|
117
|
+
readonly outputs: readonly [{
|
|
118
|
+
readonly internalType: "bool";
|
|
119
|
+
readonly name: "";
|
|
120
|
+
readonly type: "bool";
|
|
121
|
+
}];
|
|
122
|
+
readonly stateMutability: "view";
|
|
123
|
+
readonly type: "function";
|
|
124
|
+
}, {
|
|
125
|
+
readonly inputs: readonly [{
|
|
126
|
+
readonly internalType: "address";
|
|
127
|
+
readonly name: "pool";
|
|
128
|
+
readonly type: "address";
|
|
129
|
+
}];
|
|
130
|
+
readonly name: "getPoolCap";
|
|
131
|
+
readonly outputs: readonly [{
|
|
132
|
+
readonly internalType: "uint256";
|
|
133
|
+
readonly name: "";
|
|
134
|
+
readonly type: "uint256";
|
|
135
|
+
}];
|
|
136
|
+
readonly stateMutability: "view";
|
|
137
|
+
readonly type: "function";
|
|
138
|
+
}, {
|
|
139
|
+
readonly inputs: readonly [{
|
|
140
|
+
readonly internalType: "address";
|
|
141
|
+
readonly name: "pool";
|
|
142
|
+
readonly type: "address";
|
|
143
|
+
}];
|
|
144
|
+
readonly name: "getPoolGuardAmount";
|
|
145
|
+
readonly outputs: readonly [{
|
|
146
|
+
readonly internalType: "uint256";
|
|
147
|
+
readonly name: "";
|
|
148
|
+
readonly type: "uint256";
|
|
149
|
+
}];
|
|
150
|
+
readonly stateMutability: "view";
|
|
151
|
+
readonly type: "function";
|
|
152
|
+
}, {
|
|
153
|
+
readonly inputs: readonly [];
|
|
154
|
+
readonly name: "getProtocolFee";
|
|
155
|
+
readonly outputs: readonly [{
|
|
156
|
+
readonly internalType: "int128";
|
|
157
|
+
readonly name: "";
|
|
158
|
+
readonly type: "int128";
|
|
159
|
+
}];
|
|
160
|
+
readonly stateMutability: "view";
|
|
161
|
+
readonly type: "function";
|
|
162
|
+
}, {
|
|
163
|
+
readonly inputs: readonly [];
|
|
164
|
+
readonly name: "getProtocolTreasury";
|
|
165
|
+
readonly outputs: readonly [{
|
|
166
|
+
readonly internalType: "address";
|
|
167
|
+
readonly name: "";
|
|
168
|
+
readonly type: "address";
|
|
169
|
+
}];
|
|
170
|
+
readonly stateMutability: "view";
|
|
171
|
+
readonly type: "function";
|
|
172
|
+
}, {
|
|
173
|
+
readonly inputs: readonly [{
|
|
174
|
+
readonly internalType: "address";
|
|
175
|
+
readonly name: "pool";
|
|
176
|
+
readonly type: "address";
|
|
177
|
+
}];
|
|
178
|
+
readonly name: "isPoolGuarded";
|
|
179
|
+
readonly outputs: readonly [{
|
|
180
|
+
readonly internalType: "bool";
|
|
181
|
+
readonly name: "";
|
|
182
|
+
readonly type: "bool";
|
|
183
|
+
}];
|
|
184
|
+
readonly stateMutability: "view";
|
|
185
|
+
readonly type: "function";
|
|
186
|
+
}, {
|
|
187
|
+
readonly inputs: readonly [{
|
|
188
|
+
readonly components: readonly [{
|
|
189
|
+
readonly internalType: "string";
|
|
190
|
+
readonly name: "_name";
|
|
191
|
+
readonly type: "string";
|
|
192
|
+
}, {
|
|
193
|
+
readonly internalType: "string";
|
|
194
|
+
readonly name: "_symbol";
|
|
195
|
+
readonly type: "string";
|
|
196
|
+
}, {
|
|
197
|
+
readonly internalType: "address";
|
|
198
|
+
readonly name: "_baseCurrency";
|
|
199
|
+
readonly type: "address";
|
|
200
|
+
}, {
|
|
201
|
+
readonly internalType: "address";
|
|
202
|
+
readonly name: "_quoteCurrency";
|
|
203
|
+
readonly type: "address";
|
|
204
|
+
}, {
|
|
205
|
+
readonly internalType: "uint256";
|
|
206
|
+
readonly name: "_baseWeight";
|
|
207
|
+
readonly type: "uint256";
|
|
208
|
+
}, {
|
|
209
|
+
readonly internalType: "uint256";
|
|
210
|
+
readonly name: "_quoteWeight";
|
|
211
|
+
readonly type: "uint256";
|
|
212
|
+
}, {
|
|
213
|
+
readonly internalType: "contract IOracle";
|
|
214
|
+
readonly name: "_baseOracle";
|
|
215
|
+
readonly type: "address";
|
|
216
|
+
}, {
|
|
217
|
+
readonly internalType: "contract IOracle";
|
|
218
|
+
readonly name: "_quoteOracle";
|
|
219
|
+
readonly type: "address";
|
|
220
|
+
}, {
|
|
221
|
+
readonly internalType: "uint256";
|
|
222
|
+
readonly name: "_alpha";
|
|
223
|
+
readonly type: "uint256";
|
|
224
|
+
}, {
|
|
225
|
+
readonly internalType: "uint256";
|
|
226
|
+
readonly name: "_beta";
|
|
227
|
+
readonly type: "uint256";
|
|
228
|
+
}, {
|
|
229
|
+
readonly internalType: "uint256";
|
|
230
|
+
readonly name: "_feeAtHalt";
|
|
231
|
+
readonly type: "uint256";
|
|
232
|
+
}, {
|
|
233
|
+
readonly internalType: "uint256";
|
|
234
|
+
readonly name: "_epsilon";
|
|
235
|
+
readonly type: "uint256";
|
|
236
|
+
}, {
|
|
237
|
+
readonly internalType: "uint256";
|
|
238
|
+
readonly name: "_lambda";
|
|
239
|
+
readonly type: "uint256";
|
|
240
|
+
}];
|
|
241
|
+
readonly internalType: "struct CurveInfo";
|
|
242
|
+
readonly name: "_info";
|
|
243
|
+
readonly type: "tuple";
|
|
244
|
+
}];
|
|
245
|
+
readonly name: "newCurve";
|
|
246
|
+
readonly outputs: readonly [{
|
|
247
|
+
readonly internalType: "contract Curve";
|
|
248
|
+
readonly name: "";
|
|
249
|
+
readonly type: "address";
|
|
250
|
+
}];
|
|
251
|
+
readonly stateMutability: "nonpayable";
|
|
252
|
+
readonly type: "function";
|
|
253
|
+
}, {
|
|
254
|
+
readonly inputs: readonly [];
|
|
255
|
+
readonly name: "owner";
|
|
256
|
+
readonly outputs: readonly [{
|
|
257
|
+
readonly internalType: "address";
|
|
258
|
+
readonly name: "";
|
|
259
|
+
readonly type: "address";
|
|
260
|
+
}];
|
|
261
|
+
readonly stateMutability: "view";
|
|
262
|
+
readonly type: "function";
|
|
263
|
+
}, {
|
|
264
|
+
readonly inputs: readonly [];
|
|
265
|
+
readonly name: "renounceOwnership";
|
|
266
|
+
readonly outputs: readonly [];
|
|
267
|
+
readonly stateMutability: "nonpayable";
|
|
268
|
+
readonly type: "function";
|
|
269
|
+
}, {
|
|
270
|
+
readonly inputs: readonly [{
|
|
271
|
+
readonly internalType: "address";
|
|
272
|
+
readonly name: "newOwner";
|
|
273
|
+
readonly type: "address";
|
|
274
|
+
}];
|
|
275
|
+
readonly name: "transferOwnership";
|
|
276
|
+
readonly outputs: readonly [];
|
|
277
|
+
readonly stateMutability: "nonpayable";
|
|
278
|
+
readonly type: "function";
|
|
279
|
+
}];
|
|
280
|
+
static createInterface(): StabullPoolFactoryInterface;
|
|
281
|
+
static connect(address: string, signerOrProvider: Signer | Provider): StabullPoolFactory;
|
|
282
|
+
}
|
|
@@ -0,0 +1,372 @@
|
|
|
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: "_assimFactory",
|
|
11
|
+
type: "address",
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
internalType: "address",
|
|
15
|
+
name: "_config",
|
|
16
|
+
type: "address",
|
|
17
|
+
},
|
|
18
|
+
],
|
|
19
|
+
stateMutability: "nonpayable",
|
|
20
|
+
type: "constructor",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
anonymous: false,
|
|
24
|
+
inputs: [
|
|
25
|
+
{
|
|
26
|
+
indexed: true,
|
|
27
|
+
internalType: "address",
|
|
28
|
+
name: "caller",
|
|
29
|
+
type: "address",
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
indexed: true,
|
|
33
|
+
internalType: "bytes32",
|
|
34
|
+
name: "id",
|
|
35
|
+
type: "bytes32",
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
indexed: true,
|
|
39
|
+
internalType: "address",
|
|
40
|
+
name: "curve",
|
|
41
|
+
type: "address",
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
name: "NewCurve",
|
|
45
|
+
type: "event",
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
anonymous: false,
|
|
49
|
+
inputs: [
|
|
50
|
+
{
|
|
51
|
+
indexed: true,
|
|
52
|
+
internalType: "address",
|
|
53
|
+
name: "previousOwner",
|
|
54
|
+
type: "address",
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
indexed: true,
|
|
58
|
+
internalType: "address",
|
|
59
|
+
name: "newOwner",
|
|
60
|
+
type: "address",
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
name: "OwnershipTransferred",
|
|
64
|
+
type: "event",
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
inputs: [],
|
|
68
|
+
name: "assimilatorFactory",
|
|
69
|
+
outputs: [
|
|
70
|
+
{
|
|
71
|
+
internalType: "contract IAssimilatorFactory",
|
|
72
|
+
name: "",
|
|
73
|
+
type: "address",
|
|
74
|
+
},
|
|
75
|
+
],
|
|
76
|
+
stateMutability: "view",
|
|
77
|
+
type: "function",
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
inputs: [],
|
|
81
|
+
name: "config",
|
|
82
|
+
outputs: [
|
|
83
|
+
{
|
|
84
|
+
internalType: "contract IConfig",
|
|
85
|
+
name: "",
|
|
86
|
+
type: "address",
|
|
87
|
+
},
|
|
88
|
+
],
|
|
89
|
+
stateMutability: "view",
|
|
90
|
+
type: "function",
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
inputs: [
|
|
94
|
+
{
|
|
95
|
+
internalType: "bytes32",
|
|
96
|
+
name: "",
|
|
97
|
+
type: "bytes32",
|
|
98
|
+
},
|
|
99
|
+
],
|
|
100
|
+
name: "curves",
|
|
101
|
+
outputs: [
|
|
102
|
+
{
|
|
103
|
+
internalType: "address",
|
|
104
|
+
name: "",
|
|
105
|
+
type: "address",
|
|
106
|
+
},
|
|
107
|
+
],
|
|
108
|
+
stateMutability: "view",
|
|
109
|
+
type: "function",
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
inputs: [
|
|
113
|
+
{
|
|
114
|
+
internalType: "address",
|
|
115
|
+
name: "_baseCurrency",
|
|
116
|
+
type: "address",
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
internalType: "address",
|
|
120
|
+
name: "_quoteCurrency",
|
|
121
|
+
type: "address",
|
|
122
|
+
},
|
|
123
|
+
],
|
|
124
|
+
name: "getCurve",
|
|
125
|
+
outputs: [
|
|
126
|
+
{
|
|
127
|
+
internalType: "address",
|
|
128
|
+
name: "",
|
|
129
|
+
type: "address",
|
|
130
|
+
},
|
|
131
|
+
],
|
|
132
|
+
stateMutability: "view",
|
|
133
|
+
type: "function",
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
inputs: [],
|
|
137
|
+
name: "getFlashableState",
|
|
138
|
+
outputs: [
|
|
139
|
+
{
|
|
140
|
+
internalType: "bool",
|
|
141
|
+
name: "",
|
|
142
|
+
type: "bool",
|
|
143
|
+
},
|
|
144
|
+
],
|
|
145
|
+
stateMutability: "view",
|
|
146
|
+
type: "function",
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
inputs: [],
|
|
150
|
+
name: "getGlobalFrozenState",
|
|
151
|
+
outputs: [
|
|
152
|
+
{
|
|
153
|
+
internalType: "bool",
|
|
154
|
+
name: "",
|
|
155
|
+
type: "bool",
|
|
156
|
+
},
|
|
157
|
+
],
|
|
158
|
+
stateMutability: "view",
|
|
159
|
+
type: "function",
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
inputs: [
|
|
163
|
+
{
|
|
164
|
+
internalType: "address",
|
|
165
|
+
name: "pool",
|
|
166
|
+
type: "address",
|
|
167
|
+
},
|
|
168
|
+
],
|
|
169
|
+
name: "getPoolCap",
|
|
170
|
+
outputs: [
|
|
171
|
+
{
|
|
172
|
+
internalType: "uint256",
|
|
173
|
+
name: "",
|
|
174
|
+
type: "uint256",
|
|
175
|
+
},
|
|
176
|
+
],
|
|
177
|
+
stateMutability: "view",
|
|
178
|
+
type: "function",
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
inputs: [
|
|
182
|
+
{
|
|
183
|
+
internalType: "address",
|
|
184
|
+
name: "pool",
|
|
185
|
+
type: "address",
|
|
186
|
+
},
|
|
187
|
+
],
|
|
188
|
+
name: "getPoolGuardAmount",
|
|
189
|
+
outputs: [
|
|
190
|
+
{
|
|
191
|
+
internalType: "uint256",
|
|
192
|
+
name: "",
|
|
193
|
+
type: "uint256",
|
|
194
|
+
},
|
|
195
|
+
],
|
|
196
|
+
stateMutability: "view",
|
|
197
|
+
type: "function",
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
inputs: [],
|
|
201
|
+
name: "getProtocolFee",
|
|
202
|
+
outputs: [
|
|
203
|
+
{
|
|
204
|
+
internalType: "int128",
|
|
205
|
+
name: "",
|
|
206
|
+
type: "int128",
|
|
207
|
+
},
|
|
208
|
+
],
|
|
209
|
+
stateMutability: "view",
|
|
210
|
+
type: "function",
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
inputs: [],
|
|
214
|
+
name: "getProtocolTreasury",
|
|
215
|
+
outputs: [
|
|
216
|
+
{
|
|
217
|
+
internalType: "address",
|
|
218
|
+
name: "",
|
|
219
|
+
type: "address",
|
|
220
|
+
},
|
|
221
|
+
],
|
|
222
|
+
stateMutability: "view",
|
|
223
|
+
type: "function",
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
inputs: [
|
|
227
|
+
{
|
|
228
|
+
internalType: "address",
|
|
229
|
+
name: "pool",
|
|
230
|
+
type: "address",
|
|
231
|
+
},
|
|
232
|
+
],
|
|
233
|
+
name: "isPoolGuarded",
|
|
234
|
+
outputs: [
|
|
235
|
+
{
|
|
236
|
+
internalType: "bool",
|
|
237
|
+
name: "",
|
|
238
|
+
type: "bool",
|
|
239
|
+
},
|
|
240
|
+
],
|
|
241
|
+
stateMutability: "view",
|
|
242
|
+
type: "function",
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
inputs: [
|
|
246
|
+
{
|
|
247
|
+
components: [
|
|
248
|
+
{
|
|
249
|
+
internalType: "string",
|
|
250
|
+
name: "_name",
|
|
251
|
+
type: "string",
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
internalType: "string",
|
|
255
|
+
name: "_symbol",
|
|
256
|
+
type: "string",
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
internalType: "address",
|
|
260
|
+
name: "_baseCurrency",
|
|
261
|
+
type: "address",
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
internalType: "address",
|
|
265
|
+
name: "_quoteCurrency",
|
|
266
|
+
type: "address",
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
internalType: "uint256",
|
|
270
|
+
name: "_baseWeight",
|
|
271
|
+
type: "uint256",
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
internalType: "uint256",
|
|
275
|
+
name: "_quoteWeight",
|
|
276
|
+
type: "uint256",
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
internalType: "contract IOracle",
|
|
280
|
+
name: "_baseOracle",
|
|
281
|
+
type: "address",
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
internalType: "contract IOracle",
|
|
285
|
+
name: "_quoteOracle",
|
|
286
|
+
type: "address",
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
internalType: "uint256",
|
|
290
|
+
name: "_alpha",
|
|
291
|
+
type: "uint256",
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
internalType: "uint256",
|
|
295
|
+
name: "_beta",
|
|
296
|
+
type: "uint256",
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
internalType: "uint256",
|
|
300
|
+
name: "_feeAtHalt",
|
|
301
|
+
type: "uint256",
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
internalType: "uint256",
|
|
305
|
+
name: "_epsilon",
|
|
306
|
+
type: "uint256",
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
internalType: "uint256",
|
|
310
|
+
name: "_lambda",
|
|
311
|
+
type: "uint256",
|
|
312
|
+
},
|
|
313
|
+
],
|
|
314
|
+
internalType: "struct CurveInfo",
|
|
315
|
+
name: "_info",
|
|
316
|
+
type: "tuple",
|
|
317
|
+
},
|
|
318
|
+
],
|
|
319
|
+
name: "newCurve",
|
|
320
|
+
outputs: [
|
|
321
|
+
{
|
|
322
|
+
internalType: "contract Curve",
|
|
323
|
+
name: "",
|
|
324
|
+
type: "address",
|
|
325
|
+
},
|
|
326
|
+
],
|
|
327
|
+
stateMutability: "nonpayable",
|
|
328
|
+
type: "function",
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
inputs: [],
|
|
332
|
+
name: "owner",
|
|
333
|
+
outputs: [
|
|
334
|
+
{
|
|
335
|
+
internalType: "address",
|
|
336
|
+
name: "",
|
|
337
|
+
type: "address",
|
|
338
|
+
},
|
|
339
|
+
],
|
|
340
|
+
stateMutability: "view",
|
|
341
|
+
type: "function",
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
inputs: [],
|
|
345
|
+
name: "renounceOwnership",
|
|
346
|
+
outputs: [],
|
|
347
|
+
stateMutability: "nonpayable",
|
|
348
|
+
type: "function",
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
inputs: [
|
|
352
|
+
{
|
|
353
|
+
internalType: "address",
|
|
354
|
+
name: "newOwner",
|
|
355
|
+
type: "address",
|
|
356
|
+
},
|
|
357
|
+
],
|
|
358
|
+
name: "transferOwnership",
|
|
359
|
+
outputs: [],
|
|
360
|
+
stateMutability: "nonpayable",
|
|
361
|
+
type: "function",
|
|
362
|
+
},
|
|
363
|
+
];
|
|
364
|
+
export class StabullPoolFactory__factory {
|
|
365
|
+
static abi = _abi;
|
|
366
|
+
static createInterface() {
|
|
367
|
+
return new utils.Interface(_abi);
|
|
368
|
+
}
|
|
369
|
+
static connect(address, signerOrProvider) {
|
|
370
|
+
return new Contract(address, _abi, signerOrProvider);
|
|
371
|
+
}
|
|
372
|
+
}
|