@verified-network/verified-sdk 1.9.2 → 1.9.4

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.
@@ -777,7 +777,7 @@
777
777
  "id": 3692,
778
778
  "nodeType": "ImportDirective",
779
779
  "scope": 6328,
780
- "sourceUnit": 11116,
780
+ "sourceUnit": 11118,
781
781
  "src": "175:35:16",
782
782
  "symbolAliases": [],
783
783
  "unitAlias": ""
@@ -788,7 +788,7 @@
788
788
  "id": 3693,
789
789
  "nodeType": "ImportDirective",
790
790
  "scope": 6328,
791
- "sourceUnit": 12121,
791
+ "sourceUnit": 12123,
792
792
  "src": "212:36:16",
793
793
  "symbolAliases": [],
794
794
  "unitAlias": ""
@@ -799,7 +799,7 @@
799
799
  "id": 3694,
800
800
  "nodeType": "ImportDirective",
801
801
  "scope": 6328,
802
- "sourceUnit": 11570,
802
+ "sourceUnit": 11572,
803
803
  "src": "250:39:16",
804
804
  "symbolAliases": [],
805
805
  "unitAlias": ""
@@ -810,7 +810,7 @@
810
810
  "id": 3695,
811
811
  "nodeType": "ImportDirective",
812
812
  "scope": 6328,
813
- "sourceUnit": 11480,
813
+ "sourceUnit": 11482,
814
814
  "src": "291:41:16",
815
815
  "symbolAliases": [],
816
816
  "unitAlias": ""
@@ -821,7 +821,7 @@
821
821
  "id": 3696,
822
822
  "nodeType": "ImportDirective",
823
823
  "scope": 6328,
824
- "sourceUnit": 11614,
824
+ "sourceUnit": 11616,
825
825
  "src": "334:45:16",
826
826
  "symbolAliases": [],
827
827
  "unitAlias": ""
@@ -832,7 +832,7 @@
832
832
  "id": 3697,
833
833
  "nodeType": "ImportDirective",
834
834
  "scope": 6328,
835
- "sourceUnit": 11646,
835
+ "sourceUnit": 11648,
836
836
  "src": "381:52:16",
837
837
  "symbolAliases": [],
838
838
  "unitAlias": ""
@@ -922,10 +922,10 @@
922
922
  "id": 3705,
923
923
  "name": "IMarginManager",
924
924
  "nodeType": "UserDefinedTypeName",
925
- "referencedDeclaration": 11479,
925
+ "referencedDeclaration": 11481,
926
926
  "src": "982:14:16",
927
927
  "typeDescriptions": {
928
- "typeIdentifier": "t_contract$_IMarginManager_$11479",
928
+ "typeIdentifier": "t_contract$_IMarginManager_$11481",
929
929
  "typeString": "contract IMarginManager"
930
930
  }
931
931
  },
@@ -952,7 +952,7 @@
952
952
  ],
953
953
  "contractDependencies": [
954
954
  3045,
955
- 11479
955
+ 11481
956
956
  ],
957
957
  "contractKind": "contract",
958
958
  "fullyImplemented": true,
@@ -960,7 +960,7 @@
960
960
  "linearizedBaseContracts": [
961
961
  6327,
962
962
  3045,
963
- 11479
963
+ 11481
964
964
  ],
965
965
  "name": "MarginIssueManager",
966
966
  "nodeType": "ContractDefinition",
@@ -1073,17 +1073,17 @@
1073
1073
  "stateVariable": true,
1074
1074
  "storageLocation": "default",
1075
1075
  "typeDescriptions": {
1076
- "typeIdentifier": "t_contract$_IFactory_$11115",
1076
+ "typeIdentifier": "t_contract$_IFactory_$11117",
1077
1077
  "typeString": "contract IFactory"
1078
1078
  },
1079
1079
  "typeName": {
1080
1080
  "id": 3717,
1081
1081
  "name": "IFactory",
1082
1082
  "nodeType": "UserDefinedTypeName",
1083
- "referencedDeclaration": 11115,
1083
+ "referencedDeclaration": 11117,
1084
1084
  "src": "1177:8:16",
1085
1085
  "typeDescriptions": {
1086
- "typeIdentifier": "t_contract$_IFactory_$11115",
1086
+ "typeIdentifier": "t_contract$_IFactory_$11117",
1087
1087
  "typeString": "contract IFactory"
1088
1088
  }
1089
1089
  },
@@ -1705,7 +1705,7 @@
1705
1705
  "stateVariable": true,
1706
1706
  "storageLocation": "default",
1707
1707
  "typeDescriptions": {
1708
- "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11334_storage_$dyn_storage_$_$",
1708
+ "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11336_storage_$dyn_storage_$_$",
1709
1709
  "typeString": "mapping(address => mapping(address => struct IMarginManager.tradePosition[]))"
1710
1710
  },
1711
1711
  "typeName": {
@@ -1723,7 +1723,7 @@
1723
1723
  "nodeType": "Mapping",
1724
1724
  "src": "2351:70:16",
1725
1725
  "typeDescriptions": {
1726
- "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11334_storage_$dyn_storage_$_$",
1726
+ "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11336_storage_$dyn_storage_$_$",
1727
1727
  "typeString": "mapping(address => mapping(address => struct IMarginManager.tradePosition[]))"
1728
1728
  },
1729
1729
  "valueType": {
@@ -1741,7 +1741,7 @@
1741
1741
  "nodeType": "Mapping",
1742
1742
  "src": "2370:50:16",
1743
1743
  "typeDescriptions": {
1744
- "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11334_storage_$dyn_storage_$",
1744
+ "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11336_storage_$dyn_storage_$",
1745
1745
  "typeString": "mapping(address => struct IMarginManager.tradePosition[])"
1746
1746
  },
1747
1747
  "valueType": {
@@ -1749,10 +1749,10 @@
1749
1749
  "id": 3771,
1750
1750
  "name": "IMarginManager.tradePosition",
1751
1751
  "nodeType": "UserDefinedTypeName",
1752
- "referencedDeclaration": 11334,
1752
+ "referencedDeclaration": 11336,
1753
1753
  "src": "2389:28:16",
1754
1754
  "typeDescriptions": {
1755
- "typeIdentifier": "t_struct$_tradePosition_$11334_storage_ptr",
1755
+ "typeIdentifier": "t_struct$_tradePosition_$11336_storage_ptr",
1756
1756
  "typeString": "struct IMarginManager.tradePosition"
1757
1757
  }
1758
1758
  },
@@ -1760,7 +1760,7 @@
1760
1760
  "nodeType": "ArrayTypeName",
1761
1761
  "src": "2389:30:16",
1762
1762
  "typeDescriptions": {
1763
- "typeIdentifier": "t_array$_t_struct$_tradePosition_$11334_storage_$dyn_storage_ptr",
1763
+ "typeIdentifier": "t_array$_t_struct$_tradePosition_$11336_storage_$dyn_storage_ptr",
1764
1764
  "typeString": "struct IMarginManager.tradePosition[]"
1765
1765
  }
1766
1766
  }
@@ -3045,7 +3045,7 @@
3045
3045
  "referencedDeclaration": 3718,
3046
3046
  "src": "4054:16:16",
3047
3047
  "typeDescriptions": {
3048
- "typeIdentifier": "t_contract$_IFactory_$11115",
3048
+ "typeIdentifier": "t_contract$_IFactory_$11117",
3049
3049
  "typeString": "contract IFactory"
3050
3050
  }
3051
3051
  },
@@ -3056,7 +3056,7 @@
3056
3056
  "lValueRequested": false,
3057
3057
  "memberName": "getDP",
3058
3058
  "nodeType": "MemberAccess",
3059
- "referencedDeclaration": 11114,
3059
+ "referencedDeclaration": 11116,
3060
3060
  "src": "4054:22:16",
3061
3061
  "typeDescriptions": {
3062
3062
  "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_address_$",
@@ -3718,7 +3718,7 @@
3718
3718
  "referencedDeclaration": 3718,
3719
3719
  "src": "4609:16:16",
3720
3720
  "typeDescriptions": {
3721
- "typeIdentifier": "t_contract$_IFactory_$11115",
3721
+ "typeIdentifier": "t_contract$_IFactory_$11117",
3722
3722
  "typeString": "contract IFactory"
3723
3723
  }
3724
3724
  },
@@ -3750,10 +3750,10 @@
3750
3750
  "name": "IFactory",
3751
3751
  "nodeType": "Identifier",
3752
3752
  "overloadedDeclarations": [],
3753
- "referencedDeclaration": 11115,
3753
+ "referencedDeclaration": 11117,
3754
3754
  "src": "4628:8:16",
3755
3755
  "typeDescriptions": {
3756
- "typeIdentifier": "t_type$_t_contract$_IFactory_$11115_$",
3756
+ "typeIdentifier": "t_type$_t_contract$_IFactory_$11117_$",
3757
3757
  "typeString": "type(contract IFactory)"
3758
3758
  }
3759
3759
  },
@@ -3768,13 +3768,13 @@
3768
3768
  "src": "4628:25:16",
3769
3769
  "tryCall": false,
3770
3770
  "typeDescriptions": {
3771
- "typeIdentifier": "t_contract$_IFactory_$11115",
3771
+ "typeIdentifier": "t_contract$_IFactory_$11117",
3772
3772
  "typeString": "contract IFactory"
3773
3773
  }
3774
3774
  },
3775
3775
  "src": "4609:44:16",
3776
3776
  "typeDescriptions": {
3777
- "typeIdentifier": "t_contract$_IFactory_$11115",
3777
+ "typeIdentifier": "t_contract$_IFactory_$11117",
3778
3778
  "typeString": "contract IFactory"
3779
3779
  }
3780
3780
  },
@@ -4160,7 +4160,7 @@
4160
4160
  },
4161
4161
  {
4162
4162
  "baseFunctions": [
4163
- 11478
4163
+ 11480
4164
4164
  ],
4165
4165
  "body": {
4166
4166
  "id": 3991,
@@ -4420,7 +4420,7 @@
4420
4420
  },
4421
4421
  {
4422
4422
  "baseFunctions": [
4423
- 11357
4423
+ 11359
4424
4424
  ],
4425
4425
  "body": {
4426
4426
  "id": 4106,
@@ -5248,10 +5248,10 @@
5248
5248
  "name": "ISecurity",
5249
5249
  "nodeType": "Identifier",
5250
5250
  "overloadedDeclarations": [],
5251
- "referencedDeclaration": 12120,
5251
+ "referencedDeclaration": 12122,
5252
5252
  "src": "5692:9:16",
5253
5253
  "typeDescriptions": {
5254
- "typeIdentifier": "t_type$_t_contract$_ISecurity_$12120_$",
5254
+ "typeIdentifier": "t_type$_t_contract$_ISecurity_$12122_$",
5255
5255
  "typeString": "type(contract ISecurity)"
5256
5256
  }
5257
5257
  },
@@ -5266,7 +5266,7 @@
5266
5266
  "src": "5692:19:16",
5267
5267
  "tryCall": false,
5268
5268
  "typeDescriptions": {
5269
- "typeIdentifier": "t_contract$_ISecurity_$12120",
5269
+ "typeIdentifier": "t_contract$_ISecurity_$12122",
5270
5270
  "typeString": "contract ISecurity"
5271
5271
  }
5272
5272
  },
@@ -5277,7 +5277,7 @@
5277
5277
  "lValueRequested": false,
5278
5278
  "memberName": "whiteList",
5279
5279
  "nodeType": "MemberAccess",
5280
- "referencedDeclaration": 12119,
5280
+ "referencedDeclaration": 12121,
5281
5281
  "src": "5692:29:16",
5282
5282
  "typeDescriptions": {
5283
5283
  "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$",
@@ -5319,17 +5319,17 @@
5319
5319
  "stateVariable": false,
5320
5320
  "storageLocation": "memory",
5321
5321
  "typeDescriptions": {
5322
- "typeIdentifier": "t_struct$_FactoryPoolParams_$11637_memory_ptr",
5322
+ "typeIdentifier": "t_struct$_FactoryPoolParams_$11639_memory_ptr",
5323
5323
  "typeString": "struct IMarginTradingPoolFactory.FactoryPoolParams"
5324
5324
  },
5325
5325
  "typeName": {
5326
5326
  "id": 4080,
5327
5327
  "name": "IMarginTradingPoolFactory.FactoryPoolParams",
5328
5328
  "nodeType": "UserDefinedTypeName",
5329
- "referencedDeclaration": 11637,
5329
+ "referencedDeclaration": 11639,
5330
5330
  "src": "5762:43:16",
5331
5331
  "typeDescriptions": {
5332
- "typeIdentifier": "t_struct$_FactoryPoolParams_$11637_storage_ptr",
5332
+ "typeIdentifier": "t_struct$_FactoryPoolParams_$11639_storage_ptr",
5333
5333
  "typeString": "struct IMarginTradingPoolFactory.FactoryPoolParams"
5334
5334
  }
5335
5335
  },
@@ -5516,10 +5516,10 @@
5516
5516
  "name": "IMarginTradingPoolFactory",
5517
5517
  "nodeType": "Identifier",
5518
5518
  "overloadedDeclarations": [],
5519
- "referencedDeclaration": 11645,
5519
+ "referencedDeclaration": 11647,
5520
5520
  "src": "5826:25:16",
5521
5521
  "typeDescriptions": {
5522
- "typeIdentifier": "t_type$_t_contract$_IMarginTradingPoolFactory_$11645_$",
5522
+ "typeIdentifier": "t_type$_t_contract$_IMarginTradingPoolFactory_$11647_$",
5523
5523
  "typeString": "type(contract IMarginTradingPoolFactory)"
5524
5524
  }
5525
5525
  },
@@ -5530,10 +5530,10 @@
5530
5530
  "lValueRequested": false,
5531
5531
  "memberName": "FactoryPoolParams",
5532
5532
  "nodeType": "MemberAccess",
5533
- "referencedDeclaration": 11637,
5533
+ "referencedDeclaration": 11639,
5534
5534
  "src": "5826:43:16",
5535
5535
  "typeDescriptions": {
5536
- "typeIdentifier": "t_type$_t_struct$_FactoryPoolParams_$11637_storage_ptr_$",
5536
+ "typeIdentifier": "t_type$_t_struct$_FactoryPoolParams_$11639_storage_ptr_$",
5537
5537
  "typeString": "type(struct IMarginTradingPoolFactory.FactoryPoolParams storage pointer)"
5538
5538
  }
5539
5539
  },
@@ -5559,7 +5559,7 @@
5559
5559
  "src": "5826:429:16",
5560
5560
  "tryCall": false,
5561
5561
  "typeDescriptions": {
5562
- "typeIdentifier": "t_struct$_FactoryPoolParams_$11637_memory_ptr",
5562
+ "typeIdentifier": "t_struct$_FactoryPoolParams_$11639_memory_ptr",
5563
5563
  "typeString": "struct IMarginTradingPoolFactory.FactoryPoolParams memory"
5564
5564
  }
5565
5565
  },
@@ -5577,7 +5577,7 @@
5577
5577
  "referencedDeclaration": 4081,
5578
5578
  "src": "6281:10:16",
5579
5579
  "typeDescriptions": {
5580
- "typeIdentifier": "t_struct$_FactoryPoolParams_$11637_memory_ptr",
5580
+ "typeIdentifier": "t_struct$_FactoryPoolParams_$11639_memory_ptr",
5581
5581
  "typeString": "struct IMarginTradingPoolFactory.FactoryPoolParams memory"
5582
5582
  }
5583
5583
  },
@@ -5659,7 +5659,7 @@
5659
5659
  "expression": {
5660
5660
  "argumentTypes": [
5661
5661
  {
5662
- "typeIdentifier": "t_struct$_FactoryPoolParams_$11637_memory_ptr",
5662
+ "typeIdentifier": "t_struct$_FactoryPoolParams_$11639_memory_ptr",
5663
5663
  "typeString": "struct IMarginTradingPoolFactory.FactoryPoolParams memory"
5664
5664
  },
5665
5665
  {
@@ -5690,7 +5690,7 @@
5690
5690
  "referencedDeclaration": 4168,
5691
5691
  "src": "6270:10:16",
5692
5692
  "typeDescriptions": {
5693
- "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_FactoryPoolParams_$11637_memory_ptr_$_t_address_$_t_uint256_$_t_address_$_t_uint256_$_t_address_$returns$__$",
5693
+ "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_FactoryPoolParams_$11639_memory_ptr_$_t_address_$_t_uint256_$_t_address_$_t_uint256_$_t_address_$returns$__$",
5694
5694
  "typeString": "function (struct IMarginTradingPoolFactory.FactoryPoolParams memory,address,uint256,address,uint256,address)"
5695
5695
  }
5696
5696
  },
@@ -6154,7 +6154,7 @@
6154
6154
  "referencedDeclaration": 4109,
6155
6155
  "src": "6650:10:16",
6156
6156
  "typeDescriptions": {
6157
- "typeIdentifier": "t_struct$_FactoryPoolParams_$11637_memory_ptr",
6157
+ "typeIdentifier": "t_struct$_FactoryPoolParams_$11639_memory_ptr",
6158
6158
  "typeString": "struct IMarginTradingPoolFactory.FactoryPoolParams memory"
6159
6159
  }
6160
6160
  }
@@ -6162,7 +6162,7 @@
6162
6162
  "expression": {
6163
6163
  "argumentTypes": [
6164
6164
  {
6165
- "typeIdentifier": "t_struct$_FactoryPoolParams_$11637_memory_ptr",
6165
+ "typeIdentifier": "t_struct$_FactoryPoolParams_$11639_memory_ptr",
6166
6166
  "typeString": "struct IMarginTradingPoolFactory.FactoryPoolParams memory"
6167
6167
  }
6168
6168
  ],
@@ -6192,10 +6192,10 @@
6192
6192
  "name": "IMarginTradingPoolFactory",
6193
6193
  "nodeType": "Identifier",
6194
6194
  "overloadedDeclarations": [],
6195
- "referencedDeclaration": 11645,
6195
+ "referencedDeclaration": 11647,
6196
6196
  "src": "6603:25:16",
6197
6197
  "typeDescriptions": {
6198
- "typeIdentifier": "t_type$_t_contract$_IMarginTradingPoolFactory_$11645_$",
6198
+ "typeIdentifier": "t_type$_t_contract$_IMarginTradingPoolFactory_$11647_$",
6199
6199
  "typeString": "type(contract IMarginTradingPoolFactory)"
6200
6200
  }
6201
6201
  },
@@ -6210,7 +6210,7 @@
6210
6210
  "src": "6603:39:16",
6211
6211
  "tryCall": false,
6212
6212
  "typeDescriptions": {
6213
- "typeIdentifier": "t_contract$_IMarginTradingPoolFactory_$11645",
6213
+ "typeIdentifier": "t_contract$_IMarginTradingPoolFactory_$11647",
6214
6214
  "typeString": "contract IMarginTradingPoolFactory"
6215
6215
  }
6216
6216
  },
@@ -6221,10 +6221,10 @@
6221
6221
  "lValueRequested": false,
6222
6222
  "memberName": "create",
6223
6223
  "nodeType": "MemberAccess",
6224
- "referencedDeclaration": 11644,
6224
+ "referencedDeclaration": 11646,
6225
6225
  "src": "6603:46:16",
6226
6226
  "typeDescriptions": {
6227
- "typeIdentifier": "t_function_external_nonpayable$_t_struct$_FactoryPoolParams_$11637_memory_ptr_$returns$_t_address_$",
6227
+ "typeIdentifier": "t_function_external_nonpayable$_t_struct$_FactoryPoolParams_$11639_memory_ptr_$returns$_t_address_$",
6228
6228
  "typeString": "function (struct IMarginTradingPoolFactory.FactoryPoolParams memory) external returns (address)"
6229
6229
  }
6230
6230
  },
@@ -6366,10 +6366,10 @@
6366
6366
  "name": "IMarginTradingPool",
6367
6367
  "nodeType": "Identifier",
6368
6368
  "overloadedDeclarations": [],
6369
- "referencedDeclaration": 11613,
6369
+ "referencedDeclaration": 11615,
6370
6370
  "src": "6692:18:16",
6371
6371
  "typeDescriptions": {
6372
- "typeIdentifier": "t_type$_t_contract$_IMarginTradingPool_$11613_$",
6372
+ "typeIdentifier": "t_type$_t_contract$_IMarginTradingPool_$11615_$",
6373
6373
  "typeString": "type(contract IMarginTradingPool)"
6374
6374
  }
6375
6375
  },
@@ -6384,7 +6384,7 @@
6384
6384
  "src": "6692:45:16",
6385
6385
  "tryCall": false,
6386
6386
  "typeDescriptions": {
6387
- "typeIdentifier": "t_contract$_IMarginTradingPool_$11613",
6387
+ "typeIdentifier": "t_contract$_IMarginTradingPool_$11615",
6388
6388
  "typeString": "contract IMarginTradingPool"
6389
6389
  }
6390
6390
  },
@@ -6395,7 +6395,7 @@
6395
6395
  "lValueRequested": false,
6396
6396
  "memberName": "getPoolId",
6397
6397
  "nodeType": "MemberAccess",
6398
- "referencedDeclaration": 11577,
6398
+ "referencedDeclaration": 11579,
6399
6399
  "src": "6692:55:16",
6400
6400
  "typeDescriptions": {
6401
6401
  "typeIdentifier": "t_function_external_view$__$returns$_t_bytes32_$",
@@ -6696,17 +6696,17 @@
6696
6696
  "stateVariable": false,
6697
6697
  "storageLocation": "memory",
6698
6698
  "typeDescriptions": {
6699
- "typeIdentifier": "t_struct$_FactoryPoolParams_$11637_memory_ptr",
6699
+ "typeIdentifier": "t_struct$_FactoryPoolParams_$11639_memory_ptr",
6700
6700
  "typeString": "struct IMarginTradingPoolFactory.FactoryPoolParams"
6701
6701
  },
6702
6702
  "typeName": {
6703
6703
  "id": 4108,
6704
6704
  "name": "IMarginTradingPoolFactory.FactoryPoolParams",
6705
6705
  "nodeType": "UserDefinedTypeName",
6706
- "referencedDeclaration": 11637,
6706
+ "referencedDeclaration": 11639,
6707
6707
  "src": "6396:43:16",
6708
6708
  "typeDescriptions": {
6709
- "typeIdentifier": "t_struct$_FactoryPoolParams_$11637_storage_ptr",
6709
+ "typeIdentifier": "t_struct$_FactoryPoolParams_$11639_storage_ptr",
6710
6710
  "typeString": "struct IMarginTradingPoolFactory.FactoryPoolParams"
6711
6711
  }
6712
6712
  },
@@ -8167,10 +8167,10 @@
8167
8167
  "name": "JoinKind",
8168
8168
  "nodeType": "Identifier",
8169
8169
  "overloadedDeclarations": [],
8170
- "referencedDeclaration": 11316,
8170
+ "referencedDeclaration": 11318,
8171
8171
  "src": "7957:8:16",
8172
8172
  "typeDescriptions": {
8173
- "typeIdentifier": "t_type$_t_enum$_JoinKind_$11316_$",
8173
+ "typeIdentifier": "t_type$_t_enum$_JoinKind_$11318_$",
8174
8174
  "typeString": "type(enum IMarginManager.JoinKind)"
8175
8175
  }
8176
8176
  },
@@ -8183,7 +8183,7 @@
8183
8183
  "nodeType": "MemberAccess",
8184
8184
  "src": "7957:13:16",
8185
8185
  "typeDescriptions": {
8186
- "typeIdentifier": "t_enum$_JoinKind_$11316",
8186
+ "typeIdentifier": "t_enum$_JoinKind_$11318",
8187
8187
  "typeString": "enum IMarginManager.JoinKind"
8188
8188
  }
8189
8189
  },
