@verified-network/verified-sdk 0.3.7 → 0.4.1

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.
@@ -370,14 +370,14 @@
370
370
  "absolutePath": "project:/contracts/pool/PoolFactory.sol",
371
371
  "exportedSymbols": {
372
372
  "PoolFactory": [
373
- 11564
373
+ 11652
374
374
  ]
375
375
  },
376
- "id": 11565,
376
+ "id": 11653,
377
377
  "nodeType": "SourceUnit",
378
378
  "nodes": [
379
379
  {
380
- "id": 11346,
380
+ "id": 11434,
381
381
  "literals": [
382
382
  "solidity",
383
383
  "0.5",
@@ -389,9 +389,9 @@
389
389
  {
390
390
  "absolutePath": "@openzeppelin/upgrades/contracts/Initializable.sol",
391
391
  "file": "@openzeppelin/upgrades/contracts/Initializable.sol",
392
- "id": 11347,
392
+ "id": 11435,
393
393
  "nodeType": "ImportDirective",
394
- "scope": 11565,
394
+ "scope": 11653,
395
395
  "sourceUnit": 891,
396
396
  "src": "79:60:32",
397
397
  "symbolAliases": [],
@@ -400,9 +400,9 @@
400
400
  {
401
401
  "absolutePath": "@openzeppelin/upgrades/contracts/upgradeability/ProxyFactory.sol",
402
402
  "file": "@openzeppelin/upgrades/contracts/upgradeability/ProxyFactory.sol",
403
- "id": 11348,
403
+ "id": 11436,
404
404
  "nodeType": "ImportDirective",
405
- "scope": 11565,
405
+ "scope": 11653,
406
406
  "sourceUnit": 1637,
407
407
  "src": "141:74:32",
408
408
  "symbolAliases": [],
@@ -411,9 +411,9 @@
411
411
  {
412
412
  "absolutePath": "@openzeppelin/contracts-ethereum-package/contracts/ownership/Ownable.sol",
413
413
  "file": "@openzeppelin/contracts-ethereum-package/contracts/ownership/Ownable.sol",
414
- "id": 11349,
414
+ "id": 11437,
415
415
  "nodeType": "ImportDirective",
416
- "scope": 11565,
416
+ "scope": 11653,
417
417
  "sourceUnit": 341,
418
418
  "src": "217:82:32",
419
419
  "symbolAliases": [],
@@ -422,9 +422,9 @@
422
422
  {
423
423
  "absolutePath": "@openzeppelin/contracts-ethereum-package/contracts/token/ERC20/IERC20.sol",
424
424
  "file": "@openzeppelin/contracts-ethereum-package/contracts/token/ERC20/IERC20.sol",
425
- "id": 11350,
425
+ "id": 11438,
426
426
  "nodeType": "ImportDirective",
427
- "scope": 11565,
427
+ "scope": 11653,
428
428
  "sourceUnit": 822,
429
429
  "src": "301:83:32",
430
430
  "symbolAliases": [],
@@ -433,10 +433,10 @@
433
433
  {
434
434
  "absolutePath": "project:/contracts/interfaces/IPoolFactory.sol",
435
435
  "file": "../interfaces/IPoolFactory.sol",
436
- "id": 11351,
436
+ "id": 11439,
437
437
  "nodeType": "ImportDirective",
438
- "scope": 11565,
439
- "sourceUnit": 9171,
438
+ "scope": 11653,
439
+ "sourceUnit": 9203,
440
440
  "src": "386:40:32",
441
441
  "symbolAliases": [],
442
442
  "unitAlias": ""
@@ -444,10 +444,10 @@
444
444
  {
445
445
  "absolutePath": "project:/contracts/interfaces/ViaFactory.sol",
446
446
  "file": "../interfaces/ViaFactory.sol",
447
- "id": 11352,
447
+ "id": 11440,
448
448
  "nodeType": "ImportDirective",
449
- "scope": 11565,
450
- "sourceUnit": 10063,
449
+ "scope": 11653,
450
+ "sourceUnit": 10110,
451
451
  "src": "428:38:32",
452
452
  "symbolAliases": [],
453
453
  "unitAlias": ""
@@ -458,7 +458,7 @@
458
458
  "arguments": null,
459
459
  "baseName": {
460
460
  "contractScope": null,
461
- "id": 11353,
461
+ "id": 11441,
462
462
  "name": "Initializable",
463
463
  "nodeType": "UserDefinedTypeName",
464
464
  "referencedDeclaration": 890,
@@ -468,7 +468,7 @@
468
468
  "typeString": "contract Initializable"
469
469
  }
470
470
  },
471
- "id": 11354,
471
+ "id": 11442,
472
472
  "nodeType": "InheritanceSpecifier",
473
473
  "src": "494:13:32"
474
474
  },
@@ -476,7 +476,7 @@
476
476
  "arguments": null,
477
477
  "baseName": {
478
478
  "contractScope": null,
479
- "id": 11355,
479
+ "id": 11443,
480
480
  "name": "Ownable",
481
481
  "nodeType": "UserDefinedTypeName",
482
482
  "referencedDeclaration": 340,
@@ -486,7 +486,7 @@
486
486
  "typeString": "contract Ownable"
487
487
  }
488
488
  },
489
- "id": 11356,
489
+ "id": 11444,
490
490
  "nodeType": "InheritanceSpecifier",
491
491
  "src": "509:7:32"
492
492
  },
@@ -494,7 +494,7 @@
494
494
  "arguments": null,
495
495
  "baseName": {
496
496
  "contractScope": null,
497
- "id": 11357,
497
+ "id": 11445,
498
498
  "name": "ProxyFactory",
499
499
  "nodeType": "UserDefinedTypeName",
500
500
  "referencedDeclaration": 1636,
@@ -504,7 +504,7 @@
504
504
  "typeString": "contract ProxyFactory"
505
505
  }
506
506
  },
507
- "id": 11358,
507
+ "id": 11446,
508
508
  "nodeType": "InheritanceSpecifier",
509
509
  "src": "518:12:32"
510
510
  },
@@ -512,17 +512,17 @@
512
512
  "arguments": null,
513
513
  "baseName": {
514
514
  "contractScope": null,
515
- "id": 11359,
515
+ "id": 11447,
516
516
  "name": "IPoolFactory",
517
517
  "nodeType": "UserDefinedTypeName",
518
- "referencedDeclaration": 9170,
518
+ "referencedDeclaration": 9202,
519
519
  "src": "532:12:32",
520
520
  "typeDescriptions": {
521
- "typeIdentifier": "t_contract$_IPoolFactory_$9170",
521
+ "typeIdentifier": "t_contract$_IPoolFactory_$9202",
522
522
  "typeString": "contract IPoolFactory"
523
523
  }
524
524
  },
525
- "id": 11360,
525
+ "id": 11448,
526
526
  "nodeType": "InheritanceSpecifier",
527
527
  "src": "532:12:32"
528
528
  }
@@ -532,15 +532,15 @@
532
532
  340,
533
533
  890,
534
534
  1636,
535
- 9170
535
+ 9202
536
536
  ],
537
537
  "contractKind": "contract",
538
538
  "documentation": null,
539
539
  "fullyImplemented": true,
540
- "id": 11564,
540
+ "id": 11652,
541
541
  "linearizedBaseContracts": [
542
- 11564,
543
- 9170,
542
+ 11652,
543
+ 9202,
544
544
  1636,
545
545
  340,
546
546
  29,
@@ -551,10 +551,10 @@
551
551
  "nodes": [
552
552
  {
553
553
  "constant": false,
554
- "id": 11366,
554
+ "id": 11454,
555
555
  "name": "pool",
556
556
  "nodeType": "VariableDeclaration",
557
- "scope": 11564,
557
+ "scope": 11652,
558
558
  "src": "596:60:32",
559
559
  "stateVariable": true,
560
560
  "storageLocation": "default",
@@ -563,9 +563,9 @@
563
563
  "typeString": "mapping(address => mapping(address => address))"
564
564
  },
565
565
  "typeName": {
566
- "id": 11365,
566
+ "id": 11453,
567
567
  "keyType": {
568
- "id": 11361,
568
+ "id": 11449,
569
569
  "name": "address",
570
570
  "nodeType": "ElementaryTypeName",
571
571
  "src": "604:7:32",
@@ -581,9 +581,9 @@
581
581
  "typeString": "mapping(address => mapping(address => address))"
582
582
  },
583
583
  "valueType": {
584
- "id": 11364,
584
+ "id": 11452,
585
585
  "keyType": {
586
- "id": 11362,
586
+ "id": 11450,
587
587
  "name": "address",
588
588
  "nodeType": "ElementaryTypeName",
589
589
  "src": "623:7:32",
@@ -599,7 +599,7 @@
599
599
  "typeString": "mapping(address => address)"
600
600
  },
601
601
  "valueType": {
602
- "id": 11363,
602
+ "id": 11451,
603
603
  "name": "address",
604
604
  "nodeType": "ElementaryTypeName",
605
605
  "src": "634:7:32",
@@ -617,20 +617,20 @@
617
617
  {
618
618
  "anonymous": false,
619
619
  "documentation": null,
620
- "id": 11374,
620
+ "id": 11462,
621
621
  "name": "PoolCreated",
622
622
  "nodeType": "EventDefinition",
623
623
  "parameters": {
624
- "id": 11373,
624
+ "id": 11461,
625
625
  "nodeType": "ParameterList",
626
626
  "parameters": [
627
627
  {
628
628
  "constant": false,
629
- "id": 11368,
629
+ "id": 11456,
630
630
  "indexed": true,
631
631
  "name": "_pool",
632
632
  "nodeType": "VariableDeclaration",
633
- "scope": 11374,
633
+ "scope": 11462,
634
634
  "src": "734:21:32",
635
635
  "stateVariable": false,
636
636
  "storageLocation": "default",
@@ -639,7 +639,7 @@
639
639
  "typeString": "address"
640
640
  },
641
641
  "typeName": {
642
- "id": 11367,
642
+ "id": 11455,
643
643
  "name": "address",
644
644
  "nodeType": "ElementaryTypeName",
645
645
  "src": "734:7:32",
@@ -654,11 +654,11 @@
654
654
  },
655
655
  {
656
656
  "constant": false,
657
- "id": 11370,
657
+ "id": 11458,
658
658
  "indexed": false,
659
659
  "name": "_security",
660
660
  "nodeType": "VariableDeclaration",
661
- "scope": 11374,
661
+ "scope": 11462,
662
662
  "src": "757:17:32",
663
663
  "stateVariable": false,
664
664
  "storageLocation": "default",
@@ -667,7 +667,7 @@
667
667
  "typeString": "address"
668
668
  },
669
669
  "typeName": {
670
- "id": 11369,
670
+ "id": 11457,
671
671
  "name": "address",
672
672
  "nodeType": "ElementaryTypeName",
673
673
  "src": "757:7:32",
@@ -682,11 +682,11 @@
682
682
  },
683
683
  {
684
684
  "constant": false,
685
- "id": 11372,
685
+ "id": 11460,
686
686
  "indexed": false,
687
687
  "name": "_cash",
688
688
  "nodeType": "VariableDeclaration",
689
- "scope": 11374,
689
+ "scope": 11462,
690
690
  "src": "776:13:32",
691
691
  "stateVariable": false,
692
692
  "storageLocation": "default",
@@ -695,7 +695,7 @@
695
695
  "typeString": "address"
696
696
  },
697
697
  "typeName": {
698
- "id": 11371,
698
+ "id": 11459,
699
699
  "name": "address",
700
700
  "nodeType": "ElementaryTypeName",
701
701
  "src": "776:7:32",
@@ -715,10 +715,10 @@
715
715
  },
716
716
  {
717
717
  "constant": false,
718
- "id": 11376,
718
+ "id": 11464,
719
719
  "name": "via",
720
720
  "nodeType": "VariableDeclaration",
721
- "scope": 11564,
721
+ "scope": 11652,
722
722
  "src": "799:19:32",
723
723
  "stateVariable": true,
724
724
  "storageLocation": "default",
@@ -727,7 +727,7 @@
727
727
  "typeString": "address"
728
728
  },
729
729
  "typeName": {
730
- "id": 11375,
730
+ "id": 11463,
731
731
  "name": "address",
732
732
  "nodeType": "ElementaryTypeName",
733
733
  "src": "799:7:32",
@@ -742,10 +742,10 @@
742
742
  },
743
743
  {
744
744
  "constant": false,
745
- "id": 11378,
745
+ "id": 11466,
746
746
  "name": "_pool",
747
747
  "nodeType": "VariableDeclaration",
748
- "scope": 11564,
748
+ "scope": 11652,
749
749
  "src": "827:13:32",
750
750
  "stateVariable": true,
751
751
  "storageLocation": "default",
@@ -754,7 +754,7 @@
754
754
  "typeString": "address"
755
755
  },
756
756
  "typeName": {
757
- "id": 11377,
757
+ "id": 11465,
758
758
  "name": "address",
759
759
  "nodeType": "ElementaryTypeName",
760
760
  "src": "827:7:32",
@@ -769,10 +769,10 @@
769
769
  },
770
770
  {
771
771
  "constant": false,
772
- "id": 11380,
772
+ "id": 11468,
773
773
  "name": "_trade",
774
774
  "nodeType": "VariableDeclaration",
775
- "scope": 11564,
775
+ "scope": 11652,
776
776
  "src": "847:14:32",
777
777
  "stateVariable": true,
778
778
  "storageLocation": "default",
@@ -781,7 +781,7 @@
781
781
  "typeString": "address"
782
782
  },
783
783
  "typeName": {
784
- "id": 11379,
784
+ "id": 11467,
785
785
  "name": "address",
786
786
  "nodeType": "ElementaryTypeName",
787
787
  "src": "847:7:32",
@@ -796,10 +796,10 @@
796
796
  },
797
797
  {
798
798
  "constant": false,
799
- "id": 11382,
799
+ "id": 11470,
800
800
  "name": "_registry",
801
801
  "nodeType": "VariableDeclaration",
802
- "scope": 11564,
802
+ "scope": 11652,
803
803
  "src": "868:17:32",
804
804
  "stateVariable": true,
805
805
  "storageLocation": "default",
@@ -808,7 +808,7 @@
808
808
  "typeString": "address"
809
809
  },
810
810
  "typeName": {
811
- "id": 11381,
811
+ "id": 11469,
812
812
  "name": "address",
813
813
  "nodeType": "ElementaryTypeName",
814
814
  "src": "868:7:32",
@@ -823,10 +823,10 @@
823
823
  },
824
824
  {
825
825
  "constant": false,
826
- "id": 11385,
826
+ "id": 11473,
827
827
  "name": "pairs",
828
828
  "nodeType": "VariableDeclaration",
829
- "scope": 11564,
829
+ "scope": 11652,
830
830
  "src": "892:15:32",
831
831
  "stateVariable": true,
832
832
  "storageLocation": "default",
@@ -836,7 +836,7 @@
836
836
  },
837
837
  "typeName": {
838
838
  "baseType": {
839
- "id": 11383,
839
+ "id": 11471,
840
840
  "name": "address",
841
841
  "nodeType": "ElementaryTypeName",
842
842
  "src": "892:7:32",
@@ -846,7 +846,7 @@
846
846
  "typeString": "address"
847
847
  }
848
848
  },
849
- "id": 11384,
849
+ "id": 11472,
850
850
  "length": null,
851
851
  "nodeType": "ArrayTypeName",
852
852
  "src": "892:9:32",
@@ -860,7 +860,7 @@
860
860
  },
861
861
  {
862
862
  "body": {
863
- "id": 11421,
863
+ "id": 11509,
864
864
  "nodeType": "Block",
865
865
  "src": "1048:182:32",
866
866
  "statements": [
@@ -872,18 +872,18 @@
872
872
  "argumentTypes": null,
873
873
  "expression": {
874
874
  "argumentTypes": null,
875
- "id": 11401,
875
+ "id": 11489,
876
876
  "name": "msg",
877
877
  "nodeType": "Identifier",
878
878
  "overloadedDeclarations": [],
879
- "referencedDeclaration": 13354,
879
+ "referencedDeclaration": 13372,
880
880
  "src": "1078:3:32",
881
881
  "typeDescriptions": {
882
882
  "typeIdentifier": "t_magic_message",
883
883
  "typeString": "msg"
884
884
  }
885
885
  },
886
- "id": 11402,
886
+ "id": 11490,
887
887
  "isConstant": false,
888
888
  "isLValue": false,
889
889
  "isPure": false,
@@ -907,7 +907,7 @@
907
907
  ],
908
908
  "expression": {
909
909
  "argumentTypes": null,
910
- "id": 11398,
910
+ "id": 11486,
911
911
  "name": "Ownable",
912
912
  "nodeType": "Identifier",
913
913
  "overloadedDeclarations": [],
@@ -918,7 +918,7 @@
918
918
  "typeString": "type(contract Ownable)"
919
919
  }
920
920
  },
921
- "id": 11400,
921
+ "id": 11488,
922
922
  "isConstant": false,
923
923
  "isLValue": false,
924
924
  "isPure": false,
@@ -932,7 +932,7 @@
932
932
  "typeString": "function (address)"
933
933
  }
934
934
  },
935
- "id": 11403,
935
+ "id": 11491,
936
936
  "isConstant": false,
937
937
  "isLValue": false,
938
938
  "isPure": false,
@@ -946,25 +946,25 @@
946
946
  "typeString": "tuple()"
947
947
  }
948
948
  },
949
- "id": 11404,
949
+ "id": 11492,
950
950
  "nodeType": "ExpressionStatement",
951
951
  "src": "1059:30:32"
952
952
  },
953
953
  {
954
954
  "expression": {
955
955
  "argumentTypes": null,
956
- "id": 11407,
956
+ "id": 11495,
957
957
  "isConstant": false,
958
958
  "isLValue": false,
959
959
  "isPure": false,
960
960
  "lValueRequested": false,
961
961
  "leftHandSide": {
962
962
  "argumentTypes": null,
963
- "id": 11405,
963
+ "id": 11493,
964
964
  "name": "via",
965
965
  "nodeType": "Identifier",
966
966
  "overloadedDeclarations": [],
967
- "referencedDeclaration": 11376,
967
+ "referencedDeclaration": 11464,
968
968
  "src": "1100:3:32",
969
969
  "typeDescriptions": {
970
970
  "typeIdentifier": "t_address",
@@ -975,11 +975,11 @@
975
975
  "operator": "=",
976
976
  "rightHandSide": {
977
977
  "argumentTypes": null,
978
- "id": 11406,
978
+ "id": 11494,
979
979
  "name": "_viaFactory",
980
980
  "nodeType": "Identifier",
981
981
  "overloadedDeclarations": [],
982
- "referencedDeclaration": 11387,
982
+ "referencedDeclaration": 11475,
983
983
  "src": "1106:11:32",
984
984
  "typeDescriptions": {
985
985
  "typeIdentifier": "t_address",
@@ -992,25 +992,25 @@
992
992
  "typeString": "address"
993
993
  }
994
994
  },
995
- "id": 11408,
995
+ "id": 11496,
996
996
  "nodeType": "ExpressionStatement",
997
997
  "src": "1100:17:32"
998
998
  },
999
999
  {
1000
1000
  "expression": {
1001
1001
  "argumentTypes": null,
1002
- "id": 11411,
1002
+ "id": 11499,
1003
1003
  "isConstant": false,
1004
1004
  "isLValue": false,
1005
1005
  "isPure": false,
1006
1006
  "lValueRequested": false,
1007
1007
  "leftHandSide": {
1008
1008
  "argumentTypes": null,
1009
- "id": 11409,
1009
+ "id": 11497,
1010
1010
  "name": "_pool",
1011
1011
  "nodeType": "Identifier",
1012
1012
  "overloadedDeclarations": [],
1013
- "referencedDeclaration": 11378,
1013
+ "referencedDeclaration": 11466,
1014
1014
  "src": "1128:5:32",
1015
1015
  "typeDescriptions": {
1016
1016
  "typeIdentifier": "t_address",
@@ -1021,11 +1021,11 @@
1021
1021
  "operator": "=",
1022
1022
  "rightHandSide": {
1023
1023
  "argumentTypes": null,
1024
- "id": 11410,
1024
+ "id": 11498,
1025
1025
  "name": "_orderPool",
1026
1026
  "nodeType": "Identifier",
1027
1027
  "overloadedDeclarations": [],
1028
- "referencedDeclaration": 11389,
1028
+ "referencedDeclaration": 11477,
1029
1029
  "src": "1136:10:32",
1030
1030
  "typeDescriptions": {
1031
1031
  "typeIdentifier": "t_address",
@@ -1038,25 +1038,25 @@
1038
1038
  "typeString": "address"
1039
1039
  }
1040
1040
  },
1041
- "id": 11412,
1041
+ "id": 11500,
1042
1042
  "nodeType": "ExpressionStatement",
1043
1043
  "src": "1128:18:32"
1044
1044
  },
1045
1045
  {
1046
1046
  "expression": {
1047
1047
  "argumentTypes": null,
1048
- "id": 11415,
1048
+ "id": 11503,
1049
1049
  "isConstant": false,
1050
1050
  "isLValue": false,
1051
1051
  "isPure": false,
1052
1052
  "lValueRequested": false,
1053
1053
  "leftHandSide": {
1054
1054
  "argumentTypes": null,
1055
- "id": 11413,
1055
+ "id": 11501,
1056
1056
  "name": "_trade",
1057
1057
  "nodeType": "Identifier",
1058
1058
  "overloadedDeclarations": [],
1059
- "referencedDeclaration": 11380,
1059
+ "referencedDeclaration": 11468,
1060
1060
  "src": "1157:6:32",
1061
1061
  "typeDescriptions": {
1062
1062
  "typeIdentifier": "t_address",
@@ -1067,11 +1067,11 @@
1067
1067
  "operator": "=",
1068
1068
  "rightHandSide": {
1069
1069
  "argumentTypes": null,
1070
- "id": 11414,
1070
+ "id": 11502,
1071
1071
  "name": "_tradeContract",
1072
1072
  "nodeType": "Identifier",
1073
1073
  "overloadedDeclarations": [],
1074
- "referencedDeclaration": 11391,
1074
+ "referencedDeclaration": 11479,
1075
1075
  "src": "1166:14:32",
1076
1076
  "typeDescriptions": {
1077
1077
  "typeIdentifier": "t_address",
@@ -1084,25 +1084,25 @@
1084
1084
  "typeString": "address"
1085
1085
  }
1086
1086
  },
1087
- "id": 11416,
1087
+ "id": 11504,
1088
1088
  "nodeType": "ExpressionStatement",
1089
1089
  "src": "1157:23:32"
1090
1090
  },
1091
1091
  {
1092
1092
  "expression": {
1093
1093
  "argumentTypes": null,
1094
- "id": 11419,
1094
+ "id": 11507,
1095
1095
  "isConstant": false,
1096
1096
  "isLValue": false,
1097
1097
  "isPure": false,
1098
1098
  "lValueRequested": false,
1099
1099
  "leftHandSide": {
1100
1100
  "argumentTypes": null,
1101
- "id": 11417,
1101
+ "id": 11505,
1102
1102
  "name": "_registry",
1103
1103
  "nodeType": "Identifier",
1104
1104
  "overloadedDeclarations": [],
1105
- "referencedDeclaration": 11382,
1105
+ "referencedDeclaration": 11470,
1106
1106
  "src": "1191:9:32",
1107
1107
  "typeDescriptions": {
1108
1108
  "typeIdentifier": "t_address",
@@ -1113,11 +1113,11 @@
1113
1113
  "operator": "=",
1114
1114
  "rightHandSide": {
1115
1115
  "argumentTypes": null,
1116
- "id": 11418,
1116
+ "id": 11506,
1117
1117
  "name": "_securitiesRegistry",
1118
1118
  "nodeType": "Identifier",
1119
1119
  "overloadedDeclarations": [],
1120
- "referencedDeclaration": 11393,
1120
+ "referencedDeclaration": 11481,
1121
1121
  "src": "1203:19:32",
1122
1122
  "typeDescriptions": {
1123
1123
  "typeIdentifier": "t_address",
@@ -1130,23 +1130,23 @@
1130
1130
  "typeString": "address"
1131
1131
  }
1132
1132
  },
1133
- "id": 11420,
1133
+ "id": 11508,
1134
1134
  "nodeType": "ExpressionStatement",
1135
1135
  "src": "1191:31:32"
1136
1136
  }
1137
1137
  ]
1138
1138
  },
1139
1139
  "documentation": null,
1140
- "id": 11422,
1140
+ "id": 11510,
1141
1141
  "implemented": true,
1142
1142
  "kind": "function",
1143
1143
  "modifiers": [
1144
1144
  {
1145
1145
  "arguments": null,
1146
- "id": 11396,
1146
+ "id": 11484,
1147
1147
  "modifierName": {
1148
1148
  "argumentTypes": null,
1149
- "id": 11395,
1149
+ "id": 11483,
1150
1150
  "name": "initializer",
1151
1151
  "nodeType": "Identifier",
1152
1152
  "overloadedDeclarations": [],
@@ -1164,15 +1164,15 @@
1164
1164
  "name": "initialize",
1165
1165
  "nodeType": "FunctionDefinition",
1166
1166
  "parameters": {
1167
- "id": 11394,
1167
+ "id": 11482,
1168
1168
  "nodeType": "ParameterList",
1169
1169
  "parameters": [
1170
1170
  {
1171
1171
  "constant": false,
1172
- "id": 11387,
1172
+ "id": 11475,
1173
1173
  "name": "_viaFactory",
1174
1174
  "nodeType": "VariableDeclaration",
1175
- "scope": 11422,
1175
+ "scope": 11510,
1176
1176
  "src": "936:19:32",
1177
1177
  "stateVariable": false,
1178
1178
  "storageLocation": "default",
@@ -1181,7 +1181,7 @@
1181
1181
  "typeString": "address"
1182
1182
  },
1183
1183
  "typeName": {
1184
- "id": 11386,
1184
+ "id": 11474,
1185
1185
  "name": "address",
1186
1186
  "nodeType": "ElementaryTypeName",
1187
1187
  "src": "936:7:32",
@@ -1196,10 +1196,10 @@
1196
1196
  },
1197
1197
  {
1198
1198
  "constant": false,
1199
- "id": 11389,
1199
+ "id": 11477,
1200
1200
  "name": "_orderPool",
1201
1201
  "nodeType": "VariableDeclaration",
1202
- "scope": 11422,
1202
+ "scope": 11510,
1203
1203
  "src": "957:18:32",
1204
1204
  "stateVariable": false,
1205
1205
  "storageLocation": "default",
@@ -1208,7 +1208,7 @@
1208
1208
  "typeString": "address"
1209
1209
  },
1210
1210
  "typeName": {
1211
- "id": 11388,
1211
+ "id": 11476,
1212
1212
  "name": "address",
1213
1213
  "nodeType": "ElementaryTypeName",
1214
1214
  "src": "957:7:32",
@@ -1223,10 +1223,10 @@
1223
1223
  },
1224
1224
  {
1225
1225
  "constant": false,
1226
- "id": 11391,
1226
+ "id": 11479,
1227
1227
  "name": "_tradeContract",
1228
1228
  "nodeType": "VariableDeclaration",
1229
- "scope": 11422,
1229
+ "scope": 11510,
1230
1230
  "src": "977:22:32",
1231
1231
  "stateVariable": false,
1232
1232
  "storageLocation": "default",
@@ -1235,7 +1235,7 @@
1235
1235
  "typeString": "address"
1236
1236
  },
1237
1237
  "typeName": {
1238
- "id": 11390,
1238
+ "id": 11478,
1239
1239
  "name": "address",
1240
1240
  "nodeType": "ElementaryTypeName",
1241
1241
  "src": "977:7:32",
@@ -1250,10 +1250,10 @@
1250
1250
  },
1251
1251
  {
1252
1252
  "constant": false,
1253
- "id": 11393,
1253
+ "id": 11481,
1254
1254
  "name": "_securitiesRegistry",
1255
1255
  "nodeType": "VariableDeclaration",
1256
- "scope": 11422,
1256
+ "scope": 11510,
1257
1257
  "src": "1001:27:32",
1258
1258
  "stateVariable": false,
1259
1259
  "storageLocation": "default",
@@ -1262,7 +1262,7 @@
1262
1262
  "typeString": "address"
1263
1263
  },
1264
1264
  "typeName": {
1265
- "id": 11392,
1265
+ "id": 11480,
1266
1266
  "name": "address",
1267
1267
  "nodeType": "ElementaryTypeName",
1268
1268
  "src": "1001:7:32",
@@ -1279,12 +1279,12 @@
1279
1279
  "src": "935:94:32"
1280
1280
  },
1281
1281
  "returnParameters": {
1282
- "id": 11397,
1282
+ "id": 11485,
1283
1283
  "nodeType": "ParameterList",
1284
1284
  "parameters": [],
1285
1285
  "src": "1048:0:32"
1286
1286
  },
1287
- "scope": 11564,
1287
+ "scope": 11652,
1288
1288
  "src": "916:314:32",
1289
1289
  "stateMutability": "nonpayable",
1290
1290
  "superFunction": null,
@@ -1292,7 +1292,7 @@
1292
1292
  },
1293
1293
  {
1294
1294
  "body": {
1295
- "id": 11437,
1295
+ "id": 11525,
1296
1296
  "nodeType": "Block",
1297
1297
  "src": "1319:48:32",
1298
1298
  "statements": [
@@ -1303,25 +1303,25 @@
1303
1303
  "argumentTypes": null,
1304
1304
  "baseExpression": {
1305
1305
  "argumentTypes": null,
1306
- "id": 11431,
1306
+ "id": 11519,
1307
1307
  "name": "pool",
1308
1308
  "nodeType": "Identifier",
1309
1309
  "overloadedDeclarations": [],
1310
- "referencedDeclaration": 11366,
1310
+ "referencedDeclaration": 11454,
1311
1311
  "src": "1337:4:32",
1312
1312
  "typeDescriptions": {
1313
1313
  "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_address_$_$",
1314
1314
  "typeString": "mapping(address => mapping(address => address))"
1315
1315
  }
1316
1316
  },
1317
- "id": 11433,
1317
+ "id": 11521,
1318
1318
  "indexExpression": {
1319
1319
  "argumentTypes": null,
1320
- "id": 11432,
1320
+ "id": 11520,
1321
1321
  "name": "_security",
1322
1322
  "nodeType": "Identifier",
1323
1323
  "overloadedDeclarations": [],
1324
- "referencedDeclaration": 11424,
1324
+ "referencedDeclaration": 11512,
1325
1325
  "src": "1342:9:32",
1326
1326
  "typeDescriptions": {
1327
1327
  "typeIdentifier": "t_address",
@@ -1339,14 +1339,14 @@
1339
1339
  "typeString": "mapping(address => address)"
1340
1340
  }
1341
1341
  },
1342
- "id": 11435,
1342
+ "id": 11523,
1343
1343
  "indexExpression": {
1344
1344
  "argumentTypes": null,
1345
- "id": 11434,
1345
+ "id": 11522,
1346
1346
  "name": "_cash",
1347
1347
  "nodeType": "Identifier",
1348
1348
  "overloadedDeclarations": [],
1349
- "referencedDeclaration": 11426,
1349
+ "referencedDeclaration": 11514,
1350
1350
  "src": "1353:5:32",
1351
1351
  "typeDescriptions": {
1352
1352
  "typeIdentifier": "t_address",
@@ -1364,30 +1364,30 @@
1364
1364
  "typeString": "address"
1365
1365
  }
1366
1366
  },
1367
- "functionReturnParameters": 11430,
1368
- "id": 11436,
1367
+ "functionReturnParameters": 11518,
1368
+ "id": 11524,
1369
1369
  "nodeType": "Return",
1370
1370
  "src": "1330:29:32"
1371
1371
  }
1372
1372
  ]
1373
1373
  },
1374
1374
  "documentation": null,
1375
- "id": 11438,
1375
+ "id": 11526,
1376
1376
  "implemented": true,
1377
1377
  "kind": "function",
1378
1378
  "modifiers": [],
1379
1379
  "name": "getPool",
1380
1380
  "nodeType": "FunctionDefinition",
1381
1381
  "parameters": {
1382
- "id": 11427,
1382
+ "id": 11515,
1383
1383
  "nodeType": "ParameterList",
1384
1384
  "parameters": [
1385
1385
  {
1386
1386
  "constant": false,
1387
- "id": 11424,
1387
+ "id": 11512,
1388
1388
  "name": "_security",
1389
1389
  "nodeType": "VariableDeclaration",
1390
- "scope": 11438,
1390
+ "scope": 11526,
1391
1391
  "src": "1255:17:32",
1392
1392
  "stateVariable": false,
1393
1393
  "storageLocation": "default",
@@ -1396,7 +1396,7 @@
1396
1396
  "typeString": "address"
1397
1397
  },
1398
1398
  "typeName": {
1399
- "id": 11423,
1399
+ "id": 11511,
1400
1400
  "name": "address",
1401
1401
  "nodeType": "ElementaryTypeName",
1402
1402
  "src": "1255:7:32",
@@ -1411,10 +1411,10 @@
1411
1411
  },
1412
1412
  {
1413
1413
  "constant": false,
1414
- "id": 11426,
1414
+ "id": 11514,
1415
1415
  "name": "_cash",
1416
1416
  "nodeType": "VariableDeclaration",
1417
- "scope": 11438,
1417
+ "scope": 11526,
1418
1418
  "src": "1274:13:32",
1419
1419
  "stateVariable": false,
1420
1420
  "storageLocation": "default",
@@ -1423,7 +1423,7 @@
1423
1423
  "typeString": "address"
1424
1424
  },
1425
1425
  "typeName": {
1426
- "id": 11425,
1426
+ "id": 11513,
1427
1427
  "name": "address",
1428
1428
  "nodeType": "ElementaryTypeName",
1429
1429
  "src": "1274:7:32",
@@ -1440,15 +1440,15 @@
1440
1440
  "src": "1254:34:32"
1441
1441
  },
1442
1442
  "returnParameters": {
1443
- "id": 11430,
1443
+ "id": 11518,
1444
1444
  "nodeType": "ParameterList",
1445
1445
  "parameters": [
1446
1446
  {
1447
1447
  "constant": false,
1448
- "id": 11429,
1448
+ "id": 11517,
1449
1449
  "name": "",
1450
1450
  "nodeType": "VariableDeclaration",
1451
- "scope": 11438,
1451
+ "scope": 11526,
1452
1452
  "src": "1311:7:32",
1453
1453
  "stateVariable": false,
1454
1454
  "storageLocation": "default",
@@ -1457,7 +1457,7 @@
1457
1457
  "typeString": "address"
1458
1458
  },
1459
1459
  "typeName": {
1460
- "id": 11428,
1460
+ "id": 11516,
1461
1461
  "name": "address",
1462
1462
  "nodeType": "ElementaryTypeName",
1463
1463
  "src": "1311:7:32",
@@ -1473,15 +1473,15 @@
1473
1473
  ],
1474
1474
  "src": "1310:9:32"
1475
1475
  },
1476
- "scope": 11564,
1476
+ "scope": 11652,
1477
1477
  "src": "1238:129:32",
1478
1478
  "stateMutability": "view",
1479
- "superFunction": 9162,
1479
+ "superFunction": 9194,
1480
1480
  "visibility": "external"
1481
1481
  },
1482
1482
  {
1483
1483
  "body": {
1484
- "id": 11475,
1484
+ "id": 11563,
1485
1485
  "nodeType": "Block",
1486
1486
  "src": "1438:188:32",
1487
1487
  "statements": [
@@ -1495,7 +1495,7 @@
1495
1495
  "typeIdentifier": "t_address",
1496
1496
  "typeString": "address"
1497
1497
  },
1498
- "id": 11449,
1498
+ "id": 11537,
1499
1499
  "isConstant": false,
1500
1500
  "isLValue": false,
1501
1501
  "isPure": false,
@@ -1504,18 +1504,18 @@
1504
1504
  "argumentTypes": null,
1505
1505
  "expression": {
1506
1506
  "argumentTypes": null,
1507
- "id": 11446,
1507
+ "id": 11534,
1508
1508
  "name": "msg",
1509
1509
  "nodeType": "Identifier",
1510
1510
  "overloadedDeclarations": [],
1511
- "referencedDeclaration": 13354,
1511
+ "referencedDeclaration": 13372,
1512
1512
  "src": "1457:3:32",
1513
1513
  "typeDescriptions": {
1514
1514
  "typeIdentifier": "t_magic_message",
1515
1515
  "typeString": "msg"
1516
1516
  }
1517
1517
  },
1518
- "id": 11447,
1518
+ "id": 11535,
1519
1519
  "isConstant": false,
1520
1520
  "isLValue": false,
1521
1521
  "isPure": false,
@@ -1533,11 +1533,11 @@
1533
1533
  "operator": "==",
1534
1534
  "rightExpression": {
1535
1535
  "argumentTypes": null,
1536
- "id": 11448,
1536
+ "id": 11536,
1537
1537
  "name": "_trade",
1538
1538
  "nodeType": "Identifier",
1539
1539
  "overloadedDeclarations": [],
1540
- "referencedDeclaration": 11380,
1540
+ "referencedDeclaration": 11468,
1541
1541
  "src": "1469:6:32",
1542
1542
  "typeDescriptions": {
1543
1543
  "typeIdentifier": "t_address",
@@ -1558,21 +1558,21 @@
1558
1558
  "typeString": "bool"
1559
1559
  }
1560
1560
  ],
1561
- "id": 11445,
1561
+ "id": 11533,
1562
1562
  "name": "require",
1563
1563
  "nodeType": "Identifier",
1564
1564
  "overloadedDeclarations": [
1565
- 13357,
1566
- 13358
1565
+ 13375,
1566
+ 13376
1567
1567
  ],
1568
- "referencedDeclaration": 13357,
1568
+ "referencedDeclaration": 13375,
1569
1569
  "src": "1449:7:32",
1570
1570
  "typeDescriptions": {
1571
1571
  "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
1572
1572
  "typeString": "function (bool) pure"
1573
1573
  }
1574
1574
  },
1575
- "id": 11450,
1575
+ "id": 11538,
1576
1576
  "isConstant": false,
1577
1577
  "isLValue": false,
1578
1578
  "isPure": false,
@@ -1586,13 +1586,13 @@
1586
1586
  "typeString": "tuple()"
1587
1587
  }
1588
1588
  },
1589
- "id": 11451,
1589
+ "id": 11539,
1590
1590
  "nodeType": "ExpressionStatement",
1591
1591
  "src": "1449:27:32"
1592
1592
  },
1593
1593
  {
1594
1594
  "body": {
1595
- "id": 11471,
1595
+ "id": 11559,
1596
1596
  "nodeType": "Block",
1597
1597
  "src": "1521:75:32",
1598
1598
  "statements": [
@@ -1603,7 +1603,7 @@
1603
1603
  "typeIdentifier": "t_address",
1604
1604
  "typeString": "address"
1605
1605
  },
1606
- "id": 11467,
1606
+ "id": 11555,
1607
1607
  "isConstant": false,
1608
1608
  "isLValue": false,
1609
1609
  "isPure": false,
@@ -1612,25 +1612,25 @@
1612
1612
  "argumentTypes": null,
1613
1613
  "baseExpression": {
1614
1614
  "argumentTypes": null,
1615
- "id": 11463,
1615
+ "id": 11551,
1616
1616
  "name": "pairs",
1617
1617
  "nodeType": "Identifier",
1618
1618
  "overloadedDeclarations": [],
1619
- "referencedDeclaration": 11385,
1619
+ "referencedDeclaration": 11473,
1620
1620
  "src": "1539:5:32",
1621
1621
  "typeDescriptions": {
1622
1622
  "typeIdentifier": "t_array$_t_address_$dyn_storage",
1623
1623
  "typeString": "address[] storage ref"
1624
1624
  }
1625
1625
  },
1626
- "id": 11465,
1626
+ "id": 11553,
1627
1627
  "indexExpression": {
1628
1628
  "argumentTypes": null,
1629
- "id": 11464,
1629
+ "id": 11552,
1630
1630
  "name": "i",
1631
1631
  "nodeType": "Identifier",
1632
1632
  "overloadedDeclarations": [],
1633
- "referencedDeclaration": 11453,
1633
+ "referencedDeclaration": 11541,
1634
1634
  "src": "1545:1:32",
1635
1635
  "typeDescriptions": {
1636
1636
  "typeIdentifier": "t_uint256",
@@ -1652,11 +1652,11 @@
1652
1652
  "operator": "==",
1653
1653
  "rightExpression": {
1654
1654
  "argumentTypes": null,
1655
- "id": 11466,
1655
+ "id": 11554,
1656
1656
  "name": "_pair",
1657
1657
  "nodeType": "Identifier",
1658
1658
  "overloadedDeclarations": [],
1659
- "referencedDeclaration": 11440,
1659
+ "referencedDeclaration": 11528,
1660
1660
  "src": "1549:5:32",
1661
1661
  "typeDescriptions": {
1662
1662
  "typeIdentifier": "t_address",
@@ -1670,14 +1670,14 @@
1670
1670
  }
1671
1671
  },
1672
1672
  "falseBody": null,
1673
- "id": 11470,
1673
+ "id": 11558,
1674
1674
  "nodeType": "IfStatement",
1675
1675
  "src": "1536:48:32",
1676
1676
  "trueBody": {
1677
1677
  "expression": {
1678
1678
  "argumentTypes": null,
1679
1679
  "hexValue": "74727565",
1680
- "id": 11468,
1680
+ "id": 11556,
1681
1681
  "isConstant": false,
1682
1682
  "isLValue": false,
1683
1683
  "isPure": true,
@@ -1692,8 +1692,8 @@
1692
1692
  },
1693
1693
  "value": "true"
1694
1694
  },
1695
- "functionReturnParameters": 11444,
1696
- "id": 11469,
1695
+ "functionReturnParameters": 11532,
1696
+ "id": 11557,
1697
1697
  "nodeType": "Return",
1698
1698
  "src": "1573:11:32"
1699
1699
  }
@@ -1706,18 +1706,18 @@
1706
1706
  "typeIdentifier": "t_uint256",
1707
1707
  "typeString": "uint256"
1708
1708
  },
1709
- "id": 11459,
1709
+ "id": 11547,
1710
1710
  "isConstant": false,
1711
1711
  "isLValue": false,
1712
1712
  "isPure": false,
1713
1713
  "lValueRequested": false,
1714
1714
  "leftExpression": {
1715
1715
  "argumentTypes": null,
1716
- "id": 11456,
1716
+ "id": 11544,
1717
1717
  "name": "i",
1718
1718
  "nodeType": "Identifier",
1719
1719
  "overloadedDeclarations": [],
1720
- "referencedDeclaration": 11453,
1720
+ "referencedDeclaration": 11541,
1721
1721
  "src": "1501:1:32",
1722
1722
  "typeDescriptions": {
1723
1723
  "typeIdentifier": "t_uint256",
@@ -1730,18 +1730,18 @@
1730
1730
  "argumentTypes": null,
1731
1731
  "expression": {
1732
1732
  "argumentTypes": null,
1733
- "id": 11457,
1733
+ "id": 11545,
1734
1734
  "name": "pairs",
1735
1735
  "nodeType": "Identifier",
1736
1736
  "overloadedDeclarations": [],
1737
- "referencedDeclaration": 11385,
1737
+ "referencedDeclaration": 11473,
1738
1738
  "src": "1503:5:32",
1739
1739
  "typeDescriptions": {
1740
1740
  "typeIdentifier": "t_array$_t_address_$dyn_storage",
1741
1741
  "typeString": "address[] storage ref"
1742
1742
  }
1743
1743
  },
1744
- "id": 11458,
1744
+ "id": 11546,
1745
1745
  "isConstant": false,
1746
1746
  "isLValue": true,
1747
1747
  "isPure": false,
@@ -1761,18 +1761,18 @@
1761
1761
  "typeString": "bool"
1762
1762
  }
1763
1763
  },
1764
- "id": 11472,
1764
+ "id": 11560,
1765
1765
  "initializationExpression": {
1766
1766
  "assignments": [
1767
- 11453
1767
+ 11541
1768
1768
  ],
1769
1769
  "declarations": [
1770
1770
  {
1771
1771
  "constant": false,
1772
- "id": 11453,
1772
+ "id": 11541,
1773
1773
  "name": "i",
1774
1774
  "nodeType": "VariableDeclaration",
1775
- "scope": 11472,
1775
+ "scope": 11560,
1776
1776
  "src": "1491:6:32",
1777
1777
  "stateVariable": false,
1778
1778
  "storageLocation": "default",
@@ -1781,7 +1781,7 @@
1781
1781
  "typeString": "uint256"
1782
1782
  },
1783
1783
  "typeName": {
1784
- "id": 11452,
1784
+ "id": 11540,
1785
1785
  "name": "uint",
1786
1786
  "nodeType": "ElementaryTypeName",
1787
1787
  "src": "1491:4:32",
@@ -1794,11 +1794,11 @@
1794
1794
  "visibility": "internal"
1795
1795
  }
1796
1796
  ],
1797
- "id": 11455,
1797
+ "id": 11543,
1798
1798
  "initialValue": {
1799
1799
  "argumentTypes": null,
1800
1800
  "hexValue": "30",
1801
- "id": 11454,
1801
+ "id": 11542,
1802
1802
  "isConstant": false,
1803
1803
  "isLValue": false,
1804
1804
  "isPure": true,
@@ -1819,7 +1819,7 @@
1819
1819
  "loopExpression": {
1820
1820
  "expression": {
1821
1821
  "argumentTypes": null,
1822
- "id": 11461,
1822
+ "id": 11549,
1823
1823
  "isConstant": false,
1824
1824
  "isLValue": false,
1825
1825
  "isPure": false,
@@ -1830,11 +1830,11 @@
1830
1830
  "src": "1517:3:32",
1831
1831
  "subExpression": {
1832
1832
  "argumentTypes": null,
1833
- "id": 11460,
1833
+ "id": 11548,
1834
1834
  "name": "i",
1835
1835
  "nodeType": "Identifier",
1836
1836
  "overloadedDeclarations": [],
1837
- "referencedDeclaration": 11453,
1837
+ "referencedDeclaration": 11541,
1838
1838
  "src": "1517:1:32",
1839
1839
  "typeDescriptions": {
1840
1840
  "typeIdentifier": "t_uint256",
@@ -1846,7 +1846,7 @@
1846
1846
  "typeString": "uint256"
1847
1847
  }
1848
1848
  },
1849
- "id": 11462,
1849
+ "id": 11550,
1850
1850
  "nodeType": "ExpressionStatement",
1851
1851
  "src": "1517:3:32"
1852
1852
  },
@@ -1857,7 +1857,7 @@
1857
1857
  "expression": {
1858
1858
  "argumentTypes": null,
1859
1859
  "hexValue": "66616c7365",
1860
- "id": 11473,
1860
+ "id": 11561,
1861
1861
  "isConstant": false,
1862
1862
  "isLValue": false,
1863
1863
  "isPure": true,
@@ -1872,30 +1872,30 @@
1872
1872
  },
1873
1873
  "value": "false"
1874
1874
  },
1875
- "functionReturnParameters": 11444,
1876
- "id": 11474,
1875
+ "functionReturnParameters": 11532,
1876
+ "id": 11562,
1877
1877
  "nodeType": "Return",
1878
1878
  "src": "1606:12:32"
1879
1879
  }
1880
1880
  ]
1881
1881
  },
1882
1882
  "documentation": null,
1883
- "id": 11476,
1883
+ "id": 11564,
1884
1884
  "implemented": true,
1885
1885
  "kind": "function",
1886
1886
  "modifiers": [],
1887
1887
  "name": "confirmPool",
1888
1888
  "nodeType": "FunctionDefinition",
1889
1889
  "parameters": {
1890
- "id": 11441,
1890
+ "id": 11529,
1891
1891
  "nodeType": "ParameterList",
1892
1892
  "parameters": [
1893
1893
  {
1894
1894
  "constant": false,
1895
- "id": 11440,
1895
+ "id": 11528,
1896
1896
  "name": "_pair",
1897
1897
  "nodeType": "VariableDeclaration",
1898
- "scope": 11476,
1898
+ "scope": 11564,
1899
1899
  "src": "1396:13:32",
1900
1900
  "stateVariable": false,
1901
1901
  "storageLocation": "default",
@@ -1904,7 +1904,7 @@
1904
1904
  "typeString": "address"
1905
1905
  },
1906
1906
  "typeName": {
1907
- "id": 11439,
1907
+ "id": 11527,
1908
1908
  "name": "address",
1909
1909
  "nodeType": "ElementaryTypeName",
1910
1910
  "src": "1396:7:32",
@@ -1921,15 +1921,15 @@
1921
1921
  "src": "1395:15:32"
1922
1922
  },
1923
1923
  "returnParameters": {
1924
- "id": 11444,
1924
+ "id": 11532,
1925
1925
  "nodeType": "ParameterList",
1926
1926
  "parameters": [
1927
1927
  {
1928
1928
  "constant": false,
1929
- "id": 11443,
1929
+ "id": 11531,
1930
1930
  "name": "",
1931
1931
  "nodeType": "VariableDeclaration",
1932
- "scope": 11476,
1932
+ "scope": 11564,
1933
1933
  "src": "1433:4:32",
1934
1934
  "stateVariable": false,
1935
1935
  "storageLocation": "default",
@@ -1938,7 +1938,7 @@
1938
1938
  "typeString": "bool"
1939
1939
  },
1940
1940
  "typeName": {
1941
- "id": 11442,
1941
+ "id": 11530,
1942
1942
  "name": "bool",
1943
1943
  "nodeType": "ElementaryTypeName",
1944
1944
  "src": "1433:4:32",
@@ -1953,15 +1953,15 @@
1953
1953
  ],
1954
1954
  "src": "1432:6:32"
1955
1955
  },
1956
- "scope": 11564,
1956
+ "scope": 11652,
1957
1957
  "src": "1375:251:32",
1958
1958
  "stateMutability": "view",
1959
- "superFunction": 9169,
1959
+ "superFunction": 9201,
1960
1960
  "visibility": "external"
1961
1961
  },
1962
1962
  {
1963
1963
  "body": {
1964
- "id": 11562,
1964
+ "id": 11650,
1965
1965
  "nodeType": "Block",
1966
1966
  "src": "1741:604:32",
1967
1967
  "statements": [
@@ -1975,7 +1975,7 @@
1975
1975
  "typeIdentifier": "t_address",
1976
1976
  "typeString": "address"
1977
1977
  },
1978
- "id": 11491,
1978
+ "id": 11579,
1979
1979
  "isConstant": false,
1980
1980
  "isLValue": false,
1981
1981
  "isPure": false,
@@ -1984,18 +1984,18 @@
1984
1984
  "argumentTypes": null,
1985
1985
  "expression": {
1986
1986
  "argumentTypes": null,
1987
- "id": 11488,
1987
+ "id": 11576,
1988
1988
  "name": "msg",
1989
1989
  "nodeType": "Identifier",
1990
1990
  "overloadedDeclarations": [],
1991
- "referencedDeclaration": 13354,
1991
+ "referencedDeclaration": 13372,
1992
1992
  "src": "1760:3:32",
1993
1993
  "typeDescriptions": {
1994
1994
  "typeIdentifier": "t_magic_message",
1995
1995
  "typeString": "msg"
1996
1996
  }
1997
1997
  },
1998
- "id": 11489,
1998
+ "id": 11577,
1999
1999
  "isConstant": false,
2000
2000
  "isLValue": false,
2001
2001
  "isPure": false,
@@ -2013,11 +2013,11 @@
2013
2013
  "operator": "==",
2014
2014
  "rightExpression": {
2015
2015
  "argumentTypes": null,
2016
- "id": 11490,
2016
+ "id": 11578,
2017
2017
  "name": "_registry",
2018
2018
  "nodeType": "Identifier",
2019
2019
  "overloadedDeclarations": [],
2020
- "referencedDeclaration": 11382,
2020
+ "referencedDeclaration": 11470,
2021
2021
  "src": "1772:9:32",
2022
2022
  "typeDescriptions": {
2023
2023
  "typeIdentifier": "t_address",
@@ -2038,21 +2038,21 @@
2038
2038
  "typeString": "bool"
2039
2039
  }
2040
2040
  ],
2041
- "id": 11487,
2041
+ "id": 11575,
2042
2042
  "name": "require",
2043
2043
  "nodeType": "Identifier",
2044
2044
  "overloadedDeclarations": [
2045
- 13357,
2046
- 13358
2045
+ 13375,
2046
+ 13376
2047
2047
  ],
2048
- "referencedDeclaration": 13357,
2048
+ "referencedDeclaration": 13375,
2049
2049
  "src": "1752:7:32",
2050
2050
  "typeDescriptions": {
2051
2051
  "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
2052
2052
  "typeString": "function (bool) pure"
2053
2053
  }
2054
2054
  },
2055
- "id": 11492,
2055
+ "id": 11580,
2056
2056
  "isConstant": false,
2057
2057
  "isLValue": false,
2058
2058
  "isPure": false,
@@ -2066,7 +2066,7 @@
2066
2066
  "typeString": "tuple()"
2067
2067
  }
2068
2068
  },
2069
- "id": 11493,
2069
+ "id": 11581,
2070
2070
  "nodeType": "ExpressionStatement",
2071
2071
  "src": "1752:30:32"
2072
2072
  },
@@ -2080,18 +2080,18 @@
2080
2080
  "typeIdentifier": "t_address",
2081
2081
  "typeString": "address"
2082
2082
  },
2083
- "id": 11497,
2083
+ "id": 11585,
2084
2084
  "isConstant": false,
2085
2085
  "isLValue": false,
2086
2086
  "isPure": false,
2087
2087
  "lValueRequested": false,
2088
2088
  "leftExpression": {
2089
2089
  "argumentTypes": null,
2090
- "id": 11495,
2090
+ "id": 11583,
2091
2091
  "name": "_security",
2092
2092
  "nodeType": "Identifier",
2093
2093
  "overloadedDeclarations": [],
2094
- "referencedDeclaration": 11478,
2094
+ "referencedDeclaration": 11566,
2095
2095
  "src": "1801:9:32",
2096
2096
  "typeDescriptions": {
2097
2097
  "typeIdentifier": "t_address",
@@ -2102,11 +2102,11 @@
2102
2102
  "operator": "!=",
2103
2103
  "rightExpression": {
2104
2104
  "argumentTypes": null,
2105
- "id": 11496,
2105
+ "id": 11584,
2106
2106
  "name": "_cash",
2107
2107
  "nodeType": "Identifier",
2108
2108
  "overloadedDeclarations": [],
2109
- "referencedDeclaration": 11480,
2109
+ "referencedDeclaration": 11568,
2110
2110
  "src": "1812:5:32",
2111
2111
  "typeDescriptions": {
2112
2112
  "typeIdentifier": "t_address",
@@ -2127,21 +2127,21 @@
2127
2127
  "typeString": "bool"
2128
2128
  }
2129
2129
  ],
2130
- "id": 11494,
2130
+ "id": 11582,
2131
2131
  "name": "require",
2132
2132
  "nodeType": "Identifier",
2133
2133
  "overloadedDeclarations": [
2134
- 13357,
2135
- 13358
2134
+ 13375,
2135
+ 13376
2136
2136
  ],
2137
- "referencedDeclaration": 13357,
2137
+ "referencedDeclaration": 13375,
2138
2138
  "src": "1793:7:32",
2139
2139
  "typeDescriptions": {
2140
2140
  "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
2141
2141
  "typeString": "function (bool) pure"
2142
2142
  }
2143
2143
  },
2144
- "id": 11498,
2144
+ "id": 11586,
2145
2145
  "isConstant": false,
2146
2146
  "isLValue": false,
2147
2147
  "isPure": false,
@@ -2155,7 +2155,7 @@
2155
2155
  "typeString": "tuple()"
2156
2156
  }
2157
2157
  },
2158
- "id": 11499,
2158
+ "id": 11587,
2159
2159
  "nodeType": "ExpressionStatement",
2160
2160
  "src": "1793:25:32"
2161
2161
  },
@@ -2169,7 +2169,7 @@
2169
2169
  "typeIdentifier": "t_address",
2170
2170
  "typeString": "address"
2171
2171
  },
2172
- "id": 11509,
2172
+ "id": 11597,
2173
2173
  "isConstant": false,
2174
2174
  "isLValue": false,
2175
2175
  "isPure": false,
@@ -2179,11 +2179,11 @@
2179
2179
  "arguments": [
2180
2180
  {
2181
2181
  "argumentTypes": null,
2182
- "id": 11505,
2182
+ "id": 11593,
2183
2183
  "name": "_currency",
2184
2184
  "nodeType": "Identifier",
2185
2185
  "overloadedDeclarations": [],
2186
- "referencedDeclaration": 11482,
2186
+ "referencedDeclaration": 11570,
2187
2187
  "src": "1872:9:32",
2188
2188
  "typeDescriptions": {
2189
2189
  "typeIdentifier": "t_bytes32",
@@ -2193,7 +2193,7 @@
2193
2193
  {
2194
2194
  "argumentTypes": null,
2195
2195
  "hexValue": "56696143617368",
2196
- "id": 11506,
2196
+ "id": 11594,
2197
2197
  "isConstant": false,
2198
2198
  "isLValue": false,
2199
2199
  "isPure": true,
@@ -2225,11 +2225,11 @@
2225
2225
  "arguments": [
2226
2226
  {
2227
2227
  "argumentTypes": null,
2228
- "id": 11502,
2228
+ "id": 11590,
2229
2229
  "name": "via",
2230
2230
  "nodeType": "Identifier",
2231
2231
  "overloadedDeclarations": [],
2232
- "referencedDeclaration": 11376,
2232
+ "referencedDeclaration": 11464,
2233
2233
  "src": "1848:3:32",
2234
2234
  "typeDescriptions": {
2235
2235
  "typeIdentifier": "t_address",
@@ -2244,18 +2244,18 @@
2244
2244
  "typeString": "address"
2245
2245
  }
2246
2246
  ],
2247
- "id": 11501,
2247
+ "id": 11589,
2248
2248
  "name": "ViaFactory",
2249
2249
  "nodeType": "Identifier",
2250
2250
  "overloadedDeclarations": [],
2251
- "referencedDeclaration": 10062,
2251
+ "referencedDeclaration": 10109,
2252
2252
  "src": "1837:10:32",
2253
2253
  "typeDescriptions": {
2254
- "typeIdentifier": "t_type$_t_contract$_ViaFactory_$10062_$",
2254
+ "typeIdentifier": "t_type$_t_contract$_ViaFactory_$10109_$",
2255
2255
  "typeString": "type(contract ViaFactory)"
2256
2256
  }
2257
2257
  },
2258
- "id": 11503,
2258
+ "id": 11591,
2259
2259
  "isConstant": false,
2260
2260
  "isLValue": false,
2261
2261
  "isPure": false,
@@ -2265,25 +2265,25 @@
2265
2265
  "nodeType": "FunctionCall",
2266
2266
  "src": "1837:15:32",
2267
2267
  "typeDescriptions": {
2268
- "typeIdentifier": "t_contract$_ViaFactory_$10062",
2268
+ "typeIdentifier": "t_contract$_ViaFactory_$10109",
2269
2269
  "typeString": "contract ViaFactory"
2270
2270
  }
2271
2271
  },
2272
- "id": 11504,
2272
+ "id": 11592,
2273
2273
  "isConstant": false,
2274
2274
  "isLValue": false,
2275
2275
  "isPure": false,
2276
2276
  "lValueRequested": false,
2277
2277
  "memberName": "getTokenByNameType",
2278
2278
  "nodeType": "MemberAccess",
2279
- "referencedDeclaration": 10001,
2279
+ "referencedDeclaration": 10048,
2280
2280
  "src": "1837:34:32",
2281
2281
  "typeDescriptions": {
2282
2282
  "typeIdentifier": "t_function_external_view$_t_bytes32_$_t_bytes32_$returns$_t_address_$",
2283
2283
  "typeString": "function (bytes32,bytes32) view external returns (address)"
2284
2284
  }
2285
2285
  },
2286
- "id": 11507,
2286
+ "id": 11595,
2287
2287
  "isConstant": false,
2288
2288
  "isLValue": false,
2289
2289
  "isPure": false,
@@ -2301,11 +2301,11 @@
2301
2301
  "operator": "==",
2302
2302
  "rightExpression": {
2303
2303
  "argumentTypes": null,
2304
- "id": 11508,
2304
+ "id": 11596,
2305
2305
  "name": "_cash",
2306
2306
  "nodeType": "Identifier",
2307
2307
  "overloadedDeclarations": [],
2308
- "referencedDeclaration": 11480,
2308
+ "referencedDeclaration": 11568,
2309
2309
  "src": "1895:5:32",
2310
2310
  "typeDescriptions": {
2311
2311
  "typeIdentifier": "t_address",
@@ -2326,21 +2326,21 @@
2326
2326
  "typeString": "bool"
2327
2327
  }
2328
2328
  ],
2329
- "id": 11500,
2329
+ "id": 11588,
2330
2330
  "name": "require",
2331
2331
  "nodeType": "Identifier",
2332
2332
  "overloadedDeclarations": [
2333
- 13357,
2334
- 13358
2333
+ 13375,
2334
+ 13376
2335
2335
  ],
2336
- "referencedDeclaration": 13357,
2336
+ "referencedDeclaration": 13375,
2337
2337
  "src": "1829:7:32",
2338
2338
  "typeDescriptions": {
2339
2339
  "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
2340
2340
  "typeString": "function (bool) pure"
2341
2341
  }
2342
2342
  },
2343
- "id": 11510,
2343
+ "id": 11598,
2344
2344
  "isConstant": false,
2345
2345
  "isLValue": false,
2346
2346
  "isPure": false,
@@ -2354,7 +2354,7 @@
2354
2354
  "typeString": "tuple()"
2355
2355
  }
2356
2356
  },
2357
- "id": 11511,
2357
+ "id": 11599,
2358
2358
  "nodeType": "ExpressionStatement",
2359
2359
  "src": "1829:72:32"
2360
2360
  },
@@ -2365,7 +2365,7 @@
2365
2365
  "typeIdentifier": "t_address",
2366
2366
  "typeString": "address"
2367
2367
  },
2368
- "id": 11520,
2368
+ "id": 11608,
2369
2369
  "isConstant": false,
2370
2370
  "isLValue": false,
2371
2371
  "isPure": false,
@@ -2376,25 +2376,25 @@
2376
2376
  "argumentTypes": null,
2377
2377
  "baseExpression": {
2378
2378
  "argumentTypes": null,
2379
- "id": 11512,
2379
+ "id": 11600,
2380
2380
  "name": "pool",
2381
2381
  "nodeType": "Identifier",
2382
2382
  "overloadedDeclarations": [],
2383
- "referencedDeclaration": 11366,
2383
+ "referencedDeclaration": 11454,
2384
2384
  "src": "1917:4:32",
2385
2385
  "typeDescriptions": {
2386
2386
  "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_address_$_$",
2387
2387
  "typeString": "mapping(address => mapping(address => address))"
2388
2388
  }
2389
2389
  },
2390
- "id": 11514,
2390
+ "id": 11602,
2391
2391
  "indexExpression": {
2392
2392
  "argumentTypes": null,
2393
- "id": 11513,
2393
+ "id": 11601,
2394
2394
  "name": "_security",
2395
2395
  "nodeType": "Identifier",
2396
2396
  "overloadedDeclarations": [],
2397
- "referencedDeclaration": 11478,
2397
+ "referencedDeclaration": 11566,
2398
2398
  "src": "1922:9:32",
2399
2399
  "typeDescriptions": {
2400
2400
  "typeIdentifier": "t_address",
@@ -2412,14 +2412,14 @@
2412
2412
  "typeString": "mapping(address => address)"
2413
2413
  }
2414
2414
  },
2415
- "id": 11516,
2415
+ "id": 11604,
2416
2416
  "indexExpression": {
2417
2417
  "argumentTypes": null,
2418
- "id": 11515,
2418
+ "id": 11603,
2419
2419
  "name": "_cash",
2420
2420
  "nodeType": "Identifier",
2421
2421
  "overloadedDeclarations": [],
2422
- "referencedDeclaration": 11480,
2422
+ "referencedDeclaration": 11568,
2423
2423
  "src": "1933:5:32",
2424
2424
  "typeDescriptions": {
2425
2425
  "typeIdentifier": "t_address",
@@ -2445,7 +2445,7 @@
2445
2445
  {
2446
2446
  "argumentTypes": null,
2447
2447
  "hexValue": "307830",
2448
- "id": 11518,
2448
+ "id": 11606,
2449
2449
  "isConstant": false,
2450
2450
  "isLValue": false,
2451
2451
  "isPure": true,
@@ -2468,7 +2468,7 @@
2468
2468
  "typeString": "int_const 0"
2469
2469
  }
2470
2470
  ],
2471
- "id": 11517,
2471
+ "id": 11605,
2472
2472
  "isConstant": false,
2473
2473
  "isLValue": false,
2474
2474
  "isPure": true,
@@ -2481,7 +2481,7 @@
2481
2481
  },
2482
2482
  "typeName": "address"
2483
2483
  },
2484
- "id": 11519,
2484
+ "id": 11607,
2485
2485
  "isConstant": false,
2486
2486
  "isLValue": false,
2487
2487
  "isPure": true,
@@ -2502,25 +2502,25 @@
2502
2502
  }
2503
2503
  },
2504
2504
  "falseBody": null,
2505
- "id": 11561,
2505
+ "id": 11649,
2506
2506
  "nodeType": "IfStatement",
2507
2507
  "src": "1914:424:32",
2508
2508
  "trueBody": {
2509
- "id": 11560,
2509
+ "id": 11648,
2510
2510
  "nodeType": "Block",
2511
2511
  "src": "1954:384:32",
2512
2512
  "statements": [
2513
2513
  {
2514
2514
  "assignments": [
2515
- 11522
2515
+ 11610
2516
2516
  ],
2517
2517
  "declarations": [
2518
2518
  {
2519
2519
  "constant": false,
2520
- "id": 11522,
2520
+ "id": 11610,
2521
2521
  "name": "_payload",
2522
2522
  "nodeType": "VariableDeclaration",
2523
- "scope": 11560,
2523
+ "scope": 11648,
2524
2524
  "src": "1969:21:32",
2525
2525
  "stateVariable": false,
2526
2526
  "storageLocation": "memory",
@@ -2529,7 +2529,7 @@
2529
2529
  "typeString": "bytes"
2530
2530
  },
2531
2531
  "typeName": {
2532
- "id": 11521,
2532
+ "id": 11609,
2533
2533
  "name": "bytes",
2534
2534
  "nodeType": "ElementaryTypeName",
2535
2535
  "src": "1969:5:32",
@@ -2542,14 +2542,14 @@
2542
2542
  "visibility": "internal"
2543
2543
  }
2544
2544
  ],
2545
- "id": 11532,
2545
+ "id": 11620,
2546
2546
  "initialValue": {
2547
2547
  "argumentTypes": null,
2548
2548
  "arguments": [
2549
2549
  {
2550
2550
  "argumentTypes": null,
2551
2551
  "hexValue": "696e697469616c697a6528616464726573732c616464726573732c616464726573732c627974657333322c6164647265737329",
2552
- "id": 11525,
2552
+ "id": 11613,
2553
2553
  "isConstant": false,
2554
2554
  "isLValue": false,
2555
2555
  "isPure": true,
@@ -2566,11 +2566,11 @@
2566
2566
  },
2567
2567
  {
2568
2568
  "argumentTypes": null,
2569
- "id": 11526,
2569
+ "id": 11614,
2570
2570
  "name": "_security",
2571
2571
  "nodeType": "Identifier",
2572
2572
  "overloadedDeclarations": [],
2573
- "referencedDeclaration": 11478,
2573
+ "referencedDeclaration": 11566,
2574
2574
  "src": "2072:9:32",
2575
2575
  "typeDescriptions": {
2576
2576
  "typeIdentifier": "t_address",
@@ -2579,11 +2579,11 @@
2579
2579
  },
2580
2580
  {
2581
2581
  "argumentTypes": null,
2582
- "id": 11527,
2582
+ "id": 11615,
2583
2583
  "name": "_cash",
2584
2584
  "nodeType": "Identifier",
2585
2585
  "overloadedDeclarations": [],
2586
- "referencedDeclaration": 11480,
2586
+ "referencedDeclaration": 11568,
2587
2587
  "src": "2083:5:32",
2588
2588
  "typeDescriptions": {
2589
2589
  "typeIdentifier": "t_address",
@@ -2592,11 +2592,11 @@
2592
2592
  },
2593
2593
  {
2594
2594
  "argumentTypes": null,
2595
- "id": 11528,
2595
+ "id": 11616,
2596
2596
  "name": "_trade",
2597
2597
  "nodeType": "Identifier",
2598
2598
  "overloadedDeclarations": [],
2599
- "referencedDeclaration": 11380,
2599
+ "referencedDeclaration": 11468,
2600
2600
  "src": "2090:6:32",
2601
2601
  "typeDescriptions": {
2602
2602
  "typeIdentifier": "t_address",
@@ -2605,11 +2605,11 @@
2605
2605
  },
2606
2606
  {
2607
2607
  "argumentTypes": null,
2608
- "id": 11529,
2608
+ "id": 11617,
2609
2609
  "name": "_settlementType",
2610
2610
  "nodeType": "Identifier",
2611
2611
  "overloadedDeclarations": [],
2612
- "referencedDeclaration": 11484,
2612
+ "referencedDeclaration": 11572,
2613
2613
  "src": "2098:15:32",
2614
2614
  "typeDescriptions": {
2615
2615
  "typeIdentifier": "t_bytes32",
@@ -2618,11 +2618,11 @@
2618
2618
  },
2619
2619
  {
2620
2620
  "argumentTypes": null,
2621
- "id": 11530,
2621
+ "id": 11618,
2622
2622
  "name": "via",
2623
2623
  "nodeType": "Identifier",
2624
2624
  "overloadedDeclarations": [],
2625
- "referencedDeclaration": 11376,
2625
+ "referencedDeclaration": 11464,
2626
2626
  "src": "2114:3:32",
2627
2627
  "typeDescriptions": {
2628
2628
  "typeIdentifier": "t_address",
@@ -2659,18 +2659,18 @@
2659
2659
  ],
2660
2660
  "expression": {
2661
2661
  "argumentTypes": null,
2662
- "id": 11523,
2662
+ "id": 11611,
2663
2663
  "name": "abi",
2664
2664
  "nodeType": "Identifier",
2665
2665
  "overloadedDeclarations": [],
2666
- "referencedDeclaration": 13341,
2666
+ "referencedDeclaration": 13359,
2667
2667
  "src": "1993:3:32",
2668
2668
  "typeDescriptions": {
2669
2669
  "typeIdentifier": "t_magic_abi",
2670
2670
  "typeString": "abi"
2671
2671
  }
2672
2672
  },
2673
- "id": 11524,
2673
+ "id": 11612,
2674
2674
  "isConstant": false,
2675
2675
  "isLValue": false,
2676
2676
  "isPure": true,
@@ -2684,7 +2684,7 @@
2684
2684
  "typeString": "function (string memory) pure returns (bytes memory)"
2685
2685
  }
2686
2686
  },
2687
- "id": 11531,
2687
+ "id": 11619,
2688
2688
  "isConstant": false,
2689
2689
  "isLValue": false,
2690
2690
  "isPure": false,
@@ -2703,15 +2703,15 @@
2703
2703
  },
2704
2704
  {
2705
2705
  "assignments": [
2706
- 11534
2706
+ 11622
2707
2707
  ],
2708
2708
  "declarations": [
2709
2709
  {
2710
2710
  "constant": false,
2711
- "id": 11534,
2711
+ "id": 11622,
2712
2712
  "name": "_pair",
2713
2713
  "nodeType": "VariableDeclaration",
2714
- "scope": 11560,
2714
+ "scope": 11648,
2715
2715
  "src": "2135:13:32",
2716
2716
  "stateVariable": false,
2717
2717
  "storageLocation": "default",
@@ -2720,7 +2720,7 @@
2720
2720
  "typeString": "address"
2721
2721
  },
2722
2722
  "typeName": {
2723
- "id": 11533,
2723
+ "id": 11621,
2724
2724
  "name": "address",
2725
2725
  "nodeType": "ElementaryTypeName",
2726
2726
  "src": "2135:7:32",
@@ -2734,17 +2734,17 @@
2734
2734
  "visibility": "internal"
2735
2735
  }
2736
2736
  ],
2737
- "id": 11539,
2737
+ "id": 11627,
2738
2738
  "initialValue": {
2739
2739
  "argumentTypes": null,
2740
2740
  "arguments": [
2741
2741
  {
2742
2742
  "argumentTypes": null,
2743
- "id": 11536,
2743
+ "id": 11624,
2744
2744
  "name": "_pool",
2745
2745
  "nodeType": "Identifier",
2746
2746
  "overloadedDeclarations": [],
2747
- "referencedDeclaration": 11378,
2747
+ "referencedDeclaration": 11466,
2748
2748
  "src": "2165:5:32",
2749
2749
  "typeDescriptions": {
2750
2750
  "typeIdentifier": "t_address",
@@ -2753,11 +2753,11 @@
2753
2753
  },
2754
2754
  {
2755
2755
  "argumentTypes": null,
2756
- "id": 11537,
2756
+ "id": 11625,
2757
2757
  "name": "_payload",
2758
2758
  "nodeType": "Identifier",
2759
2759
  "overloadedDeclarations": [],
2760
- "referencedDeclaration": 11522,
2760
+ "referencedDeclaration": 11610,
2761
2761
  "src": "2172:8:32",
2762
2762
  "typeDescriptions": {
2763
2763
  "typeIdentifier": "t_bytes_memory_ptr",
@@ -2776,7 +2776,7 @@
2776
2776
  "typeString": "bytes memory"
2777
2777
  }
2778
2778
  ],
2779
- "id": 11535,
2779
+ "id": 11623,
2780
2780
  "name": "deployMinimal",
2781
2781
  "nodeType": "Identifier",
2782
2782
  "overloadedDeclarations": [],
@@ -2787,7 +2787,7 @@
2787
2787
  "typeString": "function (address,bytes memory) returns (address)"
2788
2788
  }
2789
2789
  },
2790
- "id": 11538,
2790
+ "id": 11626,
2791
2791
  "isConstant": false,
2792
2792
  "isLValue": false,
2793
2793
  "isPure": false,
@@ -2810,11 +2810,11 @@
2810
2810
  "arguments": [
2811
2811
  {
2812
2812
  "argumentTypes": null,
2813
- "id": 11541,
2813
+ "id": 11629,
2814
2814
  "name": "_pair",
2815
2815
  "nodeType": "Identifier",
2816
2816
  "overloadedDeclarations": [],
2817
- "referencedDeclaration": 11534,
2817
+ "referencedDeclaration": 11622,
2818
2818
  "src": "2213:5:32",
2819
2819
  "typeDescriptions": {
2820
2820
  "typeIdentifier": "t_address",
@@ -2823,11 +2823,11 @@
2823
2823
  },
2824
2824
  {
2825
2825
  "argumentTypes": null,
2826
- "id": 11542,
2826
+ "id": 11630,
2827
2827
  "name": "_security",
2828
2828
  "nodeType": "Identifier",
2829
2829
  "overloadedDeclarations": [],
2830
- "referencedDeclaration": 11478,
2830
+ "referencedDeclaration": 11566,
2831
2831
  "src": "2220:9:32",
2832
2832
  "typeDescriptions": {
2833
2833
  "typeIdentifier": "t_address",
@@ -2836,11 +2836,11 @@
2836
2836
  },
2837
2837
  {
2838
2838
  "argumentTypes": null,
2839
- "id": 11543,
2839
+ "id": 11631,
2840
2840
  "name": "_cash",
2841
2841
  "nodeType": "Identifier",
2842
2842
  "overloadedDeclarations": [],
2843
- "referencedDeclaration": 11480,
2843
+ "referencedDeclaration": 11568,
2844
2844
  "src": "2231:5:32",
2845
2845
  "typeDescriptions": {
2846
2846
  "typeIdentifier": "t_address",
@@ -2863,18 +2863,18 @@
2863
2863
  "typeString": "address"
2864
2864
  }
2865
2865
  ],
2866
- "id": 11540,
2866
+ "id": 11628,
2867
2867
  "name": "PoolCreated",
2868
2868
  "nodeType": "Identifier",
2869
2869
  "overloadedDeclarations": [],
2870
- "referencedDeclaration": 11374,
2870
+ "referencedDeclaration": 11462,
2871
2871
  "src": "2201:11:32",
2872
2872
  "typeDescriptions": {
2873
2873
  "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_address_$returns$__$",
2874
2874
  "typeString": "function (address,address,address)"
2875
2875
  }
2876
2876
  },
2877
- "id": 11544,
2877
+ "id": 11632,
2878
2878
  "isConstant": false,
2879
2879
  "isLValue": false,
2880
2880
  "isPure": false,
@@ -2888,7 +2888,7 @@
2888
2888
  "typeString": "tuple()"
2889
2889
  }
2890
2890
  },
2891
- "id": 11545,
2891
+ "id": 11633,
2892
2892
  "nodeType": "EmitStatement",
2893
2893
  "src": "2196:41:32"
2894
2894
  },
@@ -2898,11 +2898,11 @@
2898
2898
  "arguments": [
2899
2899
  {
2900
2900
  "argumentTypes": null,
2901
- "id": 11549,
2901
+ "id": 11637,
2902
2902
  "name": "_pair",
2903
2903
  "nodeType": "Identifier",
2904
2904
  "overloadedDeclarations": [],
2905
- "referencedDeclaration": 11534,
2905
+ "referencedDeclaration": 11622,
2906
2906
  "src": "2277:5:32",
2907
2907
  "typeDescriptions": {
2908
2908
  "typeIdentifier": "t_address",
@@ -2919,18 +2919,18 @@
2919
2919
  ],
2920
2920
  "expression": {
2921
2921
  "argumentTypes": null,
2922
- "id": 11546,
2922
+ "id": 11634,
2923
2923
  "name": "pairs",
2924
2924
  "nodeType": "Identifier",
2925
2925
  "overloadedDeclarations": [],
2926
- "referencedDeclaration": 11385,
2926
+ "referencedDeclaration": 11473,
2927
2927
  "src": "2266:5:32",
2928
2928
  "typeDescriptions": {
2929
2929
  "typeIdentifier": "t_array$_t_address_$dyn_storage",
2930
2930
  "typeString": "address[] storage ref"
2931
2931
  }
2932
2932
  },
2933
- "id": 11548,
2933
+ "id": 11636,
2934
2934
  "isConstant": false,
2935
2935
  "isLValue": false,
2936
2936
  "isPure": false,
@@ -2944,7 +2944,7 @@
2944
2944
  "typeString": "function (address) returns (uint256)"
2945
2945
  }
2946
2946
  },
2947
- "id": 11550,
2947
+ "id": 11638,
2948
2948
  "isConstant": false,
2949
2949
  "isLValue": false,
2950
2950
  "isPure": false,
@@ -2958,14 +2958,14 @@
2958
2958
  "typeString": "uint256"
2959
2959
  }
2960
2960
  },
2961
- "id": 11551,
2961
+ "id": 11639,
2962
2962
  "nodeType": "ExpressionStatement",
2963
2963
  "src": "2266:17:32"
2964
2964
  },
2965
2965
  {
2966
2966
  "expression": {
2967
2967
  "argumentTypes": null,
2968
- "id": 11558,
2968
+ "id": 11646,
2969
2969
  "isConstant": false,
2970
2970
  "isLValue": false,
2971
2971
  "isPure": false,
@@ -2976,25 +2976,25 @@
2976
2976
  "argumentTypes": null,
2977
2977
  "baseExpression": {
2978
2978
  "argumentTypes": null,
2979
- "id": 11552,
2979
+ "id": 11640,
2980
2980
  "name": "pool",
2981
2981
  "nodeType": "Identifier",
2982
2982
  "overloadedDeclarations": [],
2983
- "referencedDeclaration": 11366,
2983
+ "referencedDeclaration": 11454,
2984
2984
  "src": "2298:4:32",
2985
2985
  "typeDescriptions": {
2986
2986
  "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_address_$_$",
2987
2987
  "typeString": "mapping(address => mapping(address => address))"
2988
2988
  }
2989
2989
  },
2990
- "id": 11555,
2990
+ "id": 11643,
2991
2991
  "indexExpression": {
2992
2992
  "argumentTypes": null,
2993
- "id": 11553,
2993
+ "id": 11641,
2994
2994
  "name": "_security",
2995
2995
  "nodeType": "Identifier",
2996
2996
  "overloadedDeclarations": [],
2997
- "referencedDeclaration": 11478,
2997
+ "referencedDeclaration": 11566,
2998
2998
  "src": "2303:9:32",
2999
2999
  "typeDescriptions": {
3000
3000
  "typeIdentifier": "t_address",
@@ -3012,14 +3012,14 @@
3012
3012
  "typeString": "mapping(address => address)"
3013
3013
  }
3014
3014
  },
3015
- "id": 11556,
3015
+ "id": 11644,
3016
3016
  "indexExpression": {
3017
3017
  "argumentTypes": null,
3018
- "id": 11554,
3018
+ "id": 11642,
3019
3019
  "name": "_cash",
3020
3020
  "nodeType": "Identifier",
3021
3021
  "overloadedDeclarations": [],
3022
- "referencedDeclaration": 11480,
3022
+ "referencedDeclaration": 11568,
3023
3023
  "src": "2314:5:32",
3024
3024
  "typeDescriptions": {
3025
3025
  "typeIdentifier": "t_address",
@@ -3041,11 +3041,11 @@
3041
3041
  "operator": "=",
3042
3042
  "rightHandSide": {
3043
3043
  "argumentTypes": null,
3044
- "id": 11557,
3044
+ "id": 11645,
3045
3045
  "name": "_pair",
3046
3046
  "nodeType": "Identifier",
3047
3047
  "overloadedDeclarations": [],
3048
- "referencedDeclaration": 11534,
3048
+ "referencedDeclaration": 11622,
3049
3049
  "src": "2321:5:32",
3050
3050
  "typeDescriptions": {
3051
3051
  "typeIdentifier": "t_address",
@@ -3058,7 +3058,7 @@
3058
3058
  "typeString": "address"
3059
3059
  }
3060
3060
  },
3061
- "id": 11559,
3061
+ "id": 11647,
3062
3062
  "nodeType": "ExpressionStatement",
3063
3063
  "src": "2298:28:32"
3064
3064
  }
@@ -3068,22 +3068,22 @@
3068
3068
  ]
3069
3069
  },
3070
3070
  "documentation": null,
3071
- "id": 11563,
3071
+ "id": 11651,
3072
3072
  "implemented": true,
3073
3073
  "kind": "function",
3074
3074
  "modifiers": [],
3075
3075
  "name": "createPool",
3076
3076
  "nodeType": "FunctionDefinition",
3077
3077
  "parameters": {
3078
- "id": 11485,
3078
+ "id": 11573,
3079
3079
  "nodeType": "ParameterList",
3080
3080
  "parameters": [
3081
3081
  {
3082
3082
  "constant": false,
3083
- "id": 11478,
3083
+ "id": 11566,
3084
3084
  "name": "_security",
3085
3085
  "nodeType": "VariableDeclaration",
3086
- "scope": 11563,
3086
+ "scope": 11651,
3087
3087
  "src": "1654:17:32",
3088
3088
  "stateVariable": false,
3089
3089
  "storageLocation": "default",
@@ -3092,7 +3092,7 @@
3092
3092
  "typeString": "address"
3093
3093
  },
3094
3094
  "typeName": {
3095
- "id": 11477,
3095
+ "id": 11565,
3096
3096
  "name": "address",
3097
3097
  "nodeType": "ElementaryTypeName",
3098
3098
  "src": "1654:7:32",
@@ -3107,10 +3107,10 @@
3107
3107
  },
3108
3108
  {
3109
3109
  "constant": false,
3110
- "id": 11480,
3110
+ "id": 11568,
3111
3111
  "name": "_cash",
3112
3112
  "nodeType": "VariableDeclaration",
3113
- "scope": 11563,
3113
+ "scope": 11651,
3114
3114
  "src": "1673:13:32",
3115
3115
  "stateVariable": false,
3116
3116
  "storageLocation": "default",
@@ -3119,7 +3119,7 @@
3119
3119
  "typeString": "address"
3120
3120
  },
3121
3121
  "typeName": {
3122
- "id": 11479,
3122
+ "id": 11567,
3123
3123
  "name": "address",
3124
3124
  "nodeType": "ElementaryTypeName",
3125
3125
  "src": "1673:7:32",
@@ -3134,10 +3134,10 @@
3134
3134
  },
3135
3135
  {
3136
3136
  "constant": false,
3137
- "id": 11482,
3137
+ "id": 11570,
3138
3138
  "name": "_currency",
3139
3139
  "nodeType": "VariableDeclaration",
3140
- "scope": 11563,
3140
+ "scope": 11651,
3141
3141
  "src": "1688:17:32",
3142
3142
  "stateVariable": false,
3143
3143
  "storageLocation": "default",
@@ -3146,7 +3146,7 @@
3146
3146
  "typeString": "bytes32"
3147
3147
  },
3148
3148
  "typeName": {
3149
- "id": 11481,
3149
+ "id": 11569,
3150
3150
  "name": "bytes32",
3151
3151
  "nodeType": "ElementaryTypeName",
3152
3152
  "src": "1688:7:32",
@@ -3160,10 +3160,10 @@
3160
3160
  },
3161
3161
  {
3162
3162
  "constant": false,
3163
- "id": 11484,
3163
+ "id": 11572,
3164
3164
  "name": "_settlementType",
3165
3165
  "nodeType": "VariableDeclaration",
3166
- "scope": 11563,
3166
+ "scope": 11651,
3167
3167
  "src": "1707:23:32",
3168
3168
  "stateVariable": false,
3169
3169
  "storageLocation": "default",
@@ -3172,7 +3172,7 @@
3172
3172
  "typeString": "bytes32"
3173
3173
  },
3174
3174
  "typeName": {
3175
- "id": 11483,
3175
+ "id": 11571,
3176
3176
  "name": "bytes32",
3177
3177
  "nodeType": "ElementaryTypeName",
3178
3178
  "src": "1707:7:32",
@@ -3188,19 +3188,19 @@
3188
3188
  "src": "1653:78:32"
3189
3189
  },
3190
3190
  "returnParameters": {
3191
- "id": 11486,
3191
+ "id": 11574,
3192
3192
  "nodeType": "ParameterList",
3193
3193
  "parameters": [],
3194
3194
  "src": "1741:0:32"
3195
3195
  },
3196
- "scope": 11564,
3196
+ "scope": 11652,
3197
3197
  "src": "1634:711:32",
3198
3198
  "stateMutability": "nonpayable",
3199
- "superFunction": 9153,
3199
+ "superFunction": 9185,
3200
3200
  "visibility": "external"
3201
3201
  }
3202
3202
  ],
3203
- "scope": 11565,
3203
+ "scope": 11653,
3204
3204
  "src": "470:1884:32"
3205
3205
  }
3206
3206
  ],
@@ -3211,7 +3211,7 @@
3211
3211
  "absolutePath": "project:/contracts/pool/PoolFactory.sol",
3212
3212
  "exportedSymbols": {
3213
3213
  "PoolFactory": [
3214
- 11564
3214
+ 11652
3215
3215
  ]
3216
3216
  }
3217
3217
  },
@@ -3224,7 +3224,7 @@
3224
3224
  ".7"
3225
3225
  ]
3226
3226
  },
3227
- "id": 11346,
3227
+ "id": 11434,
3228
3228
  "name": "PragmaDirective",
3229
3229
  "src": "53:22:32"
3230
3230
  },
@@ -3233,13 +3233,13 @@
3233
3233
  "SourceUnit": 891,
3234
3234
  "absolutePath": "@openzeppelin/upgrades/contracts/Initializable.sol",
3235
3235
  "file": "@openzeppelin/upgrades/contracts/Initializable.sol",
3236
- "scope": 11565,
3236
+ "scope": 11653,
3237
3237
  "symbolAliases": [
3238
3238
  null
3239
3239
  ],
3240
3240
  "unitAlias": ""
3241
3241
  },
3242
- "id": 11347,
3242
+ "id": 11435,
3243
3243
  "name": "ImportDirective",
3244
3244
  "src": "79:60:32"
3245
3245
  },
@@ -3248,13 +3248,13 @@
3248
3248
  "SourceUnit": 1637,
3249
3249
  "absolutePath": "@openzeppelin/upgrades/contracts/upgradeability/ProxyFactory.sol",
3250
3250
  "file": "@openzeppelin/upgrades/contracts/upgradeability/ProxyFactory.sol",
3251
- "scope": 11565,
3251
+ "scope": 11653,
3252
3252
  "symbolAliases": [
3253
3253
  null
3254
3254
  ],
3255
3255
  "unitAlias": ""
3256
3256
  },
3257
- "id": 11348,
3257
+ "id": 11436,
3258
3258
  "name": "ImportDirective",
3259
3259
  "src": "141:74:32"
3260
3260
  },
@@ -3263,13 +3263,13 @@
3263
3263
  "SourceUnit": 341,
3264
3264
  "absolutePath": "@openzeppelin/contracts-ethereum-package/contracts/ownership/Ownable.sol",
3265
3265
  "file": "@openzeppelin/contracts-ethereum-package/contracts/ownership/Ownable.sol",
3266
- "scope": 11565,
3266
+ "scope": 11653,
3267
3267
  "symbolAliases": [
3268
3268
  null
3269
3269
  ],
3270
3270
  "unitAlias": ""
3271
3271
  },
3272
- "id": 11349,
3272
+ "id": 11437,
3273
3273
  "name": "ImportDirective",
3274
3274
  "src": "217:82:32"
3275
3275
  },
@@ -3278,43 +3278,43 @@
3278
3278
  "SourceUnit": 822,
3279
3279
  "absolutePath": "@openzeppelin/contracts-ethereum-package/contracts/token/ERC20/IERC20.sol",
3280
3280
  "file": "@openzeppelin/contracts-ethereum-package/contracts/token/ERC20/IERC20.sol",
3281
- "scope": 11565,
3281
+ "scope": 11653,
3282
3282
  "symbolAliases": [
3283
3283
  null
3284
3284
  ],
3285
3285
  "unitAlias": ""
3286
3286
  },
3287
- "id": 11350,
3287
+ "id": 11438,
3288
3288
  "name": "ImportDirective",
3289
3289
  "src": "301:83:32"
3290
3290
  },
3291
3291
  {
3292
3292
  "attributes": {
3293
- "SourceUnit": 9171,
3293
+ "SourceUnit": 9203,
3294
3294
  "absolutePath": "project:/contracts/interfaces/IPoolFactory.sol",
3295
3295
  "file": "../interfaces/IPoolFactory.sol",
3296
- "scope": 11565,
3296
+ "scope": 11653,
3297
3297
  "symbolAliases": [
3298
3298
  null
3299
3299
  ],
3300
3300
  "unitAlias": ""
3301
3301
  },
3302
- "id": 11351,
3302
+ "id": 11439,
3303
3303
  "name": "ImportDirective",
3304
3304
  "src": "386:40:32"
3305
3305
  },
3306
3306
  {
3307
3307
  "attributes": {
3308
- "SourceUnit": 10063,
3308
+ "SourceUnit": 10110,
3309
3309
  "absolutePath": "project:/contracts/interfaces/ViaFactory.sol",
3310
3310
  "file": "../interfaces/ViaFactory.sol",
3311
- "scope": 11565,
3311
+ "scope": 11653,
3312
3312
  "symbolAliases": [
3313
3313
  null
3314
3314
  ],
3315
3315
  "unitAlias": ""
3316
3316
  },
3317
- "id": 11352,
3317
+ "id": 11440,
3318
3318
  "name": "ImportDirective",
3319
3319
  "src": "428:38:32"
3320
3320
  },
@@ -3325,21 +3325,21 @@
3325
3325
  340,
3326
3326
  890,
3327
3327
  1636,
3328
- 9170
3328
+ 9202
3329
3329
  ],
