impermax-sdk 2.1.240 → 2.1.241

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1091 @@
1
+ {
2
+ "contractName": "IV2BaseRouter01",
3
+ "abi": [
4
+ {
5
+ "constant": true,
6
+ "inputs": [
7
+ {
8
+ "internalType": "address",
9
+ "name": "lp",
10
+ "type": "address"
11
+ }
12
+ ],
13
+ "name": "getLendingPool",
14
+ "outputs": [
15
+ {
16
+ "components": [
17
+ {
18
+ "internalType": "address",
19
+ "name": "lp",
20
+ "type": "address"
21
+ },
22
+ {
23
+ "internalType": "address",
24
+ "name": "collateral",
25
+ "type": "address"
26
+ },
27
+ {
28
+ "internalType": "address[2]",
29
+ "name": "borrowables",
30
+ "type": "address[2]"
31
+ },
32
+ {
33
+ "internalType": "address[2]",
34
+ "name": "tokens",
35
+ "type": "address[2]"
36
+ }
37
+ ],
38
+ "internalType": "struct IV2BaseRouter01.LendingPool",
39
+ "name": "pool",
40
+ "type": "tuple"
41
+ }
42
+ ],
43
+ "payable": false,
44
+ "stateMutability": "view",
45
+ "type": "function"
46
+ },
47
+ {
48
+ "constant": true,
49
+ "inputs": [],
50
+ "name": "factory",
51
+ "outputs": [
52
+ {
53
+ "internalType": "address",
54
+ "name": "",
55
+ "type": "address"
56
+ }
57
+ ],
58
+ "payable": false,
59
+ "stateMutability": "view",
60
+ "type": "function"
61
+ },
62
+ {
63
+ "constant": false,
64
+ "inputs": [
65
+ {
66
+ "internalType": "address",
67
+ "name": "lp",
68
+ "type": "address"
69
+ },
70
+ {
71
+ "internalType": "bytes",
72
+ "name": "actionsData",
73
+ "type": "bytes"
74
+ },
75
+ {
76
+ "internalType": "bytes",
77
+ "name": "permitsData",
78
+ "type": "bytes"
79
+ }
80
+ ],
81
+ "name": "execute",
82
+ "outputs": [],
83
+ "payable": true,
84
+ "stateMutability": "payable",
85
+ "type": "function"
86
+ }
87
+ ],
88
+ "metadata": "{\"compiler\":{\"version\":\"0.5.16+commit.9c3226ce\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"lp\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"actionsData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"permitsData\",\"type\":\"bytes\"}],\"name\":\"execute\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"lp\",\"type\":\"address\"}],\"name\":\"getLendingPool\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"lp\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"collateral\",\"type\":\"address\"},{\"internalType\":\"address[2]\",\"name\":\"borrowables\",\"type\":\"address[2]\"},{\"internalType\":\"address[2]\",\"name\":\"tokens\",\"type\":\"address[2]\"}],\"internalType\":\"struct IV2BaseRouter01.LendingPool\",\"name\":\"pool\",\"type\":\"tuple\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"project:/contracts/interfaces/IV2BaseRouter01.sol\":\"IV2BaseRouter01\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[]},\"sources\":{\"project:/contracts/interfaces/IV2BaseRouter01.sol\":{\"keccak256\":\"0xe59a418907e865e226ad36e3dc581faaa0b75e2937b9c54a5ddb4857e7ab6c0b\",\"urls\":[\"bzz-raw://09c25bbc4948233dc8ef60bb7cffc2c3b8a1af0aa832e883383ce026d93be594\",\"dweb:/ipfs/QmYzisJKUJVBaZ5gE8qRvCYJ1TgRBVE4LYHZM8oh88aPML\"]}},\"version\":1}",
89
+ "bytecode": "0x",
90
+ "deployedBytecode": "0x",
91
+ "sourceMap": "",
92
+ "deployedSourceMap": "",
93
+ "source": "pragma solidity >=0.5.0;\npragma experimental ABIEncoderV2;\n\ninterface IV2BaseRouter01 {\n\tstruct LendingPool {\n\t\taddress lp;\n\t\taddress collateral;\n\t\taddress[2] borrowables;\n\t\taddress[2] tokens;\n\t}\n\tfunction getLendingPool(address lp) external view returns (LendingPool memory pool);\n\tfunction factory() external view returns (address);\n\t\n\tfunction execute(\n\t\taddress lp,\n\t\tbytes calldata actionsData,\n\t\tbytes calldata permitsData\n\t) external payable;\n}\n",
94
+ "sourcePath": "C:\\Users\\Simone\\Desktop\\impermax-v3-periphery\\contracts\\interfaces\\IV2BaseRouter01.sol",
95
+ "ast": {
96
+ "absolutePath": "project:/contracts/interfaces/IV2BaseRouter01.sol",
97
+ "exportedSymbols": {
98
+ "IV2BaseRouter01": [
99
+ 22277
100
+ ]
101
+ },
102
+ "id": 22278,
103
+ "nodeType": "SourceUnit",
104
+ "nodes": [
105
+ {
106
+ "id": 22241,
107
+ "literals": [
108
+ "solidity",
109
+ ">=",
110
+ "0.5",
111
+ ".0"
112
+ ],
113
+ "nodeType": "PragmaDirective",
114
+ "src": "0:24:83"
115
+ },
116
+ {
117
+ "id": 22242,
118
+ "literals": [
119
+ "experimental",
120
+ "ABIEncoderV2"
121
+ ],
122
+ "nodeType": "PragmaDirective",
123
+ "src": "25:33:83"
124
+ },
125
+ {
126
+ "baseContracts": [],
127
+ "contractDependencies": [],
128
+ "contractKind": "interface",
129
+ "documentation": null,
130
+ "fullyImplemented": false,
131
+ "id": 22277,
132
+ "linearizedBaseContracts": [
133
+ 22277
134
+ ],
135
+ "name": "IV2BaseRouter01",
136
+ "nodeType": "ContractDefinition",
137
+ "nodes": [
138
+ {
139
+ "canonicalName": "IV2BaseRouter01.LendingPool",
140
+ "id": 22255,
141
+ "members": [
142
+ {
143
+ "constant": false,
144
+ "id": 22244,
145
+ "name": "lp",
146
+ "nodeType": "VariableDeclaration",
147
+ "scope": 22255,
148
+ "src": "112:10:83",
149
+ "stateVariable": false,
150
+ "storageLocation": "default",
151
+ "typeDescriptions": {
152
+ "typeIdentifier": "t_address",
153
+ "typeString": "address"
154
+ },
155
+ "typeName": {
156
+ "id": 22243,
157
+ "name": "address",
158
+ "nodeType": "ElementaryTypeName",
159
+ "src": "112:7:83",
160
+ "stateMutability": "nonpayable",
161
+ "typeDescriptions": {
162
+ "typeIdentifier": "t_address",
163
+ "typeString": "address"
164
+ }
165
+ },
166
+ "value": null,
167
+ "visibility": "internal"
168
+ },
169
+ {
170
+ "constant": false,
171
+ "id": 22246,
172
+ "name": "collateral",
173
+ "nodeType": "VariableDeclaration",
174
+ "scope": 22255,
175
+ "src": "126:18:83",
176
+ "stateVariable": false,
177
+ "storageLocation": "default",
178
+ "typeDescriptions": {
179
+ "typeIdentifier": "t_address",
180
+ "typeString": "address"
181
+ },
182
+ "typeName": {
183
+ "id": 22245,
184
+ "name": "address",
185
+ "nodeType": "ElementaryTypeName",
186
+ "src": "126:7:83",
187
+ "stateMutability": "nonpayable",
188
+ "typeDescriptions": {
189
+ "typeIdentifier": "t_address",
190
+ "typeString": "address"
191
+ }
192
+ },
193
+ "value": null,
194
+ "visibility": "internal"
195
+ },
196
+ {
197
+ "constant": false,
198
+ "id": 22250,
199
+ "name": "borrowables",
200
+ "nodeType": "VariableDeclaration",
201
+ "scope": 22255,
202
+ "src": "148:22:83",
203
+ "stateVariable": false,
204
+ "storageLocation": "default",
205
+ "typeDescriptions": {
206
+ "typeIdentifier": "t_array$_t_address_$2_storage_ptr",
207
+ "typeString": "address[2]"
208
+ },
209
+ "typeName": {
210
+ "baseType": {
211
+ "id": 22247,
212
+ "name": "address",
213
+ "nodeType": "ElementaryTypeName",
214
+ "src": "148:7:83",
215
+ "stateMutability": "nonpayable",
216
+ "typeDescriptions": {
217
+ "typeIdentifier": "t_address",
218
+ "typeString": "address"
219
+ }
220
+ },
221
+ "id": 22249,
222
+ "length": {
223
+ "argumentTypes": null,
224
+ "hexValue": "32",
225
+ "id": 22248,
226
+ "isConstant": false,
227
+ "isLValue": false,
228
+ "isPure": true,
229
+ "kind": "number",
230
+ "lValueRequested": false,
231
+ "nodeType": "Literal",
232
+ "src": "156:1:83",
233
+ "subdenomination": null,
234
+ "typeDescriptions": {
235
+ "typeIdentifier": "t_rational_2_by_1",
236
+ "typeString": "int_const 2"
237
+ },
238
+ "value": "2"
239
+ },
240
+ "nodeType": "ArrayTypeName",
241
+ "src": "148:10:83",
242
+ "typeDescriptions": {
243
+ "typeIdentifier": "t_array$_t_address_$2_storage_ptr",
244
+ "typeString": "address[2]"
245
+ }
246
+ },
247
+ "value": null,
248
+ "visibility": "internal"
249
+ },
250
+ {
251
+ "constant": false,
252
+ "id": 22254,
253
+ "name": "tokens",
254
+ "nodeType": "VariableDeclaration",
255
+ "scope": 22255,
256
+ "src": "174:17:83",
257
+ "stateVariable": false,
258
+ "storageLocation": "default",
259
+ "typeDescriptions": {
260
+ "typeIdentifier": "t_array$_t_address_$2_storage_ptr",
261
+ "typeString": "address[2]"
262
+ },
263
+ "typeName": {
264
+ "baseType": {
265
+ "id": 22251,
266
+ "name": "address",
267
+ "nodeType": "ElementaryTypeName",
268
+ "src": "174:7:83",
269
+ "stateMutability": "nonpayable",
270
+ "typeDescriptions": {
271
+ "typeIdentifier": "t_address",
272
+ "typeString": "address"
273
+ }
274
+ },
275
+ "id": 22253,
276
+ "length": {
277
+ "argumentTypes": null,
278
+ "hexValue": "32",
279
+ "id": 22252,
280
+ "isConstant": false,
281
+ "isLValue": false,
282
+ "isPure": true,
283
+ "kind": "number",
284
+ "lValueRequested": false,
285
+ "nodeType": "Literal",
286
+ "src": "182:1:83",
287
+ "subdenomination": null,
288
+ "typeDescriptions": {
289
+ "typeIdentifier": "t_rational_2_by_1",
290
+ "typeString": "int_const 2"
291
+ },
292
+ "value": "2"
293
+ },
294
+ "nodeType": "ArrayTypeName",
295
+ "src": "174:10:83",
296
+ "typeDescriptions": {
297
+ "typeIdentifier": "t_array$_t_address_$2_storage_ptr",
298
+ "typeString": "address[2]"
299
+ }
300
+ },
301
+ "value": null,
302
+ "visibility": "internal"
303
+ }
304
+ ],
305
+ "name": "LendingPool",
306
+ "nodeType": "StructDefinition",
307
+ "scope": 22277,
308
+ "src": "89:106:83",
309
+ "visibility": "public"
310
+ },
311
+ {
312
+ "body": null,
313
+ "documentation": null,
314
+ "id": 22262,
315
+ "implemented": false,
316
+ "kind": "function",
317
+ "modifiers": [],
318
+ "name": "getLendingPool",
319
+ "nodeType": "FunctionDefinition",
320
+ "parameters": {
321
+ "id": 22258,
322
+ "nodeType": "ParameterList",
323
+ "parameters": [
324
+ {
325
+ "constant": false,
326
+ "id": 22257,
327
+ "name": "lp",
328
+ "nodeType": "VariableDeclaration",
329
+ "scope": 22262,
330
+ "src": "221:10:83",
331
+ "stateVariable": false,
332
+ "storageLocation": "default",
333
+ "typeDescriptions": {
334
+ "typeIdentifier": "t_address",
335
+ "typeString": "address"
336
+ },
337
+ "typeName": {
338
+ "id": 22256,
339
+ "name": "address",
340
+ "nodeType": "ElementaryTypeName",
341
+ "src": "221:7:83",
342
+ "stateMutability": "nonpayable",
343
+ "typeDescriptions": {
344
+ "typeIdentifier": "t_address",
345
+ "typeString": "address"
346
+ }
347
+ },
348
+ "value": null,
349
+ "visibility": "internal"
350
+ }
351
+ ],
352
+ "src": "220:12:83"
353
+ },
354
+ "returnParameters": {
355
+ "id": 22261,
356
+ "nodeType": "ParameterList",
357
+ "parameters": [
358
+ {
359
+ "constant": false,
360
+ "id": 22260,
361
+ "name": "pool",
362
+ "nodeType": "VariableDeclaration",
363
+ "scope": 22262,
364
+ "src": "256:23:83",
365
+ "stateVariable": false,
366
+ "storageLocation": "memory",
367
+ "typeDescriptions": {
368
+ "typeIdentifier": "t_struct$_LendingPool_$22255_memory_ptr",
369
+ "typeString": "struct IV2BaseRouter01.LendingPool"
370
+ },
371
+ "typeName": {
372
+ "contractScope": null,
373
+ "id": 22259,
374
+ "name": "LendingPool",
375
+ "nodeType": "UserDefinedTypeName",
376
+ "referencedDeclaration": 22255,
377
+ "src": "256:11:83",
378
+ "typeDescriptions": {
379
+ "typeIdentifier": "t_struct$_LendingPool_$22255_storage_ptr",
380
+ "typeString": "struct IV2BaseRouter01.LendingPool"
381
+ }
382
+ },
383
+ "value": null,
384
+ "visibility": "internal"
385
+ }
386
+ ],
387
+ "src": "255:25:83"
388
+ },
389
+ "scope": 22277,
390
+ "src": "197:84:83",
391
+ "stateMutability": "view",
392
+ "superFunction": null,
393
+ "visibility": "external"
394
+ },
395
+ {
396
+ "body": null,
397
+ "documentation": null,
398
+ "id": 22267,
399
+ "implemented": false,
400
+ "kind": "function",
401
+ "modifiers": [],
402
+ "name": "factory",
403
+ "nodeType": "FunctionDefinition",
404
+ "parameters": {
405
+ "id": 22263,
406
+ "nodeType": "ParameterList",
407
+ "parameters": [],
408
+ "src": "299:2:83"
409
+ },
410
+ "returnParameters": {
411
+ "id": 22266,
412
+ "nodeType": "ParameterList",
413
+ "parameters": [
414
+ {
415
+ "constant": false,
416
+ "id": 22265,
417
+ "name": "",
418
+ "nodeType": "VariableDeclaration",
419
+ "scope": 22267,
420
+ "src": "325:7:83",
421
+ "stateVariable": false,
422
+ "storageLocation": "default",
423
+ "typeDescriptions": {
424
+ "typeIdentifier": "t_address",
425
+ "typeString": "address"
426
+ },
427
+ "typeName": {
428
+ "id": 22264,
429
+ "name": "address",
430
+ "nodeType": "ElementaryTypeName",
431
+ "src": "325:7:83",
432
+ "stateMutability": "nonpayable",
433
+ "typeDescriptions": {
434
+ "typeIdentifier": "t_address",
435
+ "typeString": "address"
436
+ }
437
+ },
438
+ "value": null,
439
+ "visibility": "internal"
440
+ }
441
+ ],
442
+ "src": "324:9:83"
443
+ },
444
+ "scope": 22277,
445
+ "src": "283:51:83",
446
+ "stateMutability": "view",
447
+ "superFunction": null,
448
+ "visibility": "external"
449
+ },
450
+ {
451
+ "body": null,
452
+ "documentation": null,
453
+ "id": 22276,
454
+ "implemented": false,
455
+ "kind": "function",
456
+ "modifiers": [],
457
+ "name": "execute",
458
+ "nodeType": "FunctionDefinition",
459
+ "parameters": {
460
+ "id": 22274,
461
+ "nodeType": "ParameterList",
462
+ "parameters": [
463
+ {
464
+ "constant": false,
465
+ "id": 22269,
466
+ "name": "lp",
467
+ "nodeType": "VariableDeclaration",
468
+ "scope": 22276,
469
+ "src": "358:10:83",
470
+ "stateVariable": false,
471
+ "storageLocation": "default",
472
+ "typeDescriptions": {
473
+ "typeIdentifier": "t_address",
474
+ "typeString": "address"
475
+ },
476
+ "typeName": {
477
+ "id": 22268,
478
+ "name": "address",
479
+ "nodeType": "ElementaryTypeName",
480
+ "src": "358:7:83",
481
+ "stateMutability": "nonpayable",
482
+ "typeDescriptions": {
483
+ "typeIdentifier": "t_address",
484
+ "typeString": "address"
485
+ }
486
+ },
487
+ "value": null,
488
+ "visibility": "internal"
489
+ },
490
+ {
491
+ "constant": false,
492
+ "id": 22271,
493
+ "name": "actionsData",
494
+ "nodeType": "VariableDeclaration",
495
+ "scope": 22276,
496
+ "src": "372:26:83",
497
+ "stateVariable": false,
498
+ "storageLocation": "calldata",
499
+ "typeDescriptions": {
500
+ "typeIdentifier": "t_bytes_calldata_ptr",
501
+ "typeString": "bytes"
502
+ },
503
+ "typeName": {
504
+ "id": 22270,
505
+ "name": "bytes",
506
+ "nodeType": "ElementaryTypeName",
507
+ "src": "372:5:83",
508
+ "typeDescriptions": {
509
+ "typeIdentifier": "t_bytes_storage_ptr",
510
+ "typeString": "bytes"
511
+ }
512
+ },
513
+ "value": null,
514
+ "visibility": "internal"
515
+ },
516
+ {
517
+ "constant": false,
518
+ "id": 22273,
519
+ "name": "permitsData",
520
+ "nodeType": "VariableDeclaration",
521
+ "scope": 22276,
522
+ "src": "402:26:83",
523
+ "stateVariable": false,
524
+ "storageLocation": "calldata",
525
+ "typeDescriptions": {
526
+ "typeIdentifier": "t_bytes_calldata_ptr",
527
+ "typeString": "bytes"
528
+ },
529
+ "typeName": {
530
+ "id": 22272,
531
+ "name": "bytes",
532
+ "nodeType": "ElementaryTypeName",
533
+ "src": "402:5:83",
534
+ "typeDescriptions": {
535
+ "typeIdentifier": "t_bytes_storage_ptr",
536
+ "typeString": "bytes"
537
+ }
538
+ },
539
+ "value": null,
540
+ "visibility": "internal"
541
+ }
542
+ ],
543
+ "src": "354:77:83"
544
+ },
545
+ "returnParameters": {
546
+ "id": 22275,
547
+ "nodeType": "ParameterList",
548
+ "parameters": [],
549
+ "src": "448:0:83"
550
+ },
551
+ "scope": 22277,
552
+ "src": "338:111:83",
553
+ "stateMutability": "payable",
554
+ "superFunction": null,
555
+ "visibility": "external"
556
+ }
557
+ ],
558
+ "scope": 22278,
559
+ "src": "60:391:83"
560
+ }
561
+ ],
562
+ "src": "0:452:83"
563
+ },
564
+ "legacyAST": {
565
+ "attributes": {
566
+ "absolutePath": "project:/contracts/interfaces/IV2BaseRouter01.sol",
567
+ "exportedSymbols": {
568
+ "IV2BaseRouter01": [
569
+ 22277
570
+ ]
571
+ }
572
+ },
573
+ "children": [
574
+ {
575
+ "attributes": {
576
+ "literals": [
577
+ "solidity",
578
+ ">=",
579
+ "0.5",
580
+ ".0"
581
+ ]
582
+ },
583
+ "id": 22241,
584
+ "name": "PragmaDirective",
585
+ "src": "0:24:83"
586
+ },
587
+ {
588
+ "attributes": {
589
+ "literals": [
590
+ "experimental",
591
+ "ABIEncoderV2"
592
+ ]
593
+ },
594
+ "id": 22242,
595
+ "name": "PragmaDirective",
596
+ "src": "25:33:83"
597
+ },
598
+ {
599
+ "attributes": {
600
+ "baseContracts": [
601
+ null
602
+ ],
603
+ "contractDependencies": [
604
+ null
605
+ ],
606
+ "contractKind": "interface",
607
+ "documentation": null,
608
+ "fullyImplemented": false,
609
+ "linearizedBaseContracts": [
610
+ 22277
611
+ ],
612
+ "name": "IV2BaseRouter01",
613
+ "scope": 22278
614
+ },
615
+ "children": [
616
+ {
617
+ "attributes": {
618
+ "canonicalName": "IV2BaseRouter01.LendingPool",
619
+ "name": "LendingPool",
620
+ "scope": 22277,
621
+ "visibility": "public"
622
+ },
623
+ "children": [
624
+ {
625
+ "attributes": {
626
+ "constant": false,
627
+ "name": "lp",
628
+ "scope": 22255,
629
+ "stateVariable": false,
630
+ "storageLocation": "default",
631
+ "type": "address",
632
+ "value": null,
633
+ "visibility": "internal"
634
+ },
635
+ "children": [
636
+ {
637
+ "attributes": {
638
+ "name": "address",
639
+ "stateMutability": "nonpayable",
640
+ "type": "address"
641
+ },
642
+ "id": 22243,
643
+ "name": "ElementaryTypeName",
644
+ "src": "112:7:83"
645
+ }
646
+ ],
647
+ "id": 22244,
648
+ "name": "VariableDeclaration",
649
+ "src": "112:10:83"
650
+ },
651
+ {
652
+ "attributes": {
653
+ "constant": false,
654
+ "name": "collateral",
655
+ "scope": 22255,
656
+ "stateVariable": false,
657
+ "storageLocation": "default",
658
+ "type": "address",
659
+ "value": null,
660
+ "visibility": "internal"
661
+ },
662
+ "children": [
663
+ {
664
+ "attributes": {
665
+ "name": "address",
666
+ "stateMutability": "nonpayable",
667
+ "type": "address"
668
+ },
669
+ "id": 22245,
670
+ "name": "ElementaryTypeName",
671
+ "src": "126:7:83"
672
+ }
673
+ ],
674
+ "id": 22246,
675
+ "name": "VariableDeclaration",
676
+ "src": "126:18:83"
677
+ },
678
+ {
679
+ "attributes": {
680
+ "constant": false,
681
+ "name": "borrowables",
682
+ "scope": 22255,
683
+ "stateVariable": false,
684
+ "storageLocation": "default",
685
+ "type": "address[2]",
686
+ "value": null,
687
+ "visibility": "internal"
688
+ },
689
+ "children": [
690
+ {
691
+ "attributes": {
692
+ "type": "address[2]"
693
+ },
694
+ "children": [
695
+ {
696
+ "attributes": {
697
+ "name": "address",
698
+ "stateMutability": "nonpayable",
699
+ "type": "address"
700
+ },
701
+ "id": 22247,
702
+ "name": "ElementaryTypeName",
703
+ "src": "148:7:83"
704
+ },
705
+ {
706
+ "attributes": {
707
+ "argumentTypes": null,
708
+ "hexvalue": "32",
709
+ "isConstant": false,
710
+ "isLValue": false,
711
+ "isPure": true,
712
+ "lValueRequested": false,
713
+ "subdenomination": null,
714
+ "token": "number",
715
+ "type": "int_const 2",
716
+ "value": "2"
717
+ },
718
+ "id": 22248,
719
+ "name": "Literal",
720
+ "src": "156:1:83"
721
+ }
722
+ ],
723
+ "id": 22249,
724
+ "name": "ArrayTypeName",
725
+ "src": "148:10:83"
726
+ }
727
+ ],
728
+ "id": 22250,
729
+ "name": "VariableDeclaration",
730
+ "src": "148:22:83"
731
+ },
732
+ {
733
+ "attributes": {
734
+ "constant": false,
735
+ "name": "tokens",
736
+ "scope": 22255,
737
+ "stateVariable": false,
738
+ "storageLocation": "default",
739
+ "type": "address[2]",
740
+ "value": null,
741
+ "visibility": "internal"
742
+ },
743
+ "children": [
744
+ {
745
+ "attributes": {
746
+ "type": "address[2]"
747
+ },
748
+ "children": [
749
+ {
750
+ "attributes": {
751
+ "name": "address",
752
+ "stateMutability": "nonpayable",
753
+ "type": "address"
754
+ },
755
+ "id": 22251,
756
+ "name": "ElementaryTypeName",
757
+ "src": "174:7:83"
758
+ },
759
+ {
760
+ "attributes": {
761
+ "argumentTypes": null,
762
+ "hexvalue": "32",
763
+ "isConstant": false,
764
+ "isLValue": false,
765
+ "isPure": true,
766
+ "lValueRequested": false,
767
+ "subdenomination": null,
768
+ "token": "number",
769
+ "type": "int_const 2",
770
+ "value": "2"
771
+ },
772
+ "id": 22252,
773
+ "name": "Literal",
774
+ "src": "182:1:83"
775
+ }
776
+ ],
777
+ "id": 22253,
778
+ "name": "ArrayTypeName",
779
+ "src": "174:10:83"
780
+ }
781
+ ],
782
+ "id": 22254,
783
+ "name": "VariableDeclaration",
784
+ "src": "174:17:83"
785
+ }
786
+ ],
787
+ "id": 22255,
788
+ "name": "StructDefinition",
789
+ "src": "89:106:83"
790
+ },
791
+ {
792
+ "attributes": {
793
+ "body": null,
794
+ "documentation": null,
795
+ "implemented": false,
796
+ "isConstructor": false,
797
+ "kind": "function",
798
+ "modifiers": [
799
+ null
800
+ ],
801
+ "name": "getLendingPool",
802
+ "scope": 22277,
803
+ "stateMutability": "view",
804
+ "superFunction": null,
805
+ "visibility": "external"
806
+ },
807
+ "children": [
808
+ {
809
+ "children": [
810
+ {
811
+ "attributes": {
812
+ "constant": false,
813
+ "name": "lp",
814
+ "scope": 22262,
815
+ "stateVariable": false,
816
+ "storageLocation": "default",
817
+ "type": "address",
818
+ "value": null,
819
+ "visibility": "internal"
820
+ },
821
+ "children": [
822
+ {
823
+ "attributes": {
824
+ "name": "address",
825
+ "stateMutability": "nonpayable",
826
+ "type": "address"
827
+ },
828
+ "id": 22256,
829
+ "name": "ElementaryTypeName",
830
+ "src": "221:7:83"
831
+ }
832
+ ],
833
+ "id": 22257,
834
+ "name": "VariableDeclaration",
835
+ "src": "221:10:83"
836
+ }
837
+ ],
838
+ "id": 22258,
839
+ "name": "ParameterList",
840
+ "src": "220:12:83"
841
+ },
842
+ {
843
+ "children": [
844
+ {
845
+ "attributes": {
846
+ "constant": false,
847
+ "name": "pool",
848
+ "scope": 22262,
849
+ "stateVariable": false,
850
+ "storageLocation": "memory",
851
+ "type": "struct IV2BaseRouter01.LendingPool",
852
+ "value": null,
853
+ "visibility": "internal"
854
+ },
855
+ "children": [
856
+ {
857
+ "attributes": {
858
+ "contractScope": null,
859
+ "name": "LendingPool",
860
+ "referencedDeclaration": 22255,
861
+ "type": "struct IV2BaseRouter01.LendingPool"
862
+ },
863
+ "id": 22259,
864
+ "name": "UserDefinedTypeName",
865
+ "src": "256:11:83"
866
+ }
867
+ ],
868
+ "id": 22260,
869
+ "name": "VariableDeclaration",
870
+ "src": "256:23:83"
871
+ }
872
+ ],
873
+ "id": 22261,
874
+ "name": "ParameterList",
875
+ "src": "255:25:83"
876
+ }
877
+ ],
878
+ "id": 22262,
879
+ "name": "FunctionDefinition",
880
+ "src": "197:84:83"
881
+ },
882
+ {
883
+ "attributes": {
884
+ "body": null,
885
+ "documentation": null,
886
+ "implemented": false,
887
+ "isConstructor": false,
888
+ "kind": "function",
889
+ "modifiers": [
890
+ null
891
+ ],
892
+ "name": "factory",
893
+ "scope": 22277,
894
+ "stateMutability": "view",
895
+ "superFunction": null,
896
+ "visibility": "external"
897
+ },
898
+ "children": [
899
+ {
900
+ "attributes": {
901
+ "parameters": [
902
+ null
903
+ ]
904
+ },
905
+ "children": [],
906
+ "id": 22263,
907
+ "name": "ParameterList",
908
+ "src": "299:2:83"
909
+ },
910
+ {
911
+ "children": [
912
+ {
913
+ "attributes": {
914
+ "constant": false,
915
+ "name": "",
916
+ "scope": 22267,
917
+ "stateVariable": false,
918
+ "storageLocation": "default",
919
+ "type": "address",
920
+ "value": null,
921
+ "visibility": "internal"
922
+ },
923
+ "children": [
924
+ {
925
+ "attributes": {
926
+ "name": "address",
927
+ "stateMutability": "nonpayable",
928
+ "type": "address"
929
+ },
930
+ "id": 22264,
931
+ "name": "ElementaryTypeName",
932
+ "src": "325:7:83"
933
+ }
934
+ ],
935
+ "id": 22265,
936
+ "name": "VariableDeclaration",
937
+ "src": "325:7:83"
938
+ }
939
+ ],
940
+ "id": 22266,
941
+ "name": "ParameterList",
942
+ "src": "324:9:83"
943
+ }
944
+ ],
945
+ "id": 22267,
946
+ "name": "FunctionDefinition",
947
+ "src": "283:51:83"
948
+ },
949
+ {
950
+ "attributes": {
951
+ "body": null,
952
+ "documentation": null,
953
+ "implemented": false,
954
+ "isConstructor": false,
955
+ "kind": "function",
956
+ "modifiers": [
957
+ null
958
+ ],
959
+ "name": "execute",
960
+ "scope": 22277,
961
+ "stateMutability": "payable",
962
+ "superFunction": null,
963
+ "visibility": "external"
964
+ },
965
+ "children": [
966
+ {
967
+ "children": [
968
+ {
969
+ "attributes": {
970
+ "constant": false,
971
+ "name": "lp",
972
+ "scope": 22276,
973
+ "stateVariable": false,
974
+ "storageLocation": "default",
975
+ "type": "address",
976
+ "value": null,
977
+ "visibility": "internal"
978
+ },
979
+ "children": [
980
+ {
981
+ "attributes": {
982
+ "name": "address",
983
+ "stateMutability": "nonpayable",
984
+ "type": "address"
985
+ },
986
+ "id": 22268,
987
+ "name": "ElementaryTypeName",
988
+ "src": "358:7:83"
989
+ }
990
+ ],
991
+ "id": 22269,
992
+ "name": "VariableDeclaration",
993
+ "src": "358:10:83"
994
+ },
995
+ {
996
+ "attributes": {
997
+ "constant": false,
998
+ "name": "actionsData",
999
+ "scope": 22276,
1000
+ "stateVariable": false,
1001
+ "storageLocation": "calldata",
1002
+ "type": "bytes",
1003
+ "value": null,
1004
+ "visibility": "internal"
1005
+ },
1006
+ "children": [
1007
+ {
1008
+ "attributes": {
1009
+ "name": "bytes",
1010
+ "type": "bytes"
1011
+ },
1012
+ "id": 22270,
1013
+ "name": "ElementaryTypeName",
1014
+ "src": "372:5:83"
1015
+ }
1016
+ ],
1017
+ "id": 22271,
1018
+ "name": "VariableDeclaration",
1019
+ "src": "372:26:83"
1020
+ },
1021
+ {
1022
+ "attributes": {
1023
+ "constant": false,
1024
+ "name": "permitsData",
1025
+ "scope": 22276,
1026
+ "stateVariable": false,
1027
+ "storageLocation": "calldata",
1028
+ "type": "bytes",
1029
+ "value": null,
1030
+ "visibility": "internal"
1031
+ },
1032
+ "children": [
1033
+ {
1034
+ "attributes": {
1035
+ "name": "bytes",
1036
+ "type": "bytes"
1037
+ },
1038
+ "id": 22272,
1039
+ "name": "ElementaryTypeName",
1040
+ "src": "402:5:83"
1041
+ }
1042
+ ],
1043
+ "id": 22273,
1044
+ "name": "VariableDeclaration",
1045
+ "src": "402:26:83"
1046
+ }
1047
+ ],
1048
+ "id": 22274,
1049
+ "name": "ParameterList",
1050
+ "src": "354:77:83"
1051
+ },
1052
+ {
1053
+ "attributes": {
1054
+ "parameters": [
1055
+ null
1056
+ ]
1057
+ },
1058
+ "children": [],
1059
+ "id": 22275,
1060
+ "name": "ParameterList",
1061
+ "src": "448:0:83"
1062
+ }
1063
+ ],
1064
+ "id": 22276,
1065
+ "name": "FunctionDefinition",
1066
+ "src": "338:111:83"
1067
+ }
1068
+ ],
1069
+ "id": 22277,
1070
+ "name": "ContractDefinition",
1071
+ "src": "60:391:83"
1072
+ }
1073
+ ],
1074
+ "id": 22278,
1075
+ "name": "SourceUnit",
1076
+ "src": "0:452:83"
1077
+ },
1078
+ "compiler": {
1079
+ "name": "solc",
1080
+ "version": "0.5.16+commit.9c3226ce.Emscripten.clang"
1081
+ },
1082
+ "networks": {},
1083
+ "schemaVersion": "3.4.16",
1084
+ "updatedAt": "2025-03-04T00:59:50.304Z",
1085
+ "devdoc": {
1086
+ "methods": {}
1087
+ },
1088
+ "userdoc": {
1089
+ "methods": {}
1090
+ }
1091
+ }