From c289a7479660333935d8289347169d2c7389ac9a Mon Sep 17 00:00:00 2001 From: filipzeta <103913117+filipzeta@users.noreply.github.com> Date: Wed, 28 Aug 2024 15:12:13 +0800 Subject: [PATCH] New asset GMC (GMCI30) (#415) --- CHANGELOG.md | 13 ++ package.json | 2 +- src/assets.ts | 12 ++ src/constants.ts | 27 ++++- src/idl/zeta.json | 89 +++++++------- src/serum/MARKET-STORE.mainnet.json | 172 ++++++++++++++++----------- src/serum/scripts/market-gen.ts | 2 + src/types/zeta.ts | 178 ++++++++++++++-------------- 8 files changed, 294 insertions(+), 201 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1aa181c8d..24af10e89 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,19 @@ All notable changes to this project will be documented in this file. Version changes are pinned to SDK releases. +## [1.43.0] + +- New asset GMC. ([#415](https://github.com/zetamarkets/sdk/pull/415)) + +## [1.42.0] + +- Skipped + +## [1.41.0] + +- Add self trade behaviour and PlacePerpOrderV5. ([#413](https://github.com/zetamarkets/sdk/pull/413)) +- Add post-sign callback. ([#412](https://github.com/zetamarkets/sdk/pull/412)) + ## [1.40.0] - Add versioned tx support for process transaction. ([#408](https://github.com/zetamarkets/sdk/pull/408)) diff --git a/package.json b/package.json index d954f0d71..69a73716e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@zetamarkets/sdk", "repository": "https://github.com/zetamarkets/sdk/", - "version": "1.41.0", + "version": "1.43.0", "description": "Zeta SDK", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/assets.ts b/src/assets.ts index 4e1410fa7..9e6fc9fa4 100644 --- a/src/assets.ts +++ b/src/assets.ts @@ -66,6 +66,7 @@ export function assetToName(asset: Asset): string | null { if (asset == Asset.WIF) return "WIF"; if (asset == Asset.RNDR) return "RNDR"; if (asset == Asset.TNSR) return "TNSR"; + if (asset == Asset.GMC) return "GMC"; if (asset == null) return null; // Some things, like clock callbacks, are for all assets and return asset=null return "UNDEFINED"; } @@ -88,6 +89,7 @@ export function nameToAsset(name: string): Asset { if (name == "WIF") return Asset.WIF; if (name == "RNDR") return Asset.RNDR; if (name == "TNSR") return Asset.TNSR; + if (name == "GMC") return Asset.GMC; return Asset.UNDEFINED; } @@ -113,6 +115,7 @@ export function toProgramAsset(asset: Asset): any { if (asset == Asset.WIF) return { wif: {} }; if (asset == Asset.RNDR) return { rndr: {} }; if (asset == Asset.TNSR) return { tnsr: {} }; + if (asset == Asset.GMC) return { gmc: {} }; return { undefined: {} }; } @@ -168,6 +171,9 @@ export function fromProgramAsset(asset: any): Asset { if (objectEquals(asset, { tnsr: {} })) { return Asset.TNSR; } + if (objectEquals(asset, { GMC: {} })) { + return Asset.GMC; + } return Asset.UNDEFINED; } @@ -224,6 +230,9 @@ export function assetToIndex(asset: Asset): number { case Asset.TNSR: { return 16; } + case Asset.GMC: { + return 17; + } } return 255; // Undefined is 255 onchain } @@ -281,6 +290,9 @@ export function indexToAsset(index: number): Asset { case 16: { return Asset.TNSR; } + case 17: { + return Asset.GMC; + } } return Asset.UNDEFINED; } diff --git a/src/constants.ts b/src/constants.ts index 2649488ae..685ced3e5 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -19,6 +19,7 @@ export enum Asset { WIF = "WIF", RNDR = "RNDR", TNSR = "TNSR", + GMC = "GMC", UNDEFINED = "UNDEFINED", } @@ -83,6 +84,7 @@ export const FLEX_MINTS = { [Asset.WIF]: new PublicKey("BgDrDxc75EqPTXPUTCFMnYVYPeWK3CimPz2LGw4egsYc"), [Asset.RNDR]: new PublicKey("397Hd8iZXmzRf4jqCSuACtUUWeweYZRZ4DmgvVpMkHJf"), [Asset.TNSR]: new PublicKey("58MFM7mjjYMc6GoK6QUu7HuUmsih8aL5MTHptPE29p8G"), + [Asset.GMC]: new PublicKey("wWmjLtKGmXqJnDFnyQtKX1ZNHoBs9JD6bVxNa47zJWr"), }, devnet: { [Asset.APT]: new PublicKey("FbfkphUHaAd7c27RqhzKBRAPX8T5AzFBH259sbGmNuvG"), @@ -106,6 +108,7 @@ export const FLEX_MINTS = { [Asset.WIF]: new PublicKey("7jCmRqJaJq5iojCwGqq5DdwUBYPhrpvJcgNZsFLM4Pd5"), [Asset.RNDR]: new PublicKey("GSF4GTjWxacrQoVbf8PUcvCvMvZUzwXFEmb2Jso6XU5H"), [Asset.TNSR]: new PublicKey("3bTWLSNoD95dP2SHq4diRz3ZTeDXmybTsjPUQzRpTCHR"), + [Asset.GMC]: new PublicKey("CoGwjBS8stc4HCwpa6xh55LmGRTPxPkNXDVc1qBjwa5"), }, }; @@ -296,6 +299,8 @@ export const PYTHNET_PRICE_FEED_IDS = { "0xab7347771135fc733f8f38db462ba085ed3309955f42554a14fa13e855ac0e2f", [Asset.TNSR]: "0x05ecd4597cd48fe13d6cc3596c62af4f9675aee06e2e0b94c06d8bee2b659e05", + [Asset.GMC]: + "0xb3bd2a89c026fe7873da91b39bf9347fdea24e5b588330b4899788cf48878133", }; export const PYTH_PRICE_FEEDS = { @@ -319,6 +324,7 @@ export const PYTH_PRICE_FEEDS = { [Asset.WIF]: new PublicKey("Ae9pWfoS4jS8WFxMTApKHkmMaod171aRcekm1iFbsmoy"), [Asset.RNDR]: new PublicKey("7DvNVeya3b6WqcxSzUZFW9CWdDayJoRYjnpg2HVbgv2h"), [Asset.TNSR]: new PublicKey("2NVLHqPc1nhVYxb7nM5mjfXg26krgz8N2UKWtkJ7J77a"), + [Asset.GMC]: new PublicKey("3msDcvnV1csrwSetu98fZzoS3Nj2AXuQjjaGiTjSxPEg"), }, devnet: { [Asset.SOL]: new PublicKey("J83w4HKfqxwcq3BEMMkPFSppX3gqekLyLJBexebFVkix"), @@ -351,6 +357,7 @@ export const PYTH_PRICE_FEEDS = { [Asset.WIF]: new PublicKey("6B23K3tkb51vLZA14jcEQVCA1pfHptzEHFA93V5dYwbT"), [Asset.RNDR]: new PublicKey("GbgH1oen3Ne1RY4LwDgh8kEeA1KywHvs5x8zsx6uNV5M"), [Asset.TNSR]: new PublicKey("9TSGDwcPQX4JpAvZbu2Wp5b68wSYkQvHCvfeBjYcCyC"), + [Asset.GMC]: new PublicKey("GfvaqdmMFT6nmWrSjonR9wDx5tncRj8QPDmxRCtLKP89"), }, }; @@ -375,8 +382,8 @@ export const ACTIVE_MARKETS = ACTIVE_EXPIRIES * PRODUCTS_PER_EXPIRY + 1; // +1 f export const TOTAL_EXPIRIES = 5; export const TOTAL_MARKETS = PRODUCTS_PER_EXPIRY * (TOTAL_EXPIRIES + 1); export const PERP_INDEX = TOTAL_MARKETS - 1; -export const ACTIVE_PERP_MARKETS = 17; -export const UNUSED_PERP_MARKETS = 8; +export const ACTIVE_PERP_MARKETS = 18; +export const UNUSED_PERP_MARKETS = 7; export const DEFAULT_EXCHANGE_POLL_INTERVAL = 10; export const DEFAULT_MARKET_POLL_INTERVAL = 5; @@ -535,8 +542,8 @@ export const STATIC_AND_PERPS_LUT: { key: new PublicKey("LAZFv47awUnd9jHkv8XGKFvkUjHtbg64WxDiZqZHubz"), state: { deactivationSlot: BigInt("18446744073709551615"), - lastExtendedSlot: 272750852, - lastExtendedSlotStartIndex: 210, + lastExtendedSlot: 286114199, + lastExtendedSlotStartIndex: 227, authority: new PublicKey("EwXPBSBUPqYDNA3dUVZ3nonFuaw3wGGJqEUTJbknDirH"), addresses: [ new PublicKey("8eExPiLp47xbSDYkbuem4qnLUpbLTfZBeFuEJoh6EUr2"), @@ -766,6 +773,18 @@ export const STATIC_AND_PERPS_LUT: { new PublicKey("6B23K3tkb51vLZA14jcEQVCA1pfHptzEHFA93V5dYwbT"), new PublicKey("GbgH1oen3Ne1RY4LwDgh8kEeA1KywHvs5x8zsx6uNV5M"), new PublicKey("9TSGDwcPQX4JpAvZbu2Wp5b68wSYkQvHCvfeBjYcCyC"), + new PublicKey("GfvaqdmMFT6nmWrSjonR9wDx5tncRj8QPDmxRCtLKP89"), + new PublicKey("6o2AifckJtQnwwg8Ee82iFkpocGpJRr3pY9jM7zeNCH1"), + new PublicKey("CWY7nSGmkLAedL36cdc6cQYCdHGy9sUCV16vTNoupuw1"), + new PublicKey("9e1DZ5mKwUvFsGyBBuCh9DCJmwx72fpyDBsYo3gsGCwY"), + new PublicKey("6G5yk3YcJBWPM7SzZbhUsvhZLsEmonqTvc3FqQGdRA81"), + new PublicKey("2hFnuSe5wWvAu1kxwjNGngtLDXpUWiVpc7UvbNTTkZtg"), + new PublicKey("9ySay4rVbFDDffUHQrCfkq6WcK4oWdxyfquFcunxxbcR"), + new PublicKey("GdeTNiTU4sh5a3KAUPMgcVQkU7XQFNQyqQh4EE1KsMAT"), + new PublicKey("6cAKFTvynML7tR8LLQ1u2UwPorc7TibdvdqjouLquSwD"), + new PublicKey("CJESiofGZkrKmVYYR2DCtfxAj2h1jdT9oV6EsdfbYZjr"), + new PublicKey("6ZfjZUd2pgmcevfL6aLTGzpTsLoNyi8pxuboDUnrVf23"), + new PublicKey("5xt8uuStpThtSX1PqHeiJuWtXZFpnkrrTtHDK1srXuL8"), ], }, }), diff --git a/src/idl/zeta.json b/src/idl/zeta.json index ddf9ae320..c0e732c3f 100644 --- a/src/idl/zeta.json +++ b/src/idl/zeta.json @@ -7525,7 +7525,7 @@ "type": { "array": [ "u64", - 17 + 18 ] } }, @@ -7534,7 +7534,7 @@ "type": { "array": [ "u64", - 8 + 7 ] } }, @@ -7543,7 +7543,7 @@ "type": { "array": [ "u64", - 17 + 18 ] } }, @@ -7552,7 +7552,7 @@ "type": { "array": [ "u64", - 8 + 7 ] } }, @@ -7563,7 +7563,7 @@ { "defined": "AnchorDecimal" }, - 17 + 18 ] } }, @@ -7574,7 +7574,7 @@ { "defined": "AnchorDecimal" }, - 8 + 7 ] } }, @@ -7585,7 +7585,7 @@ { "defined": "AnchorDecimal" }, - 17 + 18 ] } }, @@ -7596,7 +7596,7 @@ { "defined": "AnchorDecimal" }, - 8 + 7 ] } }, @@ -7605,7 +7605,7 @@ "type": { "array": [ "u64", - 17 + 18 ] } }, @@ -7614,7 +7614,7 @@ "type": { "array": [ "u64", - 8 + 7 ] } }, @@ -7623,7 +7623,7 @@ "type": { "array": [ "publicKey", - 17 + 18 ] } }, @@ -7632,7 +7632,7 @@ "type": { "array": [ "publicKey", - 8 + 7 ] } }, @@ -7641,7 +7641,7 @@ "type": { "array": [ "publicKey", - 17 + 18 ] } }, @@ -7650,7 +7650,7 @@ "type": { "array": [ "publicKey", - 8 + 7 ] } }, @@ -7659,7 +7659,7 @@ "type": { "array": [ "publicKey", - 17 + 18 ] } }, @@ -7668,7 +7668,7 @@ "type": { "array": [ "publicKey", - 8 + 7 ] } }, @@ -7677,7 +7677,7 @@ "type": { "array": [ "publicKey", - 17 + 18 ] } }, @@ -7686,7 +7686,7 @@ "type": { "array": [ "publicKey", - 8 + 7 ] } }, @@ -7697,7 +7697,7 @@ { "defined": "PerpParameters" }, - 17 + 18 ] } }, @@ -7708,7 +7708,7 @@ { "defined": "PerpParameters" }, - 8 + 7 ] } }, @@ -7719,7 +7719,7 @@ { "defined": "MarginParameters" }, - 17 + 18 ] } }, @@ -7730,7 +7730,7 @@ { "defined": "MarginParameters" }, - 8 + 7 ] } }, @@ -7741,7 +7741,7 @@ { "defined": "Product" }, - 17 + 18 ] } }, @@ -7752,7 +7752,7 @@ { "defined": "Product" }, - 8 + 7 ] } }, @@ -7761,7 +7761,7 @@ "type": { "array": [ "publicKey", - 17 + 18 ] } }, @@ -7770,7 +7770,7 @@ "type": { "array": [ "publicKey", - 8 + 7 ] } }, @@ -7791,7 +7791,7 @@ "type": { "array": [ "bool", - 17 + 18 ] } }, @@ -7800,7 +7800,7 @@ "type": { "array": [ "bool", - 8 + 7 ] } }, @@ -8192,7 +8192,7 @@ { "defined": "HaltStateV2" }, - 17 + 18 ] } }, @@ -8203,7 +8203,7 @@ { "defined": "HaltStateV2" }, - 8 + 7 ] } }, @@ -8216,7 +8216,7 @@ "type": { "array": [ "u32", - 17 + 18 ] } }, @@ -8225,7 +8225,7 @@ "type": { "array": [ "u32", - 8 + 7 ] } }, @@ -8234,7 +8234,7 @@ "type": { "array": [ "u32", - 17 + 18 ] } }, @@ -8243,7 +8243,7 @@ "type": { "array": [ "u32", - 8 + 7 ] } }, @@ -8698,7 +8698,7 @@ "type": { "array": [ "u8", - 17 + 18 ] } }, @@ -8707,7 +8707,7 @@ "type": { "array": [ "u8", - 8 + 7 ] } }, @@ -8722,7 +8722,7 @@ { "defined": "AnchorDecimal" }, - 17 + 18 ] } }, @@ -8733,7 +8733,7 @@ { "defined": "AnchorDecimal" }, - 8 + 7 ] } }, @@ -8744,7 +8744,7 @@ { "defined": "ProductLedger" }, - 17 + 18 ] } }, @@ -8755,7 +8755,7 @@ { "defined": "ProductLedger" }, - 8 + 7 ] } }, @@ -8772,7 +8772,7 @@ "type": { "array": [ "u64", - 17 + 18 ] } }, @@ -8781,7 +8781,7 @@ "type": { "array": [ "u64", - 8 + 7 ] } }, @@ -9565,7 +9565,7 @@ "type": { "array": [ "u64", - 17 + 18 ] } }, @@ -10308,6 +10308,9 @@ { "name": "TNSR" }, + { + "name": "GMC" + }, { "name": "UNDEFINED" } diff --git a/src/serum/MARKET-STORE.mainnet.json b/src/serum/MARKET-STORE.mainnet.json index ceb5072c9..b9aa875a9 100644 --- a/src/serum/MARKET-STORE.mainnet.json +++ b/src/serum/MARKET-STORE.mainnet.json @@ -15,10 +15,10 @@ "baseMint": "2ZLdhFsrkAtdn9Kud4SZvqchQFvn5jVCHUdJ83vumKyR", "quoteMint": "BKt2FdgBahn77joeawhNidswFxfgasPYCHWghRL4AKBR", "baseVault": "BEjGhNFnKT5weGtpBoFs5Y1mDN47Ntvag5aMV59nZRpk", - "baseDepositsTotal": "25660801", + "baseDepositsTotal": "9979000", "baseFeesAccrued": "0", "quoteVault": "CHBUBfU3zscTNsihdK3x44TbpTza1hwcsTUaZfk751b5", - "quoteDepositsTotal": "4351983361019500", + "quoteDepositsTotal": "1175495079480000", "quoteFeesAccrued": "0", "quoteDustThreshold": "0", "requestQueue": "EaNR74nCjrYyNDsuoWmq19pH76QSd1nuTzvJSr3RDQ6x", @@ -33,8 +33,8 @@ "pruneAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", "consumeEventsAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", "epochLength": "65535", - "epochStartTs": "1717606815", - "startEpochSeqNum": "276781961" + "epochStartTs": "1724684595", + "startEpochSeqNum": "337056227" } }, "BTC": { @@ -53,10 +53,10 @@ "baseMint": "63DZkAzoDXmzGzn9esoWSYpMLo4YB9oPHXreHKwuu4HA", "quoteMint": "DhMH8oRQoAAb6poHVsvCqq3NCMj6aKUH2tGQG5Lo4bCg", "baseVault": "DbzL5mT4nBaxuAs8ti4UeT2qougRBdujxa7GhLndM5Jz", - "baseDepositsTotal": "37226", + "baseDepositsTotal": "23827", "baseFeesAccrued": "0", "quoteVault": "7M9xhY2ARnrkCaBK5SNM3Lyd3FdbTu2EWBwG4TQcqpsv", - "quoteDepositsTotal": "2761173030515600", + "quoteDepositsTotal": "1578055835329700", "quoteFeesAccrued": "0", "quoteDustThreshold": "0", "requestQueue": "6JSdqUr24mBt4MCQrZHRoSfeZbjgALx4MQunZwD8Uarg", @@ -71,8 +71,8 @@ "pruneAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", "consumeEventsAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", "epochLength": "65535", - "epochStartTs": "1717606815", - "startEpochSeqNum": "187845712" + "epochStartTs": "1724684595", + "startEpochSeqNum": "240381962" } }, "ETH": { @@ -91,10 +91,10 @@ "baseMint": "2Stzi7XE3btUQXaauTVB9brPAtPmGnrEDSJmp3w5VY2j", "quoteMint": "5Ehp2LtTRmjug39GphXhFEeguz7hGeg41N1U49wU8Kov", "baseVault": "9YVE9r9cHFZNwm91p3Js8NBWVznesLSM8FZyswG2MG1B", - "baseDepositsTotal": "796900", + "baseDepositsTotal": "242910", "baseFeesAccrued": "0", "quoteVault": "DecjLCYjb7jdDp2UqA2MS4xjgDjZfvdgMjvkRW7oWs9L", - "quoteDepositsTotal": "3631157719171000", + "quoteDepositsTotal": "619586978113000", "quoteFeesAccrued": "0", "quoteDustThreshold": "0", "requestQueue": "A7D8zuxAmtui3XKz2VcxthAZ5HuwLbN74rrDapMJ3Z5d", @@ -109,8 +109,8 @@ "pruneAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", "consumeEventsAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", "epochLength": "65535", - "epochStartTs": "1717606815", - "startEpochSeqNum": "198045457" + "epochStartTs": "1724684595", + "startEpochSeqNum": "249371341" } }, "APT": { @@ -129,10 +129,10 @@ "baseMint": "GuNWJSV4k95FZdwhAcjdaPGGoh9cArc27yV4P54QwWdg", "quoteMint": "6S6WYL1mQFmVxsf3ft5MEH8hzxJA1LcUDzgwdJDj3yxc", "baseVault": "GqCVQuGMf8YkiaJkSrD98D3WZxFfktcKzAwdBEQsx1th", - "baseDepositsTotal": "55735500", + "baseDepositsTotal": "35527100", "baseFeesAccrued": "0", "quoteVault": "2BpEtArGNotp97DjVKwhYZ86WEq2Y5bLtGGDvicuJ9br", - "quoteDepositsTotal": "593661758940000", + "quoteDepositsTotal": "209186671550000", "quoteFeesAccrued": "0", "quoteDustThreshold": "0", "requestQueue": "EPf7hymYW7bnwiBYGTRF4Ji2jJ2yTdn4XMTpR6N4zsGA", @@ -147,8 +147,8 @@ "pruneAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", "consumeEventsAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", "epochLength": "65535", - "epochStartTs": "1717606815", - "startEpochSeqNum": "184957700" + "epochStartTs": "1724684595", + "startEpochSeqNum": "206142297" } }, "ARB": { @@ -167,10 +167,10 @@ "baseMint": "Eqt3anUy8nqDvzJaNvWvqBM32Ln4UUnLkfvdd9Ztfj81", "quoteMint": "7j1N5UiXLFxaxFWq5tzZc5R3sjPHcF7jqfHJgAtE74q8", "baseVault": "GnSRgncxFbtxqZ4HmfnF6daCmgkc8tuQz9i37hUmwV5t", - "baseDepositsTotal": "331694000", + "baseDepositsTotal": "135109000", "baseFeesAccrued": "0", "quoteVault": "6JjDgGzqzU6Az7ZmTARAvBSwBxfXsqbVG3Rc9JGU9i4L", - "quoteDepositsTotal": "438173038900000", + "quoteDepositsTotal": "100758257600000", "quoteFeesAccrued": "0", "quoteDustThreshold": "0", "requestQueue": "gP91avgCrV9KB2ATgRtMCNN2AN7oU9hK1frENe17QkR", @@ -185,8 +185,8 @@ "pruneAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", "consumeEventsAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", "epochLength": "65535", - "epochStartTs": "1717606815", - "startEpochSeqNum": "174365550" + "epochStartTs": "1724684595", + "startEpochSeqNum": "198779318" } }, "BNB": { @@ -205,10 +205,10 @@ "baseMint": "B6sV248kSsj6n72osn3Wcuz87JX3RFMD7FZpgwdYGQTm", "quoteMint": "5DPKMXmf9WK1C6N1MoJLWjYApiP4KR8zNf1oofevGEub", "baseVault": "GNp5Q8fwD45azybdXKfuYYTHRkUh2krX9ejYuNKMFNmR", - "baseDepositsTotal": "577530", + "baseDepositsTotal": "84570", "baseFeesAccrued": "0", "quoteVault": "DZdqa3nVJmyPc2ei397Cr1TufzZiNG3G6aRrV1AZ52p7", - "quoteDepositsTotal": "445958165794000", + "quoteDepositsTotal": "66633981918000", "quoteFeesAccrued": "0", "quoteDustThreshold": "0", "requestQueue": "Ao4fdNfwP1KPUwxoKbKVZ3Jp12MiCsK8gvvxbumn75by", @@ -223,8 +223,8 @@ "pruneAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", "consumeEventsAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", "epochLength": "65535", - "epochStartTs": "1717606815", - "startEpochSeqNum": "35433009" + "epochStartTs": "1724684595", + "startEpochSeqNum": "47905963" } }, "PYTH": { @@ -243,10 +243,10 @@ "baseMint": "5Q245C352ChdBGWmNbiYmFneAUiMjhnbPwUqmdHWJ8U6", "quoteMint": "7Pnbf6WLGpsYjbjnQN4t8wMCzdDGsx9ZAyuLd4vZmN49", "baseVault": "7cdY8U9Q5T5ktvF8VtkkZ1E7bt5mqbcQJQUw4433uEaV", - "baseDepositsTotal": "1684642000", + "baseDepositsTotal": "963267000", "baseFeesAccrued": "0", "quoteVault": "137rR2TJ7ryu7nBxNNCeCdXqEt79jQLo4YvTzhEoAEh4", - "quoteDepositsTotal": "727757989700000", + "quoteDepositsTotal": "269456384400000", "quoteFeesAccrued": "0", "quoteDustThreshold": "0", "requestQueue": "DCSXWke6HzdA8J6FhcxxM7mrdr4mkNhN32KjVAPtCZeG", @@ -261,8 +261,8 @@ "pruneAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", "consumeEventsAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", "epochLength": "65535", - "epochStartTs": "1717606815", - "startEpochSeqNum": "61894725" + "epochStartTs": "1724684595", + "startEpochSeqNum": "85673398" } }, "TIA": { @@ -281,10 +281,10 @@ "baseMint": "Bm6PXLobn7LBudgNdJKzUUNumAKAnEWuCoLVafsvPBda", "quoteMint": "JB7F3kQvRYcQj8kogwGR78CMshg857E96ef4LQYDzSu1", "baseVault": "CXWkPH6BzU8dhNy3LQkaCH54jSxQATyp11wHuhsAzT9n", - "baseDepositsTotal": "74999890", + "baseDepositsTotal": "60242290", "baseFeesAccrued": "0", "quoteVault": "2x1c7fXQdL5TDK9jbMvJ5VYM7wmPKUAQXrLAAFjvxSoc", - "quoteDepositsTotal": "797252283470000", + "quoteDepositsTotal": "216065078430000", "quoteFeesAccrued": "0", "quoteDustThreshold": "0", "requestQueue": "6xkyhooKT2wnciP7xjipque9SDwHwPPamwsprsoVXgg9", @@ -299,8 +299,8 @@ "pruneAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", "consumeEventsAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", "epochLength": "65535", - "epochStartTs": "1717606815", - "startEpochSeqNum": "55794761" + "epochStartTs": "1724684595", + "startEpochSeqNum": "77722697" } }, "JTO": { @@ -319,10 +319,10 @@ "baseMint": "Avy1abPkJKJdadFVieTuF8oeN6ZFWsKNtKzU1a8tgn6Z", "quoteMint": "GZycSPLqxhZuQYmv5wWjdwK4v3T1WStBpGxYem691vMG", "baseVault": "2BXEjZqnRBhj3BrRbMERWnToEKErzxZmLPzLEmBHKdJT", - "baseDepositsTotal": "128877400", + "baseDepositsTotal": "60032800", "baseFeesAccrued": "0", "quoteVault": "9g3YcLnENdQKYCxg88o1VUhSXJQVD3Kf7uMVB7d1SyuG", - "quoteDepositsTotal": "533135632270000", + "quoteDepositsTotal": "169231782470000", "quoteFeesAccrued": "0", "quoteDustThreshold": "0", "requestQueue": "9uYZdYf8aQd9YK6UrGUmz78pYpHscgHdD5f4cZojvmpH", @@ -337,8 +337,8 @@ "pruneAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", "consumeEventsAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", "epochLength": "65535", - "epochStartTs": "1717606815", - "startEpochSeqNum": "60122536" + "epochStartTs": "1724684595", + "startEpochSeqNum": "89707916" } }, "ONEMBONK": { @@ -357,10 +357,10 @@ "baseMint": "GdAX1L7jNsMmfN3kcCijk774aE2UtARV8frTozeUWT2E", "quoteMint": "J7yjhCLdftzL95kGetry8pyX4eXn4Tjjh7KoWo599Sry", "baseVault": "gn46ys7QKtWqQAW2MsuSV475AcFGn7gdNnSCLgw71DL", - "baseDepositsTotal": "55756900", + "baseDepositsTotal": "18746800", "baseFeesAccrued": "0", "quoteVault": "HTN3dEduTUp2VuFgo885BJ3KTp8WrPrZgEPiCVg2cVtD", - "quoteDepositsTotal": "2155247677970000", + "quoteDepositsTotal": "162685130210000", "quoteFeesAccrued": "0", "quoteDustThreshold": "0", "requestQueue": "CgUMT14wR6WHX9mKMS5BWtd4tk39hRxbxtNRvp4BdMHf", @@ -375,8 +375,8 @@ "pruneAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", "consumeEventsAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", "epochLength": "65535", - "epochStartTs": "1717606815", - "startEpochSeqNum": "43559684" + "epochStartTs": "1724684595", + "startEpochSeqNum": "62237152" } }, "SEI": { @@ -395,10 +395,10 @@ "baseMint": "EU9uvnDuqNgunfmnxNAjhYi8iEKV3m7gnr5vatg2tgPj", "quoteMint": "9Lsei9qMonizuuusFgdh94djt7fpgktGmh9PRi2j2GUQ", "baseVault": "5xSPk47YF3HCoU4wA4HR6KmzQK9whiA8HeUMBcGo9HXn", - "baseDepositsTotal": "1359810000", + "baseDepositsTotal": "64727000", "baseFeesAccrued": "0", "quoteVault": "BWhHgAgRXoyLfTU33iZ31ME2bk6WTYZxSr74eUqJsJUM", - "quoteDepositsTotal": "769816346400000", + "quoteDepositsTotal": "24172308900000", "quoteFeesAccrued": "0", "quoteDustThreshold": "0", "requestQueue": "APx2hFAqRAtbN6N7LdvYzDCtqGMGWySqVuvg9iMWfkZ8", @@ -413,8 +413,8 @@ "pruneAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", "consumeEventsAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", "epochLength": "65535", - "epochStartTs": "1717606815", - "startEpochSeqNum": "35066256" + "epochStartTs": "1724684595", + "startEpochSeqNum": "51893210" } }, "JUP": { @@ -433,10 +433,10 @@ "baseMint": "2Vaf7yEBXi86SGhDM79w1dRQxz5NC2YFWshm5NxkRUDB", "quoteMint": "DdFzaannSyXs12sB517GbtCsZihh8X9RS2ZKJKuTp5sG", "baseVault": "5raajUcFKgaRbyh6yRkAKWroLe6PwtgCAU1vT7wmmpFu", - "baseDepositsTotal": "1145748000", + "baseDepositsTotal": "1867658000", "baseFeesAccrued": "0", "quoteVault": "7Hz86pfpm5hxmzuJbNFbfJ8LEU8EnLL7fc3oyFgVrm5G", - "quoteDepositsTotal": "1450407797600000", + "quoteDepositsTotal": "1284281968800000", "quoteFeesAccrued": "0", "quoteDustThreshold": "0", "requestQueue": "GkjperyMoy6MCUyg73KzZy4WbfaRhKYAoTBjW3JRjYuG", @@ -451,8 +451,8 @@ "pruneAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", "consumeEventsAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", "epochLength": "65535", - "epochStartTs": "1717606815", - "startEpochSeqNum": "32231560" + "epochStartTs": "1724684595", + "startEpochSeqNum": "60298559" } }, "DYM": { @@ -471,10 +471,10 @@ "baseMint": "MPT1KEM3kE5XQZCYrMrvQqEVUJwdnkgbAhrrwvYeYa1", "quoteMint": "7cwSf9v33vH7HDcbD9fLTa7Dwr6e91f8C3aUMHuNkvHg", "baseVault": "4E2zitVTKfaJB91DJ3JvCR9yr3KcRAKmHee3GQcqmqMu", - "baseDepositsTotal": "100973400", + "baseDepositsTotal": "292935700", "baseFeesAccrued": "0", "quoteVault": "APNsyPLc1dNRzwk9C6puX8s7vtUFC6U2o7wyZ7kxk3GV", - "quoteDepositsTotal": "411546241380000", + "quoteDepositsTotal": "285435262380000", "quoteFeesAccrued": "0", "quoteDustThreshold": "0", "requestQueue": "Er174YjnV2nuAacfV4nYCAFBgJ6cTgJNaYNp5xPwGZUq", @@ -489,8 +489,8 @@ "pruneAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", "consumeEventsAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", "epochLength": "65535", - "epochStartTs": "1717606815", - "startEpochSeqNum": "18081145" + "epochStartTs": "1724684595", + "startEpochSeqNum": "31776808" } }, "STRK": { @@ -509,10 +509,10 @@ "baseMint": "EV1UdC9dSz7a66hqYW5TkVe6JihSAyfEwVLwYzy1cGXz", "quoteMint": "ygRrmycNpMzEsqLYRpDMS9J1SHaFMG4Rm3tjkyVGVnc", "baseVault": "CdES4frNaF9AvE1Hyso6wbW3jaB1jR7HpZiSNSP4bC7m", - "baseDepositsTotal": "357038000", + "baseDepositsTotal": "146615000", "baseFeesAccrued": "0", "quoteVault": "4qdMQ6iLN8Mm4Sa8geNkF1E2PmYN4zB9mGdeW4kxMGBY", - "quoteDepositsTotal": "537410163100000", + "quoteDepositsTotal": "56388345700000", "quoteFeesAccrued": "0", "quoteDustThreshold": "0", "requestQueue": "2SgUVRAWs1yuUjiYW8JCHb4g7R2gBHdEk5x9KJgn9zNy", @@ -527,8 +527,8 @@ "pruneAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", "consumeEventsAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", "epochLength": "65535", - "epochStartTs": "1717606815", - "startEpochSeqNum": "18163464" + "epochStartTs": "1724684595", + "startEpochSeqNum": "34124707" } }, "WIF": { @@ -547,10 +547,10 @@ "baseMint": "H3j7orNNo7pzzHJZ1WFsrpJAxWCiE8QW3aatbGufu2PC", "quoteMint": "GpvkM2TeZXqQzFtBBgqoJYfc3BPScEHaSk41dwMrsKiW", "baseVault": "FnDtHqrTuySW94Yy3QFYjMtvyYuJkRp3H6xtDDG1Ehi", - "baseDepositsTotal": "153002000", + "baseDepositsTotal": "234128000", "baseFeesAccrued": "0", "quoteVault": "KsUoxhYnaTUFTJ6SuAdAAmUBVrExhCq7SXE7BCu5irh", - "quoteDepositsTotal": "595859729700000", + "quoteDepositsTotal": "265427038800000", "quoteFeesAccrued": "0", "quoteDustThreshold": "0", "requestQueue": "AXrWGEh3c8Jiz2Uhr6kiUxYypjgVYanm48jSWhXjudV8", @@ -565,8 +565,8 @@ "pruneAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", "consumeEventsAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", "epochLength": "65535", - "epochStartTs": "1717606815", - "startEpochSeqNum": "10910009" + "epochStartTs": "1724684595", + "startEpochSeqNum": "31871405" } }, "RNDR": { @@ -585,10 +585,10 @@ "baseMint": "AofYjza6fUWPMUnrXt2mpFs1Z19Pbqpt6jddMLZtP3c9", "quoteMint": "GdCnmCAMVmWkEBBXhzT6wjtjuWYT6kxatQEuRVdmp7rw", "baseVault": "975f8PQYUDjRB2Cb5AMhMvuGdtZ9QTN3BmZ9CwgUeKBc", - "baseDepositsTotal": "52448000", + "baseDepositsTotal": "0", "baseFeesAccrued": "0", "quoteVault": "8cMRt9XEWvvmAHPk4gGrELwjBcGbVwsZBmsw88DJKBui", - "quoteDepositsTotal": "747477933300000", + "quoteDepositsTotal": "0", "quoteFeesAccrued": "0", "quoteDustThreshold": "0", "requestQueue": "Bdbf9vq1uFucPdFCvpqEuDYnJgLhdgDG7qyFuNgyX1yn", @@ -603,8 +603,8 @@ "pruneAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", "consumeEventsAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", "epochLength": "65535", - "epochStartTs": "1717606815", - "startEpochSeqNum": "4112173" + "epochStartTs": "1721604450", + "startEpochSeqNum": "12340810" } }, "TNSR": { @@ -623,10 +623,10 @@ "baseMint": "5oXbnF6JLwEbEc8gt91aTWyjeEAYVG21WdqK2KxeA2MR", "quoteMint": "8rq8Z7hpk1mbaP61KremihYfBLyJ4hCZ4xBhBUCBC8bP", "baseVault": "7rNJEJBevis6xjuGCqdijdgaVroYmkVswnywDxZV8dbP", - "baseDepositsTotal": "0", + "baseDepositsTotal": "104800000", "baseFeesAccrued": "0", "quoteVault": "BsWCDy6ZdYC4YXLmMmkRV9wCBxirCQpzQgAasQh8SMMy", - "quoteDepositsTotal": "0", + "quoteDepositsTotal": "50548623900000", "quoteFeesAccrued": "0", "quoteDustThreshold": "0", "requestQueue": "3Ey7Y7o7gf4GtaWvhsrMwzHoEacEMhmmh9QQUZxdwxfD", @@ -641,7 +641,45 @@ "pruneAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", "consumeEventsAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", "epochLength": "65535", - "epochStartTs": "1717606815", + "epochStartTs": "1724684595", + "startEpochSeqNum": "18731398" + } + }, + "GMC": { + "137": { + "accountFlags": { + "initialized": true, + "market": true, + "openOrders": false, + "requestQueue": false, + "eventQueue": false, + "bids": false, + "asks": false + }, + "ownAddress": "6o2AifckJtQnwwg8Ee82iFkpocGpJRr3pY9jM7zeNCH1", + "vaultSignerNonce": "0", + "baseMint": "5xt8uuStpThtSX1PqHeiJuWtXZFpnkrrTtHDK1srXuL8", + "quoteMint": "6ZfjZUd2pgmcevfL6aLTGzpTsLoNyi8pxuboDUnrVf23", + "baseVault": "9ySay4rVbFDDffUHQrCfkq6WcK4oWdxyfquFcunxxbcR", + "baseDepositsTotal": "0", + "baseFeesAccrued": "0", + "quoteVault": "GdeTNiTU4sh5a3KAUPMgcVQkU7XQFNQyqQh4EE1KsMAT", + "quoteDepositsTotal": "0", + "quoteFeesAccrued": "0", + "quoteDustThreshold": "0", + "requestQueue": "CWY7nSGmkLAedL36cdc6cQYCdHGy9sUCV16vTNoupuw1", + "eventQueue": "9e1DZ5mKwUvFsGyBBuCh9DCJmwx72fpyDBsYo3gsGCwY", + "bids": "6G5yk3YcJBWPM7SzZbhUsvhZLsEmonqTvc3FqQGdRA81", + "asks": "2hFnuSe5wWvAu1kxwjNGngtLDXpUWiVpc7UvbNTTkZtg", + "baseLotSize": "1", + "quoteLotSize": "1", + "feeRateBps": "0", + "referrerRebatesAccrued": "0", + "openOrdersAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", + "pruneAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", + "consumeEventsAuthority": "AVNMK6wiGfppdQNg9WKfMRBXefDPGZFh2f3o1fRbgN8n", + "epochLength": "65535", + "epochStartTs": "1724684595", "startEpochSeqNum": "0" } } diff --git a/src/serum/scripts/market-gen.ts b/src/serum/scripts/market-gen.ts index bd1b2310e..440887c8c 100644 --- a/src/serum/scripts/market-gen.ts +++ b/src/serum/scripts/market-gen.ts @@ -29,6 +29,8 @@ const main = async () => { TIFBufferSeconds: 0, }; + // Note: If exchange.load() is failing you may need to use the old code before we sped up loading + // Commit: https://github.com/zetamarkets/sdk/commit/c6ff9376a5cc9255b2dcfffaa330d3bac1446954#diff-c15e612fadecac34c3bc31bc36799f0f4be12ee1703b1a1753a89ae644f55305 await Exchange.load(LOAD_CONFIG); for (var asset of assetList) { populateMarketStore(marketStore, asset, constants.PERP_INDEX); diff --git a/src/types/zeta.ts b/src/types/zeta.ts index 6c017541c..3bcb1bfef 100644 --- a/src/types/zeta.ts +++ b/src/types/zeta.ts @@ -7525,7 +7525,7 @@ export type Zeta = { "type": { "array": [ "u64", - 17 + 18 ] } }, @@ -7534,7 +7534,7 @@ export type Zeta = { "type": { "array": [ "u64", - 8 + 7 ] } }, @@ -7543,7 +7543,7 @@ export type Zeta = { "type": { "array": [ "u64", - 17 + 18 ] } }, @@ -7552,7 +7552,7 @@ export type Zeta = { "type": { "array": [ "u64", - 8 + 7 ] } }, @@ -7563,7 +7563,7 @@ export type Zeta = { { "defined": "AnchorDecimal" }, - 17 + 18 ] } }, @@ -7574,7 +7574,7 @@ export type Zeta = { { "defined": "AnchorDecimal" }, - 8 + 7 ] } }, @@ -7585,7 +7585,7 @@ export type Zeta = { { "defined": "AnchorDecimal" }, - 17 + 18 ] } }, @@ -7596,7 +7596,7 @@ export type Zeta = { { "defined": "AnchorDecimal" }, - 8 + 7 ] } }, @@ -7605,7 +7605,7 @@ export type Zeta = { "type": { "array": [ "u64", - 17 + 18 ] } }, @@ -7614,7 +7614,7 @@ export type Zeta = { "type": { "array": [ "u64", - 8 + 7 ] } }, @@ -7623,7 +7623,7 @@ export type Zeta = { "type": { "array": [ "publicKey", - 17 + 18 ] } }, @@ -7632,7 +7632,7 @@ export type Zeta = { "type": { "array": [ "publicKey", - 8 + 7 ] } }, @@ -7641,7 +7641,7 @@ export type Zeta = { "type": { "array": [ "publicKey", - 17 + 18 ] } }, @@ -7650,7 +7650,7 @@ export type Zeta = { "type": { "array": [ "publicKey", - 8 + 7 ] } }, @@ -7659,7 +7659,7 @@ export type Zeta = { "type": { "array": [ "publicKey", - 17 + 18 ] } }, @@ -7668,7 +7668,7 @@ export type Zeta = { "type": { "array": [ "publicKey", - 8 + 7 ] } }, @@ -7677,7 +7677,7 @@ export type Zeta = { "type": { "array": [ "publicKey", - 17 + 18 ] } }, @@ -7686,7 +7686,7 @@ export type Zeta = { "type": { "array": [ "publicKey", - 8 + 7 ] } }, @@ -7697,7 +7697,7 @@ export type Zeta = { { "defined": "PerpParameters" }, - 17 + 18 ] } }, @@ -7708,7 +7708,7 @@ export type Zeta = { { "defined": "PerpParameters" }, - 8 + 7 ] } }, @@ -7719,7 +7719,7 @@ export type Zeta = { { "defined": "MarginParameters" }, - 17 + 18 ] } }, @@ -7730,7 +7730,7 @@ export type Zeta = { { "defined": "MarginParameters" }, - 8 + 7 ] } }, @@ -7741,7 +7741,7 @@ export type Zeta = { { "defined": "Product" }, - 17 + 18 ] } }, @@ -7752,7 +7752,7 @@ export type Zeta = { { "defined": "Product" }, - 8 + 7 ] } }, @@ -7761,7 +7761,7 @@ export type Zeta = { "type": { "array": [ "publicKey", - 17 + 18 ] } }, @@ -7770,7 +7770,7 @@ export type Zeta = { "type": { "array": [ "publicKey", - 8 + 7 ] } }, @@ -7791,7 +7791,7 @@ export type Zeta = { "type": { "array": [ "bool", - 17 + 18 ] } }, @@ -7800,7 +7800,7 @@ export type Zeta = { "type": { "array": [ "bool", - 8 + 7 ] } }, @@ -8192,7 +8192,7 @@ export type Zeta = { { "defined": "HaltStateV2" }, - 17 + 18 ] } }, @@ -8203,7 +8203,7 @@ export type Zeta = { { "defined": "HaltStateV2" }, - 8 + 7 ] } }, @@ -8216,7 +8216,7 @@ export type Zeta = { "type": { "array": [ "u32", - 17 + 18 ] } }, @@ -8225,7 +8225,7 @@ export type Zeta = { "type": { "array": [ "u32", - 8 + 7 ] } }, @@ -8234,7 +8234,7 @@ export type Zeta = { "type": { "array": [ "u32", - 17 + 18 ] } }, @@ -8243,7 +8243,7 @@ export type Zeta = { "type": { "array": [ "u32", - 8 + 7 ] } }, @@ -8698,7 +8698,7 @@ export type Zeta = { "type": { "array": [ "u8", - 17 + 18 ] } }, @@ -8707,7 +8707,7 @@ export type Zeta = { "type": { "array": [ "u8", - 8 + 7 ] } }, @@ -8722,7 +8722,7 @@ export type Zeta = { { "defined": "AnchorDecimal" }, - 17 + 18 ] } }, @@ -8733,7 +8733,7 @@ export type Zeta = { { "defined": "AnchorDecimal" }, - 8 + 7 ] } }, @@ -8744,7 +8744,7 @@ export type Zeta = { { "defined": "ProductLedger" }, - 17 + 18 ] } }, @@ -8755,7 +8755,7 @@ export type Zeta = { { "defined": "ProductLedger" }, - 8 + 7 ] } }, @@ -8772,7 +8772,7 @@ export type Zeta = { "type": { "array": [ "u64", - 17 + 18 ] } }, @@ -8781,7 +8781,7 @@ export type Zeta = { "type": { "array": [ "u64", - 8 + 7 ] } }, @@ -9565,7 +9565,7 @@ export type Zeta = { "type": { "array": [ "u64", - 17 + 18 ] } }, @@ -10308,6 +10308,9 @@ export type Zeta = { { "name": "TNSR" }, + { + "name": "GMC" + }, { "name": "UNDEFINED" } @@ -19413,7 +19416,7 @@ export const IDL: Zeta = { "type": { "array": [ "u64", - 17 + 18 ] } }, @@ -19422,7 +19425,7 @@ export const IDL: Zeta = { "type": { "array": [ "u64", - 8 + 7 ] } }, @@ -19431,7 +19434,7 @@ export const IDL: Zeta = { "type": { "array": [ "u64", - 17 + 18 ] } }, @@ -19440,7 +19443,7 @@ export const IDL: Zeta = { "type": { "array": [ "u64", - 8 + 7 ] } }, @@ -19451,7 +19454,7 @@ export const IDL: Zeta = { { "defined": "AnchorDecimal" }, - 17 + 18 ] } }, @@ -19462,7 +19465,7 @@ export const IDL: Zeta = { { "defined": "AnchorDecimal" }, - 8 + 7 ] } }, @@ -19473,7 +19476,7 @@ export const IDL: Zeta = { { "defined": "AnchorDecimal" }, - 17 + 18 ] } }, @@ -19484,7 +19487,7 @@ export const IDL: Zeta = { { "defined": "AnchorDecimal" }, - 8 + 7 ] } }, @@ -19493,7 +19496,7 @@ export const IDL: Zeta = { "type": { "array": [ "u64", - 17 + 18 ] } }, @@ -19502,7 +19505,7 @@ export const IDL: Zeta = { "type": { "array": [ "u64", - 8 + 7 ] } }, @@ -19511,7 +19514,7 @@ export const IDL: Zeta = { "type": { "array": [ "publicKey", - 17 + 18 ] } }, @@ -19520,7 +19523,7 @@ export const IDL: Zeta = { "type": { "array": [ "publicKey", - 8 + 7 ] } }, @@ -19529,7 +19532,7 @@ export const IDL: Zeta = { "type": { "array": [ "publicKey", - 17 + 18 ] } }, @@ -19538,7 +19541,7 @@ export const IDL: Zeta = { "type": { "array": [ "publicKey", - 8 + 7 ] } }, @@ -19547,7 +19550,7 @@ export const IDL: Zeta = { "type": { "array": [ "publicKey", - 17 + 18 ] } }, @@ -19556,7 +19559,7 @@ export const IDL: Zeta = { "type": { "array": [ "publicKey", - 8 + 7 ] } }, @@ -19565,7 +19568,7 @@ export const IDL: Zeta = { "type": { "array": [ "publicKey", - 17 + 18 ] } }, @@ -19574,7 +19577,7 @@ export const IDL: Zeta = { "type": { "array": [ "publicKey", - 8 + 7 ] } }, @@ -19585,7 +19588,7 @@ export const IDL: Zeta = { { "defined": "PerpParameters" }, - 17 + 18 ] } }, @@ -19596,7 +19599,7 @@ export const IDL: Zeta = { { "defined": "PerpParameters" }, - 8 + 7 ] } }, @@ -19607,7 +19610,7 @@ export const IDL: Zeta = { { "defined": "MarginParameters" }, - 17 + 18 ] } }, @@ -19618,7 +19621,7 @@ export const IDL: Zeta = { { "defined": "MarginParameters" }, - 8 + 7 ] } }, @@ -19629,7 +19632,7 @@ export const IDL: Zeta = { { "defined": "Product" }, - 17 + 18 ] } }, @@ -19640,7 +19643,7 @@ export const IDL: Zeta = { { "defined": "Product" }, - 8 + 7 ] } }, @@ -19649,7 +19652,7 @@ export const IDL: Zeta = { "type": { "array": [ "publicKey", - 17 + 18 ] } }, @@ -19658,7 +19661,7 @@ export const IDL: Zeta = { "type": { "array": [ "publicKey", - 8 + 7 ] } }, @@ -19679,7 +19682,7 @@ export const IDL: Zeta = { "type": { "array": [ "bool", - 17 + 18 ] } }, @@ -19688,7 +19691,7 @@ export const IDL: Zeta = { "type": { "array": [ "bool", - 8 + 7 ] } }, @@ -20080,7 +20083,7 @@ export const IDL: Zeta = { { "defined": "HaltStateV2" }, - 17 + 18 ] } }, @@ -20091,7 +20094,7 @@ export const IDL: Zeta = { { "defined": "HaltStateV2" }, - 8 + 7 ] } }, @@ -20104,7 +20107,7 @@ export const IDL: Zeta = { "type": { "array": [ "u32", - 17 + 18 ] } }, @@ -20113,7 +20116,7 @@ export const IDL: Zeta = { "type": { "array": [ "u32", - 8 + 7 ] } }, @@ -20122,7 +20125,7 @@ export const IDL: Zeta = { "type": { "array": [ "u32", - 17 + 18 ] } }, @@ -20131,7 +20134,7 @@ export const IDL: Zeta = { "type": { "array": [ "u32", - 8 + 7 ] } }, @@ -20586,7 +20589,7 @@ export const IDL: Zeta = { "type": { "array": [ "u8", - 17 + 18 ] } }, @@ -20595,7 +20598,7 @@ export const IDL: Zeta = { "type": { "array": [ "u8", - 8 + 7 ] } }, @@ -20610,7 +20613,7 @@ export const IDL: Zeta = { { "defined": "AnchorDecimal" }, - 17 + 18 ] } }, @@ -20621,7 +20624,7 @@ export const IDL: Zeta = { { "defined": "AnchorDecimal" }, - 8 + 7 ] } }, @@ -20632,7 +20635,7 @@ export const IDL: Zeta = { { "defined": "ProductLedger" }, - 17 + 18 ] } }, @@ -20643,7 +20646,7 @@ export const IDL: Zeta = { { "defined": "ProductLedger" }, - 8 + 7 ] } }, @@ -20660,7 +20663,7 @@ export const IDL: Zeta = { "type": { "array": [ "u64", - 17 + 18 ] } }, @@ -20669,7 +20672,7 @@ export const IDL: Zeta = { "type": { "array": [ "u64", - 8 + 7 ] } }, @@ -21453,7 +21456,7 @@ export const IDL: Zeta = { "type": { "array": [ "u64", - 17 + 18 ] } }, @@ -22196,6 +22199,9 @@ export const IDL: Zeta = { { "name": "TNSR" }, + { + "name": "GMC" + }, { "name": "UNDEFINED" }