@@ -8203,7 +8203,7 @@
8203
8203
  "expression": {
8204
8204
  "argumentTypes": [
8205
8205
  {
8206
- "typeIdentifier": "t_enum$_JoinKind_$11316",
8206
+ "typeIdentifier": "t_enum$_JoinKind_$11318",
8207
8207
  "typeString": "enum IMarginManager.JoinKind"
8208
8208
  },
8209
8209
  {
@@ -8737,7 +8737,7 @@
8737
8737
  },
8738
8738
  {
8739
8739
  "baseFunctions": [
8740
- 11398
8740
+ 11400
8741
8741
  ],
8742
8742
  "body": {
8743
8743
  "id": 4453,
@@ -8858,10 +8858,10 @@
8858
8858
  "name": "IMarginTradingPool",
8859
8859
  "nodeType": "Identifier",
8860
8860
  "overloadedDeclarations": [],
8861
- "referencedDeclaration": 11613,
8861
+ "referencedDeclaration": 11615,
8862
8862
  "src": "8282:18:16",
8863
8863
  "typeDescriptions": {
8864
- "typeIdentifier": "t_type$_t_contract$_IMarginTradingPool_$11613_$",
8864
+ "typeIdentifier": "t_type$_t_contract$_IMarginTradingPool_$11615_$",
8865
8865
  "typeString": "type(contract IMarginTradingPool)"
8866
8866
  }
8867
8867
  },
@@ -8876,7 +8876,7 @@
8876
8876
  "src": "8282:45:16",
8877
8877
  "tryCall": false,
8878
8878
  "typeDescriptions": {
8879
- "typeIdentifier": "t_contract$_IMarginTradingPool_$11613",
8879
+ "typeIdentifier": "t_contract$_IMarginTradingPool_$11615",
8880
8880
  "typeString": "contract IMarginTradingPool"
8881
8881
  }
8882
8882
  },
@@ -8887,7 +8887,7 @@
8887
8887
  "lValueRequested": false,
8888
8888
  "memberName": "getCurrency",
8889
8889
  "nodeType": "MemberAccess",
8890
- "referencedDeclaration": 11587,
8890
+ "referencedDeclaration": 11589,
8891
8891
  "src": "8282:57:16",
8892
8892
  "typeDescriptions": {
8893
8893
  "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
@@ -9423,10 +9423,10 @@
9423
9423
  "name": "ExitKind",
9424
9424
  "nodeType": "Identifier",
9425
9425
  "overloadedDeclarations": [],
9426
- "referencedDeclaration": 11319,
9426
+ "referencedDeclaration": 11321,
9427
9427
  "src": "8818:8:16",
9428
9428
  "typeDescriptions": {
9429
- "typeIdentifier": "t_type$_t_enum$_ExitKind_$11319_$",
9429
+ "typeIdentifier": "t_type$_t_enum$_ExitKind_$11321_$",
9430
9430
  "typeString": "type(enum IMarginManager.ExitKind)"
9431
9431
  }
9432
9432
  },
@@ -9439,7 +9439,7 @@
9439
9439
  "nodeType": "MemberAccess",
9440
9440
  "src": "8818:36:16",
9441
9441
  "typeDescriptions": {
9442
- "typeIdentifier": "t_enum$_ExitKind_$11319",
9442
+ "typeIdentifier": "t_enum$_ExitKind_$11321",
9443
9443
  "typeString": "enum IMarginManager.ExitKind"
9444
9444
  }
9445
9445
  },
@@ -9463,7 +9463,7 @@
9463
9463
  "expression": {
9464
9464
  "argumentTypes": [
9465
9465
  {
9466
- "typeIdentifier": "t_enum$_ExitKind_$11319",
9466
+ "typeIdentifier": "t_enum$_ExitKind_$11321",
9467
9467
  "typeString": "enum IMarginManager.ExitKind"
9468
9468
  },
9469
9469
  {
@@ -10680,7 +10680,7 @@
10680
10680
  },
10681
10681
  {
10682
10682
  "baseFunctions": [
10683
- 11414
10683
+ 11416
10684
10684
  ],
10685
10685
  "body": {
10686
10686
  "id": 4573,
@@ -12264,7 +12264,7 @@
12264
12264
  },
12265
12265
  {
12266
12266
  "baseFunctions": [
12267
- 11423
12267
+ 11425
12268
12268
  ],
12269
12269
  "body": {
12270
12270
  "id": 4632,
@@ -13029,7 +13029,7 @@
13029
13029
  },
13030
13030
  {
13031
13031
  "baseFunctions": [
13032
- 11462
13032
+ 11464
13033
13033
  ],
13034
13034
  "body": {
13035
13035
  "id": 4649,
@@ -13220,7 +13220,7 @@
13220
13220
  },
13221
13221
  {
13222
13222
  "baseFunctions": [
13223
- 11471
13223
+ 11473
13224
13224
  ],
13225
13225
  "body": {
13226
13226
  "id": 4666,
@@ -13412,7 +13412,7 @@
13412
13412
  },
13413
13413
  {
13414
13414
  "baseFunctions": [
13415
- 11374
13415
+ 11376
13416
13416
  ],
13417
13417
  "body": {
13418
13418
  "id": 4862,
@@ -13435,17 +13435,17 @@
13435
13435
  "stateVariable": false,
13436
13436
  "storageLocation": "memory",
13437
13437
  "typeDescriptions": {
13438
- "typeIdentifier": "t_struct$_order_$11507_memory_ptr",
13438
+ "typeIdentifier": "t_struct$_order_$11509_memory_ptr",
13439
13439
  "typeString": "struct IMarginOrder.order"
13440
13440
  },
13441
13441
  "typeName": {
13442
13442
  "id": 4691,
13443
13443
  "name": "IMarginOrder.order",
13444
13444
  "nodeType": "UserDefinedTypeName",
13445
- "referencedDeclaration": 11507,
13445
+ "referencedDeclaration": 11509,
13446
13446
  "src": "11154:18:16",
13447
13447
  "typeDescriptions": {
13448
- "typeIdentifier": "t_struct$_order_$11507_storage_ptr",
13448
+ "typeIdentifier": "t_struct$_order_$11509_storage_ptr",
13449
13449
  "typeString": "struct IMarginOrder.order"
13450
13450
  }
13451
13451
  },
@@ -13557,10 +13557,10 @@
13557
13557
  "name": "IMarginTradingPool",
13558
13558
  "nodeType": "Identifier",
13559
13559
  "overloadedDeclarations": [],
13560
- "referencedDeclaration": 11613,
13560
+ "referencedDeclaration": 11615,
13561
13561
  "src": "11201:18:16",
13562
13562
  "typeDescriptions": {
13563
- "typeIdentifier": "t_type$_t_contract$_IMarginTradingPool_$11613_$",
13563
+ "typeIdentifier": "t_type$_t_contract$_IMarginTradingPool_$11615_$",
13564
13564
  "typeString": "type(contract IMarginTradingPool)"
13565
13565
  }
13566
13566
  },
@@ -13575,7 +13575,7 @@
13575
13575
  "src": "11201:45:16",
13576
13576
  "tryCall": false,
13577
13577
  "typeDescriptions": {
13578
- "typeIdentifier": "t_contract$_IMarginTradingPool_$11613",
13578
+ "typeIdentifier": "t_contract$_IMarginTradingPool_$11615",
13579
13579
  "typeString": "contract IMarginTradingPool"
13580
13580
  }
13581
13581
  },
@@ -13586,7 +13586,7 @@
13586
13586
  "lValueRequested": false,
13587
13587
  "memberName": "getOrderbook",
13588
13588
  "nodeType": "MemberAccess",
13589
- "referencedDeclaration": 11597,
13589
+ "referencedDeclaration": 11599,
13590
13590
  "src": "11201:58:16",
13591
13591
  "typeDescriptions": {
13592
13592
  "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
@@ -13620,10 +13620,10 @@
13620
13620
  "name": "IMarginOrder",
13621
13621
  "nodeType": "Identifier",
13622
13622
  "overloadedDeclarations": [],
13623
- "referencedDeclaration": 11569,
13623
+ "referencedDeclaration": 11571,
13624
13624
  "src": "11188:12:16",
13625
13625
  "typeDescriptions": {
13626
- "typeIdentifier": "t_type$_t_contract$_IMarginOrder_$11569_$",
13626
+ "typeIdentifier": "t_type$_t_contract$_IMarginOrder_$11571_$",
13627
13627
  "typeString": "type(contract IMarginOrder)"
13628
13628
  }
13629
13629
  },
@@ -13638,7 +13638,7 @@
13638
13638
  "src": "11188:74:16",
13639
13639
  "tryCall": false,
13640
13640
  "typeDescriptions": {
13641
- "typeIdentifier": "t_contract$_IMarginOrder_$11569",
13641
+ "typeIdentifier": "t_contract$_IMarginOrder_$11571",
13642
13642
  "typeString": "contract IMarginOrder"
13643
13643
  }
13644
13644
  },
@@ -13649,10 +13649,10 @@
13649
13649
  "lValueRequested": false,
13650
13650
  "memberName": "getOrder",
13651
13651
  "nodeType": "MemberAccess",
13652
- "referencedDeclaration": 11534,
13652
+ "referencedDeclaration": 11536,
13653
13653
  "src": "11188:83:16",
13654
13654
  "typeDescriptions": {
13655
- "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_struct$_order_$11507_memory_ptr_$",
13655
+ "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_struct$_order_$11509_memory_ptr_$",
13656
13656
  "typeString": "function (bytes32) view external returns (struct IMarginOrder.order memory)"
13657
13657
  }
13658
13658
  },
@@ -13667,7 +13667,7 @@
13667
13667
  "src": "11188:93:16",
13668
13668
  "tryCall": false,
13669
13669
  "typeDescriptions": {
13670
- "typeIdentifier": "t_struct$_order_$11507_memory_ptr",
13670
+ "typeIdentifier": "t_struct$_order_$11509_memory_ptr",
13671
13671
  "typeString": "struct IMarginOrder.order memory"
13672
13672
  }
13673
13673
  },
@@ -13803,10 +13803,10 @@
13803
13803
  "name": "IMarginTradingPool",
13804
13804
  "nodeType": "Identifier",
13805
13805
  "overloadedDeclarations": [],
13806
- "referencedDeclaration": 11613,
13806
+ "referencedDeclaration": 11615,
13807
13807
  "src": "11359:18:16",
13808
13808
  "typeDescriptions": {
13809
- "typeIdentifier": "t_type$_t_contract$_IMarginTradingPool_$11613_$",
13809
+ "typeIdentifier": "t_type$_t_contract$_IMarginTradingPool_$11615_$",
13810
13810
  "typeString": "type(contract IMarginTradingPool)"
13811
13811
  }
13812
13812
  },
@@ -13821,7 +13821,7 @@
13821
13821
  "src": "11359:45:16",
13822
13822
  "tryCall": false,
13823
13823
  "typeDescriptions": {
13824
- "typeIdentifier": "t_contract$_IMarginTradingPool_$11613",
13824
+ "typeIdentifier": "t_contract$_IMarginTradingPool_$11615",
13825
13825
  "typeString": "contract IMarginTradingPool"
13826
13826
  }
13827
13827
  },
@@ -13832,7 +13832,7 @@
13832
13832
  "lValueRequested": false,
13833
13833
  "memberName": "getMargin",
13834
13834
  "nodeType": "MemberAccess",
13835
- "referencedDeclaration": 11602,
13835
+ "referencedDeclaration": 11604,
13836
13836
  "src": "11359:55:16",
13837
13837
  "typeDescriptions": {
13838
13838
  "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$",
@@ -14001,10 +14001,10 @@
14001
14001
  "name": "IMarginTradingPool",
14002
14002
  "nodeType": "Identifier",
14003
14003
  "overloadedDeclarations": [],
14004
- "referencedDeclaration": 11613,
14004
+ "referencedDeclaration": 11615,
14005
14005
  "src": "11495:18:16",
14006
14006
  "typeDescriptions": {
14007
- "typeIdentifier": "t_type$_t_contract$_IMarginTradingPool_$11613_$",
14007
+ "typeIdentifier": "t_type$_t_contract$_IMarginTradingPool_$11615_$",
14008
14008
  "typeString": "type(contract IMarginTradingPool)"
14009
14009
  }
14010
14010
  },
@@ -14019,7 +14019,7 @@
14019
14019
  "src": "11495:45:16",
14020
14020
  "tryCall": false,
14021
14021
  "typeDescriptions": {
14022
- "typeIdentifier": "t_contract$_IMarginTradingPool_$11613",
14022
+ "typeIdentifier": "t_contract$_IMarginTradingPool_$11615",
14023
14023
  "typeString": "contract IMarginTradingPool"
14024
14024
  }
14025
14025
  },
@@ -14030,7 +14030,7 @@
14030
14030
  "lValueRequested": false,
14031
14031
  "memberName": "getCollateral",
14032
14032
  "nodeType": "MemberAccess",
14033
- "referencedDeclaration": 11607,
14033
+ "referencedDeclaration": 11609,
14034
14034
  "src": "11495:59:16",
14035
14035
  "typeDescriptions": {
14036
14036
  "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$",
@@ -14172,7 +14172,7 @@
14172
14172
  "referencedDeclaration": 4692,
14173
14173
  "src": "11728:5:16",
14174
14174
  "typeDescriptions": {
14175
- "typeIdentifier": "t_struct$_order_$11507_memory_ptr",
14175
+ "typeIdentifier": "t_struct$_order_$11509_memory_ptr",
14176
14176
  "typeString": "struct IMarginOrder.order memory"
14177
14177
  }
14178
14178
  },
@@ -14216,7 +14216,7 @@
14216
14216
  "expression": {
14217
14217
  "argumentTypes": [
14218
14218
  {
14219
- "typeIdentifier": "t_struct$_order_$11507_memory_ptr",
14219
+ "typeIdentifier": "t_struct$_order_$11509_memory_ptr",
14220
14220
  "typeString": "struct IMarginOrder.order memory"
14221
14221
  },
14222
14222
  {
@@ -14239,7 +14239,7 @@
14239
14239
  "referencedDeclaration": 4900,
14240
14240
  "src": "11714:13:16",
14241
14241
  "typeDescriptions": {
14242
- "typeIdentifier": "t_function_internal_view$_t_struct$_order_$11507_memory_ptr_$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$",
14242
+ "typeIdentifier": "t_function_internal_view$_t_struct$_order_$11509_memory_ptr_$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$",
14243
14243
  "typeString": "function (struct IMarginOrder.order memory,address,address,uint256) view returns (bool)"
14244
14244
  }
14245
14245
  },
@@ -14475,7 +14475,7 @@
14475
14475
  "referencedDeclaration": 4692,
14476
14476
  "src": "11918:5:16",
14477
14477
  "typeDescriptions": {
14478
- "typeIdentifier": "t_struct$_order_$11507_memory_ptr",
14478
+ "typeIdentifier": "t_struct$_order_$11509_memory_ptr",
14479
14479
  "typeString": "struct IMarginOrder.order memory"
14480
14480
  }
14481
14481
  },
@@ -14486,7 +14486,7 @@
14486
14486
  "lValueRequested": false,
14487
14487
  "memberName": "tokenIn",
14488
14488
  "nodeType": "MemberAccess",
14489
- "referencedDeclaration": 11498,
14489
+ "referencedDeclaration": 11500,
14490
14490
  "src": "11918:13:16",
14491
14491
  "typeDescriptions": {
14492
14492
  "typeIdentifier": "t_address",
@@ -14534,7 +14534,7 @@
14534
14534
  "referencedDeclaration": 4692,
14535
14535
  "src": "11945:5:16",
14536
14536
  "typeDescriptions": {
14537
- "typeIdentifier": "t_struct$_order_$11507_memory_ptr",
14537
+ "typeIdentifier": "t_struct$_order_$11509_memory_ptr",
14538
14538
  "typeString": "struct IMarginOrder.order memory"
14539
14539
  }
14540
14540
  },
@@ -14545,7 +14545,7 @@
14545
14545
  "lValueRequested": false,
14546
14546
  "memberName": "party",
14547
14547
  "nodeType": "MemberAccess",
14548
- "referencedDeclaration": 11504,
14548
+ "referencedDeclaration": 11506,
14549
14549
  "src": "11945:11:16",
14550
14550
  "typeDescriptions": {
14551
14551
  "typeIdentifier": "t_address",
@@ -15044,17 +15044,17 @@
15044
15044
  "stateVariable": false,
15045
15045
  "storageLocation": "memory",
15046
15046
  "typeDescriptions": {
15047
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
15047
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
15048
15048
  "typeString": "struct IMarginManager.tradePosition"
15049
15049
  },
15050
15050
  "typeName": {
15051
15051
  "id": 4803,
15052
15052
  "name": "IMarginManager.tradePosition",
15053
15053
  "nodeType": "UserDefinedTypeName",
15054
- "referencedDeclaration": 11334,
15054
+ "referencedDeclaration": 11336,
15055
15055
  "src": "12267:28:16",
15056
15056
  "typeDescriptions": {
15057
- "typeIdentifier": "t_struct$_tradePosition_$11334_storage_ptr",
15057
+ "typeIdentifier": "t_struct$_tradePosition_$11336_storage_ptr",
15058
15058
  "typeString": "struct IMarginManager.tradePosition"
15059
15059
  }
15060
15060
  },
@@ -15094,7 +15094,7 @@
15094
15094
  "referencedDeclaration": 4692,
15095
15095
  "src": "12370:5:16",
15096
15096
  "typeDescriptions": {
15097
- "typeIdentifier": "t_struct$_order_$11507_memory_ptr",
15097
+ "typeIdentifier": "t_struct$_order_$11509_memory_ptr",
15098
15098
  "typeString": "struct IMarginOrder.order memory"
15099
15099
  }
15100
15100
  },
@@ -15105,7 +15105,7 @@
15105
15105
  "lValueRequested": false,
15106
15106
  "memberName": "tokenIn",
15107
15107
  "nodeType": "MemberAccess",
15108
- "referencedDeclaration": 11498,
15108
+ "referencedDeclaration": 11500,
15109
15109
  "src": "12370:13:16",
15110
15110
  "typeDescriptions": {
15111
15111
  "typeIdentifier": "t_address",
@@ -15153,7 +15153,7 @@
15153
15153
  "referencedDeclaration": 4692,
15154
15154
  "src": "12397:5:16",
15155
15155
  "typeDescriptions": {
15156
- "typeIdentifier": "t_struct$_order_$11507_memory_ptr",
15156
+ "typeIdentifier": "t_struct$_order_$11509_memory_ptr",
15157
15157
  "typeString": "struct IMarginOrder.order memory"
15158
15158
  }
15159
15159
  },
@@ -15164,7 +15164,7 @@
15164
15164
  "lValueRequested": false,
15165
15165
  "memberName": "party",
15166
15166
  "nodeType": "MemberAccess",
15167
- "referencedDeclaration": 11504,
15167
+ "referencedDeclaration": 11506,
15168
15168
  "src": "12397:11:16",
15169
15169
  "typeDescriptions": {
15170
15170
  "typeIdentifier": "t_address",
@@ -15263,7 +15263,7 @@
15263
15263
  "referencedDeclaration": 4692,
15264
15264
  "src": "12473:5:16",
15265
15265
  "typeDescriptions": {
15266
- "typeIdentifier": "t_struct$_order_$11507_memory_ptr",
15266
+ "typeIdentifier": "t_struct$_order_$11509_memory_ptr",
15267
15267
  "typeString": "struct IMarginOrder.order memory"
15268
15268
  }
15269
15269
  },
@@ -15274,7 +15274,7 @@
15274
15274
  "lValueRequested": false,
15275
15275
  "memberName": "tokenIn",
15276
15276
  "nodeType": "MemberAccess",
15277
- "referencedDeclaration": 11498,
15277
+ "referencedDeclaration": 11500,
15278
15278
  "src": "12473:13:16",
15279
15279
  "typeDescriptions": {
15280
15280
  "typeIdentifier": "t_address",
@@ -15322,7 +15322,7 @@
15322
15322
  "referencedDeclaration": 4692,
15323
15323
  "src": "12500:5:16",
15324
15324
  "typeDescriptions": {
15325
- "typeIdentifier": "t_struct$_order_$11507_memory_ptr",
15325
+ "typeIdentifier": "t_struct$_order_$11509_memory_ptr",
15326
15326
  "typeString": "struct IMarginOrder.order memory"
15327
15327
  }
15328
15328
  },
@@ -15333,7 +15333,7 @@
15333
15333
  "lValueRequested": false,
15334
15334
  "memberName": "party",
15335
15335
  "nodeType": "MemberAccess",
15336
- "referencedDeclaration": 11504,
15336
+ "referencedDeclaration": 11506,
15337
15337
  "src": "12500:11:16",
15338
15338
  "typeDescriptions": {
15339
15339
  "typeIdentifier": "t_address",
@@ -15503,10 +15503,10 @@
15503
15503
  "name": "IMarginManager",
15504
15504
  "nodeType": "Identifier",
15505
15505
  "overloadedDeclarations": [],
15506
- "referencedDeclaration": 11479,
15506
+ "referencedDeclaration": 11481,
15507
15507
  "src": "12314:14:16",
15508
15508
  "typeDescriptions": {
15509
- "typeIdentifier": "t_type$_t_contract$_IMarginManager_$11479_$",
15509
+ "typeIdentifier": "t_type$_t_contract$_IMarginManager_$11481_$",
15510
15510
  "typeString": "type(contract IMarginManager)"
15511
15511
  }
15512
15512
  },
@@ -15517,10 +15517,10 @@
15517
15517
  "lValueRequested": false,
15518
15518
  "memberName": "tradePosition",
15519
15519
  "nodeType": "MemberAccess",
15520
- "referencedDeclaration": 11334,
15520
+ "referencedDeclaration": 11336,
15521
15521
  "src": "12314:28:16",
15522
15522
  "typeDescriptions": {
15523
- "typeIdentifier": "t_type$_t_struct$_tradePosition_$11334_storage_ptr_$",
15523
+ "typeIdentifier": "t_type$_t_struct$_tradePosition_$11336_storage_ptr_$",
15524
15524
  "typeString": "type(struct IMarginManager.tradePosition storage pointer)"
15525
15525
  }
15526
15526
  },
@@ -15543,7 +15543,7 @@
15543
15543
  "src": "12314:472:16",
15544
15544
  "tryCall": false,
15545
15545
  "typeDescriptions": {
15546
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
15546
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
15547
15547
  "typeString": "struct IMarginManager.tradePosition memory"
15548
15548
  }
15549
15549
  },
@@ -15561,7 +15561,7 @@
15561
15561
  "referencedDeclaration": 4804,
15562
15562
  "src": "12836:8:16",
15563
15563
  "typeDescriptions": {
15564
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
15564
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
15565
15565
  "typeString": "struct IMarginManager.tradePosition memory"
15566
15566
  }
15567
15567
  }
@@ -15569,7 +15569,7 @@
15569
15569
  "expression": {
15570
15570
  "argumentTypes": [
15571
15571
  {
15572
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
15572
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
15573
15573
  "typeString": "struct IMarginManager.tradePosition memory"
15574
15574
  }
15575
15575
  ],
@@ -15583,7 +15583,7 @@
15583
15583
  "referencedDeclaration": 3775,
15584
15584
  "src": "12801:9:16",
15585
15585
  "typeDescriptions": {
15586
- "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11334_storage_$dyn_storage_$_$",
15586
+ "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11336_storage_$dyn_storage_$_$",
15587
15587
  "typeString": "mapping(address => mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref))"
15588
15588
  }
15589
15589
  },
@@ -15607,7 +15607,7 @@
15607
15607
  "nodeType": "IndexAccess",
15608
15608
  "src": "12801:19:16",
15609
15609
  "typeDescriptions": {
15610
- "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11334_storage_$dyn_storage_$",
15610
+ "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11336_storage_$dyn_storage_$",
15611
15611
  "typeString": "mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref)"
15612
15612
  }
15613
15613
  },
@@ -15631,7 +15631,7 @@
15631
15631
  "nodeType": "IndexAccess",
15632
15632
  "src": "12801:29:16",
15633
15633
  "typeDescriptions": {
15634
- "typeIdentifier": "t_array$_t_struct$_tradePosition_$11334_storage_$dyn_storage",
15634
+ "typeIdentifier": "t_array$_t_struct$_tradePosition_$11336_storage_$dyn_storage",
15635
15635
  "typeString": "struct IMarginManager.tradePosition storage ref[] storage ref"
15636
15636
  }
15637
15637
  },
@@ -15644,7 +15644,7 @@
15644
15644
  "nodeType": "MemberAccess",
15645
15645
  "src": "12801:34:16",
15646
15646
  "typeDescriptions": {
15647
- "typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_tradePosition_$11334_storage_$returns$__$",
15647
+ "typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_tradePosition_$11336_storage_$returns$__$",
15648
15648
  "typeString": "function (struct IMarginManager.tradePosition storage ref)"
15649
15649
  }
15650
15650
  },
@@ -15734,7 +15734,7 @@
15734
15734
  "referencedDeclaration": 3775,
15735
15735
  "src": "12879:9:16",
