timelock-sdk 0.0.191 → 0.0.192
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/dist/{client-CEtNglT8.d.cts → client-DiPQ92xm.d.ts} +205 -201
- package/dist/{client-9wbQVrDG.d.ts → client-i-S2ZmAZ.d.cts} +205 -201
- package/dist/client.cjs +6 -2
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/client.js +6 -2
- package/dist/client.js.map +1 -1
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
package/dist/client.cjs
CHANGED
|
@@ -126,7 +126,9 @@ const GetMarketVolumeDocument = graphql_tag.default`
|
|
|
126
126
|
address
|
|
127
127
|
optionsCount
|
|
128
128
|
tradersCount
|
|
129
|
-
|
|
129
|
+
totalVolume
|
|
130
|
+
totalPremium
|
|
131
|
+
totalProfit
|
|
130
132
|
}
|
|
131
133
|
}
|
|
132
134
|
`;
|
|
@@ -493,7 +495,9 @@ const useMarketVolume = (marketAddr) => {
|
|
|
493
495
|
return {
|
|
494
496
|
...result.TimelockMarket[0],
|
|
495
497
|
address: result.TimelockMarket[0].address,
|
|
496
|
-
|
|
498
|
+
totalVolume: BigInt(result.TimelockMarket[0].totalVolume),
|
|
499
|
+
totalPremium: BigInt(result.TimelockMarket[0].totalPremium),
|
|
500
|
+
totalProfit: BigInt(result.TimelockMarket[0].totalProfit),
|
|
497
501
|
optionsCount: BigInt(result.TimelockMarket[0].optionsCount),
|
|
498
502
|
tradersCount: BigInt(result.TimelockMarket[0].tradersCount)
|
|
499
503
|
};
|