@drift-labs/sdk 2.146.0-beta.13 → 2.146.0-beta.14

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/VERSION CHANGED
@@ -1 +1 @@
1
- 2.146.0-beta.13
1
+ 2.146.0-beta.14
@@ -1,5 +1,5 @@
1
1
  import { PublicKey } from '@solana/web3.js';
2
- import { OracleSource } from '../types';
2
+ import { MarketStatus, OracleSource } from '../types';
3
3
  import { DriftEnv } from '../config';
4
4
  export type PerpMarketConfig = {
5
5
  fullName?: string;
@@ -12,6 +12,7 @@ export type PerpMarketConfig = {
12
12
  oracleSource: OracleSource;
13
13
  pythFeedId?: string;
14
14
  pythLazerId?: number;
15
+ marketStatus?: MarketStatus;
15
16
  };
16
17
  export declare const DevnetPerpMarkets: PerpMarketConfig[];
17
18
  export declare const MainnetPerpMarkets: PerpMarketConfig[];
@@ -558,6 +558,7 @@ exports.MainnetPerpMarkets = [
558
558
  launchTs: 1699265968000,
559
559
  oracleSource: types_1.OracleSource.PYTH_PULL,
560
560
  pythFeedId: '0x2f2d17abbc1e781bd87b4a5d52c8b2856886f5c482fa3593cebf6795040ab0b6',
561
+ marketStatus: types_1.MarketStatus.DELISTED,
561
562
  },
562
563
  {
563
564
  fullName: 'Pyth',
@@ -654,6 +655,7 @@ exports.MainnetPerpMarkets = [
654
655
  oracleSource: types_1.OracleSource.PYTH_LAZER,
655
656
  pythFeedId: '0xa9f3b2a89c6f85a6c20a9518abde39b944e839ca49a0c92307c65974d3f14a57',
656
657
  pythLazerId: 83,
658
+ marketStatus: types_1.MarketStatus.DELISTED,
657
659
  },
658
660
  {
659
661
  fullName: 'BITTENSOR',
@@ -738,6 +740,7 @@ exports.MainnetPerpMarkets = [
738
740
  oracleSource: types_1.OracleSource.PYTH_LAZER,
739
741
  pythFeedId: '0x82595d1509b770fa52681e260af4dda9752b87316d7c048535d8ead3fa856eb1',
740
742
  pythLazerId: 90,
743
+ marketStatus: types_1.MarketStatus.DELISTED,
741
744
  },
742
745
  {
743
746
  fullName: 'ZEX',
@@ -749,6 +752,7 @@ exports.MainnetPerpMarkets = [
749
752
  launchTs: 1719415157000,
750
753
  oracleSource: types_1.OracleSource.PYTH_PULL,
751
754
  pythFeedId: '0x3d63be09d1b88f6dffe6585d0170670592124fd9fa4e0fe8a09ff18464f05e3a',
755
+ marketStatus: types_1.MarketStatus.DELISTED,
752
756
  },
753
757
  {
754
758
  fullName: 'POPCAT',
@@ -772,6 +776,7 @@ exports.MainnetPerpMarkets = [
772
776
  launchTs: 1720633344000,
773
777
  oracleSource: types_1.OracleSource.PYTH_1K_PULL,
774
778
  pythFeedId: '0x5169491cd7e2a44c98353b779d5eb612e4ac32e073f5cc534303d86307c2f1bc',
779
+ marketStatus: types_1.MarketStatus.DELISTED,
775
780
  },
776
781
  {
777
782
  fullName: 'TRUMP-WIN-2024-BET',
@@ -782,6 +787,7 @@ exports.MainnetPerpMarkets = [
782
787
  oracle: new web3_js_1.PublicKey('7YrQUxmxGdbk8pvns9KcL5ojbZSL2eHj62hxRqggtEUR'),
783
788
  launchTs: 1723996800000,
784
789
  oracleSource: types_1.OracleSource.Prelaunch,
790
+ marketStatus: types_1.MarketStatus.DELISTED,
785
791
  },
786
792
  {
787
793
  fullName: 'KAMALA-POPULAR-VOTE-2024-BET',
@@ -792,6 +798,7 @@ exports.MainnetPerpMarkets = [
792
798
  oracle: new web3_js_1.PublicKey('AowFw1dCVjS8kngvTCoT3oshiUyL69k7P1uxqXwteWH4'),
793
799
  launchTs: 1723996800000,
794
800
  oracleSource: types_1.OracleSource.Prelaunch,
801
+ marketStatus: types_1.MarketStatus.DELISTED,
795
802
  },
796
803
  {
797
804
  fullName: 'FED-CUT-50-SEPT-2024-BET',
@@ -802,6 +809,7 @@ exports.MainnetPerpMarkets = [
802
809
  oracle: new web3_js_1.PublicKey('5QzgqAbEhJ1cPnLX4tSZEXezmW7sz7PPVVg2VanGi8QQ'),
803
810
  launchTs: 1724250126000,
804
811
  oracleSource: types_1.OracleSource.Prelaunch,
812
+ marketStatus: types_1.MarketStatus.DELISTED,
805
813
  },
806
814
  {
807
815
  fullName: 'REPUBLICAN-POPULAR-AND-WIN-BET',
@@ -812,6 +820,7 @@ exports.MainnetPerpMarkets = [
812
820
  oracle: new web3_js_1.PublicKey('BtUUSUc9rZSzBmmKhQq4no65zHQTzMFeVYss7xcMRD53'),
813
821
  launchTs: 1724250126000,
814
822
  oracleSource: types_1.OracleSource.Prelaunch,
823
+ marketStatus: types_1.MarketStatus.DELISTED,
815
824
  },
816
825
  {
817
826
  fullName: 'BREAKPOINT-IGGYERIC-BET',
@@ -822,6 +831,7 @@ exports.MainnetPerpMarkets = [
822
831
  oracle: new web3_js_1.PublicKey('2ftYxoSupperd4ULxy9xyS2Az38wfAe7Lm8FCAPwjjVV'),
823
832
  launchTs: 1724250126000,
824
833
  oracleSource: types_1.OracleSource.Prelaunch,
834
+ marketStatus: types_1.MarketStatus.DELISTED,
825
835
  },
826
836
  {
827
837
  fullName: 'DEMOCRATS-WIN-MICHIGAN-BET',
@@ -832,6 +842,7 @@ exports.MainnetPerpMarkets = [
832
842
  oracle: new web3_js_1.PublicKey('8HTDLjhb2esGU5mu11v3pq3eWeFqmvKPkQNCnTTwKAyB'),
833
843
  launchTs: 1725551484000,
834
844
  oracleSource: types_1.OracleSource.Prelaunch,
845
+ marketStatus: types_1.MarketStatus.DELISTED,
835
846
  },
836
847
  {
837
848
  fullName: 'TON',
@@ -854,6 +865,7 @@ exports.MainnetPerpMarkets = [
854
865
  oracle: new web3_js_1.PublicKey('DpJz7rjTJLxxnuqrqZTUjMWtnaMFAEfZUv5ATdb9HTh1'),
855
866
  launchTs: 1726646453000,
856
867
  oracleSource: types_1.OracleSource.Prelaunch,
868
+ marketStatus: types_1.MarketStatus.DELISTED,
857
869
  },
858
870
  {
859
871
  fullName: 'MOTHER',
@@ -866,6 +878,7 @@ exports.MainnetPerpMarkets = [
866
878
  oracleSource: types_1.OracleSource.PYTH_LAZER,
867
879
  pythFeedId: '0x62742a997d01f7524f791fdb2dd43aaf0e567d765ebf8fd0406a994239e874d4',
868
880
  pythLazerId: 501,
881
+ marketStatus: types_1.MarketStatus.DELISTED,
869
882
  },
870
883
  {
871
884
  fullName: 'MOODENG',
@@ -878,6 +891,7 @@ exports.MainnetPerpMarkets = [
878
891
  oracleSource: types_1.OracleSource.PYTH_LAZER,
879
892
  pythFeedId: '0xffff73128917a90950cd0473fd2551d7cd274fd5a6cc45641881bbcc6ee73417',
880
893
  pythLazerId: 500,
894
+ marketStatus: types_1.MarketStatus.DELISTED,
881
895
  },
882
896
  {
883
897
  fullName: 'WARWICK-FIGHT-WIN-BET',
@@ -888,6 +902,7 @@ exports.MainnetPerpMarkets = [
888
902
  oracle: new web3_js_1.PublicKey('Dz5Nvxo1hv7Zfyu11hy8e97twLMRKk6heTWCDGXytj7N'),
889
903
  launchTs: 1727965864000,
890
904
  oracleSource: types_1.OracleSource.Prelaunch,
905
+ marketStatus: types_1.MarketStatus.DELISTED,
891
906
  },
892
907
  {
893
908
  fullName: 'DeBridge',
@@ -899,6 +914,7 @@ exports.MainnetPerpMarkets = [
899
914
  launchTs: 1728574493000,
900
915
  oracleSource: types_1.OracleSource.PYTH_PULL,
901
916
  pythFeedId: '0xf788488fe2df341b10a498e0a789f03209c0938d9ed04bc521f8224748d6d236',
917
+ marketStatus: types_1.MarketStatus.DELISTED,
902
918
  },
903
919
  {
904
920
  fullName: 'WLF-5B-1W',
@@ -909,6 +925,7 @@ exports.MainnetPerpMarkets = [
909
925
  oracle: new web3_js_1.PublicKey('7LpRfPaWR7cQqN7CMkCmZjEQpWyqso5LGuKCvDXH5ZAr'),
910
926
  launchTs: 1728574493000,
911
927
  oracleSource: types_1.OracleSource.Prelaunch,
928
+ marketStatus: types_1.MarketStatus.DELISTED,
912
929
  },
913
930
  {
914
931
  fullName: 'VRSTPN-WIN-F1-24-DRVRS-CHMP',
@@ -919,6 +936,7 @@ exports.MainnetPerpMarkets = [
919
936
  oracle: new web3_js_1.PublicKey('E36rvXEwysWeiToXCpWfHVADd8bzzyR4w83ZSSwxAxqG'),
920
937
  launchTs: 1729209600000,
921
938
  oracleSource: types_1.OracleSource.Prelaunch,
939
+ marketStatus: types_1.MarketStatus.DELISTED,
922
940
  },
923
941
  {
924
942
  fullName: 'LNDO-WIN-F1-24-US-GP',
@@ -929,6 +947,7 @@ exports.MainnetPerpMarkets = [
929
947
  oracle: new web3_js_1.PublicKey('6AVy1y9SnJECnosQaiK2uY1kcT4ZEBf1F4DMvhxgvhUo'),
930
948
  launchTs: 1729209600000,
931
949
  oracleSource: types_1.OracleSource.Prelaunch,
950
+ marketStatus: types_1.MarketStatus.DELISTED,
932
951
  },
933
952
  {
934
953
  fullName: '1KMEW',
@@ -941,6 +960,7 @@ exports.MainnetPerpMarkets = [
941
960
  oracleSource: types_1.OracleSource.PYTH_LAZER_1K,
942
961
  pythFeedId: '0x514aed52ca5294177f20187ae883cec4a018619772ddce41efcc36a6448f5d5d',
943
962
  pythLazerId: 137,
963
+ marketStatus: types_1.MarketStatus.DELISTED,
944
964
  },
945
965
  {
946
966
  fullName: 'MICHI',
@@ -952,6 +972,7 @@ exports.MainnetPerpMarkets = [
952
972
  launchTs: 1730402722000,
953
973
  oracleSource: types_1.OracleSource.PYTH_PULL,
954
974
  pythFeedId: '0x63a45218d6b13ffd28ca04748615511bf70eff80a3411c97d96b8ed74a6decab',
975
+ marketStatus: types_1.MarketStatus.DELISTED,
955
976
  },
956
977
  {
957
978
  fullName: 'GOAT',
@@ -964,6 +985,7 @@ exports.MainnetPerpMarkets = [
964
985
  oracleSource: types_1.OracleSource.PYTH_LAZER,
965
986
  pythFeedId: '0xf7731dc812590214d3eb4343bfb13d1b4cfa9b1d4e020644b5d5d8e07d60c66c',
966
987
  pythLazerId: 437,
988
+ marketStatus: types_1.MarketStatus.DELISTED,
967
989
  },
968
990
  {
969
991
  fullName: 'FWOG',
@@ -975,6 +997,7 @@ exports.MainnetPerpMarkets = [
975
997
  launchTs: 1731443152000,
976
998
  oracleSource: types_1.OracleSource.PYTH_PULL,
977
999
  pythFeedId: '0x656cc2a39dd795bdecb59de810d4f4d1e74c25fe4c42d0bf1c65a38d74df48e9',
1000
+ marketStatus: types_1.MarketStatus.DELISTED,
978
1001
  },
979
1002
  {
980
1003
  fullName: 'PNUT',
@@ -987,6 +1010,7 @@ exports.MainnetPerpMarkets = [
987
1010
  oracleSource: types_1.OracleSource.PYTH_LAZER,
988
1011
  pythFeedId: '0x116da895807f81f6b5c5f01b109376e7f6834dc8b51365ab7cdfa66634340e54',
989
1012
  pythLazerId: 77,
1013
+ marketStatus: types_1.MarketStatus.DELISTED,
990
1014
  },
991
1015
  {
992
1016
  fullName: 'RAY',
@@ -1009,6 +1033,7 @@ exports.MainnetPerpMarkets = [
1009
1033
  oracle: new web3_js_1.PublicKey('GfTeKKnBxeLSB1Hm24ArjduQM4yqaAgoGgiC99gq5E2P'),
1010
1034
  launchTs: 1732721897000,
1011
1035
  oracleSource: types_1.OracleSource.Prelaunch,
1036
+ marketStatus: types_1.MarketStatus.DELISTED,
1012
1037
  },
1013
1038
  {
1014
1039
  fullName: 'SUPERBOWL-LIX-CHIEFS',
@@ -1019,6 +1044,7 @@ exports.MainnetPerpMarkets = [
1019
1044
  oracle: new web3_js_1.PublicKey('EdB17Nyu4bnEBiSEfFrwvp4VCUvtq9eDJHc6Ujys3Jwd'),
1020
1045
  launchTs: 1732721897000,
1021
1046
  oracleSource: types_1.OracleSource.Prelaunch,
1047
+ marketStatus: types_1.MarketStatus.DELISTED,
1022
1048
  },
1023
1049
  {
1024
1050
  fullName: 'Hyperliquid',
@@ -1079,6 +1105,7 @@ exports.MainnetPerpMarkets = [
1079
1105
  oracleSource: types_1.OracleSource.PYTH_LAZER,
1080
1106
  pythFeedId: '0x2551eca7784671173def2c41e6f3e51e11cd87494863f1d208fdd8c64a1f85ae',
1081
1107
  pythLazerId: 171,
1108
+ marketStatus: types_1.MarketStatus.DELISTED,
1082
1109
  },
1083
1110
  {
1084
1111
  fullName: 'TRUMP',
@@ -1103,6 +1130,7 @@ exports.MainnetPerpMarkets = [
1103
1130
  oracleSource: types_1.OracleSource.PYTH_LAZER,
1104
1131
  pythFeedId: '0x8fef7d52c7f4e3a6258d663f9d27e64a1b6fd95ab5f7d545dbf9a515353d0064',
1105
1132
  pythLazerId: 145,
1133
+ marketStatus: types_1.MarketStatus.DELISTED,
1106
1134
  },
1107
1135
  {
1108
1136
  fullName: 'BERA',
@@ -1125,6 +1153,7 @@ exports.MainnetPerpMarkets = [
1125
1153
  oracle: new web3_js_1.PublicKey('HieNNSAy9tjtU2mLEcGtgCMViCeZ1881fX7tfezL7wdV'),
1126
1154
  launchTs: 1739463226000,
1127
1155
  oracleSource: types_1.OracleSource.Prelaunch,
1156
+ marketStatus: types_1.MarketStatus.DELISTED,
1128
1157
  },
1129
1158
  {
1130
1159
  fullName: 'NBAFINALS25-BOS',
@@ -1135,6 +1164,7 @@ exports.MainnetPerpMarkets = [
1135
1164
  oracle: new web3_js_1.PublicKey('HorrnsG8RBMv7dhzbgPX4wqcWbUTV5NwV8r59UwTu4CJ'),
1136
1165
  launchTs: 1739463226000,
1137
1166
  oracleSource: types_1.OracleSource.Prelaunch,
1167
+ marketStatus: types_1.MarketStatus.DELISTED,
1138
1168
  },
1139
1169
  {
1140
1170
  fullName: 'KAITO',
@@ -1202,6 +1232,7 @@ exports.MainnetPerpMarkets = [
1202
1232
  oracle: new web3_js_1.PublicKey('GAzR3C5cn7gGVvuqJB57wSYTPWP3n2Lw4mRJRxvTvqYy'),
1203
1233
  launchTs: 1747318237000,
1204
1234
  oracleSource: types_1.OracleSource.PYTH_LAZER,
1235
+ marketStatus: types_1.MarketStatus.DELISTED,
1205
1236
  },
1206
1237
  {
1207
1238
  fullName: 'PUMP',
@@ -3,6 +3,7 @@ import { PublicKey } from '@solana/web3.js';
3
3
  import { OracleSource } from '../types';
4
4
  import { BN } from '@coral-xyz/anchor';
5
5
  import { DriftEnv } from '../config';
6
+ import { MarketStatus } from '@ellipsis-labs/phoenix-sdk';
6
7
  export type SpotMarketConfig = {
7
8
  symbol: string;
8
9
  marketIndex: number;
@@ -18,6 +19,7 @@ export type SpotMarketConfig = {
18
19
  launchTs?: number;
19
20
  pythFeedId?: string;
20
21
  pythLazerId?: number;
22
+ marketStatus?: MarketStatus;
21
23
  };
22
24
  export declare const WRAPPED_SOL_MINT: PublicKey;
23
25
  export declare const DevnetSpotMarkets: SpotMarketConfig[];
@@ -1,5 +1,5 @@
1
1
  import { PublicKey } from '@solana/web3.js';
2
- import { OracleSource } from '../types';
2
+ import { MarketStatus, OracleSource } from '../types';
3
3
  import { DriftEnv } from '../config';
4
4
  export type PerpMarketConfig = {
5
5
  fullName?: string;
@@ -12,6 +12,7 @@ export type PerpMarketConfig = {
12
12
  oracleSource: OracleSource;
13
13
  pythFeedId?: string;
14
14
  pythLazerId?: number;
15
+ marketStatus?: MarketStatus;
15
16
  };
16
17
  export declare const DevnetPerpMarkets: PerpMarketConfig[];
17
18
  export declare const MainnetPerpMarkets: PerpMarketConfig[];
@@ -1 +1 @@
1
- {"version":3,"file":"perpMarkets.d.ts","sourceRoot":"","sources":["../../../src/constants/perpMarkets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAErC,MAAM,MAAM,gBAAgB,GAAG;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,SAAS,CAAC;IAClB,YAAY,EAAE,YAAY,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,gBAAgB,EA6W/C,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,gBAAgB,EAs/BhD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE;KAAG,GAAG,IAAI,QAAQ,GAAG,gBAAgB,EAAE;CAGhE,CAAC"}
1
+ {"version":3,"file":"perpMarkets.d.ts","sourceRoot":"","sources":["../../../src/constants/perpMarkets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAErC,MAAM,MAAM,gBAAgB,GAAG;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,SAAS,CAAC;IAClB,YAAY,EAAE,YAAY,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,YAAY,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,gBAAgB,EA6W/C,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,gBAAgB,EAqhChD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE;KAAG,GAAG,IAAI,QAAQ,GAAG,gBAAgB,EAAE;CAGhE,CAAC"}
@@ -558,6 +558,7 @@ exports.MainnetPerpMarkets = [
558
558
  launchTs: 1699265968000,
559
559
  oracleSource: types_1.OracleSource.PYTH_PULL,
560
560
  pythFeedId: '0x2f2d17abbc1e781bd87b4a5d52c8b2856886f5c482fa3593cebf6795040ab0b6',
561
+ marketStatus: types_1.MarketStatus.DELISTED,
561
562
  },
562
563
  {
563
564
  fullName: 'Pyth',
@@ -654,6 +655,7 @@ exports.MainnetPerpMarkets = [
654
655
  oracleSource: types_1.OracleSource.PYTH_LAZER,
655
656
  pythFeedId: '0xa9f3b2a89c6f85a6c20a9518abde39b944e839ca49a0c92307c65974d3f14a57',
656
657
  pythLazerId: 83,
658
+ marketStatus: types_1.MarketStatus.DELISTED,
657
659
  },
658
660
  {
659
661
  fullName: 'BITTENSOR',
@@ -738,6 +740,7 @@ exports.MainnetPerpMarkets = [
738
740
  oracleSource: types_1.OracleSource.PYTH_LAZER,
739
741
  pythFeedId: '0x82595d1509b770fa52681e260af4dda9752b87316d7c048535d8ead3fa856eb1',
740
742
  pythLazerId: 90,
743
+ marketStatus: types_1.MarketStatus.DELISTED,
741
744
  },
742
745
  {
743
746
  fullName: 'ZEX',
@@ -749,6 +752,7 @@ exports.MainnetPerpMarkets = [
749
752
  launchTs: 1719415157000,
750
753
  oracleSource: types_1.OracleSource.PYTH_PULL,
751
754
  pythFeedId: '0x3d63be09d1b88f6dffe6585d0170670592124fd9fa4e0fe8a09ff18464f05e3a',
755
+ marketStatus: types_1.MarketStatus.DELISTED,
752
756
  },
753
757
  {
754
758
  fullName: 'POPCAT',
@@ -772,6 +776,7 @@ exports.MainnetPerpMarkets = [
772
776
  launchTs: 1720633344000,
773
777
  oracleSource: types_1.OracleSource.PYTH_1K_PULL,
774
778
  pythFeedId: '0x5169491cd7e2a44c98353b779d5eb612e4ac32e073f5cc534303d86307c2f1bc',
779
+ marketStatus: types_1.MarketStatus.DELISTED,
775
780
  },
776
781
  {
777
782
  fullName: 'TRUMP-WIN-2024-BET',
@@ -782,6 +787,7 @@ exports.MainnetPerpMarkets = [
782
787
  oracle: new web3_js_1.PublicKey('7YrQUxmxGdbk8pvns9KcL5ojbZSL2eHj62hxRqggtEUR'),
783
788
  launchTs: 1723996800000,
784
789
  oracleSource: types_1.OracleSource.Prelaunch,
790
+ marketStatus: types_1.MarketStatus.DELISTED,
785
791
  },
786
792
  {
787
793
  fullName: 'KAMALA-POPULAR-VOTE-2024-BET',
@@ -792,6 +798,7 @@ exports.MainnetPerpMarkets = [
792
798
  oracle: new web3_js_1.PublicKey('AowFw1dCVjS8kngvTCoT3oshiUyL69k7P1uxqXwteWH4'),
793
799
  launchTs: 1723996800000,
794
800
  oracleSource: types_1.OracleSource.Prelaunch,
801
+ marketStatus: types_1.MarketStatus.DELISTED,
795
802
  },
796
803
  {
797
804
  fullName: 'FED-CUT-50-SEPT-2024-BET',
@@ -802,6 +809,7 @@ exports.MainnetPerpMarkets = [
802
809
  oracle: new web3_js_1.PublicKey('5QzgqAbEhJ1cPnLX4tSZEXezmW7sz7PPVVg2VanGi8QQ'),
803
810
  launchTs: 1724250126000,
804
811
  oracleSource: types_1.OracleSource.Prelaunch,
812
+ marketStatus: types_1.MarketStatus.DELISTED,
805
813
  },
806
814
  {
807
815
  fullName: 'REPUBLICAN-POPULAR-AND-WIN-BET',
@@ -812,6 +820,7 @@ exports.MainnetPerpMarkets = [
812
820
  oracle: new web3_js_1.PublicKey('BtUUSUc9rZSzBmmKhQq4no65zHQTzMFeVYss7xcMRD53'),
813
821
  launchTs: 1724250126000,
814
822
  oracleSource: types_1.OracleSource.Prelaunch,
823
+ marketStatus: types_1.MarketStatus.DELISTED,
815
824
  },
816
825
  {
817
826
  fullName: 'BREAKPOINT-IGGYERIC-BET',
@@ -822,6 +831,7 @@ exports.MainnetPerpMarkets = [
822
831
  oracle: new web3_js_1.PublicKey('2ftYxoSupperd4ULxy9xyS2Az38wfAe7Lm8FCAPwjjVV'),
823
832
  launchTs: 1724250126000,
824
833
  oracleSource: types_1.OracleSource.Prelaunch,
834
+ marketStatus: types_1.MarketStatus.DELISTED,
825
835
  },
826
836
  {
827
837
  fullName: 'DEMOCRATS-WIN-MICHIGAN-BET',
@@ -832,6 +842,7 @@ exports.MainnetPerpMarkets = [
832
842
  oracle: new web3_js_1.PublicKey('8HTDLjhb2esGU5mu11v3pq3eWeFqmvKPkQNCnTTwKAyB'),
833
843
  launchTs: 1725551484000,
834
844
  oracleSource: types_1.OracleSource.Prelaunch,
845
+ marketStatus: types_1.MarketStatus.DELISTED,
835
846
  },
836
847
  {
837
848
  fullName: 'TON',
@@ -854,6 +865,7 @@ exports.MainnetPerpMarkets = [
854
865
  oracle: new web3_js_1.PublicKey('DpJz7rjTJLxxnuqrqZTUjMWtnaMFAEfZUv5ATdb9HTh1'),
855
866
  launchTs: 1726646453000,
856
867
  oracleSource: types_1.OracleSource.Prelaunch,
868
+ marketStatus: types_1.MarketStatus.DELISTED,
857
869
  },
858
870
  {
859
871
  fullName: 'MOTHER',
@@ -866,6 +878,7 @@ exports.MainnetPerpMarkets = [
866
878
  oracleSource: types_1.OracleSource.PYTH_LAZER,
867
879
  pythFeedId: '0x62742a997d01f7524f791fdb2dd43aaf0e567d765ebf8fd0406a994239e874d4',
868
880
  pythLazerId: 501,
881
+ marketStatus: types_1.MarketStatus.DELISTED,
869
882
  },
870
883
  {
871
884
  fullName: 'MOODENG',
@@ -878,6 +891,7 @@ exports.MainnetPerpMarkets = [
878
891
  oracleSource: types_1.OracleSource.PYTH_LAZER,
879
892
  pythFeedId: '0xffff73128917a90950cd0473fd2551d7cd274fd5a6cc45641881bbcc6ee73417',
880
893
  pythLazerId: 500,
894
+ marketStatus: types_1.MarketStatus.DELISTED,
881
895
  },
882
896
  {
883
897
  fullName: 'WARWICK-FIGHT-WIN-BET',
@@ -888,6 +902,7 @@ exports.MainnetPerpMarkets = [
888
902
  oracle: new web3_js_1.PublicKey('Dz5Nvxo1hv7Zfyu11hy8e97twLMRKk6heTWCDGXytj7N'),
889
903
  launchTs: 1727965864000,
890
904
  oracleSource: types_1.OracleSource.Prelaunch,
905
+ marketStatus: types_1.MarketStatus.DELISTED,
891
906
  },
892
907
  {
893
908
  fullName: 'DeBridge',
@@ -899,6 +914,7 @@ exports.MainnetPerpMarkets = [
899
914
  launchTs: 1728574493000,
900
915
  oracleSource: types_1.OracleSource.PYTH_PULL,
901
916
  pythFeedId: '0xf788488fe2df341b10a498e0a789f03209c0938d9ed04bc521f8224748d6d236',
917
+ marketStatus: types_1.MarketStatus.DELISTED,
902
918
  },
903
919
  {
904
920
  fullName: 'WLF-5B-1W',
@@ -909,6 +925,7 @@ exports.MainnetPerpMarkets = [
909
925
  oracle: new web3_js_1.PublicKey('7LpRfPaWR7cQqN7CMkCmZjEQpWyqso5LGuKCvDXH5ZAr'),
910
926
  launchTs: 1728574493000,
911
927
  oracleSource: types_1.OracleSource.Prelaunch,
928
+ marketStatus: types_1.MarketStatus.DELISTED,
912
929
  },
913
930
  {
914
931
  fullName: 'VRSTPN-WIN-F1-24-DRVRS-CHMP',
@@ -919,6 +936,7 @@ exports.MainnetPerpMarkets = [
919
936
  oracle: new web3_js_1.PublicKey('E36rvXEwysWeiToXCpWfHVADd8bzzyR4w83ZSSwxAxqG'),
920
937
  launchTs: 1729209600000,
921
938
  oracleSource: types_1.OracleSource.Prelaunch,
939
+ marketStatus: types_1.MarketStatus.DELISTED,
922
940
  },
923
941
  {
924
942
  fullName: 'LNDO-WIN-F1-24-US-GP',
@@ -929,6 +947,7 @@ exports.MainnetPerpMarkets = [
929
947
  oracle: new web3_js_1.PublicKey('6AVy1y9SnJECnosQaiK2uY1kcT4ZEBf1F4DMvhxgvhUo'),
930
948
  launchTs: 1729209600000,
931
949
  oracleSource: types_1.OracleSource.Prelaunch,
950
+ marketStatus: types_1.MarketStatus.DELISTED,
932
951
  },
933
952
  {
934
953
  fullName: '1KMEW',
@@ -941,6 +960,7 @@ exports.MainnetPerpMarkets = [
941
960
  oracleSource: types_1.OracleSource.PYTH_LAZER_1K,
942
961
  pythFeedId: '0x514aed52ca5294177f20187ae883cec4a018619772ddce41efcc36a6448f5d5d',
943
962
  pythLazerId: 137,
963
+ marketStatus: types_1.MarketStatus.DELISTED,
944
964
  },
945
965
  {
946
966
  fullName: 'MICHI',
@@ -952,6 +972,7 @@ exports.MainnetPerpMarkets = [
952
972
  launchTs: 1730402722000,
953
973
  oracleSource: types_1.OracleSource.PYTH_PULL,
954
974
  pythFeedId: '0x63a45218d6b13ffd28ca04748615511bf70eff80a3411c97d96b8ed74a6decab',
975
+ marketStatus: types_1.MarketStatus.DELISTED,
955
976
  },
956
977
  {
957
978
  fullName: 'GOAT',
@@ -964,6 +985,7 @@ exports.MainnetPerpMarkets = [
964
985
  oracleSource: types_1.OracleSource.PYTH_LAZER,
965
986
  pythFeedId: '0xf7731dc812590214d3eb4343bfb13d1b4cfa9b1d4e020644b5d5d8e07d60c66c',
966
987
  pythLazerId: 437,
988
+ marketStatus: types_1.MarketStatus.DELISTED,
967
989
  },
968
990
  {
969
991
  fullName: 'FWOG',
@@ -975,6 +997,7 @@ exports.MainnetPerpMarkets = [
975
997
  launchTs: 1731443152000,
976
998
  oracleSource: types_1.OracleSource.PYTH_PULL,
977
999
  pythFeedId: '0x656cc2a39dd795bdecb59de810d4f4d1e74c25fe4c42d0bf1c65a38d74df48e9',
1000
+ marketStatus: types_1.MarketStatus.DELISTED,
978
1001
  },
979
1002
  {
980
1003
  fullName: 'PNUT',
@@ -987,6 +1010,7 @@ exports.MainnetPerpMarkets = [
987
1010
  oracleSource: types_1.OracleSource.PYTH_LAZER,
988
1011
  pythFeedId: '0x116da895807f81f6b5c5f01b109376e7f6834dc8b51365ab7cdfa66634340e54',
989
1012
  pythLazerId: 77,
1013
+ marketStatus: types_1.MarketStatus.DELISTED,
990
1014
  },
991
1015
  {
992
1016
  fullName: 'RAY',
@@ -1009,6 +1033,7 @@ exports.MainnetPerpMarkets = [
1009
1033
  oracle: new web3_js_1.PublicKey('GfTeKKnBxeLSB1Hm24ArjduQM4yqaAgoGgiC99gq5E2P'),
1010
1034
  launchTs: 1732721897000,
1011
1035
  oracleSource: types_1.OracleSource.Prelaunch,
1036
+ marketStatus: types_1.MarketStatus.DELISTED,
1012
1037
  },
1013
1038
  {
1014
1039
  fullName: 'SUPERBOWL-LIX-CHIEFS',
@@ -1019,6 +1044,7 @@ exports.MainnetPerpMarkets = [
1019
1044
  oracle: new web3_js_1.PublicKey('EdB17Nyu4bnEBiSEfFrwvp4VCUvtq9eDJHc6Ujys3Jwd'),
1020
1045
  launchTs: 1732721897000,
1021
1046
  oracleSource: types_1.OracleSource.Prelaunch,
1047
+ marketStatus: types_1.MarketStatus.DELISTED,
1022
1048
  },
1023
1049
  {
1024
1050
  fullName: 'Hyperliquid',
@@ -1079,6 +1105,7 @@ exports.MainnetPerpMarkets = [
1079
1105
  oracleSource: types_1.OracleSource.PYTH_LAZER,
1080
1106
  pythFeedId: '0x2551eca7784671173def2c41e6f3e51e11cd87494863f1d208fdd8c64a1f85ae',
1081
1107
  pythLazerId: 171,
1108
+ marketStatus: types_1.MarketStatus.DELISTED,
1082
1109
  },
1083
1110
  {
1084
1111
  fullName: 'TRUMP',
@@ -1103,6 +1130,7 @@ exports.MainnetPerpMarkets = [
1103
1130
  oracleSource: types_1.OracleSource.PYTH_LAZER,
1104
1131
  pythFeedId: '0x8fef7d52c7f4e3a6258d663f9d27e64a1b6fd95ab5f7d545dbf9a515353d0064',
1105
1132
  pythLazerId: 145,
1133
+ marketStatus: types_1.MarketStatus.DELISTED,
1106
1134
  },
1107
1135
  {
1108
1136
  fullName: 'BERA',
@@ -1125,6 +1153,7 @@ exports.MainnetPerpMarkets = [
1125
1153
  oracle: new web3_js_1.PublicKey('HieNNSAy9tjtU2mLEcGtgCMViCeZ1881fX7tfezL7wdV'),
1126
1154
  launchTs: 1739463226000,
1127
1155
  oracleSource: types_1.OracleSource.Prelaunch,
1156
+ marketStatus: types_1.MarketStatus.DELISTED,
1128
1157
  },
1129
1158
  {
1130
1159
  fullName: 'NBAFINALS25-BOS',
@@ -1135,6 +1164,7 @@ exports.MainnetPerpMarkets = [
1135
1164
  oracle: new web3_js_1.PublicKey('HorrnsG8RBMv7dhzbgPX4wqcWbUTV5NwV8r59UwTu4CJ'),
1136
1165
  launchTs: 1739463226000,
1137
1166
  oracleSource: types_1.OracleSource.Prelaunch,
1167
+ marketStatus: types_1.MarketStatus.DELISTED,
1138
1168
  },
1139
1169
  {
1140
1170
  fullName: 'KAITO',
@@ -1202,6 +1232,7 @@ exports.MainnetPerpMarkets = [
1202
1232
  oracle: new web3_js_1.PublicKey('GAzR3C5cn7gGVvuqJB57wSYTPWP3n2Lw4mRJRxvTvqYy'),
1203
1233
  launchTs: 1747318237000,
1204
1234
  oracleSource: types_1.OracleSource.PYTH_LAZER,
1235
+ marketStatus: types_1.MarketStatus.DELISTED,
1205
1236
  },
1206
1237
  {
1207
1238
  fullName: 'PUMP',
@@ -3,6 +3,7 @@ import { PublicKey } from '@solana/web3.js';
3
3
  import { OracleSource } from '../types';
4
4
  import { BN } from '@coral-xyz/anchor';
5
5
  import { DriftEnv } from '../config';
6
+ import { MarketStatus } from '@ellipsis-labs/phoenix-sdk';
6
7
  export type SpotMarketConfig = {
7
8
  symbol: string;
8
9
  marketIndex: number;
@@ -18,6 +19,7 @@ export type SpotMarketConfig = {
18
19
  launchTs?: number;
19
20
  pythFeedId?: string;
20
21
  pythLazerId?: number;
22
+ marketStatus?: MarketStatus;
21
23
  };
22
24
  export declare const WRAPPED_SOL_MINT: PublicKey;
23
25
  export declare const DevnetSpotMarkets: SpotMarketConfig[];
@@ -1 +1 @@
1
- {"version":3,"file":"spotMarkets.d.ts","sourceRoot":"","sources":["../../../src/constants/spotMarkets.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAW5C,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,EAAE,EAAE,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAErC,MAAM,MAAM,gBAAgB,GAAG;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,SAAS,CAAC;IAClB,IAAI,EAAE,SAAS,CAAC;IAChB,YAAY,EAAE,YAAY,CAAC;IAC3B,SAAS,EAAE,EAAE,CAAC;IACd,YAAY,EAAE,EAAE,CAAC;IACjB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,gBAAgB,WAE5B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,gBAAgB,EAuH/C,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,gBAAgB,EAg0BhD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE;KAAG,GAAG,IAAI,QAAQ,GAAG,gBAAgB,EAAE;CAGhE,CAAC"}
1
+ {"version":3,"file":"spotMarkets.d.ts","sourceRoot":"","sources":["../../../src/constants/spotMarkets.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAW5C,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,EAAE,EAAE,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,MAAM,MAAM,gBAAgB,GAAG;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,SAAS,CAAC;IAClB,IAAI,EAAE,SAAS,CAAC;IAChB,YAAY,EAAE,YAAY,CAAC;IAC3B,SAAS,EAAE,EAAE,CAAC;IACd,YAAY,EAAE,EAAE,CAAC;IACjB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,YAAY,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,WAE5B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,gBAAgB,EAuH/C,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,gBAAgB,EAg0BhD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE;KAAG,GAAG,IAAI,QAAQ,GAAG,gBAAgB,EAAE;CAGhE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drift-labs/sdk",
3
- "version": "2.146.0-beta.13",
3
+ "version": "2.146.0-beta.14",
4
4
  "main": "lib/node/index.js",
5
5
  "types": "lib/node/index.d.ts",
6
6
  "module": "./lib/browser/index.js",
@@ -1,5 +1,5 @@
1
1
  import { PublicKey } from '@solana/web3.js';
2
- import { OracleSource } from '../types';
2
+ import { MarketStatus, OracleSource } from '../types';
3
3
  import { DriftEnv } from '../config';
4
4
 
5
5
  export type PerpMarketConfig = {
@@ -13,6 +13,7 @@ export type PerpMarketConfig = {
13
13
  oracleSource: OracleSource;
14
14
  pythFeedId?: string;
15
15
  pythLazerId?: number;
16
+ marketStatus?: MarketStatus;
16
17
  };
17
18
 
18
19
  export const DevnetPerpMarkets: PerpMarketConfig[] = [
@@ -615,6 +616,7 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
615
616
  oracleSource: OracleSource.PYTH_PULL,
616
617
  pythFeedId:
617
618
  '0x2f2d17abbc1e781bd87b4a5d52c8b2856886f5c482fa3593cebf6795040ab0b6',
619
+ marketStatus: MarketStatus.DELISTED,
618
620
  },
619
621
  {
620
622
  fullName: 'Pyth',
@@ -719,6 +721,7 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
719
721
  pythFeedId:
720
722
  '0xa9f3b2a89c6f85a6c20a9518abde39b944e839ca49a0c92307c65974d3f14a57',
721
723
  pythLazerId: 83,
724
+ marketStatus: MarketStatus.DELISTED,
722
725
  },
723
726
  {
724
727
  fullName: 'BITTENSOR',
@@ -810,6 +813,7 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
810
813
  pythFeedId:
811
814
  '0x82595d1509b770fa52681e260af4dda9752b87316d7c048535d8ead3fa856eb1',
812
815
  pythLazerId: 90,
816
+ marketStatus: MarketStatus.DELISTED,
813
817
  },
814
818
  {
815
819
  fullName: 'ZEX',
@@ -822,6 +826,7 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
822
826
  oracleSource: OracleSource.PYTH_PULL,
823
827
  pythFeedId:
824
828
  '0x3d63be09d1b88f6dffe6585d0170670592124fd9fa4e0fe8a09ff18464f05e3a',
829
+ marketStatus: MarketStatus.DELISTED,
825
830
  },
826
831
  {
827
832
  fullName: 'POPCAT',
@@ -847,6 +852,7 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
847
852
  oracleSource: OracleSource.PYTH_1K_PULL,
848
853
  pythFeedId:
849
854
  '0x5169491cd7e2a44c98353b779d5eb612e4ac32e073f5cc534303d86307c2f1bc',
855
+ marketStatus: MarketStatus.DELISTED,
850
856
  },
851
857
  {
852
858
  fullName: 'TRUMP-WIN-2024-BET',
@@ -857,6 +863,7 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
857
863
  oracle: new PublicKey('7YrQUxmxGdbk8pvns9KcL5ojbZSL2eHj62hxRqggtEUR'),
858
864
  launchTs: 1723996800000,
859
865
  oracleSource: OracleSource.Prelaunch,
866
+ marketStatus: MarketStatus.DELISTED,
860
867
  },
861
868
  {
862
869
  fullName: 'KAMALA-POPULAR-VOTE-2024-BET',
@@ -867,6 +874,7 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
867
874
  oracle: new PublicKey('AowFw1dCVjS8kngvTCoT3oshiUyL69k7P1uxqXwteWH4'),
868
875
  launchTs: 1723996800000,
869
876
  oracleSource: OracleSource.Prelaunch,
877
+ marketStatus: MarketStatus.DELISTED,
870
878
  },
871
879
  {
872
880
  fullName: 'FED-CUT-50-SEPT-2024-BET',
@@ -877,6 +885,7 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
877
885
  oracle: new PublicKey('5QzgqAbEhJ1cPnLX4tSZEXezmW7sz7PPVVg2VanGi8QQ'),
878
886
  launchTs: 1724250126000,
879
887
  oracleSource: OracleSource.Prelaunch,
888
+ marketStatus: MarketStatus.DELISTED,
880
889
  },
881
890
  {
882
891
  fullName: 'REPUBLICAN-POPULAR-AND-WIN-BET',
@@ -887,6 +896,7 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
887
896
  oracle: new PublicKey('BtUUSUc9rZSzBmmKhQq4no65zHQTzMFeVYss7xcMRD53'),
888
897
  launchTs: 1724250126000,
889
898
  oracleSource: OracleSource.Prelaunch,
899
+ marketStatus: MarketStatus.DELISTED,
890
900
  },
891
901
  {
892
902
  fullName: 'BREAKPOINT-IGGYERIC-BET',
@@ -897,6 +907,7 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
897
907
  oracle: new PublicKey('2ftYxoSupperd4ULxy9xyS2Az38wfAe7Lm8FCAPwjjVV'),
898
908
  launchTs: 1724250126000,
899
909
  oracleSource: OracleSource.Prelaunch,
910
+ marketStatus: MarketStatus.DELISTED,
900
911
  },
901
912
  {
902
913
  fullName: 'DEMOCRATS-WIN-MICHIGAN-BET',
@@ -907,6 +918,7 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
907
918
  oracle: new PublicKey('8HTDLjhb2esGU5mu11v3pq3eWeFqmvKPkQNCnTTwKAyB'),
908
919
  launchTs: 1725551484000,
909
920
  oracleSource: OracleSource.Prelaunch,
921
+ marketStatus: MarketStatus.DELISTED,
910
922
  },
911
923
  {
912
924
  fullName: 'TON',
@@ -930,6 +942,7 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
930
942
  oracle: new PublicKey('DpJz7rjTJLxxnuqrqZTUjMWtnaMFAEfZUv5ATdb9HTh1'),
931
943
  launchTs: 1726646453000,
932
944
  oracleSource: OracleSource.Prelaunch,
945
+ marketStatus: MarketStatus.DELISTED,
933
946
  },
934
947
  {
935
948
  fullName: 'MOTHER',
@@ -943,6 +956,7 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
943
956
  pythFeedId:
944
957
  '0x62742a997d01f7524f791fdb2dd43aaf0e567d765ebf8fd0406a994239e874d4',
945
958
  pythLazerId: 501,
959
+ marketStatus: MarketStatus.DELISTED,
946
960
  },
947
961
  {
948
962
  fullName: 'MOODENG',
@@ -956,6 +970,7 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
956
970
  pythFeedId:
957
971
  '0xffff73128917a90950cd0473fd2551d7cd274fd5a6cc45641881bbcc6ee73417',
958
972
  pythLazerId: 500,
973
+ marketStatus: MarketStatus.DELISTED,
959
974
  },
960
975
  {
961
976
  fullName: 'WARWICK-FIGHT-WIN-BET',
@@ -966,6 +981,7 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
966
981
  oracle: new PublicKey('Dz5Nvxo1hv7Zfyu11hy8e97twLMRKk6heTWCDGXytj7N'),
967
982
  launchTs: 1727965864000,
968
983
  oracleSource: OracleSource.Prelaunch,
984
+ marketStatus: MarketStatus.DELISTED,
969
985
  },
970
986
  {
971
987
  fullName: 'DeBridge',
@@ -978,6 +994,7 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
978
994
  oracleSource: OracleSource.PYTH_PULL,
979
995
  pythFeedId:
980
996
  '0xf788488fe2df341b10a498e0a789f03209c0938d9ed04bc521f8224748d6d236',
997
+ marketStatus: MarketStatus.DELISTED,
981
998
  },
982
999
  {
983
1000
  fullName: 'WLF-5B-1W',
@@ -988,6 +1005,7 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
988
1005
  oracle: new PublicKey('7LpRfPaWR7cQqN7CMkCmZjEQpWyqso5LGuKCvDXH5ZAr'),
989
1006
  launchTs: 1728574493000,
990
1007
  oracleSource: OracleSource.Prelaunch,
1008
+ marketStatus: MarketStatus.DELISTED,
991
1009
  },
992
1010
  {
993
1011
  fullName: 'VRSTPN-WIN-F1-24-DRVRS-CHMP',
@@ -998,6 +1016,7 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
998
1016
  oracle: new PublicKey('E36rvXEwysWeiToXCpWfHVADd8bzzyR4w83ZSSwxAxqG'),
999
1017
  launchTs: 1729209600000,
1000
1018
  oracleSource: OracleSource.Prelaunch,
1019
+ marketStatus: MarketStatus.DELISTED,
1001
1020
  },
1002
1021
  {
1003
1022
  fullName: 'LNDO-WIN-F1-24-US-GP',
@@ -1008,6 +1027,7 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
1008
1027
  oracle: new PublicKey('6AVy1y9SnJECnosQaiK2uY1kcT4ZEBf1F4DMvhxgvhUo'),
1009
1028
  launchTs: 1729209600000,
1010
1029
  oracleSource: OracleSource.Prelaunch,
1030
+ marketStatus: MarketStatus.DELISTED,
1011
1031
  },
1012
1032
  {
1013
1033
  fullName: '1KMEW',
@@ -1021,6 +1041,7 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
1021
1041
  pythFeedId:
1022
1042
  '0x514aed52ca5294177f20187ae883cec4a018619772ddce41efcc36a6448f5d5d',
1023
1043
  pythLazerId: 137,
1044
+ marketStatus: MarketStatus.DELISTED,
1024
1045
  },
1025
1046
  {
1026
1047
  fullName: 'MICHI',
@@ -1033,6 +1054,7 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
1033
1054
  oracleSource: OracleSource.PYTH_PULL,
1034
1055
  pythFeedId:
1035
1056
  '0x63a45218d6b13ffd28ca04748615511bf70eff80a3411c97d96b8ed74a6decab',
1057
+ marketStatus: MarketStatus.DELISTED,
1036
1058
  },
1037
1059
  {
1038
1060
  fullName: 'GOAT',
@@ -1046,6 +1068,7 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
1046
1068
  pythFeedId:
1047
1069
  '0xf7731dc812590214d3eb4343bfb13d1b4cfa9b1d4e020644b5d5d8e07d60c66c',
1048
1070
  pythLazerId: 437,
1071
+ marketStatus: MarketStatus.DELISTED,
1049
1072
  },
1050
1073
  {
1051
1074
  fullName: 'FWOG',
@@ -1058,6 +1081,7 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
1058
1081
  oracleSource: OracleSource.PYTH_PULL,
1059
1082
  pythFeedId:
1060
1083
  '0x656cc2a39dd795bdecb59de810d4f4d1e74c25fe4c42d0bf1c65a38d74df48e9',
1084
+ marketStatus: MarketStatus.DELISTED,
1061
1085
  },
1062
1086
  {
1063
1087
  fullName: 'PNUT',
@@ -1071,6 +1095,7 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
1071
1095
  pythFeedId:
1072
1096
  '0x116da895807f81f6b5c5f01b109376e7f6834dc8b51365ab7cdfa66634340e54',
1073
1097
  pythLazerId: 77,
1098
+ marketStatus: MarketStatus.DELISTED,
1074
1099
  },
1075
1100
  {
1076
1101
  fullName: 'RAY',
@@ -1094,6 +1119,7 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
1094
1119
  oracle: new PublicKey('GfTeKKnBxeLSB1Hm24ArjduQM4yqaAgoGgiC99gq5E2P'),
1095
1120
  launchTs: 1732721897000,
1096
1121
  oracleSource: OracleSource.Prelaunch,
1122
+ marketStatus: MarketStatus.DELISTED,
1097
1123
  },
1098
1124
  {
1099
1125
  fullName: 'SUPERBOWL-LIX-CHIEFS',
@@ -1104,6 +1130,7 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
1104
1130
  oracle: new PublicKey('EdB17Nyu4bnEBiSEfFrwvp4VCUvtq9eDJHc6Ujys3Jwd'),
1105
1131
  launchTs: 1732721897000,
1106
1132
  oracleSource: OracleSource.Prelaunch,
1133
+ marketStatus: MarketStatus.DELISTED,
1107
1134
  },
1108
1135
  {
1109
1136
  fullName: 'Hyperliquid',
@@ -1169,6 +1196,7 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
1169
1196
  pythFeedId:
1170
1197
  '0x2551eca7784671173def2c41e6f3e51e11cd87494863f1d208fdd8c64a1f85ae',
1171
1198
  pythLazerId: 171,
1199
+ marketStatus: MarketStatus.DELISTED,
1172
1200
  },
1173
1201
  {
1174
1202
  fullName: 'TRUMP',
@@ -1195,6 +1223,7 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
1195
1223
  pythFeedId:
1196
1224
  '0x8fef7d52c7f4e3a6258d663f9d27e64a1b6fd95ab5f7d545dbf9a515353d0064',
1197
1225
  pythLazerId: 145,
1226
+ marketStatus: MarketStatus.DELISTED,
1198
1227
  },
1199
1228
  {
1200
1229
  fullName: 'BERA',
@@ -1218,6 +1247,7 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
1218
1247
  oracle: new PublicKey('HieNNSAy9tjtU2mLEcGtgCMViCeZ1881fX7tfezL7wdV'),
1219
1248
  launchTs: 1739463226000,
1220
1249
  oracleSource: OracleSource.Prelaunch,
1250
+ marketStatus: MarketStatus.DELISTED,
1221
1251
  },
1222
1252
  {
1223
1253
  fullName: 'NBAFINALS25-BOS',
@@ -1228,6 +1258,7 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
1228
1258
  oracle: new PublicKey('HorrnsG8RBMv7dhzbgPX4wqcWbUTV5NwV8r59UwTu4CJ'),
1229
1259
  launchTs: 1739463226000,
1230
1260
  oracleSource: OracleSource.Prelaunch,
1261
+ marketStatus: MarketStatus.DELISTED,
1231
1262
  },
1232
1263
  {
1233
1264
  fullName: 'KAITO',
@@ -1297,6 +1328,7 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
1297
1328
  oracle: new PublicKey('GAzR3C5cn7gGVvuqJB57wSYTPWP3n2Lw4mRJRxvTvqYy'),
1298
1329
  launchTs: 1747318237000,
1299
1330
  oracleSource: OracleSource.PYTH_LAZER,
1331
+ marketStatus: MarketStatus.DELISTED,
1300
1332
  },
1301
1333
  {
1302
1334
  fullName: 'PUMP',
@@ -12,6 +12,7 @@ import {
12
12
  import { OracleSource } from '../types';
13
13
  import { BN } from '@coral-xyz/anchor';
14
14
  import { DriftEnv } from '../config';
15
+ import { MarketStatus } from '@ellipsis-labs/phoenix-sdk';
15
16
 
16
17
  export type SpotMarketConfig = {
17
18
  symbol: string;
@@ -28,6 +29,7 @@ export type SpotMarketConfig = {
28
29
  launchTs?: number;
29
30
  pythFeedId?: string;
30
31
  pythLazerId?: number;
32
+ marketStatus?: MarketStatus;
31
33
  };
32
34
 
33
35
  export const WRAPPED_SOL_MINT = new PublicKey(