lynx-client 0.0.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/dist/cjs/addresses/lensAddresses.js +29 -0
- package/dist/cjs/common/constants/contractEnums.js +138 -0
- package/dist/cjs/common/constants/feeIds.js +27 -0
- package/dist/cjs/common/constants/generalConstants.js +4 -0
- package/dist/cjs/common/constants/groupIds.js +27 -0
- package/dist/cjs/common/constants/pairIds.js +91 -0
- package/dist/cjs/common/constants/scales.js +24 -0
- package/dist/cjs/common/contractsIntegration/deployedContractsConnector.js +16 -0
- package/dist/cjs/common/priceFeeds/pyth/pythFeedConstants.js +63 -0
- package/dist/cjs/common/priceFeeds/pyth/pythFeedFunctions.js +11 -0
- package/dist/cjs/common/typechain/common.js +2 -0
- package/dist/cjs/common/typechain/contracts/Peripheral/Lens/IntentsVerifierLens.js +2 -0
- package/dist/cjs/common/typechain/contracts/Peripheral/Lens/LexLens.js +2 -0
- package/dist/cjs/common/typechain/contracts/Peripheral/Lens/TradingFloorLens.js +2 -0
- package/dist/cjs/common/typechain/contracts/Peripheral/Lens/TriggersAndPortalLens.js +2 -0
- package/dist/cjs/common/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.js +201 -0
- package/dist/cjs/common/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.js +2269 -0
- package/dist/cjs/common/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +1339 -0
- package/dist/cjs/common/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.js +253 -0
- package/dist/cjs/index.js +46 -0
- package/dist/cjs/utils/addresses.js +14 -0
- package/dist/cjs/utils/bignumbers.js +35 -0
- package/dist/cjs/utils/chainTypes.js +20 -0
- package/dist/cjs/utils/chipsCalculationsUtils.js +12 -0
- package/dist/cjs/utils/cloning.js +17 -0
- package/dist/cjs/utils/enumTypes.js +2 -0
- package/dist/cjs/utils/ethersTypes.js +51 -0
- package/dist/cjs/utils/hashes.js +8 -0
- package/dist/cjs/utils/leverageCalculationsUtils.js +25 -0
- package/dist/cjs/utils/lynxScalesUtils.js +20 -0
- package/dist/cjs/utils/types.js +3 -0
- package/dist/esm/addresses/lensAddresses.d.ts +27 -0
- package/dist/esm/addresses/lensAddresses.d.ts.map +1 -0
- package/dist/esm/addresses/lensAddresses.js +29 -0
- package/dist/esm/common/constants/contractEnums.d.ts +148 -0
- package/dist/esm/common/constants/contractEnums.d.ts.map +1 -0
- package/dist/esm/common/constants/contractEnums.js +138 -0
- package/dist/esm/common/constants/feeIds.d.ts +13 -0
- package/dist/esm/common/constants/feeIds.d.ts.map +1 -0
- package/dist/esm/common/constants/feeIds.js +27 -0
- package/dist/esm/common/constants/generalConstants.d.ts +2 -0
- package/dist/esm/common/constants/generalConstants.d.ts.map +1 -0
- package/dist/esm/common/constants/generalConstants.js +4 -0
- package/dist/esm/common/constants/groupIds.d.ts +15 -0
- package/dist/esm/common/constants/groupIds.d.ts.map +1 -0
- package/dist/esm/common/constants/groupIds.js +27 -0
- package/dist/esm/common/constants/pairIds.d.ts +40 -0
- package/dist/esm/common/constants/pairIds.d.ts.map +1 -0
- package/dist/esm/common/constants/pairIds.js +91 -0
- package/dist/esm/common/constants/scales.d.ts +16 -0
- package/dist/esm/common/constants/scales.d.ts.map +1 -0
- package/dist/esm/common/constants/scales.js +24 -0
- package/dist/esm/common/contractsIntegration/deployedContractsConnector.d.ts +7 -0
- package/dist/esm/common/contractsIntegration/deployedContractsConnector.d.ts.map +1 -0
- package/dist/esm/common/contractsIntegration/deployedContractsConnector.js +16 -0
- package/dist/esm/common/priceFeeds/pyth/pythFeedConstants.d.ts +5 -0
- package/dist/esm/common/priceFeeds/pyth/pythFeedConstants.d.ts.map +1 -0
- package/dist/esm/common/priceFeeds/pyth/pythFeedConstants.js +63 -0
- package/dist/esm/common/priceFeeds/pyth/pythFeedFunctions.d.ts +7 -0
- package/dist/esm/common/priceFeeds/pyth/pythFeedFunctions.d.ts.map +1 -0
- package/dist/esm/common/priceFeeds/pyth/pythFeedFunctions.js +11 -0
- package/dist/esm/common/typechain/common.d.ts +51 -0
- package/dist/esm/common/typechain/common.d.ts.map +1 -0
- package/dist/esm/common/typechain/common.js +2 -0
- package/dist/esm/common/typechain/contracts/Peripheral/Lens/IntentsVerifierLens.d.ts +102 -0
- package/dist/esm/common/typechain/contracts/Peripheral/Lens/IntentsVerifierLens.d.ts.map +1 -0
- package/dist/esm/common/typechain/contracts/Peripheral/Lens/IntentsVerifierLens.js +2 -0
- package/dist/esm/common/typechain/contracts/Peripheral/Lens/LexLens.d.ts +740 -0
- package/dist/esm/common/typechain/contracts/Peripheral/Lens/LexLens.d.ts.map +1 -0
- package/dist/esm/common/typechain/contracts/Peripheral/Lens/LexLens.js +2 -0
- package/dist/esm/common/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts +390 -0
- package/dist/esm/common/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts.map +1 -0
- package/dist/esm/common/typechain/contracts/Peripheral/Lens/TradingFloorLens.js +2 -0
- package/dist/esm/common/typechain/contracts/Peripheral/Lens/TriggersAndPortalLens.d.ts +152 -0
- package/dist/esm/common/typechain/contracts/Peripheral/Lens/TriggersAndPortalLens.d.ts.map +1 -0
- package/dist/esm/common/typechain/contracts/Peripheral/Lens/TriggersAndPortalLens.js +2 -0
- package/dist/esm/common/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.d.ts +146 -0
- package/dist/esm/common/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.d.ts.map +1 -0
- package/dist/esm/common/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.js +201 -0
- package/dist/esm/common/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts +1747 -0
- package/dist/esm/common/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts.map +1 -0
- package/dist/esm/common/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.js +2269 -0
- package/dist/esm/common/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +1042 -0
- package/dist/esm/common/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts.map +1 -0
- package/dist/esm/common/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +1339 -0
- package/dist/esm/common/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts +187 -0
- package/dist/esm/common/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts.map +1 -0
- package/dist/esm/common/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.js +253 -0
- package/dist/esm/index.d.ts +30 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +46 -0
- package/dist/esm/utils/addresses.d.ts +4 -0
- package/dist/esm/utils/addresses.d.ts.map +1 -0
- package/dist/esm/utils/addresses.js +14 -0
- package/dist/esm/utils/bignumbers.d.ts +6 -0
- package/dist/esm/utils/bignumbers.d.ts.map +1 -0
- package/dist/esm/utils/bignumbers.js +35 -0
- package/dist/esm/utils/chainTypes.d.ts +137 -0
- package/dist/esm/utils/chainTypes.d.ts.map +1 -0
- package/dist/esm/utils/chainTypes.js +20 -0
- package/dist/esm/utils/chipsCalculationsUtils.d.ts +3 -0
- package/dist/esm/utils/chipsCalculationsUtils.d.ts.map +1 -0
- package/dist/esm/utils/chipsCalculationsUtils.js +12 -0
- package/dist/esm/utils/cloning.d.ts +6 -0
- package/dist/esm/utils/cloning.d.ts.map +1 -0
- package/dist/esm/utils/cloning.js +17 -0
- package/dist/esm/utils/enumTypes.d.ts +2 -0
- package/dist/esm/utils/enumTypes.d.ts.map +1 -0
- package/dist/esm/utils/enumTypes.js +2 -0
- package/dist/esm/utils/ethersTypes.d.ts +14 -0
- package/dist/esm/utils/ethersTypes.d.ts.map +1 -0
- package/dist/esm/utils/ethersTypes.js +51 -0
- package/dist/esm/utils/hashes.d.ts +2 -0
- package/dist/esm/utils/hashes.d.ts.map +1 -0
- package/dist/esm/utils/hashes.js +8 -0
- package/dist/esm/utils/leverageCalculationsUtils.d.ts +6 -0
- package/dist/esm/utils/leverageCalculationsUtils.d.ts.map +1 -0
- package/dist/esm/utils/leverageCalculationsUtils.js +25 -0
- package/dist/esm/utils/lynxScalesUtils.d.ts +5 -0
- package/dist/esm/utils/lynxScalesUtils.d.ts.map +1 -0
- package/dist/esm/utils/lynxScalesUtils.js +20 -0
- package/dist/esm/utils/types.d.ts +7 -0
- package/dist/esm/utils/types.d.ts.map +1 -0
- package/dist/esm/utils/types.js +3 -0
- package/dist/types/addresses/lensAddresses.d.ts +27 -0
- package/dist/types/addresses/lensAddresses.d.ts.map +1 -0
- package/dist/types/common/constants/contractEnums.d.ts +148 -0
- package/dist/types/common/constants/contractEnums.d.ts.map +1 -0
- package/dist/types/common/constants/feeIds.d.ts +13 -0
- package/dist/types/common/constants/feeIds.d.ts.map +1 -0
- package/dist/types/common/constants/generalConstants.d.ts +2 -0
- package/dist/types/common/constants/generalConstants.d.ts.map +1 -0
- package/dist/types/common/constants/groupIds.d.ts +15 -0
- package/dist/types/common/constants/groupIds.d.ts.map +1 -0
- package/dist/types/common/constants/pairIds.d.ts +40 -0
- package/dist/types/common/constants/pairIds.d.ts.map +1 -0
- package/dist/types/common/constants/scales.d.ts +16 -0
- package/dist/types/common/constants/scales.d.ts.map +1 -0
- package/dist/types/common/contractsIntegration/deployedContractsConnector.d.ts +7 -0
- package/dist/types/common/contractsIntegration/deployedContractsConnector.d.ts.map +1 -0
- package/dist/types/common/priceFeeds/pyth/pythFeedConstants.d.ts +5 -0
- package/dist/types/common/priceFeeds/pyth/pythFeedConstants.d.ts.map +1 -0
- package/dist/types/common/priceFeeds/pyth/pythFeedFunctions.d.ts +7 -0
- package/dist/types/common/priceFeeds/pyth/pythFeedFunctions.d.ts.map +1 -0
- package/dist/types/common/typechain/common.d.ts +51 -0
- package/dist/types/common/typechain/common.d.ts.map +1 -0
- package/dist/types/common/typechain/contracts/Peripheral/Lens/IntentsVerifierLens.d.ts +102 -0
- package/dist/types/common/typechain/contracts/Peripheral/Lens/IntentsVerifierLens.d.ts.map +1 -0
- package/dist/types/common/typechain/contracts/Peripheral/Lens/LexLens.d.ts +740 -0
- package/dist/types/common/typechain/contracts/Peripheral/Lens/LexLens.d.ts.map +1 -0
- package/dist/types/common/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts +390 -0
- package/dist/types/common/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts.map +1 -0
- package/dist/types/common/typechain/contracts/Peripheral/Lens/TriggersAndPortalLens.d.ts +152 -0
- package/dist/types/common/typechain/contracts/Peripheral/Lens/TriggersAndPortalLens.d.ts.map +1 -0
- package/dist/types/common/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.d.ts +146 -0
- package/dist/types/common/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.d.ts.map +1 -0
- package/dist/types/common/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts +1747 -0
- package/dist/types/common/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts.map +1 -0
- package/dist/types/common/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +1042 -0
- package/dist/types/common/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts.map +1 -0
- package/dist/types/common/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts +187 -0
- package/dist/types/common/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts.map +1 -0
- package/dist/types/index.d.ts +30 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/utils/addresses.d.ts +4 -0
- package/dist/types/utils/addresses.d.ts.map +1 -0
- package/dist/types/utils/bignumbers.d.ts +6 -0
- package/dist/types/utils/bignumbers.d.ts.map +1 -0
- package/dist/types/utils/chainTypes.d.ts +137 -0
- package/dist/types/utils/chainTypes.d.ts.map +1 -0
- package/dist/types/utils/chipsCalculationsUtils.d.ts +3 -0
- package/dist/types/utils/chipsCalculationsUtils.d.ts.map +1 -0
- package/dist/types/utils/cloning.d.ts +6 -0
- package/dist/types/utils/cloning.d.ts.map +1 -0
- package/dist/types/utils/enumTypes.d.ts +2 -0
- package/dist/types/utils/enumTypes.d.ts.map +1 -0
- package/dist/types/utils/ethersTypes.d.ts +14 -0
- package/dist/types/utils/ethersTypes.d.ts.map +1 -0
- package/dist/types/utils/hashes.d.ts +2 -0
- package/dist/types/utils/hashes.d.ts.map +1 -0
- package/dist/types/utils/leverageCalculationsUtils.d.ts +6 -0
- package/dist/types/utils/leverageCalculationsUtils.d.ts.map +1 -0
- package/dist/types/utils/lynxScalesUtils.d.ts +5 -0
- package/dist/types/utils/lynxScalesUtils.d.ts.map +1 -0
- package/dist/types/utils/types.d.ts +7 -0
- package/dist/types/utils/types.d.ts.map +1 -0
- package/package.json +49 -0
package/dist/cjs/common/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js
ADDED
|
@@ -0,0 +1,1339 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TradingFloorLens__factory = void 0;
|
|
4
|
+
/* Autogenerated file. Do not edit manually. */
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [
|
|
11
|
+
{
|
|
12
|
+
internalType: "address",
|
|
13
|
+
name: "settlementAsset",
|
|
14
|
+
type: "address",
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
internalType: "address",
|
|
18
|
+
name: "trader",
|
|
19
|
+
type: "address",
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
internalType: "uint16",
|
|
23
|
+
name: "pairId",
|
|
24
|
+
type: "uint16",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
internalType: "uint32",
|
|
28
|
+
name: "index",
|
|
29
|
+
type: "uint32",
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
name: "generatePositionHashId",
|
|
33
|
+
outputs: [
|
|
34
|
+
{
|
|
35
|
+
internalType: "bytes32",
|
|
36
|
+
name: "hashId",
|
|
37
|
+
type: "bytes32",
|
|
38
|
+
},
|
|
39
|
+
],
|
|
40
|
+
stateMutability: "pure",
|
|
41
|
+
type: "function",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
inputs: [
|
|
45
|
+
{
|
|
46
|
+
components: [
|
|
47
|
+
{
|
|
48
|
+
internalType: "address",
|
|
49
|
+
name: "tradingFloor",
|
|
50
|
+
type: "address",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
internalType: "uint256",
|
|
54
|
+
name: "settlementAssetsStartIndex",
|
|
55
|
+
type: "uint256",
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
internalType: "uint256",
|
|
59
|
+
name: "pairIdsStartIndex",
|
|
60
|
+
type: "uint256",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
internalType: "uint256",
|
|
64
|
+
name: "pairTraderStartIndex",
|
|
65
|
+
type: "uint256",
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
internalType: "uint256",
|
|
69
|
+
name: "positionsLimit",
|
|
70
|
+
type: "uint256",
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
internalType: "struct TradingFloorLensStructs.GetAllPositionsDataForAllTradersParams",
|
|
74
|
+
name: "params",
|
|
75
|
+
type: "tuple",
|
|
76
|
+
},
|
|
77
|
+
],
|
|
78
|
+
name: "getAllPositionsDataForAllTraders",
|
|
79
|
+
outputs: [
|
|
80
|
+
{
|
|
81
|
+
components: [
|
|
82
|
+
{
|
|
83
|
+
components: [
|
|
84
|
+
{
|
|
85
|
+
internalType: "bytes32",
|
|
86
|
+
name: "id",
|
|
87
|
+
type: "bytes32",
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
internalType: "address",
|
|
91
|
+
name: "settlementAsset",
|
|
92
|
+
type: "address",
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
internalType: "address",
|
|
96
|
+
name: "trader",
|
|
97
|
+
type: "address",
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
internalType: "uint16",
|
|
101
|
+
name: "pairId",
|
|
102
|
+
type: "uint16",
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
internalType: "uint32",
|
|
106
|
+
name: "positionIndex",
|
|
107
|
+
type: "uint32",
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
internalType: "uint256",
|
|
111
|
+
name: "collateral",
|
|
112
|
+
type: "uint256",
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
internalType: "enum TradingEnumsV1.PositionPhase",
|
|
116
|
+
name: "phase",
|
|
117
|
+
type: "uint8",
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
internalType: "uint64",
|
|
121
|
+
name: "inPhaseSince",
|
|
122
|
+
type: "uint64",
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
internalType: "uint32",
|
|
126
|
+
name: "leverage",
|
|
127
|
+
type: "uint32",
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
internalType: "bool",
|
|
131
|
+
name: "long",
|
|
132
|
+
type: "bool",
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
internalType: "uint64",
|
|
136
|
+
name: "openPrice",
|
|
137
|
+
type: "uint64",
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
internalType: "uint32",
|
|
141
|
+
name: "spreadReductionF",
|
|
142
|
+
type: "uint32",
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
internalType: "uint64",
|
|
146
|
+
name: "minPrice",
|
|
147
|
+
type: "uint64",
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
internalType: "uint64",
|
|
151
|
+
name: "maxPrice",
|
|
152
|
+
type: "uint64",
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
internalType: "uint64",
|
|
156
|
+
name: "tpLastUpdated",
|
|
157
|
+
type: "uint64",
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
internalType: "uint64",
|
|
161
|
+
name: "slLastUpdated",
|
|
162
|
+
type: "uint64",
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
internalType: "uint64",
|
|
166
|
+
name: "tp",
|
|
167
|
+
type: "uint64",
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
internalType: "uint64",
|
|
171
|
+
name: "sl",
|
|
172
|
+
type: "uint64",
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
internalType: "enum OrderBookStructsV1.UpdatePositionFieldOrderType",
|
|
176
|
+
name: "pendingUpdateOrderType",
|
|
177
|
+
type: "uint8",
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
internalType: "uint64",
|
|
181
|
+
name: "pendingUpdateOrderTimestamp",
|
|
182
|
+
type: "uint64",
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
internalType: "uint64",
|
|
186
|
+
name: "pendingUpdateOrderFieldAValue",
|
|
187
|
+
type: "uint64",
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
internalType: "uint64",
|
|
191
|
+
name: "pendingUpdateOrderFieldBValue",
|
|
192
|
+
type: "uint64",
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
internalType: "int256",
|
|
196
|
+
name: "funding",
|
|
197
|
+
type: "int256",
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
internalType: "uint256",
|
|
201
|
+
name: "borrowInterest",
|
|
202
|
+
type: "uint256",
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
internalType: "uint64",
|
|
206
|
+
name: "liquidationPrice",
|
|
207
|
+
type: "uint64",
|
|
208
|
+
},
|
|
209
|
+
],
|
|
210
|
+
internalType: "struct TradingFloorLensStructs.CompletePositionDataFromLens[]",
|
|
211
|
+
name: "positions",
|
|
212
|
+
type: "tuple[]",
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
internalType: "uint256",
|
|
216
|
+
name: "positionsCount",
|
|
217
|
+
type: "uint256",
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
internalType: "uint256",
|
|
221
|
+
name: "settlementAssetsLastIndex",
|
|
222
|
+
type: "uint256",
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
internalType: "uint256",
|
|
226
|
+
name: "pairIdsLastIndex",
|
|
227
|
+
type: "uint256",
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
internalType: "uint256",
|
|
231
|
+
name: "pairTraderLastIndex",
|
|
232
|
+
type: "uint256",
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
internalType: "bool",
|
|
236
|
+
name: "done",
|
|
237
|
+
type: "bool",
|
|
238
|
+
},
|
|
239
|
+
],
|
|
240
|
+
internalType: "struct TradingFloorLensStructs.GetAllPositionsDataForAllTradersResult",
|
|
241
|
+
name: "result",
|
|
242
|
+
type: "tuple",
|
|
243
|
+
},
|
|
244
|
+
],
|
|
245
|
+
stateMutability: "nonpayable",
|
|
246
|
+
type: "function",
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
inputs: [
|
|
250
|
+
{
|
|
251
|
+
internalType: "address",
|
|
252
|
+
name: "tradingFloor",
|
|
253
|
+
type: "address",
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
internalType: "address",
|
|
257
|
+
name: "settlementAsset",
|
|
258
|
+
type: "address",
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
internalType: "uint256",
|
|
262
|
+
name: "arraySize",
|
|
263
|
+
type: "uint256",
|
|
264
|
+
},
|
|
265
|
+
],
|
|
266
|
+
name: "getAllPositionsDataForAllTradersInDimension",
|
|
267
|
+
outputs: [
|
|
268
|
+
{
|
|
269
|
+
components: [
|
|
270
|
+
{
|
|
271
|
+
internalType: "bytes32",
|
|
272
|
+
name: "id",
|
|
273
|
+
type: "bytes32",
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
internalType: "address",
|
|
277
|
+
name: "settlementAsset",
|
|
278
|
+
type: "address",
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
internalType: "address",
|
|
282
|
+
name: "trader",
|
|
283
|
+
type: "address",
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
internalType: "uint16",
|
|
287
|
+
name: "pairId",
|
|
288
|
+
type: "uint16",
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
internalType: "uint32",
|
|
292
|
+
name: "positionIndex",
|
|
293
|
+
type: "uint32",
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
internalType: "uint256",
|
|
297
|
+
name: "collateral",
|
|
298
|
+
type: "uint256",
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
internalType: "enum TradingEnumsV1.PositionPhase",
|
|
302
|
+
name: "phase",
|
|
303
|
+
type: "uint8",
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
internalType: "uint64",
|
|
307
|
+
name: "inPhaseSince",
|
|
308
|
+
type: "uint64",
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
internalType: "uint32",
|
|
312
|
+
name: "leverage",
|
|
313
|
+
type: "uint32",
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
internalType: "bool",
|
|
317
|
+
name: "long",
|
|
318
|
+
type: "bool",
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
internalType: "uint64",
|
|
322
|
+
name: "openPrice",
|
|
323
|
+
type: "uint64",
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
internalType: "uint32",
|
|
327
|
+
name: "spreadReductionF",
|
|
328
|
+
type: "uint32",
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
internalType: "uint64",
|
|
332
|
+
name: "minPrice",
|
|
333
|
+
type: "uint64",
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
internalType: "uint64",
|
|
337
|
+
name: "maxPrice",
|
|
338
|
+
type: "uint64",
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
internalType: "uint64",
|
|
342
|
+
name: "tpLastUpdated",
|
|
343
|
+
type: "uint64",
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
internalType: "uint64",
|
|
347
|
+
name: "slLastUpdated",
|
|
348
|
+
type: "uint64",
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
internalType: "uint64",
|
|
352
|
+
name: "tp",
|
|
353
|
+
type: "uint64",
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
internalType: "uint64",
|
|
357
|
+
name: "sl",
|
|
358
|
+
type: "uint64",
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
internalType: "enum OrderBookStructsV1.UpdatePositionFieldOrderType",
|
|
362
|
+
name: "pendingUpdateOrderType",
|
|
363
|
+
type: "uint8",
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
internalType: "uint64",
|
|
367
|
+
name: "pendingUpdateOrderTimestamp",
|
|
368
|
+
type: "uint64",
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
internalType: "uint64",
|
|
372
|
+
name: "pendingUpdateOrderFieldAValue",
|
|
373
|
+
type: "uint64",
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
internalType: "uint64",
|
|
377
|
+
name: "pendingUpdateOrderFieldBValue",
|
|
378
|
+
type: "uint64",
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
internalType: "int256",
|
|
382
|
+
name: "funding",
|
|
383
|
+
type: "int256",
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
internalType: "uint256",
|
|
387
|
+
name: "borrowInterest",
|
|
388
|
+
type: "uint256",
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
internalType: "uint64",
|
|
392
|
+
name: "liquidationPrice",
|
|
393
|
+
type: "uint64",
|
|
394
|
+
},
|
|
395
|
+
],
|
|
396
|
+
internalType: "struct TradingFloorLensStructs.CompletePositionDataFromLens[]",
|
|
397
|
+
name: "completePositions",
|
|
398
|
+
type: "tuple[]",
|
|
399
|
+
},
|
|
400
|
+
],
|
|
401
|
+
stateMutability: "nonpayable",
|
|
402
|
+
type: "function",
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
inputs: [
|
|
406
|
+
{
|
|
407
|
+
internalType: "address",
|
|
408
|
+
name: "tradingFloor",
|
|
409
|
+
type: "address",
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
internalType: "address",
|
|
413
|
+
name: "settlementAsset",
|
|
414
|
+
type: "address",
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
internalType: "address",
|
|
418
|
+
name: "trader",
|
|
419
|
+
type: "address",
|
|
420
|
+
},
|
|
421
|
+
],
|
|
422
|
+
name: "getAllPositionsDataForTraderInDimension",
|
|
423
|
+
outputs: [
|
|
424
|
+
{
|
|
425
|
+
components: [
|
|
426
|
+
{
|
|
427
|
+
internalType: "bytes32",
|
|
428
|
+
name: "id",
|
|
429
|
+
type: "bytes32",
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
internalType: "address",
|
|
433
|
+
name: "settlementAsset",
|
|
434
|
+
type: "address",
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
internalType: "address",
|
|
438
|
+
name: "trader",
|
|
439
|
+
type: "address",
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
internalType: "uint16",
|
|
443
|
+
name: "pairId",
|
|
444
|
+
type: "uint16",
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
internalType: "uint32",
|
|
448
|
+
name: "positionIndex",
|
|
449
|
+
type: "uint32",
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
internalType: "uint256",
|
|
453
|
+
name: "collateral",
|
|
454
|
+
type: "uint256",
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
internalType: "enum TradingEnumsV1.PositionPhase",
|
|
458
|
+
name: "phase",
|
|
459
|
+
type: "uint8",
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
internalType: "uint64",
|
|
463
|
+
name: "inPhaseSince",
|
|
464
|
+
type: "uint64",
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
internalType: "uint32",
|
|
468
|
+
name: "leverage",
|
|
469
|
+
type: "uint32",
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
internalType: "bool",
|
|
473
|
+
name: "long",
|
|
474
|
+
type: "bool",
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
internalType: "uint64",
|
|
478
|
+
name: "openPrice",
|
|
479
|
+
type: "uint64",
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
internalType: "uint32",
|
|
483
|
+
name: "spreadReductionF",
|
|
484
|
+
type: "uint32",
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
internalType: "uint64",
|
|
488
|
+
name: "minPrice",
|
|
489
|
+
type: "uint64",
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
internalType: "uint64",
|
|
493
|
+
name: "maxPrice",
|
|
494
|
+
type: "uint64",
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
internalType: "uint64",
|
|
498
|
+
name: "tpLastUpdated",
|
|
499
|
+
type: "uint64",
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
internalType: "uint64",
|
|
503
|
+
name: "slLastUpdated",
|
|
504
|
+
type: "uint64",
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
internalType: "uint64",
|
|
508
|
+
name: "tp",
|
|
509
|
+
type: "uint64",
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
internalType: "uint64",
|
|
513
|
+
name: "sl",
|
|
514
|
+
type: "uint64",
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
internalType: "enum OrderBookStructsV1.UpdatePositionFieldOrderType",
|
|
518
|
+
name: "pendingUpdateOrderType",
|
|
519
|
+
type: "uint8",
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
internalType: "uint64",
|
|
523
|
+
name: "pendingUpdateOrderTimestamp",
|
|
524
|
+
type: "uint64",
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
internalType: "uint64",
|
|
528
|
+
name: "pendingUpdateOrderFieldAValue",
|
|
529
|
+
type: "uint64",
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
internalType: "uint64",
|
|
533
|
+
name: "pendingUpdateOrderFieldBValue",
|
|
534
|
+
type: "uint64",
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
internalType: "int256",
|
|
538
|
+
name: "funding",
|
|
539
|
+
type: "int256",
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
internalType: "uint256",
|
|
543
|
+
name: "borrowInterest",
|
|
544
|
+
type: "uint256",
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
internalType: "uint64",
|
|
548
|
+
name: "liquidationPrice",
|
|
549
|
+
type: "uint64",
|
|
550
|
+
},
|
|
551
|
+
],
|
|
552
|
+
internalType: "struct TradingFloorLensStructs.CompletePositionDataFromLens[]",
|
|
553
|
+
name: "completePositions",
|
|
554
|
+
type: "tuple[]",
|
|
555
|
+
},
|
|
556
|
+
],
|
|
557
|
+
stateMutability: "nonpayable",
|
|
558
|
+
type: "function",
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
inputs: [
|
|
562
|
+
{
|
|
563
|
+
components: [
|
|
564
|
+
{
|
|
565
|
+
internalType: "address",
|
|
566
|
+
name: "tradingFloor",
|
|
567
|
+
type: "address",
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
internalType: "uint256",
|
|
571
|
+
name: "settlementAssetsStartIndex",
|
|
572
|
+
type: "uint256",
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
internalType: "uint256",
|
|
576
|
+
name: "pairIdsStartIndex",
|
|
577
|
+
type: "uint256",
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
internalType: "uint256",
|
|
581
|
+
name: "pairTraderStartIndex",
|
|
582
|
+
type: "uint256",
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
internalType: "uint16",
|
|
586
|
+
name: "positionStartIndex",
|
|
587
|
+
type: "uint16",
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
internalType: "uint256",
|
|
591
|
+
name: "positionsLimit",
|
|
592
|
+
type: "uint256",
|
|
593
|
+
},
|
|
594
|
+
],
|
|
595
|
+
internalType: "struct TradingFloorLensStructs.GetAllPositionsLiquidationInfoParams",
|
|
596
|
+
name: "params",
|
|
597
|
+
type: "tuple",
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
internalType: "enum TradingEnumsV1.PositionPhase[]",
|
|
601
|
+
name: "phasesFilterIn",
|
|
602
|
+
type: "uint8[]",
|
|
603
|
+
},
|
|
604
|
+
],
|
|
605
|
+
name: "getAllPositionsLiquidationInfo",
|
|
606
|
+
outputs: [
|
|
607
|
+
{
|
|
608
|
+
components: [
|
|
609
|
+
{
|
|
610
|
+
components: [
|
|
611
|
+
{
|
|
612
|
+
internalType: "bytes32",
|
|
613
|
+
name: "id",
|
|
614
|
+
type: "bytes32",
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
internalType: "enum TradingEnumsV1.PositionPhase",
|
|
618
|
+
name: "phase",
|
|
619
|
+
type: "uint8",
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
internalType: "int256",
|
|
623
|
+
name: "funding",
|
|
624
|
+
type: "int256",
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
internalType: "uint256",
|
|
628
|
+
name: "borrowInterest",
|
|
629
|
+
type: "uint256",
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
internalType: "uint64",
|
|
633
|
+
name: "liquidationPrice",
|
|
634
|
+
type: "uint64",
|
|
635
|
+
},
|
|
636
|
+
],
|
|
637
|
+
internalType: "struct TradingFloorLensStructs.PositionLiquidationInfo[]",
|
|
638
|
+
name: "positionsLiquidationInfo",
|
|
639
|
+
type: "tuple[]",
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
internalType: "uint256",
|
|
643
|
+
name: "positionsCount",
|
|
644
|
+
type: "uint256",
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
internalType: "uint256",
|
|
648
|
+
name: "settlementAssetsLastIndex",
|
|
649
|
+
type: "uint256",
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
internalType: "uint256",
|
|
653
|
+
name: "pairIdsLastIndex",
|
|
654
|
+
type: "uint256",
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
internalType: "uint256",
|
|
658
|
+
name: "pairTraderLastIndex",
|
|
659
|
+
type: "uint256",
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
internalType: "uint16",
|
|
663
|
+
name: "positionLastIndex",
|
|
664
|
+
type: "uint16",
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
internalType: "bool",
|
|
668
|
+
name: "done",
|
|
669
|
+
type: "bool",
|
|
670
|
+
},
|
|
671
|
+
],
|
|
672
|
+
internalType: "struct TradingFloorLensStructs.GetAllPositionsLiquidationInfoResult",
|
|
673
|
+
name: "result",
|
|
674
|
+
type: "tuple",
|
|
675
|
+
},
|
|
676
|
+
],
|
|
677
|
+
stateMutability: "nonpayable",
|
|
678
|
+
type: "function",
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
inputs: [
|
|
682
|
+
{
|
|
683
|
+
components: [
|
|
684
|
+
{
|
|
685
|
+
internalType: "address",
|
|
686
|
+
name: "tradingFloor",
|
|
687
|
+
type: "address",
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
internalType: "uint256",
|
|
691
|
+
name: "settlementAssetsStartIndex",
|
|
692
|
+
type: "uint256",
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
internalType: "uint256",
|
|
696
|
+
name: "pairIdsStartIndex",
|
|
697
|
+
type: "uint256",
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
internalType: "uint256",
|
|
701
|
+
name: "pairTraderStartIndex",
|
|
702
|
+
type: "uint256",
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
internalType: "uint16",
|
|
706
|
+
name: "positionStartIndex",
|
|
707
|
+
type: "uint16",
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
internalType: "uint256",
|
|
711
|
+
name: "positionsLimit",
|
|
712
|
+
type: "uint256",
|
|
713
|
+
},
|
|
714
|
+
],
|
|
715
|
+
internalType: "struct TradingFloorLensStructs.GetAllPositionsLiquidationInfoParams",
|
|
716
|
+
name: "params",
|
|
717
|
+
type: "tuple",
|
|
718
|
+
},
|
|
719
|
+
],
|
|
720
|
+
name: "getAllPositionsLiquidationInfo",
|
|
721
|
+
outputs: [
|
|
722
|
+
{
|
|
723
|
+
components: [
|
|
724
|
+
{
|
|
725
|
+
components: [
|
|
726
|
+
{
|
|
727
|
+
internalType: "bytes32",
|
|
728
|
+
name: "id",
|
|
729
|
+
type: "bytes32",
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
internalType: "enum TradingEnumsV1.PositionPhase",
|
|
733
|
+
name: "phase",
|
|
734
|
+
type: "uint8",
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
internalType: "int256",
|
|
738
|
+
name: "funding",
|
|
739
|
+
type: "int256",
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
internalType: "uint256",
|
|
743
|
+
name: "borrowInterest",
|
|
744
|
+
type: "uint256",
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
internalType: "uint64",
|
|
748
|
+
name: "liquidationPrice",
|
|
749
|
+
type: "uint64",
|
|
750
|
+
},
|
|
751
|
+
],
|
|
752
|
+
internalType: "struct TradingFloorLensStructs.PositionLiquidationInfo[]",
|
|
753
|
+
name: "positionsLiquidationInfo",
|
|
754
|
+
type: "tuple[]",
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
internalType: "uint256",
|
|
758
|
+
name: "positionsCount",
|
|
759
|
+
type: "uint256",
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
internalType: "uint256",
|
|
763
|
+
name: "settlementAssetsLastIndex",
|
|
764
|
+
type: "uint256",
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
internalType: "uint256",
|
|
768
|
+
name: "pairIdsLastIndex",
|
|
769
|
+
type: "uint256",
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
internalType: "uint256",
|
|
773
|
+
name: "pairTraderLastIndex",
|
|
774
|
+
type: "uint256",
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
internalType: "uint16",
|
|
778
|
+
name: "positionLastIndex",
|
|
779
|
+
type: "uint16",
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
internalType: "bool",
|
|
783
|
+
name: "done",
|
|
784
|
+
type: "bool",
|
|
785
|
+
},
|
|
786
|
+
],
|
|
787
|
+
internalType: "struct TradingFloorLensStructs.GetAllPositionsLiquidationInfoResult",
|
|
788
|
+
name: "result",
|
|
789
|
+
type: "tuple",
|
|
790
|
+
},
|
|
791
|
+
],
|
|
792
|
+
stateMutability: "nonpayable",
|
|
793
|
+
type: "function",
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
inputs: [
|
|
797
|
+
{
|
|
798
|
+
internalType: "address",
|
|
799
|
+
name: "tradingFloor",
|
|
800
|
+
type: "address",
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
internalType: "bytes32",
|
|
804
|
+
name: "positionId",
|
|
805
|
+
type: "bytes32",
|
|
806
|
+
},
|
|
807
|
+
],
|
|
808
|
+
name: "getCompletePositionData",
|
|
809
|
+
outputs: [
|
|
810
|
+
{
|
|
811
|
+
components: [
|
|
812
|
+
{
|
|
813
|
+
internalType: "bytes32",
|
|
814
|
+
name: "id",
|
|
815
|
+
type: "bytes32",
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
internalType: "address",
|
|
819
|
+
name: "settlementAsset",
|
|
820
|
+
type: "address",
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
internalType: "address",
|
|
824
|
+
name: "trader",
|
|
825
|
+
type: "address",
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
internalType: "uint16",
|
|
829
|
+
name: "pairId",
|
|
830
|
+
type: "uint16",
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
internalType: "uint32",
|
|
834
|
+
name: "positionIndex",
|
|
835
|
+
type: "uint32",
|
|
836
|
+
},
|
|
837
|
+
{
|
|
838
|
+
internalType: "uint256",
|
|
839
|
+
name: "collateral",
|
|
840
|
+
type: "uint256",
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
internalType: "enum TradingEnumsV1.PositionPhase",
|
|
844
|
+
name: "phase",
|
|
845
|
+
type: "uint8",
|
|
846
|
+
},
|
|
847
|
+
{
|
|
848
|
+
internalType: "uint64",
|
|
849
|
+
name: "inPhaseSince",
|
|
850
|
+
type: "uint64",
|
|
851
|
+
},
|
|
852
|
+
{
|
|
853
|
+
internalType: "uint32",
|
|
854
|
+
name: "leverage",
|
|
855
|
+
type: "uint32",
|
|
856
|
+
},
|
|
857
|
+
{
|
|
858
|
+
internalType: "bool",
|
|
859
|
+
name: "long",
|
|
860
|
+
type: "bool",
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
internalType: "uint64",
|
|
864
|
+
name: "openPrice",
|
|
865
|
+
type: "uint64",
|
|
866
|
+
},
|
|
867
|
+
{
|
|
868
|
+
internalType: "uint32",
|
|
869
|
+
name: "spreadReductionF",
|
|
870
|
+
type: "uint32",
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
internalType: "uint64",
|
|
874
|
+
name: "minPrice",
|
|
875
|
+
type: "uint64",
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
internalType: "uint64",
|
|
879
|
+
name: "maxPrice",
|
|
880
|
+
type: "uint64",
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
internalType: "uint64",
|
|
884
|
+
name: "tpLastUpdated",
|
|
885
|
+
type: "uint64",
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
internalType: "uint64",
|
|
889
|
+
name: "slLastUpdated",
|
|
890
|
+
type: "uint64",
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
internalType: "uint64",
|
|
894
|
+
name: "tp",
|
|
895
|
+
type: "uint64",
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
internalType: "uint64",
|
|
899
|
+
name: "sl",
|
|
900
|
+
type: "uint64",
|
|
901
|
+
},
|
|
902
|
+
{
|
|
903
|
+
internalType: "enum OrderBookStructsV1.UpdatePositionFieldOrderType",
|
|
904
|
+
name: "pendingUpdateOrderType",
|
|
905
|
+
type: "uint8",
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
internalType: "uint64",
|
|
909
|
+
name: "pendingUpdateOrderTimestamp",
|
|
910
|
+
type: "uint64",
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
internalType: "uint64",
|
|
914
|
+
name: "pendingUpdateOrderFieldAValue",
|
|
915
|
+
type: "uint64",
|
|
916
|
+
},
|
|
917
|
+
{
|
|
918
|
+
internalType: "uint64",
|
|
919
|
+
name: "pendingUpdateOrderFieldBValue",
|
|
920
|
+
type: "uint64",
|
|
921
|
+
},
|
|
922
|
+
{
|
|
923
|
+
internalType: "int256",
|
|
924
|
+
name: "funding",
|
|
925
|
+
type: "int256",
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
internalType: "uint256",
|
|
929
|
+
name: "borrowInterest",
|
|
930
|
+
type: "uint256",
|
|
931
|
+
},
|
|
932
|
+
{
|
|
933
|
+
internalType: "uint64",
|
|
934
|
+
name: "liquidationPrice",
|
|
935
|
+
type: "uint64",
|
|
936
|
+
},
|
|
937
|
+
],
|
|
938
|
+
internalType: "struct TradingFloorLensStructs.CompletePositionDataFromLens",
|
|
939
|
+
name: "positionData",
|
|
940
|
+
type: "tuple",
|
|
941
|
+
},
|
|
942
|
+
],
|
|
943
|
+
stateMutability: "nonpayable",
|
|
944
|
+
type: "function",
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
inputs: [
|
|
948
|
+
{
|
|
949
|
+
internalType: "address",
|
|
950
|
+
name: "tradingFloor",
|
|
951
|
+
type: "address",
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
internalType: "address",
|
|
955
|
+
name: "settlementAsset",
|
|
956
|
+
type: "address",
|
|
957
|
+
},
|
|
958
|
+
{
|
|
959
|
+
internalType: "address",
|
|
960
|
+
name: "trader",
|
|
961
|
+
type: "address",
|
|
962
|
+
},
|
|
963
|
+
{
|
|
964
|
+
internalType: "uint16[]",
|
|
965
|
+
name: "pairIds",
|
|
966
|
+
type: "uint16[]",
|
|
967
|
+
},
|
|
968
|
+
],
|
|
969
|
+
name: "getPositionDataInPairsForTrader",
|
|
970
|
+
outputs: [
|
|
971
|
+
{
|
|
972
|
+
components: [
|
|
973
|
+
{
|
|
974
|
+
internalType: "bytes32",
|
|
975
|
+
name: "id",
|
|
976
|
+
type: "bytes32",
|
|
977
|
+
},
|
|
978
|
+
{
|
|
979
|
+
internalType: "address",
|
|
980
|
+
name: "settlementAsset",
|
|
981
|
+
type: "address",
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
internalType: "address",
|
|
985
|
+
name: "trader",
|
|
986
|
+
type: "address",
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
internalType: "uint16",
|
|
990
|
+
name: "pairId",
|
|
991
|
+
type: "uint16",
|
|
992
|
+
},
|
|
993
|
+
{
|
|
994
|
+
internalType: "uint32",
|
|
995
|
+
name: "positionIndex",
|
|
996
|
+
type: "uint32",
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
internalType: "uint256",
|
|
1000
|
+
name: "collateral",
|
|
1001
|
+
type: "uint256",
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
internalType: "enum TradingEnumsV1.PositionPhase",
|
|
1005
|
+
name: "phase",
|
|
1006
|
+
type: "uint8",
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
internalType: "uint64",
|
|
1010
|
+
name: "inPhaseSince",
|
|
1011
|
+
type: "uint64",
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
internalType: "uint32",
|
|
1015
|
+
name: "leverage",
|
|
1016
|
+
type: "uint32",
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
internalType: "bool",
|
|
1020
|
+
name: "long",
|
|
1021
|
+
type: "bool",
|
|
1022
|
+
},
|
|
1023
|
+
{
|
|
1024
|
+
internalType: "uint64",
|
|
1025
|
+
name: "openPrice",
|
|
1026
|
+
type: "uint64",
|
|
1027
|
+
},
|
|
1028
|
+
{
|
|
1029
|
+
internalType: "uint32",
|
|
1030
|
+
name: "spreadReductionF",
|
|
1031
|
+
type: "uint32",
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
internalType: "uint64",
|
|
1035
|
+
name: "minPrice",
|
|
1036
|
+
type: "uint64",
|
|
1037
|
+
},
|
|
1038
|
+
{
|
|
1039
|
+
internalType: "uint64",
|
|
1040
|
+
name: "maxPrice",
|
|
1041
|
+
type: "uint64",
|
|
1042
|
+
},
|
|
1043
|
+
{
|
|
1044
|
+
internalType: "uint64",
|
|
1045
|
+
name: "tpLastUpdated",
|
|
1046
|
+
type: "uint64",
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
internalType: "uint64",
|
|
1050
|
+
name: "slLastUpdated",
|
|
1051
|
+
type: "uint64",
|
|
1052
|
+
},
|
|
1053
|
+
{
|
|
1054
|
+
internalType: "uint64",
|
|
1055
|
+
name: "tp",
|
|
1056
|
+
type: "uint64",
|
|
1057
|
+
},
|
|
1058
|
+
{
|
|
1059
|
+
internalType: "uint64",
|
|
1060
|
+
name: "sl",
|
|
1061
|
+
type: "uint64",
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
internalType: "enum OrderBookStructsV1.UpdatePositionFieldOrderType",
|
|
1065
|
+
name: "pendingUpdateOrderType",
|
|
1066
|
+
type: "uint8",
|
|
1067
|
+
},
|
|
1068
|
+
{
|
|
1069
|
+
internalType: "uint64",
|
|
1070
|
+
name: "pendingUpdateOrderTimestamp",
|
|
1071
|
+
type: "uint64",
|
|
1072
|
+
},
|
|
1073
|
+
{
|
|
1074
|
+
internalType: "uint64",
|
|
1075
|
+
name: "pendingUpdateOrderFieldAValue",
|
|
1076
|
+
type: "uint64",
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
internalType: "uint64",
|
|
1080
|
+
name: "pendingUpdateOrderFieldBValue",
|
|
1081
|
+
type: "uint64",
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
internalType: "int256",
|
|
1085
|
+
name: "funding",
|
|
1086
|
+
type: "int256",
|
|
1087
|
+
},
|
|
1088
|
+
{
|
|
1089
|
+
internalType: "uint256",
|
|
1090
|
+
name: "borrowInterest",
|
|
1091
|
+
type: "uint256",
|
|
1092
|
+
},
|
|
1093
|
+
{
|
|
1094
|
+
internalType: "uint64",
|
|
1095
|
+
name: "liquidationPrice",
|
|
1096
|
+
type: "uint64",
|
|
1097
|
+
},
|
|
1098
|
+
],
|
|
1099
|
+
internalType: "struct TradingFloorLensStructs.CompletePositionDataFromLens[]",
|
|
1100
|
+
name: "completePositions",
|
|
1101
|
+
type: "tuple[]",
|
|
1102
|
+
},
|
|
1103
|
+
],
|
|
1104
|
+
stateMutability: "nonpayable",
|
|
1105
|
+
type: "function",
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
inputs: [
|
|
1109
|
+
{
|
|
1110
|
+
internalType: "address",
|
|
1111
|
+
name: "tradingFloor",
|
|
1112
|
+
type: "address",
|
|
1113
|
+
},
|
|
1114
|
+
{
|
|
1115
|
+
internalType: "address",
|
|
1116
|
+
name: "settlementAsset",
|
|
1117
|
+
type: "address",
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
internalType: "address",
|
|
1121
|
+
name: "trader",
|
|
1122
|
+
type: "address",
|
|
1123
|
+
},
|
|
1124
|
+
{
|
|
1125
|
+
internalType: "uint16",
|
|
1126
|
+
name: "pairId",
|
|
1127
|
+
type: "uint16",
|
|
1128
|
+
},
|
|
1129
|
+
],
|
|
1130
|
+
name: "getPositionsDataInPairForTrader",
|
|
1131
|
+
outputs: [
|
|
1132
|
+
{
|
|
1133
|
+
components: [
|
|
1134
|
+
{
|
|
1135
|
+
internalType: "bytes32",
|
|
1136
|
+
name: "id",
|
|
1137
|
+
type: "bytes32",
|
|
1138
|
+
},
|
|
1139
|
+
{
|
|
1140
|
+
internalType: "address",
|
|
1141
|
+
name: "settlementAsset",
|
|
1142
|
+
type: "address",
|
|
1143
|
+
},
|
|
1144
|
+
{
|
|
1145
|
+
internalType: "address",
|
|
1146
|
+
name: "trader",
|
|
1147
|
+
type: "address",
|
|
1148
|
+
},
|
|
1149
|
+
{
|
|
1150
|
+
internalType: "uint16",
|
|
1151
|
+
name: "pairId",
|
|
1152
|
+
type: "uint16",
|
|
1153
|
+
},
|
|
1154
|
+
{
|
|
1155
|
+
internalType: "uint32",
|
|
1156
|
+
name: "positionIndex",
|
|
1157
|
+
type: "uint32",
|
|
1158
|
+
},
|
|
1159
|
+
{
|
|
1160
|
+
internalType: "uint256",
|
|
1161
|
+
name: "collateral",
|
|
1162
|
+
type: "uint256",
|
|
1163
|
+
},
|
|
1164
|
+
{
|
|
1165
|
+
internalType: "enum TradingEnumsV1.PositionPhase",
|
|
1166
|
+
name: "phase",
|
|
1167
|
+
type: "uint8",
|
|
1168
|
+
},
|
|
1169
|
+
{
|
|
1170
|
+
internalType: "uint64",
|
|
1171
|
+
name: "inPhaseSince",
|
|
1172
|
+
type: "uint64",
|
|
1173
|
+
},
|
|
1174
|
+
{
|
|
1175
|
+
internalType: "uint32",
|
|
1176
|
+
name: "leverage",
|
|
1177
|
+
type: "uint32",
|
|
1178
|
+
},
|
|
1179
|
+
{
|
|
1180
|
+
internalType: "bool",
|
|
1181
|
+
name: "long",
|
|
1182
|
+
type: "bool",
|
|
1183
|
+
},
|
|
1184
|
+
{
|
|
1185
|
+
internalType: "uint64",
|
|
1186
|
+
name: "openPrice",
|
|
1187
|
+
type: "uint64",
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
internalType: "uint32",
|
|
1191
|
+
name: "spreadReductionF",
|
|
1192
|
+
type: "uint32",
|
|
1193
|
+
},
|
|
1194
|
+
{
|
|
1195
|
+
internalType: "uint64",
|
|
1196
|
+
name: "minPrice",
|
|
1197
|
+
type: "uint64",
|
|
1198
|
+
},
|
|
1199
|
+
{
|
|
1200
|
+
internalType: "uint64",
|
|
1201
|
+
name: "maxPrice",
|
|
1202
|
+
type: "uint64",
|
|
1203
|
+
},
|
|
1204
|
+
{
|
|
1205
|
+
internalType: "uint64",
|
|
1206
|
+
name: "tpLastUpdated",
|
|
1207
|
+
type: "uint64",
|
|
1208
|
+
},
|
|
1209
|
+
{
|
|
1210
|
+
internalType: "uint64",
|
|
1211
|
+
name: "slLastUpdated",
|
|
1212
|
+
type: "uint64",
|
|
1213
|
+
},
|
|
1214
|
+
{
|
|
1215
|
+
internalType: "uint64",
|
|
1216
|
+
name: "tp",
|
|
1217
|
+
type: "uint64",
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
internalType: "uint64",
|
|
1221
|
+
name: "sl",
|
|
1222
|
+
type: "uint64",
|
|
1223
|
+
},
|
|
1224
|
+
{
|
|
1225
|
+
internalType: "enum OrderBookStructsV1.UpdatePositionFieldOrderType",
|
|
1226
|
+
name: "pendingUpdateOrderType",
|
|
1227
|
+
type: "uint8",
|
|
1228
|
+
},
|
|
1229
|
+
{
|
|
1230
|
+
internalType: "uint64",
|
|
1231
|
+
name: "pendingUpdateOrderTimestamp",
|
|
1232
|
+
type: "uint64",
|
|
1233
|
+
},
|
|
1234
|
+
{
|
|
1235
|
+
internalType: "uint64",
|
|
1236
|
+
name: "pendingUpdateOrderFieldAValue",
|
|
1237
|
+
type: "uint64",
|
|
1238
|
+
},
|
|
1239
|
+
{
|
|
1240
|
+
internalType: "uint64",
|
|
1241
|
+
name: "pendingUpdateOrderFieldBValue",
|
|
1242
|
+
type: "uint64",
|
|
1243
|
+
},
|
|
1244
|
+
{
|
|
1245
|
+
internalType: "int256",
|
|
1246
|
+
name: "funding",
|
|
1247
|
+
type: "int256",
|
|
1248
|
+
},
|
|
1249
|
+
{
|
|
1250
|
+
internalType: "uint256",
|
|
1251
|
+
name: "borrowInterest",
|
|
1252
|
+
type: "uint256",
|
|
1253
|
+
},
|
|
1254
|
+
{
|
|
1255
|
+
internalType: "uint64",
|
|
1256
|
+
name: "liquidationPrice",
|
|
1257
|
+
type: "uint64",
|
|
1258
|
+
},
|
|
1259
|
+
],
|
|
1260
|
+
internalType: "struct TradingFloorLensStructs.CompletePositionDataFromLens[]",
|
|
1261
|
+
name: "completePositions",
|
|
1262
|
+
type: "tuple[]",
|
|
1263
|
+
},
|
|
1264
|
+
],
|
|
1265
|
+
stateMutability: "nonpayable",
|
|
1266
|
+
type: "function",
|
|
1267
|
+
},
|
|
1268
|
+
{
|
|
1269
|
+
inputs: [
|
|
1270
|
+
{
|
|
1271
|
+
internalType: "address",
|
|
1272
|
+
name: "tf",
|
|
1273
|
+
type: "address",
|
|
1274
|
+
},
|
|
1275
|
+
],
|
|
1276
|
+
name: "getTradingFloorTradeParams",
|
|
1277
|
+
outputs: [
|
|
1278
|
+
{
|
|
1279
|
+
components: [
|
|
1280
|
+
{
|
|
1281
|
+
internalType: "address",
|
|
1282
|
+
name: "tradingFloor",
|
|
1283
|
+
type: "address",
|
|
1284
|
+
},
|
|
1285
|
+
{
|
|
1286
|
+
internalType: "uint16",
|
|
1287
|
+
name: "maxTradesPerPair",
|
|
1288
|
+
type: "uint16",
|
|
1289
|
+
},
|
|
1290
|
+
{
|
|
1291
|
+
internalType: "uint16",
|
|
1292
|
+
name: "maxSlF",
|
|
1293
|
+
type: "uint16",
|
|
1294
|
+
},
|
|
1295
|
+
{
|
|
1296
|
+
internalType: "uint32",
|
|
1297
|
+
name: "maxSanityProfitF",
|
|
1298
|
+
type: "uint32",
|
|
1299
|
+
},
|
|
1300
|
+
],
|
|
1301
|
+
internalType: "struct TradingFloorLensTradeParams",
|
|
1302
|
+
name: "tradeParams",
|
|
1303
|
+
type: "tuple",
|
|
1304
|
+
},
|
|
1305
|
+
],
|
|
1306
|
+
stateMutability: "view",
|
|
1307
|
+
type: "function",
|
|
1308
|
+
},
|
|
1309
|
+
];
|
|
1310
|
+
const _bytecode = "0x608060405234801561001057600080fd5b506132ad806100206000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c8063a40d726811610066578063a40d726814610132578063ab2e4f8914610153578063b79a9a1b14610173578063e9403cd814610186578063f14d1fb8146101e457600080fd5b806342b9fe59146100a35780637ae5361d146100cc5780637f06ad6c146100df57806386317c00146100ff5780639a59cb4914610112575b600080fd5b6100b66100b136600461239d565b6101f7565b6040516100c391906125da565b60405180910390f35b6100b66100da366004612629565b61020e565b6100f26100ed36600461266a565b6104cc565b6040516100c39190612682565b6100b661010d36600461271a565b610a01565b610125610120366004612765565b610c25565b6040516100c39190612791565b6101456101403660046127b2565b610c40565b6040519081526020016100c3565b610166610161366004612860565b610caf565b6040516100c391906128b3565b6100b6610181366004612989565b611646565b610199610194366004612a04565b61172a565b6040805182516001600160a01b0316815260208084015161ffff9081169183019190915283830151169181019190915260609182015163ffffffff16918101919091526080016100c3565b6101666101f2366004612a21565b611757565b606061020585858585611816565b95945050505050565b6040516303b90a8760e01b81526001600160a01b0383811660048301526060916000918616906303b90a8790602401602060405180830381865afa15801561025a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027e9190612a3d565b90506000816001600160a01b0316630fc2b8f56040518163ffffffff1660e01b8152600401600060405180830381865afa1580156102c0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526102e89190810190612b3f565b9050836001600160401b0381111561030257610302612a5a565b60405190808252806020026020018201604052801561033b57816020015b6103286122a9565b8152602001906001900390816103205790505b5092506000805b82518110156104c057600083828151811061035f5761035f612bd2565b60209081029190910101516040516318c3390960e11b81526001600160a01b038a8116600483015261ffff831660248301529192506000918b1690633186721290604401600060405180830381865afa1580156103c0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103e89190810190612be8565b905060005b81518110156104b557600082828151811061040a5761040a612bd2565b60200260200101519050600061043b8d8d848b8a8151811061042e5761042e612bd2565b6020026020010151611816565b905060005b81518110156104aa57878c0361045f57505050505050505050506104c5565b81818151811061047157610471612bd2565b60200260200101518b898061048590612c8c565b9a508151811061049757610497612bd2565b6020908102919091010152600101610440565b5050506001016103ed565b505050600101610342565b505050505b9392505050565b6105076040518060c0016040528060608152602001600081526020016000815260200160008152602001600081526020016000151581525090565b60006105166020840184612a04565b6001600160a01b0316637b1039996040518163ffffffff1660e01b8152600401602060405180830381865afa158015610553573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105779190612a3d565b6001600160a01b031663166b97546105926020860186612a04565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401600060405180830381865afa1580156105d6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105fe9190810190612be8565b905082608001356001600160401b0381111561061c5761061c612a5a565b60405190808252806020026020018201604052801561065557816020015b6106426122a9565b81526020019060019003908161063a5790505b508252600060208084019190915283013560408084019190915283013560608084019190915283013560808301525b8051826040015110156109f45760006106a06020850185612a04565b6001600160a01b03166303b90a87838560400151815181106106c4576106c4612bd2565b60200260200101516040518263ffffffff1660e01b81526004016106f791906001600160a01b0391909116815260200190565b602060405180830381865afa158015610714573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107389190612a3d565b90506000816001600160a01b0316630fc2b8f56040518163ffffffff1660e01b8152600401600060405180830381865afa15801561077a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107a29190810190612b3f565b90505b8051846060015110156109d3576000818560600151815181106107ca576107ca612bd2565b6020026020010151905060008660000160208101906107e99190612a04565b6001600160a01b031663318672128688604001518151811061080d5761080d612bd2565b6020026020010151846040518363ffffffff1660e01b815260040161084b9291906001600160a01b0392909216825261ffff16602082015260400190565b600060405180830381865afa158015610868573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108909190810190612be8565b90505b8051866080015110156109b25786608001358660200151106108b9575050505050919050565b600061090d6108cb60208a018a612a04565b878960400151815181106108e1576108e1612bd2565b6020026020010151848a60800151815181106108ff576108ff612bd2565b602002602001015186611816565b90508760800135815188602001516109259190612ca5565b111561093657505050505050919050565b60005b81518110156109985781818151811061095457610954612bd2565b6020026020010151886000015189602001805180919061097390612c8c565b90528151811061098557610985612bd2565b6020908102919091010152600101610939565b5050608086018051906109aa82612c8c565b905250610893565b505060006080850152606084018051906109cb82612c8c565b9052506107a5565b505060006060830152604082018051906109ec82612c8c565b905250610684565b50600160a0820152919050565b6040516303b90a8760e01b81526001600160a01b0383811660048301526060916000918616906303b90a8790602401602060405180830381865afa158015610a4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a719190612a3d565b90506001600160a01b038116610abe5760405162461bcd60e51b815260206004820152600d60248201526c1393d7d050d0d3d55395105395609a1b60448201526064015b60405180910390fd5b6000816001600160a01b0316630fc2b8f56040518163ffffffff1660e01b8152600401600060405180830381865afa158015610afe573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b269190810190612b3f565b90506000815111610b675760405162461bcd60e51b815260206004820152600b60248201526a4e4f5f504149525f49445360a81b6044820152606401610ab5565b6040805160468082526108e0820190925290816020015b610b866122a9565b815260200190600190039081610b7e5790505092506000805b82518110156104c0576000610bc289898987868151811061042e5761042e612bd2565b905060005b8151811015610c1b57818181518110610be257610be2612bd2565b6020026020010151878580610bf690612c8c565b965081518110610c0857610c08612bd2565b6020908102919091010152600101610bc7565b5050600101610b9f565b610c2d6122a9565b610c3783836119f1565b90505b92915050565b60408051606095861b6bffffffffffffffffffffffff199081166020808401919091529590961b909516603486015260f09290921b6001600160f01b031916604885015260e01b6001600160e01b031916604a8401528051602e818503018152604e9093019052815191012090565b610cf56040518060e001604052806060815260200160008152602001600081526020016000815260200160008152602001600061ffff1681526020016000151581525090565b6000610d046020860186612a04565b6001600160a01b0316637b1039996040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d41573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d659190612a3d565b6001600160a01b031663166b9754610d806020880188612a04565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401600060405180830381865afa158015610dc4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dec9190810190612be8565b90506000610dfd6020870187612a04565b6001600160a01b031663f65d9dbe6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5e9190612cb8565b90508560a001356001600160401b03811115610e7c57610e7c612a5a565b604051908082528060200260200182016040528015610ed557816020015b6040805160a081018252600080825260208083018290529282018190526060820181905260808201528252600019909201910181610e9a5790505b5083526000602080850191909152860135604080850191909152860135606080850191909152860135608080850191909152610f179060a08801908801612cd1565b61ffff1660a08401525b815183604001511015611636576000610f3d6020880188612a04565b6001600160a01b03166303b90a8784866040015181518110610f6157610f61612bd2565b60200260200101516040518263ffffffff1660e01b8152600401610f9491906001600160a01b0391909116815260200190565b602060405180830381865afa158015610fb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd59190612a3d565b90506000816001600160a01b0316630fc2b8f56040518163ffffffff1660e01b8152600401600060405180830381865afa158015611017573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261103f9190810190612b3f565b90505b8051856060015110156116155760008186606001518151811061106757611067612bd2565b6020026020010151905060008960000160208101906110869190612a04565b6001600160a01b03166331867212878960400151815181106110aa576110aa612bd2565b6020026020010151846040518363ffffffff1660e01b81526004016110e89291906001600160a01b0392909216825261ffff16602082015260400190565b600060405180830381865afa158015611105573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261112d9190810190612be8565b90505b8051876080015110156115f4575b848760a0015161ffff16116115d5578960a00135876020015110611167575050505050506104c5565b60006111b78789604001518151811061118257611182612bd2565b6020026020010151838a60800151815181106111a0576111a0612bd2565b6020026020010151858b60a0015161ffff16610c40565b905060006111c860208d018d612a04565b6001600160a01b0316638f7a8fb5836040518263ffffffff1660e01b81526004016111f591815260200190565b60e060405180830381865afa158015611212573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112369190612d22565b9050600081602001516005811115611250576112506123f9565b0361125c5750506115b9565b60008a810361126d575060016112ee565b60005b60ff81168c11156112ec578c8c8260ff1681811061129057611290612bd2565b90506020020160208101906112a59190612db3565b60058111156112b6576112b66123f9565b836020015160058111156112cc576112cc6123f9565b036112da57600191506112ec565b806112e481612dd0565b915050611270565b505b806112fb575050506115b9565b600061130a60208f018f612a04565b6001600160a01b03166366307a4f856040518263ffffffff1660e01b815260040161133791815260200190565b608060405180830381865afa158015611354573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113789190612e4f565b905060006001600160a01b03168a8c604001518151811061139b5761139b612bd2565b60200260200101516001600160a01b0316141580156113c7575060008360a001516001600160401b0316115b156115b4576040805160a08101825260006020808301828152938301829052606083018290526080830191909152868252850151909190600581111561140f5761140f6123f9565b90816005811115611422576114226123f9565b81525050886001600160a01b0316637f7c413886898760a00151866040015189608001518a600001518b606001516040518863ffffffff1660e01b81526004016114729796959493929190612e6b565b6020604051808303816000875af1158015611491573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b59190612cb8565b81608001906001600160401b031690816001600160401b0316815250506000808a6001600160a01b0316637dd29a66888b89608001518a600001518b606001518c60a001518b604001516040518863ffffffff1660e01b81526004016115219796959493929190612eb1565b60408051808303816000875af115801561153f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115639190612ef7565b915091508183606001818152505080836040018181525050828e600001518f602001805180919061159390612c8c565b9052815181106115a5576115a5612bd2565b60200260200101819052505050505b505050505b60a087018051906115c982612f1b565b61ffff1690525061113e565b600160a0880152608087018051906115ec82612c8c565b905250611130565b5050600060808601526060850180519061160d82612c8c565b905250611042565b5050600060608401526040830180519061162e82612c8c565b905250610f21565b5050600160c08201529392505050565b60408051601e8082526103e08201909252606091816020015b6116676122a9565b81526020019060019003908161165f5790505090506000805b8381101561171f5760006116bc8989898989878181106116a2576116a2612bd2565b90506020020160208101906116b79190612cd1565b611816565b905060005b8151811015611715578181815181106116dc576116dc612bd2565b60200260200101518585806116f090612c8c565b96508151811061170257611702612bd2565b60209081029190910101526001016116c1565b5050600101611680565b505095945050505050565b604080516080810182526000808252602082018190529181018290526060810191909152610c3a826120f8565b61179d6040518060e001604052806060815260200160008152602001600081526020016000815260200160008152602001600061ffff1681526020016000151581525090565b6040805160008152602081019182905263ab2e4f8960e01b909152309063ab2e4f89906117cf90859060248101612f3c565b6000604051808303816000875af11580156117ee573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c3a919081019061308d565b604051634600c9b760e11b81526001600160a01b038481166004830152838116602483015261ffff83166044830152606091600091871690638c01936e906064016040805180830381865afa158015611873573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118979190613143565b6000015163ffffffff16905060008190506000876001600160a01b031663f65d9dbe6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061190c9190612cb8565b9050816001600160401b0381111561192657611926612a5a565b60405190808252806020026020018201604052801561195f57816020015b61194c6122a9565b8152602001906001900390816119445790505b509350600060015b828161ffff16116119e4578060006119868c8c8c8c61ffff871661227c565b905060008160c0015160058111156119a0576119a06123f9565b146119cf578088856119b181612c8c565b9650815181106119c3576119c3612bd2565b60200260200101819052505b505080806119dc90612f1b565b915050611967565b5050505050949350505050565b6119f96122a9565b604051638f7a8fb560e01b8152600481018390526000906001600160a01b03851690638f7a8fb59060240160e060405180830381865afa158015611a41573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a659190612d22565b9050600081602001516005811115611a7f57611a7f6123f9565b03611a8a5750610c3a565b60405163042e37c560e01b8152600481018490526000906001600160a01b0386169063042e37c590602401608060405180830381865afa158015611ad2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611af691906131a1565b60405163ddf474f160e01b8152600481018690529091506000906001600160a01b0387169063ddf474f190602401608060405180830381865afa158015611b41573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b659190612e4f565b6040516366307a4f60e01b8152600481018790529091506000906001600160a01b038816906366307a4f90602401608060405180830381865afa158015611bb0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bd49190612e4f565b86865283516001600160a01b039081166020808901919091526060808701519092166040808a01919091528187015161ffff16928901929092529085015163ffffffff166080880152855160a088015285015190915060c08601906005811115611c4057611c406123f9565b90816005811115611c5357611c536123f9565b9052506040808501516001600160401b0390811660e088015260608087015163ffffffff9081166101008a0152608088015115156101208a015260a088015183166101408a015260c0880151166101608901528451821661018089015260208086015183166101a08a0152928401518216610200890152835182166101c0890152830151811661022088015290820151166101e086015282516001600160a01b031615801590611d11575060008561014001516001600160401b0316115b15611ee85782516040516303b90a8760e01b81526001600160a01b0391821660048201526000918916906303b90a8790602401602060405180830381865afa158015611d61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d859190612a3d565b9050806001600160a01b0316637f7c41388888606001518961014001518a61020001518b61012001518c60a001518d61010001516040518863ffffffff1660e01b8152600401611ddb9796959493929190612e6b565b6020604051808303816000875af1158015611dfa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e1e9190612cb8565b8661030001906001600160401b031690816001600160401b031681525050600080826001600160a01b0316637dd29a668a8a606001518b61012001518c60a001518d61010001518e61014001518f61020001516040518863ffffffff1660e01b8152600401611e939796959493929190612eb1565b60408051808303816000875af1158015611eb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ed59190612ef7565b6102e08a01919091526102c08901525050505b6000876001600160a01b0316637b1039996040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f4c9190612a3d565b6001600160a01b0316637bbb19dc6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f89573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fad9190612a3d565b90506000816001600160a01b031663776af5ba6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120139190612a3d565b6001600160a01b031663e10b8c32896040518263ffffffff1660e01b815260040161204091815260200190565b60a060405180830381865afa15801561205d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120819190613208565b60408101516001600160401b0316610260890152602081015190915061024088019060038111156120b4576120b46123f9565b908160038111156120c7576120c76123f9565b90525060608101516001600160401b03908116610280890152608090910151166102a0870152505050505092915050565b604080516080810182526000602080830182905282840182905260608301919091526001600160a01b0384168083528351637b2ecedf60e11b8152935192938593919263f65d9dbe926004808401938290030181865afa158015612160573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121849190612cb8565b61ffff166020808401919091526040805163f51f3fd360e01b815290516001600160a01b0384169263f51f3fd392600480820193918290030181865afa1580156121d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121f69190612cb8565b826040019061ffff16908161ffff1681525050806001600160a01b031663825714096040518163ffffffff1660e01b8152600401602060405180830381865afa158015612247573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061226b9190612cb8565b63ffffffff16606083015250919050565b6122846122a9565b600061229286868686610c40565b905061229e87826119f1565b979650505050505050565b6040805161032081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101829052610200810182905261022081018290526102408101829052610260810182905261028081018290526102a081018290526102c081018290526102e0810182905261030081019190915290565b6001600160a01b038116811461238a57600080fd5b50565b61ffff8116811461238a57600080fd5b600080600080608085870312156123b357600080fd5b84356123be81612375565b935060208501356123ce81612375565b925060408501356123de81612375565b915060608501356123ee8161238d565b939692955090935050565b634e487b7160e01b600052602160045260246000fd5b6006811061241f5761241f6123f9565b9052565b6004811061241f5761241f6123f9565b80518252602081015161245160208401826001600160a01b03169052565b50604081015161246c60408401826001600160a01b03169052565b506060810151612482606084018261ffff169052565b50608081015161249a608084018263ffffffff169052565b5060a081015160a083015260c08101516124b760c084018261240f565b5060e08101516124d260e08401826001600160401b03169052565b506101008181015163ffffffff9081169184019190915261012080830151151590840152610140808301516001600160401b03908116918501919091526101608084015190921691840191909152610180808301518216908401526101a0808301518216908401526101c0808301518216908401526101e0808301518216908401526102008083015182169084015261022080830151909116908301526102408082015161258282850182612423565b5050610260818101516001600160401b0390811691840191909152610280808301518216908401526102a0808301518216908401526102c080830151908401526102e080830151908401526103009182015116910152565b6020808252825182820181905260009190848201906040850190845b8181101561261d57612609838551612433565b9284019261032092909201916001016125f6565b50909695505050505050565b60008060006060848603121561263e57600080fd5b833561264981612375565b9250602084013561265981612375565b929592945050506040919091013590565b600060a0828403121561267c57600080fd5b50919050565b6020808252825160c083830152805160e084018190526000929182019083906101008601905b808310156126d2576126bb828551612433565b6103208201915084840193506001830192506126a8565b50602087015160408701526040870151606087015260608701516080870152608087015160a087015260a0870151935061271060c087018515159052565b9695505050505050565b60008060006060848603121561272f57600080fd5b833561273a81612375565b9250602084013561274a81612375565b9150604084013561275a81612375565b809150509250925092565b6000806040838503121561277857600080fd5b823561278381612375565b946020939093013593505050565b6103208101610c3a8284612433565b63ffffffff8116811461238a57600080fd5b600080600080608085870312156127c857600080fd5b84356127d381612375565b935060208501356127e381612375565b925060408501356127f38161238d565b915060608501356123ee816127a0565b600060c0828403121561267c57600080fd5b60008083601f84011261282757600080fd5b5081356001600160401b0381111561283e57600080fd5b6020830191508360208260051b850101111561285957600080fd5b9250929050565b600080600060e0848603121561287557600080fd5b61287f8585612803565b925060c08401356001600160401b0381111561289a57600080fd5b6128a686828701612815565b9497909650939450505050565b6020808252825160e083830152805161010084018190526000929182019083906101208601905b8083101561293657835180518352858101516128f88785018261240f565b5060408181015190840152606080820151908401526080908101516001600160401b031690830152928401926001929092019160a0909101906128da565b508387015160408701526040870151606087015260608701516080870152608087015160a087015260a0870151935061297560c087018561ffff169052565b60c087015180151560e08801529350612710565b6000806000806000608086880312156129a157600080fd5b85356129ac81612375565b945060208601356129bc81612375565b935060408601356129cc81612375565b925060608601356001600160401b038111156129e757600080fd5b6129f388828901612815565b969995985093965092949392505050565b600060208284031215612a1657600080fd5b81356104c581612375565b600060c08284031215612a3357600080fd5b610c378383612803565b600060208284031215612a4f57600080fd5b81516104c581612375565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715612a9257612a92612a5a565b60405290565b604051608081016001600160401b0381118282101715612a9257612a92612a5a565b60405160a081016001600160401b0381118282101715612a9257612a92612a5a565b604051601f8201601f191681016001600160401b0381118282101715612b0457612b04612a5a565b604052919050565b60006001600160401b03821115612b2557612b25612a5a565b5060051b60200190565b8051612b3a8161238d565b919050565b60006020808385031215612b5257600080fd5b82516001600160401b03811115612b6857600080fd5b8301601f81018513612b7957600080fd5b8051612b8c612b8782612b0c565b612adc565b81815260059190911b82018301908381019087831115612bab57600080fd5b928401925b8284101561229e578351612bc38161238d565b82529284019290840190612bb0565b634e487b7160e01b600052603260045260246000fd5b60006020808385031215612bfb57600080fd5b82516001600160401b03811115612c1157600080fd5b8301601f81018513612c2257600080fd5b8051612c30612b8782612b0c565b81815260059190911b82018301908381019087831115612c4f57600080fd5b928401925b8284101561229e578351612c6781612375565b82529284019290840190612c54565b634e487b7160e01b600052601160045260246000fd5b600060018201612c9e57612c9e612c76565b5060010190565b80820180821115610c3a57610c3a612c76565b600060208284031215612cca57600080fd5b5051919050565b600060208284031215612ce357600080fd5b81356104c58161238d565b6006811061238a57600080fd5b80516001600160401b0381168114612b3a57600080fd5b80518015158114612b3a57600080fd5b600060e08284031215612d3457600080fd5b612d3c612a70565b825181526020830151612d4e81612cee565b6020820152612d5f60408401612cfb565b60408201526060830151612d72816127a0565b6060820152612d8360808401612d12565b6080820152612d9460a08401612cfb565b60a082015260c0830151612da7816127a0565b60c08201529392505050565b600060208284031215612dc557600080fd5b81356104c581612cee565b600060ff821660ff8103612de657612de6612c76565b60010192915050565b600060808284031215612e0157600080fd5b612e09612a98565b9050612e1482612cfb565b8152612e2260208301612cfb565b6020820152612e3360408301612cfb565b6040820152612e4460608301612cfb565b606082015292915050565b600060808284031215612e6157600080fd5b610c378383612def565b96875261ffff9590951660208701526001600160401b039384166040870152919092166060850152901515608084015260a083015263ffffffff1660c082015260e00190565b96875261ffff9590951660208701529215156040860152606085019190915263ffffffff1660808401526001600160401b0390811660a08401521660c082015260e00190565b60008060408385031215612f0a57600080fd5b505080516020909101519092909150565b600061ffff808316818103612f3257612f32612c76565b6001019392505050565b600060e082018435612f4d81612375565b6001600160a01b031683526020858101358185015260408087013590850152606080870135908501526080860135612f848161238d565b61ffff16608085015260a0868101359085015260e060c0850152845191829052602085019161010085019060005b81811015612fd557612fc583865161240f565b9383019391830191600101612fb2565b5090979650505050505050565b600082601f830112612ff357600080fd5b81516020613003612b8783612b0c565b82815260a0928302850182019282820191908785111561302257600080fd5b8387015b85811015612fd55781818a03121561303e5760008081fd5b613046612aba565b815181528582015161305781612cee565b818701526040828101519082015260608083015190820152608061307c818401612cfb565b908201528452928401928101613026565b60006020828403121561309f57600080fd5b81516001600160401b03808211156130b657600080fd5b9083019060e082860312156130ca57600080fd5b6130d2612a70565b8251828111156130e157600080fd5b6130ed87828601612fe2565b8252506020830151602082015260408301516040820152606083015160608201526080830151608082015261312460a08401612b2f565b60a082015261313560c08401612d12565b60c082015295945050505050565b60006040828403121561315557600080fd5b604051604081018181106001600160401b038211171561317757613177612a5a565b6040528251613185816127a0565b81526020830151613195816127a0565b60208201529392505050565b6000608082840312156131b357600080fd5b6131bb612a98565b82516131c681612375565b815260208301516131d68161238d565b602082015260408301516131e9816127a0565b604082015260608301516131fc81612375565b60608201529392505050565b600060a0828403121561321a57600080fd5b613222612aba565b8251815260208301516004811061323857600080fd5b602082015261324960408401612cfb565b604082015261325a60608401612cfb565b606082015261326b60808401612cfb565b6080820152939250505056fea2646970667358221220ff65c071750a99e6359fa894602a907c85b5b759f5df5bc66fd51e6305b59fc364736f6c63430008180033";
|
|
1311
|
+
const isSuperArgs = (xs) => xs.length > 1;
|
|
1312
|
+
class TradingFloorLens__factory extends ethers_1.ContractFactory {
|
|
1313
|
+
constructor(...args) {
|
|
1314
|
+
if (isSuperArgs(args)) {
|
|
1315
|
+
super(...args);
|
|
1316
|
+
}
|
|
1317
|
+
else {
|
|
1318
|
+
super(_abi, _bytecode, args[0]);
|
|
1319
|
+
}
|
|
1320
|
+
}
|
|
1321
|
+
getDeployTransaction(overrides) {
|
|
1322
|
+
return super.getDeployTransaction(overrides || {});
|
|
1323
|
+
}
|
|
1324
|
+
deploy(overrides) {
|
|
1325
|
+
return super.deploy(overrides || {});
|
|
1326
|
+
}
|
|
1327
|
+
connect(runner) {
|
|
1328
|
+
return super.connect(runner);
|
|
1329
|
+
}
|
|
1330
|
+
static createInterface() {
|
|
1331
|
+
return new ethers_1.Interface(_abi);
|
|
1332
|
+
}
|
|
1333
|
+
static connect(address, runner) {
|
|
1334
|
+
return new ethers_1.Contract(address, _abi, runner);
|
|
1335
|
+
}
|
|
1336
|
+
}
|
|
1337
|
+
exports.TradingFloorLens__factory = TradingFloorLens__factory;
|
|
1338
|
+
TradingFloorLens__factory.bytecode = _bytecode;
|
|
1339
|
+
TradingFloorLens__factory.abi = _abi;
|