3330
3330
  "contractKind": "contract",
3331
3331
  "documentation": null,
3332
3332
  "fullyImplemented": true,
3333
3333
  "linearizedBaseContracts": [
3334
- 11564,
3335
- 9170,
3334
+ 11652,
3335
+ 9202,
3336
3336
  1636,
3337
3337
  340,
3338
3338
  29,
3339
3339
  890
3340
3340
  ],
3341
3341
  "name": "PoolFactory",
3342
- "scope": 11565
3342
+ "scope": 11653
3343
3343
  },
3344
3344
  "children": [
3345
3345
  {
@@ -3354,12 +3354,12 @@
3354
3354
  "referencedDeclaration": 890,
3355
3355
  "type": "contract Initializable"
3356
3356
  },
3357
- "id": 11353,
3357
+ "id": 11441,
3358
3358
  "name": "UserDefinedTypeName",
3359
3359
  "src": "494:13:32"
3360
3360
  }
3361
3361
  ],
3362
- "id": 11354,
3362
+ "id": 11442,
3363
3363
  "name": "InheritanceSpecifier",
3364
3364
  "src": "494:13:32"
3365
3365
  },
@@ -3375,12 +3375,12 @@
3375
3375
  "referencedDeclaration": 340,
3376
3376
  "type": "contract Ownable"
