-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathschema-appchain.graphql
1968 lines (1795 loc) · 41.4 KB
/
schema-appchain.graphql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
schema {
query: World__Query
subscription: World__Subscription
}
scalar ByteArray
scalar ContractAddress
scalar Cursor
scalar DateTime
type ERC20__Token {
name: String!
symbol: String!
decimals: Int!
contractAddress: String!
amount: String!
}
type ERC721__Token {
name: String!
symbol: String!
tokenId: String!
contractAddress: String!
metadata: String!
metadataName: String
metadataDescription: String
metadataAttributes: String
imagePath: String!
}
union ERC__Token = ERC20__Token | ERC721__Token
scalar Enum
union ModelUnion = nums_JackpotClaimed | nums_TrophyCreation | nums_RewardClaimed | nums_GameCreated | nums_Inserted | nums_Totals | nums_Slot | nums_Claims | nums_Config | nums_KingCrowned | nums_Jackpot | nums_TrophyProgression | nums_GlobalTotals | nums_Game
enum OrderDirection {
ASC
DESC
}
type Token {
tokenMetadata: ERC__Token!
}
type TokenConnection {
edges: [TokenEdge]
totalCount: Int!
pageInfo: World__PageInfo!
}
type TokenEdge {
node: Token
cursor: Cursor
}
type Token__Balance {
tokenMetadata: ERC__Token!
}
type Token__BalanceConnection {
edges: [Token__BalanceEdge]
totalCount: Int!
pageInfo: World__PageInfo!
}
type Token__BalanceEdge {
node: Token__Balance
cursor: Cursor
}
type Token__Transfer {
from: String!
to: String!
executedAt: String!
tokenMetadata: ERC__Token!
transactionHash: String!
}
type Token__TransferConnection {
edges: [Token__TransferEdge]
totalCount: Int!
pageInfo: World__PageInfo!
}
type Token__TransferEdge {
node: Token__Transfer
cursor: Cursor
}
type World__Content {
name: String
description: String
website: String
iconUri: String
coverUri: String
socials: [World__Social]
}
type World__Controller {
id: ID
username: String!
address: String!
deployedAt: DateTime!
}
type World__ControllerConnection {
edges: [World__ControllerEdge]
totalCount: Int!
pageInfo: World__PageInfo!
}
type World__ControllerEdge {
node: World__Controller
cursor: Cursor
}
type World__Entity {
id: ID
keys: [String]
eventId: String
executedAt: DateTime
createdAt: DateTime
updatedAt: DateTime
models: [ModelUnion]
}
type World__EntityConnection {
edges: [World__EntityEdge]
totalCount: Int!
pageInfo: World__PageInfo!
}
type World__EntityEdge {
node: World__Entity
cursor: Cursor
}
type World__Event {
id: ID
keys: [String]
data: [String]
executedAt: DateTime
createdAt: DateTime
transactionHash: String
}
type World__EventConnection {
edges: [World__EventEdge]
totalCount: Int!
pageInfo: World__PageInfo!
}
type World__EventEdge {
node: World__Event
cursor: Cursor
}
type World__EventMessage {
id: ID
keys: [String]
eventId: String
executedAt: DateTime
createdAt: DateTime
updatedAt: DateTime
models: [ModelUnion]
}
type World__EventMessageConnection {
edges: [World__EventMessageEdge]
totalCount: Int!
pageInfo: World__PageInfo!
}
type World__EventMessageEdge {
node: World__EventMessage
cursor: Cursor
}
type World__Metadata {
id: ID
uri: String
worldAddress: String!
content: World__Content
iconImg: String
coverImg: String
executedAt: DateTime
createdAt: DateTime
updatedAt: DateTime
}
type World__MetadataConnection {
edges: [World__MetadataEdge]
totalCount: Int!
pageInfo: World__PageInfo!
}
type World__MetadataEdge {
node: World__Metadata
cursor: Cursor
}
type World__Model {
id: ID
name: String
namespace: String
classHash: felt252
contractAddress: felt252
transactionHash: felt252
executedAt: DateTime
createdAt: DateTime
}
type World__ModelConnection {
edges: [World__ModelEdge]
totalCount: Int!
pageInfo: World__PageInfo!
}
type World__ModelEdge {
node: World__Model
cursor: Cursor
}
input World__ModelOrder {
direction: OrderDirection!
field: World__ModelOrderField!
}
enum World__ModelOrderField {
NAME
CLASS_HASH
}
type World__PageInfo {
hasPreviousPage: Boolean!
hasNextPage: Boolean!
startCursor: Cursor
endCursor: Cursor
}
type World__Query {
entity(id: ID!): World__Entity!
entities(first: Int, last: Int, before: Cursor, after: Cursor, offset: Int, limit: Int, keys: [String]): World__EntityConnection
eventMessage(id: ID!): World__EventMessage!
eventMessages(first: Int, last: Int, before: Cursor, after: Cursor, offset: Int, limit: Int, keys: [String]): World__EventMessageConnection
events(first: Int, last: Int, before: Cursor, after: Cursor, offset: Int, limit: Int, keys: [String]): World__EventConnection
metadatas(first: Int, last: Int, before: Cursor, after: Cursor, offset: Int, limit: Int): World__MetadataConnection
model(id: ID!): World__Model!
models(first: Int, last: Int, before: Cursor, after: Cursor, offset: Int, limit: Int, order: World__ModelOrder): World__ModelConnection
transaction(transactionHash: ID!): World__Transaction!
transactions(first: Int, last: Int, before: Cursor, after: Cursor, offset: Int, limit: Int): World__TransactionConnection
tokenBalances(accountAddress: String!, first: Int, last: Int, before: Cursor, after: Cursor, offset: Int, limit: Int): Token__BalanceConnection
tokenTransfers(accountAddress: String!, first: Int, last: Int, before: Cursor, after: Cursor, offset: Int, limit: Int): Token__TransferConnection
controller(id: ID!): World__Controller!
controllers(first: Int, last: Int, before: Cursor, after: Cursor, offset: Int, limit: Int): World__ControllerConnection
tokens(contractAddress: String, first: Int, last: Int, before: Cursor, after: Cursor, offset: Int, limit: Int): TokenConnection!
token(id: String!): Token!
numsJackpotClaimedModels(first: Int, last: Int, before: Cursor, after: Cursor, offset: Int, limit: Int, where: nums_JackpotClaimedWhereInput, order: nums_JackpotClaimedOrder): nums_JackpotClaimedConnection
numsTrophyCreationModels(first: Int, last: Int, before: Cursor, after: Cursor, offset: Int, limit: Int, where: nums_TrophyCreationWhereInput, order: nums_TrophyCreationOrder): nums_TrophyCreationConnection
numsRewardClaimedModels(first: Int, last: Int, before: Cursor, after: Cursor, offset: Int, limit: Int, where: nums_RewardClaimedWhereInput, order: nums_RewardClaimedOrder): nums_RewardClaimedConnection
numsGameCreatedModels(first: Int, last: Int, before: Cursor, after: Cursor, offset: Int, limit: Int, where: nums_GameCreatedWhereInput, order: nums_GameCreatedOrder): nums_GameCreatedConnection
numsInsertedModels(first: Int, last: Int, before: Cursor, after: Cursor, offset: Int, limit: Int, where: nums_InsertedWhereInput, order: nums_InsertedOrder): nums_InsertedConnection
numsTotalsModels(first: Int, last: Int, before: Cursor, after: Cursor, offset: Int, limit: Int, where: nums_TotalsWhereInput, order: nums_TotalsOrder): nums_TotalsConnection
numsSlotModels(first: Int, last: Int, before: Cursor, after: Cursor, offset: Int, limit: Int, where: nums_SlotWhereInput, order: nums_SlotOrder): nums_SlotConnection
numsClaimsModels(first: Int, last: Int, before: Cursor, after: Cursor, offset: Int, limit: Int, where: nums_ClaimsWhereInput, order: nums_ClaimsOrder): nums_ClaimsConnection
numsConfigModels(first: Int, last: Int, before: Cursor, after: Cursor, offset: Int, limit: Int, where: nums_ConfigWhereInput, order: nums_ConfigOrder): nums_ConfigConnection
numsKingCrownedModels(first: Int, last: Int, before: Cursor, after: Cursor, offset: Int, limit: Int, where: nums_KingCrownedWhereInput, order: nums_KingCrownedOrder): nums_KingCrownedConnection
numsJackpotModels(first: Int, last: Int, before: Cursor, after: Cursor, offset: Int, limit: Int, where: nums_JackpotWhereInput, order: nums_JackpotOrder): nums_JackpotConnection
numsTrophyProgressionModels(first: Int, last: Int, before: Cursor, after: Cursor, offset: Int, limit: Int, where: nums_TrophyProgressionWhereInput, order: nums_TrophyProgressionOrder): nums_TrophyProgressionConnection
numsGlobalTotalsModels(first: Int, last: Int, before: Cursor, after: Cursor, offset: Int, limit: Int, where: nums_GlobalTotalsWhereInput, order: nums_GlobalTotalsOrder): nums_GlobalTotalsConnection
numsGameModels(first: Int, last: Int, before: Cursor, after: Cursor, offset: Int, limit: Int, where: nums_GameWhereInput, order: nums_GameOrder): nums_GameConnection
}
type World__Social {
name: String
url: String
}
type World__Subscription {
entityUpdated(id: ID): World__Entity!
eventMessageUpdated(id: ID): World__EventMessage!
eventEmitted(keys: [String]): World__Event!
modelRegistered(id: ID): World__Model!
tokenBalanceUpdated(accountAddress: String): Token__Balance!
tokenUpdated: Token!
}
type World__Transaction {
id: ID
transactionHash: felt252
senderAddress: felt252
calldata: [felt252]
maxFee: felt252
signature: [felt252]
nonce: felt252
executedAt: DateTime
createdAt: DateTime
}
type World__TransactionConnection {
edges: [World__TransactionEdge]
totalCount: Int!
pageInfo: World__PageInfo!
}
type World__TransactionEdge {
node: World__Transaction
cursor: Cursor
}
scalar bool
scalar felt252
type nums_Claims {
player: ContractAddress
claim_id: u32
ty: nums_ClaimsType
claimed_on_starknet: bool
block_timestamp: u64
block_number: u64
message_hash: felt252
entity: World__Entity
eventMessage: World__EventMessage
}
type nums_ClaimsConnection {
edges: [nums_ClaimsEdge]
totalCount: Int!
pageInfo: World__PageInfo!
}
type nums_ClaimsEdge {
node: nums_Claims
cursor: Cursor
}
input nums_ClaimsOrder {
direction: OrderDirection!
field: nums_ClaimsOrderField!
}
enum nums_ClaimsOrderField {
PLAYER
CLAIM_ID
TY
CLAIMED_ON_STARKNET
BLOCK_TIMESTAMP
BLOCK_NUMBER
MESSAGE_HASH
}
type nums_ClaimsType {
TOKEN: nums_TokenClaim
JACKPOT: nums_JackpotClaim
option: Enum
}
input nums_ClaimsWhereInput {
player: ContractAddress
playerGT: ContractAddress
playerGTE: ContractAddress
playerLT: ContractAddress
playerLTE: ContractAddress
playerNEQ: ContractAddress
playerEQ: ContractAddress
playerNOTIN: [ContractAddress]
playerIN: [ContractAddress]
playerNOTLIKE: ContractAddress
playerLIKE: ContractAddress
claim_id: u32
claim_idGT: u32
claim_idGTE: u32
claim_idLT: u32
claim_idLTE: u32
claim_idNEQ: u32
claim_idEQ: u32
claim_idNOTIN: [u32]
claim_idIN: [u32]
claim_idNOTLIKE: u32
claim_idLIKE: u32
ty: nums_Claims_tyWhereInput
claimed_on_starknet: bool
block_timestamp: u64
block_timestampGT: u64
block_timestampGTE: u64
block_timestampLT: u64
block_timestampLTE: u64
block_timestampNEQ: u64
block_timestampEQ: u64
block_timestampNOTIN: [u64]
block_timestampIN: [u64]
block_timestampNOTLIKE: u64
block_timestampLIKE: u64
block_number: u64
block_numberGT: u64
block_numberGTE: u64
block_numberLT: u64
block_numberLTE: u64
block_numberNEQ: u64
block_numberEQ: u64
block_numberNOTIN: [u64]
block_numberIN: [u64]
block_numberNOTLIKE: u64
block_numberLIKE: u64
message_hash: felt252
message_hashGT: felt252
message_hashGTE: felt252
message_hashLT: felt252
message_hashLTE: felt252
message_hashNEQ: felt252
message_hashEQ: felt252
message_hashNOTIN: [felt252]
message_hashIN: [felt252]
message_hashNOTLIKE: felt252
message_hashLIKE: felt252
}
input nums_Claims_tyWhereInput {
TOKEN: nums_Claims_ty_TOKENWhereInput
JACKPOT: nums_Claims_ty_JACKPOTWhereInput
option: Enum
}
input nums_Claims_ty_JACKPOTWhereInput {
id: u32
idGT: u32
idGTE: u32
idLT: u32
idLTE: u32
idNEQ: u32
idEQ: u32
idNOTIN: [u32]
idIN: [u32]
idNOTLIKE: u32
idLIKE: u32
}
input nums_Claims_ty_TOKENWhereInput {
amount: u64
amountGT: u64
amountGTE: u64
amountLT: u64
amountLTE: u64
amountNEQ: u64
amountEQ: u64
amountNOTIN: [u64]
amountIN: [u64]
amountNOTLIKE: u64
amountLIKE: u64
}
type nums_ConditionalVictory {
slots_required: u8
}
type nums_Config {
world_resource: felt252
starknet_messenger: ContractAddress
starknet_consumer: ContractAddress
starknet_config: ContractAddress
starknet_jackpot: ContractAddress
appchain_handler: ContractAddress
appchain_claimer: ContractAddress
game: nums_OptionGameConfig
reward: nums_OptionSlotReward
entity: World__Entity
eventMessage: World__EventMessage
}
type nums_ConfigConnection {
edges: [nums_ConfigEdge]
totalCount: Int!
pageInfo: World__PageInfo!
}
type nums_ConfigEdge {
node: nums_Config
cursor: Cursor
}
input nums_ConfigOrder {
direction: OrderDirection!
field: nums_ConfigOrderField!
}
enum nums_ConfigOrderField {
WORLD_RESOURCE
STARKNET_MESSENGER
STARKNET_CONSUMER
STARKNET_CONFIG
STARKNET_JACKPOT
APPCHAIN_HANDLER
APPCHAIN_CLAIMER
GAME
REWARD
}
input nums_ConfigWhereInput {
world_resource: felt252
world_resourceGT: felt252
world_resourceGTE: felt252
world_resourceLT: felt252
world_resourceLTE: felt252
world_resourceNEQ: felt252
world_resourceEQ: felt252
world_resourceNOTIN: [felt252]
world_resourceIN: [felt252]
world_resourceNOTLIKE: felt252
world_resourceLIKE: felt252
starknet_messenger: ContractAddress
starknet_messengerGT: ContractAddress
starknet_messengerGTE: ContractAddress
starknet_messengerLT: ContractAddress
starknet_messengerLTE: ContractAddress
starknet_messengerNEQ: ContractAddress
starknet_messengerEQ: ContractAddress
starknet_messengerNOTIN: [ContractAddress]
starknet_messengerIN: [ContractAddress]
starknet_messengerNOTLIKE: ContractAddress
starknet_messengerLIKE: ContractAddress
starknet_consumer: ContractAddress
starknet_consumerGT: ContractAddress
starknet_consumerGTE: ContractAddress
starknet_consumerLT: ContractAddress
starknet_consumerLTE: ContractAddress
starknet_consumerNEQ: ContractAddress
starknet_consumerEQ: ContractAddress
starknet_consumerNOTIN: [ContractAddress]
starknet_consumerIN: [ContractAddress]
starknet_consumerNOTLIKE: ContractAddress
starknet_consumerLIKE: ContractAddress
starknet_config: ContractAddress
starknet_configGT: ContractAddress
starknet_configGTE: ContractAddress
starknet_configLT: ContractAddress
starknet_configLTE: ContractAddress
starknet_configNEQ: ContractAddress
starknet_configEQ: ContractAddress
starknet_configNOTIN: [ContractAddress]
starknet_configIN: [ContractAddress]
starknet_configNOTLIKE: ContractAddress
starknet_configLIKE: ContractAddress
starknet_jackpot: ContractAddress
starknet_jackpotGT: ContractAddress
starknet_jackpotGTE: ContractAddress
starknet_jackpotLT: ContractAddress
starknet_jackpotLTE: ContractAddress
starknet_jackpotNEQ: ContractAddress
starknet_jackpotEQ: ContractAddress
starknet_jackpotNOTIN: [ContractAddress]
starknet_jackpotIN: [ContractAddress]
starknet_jackpotNOTLIKE: ContractAddress
starknet_jackpotLIKE: ContractAddress
appchain_handler: ContractAddress
appchain_handlerGT: ContractAddress
appchain_handlerGTE: ContractAddress
appchain_handlerLT: ContractAddress
appchain_handlerLTE: ContractAddress
appchain_handlerNEQ: ContractAddress
appchain_handlerEQ: ContractAddress
appchain_handlerNOTIN: [ContractAddress]
appchain_handlerIN: [ContractAddress]
appchain_handlerNOTLIKE: ContractAddress
appchain_handlerLIKE: ContractAddress
appchain_claimer: ContractAddress
appchain_claimerGT: ContractAddress
appchain_claimerGTE: ContractAddress
appchain_claimerLT: ContractAddress
appchain_claimerLTE: ContractAddress
appchain_claimerNEQ: ContractAddress
appchain_claimerEQ: ContractAddress
appchain_claimerNOTIN: [ContractAddress]
appchain_claimerIN: [ContractAddress]
appchain_claimerNOTLIKE: ContractAddress
appchain_claimerLIKE: ContractAddress
game: nums_Config_gameWhereInput
reward: nums_Config_rewardWhereInput
}
input nums_Config_gameWhereInput {
Some: nums_Config_game_SomeWhereInput
option: Enum
}
input nums_Config_game_SomeWhereInput {
active: bool
max_slots: u8
max_slotsGT: u8
max_slotsGTE: u8
max_slotsLT: u8
max_slotsLTE: u8
max_slotsNEQ: u8
max_slotsEQ: u8
max_slotsNOTIN: [u8]
max_slotsIN: [u8]
max_slotsNOTLIKE: u8
max_slotsLIKE: u8
max_number: u16
max_numberGT: u16
max_numberGTE: u16
max_numberLT: u16
max_numberLTE: u16
max_numberNEQ: u16
max_numberEQ: u16
max_numberNOTIN: [u16]
max_numberIN: [u16]
max_numberNOTLIKE: u16
max_numberLIKE: u16
min_number: u16
min_numberGT: u16
min_numberGTE: u16
min_numberLT: u16
min_numberLTE: u16
min_numberNEQ: u16
min_numberEQ: u16
min_numberNOTIN: [u16]
min_numberIN: [u16]
min_numberNOTLIKE: u16
min_numberLIKE: u16
expiration: nums_Config_game_Some_expirationWhereInput
max_games: nums_Config_game_Some_max_gamesWhereInput
}
input nums_Config_game_Some_expirationWhereInput {
Some: u64
SomeGT: u64
SomeGTE: u64
SomeLT: u64
SomeLTE: u64
SomeNEQ: u64
SomeEQ: u64
SomeNOTIN: [u64]
SomeIN: [u64]
SomeNOTLIKE: u64
SomeLIKE: u64
option: Enum
}
input nums_Config_game_Some_max_gamesWhereInput {
Some: u32
SomeGT: u32
SomeGTE: u32
SomeLT: u32
SomeLTE: u32
SomeNEQ: u32
SomeEQ: u32
SomeNOTIN: [u32]
SomeIN: [u32]
SomeNOTLIKE: u32
SomeLIKE: u32
option: Enum
}
input nums_Config_rewardWhereInput {
Some: nums_Config_reward_SomeWhereInput
option: Enum
}
input nums_Config_reward_SomeWhereInput {
token: ContractAddress
tokenGT: ContractAddress
tokenGTE: ContractAddress
tokenLT: ContractAddress
tokenLTE: ContractAddress
tokenNEQ: ContractAddress
tokenEQ: ContractAddress
tokenNOTIN: [ContractAddress]
tokenIN: [ContractAddress]
tokenNOTLIKE: ContractAddress
tokenLIKE: ContractAddress
}
type nums_Game {
game_id: u32
player: ContractAddress
max_slots: u8
max_number: u16
min_number: u16
remaining_slots: u8
next_number: u16
reward: u32
jackpot_id: nums_Optionu32
entity: World__Entity
eventMessage: World__EventMessage
}
type nums_GameConfig {
active: bool
max_slots: u8
max_number: u16
min_number: u16
expiration: nums_Optionu64
max_games: nums_Optionu32
}
type nums_GameConnection {
edges: [nums_GameEdge]
totalCount: Int!
pageInfo: World__PageInfo!
}
type nums_GameCreated {
player: ContractAddress
game_id: u32
entity: World__Entity
eventMessage: World__EventMessage
}
type nums_GameCreatedConnection {
edges: [nums_GameCreatedEdge]
totalCount: Int!
pageInfo: World__PageInfo!
}
type nums_GameCreatedEdge {
node: nums_GameCreated
cursor: Cursor
}
input nums_GameCreatedOrder {
direction: OrderDirection!
field: nums_GameCreatedOrderField!
}
enum nums_GameCreatedOrderField {
PLAYER
GAME_ID
}
input nums_GameCreatedWhereInput {
player: ContractAddress
playerGT: ContractAddress
playerGTE: ContractAddress
playerLT: ContractAddress
playerLTE: ContractAddress
playerNEQ: ContractAddress
playerEQ: ContractAddress
playerNOTIN: [ContractAddress]
playerIN: [ContractAddress]
playerNOTLIKE: ContractAddress
playerLIKE: ContractAddress
game_id: u32
game_idGT: u32
game_idGTE: u32
game_idLT: u32
game_idLTE: u32
game_idNEQ: u32
game_idEQ: u32
game_idNOTIN: [u32]
game_idIN: [u32]
game_idNOTLIKE: u32
game_idLIKE: u32
}
type nums_GameEdge {
node: nums_Game
cursor: Cursor
}
input nums_GameOrder {
direction: OrderDirection!
field: nums_GameOrderField!
}
enum nums_GameOrderField {
GAME_ID
PLAYER
MAX_SLOTS
MAX_NUMBER
MIN_NUMBER
REMAINING_SLOTS
NEXT_NUMBER
REWARD
JACKPOT_ID
}
input nums_GameWhereInput {
game_id: u32
game_idGT: u32
game_idGTE: u32
game_idLT: u32
game_idLTE: u32
game_idNEQ: u32
game_idEQ: u32
game_idNOTIN: [u32]
game_idIN: [u32]
game_idNOTLIKE: u32
game_idLIKE: u32
player: ContractAddress
playerGT: ContractAddress
playerGTE: ContractAddress
playerLT: ContractAddress
playerLTE: ContractAddress
playerNEQ: ContractAddress
playerEQ: ContractAddress
playerNOTIN: [ContractAddress]
playerIN: [ContractAddress]
playerNOTLIKE: ContractAddress
playerLIKE: ContractAddress
max_slots: u8
max_slotsGT: u8
max_slotsGTE: u8
max_slotsLT: u8
max_slotsLTE: u8
max_slotsNEQ: u8
max_slotsEQ: u8
max_slotsNOTIN: [u8]
max_slotsIN: [u8]
max_slotsNOTLIKE: u8
max_slotsLIKE: u8
max_number: u16
max_numberGT: u16
max_numberGTE: u16
max_numberLT: u16
max_numberLTE: u16
max_numberNEQ: u16
max_numberEQ: u16
max_numberNOTIN: [u16]
max_numberIN: [u16]
max_numberNOTLIKE: u16
max_numberLIKE: u16
min_number: u16
min_numberGT: u16
min_numberGTE: u16
min_numberLT: u16
min_numberLTE: u16
min_numberNEQ: u16
min_numberEQ: u16
min_numberNOTIN: [u16]
min_numberIN: [u16]
min_numberNOTLIKE: u16
min_numberLIKE: u16
remaining_slots: u8
remaining_slotsGT: u8
remaining_slotsGTE: u8
remaining_slotsLT: u8
remaining_slotsLTE: u8
remaining_slotsNEQ: u8
remaining_slotsEQ: u8
remaining_slotsNOTIN: [u8]
remaining_slotsIN: [u8]
remaining_slotsNOTLIKE: u8
remaining_slotsLIKE: u8
next_number: u16
next_numberGT: u16
next_numberGTE: u16
next_numberLT: u16
next_numberLTE: u16
next_numberNEQ: u16
next_numberEQ: u16
next_numberNOTIN: [u16]
next_numberIN: [u16]
next_numberNOTLIKE: u16
next_numberLIKE: u16
reward: u32
rewardGT: u32
rewardGTE: u32
rewardLT: u32
rewardLTE: u32
rewardNEQ: u32
rewardEQ: u32
rewardNOTIN: [u32]
rewardIN: [u32]
rewardNOTLIKE: u32
rewardLIKE: u32
jackpot_id: nums_Game_jackpot_idWhereInput
}
input nums_Game_jackpot_idWhereInput {
Some: u32
SomeGT: u32
SomeGTE: u32
SomeLT: u32
SomeLTE: u32
SomeNEQ: u32
SomeEQ: u32
SomeNOTIN: [u32]
SomeIN: [u32]
SomeNOTLIKE: u32
SomeLIKE: u32
option: Enum
}
type nums_GlobalTotals {
world_resource: felt252
games_played: u32
entity: World__Entity
eventMessage: World__EventMessage
}
type nums_GlobalTotalsConnection {
edges: [nums_GlobalTotalsEdge]
totalCount: Int!
pageInfo: World__PageInfo!
}
type nums_GlobalTotalsEdge {
node: nums_GlobalTotals
cursor: Cursor
}
input nums_GlobalTotalsOrder {
direction: OrderDirection!
field: nums_GlobalTotalsOrderField!
}
enum nums_GlobalTotalsOrderField {
WORLD_RESOURCE
GAMES_PLAYED
}
input nums_GlobalTotalsWhereInput {
world_resource: felt252
world_resourceGT: felt252
world_resourceGTE: felt252
world_resourceLT: felt252
world_resourceLTE: felt252
world_resourceNEQ: felt252
world_resourceEQ: felt252
world_resourceNOTIN: [felt252]
world_resourceIN: [felt252]
world_resourceNOTLIKE: felt252
world_resourceLIKE: felt252
games_played: u32
games_playedGT: u32
games_playedGTE: u32
games_playedLT: u32
games_playedLTE: u32
games_playedNEQ: u32
games_playedEQ: u32
games_playedNOTIN: [u32]
games_playedIN: [u32]
games_playedNOTLIKE: u32
games_playedLIKE: u32
}
type nums_Inserted {
game_id: u32
player: ContractAddress
index: u8
number: u16
next_number: u16
remaining_slots: u8
game_rewards: u32
entity: World__Entity
eventMessage: World__EventMessage
}
type nums_InsertedConnection {
edges: [nums_InsertedEdge]
totalCount: Int!
pageInfo: World__PageInfo!
}
type nums_InsertedEdge {
node: nums_Inserted
cursor: Cursor
}
input nums_InsertedOrder {
direction: OrderDirection!
field: nums_InsertedOrderField!
}
enum nums_InsertedOrderField {
GAME_ID
PLAYER
INDEX
NUMBER
NEXT_NUMBER
REMAINING_SLOTS
GAME_REWARDS
}
input nums_InsertedWhereInput {
game_id: u32
game_idGT: u32
game_idGTE: u32
game_idLT: u32
game_idLTE: u32
game_idNEQ: u32
game_idEQ: u32
game_idNOTIN: [u32]
game_idIN: [u32]
game_idNOTLIKE: u32
game_idLIKE: u32
player: ContractAddress
playerGT: ContractAddress
playerGTE: ContractAddress
playerLT: ContractAddress
playerLTE: ContractAddress
playerNEQ: ContractAddress
playerEQ: ContractAddress
playerNOTIN: [ContractAddress]
playerIN: [ContractAddress]