@b3dotfun/sdk 0.0.25-alpha.0 → 0.0.25-alpha.2
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/cjs/bondkit/abis/BondkitTokenABI.d.ts +301 -73
- package/dist/cjs/bondkit/abis/BondkitTokenABI.js +296 -920
- package/dist/cjs/bondkit/abis/BondkitTokenFactoryABI.d.ts +253 -19
- package/dist/cjs/bondkit/abis/BondkitTokenFactoryABI.js +189 -370
- package/dist/cjs/bondkit/bondkitToken.d.ts +7 -4
- package/dist/cjs/bondkit/bondkitToken.js +85 -10
- package/dist/cjs/bondkit/constants.js +1 -1
- package/dist/cjs/bondkit/json_abis/BondkitABI.json +297 -913
- package/dist/cjs/bondkit/json_abis/BondkitFactoryABI.json +191 -368
- package/dist/cjs/bondkit/types.d.ts +7 -2
- package/dist/esm/bondkit/abis/BondkitTokenABI.d.ts +301 -73
- package/dist/esm/bondkit/abis/BondkitTokenABI.js +296 -920
- package/dist/esm/bondkit/abis/BondkitTokenFactoryABI.d.ts +253 -19
- package/dist/esm/bondkit/abis/BondkitTokenFactoryABI.js +189 -370
- package/dist/esm/bondkit/bondkitToken.d.ts +7 -4
- package/dist/esm/bondkit/bondkitToken.js +86 -11
- package/dist/esm/bondkit/constants.js +1 -1
- package/dist/esm/bondkit/json_abis/BondkitABI.json +297 -913
- package/dist/esm/bondkit/json_abis/BondkitFactoryABI.json +191 -368
- package/dist/esm/bondkit/types.d.ts +7 -2
- package/dist/types/bondkit/abis/BondkitTokenABI.d.ts +301 -73
- package/dist/types/bondkit/abis/BondkitTokenFactoryABI.d.ts +253 -19
- package/dist/types/bondkit/bondkitToken.d.ts +7 -4
- package/dist/types/bondkit/types.d.ts +7 -2
- package/package.json +1 -1
- package/src/bondkit/abis/BondkitTokenABI.ts +296 -920
- package/src/bondkit/abis/BondkitTokenFactoryABI.ts +189 -370
- package/src/bondkit/bondkitToken.ts +102 -14
- package/src/bondkit/constants.ts +1 -1
- package/src/bondkit/json_abis/BondkitABI.json +297 -913
- package/src/bondkit/json_abis/BondkitFactoryABI.json +191 -368
- package/src/bondkit/types.ts +7 -2
|
@@ -2,449 +2,186 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BondkitTokenABI = void 0;
|
|
4
4
|
exports.BondkitTokenABI = [
|
|
5
|
-
{
|
|
6
|
-
|
|
7
|
-
stateMutability: "nonpayable",
|
|
8
|
-
type: "constructor",
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
inputs: [],
|
|
12
|
-
name: "CalculatedEthOutIsZero",
|
|
13
|
-
type: "error",
|
|
14
|
-
},
|
|
5
|
+
{ inputs: [], stateMutability: "nonpayable", type: "constructor" },
|
|
6
|
+
{ inputs: [], name: "CalculatedTradingTokenOutIsZero", type: "error" },
|
|
15
7
|
{
|
|
16
8
|
inputs: [
|
|
17
|
-
{
|
|
18
|
-
|
|
19
|
-
name: "required",
|
|
20
|
-
type: "uint256",
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
internalType: "uint256",
|
|
24
|
-
name: "available",
|
|
25
|
-
type: "uint256",
|
|
26
|
-
},
|
|
9
|
+
{ internalType: "uint256", name: "required", type: "uint256" },
|
|
10
|
+
{ internalType: "uint256", name: "available", type: "uint256" },
|
|
27
11
|
],
|
|
28
12
|
name: "CurveReserveInsufficient",
|
|
29
13
|
type: "error",
|
|
30
14
|
},
|
|
31
15
|
{
|
|
32
16
|
inputs: [
|
|
33
|
-
{
|
|
34
|
-
|
|
35
|
-
name: "currentRaised",
|
|
36
|
-
type: "uint256",
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
internalType: "uint256",
|
|
40
|
-
name: "threshold",
|
|
41
|
-
type: "uint256",
|
|
42
|
-
},
|
|
17
|
+
{ internalType: "uint256", name: "currentRaised", type: "uint256" },
|
|
18
|
+
{ internalType: "uint256", name: "threshold", type: "uint256" },
|
|
43
19
|
],
|
|
44
20
|
name: "DexTriggerThresholdNotMet",
|
|
45
21
|
type: "error",
|
|
46
22
|
},
|
|
47
23
|
{
|
|
48
24
|
inputs: [
|
|
49
|
-
{
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
type: "address",
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
internalType: "uint256",
|
|
56
|
-
name: "allowance",
|
|
57
|
-
type: "uint256",
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
internalType: "uint256",
|
|
61
|
-
name: "needed",
|
|
62
|
-
type: "uint256",
|
|
63
|
-
},
|
|
25
|
+
{ internalType: "address", name: "spender", type: "address" },
|
|
26
|
+
{ internalType: "uint256", name: "allowance", type: "uint256" },
|
|
27
|
+
{ internalType: "uint256", name: "needed", type: "uint256" },
|
|
64
28
|
],
|
|
65
29
|
name: "ERC20InsufficientAllowance",
|
|
66
30
|
type: "error",
|
|
67
31
|
},
|
|
68
32
|
{
|
|
69
33
|
inputs: [
|
|
70
|
-
{
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
type: "address",
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
internalType: "uint256",
|
|
77
|
-
name: "balance",
|
|
78
|
-
type: "uint256",
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
internalType: "uint256",
|
|
82
|
-
name: "needed",
|
|
83
|
-
type: "uint256",
|
|
84
|
-
},
|
|
34
|
+
{ internalType: "address", name: "sender", type: "address" },
|
|
35
|
+
{ internalType: "uint256", name: "balance", type: "uint256" },
|
|
36
|
+
{ internalType: "uint256", name: "needed", type: "uint256" },
|
|
85
37
|
],
|
|
86
38
|
name: "ERC20InsufficientBalance",
|
|
87
39
|
type: "error",
|
|
88
40
|
},
|
|
89
41
|
{
|
|
90
|
-
inputs: [
|
|
91
|
-
{
|
|
92
|
-
internalType: "address",
|
|
93
|
-
name: "approver",
|
|
94
|
-
type: "address",
|
|
95
|
-
},
|
|
96
|
-
],
|
|
42
|
+
inputs: [{ internalType: "address", name: "approver", type: "address" }],
|
|
97
43
|
name: "ERC20InvalidApprover",
|
|
98
44
|
type: "error",
|
|
99
45
|
},
|
|
100
46
|
{
|
|
101
|
-
inputs: [
|
|
102
|
-
{
|
|
103
|
-
internalType: "address",
|
|
104
|
-
name: "receiver",
|
|
105
|
-
type: "address",
|
|
106
|
-
},
|
|
107
|
-
],
|
|
47
|
+
inputs: [{ internalType: "address", name: "receiver", type: "address" }],
|
|
108
48
|
name: "ERC20InvalidReceiver",
|
|
109
49
|
type: "error",
|
|
110
50
|
},
|
|
51
|
+
{ inputs: [{ internalType: "address", name: "sender", type: "address" }], name: "ERC20InvalidSender", type: "error" },
|
|
111
52
|
{
|
|
112
|
-
inputs: [
|
|
113
|
-
{
|
|
114
|
-
internalType: "address",
|
|
115
|
-
name: "sender",
|
|
116
|
-
type: "address",
|
|
117
|
-
},
|
|
118
|
-
],
|
|
119
|
-
name: "ERC20InvalidSender",
|
|
120
|
-
type: "error",
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
inputs: [
|
|
124
|
-
{
|
|
125
|
-
internalType: "address",
|
|
126
|
-
name: "spender",
|
|
127
|
-
type: "address",
|
|
128
|
-
},
|
|
129
|
-
],
|
|
53
|
+
inputs: [{ internalType: "address", name: "spender", type: "address" }],
|
|
130
54
|
name: "ERC20InvalidSpender",
|
|
131
55
|
type: "error",
|
|
132
56
|
},
|
|
133
|
-
{
|
|
134
|
-
inputs: [],
|
|
135
|
-
name: "EthAmountMustBePositive",
|
|
136
|
-
type: "error",
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
inputs: [],
|
|
140
|
-
name: "EthForCurveMustBePositive",
|
|
141
|
-
type: "error",
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
inputs: [
|
|
145
|
-
{
|
|
146
|
-
internalType: "address",
|
|
147
|
-
name: "recipient",
|
|
148
|
-
type: "address",
|
|
149
|
-
},
|
|
150
|
-
],
|
|
151
|
-
name: "EthTransferFailed",
|
|
152
|
-
type: "error",
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
inputs: [],
|
|
156
|
-
name: "ExpectedBondingPhase",
|
|
157
|
-
type: "error",
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
inputs: [],
|
|
161
|
-
name: "FeeRecipientLPSplitPayoutFailed",
|
|
162
|
-
type: "error",
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
inputs: [],
|
|
166
|
-
name: "FeeTransferFailed",
|
|
167
|
-
type: "error",
|
|
168
|
-
},
|
|
169
57
|
{
|
|
170
58
|
inputs: [
|
|
171
|
-
{
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
type: "uint256",
|
|
175
|
-
},
|
|
59
|
+
{ internalType: "address", name: "owner", type: "address" },
|
|
60
|
+
{ internalType: "uint256", name: "required", type: "uint256" },
|
|
61
|
+
{ internalType: "uint256", name: "available", type: "uint256" },
|
|
176
62
|
],
|
|
177
|
-
name: "
|
|
63
|
+
name: "InsufficientTokenBalance",
|
|
178
64
|
type: "error",
|
|
179
65
|
},
|
|
180
66
|
{
|
|
181
|
-
inputs: [
|
|
182
|
-
|
|
183
|
-
internalType: "address",
|
|
184
|
-
name: "owner",
|
|
185
|
-
type: "address",
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
internalType: "uint256",
|
|
189
|
-
name: "required",
|
|
190
|
-
type: "uint256",
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
internalType: "uint256",
|
|
194
|
-
name: "available",
|
|
195
|
-
type: "uint256",
|
|
196
|
-
},
|
|
197
|
-
],
|
|
198
|
-
name: "InsufficientTokenBalance",
|
|
67
|
+
inputs: [{ internalType: "uint256", name: "available", type: "uint256" }],
|
|
68
|
+
name: "InsufficientTradingTokenForLiquidity",
|
|
199
69
|
type: "error",
|
|
200
70
|
},
|
|
201
71
|
{
|
|
202
|
-
inputs: [
|
|
203
|
-
{
|
|
204
|
-
internalType: "uint256",
|
|
205
|
-
name: "value",
|
|
206
|
-
type: "uint256",
|
|
207
|
-
},
|
|
208
|
-
],
|
|
72
|
+
inputs: [{ internalType: "uint256", name: "value", type: "uint256" }],
|
|
209
73
|
name: "InvalidCurveExponent",
|
|
210
74
|
type: "error",
|
|
211
75
|
},
|
|
212
76
|
{
|
|
213
77
|
inputs: [
|
|
214
|
-
{
|
|
215
|
-
|
|
216
|
-
name: "currentPhase",
|
|
217
|
-
type: "uint8",
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
internalType: "enum Status",
|
|
221
|
-
name: "requiredPhase",
|
|
222
|
-
type: "uint8",
|
|
223
|
-
},
|
|
78
|
+
{ internalType: "uint8", name: "currentPhase", type: "uint8" },
|
|
79
|
+
{ internalType: "uint8", name: "requiredPhase", type: "uint8" },
|
|
224
80
|
],
|
|
225
81
|
name: "InvalidPhaseForAction",
|
|
226
82
|
type: "error",
|
|
227
83
|
},
|
|
84
|
+
{ inputs: [], name: "NoTokensForLiquidity", type: "error" },
|
|
85
|
+
{ inputs: [{ internalType: "address", name: "owner", type: "address" }], name: "OwnableInvalidOwner", type: "error" },
|
|
228
86
|
{
|
|
229
|
-
inputs: [],
|
|
230
|
-
name: "NoTokensForLiquidity",
|
|
231
|
-
type: "error",
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
inputs: [
|
|
235
|
-
{
|
|
236
|
-
internalType: "address",
|
|
237
|
-
name: "owner",
|
|
238
|
-
type: "address",
|
|
239
|
-
},
|
|
240
|
-
],
|
|
241
|
-
name: "OwnableInvalidOwner",
|
|
242
|
-
type: "error",
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
inputs: [
|
|
246
|
-
{
|
|
247
|
-
internalType: "address",
|
|
248
|
-
name: "account",
|
|
249
|
-
type: "address",
|
|
250
|
-
},
|
|
251
|
-
],
|
|
87
|
+
inputs: [{ internalType: "address", name: "account", type: "address" }],
|
|
252
88
|
name: "OwnableUnauthorizedAccount",
|
|
253
89
|
type: "error",
|
|
254
90
|
},
|
|
255
91
|
{
|
|
256
92
|
inputs: [
|
|
257
|
-
{
|
|
258
|
-
|
|
259
|
-
name: "x",
|
|
260
|
-
type: "uint256",
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
internalType: "uint256",
|
|
264
|
-
name: "y",
|
|
265
|
-
type: "uint256",
|
|
266
|
-
},
|
|
93
|
+
{ internalType: "uint256", name: "x", type: "uint256" },
|
|
94
|
+
{ internalType: "uint256", name: "y", type: "uint256" },
|
|
267
95
|
],
|
|
268
96
|
name: "PRBMath_MulDiv18_Overflow",
|
|
269
97
|
type: "error",
|
|
270
98
|
},
|
|
271
99
|
{
|
|
272
100
|
inputs: [
|
|
273
|
-
{
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
type: "uint256",
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
internalType: "uint256",
|
|
280
|
-
name: "y",
|
|
281
|
-
type: "uint256",
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
internalType: "uint256",
|
|
285
|
-
name: "denominator",
|
|
286
|
-
type: "uint256",
|
|
287
|
-
},
|
|
101
|
+
{ internalType: "uint256", name: "x", type: "uint256" },
|
|
102
|
+
{ internalType: "uint256", name: "y", type: "uint256" },
|
|
103
|
+
{ internalType: "uint256", name: "denominator", type: "uint256" },
|
|
288
104
|
],
|
|
289
105
|
name: "PRBMath_MulDiv_Overflow",
|
|
290
106
|
type: "error",
|
|
291
107
|
},
|
|
292
108
|
{
|
|
293
|
-
inputs: [
|
|
294
|
-
{
|
|
295
|
-
internalType: "UD60x18",
|
|
296
|
-
name: "x",
|
|
297
|
-
type: "uint256",
|
|
298
|
-
},
|
|
299
|
-
],
|
|
109
|
+
inputs: [{ internalType: "UD60x18", name: "x", type: "uint256" }],
|
|
300
110
|
name: "PRBMath_UD60x18_Exp2_InputTooBig",
|
|
301
111
|
type: "error",
|
|
302
112
|
},
|
|
303
113
|
{
|
|
304
|
-
inputs: [
|
|
305
|
-
{
|
|
306
|
-
internalType: "UD60x18",
|
|
307
|
-
name: "x",
|
|
308
|
-
type: "uint256",
|
|
309
|
-
},
|
|
310
|
-
],
|
|
114
|
+
inputs: [{ internalType: "UD60x18", name: "x", type: "uint256" }],
|
|
311
115
|
name: "PRBMath_UD60x18_Log_InputTooSmall",
|
|
312
116
|
type: "error",
|
|
313
117
|
},
|
|
314
|
-
{
|
|
315
|
-
inputs: [],
|
|
316
|
-
name: "ReentrancyGuardReentrantCall",
|
|
317
|
-
type: "error",
|
|
318
|
-
},
|
|
118
|
+
{ inputs: [], name: "ReentrancyGuardReentrantCall", type: "error" },
|
|
319
119
|
{
|
|
320
120
|
inputs: [
|
|
321
|
-
{
|
|
322
|
-
|
|
323
|
-
name: "ethToUser",
|
|
324
|
-
type: "uint256",
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
internalType: "uint256",
|
|
328
|
-
name: "minEthOut",
|
|
329
|
-
type: "uint256",
|
|
330
|
-
},
|
|
121
|
+
{ internalType: "uint256", name: "tokensToMint", type: "uint256" },
|
|
122
|
+
{ internalType: "uint256", name: "minTokensOut", type: "uint256" },
|
|
331
123
|
],
|
|
332
|
-
name: "
|
|
124
|
+
name: "SlippageProtectionTokens",
|
|
333
125
|
type: "error",
|
|
334
126
|
},
|
|
335
127
|
{
|
|
336
128
|
inputs: [
|
|
337
|
-
{
|
|
338
|
-
|
|
339
|
-
name: "tokensToMint",
|
|
340
|
-
type: "uint256",
|
|
341
|
-
},
|
|
342
|
-
{
|
|
343
|
-
internalType: "uint256",
|
|
344
|
-
name: "minTokensOut",
|
|
345
|
-
type: "uint256",
|
|
346
|
-
},
|
|
129
|
+
{ internalType: "uint256", name: "tradingTokenToUser", type: "uint256" },
|
|
130
|
+
{ internalType: "uint256", name: "minTradingTokenOut", type: "uint256" },
|
|
347
131
|
],
|
|
348
|
-
name: "
|
|
349
|
-
type: "error",
|
|
350
|
-
},
|
|
351
|
-
{
|
|
352
|
-
inputs: [],
|
|
353
|
-
name: "TokenAmountMustBePositive",
|
|
132
|
+
name: "SlippageProtectionTradingToken",
|
|
354
133
|
type: "error",
|
|
355
134
|
},
|
|
135
|
+
{ inputs: [], name: "TokenAmountMustBePositive", type: "error" },
|
|
136
|
+
{ inputs: [], name: "TradingDisabledDexPhaseActive", type: "error" },
|
|
137
|
+
{ inputs: [], name: "TradingTokenAmountMustBePositive", type: "error" },
|
|
138
|
+
{ inputs: [], name: "TradingTokenForCurveMustBePositive", type: "error" },
|
|
356
139
|
{
|
|
357
|
-
inputs: [],
|
|
358
|
-
name: "
|
|
140
|
+
inputs: [{ internalType: "address", name: "recipient", type: "address" }],
|
|
141
|
+
name: "TradingTokenTransferFailed",
|
|
359
142
|
type: "error",
|
|
360
143
|
},
|
|
361
144
|
{
|
|
362
|
-
inputs: [
|
|
363
|
-
{
|
|
364
|
-
internalType: "uint256",
|
|
365
|
-
name: "value",
|
|
366
|
-
type: "uint256",
|
|
367
|
-
},
|
|
368
|
-
],
|
|
145
|
+
inputs: [{ internalType: "uint256", name: "value", type: "uint256" }],
|
|
369
146
|
name: "ValidationInvalidAggressivenessFactor",
|
|
370
147
|
type: "error",
|
|
371
148
|
},
|
|
372
149
|
{
|
|
373
|
-
inputs: [
|
|
374
|
-
{
|
|
375
|
-
internalType: "address",
|
|
376
|
-
name: "providedAddress",
|
|
377
|
-
type: "address",
|
|
378
|
-
},
|
|
379
|
-
],
|
|
150
|
+
inputs: [{ internalType: "address", name: "providedAddress", type: "address" }],
|
|
380
151
|
name: "ValidationInvalidFeeRecipientAddress",
|
|
381
152
|
type: "error",
|
|
382
153
|
},
|
|
383
154
|
{
|
|
384
|
-
inputs: [
|
|
385
|
-
{
|
|
386
|
-
internalType: "uint256",
|
|
387
|
-
name: "value",
|
|
388
|
-
type: "uint256",
|
|
389
|
-
},
|
|
390
|
-
],
|
|
155
|
+
inputs: [{ internalType: "uint256", name: "value", type: "uint256" }],
|
|
391
156
|
name: "ValidationInvalidFinalTokenSupply",
|
|
392
157
|
type: "error",
|
|
393
158
|
},
|
|
394
159
|
{
|
|
395
|
-
inputs: [
|
|
396
|
-
{
|
|
397
|
-
internalType: "uint256",
|
|
398
|
-
name: "value",
|
|
399
|
-
type: "uint256",
|
|
400
|
-
},
|
|
401
|
-
],
|
|
160
|
+
inputs: [{ internalType: "uint256", name: "value", type: "uint256" }],
|
|
402
161
|
name: "ValidationInvalidLPSplitRatio",
|
|
403
162
|
type: "error",
|
|
404
163
|
},
|
|
405
164
|
{
|
|
406
|
-
inputs: [
|
|
407
|
-
{
|
|
408
|
-
internalType: "address",
|
|
409
|
-
name: "providedAddress",
|
|
410
|
-
type: "address",
|
|
411
|
-
},
|
|
412
|
-
],
|
|
165
|
+
inputs: [{ internalType: "address", name: "providedAddress", type: "address" }],
|
|
413
166
|
name: "ValidationInvalidMigrationAdminAddress",
|
|
414
167
|
type: "error",
|
|
415
168
|
},
|
|
416
169
|
{
|
|
417
|
-
inputs: [
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
name: "ValidationInvalidRouterAddress",
|
|
170
|
+
inputs: [{ internalType: "uint24", name: "value", type: "uint24" }],
|
|
171
|
+
name: "ValidationInvalidV4PoolFee",
|
|
172
|
+
type: "error",
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
inputs: [{ internalType: "int24", name: "value", type: "int24" }],
|
|
176
|
+
name: "ValidationInvalidV4TickSpacing",
|
|
425
177
|
type: "error",
|
|
426
178
|
},
|
|
427
179
|
{
|
|
428
180
|
anonymous: false,
|
|
429
181
|
inputs: [
|
|
430
|
-
{
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
name: "owner",
|
|
434
|
-
type: "address",
|
|
435
|
-
},
|
|
436
|
-
{
|
|
437
|
-
indexed: true,
|
|
438
|
-
internalType: "address",
|
|
439
|
-
name: "spender",
|
|
440
|
-
type: "address",
|
|
441
|
-
},
|
|
442
|
-
{
|
|
443
|
-
indexed: false,
|
|
444
|
-
internalType: "uint256",
|
|
445
|
-
name: "value",
|
|
446
|
-
type: "uint256",
|
|
447
|
-
},
|
|
182
|
+
{ indexed: true, internalType: "address", name: "owner", type: "address" },
|
|
183
|
+
{ indexed: true, internalType: "address", name: "spender", type: "address" },
|
|
184
|
+
{ indexed: false, internalType: "uint256", name: "value", type: "uint256" },
|
|
448
185
|
],
|
|
449
186
|
name: "Approval",
|
|
450
187
|
type: "event",
|
|
@@ -452,42 +189,12 @@ exports.BondkitTokenABI = [
|
|
|
452
189
|
{
|
|
453
190
|
anonymous: false,
|
|
454
191
|
inputs: [
|
|
455
|
-
{
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
},
|
|
461
|
-
{
|
|
462
|
-
indexed: true,
|
|
463
|
-
internalType: "address",
|
|
464
|
-
name: "recipient",
|
|
465
|
-
type: "address",
|
|
466
|
-
},
|
|
467
|
-
{
|
|
468
|
-
indexed: false,
|
|
469
|
-
internalType: "uint256",
|
|
470
|
-
name: "ethIn",
|
|
471
|
-
type: "uint256",
|
|
472
|
-
},
|
|
473
|
-
{
|
|
474
|
-
indexed: false,
|
|
475
|
-
internalType: "uint256",
|
|
476
|
-
name: "tokensOut",
|
|
477
|
-
type: "uint256",
|
|
478
|
-
},
|
|
479
|
-
{
|
|
480
|
-
indexed: false,
|
|
481
|
-
internalType: "uint256",
|
|
482
|
-
name: "fee",
|
|
483
|
-
type: "uint256",
|
|
484
|
-
},
|
|
485
|
-
{
|
|
486
|
-
indexed: false,
|
|
487
|
-
internalType: "uint256",
|
|
488
|
-
name: "totalEthRaisedBonding",
|
|
489
|
-
type: "uint256",
|
|
490
|
-
},
|
|
192
|
+
{ indexed: true, internalType: "address", name: "payer", type: "address" },
|
|
193
|
+
{ indexed: true, internalType: "address", name: "recipient", type: "address" },
|
|
194
|
+
{ indexed: false, internalType: "uint256", name: "tradingTokenIn", type: "uint256" },
|
|
195
|
+
{ indexed: false, internalType: "uint256", name: "tokensOut", type: "uint256" },
|
|
196
|
+
{ indexed: false, internalType: "uint256", name: "fee", type: "uint256" },
|
|
197
|
+
{ indexed: false, internalType: "uint256", name: "totalRaisedBonding", type: "uint256" },
|
|
491
198
|
],
|
|
492
199
|
name: "BondingCurveBuy",
|
|
493
200
|
type: "event",
|
|
@@ -495,36 +202,11 @@ exports.BondkitTokenABI = [
|
|
|
495
202
|
{
|
|
496
203
|
anonymous: false,
|
|
497
204
|
inputs: [
|
|
498
|
-
{
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
},
|
|
504
|
-
{
|
|
505
|
-
indexed: false,
|
|
506
|
-
internalType: "uint256",
|
|
507
|
-
name: "tokensIn",
|
|
508
|
-
type: "uint256",
|
|
509
|
-
},
|
|
510
|
-
{
|
|
511
|
-
indexed: false,
|
|
512
|
-
internalType: "uint256",
|
|
513
|
-
name: "ethOut",
|
|
514
|
-
type: "uint256",
|
|
515
|
-
},
|
|
516
|
-
{
|
|
517
|
-
indexed: false,
|
|
518
|
-
internalType: "uint256",
|
|
519
|
-
name: "fee",
|
|
520
|
-
type: "uint256",
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
indexed: false,
|
|
524
|
-
internalType: "uint256",
|
|
525
|
-
name: "totalEthRaisedBonding",
|
|
526
|
-
type: "uint256",
|
|
527
|
-
},
|
|
205
|
+
{ indexed: true, internalType: "address", name: "seller", type: "address" },
|
|
206
|
+
{ indexed: false, internalType: "uint256", name: "tokensIn", type: "uint256" },
|
|
207
|
+
{ indexed: false, internalType: "uint256", name: "tradingTokenOut", type: "uint256" },
|
|
208
|
+
{ indexed: false, internalType: "uint256", name: "fee", type: "uint256" },
|
|
209
|
+
{ indexed: false, internalType: "uint256", name: "totalRaisedBonding", type: "uint256" },
|
|
528
210
|
],
|
|
529
211
|
name: "BondingCurveSell",
|
|
530
212
|
type: "event",
|
|
@@ -532,54 +214,15 @@ exports.BondkitTokenABI = [
|
|
|
532
214
|
{
|
|
533
215
|
anonymous: false,
|
|
534
216
|
inputs: [
|
|
535
|
-
{
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
},
|
|
541
|
-
{
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
name: "name",
|
|
545
|
-
type: "string",
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
indexed: false,
|
|
549
|
-
internalType: "string",
|
|
550
|
-
name: "symbol",
|
|
551
|
-
type: "string",
|
|
552
|
-
},
|
|
553
|
-
{
|
|
554
|
-
indexed: false,
|
|
555
|
-
internalType: "address",
|
|
556
|
-
name: "feeRecipient",
|
|
557
|
-
type: "address",
|
|
558
|
-
},
|
|
559
|
-
{
|
|
560
|
-
indexed: false,
|
|
561
|
-
internalType: "uint256",
|
|
562
|
-
name: "finalTokenSupply",
|
|
563
|
-
type: "uint256",
|
|
564
|
-
},
|
|
565
|
-
{
|
|
566
|
-
indexed: false,
|
|
567
|
-
internalType: "uint8",
|
|
568
|
-
name: "aggressivenessFactor",
|
|
569
|
-
type: "uint8",
|
|
570
|
-
},
|
|
571
|
-
{
|
|
572
|
-
indexed: false,
|
|
573
|
-
internalType: "uint256",
|
|
574
|
-
name: "lpSplitRatioFeeRecipientBps",
|
|
575
|
-
type: "uint256",
|
|
576
|
-
},
|
|
577
|
-
{
|
|
578
|
-
indexed: false,
|
|
579
|
-
internalType: "uint256",
|
|
580
|
-
name: "targetEth",
|
|
581
|
-
type: "uint256",
|
|
582
|
-
},
|
|
217
|
+
{ indexed: true, internalType: "address", name: "initializer", type: "address" },
|
|
218
|
+
{ indexed: false, internalType: "string", name: "name", type: "string" },
|
|
219
|
+
{ indexed: false, internalType: "string", name: "symbol", type: "string" },
|
|
220
|
+
{ indexed: false, internalType: "address", name: "feeRecipient", type: "address" },
|
|
221
|
+
{ indexed: false, internalType: "uint256", name: "finalTokenSupply", type: "uint256" },
|
|
222
|
+
{ indexed: false, internalType: "uint8", name: "aggressivenessFactor", type: "uint8" },
|
|
223
|
+
{ indexed: false, internalType: "uint256", name: "lpSplitRatioFeeRecipientBps", type: "uint256" },
|
|
224
|
+
{ indexed: false, internalType: "uint256", name: "targetAmount", type: "uint256" },
|
|
225
|
+
{ indexed: false, internalType: "address", name: "tradingToken", type: "address" },
|
|
583
226
|
],
|
|
584
227
|
name: "BondkitTokenInitialized",
|
|
585
228
|
type: "event",
|
|
@@ -587,24 +230,9 @@ exports.BondkitTokenABI = [
|
|
|
587
230
|
{
|
|
588
231
|
anonymous: false,
|
|
589
232
|
inputs: [
|
|
590
|
-
{
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
name: "ethForLp",
|
|
594
|
-
type: "uint256",
|
|
595
|
-
},
|
|
596
|
-
{
|
|
597
|
-
indexed: false,
|
|
598
|
-
internalType: "uint256",
|
|
599
|
-
name: "tokensForLp",
|
|
600
|
-
type: "uint256",
|
|
601
|
-
},
|
|
602
|
-
{
|
|
603
|
-
indexed: false,
|
|
604
|
-
internalType: "uint256",
|
|
605
|
-
name: "ethForFeeRecipient",
|
|
606
|
-
type: "uint256",
|
|
607
|
-
},
|
|
233
|
+
{ indexed: false, internalType: "uint256", name: "tradingTokenForLp", type: "uint256" },
|
|
234
|
+
{ indexed: false, internalType: "uint256", name: "tokensForLp", type: "uint256" },
|
|
235
|
+
{ indexed: false, internalType: "uint256", name: "tradingTokenForFeeRecipient", type: "uint256" },
|
|
608
236
|
],
|
|
609
237
|
name: "BondkitTokenMigrated",
|
|
610
238
|
type: "event",
|
|
@@ -612,18 +240,17 @@ exports.BondkitTokenABI = [
|
|
|
612
240
|
{
|
|
613
241
|
anonymous: false,
|
|
614
242
|
inputs: [
|
|
615
|
-
{
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
},
|
|
243
|
+
{ indexed: true, internalType: "address", name: "splitter", type: "address" },
|
|
244
|
+
{ indexed: false, internalType: "uint256", name: "amount", type: "uint256" },
|
|
245
|
+
],
|
|
246
|
+
name: "FeesSentToSplitter",
|
|
247
|
+
type: "event",
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
anonymous: false,
|
|
251
|
+
inputs: [
|
|
252
|
+
{ indexed: true, internalType: "address", name: "previousOwner", type: "address" },
|
|
253
|
+
{ indexed: true, internalType: "address", name: "newOwner", type: "address" },
|
|
627
254
|
],
|
|
628
255
|
name: "OwnershipTransferred",
|
|
629
256
|
type: "event",
|
|
@@ -631,102 +258,71 @@ exports.BondkitTokenABI = [
|
|
|
631
258
|
{
|
|
632
259
|
anonymous: false,
|
|
633
260
|
inputs: [
|
|
634
|
-
{
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
},
|
|
646
|
-
{
|
|
647
|
-
indexed: false,
|
|
648
|
-
internalType: "uint256",
|
|
649
|
-
name: "value",
|
|
650
|
-
type: "uint256",
|
|
651
|
-
},
|
|
261
|
+
{ indexed: true, internalType: "address", name: "splitter", type: "address" },
|
|
262
|
+
{ indexed: false, internalType: "bool", name: "isEnabled", type: "bool" },
|
|
263
|
+
],
|
|
264
|
+
name: "SplitterConfigured",
|
|
265
|
+
type: "event",
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
anonymous: false,
|
|
269
|
+
inputs: [
|
|
270
|
+
{ indexed: true, internalType: "address", name: "from", type: "address" },
|
|
271
|
+
{ indexed: true, internalType: "address", name: "to", type: "address" },
|
|
272
|
+
{ indexed: false, internalType: "uint256", name: "value", type: "uint256" },
|
|
652
273
|
],
|
|
653
274
|
name: "Transfer",
|
|
654
275
|
type: "event",
|
|
655
276
|
},
|
|
656
277
|
{
|
|
278
|
+
anonymous: false,
|
|
657
279
|
inputs: [
|
|
658
|
-
{
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
},
|
|
663
|
-
{
|
|
664
|
-
internalType: "address",
|
|
665
|
-
name: "spender",
|
|
666
|
-
type: "address",
|
|
667
|
-
},
|
|
280
|
+
{ indexed: true, internalType: "bytes32", name: "poolId", type: "bytes32" },
|
|
281
|
+
{ indexed: true, internalType: "address", name: "hook", type: "address" },
|
|
282
|
+
{ indexed: false, internalType: "uint24", name: "fee", type: "uint24" },
|
|
283
|
+
{ indexed: false, internalType: "int24", name: "tickSpacing", type: "int24" },
|
|
668
284
|
],
|
|
669
|
-
name: "
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
},
|
|
285
|
+
name: "V4PoolConfigured",
|
|
286
|
+
type: "event",
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
inputs: [
|
|
290
|
+
{ internalType: "address", name: "owner", type: "address" },
|
|
291
|
+
{ internalType: "address", name: "spender", type: "address" },
|
|
676
292
|
],
|
|
293
|
+
name: "allowance",
|
|
294
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
677
295
|
stateMutability: "view",
|
|
678
296
|
type: "function",
|
|
679
297
|
},
|
|
680
298
|
{
|
|
681
299
|
inputs: [
|
|
682
|
-
{
|
|
683
|
-
|
|
684
|
-
name: "spender",
|
|
685
|
-
type: "address",
|
|
686
|
-
},
|
|
687
|
-
{
|
|
688
|
-
internalType: "uint256",
|
|
689
|
-
name: "value",
|
|
690
|
-
type: "uint256",
|
|
691
|
-
},
|
|
300
|
+
{ internalType: "address", name: "spender", type: "address" },
|
|
301
|
+
{ internalType: "uint256", name: "value", type: "uint256" },
|
|
692
302
|
],
|
|
693
303
|
name: "approve",
|
|
694
|
-
outputs: [
|
|
695
|
-
{
|
|
696
|
-
internalType: "bool",
|
|
697
|
-
name: "",
|
|
698
|
-
type: "bool",
|
|
699
|
-
},
|
|
700
|
-
],
|
|
304
|
+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
701
305
|
stateMutability: "nonpayable",
|
|
702
306
|
type: "function",
|
|
703
307
|
},
|
|
704
308
|
{
|
|
705
|
-
inputs: [
|
|
706
|
-
{
|
|
707
|
-
internalType: "address",
|
|
708
|
-
name: "account",
|
|
709
|
-
type: "address",
|
|
710
|
-
},
|
|
711
|
-
],
|
|
309
|
+
inputs: [{ internalType: "address", name: "account", type: "address" }],
|
|
712
310
|
name: "balanceOf",
|
|
713
|
-
outputs: [
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
311
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
312
|
+
stateMutability: "view",
|
|
313
|
+
type: "function",
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
inputs: [],
|
|
317
|
+
name: "bondingPhaseSplitter",
|
|
318
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
720
319
|
stateMutability: "view",
|
|
721
320
|
type: "function",
|
|
722
321
|
},
|
|
723
322
|
{
|
|
724
323
|
inputs: [
|
|
725
|
-
{
|
|
726
|
-
|
|
727
|
-
name: "_minTokensOut",
|
|
728
|
-
type: "uint256",
|
|
729
|
-
},
|
|
324
|
+
{ internalType: "uint256", name: "_amount", type: "uint256" },
|
|
325
|
+
{ internalType: "uint256", name: "_minTokensOut", type: "uint256" },
|
|
730
326
|
],
|
|
731
327
|
name: "buy",
|
|
732
328
|
outputs: [],
|
|
@@ -735,16 +331,9 @@ exports.BondkitTokenABI = [
|
|
|
735
331
|
},
|
|
736
332
|
{
|
|
737
333
|
inputs: [
|
|
738
|
-
{
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
type: "address",
|
|
742
|
-
},
|
|
743
|
-
{
|
|
744
|
-
internalType: "uint256",
|
|
745
|
-
name: "_minTokensOut",
|
|
746
|
-
type: "uint256",
|
|
747
|
-
},
|
|
334
|
+
{ internalType: "address", name: "_recipient", type: "address" },
|
|
335
|
+
{ internalType: "uint256", name: "_amount", type: "uint256" },
|
|
336
|
+
{ internalType: "uint256", name: "_minTokensOut", type: "uint256" },
|
|
748
337
|
],
|
|
749
338
|
name: "buyFor",
|
|
750
339
|
outputs: [],
|
|
@@ -753,104 +342,61 @@ exports.BondkitTokenABI = [
|
|
|
753
342
|
},
|
|
754
343
|
{
|
|
755
344
|
inputs: [],
|
|
756
|
-
name: "
|
|
345
|
+
name: "checkV4PoolState",
|
|
757
346
|
outputs: [
|
|
758
|
-
{
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
type: "uint256",
|
|
762
|
-
},
|
|
347
|
+
{ internalType: "bool", name: "initialized", type: "bool" },
|
|
348
|
+
{ internalType: "bytes32", name: "poolId", type: "bytes32" },
|
|
349
|
+
{ internalType: "address", name: "hookAddress", type: "address" },
|
|
763
350
|
],
|
|
764
351
|
stateMutability: "view",
|
|
765
352
|
type: "function",
|
|
766
353
|
},
|
|
354
|
+
{
|
|
355
|
+
inputs: [],
|
|
356
|
+
name: "circulatingSupply",
|
|
357
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
358
|
+
stateMutability: "view",
|
|
359
|
+
type: "function",
|
|
360
|
+
},
|
|
767
361
|
{
|
|
768
362
|
inputs: [],
|
|
769
363
|
name: "currentStatus",
|
|
770
|
-
outputs: [
|
|
771
|
-
{
|
|
772
|
-
internalType: "enum Status",
|
|
773
|
-
name: "",
|
|
774
|
-
type: "uint8",
|
|
775
|
-
},
|
|
776
|
-
],
|
|
364
|
+
outputs: [{ internalType: "enum Status", name: "", type: "uint8" }],
|
|
777
365
|
stateMutability: "view",
|
|
778
366
|
type: "function",
|
|
779
367
|
},
|
|
780
368
|
{
|
|
781
369
|
inputs: [],
|
|
782
370
|
name: "decimals",
|
|
783
|
-
outputs: [
|
|
784
|
-
{
|
|
785
|
-
internalType: "uint8",
|
|
786
|
-
name: "",
|
|
787
|
-
type: "uint8",
|
|
788
|
-
},
|
|
789
|
-
],
|
|
371
|
+
outputs: [{ internalType: "uint8", name: "", type: "uint8" }],
|
|
790
372
|
stateMutability: "view",
|
|
791
373
|
type: "function",
|
|
792
374
|
},
|
|
793
375
|
{
|
|
794
376
|
inputs: [],
|
|
795
377
|
name: "feeRecipient",
|
|
796
|
-
outputs: [
|
|
797
|
-
{
|
|
798
|
-
internalType: "address",
|
|
799
|
-
name: "",
|
|
800
|
-
type: "address",
|
|
801
|
-
},
|
|
802
|
-
],
|
|
378
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
803
379
|
stateMutability: "view",
|
|
804
380
|
type: "function",
|
|
805
381
|
},
|
|
806
382
|
{
|
|
807
383
|
inputs: [],
|
|
808
384
|
name: "finalTokenSupply",
|
|
809
|
-
outputs: [
|
|
810
|
-
{
|
|
811
|
-
internalType: "uint256",
|
|
812
|
-
name: "",
|
|
813
|
-
type: "uint256",
|
|
814
|
-
},
|
|
815
|
-
],
|
|
385
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
816
386
|
stateMutability: "view",
|
|
817
387
|
type: "function",
|
|
818
388
|
},
|
|
819
389
|
{
|
|
820
|
-
inputs: [
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
name: "_tokenAmount",
|
|
824
|
-
type: "uint256",
|
|
825
|
-
},
|
|
826
|
-
],
|
|
827
|
-
name: "getAmountOfEthToSell",
|
|
828
|
-
outputs: [
|
|
829
|
-
{
|
|
830
|
-
internalType: "uint256",
|
|
831
|
-
name: "ethToUser",
|
|
832
|
-
type: "uint256",
|
|
833
|
-
},
|
|
834
|
-
],
|
|
390
|
+
inputs: [{ internalType: "uint256", name: "_tradingTokenAmount", type: "uint256" }],
|
|
391
|
+
name: "getAmountOfTokensToBuy",
|
|
392
|
+
outputs: [{ internalType: "uint256", name: "tokensToMint", type: "uint256" }],
|
|
835
393
|
stateMutability: "view",
|
|
836
394
|
type: "function",
|
|
837
395
|
},
|
|
838
396
|
{
|
|
839
|
-
inputs: [
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
name: "_ethAmount",
|
|
843
|
-
type: "uint256",
|
|
844
|
-
},
|
|
845
|
-
],
|
|
846
|
-
name: "getAmountOfTokensToBuy",
|
|
847
|
-
outputs: [
|
|
848
|
-
{
|
|
849
|
-
internalType: "uint256",
|
|
850
|
-
name: "tokensToMint",
|
|
851
|
-
type: "uint256",
|
|
852
|
-
},
|
|
853
|
-
],
|
|
397
|
+
inputs: [{ internalType: "uint256", name: "_tokenAmount", type: "uint256" }],
|
|
398
|
+
name: "getAmountOfTradingTokensToSell",
|
|
399
|
+
outputs: [{ internalType: "uint256", name: "tradingTokenToUser", type: "uint256" }],
|
|
854
400
|
stateMutability: "view",
|
|
855
401
|
type: "function",
|
|
856
402
|
},
|
|
@@ -858,16 +404,8 @@ exports.BondkitTokenABI = [
|
|
|
858
404
|
inputs: [],
|
|
859
405
|
name: "getBondingCurveConfig",
|
|
860
406
|
outputs: [
|
|
861
|
-
{
|
|
862
|
-
|
|
863
|
-
name: "num",
|
|
864
|
-
type: "uint256",
|
|
865
|
-
},
|
|
866
|
-
{
|
|
867
|
-
internalType: "uint256",
|
|
868
|
-
name: "den",
|
|
869
|
-
type: "uint256",
|
|
870
|
-
},
|
|
407
|
+
{ internalType: "uint256", name: "num", type: "uint256" },
|
|
408
|
+
{ internalType: "uint256", name: "den", type: "uint256" },
|
|
871
409
|
],
|
|
872
410
|
stateMutability: "view",
|
|
873
411
|
type: "function",
|
|
@@ -876,21 +414,9 @@ exports.BondkitTokenABI = [
|
|
|
876
414
|
inputs: [],
|
|
877
415
|
name: "getBondingProgressPercent",
|
|
878
416
|
outputs: [
|
|
879
|
-
{
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
type: "uint256",
|
|
883
|
-
},
|
|
884
|
-
{
|
|
885
|
-
internalType: "uint256",
|
|
886
|
-
name: "raised",
|
|
887
|
-
type: "uint256",
|
|
888
|
-
},
|
|
889
|
-
{
|
|
890
|
-
internalType: "uint256",
|
|
891
|
-
name: "threshold",
|
|
892
|
-
type: "uint256",
|
|
893
|
-
},
|
|
417
|
+
{ internalType: "uint256", name: "progressBps", type: "uint256" },
|
|
418
|
+
{ internalType: "uint256", name: "raised", type: "uint256" },
|
|
419
|
+
{ internalType: "uint256", name: "threshold", type: "uint256" },
|
|
894
420
|
],
|
|
895
421
|
stateMutability: "view",
|
|
896
422
|
type: "function",
|
|
@@ -898,201 +424,130 @@ exports.BondkitTokenABI = [
|
|
|
898
424
|
{
|
|
899
425
|
inputs: [],
|
|
900
426
|
name: "getCurrentBondingCurvePricePerToken",
|
|
901
|
-
outputs: [
|
|
902
|
-
{
|
|
903
|
-
internalType: "uint256",
|
|
904
|
-
name: "currentPriceWei",
|
|
905
|
-
type: "uint256",
|
|
906
|
-
},
|
|
907
|
-
],
|
|
427
|
+
outputs: [{ internalType: "uint256", name: "currentPriceWei", type: "uint256" }],
|
|
908
428
|
stateMutability: "view",
|
|
909
429
|
type: "function",
|
|
910
430
|
},
|
|
911
431
|
{
|
|
912
432
|
inputs: [],
|
|
913
433
|
name: "getCurrentPhase",
|
|
914
|
-
outputs: [
|
|
915
|
-
{
|
|
916
|
-
internalType: "string",
|
|
917
|
-
name: "phase",
|
|
918
|
-
type: "string",
|
|
919
|
-
},
|
|
920
|
-
],
|
|
434
|
+
outputs: [{ internalType: "string", name: "phase", type: "string" }],
|
|
921
435
|
stateMutability: "view",
|
|
922
436
|
type: "function",
|
|
923
437
|
},
|
|
924
438
|
{
|
|
925
439
|
inputs: [],
|
|
926
440
|
name: "getCurrentStatusEnum",
|
|
927
|
-
outputs: [
|
|
928
|
-
{
|
|
929
|
-
internalType: "enum Status",
|
|
930
|
-
name: "",
|
|
931
|
-
type: "uint8",
|
|
932
|
-
},
|
|
933
|
-
],
|
|
441
|
+
outputs: [{ internalType: "enum Status", name: "", type: "uint8" }],
|
|
934
442
|
stateMutability: "view",
|
|
935
443
|
type: "function",
|
|
936
444
|
},
|
|
937
445
|
{
|
|
938
446
|
inputs: [],
|
|
939
447
|
name: "getFeeRecipient",
|
|
940
|
-
outputs: [
|
|
941
|
-
{
|
|
942
|
-
internalType: "address",
|
|
943
|
-
name: "",
|
|
944
|
-
type: "address",
|
|
945
|
-
},
|
|
946
|
-
],
|
|
448
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
947
449
|
stateMutability: "view",
|
|
948
450
|
type: "function",
|
|
949
451
|
},
|
|
950
452
|
{
|
|
951
453
|
inputs: [],
|
|
952
454
|
name: "getLPSplitRatioFeeRecipientBps",
|
|
953
|
-
outputs: [
|
|
954
|
-
{
|
|
955
|
-
internalType: "uint256",
|
|
956
|
-
name: "",
|
|
957
|
-
type: "uint256",
|
|
958
|
-
},
|
|
959
|
-
],
|
|
455
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
960
456
|
stateMutability: "view",
|
|
961
457
|
type: "function",
|
|
962
458
|
},
|
|
963
459
|
{
|
|
964
460
|
inputs: [
|
|
965
|
-
{
|
|
966
|
-
|
|
967
|
-
name: "_startIndex",
|
|
968
|
-
type: "uint256",
|
|
969
|
-
},
|
|
970
|
-
{
|
|
971
|
-
internalType: "uint256",
|
|
972
|
-
name: "_count",
|
|
973
|
-
type: "uint256",
|
|
974
|
-
},
|
|
461
|
+
{ internalType: "uint256", name: "_startIndex", type: "uint256" },
|
|
462
|
+
{ internalType: "uint256", name: "_count", type: "uint256" },
|
|
975
463
|
],
|
|
976
464
|
name: "getPaginatedHolders",
|
|
977
465
|
outputs: [
|
|
978
|
-
{
|
|
979
|
-
|
|
980
|
-
name: "holders",
|
|
981
|
-
type: "address[]",
|
|
982
|
-
},
|
|
983
|
-
{
|
|
984
|
-
internalType: "uint256[]",
|
|
985
|
-
name: "balances",
|
|
986
|
-
type: "uint256[]",
|
|
987
|
-
},
|
|
466
|
+
{ internalType: "address[]", name: "holders", type: "address[]" },
|
|
467
|
+
{ internalType: "uint256[]", name: "balances", type: "uint256[]" },
|
|
988
468
|
],
|
|
989
469
|
stateMutability: "view",
|
|
990
470
|
type: "function",
|
|
991
471
|
},
|
|
992
472
|
{
|
|
993
473
|
inputs: [],
|
|
994
|
-
name: "
|
|
474
|
+
name: "getSplitterInfo",
|
|
995
475
|
outputs: [
|
|
996
|
-
{
|
|
997
|
-
|
|
998
|
-
name: "",
|
|
999
|
-
type: "uint256",
|
|
1000
|
-
},
|
|
476
|
+
{ internalType: "address", name: "splitter", type: "address" },
|
|
477
|
+
{ internalType: "bool", name: "isEnabled", type: "bool" },
|
|
1001
478
|
],
|
|
1002
479
|
stateMutability: "view",
|
|
1003
480
|
type: "function",
|
|
1004
481
|
},
|
|
1005
482
|
{
|
|
1006
483
|
inputs: [],
|
|
1007
|
-
name: "
|
|
484
|
+
name: "getTargetAmount",
|
|
485
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
486
|
+
stateMutability: "view",
|
|
487
|
+
type: "function",
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
inputs: [],
|
|
491
|
+
name: "getTradingToken",
|
|
492
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
493
|
+
stateMutability: "view",
|
|
494
|
+
type: "function",
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
inputs: [{ internalType: "address", name: "user", type: "address" }],
|
|
498
|
+
name: "getUserQuote",
|
|
1008
499
|
outputs: [
|
|
1009
|
-
{
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
type: "address",
|
|
1013
|
-
},
|
|
500
|
+
{ internalType: "uint256", name: "balance", type: "uint256" },
|
|
501
|
+
{ internalType: "uint256", name: "tokensFor1TradingToken", type: "uint256" },
|
|
502
|
+
{ internalType: "uint256", name: "tradingTokenFor1Token", type: "uint256" },
|
|
1014
503
|
],
|
|
1015
504
|
stateMutability: "view",
|
|
1016
505
|
type: "function",
|
|
1017
506
|
},
|
|
1018
507
|
{
|
|
1019
|
-
inputs: [
|
|
1020
|
-
|
|
1021
|
-
internalType: "address",
|
|
1022
|
-
name: "user",
|
|
1023
|
-
type: "address",
|
|
1024
|
-
},
|
|
1025
|
-
],
|
|
1026
|
-
name: "getUserQuote",
|
|
508
|
+
inputs: [],
|
|
509
|
+
name: "getV4Config",
|
|
1027
510
|
outputs: [
|
|
1028
|
-
{
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
},
|
|
1033
|
-
{
|
|
1034
|
-
internalType: "uint256",
|
|
1035
|
-
name: "tokensFor1Eth",
|
|
1036
|
-
type: "uint256",
|
|
1037
|
-
},
|
|
1038
|
-
{
|
|
1039
|
-
internalType: "uint256",
|
|
1040
|
-
name: "ethFor1Token",
|
|
1041
|
-
type: "uint256",
|
|
1042
|
-
},
|
|
511
|
+
{ internalType: "address", name: "hook", type: "address" },
|
|
512
|
+
{ internalType: "uint24", name: "fee", type: "uint24" },
|
|
513
|
+
{ internalType: "int24", name: "tickSpacing", type: "int24" },
|
|
514
|
+
{ internalType: "bytes32", name: "poolId", type: "bytes32" },
|
|
1043
515
|
],
|
|
1044
516
|
stateMutability: "view",
|
|
1045
517
|
type: "function",
|
|
1046
518
|
},
|
|
519
|
+
{
|
|
520
|
+
inputs: [],
|
|
521
|
+
name: "getV4PoolId",
|
|
522
|
+
outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
|
|
523
|
+
stateMutability: "view",
|
|
524
|
+
type: "function",
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
inputs: [],
|
|
528
|
+
name: "getV4PoolManager",
|
|
529
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
530
|
+
stateMutability: "view",
|
|
531
|
+
type: "function",
|
|
532
|
+
},
|
|
1047
533
|
{
|
|
1048
534
|
inputs: [
|
|
1049
535
|
{
|
|
1050
536
|
components: [
|
|
1051
|
-
{
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
},
|
|
1056
|
-
{
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
},
|
|
1061
|
-
{
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
},
|
|
1066
|
-
{
|
|
1067
|
-
internalType: "uint256",
|
|
1068
|
-
name: "finalTokenSupply",
|
|
1069
|
-
type: "uint256",
|
|
1070
|
-
},
|
|
1071
|
-
{
|
|
1072
|
-
internalType: "uint8",
|
|
1073
|
-
name: "aggressivenessFactor",
|
|
1074
|
-
type: "uint8",
|
|
1075
|
-
},
|
|
1076
|
-
{
|
|
1077
|
-
internalType: "uint256",
|
|
1078
|
-
name: "lpSplitRatioFeeRecipientBps",
|
|
1079
|
-
type: "uint256",
|
|
1080
|
-
},
|
|
1081
|
-
{
|
|
1082
|
-
internalType: "uint256",
|
|
1083
|
-
name: "targetEth",
|
|
1084
|
-
type: "uint256",
|
|
1085
|
-
},
|
|
1086
|
-
{
|
|
1087
|
-
internalType: "address",
|
|
1088
|
-
name: "uniswapV2RouterAddress",
|
|
1089
|
-
type: "address",
|
|
1090
|
-
},
|
|
1091
|
-
{
|
|
1092
|
-
internalType: "address",
|
|
1093
|
-
name: "migrationAdminAddress",
|
|
1094
|
-
type: "address",
|
|
1095
|
-
},
|
|
537
|
+
{ internalType: "string", name: "name", type: "string" },
|
|
538
|
+
{ internalType: "string", name: "symbol", type: "string" },
|
|
539
|
+
{ internalType: "address", name: "feeRecipient", type: "address" },
|
|
540
|
+
{ internalType: "uint256", name: "finalTokenSupply", type: "uint256" },
|
|
541
|
+
{ internalType: "uint8", name: "aggressivenessFactor", type: "uint8" },
|
|
542
|
+
{ internalType: "uint256", name: "lpSplitRatioFeeRecipientBps", type: "uint256" },
|
|
543
|
+
{ internalType: "uint256", name: "targetAmount", type: "uint256" },
|
|
544
|
+
{ internalType: "address", name: "tradingToken", type: "address" },
|
|
545
|
+
{ internalType: "address", name: "migrationAdminAddress", type: "address" },
|
|
546
|
+
{ internalType: "address", name: "bondingPhaseSplitter", type: "address" },
|
|
547
|
+
{ internalType: "address", name: "v4PoolManager", type: "address" },
|
|
548
|
+
{ internalType: "address", name: "v4Hook", type: "address" },
|
|
549
|
+
{ internalType: "uint24", name: "v4PoolFee", type: "uint24" },
|
|
550
|
+
{ internalType: "int24", name: "v4TickSpacing", type: "int24" },
|
|
1096
551
|
],
|
|
1097
552
|
internalType: "struct BondkitTokenConfigLib.Config",
|
|
1098
553
|
name: "_config",
|
|
@@ -1100,94 +555,44 @@ exports.BondkitTokenABI = [
|
|
|
1100
555
|
},
|
|
1101
556
|
],
|
|
1102
557
|
name: "initialize",
|
|
1103
|
-
outputs: [
|
|
1104
|
-
{
|
|
1105
|
-
internalType: "bool",
|
|
1106
|
-
name: "success",
|
|
1107
|
-
type: "bool",
|
|
1108
|
-
},
|
|
1109
|
-
],
|
|
558
|
+
outputs: [{ internalType: "bool", name: "success", type: "bool" }],
|
|
1110
559
|
stateMutability: "nonpayable",
|
|
1111
560
|
type: "function",
|
|
1112
561
|
},
|
|
1113
562
|
{
|
|
1114
563
|
inputs: [],
|
|
1115
564
|
name: "lpSplitRatioFeeRecipientBps",
|
|
1116
|
-
outputs: [
|
|
1117
|
-
{
|
|
1118
|
-
internalType: "uint256",
|
|
1119
|
-
name: "",
|
|
1120
|
-
type: "uint256",
|
|
1121
|
-
},
|
|
1122
|
-
],
|
|
565
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
1123
566
|
stateMutability: "view",
|
|
1124
567
|
type: "function",
|
|
1125
568
|
},
|
|
1126
|
-
{
|
|
1127
|
-
inputs: [],
|
|
1128
|
-
name: "migrateToDex",
|
|
1129
|
-
outputs: [],
|
|
1130
|
-
stateMutability: "nonpayable",
|
|
1131
|
-
type: "function",
|
|
1132
|
-
},
|
|
569
|
+
{ inputs: [], name: "migrateToDex", outputs: [], stateMutability: "nonpayable", type: "function" },
|
|
1133
570
|
{
|
|
1134
571
|
inputs: [],
|
|
1135
572
|
name: "name",
|
|
1136
|
-
outputs: [
|
|
1137
|
-
{
|
|
1138
|
-
internalType: "string",
|
|
1139
|
-
name: "",
|
|
1140
|
-
type: "string",
|
|
1141
|
-
},
|
|
1142
|
-
],
|
|
573
|
+
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
1143
574
|
stateMutability: "view",
|
|
1144
575
|
type: "function",
|
|
1145
576
|
},
|
|
1146
577
|
{
|
|
1147
578
|
inputs: [],
|
|
1148
579
|
name: "owner",
|
|
1149
|
-
outputs: [
|
|
1150
|
-
{
|
|
1151
|
-
internalType: "address",
|
|
1152
|
-
name: "",
|
|
1153
|
-
type: "address",
|
|
1154
|
-
},
|
|
1155
|
-
],
|
|
580
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
1156
581
|
stateMutability: "view",
|
|
1157
582
|
type: "function",
|
|
1158
583
|
},
|
|
1159
|
-
{
|
|
1160
|
-
inputs: [],
|
|
1161
|
-
name: "renounceOwnership",
|
|
1162
|
-
outputs: [],
|
|
1163
|
-
stateMutability: "nonpayable",
|
|
1164
|
-
type: "function",
|
|
1165
|
-
},
|
|
584
|
+
{ inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" },
|
|
1166
585
|
{
|
|
1167
586
|
inputs: [],
|
|
1168
587
|
name: "scaledCurveExponent",
|
|
1169
|
-
outputs: [
|
|
1170
|
-
{
|
|
1171
|
-
internalType: "UD60x18",
|
|
1172
|
-
name: "",
|
|
1173
|
-
type: "uint256",
|
|
1174
|
-
},
|
|
1175
|
-
],
|
|
588
|
+
outputs: [{ internalType: "UD60x18", name: "", type: "uint256" }],
|
|
1176
589
|
stateMutability: "view",
|
|
1177
590
|
type: "function",
|
|
1178
591
|
},
|
|
1179
592
|
{
|
|
1180
593
|
inputs: [
|
|
1181
|
-
{
|
|
1182
|
-
|
|
1183
|
-
name: "_tokenAmount",
|
|
1184
|
-
type: "uint256",
|
|
1185
|
-
},
|
|
1186
|
-
{
|
|
1187
|
-
internalType: "uint256",
|
|
1188
|
-
name: "_minEthOut",
|
|
1189
|
-
type: "uint256",
|
|
1190
|
-
},
|
|
594
|
+
{ internalType: "uint256", name: "_tokenAmount", type: "uint256" },
|
|
595
|
+
{ internalType: "uint256", name: "_minTradingTokenOut", type: "uint256" },
|
|
1191
596
|
],
|
|
1192
597
|
name: "sell",
|
|
1193
598
|
outputs: [],
|
|
@@ -1197,136 +602,107 @@ exports.BondkitTokenABI = [
|
|
|
1197
602
|
{
|
|
1198
603
|
inputs: [],
|
|
1199
604
|
name: "symbol",
|
|
1200
|
-
outputs: [
|
|
1201
|
-
{
|
|
1202
|
-
internalType: "string",
|
|
1203
|
-
name: "",
|
|
1204
|
-
type: "string",
|
|
1205
|
-
},
|
|
1206
|
-
],
|
|
605
|
+
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
1207
606
|
stateMutability: "view",
|
|
1208
607
|
type: "function",
|
|
1209
608
|
},
|
|
1210
609
|
{
|
|
1211
610
|
inputs: [],
|
|
1212
|
-
name: "
|
|
1213
|
-
outputs: [
|
|
1214
|
-
{
|
|
1215
|
-
internalType: "uint256",
|
|
1216
|
-
name: "",
|
|
1217
|
-
type: "uint256",
|
|
1218
|
-
},
|
|
1219
|
-
],
|
|
611
|
+
name: "targetAmount",
|
|
612
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
1220
613
|
stateMutability: "view",
|
|
1221
614
|
type: "function",
|
|
1222
615
|
},
|
|
1223
616
|
{
|
|
1224
617
|
inputs: [],
|
|
1225
|
-
name: "
|
|
1226
|
-
outputs: [
|
|
1227
|
-
{
|
|
1228
|
-
internalType: "uint256",
|
|
1229
|
-
name: "",
|
|
1230
|
-
type: "uint256",
|
|
1231
|
-
},
|
|
1232
|
-
],
|
|
618
|
+
name: "totalRaisedBonding",
|
|
619
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
1233
620
|
stateMutability: "view",
|
|
1234
621
|
type: "function",
|
|
1235
622
|
},
|
|
1236
623
|
{
|
|
1237
624
|
inputs: [],
|
|
1238
625
|
name: "totalSupply",
|
|
1239
|
-
outputs: [
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
626
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
627
|
+
stateMutability: "view",
|
|
628
|
+
type: "function",
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
inputs: [],
|
|
632
|
+
name: "tradingToken",
|
|
633
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
1246
634
|
stateMutability: "view",
|
|
1247
635
|
type: "function",
|
|
1248
636
|
},
|
|
1249
637
|
{
|
|
1250
638
|
inputs: [
|
|
1251
|
-
{
|
|
1252
|
-
|
|
1253
|
-
name: "to",
|
|
1254
|
-
type: "address",
|
|
1255
|
-
},
|
|
1256
|
-
{
|
|
1257
|
-
internalType: "uint256",
|
|
1258
|
-
name: "value",
|
|
1259
|
-
type: "uint256",
|
|
1260
|
-
},
|
|
639
|
+
{ internalType: "address", name: "to", type: "address" },
|
|
640
|
+
{ internalType: "uint256", name: "value", type: "uint256" },
|
|
1261
641
|
],
|
|
1262
642
|
name: "transfer",
|
|
1263
|
-
outputs: [
|
|
1264
|
-
{
|
|
1265
|
-
internalType: "bool",
|
|
1266
|
-
name: "",
|
|
1267
|
-
type: "bool",
|
|
1268
|
-
},
|
|
1269
|
-
],
|
|
643
|
+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
1270
644
|
stateMutability: "nonpayable",
|
|
1271
645
|
type: "function",
|
|
1272
646
|
},
|
|
1273
647
|
{
|
|
1274
648
|
inputs: [
|
|
1275
|
-
{
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
type: "address",
|
|
1279
|
-
},
|
|
1280
|
-
{
|
|
1281
|
-
internalType: "address",
|
|
1282
|
-
name: "to",
|
|
1283
|
-
type: "address",
|
|
1284
|
-
},
|
|
1285
|
-
{
|
|
1286
|
-
internalType: "uint256",
|
|
1287
|
-
name: "value",
|
|
1288
|
-
type: "uint256",
|
|
1289
|
-
},
|
|
649
|
+
{ internalType: "address", name: "from", type: "address" },
|
|
650
|
+
{ internalType: "address", name: "to", type: "address" },
|
|
651
|
+
{ internalType: "uint256", name: "value", type: "uint256" },
|
|
1290
652
|
],
|
|
1291
653
|
name: "transferFrom",
|
|
1292
|
-
outputs: [
|
|
1293
|
-
{
|
|
1294
|
-
internalType: "bool",
|
|
1295
|
-
name: "",
|
|
1296
|
-
type: "bool",
|
|
1297
|
-
},
|
|
1298
|
-
],
|
|
654
|
+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
1299
655
|
stateMutability: "nonpayable",
|
|
1300
656
|
type: "function",
|
|
1301
657
|
},
|
|
1302
658
|
{
|
|
1303
|
-
inputs: [
|
|
1304
|
-
{
|
|
1305
|
-
internalType: "address",
|
|
1306
|
-
name: "newOwner",
|
|
1307
|
-
type: "address",
|
|
1308
|
-
},
|
|
1309
|
-
],
|
|
659
|
+
inputs: [{ internalType: "address", name: "newOwner", type: "address" }],
|
|
1310
660
|
name: "transferOwnership",
|
|
1311
661
|
outputs: [],
|
|
1312
662
|
stateMutability: "nonpayable",
|
|
1313
663
|
type: "function",
|
|
1314
664
|
},
|
|
665
|
+
{
|
|
666
|
+
inputs: [{ internalType: "address", name: "_bondingPhaseSplitter", type: "address" }],
|
|
667
|
+
name: "updateSplitter",
|
|
668
|
+
outputs: [],
|
|
669
|
+
stateMutability: "nonpayable",
|
|
670
|
+
type: "function",
|
|
671
|
+
},
|
|
1315
672
|
{
|
|
1316
673
|
inputs: [],
|
|
1317
|
-
name: "
|
|
1318
|
-
outputs: [
|
|
1319
|
-
{
|
|
1320
|
-
internalType: "contract IUniswapV2Router02",
|
|
1321
|
-
name: "",
|
|
1322
|
-
type: "address",
|
|
1323
|
-
},
|
|
1324
|
-
],
|
|
674
|
+
name: "v4Hook",
|
|
675
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
1325
676
|
stateMutability: "view",
|
|
1326
677
|
type: "function",
|
|
1327
678
|
},
|
|
1328
679
|
{
|
|
1329
|
-
|
|
1330
|
-
|
|
680
|
+
inputs: [],
|
|
681
|
+
name: "v4PoolFee",
|
|
682
|
+
outputs: [{ internalType: "uint24", name: "", type: "uint24" }],
|
|
683
|
+
stateMutability: "view",
|
|
684
|
+
type: "function",
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
inputs: [],
|
|
688
|
+
name: "v4PoolId",
|
|
689
|
+
outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
|
|
690
|
+
stateMutability: "view",
|
|
691
|
+
type: "function",
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
inputs: [],
|
|
695
|
+
name: "v4PoolManager",
|
|
696
|
+
outputs: [{ internalType: "contract IPoolManager", name: "", type: "address" }],
|
|
697
|
+
stateMutability: "view",
|
|
698
|
+
type: "function",
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
inputs: [],
|
|
702
|
+
name: "v4TickSpacing",
|
|
703
|
+
outputs: [{ internalType: "int24", name: "", type: "int24" }],
|
|
704
|
+
stateMutability: "view",
|
|
705
|
+
type: "function",
|
|
1331
706
|
},
|
|
707
|
+
{ stateMutability: "payable", type: "receive" },
|
|
1332
708
|
];
|