@verified-network/verified-sdk 1.5.4 → 1.5.6
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.
|
@@ -209,8 +209,7 @@
|
|
|
209
209
|
}
|
|
210
210
|
],
|
|
211
211
|
"stateMutability": "view",
|
|
212
|
-
"type": "function"
|
|
213
|
-
"constant": true
|
|
212
|
+
"type": "function"
|
|
214
213
|
},
|
|
215
214
|
{
|
|
216
215
|
"inputs": [],
|
|
@@ -412,8 +411,7 @@
|
|
|
412
411
|
}
|
|
413
412
|
],
|
|
414
413
|
"stateMutability": "view",
|
|
415
|
-
"type": "function"
|
|
416
|
-
"constant": true
|
|
414
|
+
"type": "function"
|
|
417
415
|
},
|
|
418
416
|
{
|
|
419
417
|
"inputs": [
|
|
@@ -626,7 +624,7 @@
|
|
|
626
624
|
"id": 3692,
|
|
627
625
|
"nodeType": "ImportDirective",
|
|
628
626
|
"scope": 5673,
|
|
629
|
-
"sourceUnit":
|
|
627
|
+
"sourceUnit": 10387,
|
|
630
628
|
"src": "175:35:16",
|
|
631
629
|
"symbolAliases": [],
|
|
632
630
|
"unitAlias": ""
|
|
@@ -637,7 +635,7 @@
|
|
|
637
635
|
"id": 3693,
|
|
638
636
|
"nodeType": "ImportDirective",
|
|
639
637
|
"scope": 5673,
|
|
640
|
-
"sourceUnit":
|
|
638
|
+
"sourceUnit": 11359,
|
|
641
639
|
"src": "212:36:16",
|
|
642
640
|
"symbolAliases": [],
|
|
643
641
|
"unitAlias": ""
|
|
@@ -648,7 +646,7 @@
|
|
|
648
646
|
"id": 3694,
|
|
649
647
|
"nodeType": "ImportDirective",
|
|
650
648
|
"scope": 5673,
|
|
651
|
-
"sourceUnit":
|
|
649
|
+
"sourceUnit": 10817,
|
|
652
650
|
"src": "250:39:16",
|
|
653
651
|
"symbolAliases": [],
|
|
654
652
|
"unitAlias": ""
|
|
@@ -659,7 +657,7 @@
|
|
|
659
657
|
"id": 3695,
|
|
660
658
|
"nodeType": "ImportDirective",
|
|
661
659
|
"scope": 5673,
|
|
662
|
-
"sourceUnit":
|
|
660
|
+
"sourceUnit": 10727,
|
|
663
661
|
"src": "291:41:16",
|
|
664
662
|
"symbolAliases": [],
|
|
665
663
|
"unitAlias": ""
|
|
@@ -670,7 +668,7 @@
|
|
|
670
668
|
"id": 3696,
|
|
671
669
|
"nodeType": "ImportDirective",
|
|
672
670
|
"scope": 5673,
|
|
673
|
-
"sourceUnit":
|
|
671
|
+
"sourceUnit": 10861,
|
|
674
672
|
"src": "334:45:16",
|
|
675
673
|
"symbolAliases": [],
|
|
676
674
|
"unitAlias": ""
|
|
@@ -681,7 +679,7 @@
|
|
|
681
679
|
"id": 3697,
|
|
682
680
|
"nodeType": "ImportDirective",
|
|
683
681
|
"scope": 5673,
|
|
684
|
-
"sourceUnit":
|
|
682
|
+
"sourceUnit": 10893,
|
|
685
683
|
"src": "381:52:16",
|
|
686
684
|
"symbolAliases": [],
|
|
687
685
|
"unitAlias": ""
|
|
@@ -771,10 +769,10 @@
|
|
|
771
769
|
"id": 3705,
|
|
772
770
|
"name": "IMarginManager",
|
|
773
771
|
"nodeType": "UserDefinedTypeName",
|
|
774
|
-
"referencedDeclaration":
|
|
772
|
+
"referencedDeclaration": 10726,
|
|
775
773
|
"src": "982:14:16",
|
|
776
774
|
"typeDescriptions": {
|
|
777
|
-
"typeIdentifier": "t_contract$_IMarginManager_$
|
|
775
|
+
"typeIdentifier": "t_contract$_IMarginManager_$10726",
|
|
778
776
|
"typeString": "contract IMarginManager"
|
|
779
777
|
}
|
|
780
778
|
},
|
|
@@ -801,7 +799,7 @@
|
|
|
801
799
|
],
|
|
802
800
|
"contractDependencies": [
|
|
803
801
|
3045,
|
|
804
|
-
|
|
802
|
+
10726
|
|
805
803
|
],
|
|
806
804
|
"contractKind": "contract",
|
|
807
805
|
"fullyImplemented": true,
|
|
@@ -809,7 +807,7 @@
|
|
|
809
807
|
"linearizedBaseContracts": [
|
|
810
808
|
5672,
|
|
811
809
|
3045,
|
|
812
|
-
|
|
810
|
+
10726
|
|
813
811
|
],
|
|
814
812
|
"name": "MarginIssueManager",
|
|
815
813
|
"nodeType": "ContractDefinition",
|
|
@@ -922,17 +920,17 @@
|
|
|
922
920
|
"stateVariable": true,
|
|
923
921
|
"storageLocation": "default",
|
|
924
922
|
"typeDescriptions": {
|
|
925
|
-
"typeIdentifier": "t_contract$_IFactory_$
|
|
923
|
+
"typeIdentifier": "t_contract$_IFactory_$10386",
|
|
926
924
|
"typeString": "contract IFactory"
|
|
927
925
|
},
|
|
928
926
|
"typeName": {
|
|
929
927
|
"id": 3717,
|
|
930
928
|
"name": "IFactory",
|
|
931
929
|
"nodeType": "UserDefinedTypeName",
|
|
932
|
-
"referencedDeclaration":
|
|
930
|
+
"referencedDeclaration": 10386,
|
|
933
931
|
"src": "1177:8:16",
|
|
934
932
|
"typeDescriptions": {
|
|
935
|
-
"typeIdentifier": "t_contract$_IFactory_$
|
|
933
|
+
"typeIdentifier": "t_contract$_IFactory_$10386",
|
|
936
934
|
"typeString": "contract IFactory"
|
|
937
935
|
}
|
|
938
936
|
},
|
|
@@ -1554,7 +1552,7 @@
|
|
|
1554
1552
|
"stateVariable": true,
|
|
1555
1553
|
"storageLocation": "default",
|
|
1556
1554
|
"typeDescriptions": {
|
|
1557
|
-
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$
|
|
1555
|
+
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage_$_$",
|
|
1558
1556
|
"typeString": "mapping(address => mapping(address => struct IMarginManager.tradePosition[]))"
|
|
1559
1557
|
},
|
|
1560
1558
|
"typeName": {
|
|
@@ -1572,7 +1570,7 @@
|
|
|
1572
1570
|
"nodeType": "Mapping",
|
|
1573
1571
|
"src": "2351:70:16",
|
|
1574
1572
|
"typeDescriptions": {
|
|
1575
|
-
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$
|
|
1573
|
+
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage_$_$",
|
|
1576
1574
|
"typeString": "mapping(address => mapping(address => struct IMarginManager.tradePosition[]))"
|
|
1577
1575
|
},
|
|
1578
1576
|
"valueType": {
|
|
@@ -1590,7 +1588,7 @@
|
|
|
1590
1588
|
"nodeType": "Mapping",
|
|
1591
1589
|
"src": "2370:50:16",
|
|
1592
1590
|
"typeDescriptions": {
|
|
1593
|
-
"typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$
|
|
1591
|
+
"typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage_$",
|
|
1594
1592
|
"typeString": "mapping(address => struct IMarginManager.tradePosition[])"
|
|
1595
1593
|
},
|
|
1596
1594
|
"valueType": {
|
|
@@ -1598,10 +1596,10 @@
|
|
|
1598
1596
|
"id": 3771,
|
|
1599
1597
|
"name": "IMarginManager.tradePosition",
|
|
1600
1598
|
"nodeType": "UserDefinedTypeName",
|
|
1601
|
-
"referencedDeclaration":
|
|
1599
|
+
"referencedDeclaration": 10605,
|
|
1602
1600
|
"src": "2389:28:16",
|
|
1603
1601
|
"typeDescriptions": {
|
|
1604
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
1602
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_storage_ptr",
|
|
1605
1603
|
"typeString": "struct IMarginManager.tradePosition"
|
|
1606
1604
|
}
|
|
1607
1605
|
},
|
|
@@ -1609,7 +1607,7 @@
|
|
|
1609
1607
|
"nodeType": "ArrayTypeName",
|
|
1610
1608
|
"src": "2389:30:16",
|
|
1611
1609
|
"typeDescriptions": {
|
|
1612
|
-
"typeIdentifier": "t_array$_t_struct$_tradePosition_$
|
|
1610
|
+
"typeIdentifier": "t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage_ptr",
|
|
1613
1611
|
"typeString": "struct IMarginManager.tradePosition[]"
|
|
1614
1612
|
}
|
|
1615
1613
|
}
|
|
@@ -2473,7 +2471,7 @@
|
|
|
2473
2471
|
"referencedDeclaration": 3718,
|
|
2474
2472
|
"src": "3607:16:16",
|
|
2475
2473
|
"typeDescriptions": {
|
|
2476
|
-
"typeIdentifier": "t_contract$_IFactory_$
|
|
2474
|
+
"typeIdentifier": "t_contract$_IFactory_$10386",
|
|
2477
2475
|
"typeString": "contract IFactory"
|
|
2478
2476
|
}
|
|
2479
2477
|
},
|
|
@@ -2484,7 +2482,7 @@
|
|
|
2484
2482
|
"lValueRequested": false,
|
|
2485
2483
|
"memberName": "getDP",
|
|
2486
2484
|
"nodeType": "MemberAccess",
|
|
2487
|
-
"referencedDeclaration":
|
|
2485
|
+
"referencedDeclaration": 10385,
|
|
2488
2486
|
"src": "3607:22:16",
|
|
2489
2487
|
"typeDescriptions": {
|
|
2490
2488
|
"typeIdentifier": "t_function_external_view$_t_address_$returns$_t_address_$",
|
|
@@ -3040,7 +3038,7 @@
|
|
|
3040
3038
|
"referencedDeclaration": 3718,
|
|
3041
3039
|
"src": "4164:16:16",
|
|
3042
3040
|
"typeDescriptions": {
|
|
3043
|
-
"typeIdentifier": "t_contract$_IFactory_$
|
|
3041
|
+
"typeIdentifier": "t_contract$_IFactory_$10386",
|
|
3044
3042
|
"typeString": "contract IFactory"
|
|
3045
3043
|
}
|
|
3046
3044
|
},
|
|
@@ -3072,10 +3070,10 @@
|
|
|
3072
3070
|
"name": "IFactory",
|
|
3073
3071
|
"nodeType": "Identifier",
|
|
3074
3072
|
"overloadedDeclarations": [],
|
|
3075
|
-
"referencedDeclaration":
|
|
3073
|
+
"referencedDeclaration": 10386,
|
|
3076
3074
|
"src": "4183:8:16",
|
|
3077
3075
|
"typeDescriptions": {
|
|
3078
|
-
"typeIdentifier": "t_type$_t_contract$_IFactory_$
|
|
3076
|
+
"typeIdentifier": "t_type$_t_contract$_IFactory_$10386_$",
|
|
3079
3077
|
"typeString": "type(contract IFactory)"
|
|
3080
3078
|
}
|
|
3081
3079
|
},
|
|
@@ -3090,13 +3088,13 @@
|
|
|
3090
3088
|
"src": "4183:25:16",
|
|
3091
3089
|
"tryCall": false,
|
|
3092
3090
|
"typeDescriptions": {
|
|
3093
|
-
"typeIdentifier": "t_contract$_IFactory_$
|
|
3091
|
+
"typeIdentifier": "t_contract$_IFactory_$10386",
|
|
3094
3092
|
"typeString": "contract IFactory"
|
|
3095
3093
|
}
|
|
3096
3094
|
},
|
|
3097
3095
|
"src": "4164:44:16",
|
|
3098
3096
|
"typeDescriptions": {
|
|
3099
|
-
"typeIdentifier": "t_contract$_IFactory_$
|
|
3097
|
+
"typeIdentifier": "t_contract$_IFactory_$10386",
|
|
3100
3098
|
"typeString": "contract IFactory"
|
|
3101
3099
|
}
|
|
3102
3100
|
},
|
|
@@ -3482,7 +3480,7 @@
|
|
|
3482
3480
|
},
|
|
3483
3481
|
{
|
|
3484
3482
|
"baseFunctions": [
|
|
3485
|
-
|
|
3483
|
+
10628
|
|
3486
3484
|
],
|
|
3487
3485
|
"body": {
|
|
3488
3486
|
"id": 4043,
|
|
@@ -4310,10 +4308,10 @@
|
|
|
4310
4308
|
"name": "ISecurity",
|
|
4311
4309
|
"nodeType": "Identifier",
|
|
4312
4310
|
"overloadedDeclarations": [],
|
|
4313
|
-
"referencedDeclaration":
|
|
4311
|
+
"referencedDeclaration": 11358,
|
|
4314
4312
|
"src": "5048:9:16",
|
|
4315
4313
|
"typeDescriptions": {
|
|
4316
|
-
"typeIdentifier": "t_type$_t_contract$_ISecurity_$
|
|
4314
|
+
"typeIdentifier": "t_type$_t_contract$_ISecurity_$11358_$",
|
|
4317
4315
|
"typeString": "type(contract ISecurity)"
|
|
4318
4316
|
}
|
|
4319
4317
|
},
|
|
@@ -4328,7 +4326,7 @@
|
|
|
4328
4326
|
"src": "5048:19:16",
|
|
4329
4327
|
"tryCall": false,
|
|
4330
4328
|
"typeDescriptions": {
|
|
4331
|
-
"typeIdentifier": "t_contract$_ISecurity_$
|
|
4329
|
+
"typeIdentifier": "t_contract$_ISecurity_$11358",
|
|
4332
4330
|
"typeString": "contract ISecurity"
|
|
4333
4331
|
}
|
|
4334
4332
|
},
|
|
@@ -4339,7 +4337,7 @@
|
|
|
4339
4337
|
"lValueRequested": false,
|
|
4340
4338
|
"memberName": "whiteList",
|
|
4341
4339
|
"nodeType": "MemberAccess",
|
|
4342
|
-
"referencedDeclaration":
|
|
4340
|
+
"referencedDeclaration": 11357,
|
|
4343
4341
|
"src": "5048:29:16",
|
|
4344
4342
|
"typeDescriptions": {
|
|
4345
4343
|
"typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$",
|
|
@@ -4381,17 +4379,17 @@
|
|
|
4381
4379
|
"stateVariable": false,
|
|
4382
4380
|
"storageLocation": "memory",
|
|
4383
4381
|
"typeDescriptions": {
|
|
4384
|
-
"typeIdentifier": "t_struct$_FactoryPoolParams_$
|
|
4382
|
+
"typeIdentifier": "t_struct$_FactoryPoolParams_$10884_memory_ptr",
|
|
4385
4383
|
"typeString": "struct IMarginTradingPoolFactory.FactoryPoolParams"
|
|
4386
4384
|
},
|
|
4387
4385
|
"typeName": {
|
|
4388
4386
|
"id": 4017,
|
|
4389
4387
|
"name": "IMarginTradingPoolFactory.FactoryPoolParams",
|
|
4390
4388
|
"nodeType": "UserDefinedTypeName",
|
|
4391
|
-
"referencedDeclaration":
|
|
4389
|
+
"referencedDeclaration": 10884,
|
|
4392
4390
|
"src": "5118:43:16",
|
|
4393
4391
|
"typeDescriptions": {
|
|
4394
|
-
"typeIdentifier": "t_struct$_FactoryPoolParams_$
|
|
4392
|
+
"typeIdentifier": "t_struct$_FactoryPoolParams_$10884_storage_ptr",
|
|
4395
4393
|
"typeString": "struct IMarginTradingPoolFactory.FactoryPoolParams"
|
|
4396
4394
|
}
|
|
4397
4395
|
},
|
|
@@ -4578,10 +4576,10 @@
|
|
|
4578
4576
|
"name": "IMarginTradingPoolFactory",
|
|
4579
4577
|
"nodeType": "Identifier",
|
|
4580
4578
|
"overloadedDeclarations": [],
|
|
4581
|
-
"referencedDeclaration":
|
|
4579
|
+
"referencedDeclaration": 10892,
|
|
4582
4580
|
"src": "5182:25:16",
|
|
4583
4581
|
"typeDescriptions": {
|
|
4584
|
-
"typeIdentifier": "t_type$_t_contract$_IMarginTradingPoolFactory_$
|
|
4582
|
+
"typeIdentifier": "t_type$_t_contract$_IMarginTradingPoolFactory_$10892_$",
|
|
4585
4583
|
"typeString": "type(contract IMarginTradingPoolFactory)"
|
|
4586
4584
|
}
|
|
4587
4585
|
},
|
|
@@ -4592,10 +4590,10 @@
|
|
|
4592
4590
|
"lValueRequested": false,
|
|
4593
4591
|
"memberName": "FactoryPoolParams",
|
|
4594
4592
|
"nodeType": "MemberAccess",
|
|
4595
|
-
"referencedDeclaration":
|
|
4593
|
+
"referencedDeclaration": 10884,
|
|
4596
4594
|
"src": "5182:43:16",
|
|
4597
4595
|
"typeDescriptions": {
|
|
4598
|
-
"typeIdentifier": "t_type$_t_struct$_FactoryPoolParams_$
|
|
4596
|
+
"typeIdentifier": "t_type$_t_struct$_FactoryPoolParams_$10884_storage_ptr_$",
|
|
4599
4597
|
"typeString": "type(struct IMarginTradingPoolFactory.FactoryPoolParams storage pointer)"
|
|
4600
4598
|
}
|
|
4601
4599
|
},
|
|
@@ -4621,7 +4619,7 @@
|
|
|
4621
4619
|
"src": "5182:425:16",
|
|
4622
4620
|
"tryCall": false,
|
|
4623
4621
|
"typeDescriptions": {
|
|
4624
|
-
"typeIdentifier": "t_struct$_FactoryPoolParams_$
|
|
4622
|
+
"typeIdentifier": "t_struct$_FactoryPoolParams_$10884_memory_ptr",
|
|
4625
4623
|
"typeString": "struct IMarginTradingPoolFactory.FactoryPoolParams memory"
|
|
4626
4624
|
}
|
|
4627
4625
|
},
|
|
@@ -4639,7 +4637,7 @@
|
|
|
4639
4637
|
"referencedDeclaration": 4018,
|
|
4640
4638
|
"src": "5633:10:16",
|
|
4641
4639
|
"typeDescriptions": {
|
|
4642
|
-
"typeIdentifier": "t_struct$_FactoryPoolParams_$
|
|
4640
|
+
"typeIdentifier": "t_struct$_FactoryPoolParams_$10884_memory_ptr",
|
|
4643
4641
|
"typeString": "struct IMarginTradingPoolFactory.FactoryPoolParams memory"
|
|
4644
4642
|
}
|
|
4645
4643
|
},
|
|
@@ -4721,7 +4719,7 @@
|
|
|
4721
4719
|
"expression": {
|
|
4722
4720
|
"argumentTypes": [
|
|
4723
4721
|
{
|
|
4724
|
-
"typeIdentifier": "t_struct$_FactoryPoolParams_$
|
|
4722
|
+
"typeIdentifier": "t_struct$_FactoryPoolParams_$10884_memory_ptr",
|
|
4725
4723
|
"typeString": "struct IMarginTradingPoolFactory.FactoryPoolParams memory"
|
|
4726
4724
|
},
|
|
4727
4725
|
{
|
|
@@ -4752,7 +4750,7 @@
|
|
|
4752
4750
|
"referencedDeclaration": 4105,
|
|
4753
4751
|
"src": "5622:10:16",
|
|
4754
4752
|
"typeDescriptions": {
|
|
4755
|
-
"typeIdentifier": "t_function_internal_nonpayable$_t_struct$_FactoryPoolParams_$
|
|
4753
|
+
"typeIdentifier": "t_function_internal_nonpayable$_t_struct$_FactoryPoolParams_$10884_memory_ptr_$_t_address_$_t_uint256_$_t_address_$_t_uint256_$_t_address_$returns$__$",
|
|
4756
4754
|
"typeString": "function (struct IMarginTradingPoolFactory.FactoryPoolParams memory,address,uint256,address,uint256,address)"
|
|
4757
4755
|
}
|
|
4758
4756
|
},
|
|
@@ -5216,7 +5214,7 @@
|
|
|
5216
5214
|
"referencedDeclaration": 4046,
|
|
5217
5215
|
"src": "6002:10:16",
|
|
5218
5216
|
"typeDescriptions": {
|
|
5219
|
-
"typeIdentifier": "t_struct$_FactoryPoolParams_$
|
|
5217
|
+
"typeIdentifier": "t_struct$_FactoryPoolParams_$10884_memory_ptr",
|
|
5220
5218
|
"typeString": "struct IMarginTradingPoolFactory.FactoryPoolParams memory"
|
|
5221
5219
|
}
|
|
5222
5220
|
}
|
|
@@ -5224,7 +5222,7 @@
|
|
|
5224
5222
|
"expression": {
|
|
5225
5223
|
"argumentTypes": [
|
|
5226
5224
|
{
|
|
5227
|
-
"typeIdentifier": "t_struct$_FactoryPoolParams_$
|
|
5225
|
+
"typeIdentifier": "t_struct$_FactoryPoolParams_$10884_memory_ptr",
|
|
5228
5226
|
"typeString": "struct IMarginTradingPoolFactory.FactoryPoolParams memory"
|
|
5229
5227
|
}
|
|
5230
5228
|
],
|
|
@@ -5254,10 +5252,10 @@
|
|
|
5254
5252
|
"name": "IMarginTradingPoolFactory",
|
|
5255
5253
|
"nodeType": "Identifier",
|
|
5256
5254
|
"overloadedDeclarations": [],
|
|
5257
|
-
"referencedDeclaration":
|
|
5255
|
+
"referencedDeclaration": 10892,
|
|
5258
5256
|
"src": "5955:25:16",
|
|
5259
5257
|
"typeDescriptions": {
|
|
5260
|
-
"typeIdentifier": "t_type$_t_contract$_IMarginTradingPoolFactory_$
|
|
5258
|
+
"typeIdentifier": "t_type$_t_contract$_IMarginTradingPoolFactory_$10892_$",
|
|
5261
5259
|
"typeString": "type(contract IMarginTradingPoolFactory)"
|
|
5262
5260
|
}
|
|
5263
5261
|
},
|
|
@@ -5272,7 +5270,7 @@
|
|
|
5272
5270
|
"src": "5955:39:16",
|
|
5273
5271
|
"tryCall": false,
|
|
5274
5272
|
"typeDescriptions": {
|
|
5275
|
-
"typeIdentifier": "t_contract$_IMarginTradingPoolFactory_$
|
|
5273
|
+
"typeIdentifier": "t_contract$_IMarginTradingPoolFactory_$10892",
|
|
5276
5274
|
"typeString": "contract IMarginTradingPoolFactory"
|
|
5277
5275
|
}
|
|
5278
5276
|
},
|
|
@@ -5283,10 +5281,10 @@
|
|
|
5283
5281
|
"lValueRequested": false,
|
|
5284
5282
|
"memberName": "create",
|
|
5285
5283
|
"nodeType": "MemberAccess",
|
|
5286
|
-
"referencedDeclaration":
|
|
5284
|
+
"referencedDeclaration": 10891,
|
|
5287
5285
|
"src": "5955:46:16",
|
|
5288
5286
|
"typeDescriptions": {
|
|
5289
|
-
"typeIdentifier": "t_function_external_nonpayable$_t_struct$_FactoryPoolParams_$
|
|
5287
|
+
"typeIdentifier": "t_function_external_nonpayable$_t_struct$_FactoryPoolParams_$10884_memory_ptr_$returns$_t_address_$",
|
|
5290
5288
|
"typeString": "function (struct IMarginTradingPoolFactory.FactoryPoolParams memory) external returns (address)"
|
|
5291
5289
|
}
|
|
5292
5290
|
},
|
|
@@ -5428,10 +5426,10 @@
|
|
|
5428
5426
|
"name": "IMarginTradingPool",
|
|
5429
5427
|
"nodeType": "Identifier",
|
|
5430
5428
|
"overloadedDeclarations": [],
|
|
5431
|
-
"referencedDeclaration":
|
|
5429
|
+
"referencedDeclaration": 10860,
|
|
5432
5430
|
"src": "6044:18:16",
|
|
5433
5431
|
"typeDescriptions": {
|
|
5434
|
-
"typeIdentifier": "t_type$_t_contract$_IMarginTradingPool_$
|
|
5432
|
+
"typeIdentifier": "t_type$_t_contract$_IMarginTradingPool_$10860_$",
|
|
5435
5433
|
"typeString": "type(contract IMarginTradingPool)"
|
|
5436
5434
|
}
|
|
5437
5435
|
},
|
|
@@ -5446,7 +5444,7 @@
|
|
|
5446
5444
|
"src": "6044:45:16",
|
|
5447
5445
|
"tryCall": false,
|
|
5448
5446
|
"typeDescriptions": {
|
|
5449
|
-
"typeIdentifier": "t_contract$_IMarginTradingPool_$
|
|
5447
|
+
"typeIdentifier": "t_contract$_IMarginTradingPool_$10860",
|
|
5450
5448
|
"typeString": "contract IMarginTradingPool"
|
|
5451
5449
|
}
|
|
5452
5450
|
},
|
|
@@ -5457,7 +5455,7 @@
|
|
|
5457
5455
|
"lValueRequested": false,
|
|
5458
5456
|
"memberName": "getPoolId",
|
|
5459
5457
|
"nodeType": "MemberAccess",
|
|
5460
|
-
"referencedDeclaration":
|
|
5458
|
+
"referencedDeclaration": 10824,
|
|
5461
5459
|
"src": "6044:55:16",
|
|
5462
5460
|
"typeDescriptions": {
|
|
5463
5461
|
"typeIdentifier": "t_function_external_view$__$returns$_t_bytes32_$",
|
|
@@ -5758,17 +5756,17 @@
|
|
|
5758
5756
|
"stateVariable": false,
|
|
5759
5757
|
"storageLocation": "memory",
|
|
5760
5758
|
"typeDescriptions": {
|
|
5761
|
-
"typeIdentifier": "t_struct$_FactoryPoolParams_$
|
|
5759
|
+
"typeIdentifier": "t_struct$_FactoryPoolParams_$10884_memory_ptr",
|
|
5762
5760
|
"typeString": "struct IMarginTradingPoolFactory.FactoryPoolParams"
|
|
5763
5761
|
},
|
|
5764
5762
|
"typeName": {
|
|
5765
5763
|
"id": 4045,
|
|
5766
5764
|
"name": "IMarginTradingPoolFactory.FactoryPoolParams",
|
|
5767
5765
|
"nodeType": "UserDefinedTypeName",
|
|
5768
|
-
"referencedDeclaration":
|
|
5766
|
+
"referencedDeclaration": 10884,
|
|
5769
5767
|
"src": "5748:43:16",
|
|
5770
5768
|
"typeDescriptions": {
|
|
5771
|
-
"typeIdentifier": "t_struct$_FactoryPoolParams_$
|
|
5769
|
+
"typeIdentifier": "t_struct$_FactoryPoolParams_$10884_storage_ptr",
|
|
5772
5770
|
"typeString": "struct IMarginTradingPoolFactory.FactoryPoolParams"
|
|
5773
5771
|
}
|
|
5774
5772
|
},
|
|
@@ -7192,10 +7190,10 @@
|
|
|
7192
7190
|
"name": "JoinKind",
|
|
7193
7191
|
"nodeType": "Identifier",
|
|
7194
7192
|
"overloadedDeclarations": [],
|
|
7195
|
-
"referencedDeclaration":
|
|
7193
|
+
"referencedDeclaration": 10587,
|
|
7196
7194
|
"src": "7300:8:16",
|
|
7197
7195
|
"typeDescriptions": {
|
|
7198
|
-
"typeIdentifier": "t_type$_t_enum$_JoinKind_$
|
|
7196
|
+
"typeIdentifier": "t_type$_t_enum$_JoinKind_$10587_$",
|
|
7199
7197
|
"typeString": "type(enum IMarginManager.JoinKind)"
|
|
7200
7198
|
}
|
|
7201
7199
|
},
|
|
@@ -7208,7 +7206,7 @@
|
|
|
7208
7206
|
"nodeType": "MemberAccess",
|
|
7209
7207
|
"src": "7300:13:16",
|
|
7210
7208
|
"typeDescriptions": {
|
|
7211
|
-
"typeIdentifier": "t_enum$_JoinKind_$
|
|
7209
|
+
"typeIdentifier": "t_enum$_JoinKind_$10587",
|
|
7212
7210
|
"typeString": "enum IMarginManager.JoinKind"
|
|
7213
7211
|
}
|
|
7214
7212
|
},
|
|
@@ -7228,7 +7226,7 @@
|
|
|
7228
7226
|
"expression": {
|
|
7229
7227
|
"argumentTypes": [
|
|
7230
7228
|
{
|
|
7231
|
-
"typeIdentifier": "t_enum$_JoinKind_$
|
|
7229
|
+
"typeIdentifier": "t_enum$_JoinKind_$10587",
|
|
7232
7230
|
"typeString": "enum IMarginManager.JoinKind"
|
|
7233
7231
|
},
|
|
7234
7232
|
{
|
|
@@ -7762,7 +7760,7 @@
|
|
|
7762
7760
|
},
|
|
7763
7761
|
{
|
|
7764
7762
|
"baseFunctions": [
|
|
7765
|
-
|
|
7763
|
+
10667
|
|
7766
7764
|
],
|
|
7767
7765
|
"body": {
|
|
7768
7766
|
"id": 4384,
|
|
@@ -7833,10 +7831,10 @@
|
|
|
7833
7831
|
"name": "IMarginTradingPool",
|
|
7834
7832
|
"nodeType": "Identifier",
|
|
7835
7833
|
"overloadedDeclarations": [],
|
|
7836
|
-
"referencedDeclaration":
|
|
7834
|
+
"referencedDeclaration": 10860,
|
|
7837
7835
|
"src": "7607:18:16",
|
|
7838
7836
|
"typeDescriptions": {
|
|
7839
|
-
"typeIdentifier": "t_type$_t_contract$_IMarginTradingPool_$
|
|
7837
|
+
"typeIdentifier": "t_type$_t_contract$_IMarginTradingPool_$10860_$",
|
|
7840
7838
|
"typeString": "type(contract IMarginTradingPool)"
|
|
7841
7839
|
}
|
|
7842
7840
|
},
|
|
@@ -7851,7 +7849,7 @@
|
|
|
7851
7849
|
"src": "7607:28:16",
|
|
7852
7850
|
"tryCall": false,
|
|
7853
7851
|
"typeDescriptions": {
|
|
7854
|
-
"typeIdentifier": "t_contract$_IMarginTradingPool_$
|
|
7852
|
+
"typeIdentifier": "t_contract$_IMarginTradingPool_$10860",
|
|
7855
7853
|
"typeString": "contract IMarginTradingPool"
|
|
7856
7854
|
}
|
|
7857
7855
|
},
|
|
@@ -7862,7 +7860,7 @@
|
|
|
7862
7860
|
"lValueRequested": false,
|
|
7863
7861
|
"memberName": "getCurrency",
|
|
7864
7862
|
"nodeType": "MemberAccess",
|
|
7865
|
-
"referencedDeclaration":
|
|
7863
|
+
"referencedDeclaration": 10834,
|
|
7866
7864
|
"src": "7607:40:16",
|
|
7867
7865
|
"typeDescriptions": {
|
|
7868
7866
|
"typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
|
|
@@ -8398,10 +8396,10 @@
|
|
|
8398
8396
|
"name": "ExitKind",
|
|
8399
8397
|
"nodeType": "Identifier",
|
|
8400
8398
|
"overloadedDeclarations": [],
|
|
8401
|
-
"referencedDeclaration":
|
|
8399
|
+
"referencedDeclaration": 10590,
|
|
8402
8400
|
"src": "8126:8:16",
|
|
8403
8401
|
"typeDescriptions": {
|
|
8404
|
-
"typeIdentifier": "t_type$_t_enum$_ExitKind_$
|
|
8402
|
+
"typeIdentifier": "t_type$_t_enum$_ExitKind_$10590_$",
|
|
8405
8403
|
"typeString": "type(enum IMarginManager.ExitKind)"
|
|
8406
8404
|
}
|
|
8407
8405
|
},
|
|
@@ -8414,7 +8412,7 @@
|
|
|
8414
8412
|
"nodeType": "MemberAccess",
|
|
8415
8413
|
"src": "8126:36:16",
|
|
8416
8414
|
"typeDescriptions": {
|
|
8417
|
-
"typeIdentifier": "t_enum$_ExitKind_$
|
|
8415
|
+
"typeIdentifier": "t_enum$_ExitKind_$10590",
|
|
8418
8416
|
"typeString": "enum IMarginManager.ExitKind"
|
|
8419
8417
|
}
|
|
8420
8418
|
},
|
|
@@ -8464,7 +8462,7 @@
|
|
|
8464
8462
|
"expression": {
|
|
8465
8463
|
"argumentTypes": [
|
|
8466
8464
|
{
|
|
8467
|
-
"typeIdentifier": "t_enum$_ExitKind_$
|
|
8465
|
+
"typeIdentifier": "t_enum$_ExitKind_$10590",
|
|
8468
8466
|
"typeString": "enum IMarginManager.ExitKind"
|
|
8469
8467
|
},
|
|
8470
8468
|
{
|
|
@@ -9654,7 +9652,7 @@
|
|
|
9654
9652
|
},
|
|
9655
9653
|
{
|
|
9656
9654
|
"baseFunctions": [
|
|
9657
|
-
|
|
9655
|
+
10683
|
|
9658
9656
|
],
|
|
9659
9657
|
"body": {
|
|
9660
9658
|
"id": 4489,
|
|
@@ -11025,7 +11023,7 @@
|
|
|
11025
11023
|
},
|
|
11026
11024
|
{
|
|
11027
11025
|
"baseFunctions": [
|
|
11028
|
-
|
|
11026
|
+
10692
|
|
11029
11027
|
],
|
|
11030
11028
|
"body": {
|
|
11031
11029
|
"id": 4532,
|
|
@@ -11580,7 +11578,7 @@
|
|
|
11580
11578
|
},
|
|
11581
11579
|
{
|
|
11582
11580
|
"baseFunctions": [
|
|
11583
|
-
|
|
11581
|
+
10725
|
|
11584
11582
|
],
|
|
11585
11583
|
"body": {
|
|
11586
11584
|
"id": 4549,
|
|
@@ -11772,7 +11770,7 @@
|
|
|
11772
11770
|
},
|
|
11773
11771
|
{
|
|
11774
11772
|
"baseFunctions": [
|
|
11775
|
-
|
|
11773
|
+
10645
|
|
11776
11774
|
],
|
|
11777
11775
|
"body": {
|
|
11778
11776
|
"id": 4731,
|
|
@@ -11795,17 +11793,17 @@
|
|
|
11795
11793
|
"stateVariable": false,
|
|
11796
11794
|
"storageLocation": "memory",
|
|
11797
11795
|
"typeDescriptions": {
|
|
11798
|
-
"typeIdentifier": "t_struct$_order_$
|
|
11796
|
+
"typeIdentifier": "t_struct$_order_$10754_memory_ptr",
|
|
11799
11797
|
"typeString": "struct IMarginOrder.order"
|
|
11800
11798
|
},
|
|
11801
11799
|
"typeName": {
|
|
11802
11800
|
"id": 4574,
|
|
11803
11801
|
"name": "IMarginOrder.order",
|
|
11804
11802
|
"nodeType": "UserDefinedTypeName",
|
|
11805
|
-
"referencedDeclaration":
|
|
11803
|
+
"referencedDeclaration": 10754,
|
|
11806
11804
|
"src": "10116:18:16",
|
|
11807
11805
|
"typeDescriptions": {
|
|
11808
|
-
"typeIdentifier": "t_struct$_order_$
|
|
11806
|
+
"typeIdentifier": "t_struct$_order_$10754_storage_ptr",
|
|
11809
11807
|
"typeString": "struct IMarginOrder.order"
|
|
11810
11808
|
}
|
|
11811
11809
|
},
|
|
@@ -11917,10 +11915,10 @@
|
|
|
11917
11915
|
"name": "IMarginTradingPool",
|
|
11918
11916
|
"nodeType": "Identifier",
|
|
11919
11917
|
"overloadedDeclarations": [],
|
|
11920
|
-
"referencedDeclaration":
|
|
11918
|
+
"referencedDeclaration": 10860,
|
|
11921
11919
|
"src": "10163:18:16",
|
|
11922
11920
|
"typeDescriptions": {
|
|
11923
|
-
"typeIdentifier": "t_type$_t_contract$_IMarginTradingPool_$
|
|
11921
|
+
"typeIdentifier": "t_type$_t_contract$_IMarginTradingPool_$10860_$",
|
|
11924
11922
|
"typeString": "type(contract IMarginTradingPool)"
|
|
11925
11923
|
}
|
|
11926
11924
|
},
|
|
@@ -11935,7 +11933,7 @@
|
|
|
11935
11933
|
"src": "10163:45:16",
|
|
11936
11934
|
"tryCall": false,
|
|
11937
11935
|
"typeDescriptions": {
|
|
11938
|
-
"typeIdentifier": "t_contract$_IMarginTradingPool_$
|
|
11936
|
+
"typeIdentifier": "t_contract$_IMarginTradingPool_$10860",
|
|
11939
11937
|
"typeString": "contract IMarginTradingPool"
|
|
11940
11938
|
}
|
|
11941
11939
|
},
|
|
@@ -11946,7 +11944,7 @@
|
|
|
11946
11944
|
"lValueRequested": false,
|
|
11947
11945
|
"memberName": "getOrderbook",
|
|
11948
11946
|
"nodeType": "MemberAccess",
|
|
11949
|
-
"referencedDeclaration":
|
|
11947
|
+
"referencedDeclaration": 10844,
|
|
11950
11948
|
"src": "10163:58:16",
|
|
11951
11949
|
"typeDescriptions": {
|
|
11952
11950
|
"typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
|
|
@@ -11980,10 +11978,10 @@
|
|
|
11980
11978
|
"name": "IMarginOrder",
|
|
11981
11979
|
"nodeType": "Identifier",
|
|
11982
11980
|
"overloadedDeclarations": [],
|
|
11983
|
-
"referencedDeclaration":
|
|
11981
|
+
"referencedDeclaration": 10816,
|
|
11984
11982
|
"src": "10150:12:16",
|
|
11985
11983
|
"typeDescriptions": {
|
|
11986
|
-
"typeIdentifier": "t_type$_t_contract$_IMarginOrder_$
|
|
11984
|
+
"typeIdentifier": "t_type$_t_contract$_IMarginOrder_$10816_$",
|
|
11987
11985
|
"typeString": "type(contract IMarginOrder)"
|
|
11988
11986
|
}
|
|
11989
11987
|
},
|
|
@@ -11998,7 +11996,7 @@
|
|
|
11998
11996
|
"src": "10150:74:16",
|
|
11999
11997
|
"tryCall": false,
|
|
12000
11998
|
"typeDescriptions": {
|
|
12001
|
-
"typeIdentifier": "t_contract$_IMarginOrder_$
|
|
11999
|
+
"typeIdentifier": "t_contract$_IMarginOrder_$10816",
|
|
12002
12000
|
"typeString": "contract IMarginOrder"
|
|
12003
12001
|
}
|
|
12004
12002
|
},
|
|
@@ -12009,10 +12007,10 @@
|
|
|
12009
12007
|
"lValueRequested": false,
|
|
12010
12008
|
"memberName": "getOrder",
|
|
12011
12009
|
"nodeType": "MemberAccess",
|
|
12012
|
-
"referencedDeclaration":
|
|
12010
|
+
"referencedDeclaration": 10781,
|
|
12013
12011
|
"src": "10150:83:16",
|
|
12014
12012
|
"typeDescriptions": {
|
|
12015
|
-
"typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_struct$_order_$
|
|
12013
|
+
"typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_struct$_order_$10754_memory_ptr_$",
|
|
12016
12014
|
"typeString": "function (bytes32) view external returns (struct IMarginOrder.order memory)"
|
|
12017
12015
|
}
|
|
12018
12016
|
},
|
|
@@ -12027,7 +12025,7 @@
|
|
|
12027
12025
|
"src": "10150:93:16",
|
|
12028
12026
|
"tryCall": false,
|
|
12029
12027
|
"typeDescriptions": {
|
|
12030
|
-
"typeIdentifier": "t_struct$_order_$
|
|
12028
|
+
"typeIdentifier": "t_struct$_order_$10754_memory_ptr",
|
|
12031
12029
|
"typeString": "struct IMarginOrder.order memory"
|
|
12032
12030
|
}
|
|
12033
12031
|
},
|
|
@@ -12163,10 +12161,10 @@
|
|
|
12163
12161
|
"name": "IMarginTradingPool",
|
|
12164
12162
|
"nodeType": "Identifier",
|
|
12165
12163
|
"overloadedDeclarations": [],
|
|
12166
|
-
"referencedDeclaration":
|
|
12164
|
+
"referencedDeclaration": 10860,
|
|
12167
12165
|
"src": "10321:18:16",
|
|
12168
12166
|
"typeDescriptions": {
|
|
12169
|
-
"typeIdentifier": "t_type$_t_contract$_IMarginTradingPool_$
|
|
12167
|
+
"typeIdentifier": "t_type$_t_contract$_IMarginTradingPool_$10860_$",
|
|
12170
12168
|
"typeString": "type(contract IMarginTradingPool)"
|
|
12171
12169
|
}
|
|
12172
12170
|
},
|
|
@@ -12181,7 +12179,7 @@
|
|
|
12181
12179
|
"src": "10321:45:16",
|
|
12182
12180
|
"tryCall": false,
|
|
12183
12181
|
"typeDescriptions": {
|
|
12184
|
-
"typeIdentifier": "t_contract$_IMarginTradingPool_$
|
|
12182
|
+
"typeIdentifier": "t_contract$_IMarginTradingPool_$10860",
|
|
12185
12183
|
"typeString": "contract IMarginTradingPool"
|
|
12186
12184
|
}
|
|
12187
12185
|
},
|
|
@@ -12192,7 +12190,7 @@
|
|
|
12192
12190
|
"lValueRequested": false,
|
|
12193
12191
|
"memberName": "getMargin",
|
|
12194
12192
|
"nodeType": "MemberAccess",
|
|
12195
|
-
"referencedDeclaration":
|
|
12193
|
+
"referencedDeclaration": 10849,
|
|
12196
12194
|
"src": "10321:55:16",
|
|
12197
12195
|
"typeDescriptions": {
|
|
12198
12196
|
"typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$",
|
|
@@ -12361,10 +12359,10 @@
|
|
|
12361
12359
|
"name": "IMarginTradingPool",
|
|
12362
12360
|
"nodeType": "Identifier",
|
|
12363
12361
|
"overloadedDeclarations": [],
|
|
12364
|
-
"referencedDeclaration":
|
|
12362
|
+
"referencedDeclaration": 10860,
|
|
12365
12363
|
"src": "10457:18:16",
|
|
12366
12364
|
"typeDescriptions": {
|
|
12367
|
-
"typeIdentifier": "t_type$_t_contract$_IMarginTradingPool_$
|
|
12365
|
+
"typeIdentifier": "t_type$_t_contract$_IMarginTradingPool_$10860_$",
|
|
12368
12366
|
"typeString": "type(contract IMarginTradingPool)"
|
|
12369
12367
|
}
|
|
12370
12368
|
},
|
|
@@ -12379,7 +12377,7 @@
|
|
|
12379
12377
|
"src": "10457:45:16",
|
|
12380
12378
|
"tryCall": false,
|
|
12381
12379
|
"typeDescriptions": {
|
|
12382
|
-
"typeIdentifier": "t_contract$_IMarginTradingPool_$
|
|
12380
|
+
"typeIdentifier": "t_contract$_IMarginTradingPool_$10860",
|
|
12383
12381
|
"typeString": "contract IMarginTradingPool"
|
|
12384
12382
|
}
|
|
12385
12383
|
},
|
|
@@ -12390,7 +12388,7 @@
|
|
|
12390
12388
|
"lValueRequested": false,
|
|
12391
12389
|
"memberName": "getCollateral",
|
|
12392
12390
|
"nodeType": "MemberAccess",
|
|
12393
|
-
"referencedDeclaration":
|
|
12391
|
+
"referencedDeclaration": 10854,
|
|
12394
12392
|
"src": "10457:59:16",
|
|
12395
12393
|
"typeDescriptions": {
|
|
12396
12394
|
"typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$",
|
|
@@ -12532,7 +12530,7 @@
|
|
|
12532
12530
|
"referencedDeclaration": 4575,
|
|
12533
12531
|
"src": "10690:5:16",
|
|
12534
12532
|
"typeDescriptions": {
|
|
12535
|
-
"typeIdentifier": "t_struct$_order_$
|
|
12533
|
+
"typeIdentifier": "t_struct$_order_$10754_memory_ptr",
|
|
12536
12534
|
"typeString": "struct IMarginOrder.order memory"
|
|
12537
12535
|
}
|
|
12538
12536
|
},
|
|
@@ -12576,7 +12574,7 @@
|
|
|
12576
12574
|
"expression": {
|
|
12577
12575
|
"argumentTypes": [
|
|
12578
12576
|
{
|
|
12579
|
-
"typeIdentifier": "t_struct$_order_$
|
|
12577
|
+
"typeIdentifier": "t_struct$_order_$10754_memory_ptr",
|
|
12580
12578
|
"typeString": "struct IMarginOrder.order memory"
|
|
12581
12579
|
},
|
|
12582
12580
|
{
|
|
@@ -12599,7 +12597,7 @@
|
|
|
12599
12597
|
"referencedDeclaration": 4769,
|
|
12600
12598
|
"src": "10676:13:16",
|
|
12601
12599
|
"typeDescriptions": {
|
|
12602
|
-
"typeIdentifier": "t_function_internal_view$_t_struct$_order_$
|
|
12600
|
+
"typeIdentifier": "t_function_internal_view$_t_struct$_order_$10754_memory_ptr_$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$",
|
|
12603
12601
|
"typeString": "function (struct IMarginOrder.order memory,address,address,uint256) view returns (bool)"
|
|
12604
12602
|
}
|
|
12605
12603
|
},
|
|
@@ -12835,7 +12833,7 @@
|
|
|
12835
12833
|
"referencedDeclaration": 4575,
|
|
12836
12834
|
"src": "10880:5:16",
|
|
12837
12835
|
"typeDescriptions": {
|
|
12838
|
-
"typeIdentifier": "t_struct$_order_$
|
|
12836
|
+
"typeIdentifier": "t_struct$_order_$10754_memory_ptr",
|
|
12839
12837
|
"typeString": "struct IMarginOrder.order memory"
|
|
12840
12838
|
}
|
|
12841
12839
|
},
|
|
@@ -12846,7 +12844,7 @@
|
|
|
12846
12844
|
"lValueRequested": false,
|
|
12847
12845
|
"memberName": "tokenIn",
|
|
12848
12846
|
"nodeType": "MemberAccess",
|
|
12849
|
-
"referencedDeclaration":
|
|
12847
|
+
"referencedDeclaration": 10745,
|
|
12850
12848
|
"src": "10880:13:16",
|
|
12851
12849
|
"typeDescriptions": {
|
|
12852
12850
|
"typeIdentifier": "t_address",
|
|
@@ -12894,7 +12892,7 @@
|
|
|
12894
12892
|
"referencedDeclaration": 4575,
|
|
12895
12893
|
"src": "10907:5:16",
|
|
12896
12894
|
"typeDescriptions": {
|
|
12897
|
-
"typeIdentifier": "t_struct$_order_$
|
|
12895
|
+
"typeIdentifier": "t_struct$_order_$10754_memory_ptr",
|
|
12898
12896
|
"typeString": "struct IMarginOrder.order memory"
|
|
12899
12897
|
}
|
|
12900
12898
|
},
|
|
@@ -12905,7 +12903,7 @@
|
|
|
12905
12903
|
"lValueRequested": false,
|
|
12906
12904
|
"memberName": "party",
|
|
12907
12905
|
"nodeType": "MemberAccess",
|
|
12908
|
-
"referencedDeclaration":
|
|
12906
|
+
"referencedDeclaration": 10751,
|
|
12909
12907
|
"src": "10907:11:16",
|
|
12910
12908
|
"typeDescriptions": {
|
|
12911
12909
|
"typeIdentifier": "t_address",
|
|
@@ -13212,17 +13210,17 @@
|
|
|
13212
13210
|
"stateVariable": false,
|
|
13213
13211
|
"storageLocation": "memory",
|
|
13214
13212
|
"typeDescriptions": {
|
|
13215
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
13213
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
13216
13214
|
"typeString": "struct IMarginManager.tradePosition"
|
|
13217
13215
|
},
|
|
13218
13216
|
"typeName": {
|
|
13219
13217
|
"id": 4672,
|
|
13220
13218
|
"name": "IMarginManager.tradePosition",
|
|
13221
13219
|
"nodeType": "UserDefinedTypeName",
|
|
13222
|
-
"referencedDeclaration":
|
|
13220
|
+
"referencedDeclaration": 10605,
|
|
13223
13221
|
"src": "11100:28:16",
|
|
13224
13222
|
"typeDescriptions": {
|
|
13225
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
13223
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_storage_ptr",
|
|
13226
13224
|
"typeString": "struct IMarginManager.tradePosition"
|
|
13227
13225
|
}
|
|
13228
13226
|
},
|
|
@@ -13262,7 +13260,7 @@
|
|
|
13262
13260
|
"referencedDeclaration": 4575,
|
|
13263
13261
|
"src": "11203:5:16",
|
|
13264
13262
|
"typeDescriptions": {
|
|
13265
|
-
"typeIdentifier": "t_struct$_order_$
|
|
13263
|
+
"typeIdentifier": "t_struct$_order_$10754_memory_ptr",
|
|
13266
13264
|
"typeString": "struct IMarginOrder.order memory"
|
|
13267
13265
|
}
|
|
13268
13266
|
},
|
|
@@ -13273,7 +13271,7 @@
|
|
|
13273
13271
|
"lValueRequested": false,
|
|
13274
13272
|
"memberName": "tokenIn",
|
|
13275
13273
|
"nodeType": "MemberAccess",
|
|
13276
|
-
"referencedDeclaration":
|
|
13274
|
+
"referencedDeclaration": 10745,
|
|
13277
13275
|
"src": "11203:13:16",
|
|
13278
13276
|
"typeDescriptions": {
|
|
13279
13277
|
"typeIdentifier": "t_address",
|
|
@@ -13321,7 +13319,7 @@
|
|
|
13321
13319
|
"referencedDeclaration": 4575,
|
|
13322
13320
|
"src": "11230:5:16",
|
|
13323
13321
|
"typeDescriptions": {
|
|
13324
|
-
"typeIdentifier": "t_struct$_order_$
|
|
13322
|
+
"typeIdentifier": "t_struct$_order_$10754_memory_ptr",
|
|
13325
13323
|
"typeString": "struct IMarginOrder.order memory"
|
|
13326
13324
|
}
|
|
13327
13325
|
},
|
|
@@ -13332,7 +13330,7 @@
|
|
|
13332
13330
|
"lValueRequested": false,
|
|
13333
13331
|
"memberName": "party",
|
|
13334
13332
|
"nodeType": "MemberAccess",
|
|
13335
|
-
"referencedDeclaration":
|
|
13333
|
+
"referencedDeclaration": 10751,
|
|
13336
13334
|
"src": "11230:11:16",
|
|
13337
13335
|
"typeDescriptions": {
|
|
13338
13336
|
"typeIdentifier": "t_address",
|
|
@@ -13431,7 +13429,7 @@
|
|
|
13431
13429
|
"referencedDeclaration": 4575,
|
|
13432
13430
|
"src": "11306:5:16",
|
|
13433
13431
|
"typeDescriptions": {
|
|
13434
|
-
"typeIdentifier": "t_struct$_order_$
|
|
13432
|
+
"typeIdentifier": "t_struct$_order_$10754_memory_ptr",
|
|
13435
13433
|
"typeString": "struct IMarginOrder.order memory"
|
|
13436
13434
|
}
|
|
13437
13435
|
},
|
|
@@ -13442,7 +13440,7 @@
|
|
|
13442
13440
|
"lValueRequested": false,
|
|
13443
13441
|
"memberName": "tokenIn",
|
|
13444
13442
|
"nodeType": "MemberAccess",
|
|
13445
|
-
"referencedDeclaration":
|
|
13443
|
+
"referencedDeclaration": 10745,
|
|
13446
13444
|
"src": "11306:13:16",
|
|
13447
13445
|
"typeDescriptions": {
|
|
13448
13446
|
"typeIdentifier": "t_address",
|
|
@@ -13490,7 +13488,7 @@
|
|
|
13490
13488
|
"referencedDeclaration": 4575,
|
|
13491
13489
|
"src": "11333:5:16",
|
|
13492
13490
|
"typeDescriptions": {
|
|
13493
|
-
"typeIdentifier": "t_struct$_order_$
|
|
13491
|
+
"typeIdentifier": "t_struct$_order_$10754_memory_ptr",
|
|
13494
13492
|
"typeString": "struct IMarginOrder.order memory"
|
|
13495
13493
|
}
|
|
13496
13494
|
},
|
|
@@ -13501,7 +13499,7 @@
|
|
|
13501
13499
|
"lValueRequested": false,
|
|
13502
13500
|
"memberName": "party",
|
|
13503
13501
|
"nodeType": "MemberAccess",
|
|
13504
|
-
"referencedDeclaration":
|
|
13502
|
+
"referencedDeclaration": 10751,
|
|
13505
13503
|
"src": "11333:11:16",
|
|
13506
13504
|
"typeDescriptions": {
|
|
13507
13505
|
"typeIdentifier": "t_address",
|
|
@@ -13671,10 +13669,10 @@
|
|
|
13671
13669
|
"name": "IMarginManager",
|
|
13672
13670
|
"nodeType": "Identifier",
|
|
13673
13671
|
"overloadedDeclarations": [],
|
|
13674
|
-
"referencedDeclaration":
|
|
13672
|
+
"referencedDeclaration": 10726,
|
|
13675
13673
|
"src": "11147:14:16",
|
|
13676
13674
|
"typeDescriptions": {
|
|
13677
|
-
"typeIdentifier": "t_type$_t_contract$_IMarginManager_$
|
|
13675
|
+
"typeIdentifier": "t_type$_t_contract$_IMarginManager_$10726_$",
|
|
13678
13676
|
"typeString": "type(contract IMarginManager)"
|
|
13679
13677
|
}
|
|
13680
13678
|
},
|
|
@@ -13685,10 +13683,10 @@
|
|
|
13685
13683
|
"lValueRequested": false,
|
|
13686
13684
|
"memberName": "tradePosition",
|
|
13687
13685
|
"nodeType": "MemberAccess",
|
|
13688
|
-
"referencedDeclaration":
|
|
13686
|
+
"referencedDeclaration": 10605,
|
|
13689
13687
|
"src": "11147:28:16",
|
|
13690
13688
|
"typeDescriptions": {
|
|
13691
|
-
"typeIdentifier": "t_type$_t_struct$_tradePosition_$
|
|
13689
|
+
"typeIdentifier": "t_type$_t_struct$_tradePosition_$10605_storage_ptr_$",
|
|
13692
13690
|
"typeString": "type(struct IMarginManager.tradePosition storage pointer)"
|
|
13693
13691
|
}
|
|
13694
13692
|
},
|
|
@@ -13711,7 +13709,7 @@
|
|
|
13711
13709
|
"src": "11147:472:16",
|
|
13712
13710
|
"tryCall": false,
|
|
13713
13711
|
"typeDescriptions": {
|
|
13714
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
13712
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
13715
13713
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
13716
13714
|
}
|
|
13717
13715
|
},
|
|
@@ -13729,7 +13727,7 @@
|
|
|
13729
13727
|
"referencedDeclaration": 4673,
|
|
13730
13728
|
"src": "11669:8:16",
|
|
13731
13729
|
"typeDescriptions": {
|
|
13732
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
13730
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
13733
13731
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
13734
13732
|
}
|
|
13735
13733
|
}
|
|
@@ -13737,7 +13735,7 @@
|
|
|
13737
13735
|
"expression": {
|
|
13738
13736
|
"argumentTypes": [
|
|
13739
13737
|
{
|
|
13740
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
13738
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
13741
13739
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
13742
13740
|
}
|
|
13743
13741
|
],
|
|
@@ -13751,7 +13749,7 @@
|
|
|
13751
13749
|
"referencedDeclaration": 3775,
|
|
13752
13750
|
"src": "11634:9:16",
|
|
13753
13751
|
"typeDescriptions": {
|
|
13754
|
-
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$
|
|
13752
|
+
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage_$_$",
|
|
13755
13753
|
"typeString": "mapping(address => mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref))"
|
|
13756
13754
|
}
|
|
13757
13755
|
},
|
|
@@ -13775,7 +13773,7 @@
|
|
|
13775
13773
|
"nodeType": "IndexAccess",
|
|
13776
13774
|
"src": "11634:19:16",
|
|
13777
13775
|
"typeDescriptions": {
|
|
13778
|
-
"typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$
|
|
13776
|
+
"typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage_$",
|
|
13779
13777
|
"typeString": "mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref)"
|
|
13780
13778
|
}
|
|
13781
13779
|
},
|
|
@@ -13799,7 +13797,7 @@
|
|
|
13799
13797
|
"nodeType": "IndexAccess",
|
|
13800
13798
|
"src": "11634:29:16",
|
|
13801
13799
|
"typeDescriptions": {
|
|
13802
|
-
"typeIdentifier": "t_array$_t_struct$_tradePosition_$
|
|
13800
|
+
"typeIdentifier": "t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage",
|
|
13803
13801
|
"typeString": "struct IMarginManager.tradePosition storage ref[] storage ref"
|
|
13804
13802
|
}
|
|
13805
13803
|
},
|
|
@@ -13812,7 +13810,7 @@
|
|
|
13812
13810
|
"nodeType": "MemberAccess",
|
|
13813
13811
|
"src": "11634:34:16",
|
|
13814
13812
|
"typeDescriptions": {
|
|
13815
|
-
"typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_tradePosition_$
|
|
13813
|
+
"typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_tradePosition_$10605_storage_$returns$__$",
|
|
13816
13814
|
"typeString": "function (struct IMarginManager.tradePosition storage ref)"
|
|
13817
13815
|
}
|
|
13818
13816
|
},
|
|
@@ -13902,7 +13900,7 @@
|
|
|
13902
13900
|
"referencedDeclaration": 3775,
|
|
13903
13901
|
"src": "11712:9:16",
|
|
13904
13902
|
"typeDescriptions": {
|
|
13905
|
-
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$
|
|
13903
|
+
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage_$_$",
|
|
13906
13904
|
"typeString": "mapping(address => mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref))"
|
|
13907
13905
|
}
|
|
13908
13906
|
},
|
|
@@ -13926,7 +13924,7 @@
|
|
|
13926
13924
|
"nodeType": "IndexAccess",
|
|
13927
13925
|
"src": "11712:19:16",
|
|
13928
13926
|
"typeDescriptions": {
|
|
13929
|
-
"typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$
|
|
13927
|
+
"typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage_$",
|
|
13930
13928
|
"typeString": "mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref)"
|
|
13931
13929
|
}
|
|
13932
13930
|
},
|
|
@@ -13950,7 +13948,7 @@
|
|
|
13950
13948
|
"nodeType": "IndexAccess",
|
|
13951
13949
|
"src": "11712:29:16",
|
|
13952
13950
|
"typeDescriptions": {
|
|
13953
|
-
"typeIdentifier": "t_array$_t_struct$_tradePosition_$
|
|
13951
|
+
"typeIdentifier": "t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage",
|
|
13954
13952
|
"typeString": "struct IMarginManager.tradePosition storage ref[] storage ref"
|
|
13955
13953
|
}
|
|
13956
13954
|
},
|
|
@@ -14296,7 +14294,7 @@
|
|
|
14296
14294
|
"referencedDeclaration": 4734,
|
|
14297
14295
|
"src": "11938:5:16",
|
|
14298
14296
|
"typeDescriptions": {
|
|
14299
|
-
"typeIdentifier": "t_struct$_order_$
|
|
14297
|
+
"typeIdentifier": "t_struct$_order_$10754_memory_ptr",
|
|
14300
14298
|
"typeString": "struct IMarginOrder.order memory"
|
|
14301
14299
|
}
|
|
14302
14300
|
},
|
|
@@ -14307,7 +14305,7 @@
|
|
|
14307
14305
|
"lValueRequested": false,
|
|
14308
14306
|
"memberName": "tokenIn",
|
|
14309
14307
|
"nodeType": "MemberAccess",
|
|
14310
|
-
"referencedDeclaration":
|
|
14308
|
+
"referencedDeclaration": 10745,
|
|
14311
14309
|
"src": "11938:13:16",
|
|
14312
14310
|
"typeDescriptions": {
|
|
14313
14311
|
"typeIdentifier": "t_address",
|
|
@@ -14575,17 +14573,17 @@
|
|
|
14575
14573
|
"stateVariable": false,
|
|
14576
14574
|
"storageLocation": "memory",
|
|
14577
14575
|
"typeDescriptions": {
|
|
14578
|
-
"typeIdentifier": "t_struct$_order_$
|
|
14576
|
+
"typeIdentifier": "t_struct$_order_$10754_memory_ptr",
|
|
14579
14577
|
"typeString": "struct IMarginOrder.order"
|
|
14580
14578
|
},
|
|
14581
14579
|
"typeName": {
|
|
14582
14580
|
"id": 4733,
|
|
14583
14581
|
"name": "IMarginOrder.order",
|
|
14584
14582
|
"nodeType": "UserDefinedTypeName",
|
|
14585
|
-
"referencedDeclaration":
|
|
14583
|
+
"referencedDeclaration": 10754,
|
|
14586
14584
|
"src": "11806:18:16",
|
|
14587
14585
|
"typeDescriptions": {
|
|
14588
|
-
"typeIdentifier": "t_struct$_order_$
|
|
14586
|
+
"typeIdentifier": "t_struct$_order_$10754_storage_ptr",
|
|
14589
14587
|
"typeString": "struct IMarginOrder.order"
|
|
14590
14588
|
}
|
|
14591
14589
|
},
|
|
@@ -14715,7 +14713,7 @@
|
|
|
14715
14713
|
},
|
|
14716
14714
|
{
|
|
14717
14715
|
"baseFunctions": [
|
|
14718
|
-
|
|
14716
|
+
10662
|
|
14719
14717
|
],
|
|
14720
14718
|
"body": {
|
|
14721
14719
|
"id": 5060,
|
|
@@ -14854,17 +14852,17 @@
|
|
|
14854
14852
|
"stateVariable": false,
|
|
14855
14853
|
"storageLocation": "memory",
|
|
14856
14854
|
"typeDescriptions": {
|
|
14857
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
14855
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
14858
14856
|
"typeString": "struct IMarginManager.tradePosition"
|
|
14859
14857
|
},
|
|
14860
14858
|
"typeName": {
|
|
14861
14859
|
"id": 4952,
|
|
14862
14860
|
"name": "IMarginManager.tradePosition",
|
|
14863
14861
|
"nodeType": "UserDefinedTypeName",
|
|
14864
|
-
"referencedDeclaration":
|
|
14862
|
+
"referencedDeclaration": 10605,
|
|
14865
14863
|
"src": "13771:28:16",
|
|
14866
14864
|
"typeDescriptions": {
|
|
14867
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
14865
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_storage_ptr",
|
|
14868
14866
|
"typeString": "struct IMarginManager.tradePosition"
|
|
14869
14867
|
}
|
|
14870
14868
|
},
|
|
@@ -15018,7 +15016,7 @@
|
|
|
15018
15016
|
"referencedDeclaration": 4953,
|
|
15019
15017
|
"src": "13899:8:16",
|
|
15020
15018
|
"typeDescriptions": {
|
|
15021
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
15019
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
15022
15020
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
15023
15021
|
}
|
|
15024
15022
|
},
|
|
@@ -15035,7 +15033,7 @@
|
|
|
15035
15033
|
"referencedDeclaration": 3775,
|
|
15036
15034
|
"src": "13910:9:16",
|
|
15037
15035
|
"typeDescriptions": {
|
|
15038
|
-
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$
|
|
15036
|
+
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage_$_$",
|
|
15039
15037
|
"typeString": "mapping(address => mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref))"
|
|
15040
15038
|
}
|
|
15041
15039
|
},
|
|
@@ -15059,7 +15057,7 @@
|
|
|
15059
15057
|
"nodeType": "IndexAccess",
|
|
15060
15058
|
"src": "13910:19:16",
|
|
15061
15059
|
"typeDescriptions": {
|
|
15062
|
-
"typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$
|
|
15060
|
+
"typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage_$",
|
|
15063
15061
|
"typeString": "mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref)"
|
|
15064
15062
|
}
|
|
15065
15063
|
},
|
|
@@ -15083,7 +15081,7 @@
|
|
|
15083
15081
|
"nodeType": "IndexAccess",
|
|
15084
15082
|
"src": "13910:29:16",
|
|
15085
15083
|
"typeDescriptions": {
|
|
15086
|
-
"typeIdentifier": "t_array$_t_struct$_tradePosition_$
|
|
15084
|
+
"typeIdentifier": "t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage",
|
|
15087
15085
|
"typeString": "struct IMarginManager.tradePosition storage ref[] storage ref"
|
|
15088
15086
|
}
|
|
15089
15087
|
},
|
|
@@ -15107,13 +15105,13 @@
|
|
|
15107
15105
|
"nodeType": "IndexAccess",
|
|
15108
15106
|
"src": "13910:34:16",
|
|
15109
15107
|
"typeDescriptions": {
|
|
15110
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
15108
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_storage",
|
|
15111
15109
|
"typeString": "struct IMarginManager.tradePosition storage ref"
|
|
15112
15110
|
}
|
|
15113
15111
|
},
|
|
15114
15112
|
"src": "13899:45:16",
|
|
15115
15113
|
"typeDescriptions": {
|
|
15116
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
15114
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
15117
15115
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
15118
15116
|
}
|
|
15119
15117
|
},
|
|
@@ -15152,7 +15150,7 @@
|
|
|
15152
15150
|
"referencedDeclaration": 4953,
|
|
15153
15151
|
"src": "13981:8:16",
|
|
15154
15152
|
"typeDescriptions": {
|
|
15155
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
15153
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
15156
15154
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
15157
15155
|
}
|
|
15158
15156
|
},
|
|
@@ -15163,7 +15161,7 @@
|
|
|
15163
15161
|
"lValueRequested": false,
|
|
15164
15162
|
"memberName": "buyer",
|
|
15165
15163
|
"nodeType": "MemberAccess",
|
|
15166
|
-
"referencedDeclaration":
|
|
15164
|
+
"referencedDeclaration": 10592,
|
|
15167
15165
|
"src": "13981:14:16",
|
|
15168
15166
|
"typeDescriptions": {
|
|
15169
15167
|
"typeIdentifier": "t_address",
|
|
@@ -15233,7 +15231,7 @@
|
|
|
15233
15231
|
"referencedDeclaration": 4953,
|
|
15234
15232
|
"src": "14036:8:16",
|
|
15235
15233
|
"typeDescriptions": {
|
|
15236
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
15234
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
15237
15235
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
15238
15236
|
}
|
|
15239
15237
|
},
|
|
@@ -15244,7 +15242,7 @@
|
|
|
15244
15242
|
"lValueRequested": false,
|
|
15245
15243
|
"memberName": "buyer",
|
|
15246
15244
|
"nodeType": "MemberAccess",
|
|
15247
|
-
"referencedDeclaration":
|
|
15245
|
+
"referencedDeclaration": 10592,
|
|
15248
15246
|
"src": "14036:14:16",
|
|
15249
15247
|
"typeDescriptions": {
|
|
15250
15248
|
"typeIdentifier": "t_address",
|
|
@@ -15297,7 +15295,7 @@
|
|
|
15297
15295
|
"referencedDeclaration": 4953,
|
|
15298
15296
|
"src": "14067:8:16",
|
|
15299
15297
|
"typeDescriptions": {
|
|
15300
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
15298
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
15301
15299
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
15302
15300
|
}
|
|
15303
15301
|
},
|
|
@@ -15308,7 +15306,7 @@
|
|
|
15308
15306
|
"lValueRequested": false,
|
|
15309
15307
|
"memberName": "marginCollateral",
|
|
15310
15308
|
"nodeType": "MemberAccess",
|
|
15311
|
-
"referencedDeclaration":
|
|
15309
|
+
"referencedDeclaration": 10602,
|
|
15312
15310
|
"src": "14067:25:16",
|
|
15313
15311
|
"typeDescriptions": {
|
|
15314
15312
|
"typeIdentifier": "t_uint256",
|
|
@@ -15442,7 +15440,7 @@
|
|
|
15442
15440
|
"referencedDeclaration": 3775,
|
|
15443
15441
|
"src": "14120:9:16",
|
|
15444
15442
|
"typeDescriptions": {
|
|
15445
|
-
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$
|
|
15443
|
+
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage_$_$",
|
|
15446
15444
|
"typeString": "mapping(address => mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref))"
|
|
15447
15445
|
}
|
|
15448
15446
|
},
|
|
@@ -15466,7 +15464,7 @@
|
|
|
15466
15464
|
"nodeType": "IndexAccess",
|
|
15467
15465
|
"src": "14120:19:16",
|
|
15468
15466
|
"typeDescriptions": {
|
|
15469
|
-
"typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$
|
|
15467
|
+
"typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage_$",
|
|
15470
15468
|
"typeString": "mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref)"
|
|
15471
15469
|
}
|
|
15472
15470
|
},
|
|
@@ -15490,7 +15488,7 @@
|
|
|
15490
15488
|
"nodeType": "IndexAccess",
|
|
15491
15489
|
"src": "14120:29:16",
|
|
15492
15490
|
"typeDescriptions": {
|
|
15493
|
-
"typeIdentifier": "t_array$_t_struct$_tradePosition_$
|
|
15491
|
+
"typeIdentifier": "t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage",
|
|
15494
15492
|
"typeString": "struct IMarginManager.tradePosition storage ref[] storage ref"
|
|
15495
15493
|
}
|
|
15496
15494
|
},
|
|
@@ -15514,7 +15512,7 @@
|
|
|
15514
15512
|
"nodeType": "IndexAccess",
|
|
15515
15513
|
"src": "14120:34:16",
|
|
15516
15514
|
"typeDescriptions": {
|
|
15517
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
15515
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_storage",
|
|
15518
15516
|
"typeString": "struct IMarginManager.tradePosition storage ref"
|
|
15519
15517
|
}
|
|
15520
15518
|
},
|
|
@@ -15663,7 +15661,7 @@
|
|
|
15663
15661
|
"referencedDeclaration": 4953,
|
|
15664
15662
|
"src": "14245:8:16",
|
|
15665
15663
|
"typeDescriptions": {
|
|
15666
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
15664
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
15667
15665
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
15668
15666
|
}
|
|
15669
15667
|
},
|
|
@@ -15680,7 +15678,7 @@
|
|
|
15680
15678
|
"referencedDeclaration": 3775,
|
|
15681
15679
|
"src": "14256:9:16",
|
|
15682
15680
|
"typeDescriptions": {
|
|
15683
|
-
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$
|
|
15681
|
+
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage_$_$",
|
|
15684
15682
|
"typeString": "mapping(address => mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref))"
|
|
15685
15683
|
}
|
|
15686
15684
|
},
|
|
@@ -15704,7 +15702,7 @@
|
|
|
15704
15702
|
"nodeType": "IndexAccess",
|
|
15705
15703
|
"src": "14256:19:16",
|
|
15706
15704
|
"typeDescriptions": {
|
|
15707
|
-
"typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$
|
|
15705
|
+
"typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage_$",
|
|
15708
15706
|
"typeString": "mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref)"
|
|
15709
15707
|
}
|
|
15710
15708
|
},
|
|
@@ -15728,7 +15726,7 @@
|
|
|
15728
15726
|
"nodeType": "IndexAccess",
|
|
15729
15727
|
"src": "14256:29:16",
|
|
15730
15728
|
"typeDescriptions": {
|
|
15731
|
-
"typeIdentifier": "t_array$_t_struct$_tradePosition_$
|
|
15729
|
+
"typeIdentifier": "t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage",
|
|
15732
15730
|
"typeString": "struct IMarginManager.tradePosition storage ref[] storage ref"
|
|
15733
15731
|
}
|
|
15734
15732
|
},
|
|
@@ -15752,13 +15750,13 @@
|
|
|
15752
15750
|
"nodeType": "IndexAccess",
|
|
15753
15751
|
"src": "14256:34:16",
|
|
15754
15752
|
"typeDescriptions": {
|
|
15755
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
15753
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_storage",
|
|
15756
15754
|
"typeString": "struct IMarginManager.tradePosition storage ref"
|
|
15757
15755
|
}
|
|
15758
15756
|
},
|
|
15759
15757
|
"src": "14245:45:16",
|
|
15760
15758
|
"typeDescriptions": {
|
|
15761
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
15759
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
15762
15760
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
15763
15761
|
}
|
|
15764
15762
|
},
|
|
@@ -15798,7 +15796,7 @@
|
|
|
15798
15796
|
"referencedDeclaration": 4953,
|
|
15799
15797
|
"src": "14327:8:16",
|
|
15800
15798
|
"typeDescriptions": {
|
|
15801
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
15799
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
15802
15800
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
15803
15801
|
}
|
|
15804
15802
|
},
|
|
@@ -15809,7 +15807,7 @@
|
|
|
15809
15807
|
"lValueRequested": false,
|
|
15810
15808
|
"memberName": "buyer",
|
|
15811
15809
|
"nodeType": "MemberAccess",
|
|
15812
|
-
"referencedDeclaration":
|
|
15810
|
+
"referencedDeclaration": 10592,
|
|
15813
15811
|
"src": "14327:14:16",
|
|
15814
15812
|
"typeDescriptions": {
|
|
15815
15813
|
"typeIdentifier": "t_address",
|
|
@@ -15879,7 +15877,7 @@
|
|
|
15879
15877
|
"referencedDeclaration": 4953,
|
|
15880
15878
|
"src": "14382:8:16",
|
|
15881
15879
|
"typeDescriptions": {
|
|
15882
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
15880
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
15883
15881
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
15884
15882
|
}
|
|
15885
15883
|
},
|
|
@@ -15890,7 +15888,7 @@
|
|
|
15890
15888
|
"lValueRequested": false,
|
|
15891
15889
|
"memberName": "buyer",
|
|
15892
15890
|
"nodeType": "MemberAccess",
|
|
15893
|
-
"referencedDeclaration":
|
|
15891
|
+
"referencedDeclaration": 10592,
|
|
15894
15892
|
"src": "14382:14:16",
|
|
15895
15893
|
"typeDescriptions": {
|
|
15896
15894
|
"typeIdentifier": "t_address",
|
|
@@ -15943,7 +15941,7 @@
|
|
|
15943
15941
|
"referencedDeclaration": 4953,
|
|
15944
15942
|
"src": "14413:8:16",
|
|
15945
15943
|
"typeDescriptions": {
|
|
15946
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
15944
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
15947
15945
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
15948
15946
|
}
|
|
15949
15947
|
},
|
|
@@ -15954,7 +15952,7 @@
|
|
|
15954
15952
|
"lValueRequested": false,
|
|
15955
15953
|
"memberName": "marginCollateral",
|
|
15956
15954
|
"nodeType": "MemberAccess",
|
|
15957
|
-
"referencedDeclaration":
|
|
15955
|
+
"referencedDeclaration": 10602,
|
|
15958
15956
|
"src": "14413:25:16",
|
|
15959
15957
|
"typeDescriptions": {
|
|
15960
15958
|
"typeIdentifier": "t_uint256",
|
|
@@ -16088,7 +16086,7 @@
|
|
|
16088
16086
|
"referencedDeclaration": 3775,
|
|
16089
16087
|
"src": "14466:9:16",
|
|
16090
16088
|
"typeDescriptions": {
|
|
16091
|
-
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$
|
|
16089
|
+
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage_$_$",
|
|
16092
16090
|
"typeString": "mapping(address => mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref))"
|
|
16093
16091
|
}
|
|
16094
16092
|
},
|
|
@@ -16112,7 +16110,7 @@
|
|
|
16112
16110
|
"nodeType": "IndexAccess",
|
|
16113
16111
|
"src": "14466:19:16",
|
|
16114
16112
|
"typeDescriptions": {
|
|
16115
|
-
"typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$
|
|
16113
|
+
"typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage_$",
|
|
16116
16114
|
"typeString": "mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref)"
|
|
16117
16115
|
}
|
|
16118
16116
|
},
|
|
@@ -16136,7 +16134,7 @@
|
|
|
16136
16134
|
"nodeType": "IndexAccess",
|
|
16137
16135
|
"src": "14466:29:16",
|
|
16138
16136
|
"typeDescriptions": {
|
|
16139
|
-
"typeIdentifier": "t_array$_t_struct$_tradePosition_$
|
|
16137
|
+
"typeIdentifier": "t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage",
|
|
16140
16138
|
"typeString": "struct IMarginManager.tradePosition storage ref[] storage ref"
|
|
16141
16139
|
}
|
|
16142
16140
|
},
|
|
@@ -16160,7 +16158,7 @@
|
|
|
16160
16158
|
"nodeType": "IndexAccess",
|
|
16161
16159
|
"src": "14466:34:16",
|
|
16162
16160
|
"typeDescriptions": {
|
|
16163
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
16161
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_storage",
|
|
16164
16162
|
"typeString": "struct IMarginManager.tradePosition storage ref"
|
|
16165
16163
|
}
|
|
16166
16164
|
},
|
|
@@ -16463,10 +16461,10 @@
|
|
|
16463
16461
|
"name": "IMarginTradingPool",
|
|
16464
16462
|
"nodeType": "Identifier",
|
|
16465
16463
|
"overloadedDeclarations": [],
|
|
16466
|
-
"referencedDeclaration":
|
|
16464
|
+
"referencedDeclaration": 10860,
|
|
16467
16465
|
"src": "12611:18:16",
|
|
16468
16466
|
"typeDescriptions": {
|
|
16469
|
-
"typeIdentifier": "t_type$_t_contract$_IMarginTradingPool_$
|
|
16467
|
+
"typeIdentifier": "t_type$_t_contract$_IMarginTradingPool_$10860_$",
|
|
16470
16468
|
"typeString": "type(contract IMarginTradingPool)"
|
|
16471
16469
|
}
|
|
16472
16470
|
},
|
|
@@ -16481,7 +16479,7 @@
|
|
|
16481
16479
|
"src": "12611:45:16",
|
|
16482
16480
|
"tryCall": false,
|
|
16483
16481
|
"typeDescriptions": {
|
|
16484
|
-
"typeIdentifier": "t_contract$_IMarginTradingPool_$
|
|
16482
|
+
"typeIdentifier": "t_contract$_IMarginTradingPool_$10860",
|
|
16485
16483
|
"typeString": "contract IMarginTradingPool"
|
|
16486
16484
|
}
|
|
16487
16485
|
},
|
|
@@ -16492,7 +16490,7 @@
|
|
|
16492
16490
|
"lValueRequested": false,
|
|
16493
16491
|
"memberName": "getOrderbook",
|
|
16494
16492
|
"nodeType": "MemberAccess",
|
|
16495
|
-
"referencedDeclaration":
|
|
16493
|
+
"referencedDeclaration": 10844,
|
|
16496
16494
|
"src": "12611:58:16",
|
|
16497
16495
|
"typeDescriptions": {
|
|
16498
16496
|
"typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
|
|
@@ -16611,10 +16609,10 @@
|
|
|
16611
16609
|
"name": "IMarginOrder",
|
|
16612
16610
|
"nodeType": "Identifier",
|
|
16613
16611
|
"overloadedDeclarations": [],
|
|
16614
|
-
"referencedDeclaration":
|
|
16612
|
+
"referencedDeclaration": 10816,
|
|
16615
16613
|
"src": "12702:12:16",
|
|
16616
16614
|
"typeDescriptions": {
|
|
16617
|
-
"typeIdentifier": "t_type$_t_contract$_IMarginOrder_$
|
|
16615
|
+
"typeIdentifier": "t_type$_t_contract$_IMarginOrder_$10816_$",
|
|
16618
16616
|
"typeString": "type(contract IMarginOrder)"
|
|
16619
16617
|
}
|
|
16620
16618
|
},
|
|
@@ -16629,7 +16627,7 @@
|
|
|
16629
16627
|
"src": "12702:23:16",
|
|
16630
16628
|
"tryCall": false,
|
|
16631
16629
|
"typeDescriptions": {
|
|
16632
|
-
"typeIdentifier": "t_contract$_IMarginOrder_$
|
|
16630
|
+
"typeIdentifier": "t_contract$_IMarginOrder_$10816",
|
|
16633
16631
|
"typeString": "contract IMarginOrder"
|
|
16634
16632
|
}
|
|
16635
16633
|
},
|
|
@@ -16640,10 +16638,10 @@
|
|
|
16640
16638
|
"lValueRequested": false,
|
|
16641
16639
|
"memberName": "getOrder",
|
|
16642
16640
|
"nodeType": "MemberAccess",
|
|
16643
|
-
"referencedDeclaration":
|
|
16641
|
+
"referencedDeclaration": 10781,
|
|
16644
16642
|
"src": "12702:32:16",
|
|
16645
16643
|
"typeDescriptions": {
|
|
16646
|
-
"typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_struct$_order_$
|
|
16644
|
+
"typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_struct$_order_$10754_memory_ptr_$",
|
|
16647
16645
|
"typeString": "function (bytes32) view external returns (struct IMarginOrder.order memory)"
|
|
16648
16646
|
}
|
|
16649
16647
|
},
|
|
@@ -16658,7 +16656,7 @@
|
|
|
16658
16656
|
"src": "12702:37:16",
|
|
16659
16657
|
"tryCall": false,
|
|
16660
16658
|
"typeDescriptions": {
|
|
16661
|
-
"typeIdentifier": "t_struct$_order_$
|
|
16659
|
+
"typeIdentifier": "t_struct$_order_$10754_memory_ptr",
|
|
16662
16660
|
"typeString": "struct IMarginOrder.order memory"
|
|
16663
16661
|
}
|
|
16664
16662
|
},
|
|
@@ -16669,7 +16667,7 @@
|
|
|
16669
16667
|
"lValueRequested": false,
|
|
16670
16668
|
"memberName": "tokenIn",
|
|
16671
16669
|
"nodeType": "MemberAccess",
|
|
16672
|
-
"referencedDeclaration":
|
|
16670
|
+
"referencedDeclaration": 10745,
|
|
16673
16671
|
"src": "12702:45:16",
|
|
16674
16672
|
"typeDescriptions": {
|
|
16675
16673
|
"typeIdentifier": "t_address",
|
|
@@ -16745,10 +16743,10 @@
|
|
|
16745
16743
|
"name": "IMarginOrder",
|
|
16746
16744
|
"nodeType": "Identifier",
|
|
16747
16745
|
"overloadedDeclarations": [],
|
|
16748
|
-
"referencedDeclaration":
|
|
16746
|
+
"referencedDeclaration": 10816,
|
|
16749
16747
|
"src": "12889:12:16",
|
|
16750
16748
|
"typeDescriptions": {
|
|
16751
|
-
"typeIdentifier": "t_type$_t_contract$_IMarginOrder_$
|
|
16749
|
+
"typeIdentifier": "t_type$_t_contract$_IMarginOrder_$10816_$",
|
|
16752
16750
|
"typeString": "type(contract IMarginOrder)"
|
|
16753
16751
|
}
|
|
16754
16752
|
},
|
|
@@ -16763,7 +16761,7 @@
|
|
|
16763
16761
|
"src": "12889:23:16",
|
|
16764
16762
|
"tryCall": false,
|
|
16765
16763
|
"typeDescriptions": {
|
|
16766
|
-
"typeIdentifier": "t_contract$_IMarginOrder_$
|
|
16764
|
+
"typeIdentifier": "t_contract$_IMarginOrder_$10816",
|
|
16767
16765
|
"typeString": "contract IMarginOrder"
|
|
16768
16766
|
}
|
|
16769
16767
|
},
|
|
@@ -16774,10 +16772,10 @@
|
|
|
16774
16772
|
"lValueRequested": false,
|
|
16775
16773
|
"memberName": "getOrder",
|
|
16776
16774
|
"nodeType": "MemberAccess",
|
|
16777
|
-
"referencedDeclaration":
|
|
16775
|
+
"referencedDeclaration": 10781,
|
|
16778
16776
|
"src": "12889:32:16",
|
|
16779
16777
|
"typeDescriptions": {
|
|
16780
|
-
"typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_struct$_order_$
|
|
16778
|
+
"typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_struct$_order_$10754_memory_ptr_$",
|
|
16781
16779
|
"typeString": "function (bytes32) view external returns (struct IMarginOrder.order memory)"
|
|
16782
16780
|
}
|
|
16783
16781
|
},
|
|
@@ -16792,7 +16790,7 @@
|
|
|
16792
16790
|
"src": "12889:38:16",
|
|
16793
16791
|
"tryCall": false,
|
|
16794
16792
|
"typeDescriptions": {
|
|
16795
|
-
"typeIdentifier": "t_struct$_order_$
|
|
16793
|
+
"typeIdentifier": "t_struct$_order_$10754_memory_ptr",
|
|
16796
16794
|
"typeString": "struct IMarginOrder.order memory"
|
|
16797
16795
|
}
|
|
16798
16796
|
},
|
|
@@ -16803,7 +16801,7 @@
|
|
|
16803
16801
|
"lValueRequested": false,
|
|
16804
16802
|
"memberName": "party",
|
|
16805
16803
|
"nodeType": "MemberAccess",
|
|
16806
|
-
"referencedDeclaration":
|
|
16804
|
+
"referencedDeclaration": 10751,
|
|
16807
16805
|
"src": "12889:44:16",
|
|
16808
16806
|
"typeDescriptions": {
|
|
16809
16807
|
"typeIdentifier": "t_address",
|
|
@@ -16866,10 +16864,10 @@
|
|
|
16866
16864
|
"name": "IMarginOrder",
|
|
16867
16865
|
"nodeType": "Identifier",
|
|
16868
16866
|
"overloadedDeclarations": [],
|
|
16869
|
-
"referencedDeclaration":
|
|
16867
|
+
"referencedDeclaration": 10816,
|
|
16870
16868
|
"src": "12802:12:16",
|
|
16871
16869
|
"typeDescriptions": {
|
|
16872
|
-
"typeIdentifier": "t_type$_t_contract$_IMarginOrder_$
|
|
16870
|
+
"typeIdentifier": "t_type$_t_contract$_IMarginOrder_$10816_$",
|
|
16873
16871
|
"typeString": "type(contract IMarginOrder)"
|
|
16874
16872
|
}
|
|
16875
16873
|
},
|
|
@@ -16884,7 +16882,7 @@
|
|
|
16884
16882
|
"src": "12802:23:16",
|
|
16885
16883
|
"tryCall": false,
|
|
16886
16884
|
"typeDescriptions": {
|
|
16887
|
-
"typeIdentifier": "t_contract$_IMarginOrder_$
|
|
16885
|
+
"typeIdentifier": "t_contract$_IMarginOrder_$10816",
|
|
16888
16886
|
"typeString": "contract IMarginOrder"
|
|
16889
16887
|
}
|
|
16890
16888
|
},
|
|
@@ -16895,10 +16893,10 @@
|
|
|
16895
16893
|
"lValueRequested": false,
|
|
16896
16894
|
"memberName": "getOrder",
|
|
16897
16895
|
"nodeType": "MemberAccess",
|
|
16898
|
-
"referencedDeclaration":
|
|
16896
|
+
"referencedDeclaration": 10781,
|
|
16899
16897
|
"src": "12802:32:16",
|
|
16900
16898
|
"typeDescriptions": {
|
|
16901
|
-
"typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_struct$_order_$
|
|
16899
|
+
"typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_struct$_order_$10754_memory_ptr_$",
|
|
16902
16900
|
"typeString": "function (bytes32) view external returns (struct IMarginOrder.order memory)"
|
|
16903
16901
|
}
|
|
16904
16902
|
},
|
|
@@ -16913,7 +16911,7 @@
|
|
|
16913
16911
|
"src": "12802:37:16",
|
|
16914
16912
|
"tryCall": false,
|
|
16915
16913
|
"typeDescriptions": {
|
|
16916
|
-
"typeIdentifier": "t_struct$_order_$
|
|
16914
|
+
"typeIdentifier": "t_struct$_order_$10754_memory_ptr",
|
|
16917
16915
|
"typeString": "struct IMarginOrder.order memory"
|
|
16918
16916
|
}
|
|
16919
16917
|
},
|
|
@@ -16924,7 +16922,7 @@
|
|
|
16924
16922
|
"lValueRequested": false,
|
|
16925
16923
|
"memberName": "party",
|
|
16926
16924
|
"nodeType": "MemberAccess",
|
|
16927
|
-
"referencedDeclaration":
|
|
16925
|
+
"referencedDeclaration": 10751,
|
|
16928
16926
|
"src": "12802:43:16",
|
|
16929
16927
|
"typeDescriptions": {
|
|
16930
16928
|
"typeIdentifier": "t_address",
|
|
@@ -17320,10 +17318,10 @@
|
|
|
17320
17318
|
"name": "IMarginOrder",
|
|
17321
17319
|
"nodeType": "Identifier",
|
|
17322
17320
|
"overloadedDeclarations": [],
|
|
17323
|
-
"referencedDeclaration":
|
|
17321
|
+
"referencedDeclaration": 10816,
|
|
17324
17322
|
"src": "13054:12:16",
|
|
17325
17323
|
"typeDescriptions": {
|
|
17326
|
-
"typeIdentifier": "t_type$_t_contract$_IMarginOrder_$
|
|
17324
|
+
"typeIdentifier": "t_type$_t_contract$_IMarginOrder_$10816_$",
|
|
17327
17325
|
"typeString": "type(contract IMarginOrder)"
|
|
17328
17326
|
}
|
|
17329
17327
|
},
|
|
@@ -17338,7 +17336,7 @@
|
|
|
17338
17336
|
"src": "13054:23:16",
|
|
17339
17337
|
"tryCall": false,
|
|
17340
17338
|
"typeDescriptions": {
|
|
17341
|
-
"typeIdentifier": "t_contract$_IMarginOrder_$
|
|
17339
|
+
"typeIdentifier": "t_contract$_IMarginOrder_$10816",
|
|
17342
17340
|
"typeString": "contract IMarginOrder"
|
|
17343
17341
|
}
|
|
17344
17342
|
},
|
|
@@ -17349,7 +17347,7 @@
|
|
|
17349
17347
|
"lValueRequested": false,
|
|
17350
17348
|
"memberName": "reportTrade",
|
|
17351
17349
|
"nodeType": "MemberAccess",
|
|
17352
|
-
"referencedDeclaration":
|
|
17350
|
+
"referencedDeclaration": 10815,
|
|
17353
17351
|
"src": "13054:35:16",
|
|
17354
17352
|
"typeDescriptions": {
|
|
17355
17353
|
"typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_bytes32_$_t_uint256_$_t_uint256_$_t_uint256_$returns$__$",
|
|
@@ -17613,17 +17611,17 @@
|
|
|
17613
17611
|
"stateVariable": false,
|
|
17614
17612
|
"storageLocation": "memory",
|
|
17615
17613
|
"typeDescriptions": {
|
|
17616
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
17614
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
17617
17615
|
"typeString": "struct IMarginManager.tradePosition"
|
|
17618
17616
|
},
|
|
17619
17617
|
"typeName": {
|
|
17620
17618
|
"id": 4898,
|
|
17621
17619
|
"name": "IMarginManager.tradePosition",
|
|
17622
17620
|
"nodeType": "UserDefinedTypeName",
|
|
17623
|
-
"referencedDeclaration":
|
|
17621
|
+
"referencedDeclaration": 10605,
|
|
17624
17622
|
"src": "13296:28:16",
|
|
17625
17623
|
"typeDescriptions": {
|
|
17626
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
17624
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_storage_ptr",
|
|
17627
17625
|
"typeString": "struct IMarginManager.tradePosition"
|
|
17628
17626
|
}
|
|
17629
17627
|
},
|
|
@@ -17704,7 +17702,7 @@
|
|
|
17704
17702
|
"referencedDeclaration": 4899,
|
|
17705
17703
|
"src": "13384:8:16",
|
|
17706
17704
|
"typeDescriptions": {
|
|
17707
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
17705
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
17708
17706
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
17709
17707
|
}
|
|
17710
17708
|
},
|
|
@@ -17721,7 +17719,7 @@
|
|
|
17721
17719
|
"referencedDeclaration": 3775,
|
|
17722
17720
|
"src": "13395:9:16",
|
|
17723
17721
|
"typeDescriptions": {
|
|
17724
|
-
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$
|
|
17722
|
+
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage_$_$",
|
|
17725
17723
|
"typeString": "mapping(address => mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref))"
|
|
17726
17724
|
}
|
|
17727
17725
|
},
|
|
@@ -17745,7 +17743,7 @@
|
|
|
17745
17743
|
"nodeType": "IndexAccess",
|
|
17746
17744
|
"src": "13395:19:16",
|
|
17747
17745
|
"typeDescriptions": {
|
|
17748
|
-
"typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$
|
|
17746
|
+
"typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage_$",
|
|
17749
17747
|
"typeString": "mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref)"
|
|
17750
17748
|
}
|
|
17751
17749
|
},
|
|
@@ -17769,7 +17767,7 @@
|
|
|
17769
17767
|
"nodeType": "IndexAccess",
|
|
17770
17768
|
"src": "13395:29:16",
|
|
17771
17769
|
"typeDescriptions": {
|
|
17772
|
-
"typeIdentifier": "t_array$_t_struct$_tradePosition_$
|
|
17770
|
+
"typeIdentifier": "t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage",
|
|
17773
17771
|
"typeString": "struct IMarginManager.tradePosition storage ref[] storage ref"
|
|
17774
17772
|
}
|
|
17775
17773
|
},
|
|
@@ -17793,13 +17791,13 @@
|
|
|
17793
17791
|
"nodeType": "IndexAccess",
|
|
17794
17792
|
"src": "13395:34:16",
|
|
17795
17793
|
"typeDescriptions": {
|
|
17796
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
17794
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_storage",
|
|
17797
17795
|
"typeString": "struct IMarginManager.tradePosition storage ref"
|
|
17798
17796
|
}
|
|
17799
17797
|
},
|
|
17800
17798
|
"src": "13384:45:16",
|
|
17801
17799
|
"typeDescriptions": {
|
|
17802
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
17800
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
17803
17801
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
17804
17802
|
}
|
|
17805
17803
|
},
|
|
@@ -17823,7 +17821,7 @@
|
|
|
17823
17821
|
"referencedDeclaration": 4899,
|
|
17824
17822
|
"src": "13448:8:16",
|
|
17825
17823
|
"typeDescriptions": {
|
|
17826
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
17824
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
17827
17825
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
17828
17826
|
}
|
|
17829
17827
|
},
|
|
@@ -17834,7 +17832,7 @@
|
|
|
17834
17832
|
"lValueRequested": true,
|
|
17835
17833
|
"memberName": "timestamp",
|
|
17836
17834
|
"nodeType": "MemberAccess",
|
|
17837
|
-
"referencedDeclaration":
|
|
17835
|
+
"referencedDeclaration": 10604,
|
|
17838
17836
|
"src": "13448:18:16",
|
|
17839
17837
|
"typeDescriptions": {
|
|
17840
17838
|
"typeIdentifier": "t_uint256",
|
|
@@ -18006,7 +18004,7 @@
|
|
|
18006
18004
|
"referencedDeclaration": 4899,
|
|
18007
18005
|
"src": "13574:8:16",
|
|
18008
18006
|
"typeDescriptions": {
|
|
18009
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
18007
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
18010
18008
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
18011
18009
|
}
|
|
18012
18010
|
},
|
|
@@ -18023,7 +18021,7 @@
|
|
|
18023
18021
|
"referencedDeclaration": 3775,
|
|
18024
18022
|
"src": "13585:9:16",
|
|
18025
18023
|
"typeDescriptions": {
|
|
18026
|
-
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$
|
|
18024
|
+
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage_$_$",
|
|
18027
18025
|
"typeString": "mapping(address => mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref))"
|
|
18028
18026
|
}
|
|
18029
18027
|
},
|
|
@@ -18047,7 +18045,7 @@
|
|
|
18047
18045
|
"nodeType": "IndexAccess",
|
|
18048
18046
|
"src": "13585:19:16",
|
|
18049
18047
|
"typeDescriptions": {
|
|
18050
|
-
"typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$
|
|
18048
|
+
"typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage_$",
|
|
18051
18049
|
"typeString": "mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref)"
|
|
18052
18050
|
}
|
|
18053
18051
|
},
|
|
@@ -18071,7 +18069,7 @@
|
|
|
18071
18069
|
"nodeType": "IndexAccess",
|
|
18072
18070
|
"src": "13585:29:16",
|
|
18073
18071
|
"typeDescriptions": {
|
|
18074
|
-
"typeIdentifier": "t_array$_t_struct$_tradePosition_$
|
|
18072
|
+
"typeIdentifier": "t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage",
|
|
18075
18073
|
"typeString": "struct IMarginManager.tradePosition storage ref[] storage ref"
|
|
18076
18074
|
}
|
|
18077
18075
|
},
|
|
@@ -18095,13 +18093,13 @@
|
|
|
18095
18093
|
"nodeType": "IndexAccess",
|
|
18096
18094
|
"src": "13585:34:16",
|
|
18097
18095
|
"typeDescriptions": {
|
|
18098
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
18096
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_storage",
|
|
18099
18097
|
"typeString": "struct IMarginManager.tradePosition storage ref"
|
|
18100
18098
|
}
|
|
18101
18099
|
},
|
|
18102
18100
|
"src": "13574:45:16",
|
|
18103
18101
|
"typeDescriptions": {
|
|
18104
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
18102
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
18105
18103
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
18106
18104
|
}
|
|
18107
18105
|
},
|
|
@@ -18125,7 +18123,7 @@
|
|
|
18125
18123
|
"referencedDeclaration": 4899,
|
|
18126
18124
|
"src": "13638:8:16",
|
|
18127
18125
|
"typeDescriptions": {
|
|
18128
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
18126
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
18129
18127
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
18130
18128
|
}
|
|
18131
18129
|
},
|
|
@@ -18136,7 +18134,7 @@
|
|
|
18136
18134
|
"lValueRequested": true,
|
|
18137
18135
|
"memberName": "timestamp",
|
|
18138
18136
|
"nodeType": "MemberAccess",
|
|
18139
|
-
"referencedDeclaration":
|
|
18137
|
+
"referencedDeclaration": 10604,
|
|
18140
18138
|
"src": "13638:18:16",
|
|
18141
18139
|
"typeDescriptions": {
|
|
18142
18140
|
"typeIdentifier": "t_uint256",
|
|
@@ -18476,10 +18474,10 @@
|
|
|
18476
18474
|
"name": "IMarginOrder",
|
|
18477
18475
|
"nodeType": "Identifier",
|
|
18478
18476
|
"overloadedDeclarations": [],
|
|
18479
|
-
"referencedDeclaration":
|
|
18477
|
+
"referencedDeclaration": 10816,
|
|
18480
18478
|
"src": "14752:12:16",
|
|
18481
18479
|
"typeDescriptions": {
|
|
18482
|
-
"typeIdentifier": "t_type$_t_contract$_IMarginOrder_$
|
|
18480
|
+
"typeIdentifier": "t_type$_t_contract$_IMarginOrder_$10816_$",
|
|
18483
18481
|
"typeString": "type(contract IMarginOrder)"
|
|
18484
18482
|
}
|
|
18485
18483
|
},
|
|
@@ -18494,7 +18492,7 @@
|
|
|
18494
18492
|
"src": "14752:23:16",
|
|
18495
18493
|
"tryCall": false,
|
|
18496
18494
|
"typeDescriptions": {
|
|
18497
|
-
"typeIdentifier": "t_contract$_IMarginOrder_$
|
|
18495
|
+
"typeIdentifier": "t_contract$_IMarginOrder_$10816",
|
|
18498
18496
|
"typeString": "contract IMarginOrder"
|
|
18499
18497
|
}
|
|
18500
18498
|
},
|
|
@@ -18505,7 +18503,7 @@
|
|
|
18505
18503
|
"lValueRequested": false,
|
|
18506
18504
|
"memberName": "getPoolId",
|
|
18507
18505
|
"nodeType": "MemberAccess",
|
|
18508
|
-
"referencedDeclaration":
|
|
18506
|
+
"referencedDeclaration": 10764,
|
|
18509
18507
|
"src": "14752:33:16",
|
|
18510
18508
|
"typeDescriptions": {
|
|
18511
18509
|
"typeIdentifier": "t_function_external_view$__$returns$_t_bytes32_$",
|
|
@@ -18587,10 +18585,10 @@
|
|
|
18587
18585
|
"name": "IMarginOrder",
|
|
18588
18586
|
"nodeType": "Identifier",
|
|
18589
18587
|
"overloadedDeclarations": [],
|
|
18590
|
-
"referencedDeclaration":
|
|
18588
|
+
"referencedDeclaration": 10816,
|
|
18591
18589
|
"src": "14802:12:16",
|
|
18592
18590
|
"typeDescriptions": {
|
|
18593
|
-
"typeIdentifier": "t_type$_t_contract$_IMarginOrder_$
|
|
18591
|
+
"typeIdentifier": "t_type$_t_contract$_IMarginOrder_$10816_$",
|
|
18594
18592
|
"typeString": "type(contract IMarginOrder)"
|
|
18595
18593
|
}
|
|
18596
18594
|
},
|
|
@@ -18605,7 +18603,7 @@
|
|
|
18605
18603
|
"src": "14802:23:16",
|
|
18606
18604
|
"tryCall": false,
|
|
18607
18605
|
"typeDescriptions": {
|
|
18608
|
-
"typeIdentifier": "t_contract$_IMarginOrder_$
|
|
18606
|
+
"typeIdentifier": "t_contract$_IMarginOrder_$10816",
|
|
18609
18607
|
"typeString": "contract IMarginOrder"
|
|
18610
18608
|
}
|
|
18611
18609
|
},
|
|
@@ -18616,10 +18614,10 @@
|
|
|
18616
18614
|
"lValueRequested": false,
|
|
18617
18615
|
"memberName": "getOrder",
|
|
18618
18616
|
"nodeType": "MemberAccess",
|
|
18619
|
-
"referencedDeclaration":
|
|
18617
|
+
"referencedDeclaration": 10781,
|
|
18620
18618
|
"src": "14802:32:16",
|
|
18621
18619
|
"typeDescriptions": {
|
|
18622
|
-
"typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_struct$_order_$
|
|
18620
|
+
"typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_struct$_order_$10754_memory_ptr_$",
|
|
18623
18621
|
"typeString": "function (bytes32) view external returns (struct IMarginOrder.order memory)"
|
|
18624
18622
|
}
|
|
18625
18623
|
},
|
|
@@ -18634,7 +18632,7 @@
|
|
|
18634
18632
|
"src": "14802:37:16",
|
|
18635
18633
|
"tryCall": false,
|
|
18636
18634
|
"typeDescriptions": {
|
|
18637
|
-
"typeIdentifier": "t_struct$_order_$
|
|
18635
|
+
"typeIdentifier": "t_struct$_order_$10754_memory_ptr",
|
|
18638
18636
|
"typeString": "struct IMarginOrder.order memory"
|
|
18639
18637
|
}
|
|
18640
18638
|
},
|
|
@@ -18645,7 +18643,7 @@
|
|
|
18645
18643
|
"lValueRequested": false,
|
|
18646
18644
|
"memberName": "party",
|
|
18647
18645
|
"nodeType": "MemberAccess",
|
|
18648
|
-
"referencedDeclaration":
|
|
18646
|
+
"referencedDeclaration": 10751,
|
|
18649
18647
|
"src": "14802:43:16",
|
|
18650
18648
|
"typeDescriptions": {
|
|
18651
18649
|
"typeIdentifier": "t_address",
|
|
@@ -18721,10 +18719,10 @@
|
|
|
18721
18719
|
"name": "IMarginOrder",
|
|
18722
18720
|
"nodeType": "Identifier",
|
|
18723
18721
|
"overloadedDeclarations": [],
|
|
18724
|
-
"referencedDeclaration":
|
|
18722
|
+
"referencedDeclaration": 10816,
|
|
18725
18723
|
"src": "14968:12:16",
|
|
18726
18724
|
"typeDescriptions": {
|
|
18727
|
-
"typeIdentifier": "t_type$_t_contract$_IMarginOrder_$
|
|
18725
|
+
"typeIdentifier": "t_type$_t_contract$_IMarginOrder_$10816_$",
|
|
18728
18726
|
"typeString": "type(contract IMarginOrder)"
|
|
18729
18727
|
}
|
|
18730
18728
|
},
|
|
@@ -18739,7 +18737,7 @@
|
|
|
18739
18737
|
"src": "14968:23:16",
|
|
18740
18738
|
"tryCall": false,
|
|
18741
18739
|
"typeDescriptions": {
|
|
18742
|
-
"typeIdentifier": "t_contract$_IMarginOrder_$
|
|
18740
|
+
"typeIdentifier": "t_contract$_IMarginOrder_$10816",
|
|
18743
18741
|
"typeString": "contract IMarginOrder"
|
|
18744
18742
|
}
|
|
18745
18743
|
},
|
|
@@ -18750,10 +18748,10 @@
|
|
|
18750
18748
|
"lValueRequested": false,
|
|
18751
18749
|
"memberName": "getOrder",
|
|
18752
18750
|
"nodeType": "MemberAccess",
|
|
18753
|
-
"referencedDeclaration":
|
|
18751
|
+
"referencedDeclaration": 10781,
|
|
18754
18752
|
"src": "14968:32:16",
|
|
18755
18753
|
"typeDescriptions": {
|
|
18756
|
-
"typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_struct$_order_$
|
|
18754
|
+
"typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_struct$_order_$10754_memory_ptr_$",
|
|
18757
18755
|
"typeString": "function (bytes32) view external returns (struct IMarginOrder.order memory)"
|
|
18758
18756
|
}
|
|
18759
18757
|
},
|
|
@@ -18768,7 +18766,7 @@
|
|
|
18768
18766
|
"src": "14968:37:16",
|
|
18769
18767
|
"tryCall": false,
|
|
18770
18768
|
"typeDescriptions": {
|
|
18771
|
-
"typeIdentifier": "t_struct$_order_$
|
|
18769
|
+
"typeIdentifier": "t_struct$_order_$10754_memory_ptr",
|
|
18772
18770
|
"typeString": "struct IMarginOrder.order memory"
|
|
18773
18771
|
}
|
|
18774
18772
|
},
|
|
@@ -18779,7 +18777,7 @@
|
|
|
18779
18777
|
"lValueRequested": false,
|
|
18780
18778
|
"memberName": "party",
|
|
18781
18779
|
"nodeType": "MemberAccess",
|
|
18782
|
-
"referencedDeclaration":
|
|
18780
|
+
"referencedDeclaration": 10751,
|
|
18783
18781
|
"src": "14968:43:16",
|
|
18784
18782
|
"typeDescriptions": {
|
|
18785
18783
|
"typeIdentifier": "t_address",
|
|
@@ -18842,10 +18840,10 @@
|
|
|
18842
18840
|
"name": "IMarginOrder",
|
|
18843
18841
|
"nodeType": "Identifier",
|
|
18844
18842
|
"overloadedDeclarations": [],
|
|
18845
|
-
"referencedDeclaration":
|
|
18843
|
+
"referencedDeclaration": 10816,
|
|
18846
18844
|
"src": "14888:12:16",
|
|
18847
18845
|
"typeDescriptions": {
|
|
18848
|
-
"typeIdentifier": "t_type$_t_contract$_IMarginOrder_$
|
|
18846
|
+
"typeIdentifier": "t_type$_t_contract$_IMarginOrder_$10816_$",
|
|
18849
18847
|
"typeString": "type(contract IMarginOrder)"
|
|
18850
18848
|
}
|
|
18851
18849
|
},
|
|
@@ -18860,7 +18858,7 @@
|
|
|
18860
18858
|
"src": "14888:23:16",
|
|
18861
18859
|
"tryCall": false,
|
|
18862
18860
|
"typeDescriptions": {
|
|
18863
|
-
"typeIdentifier": "t_contract$_IMarginOrder_$
|
|
18861
|
+
"typeIdentifier": "t_contract$_IMarginOrder_$10816",
|
|
18864
18862
|
"typeString": "contract IMarginOrder"
|
|
18865
18863
|
}
|
|
18866
18864
|
},
|
|
@@ -18871,10 +18869,10 @@
|
|
|
18871
18869
|
"lValueRequested": false,
|
|
18872
18870
|
"memberName": "getOrder",
|
|
18873
18871
|
"nodeType": "MemberAccess",
|
|
18874
|
-
"referencedDeclaration":
|
|
18872
|
+
"referencedDeclaration": 10781,
|
|
18875
18873
|
"src": "14888:32:16",
|
|
18876
18874
|
"typeDescriptions": {
|
|
18877
|
-
"typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_struct$_order_$
|
|
18875
|
+
"typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_struct$_order_$10754_memory_ptr_$",
|
|
18878
18876
|
"typeString": "function (bytes32) view external returns (struct IMarginOrder.order memory)"
|
|
18879
18877
|
}
|
|
18880
18878
|
},
|
|
@@ -18889,7 +18887,7 @@
|
|
|
18889
18887
|
"src": "14888:38:16",
|
|
18890
18888
|
"tryCall": false,
|
|
18891
18889
|
"typeDescriptions": {
|
|
18892
|
-
"typeIdentifier": "t_struct$_order_$
|
|
18890
|
+
"typeIdentifier": "t_struct$_order_$10754_memory_ptr",
|
|
18893
18891
|
"typeString": "struct IMarginOrder.order memory"
|
|
18894
18892
|
}
|
|
18895
18893
|
},
|
|
@@ -18900,7 +18898,7 @@
|
|
|
18900
18898
|
"lValueRequested": false,
|
|
18901
18899
|
"memberName": "party",
|
|
18902
18900
|
"nodeType": "MemberAccess",
|
|
18903
|
-
"referencedDeclaration":
|
|
18901
|
+
"referencedDeclaration": 10751,
|
|
18904
18902
|
"src": "14888:44:16",
|
|
18905
18903
|
"typeDescriptions": {
|
|
18906
18904
|
"typeIdentifier": "t_address",
|
|
@@ -18966,10 +18964,10 @@
|
|
|
18966
18964
|
"name": "IMarginOrder",
|
|
18967
18965
|
"nodeType": "Identifier",
|
|
18968
18966
|
"overloadedDeclarations": [],
|
|
18969
|
-
"referencedDeclaration":
|
|
18967
|
+
"referencedDeclaration": 10816,
|
|
18970
18968
|
"src": "15075:12:16",
|
|
18971
18969
|
"typeDescriptions": {
|
|
18972
|
-
"typeIdentifier": "t_type$_t_contract$_IMarginOrder_$
|
|
18970
|
+
"typeIdentifier": "t_type$_t_contract$_IMarginOrder_$10816_$",
|
|
18973
18971
|
"typeString": "type(contract IMarginOrder)"
|
|
18974
18972
|
}
|
|
18975
18973
|
},
|
|
@@ -18984,7 +18982,7 @@
|
|
|
18984
18982
|
"src": "15075:23:16",
|
|
18985
18983
|
"tryCall": false,
|
|
18986
18984
|
"typeDescriptions": {
|
|
18987
|
-
"typeIdentifier": "t_contract$_IMarginOrder_$
|
|
18985
|
+
"typeIdentifier": "t_contract$_IMarginOrder_$10816",
|
|
18988
18986
|
"typeString": "contract IMarginOrder"
|
|
18989
18987
|
}
|
|
18990
18988
|
},
|
|
@@ -18995,7 +18993,7 @@
|
|
|
18995
18993
|
"lValueRequested": false,
|
|
18996
18994
|
"memberName": "getSecurity",
|
|
18997
18995
|
"nodeType": "MemberAccess",
|
|
18998
|
-
"referencedDeclaration":
|
|
18996
|
+
"referencedDeclaration": 10769,
|
|
18999
18997
|
"src": "15075:35:16",
|
|
19000
18998
|
"typeDescriptions": {
|
|
19001
18999
|
"typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
|
|
@@ -19047,10 +19045,10 @@
|
|
|
19047
19045
|
"name": "IMarginOrder",
|
|
19048
19046
|
"nodeType": "Identifier",
|
|
19049
19047
|
"overloadedDeclarations": [],
|
|
19050
|
-
"referencedDeclaration":
|
|
19048
|
+
"referencedDeclaration": 10816,
|
|
19051
19049
|
"src": "15127:12:16",
|
|
19052
19050
|
"typeDescriptions": {
|
|
19053
|
-
"typeIdentifier": "t_type$_t_contract$_IMarginOrder_$
|
|
19051
|
+
"typeIdentifier": "t_type$_t_contract$_IMarginOrder_$10816_$",
|
|
19054
19052
|
"typeString": "type(contract IMarginOrder)"
|
|
19055
19053
|
}
|
|
19056
19054
|
},
|
|
@@ -19065,7 +19063,7 @@
|
|
|
19065
19063
|
"src": "15127:23:16",
|
|
19066
19064
|
"tryCall": false,
|
|
19067
19065
|
"typeDescriptions": {
|
|
19068
|
-
"typeIdentifier": "t_contract$_IMarginOrder_$
|
|
19066
|
+
"typeIdentifier": "t_contract$_IMarginOrder_$10816",
|
|
19069
19067
|
"typeString": "contract IMarginOrder"
|
|
19070
19068
|
}
|
|
19071
19069
|
},
|
|
@@ -19076,7 +19074,7 @@
|
|
|
19076
19074
|
"lValueRequested": false,
|
|
19077
19075
|
"memberName": "getCurrency",
|
|
19078
19076
|
"nodeType": "MemberAccess",
|
|
19079
|
-
"referencedDeclaration":
|
|
19077
|
+
"referencedDeclaration": 10774,
|
|
19080
19078
|
"src": "15127:35:16",
|
|
19081
19079
|
"typeDescriptions": {
|
|
19082
19080
|
"typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
|
|
@@ -19530,10 +19528,10 @@
|
|
|
19530
19528
|
"name": "IMarginTradingPool",
|
|
19531
19529
|
"nodeType": "Identifier",
|
|
19532
19530
|
"overloadedDeclarations": [],
|
|
19533
|
-
"referencedDeclaration":
|
|
19531
|
+
"referencedDeclaration": 10860,
|
|
19534
19532
|
"src": "15436:18:16",
|
|
19535
19533
|
"typeDescriptions": {
|
|
19536
|
-
"typeIdentifier": "t_type$_t_contract$_IMarginTradingPool_$
|
|
19534
|
+
"typeIdentifier": "t_type$_t_contract$_IMarginTradingPool_$10860_$",
|
|
19537
19535
|
"typeString": "type(contract IMarginTradingPool)"
|
|
19538
19536
|
}
|
|
19539
19537
|
},
|
|
@@ -19548,7 +19546,7 @@
|
|
|
19548
19546
|
"src": "15436:24:16",
|
|
19549
19547
|
"tryCall": false,
|
|
19550
19548
|
"typeDescriptions": {
|
|
19551
|
-
"typeIdentifier": "t_contract$_IMarginTradingPool_$
|
|
19549
|
+
"typeIdentifier": "t_contract$_IMarginTradingPool_$10860",
|
|
19552
19550
|
"typeString": "contract IMarginTradingPool"
|
|
19553
19551
|
}
|
|
19554
19552
|
},
|
|
@@ -19559,7 +19557,7 @@
|
|
|
19559
19557
|
"lValueRequested": false,
|
|
19560
19558
|
"memberName": "getFee",
|
|
19561
19559
|
"nodeType": "MemberAccess",
|
|
19562
|
-
"referencedDeclaration":
|
|
19560
|
+
"referencedDeclaration": 10859,
|
|
19563
19561
|
"src": "15436:31:16",
|
|
19564
19562
|
"typeDescriptions": {
|
|
19565
19563
|
"typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$",
|
|
@@ -20195,7 +20193,7 @@
|
|
|
20195
20193
|
},
|
|
20196
20194
|
{
|
|
20197
20195
|
"baseFunctions": [
|
|
20198
|
-
|
|
20196
|
+
10709
|
|
20199
20197
|
],
|
|
20200
20198
|
"body": {
|
|
20201
20199
|
"id": 5462,
|
|
@@ -20224,17 +20222,17 @@
|
|
|
20224
20222
|
"stateVariable": false,
|
|
20225
20223
|
"storageLocation": "memory",
|
|
20226
20224
|
"typeDescriptions": {
|
|
20227
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
20225
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
20228
20226
|
"typeString": "struct IMarginManager.tradePosition"
|
|
20229
20227
|
},
|
|
20230
20228
|
"typeName": {
|
|
20231
20229
|
"id": 5223,
|
|
20232
20230
|
"name": "IMarginManager.tradePosition",
|
|
20233
20231
|
"nodeType": "UserDefinedTypeName",
|
|
20234
|
-
"referencedDeclaration":
|
|
20232
|
+
"referencedDeclaration": 10605,
|
|
20235
20233
|
"src": "16004:28:16",
|
|
20236
20234
|
"typeDescriptions": {
|
|
20237
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
20235
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_storage_ptr",
|
|
20238
20236
|
"typeString": "struct IMarginManager.tradePosition"
|
|
20239
20237
|
}
|
|
20240
20238
|
},
|
|
@@ -20253,7 +20251,7 @@
|
|
|
20253
20251
|
"referencedDeclaration": 3775,
|
|
20254
20252
|
"src": "16051:9:16",
|
|
20255
20253
|
"typeDescriptions": {
|
|
20256
|
-
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$
|
|
20254
|
+
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage_$_$",
|
|
20257
20255
|
"typeString": "mapping(address => mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref))"
|
|
20258
20256
|
}
|
|
20259
20257
|
},
|
|
@@ -20277,7 +20275,7 @@
|
|
|
20277
20275
|
"nodeType": "IndexAccess",
|
|
20278
20276
|
"src": "16051:19:16",
|
|
20279
20277
|
"typeDescriptions": {
|
|
20280
|
-
"typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$
|
|
20278
|
+
"typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage_$",
|
|
20281
20279
|
"typeString": "mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref)"
|
|
20282
20280
|
}
|
|
20283
20281
|
},
|
|
@@ -20301,7 +20299,7 @@
|
|
|
20301
20299
|
"nodeType": "IndexAccess",
|
|
20302
20300
|
"src": "16051:29:16",
|
|
20303
20301
|
"typeDescriptions": {
|
|
20304
|
-
"typeIdentifier": "t_array$_t_struct$_tradePosition_$
|
|
20302
|
+
"typeIdentifier": "t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage",
|
|
20305
20303
|
"typeString": "struct IMarginManager.tradePosition storage ref[] storage ref"
|
|
20306
20304
|
}
|
|
20307
20305
|
},
|
|
@@ -20325,7 +20323,7 @@
|
|
|
20325
20323
|
"nodeType": "IndexAccess",
|
|
20326
20324
|
"src": "16051:32:16",
|
|
20327
20325
|
"typeDescriptions": {
|
|
20328
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
20326
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_storage",
|
|
20329
20327
|
"typeString": "struct IMarginManager.tradePosition storage ref"
|
|
20330
20328
|
}
|
|
20331
20329
|
},
|
|
@@ -20367,7 +20365,7 @@
|
|
|
20367
20365
|
"referencedDeclaration": 5224,
|
|
20368
20366
|
"src": "16119:8:16",
|
|
20369
20367
|
"typeDescriptions": {
|
|
20370
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
20368
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
20371
20369
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
20372
20370
|
}
|
|
20373
20371
|
},
|
|
@@ -20378,7 +20376,7 @@
|
|
|
20378
20376
|
"lValueRequested": false,
|
|
20379
20377
|
"memberName": "buyer",
|
|
20380
20378
|
"nodeType": "MemberAccess",
|
|
20381
|
-
"referencedDeclaration":
|
|
20379
|
+
"referencedDeclaration": 10592,
|
|
20382
20380
|
"src": "16119:14:16",
|
|
20383
20381
|
"typeDescriptions": {
|
|
20384
20382
|
"typeIdentifier": "t_address",
|
|
@@ -20527,7 +20525,7 @@
|
|
|
20527
20525
|
"referencedDeclaration": 5224,
|
|
20528
20526
|
"src": "16451:8:16",
|
|
20529
20527
|
"typeDescriptions": {
|
|
20530
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
20528
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
20531
20529
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
20532
20530
|
}
|
|
20533
20531
|
},
|
|
@@ -20538,7 +20536,7 @@
|
|
|
20538
20536
|
"lValueRequested": false,
|
|
20539
20537
|
"memberName": "buyer",
|
|
20540
20538
|
"nodeType": "MemberAccess",
|
|
20541
|
-
"referencedDeclaration":
|
|
20539
|
+
"referencedDeclaration": 10592,
|
|
20542
20540
|
"src": "16451:14:16",
|
|
20543
20541
|
"typeDescriptions": {
|
|
20544
20542
|
"typeIdentifier": "t_address",
|
|
@@ -20608,7 +20606,7 @@
|
|
|
20608
20606
|
"referencedDeclaration": 5224,
|
|
20609
20607
|
"src": "16506:8:16",
|
|
20610
20608
|
"typeDescriptions": {
|
|
20611
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
20609
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
20612
20610
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
20613
20611
|
}
|
|
20614
20612
|
},
|
|
@@ -20619,7 +20617,7 @@
|
|
|
20619
20617
|
"lValueRequested": false,
|
|
20620
20618
|
"memberName": "buyer",
|
|
20621
20619
|
"nodeType": "MemberAccess",
|
|
20622
|
-
"referencedDeclaration":
|
|
20620
|
+
"referencedDeclaration": 10592,
|
|
20623
20621
|
"src": "16506:14:16",
|
|
20624
20622
|
"typeDescriptions": {
|
|
20625
20623
|
"typeIdentifier": "t_address",
|
|
@@ -20700,7 +20698,7 @@
|
|
|
20700
20698
|
"referencedDeclaration": 5224,
|
|
20701
20699
|
"src": "16588:8:16",
|
|
20702
20700
|
"typeDescriptions": {
|
|
20703
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
20701
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
20704
20702
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
20705
20703
|
}
|
|
20706
20704
|
},
|
|
@@ -20711,7 +20709,7 @@
|
|
|
20711
20709
|
"lValueRequested": false,
|
|
20712
20710
|
"memberName": "timestamp",
|
|
20713
20711
|
"nodeType": "MemberAccess",
|
|
20714
|
-
"referencedDeclaration":
|
|
20712
|
+
"referencedDeclaration": 10604,
|
|
20715
20713
|
"src": "16588:18:16",
|
|
20716
20714
|
"typeDescriptions": {
|
|
20717
20715
|
"typeIdentifier": "t_uint256",
|
|
@@ -20964,7 +20962,7 @@
|
|
|
20964
20962
|
"referencedDeclaration": 5224,
|
|
20965
20963
|
"src": "16217:8:16",
|
|
20966
20964
|
"typeDescriptions": {
|
|
20967
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
20965
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
20968
20966
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
20969
20967
|
}
|
|
20970
20968
|
},
|
|
@@ -20975,7 +20973,7 @@
|
|
|
20975
20973
|
"lValueRequested": false,
|
|
20976
20974
|
"memberName": "buyer",
|
|
20977
20975
|
"nodeType": "MemberAccess",
|
|
20978
|
-
"referencedDeclaration":
|
|
20976
|
+
"referencedDeclaration": 10592,
|
|
20979
20977
|
"src": "16217:14:16",
|
|
20980
20978
|
"typeDescriptions": {
|
|
20981
20979
|
"typeIdentifier": "t_address",
|
|
@@ -21045,7 +21043,7 @@
|
|
|
21045
21043
|
"referencedDeclaration": 5224,
|
|
21046
21044
|
"src": "16272:8:16",
|
|
21047
21045
|
"typeDescriptions": {
|
|
21048
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
21046
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
21049
21047
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
21050
21048
|
}
|
|
21051
21049
|
},
|
|
@@ -21056,7 +21054,7 @@
|
|
|
21056
21054
|
"lValueRequested": false,
|
|
21057
21055
|
"memberName": "buyer",
|
|
21058
21056
|
"nodeType": "MemberAccess",
|
|
21059
|
-
"referencedDeclaration":
|
|
21057
|
+
"referencedDeclaration": 10592,
|
|
21060
21058
|
"src": "16272:14:16",
|
|
21061
21059
|
"typeDescriptions": {
|
|
21062
21060
|
"typeIdentifier": "t_address",
|
|
@@ -21137,7 +21135,7 @@
|
|
|
21137
21135
|
"referencedDeclaration": 5224,
|
|
21138
21136
|
"src": "16354:8:16",
|
|
21139
21137
|
"typeDescriptions": {
|
|
21140
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
21138
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
21141
21139
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
21142
21140
|
}
|
|
21143
21141
|
},
|
|
@@ -21148,7 +21146,7 @@
|
|
|
21148
21146
|
"lValueRequested": false,
|
|
21149
21147
|
"memberName": "timestamp",
|
|
21150
21148
|
"nodeType": "MemberAccess",
|
|
21151
|
-
"referencedDeclaration":
|
|
21149
|
+
"referencedDeclaration": 10604,
|
|
21152
21150
|
"src": "16354:18:16",
|
|
21153
21151
|
"typeDescriptions": {
|
|
21154
21152
|
"typeIdentifier": "t_uint256",
|
|
@@ -21442,7 +21440,7 @@
|
|
|
21442
21440
|
"referencedDeclaration": 5224,
|
|
21443
21441
|
"src": "16912:8:16",
|
|
21444
21442
|
"typeDescriptions": {
|
|
21445
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
21443
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
21446
21444
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
21447
21445
|
}
|
|
21448
21446
|
},
|
|
@@ -21453,7 +21451,7 @@
|
|
|
21453
21451
|
"lValueRequested": false,
|
|
21454
21452
|
"memberName": "buyer",
|
|
21455
21453
|
"nodeType": "MemberAccess",
|
|
21456
|
-
"referencedDeclaration":
|
|
21454
|
+
"referencedDeclaration": 10592,
|
|
21457
21455
|
"src": "16912:14:16",
|
|
21458
21456
|
"typeDescriptions": {
|
|
21459
21457
|
"typeIdentifier": "t_address",
|
|
@@ -21523,7 +21521,7 @@
|
|
|
21523
21521
|
"referencedDeclaration": 5224,
|
|
21524
21522
|
"src": "16967:8:16",
|
|
21525
21523
|
"typeDescriptions": {
|
|
21526
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
21524
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
21527
21525
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
21528
21526
|
}
|
|
21529
21527
|
},
|
|
@@ -21534,7 +21532,7 @@
|
|
|
21534
21532
|
"lValueRequested": false,
|
|
21535
21533
|
"memberName": "buyer",
|
|
21536
21534
|
"nodeType": "MemberAccess",
|
|
21537
|
-
"referencedDeclaration":
|
|
21535
|
+
"referencedDeclaration": 10592,
|
|
21538
21536
|
"src": "16967:14:16",
|
|
21539
21537
|
"typeDescriptions": {
|
|
21540
21538
|
"typeIdentifier": "t_address",
|
|
@@ -21615,7 +21613,7 @@
|
|
|
21615
21613
|
"referencedDeclaration": 5224,
|
|
21616
21614
|
"src": "17048:8:16",
|
|
21617
21615
|
"typeDescriptions": {
|
|
21618
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
21616
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
21619
21617
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
21620
21618
|
}
|
|
21621
21619
|
},
|
|
@@ -21626,7 +21624,7 @@
|
|
|
21626
21624
|
"lValueRequested": false,
|
|
21627
21625
|
"memberName": "timestamp",
|
|
21628
21626
|
"nodeType": "MemberAccess",
|
|
21629
|
-
"referencedDeclaration":
|
|
21627
|
+
"referencedDeclaration": 10604,
|
|
21630
21628
|
"src": "17048:18:16",
|
|
21631
21629
|
"typeDescriptions": {
|
|
21632
21630
|
"typeIdentifier": "t_uint256",
|
|
@@ -21879,7 +21877,7 @@
|
|
|
21879
21877
|
"referencedDeclaration": 5224,
|
|
21880
21878
|
"src": "16679:8:16",
|
|
21881
21879
|
"typeDescriptions": {
|
|
21882
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
21880
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
21883
21881
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
21884
21882
|
}
|
|
21885
21883
|
},
|
|
@@ -21890,7 +21888,7 @@
|
|
|
21890
21888
|
"lValueRequested": false,
|
|
21891
21889
|
"memberName": "buyer",
|
|
21892
21890
|
"nodeType": "MemberAccess",
|
|
21893
|
-
"referencedDeclaration":
|
|
21891
|
+
"referencedDeclaration": 10592,
|
|
21894
21892
|
"src": "16679:14:16",
|
|
21895
21893
|
"typeDescriptions": {
|
|
21896
21894
|
"typeIdentifier": "t_address",
|
|
@@ -21960,7 +21958,7 @@
|
|
|
21960
21958
|
"referencedDeclaration": 5224,
|
|
21961
21959
|
"src": "16734:8:16",
|
|
21962
21960
|
"typeDescriptions": {
|
|
21963
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
21961
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
21964
21962
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
21965
21963
|
}
|
|
21966
21964
|
},
|
|
@@ -21971,7 +21969,7 @@
|
|
|
21971
21969
|
"lValueRequested": false,
|
|
21972
21970
|
"memberName": "buyer",
|
|
21973
21971
|
"nodeType": "MemberAccess",
|
|
21974
|
-
"referencedDeclaration":
|
|
21972
|
+
"referencedDeclaration": 10592,
|
|
21975
21973
|
"src": "16734:14:16",
|
|
21976
21974
|
"typeDescriptions": {
|
|
21977
21975
|
"typeIdentifier": "t_address",
|
|
@@ -22052,7 +22050,7 @@
|
|
|
22052
22050
|
"referencedDeclaration": 5224,
|
|
22053
22051
|
"src": "16815:8:16",
|
|
22054
22052
|
"typeDescriptions": {
|
|
22055
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
22053
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
22056
22054
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
22057
22055
|
}
|
|
22058
22056
|
},
|
|
@@ -22063,7 +22061,7 @@
|
|
|
22063
22061
|
"lValueRequested": false,
|
|
22064
22062
|
"memberName": "timestamp",
|
|
22065
22063
|
"nodeType": "MemberAccess",
|
|
22066
|
-
"referencedDeclaration":
|
|
22064
|
+
"referencedDeclaration": 10604,
|
|
22067
22065
|
"src": "16815:18:16",
|
|
22068
22066
|
"typeDescriptions": {
|
|
22069
22067
|
"typeIdentifier": "t_uint256",
|
|
@@ -22298,7 +22296,7 @@
|
|
|
22298
22296
|
"referencedDeclaration": 5224,
|
|
22299
22297
|
"src": "17089:8:16",
|
|
22300
22298
|
"typeDescriptions": {
|
|
22301
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
22299
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
22302
22300
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
22303
22301
|
}
|
|
22304
22302
|
},
|
|
@@ -22309,7 +22307,7 @@
|
|
|
22309
22307
|
"lValueRequested": true,
|
|
22310
22308
|
"memberName": "timestamp",
|
|
22311
22309
|
"nodeType": "MemberAccess",
|
|
22312
|
-
"referencedDeclaration":
|
|
22310
|
+
"referencedDeclaration": 10604,
|
|
22313
22311
|
"src": "17089:18:16",
|
|
22314
22312
|
"typeDescriptions": {
|
|
22315
22313
|
"typeIdentifier": "t_uint256",
|
|
@@ -22378,7 +22376,7 @@
|
|
|
22378
22376
|
"referencedDeclaration": 5224,
|
|
22379
22377
|
"src": "17175:8:16",
|
|
22380
22378
|
"typeDescriptions": {
|
|
22381
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
22379
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
22382
22380
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
22383
22381
|
}
|
|
22384
22382
|
},
|
|
@@ -22389,7 +22387,7 @@
|
|
|
22389
22387
|
"lValueRequested": false,
|
|
22390
22388
|
"memberName": "seller",
|
|
22391
22389
|
"nodeType": "MemberAccess",
|
|
22392
|
-
"referencedDeclaration":
|
|
22390
|
+
"referencedDeclaration": 10594,
|
|
22393
22391
|
"src": "17175:15:16",
|
|
22394
22392
|
"typeDescriptions": {
|
|
22395
22393
|
"typeIdentifier": "t_address",
|
|
@@ -22538,7 +22536,7 @@
|
|
|
22538
22536
|
"referencedDeclaration": 5224,
|
|
22539
22537
|
"src": "17509:8:16",
|
|
22540
22538
|
"typeDescriptions": {
|
|
22541
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
22539
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
22542
22540
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
22543
22541
|
}
|
|
22544
22542
|
},
|
|
@@ -22549,7 +22547,7 @@
|
|
|
22549
22547
|
"lValueRequested": false,
|
|
22550
22548
|
"memberName": "seller",
|
|
22551
22549
|
"nodeType": "MemberAccess",
|
|
22552
|
-
"referencedDeclaration":
|
|
22550
|
+
"referencedDeclaration": 10594,
|
|
22553
22551
|
"src": "17509:15:16",
|
|
22554
22552
|
"typeDescriptions": {
|
|
22555
22553
|
"typeIdentifier": "t_address",
|
|
@@ -22619,7 +22617,7 @@
|
|
|
22619
22617
|
"referencedDeclaration": 5224,
|
|
22620
22618
|
"src": "17565:8:16",
|
|
22621
22619
|
"typeDescriptions": {
|
|
22622
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
22620
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
22623
22621
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
22624
22622
|
}
|
|
22625
22623
|
},
|
|
@@ -22630,7 +22628,7 @@
|
|
|
22630
22628
|
"lValueRequested": false,
|
|
22631
22629
|
"memberName": "seller",
|
|
22632
22630
|
"nodeType": "MemberAccess",
|
|
22633
|
-
"referencedDeclaration":
|
|
22631
|
+
"referencedDeclaration": 10594,
|
|
22634
22632
|
"src": "17565:15:16",
|
|
22635
22633
|
"typeDescriptions": {
|
|
22636
22634
|
"typeIdentifier": "t_address",
|
|
@@ -22711,7 +22709,7 @@
|
|
|
22711
22709
|
"referencedDeclaration": 5224,
|
|
22712
22710
|
"src": "17647:8:16",
|
|
22713
22711
|
"typeDescriptions": {
|
|
22714
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
22712
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
22715
22713
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
22716
22714
|
}
|
|
22717
22715
|
},
|
|
@@ -22722,7 +22720,7 @@
|
|
|
22722
22720
|
"lValueRequested": false,
|
|
22723
22721
|
"memberName": "timestamp",
|
|
22724
22722
|
"nodeType": "MemberAccess",
|
|
22725
|
-
"referencedDeclaration":
|
|
22723
|
+
"referencedDeclaration": 10604,
|
|
22726
22724
|
"src": "17647:18:16",
|
|
22727
22725
|
"typeDescriptions": {
|
|
22728
22726
|
"typeIdentifier": "t_uint256",
|
|
@@ -22975,7 +22973,7 @@
|
|
|
22975
22973
|
"referencedDeclaration": 5224,
|
|
22976
22974
|
"src": "17274:8:16",
|
|
22977
22975
|
"typeDescriptions": {
|
|
22978
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
22976
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
22979
22977
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
22980
22978
|
}
|
|
22981
22979
|
},
|
|
@@ -22986,7 +22984,7 @@
|
|
|
22986
22984
|
"lValueRequested": false,
|
|
22987
22985
|
"memberName": "seller",
|
|
22988
22986
|
"nodeType": "MemberAccess",
|
|
22989
|
-
"referencedDeclaration":
|
|
22987
|
+
"referencedDeclaration": 10594,
|
|
22990
22988
|
"src": "17274:15:16",
|
|
22991
22989
|
"typeDescriptions": {
|
|
22992
22990
|
"typeIdentifier": "t_address",
|
|
@@ -23056,7 +23054,7 @@
|
|
|
23056
23054
|
"referencedDeclaration": 5224,
|
|
23057
23055
|
"src": "17330:8:16",
|
|
23058
23056
|
"typeDescriptions": {
|
|
23059
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
23057
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
23060
23058
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
23061
23059
|
}
|
|
23062
23060
|
},
|
|
@@ -23067,7 +23065,7 @@
|
|
|
23067
23065
|
"lValueRequested": false,
|
|
23068
23066
|
"memberName": "seller",
|
|
23069
23067
|
"nodeType": "MemberAccess",
|
|
23070
|
-
"referencedDeclaration":
|
|
23068
|
+
"referencedDeclaration": 10594,
|
|
23071
23069
|
"src": "17330:15:16",
|
|
23072
23070
|
"typeDescriptions": {
|
|
23073
23071
|
"typeIdentifier": "t_address",
|
|
@@ -23148,7 +23146,7 @@
|
|
|
23148
23146
|
"referencedDeclaration": 5224,
|
|
23149
23147
|
"src": "17412:8:16",
|
|
23150
23148
|
"typeDescriptions": {
|
|
23151
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
23149
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
23152
23150
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
23153
23151
|
}
|
|
23154
23152
|
},
|
|
@@ -23159,7 +23157,7 @@
|
|
|
23159
23157
|
"lValueRequested": false,
|
|
23160
23158
|
"memberName": "timestamp",
|
|
23161
23159
|
"nodeType": "MemberAccess",
|
|
23162
|
-
"referencedDeclaration":
|
|
23160
|
+
"referencedDeclaration": 10604,
|
|
23163
23161
|
"src": "17412:18:16",
|
|
23164
23162
|
"typeDescriptions": {
|
|
23165
23163
|
"typeIdentifier": "t_uint256",
|
|
@@ -23394,7 +23392,7 @@
|
|
|
23394
23392
|
"referencedDeclaration": 5224,
|
|
23395
23393
|
"src": "17688:8:16",
|
|
23396
23394
|
"typeDescriptions": {
|
|
23397
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
23395
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
23398
23396
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
23399
23397
|
}
|
|
23400
23398
|
},
|
|
@@ -23405,7 +23403,7 @@
|
|
|
23405
23403
|
"lValueRequested": true,
|
|
23406
23404
|
"memberName": "timestamp",
|
|
23407
23405
|
"nodeType": "MemberAccess",
|
|
23408
|
-
"referencedDeclaration":
|
|
23406
|
+
"referencedDeclaration": 10604,
|
|
23409
23407
|
"src": "17688:18:16",
|
|
23410
23408
|
"typeDescriptions": {
|
|
23411
23409
|
"typeIdentifier": "t_uint256",
|
|
@@ -23476,7 +23474,7 @@
|
|
|
23476
23474
|
"referencedDeclaration": 3775,
|
|
23477
23475
|
"src": "15947:9:16",
|
|
23478
23476
|
"typeDescriptions": {
|
|
23479
|
-
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$
|
|
23477
|
+
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage_$_$",
|
|
23480
23478
|
"typeString": "mapping(address => mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref))"
|
|
23481
23479
|
}
|
|
23482
23480
|
},
|
|
@@ -23500,7 +23498,7 @@
|
|
|
23500
23498
|
"nodeType": "IndexAccess",
|
|
23501
23499
|
"src": "15947:19:16",
|
|
23502
23500
|
"typeDescriptions": {
|
|
23503
|
-
"typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$
|
|
23501
|
+
"typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage_$",
|
|
23504
23502
|
"typeString": "mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref)"
|
|
23505
23503
|
}
|
|
23506
23504
|
},
|
|
@@ -23524,7 +23522,7 @@
|
|
|
23524
23522
|
"nodeType": "IndexAccess",
|
|
23525
23523
|
"src": "15947:29:16",
|
|
23526
23524
|
"typeDescriptions": {
|
|
23527
|
-
"typeIdentifier": "t_array$_t_struct$_tradePosition_$
|
|
23525
|
+
"typeIdentifier": "t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage",
|
|
23528
23526
|
"typeString": "struct IMarginManager.tradePosition storage ref[] storage ref"
|
|
23529
23527
|
}
|
|
23530
23528
|
},
|
|
@@ -23913,7 +23911,7 @@
|
|
|
23913
23911
|
},
|
|
23914
23912
|
{
|
|
23915
23913
|
"baseFunctions": [
|
|
23916
|
-
|
|
23914
|
+
10716
|
|
23917
23915
|
],
|
|
23918
23916
|
"body": {
|
|
23919
23917
|
"id": 5552,
|
|
@@ -23942,17 +23940,17 @@
|
|
|
23942
23940
|
"stateVariable": false,
|
|
23943
23941
|
"storageLocation": "memory",
|
|
23944
23942
|
"typeDescriptions": {
|
|
23945
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
23943
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
23946
23944
|
"typeString": "struct IMarginManager.tradePosition"
|
|
23947
23945
|
},
|
|
23948
23946
|
"typeName": {
|
|
23949
23947
|
"id": 5492,
|
|
23950
23948
|
"name": "IMarginManager.tradePosition",
|
|
23951
23949
|
"nodeType": "UserDefinedTypeName",
|
|
23952
|
-
"referencedDeclaration":
|
|
23950
|
+
"referencedDeclaration": 10605,
|
|
23953
23951
|
"src": "17950:28:16",
|
|
23954
23952
|
"typeDescriptions": {
|
|
23955
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
23953
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_storage_ptr",
|
|
23956
23954
|
"typeString": "struct IMarginManager.tradePosition"
|
|
23957
23955
|
}
|
|
23958
23956
|
},
|
|
@@ -23971,7 +23969,7 @@
|
|
|
23971
23969
|
"referencedDeclaration": 3775,
|
|
23972
23970
|
"src": "17997:9:16",
|
|
23973
23971
|
"typeDescriptions": {
|
|
23974
|
-
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$
|
|
23972
|
+
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage_$_$",
|
|
23975
23973
|
"typeString": "mapping(address => mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref))"
|
|
23976
23974
|
}
|
|
23977
23975
|
},
|
|
@@ -23995,7 +23993,7 @@
|
|
|
23995
23993
|
"nodeType": "IndexAccess",
|
|
23996
23994
|
"src": "17997:19:16",
|
|
23997
23995
|
"typeDescriptions": {
|
|
23998
|
-
"typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$
|
|
23996
|
+
"typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage_$",
|
|
23999
23997
|
"typeString": "mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref)"
|
|
24000
23998
|
}
|
|
24001
23999
|
},
|
|
@@ -24019,7 +24017,7 @@
|
|
|
24019
24017
|
"nodeType": "IndexAccess",
|
|
24020
24018
|
"src": "17997:29:16",
|
|
24021
24019
|
"typeDescriptions": {
|
|
24022
|
-
"typeIdentifier": "t_array$_t_struct$_tradePosition_$
|
|
24020
|
+
"typeIdentifier": "t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage",
|
|
24023
24021
|
"typeString": "struct IMarginManager.tradePosition storage ref[] storage ref"
|
|
24024
24022
|
}
|
|
24025
24023
|
},
|
|
@@ -24043,7 +24041,7 @@
|
|
|
24043
24041
|
"nodeType": "IndexAccess",
|
|
24044
24042
|
"src": "17997:32:16",
|
|
24045
24043
|
"typeDescriptions": {
|
|
24046
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
24044
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_storage",
|
|
24047
24045
|
"typeString": "struct IMarginManager.tradePosition storage ref"
|
|
24048
24046
|
}
|
|
24049
24047
|
},
|
|
@@ -24070,7 +24068,7 @@
|
|
|
24070
24068
|
"referencedDeclaration": 5493,
|
|
24071
24069
|
"src": "18047:8:16",
|
|
24072
24070
|
"typeDescriptions": {
|
|
24073
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
24071
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
24074
24072
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
24075
24073
|
}
|
|
24076
24074
|
},
|
|
@@ -24081,7 +24079,7 @@
|
|
|
24081
24079
|
"lValueRequested": false,
|
|
24082
24080
|
"memberName": "buyer",
|
|
24083
24081
|
"nodeType": "MemberAccess",
|
|
24084
|
-
"referencedDeclaration":
|
|
24082
|
+
"referencedDeclaration": 10592,
|
|
24085
24083
|
"src": "18047:14:16",
|
|
24086
24084
|
"typeDescriptions": {
|
|
24087
24085
|
"typeIdentifier": "t_address",
|
|
@@ -24142,7 +24140,7 @@
|
|
|
24142
24140
|
"referencedDeclaration": 5493,
|
|
24143
24141
|
"src": "18313:8:16",
|
|
24144
24142
|
"typeDescriptions": {
|
|
24145
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
24143
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
24146
24144
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
24147
24145
|
}
|
|
24148
24146
|
},
|
|
@@ -24153,7 +24151,7 @@
|
|
|
24153
24151
|
"lValueRequested": false,
|
|
24154
24152
|
"memberName": "seller",
|
|
24155
24153
|
"nodeType": "MemberAccess",
|
|
24156
|
-
"referencedDeclaration":
|
|
24154
|
+
"referencedDeclaration": 10594,
|
|
24157
24155
|
"src": "18313:15:16",
|
|
24158
24156
|
"typeDescriptions": {
|
|
24159
24157
|
"typeIdentifier": "t_address",
|
|
@@ -24214,7 +24212,7 @@
|
|
|
24214
24212
|
"referencedDeclaration": 5493,
|
|
24215
24213
|
"src": "18386:8:16",
|
|
24216
24214
|
"typeDescriptions": {
|
|
24217
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
24215
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
24218
24216
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
24219
24217
|
}
|
|
24220
24218
|
},
|
|
@@ -24225,7 +24223,7 @@
|
|
|
24225
24223
|
"lValueRequested": false,
|
|
24226
24224
|
"memberName": "seller",
|
|
24227
24225
|
"nodeType": "MemberAccess",
|
|
24228
|
-
"referencedDeclaration":
|
|
24226
|
+
"referencedDeclaration": 10594,
|
|
24229
24227
|
"src": "18386:15:16",
|
|
24230
24228
|
"typeDescriptions": {
|
|
24231
24229
|
"typeIdentifier": "t_address",
|
|
@@ -24258,7 +24256,7 @@
|
|
|
24258
24256
|
"referencedDeclaration": 5493,
|
|
24259
24257
|
"src": "18426:8:16",
|
|
24260
24258
|
"typeDescriptions": {
|
|
24261
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
24259
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
24262
24260
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
24263
24261
|
}
|
|
24264
24262
|
},
|
|
@@ -24269,7 +24267,7 @@
|
|
|
24269
24267
|
"lValueRequested": false,
|
|
24270
24268
|
"memberName": "seller",
|
|
24271
24269
|
"nodeType": "MemberAccess",
|
|
24272
|
-
"referencedDeclaration":
|
|
24270
|
+
"referencedDeclaration": 10594,
|
|
24273
24271
|
"src": "18426:15:16",
|
|
24274
24272
|
"typeDescriptions": {
|
|
24275
24273
|
"typeIdentifier": "t_address",
|
|
@@ -24469,7 +24467,7 @@
|
|
|
24469
24467
|
"referencedDeclaration": 5493,
|
|
24470
24468
|
"src": "18119:8:16",
|
|
24471
24469
|
"typeDescriptions": {
|
|
24472
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
24470
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
24473
24471
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
24474
24472
|
}
|
|
24475
24473
|
},
|
|
@@ -24480,7 +24478,7 @@
|
|
|
24480
24478
|
"lValueRequested": false,
|
|
24481
24479
|
"memberName": "buyer",
|
|
24482
24480
|
"nodeType": "MemberAccess",
|
|
24483
|
-
"referencedDeclaration":
|
|
24481
|
+
"referencedDeclaration": 10592,
|
|
24484
24482
|
"src": "18119:14:16",
|
|
24485
24483
|
"typeDescriptions": {
|
|
24486
24484
|
"typeIdentifier": "t_address",
|
|
@@ -24513,7 +24511,7 @@
|
|
|
24513
24511
|
"referencedDeclaration": 5493,
|
|
24514
24512
|
"src": "18158:8:16",
|
|
24515
24513
|
"typeDescriptions": {
|
|
24516
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
24514
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
24517
24515
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
24518
24516
|
}
|
|
24519
24517
|
},
|
|
@@ -24524,7 +24522,7 @@
|
|
|
24524
24522
|
"lValueRequested": false,
|
|
24525
24523
|
"memberName": "buyer",
|
|
24526
24524
|
"nodeType": "MemberAccess",
|
|
24527
|
-
"referencedDeclaration":
|
|
24525
|
+
"referencedDeclaration": 10592,
|
|
24528
24526
|
"src": "18158:14:16",
|
|
24529
24527
|
"typeDescriptions": {
|
|
24530
24528
|
"typeIdentifier": "t_address",
|
|
@@ -24741,7 +24739,7 @@
|
|
|
24741
24739
|
"referencedDeclaration": 3775,
|
|
24742
24740
|
"src": "17893:9:16",
|
|
24743
24741
|
"typeDescriptions": {
|
|
24744
|
-
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$
|
|
24742
|
+
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage_$_$",
|
|
24745
24743
|
"typeString": "mapping(address => mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref))"
|
|
24746
24744
|
}
|
|
24747
24745
|
},
|
|
@@ -24765,7 +24763,7 @@
|
|
|
24765
24763
|
"nodeType": "IndexAccess",
|
|
24766
24764
|
"src": "17893:19:16",
|
|
24767
24765
|
"typeDescriptions": {
|
|
24768
|
-
"typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$
|
|
24766
|
+
"typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage_$",
|
|
24769
24767
|
"typeString": "mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref)"
|
|
24770
24768
|
}
|
|
24771
24769
|
},
|
|
@@ -24789,7 +24787,7 @@
|
|
|
24789
24787
|
"nodeType": "IndexAccess",
|
|
24790
24788
|
"src": "17893:29:16",
|
|
24791
24789
|
"typeDescriptions": {
|
|
24792
|
-
"typeIdentifier": "t_array$_t_struct$_tradePosition_$
|
|
24790
|
+
"typeIdentifier": "t_array$_t_struct$_tradePosition_$10605_storage_$dyn_storage",
|
|
24793
24791
|
"typeString": "struct IMarginManager.tradePosition storage ref[] storage ref"
|
|
24794
24792
|
}
|
|
24795
24793
|
},
|
|
@@ -25036,7 +25034,7 @@
|
|
|
25036
25034
|
},
|
|
25037
25035
|
{
|
|
25038
25036
|
"baseFunctions": [
|
|
25039
|
-
|
|
25037
|
+
10674
|
|
25040
25038
|
],
|
|
25041
25039
|
"body": {
|
|
25042
25040
|
"id": 5607,
|
|
@@ -26631,7 +26629,7 @@
|
|
|
26631
26629
|
},
|
|
26632
26630
|
{
|
|
26633
26631
|
"attributes": {
|
|
26634
|
-
"SourceUnit":
|
|
26632
|
+
"SourceUnit": 10387,
|
|
26635
26633
|
"absolutePath": "project:/contracts/interfaces/IFactory.sol",
|
|
26636
26634
|
"file": "./interfaces/IFactory.sol",
|
|
26637
26635
|
"scope": 5673,
|
|
@@ -26646,7 +26644,7 @@
|
|
|
26646
26644
|
},
|
|
26647
26645
|
{
|
|
26648
26646
|
"attributes": {
|
|
26649
|
-
"SourceUnit":
|
|
26647
|
+
"SourceUnit": 11359,
|
|
26650
26648
|
"absolutePath": "project:/contracts/interfaces/ISecurity.sol",
|
|
26651
26649
|
"file": "./interfaces/ISecurity.sol",
|
|
26652
26650
|
"scope": 5673,
|
|
@@ -26661,7 +26659,7 @@
|
|
|
26661
26659
|
},
|
|
26662
26660
|
{
|
|
26663
26661
|
"attributes": {
|
|
26664
|
-
"SourceUnit":
|
|
26662
|
+
"SourceUnit": 10817,
|
|
26665
26663
|
"absolutePath": "project:/contracts/interfaces/IMarginOrder.sol",
|
|
26666
26664
|
"file": "./interfaces/IMarginOrder.sol",
|
|
26667
26665
|
"scope": 5673,
|
|
@@ -26676,7 +26674,7 @@
|
|
|
26676
26674
|
},
|
|
26677
26675
|
{
|
|
26678
26676
|
"attributes": {
|
|
26679
|
-
"SourceUnit":
|
|
26677
|
+
"SourceUnit": 10727,
|
|
26680
26678
|
"absolutePath": "project:/contracts/interfaces/IMarginManager.sol",
|
|
26681
26679
|
"file": "./interfaces/IMarginManager.sol",
|
|
26682
26680
|
"scope": 5673,
|
|
@@ -26691,7 +26689,7 @@
|
|
|
26691
26689
|
},
|
|
26692
26690
|
{
|
|
26693
26691
|
"attributes": {
|
|
26694
|
-
"SourceUnit":
|
|
26692
|
+
"SourceUnit": 10861,
|
|
26695
26693
|
"absolutePath": "project:/contracts/interfaces/IMarginTradingPool.sol",
|
|
26696
26694
|
"file": "./interfaces/IMarginTradingPool.sol",
|
|
26697
26695
|
"scope": 5673,
|
|
@@ -26706,7 +26704,7 @@
|
|
|
26706
26704
|
},
|
|
26707
26705
|
{
|
|
26708
26706
|
"attributes": {
|
|
26709
|
-
"SourceUnit":
|
|
26707
|
+
"SourceUnit": 10893,
|
|
26710
26708
|
"absolutePath": "project:/contracts/interfaces/IMarginTradingPoolFactory.sol",
|
|
26711
26709
|
"file": "./interfaces/IMarginTradingPoolFactory.sol",
|
|
26712
26710
|
"scope": 5673,
|
|
@@ -26829,14 +26827,14 @@
|
|
|
26829
26827
|
"abstract": false,
|
|
26830
26828
|
"contractDependencies": [
|
|
26831
26829
|
3045,
|
|
26832
|
-
|
|
26830
|
+
10726
|
|
26833
26831
|
],
|
|
26834
26832
|
"contractKind": "contract",
|
|
26835
26833
|
"fullyImplemented": true,
|
|
26836
26834
|
"linearizedBaseContracts": [
|
|
26837
26835
|
5672,
|
|
26838
26836
|
3045,
|
|
26839
|
-
|
|
26837
|
+
10726
|
|
26840
26838
|
],
|
|
26841
26839
|
"name": "MarginIssueManager",
|
|
26842
26840
|
"scope": 5673
|
|
@@ -26848,7 +26846,7 @@
|
|
|
26848
26846
|
{
|
|
26849
26847
|
"attributes": {
|
|
26850
26848
|
"name": "IMarginManager",
|
|
26851
|
-
"referencedDeclaration":
|
|
26849
|
+
"referencedDeclaration": 10726,
|
|
26852
26850
|
"type": "contract IMarginManager"
|
|
26853
26851
|
},
|
|
26854
26852
|
"id": 3705,
|
|
@@ -26992,7 +26990,7 @@
|
|
|
26992
26990
|
{
|
|
26993
26991
|
"attributes": {
|
|
26994
26992
|
"name": "IFactory",
|
|
26995
|
-
"referencedDeclaration":
|
|
26993
|
+
"referencedDeclaration": 10386,
|
|
26996
26994
|
"type": "contract IFactory"
|
|
26997
26995
|
},
|
|
26998
26996
|
"id": 3717,
|
|
@@ -27655,7 +27653,7 @@
|
|
|
27655
27653
|
{
|
|
27656
27654
|
"attributes": {
|
|
27657
27655
|
"name": "IMarginManager.tradePosition",
|
|
27658
|
-
"referencedDeclaration":
|
|
27656
|
+
"referencedDeclaration": 10605,
|
|
27659
27657
|
"type": "struct IMarginManager.tradePosition"
|
|
27660
27658
|
},
|
|
27661
27659
|
"id": 3771,
|
|
@@ -28616,7 +28614,7 @@
|
|
|
28616
28614
|
"isPure": false,
|
|
28617
28615
|
"lValueRequested": false,
|
|
28618
28616
|
"member_name": "getDP",
|
|
28619
|
-
"referencedDeclaration":
|
|
28617
|
+
"referencedDeclaration": 10385,
|
|
28620
28618
|
"type": "function (address) view external returns (address)"
|
|
28621
28619
|
},
|
|
28622
28620
|
"children": [
|
|
@@ -29352,7 +29350,7 @@
|
|
|
29352
29350
|
"overloadedDeclarations": [
|
|
29353
29351
|
null
|
|
29354
29352
|
],
|
|
29355
|
-
"referencedDeclaration":
|
|
29353
|
+
"referencedDeclaration": 10386,
|
|
29356
29354
|
"type": "type(contract IFactory)",
|
|
29357
29355
|
"value": "IFactory"
|
|
29358
29356
|
},
|
|
@@ -29651,7 +29649,7 @@
|
|
|
29651
29649
|
{
|
|
29652
29650
|
"attributes": {
|
|
29653
29651
|
"baseFunctions": [
|
|
29654
|
-
|
|
29652
|
+
10628
|
|
29655
29653
|
],
|
|
29656
29654
|
"functionSelector": "541af9d8",
|
|
29657
29655
|
"implemented": true,
|
|
@@ -30866,7 +30864,7 @@
|
|
|
30866
30864
|
"isPure": false,
|
|
30867
30865
|
"lValueRequested": false,
|
|
30868
30866
|
"member_name": "whiteList",
|
|
30869
|
-
"referencedDeclaration":
|
|
30867
|
+
"referencedDeclaration": 11357,
|
|
30870
30868
|
"type": "function (address,uint256) external"
|
|
30871
30869
|
},
|
|
30872
30870
|
"children": [
|
|
@@ -30896,7 +30894,7 @@
|
|
|
30896
30894
|
"overloadedDeclarations": [
|
|
30897
30895
|
null
|
|
30898
30896
|
],
|
|
30899
|
-
"referencedDeclaration":
|
|
30897
|
+
"referencedDeclaration": 11358,
|
|
30900
30898
|
"type": "type(contract ISecurity)",
|
|
30901
30899
|
"value": "ISecurity"
|
|
30902
30900
|
},
|
|
@@ -30985,7 +30983,7 @@
|
|
|
30985
30983
|
{
|
|
30986
30984
|
"attributes": {
|
|
30987
30985
|
"name": "IMarginTradingPoolFactory.FactoryPoolParams",
|
|
30988
|
-
"referencedDeclaration":
|
|
30986
|
+
"referencedDeclaration": 10884,
|
|
30989
30987
|
"type": "struct IMarginTradingPoolFactory.FactoryPoolParams"
|
|
30990
30988
|
},
|
|
30991
30989
|
"id": 4017,
|
|
@@ -31070,7 +31068,7 @@
|
|
|
31070
31068
|
"isPure": false,
|
|
31071
31069
|
"lValueRequested": false,
|
|
31072
31070
|
"member_name": "FactoryPoolParams",
|
|
31073
|
-
"referencedDeclaration":
|
|
31071
|
+
"referencedDeclaration": 10884,
|
|
31074
31072
|
"type": "type(struct IMarginTradingPoolFactory.FactoryPoolParams storage pointer)"
|
|
31075
31073
|
},
|
|
31076
31074
|
"children": [
|
|
@@ -31079,7 +31077,7 @@
|
|
|
31079
31077
|
"overloadedDeclarations": [
|
|
31080
31078
|
null
|
|
31081
31079
|
],
|
|
31082
|
-
"referencedDeclaration":
|
|
31080
|
+
"referencedDeclaration": 10892,
|
|
31083
31081
|
"type": "type(contract IMarginTradingPoolFactory)",
|
|
31084
31082
|
"value": "IMarginTradingPoolFactory"
|
|
31085
31083
|
},
|
|
@@ -31257,7 +31255,7 @@
|
|
|
31257
31255
|
"attributes": {
|
|
31258
31256
|
"argumentTypes": [
|
|
31259
31257
|
{
|
|
31260
|
-
"typeIdentifier": "t_struct$_FactoryPoolParams_$
|
|
31258
|
+
"typeIdentifier": "t_struct$_FactoryPoolParams_$10884_memory_ptr",
|
|
31261
31259
|
"typeString": "struct IMarginTradingPoolFactory.FactoryPoolParams memory"
|
|
31262
31260
|
},
|
|
31263
31261
|
{
|
|
@@ -31437,7 +31435,7 @@
|
|
|
31437
31435
|
{
|
|
31438
31436
|
"attributes": {
|
|
31439
31437
|
"name": "IMarginTradingPoolFactory.FactoryPoolParams",
|
|
31440
|
-
"referencedDeclaration":
|
|
31438
|
+
"referencedDeclaration": 10884,
|
|
31441
31439
|
"type": "struct IMarginTradingPoolFactory.FactoryPoolParams"
|
|
31442
31440
|
},
|
|
31443
31441
|
"id": 4045,
|
|
@@ -31698,7 +31696,7 @@
|
|
|
31698
31696
|
"attributes": {
|
|
31699
31697
|
"argumentTypes": [
|
|
31700
31698
|
{
|
|
31701
|
-
"typeIdentifier": "t_struct$_FactoryPoolParams_$
|
|
31699
|
+
"typeIdentifier": "t_struct$_FactoryPoolParams_$10884_memory_ptr",
|
|
31702
31700
|
"typeString": "struct IMarginTradingPoolFactory.FactoryPoolParams memory"
|
|
31703
31701
|
}
|
|
31704
31702
|
],
|
|
@@ -31707,7 +31705,7 @@
|
|
|
31707
31705
|
"isPure": false,
|
|
31708
31706
|
"lValueRequested": false,
|
|
31709
31707
|
"member_name": "create",
|
|
31710
|
-
"referencedDeclaration":
|
|
31708
|
+
"referencedDeclaration": 10891,
|
|
31711
31709
|
"type": "function (struct IMarginTradingPoolFactory.FactoryPoolParams memory) external returns (address)"
|
|
31712
31710
|
},
|
|
31713
31711
|
"children": [
|
|
@@ -31737,7 +31735,7 @@
|
|
|
31737
31735
|
"overloadedDeclarations": [
|
|
31738
31736
|
null
|
|
31739
31737
|
],
|
|
31740
|
-
"referencedDeclaration":
|
|
31738
|
+
"referencedDeclaration": 10892,
|
|
31741
31739
|
"type": "type(contract IMarginTradingPoolFactory)",
|
|
31742
31740
|
"value": "IMarginTradingPoolFactory"
|
|
31743
31741
|
},
|
|
@@ -31857,7 +31855,7 @@
|
|
|
31857
31855
|
"isPure": false,
|
|
31858
31856
|
"lValueRequested": false,
|
|
31859
31857
|
"member_name": "getPoolId",
|
|
31860
|
-
"referencedDeclaration":
|
|
31858
|
+
"referencedDeclaration": 10824,
|
|
31861
31859
|
"type": "function () view external returns (bytes32)"
|
|
31862
31860
|
},
|
|
31863
31861
|
"children": [
|
|
@@ -31887,7 +31885,7 @@
|
|
|
31887
31885
|
"overloadedDeclarations": [
|
|
31888
31886
|
null
|
|
31889
31887
|
],
|
|
31890
|
-
"referencedDeclaration":
|
|
31888
|
+
"referencedDeclaration": 10860,
|
|
31891
31889
|
"type": "type(contract IMarginTradingPool)",
|
|
31892
31890
|
"value": "IMarginTradingPool"
|
|
31893
31891
|
},
|
|
@@ -33877,7 +33875,7 @@
|
|
|
33877
33875
|
"attributes": {
|
|
33878
33876
|
"argumentTypes": [
|
|
33879
33877
|
{
|
|
33880
|
-
"typeIdentifier": "t_enum$_JoinKind_$
|
|
33878
|
+
"typeIdentifier": "t_enum$_JoinKind_$10587",
|
|
33881
33879
|
"typeString": "enum IMarginManager.JoinKind"
|
|
33882
33880
|
},
|
|
33883
33881
|
{
|
|
@@ -33926,7 +33924,7 @@
|
|
|
33926
33924
|
"overloadedDeclarations": [
|
|
33927
33925
|
null
|
|
33928
33926
|
],
|
|
33929
|
-
"referencedDeclaration":
|
|
33927
|
+
"referencedDeclaration": 10587,
|
|
33930
33928
|
"type": "type(enum IMarginManager.JoinKind)",
|
|
33931
33929
|
"value": "JoinKind"
|
|
33932
33930
|
},
|
|
@@ -34256,7 +34254,7 @@
|
|
|
34256
34254
|
{
|
|
34257
34255
|
"attributes": {
|
|
34258
34256
|
"baseFunctions": [
|
|
34259
|
-
|
|
34257
|
+
10667
|
|
34260
34258
|
],
|
|
34261
34259
|
"functionSelector": "c74073a1",
|
|
34262
34260
|
"implemented": true,
|
|
@@ -34449,7 +34447,7 @@
|
|
|
34449
34447
|
"isPure": false,
|
|
34450
34448
|
"lValueRequested": false,
|
|
34451
34449
|
"member_name": "getCurrency",
|
|
34452
|
-
"referencedDeclaration":
|
|
34450
|
+
"referencedDeclaration": 10834,
|
|
34453
34451
|
"type": "function () view external returns (address)"
|
|
34454
34452
|
},
|
|
34455
34453
|
"children": [
|
|
@@ -34479,7 +34477,7 @@
|
|
|
34479
34477
|
"overloadedDeclarations": [
|
|
34480
34478
|
null
|
|
34481
34479
|
],
|
|
34482
|
-
"referencedDeclaration":
|
|
34480
|
+
"referencedDeclaration": 10860,
|
|
34483
34481
|
"type": "type(contract IMarginTradingPool)",
|
|
34484
34482
|
"value": "IMarginTradingPool"
|
|
34485
34483
|
},
|
|
@@ -35136,7 +35134,7 @@
|
|
|
35136
35134
|
"attributes": {
|
|
35137
35135
|
"argumentTypes": [
|
|
35138
35136
|
{
|
|
35139
|
-
"typeIdentifier": "t_enum$_ExitKind_$
|
|
35137
|
+
"typeIdentifier": "t_enum$_ExitKind_$10590",
|
|
35140
35138
|
"typeString": "enum IMarginManager.ExitKind"
|
|
35141
35139
|
},
|
|
35142
35140
|
{
|
|
@@ -35185,7 +35183,7 @@
|
|
|
35185
35183
|
"overloadedDeclarations": [
|
|
35186
35184
|
null
|
|
35187
35185
|
],
|
|
35188
|
-
"referencedDeclaration":
|
|
35186
|
+
"referencedDeclaration": 10590,
|
|
35189
35187
|
"type": "type(enum IMarginManager.ExitKind)",
|
|
35190
35188
|
"value": "ExitKind"
|
|
35191
35189
|
},
|
|
@@ -36304,7 +36302,7 @@
|
|
|
36304
36302
|
{
|
|
36305
36303
|
"attributes": {
|
|
36306
36304
|
"baseFunctions": [
|
|
36307
|
-
|
|
36305
|
+
10683
|
|
36308
36306
|
],
|
|
36309
36307
|
"functionSelector": "59e7e4b1",
|
|
36310
36308
|
"implemented": true,
|
|
@@ -37797,7 +37795,7 @@
|
|
|
37797
37795
|
{
|
|
37798
37796
|
"attributes": {
|
|
37799
37797
|
"baseFunctions": [
|
|
37800
|
-
|
|
37798
|
+
10692
|
|
37801
37799
|
],
|
|
37802
37800
|
"functionSelector": "97db1a92",
|
|
37803
37801
|
"implemented": true,
|
|
@@ -38395,7 +38393,7 @@
|
|
|
38395
38393
|
{
|
|
38396
38394
|
"attributes": {
|
|
38397
38395
|
"baseFunctions": [
|
|
38398
|
-
|
|
38396
|
+
10725
|
|
38399
38397
|
],
|
|
38400
38398
|
"functionSelector": "52226ef0",
|
|
38401
38399
|
"implemented": true,
|
|
@@ -38607,7 +38605,7 @@
|
|
|
38607
38605
|
{
|
|
38608
38606
|
"attributes": {
|
|
38609
38607
|
"baseFunctions": [
|
|
38610
|
-
|
|
38608
|
+
10645
|
|
38611
38609
|
],
|
|
38612
38610
|
"functionSelector": "2b06b510",
|
|
38613
38611
|
"implemented": true,
|
|
@@ -38906,7 +38904,7 @@
|
|
|
38906
38904
|
{
|
|
38907
38905
|
"attributes": {
|
|
38908
38906
|
"name": "IMarginOrder.order",
|
|
38909
|
-
"referencedDeclaration":
|
|
38907
|
+
"referencedDeclaration": 10754,
|
|
38910
38908
|
"type": "struct IMarginOrder.order"
|
|
38911
38909
|
},
|
|
38912
38910
|
"id": 4574,
|
|
@@ -38946,7 +38944,7 @@
|
|
|
38946
38944
|
"isPure": false,
|
|
38947
38945
|
"lValueRequested": false,
|
|
38948
38946
|
"member_name": "getOrder",
|
|
38949
|
-
"referencedDeclaration":
|
|
38947
|
+
"referencedDeclaration": 10781,
|
|
38950
38948
|
"type": "function (bytes32) view external returns (struct IMarginOrder.order memory)"
|
|
38951
38949
|
},
|
|
38952
38950
|
"children": [
|
|
@@ -38976,7 +38974,7 @@
|
|
|
38976
38974
|
"overloadedDeclarations": [
|
|
38977
38975
|
null
|
|
38978
38976
|
],
|
|
38979
|
-
"referencedDeclaration":
|
|
38977
|
+
"referencedDeclaration": 10816,
|
|
38980
38978
|
"type": "type(contract IMarginOrder)",
|
|
38981
38979
|
"value": "IMarginOrder"
|
|
38982
38980
|
},
|
|
@@ -39012,7 +39010,7 @@
|
|
|
39012
39010
|
"isPure": false,
|
|
39013
39011
|
"lValueRequested": false,
|
|
39014
39012
|
"member_name": "getOrderbook",
|
|
39015
|
-
"referencedDeclaration":
|
|
39013
|
+
"referencedDeclaration": 10844,
|
|
39016
39014
|
"type": "function () view external returns (address)"
|
|
39017
39015
|
},
|
|
39018
39016
|
"children": [
|
|
@@ -39042,7 +39040,7 @@
|
|
|
39042
39040
|
"overloadedDeclarations": [
|
|
39043
39041
|
null
|
|
39044
39042
|
],
|
|
39045
|
-
"referencedDeclaration":
|
|
39043
|
+
"referencedDeclaration": 10860,
|
|
39046
39044
|
"type": "type(contract IMarginTradingPool)",
|
|
39047
39045
|
"value": "IMarginTradingPool"
|
|
39048
39046
|
},
|
|
@@ -39347,7 +39345,7 @@
|
|
|
39347
39345
|
"isPure": false,
|
|
39348
39346
|
"lValueRequested": false,
|
|
39349
39347
|
"member_name": "getMargin",
|
|
39350
|
-
"referencedDeclaration":
|
|
39348
|
+
"referencedDeclaration": 10849,
|
|
39351
39349
|
"type": "function () view external returns (uint256)"
|
|
39352
39350
|
},
|
|
39353
39351
|
"children": [
|
|
@@ -39377,7 +39375,7 @@
|
|
|
39377
39375
|
"overloadedDeclarations": [
|
|
39378
39376
|
null
|
|
39379
39377
|
],
|
|
39380
|
-
"referencedDeclaration":
|
|
39378
|
+
"referencedDeclaration": 10860,
|
|
39381
39379
|
"type": "type(contract IMarginTradingPool)",
|
|
39382
39380
|
"value": "IMarginTradingPool"
|
|
39383
39381
|
},
|
|
@@ -39567,7 +39565,7 @@
|
|
|
39567
39565
|
"isPure": false,
|
|
39568
39566
|
"lValueRequested": false,
|
|
39569
39567
|
"member_name": "getCollateral",
|
|
39570
|
-
"referencedDeclaration":
|
|
39568
|
+
"referencedDeclaration": 10854,
|
|
39571
39569
|
"type": "function () view external returns (uint256)"
|
|
39572
39570
|
},
|
|
39573
39571
|
"children": [
|
|
@@ -39597,7 +39595,7 @@
|
|
|
39597
39595
|
"overloadedDeclarations": [
|
|
39598
39596
|
null
|
|
39599
39597
|
],
|
|
39600
|
-
"referencedDeclaration":
|
|
39598
|
+
"referencedDeclaration": 10860,
|
|
39601
39599
|
"type": "type(contract IMarginTradingPool)",
|
|
39602
39600
|
"value": "IMarginTradingPool"
|
|
39603
39601
|
},
|
|
@@ -39724,7 +39722,7 @@
|
|
|
39724
39722
|
"attributes": {
|
|
39725
39723
|
"argumentTypes": [
|
|
39726
39724
|
{
|
|
39727
|
-
"typeIdentifier": "t_struct$_order_$
|
|
39725
|
+
"typeIdentifier": "t_struct$_order_$10754_memory_ptr",
|
|
39728
39726
|
"typeString": "struct IMarginOrder.order memory"
|
|
39729
39727
|
},
|
|
39730
39728
|
{
|
|
@@ -40041,7 +40039,7 @@
|
|
|
40041
40039
|
"isPure": false,
|
|
40042
40040
|
"lValueRequested": false,
|
|
40043
40041
|
"member_name": "tokenIn",
|
|
40044
|
-
"referencedDeclaration":
|
|
40042
|
+
"referencedDeclaration": 10745,
|
|
40045
40043
|
"type": "address"
|
|
40046
40044
|
},
|
|
40047
40045
|
"children": [
|
|
@@ -40102,7 +40100,7 @@
|
|
|
40102
40100
|
"isPure": false,
|
|
40103
40101
|
"lValueRequested": false,
|
|
40104
40102
|
"member_name": "party",
|
|
40105
|
-
"referencedDeclaration":
|
|
40103
|
+
"referencedDeclaration": 10751,
|
|
40106
40104
|
"type": "address"
|
|
40107
40105
|
},
|
|
40108
40106
|
"children": [
|
|
@@ -40450,7 +40448,7 @@
|
|
|
40450
40448
|
{
|
|
40451
40449
|
"attributes": {
|
|
40452
40450
|
"name": "IMarginManager.tradePosition",
|
|
40453
|
-
"referencedDeclaration":
|
|
40451
|
+
"referencedDeclaration": 10605,
|
|
40454
40452
|
"type": "struct IMarginManager.tradePosition"
|
|
40455
40453
|
},
|
|
40456
40454
|
"id": 4672,
|
|
@@ -40520,7 +40518,7 @@
|
|
|
40520
40518
|
"isPure": false,
|
|
40521
40519
|
"lValueRequested": false,
|
|
40522
40520
|
"member_name": "tradePosition",
|
|
40523
|
-
"referencedDeclaration":
|
|
40521
|
+
"referencedDeclaration": 10605,
|
|
40524
40522
|
"type": "type(struct IMarginManager.tradePosition storage pointer)"
|
|
40525
40523
|
},
|
|
40526
40524
|
"children": [
|
|
@@ -40529,7 +40527,7 @@
|
|
|
40529
40527
|
"overloadedDeclarations": [
|
|
40530
40528
|
null
|
|
40531
40529
|
],
|
|
40532
|
-
"referencedDeclaration":
|
|
40530
|
+
"referencedDeclaration": 10726,
|
|
40533
40531
|
"type": "type(contract IMarginManager)",
|
|
40534
40532
|
"value": "IMarginManager"
|
|
40535
40533
|
},
|
|
@@ -40586,7 +40584,7 @@
|
|
|
40586
40584
|
"isPure": false,
|
|
40587
40585
|
"lValueRequested": false,
|
|
40588
40586
|
"member_name": "tokenIn",
|
|
40589
|
-
"referencedDeclaration":
|
|
40587
|
+
"referencedDeclaration": 10745,
|
|
40590
40588
|
"type": "address"
|
|
40591
40589
|
},
|
|
40592
40590
|
"children": [
|
|
@@ -40647,7 +40645,7 @@
|
|
|
40647
40645
|
"isPure": false,
|
|
40648
40646
|
"lValueRequested": false,
|
|
40649
40647
|
"member_name": "party",
|
|
40650
|
-
"referencedDeclaration":
|
|
40648
|
+
"referencedDeclaration": 10751,
|
|
40651
40649
|
"type": "address"
|
|
40652
40650
|
},
|
|
40653
40651
|
"children": [
|
|
@@ -40767,7 +40765,7 @@
|
|
|
40767
40765
|
"isPure": false,
|
|
40768
40766
|
"lValueRequested": false,
|
|
40769
40767
|
"member_name": "tokenIn",
|
|
40770
|
-
"referencedDeclaration":
|
|
40768
|
+
"referencedDeclaration": 10745,
|
|
40771
40769
|
"type": "address"
|
|
40772
40770
|
},
|
|
40773
40771
|
"children": [
|
|
@@ -40828,7 +40826,7 @@
|
|
|
40828
40826
|
"isPure": false,
|
|
40829
40827
|
"lValueRequested": false,
|
|
40830
40828
|
"member_name": "party",
|
|
40831
|
-
"referencedDeclaration":
|
|
40829
|
+
"referencedDeclaration": 10751,
|
|
40832
40830
|
"type": "address"
|
|
40833
40831
|
},
|
|
40834
40832
|
"children": [
|
|
@@ -41002,7 +41000,7 @@
|
|
|
41002
41000
|
"attributes": {
|
|
41003
41001
|
"argumentTypes": [
|
|
41004
41002
|
{
|
|
41005
|
-
"typeIdentifier": "t_struct$_tradePosition_$
|
|
41003
|
+
"typeIdentifier": "t_struct$_tradePosition_$10605_memory_ptr",
|
|
41006
41004
|
"typeString": "struct IMarginManager.tradePosition memory"
|
|
41007
41005
|
}
|
|
41008
41006
|
],
|
|
@@ -41339,7 +41337,7 @@
|
|
|
41339
41337
|
{
|
|
41340
41338
|
"attributes": {
|
|
41341
41339
|
"name": "IMarginOrder.order",
|
|
41342
|
-
"referencedDeclaration":
|
|
41340
|
+
"referencedDeclaration": 10754,
|
|
41343
41341
|
"type": "struct IMarginOrder.order"
|
|
41344
41342
|
},
|
|
41345
41343
|
"id": 4733,
|
|
@@ -41495,7 +41493,7 @@
|
|
|
41495
41493
|
"isPure": false,
|
|
41496
41494
|
"lValueRequested": false,
|
|
41497
41495
|
"member_name": "tokenIn",
|
|
41498
|
-
"referencedDeclaration":
|
|
41496
|
+
"referencedDeclaration": 10745,
|
|
41499
41497
|
"type": "address"
|
|
41500
41498
|
},
|
|
41501
41499
|
"children": [
|
|
@@ -41789,7 +41787,7 @@
|
|
|
41789
41787
|
{
|
|
41790
41788
|
"attributes": {
|
|
41791
41789
|
"baseFunctions": [
|
|
41792
|
-
|
|
41790
|
+
10662
|
|
41793
41791
|
],
|
|
41794
41792
|
"functionSelector": "6b0fd140",
|
|
41795
41793
|
"implemented": true,
|
|
@@ -42421,7 +42419,7 @@
|
|
|
42421
42419
|
"isPure": false,
|
|
42422
42420
|
"lValueRequested": false,
|
|
42423
42421
|
"member_name": "getOrderbook",
|
|
42424
|
-
"referencedDeclaration":
|
|
42422
|
+
"referencedDeclaration": 10844,
|
|
42425
42423
|
"type": "function () view external returns (address)"
|
|
42426
42424
|
},
|
|
42427
42425
|
"children": [
|
|
@@ -42451,7 +42449,7 @@
|
|
|
42451
42449
|
"overloadedDeclarations": [
|
|
42452
42450
|
null
|
|
42453
42451
|
],
|
|
42454
|
-
"referencedDeclaration":
|
|
42452
|
+
"referencedDeclaration": 10860,
|
|
42455
42453
|
"type": "type(contract IMarginTradingPool)",
|
|
42456
42454
|
"value": "IMarginTradingPool"
|
|
42457
42455
|
},
|
|
@@ -42610,7 +42608,7 @@
|
|
|
42610
42608
|
"isPure": false,
|
|
42611
42609
|
"lValueRequested": false,
|
|
42612
42610
|
"member_name": "tokenIn",
|
|
42613
|
-
"referencedDeclaration":
|
|
42611
|
+
"referencedDeclaration": 10745,
|
|
42614
42612
|
"type": "address"
|
|
42615
42613
|
},
|
|
42616
42614
|
"children": [
|
|
@@ -42642,7 +42640,7 @@
|
|
|
42642
42640
|
"isPure": false,
|
|
42643
42641
|
"lValueRequested": false,
|
|
42644
42642
|
"member_name": "getOrder",
|
|
42645
|
-
"referencedDeclaration":
|
|
42643
|
+
"referencedDeclaration": 10781,
|
|
42646
42644
|
"type": "function (bytes32) view external returns (struct IMarginOrder.order memory)"
|
|
42647
42645
|
},
|
|
42648
42646
|
"children": [
|
|
@@ -42672,7 +42670,7 @@
|
|
|
42672
42670
|
"overloadedDeclarations": [
|
|
42673
42671
|
null
|
|
42674
42672
|
],
|
|
42675
|
-
"referencedDeclaration":
|
|
42673
|
+
"referencedDeclaration": 10816,
|
|
42676
42674
|
"type": "type(contract IMarginOrder)",
|
|
42677
42675
|
"value": "IMarginOrder"
|
|
42678
42676
|
},
|
|
@@ -42751,7 +42749,7 @@
|
|
|
42751
42749
|
"isPure": false,
|
|
42752
42750
|
"lValueRequested": false,
|
|
42753
42751
|
"member_name": "party",
|
|
42754
|
-
"referencedDeclaration":
|
|
42752
|
+
"referencedDeclaration": 10751,
|
|
42755
42753
|
"type": "address"
|
|
42756
42754
|
},
|
|
42757
42755
|
"children": [
|
|
@@ -42783,7 +42781,7 @@
|
|
|
42783
42781
|
"isPure": false,
|
|
42784
42782
|
"lValueRequested": false,
|
|
42785
42783
|
"member_name": "getOrder",
|
|
42786
|
-
"referencedDeclaration":
|
|
42784
|
+
"referencedDeclaration": 10781,
|
|
42787
42785
|
"type": "function (bytes32) view external returns (struct IMarginOrder.order memory)"
|
|
42788
42786
|
},
|
|
42789
42787
|
"children": [
|
|
@@ -42813,7 +42811,7 @@
|
|
|
42813
42811
|
"overloadedDeclarations": [
|
|
42814
42812
|
null
|
|
42815
42813
|
],
|
|
42816
|
-
"referencedDeclaration":
|
|
42814
|
+
"referencedDeclaration": 10816,
|
|
42817
42815
|
"type": "type(contract IMarginOrder)",
|
|
42818
42816
|
"value": "IMarginOrder"
|
|
42819
42817
|
},
|
|
@@ -42874,7 +42872,7 @@
|
|
|
42874
42872
|
"isPure": false,
|
|
42875
42873
|
"lValueRequested": false,
|
|
42876
42874
|
"member_name": "party",
|
|
42877
|
-
"referencedDeclaration":
|
|
42875
|
+
"referencedDeclaration": 10751,
|
|
42878
42876
|
"type": "address"
|
|
42879
42877
|
},
|
|
42880
42878
|
"children": [
|
|
@@ -42906,7 +42904,7 @@
|
|
|
42906
42904
|
"isPure": false,
|
|
42907
42905
|
"lValueRequested": false,
|
|
42908
42906
|
"member_name": "getOrder",
|
|
42909
|
-
"referencedDeclaration":
|
|
42907
|
+
"referencedDeclaration": 10781,
|
|
42910
42908
|
"type": "function (bytes32) view external returns (struct IMarginOrder.order memory)"
|
|
42911
42909
|
},
|
|
42912
42910
|
"children": [
|
|
@@ -42936,7 +42934,7 @@
|
|
|
42936
42934
|
"overloadedDeclarations": [
|
|
42937
42935
|
null
|
|
42938
42936
|
],
|
|
42939
|
-
"referencedDeclaration":
|
|
42937
|
+
"referencedDeclaration": 10816,
|
|
42940
42938
|
"type": "type(contract IMarginOrder)",
|
|
42941
42939
|
"value": "IMarginOrder"
|
|
42942
42940
|
},
|
|
@@ -43322,7 +43320,7 @@
|
|
|
43322
43320
|
"isPure": false,
|
|
43323
43321
|
"lValueRequested": false,
|
|
43324
43322
|
"member_name": "reportTrade",
|
|
43325
|
-
"referencedDeclaration":
|
|
43323
|
+
"referencedDeclaration": 10815,
|
|
43326
43324
|
"type": "function (bytes32,bytes32,uint256,uint256,uint256) external"
|
|
43327
43325
|
},
|
|
43328
43326
|
"children": [
|
|
@@ -43352,7 +43350,7 @@
|
|
|
43352
43350
|
"overloadedDeclarations": [
|
|
43353
43351
|
null
|
|
43354
43352
|
],
|
|
43355
|
-
"referencedDeclaration":
|
|
43353
|
+
"referencedDeclaration": 10816,
|
|
43356
43354
|
"type": "type(contract IMarginOrder)",
|
|
43357
43355
|
"value": "IMarginOrder"
|
|
43358
43356
|
},
|
|
@@ -43734,7 +43732,7 @@
|
|
|
43734
43732
|
{
|
|
43735
43733
|
"attributes": {
|
|
43736
43734
|
"name": "IMarginManager.tradePosition",
|
|
43737
|
-
"referencedDeclaration":
|
|
43735
|
+
"referencedDeclaration": 10605,
|
|
43738
43736
|
"type": "struct IMarginManager.tradePosition"
|
|
43739
43737
|
},
|
|
43740
43738
|
"id": 4898,
|
|
@@ -43951,7 +43949,7 @@
|
|
|
43951
43949
|
"isPure": false,
|
|
43952
43950
|
"lValueRequested": true,
|
|
43953
43951
|
"member_name": "timestamp",
|
|
43954
|
-
"referencedDeclaration":
|
|
43952
|
+
"referencedDeclaration": 10604,
|
|
43955
43953
|
"type": "uint256"
|
|
43956
43954
|
},
|
|
43957
43955
|
"children": [
|
|
@@ -44281,7 +44279,7 @@
|
|
|
44281
44279
|
"isPure": false,
|
|
44282
44280
|
"lValueRequested": true,
|
|
44283
44281
|
"member_name": "timestamp",
|
|
44284
|
-
"referencedDeclaration":
|
|
44282
|
+
"referencedDeclaration": 10604,
|
|
44285
44283
|
"type": "uint256"
|
|
44286
44284
|
},
|
|
44287
44285
|
"children": [
|
|
@@ -44365,7 +44363,7 @@
|
|
|
44365
44363
|
{
|
|
44366
44364
|
"attributes": {
|
|
44367
44365
|
"name": "IMarginManager.tradePosition",
|
|
44368
|
-
"referencedDeclaration":
|
|
44366
|
+
"referencedDeclaration": 10605,
|
|
44369
44367
|
"type": "struct IMarginManager.tradePosition"
|
|
44370
44368
|
},
|
|
44371
44369
|
"id": 4952,
|
|
@@ -44691,7 +44689,7 @@
|
|
|
44691
44689
|
"isPure": false,
|
|
44692
44690
|
"lValueRequested": false,
|
|
44693
44691
|
"member_name": "buyer",
|
|
44694
|
-
"referencedDeclaration":
|
|
44692
|
+
"referencedDeclaration": 10592,
|
|
44695
44693
|
"type": "address"
|
|
44696
44694
|
},
|
|
44697
44695
|
"children": [
|
|
@@ -44828,7 +44826,7 @@
|
|
|
44828
44826
|
"isPure": false,
|
|
44829
44827
|
"lValueRequested": false,
|
|
44830
44828
|
"member_name": "buyer",
|
|
44831
|
-
"referencedDeclaration":
|
|
44829
|
+
"referencedDeclaration": 10592,
|
|
44832
44830
|
"type": "address"
|
|
44833
44831
|
},
|
|
44834
44832
|
"children": [
|
|
@@ -44923,7 +44921,7 @@
|
|
|
44923
44921
|
"isPure": false,
|
|
44924
44922
|
"lValueRequested": false,
|
|
44925
44923
|
"member_name": "marginCollateral",
|
|
44926
|
-
"referencedDeclaration":
|
|
44924
|
+
"referencedDeclaration": 10602,
|
|
44927
44925
|
"type": "uint256"
|
|
44928
44926
|
},
|
|
44929
44927
|
"children": [
|
|
@@ -45401,7 +45399,7 @@
|
|
|
45401
45399
|
"isPure": false,
|
|
45402
45400
|
"lValueRequested": false,
|
|
45403
45401
|
"member_name": "buyer",
|
|
45404
|
-
"referencedDeclaration":
|
|
45402
|
+
"referencedDeclaration": 10592,
|
|
45405
45403
|
"type": "address"
|
|
45406
45404
|
},
|
|
45407
45405
|
"children": [
|
|
@@ -45538,7 +45536,7 @@
|
|
|
45538
45536
|
"isPure": false,
|
|
45539
45537
|
"lValueRequested": false,
|
|
45540
45538
|
"member_name": "buyer",
|
|
45541
|
-
"referencedDeclaration":
|
|
45539
|
+
"referencedDeclaration": 10592,
|
|
45542
45540
|
"type": "address"
|
|
45543
45541
|
},
|
|
45544
45542
|
"children": [
|
|
@@ -45633,7 +45631,7 @@
|
|
|
45633
45631
|
"isPure": false,
|
|
45634
45632
|
"lValueRequested": false,
|
|
45635
45633
|
"member_name": "marginCollateral",
|
|
45636
|
-
"referencedDeclaration":
|
|
45634
|
+
"referencedDeclaration": 10602,
|
|
45637
45635
|
"type": "uint256"
|
|
45638
45636
|
},
|
|
45639
45637
|
"children": [
|
|
@@ -46135,7 +46133,7 @@
|
|
|
46135
46133
|
"isPure": false,
|
|
46136
46134
|
"lValueRequested": false,
|
|
46137
46135
|
"member_name": "getPoolId",
|
|
46138
|
-
"referencedDeclaration":
|
|
46136
|
+
"referencedDeclaration": 10764,
|
|
46139
46137
|
"type": "function () view external returns (bytes32)"
|
|
46140
46138
|
},
|
|
46141
46139
|
"children": [
|
|
@@ -46165,7 +46163,7 @@
|
|
|
46165
46163
|
"overloadedDeclarations": [
|
|
46166
46164
|
null
|
|
46167
46165
|
],
|
|
46168
|
-
"referencedDeclaration":
|
|
46166
|
+
"referencedDeclaration": 10816,
|
|
46169
46167
|
"type": "type(contract IMarginOrder)",
|
|
46170
46168
|
"value": "IMarginOrder"
|
|
46171
46169
|
},
|
|
@@ -46231,7 +46229,7 @@
|
|
|
46231
46229
|
"isPure": false,
|
|
46232
46230
|
"lValueRequested": false,
|
|
46233
46231
|
"member_name": "party",
|
|
46234
|
-
"referencedDeclaration":
|
|
46232
|
+
"referencedDeclaration": 10751,
|
|
46235
46233
|
"type": "address"
|
|
46236
46234
|
},
|
|
46237
46235
|
"children": [
|
|
@@ -46263,7 +46261,7 @@
|
|
|
46263
46261
|
"isPure": false,
|
|
46264
46262
|
"lValueRequested": false,
|
|
46265
46263
|
"member_name": "getOrder",
|
|
46266
|
-
"referencedDeclaration":
|
|
46264
|
+
"referencedDeclaration": 10781,
|
|
46267
46265
|
"type": "function (bytes32) view external returns (struct IMarginOrder.order memory)"
|
|
46268
46266
|
},
|
|
46269
46267
|
"children": [
|
|
@@ -46293,7 +46291,7 @@
|
|
|
46293
46291
|
"overloadedDeclarations": [
|
|
46294
46292
|
null
|
|
46295
46293
|
],
|
|
46296
|
-
"referencedDeclaration":
|
|
46294
|
+
"referencedDeclaration": 10816,
|
|
46297
46295
|
"type": "type(contract IMarginOrder)",
|
|
46298
46296
|
"value": "IMarginOrder"
|
|
46299
46297
|
},
|
|
@@ -46372,7 +46370,7 @@
|
|
|
46372
46370
|
"isPure": false,
|
|
46373
46371
|
"lValueRequested": false,
|
|
46374
46372
|
"member_name": "party",
|
|
46375
|
-
"referencedDeclaration":
|
|
46373
|
+
"referencedDeclaration": 10751,
|
|
46376
46374
|
"type": "address"
|
|
46377
46375
|
},
|
|
46378
46376
|
"children": [
|
|
@@ -46404,7 +46402,7 @@
|
|
|
46404
46402
|
"isPure": false,
|
|
46405
46403
|
"lValueRequested": false,
|
|
46406
46404
|
"member_name": "getOrder",
|
|
46407
|
-
"referencedDeclaration":
|
|
46405
|
+
"referencedDeclaration": 10781,
|
|
46408
46406
|
"type": "function (bytes32) view external returns (struct IMarginOrder.order memory)"
|
|
46409
46407
|
},
|
|
46410
46408
|
"children": [
|
|
@@ -46434,7 +46432,7 @@
|
|
|
46434
46432
|
"overloadedDeclarations": [
|
|
46435
46433
|
null
|
|
46436
46434
|
],
|
|
46437
|
-
"referencedDeclaration":
|
|
46435
|
+
"referencedDeclaration": 10816,
|
|
46438
46436
|
"type": "type(contract IMarginOrder)",
|
|
46439
46437
|
"value": "IMarginOrder"
|
|
46440
46438
|
},
|
|
@@ -46495,7 +46493,7 @@
|
|
|
46495
46493
|
"isPure": false,
|
|
46496
46494
|
"lValueRequested": false,
|
|
46497
46495
|
"member_name": "party",
|
|
46498
|
-
"referencedDeclaration":
|
|
46496
|
+
"referencedDeclaration": 10751,
|
|
46499
46497
|
"type": "address"
|
|
46500
46498
|
},
|
|
46501
46499
|
"children": [
|
|
@@ -46527,7 +46525,7 @@
|
|
|
46527
46525
|
"isPure": false,
|
|
46528
46526
|
"lValueRequested": false,
|
|
46529
46527
|
"member_name": "getOrder",
|
|
46530
|
-
"referencedDeclaration":
|
|
46528
|
+
"referencedDeclaration": 10781,
|
|
46531
46529
|
"type": "function (bytes32) view external returns (struct IMarginOrder.order memory)"
|
|
46532
46530
|
},
|
|
46533
46531
|
"children": [
|
|
@@ -46557,7 +46555,7 @@
|
|
|
46557
46555
|
"overloadedDeclarations": [
|
|
46558
46556
|
null
|
|
46559
46557
|
],
|
|
46560
|
-
"referencedDeclaration":
|
|
46558
|
+
"referencedDeclaration": 10816,
|
|
46561
46559
|
"type": "type(contract IMarginOrder)",
|
|
46562
46560
|
"value": "IMarginOrder"
|
|
46563
46561
|
},
|
|
@@ -46670,7 +46668,7 @@
|
|
|
46670
46668
|
"isPure": false,
|
|
46671
46669
|
"lValueRequested": false,
|
|
46672
46670
|
"member_name": "getSecurity",
|
|
46673
|
-
"referencedDeclaration":
|
|
46671
|
+
"referencedDeclaration": 10769,
|
|
46674
46672
|
"type": "function () view external returns (address)"
|
|
46675
46673
|
},
|
|
46676
46674
|
"children": [
|
|
@@ -46700,7 +46698,7 @@
|
|
|
46700
46698
|
"overloadedDeclarations": [
|
|
46701
46699
|
null
|
|
46702
46700
|
],
|
|
46703
|
-
"referencedDeclaration":
|
|
46701
|
+
"referencedDeclaration": 10816,
|
|
46704
46702
|
"type": "type(contract IMarginOrder)",
|
|
46705
46703
|
"value": "IMarginOrder"
|
|
46706
46704
|
},
|
|
@@ -46764,7 +46762,7 @@
|
|
|
46764
46762
|
"isPure": false,
|
|
46765
46763
|
"lValueRequested": false,
|
|
46766
46764
|
"member_name": "getCurrency",
|
|
46767
|
-
"referencedDeclaration":
|
|
46765
|
+
"referencedDeclaration": 10774,
|
|
46768
46766
|
"type": "function () view external returns (address)"
|
|
46769
46767
|
},
|
|
46770
46768
|
"children": [
|
|
@@ -46794,7 +46792,7 @@
|
|
|
46794
46792
|
"overloadedDeclarations": [
|
|
46795
46793
|
null
|
|
46796
46794
|
],
|
|
46797
|
-
"referencedDeclaration":
|
|
46795
|
+
"referencedDeclaration": 10816,
|
|
46798
46796
|
"type": "type(contract IMarginOrder)",
|
|
46799
46797
|
"value": "IMarginOrder"
|
|
46800
46798
|
},
|
|
@@ -47128,7 +47126,7 @@
|
|
|
47128
47126
|
"isPure": false,
|
|
47129
47127
|
"lValueRequested": false,
|
|
47130
47128
|
"member_name": "getFee",
|
|
47131
|
-
"referencedDeclaration":
|
|
47129
|
+
"referencedDeclaration": 10859,
|
|
47132
47130
|
"type": "function () view external returns (uint256)"
|
|
47133
47131
|
},
|
|
47134
47132
|
"children": [
|
|
@@ -47158,7 +47156,7 @@
|
|
|
47158
47156
|
"overloadedDeclarations": [
|
|
47159
47157
|
null
|
|
47160
47158
|
],
|
|
47161
|
-
"referencedDeclaration":
|
|
47159
|
+
"referencedDeclaration": 10860,
|
|
47162
47160
|
"type": "type(contract IMarginTradingPool)",
|
|
47163
47161
|
"value": "IMarginTradingPool"
|
|
47164
47162
|
},
|
|
@@ -47730,7 +47728,7 @@
|
|
|
47730
47728
|
{
|
|
47731
47729
|
"attributes": {
|
|
47732
47730
|
"baseFunctions": [
|
|
47733
|
-
|
|
47731
|
+
10709
|
|
47734
47732
|
],
|
|
47735
47733
|
"functionSelector": "02f2fb31",
|
|
47736
47734
|
"implemented": true,
|
|
@@ -48247,7 +48245,7 @@
|
|
|
48247
48245
|
{
|
|
48248
48246
|
"attributes": {
|
|
48249
48247
|
"name": "IMarginManager.tradePosition",
|
|
48250
|
-
"referencedDeclaration":
|
|
48248
|
+
"referencedDeclaration": 10605,
|
|
48251
48249
|
"type": "struct IMarginManager.tradePosition"
|
|
48252
48250
|
},
|
|
48253
48251
|
"id": 5223,
|
|
@@ -48413,7 +48411,7 @@
|
|
|
48413
48411
|
"isPure": false,
|
|
48414
48412
|
"lValueRequested": false,
|
|
48415
48413
|
"member_name": "buyer",
|
|
48416
|
-
"referencedDeclaration":
|
|
48414
|
+
"referencedDeclaration": 10592,
|
|
48417
48415
|
"type": "address"
|
|
48418
48416
|
},
|
|
48419
48417
|
"children": [
|
|
@@ -48545,7 +48543,7 @@
|
|
|
48545
48543
|
"isPure": false,
|
|
48546
48544
|
"lValueRequested": false,
|
|
48547
48545
|
"member_name": "buyer",
|
|
48548
|
-
"referencedDeclaration":
|
|
48546
|
+
"referencedDeclaration": 10592,
|
|
48549
48547
|
"type": "address"
|
|
48550
48548
|
},
|
|
48551
48549
|
"children": [
|
|
@@ -48682,7 +48680,7 @@
|
|
|
48682
48680
|
"isPure": false,
|
|
48683
48681
|
"lValueRequested": false,
|
|
48684
48682
|
"member_name": "buyer",
|
|
48685
|
-
"referencedDeclaration":
|
|
48683
|
+
"referencedDeclaration": 10592,
|
|
48686
48684
|
"type": "address"
|
|
48687
48685
|
},
|
|
48688
48686
|
"children": [
|
|
@@ -48911,7 +48909,7 @@
|
|
|
48911
48909
|
"isPure": false,
|
|
48912
48910
|
"lValueRequested": false,
|
|
48913
48911
|
"member_name": "timestamp",
|
|
48914
|
-
"referencedDeclaration":
|
|
48912
|
+
"referencedDeclaration": 10604,
|
|
48915
48913
|
"type": "uint256"
|
|
48916
48914
|
},
|
|
48917
48915
|
"children": [
|
|
@@ -49045,7 +49043,7 @@
|
|
|
49045
49043
|
"isPure": false,
|
|
49046
49044
|
"lValueRequested": false,
|
|
49047
49045
|
"member_name": "buyer",
|
|
49048
|
-
"referencedDeclaration":
|
|
49046
|
+
"referencedDeclaration": 10592,
|
|
49049
49047
|
"type": "address"
|
|
49050
49048
|
},
|
|
49051
49049
|
"children": [
|
|
@@ -49182,7 +49180,7 @@
|
|
|
49182
49180
|
"isPure": false,
|
|
49183
49181
|
"lValueRequested": false,
|
|
49184
49182
|
"member_name": "buyer",
|
|
49185
|
-
"referencedDeclaration":
|
|
49183
|
+
"referencedDeclaration": 10592,
|
|
49186
49184
|
"type": "address"
|
|
49187
49185
|
},
|
|
49188
49186
|
"children": [
|
|
@@ -49411,7 +49409,7 @@
|
|
|
49411
49409
|
"isPure": false,
|
|
49412
49410
|
"lValueRequested": false,
|
|
49413
49411
|
"member_name": "timestamp",
|
|
49414
|
-
"referencedDeclaration":
|
|
49412
|
+
"referencedDeclaration": 10604,
|
|
49415
49413
|
"type": "uint256"
|
|
49416
49414
|
},
|
|
49417
49415
|
"children": [
|
|
@@ -49538,7 +49536,7 @@
|
|
|
49538
49536
|
"isPure": false,
|
|
49539
49537
|
"lValueRequested": false,
|
|
49540
49538
|
"member_name": "buyer",
|
|
49541
|
-
"referencedDeclaration":
|
|
49539
|
+
"referencedDeclaration": 10592,
|
|
49542
49540
|
"type": "address"
|
|
49543
49541
|
},
|
|
49544
49542
|
"children": [
|
|
@@ -49675,7 +49673,7 @@
|
|
|
49675
49673
|
"isPure": false,
|
|
49676
49674
|
"lValueRequested": false,
|
|
49677
49675
|
"member_name": "buyer",
|
|
49678
|
-
"referencedDeclaration":
|
|
49676
|
+
"referencedDeclaration": 10592,
|
|
49679
49677
|
"type": "address"
|
|
49680
49678
|
},
|
|
49681
49679
|
"children": [
|
|
@@ -49904,7 +49902,7 @@
|
|
|
49904
49902
|
"isPure": false,
|
|
49905
49903
|
"lValueRequested": false,
|
|
49906
49904
|
"member_name": "timestamp",
|
|
49907
|
-
"referencedDeclaration":
|
|
49905
|
+
"referencedDeclaration": 10604,
|
|
49908
49906
|
"type": "uint256"
|
|
49909
49907
|
},
|
|
49910
49908
|
"children": [
|
|
@@ -50038,7 +50036,7 @@
|
|
|
50038
50036
|
"isPure": false,
|
|
50039
50037
|
"lValueRequested": false,
|
|
50040
50038
|
"member_name": "buyer",
|
|
50041
|
-
"referencedDeclaration":
|
|
50039
|
+
"referencedDeclaration": 10592,
|
|
50042
50040
|
"type": "address"
|
|
50043
50041
|
},
|
|
50044
50042
|
"children": [
|
|
@@ -50175,7 +50173,7 @@
|
|
|
50175
50173
|
"isPure": false,
|
|
50176
50174
|
"lValueRequested": false,
|
|
50177
50175
|
"member_name": "buyer",
|
|
50178
|
-
"referencedDeclaration":
|
|
50176
|
+
"referencedDeclaration": 10592,
|
|
50179
50177
|
"type": "address"
|
|
50180
50178
|
},
|
|
50181
50179
|
"children": [
|
|
@@ -50404,7 +50402,7 @@
|
|
|
50404
50402
|
"isPure": false,
|
|
50405
50403
|
"lValueRequested": false,
|
|
50406
50404
|
"member_name": "timestamp",
|
|
50407
|
-
"referencedDeclaration":
|
|
50405
|
+
"referencedDeclaration": 10604,
|
|
50408
50406
|
"type": "uint256"
|
|
50409
50407
|
},
|
|
50410
50408
|
"children": [
|
|
@@ -50485,7 +50483,7 @@
|
|
|
50485
50483
|
"isPure": false,
|
|
50486
50484
|
"lValueRequested": true,
|
|
50487
50485
|
"member_name": "timestamp",
|
|
50488
|
-
"referencedDeclaration":
|
|
50486
|
+
"referencedDeclaration": 10604,
|
|
50489
50487
|
"type": "uint256"
|
|
50490
50488
|
},
|
|
50491
50489
|
"children": [
|
|
@@ -50595,7 +50593,7 @@
|
|
|
50595
50593
|
"isPure": false,
|
|
50596
50594
|
"lValueRequested": false,
|
|
50597
50595
|
"member_name": "seller",
|
|
50598
|
-
"referencedDeclaration":
|
|
50596
|
+
"referencedDeclaration": 10594,
|
|
50599
50597
|
"type": "address"
|
|
50600
50598
|
},
|
|
50601
50599
|
"children": [
|
|
@@ -50727,7 +50725,7 @@
|
|
|
50727
50725
|
"isPure": false,
|
|
50728
50726
|
"lValueRequested": false,
|
|
50729
50727
|
"member_name": "seller",
|
|
50730
|
-
"referencedDeclaration":
|
|
50728
|
+
"referencedDeclaration": 10594,
|
|
50731
50729
|
"type": "address"
|
|
50732
50730
|
},
|
|
50733
50731
|
"children": [
|
|
@@ -50864,7 +50862,7 @@
|
|
|
50864
50862
|
"isPure": false,
|
|
50865
50863
|
"lValueRequested": false,
|
|
50866
50864
|
"member_name": "seller",
|
|
50867
|
-
"referencedDeclaration":
|
|
50865
|
+
"referencedDeclaration": 10594,
|
|
50868
50866
|
"type": "address"
|
|
50869
50867
|
},
|
|
50870
50868
|
"children": [
|
|
@@ -51093,7 +51091,7 @@
|
|
|
51093
51091
|
"isPure": false,
|
|
51094
51092
|
"lValueRequested": false,
|
|
51095
51093
|
"member_name": "timestamp",
|
|
51096
|
-
"referencedDeclaration":
|
|
51094
|
+
"referencedDeclaration": 10604,
|
|
51097
51095
|
"type": "uint256"
|
|
51098
51096
|
},
|
|
51099
51097
|
"children": [
|
|
@@ -51227,7 +51225,7 @@
|
|
|
51227
51225
|
"isPure": false,
|
|
51228
51226
|
"lValueRequested": false,
|
|
51229
51227
|
"member_name": "seller",
|
|
51230
|
-
"referencedDeclaration":
|
|
51228
|
+
"referencedDeclaration": 10594,
|
|
51231
51229
|
"type": "address"
|
|
51232
51230
|
},
|
|
51233
51231
|
"children": [
|
|
@@ -51364,7 +51362,7 @@
|
|
|
51364
51362
|
"isPure": false,
|
|
51365
51363
|
"lValueRequested": false,
|
|
51366
51364
|
"member_name": "seller",
|
|
51367
|
-
"referencedDeclaration":
|
|
51365
|
+
"referencedDeclaration": 10594,
|
|
51368
51366
|
"type": "address"
|
|
51369
51367
|
},
|
|
51370
51368
|
"children": [
|
|
@@ -51593,7 +51591,7 @@
|
|
|
51593
51591
|
"isPure": false,
|
|
51594
51592
|
"lValueRequested": false,
|
|
51595
51593
|
"member_name": "timestamp",
|
|
51596
|
-
"referencedDeclaration":
|
|
51594
|
+
"referencedDeclaration": 10604,
|
|
51597
51595
|
"type": "uint256"
|
|
51598
51596
|
},
|
|
51599
51597
|
"children": [
|
|
@@ -51674,7 +51672,7 @@
|
|
|
51674
51672
|
"isPure": false,
|
|
51675
51673
|
"lValueRequested": true,
|
|
51676
51674
|
"member_name": "timestamp",
|
|
51677
|
-
"referencedDeclaration":
|
|
51675
|
+
"referencedDeclaration": 10604,
|
|
51678
51676
|
"type": "uint256"
|
|
51679
51677
|
},
|
|
51680
51678
|
"children": [
|
|
@@ -51752,7 +51750,7 @@
|
|
|
51752
51750
|
{
|
|
51753
51751
|
"attributes": {
|
|
51754
51752
|
"baseFunctions": [
|
|
51755
|
-
|
|
51753
|
+
10716
|
|
51756
51754
|
],
|
|
51757
51755
|
"functionSelector": "f940e385",
|
|
51758
51756
|
"implemented": true,
|
|
@@ -52126,7 +52124,7 @@
|
|
|
52126
52124
|
{
|
|
52127
52125
|
"attributes": {
|
|
52128
52126
|
"name": "IMarginManager.tradePosition",
|
|
52129
|
-
"referencedDeclaration":
|
|
52127
|
+
"referencedDeclaration": 10605,
|
|
52130
52128
|
"type": "struct IMarginManager.tradePosition"
|
|
52131
52129
|
},
|
|
52132
52130
|
"id": 5492,
|
|
@@ -52260,7 +52258,7 @@
|
|
|
52260
52258
|
"isPure": false,
|
|
52261
52259
|
"lValueRequested": false,
|
|
52262
52260
|
"member_name": "buyer",
|
|
52263
|
-
"referencedDeclaration":
|
|
52261
|
+
"referencedDeclaration": 10592,
|
|
52264
52262
|
"type": "address"
|
|
52265
52263
|
},
|
|
52266
52264
|
"children": [
|
|
@@ -52419,7 +52417,7 @@
|
|
|
52419
52417
|
"isPure": false,
|
|
52420
52418
|
"lValueRequested": false,
|
|
52421
52419
|
"member_name": "buyer",
|
|
52422
|
-
"referencedDeclaration":
|
|
52420
|
+
"referencedDeclaration": 10592,
|
|
52423
52421
|
"type": "address"
|
|
52424
52422
|
},
|
|
52425
52423
|
"children": [
|
|
@@ -52522,7 +52520,7 @@
|
|
|
52522
52520
|
"isPure": false,
|
|
52523
52521
|
"lValueRequested": false,
|
|
52524
52522
|
"member_name": "buyer",
|
|
52525
|
-
"referencedDeclaration":
|
|
52523
|
+
"referencedDeclaration": 10592,
|
|
52526
52524
|
"type": "address"
|
|
52527
52525
|
},
|
|
52528
52526
|
"children": [
|
|
@@ -52611,7 +52609,7 @@
|
|
|
52611
52609
|
"isPure": false,
|
|
52612
52610
|
"lValueRequested": false,
|
|
52613
52611
|
"member_name": "seller",
|
|
52614
|
-
"referencedDeclaration":
|
|
52612
|
+
"referencedDeclaration": 10594,
|
|
52615
52613
|
"type": "address"
|
|
52616
52614
|
},
|
|
52617
52615
|
"children": [
|
|
@@ -52770,7 +52768,7 @@
|
|
|
52770
52768
|
"isPure": false,
|
|
52771
52769
|
"lValueRequested": false,
|
|
52772
52770
|
"member_name": "seller",
|
|
52773
|
-
"referencedDeclaration":
|
|
52771
|
+
"referencedDeclaration": 10594,
|
|
52774
52772
|
"type": "address"
|
|
52775
52773
|
},
|
|
52776
52774
|
"children": [
|
|
@@ -52873,7 +52871,7 @@
|
|
|
52873
52871
|
"isPure": false,
|
|
52874
52872
|
"lValueRequested": false,
|
|
52875
52873
|
"member_name": "seller",
|
|
52876
|
-
"referencedDeclaration":
|
|
52874
|
+
"referencedDeclaration": 10594,
|
|
52877
52875
|
"type": "address"
|
|
52878
52876
|
},
|
|
52879
52877
|
"children": [
|
|
@@ -52971,7 +52969,7 @@
|
|
|
52971
52969
|
{
|
|
52972
52970
|
"attributes": {
|
|
52973
52971
|
"baseFunctions": [
|
|
52974
|
-
|
|
52972
|
+
10674
|
|
52975
52973
|
],
|
|
52976
52974
|
"functionSelector": "2d916746",
|
|
52977
52975
|
"implemented": true,
|
|
@@ -54653,16 +54651,9 @@
|
|
|
54653
54651
|
"name": "solc",
|
|
54654
54652
|
"version": "0.7.1+commit.f4a555be.Emscripten.clang"
|
|
54655
54653
|
},
|
|
54656
|
-
"networks": {
|
|
54657
|
-
"11155111": {
|
|
54658
|
-
"events": {},
|
|
54659
|
-
"links": {},
|
|
54660
|
-
"address": "0x2f7A7901f1Da78A1bdE75F25A6eB9e591f4140d3",
|
|
54661
|
-
"transactionHash": "0x3de5b5456c55fdb5ea6d74f362f89892b199d34f9082c44d2b19bcf464e363a3"
|
|
54662
|
-
}
|
|
54663
|
-
},
|
|
54654
|
+
"networks": {},
|
|
54664
54655
|
"schemaVersion": "3.4.3",
|
|
54665
|
-
"updatedAt": "2024-
|
|
54656
|
+
"updatedAt": "2024-04-05T23:12:37.265Z",
|
|
54666
54657
|
"networkType": "ethereum",
|
|
54667
54658
|
"devdoc": {
|
|
54668
54659
|
"kind": "dev",
|