@cowprotocol/cow-sdk 1.0.2-RC.5 → 1.0.2-RC.6

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.
Files changed (50) hide show
  1. package/dist/api/cow-subgraph/graphql.d.ts +1 -239
  2. package/dist/appData.schema-0c8db23b.js +2 -0
  3. package/dist/appData.schema-0c8db23b.js.map +1 -0
  4. package/dist/appData.schema-412cbfbf.js +2 -0
  5. package/dist/appData.schema-412cbfbf.js.map +1 -0
  6. package/dist/appData.schema-42d10730.js +2 -0
  7. package/dist/appData.schema-42d10730.js.map +1 -0
  8. package/dist/appData.schema-4c010c50.js +2 -0
  9. package/dist/appData.schema-4c010c50.js.map +1 -0
  10. package/dist/appData.schema-adfc1c6f.js +2 -0
  11. package/dist/appData.schema-adfc1c6f.js.map +1 -0
  12. package/dist/appData.schema-b8f018d7.js +2 -0
  13. package/dist/appData.schema-b8f018d7.js.map +1 -0
  14. package/dist/index.js +4 -4
  15. package/dist/index.js.map +1 -1
  16. package/dist/index.modern.js +29 -0
  17. package/dist/index.modern.js.map +1 -0
  18. package/dist/index.modern.mjs +4 -4
  19. package/dist/index.modern.mjs.map +1 -1
  20. package/dist/index.module.js +4 -4
  21. package/dist/index.module.js.map +1 -1
  22. package/dist/src/appData.schema-d44994e0.js +2 -0
  23. package/dist/src/appData.schema-d44994e0.js.map +1 -0
  24. package/dist/src/appData.schema-fb2df827.js +2 -0
  25. package/dist/src/appData.schema-fb2df827.js.map +1 -0
  26. package/dist/src/cow-sdk.esm.js +2 -0
  27. package/dist/src/cow-sdk.esm.js.map +1 -0
  28. package/dist/src/cow-sdk.js +2 -0
  29. package/dist/src/cow-sdk.js.map +1 -0
  30. package/dist/src/cow-sdk.modern.js +2 -0
  31. package/dist/src/cow-sdk.modern.js.map +1 -0
  32. package/dist/src/src/CowSdk.d.ts +16 -0
  33. package/dist/src/src/api/cow/errors/OperatorError.d.ts +63 -0
  34. package/dist/src/src/api/cow/errors/QuoteError.d.ts +32 -0
  35. package/dist/src/src/api/cow/index.d.ts +38 -0
  36. package/dist/src/src/api/cow/types.d.ts +73 -0
  37. package/dist/src/src/api/index.d.ts +1 -0
  38. package/dist/src/src/constants/chains.d.ts +6 -0
  39. package/dist/src/src/constants/index.d.ts +3 -0
  40. package/dist/src/src/constants/tokens.d.ts +5 -0
  41. package/dist/src/src/index.d.ts +4 -0
  42. package/dist/src/src/types/index.d.ts +7 -0
  43. package/dist/src/src/utils/appData.d.ts +7 -0
  44. package/dist/src/src/utils/common.d.ts +5 -0
  45. package/dist/src/src/utils/context.d.ts +24 -0
  46. package/dist/src/src/utils/sign.d.ts +54 -0
  47. package/dist/src/src/utils/tokens.d.ts +2 -0
  48. package/package.json +1 -1
  49. package/LICENSE-APACHE +0 -201
  50. package/LICENSE-MIT +0 -21