15736
15736
  "typeDescriptions": {
15737
- "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11334_storage_$dyn_storage_$_$",
15737
+ "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11336_storage_$dyn_storage_$_$",
15738
15738
  "typeString": "mapping(address => mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref))"
15739
15739
  }
15740
15740
  },
@@ -15758,7 +15758,7 @@
15758
15758
  "nodeType": "IndexAccess",
15759
15759
  "src": "12879:19:16",
15760
15760
  "typeDescriptions": {
15761
- "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11334_storage_$dyn_storage_$",
15761
+ "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11336_storage_$dyn_storage_$",
15762
15762
  "typeString": "mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref)"
15763
15763
  }
15764
15764
  },
@@ -15782,7 +15782,7 @@
15782
15782
  "nodeType": "IndexAccess",
15783
15783
  "src": "12879:29:16",
15784
15784
  "typeDescriptions": {
15785
- "typeIdentifier": "t_array$_t_struct$_tradePosition_$11334_storage_$dyn_storage",
15785
+ "typeIdentifier": "t_array$_t_struct$_tradePosition_$11336_storage_$dyn_storage",
15786
15786
  "typeString": "struct IMarginManager.tradePosition storage ref[] storage ref"
15787
15787
  }
15788
15788
  },
@@ -16128,7 +16128,7 @@
16128
16128
  "referencedDeclaration": 4865,
16129
16129
  "src": "13105:5:16",
16130
16130
  "typeDescriptions": {
16131
- "typeIdentifier": "t_struct$_order_$11507_memory_ptr",
16131
+ "typeIdentifier": "t_struct$_order_$11509_memory_ptr",
16132
16132
  "typeString": "struct IMarginOrder.order memory"
16133
16133
  }
16134
16134
  },
@@ -16139,7 +16139,7 @@
16139
16139
  "lValueRequested": false,
16140
16140
  "memberName": "tokenIn",
16141
16141
  "nodeType": "MemberAccess",
16142
- "referencedDeclaration": 11498,
16142
+ "referencedDeclaration": 11500,
16143
16143
  "src": "13105:13:16",
16144
16144
  "typeDescriptions": {
16145
16145
  "typeIdentifier": "t_address",
@@ -16407,17 +16407,17 @@
16407
16407
  "stateVariable": false,
16408
16408
  "storageLocation": "memory",
16409
16409
  "typeDescriptions": {
16410
- "typeIdentifier": "t_struct$_order_$11507_memory_ptr",
16410
+ "typeIdentifier": "t_struct$_order_$11509_memory_ptr",
16411
16411
  "typeString": "struct IMarginOrder.order"
16412
16412
  },
16413
16413
  "typeName": {
16414
16414
  "id": 4864,
16415
16415
  "name": "IMarginOrder.order",
16416
16416
  "nodeType": "UserDefinedTypeName",
16417
- "referencedDeclaration": 11507,
16417
+ "referencedDeclaration": 11509,
16418
16418
  "src": "12973:18:16",
16419
16419
  "typeDescriptions": {
16420
- "typeIdentifier": "t_struct$_order_$11507_storage_ptr",
16420
+ "typeIdentifier": "t_struct$_order_$11509_storage_ptr",
16421
16421
  "typeString": "struct IMarginOrder.order"
16422
16422
  }
16423
16423
  },
@@ -16547,7 +16547,7 @@
16547
16547
  },
16548
16548
  {
16549
16549
  "baseFunctions": [
16550
- 11391
16550
+ 11393
16551
16551
  ],
16552
16552
  "body": {
16553
16553
  "id": 5183,
@@ -16686,17 +16686,17 @@
16686
16686
  "stateVariable": false,
16687
16687
  "storageLocation": "memory",
16688
16688
  "typeDescriptions": {
16689
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
16689
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
16690
16690
  "typeString": "struct IMarginManager.tradePosition"
16691
16691
  },
16692
16692
  "typeName": {
16693
16693
  "id": 5054,
16694
16694
  "name": "IMarginManager.tradePosition",
16695
16695
  "nodeType": "UserDefinedTypeName",
16696
- "referencedDeclaration": 11334,
16696
+ "referencedDeclaration": 11336,
16697
16697
  "src": "14948:28:16",
16698
16698
  "typeDescriptions": {
16699
- "typeIdentifier": "t_struct$_tradePosition_$11334_storage_ptr",
16699
+ "typeIdentifier": "t_struct$_tradePosition_$11336_storage_ptr",
16700
16700
  "typeString": "struct IMarginManager.tradePosition"
16701
16701
  }
16702
16702
  },
@@ -16795,7 +16795,7 @@
16795
16795
  "referencedDeclaration": 5055,
16796
16796
  "src": "15078:8:16",
16797
16797
  "typeDescriptions": {
16798
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
16798
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
16799
16799
  "typeString": "struct IMarginManager.tradePosition memory"
16800
16800
  }
16801
16801
  },
@@ -16812,7 +16812,7 @@
16812
16812
  "referencedDeclaration": 3775,
16813
16813
  "src": "15089:9:16",
16814
16814
  "typeDescriptions": {
16815
- "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11334_storage_$dyn_storage_$_$",
16815
+ "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11336_storage_$dyn_storage_$_$",
16816
16816
  "typeString": "mapping(address => mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref))"
16817
16817
  }
16818
16818
  },
@@ -16836,7 +16836,7 @@
16836
16836
  "nodeType": "IndexAccess",
16837
16837
  "src": "15089:19:16",
16838
16838
  "typeDescriptions": {
16839
- "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11334_storage_$dyn_storage_$",
16839
+ "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11336_storage_$dyn_storage_$",
16840
16840
  "typeString": "mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref)"
16841
16841
  }
16842
16842
  },
@@ -16860,7 +16860,7 @@
16860
16860
  "nodeType": "IndexAccess",
16861
16861
  "src": "15089:29:16",
16862
16862
  "typeDescriptions": {
16863
- "typeIdentifier": "t_array$_t_struct$_tradePosition_$11334_storage_$dyn_storage",
16863
+ "typeIdentifier": "t_array$_t_struct$_tradePosition_$11336_storage_$dyn_storage",
16864
16864
  "typeString": "struct IMarginManager.tradePosition storage ref[] storage ref"
16865
16865
  }
16866
16866
  },
@@ -16884,13 +16884,13 @@
16884
16884
  "nodeType": "IndexAccess",
16885
16885
  "src": "15089:34:16",
16886
16886
  "typeDescriptions": {
16887
- "typeIdentifier": "t_struct$_tradePosition_$11334_storage",
16887
+ "typeIdentifier": "t_struct$_tradePosition_$11336_storage",
16888
16888
  "typeString": "struct IMarginManager.tradePosition storage ref"
16889
16889
  }
16890
16890
  },
16891
16891
  "src": "15078:45:16",
16892
16892
  "typeDescriptions": {
16893
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
16893
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
16894
16894
  "typeString": "struct IMarginManager.tradePosition memory"
16895
16895
  }
16896
16896
  },
@@ -16929,7 +16929,7 @@
16929
16929
  "referencedDeclaration": 5055,
16930
16930
  "src": "15160:8:16",
16931
16931
  "typeDescriptions": {
16932
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
16932
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
16933
16933
  "typeString": "struct IMarginManager.tradePosition memory"
16934
16934
  }
16935
16935
  },
@@ -16940,7 +16940,7 @@
16940
16940
  "lValueRequested": false,
16941
16941
  "memberName": "buyer",
16942
16942
  "nodeType": "MemberAccess",
16943
- "referencedDeclaration": 11321,
16943
+ "referencedDeclaration": 11323,
16944
16944
  "src": "15160:14:16",
16945
16945
  "typeDescriptions": {
16946
16946
  "typeIdentifier": "t_address",
@@ -17010,7 +17010,7 @@
17010
17010
  "referencedDeclaration": 5055,
17011
17011
  "src": "15215:8:16",
17012
17012
  "typeDescriptions": {
17013
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
17013
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
17014
17014
  "typeString": "struct IMarginManager.tradePosition memory"
17015
17015
  }
17016
17016
  },
@@ -17021,7 +17021,7 @@
17021
17021
  "lValueRequested": false,
17022
17022
  "memberName": "buyer",
17023
17023
  "nodeType": "MemberAccess",
17024
- "referencedDeclaration": 11321,
17024
+ "referencedDeclaration": 11323,
17025
17025
  "src": "15215:14:16",
17026
17026
  "typeDescriptions": {
17027
17027
  "typeIdentifier": "t_address",
@@ -17074,7 +17074,7 @@
17074
17074
  "referencedDeclaration": 5055,
17075
17075
  "src": "15246:8:16",
17076
17076
  "typeDescriptions": {
17077
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
17077
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
17078
17078
  "typeString": "struct IMarginManager.tradePosition memory"
17079
17079
  }
17080
17080
  },
@@ -17085,7 +17085,7 @@
17085
17085
  "lValueRequested": false,
17086
17086
  "memberName": "marginCollateral",
17087
17087
  "nodeType": "MemberAccess",
17088
- "referencedDeclaration": 11331,
17088
+ "referencedDeclaration": 11333,
17089
17089
  "src": "15246:25:16",
17090
17090
  "typeDescriptions": {
17091
17091
  "typeIdentifier": "t_uint256",
@@ -17219,7 +17219,7 @@
17219
17219
  "referencedDeclaration": 3775,
17220
17220
  "src": "15299:9:16",
17221
17221
  "typeDescriptions": {
17222
- "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11334_storage_$dyn_storage_$_$",
17222
+ "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11336_storage_$dyn_storage_$_$",
17223
17223
  "typeString": "mapping(address => mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref))"
17224
17224
  }
17225
17225
  },
@@ -17243,7 +17243,7 @@
17243
17243
  "nodeType": "IndexAccess",
17244
17244
  "src": "15299:19:16",
17245
17245
  "typeDescriptions": {
17246
- "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11334_storage_$dyn_storage_$",
17246
+ "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11336_storage_$dyn_storage_$",
17247
17247
  "typeString": "mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref)"
17248
17248
  }
17249
17249
  },
@@ -17267,7 +17267,7 @@
17267
17267
  "nodeType": "IndexAccess",
17268
17268
  "src": "15299:29:16",
17269
17269
  "typeDescriptions": {
17270
- "typeIdentifier": "t_array$_t_struct$_tradePosition_$11334_storage_$dyn_storage",
17270
+ "typeIdentifier": "t_array$_t_struct$_tradePosition_$11336_storage_$dyn_storage",
17271
17271
  "typeString": "struct IMarginManager.tradePosition storage ref[] storage ref"
17272
17272
  }
17273
17273
  },
@@ -17291,7 +17291,7 @@
17291
17291
  "nodeType": "IndexAccess",
17292
17292
  "src": "15299:34:16",
17293
17293
  "typeDescriptions": {
17294
- "typeIdentifier": "t_struct$_tradePosition_$11334_storage",
17294
+ "typeIdentifier": "t_struct$_tradePosition_$11336_storage",
17295
17295
  "typeString": "struct IMarginManager.tradePosition storage ref"
17296
17296
  }
17297
17297
  },
@@ -17332,7 +17332,7 @@
17332
17332
  "referencedDeclaration": 5055,
17333
17333
  "src": "15390:8:16",
17334
17334
  "typeDescriptions": {
17335
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
17335
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
17336
17336
  "typeString": "struct IMarginManager.tradePosition memory"
17337
17337
  }
17338
17338
  },
@@ -17343,7 +17343,7 @@
17343
17343
  "lValueRequested": false,
17344
17344
  "memberName": "buyer",
17345
17345
  "nodeType": "MemberAccess",
17346
- "referencedDeclaration": 11321,
17346
+ "referencedDeclaration": 11323,
17347
17347
  "src": "15390:14:16",
17348
17348
  "typeDescriptions": {
17349
17349
  "typeIdentifier": "t_address",
@@ -17386,7 +17386,7 @@
17386
17386
  "referencedDeclaration": 5055,
17387
17387
  "src": "15434:8:16",
17388
17388
  "typeDescriptions": {
17389
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
17389
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
17390
17390
  "typeString": "struct IMarginManager.tradePosition memory"
17391
17391
  }
17392
17392
  },
@@ -17397,7 +17397,7 @@
17397
17397
  "lValueRequested": false,
17398
17398
  "memberName": "buyer",
17399
17399
  "nodeType": "MemberAccess",
17400
- "referencedDeclaration": 11321,
17400
+ "referencedDeclaration": 11323,
17401
17401
  "src": "15434:14:16",
17402
17402
  "typeDescriptions": {
17403
17403
  "typeIdentifier": "t_address",
@@ -17602,7 +17602,7 @@
17602
17602
  "referencedDeclaration": 5055,
17603
17603
  "src": "15556:8:16",
17604
17604
  "typeDescriptions": {
17605
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
17605
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
17606
17606
  "typeString": "struct IMarginManager.tradePosition memory"
17607
17607
  }
17608
17608
  },
@@ -17619,7 +17619,7 @@
17619
17619
  "referencedDeclaration": 3775,
17620
17620
  "src": "15567:9:16",
17621
17621
  "typeDescriptions": {
17622
- "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11334_storage_$dyn_storage_$_$",
17622
+ "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11336_storage_$dyn_storage_$_$",
17623
17623
  "typeString": "mapping(address => mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref))"
17624
17624
  }
17625
17625
  },
@@ -17643,7 +17643,7 @@
17643
17643
  "nodeType": "IndexAccess",
17644
17644
  "src": "15567:19:16",
17645
17645
  "typeDescriptions": {
17646
- "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11334_storage_$dyn_storage_$",
17646
+ "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11336_storage_$dyn_storage_$",
17647
17647
  "typeString": "mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref)"
17648
17648
  }
17649
17649
  },
@@ -17667,7 +17667,7 @@
17667
17667
  "nodeType": "IndexAccess",
17668
17668
  "src": "15567:29:16",
17669
17669
  "typeDescriptions": {
17670
- "typeIdentifier": "t_array$_t_struct$_tradePosition_$11334_storage_$dyn_storage",
17670
+ "typeIdentifier": "t_array$_t_struct$_tradePosition_$11336_storage_$dyn_storage",
17671
17671
  "typeString": "struct IMarginManager.tradePosition storage ref[] storage ref"
17672
17672
  }
17673
17673
  },
@@ -17691,13 +17691,13 @@
17691
17691
  "nodeType": "IndexAccess",
17692
17692
  "src": "15567:34:16",
17693
17693
  "typeDescriptions": {
17694
- "typeIdentifier": "t_struct$_tradePosition_$11334_storage",
17694
+ "typeIdentifier": "t_struct$_tradePosition_$11336_storage",
17695
17695
  "typeString": "struct IMarginManager.tradePosition storage ref"
17696
17696
  }
17697
17697
  },
17698
17698
  "src": "15556:45:16",
17699
17699
  "typeDescriptions": {
17700
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
17700
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
17701
17701
  "typeString": "struct IMarginManager.tradePosition memory"
17702
17702
  }
17703
17703
  },
@@ -17736,7 +17736,7 @@
17736
17736
  "referencedDeclaration": 5055,
17737
17737
  "src": "15638:8:16",
17738
17738
  "typeDescriptions": {
17739
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
17739
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
17740
17740
  "typeString": "struct IMarginManager.tradePosition memory"
17741
17741
  }
17742
17742
  },
@@ -17747,7 +17747,7 @@
17747
17747
  "lValueRequested": false,
17748
17748
  "memberName": "buyer",
17749
17749
  "nodeType": "MemberAccess",
17750
- "referencedDeclaration": 11321,
17750
+ "referencedDeclaration": 11323,
17751
17751
  "src": "15638:14:16",
17752
17752
  "typeDescriptions": {
17753
17753
  "typeIdentifier": "t_address",
@@ -17817,7 +17817,7 @@
17817
17817
  "referencedDeclaration": 5055,
17818
17818
  "src": "15693:8:16",
17819
17819
  "typeDescriptions": {
17820
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
17820
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
17821
17821
  "typeString": "struct IMarginManager.tradePosition memory"
17822
17822
  }
17823
17823
  },
@@ -17828,7 +17828,7 @@
17828
17828
  "lValueRequested": false,
17829
17829
  "memberName": "buyer",
17830
17830
  "nodeType": "MemberAccess",
17831
- "referencedDeclaration": 11321,
17831
+ "referencedDeclaration": 11323,
17832
17832
  "src": "15693:14:16",
17833
17833
  "typeDescriptions": {
17834
17834
  "typeIdentifier": "t_address",
@@ -17881,7 +17881,7 @@
17881
17881
  "referencedDeclaration": 5055,
17882
17882
  "src": "15724:8:16",
17883
17883
  "typeDescriptions": {
17884
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
17884
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
17885
17885
  "typeString": "struct IMarginManager.tradePosition memory"
17886
17886
  }
17887
17887
  },
@@ -17892,7 +17892,7 @@
17892
17892
  "lValueRequested": false,
17893
17893
  "memberName": "marginCollateral",
17894
17894
  "nodeType": "MemberAccess",
17895
- "referencedDeclaration": 11331,
17895
+ "referencedDeclaration": 11333,
17896
17896
  "src": "15724:25:16",
17897
17897
  "typeDescriptions": {
17898
17898
  "typeIdentifier": "t_uint256",
@@ -18026,7 +18026,7 @@
18026
18026
  "referencedDeclaration": 3775,
18027
18027
  "src": "15777:9:16",
18028
18028
  "typeDescriptions": {
18029
- "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11334_storage_$dyn_storage_$_$",
18029
+ "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11336_storage_$dyn_storage_$_$",
18030
18030
  "typeString": "mapping(address => mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref))"
18031
18031
  }
18032
18032
  },
@@ -18050,7 +18050,7 @@
18050
18050
  "nodeType": "IndexAccess",
18051
18051
  "src": "15777:19:16",
18052
18052
  "typeDescriptions": {
18053
- "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11334_storage_$dyn_storage_$",
18053
+ "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11336_storage_$dyn_storage_$",
18054
18054
  "typeString": "mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref)"
18055
18055
  }
18056
18056
  },
@@ -18074,7 +18074,7 @@
18074
18074
  "nodeType": "IndexAccess",
18075
18075
  "src": "15777:29:16",
18076
18076
  "typeDescriptions": {
18077
- "typeIdentifier": "t_array$_t_struct$_tradePosition_$11334_storage_$dyn_storage",
18077
+ "typeIdentifier": "t_array$_t_struct$_tradePosition_$11336_storage_$dyn_storage",
18078
18078
  "typeString": "struct IMarginManager.tradePosition storage ref[] storage ref"
18079
18079
  }
18080
18080
  },
@@ -18098,7 +18098,7 @@
18098
18098
  "nodeType": "IndexAccess",
18099
18099
  "src": "15777:34:16",
18100
18100
  "typeDescriptions": {
18101
- "typeIdentifier": "t_struct$_tradePosition_$11334_storage",
18101
+ "typeIdentifier": "t_struct$_tradePosition_$11336_storage",
18102
18102
  "typeString": "struct IMarginManager.tradePosition storage ref"
18103
18103
  }
18104
18104
  },
@@ -18139,7 +18139,7 @@
18139
18139
  "referencedDeclaration": 5055,
18140
18140
  "src": "15868:8:16",
18141
18141
  "typeDescriptions": {
18142
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
18142
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
18143
18143
  "typeString": "struct IMarginManager.tradePosition memory"
18144
18144
  }
18145
18145
  },
@@ -18150,7 +18150,7 @@
18150
18150
  "lValueRequested": false,
18151
18151
  "memberName": "buyer",
18152
18152
  "nodeType": "MemberAccess",
18153
- "referencedDeclaration": 11321,
18153
+ "referencedDeclaration": 11323,
18154
18154
  "src": "15868:14:16",
18155
18155
  "typeDescriptions": {
18156
18156
  "typeIdentifier": "t_address",
@@ -18193,7 +18193,7 @@
18193
18193
  "referencedDeclaration": 5055,
18194
18194
  "src": "15912:8:16",
18195
18195
  "typeDescriptions": {
18196
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
18196
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
18197
18197
  "typeString": "struct IMarginManager.tradePosition memory"
18198
18198
  }
18199
18199
  },
@@ -18204,7 +18204,7 @@
18204
18204
  "lValueRequested": false,
18205
18205
  "memberName": "buyer",
18206
18206
  "nodeType": "MemberAccess",
18207
- "referencedDeclaration": 11321,
18207
+ "referencedDeclaration": 11323,
18208
18208
  "src": "15912:14:16",
18209
18209
  "typeDescriptions": {
18210
18210
  "typeIdentifier": "t_address",
@@ -18616,10 +18616,10 @@
18616
18616
  "name": "IMarginTradingPool",
18617
18617
  "nodeType": "Identifier",
18618
18618
  "overloadedDeclarations": [],
18619
- "referencedDeclaration": 11613,
18619
+ "referencedDeclaration": 11615,
18620
18620
  "src": "13778:18:16",
18621
18621
  "typeDescriptions": {
18622
- "typeIdentifier": "t_type$_t_contract$_IMarginTradingPool_$11613_$",
18622
+ "typeIdentifier": "t_type$_t_contract$_IMarginTradingPool_$11615_$",
18623
18623
  "typeString": "type(contract IMarginTradingPool)"
18624
18624
  }
18625
18625
  },
@@ -18634,7 +18634,7 @@
18634
18634
  "src": "13778:45:16",
18635
18635
  "tryCall": false,
18636
18636
  "typeDescriptions": {
18637
- "typeIdentifier": "t_contract$_IMarginTradingPool_$11613",
18637
+ "typeIdentifier": "t_contract$_IMarginTradingPool_$11615",
18638
18638
  "typeString": "contract IMarginTradingPool"
18639
18639
  }
18640
18640
  },
@@ -18645,7 +18645,7 @@
18645
18645
  "lValueRequested": false,
18646
18646
  "memberName": "getOrderbook",
18647
18647
  "nodeType": "MemberAccess",
18648
- "referencedDeclaration": 11597,
18648
+ "referencedDeclaration": 11599,
18649
18649
  "src": "13778:58:16",
18650
18650
  "typeDescriptions": {
18651
18651
  "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
@@ -18764,10 +18764,10 @@
18764
18764
  "name": "IMarginOrder",
18765
18765
  "nodeType": "Identifier",
18766
18766
  "overloadedDeclarations": [],
18767
- "referencedDeclaration": 11569,
18767
+ "referencedDeclaration": 11571,
18768
18768
  "src": "13869:12:16",
18769
18769
  "typeDescriptions": {
18770
- "typeIdentifier": "t_type$_t_contract$_IMarginOrder_$11569_$",
18770
+ "typeIdentifier": "t_type$_t_contract$_IMarginOrder_$11571_$",
18771
18771
  "typeString": "type(contract IMarginOrder)"
18772
18772
  }
18773
18773
  },
@@ -18782,7 +18782,7 @@
18782
18782
  "src": "13869:23:16",
18783
18783
  "tryCall": false,
18784
18784
  "typeDescriptions": {
18785
- "typeIdentifier": "t_contract$_IMarginOrder_$11569",
18785
+ "typeIdentifier": "t_contract$_IMarginOrder_$11571",
18786
18786
  "typeString": "contract IMarginOrder"
18787
18787
  }
18788
18788
  },
@@ -18793,10 +18793,10 @@
18793
18793
  "lValueRequested": false,
18794
18794
  "memberName": "getOrder",
18795
18795
  "nodeType": "MemberAccess",
18796
- "referencedDeclaration": 11534,
18796
+ "referencedDeclaration": 11536,
18797
18797
  "src": "13869:32:16",
18798
18798
  "typeDescriptions": {
18799
- "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_struct$_order_$11507_memory_ptr_$",
18799
+ "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_struct$_order_$11509_memory_ptr_$",
18800
18800
  "typeString": "function (bytes32) view external returns (struct IMarginOrder.order memory)"
18801
18801
  }
18802
18802
  },
@@ -18811,7 +18811,7 @@
18811
18811
  "src": "13869:37:16",
18812
18812
  "tryCall": false,
18813
18813
  "typeDescriptions": {
18814
- "typeIdentifier": "t_struct$_order_$11507_memory_ptr",
18814
+ "typeIdentifier": "t_struct$_order_$11509_memory_ptr",
18815
18815
  "typeString": "struct IMarginOrder.order memory"
18816
18816
  }
18817
18817
  },
@@ -18822,7 +18822,7 @@
18822
18822
  "lValueRequested": false,
18823
18823
  "memberName": "tokenIn",
18824
18824
  "nodeType": "MemberAccess",
18825
- "referencedDeclaration": 11498,
18825
+ "referencedDeclaration": 11500,
18826
18826
  "src": "13869:45:16",
