@gmx-io/sdk 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -7
- package/build/scripts/prebuild/index.js +2 -0
- package/build/scripts/prebuild/prebuildKinkModelMarketRatesKeys.d.ts +1 -0
- package/build/scripts/prebuild/prebuildKinkModelMarketRatesKeys.js +44 -0
- package/build/src/abis/ExchangeRouter.json +203 -0
- package/build/src/abis/GlvReader.json +0 -10
- package/build/src/abis/GlvRouter.json +96 -2
- package/build/src/abis/RewardRouter.json +323 -68
- package/build/src/abis/SubaccountRouter.json +10 -0
- package/build/src/abis/SyntheticsReader.json +196 -64
- package/build/src/configs/batch.js +1 -13
- package/build/src/configs/chains.d.ts +0 -1
- package/build/src/configs/chains.js +1 -7
- package/build/src/configs/contracts.d.ts +2 -1
- package/build/src/configs/contracts.js +27 -66
- package/build/src/configs/dataStore.d.ts +4 -1
- package/build/src/configs/dataStore.js +5 -2
- package/build/src/configs/factors.d.ts +0 -12
- package/build/src/configs/factors.js +0 -12
- package/build/src/configs/markets.js +147 -0
- package/build/src/configs/tokens.d.ts +5 -2
- package/build/src/configs/tokens.js +297 -221
- package/build/src/modules/markets/index.js +2 -3
- package/build/src/modules/markets/markets.spec.js +0 -6
- package/build/src/modules/markets/types.d.ts +8 -0
- package/build/src/modules/oracle.js +1 -16
- package/build/src/modules/orders/orders.d.ts +2 -1
- package/build/src/modules/orders/orders.js +4 -3
- package/build/src/modules/orders/transactions/cancelOrdersTxn.js +1 -1
- package/build/src/modules/orders/transactions/createDecreaseOrderTxn.js +1 -0
- package/build/src/modules/orders/transactions/createIncreaseOrderTxn.d.ts +1 -0
- package/build/src/modules/orders/transactions/createIncreaseOrderTxn.js +3 -1
- package/build/src/modules/orders/transactions/createSwapOrderTxn.js +1 -0
- package/build/src/modules/orders/transactions/createWrapOrUnwrapTxn.d.ts +1 -1
- package/build/src/modules/orders/transactions/updateOrderTxn.d.ts +3 -1
- package/build/src/modules/orders/transactions/updateOrderTxn.js +7 -5
- package/build/src/modules/orders/utils.js +1 -1
- package/build/src/modules/positions/positions.d.ts +1 -1
- package/build/src/modules/positions/positions.js +10 -86
- package/build/src/modules/trades/trades.js +1 -2
- package/build/src/modules/utils/utils.js +3 -8
- package/build/src/prebuilt/hashedKinkModelMarketRatesKeys.json +760 -0
- package/build/src/prebuilt/hashedMarketConfigKeys.json +1050 -0
- package/build/src/prebuilt/hashedMarketValuesKeys.json +315 -0
- package/build/src/prebuilt/index.d.ts +8 -2
- package/build/src/prebuilt/index.js +3 -1
- package/build/src/prebuilt/index.ts +19 -2
- package/build/src/types/amounts.d.ts +1 -1
- package/build/src/types/fees.d.ts +1 -2
- package/build/src/types/orders.d.ts +2 -2
- package/build/src/types/positions.d.ts +2 -2
- package/build/src/types/sdk.d.ts +4 -4
- package/build/src/types/syntheticsEvents.d.ts +3 -3
- package/build/src/types/tokens.d.ts +4 -0
- package/build/src/types/trade.d.ts +1 -1
- package/build/src/utils/fees/executionFee.d.ts +1 -5
- package/build/src/utils/fees/executionFee.js +3 -12
- package/build/src/utils/objects.d.ts +0 -5
- package/build/src/utils/objects.js +0 -17
- package/build/src/utils/orders.js +0 -8
- package/build/src/utils/simulateExecuteOrder.js +8 -21
- package/build/src/utils/testUtil.d.ts +2 -3
- package/build/src/utils/testUtil.js +2 -3
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/build/src/configs/subgraph.d.ts +0 -3
- package/build/src/configs/subgraph.js +0 -3
- package/build/src/utils/slidingWindowFallbackSwitcher.d.ts +0 -24
- package/build/src/utils/slidingWindowFallbackSwitcher.js +0 -40
|
@@ -584,6 +584,321 @@
|
|
|
584
584
|
"longInterestInTokensUsingShortToken": "0xcbbccf7b71cbe239a1e5be1bb8382beb4b98643d22a0ff23512528dc537a8884",
|
|
585
585
|
"shortInterestInTokensUsingLongToken": "0x94c63c6d921ef8a81c8cc60a2ffd9c31632e36c1266df3b07eae1a4f5a9a0770",
|
|
586
586
|
"shortInterestInTokensUsingShortToken": "0x6460a2f6ca0b07b0d48dcadde72e3f203d66487e0ed23ec53455872693c6dc83"
|
|
587
|
+
},
|
|
588
|
+
"0x66A69c8eb98A7efE22A22611d1967dfec786a708": {
|
|
589
|
+
"longPoolAmount": "0x315a32ccbb1ee8b182192bd59dbf05ca2ff075ea7eda93c38eca8d902f63fb8f",
|
|
590
|
+
"shortPoolAmount": "0x8eb45a3f5a8b62a1ce0a026519fe782547fe05543416a240893db61444868a62",
|
|
591
|
+
"positionImpactPoolAmount": "0xf97c6d74653305a96dc69b8c90d3a91f4d8d1c096f471b93cf966c766f3737c3",
|
|
592
|
+
"swapImpactPoolAmountLong": "0x3a514f4178f5fb4e75a5ef4de5271d0dd04e563a84a5dbb9e7dbdeffedbea854",
|
|
593
|
+
"swapImpactPoolAmountShort": "0x12f2fd3ed1fd05258a17f6c72d40ad0aabe8acd4f0ffc280124af14c5d1ca399",
|
|
594
|
+
"longInterestUsingLongToken": "0xc49508e51dde41e2f20c7c534ba425bb96a42a5e537b00a0c8f118d4ffe14d75",
|
|
595
|
+
"longInterestUsingShortToken": "0x1b11939d1facd9ea2c389b192bb5d7efae9facf556dadf09e9c4586e39a30803",
|
|
596
|
+
"shortInterestUsingLongToken": "0xca2fa0187a59428fc4f1804871e66f0347a80bc97da4ac06715c1935e3e5d9ff",
|
|
597
|
+
"shortInterestUsingShortToken": "0x538ea40fe657259fd5b8734cb84be58c3c1cda3060487daaa92acb0afba65e39",
|
|
598
|
+
"longInterestInTokensUsingLongToken": "0xc3b432ce1140c5f56de6332a6bf81062d7db32737d5f2be3d47d10c7191eb2d9",
|
|
599
|
+
"longInterestInTokensUsingShortToken": "0x2839943c4f5a2585032d4b480589e0dc7febd6b22f960a2faef2e0188f108a69",
|
|
600
|
+
"shortInterestInTokensUsingLongToken": "0x8893c868357f3d3a621aa0e2541f36e90c15ba600bf5dcc5b7898595d6b85990",
|
|
601
|
+
"shortInterestInTokensUsingShortToken": "0x7e79c0247e1bb684dce1cb9daf750e555316b54b4d6d084cecb4277030f70b89"
|
|
602
|
+
},
|
|
603
|
+
"0xBeB1f4EBC9af627Ca1E5a75981CE1AE97eFeDA22": {
|
|
604
|
+
"longPoolAmount": "0x7a783c8d5dfbbbf856d3ed3e6f9fbcbe6ee74b6482c9592e711925ef0670c993",
|
|
605
|
+
"shortPoolAmount": "0xfd2469c97672449d793a09d830658215435e1cac9bc1bc6e7b42eb03ef8ccd1a",
|
|
606
|
+
"positionImpactPoolAmount": "0x5a2487fbc3eafc4d91da85f198a26991df83903376ac29f2c7d0e344ee4f0ad6",
|
|
607
|
+
"swapImpactPoolAmountLong": "0x59ce99e2c745bdc8f20d0dbff8d8083cf7642a16cf4cfb674ab6c4eee077b414",
|
|
608
|
+
"swapImpactPoolAmountShort": "0x2285e54d88c026acfa1af2db5a3bac1a5804cf565f5376afcc2f6031f453448f",
|
|
609
|
+
"longInterestUsingLongToken": "0x5519a301641e80a3112b6242a4e93908310e673455a040e8aa0ad4e3417ec7c3",
|
|
610
|
+
"longInterestUsingShortToken": "0xcc0fd019154a76764a544978e0120eb242df76477faa1ab3272fc4c2fdc9af81",
|
|
611
|
+
"shortInterestUsingLongToken": "0xaa2f88ca07a8dba32157720d0bf08e90ac482e616804bbf5133f456ddf9bc7df",
|
|
612
|
+
"shortInterestUsingShortToken": "0xe75b1432ed903a821ea3ba120ecb95d1e9194d42e6e2fec338d45b353ec7a028",
|
|
613
|
+
"longInterestInTokensUsingLongToken": "0x766df69c39b951e877f53cba38118bc5cd9d6cc9a5f5a1758c3313950701e964",
|
|
614
|
+
"longInterestInTokensUsingShortToken": "0x6d53a38dcf5fbc0c133956a28a5b128fdfb72667d0823bced27e430c1513fda4",
|
|
615
|
+
"shortInterestInTokensUsingLongToken": "0xb243e546c659a8bc75f841dd7e9416e8c3a6ab61573cba78ce724192c85a97db",
|
|
616
|
+
"shortInterestInTokensUsingShortToken": "0x4d54ab40b4fdba830b5657bf95a5e4a6d0591c775a995def3a52b65fbef45a38"
|
|
617
|
+
},
|
|
618
|
+
"0x3680D7bFE9260D3c5DE81AEB2194c119a59A99D1": {
|
|
619
|
+
"longPoolAmount": "0x843ea38b4d3e57980b2de909f851fe93de71addd9e293ce0a87ac9378492e294",
|
|
620
|
+
"shortPoolAmount": "0xb8416c8f477dd3bbd110700bff23b93f184744a22255dfae535305080328ecd6",
|
|
621
|
+
"positionImpactPoolAmount": "0x6cd0228bc718b7b0efec3edca2b5ea6fa273c777207c7b7e0978b8181aa18310",
|
|
622
|
+
"swapImpactPoolAmountLong": "0xa620cb1cc2421aa7fabdecdfafd76eccb9a1ce76821bc41378f951a4edc75e49",
|
|
623
|
+
"swapImpactPoolAmountShort": "0xfa988077da73d950c8c0ffa9b32dc48b0a92beac9bc8f9775031d9849cba0b31",
|
|
624
|
+
"longInterestUsingLongToken": "0xe5486881110b2a5f603e904c7273bec0574cc5e629658b102c04e53c7fedbce7",
|
|
625
|
+
"longInterestUsingShortToken": "0xbe3d176d635759628b0e59c097104f7637cbf7412e4b4c69785339942e0d64f7",
|
|
626
|
+
"shortInterestUsingLongToken": "0x5a7fec14db4a463816addc1e42061e1a37f33d42387655ede7b7cb39086ca6d4",
|
|
627
|
+
"shortInterestUsingShortToken": "0x117f0db18a1993cf63cdd5728e9d8ce5ad508dc9ea3e7729358ab0c3a199e8b1",
|
|
628
|
+
"longInterestInTokensUsingLongToken": "0xe795e40d60a64514cbe5896f1504e6fadb38a7ccaab1676271c4a60bfd14f7a5",
|
|
629
|
+
"longInterestInTokensUsingShortToken": "0x54e4faf2635bf90206d83133fa01a278baa33a9ea068f5788e589b30a46e9f8a",
|
|
630
|
+
"shortInterestInTokensUsingLongToken": "0x7fe74e59d085e3bfbdd5213d5b701124601a057276caece5b6f67837da248497",
|
|
631
|
+
"shortInterestInTokensUsingShortToken": "0x22fa75d056087860d450b7041ac6b53bfbc1071ec51fb3aa1ffc1bddd995dcbd"
|
|
632
|
+
},
|
|
633
|
+
"0x15c6eBD4175ffF9EE3c2615c556fCf62D2d9499c": {
|
|
634
|
+
"longPoolAmount": "0x1cd545c92a01cf6f7610f44d0b130abd0d18db5f62d25803c51c81bdb1a10ba0",
|
|
635
|
+
"shortPoolAmount": "0xd3c4f1b65e57fa4b1e3bf550bdec44aafd35d1137fcb2277ffb1a93b24fba0cc",
|
|
636
|
+
"positionImpactPoolAmount": "0x9c20fa6331ed8865e71ac6eced5007f953c78fdeb3fab05648282fa64da27574",
|
|
637
|
+
"swapImpactPoolAmountLong": "0x4080dfade389ee13df35eb4921f8b71276625a9f32ea78ff30f16f56c41e4b67",
|
|
638
|
+
"swapImpactPoolAmountShort": "0xd99446ec75b48edfe9721181b974c3184623985c8f94bbb429c1c52fac8ea6d1",
|
|
639
|
+
"longInterestUsingLongToken": "0x2969b08330c934afadc9a40142f927cf387000be3f281defbfaa9e3e5322222f",
|
|
640
|
+
"longInterestUsingShortToken": "0xfe292a85a29b5c208218744fa8e196584f67a5dab648fcf02dde50cbdfcf7724",
|
|
641
|
+
"shortInterestUsingLongToken": "0xb8b0f50ca8f165880ce1c6540c806e9b678725434a57e9e172b57e42126d1c2b",
|
|
642
|
+
"shortInterestUsingShortToken": "0x6c28d3ba5c3de878a1bcf7d61e595c2e998bd94c8face807d186e06fd4454c51",
|
|
643
|
+
"longInterestInTokensUsingLongToken": "0x4a76085b1b592d7af8b87255fff361001fb6047e1266684a1c895fcc4dc0a54c",
|
|
644
|
+
"longInterestInTokensUsingShortToken": "0xd37bf995a9b64aa42c1a5d90ff3fb46a283d3f8f7ad38227b71e41302e885fb9",
|
|
645
|
+
"shortInterestInTokensUsingLongToken": "0xec03ed0c527f0f91fbd6be3038d9d989e17d551d3f7c43d7a51020990db759c7",
|
|
646
|
+
"shortInterestInTokensUsingShortToken": "0x2c2476051043229fd2198ee6a970789b72a1bc488cb13bc4c7554f9673a11612"
|
|
647
|
+
},
|
|
648
|
+
"0x872b5D567a2469Ed92D252eaCB0EB3BB0769e05b": {
|
|
649
|
+
"longPoolAmount": "0xb70c1d8189f9287ce2c45b58fa581319252d073df36204681ba746d118a866c3",
|
|
650
|
+
"shortPoolAmount": "0x4504d3557219b31e3d988f78c7e2da8d025c52f74f973673e2fccbe139fd8f47",
|
|
651
|
+
"positionImpactPoolAmount": "0x7f7c00bd157a8ddd14b454a59eaa2a16f4f9523df1c990bdd2679d3c185a8b0b",
|
|
652
|
+
"swapImpactPoolAmountLong": "0x8168d269c6867ae56959456f175bceb819a1573f1e790cec01aca754ef715c69",
|
|
653
|
+
"swapImpactPoolAmountShort": "0x817a7d95726a285bf51694625f48b053157fce05b3d5bfcd781d5315bf197750",
|
|
654
|
+
"longInterestUsingLongToken": "0x119d28ec4b03e3ee157565722695e55944da35d2d86d41d90d69e3348b6cfaec",
|
|
655
|
+
"longInterestUsingShortToken": "0x264a0978bc9c7e3a451a60e5f617941db4621076c706780f507468aa80ab485c",
|
|
656
|
+
"shortInterestUsingLongToken": "0x121ce70f147ea3fdaa1b7e0cd67d7c012954ae25349f12bf9fcc42427bf9a940",
|
|
657
|
+
"shortInterestUsingShortToken": "0x10406713b50cb6e6b802c5f74241d15054983206edfe04de03d4b318f96b04b7",
|
|
658
|
+
"longInterestInTokensUsingLongToken": "0xac95008ef685c94d41ce1afbe5f3e29e4d5836f0da9c991a130494bf476f4323",
|
|
659
|
+
"longInterestInTokensUsingShortToken": "0x9ff9dba90aa06d538e73b2159ca2df1dcc67b61d804bdad52b4ba1050746b0e1",
|
|
660
|
+
"shortInterestInTokensUsingLongToken": "0xd961f4ac9d8e0df364e8115a898320f727ea2a7b2424cd46bf172be82f65f6fa",
|
|
661
|
+
"shortInterestInTokensUsingShortToken": "0x8165a1c47e0c185c81cdf82710c335663d2758ecb88132c85b7d93e6309a5efe"
|
|
662
|
+
},
|
|
663
|
+
"0xFaC5fF56c269432706d47DC82Ab082E9AE7D989E": {
|
|
664
|
+
"longPoolAmount": "0x3ef77c538ebfde2dd810575baf5696e320a26f4440aed7f3d66b8e30b036fcd9",
|
|
665
|
+
"shortPoolAmount": "0xa7583523b2f8df86019579ca4fe21d8fb47537b56194d5b2a8e30cf6e3b73c00",
|
|
666
|
+
"positionImpactPoolAmount": "0xffc926c6dbd0f861e4426a59ae101f3673a79ba916a89a45931abe2e44b4bc48",
|
|
667
|
+
"swapImpactPoolAmountLong": "0xc21c780646992eb09e2867ed07835ca75ede413e118886a6deda7b4bc2947151",
|
|
668
|
+
"swapImpactPoolAmountShort": "0xaba55e0cbc4ba835a975a8b3424fc999d494ac4b716cd27ed2ff4518faa84b4c",
|
|
669
|
+
"longInterestUsingLongToken": "0xd12303b5eac1206fe35dd8b76f09438693cc451c8ec8ca6bdf1cf1b12d303507",
|
|
670
|
+
"longInterestUsingShortToken": "0x9546721e5e2762728327dc8986c078584bc3e52d86c0986f3f3744ddee4732fa",
|
|
671
|
+
"shortInterestUsingLongToken": "0x3e9dc78aedf8b4e23723be185ca57e7e15043be55bdd886719814db309b91c67",
|
|
672
|
+
"shortInterestUsingShortToken": "0x58d3bec3f5ca3f803ed87a846f98b8916086604677f2611411bce1f6c37e1cbd",
|
|
673
|
+
"longInterestInTokensUsingLongToken": "0x095df08c9170c076b5a5e7847ae90e9142e1985cce2de83061117ce323958041",
|
|
674
|
+
"longInterestInTokensUsingShortToken": "0x01a581eaf05aa1846f2b0e026c9ad01e9e22159455e16f8fdc93eb427d7e8311",
|
|
675
|
+
"shortInterestInTokensUsingLongToken": "0x30bf888497c9479e7607c17def2114049079b5acfe3be34fc7cb39d32e83891c",
|
|
676
|
+
"shortInterestInTokensUsingShortToken": "0x61551b38a8f53636a0f8a29914428ee0ec6c172624c145b50a81e664bc7fdc66"
|
|
677
|
+
},
|
|
678
|
+
"0xe55e1A29985488A2c8846a91E925c2B7C6564db1": {
|
|
679
|
+
"longPoolAmount": "0xb934a3ed8d7850cd3fcc424abd440f6b77cc5f1d0511601e13d9b18b084ce8c4",
|
|
680
|
+
"shortPoolAmount": "0x4b9091b79ca6899d32e081e724a66d2465ab878032b31ce006953f5d4056a0ea",
|
|
681
|
+
"positionImpactPoolAmount": "0x2427154893282bc2707e38e907df45d48bb4829de76513a48a7ab193c9a449a0",
|
|
682
|
+
"swapImpactPoolAmountLong": "0x75b5425fc12eeab4b42d7fe658391aa6f2c1efdb3bdfeb67e1d5c45110f6d7ed",
|
|
683
|
+
"swapImpactPoolAmountShort": "0x2db559f6cb2079c3257b05fefcc96699f805d168df3f92ba38fb0bc749152304",
|
|
684
|
+
"longInterestUsingLongToken": "0xdf4598200427932a83a6c5affa5ad515df79c43d225178997804286385dc427d",
|
|
685
|
+
"longInterestUsingShortToken": "0xfb8b76580328d50c809b7b401a4efd2292b0b1df4282ae55464c56ebe0ab6759",
|
|
686
|
+
"shortInterestUsingLongToken": "0xce86981a34b885a60cd247666726e696d613fbebd37c86581f8dc34320e53b9c",
|
|
687
|
+
"shortInterestUsingShortToken": "0xe7194ebae1923661c493655d2f8cdcb49afb3d44ea3f1cc5603d8837264c0c87",
|
|
688
|
+
"longInterestInTokensUsingLongToken": "0xa552621480e367888b3b6a4ba94ed4f05cb84968b30bf422a5046bb4878009d6",
|
|
689
|
+
"longInterestInTokensUsingShortToken": "0xafd508e632d1a1d463a0c91a631d4dbf6ea510c98068aad86c9d1fcc8981a045",
|
|
690
|
+
"shortInterestInTokensUsingLongToken": "0x0badb6f36603c01a7df11e75ac562c73a62d4c125d812b25dd996829585a7a0f",
|
|
691
|
+
"shortInterestInTokensUsingShortToken": "0x2d0373093852a8a1ec070337183b0b0e59502132b8827def7384863cba9352d1"
|
|
692
|
+
},
|
|
693
|
+
"0x71237F8C3d1484495A136022E16840b70fF84a69": {
|
|
694
|
+
"longPoolAmount": "0xc75ea9fa5c7ca908323f45ea91ecc262860a1a61f879ea40384f52d05168d174",
|
|
695
|
+
"shortPoolAmount": "0x46fc19fb93b105e0aca46a28343e4413c0f37551141faf9e8fb3307185462854",
|
|
696
|
+
"positionImpactPoolAmount": "0xc7d568bcd650ecade2cb21f2acb6c938bea082265719e9b3b2416972bdf02f4d",
|
|
697
|
+
"swapImpactPoolAmountLong": "0xbd088cb6faa3bf68c53d934dc9ae6d878bc2792b5b82e3a1206411dc79be5467",
|
|
698
|
+
"swapImpactPoolAmountShort": "0x6a2f9eaebdd1b3c2178a3dbf2a07b2f5c055d6262905814ca730850dfd517648",
|
|
699
|
+
"longInterestUsingLongToken": "0xbf67327833f5ecee262f9b9f2877fa8bb8860836bc51025f532be712a1e4f292",
|
|
700
|
+
"longInterestUsingShortToken": "0x19ae6ffadef135e9ed81eea102596b9174c5f6e202c1dbb607af028a74839b94",
|
|
701
|
+
"shortInterestUsingLongToken": "0xae6fd568ec2e4151a3fadaa62eae6cfbf41efe5312b794b1b70d06103ba89c88",
|
|
702
|
+
"shortInterestUsingShortToken": "0x9bdfc54eb497b57125afef180de9c838d03463253b8ce189c9258acb97b17ef9",
|
|
703
|
+
"longInterestInTokensUsingLongToken": "0x0baccf21571bcc0c39bd0cfd8872d7cf33b3730d9ef83da4efc7981cd3ea8fc0",
|
|
704
|
+
"longInterestInTokensUsingShortToken": "0x5cd16d36afcff31361d6f557f8f07d548387dec69d40f95080cbc86f82cdc32d",
|
|
705
|
+
"shortInterestInTokensUsingLongToken": "0x3de552f02deb92d45436c8650fa605644a0727ab4decf31e5cd0f7a7b1a3ac43",
|
|
706
|
+
"shortInterestInTokensUsingShortToken": "0x35445a95899540aac44a59629fae5a988cfc38141dee6a059223c81ff38c6406"
|
|
707
|
+
},
|
|
708
|
+
"0xfD46a5702D4d97cE0164375744c65F0c31A3901b": {
|
|
709
|
+
"longPoolAmount": "0x9ea23b6f860732d52740086cc982b9e0a97a09afcc3b9e0ec5af7a452b4b490c",
|
|
710
|
+
"shortPoolAmount": "0xd1fa5f9b08adbd1a96d73937664a5299ceee5818bbf9105db9b5bee5a9e42b50",
|
|
711
|
+
"positionImpactPoolAmount": "0xda69a8849408a2652e0f4561e207f6e23cb5ef2ce86c564d22df729daed7d0af",
|
|
712
|
+
"swapImpactPoolAmountLong": "0xadbd4296952a90a989c56a0e5ee843ffd73f4549b477c5fa35776e8a9274d17d",
|
|
713
|
+
"swapImpactPoolAmountShort": "0x2d35cfd5845bd7b2c36aa5fec710f461160c70c330e17c859cf1eb8e094939f7",
|
|
714
|
+
"longInterestUsingLongToken": "0x397149852e67c5072753bd08d53c36de50b9b75a16a15bd77f63956f17aa51c5",
|
|
715
|
+
"longInterestUsingShortToken": "0x095d5724766b2554af37e47e4a4b6571af65c6a80fb336fc7fbb9872ef892909",
|
|
716
|
+
"shortInterestUsingLongToken": "0xea51e43db63fdc0d2a250a711d3d2084d3ab5d4e7c539e38f96c14cc6d6c5f4d",
|
|
717
|
+
"shortInterestUsingShortToken": "0xaf06e19848ebe83dc71a594792fb12fd982bcd686173106bfa4a1dd5350cbb67",
|
|
718
|
+
"longInterestInTokensUsingLongToken": "0x6f3d05f754a592ad95de055ee8a9775978ecd8f6207fa2bc3e55a2b20c59c31e",
|
|
719
|
+
"longInterestInTokensUsingShortToken": "0xe08ce54d15203fd218e811f51085b5493e4ef0f1f0a127a31a1894f2a739964c",
|
|
720
|
+
"shortInterestInTokensUsingLongToken": "0xedf86a57ea75352dc183fb95c88256367ef2ed4c99936b26163e7b65850f1f09",
|
|
721
|
+
"shortInterestInTokensUsingShortToken": "0xb2b1a38a4b287d56224cab395b95c4a17a212ff1a16612a36b4510ff1ade957c"
|
|
722
|
+
},
|
|
723
|
+
"0x6CB901Cc64c024C3Fe4404c940FF9a3Acc229D2C": {
|
|
724
|
+
"longPoolAmount": "0x1c73f5e054e3af4da0a02fac5a7048c46ec9cd1528a25b232fce342678e7f771",
|
|
725
|
+
"shortPoolAmount": "0x1174c83110a6ba7e4da38122b472fcbfb6c11502ca7c77259e28d6e3dda75ec8",
|
|
726
|
+
"positionImpactPoolAmount": "0x97953cebeee1fe8b9f7ab25d3a269241db133ad6fa3aa3c9dbee5e647db41813",
|
|
727
|
+
"swapImpactPoolAmountLong": "0x3f75281e1f04b2ef2ce727f8ed9fd904e67c5a431d2b82444c496d4d45ba4c1a",
|
|
728
|
+
"swapImpactPoolAmountShort": "0xffebca0e5dd30ca361e6d209c9bb94787c06a3c61ded9eff8a48dbeecd848571",
|
|
729
|
+
"longInterestUsingLongToken": "0x50d115ccfb80f8efc2c6324cf4435bcbcf106e15299f6d7b8e9ed7394739683d",
|
|
730
|
+
"longInterestUsingShortToken": "0xc75a5ca3a7e958e1005dfbeb17dbdb491afcd18079e7c10edfc80e465c66c4d2",
|
|
731
|
+
"shortInterestUsingLongToken": "0x21c618fd83ab3421b38599a6bec875203f5916e147c4072a4178a8e8645c2d46",
|
|
732
|
+
"shortInterestUsingShortToken": "0x23b362f563aa84bb462803e96249ac4b5bf60d3652be779bb2530ba97b7f8b2c",
|
|
733
|
+
"longInterestInTokensUsingLongToken": "0xd4ea379662b212739d9f0c45c79e313913be1bc086e4aa9897b458197a60b45c",
|
|
734
|
+
"longInterestInTokensUsingShortToken": "0xbb777c6bbaf8f292c79ab5f85d2fa8aa6dda549cbf91a2c300721cd3050773d0",
|
|
735
|
+
"shortInterestInTokensUsingLongToken": "0x81ddd54b533285f8cdc863c88d5cca57ea6cdc1dc7ed99fbf1aa279a34c07b13",
|
|
736
|
+
"shortInterestInTokensUsingShortToken": "0x8db5756074e694b7c472d806aeb7545057cb1ca92d60b4769d6e7301647ff53e"
|
|
737
|
+
},
|
|
738
|
+
"0x71B7fF592a974e2B501D8A7a11f5c42DcD365244": {
|
|
739
|
+
"longPoolAmount": "0x5d4e4f2678bbeb6f19e69dddd3c68211b28f5ebd31de547e4891e923d5d834c0",
|
|
740
|
+
"shortPoolAmount": "0x4f44001338ecc8439172be5f4ee868f754f7631ffe311b44e405ad8bb6cf5674",
|
|
741
|
+
"positionImpactPoolAmount": "0x980955f7b7f4957a0a17495c533005b0e3dbb56a53259fca283dde3d35eef0c3",
|
|
742
|
+
"swapImpactPoolAmountLong": "0x844b69129cca724626329554f87296c0f8c5fd957491a3886b63fb73eae0862c",
|
|
743
|
+
"swapImpactPoolAmountShort": "0xfb28bff873542cabc1e2744bd3af50236627843bc372bed8cc117bd6e51eb667",
|
|
744
|
+
"longInterestUsingLongToken": "0xac717cfebaa27b90112605c59f3d70b685521f3a08384885be5c823b246c18a6",
|
|
745
|
+
"longInterestUsingShortToken": "0xc06e9e78fb348a433334047a33cb124348453f754a58dec06a4cb8ca8f193566",
|
|
746
|
+
"shortInterestUsingLongToken": "0xb7e2663146c3a156a7d3c80fe28063b2e7be12b9928095a18ec9277f45f785ac",
|
|
747
|
+
"shortInterestUsingShortToken": "0x0647011b98a41f7e1a1386b5c399d14f25e018f83fd7dbf70e5f7171bd7e66ae",
|
|
748
|
+
"longInterestInTokensUsingLongToken": "0x83ce5f730f02e7fd050a562f85cd0f721880cb32d0386cbee12a8f57c4bc3ec0",
|
|
749
|
+
"longInterestInTokensUsingShortToken": "0x3db558abc86ca4cfb69f61870063eda6f77f3a04af083dc2b4e7486747a46c04",
|
|
750
|
+
"shortInterestInTokensUsingLongToken": "0x8b9635c413aff022f12ca4e62298e8ec09d92472a8e4ab566b998e342d823d3e",
|
|
751
|
+
"shortInterestInTokensUsingShortToken": "0x9662b112c6c7f79d87b37c646380f742215460c45ec8a64698e7af8fcfe6e337"
|
|
752
|
+
},
|
|
753
|
+
"0xbD48149673724f9cAeE647bb4e9D9dDaF896Efeb": {
|
|
754
|
+
"longPoolAmount": "0xf897f8cafc8e058a105be43424c639853fca5e3483a2b04fc3af4baafa5372f6",
|
|
755
|
+
"shortPoolAmount": "0xf897f8cafc8e058a105be43424c639853fca5e3483a2b04fc3af4baafa5372f6",
|
|
756
|
+
"positionImpactPoolAmount": "0x53bbdd5ffe14c52e6c0f0918709f6a1263cb297ea4386bd7535f44bf781a1b9d",
|
|
757
|
+
"swapImpactPoolAmountLong": "0x6e889f53f338210a09a8f5e107cf1a4b4c6bcd0c2874767ea0775a11319b9ccd",
|
|
758
|
+
"swapImpactPoolAmountShort": "0x6e889f53f338210a09a8f5e107cf1a4b4c6bcd0c2874767ea0775a11319b9ccd",
|
|
759
|
+
"longInterestUsingLongToken": "0xf97838f448b213e06c5c32ac5c6e5f3afde5db2f40db253b66494ef7564981cc",
|
|
760
|
+
"longInterestUsingShortToken": "0xf97838f448b213e06c5c32ac5c6e5f3afde5db2f40db253b66494ef7564981cc",
|
|
761
|
+
"shortInterestUsingLongToken": "0x277a02779e60cf9fd9ec01e9aced36c5ff90e77c7c0876a46450f6d3e1c1174e",
|
|
762
|
+
"shortInterestUsingShortToken": "0x277a02779e60cf9fd9ec01e9aced36c5ff90e77c7c0876a46450f6d3e1c1174e",
|
|
763
|
+
"longInterestInTokensUsingLongToken": "0xb8f8bdab112b9ba39ea434d894cd72df024541f5545cfc8db6b668f44350edc7",
|
|
764
|
+
"longInterestInTokensUsingShortToken": "0xb8f8bdab112b9ba39ea434d894cd72df024541f5545cfc8db6b668f44350edc7",
|
|
765
|
+
"shortInterestInTokensUsingLongToken": "0x8b9b7026d459adbeeda4211ac8a081cf90799260dfb625ba509cffad126a991f",
|
|
766
|
+
"shortInterestInTokensUsingShortToken": "0x8b9b7026d459adbeeda4211ac8a081cf90799260dfb625ba509cffad126a991f"
|
|
767
|
+
},
|
|
768
|
+
"0x784292E87715d93afD7cb8C941BacaFAAA9A5102": {
|
|
769
|
+
"longPoolAmount": "0xd87c927192995f4bfa7330502810de95241986aac55eb403a926303f13b3fcdc",
|
|
770
|
+
"shortPoolAmount": "0x8cd6f61f208538b3a052f34d5df4ece136ce1679382ce0eebcff8bc82a33c933",
|
|
771
|
+
"positionImpactPoolAmount": "0x3cf004e019d8ef61564425a7a7334246424f4bafd754f8bdbd8c0e3cb29c59bf",
|
|
772
|
+
"swapImpactPoolAmountLong": "0x64f7ed8c8bea5b5fdb289d52037c8267f09934b74f0ea8bb5903449bd801b7b9",
|
|
773
|
+
"swapImpactPoolAmountShort": "0xed91eec5b8de6b26c4463deb815c11e7ec392fc987ca2acf0034e4c052fd36f0",
|
|
774
|
+
"longInterestUsingLongToken": "0x1b7aa245534dcfb26eb9e49c4b77c4c660bd8c5ce75b08f930382b909f8fa1ca",
|
|
775
|
+
"longInterestUsingShortToken": "0x10435a8aa6c6da06c6940b949db0e6fbaab00d4b2b9275c030e5f1b95a05b814",
|
|
776
|
+
"shortInterestUsingLongToken": "0x4529af22abb50a73e16ee51e514f55d19edfaf00225d771ccc518f59a0f53670",
|
|
777
|
+
"shortInterestUsingShortToken": "0x34e1d3d86f07f597c4857fd617f89490f327d8a49d4f075265c89e1558f14ac5",
|
|
778
|
+
"longInterestInTokensUsingLongToken": "0x9517197c2a913a2ca0bbc20af4a669c93b829ea18feda84034cb7f969c48da71",
|
|
779
|
+
"longInterestInTokensUsingShortToken": "0x82ea25cb6d5c485bff92c97c002c90a20d1d9cb98b9b39b7821c7d988f23e8fb",
|
|
780
|
+
"shortInterestInTokensUsingLongToken": "0xf6edb24922b240f9da628d3d3b1b1ddaa36c49791f03b9462fde4ec84af84c05",
|
|
781
|
+
"shortInterestInTokensUsingShortToken": "0xc4509ea8aea39f46bf2a3a6ddd153b34113715b63778ef9c84258adf8c5387ab"
|
|
782
|
+
},
|
|
783
|
+
"0xcaCb964144f9056A8f99447a303E60b4873Ca9B4": {
|
|
784
|
+
"longPoolAmount": "0xba41a2d1eab59461df2eeaf430bebffa4ee202638dc4684f9531744eae60d5da",
|
|
785
|
+
"shortPoolAmount": "0xd42b1b0ee5f74c1f8df834c0870f033868151c7ebf9c2a60dd016cf607732c3f",
|
|
786
|
+
"positionImpactPoolAmount": "0xd4ae82c32320ea5488a2570d0498b5f9c30180eaece09e70ec380fec3b92a801",
|
|
787
|
+
"swapImpactPoolAmountLong": "0x106919ee4d121f2c9caef136856e63bebce80465bc89f53be881b7e94c6a2096",
|
|
788
|
+
"swapImpactPoolAmountShort": "0xb7b2fc39accb68485d6d8418eb0968b240911e357acb1fc4edb35041ed57905b",
|
|
789
|
+
"longInterestUsingLongToken": "0x0b27dead0348b924f3468b1c995c5790e37e5ef2f70625aa7c29cec6632ca1ba",
|
|
790
|
+
"longInterestUsingShortToken": "0xe606007385d62e949ec7ecaa2365623622e89cfcfd5d51128baec6849fcf4a74",
|
|
791
|
+
"shortInterestUsingLongToken": "0xd70baa0718e0dacfd0eebb4e70f5cea09607861ea9f3813609f0dc58c7ec288d",
|
|
792
|
+
"shortInterestUsingShortToken": "0xe8e53ee9a7052e2ec9eaa7955dde4ff0f7280f8e044b57de0ab4bf9cdd5cdfea",
|
|
793
|
+
"longInterestInTokensUsingLongToken": "0xd2b450db3c2e42266ddd2c2dfab52915144fd6468ac4f4eb9e913e817c207521",
|
|
794
|
+
"longInterestInTokensUsingShortToken": "0xfd0e6749e44afde4ecb7f67716a736c0e3da390019338009f49b72539c444fe0",
|
|
795
|
+
"shortInterestInTokensUsingLongToken": "0x13a211661eb38b0ba59bf3db4f51969dc709d456ea776e90bce50e7a509f1fb6",
|
|
796
|
+
"shortInterestInTokensUsingShortToken": "0x6c8ef6d88ccae1a529e5a3d06fa3311fd36084183cc8312dea627bf99abe046e"
|
|
797
|
+
},
|
|
798
|
+
"0x62feB8Ec060A7dE5b32BbbF4AC70050f8a043C17": {
|
|
799
|
+
"longPoolAmount": "0xf5057ced6998302db94ba9922320cf196ae2746981a7da23e6708ddcc76e4cee",
|
|
800
|
+
"shortPoolAmount": "0x1e61b7426ec0d00da8ed8716121fc8d82c0d4b815a0282bb4a18e6fcdefc84ee",
|
|
801
|
+
"positionImpactPoolAmount": "0x38032d2be0a7d79c013c5654981efe95a3423eee9263e71d0bbd986599cbf65e",
|
|
802
|
+
"swapImpactPoolAmountLong": "0x2e4dc631f4f641cc08e294e3ab54e7cfd2e5d769d47962b0d5793bff5c67bd4e",
|
|
803
|
+
"swapImpactPoolAmountShort": "0xfaaf08920f2447775c63ecbe94d2309fb63b25d83702bd2ccd3c07e4634080fa",
|
|
804
|
+
"longInterestUsingLongToken": "0xabffd0e3ca0f4095db14d04c6e8a8b134106b81e569e4a8a2097ad7746a01fa7",
|
|
805
|
+
"longInterestUsingShortToken": "0x77cc5699f4bd52f3308aa5e18bef2b5c59bdfa9ae65a0cd1007d187e31b4b30f",
|
|
806
|
+
"shortInterestUsingLongToken": "0xa921e7a064c13cf9a25642183f9a76b62fb5d5104504c21600808eb6f9dc9525",
|
|
807
|
+
"shortInterestUsingShortToken": "0x6543bf93038e5a729e595a657eca1f9825dfe2ca5e3ba99eb1e8f09f2f3800f3",
|
|
808
|
+
"longInterestInTokensUsingLongToken": "0x41d3667a746c9379211fa69ce8136b126b44a99d5c78aa501d6c73e8663bb675",
|
|
809
|
+
"longInterestInTokensUsingShortToken": "0x2396baf24e75014175eb6414c826eb64c23bfa156e83ca7f5a8e2fb266aac403",
|
|
810
|
+
"shortInterestInTokensUsingLongToken": "0x1669702c5a98675e9d12163e7781793f5f7bfda43c2c8af9ff1128b735bf0997",
|
|
811
|
+
"shortInterestInTokensUsingShortToken": "0x304ab8ccead76e2712d7c43d6b491d21b76731bc93c21a7edfb40278b8181e58"
|
|
812
|
+
},
|
|
813
|
+
"0x7B2D09fca2395713dcc2F67323e4876F27b9ecB2": {
|
|
814
|
+
"longPoolAmount": "0xb18860544e17224dd557b0d759fb5dd289a4969cd5eb89d505992304a40c243e",
|
|
815
|
+
"shortPoolAmount": "0x2fce84e380a1ad56d2690c1746d73f8553633b748d843ae7f6757579abafc701",
|
|
816
|
+
"positionImpactPoolAmount": "0x315ee157398ef22b4238e4c09d4688ae5d2d7885065e89d23d09ace26ec62767",
|
|
817
|
+
"swapImpactPoolAmountLong": "0x89fe29c2885a2c3c8524ada2114e80f6716467c32b2f7525e01252aa4c1ee83e",
|
|
818
|
+
"swapImpactPoolAmountShort": "0x85b4e5562a6cb435b9c5b74626e0d2b78dadc4c61783f4978cf402fcd843ab63",
|
|
819
|
+
"longInterestUsingLongToken": "0xcf156ee7a85cbb4856e6ba455b11b1eb1f1a453a0d7709eb0c89ae4c10d07c4f",
|
|
820
|
+
"longInterestUsingShortToken": "0x817809eac63b06c956a223a0b304f53e187d35e3b212fff71a88a3dc1c4e159d",
|
|
821
|
+
"shortInterestUsingLongToken": "0x8b9a133a3a1ec1f80ec0e5d013215bdff8ac633a93f6e6c06b5ac18de0cbcc16",
|
|
822
|
+
"shortInterestUsingShortToken": "0x94c220f4df7b6ddfd0cf5abcd770be6ad4d81bf669f9470b336ba376631ef0de",
|
|
823
|
+
"longInterestInTokensUsingLongToken": "0xf655590510bc01e37dc308507f053444b28ee8e818f565fa7ed843c381d6e57b",
|
|
824
|
+
"longInterestInTokensUsingShortToken": "0x0098ecf8092706f1b9e32954c06b592632bfa32dccb3baf442ef541c963398c8",
|
|
825
|
+
"shortInterestInTokensUsingLongToken": "0x21bc8fb851e1da2031bbd914a82ba2a6dce070c902ba5beeec1bc370c3873df8",
|
|
826
|
+
"shortInterestInTokensUsingShortToken": "0xab7264e1586e36d6be4c632ebbe47c1c3d3610c6a6b9be9b5ed5ef90d4eb15c8"
|
|
827
|
+
},
|
|
828
|
+
"0xdc4e96A251Ff43Eeac710462CD8A9D18Dc802F18": {
|
|
829
|
+
"longPoolAmount": "0x074d19b279a69d4df03b8def18c5065b9fa7035d30ce98d5a28c205d8e8731b2",
|
|
830
|
+
"shortPoolAmount": "0x447fc1337c9238bf385375379ea4377091330ecc6cc5978c8f0399852d8eb6f5",
|
|
831
|
+
"positionImpactPoolAmount": "0x85e9dbc6674b944072e37d1660a7040ff580f1c40704aab8c56b118925ddcada",
|
|
832
|
+
"swapImpactPoolAmountLong": "0x8292726590be38b1c5f067f20d2287b5f73d564b4ccf3c9aec5ed9d297931266",
|
|
833
|
+
"swapImpactPoolAmountShort": "0xfb257e912c524bcca1cdba522565a7bc6a3ca560722952628320da94a0ce249b",
|
|
834
|
+
"longInterestUsingLongToken": "0xd39e4b5ed51b0b3eebd15e418694c3d8b102b2b5325e028d3c4294a246aeaab2",
|
|
835
|
+
"longInterestUsingShortToken": "0x85a3e578860e86547bb805a4c35a8b3e9596ba30cdf8bfd38c68d4ca0266a032",
|
|
836
|
+
"shortInterestUsingLongToken": "0x545f4c6d87c3b9cb558b54453e5d0263da70a582905858fa820440e1fd55007d",
|
|
837
|
+
"shortInterestUsingShortToken": "0x6579226aed371d1eb623369ef1b8df88809fb845a0bd7d8553f5c91d2c3a8fa4",
|
|
838
|
+
"longInterestInTokensUsingLongToken": "0x15525483bce9b2da4b7ff9a4a675dc43e741bdd313bd868276ec273152d93ac1",
|
|
839
|
+
"longInterestInTokensUsingShortToken": "0xee3dcd85d18870c61e8967d84c4adbc69eed4e08200f46d92bb20a15585990e7",
|
|
840
|
+
"shortInterestInTokensUsingLongToken": "0x3297ece5761ba1c6c3b338e1ea065ee04c320f27b7534c229c6f6c57e061b5fb",
|
|
841
|
+
"shortInterestInTokensUsingShortToken": "0xdc4f3945eb7d2c8ae4d24348b5bea1976e51f7e7df2a8326b376f9557dd490df"
|
|
842
|
+
},
|
|
843
|
+
"0xe902D1526c834D5001575b2d0Ef901dfD0aa097A": {
|
|
844
|
+
"longPoolAmount": "0xd738249a08638dcd887c722a2e17757e9ddf15a427cd4765c0e109193ecbe3db",
|
|
845
|
+
"shortPoolAmount": "0x7650babca97c8931b351c748e83b790639721e09deea78f4138f8bd5168f4f46",
|
|
846
|
+
"positionImpactPoolAmount": "0x1baaa7a7e24630a01ccaff642bb9f1523b17b21f8b06336087ca7352fc84745e",
|
|
847
|
+
"swapImpactPoolAmountLong": "0x7ada7c0cfcd911a9fcd8b41adfea67906bc6e9ba3472721e5dd40c357c94eeb9",
|
|
848
|
+
"swapImpactPoolAmountShort": "0x8a9a1a6a44f7608db84945f7afbfecfbcaf2a614d3499941c874fd1966280b94",
|
|
849
|
+
"longInterestUsingLongToken": "0xc3324d1cba171cd1db7b8856a89326c7abf2804a4203910e4446506806ff83b1",
|
|
850
|
+
"longInterestUsingShortToken": "0x380c1d485ff0517a7d46edc7f44d47d83b4cb66d611f1a2d4db23b36fe300b51",
|
|
851
|
+
"shortInterestUsingLongToken": "0x195d8c7fe92335193498406cc7878879981e025f5faf883bfef93ca065467cbc",
|
|
852
|
+
"shortInterestUsingShortToken": "0xd695c1a54dba8be8b413cdaf73308b249e6073bbb5ffde64eeadfc260f75593e",
|
|
853
|
+
"longInterestInTokensUsingLongToken": "0x7c133243d76f6632e31c3ae74d336f8edb4d7743c80eafd2a3a6496bee7d011a",
|
|
854
|
+
"longInterestInTokensUsingShortToken": "0x7df09a41caaa6e0e80d2e22adfede47e21b725d180c7c3499de76076af052ec2",
|
|
855
|
+
"shortInterestInTokensUsingLongToken": "0x7a5c1f08f134a1cde4c73a94bf812d6e8e2027ef52850248f73fb06877bc118d",
|
|
856
|
+
"shortInterestInTokensUsingShortToken": "0x6c5f8d068e793028f0273830e29a070a7465c4095bf7aff2fb781e243973b0b1"
|
|
857
|
+
},
|
|
858
|
+
"0x4c505e0062459cf8F60FfF13279c92ea15aE6e2D": {
|
|
859
|
+
"longPoolAmount": "0x58d104ee9694b2dac56a8282f9333a0ec0ca835ad4b1703faa6231a836a299f1",
|
|
860
|
+
"shortPoolAmount": "0x40b6bd8964bea74036bee572959efae3255dabe253038d518ca45cd0911db7ff",
|
|
861
|
+
"positionImpactPoolAmount": "0x8a68160b41463c01e2cc59c3e1175ad298c476d3ba624d649994c66b39484b20",
|
|
862
|
+
"swapImpactPoolAmountLong": "0xc96f522321f20163f7fc98afd072f101737fcd4724f8954c547a5dc06ee80823",
|
|
863
|
+
"swapImpactPoolAmountShort": "0x35e7f17e8f3c77e6e9b6ca65169e80c1808bc9d844cf40e183847f6a420e12b7",
|
|
864
|
+
"longInterestUsingLongToken": "0x8b97f00d71a5b31c3e8e42d69fe6d89f49ab23d39c80c94c76a25191c34f9e25",
|
|
865
|
+
"longInterestUsingShortToken": "0x535425c022f3ef7b99beee735e16677b554a9246ff9b115d9d7b94480c7c394c",
|
|
866
|
+
"shortInterestUsingLongToken": "0x0427aea8db9ab2fe8df1ca0ffdbf614e3bac4092198e6678417507cb273ded96",
|
|
867
|
+
"shortInterestUsingShortToken": "0x24bb0155f938dac8e5043901b3bde5fc754d80f04444d069bf83499a18871cba",
|
|
868
|
+
"longInterestInTokensUsingLongToken": "0xd717655fbf3721ee73d1886e61e1d6669e5851778e76639806f132f8507372ae",
|
|
869
|
+
"longInterestInTokensUsingShortToken": "0xccb0f7fa1b27162994f8e0c9c38fe4d345d4df689c8f972e3c09b7fd234f3c4b",
|
|
870
|
+
"shortInterestInTokensUsingLongToken": "0xfbccc80945bc9b71ffceb5761a21c713d337831970609a0def4153662be81701",
|
|
871
|
+
"shortInterestInTokensUsingShortToken": "0xfbe24d9b16096412e052e6a55d11b7735a1f606bcb3f17ecd44dca062d57eb0e"
|
|
872
|
+
},
|
|
873
|
+
"0xf22CFFA7B4174554FF9dBf7B5A8c01FaaDceA722": {
|
|
874
|
+
"longPoolAmount": "0x1f489be0ff56b401de7c0fa9ad7d4334a3586a65e2fa63558f637ebb81a0ce27",
|
|
875
|
+
"shortPoolAmount": "0x1f489be0ff56b401de7c0fa9ad7d4334a3586a65e2fa63558f637ebb81a0ce27",
|
|
876
|
+
"positionImpactPoolAmount": "0xcb5d185c3bed671bc7a51ef9a86022a5bcd518c0b1e35ebe1682a6b8ed26be22",
|
|
877
|
+
"swapImpactPoolAmountLong": "0xf2d7422a372d36f819482d7ac2bc3f2ee0dec76f12341d2f1b5cf12339ab51f9",
|
|
878
|
+
"swapImpactPoolAmountShort": "0xf2d7422a372d36f819482d7ac2bc3f2ee0dec76f12341d2f1b5cf12339ab51f9",
|
|
879
|
+
"longInterestUsingLongToken": "0x0e1386304c7e669c9a9e65ac2570486dd95103a4a00e22c479ee76e076d63d85",
|
|
880
|
+
"longInterestUsingShortToken": "0x0e1386304c7e669c9a9e65ac2570486dd95103a4a00e22c479ee76e076d63d85",
|
|
881
|
+
"shortInterestUsingLongToken": "0x00f57e6805757aa5ee5ffec6a79c0aae4139eb14808bba49d416e19145f548c1",
|
|
882
|
+
"shortInterestUsingShortToken": "0x00f57e6805757aa5ee5ffec6a79c0aae4139eb14808bba49d416e19145f548c1",
|
|
883
|
+
"longInterestInTokensUsingLongToken": "0x3b3298a9ff062485b4aec5e29fe817392b126b61660a6ec493466b37de36ad0b",
|
|
884
|
+
"longInterestInTokensUsingShortToken": "0x3b3298a9ff062485b4aec5e29fe817392b126b61660a6ec493466b37de36ad0b",
|
|
885
|
+
"shortInterestInTokensUsingLongToken": "0xc66ade048fb04f592c54c2417ebd4c4b7e98cb3d07cc7b030e3dd2475db5a9c1",
|
|
886
|
+
"shortInterestInTokensUsingShortToken": "0xc66ade048fb04f592c54c2417ebd4c4b7e98cb3d07cc7b030e3dd2475db5a9c1"
|
|
887
|
+
},
|
|
888
|
+
"0x262B5203f0fe00D9fe86ffecE01D0f54fC116180": {
|
|
889
|
+
"longPoolAmount": "0xba6dc84524be53a7b3b68cd771c134548a5b3d1a62496d9638e93b62f53e2237",
|
|
890
|
+
"shortPoolAmount": "0xff705e5e3bfd05ee07040655e4a121acc268d463b5ce83e72e39b24eb8839856",
|
|
891
|
+
"positionImpactPoolAmount": "0x595febce6cbc5d114f40b60ad14d8cfcd5c7da2efc7306d52517c73e520d75fb",
|
|
892
|
+
"swapImpactPoolAmountLong": "0x05a7a1a6235a08145268e0b80c92bc834b0af977046df77018217954879f4886",
|
|
893
|
+
"swapImpactPoolAmountShort": "0x1277446dd8a247f4cfc7c6eaded8fa8d5731888a9f36e3c581899e8f19071d94",
|
|
894
|
+
"longInterestUsingLongToken": "0x5a05ae6104663496ea6883e8a8b87a2a7663bd778c4a55d701e16ffd2690a8cd",
|
|
895
|
+
"longInterestUsingShortToken": "0xa46e6ca09cf5099c0cb35a6041e4390455b8921fdbcbad6915159c60aa1cad19",
|
|
896
|
+
"shortInterestUsingLongToken": "0x256f57a3b822c7fe57032572913dab83712111401a855a29be384bda6f1137df",
|
|
897
|
+
"shortInterestUsingShortToken": "0x6a348affdd733253296568b8f73d9458c0f2e407794d7193bc025202bb20a746",
|
|
898
|
+
"longInterestInTokensUsingLongToken": "0x96677dbaf0ab264323b6ac38be19ce7041c18addf6e331235dfd4d50d5989154",
|
|
899
|
+
"longInterestInTokensUsingShortToken": "0x14f339c76f04621b9ba15768d956b9a222125ad2b853794298c5c7eecd4e22f0",
|
|
900
|
+
"shortInterestInTokensUsingLongToken": "0x781c00d9f9a188b6173b99ed7a04104754daf7bcc9bda9f9227e5cb787c0e0cc",
|
|
901
|
+
"shortInterestInTokensUsingShortToken": "0x62d44383e14f1701c86a8900747d74284de95144d266b776d5037ca0d0426b1a"
|
|
587
902
|
}
|
|
588
903
|
},
|
|
589
904
|
"43113": {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MarketConfigMulticallRequestConfig, MarketValuesMulticallRequestConfig } from "../modules/markets/types";
|
|
1
|
+
import { MarketConfigMulticallRequestConfig, MarketValuesMulticallRequestConfig, KinkModelMarketRateMulticallRequestConfig } from "../modules/markets/types";
|
|
2
2
|
type HashedMarketValuesKeys = Omit<Record<keyof MarketValuesMulticallRequestConfig[`${string}-dataStore`]["calls"], string>, "claimableFundingAmountLong" | "claimableFundingAmountShort">;
|
|
3
3
|
declare const HASHED_MARKET_VALUES_KEYS: {
|
|
4
4
|
[chainId: number]: {
|
|
@@ -11,4 +11,10 @@ declare const HASHED_MARKET_CONFIG_KEYS: {
|
|
|
11
11
|
[marketToken: string]: HashedMarketConfigKeys;
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
|
|
14
|
+
type HashedKinkModelMarketRatesConfigKeys = Record<keyof KinkModelMarketRateMulticallRequestConfig[`${string}-dataStore`]["calls"], string>;
|
|
15
|
+
declare const HASHED_KINK_MODEL_MARKET_RATES_KEYS: {
|
|
16
|
+
[chainId: number]: {
|
|
17
|
+
[marketToken: string]: HashedKinkModelMarketRatesConfigKeys;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export { HASHED_MARKET_VALUES_KEYS, HASHED_MARKET_CONFIG_KEYS, HASHED_KINK_MODEL_MARKET_RATES_KEYS };
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import hashedMarketValuesKeysJson from "./hashedMarketValuesKeys.json";
|
|
6
6
|
import hashedMarketConfigKeysJson from "./hashedMarketConfigKeys.json";
|
|
7
|
+
import hashedKinkModelMarketRatesKeys from "./hashedKinkModelMarketRatesKeys.json";
|
|
7
8
|
const HASHED_MARKET_VALUES_KEYS = hashedMarketValuesKeysJson;
|
|
8
9
|
const HASHED_MARKET_CONFIG_KEYS = hashedMarketConfigKeysJson;
|
|
9
|
-
|
|
10
|
+
const HASHED_KINK_MODEL_MARKET_RATES_KEYS = hashedKinkModelMarketRatesKeys;
|
|
11
|
+
export { HASHED_MARKET_VALUES_KEYS, HASHED_MARKET_CONFIG_KEYS, HASHED_KINK_MODEL_MARKET_RATES_KEYS };
|
|
@@ -4,7 +4,13 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import hashedMarketValuesKeysJson from "./hashedMarketValuesKeys.json";
|
|
6
6
|
import hashedMarketConfigKeysJson from "./hashedMarketConfigKeys.json";
|
|
7
|
-
import
|
|
7
|
+
import hashedKinkModelMarketRatesKeys from "./hashedKinkModelMarketRatesKeys.json";
|
|
8
|
+
|
|
9
|
+
import {
|
|
10
|
+
MarketConfigMulticallRequestConfig,
|
|
11
|
+
MarketValuesMulticallRequestConfig,
|
|
12
|
+
KinkModelMarketRateMulticallRequestConfig,
|
|
13
|
+
} from "modules/markets/types";
|
|
8
14
|
|
|
9
15
|
type HashedMarketValuesKeys = Omit<
|
|
10
16
|
Record<keyof MarketValuesMulticallRequestConfig[`${string}-dataStore`]["calls"], string>,
|
|
@@ -25,4 +31,15 @@ const HASHED_MARKET_CONFIG_KEYS: {
|
|
|
25
31
|
};
|
|
26
32
|
} = hashedMarketConfigKeysJson;
|
|
27
33
|
|
|
28
|
-
|
|
34
|
+
type HashedKinkModelMarketRatesConfigKeys = Record<
|
|
35
|
+
keyof KinkModelMarketRateMulticallRequestConfig[`${string}-dataStore`]["calls"],
|
|
36
|
+
string
|
|
37
|
+
>;
|
|
38
|
+
|
|
39
|
+
const HASHED_KINK_MODEL_MARKET_RATES_KEYS: {
|
|
40
|
+
[chainId: number]: {
|
|
41
|
+
[marketToken: string]: HashedKinkModelMarketRatesConfigKeys;
|
|
42
|
+
};
|
|
43
|
+
} = hashedKinkModelMarketRatesKeys;
|
|
44
|
+
|
|
45
|
+
export { HASHED_MARKET_VALUES_KEYS, HASHED_MARKET_CONFIG_KEYS, HASHED_KINK_MODEL_MARKET_RATES_KEYS };
|
|
@@ -17,8 +17,7 @@ export type SwapFeeItem = FeeItem & {
|
|
|
17
17
|
tokenOutAddress: string;
|
|
18
18
|
};
|
|
19
19
|
export type GasLimitsConfig = {
|
|
20
|
-
|
|
21
|
-
depositMultiToken: bigint;
|
|
20
|
+
depositToken: bigint;
|
|
22
21
|
withdrawalMultiToken: bigint;
|
|
23
22
|
shift: bigint;
|
|
24
23
|
singleSwap: bigint;
|
|
@@ -38,7 +38,7 @@ export type Order = {
|
|
|
38
38
|
initialCollateralDeltaAmount: bigint;
|
|
39
39
|
minOutputAmount: bigint;
|
|
40
40
|
sizeDeltaUsd: bigint;
|
|
41
|
-
|
|
41
|
+
updatedAtTime: bigint;
|
|
42
42
|
isFrozen: boolean;
|
|
43
43
|
isLong: boolean;
|
|
44
44
|
orderType: OrderType;
|
|
@@ -47,7 +47,7 @@ export type Order = {
|
|
|
47
47
|
autoCancel: boolean;
|
|
48
48
|
};
|
|
49
49
|
export type SwapOrderInfo = Order & {
|
|
50
|
-
title
|
|
50
|
+
title?: string;
|
|
51
51
|
swapPathStats?: SwapPathStats;
|
|
52
52
|
triggerRatio?: TokensRatio;
|
|
53
53
|
initialCollateralToken: TokenData;
|
|
@@ -11,8 +11,8 @@ export type Position = {
|
|
|
11
11
|
sizeInTokens: bigint;
|
|
12
12
|
collateralAmount: bigint;
|
|
13
13
|
pendingBorrowingFeesUsd: bigint;
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
increasedAtTime: bigint;
|
|
15
|
+
decreasedAtTime: bigint;
|
|
16
16
|
isLong: boolean;
|
|
17
17
|
fundingFeeAmount: bigint;
|
|
18
18
|
claimableLongTokenAmount: bigint;
|
package/build/src/types/sdk.d.ts
CHANGED
|
@@ -10,10 +10,10 @@ export interface GmxSdkConfig {
|
|
|
10
10
|
oracleUrl: string;
|
|
11
11
|
/** Blockhain RPC URL */
|
|
12
12
|
rpcUrl: string;
|
|
13
|
-
/** GMX
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
/** GMX Subsquid URL */
|
|
14
|
+
subsquidUrl: string;
|
|
15
|
+
/** GMX Subgraph Synthetics Stats URL */
|
|
16
|
+
subgraphUrl: string;
|
|
17
17
|
/** Custom viem's public and private client */
|
|
18
18
|
publicClient?: PublicClient;
|
|
19
19
|
walletClient?: WalletClient;
|
|
@@ -28,7 +28,7 @@ export type PositionIncreaseEvent = {
|
|
|
28
28
|
isLong: boolean;
|
|
29
29
|
orderType: OrderType;
|
|
30
30
|
orderKey: string;
|
|
31
|
-
|
|
31
|
+
increasedAtTime: bigint;
|
|
32
32
|
};
|
|
33
33
|
export type PositionDecreaseEvent = {
|
|
34
34
|
positionKey: string;
|
|
@@ -49,7 +49,7 @@ export type PositionDecreaseEvent = {
|
|
|
49
49
|
isLong: boolean;
|
|
50
50
|
orderType: OrderType;
|
|
51
51
|
orderKey: string;
|
|
52
|
-
|
|
52
|
+
decreasedAtTime: bigint;
|
|
53
53
|
};
|
|
54
54
|
export type PendingPositionUpdate = {
|
|
55
55
|
isIncrease: boolean;
|
|
@@ -58,7 +58,7 @@ export type PendingPositionUpdate = {
|
|
|
58
58
|
sizeDeltaInTokens: bigint;
|
|
59
59
|
collateralDeltaAmount: bigint;
|
|
60
60
|
updatedAt: number;
|
|
61
|
-
|
|
61
|
+
updatedAtTime: bigint;
|
|
62
62
|
};
|
|
63
63
|
export type PendingPositionsUpdates = {
|
|
64
64
|
[key: string]: PendingPositionUpdate | undefined;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export type TokenCategory = "meme" | "layer1" | "layer2" | "defi";
|
|
1
2
|
export type Token = {
|
|
2
3
|
name: string;
|
|
3
4
|
symbol: string;
|
|
@@ -6,6 +7,8 @@ export type Token = {
|
|
|
6
7
|
decimals: number;
|
|
7
8
|
address: string;
|
|
8
9
|
priceDecimals?: number;
|
|
10
|
+
visualMultiplier?: number;
|
|
11
|
+
visualPrefix?: string;
|
|
9
12
|
wrappedAddress?: string;
|
|
10
13
|
coingeckoUrl?: string;
|
|
11
14
|
coingeckoSymbol?: string;
|
|
@@ -14,6 +17,7 @@ export type Token = {
|
|
|
14
17
|
explorerUrl?: string;
|
|
15
18
|
reservesUrl?: string;
|
|
16
19
|
imageUrl?: string;
|
|
20
|
+
categories?: TokenCategory[];
|
|
17
21
|
isUsdg?: boolean;
|
|
18
22
|
isNative?: boolean;
|
|
19
23
|
isWrapped?: boolean;
|
|
@@ -11,15 +11,11 @@ export declare function getExecutionFee(sdk: GmxSdk, gasLimits: GasLimitsConfig,
|
|
|
11
11
|
export declare function estimateExecuteDepositGasLimit(gasLimits: GasLimitsConfig, deposit: {
|
|
12
12
|
longTokenSwapsCount?: number;
|
|
13
13
|
shortTokenSwapsCount?: number;
|
|
14
|
-
initialLongTokenAmount?: bigint;
|
|
15
|
-
initialShortTokenAmount?: bigint;
|
|
16
14
|
callbackGasLimit?: bigint;
|
|
17
15
|
}): bigint;
|
|
18
|
-
export declare function estimateExecuteGlvDepositGasLimit(gasLimits: GasLimitsConfig, { marketsCount, isMarketTokenDeposit,
|
|
16
|
+
export declare function estimateExecuteGlvDepositGasLimit(gasLimits: GasLimitsConfig, { marketsCount, isMarketTokenDeposit, }: {
|
|
19
17
|
isMarketTokenDeposit: any;
|
|
20
18
|
marketsCount: bigint;
|
|
21
|
-
initialLongTokenAmount: bigint;
|
|
22
|
-
initialShortTokenAmount: bigint;
|
|
23
19
|
}): bigint;
|
|
24
20
|
export declare function estimateExecuteGlvWithdrawalGasLimit(gasLimits: GasLimitsConfig, { marketsCount, }: {
|
|
25
21
|
marketsCount: bigint;
|
|
@@ -36,15 +36,9 @@ export function estimateExecuteDepositGasLimit(gasLimits, deposit) {
|
|
|
36
36
|
const gasPerSwap = gasLimits.singleSwap;
|
|
37
37
|
const swapsCount = BigInt((deposit.longTokenSwapsCount ?? 0) + (deposit.shortTokenSwapsCount ?? 0));
|
|
38
38
|
const gasForSwaps = swapsCount * gasPerSwap;
|
|
39
|
-
|
|
40
|
-
deposit.initialLongTokenAmount === 0n ||
|
|
41
|
-
deposit.initialShortTokenAmount === undefined ||
|
|
42
|
-
deposit.initialShortTokenAmount === 0n) {
|
|
43
|
-
return gasLimits.depositSingleToken + (deposit.callbackGasLimit ?? 0n) + gasForSwaps;
|
|
44
|
-
}
|
|
45
|
-
return gasLimits.depositMultiToken + (deposit.callbackGasLimit ?? 0n) + gasForSwaps;
|
|
39
|
+
return gasLimits.depositToken + (deposit.callbackGasLimit ?? 0n) + gasForSwaps;
|
|
46
40
|
}
|
|
47
|
-
export function estimateExecuteGlvDepositGasLimit(gasLimits, { marketsCount, isMarketTokenDeposit,
|
|
41
|
+
export function estimateExecuteGlvDepositGasLimit(gasLimits, { marketsCount, isMarketTokenDeposit, }) {
|
|
48
42
|
const gasPerGlvPerMarket = gasLimits.glvPerMarketGasLimit;
|
|
49
43
|
const gasForGlvMarkets = gasPerGlvPerMarket * marketsCount;
|
|
50
44
|
const glvDepositGasLimit = gasLimits.glvDepositGasLimit;
|
|
@@ -52,10 +46,7 @@ export function estimateExecuteGlvDepositGasLimit(gasLimits, { marketsCount, isM
|
|
|
52
46
|
if (isMarketTokenDeposit) {
|
|
53
47
|
return gasLimit;
|
|
54
48
|
}
|
|
55
|
-
|
|
56
|
-
return gasLimit + gasLimits.depositSingleToken;
|
|
57
|
-
}
|
|
58
|
-
return gasLimit + gasLimits.depositMultiToken;
|
|
49
|
+
return gasLimit + gasLimits.depositToken;
|
|
59
50
|
}
|
|
60
51
|
export function estimateExecuteGlvWithdrawalGasLimit(gasLimits, { marketsCount, }) {
|
|
61
52
|
const gasPerGlvPerMarket = gasLimits.glvPerMarketGasLimit;
|
|
@@ -11,8 +11,3 @@ export declare function updateByKey<T>(obj: {
|
|
|
11
11
|
export declare function getByKey<T>(obj?: {
|
|
12
12
|
[key: string]: T;
|
|
13
13
|
}, key?: string): T | undefined;
|
|
14
|
-
export declare function getMatchingValueFromObject(obj?: {
|
|
15
|
-
[key: string]: string;
|
|
16
|
-
} | string[], value?: string): string | undefined;
|
|
17
|
-
export declare const EMPTY_OBJECT: {};
|
|
18
|
-
export declare const EMPTY_ARRAY: never[];
|
|
@@ -11,20 +11,3 @@ export function getByKey(obj, key) {
|
|
|
11
11
|
return undefined;
|
|
12
12
|
return obj[key];
|
|
13
13
|
}
|
|
14
|
-
export function getMatchingValueFromObject(obj, value) {
|
|
15
|
-
if (!obj || !value)
|
|
16
|
-
return;
|
|
17
|
-
if (Array.isArray(obj)) {
|
|
18
|
-
const matchingValue = obj.find((item) => item.toLowerCase() === value.toLowerCase());
|
|
19
|
-
return matchingValue;
|
|
20
|
-
}
|
|
21
|
-
else {
|
|
22
|
-
for (const key in obj) {
|
|
23
|
-
if (obj[key].toLowerCase() === value.toLowerCase()) {
|
|
24
|
-
return obj[key];
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
export const EMPTY_OBJECT = {};
|
|
30
|
-
export const EMPTY_ARRAY = [];
|
|
@@ -71,18 +71,10 @@ export function getOrderInfo(p) {
|
|
|
71
71
|
fromTokenAmount: order.initialCollateralDeltaAmount,
|
|
72
72
|
toTokenAmount: toAmount,
|
|
73
73
|
});
|
|
74
|
-
// const title = getSwapOrderTitle({
|
|
75
|
-
// initialCollateralToken,
|
|
76
|
-
// targetCollateralToken,
|
|
77
|
-
// minOutputAmount: order.minOutputAmount,
|
|
78
|
-
// initialCollateralAmount: order.initialCollateralDeltaAmount,
|
|
79
|
-
// });
|
|
80
|
-
const title = "TODO";
|
|
81
74
|
const orderInfo = {
|
|
82
75
|
...order,
|
|
83
76
|
swapPathStats,
|
|
84
77
|
triggerRatio,
|
|
85
|
-
title,
|
|
86
78
|
initialCollateralToken,
|
|
87
79
|
targetCollateralToken,
|
|
88
80
|
};
|