11export const swapArbitraryTokensAbi = [
2- {
3- inputs : [
4- {
5- internalType : 'address' ,
6- name : '_devAddress' ,
7- type : 'address' ,
8- } ,
9- {
10- internalType : 'address' ,
11- name : '_lockupAddress' ,
12- type : 'address' ,
13- } ,
14- {
15- internalType : 'address' ,
16- name : '_sTokensAddress' ,
17- type : 'address' ,
18- } ,
19- ] ,
20- stateMutability : 'nonpayable' ,
21- type : 'constructor' ,
22- } ,
232 {
243 anonymous : false ,
254 inputs : [
@@ -45,6 +24,19 @@ export const swapArbitraryTokensAbi = [
4524 name : 'Deposited' ,
4625 type : 'event' ,
4726 } ,
27+ {
28+ anonymous : false ,
29+ inputs : [
30+ {
31+ indexed : false ,
32+ internalType : 'uint8' ,
33+ name : 'version' ,
34+ type : 'uint8' ,
35+ } ,
36+ ] ,
37+ name : 'Initialized' ,
38+ type : 'event' ,
39+ } ,
4840 {
4941 anonymous : false ,
5042 inputs : [
@@ -197,6 +189,29 @@ export const swapArbitraryTokensAbi = [
197189 stateMutability : 'nonpayable' ,
198190 type : 'function' ,
199191 } ,
192+ {
193+ inputs : [
194+ {
195+ internalType : 'address' ,
196+ name : '_devAddress' ,
197+ type : 'address' ,
198+ } ,
199+ {
200+ internalType : 'address' ,
201+ name : '_lockupAddress' ,
202+ type : 'address' ,
203+ } ,
204+ {
205+ internalType : 'address' ,
206+ name : '_sTokensAddress' ,
207+ type : 'address' ,
208+ } ,
209+ ] ,
210+ name : 'initialize' ,
211+ outputs : [ ] ,
212+ stateMutability : 'nonpayable' ,
213+ type : 'function' ,
214+ } ,
200215 {
201216 inputs : [ ] ,
202217 name : 'lockupAddress' ,
@@ -245,12 +260,12 @@ export const swapArbitraryTokensAbi = [
245260 } ,
246261 {
247262 internalType : 'bytes' ,
248- name : 'path ' ,
263+ name : '_path ' ,
249264 type : 'bytes' ,
250265 } ,
251266 {
252267 internalType : 'address' ,
253- name : 'property ' ,
268+ name : '_property ' ,
254269 type : 'address' ,
255270 } ,
256271 {
@@ -260,22 +275,22 @@ export const swapArbitraryTokensAbi = [
260275 } ,
261276 {
262277 internalType : 'uint256' ,
263- name : 'deadline ' ,
278+ name : '_deadline ' ,
264279 type : 'uint256' ,
265280 } ,
266281 {
267282 internalType : 'bytes32' ,
268- name : 'payload ' ,
283+ name : '_payload ' ,
269284 type : 'bytes32' ,
270285 } ,
271286 {
272287 internalType : 'address payable' ,
273- name : 'gatewayAddress ' ,
288+ name : '_gatewayAddress ' ,
274289 type : 'address' ,
275290 } ,
276291 {
277292 internalType : 'uint256' ,
278- name : 'gatewayFee ' ,
293+ name : '_gatewayFee ' ,
279294 type : 'uint256' ,
280295 } ,
281296 ] ,
@@ -293,22 +308,22 @@ export const swapArbitraryTokensAbi = [
293308 } ,
294309 {
295310 internalType : 'contract IERC20' ,
296- name : 'token ' ,
311+ name : '_token ' ,
297312 type : 'address' ,
298313 } ,
299314 {
300315 internalType : 'bytes' ,
301- name : 'path ' ,
316+ name : '_path ' ,
302317 type : 'bytes' ,
303318 } ,
304319 {
305320 internalType : 'address' ,
306- name : 'property ' ,
321+ name : '_property ' ,
307322 type : 'address' ,
308323 } ,
309324 {
310325 internalType : 'uint256' ,
311- name : 'amount ' ,
326+ name : '_amount ' ,
312327 type : 'uint256' ,
313328 } ,
314329 {
@@ -318,22 +333,22 @@ export const swapArbitraryTokensAbi = [
318333 } ,
319334 {
320335 internalType : 'uint256' ,
321- name : 'deadline ' ,
336+ name : '_deadline ' ,
322337 type : 'uint256' ,
323338 } ,
324339 {
325340 internalType : 'bytes32' ,
326- name : 'payload ' ,
341+ name : '_payload ' ,
327342 type : 'bytes32' ,
328343 } ,
329344 {
330345 internalType : 'address payable' ,
331- name : 'gatewayAddress ' ,
346+ name : '_gatewayAddress ' ,
332347 type : 'address' ,
333348 } ,
334349 {
335350 internalType : 'uint256' ,
336- name : 'gatewayFee ' ,
351+ name : '_gatewayFee ' ,
337352 type : 'uint256' ,
338353 } ,
339354 ] ,
@@ -351,12 +366,12 @@ export const swapArbitraryTokensAbi = [
351366 } ,
352367 {
353368 internalType : 'bytes' ,
354- name : 'path ' ,
369+ name : '_path ' ,
355370 type : 'bytes' ,
356371 } ,
357372 {
358373 internalType : 'address' ,
359- name : 'property ' ,
374+ name : '_property ' ,
360375 type : 'address' ,
361376 } ,
362377 {
@@ -366,12 +381,12 @@ export const swapArbitraryTokensAbi = [
366381 } ,
367382 {
368383 internalType : 'uint256' ,
369- name : 'deadline ' ,
384+ name : '_deadline ' ,
370385 type : 'uint256' ,
371386 } ,
372387 {
373388 internalType : 'bytes32' ,
374- name : 'payload ' ,
389+ name : '_payload ' ,
375390 type : 'bytes32' ,
376391 } ,
377392 ] ,
@@ -389,22 +404,22 @@ export const swapArbitraryTokensAbi = [
389404 } ,
390405 {
391406 internalType : 'contract IERC20' ,
392- name : 'token ' ,
407+ name : '_token ' ,
393408 type : 'address' ,
394409 } ,
395410 {
396411 internalType : 'bytes' ,
397- name : 'path ' ,
412+ name : '_path ' ,
398413 type : 'bytes' ,
399414 } ,
400415 {
401416 internalType : 'address' ,
402- name : 'property ' ,
417+ name : '_property ' ,
403418 type : 'address' ,
404419 } ,
405420 {
406421 internalType : 'uint256' ,
407- name : 'amount ' ,
422+ name : '_amount ' ,
408423 type : 'uint256' ,
409424 } ,
410425 {
@@ -414,12 +429,12 @@ export const swapArbitraryTokensAbi = [
414429 } ,
415430 {
416431 internalType : 'uint256' ,
417- name : 'deadline ' ,
432+ name : '_deadline ' ,
418433 type : 'uint256' ,
419434 } ,
420435 {
421436 internalType : 'bytes32' ,
422- name : 'payload ' ,
437+ name : '_payload ' ,
423438 type : 'bytes32' ,
424439 } ,
425440 ] ,
0 commit comments