3377
3377
  },
3378
- "id": 11355,
3378
+ "id": 11443,
3379
3379
  "name": "UserDefinedTypeName",
3380
3380
  "src": "509:7:32"
3381
3381
  }
3382
3382
  ],
3383
- "id": 11356,
3383
+ "id": 11444,
3384
3384
  "name": "InheritanceSpecifier",
3385
3385
  "src": "509:7:32"
3386
3386
  },
@@ -3396,12 +3396,12 @@
3396
3396
  "referencedDeclaration": 1636,
3397
3397
  "type": "contract ProxyFactory"
3398
3398
  },
3399
- "id": 11357,
3399
+ "id": 11445,
3400
3400
  "name": "UserDefinedTypeName",
3401
3401
  "src": "518:12:32"
3402
3402
  }
3403
3403
  ],
3404
- "id": 11358,
3404
+ "id": 11446,
3405
3405
  "name": "InheritanceSpecifier",
3406
3406
  "src": "518:12:32"
3407
3407
  },
@@ -3414,15 +3414,15 @@
3414
3414
  "attributes": {
3415
3415
  "contractScope": null,
3416
3416
  "name": "IPoolFactory",
3417
- "referencedDeclaration": 9170,
3417
+ "referencedDeclaration": 9202,
3418
3418
  "type": "contract IPoolFactory"
3419
3419
  },
