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