@dhedge/backend-flatcoin-core 0.3.29 → 0.3.31
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.
|
@@ -6,12 +6,7 @@ exports.PerpViewerGetPositionsBatched = [
|
|
|
6
6
|
inputs: [
|
|
7
7
|
{
|
|
8
8
|
internalType: 'uint256',
|
|
9
|
-
name: '
|
|
10
|
-
type: 'uint256',
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
internalType: 'uint256',
|
|
14
|
-
name: 'tokenIdTo_',
|
|
9
|
+
name: 'tokenId_',
|
|
15
10
|
type: 'uint256',
|
|
16
11
|
},
|
|
17
12
|
],
|
|
@@ -75,9 +70,9 @@ exports.PerpViewerGetPositionsBatched = [
|
|
|
75
70
|
type: 'uint256',
|
|
76
71
|
},
|
|
77
72
|
],
|
|
78
|
-
internalType: 'struct LeveragePositionData
|
|
73
|
+
internalType: 'struct LeveragePositionData',
|
|
79
74
|
name: 'positionData_',
|
|
80
|
-
type: 'tuple
|
|
75
|
+
type: 'tuple',
|
|
81
76
|
},
|
|
82
77
|
],
|
|
83
78
|
stateMutability: 'view',
|
|
@@ -208,7 +208,12 @@ exports.PerpViewer = [
|
|
|
208
208
|
inputs: [
|
|
209
209
|
{
|
|
210
210
|
internalType: 'uint256',
|
|
211
|
-
name: '
|
|
211
|
+
name: 'tokenIdFrom_',
|
|
212
|
+
type: 'uint256',
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
internalType: 'uint256',
|
|
216
|
+
name: 'tokenIdTo_',
|
|
212
217
|
type: 'uint256',
|
|
213
218
|
},
|
|
214
219
|
],
|
|
@@ -272,9 +277,9 @@ exports.PerpViewer = [
|
|
|
272
277
|
type: 'uint256',
|
|
273
278
|
},
|
|
274
279
|
],
|
|
275
|
-
internalType: 'struct LeveragePositionData',
|
|
280
|
+
internalType: 'struct LeveragePositionData[]',
|
|
276
281
|
name: 'positionData_',
|
|
277
|
-
type: 'tuple',
|
|
282
|
+
type: 'tuple[]',
|
|
278
283
|
},
|
|
279
284
|
],
|
|
280
285
|
stateMutability: 'view',
|
|
@@ -342,30 +347,6 @@ exports.PerpViewer = [
|
|
|
342
347
|
stateMutability: 'view',
|
|
343
348
|
type: 'function',
|
|
344
349
|
},
|
|
345
|
-
{
|
|
346
|
-
inputs: [
|
|
347
|
-
{
|
|
348
|
-
internalType: 'uint256',
|
|
349
|
-
name: 'tokenId_',
|
|
350
|
-
type: 'uint256',
|
|
351
|
-
},
|
|
352
|
-
{
|
|
353
|
-
internalType: 'uint256',
|
|
354
|
-
name: 'collateralPrice_',
|
|
355
|
-
type: 'uint256',
|
|
356
|
-
},
|
|
357
|
-
],
|
|
358
|
-
name: 'liquidationPrice',
|
|
359
|
-
outputs: [
|
|
360
|
-
{
|
|
361
|
-
internalType: 'uint256',
|
|
362
|
-
name: 'liqPrice_',
|
|
363
|
-
type: 'uint256',
|
|
364
|
-
},
|
|
365
|
-
],
|
|
366
|
-
stateMutability: 'view',
|
|
367
|
-
type: 'function',
|
|
368
|
-
},
|
|
369
350
|
{
|
|
370
351
|
inputs: [
|
|
371
352
|
{
|