3420
- "id": 11359,
3420
+ "id": 11447,
3421
3421
  "name": "UserDefinedTypeName",
3422
3422
  "src": "532:12:32"
3423
3423
  }
3424
3424
  ],
3425
- "id": 11360,
3425
+ "id": 11448,
3426
3426
  "name": "InheritanceSpecifier",
3427
3427
  "src": "532:12:32"
3428
3428
  },
@@ -3430,7 +3430,7 @@
3430
3430
  "attributes": {
3431
3431
  "constant": false,
3432
3432
  "name": "pool",
3433
- "scope": 11564,
3433
+ "scope": 11652,
3434
3434
  "stateVariable": true,
3435
3435
  "storageLocation": "default",
3436
3436
  "type": "mapping(address => mapping(address => address))",
@@ -3448,7 +3448,7 @@
3448
3448
  "name": "address",
3449
3449
  "type": "address"
3450
3450
  },
3451
- "id": 11361,
3451
+ "id": 11449,
3452
3452
  "name": "ElementaryTypeName",
3453
3453
  "src": "604:7:32"
3454
3454
  },
@@ -3462,7 +3462,7 @@
3462
3462
  "name": "address",
3463
3463
  "type": "address"
3464
3464
  },
3465
- "id": 11362,
3465
+ "id": 11450,
3466
3466
  "name": "ElementaryTypeName",
