@triadxyz/triad-protocol 1.9.7-beta → 1.9.8-beta
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.
|
@@ -2452,11 +2452,11 @@
|
|
|
2452
2452
|
"type": "u16"
|
|
2453
2453
|
},
|
|
2454
2454
|
{
|
|
2455
|
-
"name": "
|
|
2455
|
+
"name": "payout_fee_available",
|
|
2456
2456
|
"type": "u64"
|
|
2457
2457
|
},
|
|
2458
2458
|
{
|
|
2459
|
-
"name": "
|
|
2459
|
+
"name": "payout_fee_claimed",
|
|
2460
2460
|
"type": "u64"
|
|
2461
2461
|
},
|
|
2462
2462
|
{
|
package/dist/types/trade.d.ts
CHANGED
|
@@ -17,8 +17,8 @@ export type Market = {
|
|
|
17
17
|
nextOrderId: string;
|
|
18
18
|
feeBps: number;
|
|
19
19
|
isAllowedToPayout: boolean;
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
payoutFeeAvailable: string;
|
|
21
|
+
payoutFeeClaimed: string;
|
|
22
22
|
marketFeeAvailable: string;
|
|
23
23
|
marketFeeClaimed: string;
|
|
24
24
|
marketStart: string;
|
|
@@ -3154,11 +3154,11 @@ export type TriadProtocol = {
|
|
|
3154
3154
|
type: 'u16';
|
|
3155
3155
|
},
|
|
3156
3156
|
{
|
|
3157
|
-
name: '
|
|
3157
|
+
name: 'payoutFeeAvailable';
|
|
3158
3158
|
type: 'u64';
|
|
3159
3159
|
},
|
|
3160
3160
|
{
|
|
3161
|
-
name: '
|
|
3161
|
+
name: 'payoutFeeClaimed';
|
|
3162
3162
|
type: 'u64';
|
|
3163
3163
|
},
|
|
3164
3164
|
{
|
package/dist/utils/helpers.js
CHANGED
|
@@ -74,8 +74,8 @@ const formatMarket = (account, address) => {
|
|
|
74
74
|
marketStart: account.marketStart.toString(),
|
|
75
75
|
marketEnd: account.marketEnd.toString(),
|
|
76
76
|
question: Buffer.from(account.question).toString().replace(/\0+$/, ''),
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
payoutFeeAvailable: account.payoutFeeAvailable.toString(),
|
|
78
|
+
payoutFeeClaimed: account.payoutFeeClaimed.toString(),
|
|
79
79
|
marketFeeAvailable: account.marketFeeAvailable.toString(),
|
|
80
80
|
marketFeeClaimed: account.marketFeeClaimed.toString(),
|
|
81
81
|
winningDirection: trade_1.WinningDirection[Object.keys(account.winningDirection)[0].toUpperCase()],
|