18827
18827
  "typeDescriptions": {
18828
18828
  "typeIdentifier": "t_address",
@@ -18898,10 +18898,10 @@
18898
18898
  "name": "IMarginOrder",
18899
18899
  "nodeType": "Identifier",
18900
18900
  "overloadedDeclarations": [],
18901
- "referencedDeclaration": 11569,
18901
+ "referencedDeclaration": 11571,
18902
18902
  "src": "14056:12:16",
18903
18903
  "typeDescriptions": {
18904
- "typeIdentifier": "t_type$_t_contract$_IMarginOrder_$11569_$",
18904
+ "typeIdentifier": "t_type$_t_contract$_IMarginOrder_$11571_$",
18905
18905
  "typeString": "type(contract IMarginOrder)"
18906
18906
  }
18907
18907
  },
@@ -18916,7 +18916,7 @@
18916
18916
  "src": "14056:23:16",
18917
18917
  "tryCall": false,
18918
18918
  "typeDescriptions": {
18919
- "typeIdentifier": "t_contract$_IMarginOrder_$11569",
18919
+ "typeIdentifier": "t_contract$_IMarginOrder_$11571",
18920
18920
  "typeString": "contract IMarginOrder"
18921
18921
  }
18922
18922
  },
@@ -18927,10 +18927,10 @@
18927
18927
  "lValueRequested": false,
18928
18928
  "memberName": "getOrder",
18929
18929
  "nodeType": "MemberAccess",
18930
- "referencedDeclaration": 11534,
18930
+ "referencedDeclaration": 11536,
18931
18931
  "src": "14056:32:16",
18932
18932
  "typeDescriptions": {
18933
- "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_struct$_order_$11507_memory_ptr_$",
18933
+ "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_struct$_order_$11509_memory_ptr_$",
18934
18934
  "typeString": "function (bytes32) view external returns (struct IMarginOrder.order memory)"
18935
18935
  }
18936
18936
  },
@@ -18945,7 +18945,7 @@
18945
18945
  "src": "14056:38:16",
18946
18946
  "tryCall": false,
18947
18947
  "typeDescriptions": {
18948
- "typeIdentifier": "t_struct$_order_$11507_memory_ptr",
18948
+ "typeIdentifier": "t_struct$_order_$11509_memory_ptr",
18949
18949
  "typeString": "struct IMarginOrder.order memory"
18950
18950
  }
18951
18951
  },
@@ -18956,7 +18956,7 @@
18956
18956
  "lValueRequested": false,
18957
18957
  "memberName": "party",
18958
18958
  "nodeType": "MemberAccess",
18959
- "referencedDeclaration": 11504,
18959
+ "referencedDeclaration": 11506,
18960
18960
  "src": "14056:44:16",
18961
18961
  "typeDescriptions": {
18962
18962
  "typeIdentifier": "t_address",
@@ -19019,10 +19019,10 @@
19019
19019
  "name": "IMarginOrder",
19020
19020
  "nodeType": "Identifier",
19021
19021
  "overloadedDeclarations": [],
19022
- "referencedDeclaration": 11569,
19022
+ "referencedDeclaration": 11571,
19023
19023
  "src": "13969:12:16",
19024
19024
  "typeDescriptions": {
19025
- "typeIdentifier": "t_type$_t_contract$_IMarginOrder_$11569_$",
19025
+ "typeIdentifier": "t_type$_t_contract$_IMarginOrder_$11571_$",
19026
19026
  "typeString": "type(contract IMarginOrder)"
19027
19027
  }
19028
19028
  },
@@ -19037,7 +19037,7 @@
19037
19037
  "src": "13969:23:16",
19038
19038
  "tryCall": false,
19039
19039
  "typeDescriptions": {
19040
- "typeIdentifier": "t_contract$_IMarginOrder_$11569",
19040
+ "typeIdentifier": "t_contract$_IMarginOrder_$11571",
19041
19041
  "typeString": "contract IMarginOrder"
19042
19042
  }
19043
19043
  },
@@ -19048,10 +19048,10 @@
19048
19048
  "lValueRequested": false,
19049
19049
  "memberName": "getOrder",
19050
19050
  "nodeType": "MemberAccess",
19051
- "referencedDeclaration": 11534,
19051
+ "referencedDeclaration": 11536,
19052
19052
  "src": "13969:32:16",
19053
19053
  "typeDescriptions": {
19054
- "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_struct$_order_$11507_memory_ptr_$",
19054
+ "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_struct$_order_$11509_memory_ptr_$",
19055
19055
  "typeString": "function (bytes32) view external returns (struct IMarginOrder.order memory)"
19056
19056
  }
19057
19057
  },
@@ -19066,7 +19066,7 @@
19066
19066
  "src": "13969:37:16",
19067
19067
  "tryCall": false,
19068
19068
  "typeDescriptions": {
19069
- "typeIdentifier": "t_struct$_order_$11507_memory_ptr",
19069
+ "typeIdentifier": "t_struct$_order_$11509_memory_ptr",
19070
19070
  "typeString": "struct IMarginOrder.order memory"
19071
19071
  }
19072
19072
  },
@@ -19077,7 +19077,7 @@
19077
19077
  "lValueRequested": false,
19078
19078
  "memberName": "party",
19079
19079
  "nodeType": "MemberAccess",
19080
- "referencedDeclaration": 11504,
19080
+ "referencedDeclaration": 11506,
19081
19081
  "src": "13969:43:16",
19082
19082
  "typeDescriptions": {
19083
19083
  "typeIdentifier": "t_address",
@@ -19219,10 +19219,10 @@
19219
19219
  "name": "IMarginOrder",
19220
19220
  "nodeType": "Identifier",
19221
19221
  "overloadedDeclarations": [],
19222
- "referencedDeclaration": 11569,
19222
+ "referencedDeclaration": 11571,
19223
19223
  "src": "14223:12:16",
19224
19224
  "typeDescriptions": {
19225
- "typeIdentifier": "t_type$_t_contract$_IMarginOrder_$11569_$",
19225
+ "typeIdentifier": "t_type$_t_contract$_IMarginOrder_$11571_$",
19226
19226
  "typeString": "type(contract IMarginOrder)"
19227
19227
  }
19228
19228
  },
@@ -19237,7 +19237,7 @@
19237
19237
  "src": "14223:23:16",
19238
19238
  "tryCall": false,
19239
19239
  "typeDescriptions": {
19240
- "typeIdentifier": "t_contract$_IMarginOrder_$11569",
19240
+ "typeIdentifier": "t_contract$_IMarginOrder_$11571",
19241
19241
  "typeString": "contract IMarginOrder"
19242
19242
  }
19243
19243
  },
@@ -19248,7 +19248,7 @@
19248
19248
  "lValueRequested": false,
19249
19249
  "memberName": "reportTrade",
19250
19250
  "nodeType": "MemberAccess",
19251
- "referencedDeclaration": 11568,
19251
+ "referencedDeclaration": 11570,
19252
19252
  "src": "14223:35:16",
19253
19253
  "typeDescriptions": {
19254
19254
  "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_bytes32_$_t_uint256_$_t_uint256_$_t_uint256_$returns$__$",
@@ -19512,17 +19512,17 @@
19512
19512
  "stateVariable": false,
19513
19513
  "storageLocation": "memory",
19514
19514
  "typeDescriptions": {
19515
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
19515
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
19516
19516
  "typeString": "struct IMarginManager.tradePosition"
19517
19517
  },
19518
19518
  "typeName": {
19519
19519
  "id": 5010,
19520
19520
  "name": "IMarginManager.tradePosition",
19521
19521
  "nodeType": "UserDefinedTypeName",
19522
- "referencedDeclaration": 11334,
19522
+ "referencedDeclaration": 11336,
19523
19523
  "src": "14465:28:16",
19524
19524
  "typeDescriptions": {
19525
- "typeIdentifier": "t_struct$_tradePosition_$11334_storage_ptr",
19525
+ "typeIdentifier": "t_struct$_tradePosition_$11336_storage_ptr",
19526
19526
  "typeString": "struct IMarginManager.tradePosition"
19527
19527
  }
19528
19528
  },
@@ -19548,7 +19548,7 @@
19548
19548
  "referencedDeclaration": 5011,
19549
19549
  "src": "14555:8:16",
19550
19550
  "typeDescriptions": {
19551
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
19551
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
19552
19552
  "typeString": "struct IMarginManager.tradePosition memory"
19553
19553
  }
19554
19554
  },
@@ -19565,7 +19565,7 @@
19565
19565
  "referencedDeclaration": 3775,
19566
19566
  "src": "14566:9:16",
19567
19567
  "typeDescriptions": {
19568
- "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11334_storage_$dyn_storage_$_$",
19568
+ "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11336_storage_$dyn_storage_$_$",
19569
19569
  "typeString": "mapping(address => mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref))"
19570
19570
  }
19571
19571
  },
@@ -19589,7 +19589,7 @@
19589
19589
  "nodeType": "IndexAccess",
19590
19590
  "src": "14566:19:16",
19591
19591
  "typeDescriptions": {
19592
- "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11334_storage_$dyn_storage_$",
19592
+ "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11336_storage_$dyn_storage_$",
19593
19593
  "typeString": "mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref)"
19594
19594
  }
19595
19595
  },
@@ -19613,7 +19613,7 @@
19613
19613
  "nodeType": "IndexAccess",
19614
19614
  "src": "14566:29:16",
19615
19615
  "typeDescriptions": {
19616
- "typeIdentifier": "t_array$_t_struct$_tradePosition_$11334_storage_$dyn_storage",
19616
+ "typeIdentifier": "t_array$_t_struct$_tradePosition_$11336_storage_$dyn_storage",
19617
19617
  "typeString": "struct IMarginManager.tradePosition storage ref[] storage ref"
19618
19618
  }
19619
19619
  },
@@ -19637,13 +19637,13 @@
19637
19637
  "nodeType": "IndexAccess",
19638
19638
  "src": "14566:34:16",
19639
19639
  "typeDescriptions": {
19640
- "typeIdentifier": "t_struct$_tradePosition_$11334_storage",
19640
+ "typeIdentifier": "t_struct$_tradePosition_$11336_storage",
19641
19641
  "typeString": "struct IMarginManager.tradePosition storage ref"
19642
19642
  }
19643
19643
  },
19644
19644
  "src": "14555:45:16",
19645
19645
  "typeDescriptions": {
19646
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
19646
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
19647
19647
  "typeString": "struct IMarginManager.tradePosition memory"
19648
19648
  }
19649
19649
  },
@@ -19667,7 +19667,7 @@
19667
19667
  "referencedDeclaration": 5011,
19668
19668
  "src": "14619:8:16",
19669
19669
  "typeDescriptions": {
19670
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
19670
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
19671
19671
  "typeString": "struct IMarginManager.tradePosition memory"
19672
19672
  }
19673
19673
  },
@@ -19678,7 +19678,7 @@
19678
19678
  "lValueRequested": true,
19679
19679
  "memberName": "timestamp",
19680
19680
  "nodeType": "MemberAccess",
19681
- "referencedDeclaration": 11333,
19681
+ "referencedDeclaration": 11335,
19682
19682
  "src": "14619:18:16",
19683
19683
  "typeDescriptions": {
19684
19684
  "typeIdentifier": "t_uint256",
@@ -19792,7 +19792,7 @@
19792
19792
  "referencedDeclaration": 5011,
19793
19793
  "src": "14749:8:16",
19794
19794
  "typeDescriptions": {
19795
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
19795
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
19796
19796
  "typeString": "struct IMarginManager.tradePosition memory"
19797
19797
  }
19798
19798
  },
@@ -19809,7 +19809,7 @@
19809
19809
  "referencedDeclaration": 3775,
19810
19810
  "src": "14760:9:16",
19811
19811
  "typeDescriptions": {
19812
- "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11334_storage_$dyn_storage_$_$",
19812
+ "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11336_storage_$dyn_storage_$_$",
19813
19813
  "typeString": "mapping(address => mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref))"
19814
19814
  }
19815
19815
  },
@@ -19833,7 +19833,7 @@
19833
19833
  "nodeType": "IndexAccess",
19834
19834
  "src": "14760:19:16",
19835
19835
  "typeDescriptions": {
19836
- "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11334_storage_$dyn_storage_$",
19836
+ "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11336_storage_$dyn_storage_$",
19837
19837
  "typeString": "mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref)"
19838
19838
  }
19839
19839
  },
@@ -19857,7 +19857,7 @@
19857
19857
  "nodeType": "IndexAccess",
19858
19858
  "src": "14760:29:16",
19859
19859
  "typeDescriptions": {
19860
- "typeIdentifier": "t_array$_t_struct$_tradePosition_$11334_storage_$dyn_storage",
19860
+ "typeIdentifier": "t_array$_t_struct$_tradePosition_$11336_storage_$dyn_storage",
19861
19861
  "typeString": "struct IMarginManager.tradePosition storage ref[] storage ref"
19862
19862
  }
19863
19863
  },
@@ -19881,13 +19881,13 @@
19881
19881
  "nodeType": "IndexAccess",
19882
19882
  "src": "14760:34:16",
19883
19883
  "typeDescriptions": {
19884
- "typeIdentifier": "t_struct$_tradePosition_$11334_storage",
19884
+ "typeIdentifier": "t_struct$_tradePosition_$11336_storage",
19885
19885
  "typeString": "struct IMarginManager.tradePosition storage ref"
19886
19886
  }
19887
19887
  },
19888
19888
  "src": "14749:45:16",
19889
19889
  "typeDescriptions": {
19890
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
19890
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
19891
19891
  "typeString": "struct IMarginManager.tradePosition memory"
19892
19892
  }
19893
19893
  },
@@ -19911,7 +19911,7 @@
19911
19911
  "referencedDeclaration": 5011,
19912
19912
  "src": "14813:8:16",
19913
19913
  "typeDescriptions": {
19914
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
19914
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
19915
19915
  "typeString": "struct IMarginManager.tradePosition memory"
19916
19916
  }
19917
19917
  },
@@ -19922,7 +19922,7 @@
19922
19922
  "lValueRequested": true,
19923
19923
  "memberName": "timestamp",
19924
19924
  "nodeType": "MemberAccess",
19925
- "referencedDeclaration": 11333,
19925
+ "referencedDeclaration": 11335,
19926
19926
  "src": "14813:18:16",
19927
19927
  "typeDescriptions": {
19928
19928
  "typeIdentifier": "t_uint256",
@@ -20259,10 +20259,10 @@
20259
20259
  "name": "IMarginOrder",
20260
20260
  "nodeType": "Identifier",
20261
20261
  "overloadedDeclarations": [],
20262
- "referencedDeclaration": 11569,
20262
+ "referencedDeclaration": 11571,
20263
20263
  "src": "16207:12:16",
20264
20264
  "typeDescriptions": {
20265
- "typeIdentifier": "t_type$_t_contract$_IMarginOrder_$11569_$",
20265
+ "typeIdentifier": "t_type$_t_contract$_IMarginOrder_$11571_$",
20266
20266
  "typeString": "type(contract IMarginOrder)"
20267
20267
  }
20268
20268
  },
@@ -20277,7 +20277,7 @@
20277
20277
  "src": "16207:23:16",
20278
20278
  "tryCall": false,
20279
20279
  "typeDescriptions": {
20280
- "typeIdentifier": "t_contract$_IMarginOrder_$11569",
20280
+ "typeIdentifier": "t_contract$_IMarginOrder_$11571",
20281
20281
  "typeString": "contract IMarginOrder"
20282
20282
  }
20283
20283
  },
@@ -20288,7 +20288,7 @@
20288
20288
  "lValueRequested": false,
20289
20289
  "memberName": "getPoolId",
20290
20290
  "nodeType": "MemberAccess",
20291
- "referencedDeclaration": 11517,
20291
+ "referencedDeclaration": 11519,
20292
20292
  "src": "16207:33:16",
20293
20293
  "typeDescriptions": {
20294
20294
  "typeIdentifier": "t_function_external_view$__$returns$_t_bytes32_$",
@@ -20370,10 +20370,10 @@
20370
20370
  "name": "IMarginOrder",
20371
20371
  "nodeType": "Identifier",
20372
20372
  "overloadedDeclarations": [],
20373
- "referencedDeclaration": 11569,
20373
+ "referencedDeclaration": 11571,
20374
20374
  "src": "16257:12:16",
20375
20375
  "typeDescriptions": {
20376
- "typeIdentifier": "t_type$_t_contract$_IMarginOrder_$11569_$",
20376
+ "typeIdentifier": "t_type$_t_contract$_IMarginOrder_$11571_$",
20377
20377
  "typeString": "type(contract IMarginOrder)"
20378
20378
  }
20379
20379
  },
@@ -20388,7 +20388,7 @@
20388
20388
  "src": "16257:23:16",
20389
20389
  "tryCall": false,
20390
20390
  "typeDescriptions": {
20391
- "typeIdentifier": "t_contract$_IMarginOrder_$11569",
20391
+ "typeIdentifier": "t_contract$_IMarginOrder_$11571",
20392
20392
  "typeString": "contract IMarginOrder"
20393
20393
  }
20394
20394
  },
@@ -20399,10 +20399,10 @@
20399
20399
  "lValueRequested": false,
20400
20400
  "memberName": "getOrder",
20401
20401
  "nodeType": "MemberAccess",
20402
- "referencedDeclaration": 11534,
20402
+ "referencedDeclaration": 11536,
20403
20403
  "src": "16257:32:16",
20404
20404
  "typeDescriptions": {
20405
- "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_struct$_order_$11507_memory_ptr_$",
20405
+ "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_struct$_order_$11509_memory_ptr_$",
20406
20406
  "typeString": "function (bytes32) view external returns (struct IMarginOrder.order memory)"
20407
20407
  }
20408
20408
  },
@@ -20417,7 +20417,7 @@
20417
20417
  "src": "16257:37:16",
20418
20418
  "tryCall": false,
20419
20419
  "typeDescriptions": {
20420
- "typeIdentifier": "t_struct$_order_$11507_memory_ptr",
20420
+ "typeIdentifier": "t_struct$_order_$11509_memory_ptr",
20421
20421
  "typeString": "struct IMarginOrder.order memory"
20422
20422
  }
20423
20423
  },
@@ -20428,7 +20428,7 @@
20428
20428
  "lValueRequested": false,
20429
20429
  "memberName": "party",
20430
20430
  "nodeType": "MemberAccess",
20431
- "referencedDeclaration": 11504,
20431
+ "referencedDeclaration": 11506,
20432
20432
  "src": "16257:43:16",
20433
20433
  "typeDescriptions": {
20434
20434
  "typeIdentifier": "t_address",
@@ -20504,10 +20504,10 @@
20504
20504
  "name": "IMarginOrder",
20505
20505
  "nodeType": "Identifier",
20506
20506
  "overloadedDeclarations": [],
20507
- "referencedDeclaration": 11569,
20507
+ "referencedDeclaration": 11571,
20508
20508
  "src": "16423:12:16",
20509
20509
  "typeDescriptions": {
20510
- "typeIdentifier": "t_type$_t_contract$_IMarginOrder_$11569_$",
20510
+ "typeIdentifier": "t_type$_t_contract$_IMarginOrder_$11571_$",
20511
20511
  "typeString": "type(contract IMarginOrder)"
20512
20512
  }
20513
20513
  },
@@ -20522,7 +20522,7 @@
20522
20522
  "src": "16423:23:16",
20523
20523
  "tryCall": false,
20524
20524
  "typeDescriptions": {
20525
- "typeIdentifier": "t_contract$_IMarginOrder_$11569",
20525
+ "typeIdentifier": "t_contract$_IMarginOrder_$11571",
20526
20526
  "typeString": "contract IMarginOrder"
20527
20527
  }
20528
20528
  },
@@ -20533,10 +20533,10 @@
20533
20533
  "lValueRequested": false,
20534
20534
  "memberName": "getOrder",
20535
20535
  "nodeType": "MemberAccess",
20536
- "referencedDeclaration": 11534,
20536
+ "referencedDeclaration": 11536,
20537
20537
  "src": "16423:32:16",
20538
20538
  "typeDescriptions": {
20539
- "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_struct$_order_$11507_memory_ptr_$",
20539
+ "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_struct$_order_$11509_memory_ptr_$",
20540
20540
  "typeString": "function (bytes32) view external returns (struct IMarginOrder.order memory)"
20541
20541
  }
20542
20542
  },
@@ -20551,7 +20551,7 @@
20551
20551
  "src": "16423:37:16",
20552
20552
  "tryCall": false,
20553
20553
  "typeDescriptions": {
20554
- "typeIdentifier": "t_struct$_order_$11507_memory_ptr",
20554
+ "typeIdentifier": "t_struct$_order_$11509_memory_ptr",
20555
20555
  "typeString": "struct IMarginOrder.order memory"
20556
20556
  }
20557
20557
  },
@@ -20562,7 +20562,7 @@
20562
20562
  "lValueRequested": false,
20563
20563
  "memberName": "party",
20564
20564
  "nodeType": "MemberAccess",
20565
- "referencedDeclaration": 11504,
20565
+ "referencedDeclaration": 11506,
20566
20566
  "src": "16423:43:16",
20567
20567
  "typeDescriptions": {
20568
20568
  "typeIdentifier": "t_address",
@@ -20625,10 +20625,10 @@
20625
20625
  "name": "IMarginOrder",
20626
20626
  "nodeType": "Identifier",
20627
20627
  "overloadedDeclarations": [],
20628
- "referencedDeclaration": 11569,
20628
+ "referencedDeclaration": 11571,
20629
20629
  "src": "16343:12:16",
20630
20630
  "typeDescriptions": {
20631
- "typeIdentifier": "t_type$_t_contract$_IMarginOrder_$11569_$",
20631
+ "typeIdentifier": "t_type$_t_contract$_IMarginOrder_$11571_$",
20632
20632
  "typeString": "type(contract IMarginOrder)"
20633
20633
  }
20634
20634
  },
@@ -20643,7 +20643,7 @@
20643
20643
  "src": "16343:23:16",
20644
20644
  "tryCall": false,
20645
20645
  "typeDescriptions": {
20646
- "typeIdentifier": "t_contract$_IMarginOrder_$11569",
20646
+ "typeIdentifier": "t_contract$_IMarginOrder_$11571",
20647
20647
  "typeString": "contract IMarginOrder"
20648
20648
  }
20649
20649
  },
@@ -20654,10 +20654,10 @@
20654
20654
  "lValueRequested": false,
20655
20655
  "memberName": "getOrder",
20656
20656
  "nodeType": "MemberAccess",
20657
- "referencedDeclaration": 11534,
20657
+ "referencedDeclaration": 11536,
20658
20658
  "src": "16343:32:16",
20659
20659
  "typeDescriptions": {
20660
- "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_struct$_order_$11507_memory_ptr_$",
20660
+ "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_struct$_order_$11509_memory_ptr_$",
20661
20661
  "typeString": "function (bytes32) view external returns (struct IMarginOrder.order memory)"
20662
20662
  }
20663
20663
  },
@@ -20672,7 +20672,7 @@
20672
20672
  "src": "16343:38:16",
20673
20673
  "tryCall": false,
20674
20674
  "typeDescriptions": {
20675
- "typeIdentifier": "t_struct$_order_$11507_memory_ptr",
20675
+ "typeIdentifier": "t_struct$_order_$11509_memory_ptr",
20676
20676
  "typeString": "struct IMarginOrder.order memory"
20677
20677
  }
20678
20678
  },
@@ -20683,7 +20683,7 @@
20683
20683
  "lValueRequested": false,
20684
20684
  "memberName": "party",
20685
20685
  "nodeType": "MemberAccess",
20686
- "referencedDeclaration": 11504,
20686
+ "referencedDeclaration": 11506,
20687
20687
  "src": "16343:44:16",
20688
20688
  "typeDescriptions": {
20689
20689
  "typeIdentifier": "t_address",
@@ -20749,10 +20749,10 @@
20749
20749
  "name": "IMarginOrder",
20750
20750
  "nodeType": "Identifier",
20751
20751
  "overloadedDeclarations": [],
20752
- "referencedDeclaration": 11569,
20752
+ "referencedDeclaration": 11571,
20753
20753
  "src": "16530:12:16",
20754
20754
  "typeDescriptions": {
20755
- "typeIdentifier": "t_type$_t_contract$_IMarginOrder_$11569_$",
20755
+ "typeIdentifier": "t_type$_t_contract$_IMarginOrder_$11571_$",
20756
20756
  "typeString": "type(contract IMarginOrder)"
20757
20757
  }
20758
20758
  },