3467
3467
  "src": "623:7:32"
3468
3468
  },
@@ -3472,22 +3472,22 @@
3472
3472
  "stateMutability": "nonpayable",
3473
3473
  "type": "address"
3474
3474
  },
3475
- "id": 11363,
3475
+ "id": 11451,
3476
3476
  "name": "ElementaryTypeName",
3477
3477
  "src": "634:7:32"
3478
3478
  }
3479
3479
  ],
3480
- "id": 11364,
3480
+ "id": 11452,
3481
3481
  "name": "Mapping",
3482
3482
  "src": "615:27:32"
3483
3483
  }
3484
3484
  ],
3485
- "id": 11365,
3485
+ "id": 11453,
3486
3486
  "name": "Mapping",
3487
3487
  "src": "596:47:32"
3488
3488
  }
3489
3489
  ],
3490
- "id": 11366,
3490
+ "id": 11454,
3491
3491
  "name": "VariableDeclaration",
3492
3492
  "src": "596:60:32"
3493
3493
  },
@@ -3505,7 +3505,7 @@
3505
3505
  "constant": false,
3506
3506
  "indexed": true,
3507
3507
  "name": "_pool",
3508
- "scope": 11374,
3508
+ "scope": 11462,
3509
3509
  "stateVariable": false,
3510
3510
  "storageLocation": "default",
3511
3511
  "type": "address",
@@ -3519,12 +3519,12 @@
3519
3519
  "stateMutability": "nonpayable",
3520
3520
  "type": "address"
3521
3521
  },
3522
- "id": 11367,
3522
+ "id": 11455,
3523
3523
  "name": "ElementaryTypeName",
3524
3524
  "src": "734:7:32"
3525
3525
  }
3526
3526
  ],
3527
- "id": 11368,
3527
+ "id": 11456,
3528
3528
  "name": "VariableDeclaration",
3529
3529
  "src": "734:21:32"
3530
3530
  },
@@ -3533,7 +3533,7 @@
3533
3533
  "constant": false,
3534
3534
  "indexed": false,
3535
3535
  "name": "_security",
3536
- "scope": 11374,
3536
+ "scope": 11462,
3537
3537
  "stateVariable": false,
3538
3538
  "storageLocation": "default",
3539
3539
  "type": "address",
@@ -3547,12 +3547,12 @@
3547
3547
  "stateMutability": "nonpayable",
3548
3548
  "type": "address"
3549
3549
  },
3550
- "id": 11369,
3550
+ "id": 11457,
3551
3551
  "name": "ElementaryTypeName",
3552
3552
  "src": "757:7:32"
3553
3553
  }
3554
3554
  ],
3555
- "id": 11370,
3555
+ "id": 11458,
3556
3556
  "name": "VariableDeclaration",
3557
3557
  "src": "757:17:32"
3558
3558
  },
@@ -3561,7 +3561,7 @@
3561
3561
  "constant": false,
3562
3562
  "indexed": false,
3563
3563
  "name": "_cash",
3564
- "scope": 11374,
3564
+ "scope": 11462,
3565
3565
  "stateVariable": false,
3566
3566
  "storageLocation": "default",
3567
3567
  "type": "address",
@@ -3575,22 +3575,22 @@
3575
3575
  "stateMutability": "nonpayable",
3576
3576
  "type": "address"
3577
3577
  },
3578
- "id": 11371,
3578
+ "id": 11459,
3579
3579
  "name": "ElementaryTypeName",
3580
3580
  "src": "776:7:32"
3581
3581
  }
3582
3582
  ],
3583
- "id": 11372,
3583
+ "id": 11460,
3584
3584
  "name": "VariableDeclaration",
3585
3585
  "src": "776:13:32"
3586
3586
  }
3587
3587
  ],
3588
- "id": 11373,
3588
+ "id": 11461,
3589
3589
  "name": "ParameterList",
3590
3590
  "src": "733:57:32"
3591
3591
  }
3592
3592
  ],
3593
- "id": 11374,
3593
+ "id": 11462,
3594
3594
  "name": "EventDefinition",
3595
3595
  "src": "716:75:32"
3596
3596
  },
@@ -3598,7 +3598,7 @@
3598
3598
  "attributes": {
3599
3599
  "constant": false,
3600
3600
  "name": "via",
3601
- "scope": 11564,
3601
+ "scope": 11652,
3602
3602
  "stateVariable": true,
3603
3603
  "storageLocation": "default",
3604
3604
  "type": "address",
@@ -3612,12 +3612,12 @@
3612
3612
  "stateMutability": "nonpayable",
3613
3613
  "type": "address"
3614
3614
  },
3615
- "id": 11375,
3615
+ "id": 11463,
3616
3616
  "name": "ElementaryTypeName",
3617
3617
  "src": "799:7:32"
3618
3618
  }
3619
3619
  ],
3620
- "id": 11376,
3620
+ "id": 11464,
3621
3621
  "name": "VariableDeclaration",
3622
3622
  "src": "799:19:32"
3623
3623
  },
@@ -3625,7 +3625,7 @@
3625
3625
  "attributes": {
3626
3626
  "constant": false,
3627
3627
  "name": "_pool",
3628
- "scope": 11564,
3628
+ "scope": 11652,
3629
3629
  "stateVariable": true,
3630
3630
  "storageLocation": "default",
3631
3631
  "type": "address",
@@ -3639,12 +3639,12 @@
3639
3639
  "stateMutability": "nonpayable",
3640
3640
  "type": "address"
3641
3641
  },
3642
- "id": 11377,
3642
+ "id": 11465,
3643
3643
  "name": "ElementaryTypeName",
3644
3644
  "src": "827:7:32"
3645
3645
  }
3646
3646
  ],
3647
- "id": 11378,
3647
+ "id": 11466,
3648
3648
  "name": "VariableDeclaration",
3649
3649
  "src": "827:13:32"
3650
3650
  },
@@ -3652,7 +3652,7 @@
3652
3652
  "attributes": {
3653
3653
  "constant": false,
3654
3654
  "name": "_trade",
3655
- "scope": 11564,
3655
+ "scope": 11652,
3656
3656
  "stateVariable": true,
3657
3657
  "storageLocation": "default",
3658
3658
  "type": "address",
@@ -3666,12 +3666,12 @@
3666
3666
  "stateMutability": "nonpayable",
3667
3667
  "type": "address"
3668
3668
  },
3669
- "id": 11379,
3669
+ "id": 11467,
3670
3670
  "name": "ElementaryTypeName",
3671
3671
  "src": "847:7:32"
3672
3672
  }
3673
3673
  ],
3674
- "id": 11380,
3674
+ "id": 11468,
3675
3675
  "name": "VariableDeclaration",
3676
3676
  "src": "847:14:32"
3677
3677
  },
@@ -3679,7 +3679,7 @@
3679
3679
  "attributes": {
3680
3680
  "constant": false,
3681
3681
  "name": "_registry",
3682
- "scope": 11564,
3682
+ "scope": 11652,
3683
3683
  "stateVariable": true,
3684
3684
  "storageLocation": "default",
3685
3685
  "type": "address",
@@ -3693,12 +3693,12 @@
3693
3693
  "stateMutability": "nonpayable",
3694
3694
  "type": "address"
3695
3695
  },
3696
- "id": 11381,
3696
+ "id": 11469,
3697
3697
  "name": "ElementaryTypeName",
3698
3698
  "src": "868:7:32"
3699
3699
  }
3700
3700
  ],
3701
- "id": 11382,
3701
+ "id": 11470,
3702
3702
  "name": "VariableDeclaration",
3703
3703
  "src": "868:17:32"
3704
3704
  },
@@ -3706,7 +3706,7 @@
3706
3706
  "attributes": {
3707
3707
  "constant": false,
3708
3708
  "name": "pairs",
3709
- "scope": 11564,
3709
+ "scope": 11652,
3710
3710
  "stateVariable": true,
3711
3711
  "storageLocation": "default",
3712
3712
  "type": "address[]",
@@ -3726,17 +3726,17 @@
3726
3726
  "stateMutability": "nonpayable",
3727
3727
  "type": "address"
3728
3728
  },
3729
- "id": 11383,
3729
+ "id": 11471,
3730
3730
  "name": "ElementaryTypeName",
3731
3731
  "src": "892:7:32"
3732
3732
  }
3733
3733
  ],
3734
- "id": 11384,
3734
+ "id": 11472,
3735
3735
  "name": "ArrayTypeName",
3736
3736
  "src": "892:9:32"
3737
3737
  }
3738
3738
  ],
3739
- "id": 11385,
3739
+ "id": 11473,
3740
3740
  "name": "VariableDeclaration",
3741
3741
  "src": "892:15:32"
3742
3742
  },
@@ -3747,7 +3747,7 @@
3747
3747
  "isConstructor": false,
3748
3748
  "kind": "function",
3749
3749
  "name": "initialize",
3750
- "scope": 11564,
3750
+ "scope": 11652,
3751
3751
  "stateMutability": "nonpayable",
3752
3752
  "superFunction": null,
3753
3753
  "visibility": "public"
@@ -3759,7 +3759,7 @@
3759
3759
  "attributes": {
3760
3760
  "constant": false,
3761
3761
  "name": "_viaFactory",
3762
- "scope": 11422,
3762
+ "scope": 11510,
3763
3763
  "stateVariable": false,
3764
3764
  "storageLocation": "default",
3765
3765
  "type": "address",
@@ -3773,12 +3773,12 @@
3773
3773
  "stateMutability": "nonpayable",
3774
3774
  "type": "address"
3775
3775
  },
3776
- "id": 11386,
3776
+ "id": 11474,
3777
3777
  "name": "ElementaryTypeName",
3778
3778
  "src": "936:7:32"
3779
3779
  }
3780
3780
  ],
3781
- "id": 11387,
3781
+ "id": 11475,
3782
3782
  "name": "VariableDeclaration",
3783
3783
  "src": "936:19:32"
3784
3784
  },
@@ -3786,7 +3786,7 @@
3786
3786
  "attributes": {
3787
3787
  "constant": false,
3788
3788
  "name": "_orderPool",
3789
- "scope": 11422,
3789
+ "scope": 11510,
3790
3790
  "stateVariable": false,
3791
3791
  "storageLocation": "default",
3792
3792
  "type": "address",
@@ -3800,12 +3800,12 @@
3800
3800
  "stateMutability": "nonpayable",
3801
3801
  "type": "address"
3802
3802
  },
