@azuro-org/toolkit 5.0.1 → 5.1.0-beta.2
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/README.md +4 -4
- package/dist/abis/{FreeBet.d.ts → PayMaster.d.ts} +328 -164
- package/dist/abis/Relayer.d.ts +5 -0
- package/dist/abis/Vault.d.ts +762 -0
- package/dist/abis/index.d.ts +2 -1
- package/dist/config.d.ts +0 -1
- package/dist/docs/bets/bets.d.ts +3 -5
- package/dist/docs/bets/fragments/bet.d.ts +3 -5
- package/dist/docs/bets/fragments/legacyPrematchBet.d.ts +2 -0
- package/dist/docs/bets/legacyBets.d.ts +2 -0
- package/dist/docs/bets/types.d.ts +224 -0
- package/dist/docs/feed/fragments/gameInfo.d.ts +2 -0
- package/dist/docs/feed/game.d.ts +2 -0
- package/dist/docs/feed/games.d.ts +2 -0
- package/dist/docs/feed/sports.d.ts +2 -0
- package/dist/docs/feed/types.d.ts +21 -21
- package/dist/docs/legacy-live-feed/games.d.ts +2 -0
- package/dist/global.d.ts +26 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1264 -153
- package/dist/index.js.map +1 -0
- package/dist/utils/bonus/getAvailableFreebets.d.ts +16 -0
- package/dist/utils/bonus/getBonuses.d.ts +28 -0
- package/dist/utils/createBet.d.ts +1 -0
- package/dist/utils/createComboBet.d.ts +1 -0
- package/dist/utils/setupContracts.d.ts +12 -2
- package/package.json +11 -12
- package/dist/utils/getFreebets.d.ts +0 -35
package/dist/abis/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { default as lpAbi } from './LP';
|
|
2
2
|
export { default as coreAbi } from './Core';
|
|
3
3
|
export { default as azuroBetAbi } from './AzuroBet';
|
|
4
|
-
export { default as freeBetAbi } from './FreeBet';
|
|
5
4
|
export { default as cashoutAbi } from './Cashout';
|
|
6
5
|
export { default as relayerAbi } from './Relayer';
|
|
6
|
+
export { default as vaultAbi } from './Vault';
|
|
7
|
+
export { default as paymasterAbi } from './PayMaster';
|
package/dist/config.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Environment } from './envs';
|
|
2
2
|
import { type ChainData } from './global';
|
|
3
3
|
export declare const ODDS_DECIMALS = 12;
|
|
4
|
-
export declare const MIN_BET_AMOUNT = 1;
|
|
5
4
|
export declare const CLIENT_DATA_TYPES: readonly [{
|
|
6
5
|
readonly name: "attention";
|
|
7
6
|
readonly type: "string";
|
package/dist/docs/bets/bets.d.ts
CHANGED
|
@@ -24,6 +24,9 @@ export type BetsQuery = {
|
|
|
24
24
|
isRedeemed: boolean;
|
|
25
25
|
isRedeemable: boolean;
|
|
26
26
|
isCashedOut: boolean;
|
|
27
|
+
freebetId?: string | null;
|
|
28
|
+
isFreebetAmountReturnable?: boolean | null;
|
|
29
|
+
paymasterContractAddress?: string | null;
|
|
27
30
|
tokenId: string;
|
|
28
31
|
createdAt: string;
|
|
29
32
|
resolvedAt?: string | null;
|
|
@@ -55,11 +58,6 @@ export type BetsQuery = {
|
|
|
55
58
|
};
|
|
56
59
|
};
|
|
57
60
|
}>;
|
|
58
|
-
freebet?: {
|
|
59
|
-
__typename?: 'Freebet';
|
|
60
|
-
freebetId: string;
|
|
61
|
-
contractAddress: string;
|
|
62
|
-
} | null;
|
|
63
61
|
cashout?: {
|
|
64
62
|
__typename?: 'Cashout';
|
|
65
63
|
payout: string;
|
|
@@ -15,6 +15,9 @@ export type BetFragment = {
|
|
|
15
15
|
isRedeemed: boolean;
|
|
16
16
|
isRedeemable: boolean;
|
|
17
17
|
isCashedOut: boolean;
|
|
18
|
+
freebetId?: string | null;
|
|
19
|
+
isFreebetAmountReturnable?: boolean | null;
|
|
20
|
+
paymasterContractAddress?: string | null;
|
|
18
21
|
tokenId: string;
|
|
19
22
|
createdAt: string;
|
|
20
23
|
resolvedAt?: string | null;
|
|
@@ -46,11 +49,6 @@ export type BetFragment = {
|
|
|
46
49
|
};
|
|
47
50
|
};
|
|
48
51
|
}>;
|
|
49
|
-
freebet?: {
|
|
50
|
-
__typename?: 'Freebet';
|
|
51
|
-
freebetId: string;
|
|
52
|
-
contractAddress: string;
|
|
53
|
-
} | null;
|
|
54
52
|
cashout?: {
|
|
55
53
|
__typename?: 'Cashout';
|
|
56
54
|
payout: string;
|
|
@@ -2529,6 +2529,7 @@ export declare enum EventName {
|
|
|
2529
2529
|
V3BettorWin = "V3_BettorWin",
|
|
2530
2530
|
V3ConditionCreated = "V3_ConditionCreated",
|
|
2531
2531
|
V3ConditionResolved = "V3_ConditionResolved",
|
|
2532
|
+
V3FreebetRedeemed = "V3_FreebetRedeemed",
|
|
2532
2533
|
V3NewBet = "V3_NewBet"
|
|
2533
2534
|
}
|
|
2534
2535
|
export type Event_Filter = {
|
|
@@ -6146,6 +6147,8 @@ export type Query = {
|
|
|
6146
6147
|
sportHubs: Array<SportHub>;
|
|
6147
6148
|
sports: Array<Sport>;
|
|
6148
6149
|
v3Bet?: Maybe<V3_Bet>;
|
|
6150
|
+
v3BetMetadata?: Maybe<V3_BetMetadata>;
|
|
6151
|
+
v3BetMetadata_collection: Array<V3_BetMetadata>;
|
|
6149
6152
|
v3Bets: Array<V3_Bet>;
|
|
6150
6153
|
v3Condition?: Maybe<V3_Condition>;
|
|
6151
6154
|
v3Conditions: Array<V3_Condition>;
|
|
@@ -6596,6 +6599,20 @@ export type QueryV3BetArgs = {
|
|
|
6596
6599
|
id: Scalars['ID']['input'];
|
|
6597
6600
|
subgraphError?: _SubgraphErrorPolicy_;
|
|
6598
6601
|
};
|
|
6602
|
+
export type QueryV3BetMetadataArgs = {
|
|
6603
|
+
block?: InputMaybe<Block_Height>;
|
|
6604
|
+
id: Scalars['ID']['input'];
|
|
6605
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
6606
|
+
};
|
|
6607
|
+
export type QueryV3BetMetadata_CollectionArgs = {
|
|
6608
|
+
block?: InputMaybe<Block_Height>;
|
|
6609
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
6610
|
+
orderBy?: InputMaybe<V3_BetMetadata_OrderBy>;
|
|
6611
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
6612
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
6613
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
6614
|
+
where?: InputMaybe<V3_BetMetadata_Filter>;
|
|
6615
|
+
};
|
|
6599
6616
|
export type QueryV3BetsArgs = {
|
|
6600
6617
|
block?: InputMaybe<Block_Height>;
|
|
6601
6618
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -7044,6 +7061,8 @@ export type Subscription = {
|
|
|
7044
7061
|
sportHubs: Array<SportHub>;
|
|
7045
7062
|
sports: Array<Sport>;
|
|
7046
7063
|
v3Bet?: Maybe<V3_Bet>;
|
|
7064
|
+
v3BetMetadata?: Maybe<V3_BetMetadata>;
|
|
7065
|
+
v3BetMetadata_collection: Array<V3_BetMetadata>;
|
|
7047
7066
|
v3Bets: Array<V3_Bet>;
|
|
7048
7067
|
v3Condition?: Maybe<V3_Condition>;
|
|
7049
7068
|
v3Conditions: Array<V3_Condition>;
|
|
@@ -7494,6 +7513,20 @@ export type SubscriptionV3BetArgs = {
|
|
|
7494
7513
|
id: Scalars['ID']['input'];
|
|
7495
7514
|
subgraphError?: _SubgraphErrorPolicy_;
|
|
7496
7515
|
};
|
|
7516
|
+
export type SubscriptionV3BetMetadataArgs = {
|
|
7517
|
+
block?: InputMaybe<Block_Height>;
|
|
7518
|
+
id: Scalars['ID']['input'];
|
|
7519
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
7520
|
+
};
|
|
7521
|
+
export type SubscriptionV3BetMetadata_CollectionArgs = {
|
|
7522
|
+
block?: InputMaybe<Block_Height>;
|
|
7523
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7524
|
+
orderBy?: InputMaybe<V3_BetMetadata_OrderBy>;
|
|
7525
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
7526
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7527
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
7528
|
+
where?: InputMaybe<V3_BetMetadata_Filter>;
|
|
7529
|
+
};
|
|
7497
7530
|
export type SubscriptionV3BetsArgs = {
|
|
7498
7531
|
block?: InputMaybe<Block_Height>;
|
|
7499
7532
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -7567,16 +7600,22 @@ export type V3_Bet = {
|
|
|
7567
7600
|
createdBlockNumber: Scalars['BigInt']['output'];
|
|
7568
7601
|
createdBlockTimestamp: Scalars['BigInt']['output'];
|
|
7569
7602
|
createdTxHash: Scalars['String']['output'];
|
|
7603
|
+
/** deprecated */
|
|
7570
7604
|
freebet?: Maybe<Freebet>;
|
|
7605
|
+
freebetId?: Maybe<Scalars['BigInt']['output']>;
|
|
7606
|
+
freebetOwner?: Maybe<Scalars['String']['output']>;
|
|
7571
7607
|
/** Core contract address + Bet Id */
|
|
7572
7608
|
id: Scalars['ID']['output'];
|
|
7573
7609
|
isCashedOut: Scalars['Boolean']['output'];
|
|
7610
|
+
isFeeSponsored?: Maybe<Scalars['Boolean']['output']>;
|
|
7574
7611
|
isFreebet: Scalars['Boolean']['output'];
|
|
7612
|
+
isFreebetAmountReturnable?: Maybe<Scalars['Boolean']['output']>;
|
|
7575
7613
|
isRedeemable: Scalars['Boolean']['output'];
|
|
7576
7614
|
isRedeemed: Scalars['Boolean']['output'];
|
|
7577
7615
|
nonce?: Maybe<Scalars['BigInt']['output']>;
|
|
7578
7616
|
odds: Scalars['BigDecimal']['output'];
|
|
7579
7617
|
owner: Scalars['String']['output'];
|
|
7618
|
+
paymasterContractAddress?: Maybe<Scalars['String']['output']>;
|
|
7580
7619
|
payout?: Maybe<Scalars['BigDecimal']['output']>;
|
|
7581
7620
|
potentialLossLimit: Scalars['BigDecimal']['output'];
|
|
7582
7621
|
potentialPayout: Scalars['BigDecimal']['output'];
|
|
@@ -7585,10 +7624,12 @@ export type V3_Bet = {
|
|
|
7585
7624
|
rawPayout?: Maybe<Scalars['BigInt']['output']>;
|
|
7586
7625
|
rawPotentialLossLimit: Scalars['BigInt']['output'];
|
|
7587
7626
|
rawPotentialPayout: Scalars['BigInt']['output'];
|
|
7627
|
+
rawRelayerFeeAmount?: Maybe<Scalars['BigInt']['output']>;
|
|
7588
7628
|
rawSettledOdds?: Maybe<Scalars['BigInt']['output']>;
|
|
7589
7629
|
redeemedBlockNumber?: Maybe<Scalars['BigInt']['output']>;
|
|
7590
7630
|
redeemedBlockTimestamp?: Maybe<Scalars['BigInt']['output']>;
|
|
7591
7631
|
redeemedTxHash?: Maybe<Scalars['String']['output']>;
|
|
7632
|
+
relayerFeeAmount?: Maybe<Scalars['BigDecimal']['output']>;
|
|
7592
7633
|
resolvedBlockNumber?: Maybe<Scalars['BigInt']['output']>;
|
|
7593
7634
|
resolvedBlockTimestamp?: Maybe<Scalars['BigInt']['output']>;
|
|
7594
7635
|
resolvedTxHash?: Maybe<Scalars['String']['output']>;
|
|
@@ -7612,6 +7653,110 @@ export type V3_BetSelectionsArgs = {
|
|
|
7612
7653
|
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7613
7654
|
where?: InputMaybe<V3_Selection_Filter>;
|
|
7614
7655
|
};
|
|
7656
|
+
export type V3_BetMetadata = {
|
|
7657
|
+
__typename?: 'V3_BetMetadata';
|
|
7658
|
+
freebetId?: Maybe<Scalars['BigInt']['output']>;
|
|
7659
|
+
freebetOwner?: Maybe<Scalars['String']['output']>;
|
|
7660
|
+
/** Core contract address + Bet Id */
|
|
7661
|
+
id: Scalars['ID']['output'];
|
|
7662
|
+
isFeeSponsored?: Maybe<Scalars['Boolean']['output']>;
|
|
7663
|
+
isFreebet?: Maybe<Scalars['Boolean']['output']>;
|
|
7664
|
+
isFreebetAmountReturnable?: Maybe<Scalars['Boolean']['output']>;
|
|
7665
|
+
paymasterContractAddress?: Maybe<Scalars['String']['output']>;
|
|
7666
|
+
rawRelayerFeeAmount?: Maybe<Scalars['BigInt']['output']>;
|
|
7667
|
+
};
|
|
7668
|
+
export type V3_BetMetadata_Filter = {
|
|
7669
|
+
/** Filter for the block changed event. */
|
|
7670
|
+
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
7671
|
+
and?: InputMaybe<Array<InputMaybe<V3_BetMetadata_Filter>>>;
|
|
7672
|
+
freebetId?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7673
|
+
freebetId_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7674
|
+
freebetId_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7675
|
+
freebetId_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
7676
|
+
freebetId_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7677
|
+
freebetId_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7678
|
+
freebetId_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7679
|
+
freebetId_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
7680
|
+
freebetOwner?: InputMaybe<Scalars['String']['input']>;
|
|
7681
|
+
freebetOwner_contains?: InputMaybe<Scalars['String']['input']>;
|
|
7682
|
+
freebetOwner_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
7683
|
+
freebetOwner_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
7684
|
+
freebetOwner_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
7685
|
+
freebetOwner_gt?: InputMaybe<Scalars['String']['input']>;
|
|
7686
|
+
freebetOwner_gte?: InputMaybe<Scalars['String']['input']>;
|
|
7687
|
+
freebetOwner_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
7688
|
+
freebetOwner_lt?: InputMaybe<Scalars['String']['input']>;
|
|
7689
|
+
freebetOwner_lte?: InputMaybe<Scalars['String']['input']>;
|
|
7690
|
+
freebetOwner_not?: InputMaybe<Scalars['String']['input']>;
|
|
7691
|
+
freebetOwner_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
7692
|
+
freebetOwner_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
7693
|
+
freebetOwner_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
7694
|
+
freebetOwner_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
7695
|
+
freebetOwner_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
7696
|
+
freebetOwner_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
7697
|
+
freebetOwner_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
7698
|
+
freebetOwner_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
7699
|
+
freebetOwner_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
7700
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
7701
|
+
id_gt?: InputMaybe<Scalars['ID']['input']>;
|
|
7702
|
+
id_gte?: InputMaybe<Scalars['ID']['input']>;
|
|
7703
|
+
id_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
7704
|
+
id_lt?: InputMaybe<Scalars['ID']['input']>;
|
|
7705
|
+
id_lte?: InputMaybe<Scalars['ID']['input']>;
|
|
7706
|
+
id_not?: InputMaybe<Scalars['ID']['input']>;
|
|
7707
|
+
id_not_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
7708
|
+
isFeeSponsored?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7709
|
+
isFeeSponsored_in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
|
|
7710
|
+
isFeeSponsored_not?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7711
|
+
isFeeSponsored_not_in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
|
|
7712
|
+
isFreebet?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7713
|
+
isFreebetAmountReturnable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7714
|
+
isFreebetAmountReturnable_in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
|
|
7715
|
+
isFreebetAmountReturnable_not?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7716
|
+
isFreebetAmountReturnable_not_in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
|
|
7717
|
+
isFreebet_in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
|
|
7718
|
+
isFreebet_not?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7719
|
+
isFreebet_not_in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
|
|
7720
|
+
or?: InputMaybe<Array<InputMaybe<V3_BetMetadata_Filter>>>;
|
|
7721
|
+
paymasterContractAddress?: InputMaybe<Scalars['String']['input']>;
|
|
7722
|
+
paymasterContractAddress_contains?: InputMaybe<Scalars['String']['input']>;
|
|
7723
|
+
paymasterContractAddress_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
7724
|
+
paymasterContractAddress_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
7725
|
+
paymasterContractAddress_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
7726
|
+
paymasterContractAddress_gt?: InputMaybe<Scalars['String']['input']>;
|
|
7727
|
+
paymasterContractAddress_gte?: InputMaybe<Scalars['String']['input']>;
|
|
7728
|
+
paymasterContractAddress_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
7729
|
+
paymasterContractAddress_lt?: InputMaybe<Scalars['String']['input']>;
|
|
7730
|
+
paymasterContractAddress_lte?: InputMaybe<Scalars['String']['input']>;
|
|
7731
|
+
paymasterContractAddress_not?: InputMaybe<Scalars['String']['input']>;
|
|
7732
|
+
paymasterContractAddress_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
7733
|
+
paymasterContractAddress_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
7734
|
+
paymasterContractAddress_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
7735
|
+
paymasterContractAddress_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
7736
|
+
paymasterContractAddress_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
7737
|
+
paymasterContractAddress_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
7738
|
+
paymasterContractAddress_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
7739
|
+
paymasterContractAddress_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
7740
|
+
paymasterContractAddress_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
7741
|
+
rawRelayerFeeAmount?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7742
|
+
rawRelayerFeeAmount_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7743
|
+
rawRelayerFeeAmount_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7744
|
+
rawRelayerFeeAmount_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
7745
|
+
rawRelayerFeeAmount_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7746
|
+
rawRelayerFeeAmount_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7747
|
+
rawRelayerFeeAmount_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7748
|
+
rawRelayerFeeAmount_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
7749
|
+
};
|
|
7750
|
+
export declare enum V3_BetMetadata_OrderBy {
|
|
7751
|
+
FreebetId = "freebetId",
|
|
7752
|
+
FreebetOwner = "freebetOwner",
|
|
7753
|
+
Id = "id",
|
|
7754
|
+
IsFeeSponsored = "isFeeSponsored",
|
|
7755
|
+
IsFreebet = "isFreebet",
|
|
7756
|
+
IsFreebetAmountReturnable = "isFreebetAmountReturnable",
|
|
7757
|
+
PaymasterContractAddress = "paymasterContractAddress",
|
|
7758
|
+
RawRelayerFeeAmount = "rawRelayerFeeAmount"
|
|
7759
|
+
}
|
|
7615
7760
|
export type V3_Bet_Filter = {
|
|
7616
7761
|
_canceledSubBetsCount?: InputMaybe<Scalars['Int']['input']>;
|
|
7617
7762
|
_canceledSubBetsCount_gt?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -7846,6 +7991,34 @@ export type V3_Bet_Filter = {
|
|
|
7846
7991
|
createdTxHash_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
7847
7992
|
createdTxHash_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
7848
7993
|
freebet?: InputMaybe<Scalars['String']['input']>;
|
|
7994
|
+
freebetId?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7995
|
+
freebetId_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7996
|
+
freebetId_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7997
|
+
freebetId_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
7998
|
+
freebetId_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7999
|
+
freebetId_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
8000
|
+
freebetId_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
8001
|
+
freebetId_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
8002
|
+
freebetOwner?: InputMaybe<Scalars['String']['input']>;
|
|
8003
|
+
freebetOwner_contains?: InputMaybe<Scalars['String']['input']>;
|
|
8004
|
+
freebetOwner_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
8005
|
+
freebetOwner_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
8006
|
+
freebetOwner_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
8007
|
+
freebetOwner_gt?: InputMaybe<Scalars['String']['input']>;
|
|
8008
|
+
freebetOwner_gte?: InputMaybe<Scalars['String']['input']>;
|
|
8009
|
+
freebetOwner_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
8010
|
+
freebetOwner_lt?: InputMaybe<Scalars['String']['input']>;
|
|
8011
|
+
freebetOwner_lte?: InputMaybe<Scalars['String']['input']>;
|
|
8012
|
+
freebetOwner_not?: InputMaybe<Scalars['String']['input']>;
|
|
8013
|
+
freebetOwner_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
8014
|
+
freebetOwner_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
8015
|
+
freebetOwner_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
8016
|
+
freebetOwner_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
8017
|
+
freebetOwner_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
8018
|
+
freebetOwner_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
8019
|
+
freebetOwner_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
8020
|
+
freebetOwner_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
8021
|
+
freebetOwner_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
7849
8022
|
freebet_?: InputMaybe<Freebet_Filter>;
|
|
7850
8023
|
freebet_contains?: InputMaybe<Scalars['String']['input']>;
|
|
7851
8024
|
freebet_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -7878,7 +8051,15 @@ export type V3_Bet_Filter = {
|
|
|
7878
8051
|
isCashedOut_in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
|
|
7879
8052
|
isCashedOut_not?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7880
8053
|
isCashedOut_not_in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
|
|
8054
|
+
isFeeSponsored?: InputMaybe<Scalars['Boolean']['input']>;
|
|
8055
|
+
isFeeSponsored_in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
|
|
8056
|
+
isFeeSponsored_not?: InputMaybe<Scalars['Boolean']['input']>;
|
|
8057
|
+
isFeeSponsored_not_in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
|
|
7881
8058
|
isFreebet?: InputMaybe<Scalars['Boolean']['input']>;
|
|
8059
|
+
isFreebetAmountReturnable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
8060
|
+
isFreebetAmountReturnable_in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
|
|
8061
|
+
isFreebetAmountReturnable_not?: InputMaybe<Scalars['Boolean']['input']>;
|
|
8062
|
+
isFreebetAmountReturnable_not_in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
|
|
7882
8063
|
isFreebet_in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
|
|
7883
8064
|
isFreebet_not?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7884
8065
|
isFreebet_not_in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
|
|
@@ -7927,6 +8108,26 @@ export type V3_Bet_Filter = {
|
|
|
7927
8108
|
owner_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
7928
8109
|
owner_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
7929
8110
|
owner_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
8111
|
+
paymasterContractAddress?: InputMaybe<Scalars['String']['input']>;
|
|
8112
|
+
paymasterContractAddress_contains?: InputMaybe<Scalars['String']['input']>;
|
|
8113
|
+
paymasterContractAddress_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
8114
|
+
paymasterContractAddress_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
8115
|
+
paymasterContractAddress_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
8116
|
+
paymasterContractAddress_gt?: InputMaybe<Scalars['String']['input']>;
|
|
8117
|
+
paymasterContractAddress_gte?: InputMaybe<Scalars['String']['input']>;
|
|
8118
|
+
paymasterContractAddress_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
8119
|
+
paymasterContractAddress_lt?: InputMaybe<Scalars['String']['input']>;
|
|
8120
|
+
paymasterContractAddress_lte?: InputMaybe<Scalars['String']['input']>;
|
|
8121
|
+
paymasterContractAddress_not?: InputMaybe<Scalars['String']['input']>;
|
|
8122
|
+
paymasterContractAddress_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
8123
|
+
paymasterContractAddress_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
8124
|
+
paymasterContractAddress_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
8125
|
+
paymasterContractAddress_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
8126
|
+
paymasterContractAddress_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
8127
|
+
paymasterContractAddress_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
8128
|
+
paymasterContractAddress_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
8129
|
+
paymasterContractAddress_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
8130
|
+
paymasterContractAddress_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
7930
8131
|
payout?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
7931
8132
|
payout_gt?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
7932
8133
|
payout_gte?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
@@ -7991,6 +8192,14 @@ export type V3_Bet_Filter = {
|
|
|
7991
8192
|
rawPotentialPayout_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7992
8193
|
rawPotentialPayout_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7993
8194
|
rawPotentialPayout_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
8195
|
+
rawRelayerFeeAmount?: InputMaybe<Scalars['BigInt']['input']>;
|
|
8196
|
+
rawRelayerFeeAmount_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
8197
|
+
rawRelayerFeeAmount_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
8198
|
+
rawRelayerFeeAmount_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
8199
|
+
rawRelayerFeeAmount_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
8200
|
+
rawRelayerFeeAmount_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
8201
|
+
rawRelayerFeeAmount_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
8202
|
+
rawRelayerFeeAmount_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
7994
8203
|
rawSettledOdds?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7995
8204
|
rawSettledOdds_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7996
8205
|
rawSettledOdds_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
@@ -8035,6 +8244,14 @@ export type V3_Bet_Filter = {
|
|
|
8035
8244
|
redeemedTxHash_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
8036
8245
|
redeemedTxHash_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
8037
8246
|
redeemedTxHash_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
8247
|
+
relayerFeeAmount?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
8248
|
+
relayerFeeAmount_gt?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
8249
|
+
relayerFeeAmount_gte?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
8250
|
+
relayerFeeAmount_in?: InputMaybe<Array<Scalars['BigDecimal']['input']>>;
|
|
8251
|
+
relayerFeeAmount_lt?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
8252
|
+
relayerFeeAmount_lte?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
8253
|
+
relayerFeeAmount_not?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
8254
|
+
relayerFeeAmount_not_in?: InputMaybe<Array<Scalars['BigDecimal']['input']>>;
|
|
8038
8255
|
resolvedBlockNumber?: InputMaybe<Scalars['BigInt']['input']>;
|
|
8039
8256
|
resolvedBlockNumber_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
8040
8257
|
resolvedBlockNumber_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
@@ -8115,14 +8332,19 @@ export declare enum V3_Bet_OrderBy {
|
|
|
8115
8332
|
CreatedBlockTimestamp = "createdBlockTimestamp",
|
|
8116
8333
|
CreatedTxHash = "createdTxHash",
|
|
8117
8334
|
Freebet = "freebet",
|
|
8335
|
+
FreebetId = "freebetId",
|
|
8336
|
+
FreebetOwner = "freebetOwner",
|
|
8118
8337
|
Id = "id",
|
|
8119
8338
|
IsCashedOut = "isCashedOut",
|
|
8339
|
+
IsFeeSponsored = "isFeeSponsored",
|
|
8120
8340
|
IsFreebet = "isFreebet",
|
|
8341
|
+
IsFreebetAmountReturnable = "isFreebetAmountReturnable",
|
|
8121
8342
|
IsRedeemable = "isRedeemable",
|
|
8122
8343
|
IsRedeemed = "isRedeemed",
|
|
8123
8344
|
Nonce = "nonce",
|
|
8124
8345
|
Odds = "odds",
|
|
8125
8346
|
Owner = "owner",
|
|
8347
|
+
PaymasterContractAddress = "paymasterContractAddress",
|
|
8126
8348
|
Payout = "payout",
|
|
8127
8349
|
PotentialLossLimit = "potentialLossLimit",
|
|
8128
8350
|
PotentialPayout = "potentialPayout",
|
|
@@ -8131,10 +8353,12 @@ export declare enum V3_Bet_OrderBy {
|
|
|
8131
8353
|
RawPayout = "rawPayout",
|
|
8132
8354
|
RawPotentialLossLimit = "rawPotentialLossLimit",
|
|
8133
8355
|
RawPotentialPayout = "rawPotentialPayout",
|
|
8356
|
+
RawRelayerFeeAmount = "rawRelayerFeeAmount",
|
|
8134
8357
|
RawSettledOdds = "rawSettledOdds",
|
|
8135
8358
|
RedeemedBlockNumber = "redeemedBlockNumber",
|
|
8136
8359
|
RedeemedBlockTimestamp = "redeemedBlockTimestamp",
|
|
8137
8360
|
RedeemedTxHash = "redeemedTxHash",
|
|
8361
|
+
RelayerFeeAmount = "relayerFeeAmount",
|
|
8138
8362
|
ResolvedBlockNumber = "resolvedBlockNumber",
|
|
8139
8363
|
ResolvedBlockTimestamp = "resolvedBlockTimestamp",
|
|
8140
8364
|
ResolvedTxHash = "resolvedTxHash",
|
package/dist/docs/feed/game.d.ts
CHANGED
|
@@ -1600,8 +1600,8 @@ export type Query = {
|
|
|
1600
1600
|
sports: Array<Sport>;
|
|
1601
1601
|
virtualCondition?: Maybe<VirtualCondition>;
|
|
1602
1602
|
virtualConditions: Array<VirtualCondition>;
|
|
1603
|
-
|
|
1604
|
-
|
|
1603
|
+
virtualGame?: Maybe<VirtualGame>;
|
|
1604
|
+
virtualGames: Array<VirtualGame>;
|
|
1605
1605
|
};
|
|
1606
1606
|
export type Query_MetaArgs = {
|
|
1607
1607
|
block?: InputMaybe<Block_Height>;
|
|
@@ -1746,19 +1746,19 @@ export type QueryVirtualConditionsArgs = {
|
|
|
1746
1746
|
subgraphError?: _SubgraphErrorPolicy_;
|
|
1747
1747
|
where?: InputMaybe<VirtualCondition_Filter>;
|
|
1748
1748
|
};
|
|
1749
|
-
export type
|
|
1749
|
+
export type QueryVirtualGameArgs = {
|
|
1750
1750
|
block?: InputMaybe<Block_Height>;
|
|
1751
1751
|
id: Scalars['ID']['input'];
|
|
1752
1752
|
subgraphError?: _SubgraphErrorPolicy_;
|
|
1753
1753
|
};
|
|
1754
|
-
export type
|
|
1754
|
+
export type QueryVirtualGamesArgs = {
|
|
1755
1755
|
block?: InputMaybe<Block_Height>;
|
|
1756
1756
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1757
|
-
orderBy?: InputMaybe<
|
|
1757
|
+
orderBy?: InputMaybe<VirtualGame_OrderBy>;
|
|
1758
1758
|
orderDirection?: InputMaybe<OrderDirection>;
|
|
1759
1759
|
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
1760
1760
|
subgraphError?: _SubgraphErrorPolicy_;
|
|
1761
|
-
where?: InputMaybe<
|
|
1761
|
+
where?: InputMaybe<VirtualGame_Filter>;
|
|
1762
1762
|
};
|
|
1763
1763
|
export type Sport = {
|
|
1764
1764
|
__typename?: 'Sport';
|
|
@@ -2117,8 +2117,8 @@ export type Subscription = {
|
|
|
2117
2117
|
sports: Array<Sport>;
|
|
2118
2118
|
virtualCondition?: Maybe<VirtualCondition>;
|
|
2119
2119
|
virtualConditions: Array<VirtualCondition>;
|
|
2120
|
-
|
|
2121
|
-
|
|
2120
|
+
virtualGame?: Maybe<VirtualGame>;
|
|
2121
|
+
virtualGames: Array<VirtualGame>;
|
|
2122
2122
|
};
|
|
2123
2123
|
export type Subscription_MetaArgs = {
|
|
2124
2124
|
block?: InputMaybe<Block_Height>;
|
|
@@ -2263,24 +2263,24 @@ export type SubscriptionVirtualConditionsArgs = {
|
|
|
2263
2263
|
subgraphError?: _SubgraphErrorPolicy_;
|
|
2264
2264
|
where?: InputMaybe<VirtualCondition_Filter>;
|
|
2265
2265
|
};
|
|
2266
|
-
export type
|
|
2266
|
+
export type SubscriptionVirtualGameArgs = {
|
|
2267
2267
|
block?: InputMaybe<Block_Height>;
|
|
2268
2268
|
id: Scalars['ID']['input'];
|
|
2269
2269
|
subgraphError?: _SubgraphErrorPolicy_;
|
|
2270
2270
|
};
|
|
2271
|
-
export type
|
|
2271
|
+
export type SubscriptionVirtualGamesArgs = {
|
|
2272
2272
|
block?: InputMaybe<Block_Height>;
|
|
2273
2273
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2274
|
-
orderBy?: InputMaybe<
|
|
2274
|
+
orderBy?: InputMaybe<VirtualGame_OrderBy>;
|
|
2275
2275
|
orderDirection?: InputMaybe<OrderDirection>;
|
|
2276
2276
|
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2277
2277
|
subgraphError?: _SubgraphErrorPolicy_;
|
|
2278
|
-
where?: InputMaybe<
|
|
2278
|
+
where?: InputMaybe<VirtualGame_Filter>;
|
|
2279
2279
|
};
|
|
2280
2280
|
export type VirtualCondition = {
|
|
2281
2281
|
__typename?: 'VirtualCondition';
|
|
2282
2282
|
data: Scalars['String']['output'];
|
|
2283
|
-
game:
|
|
2283
|
+
game: VirtualGame;
|
|
2284
2284
|
id: Scalars['ID']['output'];
|
|
2285
2285
|
};
|
|
2286
2286
|
export type VirtualCondition_Filter = {
|
|
@@ -2308,7 +2308,7 @@ export type VirtualCondition_Filter = {
|
|
|
2308
2308
|
data_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
2309
2309
|
data_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
2310
2310
|
game?: InputMaybe<Scalars['String']['input']>;
|
|
2311
|
-
game_?: InputMaybe<
|
|
2311
|
+
game_?: InputMaybe<VirtualGame_Filter>;
|
|
2312
2312
|
game_contains?: InputMaybe<Scalars['String']['input']>;
|
|
2313
2313
|
game_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
2314
2314
|
game_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -2343,22 +2343,22 @@ export declare enum VirtualCondition_OrderBy {
|
|
|
2343
2343
|
Game = "game",
|
|
2344
2344
|
Id = "id"
|
|
2345
2345
|
}
|
|
2346
|
-
export type
|
|
2347
|
-
__typename?: '
|
|
2346
|
+
export type VirtualGame = {
|
|
2347
|
+
__typename?: 'VirtualGame';
|
|
2348
2348
|
conditions: Array<VirtualCondition>;
|
|
2349
2349
|
id: Scalars['ID']['output'];
|
|
2350
2350
|
};
|
|
2351
|
-
export type
|
|
2351
|
+
export type VirtualGameConditionsArgs = {
|
|
2352
2352
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2353
2353
|
orderBy?: InputMaybe<VirtualCondition_OrderBy>;
|
|
2354
2354
|
orderDirection?: InputMaybe<OrderDirection>;
|
|
2355
2355
|
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2356
2356
|
where?: InputMaybe<VirtualCondition_Filter>;
|
|
2357
2357
|
};
|
|
2358
|
-
export type
|
|
2358
|
+
export type VirtualGame_Filter = {
|
|
2359
2359
|
/** Filter for the block changed event. */
|
|
2360
2360
|
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
2361
|
-
and?: InputMaybe<Array<InputMaybe<
|
|
2361
|
+
and?: InputMaybe<Array<InputMaybe<VirtualGame_Filter>>>;
|
|
2362
2362
|
conditions_?: InputMaybe<VirtualCondition_Filter>;
|
|
2363
2363
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
2364
2364
|
id_gt?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -2368,9 +2368,9 @@ export type VritualGame_Filter = {
|
|
|
2368
2368
|
id_lte?: InputMaybe<Scalars['ID']['input']>;
|
|
2369
2369
|
id_not?: InputMaybe<Scalars['ID']['input']>;
|
|
2370
2370
|
id_not_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2371
|
-
or?: InputMaybe<Array<InputMaybe<
|
|
2371
|
+
or?: InputMaybe<Array<InputMaybe<VirtualGame_Filter>>>;
|
|
2372
2372
|
};
|
|
2373
|
-
export declare enum
|
|
2373
|
+
export declare enum VirtualGame_OrderBy {
|
|
2374
2374
|
Conditions = "conditions",
|
|
2375
2375
|
Id = "id"
|
|
2376
2376
|
}
|