@@ -20767,7 +20767,7 @@
20767
20767
  "src": "16530:23:16",
20768
20768
  "tryCall": false,
20769
20769
  "typeDescriptions": {
20770
- "typeIdentifier": "t_contract$_IMarginOrder_$11569",
20770
+ "typeIdentifier": "t_contract$_IMarginOrder_$11571",
20771
20771
  "typeString": "contract IMarginOrder"
20772
20772
  }
20773
20773
  },
@@ -20778,7 +20778,7 @@
20778
20778
  "lValueRequested": false,
20779
20779
  "memberName": "getSecurity",
20780
20780
  "nodeType": "MemberAccess",
20781
- "referencedDeclaration": 11522,
20781
+ "referencedDeclaration": 11524,
20782
20782
  "src": "16530:35:16",
20783
20783
  "typeDescriptions": {
20784
20784
  "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
@@ -20830,10 +20830,10 @@
20830
20830
  "name": "IMarginOrder",
20831
20831
  "nodeType": "Identifier",
20832
20832
  "overloadedDeclarations": [],
20833
- "referencedDeclaration": 11569,
20833
+ "referencedDeclaration": 11571,
20834
20834
  "src": "16582:12:16",
20835
20835
  "typeDescriptions": {
20836
- "typeIdentifier": "t_type$_t_contract$_IMarginOrder_$11569_$",
20836
+ "typeIdentifier": "t_type$_t_contract$_IMarginOrder_$11571_$",
20837
20837
  "typeString": "type(contract IMarginOrder)"
20838
20838
  }
20839
20839
  },
@@ -20848,7 +20848,7 @@
20848
20848
  "src": "16582:23:16",
20849
20849
  "tryCall": false,
20850
20850
  "typeDescriptions": {
20851
- "typeIdentifier": "t_contract$_IMarginOrder_$11569",
20851
+ "typeIdentifier": "t_contract$_IMarginOrder_$11571",
20852
20852
  "typeString": "contract IMarginOrder"
20853
20853
  }
20854
20854
  },
@@ -20859,7 +20859,7 @@
20859
20859
  "lValueRequested": false,
20860
20860
  "memberName": "getCurrency",
20861
20861
  "nodeType": "MemberAccess",
20862
- "referencedDeclaration": 11527,
20862
+ "referencedDeclaration": 11529,
20863
20863
  "src": "16582:35:16",
20864
20864
  "typeDescriptions": {
20865
20865
  "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
@@ -21313,10 +21313,10 @@
21313
21313
  "name": "IMarginTradingPool",
21314
21314
  "nodeType": "Identifier",
21315
21315
  "overloadedDeclarations": [],
21316
- "referencedDeclaration": 11613,
21316
+ "referencedDeclaration": 11615,
21317
21317
  "src": "16895:18:16",
21318
21318
  "typeDescriptions": {
21319
- "typeIdentifier": "t_type$_t_contract$_IMarginTradingPool_$11613_$",
21319
+ "typeIdentifier": "t_type$_t_contract$_IMarginTradingPool_$11615_$",
21320
21320
  "typeString": "type(contract IMarginTradingPool)"
21321
21321
  }
21322
21322
  },
@@ -21331,7 +21331,7 @@
21331
21331
  "src": "16895:24:16",
21332
21332
  "tryCall": false,
21333
21333
  "typeDescriptions": {
21334
- "typeIdentifier": "t_contract$_IMarginTradingPool_$11613",
21334
+ "typeIdentifier": "t_contract$_IMarginTradingPool_$11615",
21335
21335
  "typeString": "contract IMarginTradingPool"
21336
21336
  }
21337
21337
  },
@@ -21342,7 +21342,7 @@
21342
21342
  "lValueRequested": false,
21343
21343
  "memberName": "getFee",
21344
21344
  "nodeType": "MemberAccess",
21345
- "referencedDeclaration": 11612,
21345
+ "referencedDeclaration": 11614,
21346
21346
  "src": "16895:31:16",
21347
21347
  "typeDescriptions": {
21348
21348
  "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$",
@@ -21791,7 +21791,7 @@
21791
21791
  },
21792
21792
  {
21793
21793
  "baseFunctions": [
21794
- 11444
21794
+ 11446
21795
21795
  ],
21796
21796
  "body": {
21797
21797
  "id": 5345,
@@ -28947,7 +28947,7 @@
28947
28947
  },
28948
28948
  {
28949
28949
  "baseFunctions": [
28950
- 11453
28950
+ 11455
28951
28951
  ],
28952
28952
  "body": {
28953
28953
  "id": 6207,
@@ -29049,17 +29049,17 @@
29049
29049
  "stateVariable": false,
29050
29050
  "storageLocation": "memory",
29051
29051
  "typeDescriptions": {
29052
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
29052
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
29053
29053
  "typeString": "struct IMarginManager.tradePosition"
29054
29054
  },
29055
29055
  "typeName": {
29056
29056
  "id": 5847,
29057
29057
  "name": "IMarginManager.tradePosition",
29058
29058
  "nodeType": "UserDefinedTypeName",
29059
- "referencedDeclaration": 11334,
29059
+ "referencedDeclaration": 11336,
29060
29060
  "src": "22262:28:16",
29061
29061
  "typeDescriptions": {
29062
- "typeIdentifier": "t_struct$_tradePosition_$11334_storage_ptr",
29062
+ "typeIdentifier": "t_struct$_tradePosition_$11336_storage_ptr",
29063
29063
  "typeString": "struct IMarginManager.tradePosition"
29064
29064
  }
29065
29065
  },
@@ -29078,7 +29078,7 @@
29078
29078
  "referencedDeclaration": 3775,
29079
29079
  "src": "22309:9:16",
29080
29080
  "typeDescriptions": {
29081
- "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11334_storage_$dyn_storage_$_$",
29081
+ "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11336_storage_$dyn_storage_$_$",
29082
29082
  "typeString": "mapping(address => mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref))"
29083
29083
  }
29084
29084
  },
@@ -29102,7 +29102,7 @@
29102
29102
  "nodeType": "IndexAccess",
29103
29103
  "src": "22309:19:16",
29104
29104
  "typeDescriptions": {
29105
- "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11334_storage_$dyn_storage_$",
29105
+ "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11336_storage_$dyn_storage_$",
29106
29106
  "typeString": "mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref)"
29107
29107
  }
29108
29108
  },
@@ -29126,7 +29126,7 @@
29126
29126
  "nodeType": "IndexAccess",
29127
29127
  "src": "22309:29:16",
29128
29128
  "typeDescriptions": {
29129
- "typeIdentifier": "t_array$_t_struct$_tradePosition_$11334_storage_$dyn_storage",
29129
+ "typeIdentifier": "t_array$_t_struct$_tradePosition_$11336_storage_$dyn_storage",
29130
29130
  "typeString": "struct IMarginManager.tradePosition storage ref[] storage ref"
29131
29131
  }
29132
29132
  },
@@ -29150,7 +29150,7 @@
29150
29150
  "nodeType": "IndexAccess",
29151
29151
  "src": "22309:32:16",
29152
29152
  "typeDescriptions": {
29153
- "typeIdentifier": "t_struct$_tradePosition_$11334_storage",
29153
+ "typeIdentifier": "t_struct$_tradePosition_$11336_storage",
29154
29154
  "typeString": "struct IMarginManager.tradePosition storage ref"
29155
29155
  }
29156
29156
  },
@@ -29187,7 +29187,7 @@
29187
29187
  "referencedDeclaration": 5848,
29188
29188
  "src": "22359:8:16",
29189
29189
  "typeDescriptions": {
29190
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
29190
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
29191
29191
  "typeString": "struct IMarginManager.tradePosition memory"
29192
29192
  }
29193
29193
  },
@@ -29198,7 +29198,7 @@
29198
29198
  "lValueRequested": false,
29199
29199
  "memberName": "buyer",
29200
29200
  "nodeType": "MemberAccess",
29201
- "referencedDeclaration": 11321,
29201
+ "referencedDeclaration": 11323,
29202
29202
  "src": "22359:14:16",
29203
29203
  "typeDescriptions": {
29204
29204
  "typeIdentifier": "t_address",
@@ -29275,7 +29275,7 @@
29275
29275
  "referencedDeclaration": 5848,
29276
29276
  "src": "22407:8:16",
29277
29277
  "typeDescriptions": {
29278
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
29278
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
29279
29279
  "typeString": "struct IMarginManager.tradePosition memory"
29280
29280
  }
29281
29281
  },
@@ -29286,7 +29286,7 @@
29286
29286
  "lValueRequested": false,
29287
29287
  "memberName": "buyer",
29288
29288
  "nodeType": "MemberAccess",
29289
- "referencedDeclaration": 11321,
29289
+ "referencedDeclaration": 11323,
29290
29290
  "src": "22407:14:16",
29291
29291
  "typeDescriptions": {
29292
29292
  "typeIdentifier": "t_address",
@@ -29388,7 +29388,7 @@
29388
29388
  "referencedDeclaration": 5848,
29389
29389
  "src": "23799:8:16",
29390
29390
  "typeDescriptions": {
29391
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
29391
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
29392
29392
  "typeString": "struct IMarginManager.tradePosition memory"
29393
29393
  }
29394
29394
  },
@@ -29399,7 +29399,7 @@
29399
29399
  "lValueRequested": false,
29400
29400
  "memberName": "seller",
29401
29401
  "nodeType": "MemberAccess",
29402
- "referencedDeclaration": 11323,
29402
+ "referencedDeclaration": 11325,
29403
29403
  "src": "23799:15:16",
29404
29404
  "typeDescriptions": {
29405
29405
  "typeIdentifier": "t_address",
@@ -29476,7 +29476,7 @@
29476
29476
  "referencedDeclaration": 5848,
29477
29477
  "src": "23848:8:16",
29478
29478
  "typeDescriptions": {
29479
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
29479
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
29480
29480
  "typeString": "struct IMarginManager.tradePosition memory"
29481
29481
  }
29482
29482
  },
@@ -29487,7 +29487,7 @@
29487
29487
  "lValueRequested": false,
29488
29488
  "memberName": "seller",
29489
29489
  "nodeType": "MemberAccess",
29490
- "referencedDeclaration": 11323,
29490
+ "referencedDeclaration": 11325,
29491
29491
  "src": "23848:15:16",
29492
29492
  "typeDescriptions": {
29493
29493
  "typeIdentifier": "t_address",
@@ -29660,7 +29660,7 @@
29660
29660
  "referencedDeclaration": 5848,
29661
29661
  "src": "23932:8:16",
29662
29662
  "typeDescriptions": {
29663
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
29663
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
29664
29664
  "typeString": "struct IMarginManager.tradePosition memory"
29665
29665
  }
29666
29666
  },
@@ -29671,7 +29671,7 @@
29671
29671
  "lValueRequested": false,
29672
29672
  "memberName": "seller",
29673
29673
  "nodeType": "MemberAccess",
29674
- "referencedDeclaration": 11323,
29674
+ "referencedDeclaration": 11325,
29675
29675
  "src": "23932:15:16",
29676
29676
  "typeDescriptions": {
29677
29677
  "typeIdentifier": "t_address",
@@ -29736,7 +29736,7 @@
29736
29736
  "referencedDeclaration": 5848,
29737
29737
  "src": "24655:8:16",
29738
29738
  "typeDescriptions": {
29739
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
29739
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
29740
29740
  "typeString": "struct IMarginManager.tradePosition memory"
29741
29741
  }
29742
29742
  },
@@ -29747,7 +29747,7 @@
29747
29747
  "lValueRequested": false,
29748
29748
  "memberName": "seller",
29749
29749
  "nodeType": "MemberAccess",
29750
- "referencedDeclaration": 11323,
29750
+ "referencedDeclaration": 11325,
29751
29751
  "src": "24655:15:16",
29752
29752
  "typeDescriptions": {
29753
29753
  "typeIdentifier": "t_address",
@@ -30097,7 +30097,7 @@
30097
30097
  "referencedDeclaration": 5848,
30098
30098
  "src": "24846:8:16",
30099
30099
  "typeDescriptions": {
30100
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
30100
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
30101
30101
  "typeString": "struct IMarginManager.tradePosition memory"
30102
30102
  }
30103
30103
  },
@@ -30108,7 +30108,7 @@
30108
30108
  "lValueRequested": false,
30109
30109
  "memberName": "seller",
30110
30110
  "nodeType": "MemberAccess",
30111
- "referencedDeclaration": 11323,
30111
+ "referencedDeclaration": 11325,
30112
30112
  "src": "24846:15:16",
30113
30113
  "typeDescriptions": {
30114
30114
  "typeIdentifier": "t_address",
@@ -30294,7 +30294,7 @@
30294
30294
  "referencedDeclaration": 5848,
30295
30295
  "src": "24960:8:16",
30296
30296
  "typeDescriptions": {
30297
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
30297
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
30298
30298
  "typeString": "struct IMarginManager.tradePosition memory"
30299
30299
  }
30300
30300
  },
@@ -30305,7 +30305,7 @@
30305
30305
  "lValueRequested": false,
30306
30306
  "memberName": "seller",
30307
30307
  "nodeType": "MemberAccess",
30308
- "referencedDeclaration": 11323,
30308
+ "referencedDeclaration": 11325,
30309
30309
  "src": "24960:15:16",
30310
30310
  "typeDescriptions": {
30311
30311
  "typeIdentifier": "t_address",
@@ -30375,7 +30375,7 @@
30375
30375
  "referencedDeclaration": 5848,
30376
30376
  "src": "25016:8:16",
30377
30377
  "typeDescriptions": {
30378
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
30378
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
30379
30379
  "typeString": "struct IMarginManager.tradePosition memory"
30380
30380
  }
30381
30381
  },
@@ -30386,7 +30386,7 @@
30386
30386
  "lValueRequested": false,
30387
30387
  "memberName": "seller",
30388
30388
  "nodeType": "MemberAccess",
30389
- "referencedDeclaration": 11323,
30389
+ "referencedDeclaration": 11325,
30390
30390
  "src": "25016:15:16",
30391
30391
  "typeDescriptions": {
30392
30392
  "typeIdentifier": "t_address",
@@ -30616,7 +30616,7 @@
30616
30616
  "referencedDeclaration": 5848,
30617
30617
  "src": "24008:8:16",
30618
30618
  "typeDescriptions": {
30619
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
30619
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
30620
30620
  "typeString": "struct IMarginManager.tradePosition memory"
30621
30621
  }
30622
30622
  },
@@ -30627,7 +30627,7 @@
30627
30627
  "lValueRequested": false,
30628
30628
  "memberName": "seller",
30629
30629
  "nodeType": "MemberAccess",
30630
- "referencedDeclaration": 11323,
30630
+ "referencedDeclaration": 11325,
30631
30631
  "src": "24008:15:16",
30632
30632
  "typeDescriptions": {
30633
30633
  "typeIdentifier": "t_address",
@@ -30660,7 +30660,7 @@
30660
30660
  "referencedDeclaration": 5848,
30661
30661
  "src": "24048:8:16",
30662
30662
  "typeDescriptions": {
30663
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
30663
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
30664
30664
  "typeString": "struct IMarginManager.tradePosition memory"
30665
30665
  }
30666
30666
  },
@@ -30671,7 +30671,7 @@
30671
30671
  "lValueRequested": false,
30672
30672
  "memberName": "seller",
30673
30673
  "nodeType": "MemberAccess",
30674
- "referencedDeclaration": 11323,
30674
+ "referencedDeclaration": 11325,
30675
30675
  "src": "24048:15:16",
30676
30676
  "typeDescriptions": {
30677
30677
  "typeIdentifier": "t_address",
@@ -31009,7 +31009,7 @@
31009
31009
  "referencedDeclaration": 5848,
31010
31010
  "src": "24204:8:16",
31011
31011
  "typeDescriptions": {
31012
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
31012
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
31013
31013
  "typeString": "struct IMarginManager.tradePosition memory"
31014
31014
  }
31015
31015
  },
@@ -31020,7 +31020,7 @@
31020
31020
  "lValueRequested": false,
31021
31021
  "memberName": "seller",
31022
31022
  "nodeType": "MemberAccess",
31023
- "referencedDeclaration": 11323,
31023
+ "referencedDeclaration": 11325,
31024
31024
  "src": "24204:15:16",
31025
31025
  "typeDescriptions": {
31026
31026
  "typeIdentifier": "t_address",
@@ -31195,7 +31195,7 @@
31195
31195
  "referencedDeclaration": 5848,
31196
31196
  "src": "24284:8:16",
31197
31197
  "typeDescriptions": {
31198
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
31198
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
31199
31199
  "typeString": "struct IMarginManager.tradePosition memory"
31200
31200
  }
31201
31201
  },
@@ -31206,7 +31206,7 @@
31206
31206
  "lValueRequested": false,
31207
31207
  "memberName": "seller",
31208
31208
  "nodeType": "MemberAccess",
31209
- "referencedDeclaration": 11323,
31209
+ "referencedDeclaration": 11325,
31210
31210
  "src": "24284:15:16",
31211
31211
  "typeDescriptions": {
31212
31212
  "typeIdentifier": "t_address",
@@ -31249,7 +31249,7 @@
31249
31249
  "referencedDeclaration": 5848,
31250
31250
  "src": "24329:8:16",
31251
31251
  "typeDescriptions": {
31252
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
31252
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
31253
31253
  "typeString": "struct IMarginManager.tradePosition memory"
31254
31254
  }
31255
31255
  },
@@ -31260,7 +31260,7 @@
31260
31260
  "lValueRequested": false,
31261
31261
  "memberName": "seller",
31262
31262
  "nodeType": "MemberAccess",
31263
- "referencedDeclaration": 11323,
31263
+ "referencedDeclaration": 11325,
31264
31264
  "src": "24329:15:16",
31265
31265
  "typeDescriptions": {
31266
31266
  "typeIdentifier": "t_address",
@@ -31443,7 +31443,7 @@
31443
31443
  "referencedDeclaration": 5848,
31444
31444
  "src": "24445:8:16",
31445
31445
  "typeDescriptions": {
31446
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
31446
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
31447
31447
  "typeString": "struct IMarginManager.tradePosition memory"
31448
31448
  }
31449
31449
  },
@@ -31454,7 +31454,7 @@
31454
31454
  "lValueRequested": false,
31455
31455
  "memberName": "seller",
31456
31456
  "nodeType": "MemberAccess",
31457
- "referencedDeclaration": 11323,
31457
+ "referencedDeclaration": 11325,
31458
31458
  "src": "24445:15:16",
31459
31459
  "typeDescriptions": {
31460
31460
  "typeIdentifier": "t_address",
@@ -31632,7 +31632,7 @@
31632
31632
  "referencedDeclaration": 5848,
31633
31633
  "src": "24514:8:16",
31634
31634
  "typeDescriptions": {
31635
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
31635
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
31636
31636
  "typeString": "struct IMarginManager.tradePosition memory"
31637
31637
  }
31638
31638
  },
@@ -31643,7 +31643,7 @@
31643
31643
  "lValueRequested": false,
31644
31644
  "memberName": "seller",
31645
31645
  "nodeType": "MemberAccess",
31646
- "referencedDeclaration": 11323,
31646
+ "referencedDeclaration": 11325,
31647
31647
  "src": "24514:15:16",
31648
31648
  "typeDescriptions": {
31649
31649
  "typeIdentifier": "t_address",
@@ -31820,7 +31820,7 @@
31820
31820
  "referencedDeclaration": 5848,
31821
31821
  "src": "22490:8:16",
31822
31822
  "typeDescriptions": {
31823
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
31823
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
31824
31824
  "typeString": "struct IMarginManager.tradePosition memory"
31825
31825
  }
31826
31826
  },
@@ -31831,7 +31831,7 @@
31831
31831
  "lValueRequested": false,
31832
31832
  "memberName": "buyer",
31833
31833
  "nodeType": "MemberAccess",
31834
- "referencedDeclaration": 11321,
31834
+ "referencedDeclaration": 11323,
31835
31835
  "src": "22490:14:16",
31836
31836
  "typeDescriptions": {
31837
31837
  "typeIdentifier": "t_address",
@@ -31896,7 +31896,7 @@
31896
31896
  "referencedDeclaration": 5848,
31897
31897
  "src": "23205:8:16",
31898
31898
  "typeDescriptions": {
31899
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
31899
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
31900
31900
  "typeString": "struct IMarginManager.tradePosition memory"
31901
31901
  }
31902
31902
  },
@@ -31907,7 +31907,7 @@
31907
31907
  "lValueRequested": false,
31908
31908
  "memberName": "buyer",
31909
31909
  "nodeType": "MemberAccess",
31910
- "referencedDeclaration": 11321,
31910
+ "referencedDeclaration": 11323,
31911
31911
  "src": "23205:14:16",
31912
31912
  "typeDescriptions": {
31913
31913
  "typeIdentifier": "t_address",
@@ -32257,7 +32257,7 @@
32257
32257
  "referencedDeclaration": 5848,
32258
32258
  "src": "23395:8:16",
32259
32259
  "typeDescriptions": {
32260
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
32260
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
32261
32261
  "typeString": "struct IMarginManager.tradePosition memory"
32262
32262
  }
32263
32263
  },
@@ -32268,7 +32268,7 @@
32268
32268
  "lValueRequested": false,
32269
32269
  "memberName": "buyer",
32270
32270
  "nodeType": "MemberAccess",
32271
- "referencedDeclaration": 11321,
32271
+ "referencedDeclaration": 11323,
32272
32272
  "src": "23395:14:16",
32273
32273
  "typeDescriptions": {
32274
32274
  "typeIdentifier": "t_address",
@@ -32454,7 +32454,7 @@
32454
32454
  "referencedDeclaration": 5848,
32455
32455
  "src": "23508:8:16",
32456
32456
  "typeDescriptions": {
32457
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
32457
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
32458
32458
  "typeString": "struct IMarginManager.tradePosition memory"
32459
32459
  }
32460
32460
  },
@@ -32465,7 +32465,7 @@
32465
32465
  "lValueRequested": false,
32466
32466
  "memberName": "buyer",
32467
32467
  "nodeType": "MemberAccess",
32468
- "referencedDeclaration": 11321,
32468
+ "referencedDeclaration": 11323,
32469
32469
  "src": "23508:14:16",
32470
32470
  "typeDescriptions": {
32471
32471
  "typeIdentifier": "t_address",
@@ -32535,7 +32535,7 @@
32535
32535
  "referencedDeclaration": 5848,
32536
32536
  "src": "23563:8:16",
32537
32537
  "typeDescriptions": {
32538
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
32538
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
32539
32539
  "typeString": "struct IMarginManager.tradePosition memory"
32540
32540
  }
32541
32541
  },
@@ -32546,7 +32546,7 @@
32546
32546
  "lValueRequested": false,
32547
32547
  "memberName": "buyer",
32548
32548
  "nodeType": "MemberAccess",
32549
- "referencedDeclaration": 11321,
32549
+ "referencedDeclaration": 11323,
32550
32550
  "src": "23563:14:16",
32551
32551
  "typeDescriptions": {
32552
32552
  "typeIdentifier": "t_address",
@@ -32776,7 +32776,7 @@
32776
32776
  "referencedDeclaration": 5848,
32777
32777
  "src": "22565:8:16",
32778
32778
  "typeDescriptions": {
32779
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
32779
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
32780
32780
  "typeString": "struct IMarginManager.tradePosition memory"
32781
32781
  }
32782
32782
  },
@@ -32787,7 +32787,7 @@
32787
32787
  "lValueRequested": false,
32788
32788
  "memberName": "buyer",
32789
32789
  "nodeType": "MemberAccess",
32790
- "referencedDeclaration": 11321,
32790
+ "referencedDeclaration": 11323,
32791
32791
  "src": "22565:14:16",
32792
32792
  "typeDescriptions": {
32793
32793
  "typeIdentifier": "t_address",
@@ -32820,7 +32820,7 @@
32820
32820
  "referencedDeclaration": 5848,
32821
32821
  "src": "22604:8:16",
32822
32822
  "typeDescriptions": {
32823
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
32823
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
32824
32824
  "typeString": "struct IMarginManager.tradePosition memory"
32825
32825
  }
32826
32826
  },
@@ -32831,7 +32831,7 @@
32831
32831
  "lValueRequested": false,
32832
32832
  "memberName": "buyer",
32833
32833
  "nodeType": "MemberAccess",
32834
- "referencedDeclaration": 11321,
32834
+ "referencedDeclaration": 11323,
32835
32835
  "src": "22604:14:16",