3803
- "id": 11388,
3803
+ "id": 11476,
3804
3804
  "name": "ElementaryTypeName",
3805
3805
  "src": "957:7:32"
3806
3806
  }
3807
3807
  ],
3808
- "id": 11389,
3808
+ "id": 11477,
3809
3809
  "name": "VariableDeclaration",
3810
3810
  "src": "957:18:32"
3811
3811
  },
@@ -3813,7 +3813,7 @@
3813
3813
  "attributes": {
3814
3814
  "constant": false,
3815
3815
  "name": "_tradeContract",
3816
- "scope": 11422,
3816
+ "scope": 11510,
3817
3817
  "stateVariable": false,
3818
3818
  "storageLocation": "default",
3819
3819
  "type": "address",
@@ -3827,12 +3827,12 @@
3827
3827
  "stateMutability": "nonpayable",
3828
3828
  "type": "address"
3829
3829
  },
3830
- "id": 11390,
3830
+ "id": 11478,
3831
3831
  "name": "ElementaryTypeName",
3832
3832
  "src": "977:7:32"
3833
3833
  }
3834
3834
  ],
3835
- "id": 11391,
3835
+ "id": 11479,
3836
3836
  "name": "VariableDeclaration",
3837
3837
  "src": "977:22:32"
3838
3838
  },
@@ -3840,7 +3840,7 @@
3840
3840
  "attributes": {
3841
3841
  "constant": false,
3842
3842
  "name": "_securitiesRegistry",
3843
- "scope": 11422,
3843
+ "scope": 11510,
3844
3844
  "stateVariable": false,
3845
3845
  "storageLocation": "default",
3846
3846
  "type": "address",
@@ -3854,17 +3854,17 @@
3854
3854
  "stateMutability": "nonpayable",
3855
3855
  "type": "address"
3856
3856
  },
3857
- "id": 11392,
3857
+ "id": 11480,
3858
3858
  "name": "ElementaryTypeName",
3859
3859
  "src": "1001:7:32"
3860
3860
  }
3861
3861
  ],
3862
- "id": 11393,
3862
+ "id": 11481,
3863
3863
  "name": "VariableDeclaration",
3864
3864
  "src": "1001:27:32"
3865
3865
  }
3866
3866
  ],
3867
- "id": 11394,
3867
+ "id": 11482,
3868
3868
  "name": "ParameterList",
3869
3869
  "src": "935:94:32"
3870
3870
  },
@@ -3875,7 +3875,7 @@
3875
3875
  ]
3876
3876
  },
3877
3877
  "children": [],
3878
- "id": 11397,
3878
+ "id": 11485,
3879
3879
  "name": "ParameterList",
3880
3880
  "src": "1048:0:32"
3881
3881
  },
@@ -3894,12 +3894,12 @@
3894
3894
  "type": "modifier ()",
3895
3895
  "value": "initializer"
3896
3896
  },
3897
- "id": 11395,
3897
+ "id": 11483,
3898
3898
  "name": "Identifier",
3899
3899
  "src": "1037:11:32"
3900
3900
  }
3901
3901
  ],
3902
- "id": 11396,
3902
+ "id": 11484,
3903
3903
  "name": "ModifierInvocation",
3904
3904
  "src": "1037:11:32"
3905
3905
  },
@@ -3949,12 +3949,12 @@
3949
3949
  "type": "type(contract Ownable)",
3950
3950
  "value": "Ownable"
3951
3951
  },
3952
- "id": 11398,
3952
+ "id": 11486,
3953
3953
  "name": "Identifier",
3954
3954
  "src": "1059:7:32"
3955
3955
  }
3956
3956
  ],
3957
- "id": 11400,
3957
+ "id": 11488,
3958
3958
  "name": "MemberAccess",
3959
3959
  "src": "1059:18:32"
3960
3960
  },
@@ -3976,26 +3976,26 @@
3976
3976
  "overloadedDeclarations": [
3977
3977
  null
3978
3978
  ],
3979
- "referencedDeclaration": 13354,
3979
+ "referencedDeclaration": 13372,
3980
3980
  "type": "msg",
3981
3981
  "value": "msg"
3982
3982
  },
3983
- "id": 11401,
3983
+ "id": 11489,
3984
3984
  "name": "Identifier",
3985
3985
  "src": "1078:3:32"
3986
3986
  }
3987
3987
  ],
3988
- "id": 11402,
3988
+ "id": 11490,
3989
3989
  "name": "MemberAccess",
3990
3990
  "src": "1078:10:32"
3991
3991
  }
3992
3992
  ],
3993
- "id": 11403,
3993
+ "id": 11491,
3994
3994
  "name": "FunctionCall",
3995
3995
  "src": "1059:30:32"
3996
3996
  }
3997
3997
  ],
3998
- "id": 11404,
3998
+ "id": 11492,
3999
3999
  "name": "ExpressionStatement",
4000
4000
  "src": "1059:30:32"
4001
4001
  },
@@ -4018,11 +4018,11 @@
4018
4018
  "overloadedDeclarations": [
4019
4019
  null
4020
4020
  ],
4021
- "referencedDeclaration": 11376,
4021
+ "referencedDeclaration": 11464,
4022
4022
  "type": "address",
4023
4023
  "value": "via"
4024
4024
  },
4025
- "id": 11405,
4025
+ "id": 11493,
4026
4026
  "name": "Identifier",
4027
4027
  "src": "1100:3:32"
4028
4028
  },
@@ -4032,21 +4032,21 @@
4032
4032
  "overloadedDeclarations": [
4033
4033
  null
4034
4034
  ],
4035
- "referencedDeclaration": 11387,
4035
+ "referencedDeclaration": 11475,
4036
4036
  "type": "address",
4037
4037
  "value": "_viaFactory"
4038
4038
  },
4039
- "id": 11406,
4039
+ "id": 11494,
4040
4040
  "name": "Identifier",
4041
4041
  "src": "1106:11:32"
4042
4042
  }
4043
4043
  ],
4044
- "id": 11407,
4044
+ "id": 11495,
4045
4045
  "name": "Assignment",
4046
4046
  "src": "1100:17:32"
4047
4047
  }
4048
4048
  ],
4049
- "id": 11408,
4049
+ "id": 11496,
4050
4050
  "name": "ExpressionStatement",
4051
4051
  "src": "1100:17:32"
4052
4052
  },
@@ -4069,11 +4069,11 @@
4069
4069
  "overloadedDeclarations": [
4070
4070
  null
4071
4071
  ],
4072
- "referencedDeclaration": 11378,
4072
+ "referencedDeclaration": 11466,
4073
4073
  "type": "address",
4074
4074
  "value": "_pool"
4075
4075
  },
4076
- "id": 11409,
4076
+ "id": 11497,
4077
4077
  "name": "Identifier",
4078
4078
  "src": "1128:5:32"
4079
4079
  },
@@ -4083,21 +4083,21 @@
4083
4083
  "overloadedDeclarations": [
4084
4084
  null
4085
4085
  ],
4086
- "referencedDeclaration": 11389,
4086
+ "referencedDeclaration": 11477,
4087
4087
  "type": "address",
4088
4088
  "value": "_orderPool"
4089
4089
  },
4090
- "id": 11410,
4090
+ "id": 11498,
4091
4091
  "name": "Identifier",
4092
4092
  "src": "1136:10:32"
4093
4093
  }
4094
4094
  ],
4095
- "id": 11411,
4095
+ "id": 11499,
4096
4096
  "name": "Assignment",
4097
4097
  "src": "1128:18:32"
4098
4098
  }
4099
4099
  ],
4100
- "id": 11412,
4100
+ "id": 11500,
4101
4101
  "name": "ExpressionStatement",
4102
4102
  "src": "1128:18:32"
4103
4103
  },
@@ -4120,11 +4120,11 @@
4120
4120
  "overloadedDeclarations": [
4121
4121
  null
4122
4122
  ],
4123
- "referencedDeclaration": 11380,
4123
+ "referencedDeclaration": 11468,
4124
4124
  "type": "address",
4125
4125
  "value": "_trade"
4126
4126
  },
4127
- "id": 11413,
4127
+ "id": 11501,
4128
4128
  "name": "Identifier",
4129
4129
  "src": "1157:6:32"
4130
4130
  },
@@ -4134,21 +4134,21 @@
4134
4134
  "overloadedDeclarations": [
4135
4135
  null
4136
4136
  ],
4137
- "referencedDeclaration": 11391,
4137
+ "referencedDeclaration": 11479,
4138
4138
  "type": "address",
4139
4139
  "value": "_tradeContract"
4140
4140
  },
4141
- "id": 11414,
4141
+ "id": 11502,
4142
4142
  "name": "Identifier",
4143
4143
  "src": "1166:14:32"
4144
4144
  }
4145
4145
  ],
4146
- "id": 11415,
4146
+ "id": 11503,
4147
4147
  "name": "Assignment",
4148
4148
  "src": "1157:23:32"
4149
4149
  }
4150
4150
  ],
4151
- "id": 11416,
4151
+ "id": 11504,
4152
4152
  "name": "ExpressionStatement",
4153
4153
  "src": "1157:23:32"
4154
4154
  },
@@ -4171,11 +4171,11 @@
4171
4171
  "overloadedDeclarations": [
4172
4172
  null
4173
4173
  ],
4174
- "referencedDeclaration": 11382,
4174
+ "referencedDeclaration": 11470,
4175
4175
  "type": "address",
4176
4176
  "value": "_registry"
4177
4177
  },
4178
- "id": 11417,
4178
+ "id": 11505,
4179
4179
  "name": "Identifier",
4180
4180
  "src": "1191:9:32"
4181
4181
  },
@@ -4185,31 +4185,31 @@
4185
4185
  "overloadedDeclarations": [
4186
4186
  null
4187
4187
  ],
4188
- "referencedDeclaration": 11393,
4188
+ "referencedDeclaration": 11481,
4189
4189
  "type": "address",
4190
4190
  "value": "_securitiesRegistry"
4191
4191
  },
4192
- "id": 11418,
4192
+ "id": 11506,
4193
4193
  "name": "Identifier",
4194
4194
  "src": "1203:19:32"
4195
4195
  }
4196
4196
  ],
4197
- "id": 11419,
4197
+ "id": 11507,
4198
4198
  "name": "Assignment",
4199
4199
  "src": "1191:31:32"
4200
4200
  }
4201
4201
  ],
4202
- "id": 11420,
4202
+ "id": 11508,
4203
4203
  "name": "ExpressionStatement",
4204
4204
  "src": "1191:31:32"
4205
4205
  }
4206
4206
  ],
4207
- "id": 11421,
4207
+ "id": 11509,
4208
4208
  "name": "Block",
4209
4209
  "src": "1048:182:32"
4210
4210
  }
4211
4211
  ],
4212
- "id": 11422,
4212
+ "id": 11510,
4213
4213
  "name": "FunctionDefinition",
4214
4214
  "src": "916:314:32"
4215
4215
  },
@@ -4223,9 +4223,9 @@
4223
4223
  null
4224
4224
  ],
4225
4225
  "name": "getPool",
4226
- "scope": 11564,
4226
+ "scope": 11652,
4227
4227
  "stateMutability": "view",
4228
- "superFunction": 9162,
4228
+ "superFunction": 9194,
4229
4229
  "visibility": "external"
4230
4230
  },
4231
4231
  "children": [
@@ -4235,7 +4235,7 @@
4235
4235
  "attributes": {
4236
4236
  "constant": false,
4237
4237
  "name": "_security",
4238
- "scope": 11438,
4238
+ "scope": 11526,
4239
4239
  "stateVariable": false,
4240
4240
  "storageLocation": "default",
4241
4241
  "type": "address",
@@ -4249,12 +4249,12 @@
4249
4249
  "stateMutability": "nonpayable",
4250
4250
  "type": "address"
4251
4251
  },
4252
- "id": 11423,
4252
+ "id": 11511,
4253
4253
  "name": "ElementaryTypeName",
4254
4254
  "src": "1255:7:32"
4255
4255
  }
4256
4256
  ],
4257
- "id": 11424,
4257
+ "id": 11512,
4258
4258
  "name": "VariableDeclaration",
4259
4259
  "src": "1255:17:32"
4260
4260
  },
@@ -4262,7 +4262,7 @@
4262
4262
  "attributes": {
4263
4263
  "constant": false,
4264
4264
  "name": "_cash",
4265
- "scope": 11438,
4265
+ "scope": 11526,
4266
4266
  "stateVariable": false,
4267
4267
  "storageLocation": "default",
4268
4268
  "type": "address",
@@ -4276,17 +4276,17 @@
4276
4276
  "stateMutability": "nonpayable",
4277
4277
  "type": "address"
4278
4278
  },
4279
- "id": 11425,
4279
+ "id": 11513,
4280
4280
  "name": "ElementaryTypeName",
4281
4281
  "src": "1274:7:32"
4282
4282
  }
4283
4283
  ],
4284
- "id": 11426,
4284
+ "id": 11514,
4285
4285
  "name": "VariableDeclaration",
4286
4286
  "src": "1274:13:32"
4287
4287
  }
4288
4288
  ],
4289
- "id": 11427,
4289
+ "id": 11515,
4290
4290
  "name": "ParameterList",
4291
4291
  "src": "1254:34:32"
4292
4292
  },
@@ -4296,7 +4296,7 @@
4296
4296
  "attributes": {
4297
4297
  "constant": false,
4298
4298
  "name": "",
4299
- "scope": 11438,
4299
+ "scope": 11526,
4300
4300
  "stateVariable": false,
4301
4301
  "storageLocation": "default",
4302
4302
  "type": "address",
@@ -4310,17 +4310,17 @@
4310
4310
  "stateMutability": "nonpayable",
4311
4311
  "type": "address"
4312
4312
  },
4313
- "id": 11428,
4313
+ "id": 11516,
4314
4314
  "name": "ElementaryTypeName",
4315
4315
  "src": "1311:7:32"
4316
4316
  }
4317
4317
  ],
4318
- "id": 11429,
4318
+ "id": 11517,
4319
4319
  "name": "VariableDeclaration",
4320
4320
  "src": "1311:7:32"
4321
4321
  }
4322
4322
  ],
4323
- "id": 11430,
4323
+ "id": 11518,
4324
4324
  "name": "ParameterList",
4325
4325
  "src": "1310:9:32"
4326
4326
  },
@@ -4328,7 +4328,7 @@
4328
4328
  "children": [
4329
4329
  {
4330
4330
  "attributes": {
4331
- "functionReturnParameters": 11430
4331
+ "functionReturnParameters": 11518
4332
4332
  },
4333
4333
  "children": [
4334
4334
  {
@@ -4357,11 +4357,11 @@
4357
4357
  "overloadedDeclarations": [
4358
4358
  null
4359
4359
  ],
4360
- "referencedDeclaration": 11366,
4360
+ "referencedDeclaration": 11454,
4361
4361
  "type": "mapping(address => mapping(address => address))",
4362
4362
  "value": "pool"
4363
4363
  },
4364
- "id": 11431,
4364
+ "id": 11519,
4365
4365
  "name": "Identifier",
4366
4366
  "src": "1337:4:32"
4367
4367
  },
@@ -4371,16 +4371,16 @@
4371
4371
  "overloadedDeclarations": [
4372
4372
  null
4373
4373
  ],
4374
- "referencedDeclaration": 11424,
4374
+ "referencedDeclaration": 11512,
4375
4375
  "type": "address",
4376
4376
  "value": "_security"
4377
4377
  },
4378
- "id": 11432,
4378
+ "id": 11520,
4379
4379
  "name": "Identifier",
4380
4380
  "src": "1342:9:32"
4381
4381
  }
4382
4382
  ],
4383
- "id": 11433,
4383
+ "id": 11521,
4384
4384
  "name": "IndexAccess",
4385
4385
  "src": "1337:15:32"
4386
4386
  },
@@ -4390,31 +4390,31 @@
4390
4390
  "overloadedDeclarations": [
4391
4391
  null
4392
4392
  ],
4393
- "referencedDeclaration": 11426,
4393
+ "referencedDeclaration": 11514,
4394
4394
  "type": "address",
4395
4395
  "value": "_cash"
4396
4396
  },
4397
- "id": 11434,
4397
+ "id": 11522,
4398
4398
  "name": "Identifier",
4399
4399
  "src": "1353:5:32"
4400
4400
  }
4401
4401
  ],
4402
- "id": 11435,
4402
+ "id": 11523,
4403
4403
  "name": "IndexAccess",
4404
4404
  "src": "1337:22:32"
4405
4405
  }
4406
4406
  ],
4407
- "id": 11436,
4407
+ "id": 11524,
4408
4408
  "name": "Return",
4409
4409
  "src": "1330:29:32"
4410
4410
  }
4411
4411
  ],
4412
- "id": 11437,
4412
+ "id": 11525,
4413
4413
  "name": "Block",
4414
4414
  "src": "1319:48:32"
4415
4415
  }
4416
4416
  ],
4417
- "id": 11438,
4417
+ "id": 11526,
4418
4418
  "name": "FunctionDefinition",
4419
4419
  "src": "1238:129:32"
4420
4420
  },
@@ -4428,9 +4428,9 @@
4428
4428
  null
4429
4429
  ],
4430
4430
  "name": "confirmPool",
4431
- "scope": 11564,
4431
+ "scope": 11652,
4432
4432
  "stateMutability": "view",
4433
- "superFunction": 9169,
4433
+ "superFunction": 9201,
4434
4434
  "visibility": "external"
4435
4435
  },
4436
4436
  "children": [
@@ -4440,7 +4440,7 @@
4440
4440
  "attributes": {
4441
4441
  "constant": false,
4442
4442
  "name": "_pair",
4443
- "scope": 11476,
4443
+ "scope": 11564,
4444
4444
  "stateVariable": false,
4445
4445
  "storageLocation": "default",
4446
4446
  "type": "address",
@@ -4454,17 +4454,17 @@
4454
4454
  "stateMutability": "nonpayable",
4455
4455
  "type": "address"
4456
4456
  },
4457
- "id": 11439,
4457
+ "id": 11527,
4458
4458
  "name": "ElementaryTypeName",
4459
4459
  "src": "1396:7:32"
4460
4460
  }
4461
4461
  ],
4462
- "id": 11440,
4462
+ "id": 11528,
4463
4463
  "name": "VariableDeclaration",
4464
4464
  "src": "1396:13:32"
4465
4465
  }
4466
4466
  ],
4467
- "id": 11441,
4467
+ "id": 11529,
4468
4468
  "name": "ParameterList",
4469
4469
  "src": "1395:15:32"
4470
4470
  },
@@ -4474,7 +4474,7 @@
4474
4474
  "attributes": {
4475
4475
  "constant": false,
4476
4476
  "name": "",
4477
- "scope": 11476,
4477
+ "scope": 11564,
4478
4478
  "stateVariable": false,
4479
4479
  "storageLocation": "default",
4480
4480
  "type": "bool",
@@ -4487,17 +4487,17 @@
4487
4487
  "name": "bool",
4488
4488
  "type": "bool"
4489
4489
  },
4490
- "id": 11442,
4490
+ "id": 11530,
4491
4491
  "name": "ElementaryTypeName",
4492
4492
  "src": "1433:4:32"
4493
4493
  }
4494
4494
  ],
4495
- "id": 11443,
4495
+ "id": 11531,
4496
4496
  "name": "VariableDeclaration",
4497
4497
  "src": "1433:4:32"
4498
4498
  }
4499
4499
  ],
4500
- "id": 11444,
4500
+ "id": 11532,
4501
4501
  "name": "ParameterList",
4502
4502
  "src": "1432:6:32"
4503
4503
  },
@@ -4529,14 +4529,14 @@
4529
4529
  }
4530
4530
  ],
4531
4531
  "overloadedDeclarations": [
4532
- 13357,
4533
- 13358
4532
+ 13375,
4533
+ 13376
4534
4534
  ],
4535
- "referencedDeclaration": 13357,
4535
+ "referencedDeclaration": 13375,
4536
4536
  "type": "function (bool) pure",
4537
4537
  "value": "require"
4538
4538
  },
4539
- "id": 11445,
4539
+ "id": 11533,
4540
4540
  "name": "Identifier",
4541
4541
  "src": "1449:7:32"
4542
4542
  },
@@ -4573,16 +4573,16 @@
4573
4573
  "overloadedDeclarations": [
4574
4574
  null
4575
4575
  ],
4576
- "referencedDeclaration": 13354,
4576
+ "referencedDeclaration": 13372,
4577
4577
  "type": "msg",
4578
4578
  "value": "msg"
4579
4579
  },
4580
- "id": 11446,
4580
+ "id": 11534,
4581
4581
  "name": "Identifier",
4582
4582
  "src": "1457:3:32"
4583
4583
  }
4584
4584
  ],
4585
- "id": 11447,
4585
+ "id": 11535,
4586
4586
  "name": "MemberAccess",
4587
4587
  "src": "1457:10:32"
4588
4588
  },
@@ -4592,26 +4592,26 @@
4592
4592
  "overloadedDeclarations": [
4593
4593
  null
4594
4594
  ],
4595
- "referencedDeclaration": 11380,
4595
+ "referencedDeclaration": 11468,
4596
4596
  "type": "address",
4597
4597
  "value": "_trade"
