@triadxyz/triad-protocol 4.1.4 → 4.1.5
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.
|
@@ -2430,6 +2430,10 @@
|
|
|
2430
2430
|
"name": "MarketFeeEvent",
|
|
2431
2431
|
"discriminator": [191, 148, 93, 112, 63, 139, 16, 186]
|
|
2432
2432
|
},
|
|
2433
|
+
{
|
|
2434
|
+
"name": "MarketOrderEvent",
|
|
2435
|
+
"discriminator": [223, 150, 100, 181, 180, 170, 93, 91]
|
|
2436
|
+
},
|
|
2433
2437
|
{
|
|
2434
2438
|
"name": "PoolEvent",
|
|
2435
2439
|
"discriminator": [76, 227, 205, 183, 1, 218, 164, 244]
|
|
@@ -3408,6 +3412,42 @@
|
|
|
3408
3412
|
]
|
|
3409
3413
|
}
|
|
3410
3414
|
},
|
|
3415
|
+
{
|
|
3416
|
+
"name": "MarketOrderEvent",
|
|
3417
|
+
"type": {
|
|
3418
|
+
"kind": "struct",
|
|
3419
|
+
"fields": [
|
|
3420
|
+
{
|
|
3421
|
+
"name": "hype_price",
|
|
3422
|
+
"type": "u64"
|
|
3423
|
+
},
|
|
3424
|
+
{
|
|
3425
|
+
"name": "flop_price",
|
|
3426
|
+
"type": "u64"
|
|
3427
|
+
},
|
|
3428
|
+
{
|
|
3429
|
+
"name": "hype_liquidity",
|
|
3430
|
+
"type": "u64"
|
|
3431
|
+
},
|
|
3432
|
+
{
|
|
3433
|
+
"name": "flop_liquidity",
|
|
3434
|
+
"type": "u64"
|
|
3435
|
+
},
|
|
3436
|
+
{
|
|
3437
|
+
"name": "hype_shares",
|
|
3438
|
+
"type": "u64"
|
|
3439
|
+
},
|
|
3440
|
+
{
|
|
3441
|
+
"name": "flop_shares",
|
|
3442
|
+
"type": "u64"
|
|
3443
|
+
},
|
|
3444
|
+
{
|
|
3445
|
+
"name": "volume",
|
|
3446
|
+
"type": "u64"
|
|
3447
|
+
}
|
|
3448
|
+
]
|
|
3449
|
+
}
|
|
3450
|
+
},
|
|
3411
3451
|
{
|
|
3412
3452
|
"name": "MarketV2",
|
|
3413
3453
|
"type": {
|
package/dist/types/index.d.ts
CHANGED
|
@@ -182,7 +182,7 @@ export type CreatePoolArgs = {
|
|
|
182
182
|
export type UpdateMarketWinningDirectionArgs = {
|
|
183
183
|
marketId: number;
|
|
184
184
|
winningDirection: WinningDirectionEncoded;
|
|
185
|
-
poolId
|
|
185
|
+
poolId?: number;
|
|
186
186
|
};
|
|
187
187
|
export type UpdateMarketPayoutArgs = {
|
|
188
188
|
marketId: number;
|
|
@@ -3376,6 +3376,10 @@ export type TriadProtocol = {
|
|
|
3376
3376
|
name: 'marketFeeEvent';
|
|
3377
3377
|
discriminator: [191, 148, 93, 112, 63, 139, 16, 186];
|
|
3378
3378
|
},
|
|
3379
|
+
{
|
|
3380
|
+
name: 'marketOrderEvent';
|
|
3381
|
+
discriminator: [223, 150, 100, 181, 180, 170, 93, 91];
|
|
3382
|
+
},
|
|
3379
3383
|
{
|
|
3380
3384
|
name: 'poolEvent';
|
|
3381
3385
|
discriminator: [76, 227, 205, 183, 1, 218, 164, 244];
|
|
@@ -4354,6 +4358,42 @@ export type TriadProtocol = {
|
|
|
4354
4358
|
];
|
|
4355
4359
|
};
|
|
4356
4360
|
},
|
|
4361
|
+
{
|
|
4362
|
+
name: 'marketOrderEvent';
|
|
4363
|
+
type: {
|
|
4364
|
+
kind: 'struct';
|
|
4365
|
+
fields: [
|
|
4366
|
+
{
|
|
4367
|
+
name: 'hypePrice';
|
|
4368
|
+
type: 'u64';
|
|
4369
|
+
},
|
|
4370
|
+
{
|
|
4371
|
+
name: 'flopPrice';
|
|
4372
|
+
type: 'u64';
|
|
4373
|
+
},
|
|
4374
|
+
{
|
|
4375
|
+
name: 'hypeLiquidity';
|
|
4376
|
+
type: 'u64';
|
|
4377
|
+
},
|
|
4378
|
+
{
|
|
4379
|
+
name: 'flopLiquidity';
|
|
4380
|
+
type: 'u64';
|
|
4381
|
+
},
|
|
4382
|
+
{
|
|
4383
|
+
name: 'hypeShares';
|
|
4384
|
+
type: 'u64';
|
|
4385
|
+
},
|
|
4386
|
+
{
|
|
4387
|
+
name: 'flopShares';
|
|
4388
|
+
type: 'u64';
|
|
4389
|
+
},
|
|
4390
|
+
{
|
|
4391
|
+
name: 'volume';
|
|
4392
|
+
type: 'u64';
|
|
4393
|
+
}
|
|
4394
|
+
];
|
|
4395
|
+
};
|
|
4396
|
+
},
|
|
4357
4397
|
{
|
|
4358
4398
|
name: 'marketV2';
|
|
4359
4399
|
type: {
|