32836
32836
  "typeDescriptions": {
32837
32837
  "typeIdentifier": "t_address",
@@ -33169,7 +33169,7 @@
33169
33169
  "referencedDeclaration": 5848,
33170
33170
  "src": "22759:8:16",
33171
33171
  "typeDescriptions": {
33172
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
33172
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
33173
33173
  "typeString": "struct IMarginManager.tradePosition memory"
33174
33174
  }
33175
33175
  },
@@ -33180,7 +33180,7 @@
33180
33180
  "lValueRequested": false,
33181
33181
  "memberName": "buyer",
33182
33182
  "nodeType": "MemberAccess",
33183
- "referencedDeclaration": 11321,
33183
+ "referencedDeclaration": 11323,
33184
33184
  "src": "22759:14:16",
33185
33185
  "typeDescriptions": {
33186
33186
  "typeIdentifier": "t_address",
@@ -33355,7 +33355,7 @@
33355
33355
  "referencedDeclaration": 5848,
33356
33356
  "src": "22838:8:16",
33357
33357
  "typeDescriptions": {
33358
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
33358
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
33359
33359
  "typeString": "struct IMarginManager.tradePosition memory"
33360
33360
  }
33361
33361
  },
@@ -33366,7 +33366,7 @@
33366
33366
  "lValueRequested": false,
33367
33367
  "memberName": "buyer",
33368
33368
  "nodeType": "MemberAccess",
33369
- "referencedDeclaration": 11321,
33369
+ "referencedDeclaration": 11323,
33370
33370
  "src": "22838:14:16",
33371
33371
  "typeDescriptions": {
33372
33372
  "typeIdentifier": "t_address",
@@ -33409,7 +33409,7 @@
33409
33409
  "referencedDeclaration": 5848,
33410
33410
  "src": "22882:8:16",
33411
33411
  "typeDescriptions": {
33412
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
33412
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
33413
33413
  "typeString": "struct IMarginManager.tradePosition memory"
33414
33414
  }
33415
33415
  },
@@ -33420,7 +33420,7 @@
33420
33420
  "lValueRequested": false,
33421
33421
  "memberName": "buyer",
33422
33422
  "nodeType": "MemberAccess",
33423
- "referencedDeclaration": 11321,
33423
+ "referencedDeclaration": 11323,
33424
33424
  "src": "22882:14:16",
33425
33425
  "typeDescriptions": {
33426
33426
  "typeIdentifier": "t_address",
@@ -33603,7 +33603,7 @@
33603
33603
  "referencedDeclaration": 5848,
33604
33604
  "src": "22997:8:16",
33605
33605
  "typeDescriptions": {
33606
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
33606
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
33607
33607
  "typeString": "struct IMarginManager.tradePosition memory"
33608
33608
  }
33609
33609
  },
@@ -33614,7 +33614,7 @@
33614
33614
  "lValueRequested": false,
33615
33615
  "memberName": "buyer",
33616
33616
  "nodeType": "MemberAccess",
33617
- "referencedDeclaration": 11321,
33617
+ "referencedDeclaration": 11323,
33618
33618
  "src": "22997:14:16",
33619
33619
  "typeDescriptions": {
33620
33620
  "typeIdentifier": "t_address",
@@ -33792,7 +33792,7 @@
33792
33792
  "referencedDeclaration": 5848,
33793
33793
  "src": "23065:8:16",
33794
33794
  "typeDescriptions": {
33795
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
33795
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
33796
33796
  "typeString": "struct IMarginManager.tradePosition memory"
33797
33797
  }
33798
33798
  },
@@ -33803,7 +33803,7 @@
33803
33803
  "lValueRequested": false,
33804
33804
  "memberName": "buyer",
33805
33805
  "nodeType": "MemberAccess",
33806
- "referencedDeclaration": 11321,
33806
+ "referencedDeclaration": 11323,
33807
33807
  "src": "23065:14:16",
33808
33808
  "typeDescriptions": {
33809
33809
  "typeIdentifier": "t_address",
@@ -33916,7 +33916,7 @@
33916
33916
  "referencedDeclaration": 3775,
33917
33917
  "src": "22205:9:16",
33918
33918
  "typeDescriptions": {
33919
- "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11334_storage_$dyn_storage_$_$",
33919
+ "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11336_storage_$dyn_storage_$_$",
33920
33920
  "typeString": "mapping(address => mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref))"
33921
33921
  }
33922
33922
  },
@@ -33940,7 +33940,7 @@
33940
33940
  "nodeType": "IndexAccess",
33941
33941
  "src": "22205:19:16",
33942
33942
  "typeDescriptions": {
33943
- "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11334_storage_$dyn_storage_$",
33943
+ "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_tradePosition_$11336_storage_$dyn_storage_$",
33944
33944
  "typeString": "mapping(address => struct IMarginManager.tradePosition storage ref[] storage ref)"
33945
33945
  }
33946
33946
  },
@@ -33964,7 +33964,7 @@
33964
33964
  "nodeType": "IndexAccess",
33965
33965
  "src": "22205:29:16",
33966
33966
  "typeDescriptions": {
33967
- "typeIdentifier": "t_array$_t_struct$_tradePosition_$11334_storage_$dyn_storage",
33967
+ "typeIdentifier": "t_array$_t_struct$_tradePosition_$11336_storage_$dyn_storage",
33968
33968
  "typeString": "struct IMarginManager.tradePosition storage ref[] storage ref"
33969
33969
  }
33970
33970
  },
@@ -34237,7 +34237,7 @@
34237
34237
  },
