@sentientdogs/flip-indexer-orpc 0.2.6 → 0.2.8

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.
@@ -51,6 +51,7 @@ export declare const indexerContract: {
51
51
  totalBets: import("zod").ZodNumber;
52
52
  resolvedBets: import("zod").ZodNumber;
53
53
  wonBets: import("zod").ZodNumber;
54
+ pushedBets: import("zod").ZodNumber;
54
55
  cancelledBets: import("zod").ZodNumber;
55
56
  totalStaked: import("zod").ZodBigInt;
56
57
  totalPayout: import("zod").ZodBigInt;
@@ -98,6 +99,8 @@ export declare const indexerContract: {
98
99
  flippedBlock: import("zod").ZodNullable<import("zod").ZodNumber>;
99
100
  flippedTimestamp: import("zod").ZodNullable<import("zod").ZodNumber>;
100
101
  payout: import("zod").ZodNullable<import("zod").ZodBigInt>;
102
+ isPush: import("zod").ZodNullable<import("zod").ZodBoolean>;
103
+ resultFlags: import("zod").ZodNullable<import("zod").ZodNumber>;
101
104
  resolvedTxHash: import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<`0x${string}`, string>>>;
102
105
  resolvedBlock: import("zod").ZodNullable<import("zod").ZodNumber>;
103
106
  resolvedTimestamp: import("zod").ZodNullable<import("zod").ZodNumber>;
@@ -145,6 +148,8 @@ export declare const indexerContract: {
145
148
  flippedBlock: import("zod").ZodNullable<import("zod").ZodNumber>;
146
149
  flippedTimestamp: import("zod").ZodNullable<import("zod").ZodNumber>;
147
150
  payout: import("zod").ZodNullable<import("zod").ZodBigInt>;
151
+ isPush: import("zod").ZodNullable<import("zod").ZodBoolean>;
152
+ resultFlags: import("zod").ZodNullable<import("zod").ZodNumber>;
148
153
  resolvedTxHash: import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<`0x${string}`, string>>>;
149
154
  resolvedBlock: import("zod").ZodNullable<import("zod").ZodNumber>;
150
155
  resolvedTimestamp: import("zod").ZodNullable<import("zod").ZodNumber>;
@@ -195,6 +200,8 @@ export declare const indexerContract: {
195
200
  flippedBlock: import("zod").ZodNullable<import("zod").ZodNumber>;
196
201
  flippedTimestamp: import("zod").ZodNullable<import("zod").ZodNumber>;
197
202
  payout: import("zod").ZodNullable<import("zod").ZodBigInt>;
203
+ isPush: import("zod").ZodNullable<import("zod").ZodBoolean>;
204
+ resultFlags: import("zod").ZodNullable<import("zod").ZodNumber>;
198
205
  resolvedTxHash: import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<`0x${string}`, string>>>;
199
206
  resolvedBlock: import("zod").ZodNullable<import("zod").ZodNumber>;
200
207
  resolvedTimestamp: import("zod").ZodNullable<import("zod").ZodNumber>;
@@ -225,6 +232,7 @@ export declare const indexerContract: {
225
232
  totalBets: import("zod").ZodNumber;
226
233
  resolvedBets: import("zod").ZodNumber;
227
234
  wonBets: import("zod").ZodNumber;
235
+ pushedBets: import("zod").ZodNumber;
228
236
  cancelledBets: import("zod").ZodNumber;
229
237
  totalStaked: import("zod").ZodBigInt;
230
238
  totalPayout: import("zod").ZodBigInt;
@@ -530,6 +538,8 @@ export declare const indexerContract: {
530
538
  totalsOffset: import("zod").ZodNullable<import("zod").ZodBigInt>;
531
539
  totalsMinPosition: import("zod").ZodNullable<import("zod").ZodBigInt>;
532
540
  totalsMaxPosition: import("zod").ZodNullable<import("zod").ZodBigInt>;
541
+ maxPayoutSlot: import("zod").ZodNullable<import("zod").ZodBigInt>;
542
+ capturedTier: import("zod").ZodNullable<import("zod").ZodBigInt>;
533
543
  createdAt: import("zod").ZodNullable<import("zod").ZodNumber>;
534
544
  createdTx: import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<`0x${string}`, string>>>;
535
545
  createdBlock: import("zod").ZodNullable<import("zod").ZodNumber>;
@@ -604,6 +614,8 @@ export declare const indexerContract: {
604
614
  totalsOffset: import("zod").ZodNullable<import("zod").ZodBigInt>;
605
615
  totalsMinPosition: import("zod").ZodNullable<import("zod").ZodBigInt>;
606
616
  totalsMaxPosition: import("zod").ZodNullable<import("zod").ZodBigInt>;
617
+ maxPayoutSlot: import("zod").ZodNullable<import("zod").ZodBigInt>;
618
+ capturedTier: import("zod").ZodNullable<import("zod").ZodBigInt>;
607
619
  createdAt: import("zod").ZodNullable<import("zod").ZodNumber>;
608
620
  createdTx: import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<`0x${string}`, string>>>;
609
621
  createdBlock: import("zod").ZodNullable<import("zod").ZodNumber>;
@@ -682,6 +694,8 @@ export declare const indexerContract: {
682
694
  totalsOffset: import("zod").ZodNullable<import("zod").ZodBigInt>;
683
695
  totalsMinPosition: import("zod").ZodNullable<import("zod").ZodBigInt>;
684
696
  totalsMaxPosition: import("zod").ZodNullable<import("zod").ZodBigInt>;
697
+ maxPayoutSlot: import("zod").ZodNullable<import("zod").ZodBigInt>;
698
+ capturedTier: import("zod").ZodNullable<import("zod").ZodBigInt>;
685
699
  createdAt: import("zod").ZodNullable<import("zod").ZodNumber>;
686
700
  createdTx: import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<`0x${string}`, string>>>;
687
701
  createdBlock: import("zod").ZodNullable<import("zod").ZodNumber>;
@@ -748,6 +762,8 @@ export declare const indexerContract: {
748
762
  totalsOffset: import("zod").ZodNullable<import("zod").ZodBigInt>;
749
763
  totalsMinPosition: import("zod").ZodNullable<import("zod").ZodBigInt>;
750
764
  totalsMaxPosition: import("zod").ZodNullable<import("zod").ZodBigInt>;
765
+ maxPayoutSlot: import("zod").ZodNullable<import("zod").ZodBigInt>;
766
+ capturedTier: import("zod").ZodNullable<import("zod").ZodBigInt>;
751
767
  createdAt: import("zod").ZodNullable<import("zod").ZodNumber>;
752
768
  createdTx: import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<`0x${string}`, string>>>;
753
769
  createdBlock: import("zod").ZodNullable<import("zod").ZodNumber>;
@@ -823,6 +839,8 @@ export declare const indexerContract: {
823
839
  totalsOffset: import("zod").ZodNullable<import("zod").ZodBigInt>;
824
840
  totalsMinPosition: import("zod").ZodNullable<import("zod").ZodBigInt>;
825
841
  totalsMaxPosition: import("zod").ZodNullable<import("zod").ZodBigInt>;
842
+ maxPayoutSlot: import("zod").ZodNullable<import("zod").ZodBigInt>;
843
+ capturedTier: import("zod").ZodNullable<import("zod").ZodBigInt>;
826
844
  createdAt: import("zod").ZodNullable<import("zod").ZodNumber>;
827
845
  createdTx: import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<`0x${string}`, string>>>;
828
846
  createdBlock: import("zod").ZodNullable<import("zod").ZodNumber>;
@@ -43,6 +43,8 @@ export declare const betsByCommitmentProcedure: import("@orpc/contract").Contrac
43
43
  flippedBlock: z.ZodNullable<z.ZodNumber>;
44
44
  flippedTimestamp: z.ZodNullable<z.ZodNumber>;
45
45
  payout: z.ZodNullable<z.ZodBigInt>;
46
+ isPush: z.ZodNullable<z.ZodBoolean>;
47
+ resultFlags: z.ZodNullable<z.ZodNumber>;
46
48
  resolvedTxHash: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
47
49
  resolvedBlock: z.ZodNullable<z.ZodNumber>;
48
50
  resolvedTimestamp: z.ZodNullable<z.ZodNumber>;
@@ -19,6 +19,8 @@ declare const BetHistoryItemSchema: z.ZodObject<{
19
19
  flippedBlock: z.ZodNullable<z.ZodNumber>;
20
20
  flippedTimestamp: z.ZodNullable<z.ZodNumber>;
21
21
  payout: z.ZodNullable<z.ZodBigInt>;
22
+ isPush: z.ZodNullable<z.ZodBoolean>;
23
+ resultFlags: z.ZodNullable<z.ZodNumber>;
22
24
  resolvedTxHash: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
23
25
  resolvedBlock: z.ZodNullable<z.ZodNumber>;
24
26
  resolvedTimestamp: z.ZodNullable<z.ZodNumber>;
@@ -53,6 +55,8 @@ export declare const BetsHistoryResponseSchema: z.ZodObject<{
53
55
  flippedBlock: z.ZodNullable<z.ZodNumber>;
54
56
  flippedTimestamp: z.ZodNullable<z.ZodNumber>;
55
57
  payout: z.ZodNullable<z.ZodBigInt>;
58
+ isPush: z.ZodNullable<z.ZodBoolean>;
59
+ resultFlags: z.ZodNullable<z.ZodNumber>;
56
60
  resolvedTxHash: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
57
61
  resolvedBlock: z.ZodNullable<z.ZodNumber>;
58
62
  resolvedTimestamp: z.ZodNullable<z.ZodNumber>;
@@ -123,6 +127,8 @@ export declare const betsHistoryProcedure: import("@orpc/contract").ContractProc
123
127
  flippedBlock: z.ZodNullable<z.ZodNumber>;
124
128
  flippedTimestamp: z.ZodNullable<z.ZodNumber>;
125
129
  payout: z.ZodNullable<z.ZodBigInt>;
130
+ isPush: z.ZodNullable<z.ZodBoolean>;
131
+ resultFlags: z.ZodNullable<z.ZodNumber>;
126
132
  resolvedTxHash: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
127
133
  resolvedBlock: z.ZodNullable<z.ZodNumber>;
128
134
  resolvedTimestamp: z.ZodNullable<z.ZodNumber>;
@@ -37,6 +37,8 @@ export declare const betsPendingProcedure: import("@orpc/contract").ContractProc
37
37
  flippedBlock: z.ZodNullable<z.ZodNumber>;
38
38
  flippedTimestamp: z.ZodNullable<z.ZodNumber>;
39
39
  payout: z.ZodNullable<z.ZodBigInt>;
40
+ isPush: z.ZodNullable<z.ZodBoolean>;
41
+ resultFlags: z.ZodNullable<z.ZodNumber>;
40
42
  resolvedTxHash: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
41
43
  resolvedBlock: z.ZodNullable<z.ZodNumber>;
42
44
  resolvedTimestamp: z.ZodNullable<z.ZodNumber>;
@@ -12,6 +12,7 @@ export declare const BettorSummaryResponseSchema: z.ZodObject<{
12
12
  totalBets: z.ZodNumber;
13
13
  resolvedBets: z.ZodNumber;
14
14
  wonBets: z.ZodNumber;
15
+ pushedBets: z.ZodNumber;
15
16
  cancelledBets: z.ZodNumber;
16
17
  totalStaked: z.ZodBigInt;
17
18
  totalPayout: z.ZodBigInt;
@@ -55,6 +56,7 @@ export declare const bettorSummaryProcedure: import("@orpc/contract").ContractPr
55
56
  totalBets: z.ZodNumber;
56
57
  resolvedBets: z.ZodNumber;
57
58
  wonBets: z.ZodNumber;
59
+ pushedBets: z.ZodNumber;
58
60
  cancelledBets: z.ZodNumber;
59
61
  totalStaked: z.ZodBigInt;
60
62
  totalPayout: z.ZodBigInt;
@@ -28,6 +28,7 @@ declare const LeaderboardItemSchema: z.ZodObject<{
28
28
  totalBets: z.ZodNumber;
29
29
  resolvedBets: z.ZodNumber;
30
30
  wonBets: z.ZodNumber;
31
+ pushedBets: z.ZodNumber;
31
32
  cancelledBets: z.ZodNumber;
32
33
  totalStaked: z.ZodBigInt;
33
34
  totalPayout: z.ZodBigInt;
@@ -42,6 +43,7 @@ export declare const LeaderboardResponseSchema: z.ZodObject<{
42
43
  totalBets: z.ZodNumber;
43
44
  resolvedBets: z.ZodNumber;
44
45
  wonBets: z.ZodNumber;
46
+ pushedBets: z.ZodNumber;
45
47
  cancelledBets: z.ZodNumber;
46
48
  totalStaked: z.ZodBigInt;
47
49
  totalPayout: z.ZodBigInt;
@@ -85,6 +87,7 @@ export declare const leaderboardProcedure: import("@orpc/contract").ContractProc
85
87
  totalBets: z.ZodNumber;
86
88
  resolvedBets: z.ZodNumber;
87
89
  wonBets: z.ZodNumber;
90
+ pushedBets: z.ZodNumber;
88
91
  cancelledBets: z.ZodNumber;
89
92
  totalStaked: z.ZodBigInt;
90
93
  totalPayout: z.ZodBigInt;
@@ -204,6 +204,8 @@ declare const MarketSchema: z.ZodObject<{
204
204
  totalsOffset: z.ZodNullable<z.ZodBigInt>;
205
205
  totalsMinPosition: z.ZodNullable<z.ZodBigInt>;
206
206
  totalsMaxPosition: z.ZodNullable<z.ZodBigInt>;
207
+ maxPayoutSlot: z.ZodNullable<z.ZodBigInt>;
208
+ capturedTier: z.ZodNullable<z.ZodBigInt>;
207
209
  createdAt: z.ZodNullable<z.ZodNumber>;
208
210
  createdTx: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
209
211
  createdBlock: z.ZodNullable<z.ZodNumber>;
@@ -237,6 +239,8 @@ export declare const MarketsListResponseSchema: z.ZodObject<{
237
239
  totalsOffset: z.ZodNullable<z.ZodBigInt>;
238
240
  totalsMinPosition: z.ZodNullable<z.ZodBigInt>;
239
241
  totalsMaxPosition: z.ZodNullable<z.ZodBigInt>;
242
+ maxPayoutSlot: z.ZodNullable<z.ZodBigInt>;
243
+ capturedTier: z.ZodNullable<z.ZodBigInt>;
240
244
  createdAt: z.ZodNullable<z.ZodNumber>;
241
245
  createdTx: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
242
246
  createdBlock: z.ZodNullable<z.ZodNumber>;
@@ -280,6 +284,8 @@ declare const EventWithMarketsSchema: z.ZodObject<{
280
284
  totalsOffset: z.ZodNullable<z.ZodBigInt>;
281
285
  totalsMinPosition: z.ZodNullable<z.ZodBigInt>;
282
286
  totalsMaxPosition: z.ZodNullable<z.ZodBigInt>;
287
+ maxPayoutSlot: z.ZodNullable<z.ZodBigInt>;
288
+ capturedTier: z.ZodNullable<z.ZodBigInt>;
283
289
  createdAt: z.ZodNullable<z.ZodNumber>;
284
290
  createdTx: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
285
291
  createdBlock: z.ZodNullable<z.ZodNumber>;
@@ -320,6 +326,8 @@ export declare const MarketsByEventResponseSchema: z.ZodObject<{
320
326
  totalsOffset: z.ZodNullable<z.ZodBigInt>;
321
327
  totalsMinPosition: z.ZodNullable<z.ZodBigInt>;
322
328
  totalsMaxPosition: z.ZodNullable<z.ZodBigInt>;
329
+ maxPayoutSlot: z.ZodNullable<z.ZodBigInt>;
330
+ capturedTier: z.ZodNullable<z.ZodBigInt>;
323
331
  createdAt: z.ZodNullable<z.ZodNumber>;
324
332
  createdTx: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
325
333
  createdBlock: z.ZodNullable<z.ZodNumber>;
@@ -402,6 +410,8 @@ export declare const marketsListProcedure: import("@orpc/contract").ContractProc
402
410
  totalsOffset: z.ZodNullable<z.ZodBigInt>;
403
411
  totalsMinPosition: z.ZodNullable<z.ZodBigInt>;
404
412
  totalsMaxPosition: z.ZodNullable<z.ZodBigInt>;
413
+ maxPayoutSlot: z.ZodNullable<z.ZodBigInt>;
414
+ capturedTier: z.ZodNullable<z.ZodBigInt>;
405
415
  createdAt: z.ZodNullable<z.ZodNumber>;
406
416
  createdTx: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
407
417
  createdBlock: z.ZodNullable<z.ZodNumber>;
@@ -476,6 +486,8 @@ export declare const marketsByEventProcedure: import("@orpc/contract").ContractP
476
486
  totalsOffset: z.ZodNullable<z.ZodBigInt>;
477
487
  totalsMinPosition: z.ZodNullable<z.ZodBigInt>;
478
488
  totalsMaxPosition: z.ZodNullable<z.ZodBigInt>;
489
+ maxPayoutSlot: z.ZodNullable<z.ZodBigInt>;
490
+ capturedTier: z.ZodNullable<z.ZodBigInt>;
479
491
  createdAt: z.ZodNullable<z.ZodNumber>;
480
492
  createdTx: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
481
493
  createdBlock: z.ZodNullable<z.ZodNumber>;
@@ -554,6 +566,8 @@ export declare const marketsForEventProcedure: import("@orpc/contract").Contract
554
566
  totalsOffset: z.ZodNullable<z.ZodBigInt>;
555
567
  totalsMinPosition: z.ZodNullable<z.ZodBigInt>;
556
568
  totalsMaxPosition: z.ZodNullable<z.ZodBigInt>;
569
+ maxPayoutSlot: z.ZodNullable<z.ZodBigInt>;
570
+ capturedTier: z.ZodNullable<z.ZodBigInt>;
557
571
  createdAt: z.ZodNullable<z.ZodNumber>;
558
572
  createdTx: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
559
573
  createdBlock: z.ZodNullable<z.ZodNumber>;
@@ -620,6 +634,8 @@ export declare const marketsOpenProcedure: import("@orpc/contract").ContractProc
620
634
  totalsOffset: z.ZodNullable<z.ZodBigInt>;
621
635
  totalsMinPosition: z.ZodNullable<z.ZodBigInt>;
622
636
  totalsMaxPosition: z.ZodNullable<z.ZodBigInt>;
637
+ maxPayoutSlot: z.ZodNullable<z.ZodBigInt>;
638
+ capturedTier: z.ZodNullable<z.ZodBigInt>;
623
639
  createdAt: z.ZodNullable<z.ZodNumber>;
624
640
  createdTx: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
625
641
  createdBlock: z.ZodNullable<z.ZodNumber>;
@@ -695,6 +711,8 @@ export declare const marketsByStatusProcedure: import("@orpc/contract").Contract
695
711
  totalsOffset: z.ZodNullable<z.ZodBigInt>;
696
712
  totalsMinPosition: z.ZodNullable<z.ZodBigInt>;
697
713
  totalsMaxPosition: z.ZodNullable<z.ZodBigInt>;
714
+ maxPayoutSlot: z.ZodNullable<z.ZodBigInt>;
715
+ capturedTier: z.ZodNullable<z.ZodBigInt>;
698
716
  createdAt: z.ZodNullable<z.ZodNumber>;
699
717
  createdTx: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
700
718
  createdBlock: z.ZodNullable<z.ZodNumber>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentientdogs/flip-indexer-orpc",
3
- "version": "0.2.6",
3
+ "version": "0.2.8",
4
4
  "description": "oRPC client SDK for flip-indexer.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",