4598
4598
  },
4599
- "id": 11448,
4599
+ "id": 11536,
4600
4600
  "name": "Identifier",
4601
4601
  "src": "1469:6:32"
4602
4602
  }
4603
4603
  ],
4604
- "id": 11449,
4604
+ "id": 11537,
4605
4605
  "name": "BinaryOperation",
4606
4606
  "src": "1457:18:32"
4607
4607
  }
4608
4608
  ],
4609
- "id": 11450,
4609
+ "id": 11538,
4610
4610
  "name": "FunctionCall",
4611
4611
  "src": "1449:27:32"
4612
4612
  }
4613
4613
  ],
4614
- "id": 11451,
4614
+ "id": 11539,
4615
4615
  "name": "ExpressionStatement",
4616
4616
  "src": "1449:27:32"
4617
4617
  },
@@ -4620,7 +4620,7 @@
4620
4620
  {
4621
4621
  "attributes": {
4622
4622
  "assignments": [
4623
- 11453
4623
+ 11541
4624
4624
  ]
4625
4625
  },
4626
4626
  "children": [
@@ -4628,7 +4628,7 @@
4628
4628
  "attributes": {
4629
4629
  "constant": false,
4630
4630
  "name": "i",
4631
- "scope": 11472,
4631
+ "scope": 11560,
4632
4632
  "stateVariable": false,
4633
4633
  "storageLocation": "default",
4634
4634
  "type": "uint256",
@@ -4641,12 +4641,12 @@
4641
4641
  "name": "uint",
4642
4642
  "type": "uint256"
4643
4643
  },
4644
- "id": 11452,
4644
+ "id": 11540,
4645
4645
  "name": "ElementaryTypeName",
4646
4646
  "src": "1491:4:32"
4647
4647
  }
4648
4648
  ],
4649
- "id": 11453,
4649
+ "id": 11541,
4650
4650
  "name": "VariableDeclaration",
4651
4651
  "src": "1491:6:32"
4652
4652
  },
@@ -4663,12 +4663,12 @@
4663
4663
  "type": "int_const 0",
4664
4664
  "value": "0"
4665
4665
  },
4666
- "id": 11454,
4666
+ "id": 11542,
4667
4667
  "name": "Literal",
4668
4668
  "src": "1498:1:32"
4669
4669
  }
4670
4670
  ],
4671
- "id": 11455,
4671
+ "id": 11543,
4672
4672
  "name": "VariableDeclarationStatement",
4673
4673
  "src": "1491:8:32"
4674
4674
  },
@@ -4693,11 +4693,11 @@
4693
4693
  "overloadedDeclarations": [
4694
4694
  null
4695
4695
  ],
4696
- "referencedDeclaration": 11453,
4696
+ "referencedDeclaration": 11541,
4697
4697
  "type": "uint256",
4698
4698
  "value": "i"
4699
4699
  },
4700
- "id": 11456,
4700
+ "id": 11544,
4701
4701
  "name": "Identifier",
4702
4702
  "src": "1501:1:32"
4703
4703
  },
@@ -4719,21 +4719,21 @@
4719
4719
  "overloadedDeclarations": [
4720
4720
  null
4721
4721
  ],
4722
- "referencedDeclaration": 11385,
4722
+ "referencedDeclaration": 11473,
4723
4723
  "type": "address[] storage ref",
4724
4724
  "value": "pairs"
4725
4725
  },
4726
- "id": 11457,
4726
+ "id": 11545,
4727
4727
  "name": "Identifier",
4728
4728
  "src": "1503:5:32"
4729
4729
  }
4730
4730
  ],
4731
- "id": 11458,
4731
+ "id": 11546,
4732
4732
  "name": "MemberAccess",
4733
4733
  "src": "1503:12:32"
4734
4734
  }
4735
4735
  ],
4736
- "id": 11459,
4736
+ "id": 11547,
4737
4737
  "name": "BinaryOperation",
4738
4738
  "src": "1501:14:32"
4739
4739
  },
@@ -4757,21 +4757,21 @@
4757
4757
  "overloadedDeclarations": [
4758
4758
  null
4759
4759
  ],
4760
- "referencedDeclaration": 11453,
4760
+ "referencedDeclaration": 11541,
4761
4761
  "type": "uint256",
4762
4762
  "value": "i"
4763
4763
  },
4764
- "id": 11460,
4764
+ "id": 11548,
4765
4765
  "name": "Identifier",
4766
4766
  "src": "1517:1:32"
4767
4767
  }
4768
4768
  ],
4769
- "id": 11461,
4769
+ "id": 11549,
4770
4770
  "name": "UnaryOperation",
4771
4771
  "src": "1517:3:32"
4772
4772
  }
4773
4773
  ],
4774
- "id": 11462,
4774
+ "id": 11550,
4775
4775
  "name": "ExpressionStatement",
4776
4776
  "src": "1517:3:32"
4777
4777
  },
@@ -4813,11 +4813,11 @@
4813
4813
  "overloadedDeclarations": [
4814
4814
  null
4815
4815
  ],
4816
- "referencedDeclaration": 11385,
4816
+ "referencedDeclaration": 11473,
4817
4817
  "type": "address[] storage ref",
4818
4818
  "value": "pairs"
4819
4819
  },
4820
- "id": 11463,
4820
+ "id": 11551,
4821
4821
  "name": "Identifier",
4822
4822
  "src": "1539:5:32"
4823
4823
  },
@@ -4827,16 +4827,16 @@
4827
4827
  "overloadedDeclarations": [
4828
4828
  null
4829
4829
  ],
4830
- "referencedDeclaration": 11453,
4830
+ "referencedDeclaration": 11541,
4831
4831
  "type": "uint256",
4832
4832
  "value": "i"
4833
4833
  },
4834
- "id": 11464,
4834
+ "id": 11552,
4835
4835
  "name": "Identifier",
4836
4836
  "src": "1545:1:32"
4837
4837
  }
4838
4838
  ],
4839
- "id": 11465,
4839
+ "id": 11553,
4840
4840
  "name": "IndexAccess",
4841
4841
  "src": "1539:8:32"
4842
4842
  },
@@ -4846,22 +4846,22 @@
4846
4846
  "overloadedDeclarations": [
4847
4847
  null
4848
4848
  ],
4849
- "referencedDeclaration": 11440,
4849
+ "referencedDeclaration": 11528,
4850
4850
  "type": "address",
4851
4851
  "value": "_pair"
4852
4852
  },
4853
- "id": 11466,
4853
+ "id": 11554,
4854
4854
  "name": "Identifier",
4855
4855
  "src": "1549:5:32"
4856
4856
  }
4857
4857
  ],
4858
- "id": 11467,
4858
+ "id": 11555,
4859
4859
  "name": "BinaryOperation",
4860
4860
  "src": "1539:15:32"
4861
4861
  },
4862
4862
  {
4863
4863
  "attributes": {
4864
- "functionReturnParameters": 11444
4864
+ "functionReturnParameters": 11532
4865
4865
  },
4866
4866
  "children": [
4867
4867
  {
@@ -4877,33 +4877,33 @@
4877
4877
  "type": "bool",
4878
4878
  "value": "true"
4879
4879
  },
4880
- "id": 11468,
4880
+ "id": 11556,
4881
4881
  "name": "Literal",
4882
4882
  "src": "1580:4:32"
4883
4883
  }
4884
4884
  ],
4885
- "id": 11469,
4885
+ "id": 11557,
4886
4886
  "name": "Return",
4887
4887
  "src": "1573:11:32"
4888
4888
  }
4889
4889
  ],
4890
- "id": 11470,
4890
+ "id": 11558,
4891
4891
  "name": "IfStatement",
4892
4892
  "src": "1536:48:32"
4893
4893
  }
4894
4894
  ],
4895
- "id": 11471,
4895
+ "id": 11559,
4896
4896
  "name": "Block",
4897
4897
  "src": "1521:75:32"
4898
4898
  }
4899
4899
  ],
4900
- "id": 11472,
4900
+ "id": 11560,
4901
4901
  "name": "ForStatement",
4902
4902
  "src": "1487:109:32"
4903
4903
  },
4904
4904
  {
4905
4905
  "attributes": {
4906
- "functionReturnParameters": 11444
4906
+ "functionReturnParameters": 11532
4907
4907
  },
4908
4908
  "children": [
4909
4909
  {
@@ -4919,22 +4919,22 @@
4919
4919
  "type": "bool",
4920
4920
  "value": "false"
4921
4921
  },
4922
- "id": 11473,
4922
+ "id": 11561,
4923
4923
  "name": "Literal",
4924
4924
  "src": "1613:5:32"
4925
4925
  }
4926
4926
  ],
4927
- "id": 11474,
4927
+ "id": 11562,
4928
4928
  "name": "Return",
4929
4929
  "src": "1606:12:32"
4930
4930
  }
4931
4931
  ],
4932
- "id": 11475,
4932
+ "id": 11563,
4933
4933
  "name": "Block",
4934
4934
  "src": "1438:188:32"
4935
4935
  }
4936
4936
  ],
4937
- "id": 11476,
4937
+ "id": 11564,
4938
4938
  "name": "FunctionDefinition",
4939
4939
  "src": "1375:251:32"
4940
4940
  },
@@ -4948,9 +4948,9 @@
4948
4948
  null
4949
4949
  ],
4950
4950
  "name": "createPool",
4951
- "scope": 11564,
4951
+ "scope": 11652,
4952
4952
  "stateMutability": "nonpayable",
4953
- "superFunction": 9153,
4953
+ "superFunction": 9185,
4954
4954
  "visibility": "external"
4955
4955
  },
4956
4956
  "children": [
@@ -4960,7 +4960,7 @@
4960
4960
  "attributes": {
4961
4961
  "constant": false,
4962
4962
  "name": "_security",
4963
- "scope": 11563,
4963
+ "scope": 11651,
4964
4964
  "stateVariable": false,
4965
4965
  "storageLocation": "default",
4966
4966
  "type": "address",
@@ -4974,12 +4974,12 @@
4974
4974
  "stateMutability": "nonpayable",
4975
4975
  "type": "address"
4976
4976
  },
4977
- "id": 11477,
4977
+ "id": 11565,
4978
4978
  "name": "ElementaryTypeName",
4979
4979
  "src": "1654:7:32"
4980
4980
  }
4981
4981
  ],
4982
- "id": 11478,
4982
+ "id": 11566,
4983
4983
  "name": "VariableDeclaration",
4984
4984
  "src": "1654:17:32"
4985
4985
  },
@@ -4987,7 +4987,7 @@
4987
4987
  "attributes": {
4988
4988
  "constant": false,
4989
4989
  "name": "_cash",
4990
- "scope": 11563,
4990
+ "scope": 11651,
4991
4991
  "stateVariable": false,
4992
4992
  "storageLocation": "default",
4993
4993
  "type": "address",
@@ -5001,12 +5001,12 @@
5001
5001
  "stateMutability": "nonpayable",
5002
5002
  "type": "address"
5003
5003
  },
5004
- "id": 11479,
5004
+ "id": 11567,
5005
5005
  "name": "ElementaryTypeName",
5006
5006
  "src": "1673:7:32"
5007
5007
  }
5008
5008
  ],
5009
- "id": 11480,
5009
+ "id": 11568,
5010
5010
  "name": "VariableDeclaration",
5011
5011
  "src": "1673:13:32"
5012
5012
  },
@@ -5014,7 +5014,7 @@
5014
5014
  "attributes": {
5015
5015
  "constant": false,
5016
5016
  "name": "_currency",
5017
- "scope": 11563,
5017
+ "scope": 11651,
5018
5018
  "stateVariable": false,
5019
5019
  "storageLocation": "default",
5020
5020
  "type": "bytes32",
@@ -5027,12 +5027,12 @@
5027
5027
  "name": "bytes32",
5028
5028
  "type": "bytes32"
5029
5029
  },
5030
- "id": 11481,
5030
+ "id": 11569,
5031
5031
  "name": "ElementaryTypeName",
5032
5032
  "src": "1688:7:32"
5033
5033
  }
5034
5034
  ],
5035
- "id": 11482,
5035
+ "id": 11570,
5036
5036
  "name": "VariableDeclaration",
5037
5037
  "src": "1688:17:32"
5038
5038
  },
@@ -5040,7 +5040,7 @@
5040
5040
  "attributes": {
5041
5041
  "constant": false,
5042
5042
  "name": "_settlementType",
5043
- "scope": 11563,
5043
+ "scope": 11651,
5044
5044
  "stateVariable": false,
5045
5045
  "storageLocation": "default",
5046
5046
  "type": "bytes32",
@@ -5053,17 +5053,17 @@
5053
5053
  "name": "bytes32",
5054
5054
  "type": "bytes32"
5055
5055
  },
5056
- "id": 11483,
5056
+ "id": 11571,
5057
5057
  "name": "ElementaryTypeName",
5058
5058
  "src": "1707:7:32"
5059
5059
  }
5060
5060
  ],
5061
- "id": 11484,
5061
+ "id": 11572,
5062
5062
  "name": "VariableDeclaration",
5063
5063
  "src": "1707:23:32"
5064
5064
  }
5065
5065
  ],
5066
- "id": 11485,
5066
+ "id": 11573,
5067
5067
  "name": "ParameterList",
5068
5068
  "src": "1653:78:32"
5069
5069
  },
@@ -5074,7 +5074,7 @@
5074
5074
  ]
5075
5075
  },
5076
5076
  "children": [],
5077
- "id": 11486,
5077
+ "id": 11574,
5078
5078
  "name": "ParameterList",
5079
5079
  "src": "1741:0:32"
5080
5080
  },
@@ -5106,14 +5106,14 @@
5106
5106
  }
5107
5107
  ],
5108
5108
  "overloadedDeclarations": [
5109
- 13357,
5110
- 13358
5109
+ 13375,
5110
+ 13376
5111
5111
  ],
5112
- "referencedDeclaration": 13357,
5112
+ "referencedDeclaration": 13375,
5113
5113
  "type": "function (bool) pure",
5114
5114
  "value": "require"
5115
5115
  },
5116
- "id": 11487,
5116
+ "id": 11575,
5117
5117
  "name": "Identifier",
5118
5118
  "src": "1752:7:32"
5119
5119
  },
@@ -5150,16 +5150,16 @@
5150
5150
  "overloadedDeclarations": [
5151
5151
  null
5152
5152
  ],
5153
- "referencedDeclaration": 13354,
5153
+ "referencedDeclaration": 13372,
5154
5154
  "type": "msg",
5155
5155
  "value": "msg"
5156
5156
  },
5157
- "id": 11488,
5157
+ "id": 11576,
5158
5158
  "name": "Identifier",
5159
5159
  "src": "1760:3:32"
5160
5160
  }
5161
5161
  ],
5162
- "id": 11489,
5162
+ "id": 11577,
5163
5163
  "name": "MemberAccess",
5164
5164
  "src": "1760:10:32"
5165
5165
  },
@@ -5169,26 +5169,26 @@
5169
5169
  "overloadedDeclarations": [
5170
5170
  null
5171
5171
  ],
5172
- "referencedDeclaration": 11382,
5172
+ "referencedDeclaration": 11470,
5173
5173
  "type": "address",
5174
5174
  "value": "_registry"
5175
5175
  },
5176
- "id": 11490,
5176
+ "id": 11578,
5177
5177
  "name": "Identifier",
5178
5178
  "src": "1772:9:32"
5179
5179
  }
5180
5180
  ],
5181
- "id": 11491,
5181
+ "id": 11579,
5182
5182
  "name": "BinaryOperation",
5183
5183
  "src": "1760:21:32"
5184
5184
  }
5185
5185
  ],
5186
- "id": 11492,
5186
+ "id": 11580,
5187
5187
  "name": "FunctionCall",
5188
5188
  "src": "1752:30:32"
5189
5189
  }
5190
5190
  ],
5191
- "id": 11493,
5191
+ "id": 11581,
5192
5192
  "name": "ExpressionStatement",
5193
5193
  "src": "1752:30:32"
5194
5194
  },
@@ -5218,14 +5218,14 @@
5218
5218
  }
5219
5219
  ],
5220
5220
  "overloadedDeclarations": [
5221
- 13357,
5222
- 13358
5221
+ 13375,
5222
+ 13376
5223
5223
  ],
5224
- "referencedDeclaration": 13357,
5224
+ "referencedDeclaration": 13375,
5225
5225
  "type": "function (bool) pure",
5226
5226
  "value": "require"
5227
5227
  },
5228
- "id": 11494,
5228
+ "id": 11582,
5229
5229
  "name": "Identifier",
5230
5230
  "src": "1793:7:32"
5231
5231
  },
@@ -5250,11 +5250,11 @@
5250
5250
  "overloadedDeclarations": [
5251
5251
  null
5252
5252
  ],
5253
- "referencedDeclaration": 11478,
5253
+ "referencedDeclaration": 11566,
5254
5254
  "type": "address",
5255
5255
  "value": "_security"
5256
5256
  },
5257
- "id": 11495,
5257
+ "id": 11583,
5258
5258
  "name": "Identifier",
5259
5259
  "src": "1801:9:32"
5260
5260
  },
@@ -5264,26 +5264,26 @@
5264
5264
  "overloadedDeclarations": [
5265
5265
  null
5266
5266
  ],
5267
- "referencedDeclaration": 11480,
5267
+ "referencedDeclaration": 11568,
5268
5268
  "type": "address",
5269
5269
  "value": "_cash"
5270
5270
  },
5271
- "id": 11496,
5271
+ "id": 11584,
5272
5272
  "name": "Identifier",
5273
5273
  "src": "1812:5:32"
5274
5274
  }
5275
5275
  ],
5276
- "id": 11497,
5276
+ "id": 11585,
5277
5277
  "name": "BinaryOperation",
5278
5278
  "src": "1801:16:32"
5279
5279
  }
5280
5280
  ],
5281
- "id": 11498,
5281
+ "id": 11586,
5282
5282
  "name": "FunctionCall",
5283
5283
  "src": "1793:25:32"
5284
5284
  }
5285
5285
  ],
5286
- "id": 11499,
5286
+ "id": 11587,
5287
5287
  "name": "ExpressionStatement",
5288
5288
  "src": "1793:25:32"
5289
5289
  },
@@ -5313,14 +5313,14 @@
5313
5313
  }
5314
5314
  ],
5315
5315
  "overloadedDeclarations": [
5316
- 13357,
5317
- 13358
5316
+ 13375,
5317
+ 13376
5318
5318
  ],
5319
- "referencedDeclaration": 13357,
5319
+ "referencedDeclaration": 13375,
5320
5320
  "type": "function (bool) pure",
5321
5321
  "value": "require"
5322
5322
  },
5323
- "id": 11500,
5323
+ "id": 11588,
5324
5324
  "name": "Identifier",
5325
5325
  "src": "1829:7:32"
5326
5326
  },
@@ -5371,7 +5371,7 @@
5371
5371
  "isPure": false,
5372
5372
  "lValueRequested": false,
5373
5373
  "member_name": "getTokenByNameType",
5374
- "referencedDeclaration": 10001,
5374
+ "referencedDeclaration": 10048,
5375
5375
  "type": "function (bytes32,bytes32) view external returns (address)"
5376
5376
  },
5377
5377
  "children": [
@@ -5401,11 +5401,11 @@
5401
5401
  "overloadedDeclarations": [
5402
5402
  null
5403
5403
  ],
5404
- "referencedDeclaration": 10062,
5404
+ "referencedDeclaration": 10109,
5405
5405
  "type": "type(contract ViaFactory)",
5406
5406
  "value": "ViaFactory"
5407
5407
  },
5408
- "id": 11501,
5408
+ "id": 11589,
5409
5409
  "name": "Identifier",
5410
5410
  "src": "1837:10:32"
5411
5411
  },
@@ -5415,21 +5415,21 @@
5415
5415
  "overloadedDeclarations": [
5416
5416
  null
5417
5417
  ],
5418
- "referencedDeclaration": 11376,
5418
+ "referencedDeclaration": 11464,
5419
5419
  "type": "address",
5420
5420
  "value": "via"
5421
5421
  },
5422
- "id": 11502,
5422
+ "id": 11590,
5423
5423
  "name": "Identifier",
5424
5424
  "src": "1848:3:32"
5425
5425
  }
5426
5426
  ],
5427
- "id": 11503,
5427
+ "id": 11591,
5428
5428
  "name": "FunctionCall",
5429
5429
  "src": "1837:15:32"
5430
5430
  }
5431
5431
  ],
5432
- "id": 11504,
5432
+ "id": 11592,
5433
5433
  "name": "MemberAccess",
5434
5434
  "src": "1837:34:32"
5435
5435
  },
@@ -5439,11 +5439,11 @@
5439
5439
  "overloadedDeclarations": [
5440
5440
  null
5441
5441
  ],
5442
- "referencedDeclaration": 11482,
5442
+ "referencedDeclaration": 11570,
5443
5443
  "type": "bytes32",
5444
5444
  "value": "_currency"
5445
5445
  },
5446
- "id": 11505,
5446
+ "id": 11593,
5447
5447
  "name": "Identifier",
5448
5448
  "src": "1872:9:32"
5449
5449
  },
@@ -5460,12 +5460,12 @@
5460
5460
  "type": "literal_string \"ViaCash\"",
5461
5461
  "value": "ViaCash"
5462
5462
  },
5463
- "id": 11506,
5463
+ "id": 11594,
5464
5464
  "name": "Literal",