34238
34238
  {
34239
34239
  "baseFunctions": [
34240
- 11405
34240
+ 11407
34241
34241
  ],
34242
34242
  "body": {
34243
34243
  "id": 6262,
@@ -35832,7 +35832,7 @@
35832
35832
  },
35833
35833
  {
35834
35834
  "attributes": {
35835
- "SourceUnit": 11116,
35835
+ "SourceUnit": 11118,
35836
35836
  "absolutePath": "project:/contracts/interfaces/IFactory.sol",
35837
35837
  "file": "./interfaces/IFactory.sol",
35838
35838
  "scope": 6328,
@@ -35847,7 +35847,7 @@
35847
35847
  },
35848
35848
  {
35849
35849
  "attributes": {
35850
- "SourceUnit": 12121,
35850
+ "SourceUnit": 12123,
35851
35851
  "absolutePath": "project:/contracts/interfaces/ISecurity.sol",
35852
35852
  "file": "./interfaces/ISecurity.sol",
35853
35853
  "scope": 6328,
@@ -35862,7 +35862,7 @@
35862
35862
  },
35863
35863
  {
35864
35864
  "attributes": {
35865
- "SourceUnit": 11570,
35865
+ "SourceUnit": 11572,
35866
35866
  "absolutePath": "project:/contracts/interfaces/IMarginOrder.sol",
35867
35867
  "file": "./interfaces/IMarginOrder.sol",
35868
35868
  "scope": 6328,
@@ -35877,7 +35877,7 @@
35877
35877
  },
35878
35878
  {
35879
35879
  "attributes": {
35880
- "SourceUnit": 11480,
35880
+ "SourceUnit": 11482,
35881
35881
  "absolutePath": "project:/contracts/interfaces/IMarginManager.sol",
35882
35882
  "file": "./interfaces/IMarginManager.sol",
35883
35883
  "scope": 6328,
@@ -35892,7 +35892,7 @@
35892
35892
  },
35893
35893
  {
35894
35894
  "attributes": {
35895
- "SourceUnit": 11614,
35895
+ "SourceUnit": 11616,
35896
35896
  "absolutePath": "project:/contracts/interfaces/IMarginTradingPool.sol",
35897
35897
  "file": "./interfaces/IMarginTradingPool.sol",
35898
35898
  "scope": 6328,
@@ -35907,7 +35907,7 @@
35907
35907
  },
35908
35908
  {
35909
35909
  "attributes": {
35910
- "SourceUnit": 11646,
35910
+ "SourceUnit": 11648,
35911
35911
  "absolutePath": "project:/contracts/interfaces/IMarginTradingPoolFactory.sol",
35912
35912
  "file": "./interfaces/IMarginTradingPoolFactory.sol",
35913
35913
  "scope": 6328,
@@ -36030,14 +36030,14 @@
36030
36030
  "abstract": false,
36031
36031
  "contractDependencies": [
36032
36032
  3045,
36033
- 11479
36033
+ 11481
36034
36034
  ],
36035
36035
  "contractKind": "contract",
36036
36036
  "fullyImplemented": true,
36037
36037
  "linearizedBaseContracts": [
36038
36038
  6327,
36039
36039
  3045,
36040
- 11479
36040
+ 11481
36041
36041
  ],
36042
36042
  "name": "MarginIssueManager",
36043
36043
  "scope": 6328
@@ -36049,7 +36049,7 @@
36049
36049
  {
36050
36050
  "attributes": {
36051
36051
  "name": "IMarginManager",
36052
- "referencedDeclaration": 11479,
36052
+ "referencedDeclaration": 11481,
36053
36053
  "type": "contract IMarginManager"
36054
36054
  },
36055
36055
  "id": 3705,
@@ -36193,7 +36193,7 @@
36193
36193
  {
36194
36194
  "attributes": {
36195
36195
  "name": "IFactory",
36196
- "referencedDeclaration": 11115,
36196
+ "referencedDeclaration": 11117,
36197
36197
  "type": "contract IFactory"
36198
36198
  },
36199
36199
  "id": 3717,
@@ -36856,7 +36856,7 @@
36856
36856
  {
36857
36857
  "attributes": {
36858
36858
  "name": "IMarginManager.tradePosition",
36859
- "referencedDeclaration": 11334,
36859
+ "referencedDeclaration": 11336,
36860
36860
  "type": "struct IMarginManager.tradePosition"
36861
36861
  },
36862
36862
  "id": 3771,
@@ -38246,7 +38246,7 @@
38246
38246
  "isPure": false,
38247
38247
  "lValueRequested": false,
38248
38248
  "member_name": "getDP",
38249
- "referencedDeclaration": 11114,
38249
+ "referencedDeclaration": 11116,
38250
38250
  "type": "function (address) view external returns (address)"
38251
38251
  },
38252
38252
  "children": [
@@ -39093,7 +39093,7 @@
39093
39093
  "overloadedDeclarations": [
39094
39094
  null
39095
39095
  ],
39096
- "referencedDeclaration": 11115,
39096
+ "referencedDeclaration": 11117,
39097
39097
  "type": "type(contract IFactory)",
39098
39098
  "value": "IFactory"
39099
39099
  },
@@ -39392,7 +39392,7 @@
39392
39392
  {
39393
39393
  "attributes": {
39394
39394
  "baseFunctions": [
39395
- 11478
39395
+ 11480
39396
39396
  ],
39397
39397
  "functionSelector": "f6c00927",
39398
39398
  "implemented": true,
@@ -39678,7 +39678,7 @@
39678
39678
  {
39679
39679
  "attributes": {
39680
39680
  "baseFunctions": [
39681
- 11357
39681
+ 11359
39682
39682
  ],
39683
39683
  "functionSelector": "541af9d8",
39684
39684
  "implemented": true,
@@ -40893,7 +40893,7 @@
40893
40893
  "isPure": false,
40894
40894
  "lValueRequested": false,
40895
40895
  "member_name": "whiteList",
40896
- "referencedDeclaration": 12119,
40896
+ "referencedDeclaration": 12121,
40897
40897
  "type": "function (address,uint256) external"
40898
40898
  },
40899
40899
  "children": [
@@ -40923,7 +40923,7 @@
40923
40923
  "overloadedDeclarations": [
40924
40924
  null
40925
40925
  ],
40926
- "referencedDeclaration": 12120,
40926
+ "referencedDeclaration": 12122,
40927
40927
  "type": "type(contract ISecurity)",
40928
40928
  "value": "ISecurity"
40929
40929
  },
@@ -41012,7 +41012,7 @@
41012
41012
  {
41013
41013
  "attributes": {
41014
41014
  "name": "IMarginTradingPoolFactory.FactoryPoolParams",
41015
- "referencedDeclaration": 11637,
41015
+ "referencedDeclaration": 11639,
41016
41016
  "type": "struct IMarginTradingPoolFactory.FactoryPoolParams"
41017
41017
  },
41018
41018
  "id": 4080,
@@ -41097,7 +41097,7 @@
41097
41097
  "isPure": false,
41098
41098
  "lValueRequested": false,
41099
41099
  "member_name": "FactoryPoolParams",
41100
- "referencedDeclaration": 11637,
41100
+ "referencedDeclaration": 11639,
41101
41101
  "type": "type(struct IMarginTradingPoolFactory.FactoryPoolParams storage pointer)"
41102
41102
  },
41103
41103
  "children": [
@@ -41106,7 +41106,7 @@
41106
41106
  "overloadedDeclarations": [
41107
41107
  null
41108
41108
  ],
41109
- "referencedDeclaration": 11645,
41109
+ "referencedDeclaration": 11647,
41110
41110
  "type": "type(contract IMarginTradingPoolFactory)",
41111
41111
  "value": "IMarginTradingPoolFactory"
41112
41112
  },
@@ -41284,7 +41284,7 @@
41284
41284
  "attributes": {
41285
41285
  "argumentTypes": [
41286
41286
  {
41287
- "typeIdentifier": "t_struct$_FactoryPoolParams_$11637_memory_ptr",
41287
+ "typeIdentifier": "t_struct$_FactoryPoolParams_$11639_memory_ptr",
41288
41288
  "typeString": "struct IMarginTradingPoolFactory.FactoryPoolParams memory"
41289
41289
  },
41290
41290
  {
@@ -41464,7 +41464,7 @@
41464
41464
  {
41465
41465
  "attributes": {
41466
41466
  "name": "IMarginTradingPoolFactory.FactoryPoolParams",
41467
- "referencedDeclaration": 11637,
41467
+ "referencedDeclaration": 11639,
41468
41468
  "type": "struct IMarginTradingPoolFactory.FactoryPoolParams"
41469
41469
  },
41470
41470
  "id": 4108,
@@ -41725,7 +41725,7 @@
41725
41725
  "attributes": {
41726
41726
  "argumentTypes": [
41727
41727
  {
41728
- "typeIdentifier": "t_struct$_FactoryPoolParams_$11637_memory_ptr",
41728
+ "typeIdentifier": "t_struct$_FactoryPoolParams_$11639_memory_ptr",
41729
41729
  "typeString": "struct IMarginTradingPoolFactory.FactoryPoolParams memory"
41730
41730
  }
41731
41731
  ],
@@ -41734,7 +41734,7 @@
41734
41734
  "isPure": false,
41735
41735
  "lValueRequested": false,
41736
41736
  "member_name": "create",
41737
- "referencedDeclaration": 11644,
41737
+ "referencedDeclaration": 11646,
41738
41738
  "type": "function (struct IMarginTradingPoolFactory.FactoryPoolParams memory) external returns (address)"
41739
41739
  },
41740
41740
  "children": [
@@ -41764,7 +41764,7 @@
41764
41764
  "overloadedDeclarations": [
41765
41765
  null
41766
41766
  ],
41767
- "referencedDeclaration": 11645,
41767
+ "referencedDeclaration": 11647,
41768
41768
  "type": "type(contract IMarginTradingPoolFactory)",
41769
41769
  "value": "IMarginTradingPoolFactory"
41770
41770
  },
@@ -41884,7 +41884,7 @@
41884
41884
  "isPure": false,
41885
41885
  "lValueRequested": false,
41886
41886
  "member_name": "getPoolId",
41887
- "referencedDeclaration": 11577,
41887
+ "referencedDeclaration": 11579,
41888
41888
  "type": "function () view external returns (bytes32)"
41889
41889
  },
41890
41890
  "children": [
@@ -41914,7 +41914,7 @@
41914
41914
  "overloadedDeclarations": [
41915
41915
  null
41916
41916
  ],
41917
- "referencedDeclaration": 11613,
41917
+ "referencedDeclaration": 11615,
41918
41918
  "type": "type(contract IMarginTradingPool)",
41919
41919
  "value": "IMarginTradingPool"
41920
41920
  },
@@ -43944,7 +43944,7 @@
43944
43944
  "attributes": {
43945
43945
  "argumentTypes": [
43946
43946
  {
43947
- "typeIdentifier": "t_enum$_JoinKind_$11316",
43947
+ "typeIdentifier": "t_enum$_JoinKind_$11318",
43948
43948
  "typeString": "enum IMarginManager.JoinKind"
43949
43949
  },
43950
43950
  {
@@ -43993,7 +43993,7 @@
43993
43993
  "overloadedDeclarations": [
43994
43994
  null
43995
43995
  ],
43996
- "referencedDeclaration": 11316,
43996
+ "referencedDeclaration": 11318,
43997
43997
  "type": "type(enum IMarginManager.JoinKind)",
43998
43998
  "value": "JoinKind"
43999
43999
  },
@@ -44323,7 +44323,7 @@
44323
44323
  {
44324
44324
  "attributes": {
44325
44325
  "baseFunctions": [
44326
- 11398
44326
+ 11400
44327
44327
  ],
44328
44328
  "functionSelector": "719dcf4a",
44329
44329
  "implemented": true,
@@ -44543,7 +44543,7 @@
44543
44543
  "isPure": false,
44544
44544
  "lValueRequested": false,
44545
44545
  "member_name": "getCurrency",
44546
- "referencedDeclaration": 11587,
44546
+ "referencedDeclaration": 11589,
44547
44547
  "type": "function () view external returns (address)"
44548
44548
  },
44549
44549
  "children": [
@@ -44573,7 +44573,7 @@
44573
44573
  "overloadedDeclarations": [
44574
44574
  null
44575
44575
  ],
44576
- "referencedDeclaration": 11613,
44576
+ "referencedDeclaration": 11615,
44577
44577
  "type": "type(contract IMarginTradingPool)",
44578
44578
  "value": "IMarginTradingPool"
44579
44579
  },
@@ -45284,7 +45284,7 @@
45284
45284
  "attributes": {
45285
45285
  "argumentTypes": [
45286
45286
  {
45287
- "typeIdentifier": "t_enum$_ExitKind_$11319",
45287
+ "typeIdentifier": "t_enum$_ExitKind_$11321",
45288
45288
  "typeString": "enum IMarginManager.ExitKind"
45289
45289
  },
45290
45290
  {
@@ -45333,7 +45333,7 @@
45333
45333
  "overloadedDeclarations": [
45334
45334
  null
45335
45335
  ],
45336
- "referencedDeclaration": 11319,
45336
+ "referencedDeclaration": 11321,
45337
45337
  "type": "type(enum IMarginManager.ExitKind)",
45338
45338
  "value": "ExitKind"
45339
45339
  },
@@ -46422,7 +46422,7 @@
46422
46422
  {
46423
46423
  "attributes": {
46424
46424
  "baseFunctions": [
46425
- 11414
46425
+ 11416
46426
46426
  ],
46427
46427
  "functionSelector": "59e7e4b1",
46428
46428
  "implemented": true,
@@ -48143,7 +48143,7 @@
48143
48143
  {
48144
48144
  "attributes": {
48145
48145
  "baseFunctions": [
48146
- 11423
48146
+ 11425
48147
48147
  ],
48148
48148
  "functionSelector": "97db1a92",
48149
48149
  "implemented": true,
@@ -48969,7 +48969,7 @@
48969
48969
  {
48970
48970
  "attributes": {
48971
48971
  "baseFunctions": [
48972
- 11462
48972
+ 11464
48973
48973
  ],
48974
48974
  "functionSelector": "6f943a09",
48975
48975
  "implemented": true,
@@ -49180,7 +49180,7 @@
49180
49180
  {
49181
49181
  "attributes": {
49182
49182
  "baseFunctions": [
49183
- 11471
49183
+ 11473
49184
49184
  ],
49185
49185
  "functionSelector": "a55e8668",
49186
49186
  "implemented": true,
@@ -49392,7 +49392,7 @@
49392
49392
  {
49393
49393
  "attributes": {
49394
49394
  "baseFunctions": [
49395
- 11374
49395
+ 11376
49396
49396
  ],
49397
49397
  "functionSelector": "2b06b510",
49398
49398
  "implemented": true,
@@ -49691,7 +49691,7 @@
49691
49691
  {
49692
49692
  "attributes": {
49693
49693
  "name": "IMarginOrder.order",
49694
- "referencedDeclaration": 11507,
49694
+ "referencedDeclaration": 11509,
49695
49695
  "type": "struct IMarginOrder.order"
49696
49696
  },
49697
49697
  "id": 4691,
@@ -49731,7 +49731,7 @@
49731
49731
  "isPure": false,
49732
49732
  "lValueRequested": false,
49733
49733
  "member_name": "getOrder",
49734
- "referencedDeclaration": 11534,
49734
+ "referencedDeclaration": 11536,
49735
49735
  "type": "function (bytes32) view external returns (struct IMarginOrder.order memory)"
49736
49736
  },
49737
49737
  "children": [
@@ -49761,7 +49761,7 @@
49761
49761
  "overloadedDeclarations": [
49762
49762
  null
49763
49763
  ],
49764
- "referencedDeclaration": 11569,
49764
+ "referencedDeclaration": 11571,
49765
49765
  "type": "type(contract IMarginOrder)",
49766
49766
  "value": "IMarginOrder"
49767
49767
  },
@@ -49797,7 +49797,7 @@
49797
49797
  "isPure": false,
49798
49798
  "lValueRequested": false,
49799
49799
  "member_name": "getOrderbook",
49800
- "referencedDeclaration": 11597,
49800
+ "referencedDeclaration": 11599,
49801
49801
  "type": "function () view external returns (address)"
49802
49802
  },
49803
49803
  "children": [
@@ -49827,7 +49827,7 @@
49827
49827
  "overloadedDeclarations": [
49828
49828
  null
49829
49829
  ],
49830
- "referencedDeclaration": 11613,
49830
+ "referencedDeclaration": 11615,
49831
49831
  "type": "type(contract IMarginTradingPool)",
49832
49832
  "value": "IMarginTradingPool"
49833
49833
  },
@@ -50132,7 +50132,7 @@
50132
50132
  "isPure": false,
50133
50133
  "lValueRequested": false,
50134
50134
  "member_name": "getMargin",
50135
- "referencedDeclaration": 11602,
50135
+ "referencedDeclaration": 11604,
50136
50136
  "type": "function () view external returns (uint256)"
50137
50137
  },
50138
50138
  "children": [
@@ -50162,7 +50162,7 @@
50162
50162
  "overloadedDeclarations": [
50163
50163
  null
50164
50164
  ],
50165
- "referencedDeclaration": 11613,
50165
+ "referencedDeclaration": 11615,
50166
50166
  "type": "type(contract IMarginTradingPool)",
50167
50167
  "value": "IMarginTradingPool"
50168
50168
  },
@@ -50352,7 +50352,7 @@
50352
50352
  "isPure": false,
50353
50353
  "lValueRequested": false,
50354
50354
  "member_name": "getCollateral",
50355
- "referencedDeclaration": 11607,
50355
+ "referencedDeclaration": 11609,
50356
50356
  "type": "function () view external returns (uint256)"
50357
50357
  },
50358
50358
  "children": [
@@ -50382,7 +50382,7 @@
50382
50382
  "overloadedDeclarations": [
50383
50383
  null
50384
50384
  ],
50385
- "referencedDeclaration": 11613,
50385
+ "referencedDeclaration": 11615,
50386
50386
  "type": "type(contract IMarginTradingPool)",
50387
50387
  "value": "IMarginTradingPool"
50388
50388
  },
@@ -50509,7 +50509,7 @@
50509
50509
  "attributes": {
50510
50510
  "argumentTypes": [
50511
50511
  {
50512
- "typeIdentifier": "t_struct$_order_$11507_memory_ptr",
50512
+ "typeIdentifier": "t_struct$_order_$11509_memory_ptr",
50513
50513
  "typeString": "struct IMarginOrder.order memory"
50514
50514
  },
50515
50515
  {
@@ -50826,7 +50826,7 @@
50826
50826
  "isPure": false,
50827
50827
  "lValueRequested": false,
50828
50828
  "member_name": "tokenIn",
50829
- "referencedDeclaration": 11498,
50829
+ "referencedDeclaration": 11500,
50830
50830
  "type": "address"
50831
50831
  },
50832
50832
  "children": [
@@ -50887,7 +50887,7 @@
50887
50887
  "isPure": false,
50888
50888
  "lValueRequested": false,
50889
50889
  "member_name": "party",
50890
- "referencedDeclaration": 11504,
50890
+ "referencedDeclaration": 11506,
50891
50891
  "type": "address"
50892
50892
  },
50893
50893
  "children": [
@@ -51440,7 +51440,7 @@
51440
51440
  {
51441
51441
  "attributes": {
51442
51442
  "name": "IMarginManager.tradePosition",
51443
- "referencedDeclaration": 11334,
51443
+ "referencedDeclaration": 11336,
51444
51444
  "type": "struct IMarginManager.tradePosition"
51445
51445
  },
51446
51446
  "id": 4803,
@@ -51510,7 +51510,7 @@
51510
51510
  "isPure": false,
51511
51511
  "lValueRequested": false,
51512
51512
  "member_name": "tradePosition",
51513
- "referencedDeclaration": 11334,
51513
+ "referencedDeclaration": 11336,
51514
51514
  "type": "type(struct IMarginManager.tradePosition storage pointer)"
51515
51515
  },
51516
51516
  "children": [
@@ -51519,7 +51519,7 @@
51519
51519
  "overloadedDeclarations": [
51520
51520
  null
51521
51521
  ],
51522
- "referencedDeclaration": 11479,
51522
+ "referencedDeclaration": 11481,
51523
51523
  "type": "type(contract IMarginManager)",
51524
51524
  "value": "IMarginManager"
51525
51525
  },
@@ -51576,7 +51576,7 @@
51576
51576
  "isPure": false,
51577
51577
  "lValueRequested": false,
51578
51578
  "member_name": "tokenIn",
51579
- "referencedDeclaration": 11498,
51579
+ "referencedDeclaration": 11500,
51580
51580
  "type": "address"
51581
51581
  },
51582
51582
  "children": [
@@ -51637,7 +51637,7 @@
51637
51637
  "isPure": false,
51638
51638
  "lValueRequested": false,
51639
51639
  "member_name": "party",
51640
- "referencedDeclaration": 11504,
51640
+ "referencedDeclaration": 11506,
51641
51641
  "type": "address"
51642
51642
  },
51643
51643
  "children": [
@@ -51757,7 +51757,7 @@
51757
51757
  "isPure": false,
51758
51758
  "lValueRequested": false,
51759
51759
  "member_name": "tokenIn",
51760
- "referencedDeclaration": 11498,
51760
+ "referencedDeclaration": 11500,
51761
51761
  "type": "address"
51762
51762
  },
51763
51763
  "children": [
@@ -51818,7 +51818,7 @@
51818
51818
  "isPure": false,
51819
51819
  "lValueRequested": false,
51820
51820
  "member_name": "party",
51821
- "referencedDeclaration": 11504,
51821
+ "referencedDeclaration": 11506,
51822
51822
  "type": "address"
51823
51823
  },
51824
51824
  "children": [
@@ -51992,7 +51992,7 @@
51992
51992
  "attributes": {
51993
51993
  "argumentTypes": [
51994
51994
  {
51995
- "typeIdentifier": "t_struct$_tradePosition_$11334_memory_ptr",
51995
+ "typeIdentifier": "t_struct$_tradePosition_$11336_memory_ptr",
51996
51996
  "typeString": "struct IMarginManager.tradePosition memory"
51997
51997
  }
51998
51998
  ],
@@ -52329,7 +52329,7 @@
52329
52329
  {
52330
52330
  "attributes": {
52331
52331
  "name": "IMarginOrder.order",
52332
- "referencedDeclaration": 11507,
52332
+ "referencedDeclaration": 11509,
52333
52333
  "type": "struct IMarginOrder.order"
52334
52334
  },
52335
52335
  "id": 4864,
@@ -52485,7 +52485,7 @@
52485
52485
  "isPure": false,
52486
52486
  "lValueRequested": false,
52487
52487
  "member_name": "tokenIn",
52488
- "referencedDeclaration": 11498,
52488
+ "referencedDeclaration": 11500,
52489
52489
  "type": "address"
52490
52490
  },
52491
52491
  "children": [
@@ -52779,7 +52779,7 @@
52779
52779
  {
52780
52780
  "attributes": {
52781
52781
  "baseFunctions": [
52782
- 11391
52782
+ 11393
52783
52783
  ],
52784
52784
  "functionSelector": "6b0fd140",
52785
52785
  "implemented": true,
@@ -53411,7 +53411,7 @@
53411
53411
  "isPure": false,
53412
53412
  "lValueRequested": false,
53413
53413
  "member_name": "getOrderbook",
53414
- "referencedDeclaration": 11597,
53414
+ "referencedDeclaration": 11599,
53415
53415
  "type": "function () view external returns (address)"
53416
53416
  },
53417
53417
  "children": [
@@ -53441,7 +53441,7 @@
53441
53441
  "overloadedDeclarations": [
53442
53442
  null
53443
53443
  ],
53444
- "referencedDeclaration": 11613,
53444
+ "referencedDeclaration": 11615,
53445
53445
  "type": "type(contract IMarginTradingPool)",
53446
53446
  "value": "IMarginTradingPool"
53447
53447
  },
@@ -53600,7 +53600,7 @@
53600
53600
  "isPure": false,
53601
53601
  "lValueRequested": false,
53602
53602
  "member_name": "tokenIn",
53603
- "referencedDeclaration": 11498,
53603
+ "referencedDeclaration": 11500,
53604
53604
  "type": "address"
53605
53605
  },
53606
53606
  "children": [
@@ -53632,7 +53632,7 @@
53632
53632
  "isPure": false,
53633
53633
  "lValueRequested": false,
53634
53634
  "member_name": "getOrder",
53635
- "referencedDeclaration": 11534,
53635
+ "referencedDeclaration": 11536,
53636
53636
  "type": "function (bytes32) view external returns (struct IMarginOrder.order memory)"
53637
53637
  },
53638
53638
  "children": [
@@ -53662,7 +53662,7 @@
53662
53662
  "overloadedDeclarations": [
53663
53663
  null
53664
53664
  ],
53665
- "referencedDeclaration": 11569,
53665
+ "referencedDeclaration": 11571,
53666
53666
  "type": "type(contract IMarginOrder)",
53667
53667
  "value": "IMarginOrder"
53668
53668
  },
@@ -53741,7 +53741,7 @@
53741
53741
  "isPure": false,
53742
53742
  "lValueRequested": false,
53743
53743
  "member_name": "party",
53744
- "referencedDeclaration": 11504,
53744
+ "referencedDeclaration": 11506,
53745
53745
  "type": "address"
53746
53746
  },
53747
53747
  "children": [
@@ -53773,7 +53773,7 @@
53773
53773
  "isPure": false,
53774
53774
  "lValueRequested": false,
53775
53775
  "member_name": "getOrder",
53776
- "referencedDeclaration": 11534,
53776
+ "referencedDeclaration": 11536,
53777
53777
  "type": "function (bytes32) view external returns (struct IMarginOrder.order memory)"
53778
53778
  },
53779
53779
  "children": [
@@ -53803,7 +53803,7 @@
53803
53803
  "overloadedDeclarations": [
53804
53804
  null
53805
53805
  ],
53806
- "referencedDeclaration": 11569,
53806
+ "referencedDeclaration": 11571,
53807
53807
  "type": "type(contract IMarginOrder)",
53808
53808
  "value": "IMarginOrder"
53809
53809
  },
@@ -53864,7 +53864,7 @@
53864
53864
  "isPure": false,
53865
53865
  "lValueRequested": false,
53866
53866
  "member_name": "party",
53867
- "referencedDeclaration": 11504,
53867
+ "referencedDeclaration": 11506,
53868
53868
  "type": "address"
53869
53869
  },
53870
53870
  "children": [
@@ -53896,7 +53896,7 @@
53896
53896
  "isPure": false,
53897
53897
  "lValueRequested": false,
53898
53898
  "member_name": "getOrder",
53899
- "referencedDeclaration": 11534,
53899
+ "referencedDeclaration": 11536,
53900
53900
  "type": "function (bytes32) view external returns (struct IMarginOrder.order memory)"
53901
53901
  },
53902
53902
  "children": [
@@ -53926,7 +53926,7 @@
53926
53926
  "overloadedDeclarations": [
53927
53927
  null
53928
53928
  ],
53929
- "referencedDeclaration": 11569,
53929
+ "referencedDeclaration": 11571,
53930
53930
  "type": "type(contract IMarginOrder)",
53931
53931
  "value": "IMarginOrder"
53932
53932
  },
@@ -54036,7 +54036,7 @@
54036
54036
  "isPure": false,
54037
54037
  "lValueRequested": false,
54038
54038
  "member_name": "reportTrade",
54039
- "referencedDeclaration": 11568,
54039
+ "referencedDeclaration": 11570,
54040
54040
  "type": "function (bytes32,bytes32,uint256,uint256,uint256) external"
54041
54041
  },
54042
54042
  "children": [
@@ -54066,7 +54066,7 @@
54066
54066
  "overloadedDeclarations": [
54067
54067
  null
54068
54068
  ],
54069
- "referencedDeclaration": 11569,
54069
+ "referencedDeclaration": 11571,
54070
54070
  "type": "type(contract IMarginOrder)",
54071
54071
  "value": "IMarginOrder"
54072
54072
  },
@@ -54448,7 +54448,7 @@
54448
54448
  {
54449
54449
  "attributes": {
54450
54450
  "name": "IMarginManager.tradePosition",
54451
- "referencedDeclaration": 11334,
54451
+ "referencedDeclaration": 11336,
54452
54452
  "type": "struct IMarginManager.tradePosition"
54453
54453
  },
54454
54454
  "id": 5010,
@@ -54613,7 +54613,7 @@
54613
54613
  "isPure": false,
54614
54614
  "lValueRequested": true,
54615
54615
  "member_name": "timestamp",
54616
- "referencedDeclaration": 11333,
54616
+ "referencedDeclaration": 11335,
54617
54617
  "type": "uint256"
54618
54618
  },
54619
54619
  "children": [
@@ -54881,7 +54881,7 @@
54881
54881
  "isPure": false,
54882
54882
  "lValueRequested": true,
54883
54883
  "member_name": "timestamp",
54884
- "referencedDeclaration": 11333,
54884
+ "referencedDeclaration": 11335,
54885
54885
  "type": "uint256"
54886
54886
  },
54887
54887
  "children": [
@@ -54955,7 +54955,7 @@
54955
54955
  {
54956
54956
  "attributes": {
54957
54957
  "name": "IMarginManager.tradePosition",
54958
- "referencedDeclaration": 11334,
54958
+ "referencedDeclaration": 11336,
54959
54959
  "type": "struct IMarginManager.tradePosition"
54960
54960
  },
54961
54961
  "id": 5054,
@@ -55229,7 +55229,7 @@
55229
55229
  "isPure": false,
55230
55230
  "lValueRequested": false,
55231
55231
  "member_name": "buyer",
55232
- "referencedDeclaration": 11321,
55232
+ "referencedDeclaration": 11323,
55233
55233
  "type": "address"
55234
55234
  },
55235
55235
  "children": [
@@ -55366,7 +55366,7 @@
55366
55366
  "isPure": false,
55367
55367
  "lValueRequested": false,
55368
55368
  "member_name": "buyer",
55369
- "referencedDeclaration": 11321,
55369
+ "referencedDeclaration": 11323,
55370
55370
  "type": "address"
55371
55371
  },
55372
55372
  "children": [
@@ -55461,7 +55461,7 @@
55461
55461
  "isPure": false,
55462
55462
  "lValueRequested": false,
55463
55463
  "member_name": "marginCollateral",
55464
- "referencedDeclaration": 11331,
55464
+ "referencedDeclaration": 11333,
55465
55465
  "type": "uint256"
55466
55466
  },
55467
55467
  "children": [
@@ -55694,7 +55694,7 @@
55694
55694
  "isPure": false,
55695
55695
  "lValueRequested": false,
55696
55696
  "member_name": "buyer",
55697
- "referencedDeclaration": 11321,
55697
+ "referencedDeclaration": 11323,
55698
55698
  "type": "address"
55699
55699
  },
55700
55700
  "children": [
@@ -55767,7 +55767,7 @@
55767
55767
  "isPure": false,
55768
55768
  "lValueRequested": false,
55769
55769
  "member_name": "buyer",
55770
- "referencedDeclaration": 11321,
55770
+ "referencedDeclaration": 11323,
55771
55771
  "type": "address"
55772
55772
  },
55773
55773
  "children": [
@@ -56104,7 +56104,7 @@
56104
56104
  "isPure": false,
56105
56105
  "lValueRequested": false,
56106
56106
  "member_name": "buyer",
56107
- "referencedDeclaration": 11321,
56107
+ "referencedDeclaration": 11323,
56108
56108
  "type": "address"
56109
56109
  },
56110
56110
  "children": [
@@ -56241,7 +56241,7 @@
56241
56241
  "isPure": false,
56242
56242
  "lValueRequested": false,
56243
56243
  "member_name": "buyer",
56244
- "referencedDeclaration": 11321,
56244
+ "referencedDeclaration": 11323,
56245
56245
  "type": "address"
56246
56246
  },
56247
56247
  "children": [
@@ -56336,7 +56336,7 @@
56336
56336
  "isPure": false,
56337
56337
  "lValueRequested": false,
56338
56338
  "member_name": "marginCollateral",
56339
- "referencedDeclaration": 11331,
56339
+ "referencedDeclaration": 11333,
56340
56340
  "type": "uint256"
56341
56341
  },
56342
56342
  "children": [
@@ -56569,7 +56569,7 @@
56569
56569
  "isPure": false,
56570
56570
  "lValueRequested": false,
56571
56571
  "member_name": "buyer",
56572
- "referencedDeclaration": 11321,
56572
+ "referencedDeclaration": 11323,
56573
56573
  "type": "address"
56574
56574
  },
56575
56575
  "children": [
@@ -56642,7 +56642,7 @@
56642
56642
  "isPure": false,
56643
56643
  "lValueRequested": false,
56644
56644
  "member_name": "buyer",
56645
- "referencedDeclaration": 11321,
56645
+ "referencedDeclaration": 11323,
56646
56646
  "type": "address"
56647
56647
  },
56648
56648
  "children": [
@@ -57068,7 +57068,7 @@
57068
57068
  "isPure": false,
57069
57069
  "lValueRequested": false,
57070
57070
  "member_name": "getPoolId",
57071
- "referencedDeclaration": 11517,
57071
+ "referencedDeclaration": 11519,
57072
57072
  "type": "function () view external returns (bytes32)"
57073
57073
  },
57074
57074
  "children": [
@@ -57098,7 +57098,7 @@
57098
57098
  "overloadedDeclarations": [
57099
57099
  null
57100
57100
  ],
57101
- "referencedDeclaration": 11569,
57101
+ "referencedDeclaration": 11571,
57102
57102
  "type": "type(contract IMarginOrder)",
57103
57103
  "value": "IMarginOrder"
57104
57104
  },
@@ -57164,7 +57164,7 @@
57164
57164
  "isPure": false,
57165
57165
  "lValueRequested": false,
57166
57166
  "member_name": "party",
57167
- "referencedDeclaration": 11504,
57167
+ "referencedDeclaration": 11506,
57168
57168
  "type": "address"
57169
57169
  },
57170
57170
  "children": [
@@ -57196,7 +57196,7 @@
57196
57196
  "isPure": false,
57197
57197
  "lValueRequested": false,
57198
57198
  "member_name": "getOrder",
57199
- "referencedDeclaration": 11534,
57199
+ "referencedDeclaration": 11536,
57200
57200
  "type": "function (bytes32) view external returns (struct IMarginOrder.order memory)"
57201
57201
  },
57202
57202
  "children": [
@@ -57226,7 +57226,7 @@
57226
57226
  "overloadedDeclarations": [
57227
57227
  null
57228
57228
  ],
57229
- "referencedDeclaration": 11569,
57229
+ "referencedDeclaration": 11571,
57230
57230
  "type": "type(contract IMarginOrder)",
57231
57231
  "value": "IMarginOrder"
57232
57232
  },
@@ -57305,7 +57305,7 @@
57305
57305
  "isPure": false,
57306
57306
  "lValueRequested": false,
57307
57307
  "member_name": "party",
57308
- "referencedDeclaration": 11504,
57308
+ "referencedDeclaration": 11506,
57309
57309
  "type": "address"
57310
57310
  },
57311
57311
  "children": [
@@ -57337,7 +57337,7 @@
57337
57337
  "isPure": false,
57338
57338
  "lValueRequested": false,
57339
57339
  "member_name": "getOrder",
57340
- "referencedDeclaration": 11534,
57340
+ "referencedDeclaration": 11536,
57341
57341
  "type": "function (bytes32) view external returns (struct IMarginOrder.order memory)"
57342
57342
  },
57343
57343
  "children": [
@@ -57367,7 +57367,7 @@
57367
57367
  "overloadedDeclarations": [
57368
57368
  null
57369
57369
  ],
57370
- "referencedDeclaration": 11569,
57370
+ "referencedDeclaration": 11571,
57371
57371
  "type": "type(contract IMarginOrder)",
57372
57372
  "value": "IMarginOrder"
57373
57373
  },
@@ -57428,7 +57428,7 @@
57428
57428
  "isPure": false,
57429
57429
  "lValueRequested": false,
57430
57430
  "member_name": "party",
57431
- "referencedDeclaration": 11504,
57431
+ "referencedDeclaration": 11506,
57432
57432
  "type": "address"
57433
57433
  },
57434
57434
  "children": [
@@ -57460,7 +57460,7 @@
57460
57460
  "isPure": false,
57461
57461
  "lValueRequested": false,
57462
57462
  "member_name": "getOrder",
57463
- "referencedDeclaration": 11534,
57463
+ "referencedDeclaration": 11536,
57464
57464
  "type": "function (bytes32) view external returns (struct IMarginOrder.order memory)"
57465
57465
  },
57466
57466
  "children": [
@@ -57490,7 +57490,7 @@
57490
57490
  "overloadedDeclarations": [
57491
57491
  null
57492
57492
  ],
57493
- "referencedDeclaration": 11569,
57493
+ "referencedDeclaration": 11571,
57494
57494
  "type": "type(contract IMarginOrder)",
57495
57495
  "value": "IMarginOrder"
57496
57496
  },
@@ -57603,7 +57603,7 @@
57603
57603
  "isPure": false,
57604
57604
  "lValueRequested": false,
57605
57605
  "member_name": "getSecurity",
57606
- "referencedDeclaration": 11522,
57606
+ "referencedDeclaration": 11524,
57607
57607
  "type": "function () view external returns (address)"
57608
57608
  },
57609
57609
  "children": [
@@ -57633,7 +57633,7 @@
57633
57633
  "overloadedDeclarations": [
57634
57634
  null
57635
57635
  ],
57636
- "referencedDeclaration": 11569,
57636
+ "referencedDeclaration": 11571,
57637
57637
  "type": "type(contract IMarginOrder)",
57638
57638
  "value": "IMarginOrder"
57639
57639
  },
@@ -57697,7 +57697,7 @@
57697
57697
  "isPure": false,
57698
57698
  "lValueRequested": false,
57699
57699
  "member_name": "getCurrency",
57700
- "referencedDeclaration": 11527,
57700
+ "referencedDeclaration": 11529,
57701
57701
  "type": "function () view external returns (address)"
57702
57702
  },
57703
57703
  "children": [
@@ -57727,7 +57727,7 @@
57727
57727
  "overloadedDeclarations": [
57728
57728
  null
57729
57729
  ],
57730
- "referencedDeclaration": 11569,
57730
+ "referencedDeclaration": 11571,
57731
57731
  "type": "type(contract IMarginOrder)",
57732
57732
  "value": "IMarginOrder"
57733
57733
  },
@@ -58061,7 +58061,7 @@
58061
58061
  "isPure": false,
58062
58062
  "lValueRequested": false,
58063
58063
  "member_name": "getFee",
58064
- "referencedDeclaration": 11612,
58064
+ "referencedDeclaration": 11614,
58065
58065
  "type": "function () view external returns (uint256)"
58066
58066
  },
58067
58067
  "children": [
@@ -58091,7 +58091,7 @@
58091
58091
  "overloadedDeclarations": [
58092
58092
  null
58093
58093
  ],
58094
- "referencedDeclaration": 11613,
58094
+ "referencedDeclaration": 11615,
58095
58095
  "type": "type(contract IMarginTradingPool)",
58096
58096
  "value": "IMarginTradingPool"
58097
58097
  },
@@ -58462,7 +58462,7 @@
58462
58462
  {
58463
58463
  "attributes": {
58464
58464
  "baseFunctions": [
58465
- 11444
58465
+ 11446
58466
58466
  ],
58467
58467
  "functionSelector": "20f55dfe",
58468
58468
  "implemented": true,
@@ -66163,7 +66163,7 @@
66163
66163
  {
66164
66164
  "attributes": {
66165
66165
  "baseFunctions": [
66166
- 11453
66166
+ 11455
66167
66167
  ],
66168
66168
  "functionSelector": "d9caed12",
66169
66169
  "implemented": true,
@@ -66641,7 +66641,7 @@
66641
66641
  {
66642
66642
  "attributes": {
66643
66643
  "name": "IMarginManager.tradePosition",
66644
- "referencedDeclaration": 11334,
66644
+ "referencedDeclaration": 11336,
66645
66645
  "type": "struct IMarginManager.tradePosition"
66646
66646
  },
66647
66647
  "id": 5847,
@@ -66789,7 +66789,7 @@
66789
66789
  "isPure": false,
66790
66790
  "lValueRequested": false,
66791
66791
  "member_name": "buyer",
66792
- "referencedDeclaration": 11321,
66792
+ "referencedDeclaration": 11323,
66793
66793
  "type": "address"
66794
66794
  },
66795
66795
  "children": [
@@ -66896,7 +66896,7 @@
66896
66896
  "isPure": false,
66897
66897
  "lValueRequested": false,
66898
66898
  "member_name": "buyer",
66899
- "referencedDeclaration": 11321,
66899
+ "referencedDeclaration": 11323,
66900
66900
  "type": "address"
66901
66901
  },
66902
66902
  "children": [
@@ -67083,7 +67083,7 @@
67083
67083
  "isPure": false,
67084
67084
  "lValueRequested": false,
67085
67085
  "member_name": "buyer",
67086
- "referencedDeclaration": 11321,
67086
+ "referencedDeclaration": 11323,
67087
67087
  "type": "address"
67088
67088
  },
67089
67089
  "children": [
@@ -67237,7 +67237,7 @@
67237
67237
  "isPure": false,
67238
67238
  "lValueRequested": false,
67239
67239
  "member_name": "buyer",
67240
- "referencedDeclaration": 11321,
67240
+ "referencedDeclaration": 11323,
67241
67241
  "type": "address"
67242
67242
  },
67243
67243
  "children": [
@@ -67340,7 +67340,7 @@
67340
67340
  "isPure": false,
67341
67341
  "lValueRequested": false,
67342
67342
  "member_name": "buyer",
67343
- "referencedDeclaration": 11321,
67343
+ "referencedDeclaration": 11323,
67344
67344
  "type": "address"
67345
67345
  },
67346
67346
  "children": [
@@ -67681,7 +67681,7 @@
67681
67681
  "isPure": false,
67682
67682
  "lValueRequested": false,
67683
67683
  "member_name": "buyer",
67684
- "referencedDeclaration": 11321,
67684
+ "referencedDeclaration": 11323,
67685
67685
  "type": "address"
67686
67686
  },
67687
67687
  "children": [
@@ -67820,7 +67820,7 @@
67820
67820
  "isPure": false,
67821
67821
  "lValueRequested": false,
67822
67822
  "member_name": "buyer",
67823
- "referencedDeclaration": 11321,
67823
+ "referencedDeclaration": 11323,
67824
67824
  "type": "address"
67825
67825
  },
67826
67826
  "children": [
@@ -67893,7 +67893,7 @@
67893
67893
  "isPure": false,
67894
67894
  "lValueRequested": false,
67895
67895
  "member_name": "buyer",
67896
- "referencedDeclaration": 11321,
67896
+ "referencedDeclaration": 11323,
67897
67897
  "type": "address"
67898
67898
  },
67899
67899
  "children": [
@@ -68149,7 +68149,7 @@
68149
68149
  "isPure": false,
68150
68150
  "lValueRequested": false,
68151
68151
  "member_name": "buyer",
68152
- "referencedDeclaration": 11321,
68152
+ "referencedDeclaration": 11323,
68153
68153
  "type": "address"
68154
68154
  },
68155
68155
  "children": [
@@ -68264,7 +68264,7 @@
68264
68264
  "isPure": false,
68265
68265
  "lValueRequested": false,
68266
68266
  "member_name": "buyer",
68267
- "referencedDeclaration": 11321,
68267
+ "referencedDeclaration": 11323,
68268
68268
  "type": "address"
68269
68269
  },
68270
68270
  "children": [
@@ -68443,7 +68443,7 @@
68443
68443
  "isPure": false,
68444
68444
  "lValueRequested": false,
68445
68445
  "member_name": "buyer",
68446
- "referencedDeclaration": 11321,
68446
+ "referencedDeclaration": 11323,
68447
68447
  "type": "address"
68448
68448
  },
68449
68449
  "children": [
@@ -68790,7 +68790,7 @@
68790
68790
  "isPure": false,
68791
68791
  "lValueRequested": false,
68792
68792
  "member_name": "buyer",
68793
- "referencedDeclaration": 11321,
68793
+ "referencedDeclaration": 11323,
68794
68794
  "type": "address"
68795
68795
  },
68796
68796
  "children": [
@@ -68974,7 +68974,7 @@
68974
68974
  "isPure": false,
68975
68975
  "lValueRequested": false,
68976
68976
  "member_name": "buyer",
68977
- "referencedDeclaration": 11321,
68977
+ "referencedDeclaration": 11323,
68978
68978
  "type": "address"
68979
68979
  },
68980
68980
  "children": [
@@ -69111,7 +69111,7 @@
69111
69111
  "isPure": false,
69112
69112
  "lValueRequested": false,
69113
69113
  "member_name": "buyer",
69114
- "referencedDeclaration": 11321,
69114
+ "referencedDeclaration": 11323,
69115
69115
  "type": "address"
69116
69116
  },
69117
69117
  "children": [
@@ -69335,7 +69335,7 @@
69335
69335
  "isPure": false,
69336
69336
  "lValueRequested": false,
69337
69337
  "member_name": "seller",
69338
- "referencedDeclaration": 11323,
69338
+ "referencedDeclaration": 11325,
69339
69339
  "type": "address"
69340
69340
  },
69341
69341
  "children": [
@@ -69442,7 +69442,7 @@
69442
69442
  "isPure": false,
69443
69443
  "lValueRequested": false,
69444
69444
  "member_name": "seller",
69445
- "referencedDeclaration": 11323,
69445
+ "referencedDeclaration": 11325,
69446
69446
  "type": "address"
69447
69447
  },
69448
69448
  "children": [
@@ -69629,7 +69629,7 @@
69629
69629
  "isPure": false,
69630
69630
  "lValueRequested": false,
69631
69631
  "member_name": "seller",
69632
- "referencedDeclaration": 11323,
69632
+ "referencedDeclaration": 11325,
69633
69633
  "type": "address"
69634
69634
  },
69635
69635
  "children": [
@@ -69783,7 +69783,7 @@
69783
69783
  "isPure": false,
69784
69784
  "lValueRequested": false,
69785
69785
  "member_name": "seller",
69786
- "referencedDeclaration": 11323,
69786
+ "referencedDeclaration": 11325,
69787
69787
  "type": "address"
69788
69788
  },
69789
69789
  "children": [
@@ -69886,7 +69886,7 @@
69886
69886
  "isPure": false,
69887
69887
  "lValueRequested": false,
69888
69888
  "member_name": "seller",
69889
- "referencedDeclaration": 11323,
69889
+ "referencedDeclaration": 11325,
69890
69890
  "type": "address"
69891
69891
  },
69892
69892
  "children": [
@@ -70227,7 +70227,7 @@
70227
70227
  "isPure": false,
70228
70228
  "lValueRequested": false,
70229
70229
  "member_name": "seller",
70230
- "referencedDeclaration": 11323,
70230
+ "referencedDeclaration": 11325,
70231
70231
  "type": "address"
70232
70232
  },
70233
70233
  "children": [
@@ -70366,7 +70366,7 @@
70366
70366
  "isPure": false,
70367
70367
  "lValueRequested": false,
70368
70368
  "member_name": "seller",
70369
- "referencedDeclaration": 11323,
70369
+ "referencedDeclaration": 11325,
70370
70370
  "type": "address"
70371
70371
  },
70372
70372
  "children": [
@@ -70439,7 +70439,7 @@
70439
70439
  "isPure": false,
70440
70440
  "lValueRequested": false,
70441
70441
  "member_name": "seller",
70442
- "referencedDeclaration": 11323,
70442
+ "referencedDeclaration": 11325,
70443
70443
  "type": "address"
70444
70444
  },
70445
70445
  "children": [
@@ -70695,7 +70695,7 @@
70695
70695
  "isPure": false,
70696
70696
  "lValueRequested": false,
70697
70697
  "member_name": "seller",
70698
- "referencedDeclaration": 11323,
70698
+ "referencedDeclaration": 11325,
70699
70699
  "type": "address"
70700
70700
  },
70701
70701
  "children": [
@@ -70810,7 +70810,7 @@
70810
70810
  "isPure": false,
70811
70811
  "lValueRequested": false,
70812
70812
  "member_name": "seller",
70813
- "referencedDeclaration": 11323,
70813
+ "referencedDeclaration": 11325,
70814
70814
  "type": "address"
70815
70815
  },
70816
70816
  "children": [
@@ -70989,7 +70989,7 @@
70989
70989
  "isPure": false,
70990
70990
  "lValueRequested": false,
70991
70991
  "member_name": "seller",
70992
- "referencedDeclaration": 11323,
70992
+ "referencedDeclaration": 11325,
70993
70993
  "type": "address"
70994
70994
  },
70995
70995
  "children": [
@@ -71336,7 +71336,7 @@
71336
71336
  "isPure": false,
71337
71337
  "lValueRequested": false,
71338
71338
  "member_name": "seller",
71339
- "referencedDeclaration": 11323,
71339
+ "referencedDeclaration": 11325,
71340
71340
  "type": "address"
71341
71341
  },
71342
71342
  "children": [
@@ -71520,7 +71520,7 @@
71520
71520
  "isPure": false,
71521
71521
  "lValueRequested": false,
71522
71522
  "member_name": "seller",
71523
- "referencedDeclaration": 11323,
71523
+ "referencedDeclaration": 11325,
71524
71524
  "type": "address"
71525
71525
  },
71526
71526
  "children": [
@@ -71657,7 +71657,7 @@
71657
71657
  "isPure": false,
71658
71658
  "lValueRequested": false,
71659
71659
  "member_name": "seller",
71660
- "referencedDeclaration": 11323,
71660
+ "referencedDeclaration": 11325,
71661
71661
  "type": "address"
71662
71662
  },
71663
71663
  "children": [
@@ -71876,7 +71876,7 @@
71876
71876
  {
71877
71877
  "attributes": {
71878
71878
  "baseFunctions": [
71879
- 11405
71879
+ 11407
71880
71880
  ],
71881
71881
  "functionSelector": "2d916746",
71882
71882
  "implemented": true,
@@ -73846,598 +73846,12 @@
73846
73846
  }
73847
73847
  },
73848
73848
  "links": {},
73849
- "address": "0x8046b6969756478535BF827f4633BEcD98F23B7c",
73850
- "transactionHash": "0xd65cef16caf562368039600bcfee4c2db81ce9127d44efab6912daf2b738d33b"
73851
- },
73852
- "1737639970123": {
73853
- "events": {
73854
- "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": {
73855
- "anonymous": false,
73856
- "inputs": [
73857
- {
73858
- "indexed": true,
73859
- "internalType": "address",
73860
- "name": "previousOwner",
73861
- "type": "address"
73862
- },
73863
- {
73864
- "indexed": true,
73865
- "internalType": "address",
73866
- "name": "newOwner",
73867
- "type": "address"
73868
- }
73869
- ],
73870
- "name": "OwnershipTransferred",
73871
- "type": "event"
73872
- },
73873
- "0xf76f10f0e1a4d96de83e72f10dc6773179bdcf79f2ba735893488e0913d99959": {
73874
- "anonymous": false,
73875
- "inputs": [
73876
- {
73877
- "indexed": true,
73878
- "internalType": "address",
73879
- "name": "user",
73880
- "type": "address"
73881
- },
73882
- {
73883
- "indexed": false,
73884
- "internalType": "address",
73885
- "name": "security",
73886
- "type": "address"
73887
- },
73888
- {
73889
- "indexed": false,
73890
- "internalType": "address",
73891
- "name": "currency",
73892
- "type": "address"
73893
- },
73894
- {
73895
- "indexed": false,
73896
- "internalType": "int256",
73897
- "name": "financing",
73898
- "type": "int256"
73899
- },
73900
- {
73901
- "indexed": false,
73902
- "internalType": "int256",
73903
- "name": "dividend",
73904
- "type": "int256"
73905
- },
73906
- {
73907
- "indexed": false,
73908
- "internalType": "int256",
73909
- "name": "commission",
73910
- "type": "int256"
73911
- },
73912
- {
73913
- "indexed": false,
73914
- "internalType": "uint256",
73915
- "name": "settlementTime",
73916
- "type": "uint256"
73917
- }
73918
- ],
73919
- "name": "PnLSettled",
73920
- "type": "event"
73921
- },
73922
- "0x56eadf552f1d54f8f73fbbf801097c1c4d7bb3d77d5ac2bebfd0a8151642d55a": {
73923
- "anonymous": false,
73924
- "inputs": [
73925
- {
73926
- "indexed": true,
73927
- "internalType": "bytes32",
73928
- "name": "poolId",
73929
- "type": "bytes32"
73930
- },
73931
- {
73932
- "indexed": false,
73933
- "internalType": "address",
73934
- "name": "security",
73935
- "type": "address"
73936
- },
73937
- {
73938
- "indexed": false,
73939
- "internalType": "uint256",
73940
- "name": "timestamp",
73941
- "type": "uint256"
73942
- }
73943
- ],
73944
- "name": "closures",
73945
- "type": "event"
73946
- },
73947
- "0x9729135f54e0b4d82a83f156404c915e7232ec9706f1de0aea769af82cc1f8ea": {
73948
- "anonymous": false,
73949
- "inputs": [
73950
- {
73951
- "indexed": false,
73952
- "internalType": "bytes32",
73953
- "name": "action",
73954
- "type": "bytes32"
73955
- },
73956
- {
73957
- "indexed": true,
73958
- "internalType": "address",
73959
- "name": "user",
73960
- "type": "address"
73961
- },
73962
- {
73963
- "indexed": false,
73964
- "internalType": "address",
73965
- "name": "currency",
73966
- "type": "address"
73967
- },
73968
- {
73969
- "indexed": false,
73970
- "internalType": "int256",
73971
- "name": "balance",
73972
- "type": "int256"
73973
- },
73974
- {
73975
- "indexed": false,
73976
- "internalType": "uint256",
73977
- "name": "offerTime",
73978
- "type": "uint256"
73979
- }
73980
- ],
73981
- "name": "collateral",
73982
- "type": "event"
73983
- },
73984
- "0xeaad90c8664cdf61d60bd7ba6745a881fd1c38d9f4ff0b373b4365cdeeb0f9e8": {
73985
- "anonymous": false,
73986
- "inputs": [
73987
- {
73988
- "indexed": true,
73989
- "internalType": "address",
73990
- "name": "platform",
73991
- "type": "address"
73992
- },
73993
- {
73994
- "indexed": false,
73995
- "internalType": "uint256",
73996
- "name": "collection",
73997
- "type": "uint256"
73998
- },
73999
- {
74000
- "indexed": false,
74001
- "internalType": "uint256",
74002
- "name": "timestamp",
74003
- "type": "uint256"
74004
- }
74005
- ],
74006
- "name": "feecollection",
74007
- "type": "event"
74008
- },
74009
- "0x4f21132feec602e5e9588b602a7ede709b68eed293452dd8745c2c80cb3c3f11": {
74010
- "anonymous": false,
74011
- "inputs": [
74012
- {
74013
- "indexed": false,
74014
- "internalType": "address",
74015
- "name": "party",
74016
- "type": "address"
74017
- },
74018
- {
74019
- "indexed": false,
74020
- "internalType": "address",
74021
- "name": "counterparty",
74022
- "type": "address"
74023
- },
74024
- {
74025
- "indexed": true,
74026
- "internalType": "address",
74027
- "name": "securityTraded",
74028
- "type": "address"
74029
- },
74030
- {
74031
- "indexed": false,
74032
- "internalType": "uint256",
74033
- "name": "securityAmount",
74034
- "type": "uint256"
74035
- },
74036
- {
74037
- "indexed": false,
74038
- "internalType": "address",
74039
- "name": "currencySettled",
74040
- "type": "address"
74041
- },
74042
- {
74043
- "indexed": false,
74044
- "internalType": "uint256",
74045
- "name": "cashAmount",
74046
- "type": "uint256"
74047
- },
74048
- {
74049
- "indexed": false,
74050
- "internalType": "bytes32",
74051
- "name": "orderRef",
74052
- "type": "bytes32"
74053
- },
74054
- {
74055
- "indexed": false,
74056
- "internalType": "uint256",
74057
- "name": "timestamp",
74058
- "type": "uint256"
74059
- }
74060
- ],
74061
- "name": "subscribers",
74062
- "type": "event"
74063
- },
74064
- "0xbe8183e0bf67f74150edc1b1b2ff1b35ca15cb451161a42e3c428c208c46f38f": {
74065
- "anonymous": false,
74066
- "inputs": [
74067
- {
74068
- "indexed": true,
74069
- "internalType": "bytes32",
74070
- "name": "poolid",
74071
- "type": "bytes32"
74072
- },
74073
- {
74074
- "indexed": false,
74075
- "internalType": "address",
74076
- "name": "transferor",
74077
- "type": "address"
74078
- },
74079
- {
74080
- "indexed": false,
74081
- "internalType": "address",
74082
- "name": "transferee",
74083
- "type": "address"
74084
- },
74085
- {
74086
- "indexed": false,
74087
- "internalType": "uint256",
74088
- "name": "unitsToTransfer",
74089
- "type": "uint256"
74090
- },
74091
- {
74092
- "indexed": false,
74093
- "internalType": "address",
74094
- "name": "security",
74095
- "type": "address"
74096
- },
74097
- {
74098
- "indexed": false,
74099
- "internalType": "address",
74100
- "name": "currency",
74101
- "type": "address"
74102
- },
74103
- {
74104
- "indexed": false,
74105
- "internalType": "uint256",
74106
- "name": "amountPaid",
74107
- "type": "uint256"
74108
- },
74109
- {
74110
- "indexed": false,
74111
- "internalType": "bytes32",
74112
- "name": "cref",
74113
- "type": "bytes32"
74114
- },
74115
- {
74116
- "indexed": false,
74117
- "internalType": "bytes32",
74118
- "name": "ref",
74119
- "type": "bytes32"
74120
- },
74121
- {
74122
- "indexed": false,
74123
- "internalType": "uint256",
74124
- "name": "fee",
74125
- "type": "uint256"
74126
- },
74127
- {
74128
- "indexed": false,
74129
- "internalType": "uint256",
74130
- "name": "timestamp",
74131
- "type": "uint256"
74132
- }
74133
- ],
74134
- "name": "tradeSettled",
74135
- "type": "event"
74136
- }
74137
- },
74138
- "links": {},
74139
- "address": "0xa81d67d4ffcC82E3c9825A8e6c789a2CA4227Ecd",
74140
- "transactionHash": "0x79ed380483a04b2b993c5510de9c69614036606951cacb8234af7ea699eae5b9"
74141
- },
74142
- "1737641283957": {
74143
- "events": {
74144
- "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": {
74145
- "anonymous": false,
74146
- "inputs": [
74147
- {
74148
- "indexed": true,
74149
- "internalType": "address",
74150
- "name": "previousOwner",
74151
- "type": "address"
74152
- },
74153
- {
74154
- "indexed": true,
74155
- "internalType": "address",
74156
- "name": "newOwner",
74157
- "type": "address"
74158
- }
74159
- ],
74160
- "name": "OwnershipTransferred",
74161
- "type": "event"
74162
- },
74163
- "0xf76f10f0e1a4d96de83e72f10dc6773179bdcf79f2ba735893488e0913d99959": {
74164
- "anonymous": false,
74165
- "inputs": [
74166
- {
74167
- "indexed": true,
74168
- "internalType": "address",
74169
- "name": "user",
74170
- "type": "address"
74171
- },
74172
- {
74173
- "indexed": false,
74174
- "internalType": "address",
74175
- "name": "security",
74176
- "type": "address"
74177
- },
74178
- {
74179
- "indexed": false,
74180
- "internalType": "address",
74181
- "name": "currency",
74182
- "type": "address"
74183
- },
74184
- {
74185
- "indexed": false,
74186
- "internalType": "int256",
74187
- "name": "financing",
74188
- "type": "int256"
74189
- },
74190
- {
74191
- "indexed": false,
74192
- "internalType": "int256",
74193
- "name": "dividend",
74194
- "type": "int256"
74195
- },
74196
- {
74197
- "indexed": false,
74198
- "internalType": "int256",
74199
- "name": "commission",
74200
- "type": "int256"
74201
- },
74202
- {
74203
- "indexed": false,
74204
- "internalType": "uint256",
74205
- "name": "settlementTime",
74206
- "type": "uint256"
74207
- }
74208
- ],
74209
- "name": "PnLSettled",
74210
- "type": "event"
74211
- },
74212
- "0x56eadf552f1d54f8f73fbbf801097c1c4d7bb3d77d5ac2bebfd0a8151642d55a": {
74213
- "anonymous": false,
74214
- "inputs": [
74215
- {
74216
- "indexed": true,
74217
- "internalType": "bytes32",
74218
- "name": "poolId",
74219
- "type": "bytes32"
74220
- },
74221
- {
74222
- "indexed": false,
74223
- "internalType": "address",
74224
- "name": "security",
74225
- "type": "address"
74226
- },
74227
- {
74228
- "indexed": false,
74229
- "internalType": "uint256",
74230
- "name": "timestamp",
74231
- "type": "uint256"
74232
- }
74233
- ],
74234
- "name": "closures",
74235
- "type": "event"
74236
- },
74237
- "0x9729135f54e0b4d82a83f156404c915e7232ec9706f1de0aea769af82cc1f8ea": {
74238
- "anonymous": false,
74239
- "inputs": [
74240
- {
74241
- "indexed": false,
74242
- "internalType": "bytes32",
74243
- "name": "action",
74244
- "type": "bytes32"
74245
- },
74246
- {
74247
- "indexed": true,
74248
- "internalType": "address",
74249
- "name": "user",
74250
- "type": "address"
74251
- },
74252
- {
74253
- "indexed": false,
74254
- "internalType": "address",
74255
- "name": "currency",
74256
- "type": "address"
74257
- },
74258
- {
74259
- "indexed": false,
74260
- "internalType": "int256",
74261
- "name": "balance",
74262
- "type": "int256"
74263
- },
74264
- {
74265
- "indexed": false,
74266
- "internalType": "uint256",
74267
- "name": "offerTime",
74268
- "type": "uint256"
74269
- }
74270
- ],
74271
- "name": "collateral",
74272
- "type": "event"
74273
- },
74274
- "0xeaad90c8664cdf61d60bd7ba6745a881fd1c38d9f4ff0b373b4365cdeeb0f9e8": {
74275
- "anonymous": false,
74276
- "inputs": [
74277
- {
74278
- "indexed": true,
74279
- "internalType": "address",
74280
- "name": "platform",
74281
- "type": "address"
74282
- },
74283
- {
74284
- "indexed": false,
74285
- "internalType": "uint256",
74286
- "name": "collection",
74287
- "type": "uint256"
74288
- },
74289
- {
74290
- "indexed": false,
74291
- "internalType": "uint256",
74292
- "name": "timestamp",
74293
- "type": "uint256"
74294
- }
74295
- ],
74296
- "name": "feecollection",
74297
- "type": "event"
74298
- },
74299
- "0x4f21132feec602e5e9588b602a7ede709b68eed293452dd8745c2c80cb3c3f11": {
74300
- "anonymous": false,
74301
- "inputs": [
74302
- {
74303
- "indexed": false,
74304
- "internalType": "address",
74305
- "name": "party",
74306
- "type": "address"
74307
- },
74308
- {
74309
- "indexed": false,
74310
- "internalType": "address",
74311
- "name": "counterparty",
74312
- "type": "address"
74313
- },
74314
- {
74315
- "indexed": true,
74316
- "internalType": "address",
74317
- "name": "securityTraded",
74318
- "type": "address"
74319
- },
74320
- {
74321
- "indexed": false,
74322
- "internalType": "uint256",
74323
- "name": "securityAmount",
74324
- "type": "uint256"
74325
- },
74326
- {
74327
- "indexed": false,
74328
- "internalType": "address",
74329
- "name": "currencySettled",
74330
- "type": "address"
74331
- },
74332
- {
74333
- "indexed": false,
74334
- "internalType": "uint256",
74335
- "name": "cashAmount",
74336
- "type": "uint256"
74337
- },
74338
- {
74339
- "indexed": false,
74340
- "internalType": "bytes32",
74341
- "name": "orderRef",
74342
- "type": "bytes32"
74343
- },
74344
- {
74345
- "indexed": false,
74346
- "internalType": "uint256",
74347
- "name": "timestamp",
74348
- "type": "uint256"
74349
- }
74350
- ],
74351
- "name": "subscribers",
74352
- "type": "event"
74353
- },
74354
- "0xbe8183e0bf67f74150edc1b1b2ff1b35ca15cb451161a42e3c428c208c46f38f": {
74355
- "anonymous": false,
74356
- "inputs": [
74357
- {
74358
- "indexed": true,
74359
- "internalType": "bytes32",
74360
- "name": "poolid",
74361
- "type": "bytes32"
74362
- },
74363
- {
74364
- "indexed": false,
74365
- "internalType": "address",
74366
- "name": "transferor",
74367
- "type": "address"
74368
- },
74369
- {
74370
- "indexed": false,
74371
- "internalType": "address",
74372
- "name": "transferee",
74373
- "type": "address"
74374
- },
74375
- {
74376
- "indexed": false,
74377
- "internalType": "uint256",
74378
- "name": "unitsToTransfer",
74379
- "type": "uint256"
74380
- },
74381
- {
74382
- "indexed": false,
74383
- "internalType": "address",
74384
- "name": "security",
74385
- "type": "address"
74386
- },
74387
- {
74388
- "indexed": false,
74389
- "internalType": "address",
74390
- "name": "currency",
74391
- "type": "address"
74392
- },
74393
- {
74394
- "indexed": false,
74395
- "internalType": "uint256",
74396
- "name": "amountPaid",
74397
- "type": "uint256"
74398
- },
74399
- {
74400
- "indexed": false,
74401
- "internalType": "bytes32",
74402
- "name": "cref",
74403
- "type": "bytes32"
74404
- },
74405
- {
74406
- "indexed": false,
74407
- "internalType": "bytes32",
74408
- "name": "ref",
74409
- "type": "bytes32"
74410
- },
74411
- {
74412
- "indexed": false,
74413
- "internalType": "uint256",
74414
- "name": "fee",
74415
- "type": "uint256"
74416
- },
74417
- {
74418
- "indexed": false,
74419
- "internalType": "uint256",
74420
- "name": "timestamp",
74421
- "type": "uint256"
74422
- }
74423
- ],
74424
- "name": "tradeSettled",
74425
- "type": "event"
74426
- }
74427
- },
74428
- "links": {},
74429
- "address": "0x63C75919e579107cb3ADb5Cb0e617b587D56388c",
74430
- "transactionHash": "0x5244383649cdf6f6ba5e276cc1d3d388e3db08d40069c7de0e3d5cd101cc4707"
74431
- },
74432
- "1737643787782": {
74433
- "events": {},
74434
- "links": {},
74435
- "address": "0xABc20b65a7BdCe554279f99664f0d9Ef4EdFaF79",
74436
- "transactionHash": "0xd3e9613c276095019468b76fd62944f44f1714be42137183b10a253e1f5fb835"
73849
+ "address": "0xe1eA3F8c5951C6EDF5e892CCCa854e07d8ec8dA0",
73850
+ "transactionHash": "0x71de5b8bde21601a364829849a3260fbeb860bc9d233975482f7909daa05a435"
74437
73851
  }
74438
73852
  },
74439
73853
  "schemaVersion": "3.4.3",
74440
- "updatedAt": "2025-02-25T00:57:25.689Z",
73854
+ "updatedAt": "2025-03-31T18:43:15.193Z",
74441
73855
  "networkType": "ethereum",
74442
73856
  "devdoc": {
74443
73857
  "kind": "dev",