@gmx-io/sdk 1.2.1 → 1.3.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/build/cjs/src/abis/ClaimHandler.json +1 -16
- package/build/cjs/src/abis/CustomErrors.json +642 -61
- package/build/cjs/src/abis/DataStore.json +25 -6
- package/build/cjs/src/abis/EventEmitter.json +1 -6
- package/build/cjs/src/abis/ExchangeRouter.json +195 -290
- package/build/cjs/src/abis/GelatoRelayRouter.json +251 -98
- package/build/cjs/src/abis/GlvReader.json +60 -3
- package/build/cjs/src/abis/GlvRouter.json +144 -86
- package/build/cjs/src/abis/GovToken.json +1 -354
- package/build/cjs/src/abis/LayerZeroProvider.json +372 -0
- package/build/cjs/src/abis/Multicall.json +134 -38
- package/build/cjs/src/abis/MultichainClaimsRouter.json +1266 -0
- package/build/cjs/src/abis/MultichainGlvRouter.json +1150 -0
- package/build/cjs/src/abis/MultichainGmRouter.json +1449 -0
- package/build/cjs/src/abis/MultichainOrderRouter.json +1820 -0
- package/build/cjs/src/abis/MultichainSubaccountRouter.json +2069 -0
- package/build/cjs/src/abis/MultichainTransferRouter.json +915 -0
- package/build/cjs/src/abis/MultichainUtils.json +133 -0
- package/build/cjs/src/abis/MultichainVault.json +275 -0
- package/build/cjs/src/abis/ReferralStorage.json +69 -19
- package/build/cjs/src/abis/RelayParams.json +85 -48
- package/build/cjs/src/abis/SmartAccount.json +28 -0
- package/build/cjs/src/abis/SubaccountGelatoRelayRouter.json +282 -148
- package/build/cjs/src/abis/SubaccountRouter.json +62 -118
- package/build/cjs/src/abis/SyntheticsReader.json +342 -474
- package/build/cjs/src/abis/SyntheticsRouter.json +1 -6
- package/build/cjs/src/abis/index.js +51 -7
- package/build/cjs/src/configs/__tests__/markets.spec.js +1 -1
- package/build/cjs/src/configs/__tests__/permits.spec.js +1 -1
- package/build/cjs/src/configs/__tests__/tokens.spec.js +1 -1
- package/build/cjs/src/configs/batch.js +48 -0
- package/build/cjs/src/configs/chains.js +41 -8
- package/build/cjs/src/configs/contracts.js +151 -41
- package/build/cjs/src/configs/dataStore.js +39 -5
- package/build/cjs/src/configs/express.js +4 -0
- package/build/cjs/src/configs/factors.js +1 -1
- package/build/cjs/src/configs/markets.js +128 -0
- package/build/cjs/src/configs/oracleKeeper.js +2 -0
- package/build/cjs/src/configs/tokens.js +217 -2
- package/build/cjs/src/modules/markets/index.js +9 -4
- package/build/cjs/src/modules/markets/query-builders.js +28 -8
- package/build/cjs/src/modules/orders/helpers.js +2 -2
- package/build/cjs/src/modules/orders/helpers.spec.js +1 -1
- package/build/cjs/src/modules/orders/transactions/createDecreaseOrderTxn.js +1 -0
- package/build/cjs/src/modules/orders/transactions/createIncreaseOrderTxn.js +1 -0
- package/build/cjs/src/modules/orders/transactions/createSwapOrderTxn.js +1 -0
- package/build/cjs/src/modules/orders/utils.js +4 -5
- package/build/cjs/src/modules/positions/positions.js +38 -5
- package/build/cjs/src/modules/utils/utils.js +1 -0
- package/build/cjs/src/prebuilt/hashedKinkModelMarketRatesKeys.json +146 -0
- package/build/cjs/src/prebuilt/hashedMarketConfigKeys.json +2207 -532
- package/build/cjs/src/prebuilt/hashedMarketValuesKeys.json +272 -0
- package/build/cjs/src/test/mock.js +9 -4
- package/build/cjs/src/types/subsquid.js +507 -1
- package/build/cjs/src/utils/LruCache.js +4 -0
- package/build/cjs/src/utils/__tests__/LruCache.spec.js +18 -0
- package/build/cjs/src/utils/__tests__/numbers.spec.js +18 -16
- package/build/cjs/src/utils/__tests__/orderTransactions/batchUtils.spec.js +0 -1
- package/build/cjs/src/utils/__tests__/orderTransactions/decreaseOrders.spec.js +8 -0
- package/build/cjs/src/utils/__tests__/orderTransactions/exchangeRouterMulticall.spec.js +38 -30
- package/build/cjs/src/utils/__tests__/orderTransactions/increaseOrders.spec.js +10 -0
- package/build/cjs/src/utils/__tests__/orderTransactions/swapOrders.spec.js +6 -0
- package/build/cjs/src/utils/__tests__/positions.spec.js +23 -6
- package/build/cjs/src/utils/bigmath.js +9 -2
- package/build/cjs/src/utils/errors/parseError.js +35 -1
- package/build/cjs/src/utils/fees/executionFee.js +5 -3
- package/build/cjs/src/utils/fees/index.js +8 -6
- package/build/cjs/src/utils/fees/priceImpact.js +94 -32
- package/build/cjs/src/utils/gelatoRelay.js +5 -0
- package/build/cjs/src/utils/marketKeysAndConfigs.js +24 -4
- package/build/cjs/src/utils/markets.js +10 -3
- package/build/cjs/src/utils/numbers.js +18 -17
- package/build/cjs/src/utils/orderTransactions.js +5 -1
- package/build/cjs/src/utils/positions.js +77 -9
- package/build/cjs/src/utils/prices.js +19 -13
- package/build/cjs/src/utils/swap/__tests__/mockRouting.spec.js +1 -0
- package/build/cjs/src/utils/swap/swapStats.js +6 -3
- package/build/cjs/src/utils/trade/decrease.js +470 -0
- package/build/cjs/src/utils/trade/{amounts.js → increase.js} +86 -31
- package/build/cjs/src/utils/tradeHistory.js +3 -0
- package/build/esm/src/abis/ClaimHandler.json +1 -16
- package/build/esm/src/abis/CustomErrors.json +642 -61
- package/build/esm/src/abis/DataStore.json +25 -6
- package/build/esm/src/abis/EventEmitter.json +1 -6
- package/build/esm/src/abis/ExchangeRouter.json +195 -290
- package/build/esm/src/abis/GelatoRelayRouter.json +251 -98
- package/build/esm/src/abis/GlvReader.json +60 -3
- package/build/esm/src/abis/GlvRouter.json +144 -86
- package/build/esm/src/abis/GovToken.json +1 -354
- package/build/esm/src/abis/LayerZeroProvider.json +372 -0
- package/build/esm/src/abis/Multicall.json +134 -38
- package/build/esm/src/abis/MultichainClaimsRouter.json +1266 -0
- package/build/esm/src/abis/MultichainGlvRouter.json +1150 -0
- package/build/esm/src/abis/MultichainGmRouter.json +1449 -0
- package/build/esm/src/abis/MultichainOrderRouter.json +1820 -0
- package/build/esm/src/abis/MultichainSubaccountRouter.json +2069 -0
- package/build/esm/src/abis/MultichainTransferRouter.json +915 -0
- package/build/esm/src/abis/MultichainUtils.json +133 -0
- package/build/esm/src/abis/MultichainVault.json +275 -0
- package/build/esm/src/abis/ReferralStorage.json +69 -19
- package/build/esm/src/abis/RelayParams.json +85 -48
- package/build/esm/src/abis/SmartAccount.json +28 -0
- package/build/esm/src/abis/SubaccountGelatoRelayRouter.json +282 -148
- package/build/esm/src/abis/SubaccountRouter.json +62 -118
- package/build/esm/src/abis/SyntheticsReader.json +342 -474
- package/build/esm/src/abis/SyntheticsRouter.json +1 -6
- package/build/esm/src/abis/index.js +51 -7
- package/build/esm/src/configs/__tests__/markets.spec.js +3 -3
- package/build/esm/src/configs/__tests__/permits.spec.js +2 -2
- package/build/esm/src/configs/__tests__/tokens.spec.js +2 -2
- package/build/esm/src/configs/batch.js +49 -1
- package/build/esm/src/configs/chains.js +40 -7
- package/build/esm/src/configs/contracts.js +152 -42
- package/build/esm/src/configs/dataStore.js +29 -1
- package/build/esm/src/configs/express.js +5 -1
- package/build/esm/src/configs/factors.js +1 -1
- package/build/esm/src/configs/markets.js +129 -1
- package/build/esm/src/configs/oracleKeeper.js +3 -1
- package/build/esm/src/configs/tokens.js +216 -2
- package/build/esm/src/modules/markets/index.js +9 -4
- package/build/esm/src/modules/markets/query-builders.js +28 -8
- package/build/esm/src/modules/orders/helpers.js +1 -1
- package/build/esm/src/modules/orders/helpers.spec.js +1 -1
- package/build/esm/src/modules/orders/transactions/createDecreaseOrderTxn.js +1 -0
- package/build/esm/src/modules/orders/transactions/createIncreaseOrderTxn.js +1 -0
- package/build/esm/src/modules/orders/transactions/createSwapOrderTxn.js +1 -0
- package/build/esm/src/modules/orders/utils.js +4 -5
- package/build/esm/src/modules/positions/positions.js +40 -7
- package/build/esm/src/modules/utils/utils.js +1 -0
- package/build/esm/src/prebuilt/hashedKinkModelMarketRatesKeys.json +146 -0
- package/build/esm/src/prebuilt/hashedMarketConfigKeys.json +2207 -532
- package/build/esm/src/prebuilt/hashedMarketValuesKeys.json +272 -0
- package/build/esm/src/test/mock.js +9 -4
- package/build/esm/src/types/subsquid.js +506 -0
- package/build/esm/src/utils/LruCache.js +4 -0
- package/build/esm/src/utils/__tests__/LruCache.spec.js +18 -0
- package/build/esm/src/utils/__tests__/numbers.spec.js +18 -16
- package/build/esm/src/utils/__tests__/orderTransactions/batchUtils.spec.js +0 -1
- package/build/esm/src/utils/__tests__/orderTransactions/decreaseOrders.spec.js +8 -0
- package/build/esm/src/utils/__tests__/orderTransactions/exchangeRouterMulticall.spec.js +38 -30
- package/build/esm/src/utils/__tests__/orderTransactions/increaseOrders.spec.js +10 -0
- package/build/esm/src/utils/__tests__/orderTransactions/swapOrders.spec.js +7 -1
- package/build/esm/src/utils/__tests__/positions.spec.js +23 -6
- package/build/esm/src/utils/bigmath.js +9 -2
- package/build/esm/src/utils/errors/parseError.js +31 -0
- package/build/esm/src/utils/fees/executionFee.js +5 -3
- package/build/esm/src/utils/fees/index.js +8 -6
- package/build/esm/src/utils/fees/priceImpact.js +88 -30
- package/build/esm/src/utils/gelatoRelay.js +2 -0
- package/build/esm/src/utils/marketKeysAndConfigs.js +25 -5
- package/build/esm/src/utils/markets.js +7 -1
- package/build/esm/src/utils/numbers.js +18 -17
- package/build/esm/src/utils/orderTransactions.js +5 -1
- package/build/esm/src/utils/positions.js +75 -11
- package/build/esm/src/utils/prices.js +20 -14
- package/build/esm/src/utils/swap/__tests__/mockRouting.spec.js +1 -0
- package/build/esm/src/utils/swap/swapStats.js +6 -3
- package/build/esm/src/utils/trade/decrease.js +460 -0
- package/build/esm/src/utils/trade/{amounts.js → increase.js} +87 -33
- package/build/esm/src/utils/tradeHistory.js +3 -0
- package/build/types/src/abis/index.d.ts +1 -1
- package/build/types/src/configs/batch.d.ts +2 -2
- package/build/types/src/configs/chains.d.ts +25 -20
- package/build/types/src/configs/contracts.d.ts +118 -10
- package/build/types/src/configs/dataStore.d.ts +16 -0
- package/build/types/src/configs/factors.d.ts +1 -1
- package/build/types/src/configs/markets.d.ts +2 -2
- package/build/types/src/configs/tokens.d.ts +1 -0
- package/build/types/src/index.d.ts +1 -1
- package/build/types/src/modules/base.d.ts +1 -1
- package/build/types/src/modules/markets/query-builders.d.ts +3 -2
- package/build/types/src/modules/markets/types.d.ts +2 -2
- package/build/types/src/modules/orders/transactions/createDecreaseOrderTxn.d.ts +1 -0
- package/build/types/src/modules/orders/transactions/createIncreaseOrderTxn.d.ts +1 -0
- package/build/types/src/modules/orders/transactions/createSwapOrderTxn.d.ts +1 -0
- package/build/types/src/modules/orders/utils.d.ts +6 -5
- package/build/types/src/types/fees.d.ts +1 -0
- package/build/types/src/types/markets.d.ts +10 -5
- package/build/types/src/types/orders.d.ts +1 -1
- package/build/types/src/types/positions.d.ts +26 -2
- package/build/types/src/types/sdk.d.ts +2 -2
- package/build/types/src/types/subsquid.d.ts +1259 -9
- package/build/types/src/types/tokens.d.ts +7 -0
- package/build/types/src/types/trade.d.ts +14 -3
- package/build/types/src/types/tradeHistory.d.ts +3 -0
- package/build/types/src/utils/LruCache.d.ts +1 -0
- package/build/types/src/utils/bigmath.d.ts +2 -1
- package/build/types/src/utils/errors/parseError.d.ts +11 -0
- package/build/types/src/utils/fees/executionFee.d.ts +6 -3
- package/build/types/src/utils/fees/index.d.ts +2 -2
- package/build/types/src/utils/fees/priceImpact.d.ts +33 -5
- package/build/types/src/utils/marketKeysAndConfigs.d.ts +9 -4
- package/build/types/src/utils/markets.d.ts +7 -0
- package/build/types/src/utils/multicall.d.ts +1 -1
- package/build/types/src/utils/numbers.d.ts +6 -3
- package/build/types/src/utils/orderTransactions.d.ts +6 -4
- package/build/types/src/utils/positions.d.ts +30 -0
- package/build/types/src/utils/prices.d.ts +4 -0
- package/build/types/src/utils/swap/swapValues.d.ts +1 -1
- package/build/types/src/utils/trade/decrease.d.ts +77 -0
- package/build/types/src/utils/trade/{amounts.d.ts → increase.d.ts} +16 -1
- package/package.json +2 -2
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_format": "hh-sol-artifact-1",
|
|
3
|
-
"contractName": "Reader",
|
|
4
|
-
"sourceName": "contracts/reader/Reader.sol",
|
|
5
2
|
"abi": [
|
|
6
3
|
{
|
|
7
4
|
"inputs": [
|
|
@@ -31,143 +28,165 @@
|
|
|
31
28
|
{
|
|
32
29
|
"components": [
|
|
33
30
|
{
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"name": "account",
|
|
38
|
-
"type": "address"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"internalType": "address",
|
|
42
|
-
"name": "receiver",
|
|
43
|
-
"type": "address"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"internalType": "address",
|
|
47
|
-
"name": "cancellationReceiver",
|
|
48
|
-
"type": "address"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"internalType": "address",
|
|
52
|
-
"name": "callbackContract",
|
|
53
|
-
"type": "address"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"internalType": "address",
|
|
57
|
-
"name": "uiFeeReceiver",
|
|
58
|
-
"type": "address"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"internalType": "address",
|
|
62
|
-
"name": "market",
|
|
63
|
-
"type": "address"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"internalType": "address",
|
|
67
|
-
"name": "initialCollateralToken",
|
|
68
|
-
"type": "address"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"internalType": "address[]",
|
|
72
|
-
"name": "swapPath",
|
|
73
|
-
"type": "address[]"
|
|
74
|
-
}
|
|
75
|
-
],
|
|
76
|
-
"internalType": "struct Order.Addresses",
|
|
77
|
-
"name": "addresses",
|
|
78
|
-
"type": "tuple"
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"components": [
|
|
82
|
-
{
|
|
83
|
-
"internalType": "enum Order.OrderType",
|
|
84
|
-
"name": "orderType",
|
|
85
|
-
"type": "uint8"
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
"internalType": "enum Order.DecreasePositionSwapType",
|
|
89
|
-
"name": "decreasePositionSwapType",
|
|
90
|
-
"type": "uint8"
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
"internalType": "uint256",
|
|
94
|
-
"name": "sizeDeltaUsd",
|
|
95
|
-
"type": "uint256"
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"internalType": "uint256",
|
|
99
|
-
"name": "initialCollateralDeltaAmount",
|
|
100
|
-
"type": "uint256"
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
"internalType": "uint256",
|
|
104
|
-
"name": "triggerPrice",
|
|
105
|
-
"type": "uint256"
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"internalType": "uint256",
|
|
109
|
-
"name": "acceptablePrice",
|
|
110
|
-
"type": "uint256"
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
"internalType": "uint256",
|
|
114
|
-
"name": "executionFee",
|
|
115
|
-
"type": "uint256"
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
"internalType": "uint256",
|
|
119
|
-
"name": "callbackGasLimit",
|
|
120
|
-
"type": "uint256"
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"internalType": "uint256",
|
|
124
|
-
"name": "minOutputAmount",
|
|
125
|
-
"type": "uint256"
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
"internalType": "uint256",
|
|
129
|
-
"name": "updatedAtTime",
|
|
130
|
-
"type": "uint256"
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
"internalType": "uint256",
|
|
134
|
-
"name": "validFromTime",
|
|
135
|
-
"type": "uint256"
|
|
136
|
-
}
|
|
137
|
-
],
|
|
138
|
-
"internalType": "struct Order.Numbers",
|
|
139
|
-
"name": "numbers",
|
|
140
|
-
"type": "tuple"
|
|
31
|
+
"internalType": "bytes32",
|
|
32
|
+
"name": "orderKey",
|
|
33
|
+
"type": "bytes32"
|
|
141
34
|
},
|
|
142
35
|
{
|
|
143
36
|
"components": [
|
|
144
37
|
{
|
|
145
|
-
"
|
|
146
|
-
|
|
147
|
-
|
|
38
|
+
"components": [
|
|
39
|
+
{
|
|
40
|
+
"internalType": "address",
|
|
41
|
+
"name": "account",
|
|
42
|
+
"type": "address"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"internalType": "address",
|
|
46
|
+
"name": "receiver",
|
|
47
|
+
"type": "address"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"internalType": "address",
|
|
51
|
+
"name": "cancellationReceiver",
|
|
52
|
+
"type": "address"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"internalType": "address",
|
|
56
|
+
"name": "callbackContract",
|
|
57
|
+
"type": "address"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"internalType": "address",
|
|
61
|
+
"name": "uiFeeReceiver",
|
|
62
|
+
"type": "address"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"internalType": "address",
|
|
66
|
+
"name": "market",
|
|
67
|
+
"type": "address"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"internalType": "address",
|
|
71
|
+
"name": "initialCollateralToken",
|
|
72
|
+
"type": "address"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"internalType": "address[]",
|
|
76
|
+
"name": "swapPath",
|
|
77
|
+
"type": "address[]"
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"internalType": "struct Order.Addresses",
|
|
81
|
+
"name": "addresses",
|
|
82
|
+
"type": "tuple"
|
|
148
83
|
},
|
|
149
84
|
{
|
|
150
|
-
"
|
|
151
|
-
|
|
152
|
-
|
|
85
|
+
"components": [
|
|
86
|
+
{
|
|
87
|
+
"internalType": "enum Order.OrderType",
|
|
88
|
+
"name": "orderType",
|
|
89
|
+
"type": "uint8"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"internalType": "enum Order.DecreasePositionSwapType",
|
|
93
|
+
"name": "decreasePositionSwapType",
|
|
94
|
+
"type": "uint8"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"internalType": "uint256",
|
|
98
|
+
"name": "sizeDeltaUsd",
|
|
99
|
+
"type": "uint256"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"internalType": "uint256",
|
|
103
|
+
"name": "initialCollateralDeltaAmount",
|
|
104
|
+
"type": "uint256"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"internalType": "uint256",
|
|
108
|
+
"name": "triggerPrice",
|
|
109
|
+
"type": "uint256"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"internalType": "uint256",
|
|
113
|
+
"name": "acceptablePrice",
|
|
114
|
+
"type": "uint256"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"internalType": "uint256",
|
|
118
|
+
"name": "executionFee",
|
|
119
|
+
"type": "uint256"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"internalType": "uint256",
|
|
123
|
+
"name": "callbackGasLimit",
|
|
124
|
+
"type": "uint256"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"internalType": "uint256",
|
|
128
|
+
"name": "minOutputAmount",
|
|
129
|
+
"type": "uint256"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"internalType": "uint256",
|
|
133
|
+
"name": "updatedAtTime",
|
|
134
|
+
"type": "uint256"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"internalType": "uint256",
|
|
138
|
+
"name": "validFromTime",
|
|
139
|
+
"type": "uint256"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"internalType": "uint256",
|
|
143
|
+
"name": "srcChainId",
|
|
144
|
+
"type": "uint256"
|
|
145
|
+
}
|
|
146
|
+
],
|
|
147
|
+
"internalType": "struct Order.Numbers",
|
|
148
|
+
"name": "numbers",
|
|
149
|
+
"type": "tuple"
|
|
153
150
|
},
|
|
154
151
|
{
|
|
155
|
-
"
|
|
156
|
-
|
|
157
|
-
|
|
152
|
+
"components": [
|
|
153
|
+
{
|
|
154
|
+
"internalType": "bool",
|
|
155
|
+
"name": "isLong",
|
|
156
|
+
"type": "bool"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"internalType": "bool",
|
|
160
|
+
"name": "shouldUnwrapNativeToken",
|
|
161
|
+
"type": "bool"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"internalType": "bool",
|
|
165
|
+
"name": "isFrozen",
|
|
166
|
+
"type": "bool"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"internalType": "bool",
|
|
170
|
+
"name": "autoCancel",
|
|
171
|
+
"type": "bool"
|
|
172
|
+
}
|
|
173
|
+
],
|
|
174
|
+
"internalType": "struct Order.Flags",
|
|
175
|
+
"name": "flags",
|
|
176
|
+
"type": "tuple"
|
|
158
177
|
},
|
|
159
178
|
{
|
|
160
|
-
"internalType": "
|
|
161
|
-
"name": "
|
|
162
|
-
"type": "
|
|
179
|
+
"internalType": "bytes32[]",
|
|
180
|
+
"name": "_dataList",
|
|
181
|
+
"type": "bytes32[]"
|
|
163
182
|
}
|
|
164
183
|
],
|
|
165
|
-
"internalType": "struct Order.
|
|
166
|
-
"name": "
|
|
184
|
+
"internalType": "struct Order.Props",
|
|
185
|
+
"name": "order",
|
|
167
186
|
"type": "tuple"
|
|
168
187
|
}
|
|
169
188
|
],
|
|
170
|
-
"internalType": "struct
|
|
189
|
+
"internalType": "struct ReaderUtils.OrderInfo[]",
|
|
171
190
|
"name": "",
|
|
172
191
|
"type": "tuple[]"
|
|
173
192
|
}
|
|
@@ -321,6 +340,11 @@
|
|
|
321
340
|
"name": "collateralAmount",
|
|
322
341
|
"type": "uint256"
|
|
323
342
|
},
|
|
343
|
+
{
|
|
344
|
+
"internalType": "int256",
|
|
345
|
+
"name": "pendingImpactAmount",
|
|
346
|
+
"type": "int256"
|
|
347
|
+
},
|
|
324
348
|
{
|
|
325
349
|
"internalType": "uint256",
|
|
326
350
|
"name": "borrowingFactor",
|
|
@@ -648,12 +672,27 @@
|
|
|
648
672
|
},
|
|
649
673
|
{
|
|
650
674
|
"internalType": "uint256",
|
|
651
|
-
"name": "
|
|
675
|
+
"name": "executionPrice",
|
|
652
676
|
"type": "uint256"
|
|
653
677
|
},
|
|
678
|
+
{
|
|
679
|
+
"internalType": "bool",
|
|
680
|
+
"name": "balanceWasImproved",
|
|
681
|
+
"type": "bool"
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
"internalType": "int256",
|
|
685
|
+
"name": "proportionalPendingImpactUsd",
|
|
686
|
+
"type": "int256"
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
"internalType": "int256",
|
|
690
|
+
"name": "totalImpactUsd",
|
|
691
|
+
"type": "int256"
|
|
692
|
+
},
|
|
654
693
|
{
|
|
655
694
|
"internalType": "uint256",
|
|
656
|
-
"name": "
|
|
695
|
+
"name": "priceImpactDiffUsd",
|
|
657
696
|
"type": "uint256"
|
|
658
697
|
}
|
|
659
698
|
],
|
|
@@ -751,6 +790,11 @@
|
|
|
751
790
|
"name": "collateralAmount",
|
|
752
791
|
"type": "uint256"
|
|
753
792
|
},
|
|
793
|
+
{
|
|
794
|
+
"internalType": "int256",
|
|
795
|
+
"name": "pendingImpactAmount",
|
|
796
|
+
"type": "int256"
|
|
797
|
+
},
|
|
754
798
|
{
|
|
755
799
|
"internalType": "uint256",
|
|
756
800
|
"name": "borrowingFactor",
|
|
@@ -1009,6 +1053,11 @@
|
|
|
1009
1053
|
"internalType": "uint256",
|
|
1010
1054
|
"name": "callbackGasLimit",
|
|
1011
1055
|
"type": "uint256"
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
"internalType": "uint256",
|
|
1059
|
+
"name": "srcChainId",
|
|
1060
|
+
"type": "uint256"
|
|
1012
1061
|
}
|
|
1013
1062
|
],
|
|
1014
1063
|
"internalType": "struct Deposit.Numbers",
|
|
@@ -1026,6 +1075,11 @@
|
|
|
1026
1075
|
"internalType": "struct Deposit.Flags",
|
|
1027
1076
|
"name": "flags",
|
|
1028
1077
|
"type": "tuple"
|
|
1078
|
+
},
|
|
1079
|
+
{
|
|
1080
|
+
"internalType": "bytes32[]",
|
|
1081
|
+
"name": "_dataList",
|
|
1082
|
+
"type": "bytes32[]"
|
|
1029
1083
|
}
|
|
1030
1084
|
],
|
|
1031
1085
|
"internalType": "struct Deposit.Props",
|
|
@@ -1180,18 +1234,59 @@
|
|
|
1180
1234
|
{
|
|
1181
1235
|
"components": [
|
|
1182
1236
|
{
|
|
1183
|
-
"
|
|
1184
|
-
|
|
1185
|
-
|
|
1237
|
+
"components": [
|
|
1238
|
+
{
|
|
1239
|
+
"internalType": "uint256",
|
|
1240
|
+
"name": "min",
|
|
1241
|
+
"type": "uint256"
|
|
1242
|
+
},
|
|
1243
|
+
{
|
|
1244
|
+
"internalType": "uint256",
|
|
1245
|
+
"name": "max",
|
|
1246
|
+
"type": "uint256"
|
|
1247
|
+
}
|
|
1248
|
+
],
|
|
1249
|
+
"internalType": "struct Price.Props",
|
|
1250
|
+
"name": "indexTokenPrice",
|
|
1251
|
+
"type": "tuple"
|
|
1252
|
+
},
|
|
1253
|
+
{
|
|
1254
|
+
"components": [
|
|
1255
|
+
{
|
|
1256
|
+
"internalType": "uint256",
|
|
1257
|
+
"name": "min",
|
|
1258
|
+
"type": "uint256"
|
|
1259
|
+
},
|
|
1260
|
+
{
|
|
1261
|
+
"internalType": "uint256",
|
|
1262
|
+
"name": "max",
|
|
1263
|
+
"type": "uint256"
|
|
1264
|
+
}
|
|
1265
|
+
],
|
|
1266
|
+
"internalType": "struct Price.Props",
|
|
1267
|
+
"name": "longTokenPrice",
|
|
1268
|
+
"type": "tuple"
|
|
1186
1269
|
},
|
|
1187
1270
|
{
|
|
1188
|
-
"
|
|
1189
|
-
|
|
1190
|
-
|
|
1271
|
+
"components": [
|
|
1272
|
+
{
|
|
1273
|
+
"internalType": "uint256",
|
|
1274
|
+
"name": "min",
|
|
1275
|
+
"type": "uint256"
|
|
1276
|
+
},
|
|
1277
|
+
{
|
|
1278
|
+
"internalType": "uint256",
|
|
1279
|
+
"name": "max",
|
|
1280
|
+
"type": "uint256"
|
|
1281
|
+
}
|
|
1282
|
+
],
|
|
1283
|
+
"internalType": "struct Price.Props",
|
|
1284
|
+
"name": "shortTokenPrice",
|
|
1285
|
+
"type": "tuple"
|
|
1191
1286
|
}
|
|
1192
1287
|
],
|
|
1193
|
-
"internalType": "struct
|
|
1194
|
-
"name": "
|
|
1288
|
+
"internalType": "struct MarketUtils.MarketPrices",
|
|
1289
|
+
"name": "prices",
|
|
1195
1290
|
"type": "tuple"
|
|
1196
1291
|
},
|
|
1197
1292
|
{
|
|
@@ -1209,6 +1304,11 @@
|
|
|
1209
1304
|
"name": "sizeDeltaUsd",
|
|
1210
1305
|
"type": "int256"
|
|
1211
1306
|
},
|
|
1307
|
+
{
|
|
1308
|
+
"internalType": "int256",
|
|
1309
|
+
"name": "pendingImpactAmount",
|
|
1310
|
+
"type": "int256"
|
|
1311
|
+
},
|
|
1212
1312
|
{
|
|
1213
1313
|
"internalType": "bool",
|
|
1214
1314
|
"name": "isLong",
|
|
@@ -1226,12 +1326,27 @@
|
|
|
1226
1326
|
},
|
|
1227
1327
|
{
|
|
1228
1328
|
"internalType": "uint256",
|
|
1229
|
-
"name": "
|
|
1329
|
+
"name": "executionPrice",
|
|
1230
1330
|
"type": "uint256"
|
|
1231
1331
|
},
|
|
1332
|
+
{
|
|
1333
|
+
"internalType": "bool",
|
|
1334
|
+
"name": "balanceWasImproved",
|
|
1335
|
+
"type": "bool"
|
|
1336
|
+
},
|
|
1337
|
+
{
|
|
1338
|
+
"internalType": "int256",
|
|
1339
|
+
"name": "proportionalPendingImpactUsd",
|
|
1340
|
+
"type": "int256"
|
|
1341
|
+
},
|
|
1342
|
+
{
|
|
1343
|
+
"internalType": "int256",
|
|
1344
|
+
"name": "totalImpactUsd",
|
|
1345
|
+
"type": "int256"
|
|
1346
|
+
},
|
|
1232
1347
|
{
|
|
1233
1348
|
"internalType": "uint256",
|
|
1234
|
-
"name": "
|
|
1349
|
+
"name": "priceImpactDiffUsd",
|
|
1235
1350
|
"type": "uint256"
|
|
1236
1351
|
}
|
|
1237
1352
|
],
|
|
@@ -2181,6 +2296,11 @@
|
|
|
2181
2296
|
"internalType": "uint256",
|
|
2182
2297
|
"name": "impactPoolAmount",
|
|
2183
2298
|
"type": "uint256"
|
|
2299
|
+
},
|
|
2300
|
+
{
|
|
2301
|
+
"internalType": "uint256",
|
|
2302
|
+
"name": "lentImpactPoolAmount",
|
|
2303
|
+
"type": "uint256"
|
|
2184
2304
|
}
|
|
2185
2305
|
],
|
|
2186
2306
|
"internalType": "struct MarketPoolValueInfo.Props",
|
|
@@ -2503,6 +2623,11 @@
|
|
|
2503
2623
|
"internalType": "uint256",
|
|
2504
2624
|
"name": "validFromTime",
|
|
2505
2625
|
"type": "uint256"
|
|
2626
|
+
},
|
|
2627
|
+
{
|
|
2628
|
+
"internalType": "uint256",
|
|
2629
|
+
"name": "srcChainId",
|
|
2630
|
+
"type": "uint256"
|
|
2506
2631
|
}
|
|
2507
2632
|
],
|
|
2508
2633
|
"internalType": "struct Order.Numbers",
|
|
@@ -2535,6 +2660,11 @@
|
|
|
2535
2660
|
"internalType": "struct Order.Flags",
|
|
2536
2661
|
"name": "flags",
|
|
2537
2662
|
"type": "tuple"
|
|
2663
|
+
},
|
|
2664
|
+
{
|
|
2665
|
+
"internalType": "bytes32[]",
|
|
2666
|
+
"name": "_dataList",
|
|
2667
|
+
"type": "bytes32[]"
|
|
2538
2668
|
}
|
|
2539
2669
|
],
|
|
2540
2670
|
"internalType": "struct Order.Props",
|
|
@@ -2795,6 +2925,11 @@
|
|
|
2795
2925
|
"name": "collateralAmount",
|
|
2796
2926
|
"type": "uint256"
|
|
2797
2927
|
},
|
|
2928
|
+
{
|
|
2929
|
+
"internalType": "int256",
|
|
2930
|
+
"name": "pendingImpactAmount",
|
|
2931
|
+
"type": "int256"
|
|
2932
|
+
},
|
|
2798
2933
|
{
|
|
2799
2934
|
"internalType": "uint256",
|
|
2800
2935
|
"name": "borrowingFactor",
|
|
@@ -2992,6 +3127,11 @@
|
|
|
2992
3127
|
"name": "collateralAmount",
|
|
2993
3128
|
"type": "uint256"
|
|
2994
3129
|
},
|
|
3130
|
+
{
|
|
3131
|
+
"internalType": "int256",
|
|
3132
|
+
"name": "pendingImpactAmount",
|
|
3133
|
+
"type": "int256"
|
|
3134
|
+
},
|
|
2995
3135
|
{
|
|
2996
3136
|
"internalType": "uint256",
|
|
2997
3137
|
"name": "borrowingFactor",
|
|
@@ -3319,12 +3459,27 @@
|
|
|
3319
3459
|
},
|
|
3320
3460
|
{
|
|
3321
3461
|
"internalType": "uint256",
|
|
3322
|
-
"name": "
|
|
3462
|
+
"name": "executionPrice",
|
|
3323
3463
|
"type": "uint256"
|
|
3324
3464
|
},
|
|
3465
|
+
{
|
|
3466
|
+
"internalType": "bool",
|
|
3467
|
+
"name": "balanceWasImproved",
|
|
3468
|
+
"type": "bool"
|
|
3469
|
+
},
|
|
3470
|
+
{
|
|
3471
|
+
"internalType": "int256",
|
|
3472
|
+
"name": "proportionalPendingImpactUsd",
|
|
3473
|
+
"type": "int256"
|
|
3474
|
+
},
|
|
3475
|
+
{
|
|
3476
|
+
"internalType": "int256",
|
|
3477
|
+
"name": "totalImpactUsd",
|
|
3478
|
+
"type": "int256"
|
|
3479
|
+
},
|
|
3325
3480
|
{
|
|
3326
3481
|
"internalType": "uint256",
|
|
3327
|
-
"name": "
|
|
3482
|
+
"name": "priceImpactDiffUsd",
|
|
3328
3483
|
"type": "uint256"
|
|
3329
3484
|
}
|
|
3330
3485
|
],
|
|
@@ -3487,6 +3642,11 @@
|
|
|
3487
3642
|
"name": "collateralAmount",
|
|
3488
3643
|
"type": "uint256"
|
|
3489
3644
|
},
|
|
3645
|
+
{
|
|
3646
|
+
"internalType": "int256",
|
|
3647
|
+
"name": "pendingImpactAmount",
|
|
3648
|
+
"type": "int256"
|
|
3649
|
+
},
|
|
3490
3650
|
{
|
|
3491
3651
|
"internalType": "uint256",
|
|
3492
3652
|
"name": "borrowingFactor",
|
|
@@ -3814,12 +3974,27 @@
|
|
|
3814
3974
|
},
|
|
3815
3975
|
{
|
|
3816
3976
|
"internalType": "uint256",
|
|
3817
|
-
"name": "
|
|
3977
|
+
"name": "executionPrice",
|
|
3818
3978
|
"type": "uint256"
|
|
3819
3979
|
},
|
|
3980
|
+
{
|
|
3981
|
+
"internalType": "bool",
|
|
3982
|
+
"name": "balanceWasImproved",
|
|
3983
|
+
"type": "bool"
|
|
3984
|
+
},
|
|
3985
|
+
{
|
|
3986
|
+
"internalType": "int256",
|
|
3987
|
+
"name": "proportionalPendingImpactUsd",
|
|
3988
|
+
"type": "int256"
|
|
3989
|
+
},
|
|
3990
|
+
{
|
|
3991
|
+
"internalType": "int256",
|
|
3992
|
+
"name": "totalImpactUsd",
|
|
3993
|
+
"type": "int256"
|
|
3994
|
+
},
|
|
3820
3995
|
{
|
|
3821
3996
|
"internalType": "uint256",
|
|
3822
|
-
"name": "
|
|
3997
|
+
"name": "priceImpactDiffUsd",
|
|
3823
3998
|
"type": "uint256"
|
|
3824
3999
|
}
|
|
3825
4000
|
],
|
|
@@ -4055,11 +4230,21 @@
|
|
|
4055
4230
|
"internalType": "uint256",
|
|
4056
4231
|
"name": "callbackGasLimit",
|
|
4057
4232
|
"type": "uint256"
|
|
4233
|
+
},
|
|
4234
|
+
{
|
|
4235
|
+
"internalType": "uint256",
|
|
4236
|
+
"name": "srcChainId",
|
|
4237
|
+
"type": "uint256"
|
|
4058
4238
|
}
|
|
4059
4239
|
],
|
|
4060
4240
|
"internalType": "struct Shift.Numbers",
|
|
4061
4241
|
"name": "numbers",
|
|
4062
4242
|
"type": "tuple"
|
|
4243
|
+
},
|
|
4244
|
+
{
|
|
4245
|
+
"internalType": "bytes32[]",
|
|
4246
|
+
"name": "_dataList",
|
|
4247
|
+
"type": "bytes32[]"
|
|
4063
4248
|
}
|
|
4064
4249
|
],
|
|
4065
4250
|
"internalType": "struct Shift.Props",
|
|
@@ -4404,6 +4589,11 @@
|
|
|
4404
4589
|
"internalType": "uint256",
|
|
4405
4590
|
"name": "callbackGasLimit",
|
|
4406
4591
|
"type": "uint256"
|
|
4592
|
+
},
|
|
4593
|
+
{
|
|
4594
|
+
"internalType": "uint256",
|
|
4595
|
+
"name": "srcChainId",
|
|
4596
|
+
"type": "uint256"
|
|
4407
4597
|
}
|
|
4408
4598
|
],
|
|
4409
4599
|
"internalType": "struct Withdrawal.Numbers",
|
|
@@ -4421,6 +4611,11 @@
|
|
|
4421
4611
|
"internalType": "struct Withdrawal.Flags",
|
|
4422
4612
|
"name": "flags",
|
|
4423
4613
|
"type": "tuple"
|
|
4614
|
+
},
|
|
4615
|
+
{
|
|
4616
|
+
"internalType": "bytes32[]",
|
|
4617
|
+
"name": "_dataList",
|
|
4618
|
+
"type": "bytes32[]"
|
|
4424
4619
|
}
|
|
4425
4620
|
],
|
|
4426
4621
|
"internalType": "struct Withdrawal.Props",
|
|
@@ -4661,6 +4856,11 @@
|
|
|
4661
4856
|
"internalType": "bool",
|
|
4662
4857
|
"name": "shouldValidateMinCollateralUsd",
|
|
4663
4858
|
"type": "bool"
|
|
4859
|
+
},
|
|
4860
|
+
{
|
|
4861
|
+
"internalType": "bool",
|
|
4862
|
+
"name": "forLiquidation",
|
|
4863
|
+
"type": "bool"
|
|
4664
4864
|
}
|
|
4665
4865
|
],
|
|
4666
4866
|
"name": "isPositionLiquidatable",
|
|
@@ -4701,337 +4901,5 @@
|
|
|
4701
4901
|
"stateMutability": "view",
|
|
4702
4902
|
"type": "function"
|
|
4703
4903
|
}
|
|
4704
|
-
]
|
|
4705
|
-
"linkReferences": {
|
|
4706
|
-
"contracts/deposit/DepositStoreUtils.sol": {
|
|
4707
|
-
"DepositStoreUtils": [
|
|
4708
|
-
{
|
|
4709
|
-
"length": 20,
|
|
4710
|
-
"start": 2495
|
|
4711
|
-
}
|
|
4712
|
-
]
|
|
4713
|
-
},
|
|
4714
|
-
"contracts/market/MarketStoreUtils.sol": {
|
|
4715
|
-
"MarketStoreUtils": [
|
|
4716
|
-
{
|
|
4717
|
-
"length": 20,
|
|
4718
|
-
"start": 3440
|
|
4719
|
-
},
|
|
4720
|
-
{
|
|
4721
|
-
"length": 20,
|
|
4722
|
-
"start": 3703
|
|
4723
|
-
},
|
|
4724
|
-
{
|
|
4725
|
-
"length": 20,
|
|
4726
|
-
"start": 4153
|
|
4727
|
-
},
|
|
4728
|
-
{
|
|
4729
|
-
"length": 20,
|
|
4730
|
-
"start": 4566
|
|
4731
|
-
},
|
|
4732
|
-
{
|
|
4733
|
-
"length": 20,
|
|
4734
|
-
"start": 4739
|
|
4735
|
-
}
|
|
4736
|
-
]
|
|
4737
|
-
},
|
|
4738
|
-
"contracts/market/MarketUtils.sol": {
|
|
4739
|
-
"MarketUtils": [
|
|
4740
|
-
{
|
|
4741
|
-
"length": 20,
|
|
4742
|
-
"start": 2198
|
|
4743
|
-
}
|
|
4744
|
-
]
|
|
4745
|
-
},
|
|
4746
|
-
"contracts/position/PositionStoreUtils.sol": {
|
|
4747
|
-
"PositionStoreUtils": [
|
|
4748
|
-
{
|
|
4749
|
-
"length": 20,
|
|
4750
|
-
"start": 1669
|
|
4751
|
-
},
|
|
4752
|
-
{
|
|
4753
|
-
"length": 20,
|
|
4754
|
-
"start": 2355
|
|
4755
|
-
},
|
|
4756
|
-
{
|
|
4757
|
-
"length": 20,
|
|
4758
|
-
"start": 5061
|
|
4759
|
-
}
|
|
4760
|
-
]
|
|
4761
|
-
},
|
|
4762
|
-
"contracts/position/PositionUtils.sol": {
|
|
4763
|
-
"PositionUtils": [
|
|
4764
|
-
{
|
|
4765
|
-
"length": 20,
|
|
4766
|
-
"start": 1795
|
|
4767
|
-
},
|
|
4768
|
-
{
|
|
4769
|
-
"length": 20,
|
|
4770
|
-
"start": 5200
|
|
4771
|
-
}
|
|
4772
|
-
]
|
|
4773
|
-
},
|
|
4774
|
-
"contracts/reader/ReaderDepositUtils.sol": {
|
|
4775
|
-
"ReaderDepositUtils": [
|
|
4776
|
-
{
|
|
4777
|
-
"length": 20,
|
|
4778
|
-
"start": 3996
|
|
4779
|
-
}
|
|
4780
|
-
]
|
|
4781
|
-
},
|
|
4782
|
-
"contracts/reader/ReaderPositionUtils.sol": {
|
|
4783
|
-
"ReaderPositionUtils": [
|
|
4784
|
-
{
|
|
4785
|
-
"length": 20,
|
|
4786
|
-
"start": 1956
|
|
4787
|
-
},
|
|
4788
|
-
{
|
|
4789
|
-
"length": 20,
|
|
4790
|
-
"start": 4278
|
|
4791
|
-
},
|
|
4792
|
-
{
|
|
4793
|
-
"length": 20,
|
|
4794
|
-
"start": 4930
|
|
4795
|
-
},
|
|
4796
|
-
{
|
|
4797
|
-
"length": 20,
|
|
4798
|
-
"start": 5482
|
|
4799
|
-
}
|
|
4800
|
-
]
|
|
4801
|
-
},
|
|
4802
|
-
"contracts/reader/ReaderPricingUtils.sol": {
|
|
4803
|
-
"ReaderPricingUtils": [
|
|
4804
|
-
{
|
|
4805
|
-
"length": 20,
|
|
4806
|
-
"start": 3014
|
|
4807
|
-
},
|
|
4808
|
-
{
|
|
4809
|
-
"length": 20,
|
|
4810
|
-
"start": 3565
|
|
4811
|
-
},
|
|
4812
|
-
{
|
|
4813
|
-
"length": 20,
|
|
4814
|
-
"start": 3841
|
|
4815
|
-
}
|
|
4816
|
-
]
|
|
4817
|
-
},
|
|
4818
|
-
"contracts/reader/ReaderUtils.sol": {
|
|
4819
|
-
"ReaderUtils": [
|
|
4820
|
-
{
|
|
4821
|
-
"length": 20,
|
|
4822
|
-
"start": 2788
|
|
4823
|
-
},
|
|
4824
|
-
{
|
|
4825
|
-
"length": 20,
|
|
4826
|
-
"start": 3166
|
|
4827
|
-
},
|
|
4828
|
-
{
|
|
4829
|
-
"length": 20,
|
|
4830
|
-
"start": 3303
|
|
4831
|
-
},
|
|
4832
|
-
{
|
|
4833
|
-
"length": 20,
|
|
4834
|
-
"start": 4416
|
|
4835
|
-
},
|
|
4836
|
-
{
|
|
4837
|
-
"length": 20,
|
|
4838
|
-
"start": 5349
|
|
4839
|
-
},
|
|
4840
|
-
{
|
|
4841
|
-
"length": 20,
|
|
4842
|
-
"start": 5646
|
|
4843
|
-
}
|
|
4844
|
-
]
|
|
4845
|
-
},
|
|
4846
|
-
"contracts/reader/ReaderWithdrawalUtils.sol": {
|
|
4847
|
-
"ReaderWithdrawalUtils": [
|
|
4848
|
-
{
|
|
4849
|
-
"length": 20,
|
|
4850
|
-
"start": 2638
|
|
4851
|
-
}
|
|
4852
|
-
]
|
|
4853
|
-
},
|
|
4854
|
-
"contracts/shift/ShiftStoreUtils.sol": {
|
|
4855
|
-
"ShiftStoreUtils": [
|
|
4856
|
-
{
|
|
4857
|
-
"length": 20,
|
|
4858
|
-
"start": 4804
|
|
4859
|
-
}
|
|
4860
|
-
]
|
|
4861
|
-
},
|
|
4862
|
-
"contracts/withdrawal/WithdrawalStoreUtils.sol": {
|
|
4863
|
-
"WithdrawalStoreUtils": [
|
|
4864
|
-
{
|
|
4865
|
-
"length": 20,
|
|
4866
|
-
"start": 5767
|
|
4867
|
-
}
|
|
4868
|
-
]
|
|
4869
|
-
}
|
|
4870
|
-
},
|
|
4871
|
-
"deployedLinkReferences": {
|
|
4872
|
-
"contracts/deposit/DepositStoreUtils.sol": {
|
|
4873
|
-
"DepositStoreUtils": [
|
|
4874
|
-
{
|
|
4875
|
-
"length": 20,
|
|
4876
|
-
"start": 2462
|
|
4877
|
-
}
|
|
4878
|
-
]
|
|
4879
|
-
},
|
|
4880
|
-
"contracts/market/MarketStoreUtils.sol": {
|
|
4881
|
-
"MarketStoreUtils": [
|
|
4882
|
-
{
|
|
4883
|
-
"length": 20,
|
|
4884
|
-
"start": 3407
|
|
4885
|
-
},
|
|
4886
|
-
{
|
|
4887
|
-
"length": 20,
|
|
4888
|
-
"start": 3670
|
|
4889
|
-
},
|
|
4890
|
-
{
|
|
4891
|
-
"length": 20,
|
|
4892
|
-
"start": 4120
|
|
4893
|
-
},
|
|
4894
|
-
{
|
|
4895
|
-
"length": 20,
|
|
4896
|
-
"start": 4533
|
|
4897
|
-
},
|
|
4898
|
-
{
|
|
4899
|
-
"length": 20,
|
|
4900
|
-
"start": 4706
|
|
4901
|
-
}
|
|
4902
|
-
]
|
|
4903
|
-
},
|
|
4904
|
-
"contracts/market/MarketUtils.sol": {
|
|
4905
|
-
"MarketUtils": [
|
|
4906
|
-
{
|
|
4907
|
-
"length": 20,
|
|
4908
|
-
"start": 2165
|
|
4909
|
-
}
|
|
4910
|
-
]
|
|
4911
|
-
},
|
|
4912
|
-
"contracts/position/PositionStoreUtils.sol": {
|
|
4913
|
-
"PositionStoreUtils": [
|
|
4914
|
-
{
|
|
4915
|
-
"length": 20,
|
|
4916
|
-
"start": 1636
|
|
4917
|
-
},
|
|
4918
|
-
{
|
|
4919
|
-
"length": 20,
|
|
4920
|
-
"start": 2322
|
|
4921
|
-
},
|
|
4922
|
-
{
|
|
4923
|
-
"length": 20,
|
|
4924
|
-
"start": 5028
|
|
4925
|
-
}
|
|
4926
|
-
]
|
|
4927
|
-
},
|
|
4928
|
-
"contracts/position/PositionUtils.sol": {
|
|
4929
|
-
"PositionUtils": [
|
|
4930
|
-
{
|
|
4931
|
-
"length": 20,
|
|
4932
|
-
"start": 1762
|
|
4933
|
-
},
|
|
4934
|
-
{
|
|
4935
|
-
"length": 20,
|
|
4936
|
-
"start": 5167
|
|
4937
|
-
}
|
|
4938
|
-
]
|
|
4939
|
-
},
|
|
4940
|
-
"contracts/reader/ReaderDepositUtils.sol": {
|
|
4941
|
-
"ReaderDepositUtils": [
|
|
4942
|
-
{
|
|
4943
|
-
"length": 20,
|
|
4944
|
-
"start": 3963
|
|
4945
|
-
}
|
|
4946
|
-
]
|
|
4947
|
-
},
|
|
4948
|
-
"contracts/reader/ReaderPositionUtils.sol": {
|
|
4949
|
-
"ReaderPositionUtils": [
|
|
4950
|
-
{
|
|
4951
|
-
"length": 20,
|
|
4952
|
-
"start": 1923
|
|
4953
|
-
},
|
|
4954
|
-
{
|
|
4955
|
-
"length": 20,
|
|
4956
|
-
"start": 4245
|
|
4957
|
-
},
|
|
4958
|
-
{
|
|
4959
|
-
"length": 20,
|
|
4960
|
-
"start": 4897
|
|
4961
|
-
},
|
|
4962
|
-
{
|
|
4963
|
-
"length": 20,
|
|
4964
|
-
"start": 5449
|
|
4965
|
-
}
|
|
4966
|
-
]
|
|
4967
|
-
},
|
|
4968
|
-
"contracts/reader/ReaderPricingUtils.sol": {
|
|
4969
|
-
"ReaderPricingUtils": [
|
|
4970
|
-
{
|
|
4971
|
-
"length": 20,
|
|
4972
|
-
"start": 2981
|
|
4973
|
-
},
|
|
4974
|
-
{
|
|
4975
|
-
"length": 20,
|
|
4976
|
-
"start": 3532
|
|
4977
|
-
},
|
|
4978
|
-
{
|
|
4979
|
-
"length": 20,
|
|
4980
|
-
"start": 3808
|
|
4981
|
-
}
|
|
4982
|
-
]
|
|
4983
|
-
},
|
|
4984
|
-
"contracts/reader/ReaderUtils.sol": {
|
|
4985
|
-
"ReaderUtils": [
|
|
4986
|
-
{
|
|
4987
|
-
"length": 20,
|
|
4988
|
-
"start": 2755
|
|
4989
|
-
},
|
|
4990
|
-
{
|
|
4991
|
-
"length": 20,
|
|
4992
|
-
"start": 3133
|
|
4993
|
-
},
|
|
4994
|
-
{
|
|
4995
|
-
"length": 20,
|
|
4996
|
-
"start": 3270
|
|
4997
|
-
},
|
|
4998
|
-
{
|
|
4999
|
-
"length": 20,
|
|
5000
|
-
"start": 4383
|
|
5001
|
-
},
|
|
5002
|
-
{
|
|
5003
|
-
"length": 20,
|
|
5004
|
-
"start": 5316
|
|
5005
|
-
},
|
|
5006
|
-
{
|
|
5007
|
-
"length": 20,
|
|
5008
|
-
"start": 5613
|
|
5009
|
-
}
|
|
5010
|
-
]
|
|
5011
|
-
},
|
|
5012
|
-
"contracts/reader/ReaderWithdrawalUtils.sol": {
|
|
5013
|
-
"ReaderWithdrawalUtils": [
|
|
5014
|
-
{
|
|
5015
|
-
"length": 20,
|
|
5016
|
-
"start": 2605
|
|
5017
|
-
}
|
|
5018
|
-
]
|
|
5019
|
-
},
|
|
5020
|
-
"contracts/shift/ShiftStoreUtils.sol": {
|
|
5021
|
-
"ShiftStoreUtils": [
|
|
5022
|
-
{
|
|
5023
|
-
"length": 20,
|
|
5024
|
-
"start": 4771
|
|
5025
|
-
}
|
|
5026
|
-
]
|
|
5027
|
-
},
|
|
5028
|
-
"contracts/withdrawal/WithdrawalStoreUtils.sol": {
|
|
5029
|
-
"WithdrawalStoreUtils": [
|
|
5030
|
-
{
|
|
5031
|
-
"length": 20,
|
|
5032
|
-
"start": 5734
|
|
5033
|
-
}
|
|
5034
|
-
]
|
|
5035
|
-
}
|
|
5036
|
-
}
|
|
4904
|
+
]
|
|
5037
4905
|
}
|