@@ -40,7 +40,6 @@ export declare type Bundle = {
40
40
  export declare type Bundle_Filter = {
41
41
  /** Filter for the block changed event. */
42
42
  _change_block?: InputMaybe<BlockChangedFilter>;
43
- and?: InputMaybe<Array<InputMaybe<Bundle_Filter>>>;
44
43
  ethPriceUSD?: InputMaybe<Scalars['BigDecimal']>;
45
44
  ethPriceUSD_gt?: InputMaybe<Scalars['BigDecimal']>;
46
45
  ethPriceUSD_gte?: InputMaybe<Scalars['BigDecimal']>;
@@ -57,7 +56,6 @@ export declare type Bundle_Filter = {
57
56
  id_lte?: InputMaybe<Scalars['ID']>;
58
57
  id_not?: InputMaybe<Scalars['ID']>;
59
58
  id_not_in?: InputMaybe<Array<Scalars['ID']>>;
60
- or?: InputMaybe<Array<InputMaybe<Bundle_Filter>>>;
61
59
  };
62
60
  export declare enum Bundle_OrderBy {
63
61
  EthPriceUsd = "ethPriceUSD",
@@ -98,7 +96,6 @@ export declare type DailyTotalTokensArgs = {
98
96
  export declare type DailyTotal_Filter = {
99
97
  /** Filter for the block changed event. */
100
98
  _change_block?: InputMaybe<BlockChangedFilter>;
101
- and?: InputMaybe<Array<InputMaybe<DailyTotal_Filter>>>;
102
99
  feesEth?: InputMaybe<Scalars['BigDecimal']>;
103
100
  feesEth_gt?: InputMaybe<Scalars['BigDecimal']>;
104
101
  feesEth_gte?: InputMaybe<Scalars['BigDecimal']>;
@@ -131,7 +128,6 @@ export declare type DailyTotal_Filter = {
131
128
  numberOfTrades_lte?: InputMaybe<Scalars['BigInt']>;
132
129
  numberOfTrades_not?: InputMaybe<Scalars['BigInt']>;
133
130
  numberOfTrades_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
134
- or?: InputMaybe<Array<InputMaybe<DailyTotal_Filter>>>;
135
131
  orders?: InputMaybe<Scalars['BigInt']>;
136
132
  orders_gt?: InputMaybe<Scalars['BigInt']>;
137
133
  orders_gte?: InputMaybe<Scalars['BigInt']>;
@@ -236,7 +232,6 @@ export declare type HourlyTotalTokensArgs = {
236
232
  export declare type HourlyTotal_Filter = {
237
233
  /** Filter for the block changed event. */
238
234
  _change_block?: InputMaybe<BlockChangedFilter>;
239
- and?: InputMaybe<Array<InputMaybe<HourlyTotal_Filter>>>;
240
235
  feesEth?: InputMaybe<Scalars['BigDecimal']>;
241
236
  feesEth_gt?: InputMaybe<Scalars['BigDecimal']>;
242
237
  feesEth_gte?: InputMaybe<Scalars['BigDecimal']>;
@@ -269,7 +264,6 @@ export declare type HourlyTotal_Filter = {
269
264
  numberOfTrades_lte?: InputMaybe<Scalars['BigInt']>;
270
265
  numberOfTrades_not?: InputMaybe<Scalars['BigInt']>;
271
266
  numberOfTrades_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
272
- or?: InputMaybe<Array<InputMaybe<HourlyTotal_Filter>>>;
273
267
  orders?: InputMaybe<Scalars['BigInt']>;
274
268
  orders_gt?: InputMaybe<Scalars['BigInt']>;
275
269
  orders_gte?: InputMaybe<Scalars['BigInt']>;
@@ -373,7 +367,6 @@ export declare enum OrderDirection {
373
367
  export declare type Order_Filter = {
374
368
  /** Filter for the block changed event. */
375
369
  _change_block?: InputMaybe<BlockChangedFilter>;
376
- and?: InputMaybe<Array<InputMaybe<Order_Filter>>>;
377
370
  id?: InputMaybe<Scalars['ID']>;
378
371
  id_gt?: InputMaybe<Scalars['ID']>;
379
372
  id_gte?: InputMaybe<Scalars['ID']>;
@@ -398,7 +391,6 @@ export declare type Order_Filter = {
398
391
  isValid_in?: InputMaybe<Array<Scalars['Boolean']>>;
399
392
  isValid_not?: InputMaybe<Scalars['Boolean']>;
400
393
  isValid_not_in?: InputMaybe<Array<Scalars['Boolean']>>;
401
- or?: InputMaybe<Array<InputMaybe<Order_Filter>>>;
402
394
  owner?: InputMaybe<Scalars['String']>;
403
395
  owner_?: InputMaybe<User_Filter>;
404
396
  owner_contains?: InputMaybe<Scalars['String']>;
@@ -444,15 +436,6 @@ export declare enum Order_OrderBy {
444
436
  IsSigned = "isSigned",
445
437
  IsValid = "isValid",
446
438
  Owner = "owner",
447
- OwnerAddress = "owner__address",
448
- OwnerFirstTradeTimestamp = "owner__firstTradeTimestamp",
449
- OwnerId = "owner__id",
450
- OwnerIsSolver = "owner__isSolver",
451
- OwnerNumberOfTrades = "owner__numberOfTrades",
452
- OwnerSolvedAmountEth = "owner__solvedAmountEth",
453
- OwnerSolvedAmountUsd = "owner__solvedAmountUsd",
454
- OwnerTradedAmountEth = "owner__tradedAmountEth",
455
- OwnerTradedAmountUsd = "owner__tradedAmountUsd",
456
439
  PresignTimestamp = "presignTimestamp",
457
440
  Trades = "trades",
458
441
  TradesTimestamp = "tradesTimestamp"
@@ -512,7 +495,6 @@ export declare type PairDaily = {
512
495
  export declare type PairDaily_Filter = {
513
496
  /** Filter for the block changed event. */
514
497
  _change_block?: InputMaybe<BlockChangedFilter>;
515
- and?: InputMaybe<Array<InputMaybe<PairDaily_Filter>>>;
516
498
  id?: InputMaybe<Scalars['ID']>;
517
499
  id_gt?: InputMaybe<Scalars['ID']>;
518
500
  id_gte?: InputMaybe<Scalars['ID']>;
@@ -521,7 +503,6 @@ export declare type PairDaily_Filter = {
521
503
  id_lte?: InputMaybe<Scalars['ID']>;
522
504
  id_not?: InputMaybe<Scalars['ID']>;
523
505
  id_not_in?: InputMaybe<Array<Scalars['ID']>>;
524
- or?: InputMaybe<Array<InputMaybe<PairDaily_Filter>>>;
525
506
  timestamp?: InputMaybe<Scalars['Int']>;
526
507
  timestamp_gt?: InputMaybe<Scalars['Int']>;
527
508
  timestamp_gte?: InputMaybe<Scalars['Int']>;
@@ -642,33 +623,9 @@ export declare enum PairDaily_OrderBy {
642
623
  Timestamp = "timestamp",
643
624
  Token0 = "token0",
644
625
  Token0Price = "token0Price",
645
- Token0Address = "token0__address",
646
- Token0Decimals = "token0__decimals",
647
- Token0FirstTradeTimestamp = "token0__firstTradeTimestamp",
648
- Token0Id = "token0__id",
649
- Token0Name = "token0__name",
650
- Token0NumberOfTrades = "token0__numberOfTrades",
651
- Token0PriceEth = "token0__priceEth",
652
- Token0PriceUsd = "token0__priceUsd",
653
- Token0Symbol = "token0__symbol",
654
- Token0TotalVolume = "token0__totalVolume",
655
- Token0TotalVolumeEth = "token0__totalVolumeEth",
656
- Token0TotalVolumeUsd = "token0__totalVolumeUsd",
657
626
  Token0relativePrice = "token0relativePrice",
658
627
  Token1 = "token1",
659
628
  Token1Price = "token1Price",
660
- Token1Address = "token1__address",
661
- Token1Decimals = "token1__decimals",
662
- Token1FirstTradeTimestamp = "token1__firstTradeTimestamp",
663
- Token1Id = "token1__id",
664
- Token1Name = "token1__name",
665
- Token1NumberOfTrades = "token1__numberOfTrades",
666
- Token1PriceEth = "token1__priceEth",
667
- Token1PriceUsd = "token1__priceUsd",
668
- Token1Symbol = "token1__symbol",
669
- Token1TotalVolume = "token1__totalVolume",
670
- Token1TotalVolumeEth = "token1__totalVolumeEth",
671
- Token1TotalVolumeUsd = "token1__totalVolumeUsd",
672
629
  Token1relativePrice = "token1relativePrice",
673
630
  VolumeToken0 = "volumeToken0",
674
631
  VolumeToken1 = "volumeToken1",
@@ -705,7 +662,6 @@ export declare type PairHourly = {
705
662
  export declare type PairHourly_Filter = {
706
663
  /** Filter for the block changed event. */
707
664
  _change_block?: InputMaybe<BlockChangedFilter>;
708
- and?: InputMaybe<Array<InputMaybe<PairHourly_Filter>>>;
709
665
  id?: InputMaybe<Scalars['ID']>;
710
666
  id_gt?: InputMaybe<Scalars['ID']>;
711
667
  id_gte?: InputMaybe<Scalars['ID']>;
@@ -714,7 +670,6 @@ export declare type PairHourly_Filter = {
714
670
  id_lte?: InputMaybe<Scalars['ID']>;
715
671
  id_not?: InputMaybe<Scalars['ID']>;
716
672
  id_not_in?: InputMaybe<Array<Scalars['ID']>>;
717
- or?: InputMaybe<Array<InputMaybe<PairHourly_Filter>>>;
718
673
  timestamp?: InputMaybe<Scalars['Int']>;
719
674
  timestamp_gt?: InputMaybe<Scalars['Int']>;
720
675
  timestamp_gte?: InputMaybe<Scalars['Int']>;
@@ -835,33 +790,9 @@ export declare enum PairHourly_OrderBy {
835
790
  Timestamp = "timestamp",
836
791
  Token0 = "token0",
837
792
  Token0Price = "token0Price",
838
- Token0Address = "token0__address",
839
- Token0Decimals = "token0__decimals",
840
- Token0FirstTradeTimestamp = "token0__firstTradeTimestamp",
841
- Token0Id = "token0__id",
842
- Token0Name = "token0__name",
843
- Token0NumberOfTrades = "token0__numberOfTrades",
844
- Token0PriceEth = "token0__priceEth",
845
- Token0PriceUsd = "token0__priceUsd",
846
- Token0Symbol = "token0__symbol",
847
- Token0TotalVolume = "token0__totalVolume",
848
- Token0TotalVolumeEth = "token0__totalVolumeEth",
849
- Token0TotalVolumeUsd = "token0__totalVolumeUsd",
850
793
  Token0relativePrice = "token0relativePrice",
851
794
  Token1 = "token1",
852
795
  Token1Price = "token1Price",
853
- Token1Address = "token1__address",
854
- Token1Decimals = "token1__decimals",
855
- Token1FirstTradeTimestamp = "token1__firstTradeTimestamp",
856
- Token1Id = "token1__id",
857
- Token1Name = "token1__name",
858
- Token1NumberOfTrades = "token1__numberOfTrades",
859
- Token1PriceEth = "token1__priceEth",
860
- Token1PriceUsd = "token1__priceUsd",
861
- Token1Symbol = "token1__symbol",
862
- Token1TotalVolume = "token1__totalVolume",
863
- Token1TotalVolumeEth = "token1__totalVolumeEth",
864
- Token1TotalVolumeUsd = "token1__totalVolumeUsd",
865
796
  Token1relativePrice = "token1relativePrice",
866
797
  VolumeToken0 = "volumeToken0",
867
798
  VolumeToken1 = "volumeToken1",
@@ -871,7 +802,6 @@ export declare enum PairHourly_OrderBy {
871
802
  export declare type Pair_Filter = {
872
803
  /** Filter for the block changed event. */
873
804
  _change_block?: InputMaybe<BlockChangedFilter>;
874
- and?: InputMaybe<Array<InputMaybe<Pair_Filter>>>;
875
805
  id?: InputMaybe<Scalars['ID']>;
876
806
  id_gt?: InputMaybe<Scalars['ID']>;
877
807
  id_gte?: InputMaybe<Scalars['ID']>;
@@ -880,7 +810,6 @@ export declare type Pair_Filter = {
880
810
  id_lte?: InputMaybe<Scalars['ID']>;
881
811
  id_not?: InputMaybe<Scalars['ID']>;
882
812
  id_not_in?: InputMaybe<Array<Scalars['ID']>>;
883
- or?: InputMaybe<Array<InputMaybe<Pair_Filter>>>;
884
813
  token0?: InputMaybe<Scalars['String']>;
885
814
  token0Price?: InputMaybe<Scalars['BigDecimal']>;
886
815
  token0Price_gt?: InputMaybe<Scalars['BigDecimal']>;
@@ -992,33 +921,9 @@ export declare enum Pair_OrderBy {
992
921
  Id = "id",
993
922
  Token0 = "token0",
994
923
  Token0Price = "token0Price",
995
- Token0Address = "token0__address",
996
- Token0Decimals = "token0__decimals",
997
- Token0FirstTradeTimestamp = "token0__firstTradeTimestamp",
998
- Token0Id = "token0__id",
999
- Token0Name = "token0__name",
1000
- Token0NumberOfTrades = "token0__numberOfTrades",
1001
- Token0PriceEth = "token0__priceEth",
1002
- Token0PriceUsd = "token0__priceUsd",
1003
- Token0Symbol = "token0__symbol",
1004
- Token0TotalVolume = "token0__totalVolume",
1005
- Token0TotalVolumeEth = "token0__totalVolumeEth",
1006
- Token0TotalVolumeUsd = "token0__totalVolumeUsd",
1007
924
  Token0relativePrice = "token0relativePrice",
1008
925
  Token1 = "token1",
1009
926
  Token1Price = "token1Price",
1010
- Token1Address = "token1__address",
1011
- Token1Decimals = "token1__decimals",
1012
- Token1FirstTradeTimestamp = "token1__firstTradeTimestamp",
1013
- Token1Id = "token1__id",
1014
- Token1Name = "token1__name",
1015
- Token1NumberOfTrades = "token1__numberOfTrades",
1016
- Token1PriceEth = "token1__priceEth",
1017
- Token1PriceUsd = "token1__priceUsd",
1018
- Token1Symbol = "token1__symbol",
1019
- Token1TotalVolume = "token1__totalVolume",
1020
- Token1TotalVolumeEth = "token1__totalVolumeEth",
1021
- Token1TotalVolumeUsd = "token1__totalVolumeUsd",
1022
927
  Token1relativePrice = "token1relativePrice",
1023
928
  VolumeToken0 = "volumeToken0",
1024
929
  VolumeToken1 = "volumeToken1",
@@ -1328,7 +1233,6 @@ export declare type SettlementTradesArgs = {
1328
1233
  export declare type Settlement_Filter = {
1329
1234
  /** Filter for the block changed event. */
1330
1235
  _change_block?: InputMaybe<BlockChangedFilter>;
1331
- and?: InputMaybe<Array<InputMaybe<Settlement_Filter>>>;
1332
1236
  firstTradeTimestamp?: InputMaybe<Scalars['Int']>;
1333
1237
  firstTradeTimestamp_gt?: InputMaybe<Scalars['Int']>;
1334
1238
  firstTradeTimestamp_gte?: InputMaybe<Scalars['Int']>;
@@ -1345,7 +1249,6 @@ export declare type Settlement_Filter = {
1345
1249
  id_lte?: InputMaybe<Scalars['ID']>;
1346
1250
  id_not?: InputMaybe<Scalars['ID']>;
1347
1251
  id_not_in?: InputMaybe<Array<Scalars['ID']>>;
1348
- or?: InputMaybe<Array<InputMaybe<Settlement_Filter>>>;
1349
1252
  solver?: InputMaybe<Scalars['String']>;
1350
1253
  solver_?: InputMaybe<User_Filter>;
1351
1254
  solver_contains?: InputMaybe<Scalars['String']>;
@@ -1370,11 +1273,7 @@ export declare type Settlement_Filter = {
1370
1273
  trades_?: InputMaybe<Trade_Filter>;
1371
1274
  txHash?: InputMaybe<Scalars['Bytes']>;
1372
1275
  txHash_contains?: InputMaybe<Scalars['Bytes']>;
1373
- txHash_gt?: InputMaybe<Scalars['Bytes']>;
1374
- txHash_gte?: InputMaybe<Scalars['Bytes']>;
1375
1276
  txHash_in?: InputMaybe<Array<Scalars['Bytes']>>;
1376
- txHash_lt?: InputMaybe<Scalars['Bytes']>;
1377
- txHash_lte?: InputMaybe<Scalars['Bytes']>;
1378
1277
  txHash_not?: InputMaybe<Scalars['Bytes']>;
1379
1278
  txHash_not_contains?: InputMaybe<Scalars['Bytes']>;
1380
1279
  txHash_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
@@ -1383,15 +1282,6 @@ export declare enum Settlement_OrderBy {
1383
1282
  FirstTradeTimestamp = "firstTradeTimestamp",
1384
1283
  Id = "id",
1385
1284
  Solver = "solver",
1386
- SolverAddress = "solver__address",
1387
- SolverFirstTradeTimestamp = "solver__firstTradeTimestamp",
1388
- SolverId = "solver__id",
1389
- SolverIsSolver = "solver__isSolver",
1390
- SolverNumberOfTrades = "solver__numberOfTrades",
1391
- SolverSolvedAmountEth = "solver__solvedAmountEth",
1392
- SolverSolvedAmountUsd = "solver__solvedAmountUsd",
1393
- SolverTradedAmountEth = "solver__tradedAmountEth",
1394
- SolverTradedAmountUsd = "solver__tradedAmountUsd",
1395
1285
  Trades = "trades",
1396
1286
  TxHash = "txHash"
1397
1287
  }
@@ -1759,7 +1649,6 @@ export declare type TokenDailyTotal = {
1759
1649
  export declare type TokenDailyTotal_Filter = {
1760
1650
  /** Filter for the block changed event. */
1761
1651
  _change_block?: InputMaybe<BlockChangedFilter>;
1762
- and?: InputMaybe<Array<InputMaybe<TokenDailyTotal_Filter>>>;
1763
1652
  averagePrice?: InputMaybe<Scalars['BigDecimal']>;
1764
1653
  averagePrice_gt?: InputMaybe<Scalars['BigDecimal']>;
1765
1654
  averagePrice_gte?: InputMaybe<Scalars['BigDecimal']>;
@@ -1808,7 +1697,6 @@ export declare type TokenDailyTotal_Filter = {
1808
1697
  openPrice_lte?: InputMaybe<Scalars['BigDecimal']>;
1809
1698
  openPrice_not?: InputMaybe<Scalars['BigDecimal']>;
1810
1699
  openPrice_not_in?: InputMaybe<Array<Scalars['BigDecimal']>>;
1811
- or?: InputMaybe<Array<InputMaybe<TokenDailyTotal_Filter>>>;
1812
1700
  timestamp?: InputMaybe<Scalars['Int']>;
1813
1701
  timestamp_gt?: InputMaybe<Scalars['Int']>;
1814
1702
  timestamp_gte?: InputMaybe<Scalars['Int']>;
@@ -1880,18 +1768,6 @@ export declare enum TokenDailyTotal_OrderBy {
1880
1768
  OpenPrice = "openPrice",
1881
1769
  Timestamp = "timestamp",
1882
1770
  Token = "token",
1883
- TokenAddress = "token__address",
1884
- TokenDecimals = "token__decimals",
1885
- TokenFirstTradeTimestamp = "token__firstTradeTimestamp",
1886
- TokenId = "token__id",
1887
- TokenName = "token__name",
1888
- TokenNumberOfTrades = "token__numberOfTrades",
1889
- TokenPriceEth = "token__priceEth",
1890
- TokenPriceUsd = "token__priceUsd",
1891
- TokenSymbol = "token__symbol",
1892
- TokenTotalVolume = "token__totalVolume",
1893
- TokenTotalVolumeEth = "token__totalVolumeEth",
1894
- TokenTotalVolumeUsd = "token__totalVolumeUsd",
1895
1771
  TotalTrades = "totalTrades",
1896
1772
  TotalVolume = "totalVolume",
1897
1773
  TotalVolumeEth = "totalVolumeEth",
@@ -1927,7 +1803,6 @@ export declare type TokenHourlyTotal = {
1927
1803
  export declare type TokenHourlyTotal_Filter = {
1928
1804
  /** Filter for the block changed event. */
1929
1805
  _change_block?: InputMaybe<BlockChangedFilter>;
1930
- and?: InputMaybe<Array<InputMaybe<TokenHourlyTotal_Filter>>>;
1931
1806
  averagePrice?: InputMaybe<Scalars['BigDecimal']>;
1932
1807
  averagePrice_gt?: InputMaybe<Scalars['BigDecimal']>;
1933
1808
  averagePrice_gte?: InputMaybe<Scalars['BigDecimal']>;
@@ -1976,7 +1851,6 @@ export declare type TokenHourlyTotal_Filter = {
1976
1851
  openPrice_lte?: InputMaybe<Scalars['BigDecimal']>;
1977
1852
  openPrice_not?: InputMaybe<Scalars['BigDecimal']>;
1978
1853
  openPrice_not_in?: InputMaybe<Array<Scalars['BigDecimal']>>;
1979
- or?: InputMaybe<Array<InputMaybe<TokenHourlyTotal_Filter>>>;
1980
1854
  timestamp?: InputMaybe<Scalars['Int']>;
1981
1855
  timestamp_gt?: InputMaybe<Scalars['Int']>;
1982
1856
  timestamp_gte?: InputMaybe<Scalars['Int']>;
@@ -2048,18 +1922,6 @@ export declare enum TokenHourlyTotal_OrderBy {
2048
1922
  OpenPrice = "openPrice",
2049
1923
  Timestamp = "timestamp",
2050
1924
  Token = "token",
2051
- TokenAddress = "token__address",
2052
- TokenDecimals = "token__decimals",
2053
- TokenFirstTradeTimestamp = "token__firstTradeTimestamp",
2054
- TokenId = "token__id",
2055
- TokenName = "token__name",
2056
- TokenNumberOfTrades = "token__numberOfTrades",
2057
- TokenPriceEth = "token__priceEth",
2058
- TokenPriceUsd = "token__priceUsd",
2059
- TokenSymbol = "token__symbol",
2060
- TokenTotalVolume = "token__totalVolume",
2061
- TokenTotalVolumeEth = "token__totalVolumeEth",
2062
- TokenTotalVolumeUsd = "token__totalVolumeUsd",
2063
1925
  TotalTrades = "totalTrades",
2064
1926
  TotalVolume = "totalVolume",
2065
1927
  TotalVolumeEth = "totalVolumeEth",
@@ -2099,7 +1961,6 @@ export declare type TokenTradingEvent_Filter = {
2099
1961
  amountUsd_lte?: InputMaybe<Scalars['BigDecimal']>;
2100
1962
  amountUsd_not?: InputMaybe<Scalars['BigDecimal']>;
2101
1963
  amountUsd_not_in?: InputMaybe<Array<Scalars['BigDecimal']>>;
2102
- and?: InputMaybe<Array<InputMaybe<TokenTradingEvent_Filter>>>;
2103
1964
  id?: InputMaybe<Scalars['ID']>;
2104
1965
  id_gt?: InputMaybe<Scalars['ID']>;
2105
1966
  id_gte?: InputMaybe<Scalars['ID']>;
@@ -2108,7 +1969,6 @@ export declare type TokenTradingEvent_Filter = {
2108
1969
  id_lte?: InputMaybe<Scalars['ID']>;
2109
1970
  id_not?: InputMaybe<Scalars['ID']>;
2110
1971
  id_not_in?: InputMaybe<Array<Scalars['ID']>>;
2111
- or?: InputMaybe<Array<InputMaybe<TokenTradingEvent_Filter>>>;
2112
1972
  timestamp?: InputMaybe<Scalars['Int']>;
2113
1973
  timestamp_gt?: InputMaybe<Scalars['Int']>;
2114
1974
  timestamp_gte?: InputMaybe<Scalars['Int']>;
@@ -2166,45 +2026,17 @@ export declare enum TokenTradingEvent_OrderBy {
2166
2026
  Id = "id",
2167
2027
  Timestamp = "timestamp",
2168
2028
  Token = "token",
2169
- TokenAddress = "token__address",
2170
- TokenDecimals = "token__decimals",
2171
- TokenFirstTradeTimestamp = "token__firstTradeTimestamp",
2172
- TokenId = "token__id",
2173
- TokenName = "token__name",
2174
- TokenNumberOfTrades = "token__numberOfTrades",
2175
- TokenPriceEth = "token__priceEth",
2176
- TokenPriceUsd = "token__priceUsd",
2177
- TokenSymbol = "token__symbol",
2178
- TokenTotalVolume = "token__totalVolume",
2179
- TokenTotalVolumeEth = "token__totalVolumeEth",
2180
- TokenTotalVolumeUsd = "token__totalVolumeUsd",
2181
- Trade = "trade",
2182
- TradeBuyAmount = "trade__buyAmount",
2183
- TradeBuyAmountEth = "trade__buyAmountEth",
2184
- TradeBuyAmountUsd = "trade__buyAmountUsd",
2185
- TradeFeeAmount = "trade__feeAmount",
2186
- TradeGasPrice = "trade__gasPrice",
2187
- TradeId = "trade__id",
2188
- TradeSellAmount = "trade__sellAmount",
2189
- TradeSellAmountEth = "trade__sellAmountEth",
2190
- TradeSellAmountUsd = "trade__sellAmountUsd",
2191
- TradeTimestamp = "trade__timestamp",
2192
- TradeTxHash = "trade__txHash"
2029
+ Trade = "trade"
2193
2030
  }
2194
2031
  export declare type Token_Filter = {
2195
2032
  /** Filter for the block changed event. */
2196
2033
  _change_block?: InputMaybe<BlockChangedFilter>;
2197
2034
  address?: InputMaybe<Scalars['Bytes']>;
2198
2035
  address_contains?: InputMaybe<Scalars['Bytes']>;
2199
- address_gt?: InputMaybe<Scalars['Bytes']>;
2200
- address_gte?: InputMaybe<Scalars['Bytes']>;
2201
2036
  address_in?: InputMaybe<Array<Scalars['Bytes']>>;
2202
- address_lt?: InputMaybe<Scalars['Bytes']>;
2203
- address_lte?: InputMaybe<Scalars['Bytes']>;
2204
2037
  address_not?: InputMaybe<Scalars['Bytes']>;
2205
2038
  address_not_contains?: InputMaybe<Scalars['Bytes']>;
2206
2039
  address_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
2207
- and?: InputMaybe<Array<InputMaybe<Token_Filter>>>;
2208
2040
  dailyTotals_?: InputMaybe<TokenDailyTotal_Filter>;
2209
2041
  decimals?: InputMaybe<Scalars['Int']>;
2210
2042
  decimals_gt?: InputMaybe<Scalars['Int']>;
@@ -2260,7 +2092,6 @@ export declare type Token_Filter = {
2260
2092
  numberOfTrades_lte?: InputMaybe<Scalars['Int']>;
2261
2093
  numberOfTrades_not?: InputMaybe<Scalars['Int']>;
2262
2094
  numberOfTrades_not_in?: InputMaybe<Array<Scalars['Int']>>;
2263
- or?: InputMaybe<Array<InputMaybe<Token_Filter>>>;
2264
2095
  priceEth?: InputMaybe<Scalars['BigDecimal']>;
2265
2096
  priceEth_gt?: InputMaybe<Scalars['BigDecimal']>;
2266
2097
  priceEth_gte?: InputMaybe<Scalars['BigDecimal']>;
@@ -2365,7 +2196,6 @@ export declare type Total = {
2365
2196
  export declare type Total_Filter = {
2366
2197
  /** Filter for the block changed event. */
2367
2198
  _change_block?: InputMaybe<BlockChangedFilter>;
2368
- and?: InputMaybe<Array<InputMaybe<Total_Filter>>>;
2369
2199
  feesEth?: InputMaybe<Scalars['BigDecimal']>;
2370
2200
  feesEth_gt?: InputMaybe<Scalars['BigDecimal']>;
2371
2201
  feesEth_gte?: InputMaybe<Scalars['BigDecimal']>;
@@ -2398,7 +2228,6 @@ export declare type Total_Filter = {
2398
2228
  numberOfTrades_lte?: InputMaybe<Scalars['BigInt']>;
2399
2229
  numberOfTrades_not?: InputMaybe<Scalars['BigInt']>;
2400
2230
  numberOfTrades_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
2401
- or?: InputMaybe<Array<InputMaybe<Total_Filter>>>;
2402
2231
  orders?: InputMaybe<Scalars['BigInt']>;
2403
2232
  orders_gt?: InputMaybe<Scalars['BigInt']>;
2404
2233
  orders_gte?: InputMaybe<Scalars['BigInt']>;
@@ -2496,7 +2325,6 @@ export declare type Trade = {
2496
2325
  export declare type Trade_Filter = {
2497
2326
  /** Filter for the block changed event. */
2498
2327
  _change_block?: InputMaybe<BlockChangedFilter>;
2499
- and?: InputMaybe<Array<InputMaybe<Trade_Filter>>>;
2500
2328
  buyAmount?: InputMaybe<Scalars['BigInt']>;
2501
2329
  buyAmountEth?: InputMaybe<Scalars['BigDecimal']>;
2502
2330
  buyAmountEth_gt?: InputMaybe<Scalars['BigDecimal']>;
@@ -2566,7 +2394,6 @@ export declare type Trade_Filter = {
2566
2394
  id_lte?: InputMaybe<Scalars['ID']>;
2567
2395
  id_not?: InputMaybe<Scalars['ID']>;
2568
2396
  id_not_in?: InputMaybe<Array<Scalars['ID']>>;
2569
- or?: InputMaybe<Array<InputMaybe<Trade_Filter>>>;
2570
2397
  order?: InputMaybe<Scalars['String']>;
2571
2398
  order_?: InputMaybe<Order_Filter>;
2572
2399
  order_contains?: InputMaybe<Scalars['String']>;
@@ -2664,11 +2491,7 @@ export declare type Trade_Filter = {
2664
2491
  timestamp_not_in?: InputMaybe<Array<Scalars['Int']>>;
2665
2492
  txHash?: InputMaybe<Scalars['Bytes']>;
2666
2493
  txHash_contains?: InputMaybe<Scalars['Bytes']>;
2667
- txHash_gt?: InputMaybe<Scalars['Bytes']>;
2668
- txHash_gte?: InputMaybe<Scalars['Bytes']>;
2669
2494
  txHash_in?: InputMaybe<Array<Scalars['Bytes']>>;
2670
- txHash_lt?: InputMaybe<Scalars['Bytes']>;
2671
- txHash_lte?: InputMaybe<Scalars['Bytes']>;
2672
2495
  txHash_not?: InputMaybe<Scalars['Bytes']>;
2673
2496
  txHash_not_contains?: InputMaybe<Scalars['Bytes']>;
2674
2497
  txHash_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
@@ -2678,48 +2501,15 @@ export declare enum Trade_OrderBy {
2678
2501
  BuyAmountEth = "buyAmountEth",
2679
2502
  BuyAmountUsd = "buyAmountUsd",
2680
2503
  BuyToken = "buyToken",
2681
- BuyTokenAddress = "buyToken__address",
2682
- BuyTokenDecimals = "buyToken__decimals",
2683
- BuyTokenFirstTradeTimestamp = "buyToken__firstTradeTimestamp",
2684
- BuyTokenId = "buyToken__id",
2685
- BuyTokenName = "buyToken__name",
2686
- BuyTokenNumberOfTrades = "buyToken__numberOfTrades",
2687
- BuyTokenPriceEth = "buyToken__priceEth",
2688
- BuyTokenPriceUsd = "buyToken__priceUsd",
2689
- BuyTokenSymbol = "buyToken__symbol",
2690
- BuyTokenTotalVolume = "buyToken__totalVolume",
2691
- BuyTokenTotalVolumeEth = "buyToken__totalVolumeEth",
2692
- BuyTokenTotalVolumeUsd = "buyToken__totalVolumeUsd",
2693
2504
  FeeAmount = "feeAmount",
2694
2505
  GasPrice = "gasPrice",
2695
2506
  Id = "id",
2696
2507
  Order = "order",
2697
- OrderId = "order__id",
2698
- OrderInvalidateTimestamp = "order__invalidateTimestamp",
2699
- OrderIsSigned = "order__isSigned",
2700
- OrderIsValid = "order__isValid",
2701
- OrderPresignTimestamp = "order__presignTimestamp",
2702
- OrderTradesTimestamp = "order__tradesTimestamp",
2703
2508
  SellAmount = "sellAmount",
2704
2509
  SellAmountEth = "sellAmountEth",
2705
2510
  SellAmountUsd = "sellAmountUsd",
2706
2511
  SellToken = "sellToken",
2707
- SellTokenAddress = "sellToken__address",
2708
- SellTokenDecimals = "sellToken__decimals",
2709
- SellTokenFirstTradeTimestamp = "sellToken__firstTradeTimestamp",
2710
- SellTokenId = "sellToken__id",
2711
- SellTokenName = "sellToken__name",
2712
- SellTokenNumberOfTrades = "sellToken__numberOfTrades",
2713
- SellTokenPriceEth = "sellToken__priceEth",
2714
- SellTokenPriceUsd = "sellToken__priceUsd",
2715
- SellTokenSymbol = "sellToken__symbol",
2716
- SellTokenTotalVolume = "sellToken__totalVolume",
2717
- SellTokenTotalVolumeEth = "sellToken__totalVolumeEth",
2718
- SellTokenTotalVolumeUsd = "sellToken__totalVolumeUsd",
2719
2512
  Settlement = "settlement",
2720
- SettlementFirstTradeTimestamp = "settlement__firstTradeTimestamp",
2721
- SettlementId = "settlement__id",
2722
- SettlementTxHash = "settlement__txHash",
2723
2513
  Timestamp = "timestamp",
2724
2514
  TxHash = "txHash"
2725
2515
  }
@@ -2747,7 +2537,6 @@ export declare type UniswapPool = {
2747
2537
  export declare type UniswapPool_Filter = {
2748
2538
  /** Filter for the block changed event. */
2749
2539
  _change_block?: InputMaybe<BlockChangedFilter>;
2750
- and?: InputMaybe<Array<InputMaybe<UniswapPool_Filter>>>;
2751
2540
  id?: InputMaybe<Scalars['ID']>;
2752
2541
  id_gt?: InputMaybe<Scalars['ID']>;
2753
2542
  id_gte?: InputMaybe<Scalars['ID']>;
@@ -2764,7 +2553,6 @@ export declare type UniswapPool_Filter = {
2764
2553
  liquidity_lte?: InputMaybe<Scalars['BigInt']>;
2765
2554
  liquidity_not?: InputMaybe<Scalars['BigInt']>;
2766
2555
  liquidity_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
2767
- or?: InputMaybe<Array<InputMaybe<UniswapPool_Filter>>>;
2768
2556
  tick?: InputMaybe<Scalars['BigInt']>;
2769
2557
  tick_gt?: InputMaybe<Scalars['BigInt']>;
2770
2558
  tick_gte?: InputMaybe<Scalars['BigInt']>;
@@ -2854,22 +2642,8 @@ export declare enum UniswapPool_OrderBy {
2854
2642
  Tick = "tick",
2855
2643
  Token0 = "token0",
2856
2644
  Token0Price = "token0Price",
2857
- Token0Address = "token0__address",
2858
- Token0Decimals = "token0__decimals",
2859
- Token0Id = "token0__id",
2860
- Token0Name = "token0__name",
2861
- Token0PriceEth = "token0__priceEth",
2862
- Token0PriceUsd = "token0__priceUsd",
2863
- Token0Symbol = "token0__symbol",
2864
2645
  Token1 = "token1",
2865
2646
  Token1Price = "token1Price",
2866
- Token1Address = "token1__address",
2867
- Token1Decimals = "token1__decimals",
2868
- Token1Id = "token1__id",
2869
- Token1Name = "token1__name",
2870
- Token1PriceEth = "token1__priceEth",
2871
- Token1PriceUsd = "token1__priceUsd",
2872
- Token1Symbol = "token1__symbol",
2873
2647
  TotalValueLockedToken0 = "totalValueLockedToken0",
2874
2648
  TotalValueLockedToken1 = "totalValueLockedToken1"
2875
2649
  }
@@ -2904,11 +2678,7 @@ export declare type UniswapToken_Filter = {
2904
2678
  _change_block?: InputMaybe<BlockChangedFilter>;
2905
2679
  address?: InputMaybe<Scalars['Bytes']>;
2906
2680
  address_contains?: InputMaybe<Scalars['Bytes']>;
2907
- address_gt?: InputMaybe<Scalars['Bytes']>;
2908
- address_gte?: InputMaybe<Scalars['Bytes']>;
2909
2681
  address_in?: InputMaybe<Array<Scalars['Bytes']>>;
2910
- address_lt?: InputMaybe<Scalars['Bytes']>;
2911
- address_lte?: InputMaybe<Scalars['Bytes']>;
2912
2682
  address_not?: InputMaybe<Scalars['Bytes']>;
2913
2683
  address_not_contains?: InputMaybe<Scalars['Bytes']>;
2914
2684
  address_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
@@ -2919,7 +2689,6 @@ export declare type UniswapToken_Filter = {
2919
2689
  allowedPools_not?: InputMaybe<Array<Scalars['String']>>;
2920
2690
  allowedPools_not_contains?: InputMaybe<Array<Scalars['String']>>;
2921
2691
  allowedPools_not_contains_nocase?: InputMaybe<Array<Scalars['String']>>;
2922
- and?: InputMaybe<Array<InputMaybe<UniswapToken_Filter>>>;
2923
2692
  decimals?: InputMaybe<Scalars['Int']>;
2924
2693
  decimals_gt?: InputMaybe<Scalars['Int']>;
2925
2694
  decimals_gte?: InputMaybe<Scalars['Int']>;
@@ -2956,7 +2725,6 @@ export declare type UniswapToken_Filter = {
2956
2725
  name_not_starts_with_nocase?: InputMaybe<Scalars['String']>;
2957
2726
  name_starts_with?: InputMaybe<Scalars['String']>;
2958
2727
  name_starts_with_nocase?: InputMaybe<Scalars['String']>;
2959
- or?: InputMaybe<Array<InputMaybe<UniswapToken_Filter>>>;
2960
2728
  priceEth?: InputMaybe<Scalars['BigDecimal']>;
2961
2729
  priceEth_gt?: InputMaybe<Scalars['BigDecimal']>;
2962
2730
  priceEth_gte?: InputMaybe<Scalars['BigDecimal']>;
@@ -3039,15 +2807,10 @@ export declare type User_Filter = {
3039
2807
  _change_block?: InputMaybe<BlockChangedFilter>;
3040
2808
  address?: InputMaybe<Scalars['Bytes']>;
3041
2809
  address_contains?: InputMaybe<Scalars['Bytes']>;
3042
- address_gt?: InputMaybe<Scalars['Bytes']>;
3043
- address_gte?: InputMaybe<Scalars['Bytes']>;
3044
2810
  address_in?: InputMaybe<Array<Scalars['Bytes']>>;
3045
- address_lt?: InputMaybe<Scalars['Bytes']>;
3046
- address_lte?: InputMaybe<Scalars['Bytes']>;
3047
2811
  address_not?: InputMaybe<Scalars['Bytes']>;
3048
2812
  address_not_contains?: InputMaybe<Scalars['Bytes']>;
3049
2813
  address_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
3050
- and?: InputMaybe<Array<InputMaybe<User_Filter>>>;
3051
2814
  firstTradeTimestamp?: InputMaybe<Scalars['Int']>;
3052
2815
  firstTradeTimestamp_gt?: InputMaybe<Scalars['Int']>;
3053
2816
  firstTradeTimestamp_gte?: InputMaybe<Scalars['Int']>;
@@ -3076,7 +2839,6 @@ export declare type User_Filter = {
3076
2839
  numberOfTrades_lte?: InputMaybe<Scalars['Int']>;
3077
2840
  numberOfTrades_not?: InputMaybe<Scalars['Int']>;
3078
2841
  numberOfTrades_not_in?: InputMaybe<Array<Scalars['Int']>>;
3079
- or?: InputMaybe<Array<InputMaybe<User_Filter>>>;
3080
2842
  ordersPlaced_?: InputMaybe<Order_Filter>;
3081
2843
  solvedAmountEth?: InputMaybe<Scalars['BigDecimal']>;
3082
2844
  solvedAmountEth_gt?: InputMaybe<Scalars['BigDecimal']>;
@@ -0,0 +1,2 @@
1
+ var e="https://cowswap.exchange/appdata.schema.json",t="http://json-schema.org/draft-07/schema",i="Metadata JSON document for adding information to orders.",r=["version","metadata"],o="AppData Root Schema",n="object",d={version:{$id:"#/properties/version",description:"Semantic versioning of document",examples:["1.0.0","1.2.3"],title:"Semantic Versioning",type:"string"},appCode:{$id:"#/properties/appCode",description:"The code identifying the CLI, UI, service generating the order.",examples:["CowSwap"],title:"App Code",type:"string"},metadata:{$id:"#/properties/metadata",default:{},description:"Each metadata will specify one aspect of the order.",required:[],title:"Metadata descriptors",type:"object",properties:{referrer:{$ref:"#/definitions/kindMetadata/referrer"},quote:{$ref:"#/definitions/kindMetadata/quote"}}}},s={version:{$id:"#/definitions/version",description:"Semantic versioning of document",examples:["1.0.0","1.2.3"],title:"Semantic Versioning",type:"string"},ethereumAddress:{$id:"#/definitions/ethereumAddress",pattern:"^0x[a-fA-F0-9]{40}$",title:"Ethereum compatible address",examples:["0xb6BAd41ae76A11D10f7b0E664C5007b908bC77C9"],type:"string"},bigNumber:{$id:"#/definitions/bigNumber",pattern:"\\d+",title:"BigNumber",examples:["90741097240912730913, 0, 75891372"],type:"string"},kindMetadata:{referrer:{$id:"#/definitions/referrer",required:["version","address"],title:"Referrer",type:"object",properties:{version:{$ref:"#/definitions/version"},address:{$ref:"#/definitions/ethereumAddress",title:"Referrer address"}}},quote:{$id:"#/definitions/quote",required:["sellAmount","buyAmount"],title:"Quote",type:"object",properties:{id:{$id:"#/definitions/quote/id",title:"Quote id",examples:["XA23443543534FF"],type:"string"},sellAmount:{$ref:"#/definitions/bigNumber",title:"Quote sell amount"},buyAmount:{$ref:"#/definitions/bigNumber",title:"Quote buy amount"}}}}},a={$id:e,$schema:t,description:i,required:r,title:o,type:"object",properties:d,definitions:s};export{e as $id,t as $schema,a as default,s as definitions,i as description,d as properties,r as required,o as title,n as type};
2
+ //# sourceMappingURL=appData.schema-0c8db23b.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appData.schema-0c8db23b.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ var e="https://cowswap.exchange/appdata.schema.json",t="http://json-schema.org/draft-07/schema",i="Metadata JSON document for adding information to orders.",r=["version","metadata"],o="AppData Root Schema",s={version:{$id:"#/properties/version",description:"Semantic versioning of document",examples:["1.0.0","1.2.3"],title:"Semantic Versioning",type:"string"},appCode:{$id:"#/properties/appCode",description:"The code identifying the CLI, UI, service generating the order.",examples:["CowSwap"],title:"App Code",type:"string"},metadata:{$id:"#/properties/metadata",default:{},description:"Each metadata will specify one aspect of the order.",required:[],title:"Metadata descriptors",type:"object",properties:{referrer:{$ref:"#/definitions/kindMetadata/referrer"},quote:{$ref:"#/definitions/kindMetadata/quote"}}}},d={version:{$id:"#/definitions/version",description:"Semantic versioning of document",examples:["1.0.0","1.2.3"],title:"Semantic Versioning",type:"string"},ethereumAddress:{$id:"#/definitions/ethereumAddress",pattern:"^0x[a-fA-F0-9]{40}$",title:"Ethereum compatible address",examples:["0xb6BAd41ae76A11D10f7b0E664C5007b908bC77C9"],type:"string"},bigNumber:{$id:"#/definitions/bigNumber",pattern:"\\d+",title:"BigNumber",examples:["90741097240912730913, 0, 75891372"],type:"string"},kindMetadata:{referrer:{$id:"#/definitions/referrer",required:["version","address"],title:"Referrer",type:"object",properties:{version:{$ref:"#/definitions/version"},address:{$ref:"#/definitions/ethereumAddress",title:"Referrer address"}}},quote:{$id:"#/definitions/quote",required:["sellAmount","buyAmount"],title:"Quote",type:"object",properties:{id:{$id:"#/definitions/quote/id",title:"Quote id",examples:["XA23443543534FF"],type:"string"},sellAmount:{$ref:"#/definitions/bigNumber",title:"Quote sell amount"},buyAmount:{$ref:"#/definitions/bigNumber",title:"Quote buy amount"}}}}},n={$id:e,$schema:t,description:i,required:r,title:o,type:"object",properties:s,definitions:d};exports.$id=e,exports.$schema=t,exports.default=n,exports.definitions=d,exports.description=i,exports.properties=s,exports.required=r,exports.title=o,exports.type="object";
2
+ //# sourceMappingURL=appData.schema-412cbfbf.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appData.schema-412cbfbf.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ var e="https://cowswap.exchange/appdata.schema.json",t="http://json-schema.org/draft-07/schema",i="Metadata JSON document for adding information to orders.",r=["version","metadata"],s="AppData Root Schema",o={version:{$id:"#/properties/version",description:"Semantic versioning of document",examples:["1.0.0","1.2.3"],title:"Semantic Versioning",type:"string"},appCode:{$id:"#/properties/appCode",description:"The code identifying the CLI, UI, service generating the order.",examples:["CowSwap"],title:"App Code",type:"string"},environment:{$id:"#/properties/environment",description:"Environment from which the order came from",title:"Environment",type:"string",examples:["production","development","staging","ens"]},metadata:{$id:"#/properties/metadata",default:{},description:"Each metadata will specify one aspect of the order.",required:[],title:"Metadata descriptors",type:"object",properties:{referrer:{$ref:"#/definitions/kindMetadata/referrer"},quote:{$ref:"#/definitions/kindMetadata/quote"}}}},n={version:{$id:"#/definitions/version",description:"Semantic versioning of document",examples:["1.0.0","1.2.3"],title:"Semantic Versioning",type:"string"},ethereumAddress:{$id:"#/definitions/ethereumAddress",pattern:"^0x[a-fA-F0-9]{40}$",title:"Ethereum compatible address",examples:["0xb6BAd41ae76A11D10f7b0E664C5007b908bC77C9"],type:"string"},bigNumber:{$id:"#/definitions/bigNumber",pattern:"^\\d+$",title:"BigNumber",examples:["90741097240912730913, 0, 75891372"],type:"string"},kindMetadata:{referrer:{$id:"#/definitions/referrer",required:["version","address"],title:"Referrer",type:"object",properties:{version:{$ref:"#/definitions/version"},address:{$ref:"#/definitions/ethereumAddress",title:"Referrer address"}}},quote:{$id:"#/definitions/quote",required:["version","slippageBips"],title:"Quote",type:"object",properties:{version:{$ref:"#/definitions/version"},slippageBips:{$id:"#/definitions/quote/slippageBips",title:"Slippage tolerance that was applied to the order to get the limit price. Expressed in Basis Points (BIPS)",examples:["5","10","20","100"],pattern:"^\\d+(\\.\\d+)?$",type:"string"}}}}},d={$id:e,$schema:t,description:i,required:r,title:s,type:"object",properties:o,definitions:n};exports.$id=e,exports.$schema=t,exports.default=d,exports.definitions=n,exports.description=i,exports.properties=o,exports.required=r,exports.title=s,exports.type="object";
2
+ //# sourceMappingURL=appData.schema-42d10730.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appData.schema-42d10730.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ var e="https://cowswap.exchange/appdata.schema.json",t="http://json-schema.org/draft-07/schema",i="Metadata JSON document for adding information to orders.",r=["version","metadata"],o="AppData Root Schema",n={version:{$id:"#/properties/version",description:"Semantic versioning of document",examples:["1.0.0","1.2.3"],title:"Semantic Versioning",type:"string"},appCode:{$id:"#/properties/appCode",description:"The code identifying the CLI, UI, service generating the order.",examples:["CowSwap"],title:"App Code",type:"string"},environment:{$id:"#/properties/environment",description:"Environment from which the order came from",title:"Environment",type:"string",examples:["production","development","staging","ens"]},metadata:{$id:"#/properties/metadata",default:{},description:"Each metadata will specify one aspect of the order.",required:[],title:"Metadata descriptors",type:"object",properties:{referrer:{$ref:"#/definitions/kindMetadata/referrer"},quote:{$ref:"#/definitions/kindMetadata/quote"}}}},s={version:{$id:"#/definitions/version",description:"Semantic versioning of document",examples:["1.0.0","1.2.3"],title:"Semantic Versioning",type:"string"},ethereumAddress:{$id:"#/definitions/ethereumAddress",pattern:"^0x[a-fA-F0-9]{40}$",title:"Ethereum compatible address",examples:["0xb6BAd41ae76A11D10f7b0E664C5007b908bC77C9"],type:"string"},bigNumber:{$id:"#/definitions/bigNumber",pattern:"\\d+",title:"BigNumber",examples:["90741097240912730913, 0, 75891372"],type:"string"},kindMetadata:{referrer:{$id:"#/definitions/referrer",required:["version","address"],title:"Referrer",type:"object",properties:{version:{$ref:"#/definitions/version"},address:{$ref:"#/definitions/ethereumAddress",title:"Referrer address"}}},quote:{$id:"#/definitions/quote",required:["sellAmount","buyAmount","version"],title:"Quote",type:"object",properties:{id:{$id:"#/definitions/quote/id",title:"Quote id",examples:["XA23443543534FF"],type:"string"},sellAmount:{$ref:"#/definitions/bigNumber",title:"Quote sell amount"},buyAmount:{$ref:"#/definitions/bigNumber",title:"Quote buy amount"},version:{$ref:"#/definitions/version"}}}}},d={$id:e,$schema:t,description:i,required:r,title:o,type:"object",properties:n,definitions:s};exports.$id=e,exports.$schema=t,exports.default=d,exports.definitions=s,exports.description=i,exports.properties=n,exports.required=r,exports.title=o,exports.type="object";
2
+ //# sourceMappingURL=appData.schema-4c010c50.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appData.schema-4c010c50.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ var e="https://cowswap.exchange/appdata.schema.json",t="http://json-schema.org/draft-07/schema",i="Metadata JSON document for adding information to orders.",r=["version","metadata"],n="AppData Root Schema",o="object",s={version:{$id:"#/properties/version",description:"Semantic versioning of document",examples:["1.0.0","1.2.3"],title:"Semantic Versioning",type:"string"},appCode:{$id:"#/properties/appCode",description:"The code identifying the CLI, UI, service generating the order.",examples:["CowSwap"],title:"App Code",type:"string"},environment:{$id:"#/properties/environment",description:"Environment from which the order came from",title:"Environment",type:"string",examples:["production","development","staging","ens"]},metadata:{$id:"#/properties/metadata",default:{},description:"Each metadata will specify one aspect of the order.",required:[],title:"Metadata descriptors",type:"object",properties:{referrer:{$ref:"#/definitions/kindMetadata/referrer"},quote:{$ref:"#/definitions/kindMetadata/quote"}}}},d={version:{$id:"#/definitions/version",description:"Semantic versioning of document",examples:["1.0.0","1.2.3"],title:"Semantic Versioning",type:"string"},ethereumAddress:{$id:"#/definitions/ethereumAddress",pattern:"^0x[a-fA-F0-9]{40}$",title:"Ethereum compatible address",examples:["0xb6BAd41ae76A11D10f7b0E664C5007b908bC77C9"],type:"string"},bigNumber:{$id:"#/definitions/bigNumber",pattern:"\\d+",title:"BigNumber",examples:["90741097240912730913, 0, 75891372"],type:"string"},kindMetadata:{referrer:{$id:"#/definitions/referrer",required:["version","address"],title:"Referrer",type:"object",properties:{version:{$ref:"#/definitions/version"},address:{$ref:"#/definitions/ethereumAddress",title:"Referrer address"}}},quote:{$id:"#/definitions/quote",required:["sellAmount","buyAmount","version"],title:"Quote",type:"object",properties:{id:{$id:"#/definitions/quote/id",title:"Quote id",examples:["XA23443543534FF"],type:"string"},sellAmount:{$ref:"#/definitions/bigNumber",title:"Quote sell amount"},buyAmount:{$ref:"#/definitions/bigNumber",title:"Quote buy amount"},version:{$ref:"#/definitions/version"}}}}},a={$id:e,$schema:t,description:i,required:r,title:n,type:"object",properties:s,definitions:d};export{e as $id,t as $schema,a as default,d as definitions,i as description,s as properties,r as required,n as title,o as type};
2
+ //# sourceMappingURL=appData.schema-adfc1c6f.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appData.schema-adfc1c6f.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}