5465
5465
  "src": "1883:9:32"
5466
5466
  }
5467
5467
  ],
5468
- "id": 11507,
5468
+ "id": 11595,
5469
5469
  "name": "FunctionCall",
5470
5470
  "src": "1837:56:32"
5471
5471
  },
@@ -5475,26 +5475,26 @@
5475
5475
  "overloadedDeclarations": [
5476
5476
  null
5477
5477
  ],
5478
- "referencedDeclaration": 11480,
5478
+ "referencedDeclaration": 11568,
5479
5479
  "type": "address",
5480
5480
  "value": "_cash"
5481
5481
  },
5482
- "id": 11508,
5482
+ "id": 11596,
5483
5483
  "name": "Identifier",
5484
5484
  "src": "1895:5:32"
5485
5485
  }
5486
5486
  ],
5487
- "id": 11509,
5487
+ "id": 11597,
5488
5488
  "name": "BinaryOperation",
5489
5489
  "src": "1837:63:32"
5490
5490
  }
5491
5491
  ],
5492
- "id": 11510,
5492
+ "id": 11598,
5493
5493
  "name": "FunctionCall",
5494
5494
  "src": "1829:72:32"
5495
5495
  }
5496
5496
  ],
5497
- "id": 11511,
5497
+ "id": 11599,
5498
5498
  "name": "ExpressionStatement",
5499
5499
  "src": "1829:72:32"
5500
5500
  },
@@ -5544,11 +5544,11 @@
5544
5544
  "overloadedDeclarations": [
5545
5545
  null
5546
5546
  ],
5547
- "referencedDeclaration": 11366,
5547
+ "referencedDeclaration": 11454,
5548
5548
  "type": "mapping(address => mapping(address => address))",
5549
5549
  "value": "pool"
5550
5550
  },
5551
- "id": 11512,
5551
+ "id": 11600,
5552
5552
  "name": "Identifier",
5553
5553
  "src": "1917:4:32"
5554
5554
  },
@@ -5558,16 +5558,16 @@
5558
5558
  "overloadedDeclarations": [
5559
5559
  null
5560
5560
  ],
5561
- "referencedDeclaration": 11478,
5561
+ "referencedDeclaration": 11566,
5562
5562
  "type": "address",
5563
5563
  "value": "_security"
5564
5564
  },
5565
- "id": 11513,
5565
+ "id": 11601,
5566
5566
  "name": "Identifier",
5567
5567
  "src": "1922:9:32"
5568
5568
  }
5569
5569
  ],
5570
- "id": 11514,
5570
+ "id": 11602,
5571
5571
  "name": "IndexAccess",
5572
5572
  "src": "1917:15:32"
5573
5573
  },
@@ -5577,16 +5577,16 @@
5577
5577
  "overloadedDeclarations": [
5578
5578
  null
5579
5579
  ],
5580
- "referencedDeclaration": 11480,
5580
+ "referencedDeclaration": 11568,
5581
5581
  "type": "address",
5582
5582
  "value": "_cash"
5583
5583
  },
5584
- "id": 11515,
5584
+ "id": 11603,
5585
5585
  "name": "Identifier",
5586
5586
  "src": "1933:5:32"
5587
5587
  }
5588
5588
  ],
5589
- "id": 11516,
5589
+ "id": 11604,
5590
5590
  "name": "IndexAccess",
5591
5591
  "src": "1917:22:32"
5592
5592
  },
@@ -5620,7 +5620,7 @@
5620
5620
  "type": "type(address)",
5621
5621
  "value": "address"
5622
5622
  },
5623
- "id": 11517,
5623
+ "id": 11605,
5624
5624
  "name": "ElementaryTypeNameExpression",
5625
5625
  "src": "1941:7:32"
5626
5626
  },
@@ -5637,17 +5637,17 @@
5637
5637
  "type": "int_const 0",
5638
5638
  "value": "0x0"
5639
5639
  },
5640
- "id": 11518,
5640
+ "id": 11606,
5641
5641
  "name": "Literal",
5642
5642
  "src": "1949:3:32"
5643
5643
  }
5644
5644
  ],
5645
- "id": 11519,
5645
+ "id": 11607,
5646
5646
  "name": "FunctionCall",
5647
5647
  "src": "1941:12:32"
5648
5648
  }
5649
5649
  ],
5650
- "id": 11520,
5650
+ "id": 11608,
5651
5651
  "name": "BinaryOperation",
5652
5652
  "src": "1917:36:32"
5653
5653
  },
@@ -5656,7 +5656,7 @@
5656
5656
  {
5657
5657
  "attributes": {
5658
5658
  "assignments": [
5659
- 11522
5659
+ 11610
5660
5660
  ]
5661
5661
  },
5662
5662
  "children": [
@@ -5664,7 +5664,7 @@
5664
5664
  "attributes": {
5665
5665
  "constant": false,
5666
5666
  "name": "_payload",
5667
- "scope": 11560,
5667
+ "scope": 11648,
5668
5668
  "stateVariable": false,
5669
5669
  "storageLocation": "memory",
5670
5670
  "type": "bytes",
@@ -5677,12 +5677,12 @@
5677
5677
  "name": "bytes",
5678
5678
  "type": "bytes"
5679
5679
  },
5680
- "id": 11521,
5680
+ "id": 11609,
5681
5681
  "name": "ElementaryTypeName",
5682
5682
  "src": "1969:5:32"
5683
5683
  }
5684
5684
  ],
5685
- "id": 11522,
5685
+ "id": 11610,
5686
5686
  "name": "VariableDeclaration",
5687
5687
  "src": "1969:21:32"
5688
5688
  },
@@ -5744,16 +5744,16 @@
5744
5744
  "overloadedDeclarations": [
5745
5745
  null
5746
5746
  ],
5747
- "referencedDeclaration": 13341,
5747
+ "referencedDeclaration": 13359,
5748
5748
  "type": "abi",
5749
5749
  "value": "abi"
5750
5750
  },
5751
- "id": 11523,
5751
+ "id": 11611,
5752
5752
  "name": "Identifier",
5753
5753
  "src": "1993:3:32"
5754
5754
  }
5755
5755
  ],
5756
- "id": 11524,
5756
+ "id": 11612,
5757
5757
  "name": "MemberAccess",
5758
5758
  "src": "1993:23:32"
5759
5759
  },
@@ -5770,7 +5770,7 @@
5770
5770
  "type": "literal_string \"initialize(address,address,address,bytes32,address)\"",
5771
5771
  "value": "initialize(address,address,address,bytes32,address)"
5772
5772
  },
5773
- "id": 11525,
5773
+ "id": 11613,
5774
5774
  "name": "Literal",
5775
5775
  "src": "2017:53:32"
5776
5776
  },
@@ -5780,11 +5780,11 @@
5780
5780
  "overloadedDeclarations": [
5781
5781
  null
5782
5782
  ],
5783
- "referencedDeclaration": 11478,
5783
+ "referencedDeclaration": 11566,
5784
5784
  "type": "address",
5785
5785
  "value": "_security"
5786
5786
  },
5787
- "id": 11526,
5787
+ "id": 11614,
5788
5788
  "name": "Identifier",
5789
5789
  "src": "2072:9:32"
5790
5790
  },
@@ -5794,11 +5794,11 @@
5794
5794
  "overloadedDeclarations": [
5795
5795
  null
5796
5796
  ],
5797
- "referencedDeclaration": 11480,
5797
+ "referencedDeclaration": 11568,
5798
5798
  "type": "address",
5799
5799
  "value": "_cash"
5800
5800
  },
5801
- "id": 11527,
5801
+ "id": 11615,
5802
5802
  "name": "Identifier",
5803
5803
  "src": "2083:5:32"
5804
5804
  },
@@ -5808,11 +5808,11 @@
5808
5808
  "overloadedDeclarations": [
5809
5809
  null
5810
5810
  ],
5811
- "referencedDeclaration": 11380,
5811
+ "referencedDeclaration": 11468,
5812
5812
  "type": "address",
5813
5813
  "value": "_trade"
5814
5814
  },
5815
- "id": 11528,
5815
+ "id": 11616,
5816
5816
  "name": "Identifier",
5817
5817
  "src": "2090:6:32"
5818
5818
  },
@@ -5822,11 +5822,11 @@
5822
5822
  "overloadedDeclarations": [
5823
5823
  null
5824
5824
  ],
5825
- "referencedDeclaration": 11484,
5825
+ "referencedDeclaration": 11572,
5826
5826
  "type": "bytes32",
5827
5827
  "value": "_settlementType"
5828
5828
  },
5829
- "id": 11529,
5829
+ "id": 11617,
5830
5830
  "name": "Identifier",
5831
5831
  "src": "2098:15:32"
5832
5832
  },
@@ -5836,28 +5836,28 @@
5836
5836
  "overloadedDeclarations": [
5837
5837
  null
5838
5838
  ],
5839
- "referencedDeclaration": 11376,
5839
+ "referencedDeclaration": 11464,
5840
5840
  "type": "address",
5841
5841
  "value": "via"
5842
5842
  },
5843
- "id": 11530,
5843
+ "id": 11618,
5844
5844
  "name": "Identifier",
5845
5845
  "src": "2114:3:32"
5846
5846
  }
5847
5847
  ],
5848
- "id": 11531,
5848
+ "id": 11619,
5849
5849
  "name": "FunctionCall",
5850
5850
  "src": "1993:125:32"
5851
5851
  }
5852
5852
  ],
5853
- "id": 11532,
5853
+ "id": 11620,
5854
5854
  "name": "VariableDeclarationStatement",
5855
5855
  "src": "1969:149:32"
5856
5856
  },
5857
5857
  {
5858
5858
  "attributes": {
5859
5859
  "assignments": [
5860
- 11534
5860
+ 11622
5861
5861
  ]
5862
5862
  },
5863
5863
  "children": [
@@ -5865,7 +5865,7 @@
5865
5865
  "attributes": {
5866
5866
  "constant": false,
5867
5867
  "name": "_pair",
5868
- "scope": 11560,
5868
+ "scope": 11648,
5869
5869
  "stateVariable": false,
5870
5870
  "storageLocation": "default",
5871
5871
  "type": "address",
@@ -5879,12 +5879,12 @@
5879
5879
  "stateMutability": "nonpayable",
5880
5880
  "type": "address"
5881
5881
  },
5882
- "id": 11533,
5882
+ "id": 11621,
5883
5883
  "name": "ElementaryTypeName",
5884
5884
  "src": "2135:7:32"
5885
5885
  }
5886
5886
  ],
5887
- "id": 11534,
5887
+ "id": 11622,
5888
5888
  "name": "VariableDeclaration",
5889
5889
  "src": "2135:13:32"
5890
5890
  },
@@ -5922,7 +5922,7 @@
5922
5922
  "type": "function (address,bytes memory) returns (address)",
5923
5923
  "value": "deployMinimal"
5924
5924
  },
5925
- "id": 11535,
5925
+ "id": 11623,
5926
5926
  "name": "Identifier",
5927
5927
  "src": "2151:13:32"
5928
5928
  },
@@ -5932,11 +5932,11 @@
5932
5932
  "overloadedDeclarations": [
5933
5933
  null
5934
5934
  ],
5935
- "referencedDeclaration": 11378,
5935
+ "referencedDeclaration": 11466,
5936
5936
  "type": "address",
5937
5937
  "value": "_pool"
5938
5938
  },
5939
- "id": 11536,
5939
+ "id": 11624,
5940
5940
  "name": "Identifier",
5941
5941
  "src": "2165:5:32"
5942
5942
  },
@@ -5946,21 +5946,21 @@
5946
5946
  "overloadedDeclarations": [
5947
5947
  null
5948
5948
  ],
5949
- "referencedDeclaration": 11522,
5949
+ "referencedDeclaration": 11610,
5950
5950
  "type": "bytes memory",
5951
5951
  "value": "_payload"
5952
5952
  },
5953
- "id": 11537,
5953
+ "id": 11625,
5954
5954
  "name": "Identifier",
5955
5955
  "src": "2172:8:32"
5956
5956
  }
5957
5957
  ],
5958
- "id": 11538,
5958
+ "id": 11626,
5959
5959
  "name": "FunctionCall",
5960
5960
  "src": "2151:30:32"
5961
5961
  }
5962
5962
  ],
5963
- "id": 11539,
5963
+ "id": 11627,
5964
5964
  "name": "VariableDeclarationStatement",
5965
5965
  "src": "2135:46:32"
5966
5966
  },
@@ -6000,11 +6000,11 @@
6000
6000
  "overloadedDeclarations": [
6001
6001
  null
6002
6002
  ],
6003
- "referencedDeclaration": 11374,
6003
+ "referencedDeclaration": 11462,
6004
6004
  "type": "function (address,address,address)",
6005
6005
  "value": "PoolCreated"
6006
6006
  },
6007
- "id": 11540,
6007
+ "id": 11628,
6008
6008
  "name": "Identifier",
6009
6009
  "src": "2201:11:32"
6010
6010
  },
@@ -6014,11 +6014,11 @@
6014
6014
  "overloadedDeclarations": [
6015
6015
  null
6016
6016
  ],
6017
- "referencedDeclaration": 11534,
6017
+ "referencedDeclaration": 11622,
6018
6018
  "type": "address",
6019
6019
  "value": "_pair"
6020
6020
  },
6021
- "id": 11541,
6021
+ "id": 11629,
6022
6022
  "name": "Identifier",
6023
6023
  "src": "2213:5:32"
6024
6024
  },
@@ -6028,11 +6028,11 @@
6028
6028
  "overloadedDeclarations": [
6029
6029
  null
6030
6030
  ],
6031
- "referencedDeclaration": 11478,
6031
+ "referencedDeclaration": 11566,
6032
6032
  "type": "address",
6033
6033
  "value": "_security"
6034
6034
  },
6035
- "id": 11542,
6035
+ "id": 11630,
6036
6036
  "name": "Identifier",
6037
6037
  "src": "2220:9:32"
6038
6038
  },
@@ -6042,21 +6042,21 @@
6042
6042
  "overloadedDeclarations": [
6043
6043
  null
6044
6044
  ],
6045
- "referencedDeclaration": 11480,
6045
+ "referencedDeclaration": 11568,
6046
6046
  "type": "address",
6047
6047
  "value": "_cash"
6048
6048
  },
6049
- "id": 11543,
6049
+ "id": 11631,
6050
6050
  "name": "Identifier",
6051
6051
  "src": "2231:5:32"
6052
6052
  }
6053
6053
  ],
6054
- "id": 11544,
6054
+ "id": 11632,
6055
6055
  "name": "FunctionCall",
6056
6056
  "src": "2201:36:32"
6057
6057
  }
6058
6058
  ],
6059
- "id": 11545,
6059
+ "id": 11633,
6060
6060
  "name": "EmitStatement",
6061
6061
  "src": "2196:41:32"
6062
6062
  },
@@ -6100,16 +6100,16 @@
6100
6100
  "overloadedDeclarations": [
6101
6101
  null
6102
6102
  ],
6103
- "referencedDeclaration": 11385,
6103
+ "referencedDeclaration": 11473,
6104
6104
  "type": "address[] storage ref",
6105
6105
  "value": "pairs"
6106
6106
  },
6107
- "id": 11546,
6107
+ "id": 11634,
6108
6108
  "name": "Identifier",
6109
6109
  "src": "2266:5:32"
6110
6110
  }
6111
6111
  ],
6112
- "id": 11548,
6112
+ "id": 11636,
6113
6113
  "name": "MemberAccess",
6114
6114
  "src": "2266:10:32"
6115
6115
  },
@@ -6119,21 +6119,21 @@
6119
6119
  "overloadedDeclarations": [
6120
6120
  null
6121
6121
  ],
6122
- "referencedDeclaration": 11534,
6122
+ "referencedDeclaration": 11622,
6123
6123
  "type": "address",
6124
6124
  "value": "_pair"
6125
6125
  },
6126
- "id": 11549,
6126
+ "id": 11637,
6127
6127
  "name": "Identifier",
6128
6128
  "src": "2277:5:32"
6129
6129
  }
6130
6130
  ],
6131
- "id": 11550,
6131
+ "id": 11638,
6132
6132
  "name": "FunctionCall",
6133
6133
  "src": "2266:17:32"
6134
6134
  }
6135
6135
  ],
6136
- "id": 11551,
6136
+ "id": 11639,
6137
6137
  "name": "ExpressionStatement",
6138
6138
  "src": "2266:17:32"
6139
6139
  },
@@ -6176,11 +6176,11 @@
6176
6176
  "overloadedDeclarations": [
6177
6177
  null
6178
6178
  ],
6179
- "referencedDeclaration": 11366,
6179
+ "referencedDeclaration": 11454,
6180
6180
  "type": "mapping(address => mapping(address => address))",
6181
6181
  "value": "pool"
6182
6182
  },
6183
- "id": 11552,
6183
+ "id": 11640,
6184
6184
  "name": "Identifier",
6185
6185
  "src": "2298:4:32"
6186
6186
  },
@@ -6190,16 +6190,16 @@
6190
6190
  "overloadedDeclarations": [
6191
6191
  null
6192
6192
  ],
6193
- "referencedDeclaration": 11478,
6193
+ "referencedDeclaration": 11566,
6194
6194
  "type": "address",
6195
6195
  "value": "_security"
6196
6196
  },
6197
- "id": 11553,
6197
+ "id": 11641,
6198
6198
  "name": "Identifier",
6199
6199
  "src": "2303:9:32"
6200
6200
  }
6201
6201
  ],
6202
- "id": 11555,
6202
+ "id": 11643,
6203
6203
  "name": "IndexAccess",
6204
6204
  "src": "2298:15:32"
6205
6205
  },
@@ -6209,16 +6209,16 @@
6209
6209
  "overloadedDeclarations": [
6210
6210
  null
6211
6211
  ],
6212
- "referencedDeclaration": 11480,
6212
+ "referencedDeclaration": 11568,
6213
6213
  "type": "address",
6214
6214
  "value": "_cash"
6215
6215
  },
6216
- "id": 11554,
6216
+ "id": 11642,
6217
6217
  "name": "Identifier",
6218
6218
  "src": "2314:5:32"
6219
6219
  }
6220
6220
  ],
6221
- "id": 11556,
6221
+ "id": 11644,
6222
6222
  "name": "IndexAccess",
6223
6223
  "src": "2298:22:32"
6224
6224
  },
@@ -6228,51 +6228,51 @@
6228
6228
  "overloadedDeclarations": [
6229
6229
  null
6230
6230
  ],
6231
- "referencedDeclaration": 11534,
6231
+ "referencedDeclaration": 11622,
6232
6232
  "type": "address",
6233
6233
  "value": "_pair"
6234
6234
  },
6235
- "id": 11557,
6235
+ "id": 11645,
6236
6236
  "name": "Identifier",
6237
6237
  "src": "2321:5:32"
6238
6238
  }
6239
6239
  ],
6240
- "id": 11558,
6240
+ "id": 11646,
6241
6241
  "name": "Assignment",
6242
6242
  "src": "2298:28:32"
6243
6243
  }
6244
6244
  ],
6245
- "id": 11559,
6245
+ "id": 11647,
6246
6246
  "name": "ExpressionStatement",
6247
6247
  "src": "2298:28:32"
6248
6248
  }
6249
6249
  ],
6250
- "id": 11560,
6250
+ "id": 11648,
6251
6251
  "name": "Block",
6252
6252
  "src": "1954:384:32"
6253
6253
  }
6254
6254
  ],
6255
- "id": 11561,
6255
+ "id": 11649,
6256
6256
  "name": "IfStatement",
6257
6257
  "src": "1914:424:32"
6258
6258
  }
6259
6259
  ],
6260
- "id": 11562,
6260
+ "id": 11650,
6261
6261
  "name": "Block",
6262
6262
  "src": "1741:604:32"
6263
6263
  }
6264
6264
  ],
6265
- "id": 11563,
6265
+ "id": 11651,
6266
6266
  "name": "FunctionDefinition",
6267
6267
  "src": "1634:711:32"
6268
6268
  }
6269
6269
  ],
6270
- "id": 11564,
6270
+ "id": 11652,
6271
6271
  "name": "ContractDefinition",
6272
6272
  "src": "470:1884:32"
6273
6273
  }
6274
6274
  ],
6275
- "id": 11565,
6275
+ "id": 11653,
6276
6276
  "name": "SourceUnit",
6277
6277
  "src": "53:2301:32"
6278
6278
  },
@@ -6336,12 +6336,12 @@
6336
6336
  }
6337
6337
  },
6338
6338
  "links": {},
6339
- "address": "0x67eC2206B8C663BD2d0A5114Bb83d0D4b31dD0FC",
6340
- "transactionHash": "0x0e713e83360a88c35d6bea43b88fc2f34de7289cea33f0cdbdd41c20f5098776"
6339
+ "address": "0xbF57Fb1eE2d13b42B80DF6Bd64EF7727F2eE4198",
6340
+ "transactionHash": "0x3a2eb8508a0585dc3f22f1148cd4544a938728979ffb1ef0e7480a8d36a15a80"
6341
6341
  }
6342
6342
  },
6343
6343
  "schemaVersion": "3.4.3",
6344
- "updatedAt": "2021-10-30T12:44:40.815Z",
6344
+ "updatedAt": "2021-11-25T12:37:54.960Z",
6345
6345
  "networkType": "ethereum",
6346
6346
  "devdoc": {
6347
6347
  "methods": {