@gmx-io/sdk 1.5.0-alpha-9 → 1.5.0-alpha-11
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/build/cjs/scripts/subsquid-codegen.js +1 -1
- package/build/cjs/src/clients/v2/__tests__/data.spec.js +85 -0
- package/build/cjs/src/clients/v2/__tests__/decrease.spec.js +484 -0
- package/build/cjs/src/clients/v2/__tests__/editCancel.spec.js +260 -0
- package/build/cjs/src/clients/v2/__tests__/errors.spec.js +263 -0
- package/build/cjs/src/clients/v2/__tests__/increase.spec.js +777 -0
- package/build/cjs/src/clients/v2/__tests__/subaccount.spec.js +74 -0
- package/build/cjs/src/clients/v2/__tests__/swap.spec.js +192 -0
- package/build/cjs/src/clients/v2/__tests__/testUtil.js +135 -0
- package/build/cjs/src/clients/v2/index.js +171 -27
- package/build/cjs/src/codegen/prebuilt/hashedKinkModelMarketRatesKeys.json +48 -0
- package/build/cjs/src/codegen/prebuilt/hashedMarketConfigKeys.json +1082 -0
- package/build/cjs/src/codegen/prebuilt/hashedMarketValuesKeys.json +90 -0
- package/build/cjs/src/codegen/subsquid.js +323 -1
- package/build/cjs/src/configs/api.js +17 -5
- package/build/cjs/src/configs/chains.js +11 -1
- package/build/cjs/src/configs/contracts.js +7 -7
- package/build/cjs/src/configs/markets.js +43 -1
- package/build/cjs/src/configs/tokens.js +63 -132
- package/build/cjs/src/test/mock.js +1 -1
- package/build/cjs/src/utils/__tests__/markets.spec.js +10 -0
- package/build/cjs/src/utils/__tests__/orderTransactions/decreaseOrders.spec.js +2 -0
- package/build/cjs/src/utils/__tests__/orderTransactions/increaseOrders.spec.js +2 -0
- package/build/cjs/src/utils/__tests__/orderTransactions/swapOrders.spec.js +1 -0
- package/build/cjs/src/utils/__tests__/positions.spec.js +59 -7
- package/build/cjs/src/utils/__tests__/uiFeeReceiver.spec.js +34 -0
- package/build/cjs/src/utils/balances/api.js +63 -0
- package/build/cjs/src/utils/buyback/api.js +7 -0
- package/build/cjs/src/utils/buyback/types.js +2 -0
- package/build/cjs/src/utils/errors/index.js +1 -0
- package/build/cjs/src/utils/errors/isIgnoredEstimateGasError.js +23 -0
- package/build/cjs/src/utils/express/index.js +18 -0
- package/build/cjs/src/utils/express/types.js +2 -0
- package/build/cjs/src/utils/express/utils/batchOrderUtils.js +218 -0
- package/build/cjs/src/utils/express/utils/bridgeOutUtils.js +73 -0
- package/build/cjs/src/utils/express/utils/estimateExpressParams.js +243 -0
- package/build/cjs/src/utils/express/utils/expressParamsUtils.js +22 -0
- package/build/cjs/src/utils/express/utils/fetchGelatoGasTankBalance.js +13 -0
- package/build/cjs/src/utils/express/utils/gelatoRelayUtils.js +77 -0
- package/build/cjs/src/utils/express/utils/globalExpressParams.js +40 -0
- package/build/cjs/src/utils/express/utils/index.js +27 -0
- package/build/cjs/src/utils/express/utils/oracleParamsUtils.js +49 -0
- package/build/cjs/src/utils/express/utils/referralUtils.js +35 -0
- package/build/cjs/src/utils/express/utils/relayParamsUtils.js +201 -0
- package/build/cjs/src/utils/fees/executionFee.js +8 -1
- package/build/cjs/src/utils/fees/priceImpact.js +1 -2
- package/build/cjs/src/utils/http/http.js +86 -13
- package/build/cjs/src/utils/http/httpFallback.js +65 -0
- package/build/cjs/src/utils/markets/__tests__/mockMarkets.js +4 -0
- package/build/cjs/src/utils/markets/hashKeys.js +16 -0
- package/build/cjs/src/utils/markets/multicall.js +20 -0
- package/build/cjs/src/utils/markets/utils.js +8 -0
- package/build/cjs/src/utils/metrics/index.js +7 -0
- package/build/cjs/src/utils/numbers/utils.js +29 -27
- package/build/cjs/src/utils/orderTransactions/api.js +88 -0
- package/build/cjs/src/utils/orderTransactions/index.js +1 -0
- package/build/cjs/src/utils/orderTransactions/utils.js +4 -1
- package/build/cjs/src/utils/orderTransactions/validateTypedData.js +89 -0
- package/build/cjs/src/utils/positions/utils.js +5 -19
- package/build/cjs/src/utils/rpc/createViemRpc.js +39 -0
- package/build/cjs/src/utils/rpc/index.js +5 -0
- package/build/cjs/src/utils/signer/index.js +5 -0
- package/build/cjs/src/utils/signer/privateKeySigner.js +42 -0
- package/build/cjs/src/utils/subaccount/api.js +22 -0
- package/build/cjs/src/utils/subaccount/generateSubaccount.js +19 -0
- package/build/cjs/src/utils/subaccount/getEmptySubaccountApproval.js +24 -0
- package/build/cjs/src/utils/subaccount/getSubaccountApprovalTypedData.js +46 -0
- package/build/cjs/src/utils/subaccount/hashSubaccountApproval.js +28 -0
- package/build/cjs/src/utils/subaccount/index.js +30 -0
- package/build/cjs/src/utils/subaccount/types.js +2 -0
- package/build/cjs/src/utils/swap/__tests__/mockRouting.spec.js +49 -0
- package/build/cjs/src/utils/swap/__tests__/swapStats.spec.js +63 -0
- package/build/cjs/src/utils/swap/buildSwapStrategy.js +10 -2
- package/build/cjs/src/utils/swap/swapRouting.js +7 -2
- package/build/cjs/src/utils/swap/swapStats.js +90 -6
- package/build/cjs/src/utils/swap/swapValues.js +8 -2
- package/build/cjs/src/utils/trade/increase.js +7 -1
- package/build/cjs/src/utils/trade/types.js +1 -1
- package/build/cjs/src/utils/tradeHistory/utils.js +14 -28
- package/build/cjs/src/utils/twap/index.js +4 -1
- package/build/cjs/src/utils/twap/uiFeeReceiver.js +23 -7
- package/build/esm/scripts/subsquid-codegen.js +1 -1
- package/build/esm/src/clients/v2/__tests__/data.spec.js +83 -0
- package/build/esm/src/clients/v2/__tests__/decrease.spec.js +482 -0
- package/build/esm/src/clients/v2/__tests__/editCancel.spec.js +258 -0
- package/build/esm/src/clients/v2/__tests__/errors.spec.js +261 -0
- package/build/esm/src/clients/v2/__tests__/increase.spec.js +775 -0
- package/build/esm/src/clients/v2/__tests__/subaccount.spec.js +72 -0
- package/build/esm/src/clients/v2/__tests__/swap.spec.js +190 -0
- package/build/esm/src/clients/v2/__tests__/testUtil.js +123 -0
- package/build/esm/src/clients/v2/index.js +145 -5
- package/build/esm/src/codegen/prebuilt/hashedKinkModelMarketRatesKeys.json +48 -0
- package/build/esm/src/codegen/prebuilt/hashedMarketConfigKeys.json +1082 -0
- package/build/esm/src/codegen/prebuilt/hashedMarketValuesKeys.json +90 -0
- package/build/esm/src/codegen/subsquid.js +321 -0
- package/build/esm/src/configs/api.js +15 -4
- package/build/esm/src/configs/chains.js +11 -1
- package/build/esm/src/configs/contracts.js +7 -7
- package/build/esm/src/configs/markets.js +43 -1
- package/build/esm/src/configs/tokens.js +62 -130
- package/build/esm/src/test/mock.js +1 -1
- package/build/esm/src/utils/__tests__/markets.spec.js +10 -0
- package/build/esm/src/utils/__tests__/orderTransactions/decreaseOrders.spec.js +2 -0
- package/build/esm/src/utils/__tests__/orderTransactions/increaseOrders.spec.js +2 -0
- package/build/esm/src/utils/__tests__/orderTransactions/swapOrders.spec.js +1 -0
- package/build/esm/src/utils/__tests__/positions.spec.js +60 -8
- package/build/esm/src/utils/__tests__/uiFeeReceiver.spec.js +35 -1
- package/build/esm/src/utils/balances/api.js +54 -0
- package/build/esm/src/utils/buyback/api.js +3 -0
- package/build/esm/src/utils/buyback/types.js +1 -0
- package/build/esm/src/utils/errors/index.js +1 -0
- package/build/esm/src/utils/errors/isIgnoredEstimateGasError.js +19 -0
- package/build/esm/src/utils/express/index.js +2 -0
- package/build/esm/src/utils/express/types.js +1 -0
- package/build/esm/src/utils/express/utils/batchOrderUtils.js +210 -0
- package/build/esm/src/utils/express/utils/bridgeOutUtils.js +69 -0
- package/build/esm/src/utils/express/utils/estimateExpressParams.js +237 -0
- package/build/esm/src/utils/express/utils/expressParamsUtils.js +16 -0
- package/build/esm/src/utils/express/utils/fetchGelatoGasTankBalance.js +9 -0
- package/build/esm/src/utils/express/utils/gelatoRelayUtils.js +71 -0
- package/build/esm/src/utils/express/utils/globalExpressParams.js +36 -0
- package/build/esm/src/utils/express/utils/index.js +11 -0
- package/build/esm/src/utils/express/utils/oracleParamsUtils.js +42 -0
- package/build/esm/src/utils/express/utils/referralUtils.js +30 -0
- package/build/esm/src/utils/express/utils/relayParamsUtils.js +192 -0
- package/build/esm/src/utils/fees/executionFee.js +6 -0
- package/build/esm/src/utils/fees/priceImpact.js +1 -2
- package/build/esm/src/utils/http/http.js +84 -12
- package/build/esm/src/utils/http/httpFallback.js +61 -0
- package/build/esm/src/utils/markets/__tests__/mockMarkets.js +4 -0
- package/build/esm/src/utils/markets/hashKeys.js +17 -1
- package/build/esm/src/utils/markets/multicall.js +20 -0
- package/build/esm/src/utils/markets/utils.js +8 -0
- package/build/esm/src/utils/metrics/index.js +4 -0
- package/build/esm/src/utils/numbers/utils.js +25 -24
- package/build/esm/src/utils/orderTransactions/api.js +77 -0
- package/build/esm/src/utils/orderTransactions/index.js +1 -0
- package/build/esm/src/utils/orderTransactions/utils.js +4 -1
- package/build/esm/src/utils/orderTransactions/validateTypedData.js +84 -0
- package/build/esm/src/utils/positions/utils.js +5 -19
- package/build/esm/src/utils/rpc/createViemRpc.js +35 -0
- package/build/esm/src/utils/rpc/index.js +1 -0
- package/build/esm/src/utils/signer/index.js +1 -0
- package/build/esm/src/utils/signer/privateKeySigner.js +38 -0
- package/build/esm/src/utils/subaccount/api.js +16 -0
- package/build/esm/src/utils/subaccount/generateSubaccount.js +15 -0
- package/build/esm/src/utils/subaccount/getEmptySubaccountApproval.js +20 -0
- package/build/esm/src/utils/subaccount/getSubaccountApprovalTypedData.js +42 -0
- package/build/esm/src/utils/subaccount/hashSubaccountApproval.js +24 -0
- package/build/esm/src/utils/subaccount/index.js +6 -0
- package/build/esm/src/utils/subaccount/types.js +1 -0
- package/build/esm/src/utils/swap/__tests__/mockRouting.spec.js +49 -0
- package/build/esm/src/utils/swap/__tests__/swapStats.spec.js +64 -1
- package/build/esm/src/utils/swap/buildSwapStrategy.js +10 -2
- package/build/esm/src/utils/swap/swapRouting.js +7 -2
- package/build/esm/src/utils/swap/swapStats.js +90 -7
- package/build/esm/src/utils/swap/swapValues.js +8 -2
- package/build/esm/src/utils/trade/increase.js +7 -1
- package/build/esm/src/utils/trade/types.js +1 -1
- package/build/esm/src/utils/tradeHistory/utils.js +13 -26
- package/build/esm/src/utils/twap/index.js +1 -0
- package/build/esm/src/utils/twap/uiFeeReceiver.js +20 -6
- package/build/types/src/clients/v2/__tests__/data.spec.d.ts +1 -0
- package/build/types/src/clients/v2/__tests__/decrease.spec.d.ts +1 -0
- package/build/types/src/clients/v2/__tests__/editCancel.spec.d.ts +1 -0
- package/build/types/src/clients/v2/__tests__/errors.spec.d.ts +1 -0
- package/build/types/src/clients/v2/__tests__/increase.spec.d.ts +1 -0
- package/build/types/src/clients/v2/__tests__/subaccount.spec.d.ts +1 -0
- package/build/types/src/clients/v2/__tests__/swap.spec.d.ts +1 -0
- package/build/types/src/clients/v2/__tests__/testUtil.d.ts +24 -0
- package/build/types/src/clients/v2/index.d.ts +62 -1
- package/build/types/src/codegen/prebuilt/index.d.ts +1220 -0
- package/build/types/src/codegen/subsquid.d.ts +1276 -44
- package/build/types/src/configs/api.d.ts +1 -0
- package/build/types/src/configs/chains.d.ts +10 -1
- package/build/types/src/configs/contracts.d.ts +6 -6
- package/build/types/src/configs/tokens.d.ts +6 -1
- package/build/types/src/utils/balances/api.d.ts +39 -0
- package/build/types/src/utils/buyback/api.d.ts +5 -0
- package/build/types/src/utils/buyback/types.d.ts +15 -0
- package/build/types/src/utils/chains/types.d.ts +1 -0
- package/build/types/src/utils/errors/index.d.ts +1 -0
- package/build/types/src/utils/errors/isIgnoredEstimateGasError.d.ts +2 -0
- package/build/types/src/utils/express/index.d.ts +2 -0
- package/build/types/src/utils/express/types.d.ts +95 -0
- package/build/types/src/utils/express/utils/batchOrderUtils.d.ts +98 -0
- package/build/types/src/utils/express/utils/bridgeOutUtils.d.ts +21 -0
- package/build/types/src/utils/express/utils/estimateExpressParams.d.ts +37 -0
- package/build/types/src/utils/express/utils/expressParamsUtils.d.ts +19 -0
- package/build/types/src/utils/express/utils/fetchGelatoGasTankBalance.d.ts +5 -0
- package/build/types/src/utils/express/utils/gelatoRelayUtils.d.ts +25 -0
- package/build/types/src/utils/express/utils/globalExpressParams.d.ts +31 -0
- package/build/types/src/utils/express/utils/index.d.ts +11 -0
- package/build/types/src/utils/express/utils/oracleParamsUtils.d.ts +10 -0
- package/build/types/src/utils/express/utils/referralUtils.d.ts +17 -0
- package/build/types/src/utils/express/utils/relayParamsUtils.d.ts +49 -0
- package/build/types/src/utils/fees/executionFee.d.ts +1 -0
- package/build/types/src/utils/http/http.d.ts +16 -1
- package/build/types/src/utils/http/httpFallback.d.ts +18 -0
- package/build/types/src/utils/http/types.d.ts +3 -0
- package/build/types/src/utils/markets/types.d.ts +5 -1
- package/build/types/src/utils/metrics/index.d.ts +4 -0
- package/build/types/src/utils/numbers/utils.d.ts +2 -5
- package/build/types/src/utils/orderTransactions/api.d.ts +158 -0
- package/build/types/src/utils/orderTransactions/index.d.ts +1 -0
- package/build/types/src/utils/orderTransactions/validateTypedData.d.ts +6 -0
- package/build/types/src/utils/positions/utils.d.ts +1 -9
- package/build/types/src/utils/rpc/createViemRpc.d.ts +3 -0
- package/build/types/src/utils/rpc/index.d.ts +26 -0
- package/build/types/src/utils/signer/index.d.ts +23 -0
- package/build/types/src/utils/signer/privateKeySigner.d.ts +19 -0
- package/build/types/src/utils/subaccount/api.d.ts +51 -0
- package/build/types/src/utils/subaccount/generateSubaccount.d.ts +8 -0
- package/build/types/src/utils/subaccount/getEmptySubaccountApproval.d.ts +9 -0
- package/build/types/src/utils/subaccount/getSubaccountApprovalTypedData.d.ts +24 -0
- package/build/types/src/utils/subaccount/hashSubaccountApproval.d.ts +1 -0
- package/build/types/src/utils/subaccount/index.d.ts +7 -0
- package/build/types/src/utils/subaccount/types.d.ts +55 -0
- package/build/types/src/utils/swap/buildSwapStrategy.d.ts +6 -2
- package/build/types/src/utils/swap/swapStats.d.ts +14 -0
- package/build/types/src/utils/swap/swapValues.d.ts +4 -0
- package/build/types/src/utils/tokens/types.d.ts +0 -1
- package/build/types/src/utils/trade/increase.d.ts +2 -0
- package/build/types/src/utils/trade/types.d.ts +2 -1
- package/build/types/src/utils/tradeHistory/utils.d.ts +0 -1
- package/build/types/src/utils/twap/index.d.ts +1 -0
- package/build/types/src/utils/twap/types.d.ts +2 -0
- package/build/types/src/utils/twap/uiFeeReceiver.d.ts +10 -2
- package/package.json +40 -3
|
@@ -2013,6 +2013,36 @@
|
|
|
2013
2013
|
"longInterestInTokensUsingShortToken": "0xeb269d71e081bf2b8dcfb8834ee3093dd40be8f0e7f8294788eac2341c8e8721",
|
|
2014
2014
|
"shortInterestInTokensUsingLongToken": "0xf9ec3ba3959fd87d0f62b6a6eb7fdc5a938039f26edd2352a26ece95ab48a395",
|
|
2015
2015
|
"shortInterestInTokensUsingShortToken": "0x11338fd0f7b5e20b9c8b84ab34b92f667f3576670902aada7f61b8975d6b23f0"
|
|
2016
|
+
},
|
|
2017
|
+
"0x0Df2BE76F517BCF0000AbfFcB6344B3b2aC4Cc4f": {
|
|
2018
|
+
"longPoolAmount": "0x87d3f0db634b16124e2fd459eacf23d4a0b4629249cae480c240ef8f37d938f2",
|
|
2019
|
+
"shortPoolAmount": "0xae3684288cf1ede2bb3e76d7df856e150c8b28cc367418496d6585dddf9b1390",
|
|
2020
|
+
"positionImpactPoolAmount": "0x112e05e1baaa68169605d877d3edb9ae5a1ac198f84a7ee113488f66dac19cea",
|
|
2021
|
+
"swapImpactPoolAmountLong": "0xa1568a4a433ebda607e305e4b3c89637e6eb88ddf7a40742494af6727bc72dc0",
|
|
2022
|
+
"swapImpactPoolAmountShort": "0x444a3768bc52187ae3778664d578749626db226f3c550c35ac47b5f15bc1978a",
|
|
2023
|
+
"longInterestUsingLongToken": "0xa1042de1ed4181b13b565b9da747604e8967e7abb380c501f3bc67d9038f33ad",
|
|
2024
|
+
"longInterestUsingShortToken": "0xf83d2943e6edfcebd8fd573c853804d4817e799d0516fda9220032837eac0fd3",
|
|
2025
|
+
"shortInterestUsingLongToken": "0xd1ab4e7056b509ae793a2d6d98d68762089b78b82630ce6c0ce3c3abb546de0a",
|
|
2026
|
+
"shortInterestUsingShortToken": "0xd3bb5a5a3d6ef8447d6850b7f1c52924a2c340003f738f2222e41b8a95e750ed",
|
|
2027
|
+
"longInterestInTokensUsingLongToken": "0x2e26581682b98f074261d6bbbc338458f3a6a33f5d6be7ec81dc543d940a24d4",
|
|
2028
|
+
"longInterestInTokensUsingShortToken": "0x38dd03e591c25f1ff0e038ecee5e3bf0306cff484149cbf9102b37116eb4314c",
|
|
2029
|
+
"shortInterestInTokensUsingLongToken": "0x6b26ea5058f96fa1c8ae4389df206036c9b7a6ebc5d4be79b3e4976361e527dc",
|
|
2030
|
+
"shortInterestInTokensUsingShortToken": "0xcbc5e53bdb4aaa6ca9511818d77dbbccfeec01935452928e6bf63dc153ae3d34"
|
|
2031
|
+
},
|
|
2032
|
+
"0x448Fa722717df299ee197E2F6d8EB7911EFF6cEc": {
|
|
2033
|
+
"longPoolAmount": "0x1aa8c8422db6c18c9210a535dd2f2e33b00114a1389a9a2a9f805f46de3ead4f",
|
|
2034
|
+
"shortPoolAmount": "0x7bc7a5aa922e3a1507d086743da3b2b79b4b8501689de17ef2c60bc821ea4a86",
|
|
2035
|
+
"positionImpactPoolAmount": "0xf0057f3a7adec5ee891f107245adffc48703abfc34fe5fc2811c798e49b46c28",
|
|
2036
|
+
"swapImpactPoolAmountLong": "0x28d1996c1f186e63e2447f25031b4bf1db817e49a68a028f044ddbcc69384603",
|
|
2037
|
+
"swapImpactPoolAmountShort": "0xc231dc55ae48f1ff43f6a408a8ffcfa3c11f9a3252f359b556f2ca3454b159cf",
|
|
2038
|
+
"longInterestUsingLongToken": "0x1b3b587fedbbd7a1921c19c75c9302b0a0787628924b5f04cc679b67670f1c00",
|
|
2039
|
+
"longInterestUsingShortToken": "0xadb3b3c75805823411c55ea15644302ecdd30913225f76f7f4172ea8eabf3708",
|
|
2040
|
+
"shortInterestUsingLongToken": "0xffab79807aff79edaeab9c1379eedce574b456df4bee70a38e38f53888b36018",
|
|
2041
|
+
"shortInterestUsingShortToken": "0xf22c90ce573b5cc7833ca4ea970a947479584633d24d45f961a0764d563bb592",
|
|
2042
|
+
"longInterestInTokensUsingLongToken": "0xa38b095cd26da618efc72376047835a98d7c207f7f3aded69136e473d22302ae",
|
|
2043
|
+
"longInterestInTokensUsingShortToken": "0xd893c4fcc594e9a0ce0ab93d266e4e70414b4cd26b53cb0163e7062a5eb685f9",
|
|
2044
|
+
"shortInterestInTokensUsingLongToken": "0x44b4ead85e88e64c9d33a4d1536e7a88dbdd358c34493b750b307e71bd30c389",
|
|
2045
|
+
"shortInterestInTokensUsingShortToken": "0x2b0d7675116aaba49bd90b5bab02e516d56e17c58bc9094856584ef539cbaeab"
|
|
2016
2046
|
}
|
|
2017
2047
|
},
|
|
2018
2048
|
"43113": {
|
|
@@ -2694,6 +2724,66 @@
|
|
|
2694
2724
|
"longInterestInTokensUsingShortToken": "0xf61da26292dbce9b746fcc8438f02fab8e8a28a0d610791c191d64038ece27fc",
|
|
2695
2725
|
"shortInterestInTokensUsingLongToken": "0x4e9ca5ca185f24d2f633d7bc31c3203b976717299efa1596032b0ffab3e8ff32",
|
|
2696
2726
|
"shortInterestInTokensUsingShortToken": "0xfa0bb36ec3ca4732de1401392424dff4ce738063ac80315a014d3fffc4f7bd60"
|
|
2727
|
+
},
|
|
2728
|
+
"0x860F6B4B2F218885935C306B1c782a864ed2d67f": {
|
|
2729
|
+
"longPoolAmount": "0xaa74812765a58ba14daa9a347eff88a3f482da2d9964449e4c60e843dc3cf574",
|
|
2730
|
+
"shortPoolAmount": "0x96d7c8d42f4d3bf9eea7eab2272a2b0a3a56947335230c55dfebcf731deb6694",
|
|
2731
|
+
"positionImpactPoolAmount": "0x00410c9f08eb61cbcf78fafef5ab7fcb57c3ca2f39b7cbd599711d6d9867e189",
|
|
2732
|
+
"swapImpactPoolAmountLong": "0x6a8e6aa904fdec76cbd805e0b5bf62433e6fda198c0bf789419124bc45515b04",
|
|
2733
|
+
"swapImpactPoolAmountShort": "0x0bc66415b240685055bc9e22406c40001f73f0894264b5c3e696cc36e3c3f316",
|
|
2734
|
+
"longInterestUsingLongToken": "0x5f9c7fe3fb444ac05a8895dad3ecbd12acd1476980afcaaa4a4459583d66909e",
|
|
2735
|
+
"longInterestUsingShortToken": "0x1059fabb6fe9b7295984eb18d1ab457f879d66778334c57fc9fef9ffa812cee9",
|
|
2736
|
+
"shortInterestUsingLongToken": "0x38ab51f2f7110ec2c1f62376dafaf9e7c93b7aed64476d6c3376e18a1a21a8fd",
|
|
2737
|
+
"shortInterestUsingShortToken": "0x2782ac94d118f020d5493fcc8b27c98ab671d7a1fda23c061c4ff2f09e8f976f",
|
|
2738
|
+
"longInterestInTokensUsingLongToken": "0x3e691c628a889c01b37e079d7a157e90d45107e58b056a746a68d0e80c3573da",
|
|
2739
|
+
"longInterestInTokensUsingShortToken": "0xd43767405497957d13bf36e5837995156af0df256da5b008aba1fa16b3963df2",
|
|
2740
|
+
"shortInterestInTokensUsingLongToken": "0x907d7cfdb0f6a39ca6c2f582886ef98a03ab991fdbdf8569ce4f0d1854a81fd0",
|
|
2741
|
+
"shortInterestInTokensUsingShortToken": "0x04bf8d88f626b16a03240dcc95cb8c1e8b1296ba020ac388544889e6b2bb8779"
|
|
2742
|
+
},
|
|
2743
|
+
"0x8490D84c29134dA93f434210D76721179C382471": {
|
|
2744
|
+
"longPoolAmount": "0x1d737244c08ea39786e2b47edd089a21df522352a56864f197b0949b49364a45",
|
|
2745
|
+
"shortPoolAmount": "0x72f71dbb6b1534ddfc1cf76f60fec417e3332e306c61d4bb4865c4f2a6f95a50",
|
|
2746
|
+
"positionImpactPoolAmount": "0xf7524b527c66e94dea5434a007f6a1bddb7c58435495be034e8a1aeba85c71b0",
|
|
2747
|
+
"swapImpactPoolAmountLong": "0x8bc79093b0df548d22bba1ca121832fff48f82d5b3eca58ff8e4f476be8523f7",
|
|
2748
|
+
"swapImpactPoolAmountShort": "0x69fabf1a87a993cb040ebc72132231874483725f4b9b9522bf537bc7b151b2e4",
|
|
2749
|
+
"longInterestUsingLongToken": "0xdec66ef0ecc96c3fdf6456331a9a483e86a52ad78e44f0dadcbef62fa605fe93",
|
|
2750
|
+
"longInterestUsingShortToken": "0x2fc4daccd53411a658235da534add0cffd043b9d684f36f7d9a37e43ca56e7a0",
|
|
2751
|
+
"shortInterestUsingLongToken": "0xae4f32f9c16a2e7b91a212b29cbfa281a82e25dac40994f63d0795c6e514c275",
|
|
2752
|
+
"shortInterestUsingShortToken": "0x471091fb2380a5b1a81938f4a03337f1ea6d500061b4c95fc2387e605282f424",
|
|
2753
|
+
"longInterestInTokensUsingLongToken": "0x5dc3037186015a08db562fb0be3a96ceb043b5e7b9e0cda5cfe47c3615628600",
|
|
2754
|
+
"longInterestInTokensUsingShortToken": "0x5031d845d7b2eadfd5264355d6e4d64de5587c3d23950e1e31ecfd1d7ef0c98a",
|
|
2755
|
+
"shortInterestInTokensUsingLongToken": "0x44ef9a0a414f59b2437953b5e6de1d2a207c02210f9ebe379262e4a1c2d126fd",
|
|
2756
|
+
"shortInterestInTokensUsingShortToken": "0x1690ff6db99bb170c7603b99ee537f31f2fe546328f469061714c03855d7be70"
|
|
2757
|
+
},
|
|
2758
|
+
"0x02f0D10977f044d59460B2e71afB8c07Dc7b5E1F": {
|
|
2759
|
+
"longPoolAmount": "0x15f99aad2ca9f5ea10afcd3cefbac2c5c1750f5e4757b5807fb87efc38c99c2a",
|
|
2760
|
+
"shortPoolAmount": "0xf0e3f0c2549249b9fa8a435c50050ae445b63c14812e2ec917b2e65000200375",
|
|
2761
|
+
"positionImpactPoolAmount": "0xf28d02dca9f523fcdddd2f9af40b9b424267a08fa12a8ea1b9848d1b0df283c8",
|
|
2762
|
+
"swapImpactPoolAmountLong": "0x3a140cd572d0e09c4a72607920b98e4c1b4d398ccaf80602e9438cf1af376cc6",
|
|
2763
|
+
"swapImpactPoolAmountShort": "0x11dd32862fe5da5b3f2db84599acec346bca417b4bdb74f2351617bc837d7308",
|
|
2764
|
+
"longInterestUsingLongToken": "0x7089eb6e4c24455e57eb3b12322a09d8b1830242c78dc2db191054d201d60b79",
|
|
2765
|
+
"longInterestUsingShortToken": "0xc25ebfd6803040bef919e39b5c2287727594c791acc08c1fb9e8756d6add19df",
|
|
2766
|
+
"shortInterestUsingLongToken": "0xd8015b397c7a374908e10298545c6b5a5853a39a4c1ad20354c07de183eab057",
|
|
2767
|
+
"shortInterestUsingShortToken": "0xac19d94434821372c2335575d118877061173ae788f873ad2cf2a9f0d5631930",
|
|
2768
|
+
"longInterestInTokensUsingLongToken": "0xcfc885d6a646cd070154ff5bb524f6d0b2a37f2e0026f1977c96b6ef4155864e",
|
|
2769
|
+
"longInterestInTokensUsingShortToken": "0x3b8908e99d0a2247999e5e98ec1bd560f786fa706db8b7de494725ec1c531998",
|
|
2770
|
+
"shortInterestInTokensUsingLongToken": "0x8c60a15380f4e214293fd2bdc2086703601ad3912bf6f9d5964c1b1e670e540e",
|
|
2771
|
+
"shortInterestInTokensUsingShortToken": "0x37c2dc4278e11e5a91b22d9c6511e8fcb8c44638323d19a0971b362f80e067be"
|
|
2772
|
+
},
|
|
2773
|
+
"0x0b0A750812700E9673547134096577D8a79d8108": {
|
|
2774
|
+
"longPoolAmount": "0x43b8e45fac7565b92a170087641d08d47b683199079face771aebcb8711913f9",
|
|
2775
|
+
"shortPoolAmount": "0x2e650753501d06ce791c6abf87c6e6e01f84d8e2725bfe03889e9d4bada6c988",
|
|
2776
|
+
"positionImpactPoolAmount": "0x5a107b2c76b10e3e41d09951d22f03ba18abfbec30fcd198d830057fccf71f79",
|
|
2777
|
+
"swapImpactPoolAmountLong": "0xb36060b3cb38be4ba34f72b6b80f0685d7ade4358e8c7beda1f519f5e0925bad",
|
|
2778
|
+
"swapImpactPoolAmountShort": "0xdd6894d3709923313c0c794c72cc27e84b75e88d42b009050867d610518e636c",
|
|
2779
|
+
"longInterestUsingLongToken": "0x36d06085ddf5cac4fdda648fb0ba5d67666d76897f0a3c9786ffd03b4d114aa3",
|
|
2780
|
+
"longInterestUsingShortToken": "0xf4becc97a6e51838c83d9f4447a92df2f24a40c4eb3dd4c8bb0ba50dcd104200",
|
|
2781
|
+
"shortInterestUsingLongToken": "0x8be1560563ac471c322d6319bbdb4c67b1a12a8b36dd59b79198cdbc8f7e7975",
|
|
2782
|
+
"shortInterestUsingShortToken": "0xb696fc4c59e59cb5660308961b8f5cc1cb242fb9ead4926b9c604d92bf22f116",
|
|
2783
|
+
"longInterestInTokensUsingLongToken": "0x98044f4bdc27e384635ed1433a14e5494eb423cafd836597408337c1286baf6a",
|
|
2784
|
+
"longInterestInTokensUsingShortToken": "0xb25a5085521cac67dd3e8360864998eed951edf0b0a1535f329c470979caca2c",
|
|
2785
|
+
"shortInterestInTokensUsingLongToken": "0x18872ab14dc9f4a92cd1190a4bbe766e17ad9f39cede5cffddad687ffb07e186",
|
|
2786
|
+
"shortInterestInTokensUsingShortToken": "0x809576c9c2f294c9b9129896411a8c2842b3627b9bd3978d7321592d88f5f217"
|
|
2697
2787
|
}
|
|
2698
2788
|
}
|
|
2699
2789
|
}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
export var AccountStatOrderByInput;
|
|
2
2
|
(function (AccountStatOrderByInput) {
|
|
3
|
+
AccountStatOrderByInput["account_ASC"] = "account_ASC";
|
|
4
|
+
AccountStatOrderByInput["account_ASC_NULLS_FIRST"] = "account_ASC_NULLS_FIRST";
|
|
5
|
+
AccountStatOrderByInput["account_ASC_NULLS_LAST"] = "account_ASC_NULLS_LAST";
|
|
6
|
+
AccountStatOrderByInput["account_DESC"] = "account_DESC";
|
|
7
|
+
AccountStatOrderByInput["account_DESC_NULLS_FIRST"] = "account_DESC_NULLS_FIRST";
|
|
8
|
+
AccountStatOrderByInput["account_DESC_NULLS_LAST"] = "account_DESC_NULLS_LAST";
|
|
3
9
|
AccountStatOrderByInput["closedCount_ASC"] = "closedCount_ASC";
|
|
4
10
|
AccountStatOrderByInput["closedCount_ASC_NULLS_FIRST"] = "closedCount_ASC_NULLS_FIRST";
|
|
5
11
|
AccountStatOrderByInput["closedCount_ASC_NULLS_LAST"] = "closedCount_ASC_NULLS_LAST";
|
|
@@ -18,6 +24,12 @@ export var AccountStatOrderByInput;
|
|
|
18
24
|
AccountStatOrderByInput["cumsumSize_DESC"] = "cumsumSize_DESC";
|
|
19
25
|
AccountStatOrderByInput["cumsumSize_DESC_NULLS_FIRST"] = "cumsumSize_DESC_NULLS_FIRST";
|
|
20
26
|
AccountStatOrderByInput["cumsumSize_DESC_NULLS_LAST"] = "cumsumSize_DESC_NULLS_LAST";
|
|
27
|
+
AccountStatOrderByInput["dayTimestamp_ASC"] = "dayTimestamp_ASC";
|
|
28
|
+
AccountStatOrderByInput["dayTimestamp_ASC_NULLS_FIRST"] = "dayTimestamp_ASC_NULLS_FIRST";
|
|
29
|
+
AccountStatOrderByInput["dayTimestamp_ASC_NULLS_LAST"] = "dayTimestamp_ASC_NULLS_LAST";
|
|
30
|
+
AccountStatOrderByInput["dayTimestamp_DESC"] = "dayTimestamp_DESC";
|
|
31
|
+
AccountStatOrderByInput["dayTimestamp_DESC_NULLS_FIRST"] = "dayTimestamp_DESC_NULLS_FIRST";
|
|
32
|
+
AccountStatOrderByInput["dayTimestamp_DESC_NULLS_LAST"] = "dayTimestamp_DESC_NULLS_LAST";
|
|
21
33
|
AccountStatOrderByInput["deposits_ASC"] = "deposits_ASC";
|
|
22
34
|
AccountStatOrderByInput["deposits_ASC_NULLS_FIRST"] = "deposits_ASC_NULLS_FIRST";
|
|
23
35
|
AccountStatOrderByInput["deposits_ASC_NULLS_LAST"] = "deposits_ASC_NULLS_LAST";
|
|
@@ -42,12 +54,30 @@ export var AccountStatOrderByInput;
|
|
|
42
54
|
AccountStatOrderByInput["maxCapital_DESC"] = "maxCapital_DESC";
|
|
43
55
|
AccountStatOrderByInput["maxCapital_DESC_NULLS_FIRST"] = "maxCapital_DESC_NULLS_FIRST";
|
|
44
56
|
AccountStatOrderByInput["maxCapital_DESC_NULLS_LAST"] = "maxCapital_DESC_NULLS_LAST";
|
|
57
|
+
AccountStatOrderByInput["maxNetCapitalRunningDelta_ASC"] = "maxNetCapitalRunningDelta_ASC";
|
|
58
|
+
AccountStatOrderByInput["maxNetCapitalRunningDelta_ASC_NULLS_FIRST"] = "maxNetCapitalRunningDelta_ASC_NULLS_FIRST";
|
|
59
|
+
AccountStatOrderByInput["maxNetCapitalRunningDelta_ASC_NULLS_LAST"] = "maxNetCapitalRunningDelta_ASC_NULLS_LAST";
|
|
60
|
+
AccountStatOrderByInput["maxNetCapitalRunningDelta_DESC"] = "maxNetCapitalRunningDelta_DESC";
|
|
61
|
+
AccountStatOrderByInput["maxNetCapitalRunningDelta_DESC_NULLS_FIRST"] = "maxNetCapitalRunningDelta_DESC_NULLS_FIRST";
|
|
62
|
+
AccountStatOrderByInput["maxNetCapitalRunningDelta_DESC_NULLS_LAST"] = "maxNetCapitalRunningDelta_DESC_NULLS_LAST";
|
|
63
|
+
AccountStatOrderByInput["netCapitalDelta_ASC"] = "netCapitalDelta_ASC";
|
|
64
|
+
AccountStatOrderByInput["netCapitalDelta_ASC_NULLS_FIRST"] = "netCapitalDelta_ASC_NULLS_FIRST";
|
|
65
|
+
AccountStatOrderByInput["netCapitalDelta_ASC_NULLS_LAST"] = "netCapitalDelta_ASC_NULLS_LAST";
|
|
66
|
+
AccountStatOrderByInput["netCapitalDelta_DESC"] = "netCapitalDelta_DESC";
|
|
67
|
+
AccountStatOrderByInput["netCapitalDelta_DESC_NULLS_FIRST"] = "netCapitalDelta_DESC_NULLS_FIRST";
|
|
68
|
+
AccountStatOrderByInput["netCapitalDelta_DESC_NULLS_LAST"] = "netCapitalDelta_DESC_NULLS_LAST";
|
|
45
69
|
AccountStatOrderByInput["netCapital_ASC"] = "netCapital_ASC";
|
|
46
70
|
AccountStatOrderByInput["netCapital_ASC_NULLS_FIRST"] = "netCapital_ASC_NULLS_FIRST";
|
|
47
71
|
AccountStatOrderByInput["netCapital_ASC_NULLS_LAST"] = "netCapital_ASC_NULLS_LAST";
|
|
48
72
|
AccountStatOrderByInput["netCapital_DESC"] = "netCapital_DESC";
|
|
49
73
|
AccountStatOrderByInput["netCapital_DESC_NULLS_FIRST"] = "netCapital_DESC_NULLS_FIRST";
|
|
50
74
|
AccountStatOrderByInput["netCapital_DESC_NULLS_LAST"] = "netCapital_DESC_NULLS_LAST";
|
|
75
|
+
AccountStatOrderByInput["period_ASC"] = "period_ASC";
|
|
76
|
+
AccountStatOrderByInput["period_ASC_NULLS_FIRST"] = "period_ASC_NULLS_FIRST";
|
|
77
|
+
AccountStatOrderByInput["period_ASC_NULLS_LAST"] = "period_ASC_NULLS_LAST";
|
|
78
|
+
AccountStatOrderByInput["period_DESC"] = "period_DESC";
|
|
79
|
+
AccountStatOrderByInput["period_DESC_NULLS_FIRST"] = "period_DESC_NULLS_FIRST";
|
|
80
|
+
AccountStatOrderByInput["period_DESC_NULLS_LAST"] = "period_DESC_NULLS_LAST";
|
|
51
81
|
AccountStatOrderByInput["realizedFees_ASC"] = "realizedFees_ASC";
|
|
52
82
|
AccountStatOrderByInput["realizedFees_ASC_NULLS_FIRST"] = "realizedFees_ASC_NULLS_FIRST";
|
|
53
83
|
AccountStatOrderByInput["realizedFees_ASC_NULLS_LAST"] = "realizedFees_ASC_NULLS_LAST";
|
|
@@ -91,6 +121,84 @@ export var AccountStatOrderByInput;
|
|
|
91
121
|
AccountStatOrderByInput["wins_DESC_NULLS_FIRST"] = "wins_DESC_NULLS_FIRST";
|
|
92
122
|
AccountStatOrderByInput["wins_DESC_NULLS_LAST"] = "wins_DESC_NULLS_LAST";
|
|
93
123
|
})(AccountStatOrderByInput || (AccountStatOrderByInput = {}));
|
|
124
|
+
export var AffiliateReferralTradeStatsByHourOrderByInput;
|
|
125
|
+
(function (AffiliateReferralTradeStatsByHourOrderByInput) {
|
|
126
|
+
AffiliateReferralTradeStatsByHourOrderByInput["affiliate_ASC"] = "affiliate_ASC";
|
|
127
|
+
AffiliateReferralTradeStatsByHourOrderByInput["affiliate_ASC_NULLS_FIRST"] = "affiliate_ASC_NULLS_FIRST";
|
|
128
|
+
AffiliateReferralTradeStatsByHourOrderByInput["affiliate_ASC_NULLS_LAST"] = "affiliate_ASC_NULLS_LAST";
|
|
129
|
+
AffiliateReferralTradeStatsByHourOrderByInput["affiliate_DESC"] = "affiliate_DESC";
|
|
130
|
+
AffiliateReferralTradeStatsByHourOrderByInput["affiliate_DESC_NULLS_FIRST"] = "affiliate_DESC_NULLS_FIRST";
|
|
131
|
+
AffiliateReferralTradeStatsByHourOrderByInput["affiliate_DESC_NULLS_LAST"] = "affiliate_DESC_NULLS_LAST";
|
|
132
|
+
AffiliateReferralTradeStatsByHourOrderByInput["id_ASC"] = "id_ASC";
|
|
133
|
+
AffiliateReferralTradeStatsByHourOrderByInput["id_ASC_NULLS_FIRST"] = "id_ASC_NULLS_FIRST";
|
|
134
|
+
AffiliateReferralTradeStatsByHourOrderByInput["id_ASC_NULLS_LAST"] = "id_ASC_NULLS_LAST";
|
|
135
|
+
AffiliateReferralTradeStatsByHourOrderByInput["id_DESC"] = "id_DESC";
|
|
136
|
+
AffiliateReferralTradeStatsByHourOrderByInput["id_DESC_NULLS_FIRST"] = "id_DESC_NULLS_FIRST";
|
|
137
|
+
AffiliateReferralTradeStatsByHourOrderByInput["id_DESC_NULLS_LAST"] = "id_DESC_NULLS_LAST";
|
|
138
|
+
AffiliateReferralTradeStatsByHourOrderByInput["rebatesUsd_ASC"] = "rebatesUsd_ASC";
|
|
139
|
+
AffiliateReferralTradeStatsByHourOrderByInput["rebatesUsd_ASC_NULLS_FIRST"] = "rebatesUsd_ASC_NULLS_FIRST";
|
|
140
|
+
AffiliateReferralTradeStatsByHourOrderByInput["rebatesUsd_ASC_NULLS_LAST"] = "rebatesUsd_ASC_NULLS_LAST";
|
|
141
|
+
AffiliateReferralTradeStatsByHourOrderByInput["rebatesUsd_DESC"] = "rebatesUsd_DESC";
|
|
142
|
+
AffiliateReferralTradeStatsByHourOrderByInput["rebatesUsd_DESC_NULLS_FIRST"] = "rebatesUsd_DESC_NULLS_FIRST";
|
|
143
|
+
AffiliateReferralTradeStatsByHourOrderByInput["rebatesUsd_DESC_NULLS_LAST"] = "rebatesUsd_DESC_NULLS_LAST";
|
|
144
|
+
AffiliateReferralTradeStatsByHourOrderByInput["timestamp_ASC"] = "timestamp_ASC";
|
|
145
|
+
AffiliateReferralTradeStatsByHourOrderByInput["timestamp_ASC_NULLS_FIRST"] = "timestamp_ASC_NULLS_FIRST";
|
|
146
|
+
AffiliateReferralTradeStatsByHourOrderByInput["timestamp_ASC_NULLS_LAST"] = "timestamp_ASC_NULLS_LAST";
|
|
147
|
+
AffiliateReferralTradeStatsByHourOrderByInput["timestamp_DESC"] = "timestamp_DESC";
|
|
148
|
+
AffiliateReferralTradeStatsByHourOrderByInput["timestamp_DESC_NULLS_FIRST"] = "timestamp_DESC_NULLS_FIRST";
|
|
149
|
+
AffiliateReferralTradeStatsByHourOrderByInput["timestamp_DESC_NULLS_LAST"] = "timestamp_DESC_NULLS_LAST";
|
|
150
|
+
AffiliateReferralTradeStatsByHourOrderByInput["tradesCount_ASC"] = "tradesCount_ASC";
|
|
151
|
+
AffiliateReferralTradeStatsByHourOrderByInput["tradesCount_ASC_NULLS_FIRST"] = "tradesCount_ASC_NULLS_FIRST";
|
|
152
|
+
AffiliateReferralTradeStatsByHourOrderByInput["tradesCount_ASC_NULLS_LAST"] = "tradesCount_ASC_NULLS_LAST";
|
|
153
|
+
AffiliateReferralTradeStatsByHourOrderByInput["tradesCount_DESC"] = "tradesCount_DESC";
|
|
154
|
+
AffiliateReferralTradeStatsByHourOrderByInput["tradesCount_DESC_NULLS_FIRST"] = "tradesCount_DESC_NULLS_FIRST";
|
|
155
|
+
AffiliateReferralTradeStatsByHourOrderByInput["tradesCount_DESC_NULLS_LAST"] = "tradesCount_DESC_NULLS_LAST";
|
|
156
|
+
AffiliateReferralTradeStatsByHourOrderByInput["volumeUsd_ASC"] = "volumeUsd_ASC";
|
|
157
|
+
AffiliateReferralTradeStatsByHourOrderByInput["volumeUsd_ASC_NULLS_FIRST"] = "volumeUsd_ASC_NULLS_FIRST";
|
|
158
|
+
AffiliateReferralTradeStatsByHourOrderByInput["volumeUsd_ASC_NULLS_LAST"] = "volumeUsd_ASC_NULLS_LAST";
|
|
159
|
+
AffiliateReferralTradeStatsByHourOrderByInput["volumeUsd_DESC"] = "volumeUsd_DESC";
|
|
160
|
+
AffiliateReferralTradeStatsByHourOrderByInput["volumeUsd_DESC_NULLS_FIRST"] = "volumeUsd_DESC_NULLS_FIRST";
|
|
161
|
+
AffiliateReferralTradeStatsByHourOrderByInput["volumeUsd_DESC_NULLS_LAST"] = "volumeUsd_DESC_NULLS_LAST";
|
|
162
|
+
})(AffiliateReferralTradeStatsByHourOrderByInput || (AffiliateReferralTradeStatsByHourOrderByInput = {}));
|
|
163
|
+
export var AffiliateTraderStatsByHourOrderByInput;
|
|
164
|
+
(function (AffiliateTraderStatsByHourOrderByInput) {
|
|
165
|
+
AffiliateTraderStatsByHourOrderByInput["affiliate_ASC"] = "affiliate_ASC";
|
|
166
|
+
AffiliateTraderStatsByHourOrderByInput["affiliate_ASC_NULLS_FIRST"] = "affiliate_ASC_NULLS_FIRST";
|
|
167
|
+
AffiliateTraderStatsByHourOrderByInput["affiliate_ASC_NULLS_LAST"] = "affiliate_ASC_NULLS_LAST";
|
|
168
|
+
AffiliateTraderStatsByHourOrderByInput["affiliate_DESC"] = "affiliate_DESC";
|
|
169
|
+
AffiliateTraderStatsByHourOrderByInput["affiliate_DESC_NULLS_FIRST"] = "affiliate_DESC_NULLS_FIRST";
|
|
170
|
+
AffiliateTraderStatsByHourOrderByInput["affiliate_DESC_NULLS_LAST"] = "affiliate_DESC_NULLS_LAST";
|
|
171
|
+
AffiliateTraderStatsByHourOrderByInput["id_ASC"] = "id_ASC";
|
|
172
|
+
AffiliateTraderStatsByHourOrderByInput["id_ASC_NULLS_FIRST"] = "id_ASC_NULLS_FIRST";
|
|
173
|
+
AffiliateTraderStatsByHourOrderByInput["id_ASC_NULLS_LAST"] = "id_ASC_NULLS_LAST";
|
|
174
|
+
AffiliateTraderStatsByHourOrderByInput["id_DESC"] = "id_DESC";
|
|
175
|
+
AffiliateTraderStatsByHourOrderByInput["id_DESC_NULLS_FIRST"] = "id_DESC_NULLS_FIRST";
|
|
176
|
+
AffiliateTraderStatsByHourOrderByInput["id_DESC_NULLS_LAST"] = "id_DESC_NULLS_LAST";
|
|
177
|
+
AffiliateTraderStatsByHourOrderByInput["timestamp_ASC"] = "timestamp_ASC";
|
|
178
|
+
AffiliateTraderStatsByHourOrderByInput["timestamp_ASC_NULLS_FIRST"] = "timestamp_ASC_NULLS_FIRST";
|
|
179
|
+
AffiliateTraderStatsByHourOrderByInput["timestamp_ASC_NULLS_LAST"] = "timestamp_ASC_NULLS_LAST";
|
|
180
|
+
AffiliateTraderStatsByHourOrderByInput["timestamp_DESC"] = "timestamp_DESC";
|
|
181
|
+
AffiliateTraderStatsByHourOrderByInput["timestamp_DESC_NULLS_FIRST"] = "timestamp_DESC_NULLS_FIRST";
|
|
182
|
+
AffiliateTraderStatsByHourOrderByInput["timestamp_DESC_NULLS_LAST"] = "timestamp_DESC_NULLS_LAST";
|
|
183
|
+
AffiliateTraderStatsByHourOrderByInput["tradersGained_ASC"] = "tradersGained_ASC";
|
|
184
|
+
AffiliateTraderStatsByHourOrderByInput["tradersGained_ASC_NULLS_FIRST"] = "tradersGained_ASC_NULLS_FIRST";
|
|
185
|
+
AffiliateTraderStatsByHourOrderByInput["tradersGained_ASC_NULLS_LAST"] = "tradersGained_ASC_NULLS_LAST";
|
|
186
|
+
AffiliateTraderStatsByHourOrderByInput["tradersGained_DESC"] = "tradersGained_DESC";
|
|
187
|
+
AffiliateTraderStatsByHourOrderByInput["tradersGained_DESC_NULLS_FIRST"] = "tradersGained_DESC_NULLS_FIRST";
|
|
188
|
+
AffiliateTraderStatsByHourOrderByInput["tradersGained_DESC_NULLS_LAST"] = "tradersGained_DESC_NULLS_LAST";
|
|
189
|
+
AffiliateTraderStatsByHourOrderByInput["tradersLost_ASC"] = "tradersLost_ASC";
|
|
190
|
+
AffiliateTraderStatsByHourOrderByInput["tradersLost_ASC_NULLS_FIRST"] = "tradersLost_ASC_NULLS_FIRST";
|
|
191
|
+
AffiliateTraderStatsByHourOrderByInput["tradersLost_ASC_NULLS_LAST"] = "tradersLost_ASC_NULLS_LAST";
|
|
192
|
+
AffiliateTraderStatsByHourOrderByInput["tradersLost_DESC"] = "tradersLost_DESC";
|
|
193
|
+
AffiliateTraderStatsByHourOrderByInput["tradersLost_DESC_NULLS_FIRST"] = "tradersLost_DESC_NULLS_FIRST";
|
|
194
|
+
AffiliateTraderStatsByHourOrderByInput["tradersLost_DESC_NULLS_LAST"] = "tradersLost_DESC_NULLS_LAST";
|
|
195
|
+
AffiliateTraderStatsByHourOrderByInput["tradersNet_ASC"] = "tradersNet_ASC";
|
|
196
|
+
AffiliateTraderStatsByHourOrderByInput["tradersNet_ASC_NULLS_FIRST"] = "tradersNet_ASC_NULLS_FIRST";
|
|
197
|
+
AffiliateTraderStatsByHourOrderByInput["tradersNet_ASC_NULLS_LAST"] = "tradersNet_ASC_NULLS_LAST";
|
|
198
|
+
AffiliateTraderStatsByHourOrderByInput["tradersNet_DESC"] = "tradersNet_DESC";
|
|
199
|
+
AffiliateTraderStatsByHourOrderByInput["tradersNet_DESC_NULLS_FIRST"] = "tradersNet_DESC_NULLS_FIRST";
|
|
200
|
+
AffiliateTraderStatsByHourOrderByInput["tradersNet_DESC_NULLS_LAST"] = "tradersNet_DESC_NULLS_LAST";
|
|
201
|
+
})(AffiliateTraderStatsByHourOrderByInput || (AffiliateTraderStatsByHourOrderByInput = {}));
|
|
94
202
|
export var AprSnapshotOrderByInput;
|
|
95
203
|
(function (AprSnapshotOrderByInput) {
|
|
96
204
|
AprSnapshotOrderByInput["address_ASC"] = "address_ASC";
|
|
@@ -1480,6 +1588,33 @@ export var MultichainSamechainFundingEventOrderByInput;
|
|
|
1480
1588
|
MultichainSamechainFundingEventOrderByInput["txHash_DESC_NULLS_FIRST"] = "txHash_DESC_NULLS_FIRST";
|
|
1481
1589
|
MultichainSamechainFundingEventOrderByInput["txHash_DESC_NULLS_LAST"] = "txHash_DESC_NULLS_LAST";
|
|
1482
1590
|
})(MultichainSamechainFundingEventOrderByInput || (MultichainSamechainFundingEventOrderByInput = {}));
|
|
1591
|
+
export var NetworkStakingPowerOrderByInput;
|
|
1592
|
+
(function (NetworkStakingPowerOrderByInput) {
|
|
1593
|
+
NetworkStakingPowerOrderByInput["id_ASC"] = "id_ASC";
|
|
1594
|
+
NetworkStakingPowerOrderByInput["id_ASC_NULLS_FIRST"] = "id_ASC_NULLS_FIRST";
|
|
1595
|
+
NetworkStakingPowerOrderByInput["id_ASC_NULLS_LAST"] = "id_ASC_NULLS_LAST";
|
|
1596
|
+
NetworkStakingPowerOrderByInput["id_DESC"] = "id_DESC";
|
|
1597
|
+
NetworkStakingPowerOrderByInput["id_DESC_NULLS_FIRST"] = "id_DESC_NULLS_FIRST";
|
|
1598
|
+
NetworkStakingPowerOrderByInput["id_DESC_NULLS_LAST"] = "id_DESC_NULLS_LAST";
|
|
1599
|
+
NetworkStakingPowerOrderByInput["lastUpdateTimestamp_ASC"] = "lastUpdateTimestamp_ASC";
|
|
1600
|
+
NetworkStakingPowerOrderByInput["lastUpdateTimestamp_ASC_NULLS_FIRST"] = "lastUpdateTimestamp_ASC_NULLS_FIRST";
|
|
1601
|
+
NetworkStakingPowerOrderByInput["lastUpdateTimestamp_ASC_NULLS_LAST"] = "lastUpdateTimestamp_ASC_NULLS_LAST";
|
|
1602
|
+
NetworkStakingPowerOrderByInput["lastUpdateTimestamp_DESC"] = "lastUpdateTimestamp_DESC";
|
|
1603
|
+
NetworkStakingPowerOrderByInput["lastUpdateTimestamp_DESC_NULLS_FIRST"] = "lastUpdateTimestamp_DESC_NULLS_FIRST";
|
|
1604
|
+
NetworkStakingPowerOrderByInput["lastUpdateTimestamp_DESC_NULLS_LAST"] = "lastUpdateTimestamp_DESC_NULLS_LAST";
|
|
1605
|
+
NetworkStakingPowerOrderByInput["totalAccumulatedPower_ASC"] = "totalAccumulatedPower_ASC";
|
|
1606
|
+
NetworkStakingPowerOrderByInput["totalAccumulatedPower_ASC_NULLS_FIRST"] = "totalAccumulatedPower_ASC_NULLS_FIRST";
|
|
1607
|
+
NetworkStakingPowerOrderByInput["totalAccumulatedPower_ASC_NULLS_LAST"] = "totalAccumulatedPower_ASC_NULLS_LAST";
|
|
1608
|
+
NetworkStakingPowerOrderByInput["totalAccumulatedPower_DESC"] = "totalAccumulatedPower_DESC";
|
|
1609
|
+
NetworkStakingPowerOrderByInput["totalAccumulatedPower_DESC_NULLS_FIRST"] = "totalAccumulatedPower_DESC_NULLS_FIRST";
|
|
1610
|
+
NetworkStakingPowerOrderByInput["totalAccumulatedPower_DESC_NULLS_LAST"] = "totalAccumulatedPower_DESC_NULLS_LAST";
|
|
1611
|
+
NetworkStakingPowerOrderByInput["totalCurrentStaked_ASC"] = "totalCurrentStaked_ASC";
|
|
1612
|
+
NetworkStakingPowerOrderByInput["totalCurrentStaked_ASC_NULLS_FIRST"] = "totalCurrentStaked_ASC_NULLS_FIRST";
|
|
1613
|
+
NetworkStakingPowerOrderByInput["totalCurrentStaked_ASC_NULLS_LAST"] = "totalCurrentStaked_ASC_NULLS_LAST";
|
|
1614
|
+
NetworkStakingPowerOrderByInput["totalCurrentStaked_DESC"] = "totalCurrentStaked_DESC";
|
|
1615
|
+
NetworkStakingPowerOrderByInput["totalCurrentStaked_DESC_NULLS_FIRST"] = "totalCurrentStaked_DESC_NULLS_FIRST";
|
|
1616
|
+
NetworkStakingPowerOrderByInput["totalCurrentStaked_DESC_NULLS_LAST"] = "totalCurrentStaked_DESC_NULLS_LAST";
|
|
1617
|
+
})(NetworkStakingPowerOrderByInput || (NetworkStakingPowerOrderByInput = {}));
|
|
1483
1618
|
export var OnChainSettingOrderByInput;
|
|
1484
1619
|
(function (OnChainSettingOrderByInput) {
|
|
1485
1620
|
OnChainSettingOrderByInput["id_ASC"] = "id_ASC";
|
|
@@ -2133,6 +2268,12 @@ export var PositionFeesInfoWithPeriodOrderByInput;
|
|
|
2133
2268
|
})(PositionFeesInfoWithPeriodOrderByInput || (PositionFeesInfoWithPeriodOrderByInput = {}));
|
|
2134
2269
|
export var PositionOrderByInput;
|
|
2135
2270
|
(function (PositionOrderByInput) {
|
|
2271
|
+
PositionOrderByInput["accountStat_account_ASC"] = "accountStat_account_ASC";
|
|
2272
|
+
PositionOrderByInput["accountStat_account_ASC_NULLS_FIRST"] = "accountStat_account_ASC_NULLS_FIRST";
|
|
2273
|
+
PositionOrderByInput["accountStat_account_ASC_NULLS_LAST"] = "accountStat_account_ASC_NULLS_LAST";
|
|
2274
|
+
PositionOrderByInput["accountStat_account_DESC"] = "accountStat_account_DESC";
|
|
2275
|
+
PositionOrderByInput["accountStat_account_DESC_NULLS_FIRST"] = "accountStat_account_DESC_NULLS_FIRST";
|
|
2276
|
+
PositionOrderByInput["accountStat_account_DESC_NULLS_LAST"] = "accountStat_account_DESC_NULLS_LAST";
|
|
2136
2277
|
PositionOrderByInput["accountStat_closedCount_ASC"] = "accountStat_closedCount_ASC";
|
|
2137
2278
|
PositionOrderByInput["accountStat_closedCount_ASC_NULLS_FIRST"] = "accountStat_closedCount_ASC_NULLS_FIRST";
|
|
2138
2279
|
PositionOrderByInput["accountStat_closedCount_ASC_NULLS_LAST"] = "accountStat_closedCount_ASC_NULLS_LAST";
|
|
@@ -2151,6 +2292,12 @@ export var PositionOrderByInput;
|
|
|
2151
2292
|
PositionOrderByInput["accountStat_cumsumSize_DESC"] = "accountStat_cumsumSize_DESC";
|
|
2152
2293
|
PositionOrderByInput["accountStat_cumsumSize_DESC_NULLS_FIRST"] = "accountStat_cumsumSize_DESC_NULLS_FIRST";
|
|
2153
2294
|
PositionOrderByInput["accountStat_cumsumSize_DESC_NULLS_LAST"] = "accountStat_cumsumSize_DESC_NULLS_LAST";
|
|
2295
|
+
PositionOrderByInput["accountStat_dayTimestamp_ASC"] = "accountStat_dayTimestamp_ASC";
|
|
2296
|
+
PositionOrderByInput["accountStat_dayTimestamp_ASC_NULLS_FIRST"] = "accountStat_dayTimestamp_ASC_NULLS_FIRST";
|
|
2297
|
+
PositionOrderByInput["accountStat_dayTimestamp_ASC_NULLS_LAST"] = "accountStat_dayTimestamp_ASC_NULLS_LAST";
|
|
2298
|
+
PositionOrderByInput["accountStat_dayTimestamp_DESC"] = "accountStat_dayTimestamp_DESC";
|
|
2299
|
+
PositionOrderByInput["accountStat_dayTimestamp_DESC_NULLS_FIRST"] = "accountStat_dayTimestamp_DESC_NULLS_FIRST";
|
|
2300
|
+
PositionOrderByInput["accountStat_dayTimestamp_DESC_NULLS_LAST"] = "accountStat_dayTimestamp_DESC_NULLS_LAST";
|
|
2154
2301
|
PositionOrderByInput["accountStat_deposits_ASC"] = "accountStat_deposits_ASC";
|
|
2155
2302
|
PositionOrderByInput["accountStat_deposits_ASC_NULLS_FIRST"] = "accountStat_deposits_ASC_NULLS_FIRST";
|
|
2156
2303
|
PositionOrderByInput["accountStat_deposits_ASC_NULLS_LAST"] = "accountStat_deposits_ASC_NULLS_LAST";
|
|
@@ -2175,12 +2322,30 @@ export var PositionOrderByInput;
|
|
|
2175
2322
|
PositionOrderByInput["accountStat_maxCapital_DESC"] = "accountStat_maxCapital_DESC";
|
|
2176
2323
|
PositionOrderByInput["accountStat_maxCapital_DESC_NULLS_FIRST"] = "accountStat_maxCapital_DESC_NULLS_FIRST";
|
|
2177
2324
|
PositionOrderByInput["accountStat_maxCapital_DESC_NULLS_LAST"] = "accountStat_maxCapital_DESC_NULLS_LAST";
|
|
2325
|
+
PositionOrderByInput["accountStat_maxNetCapitalRunningDelta_ASC"] = "accountStat_maxNetCapitalRunningDelta_ASC";
|
|
2326
|
+
PositionOrderByInput["accountStat_maxNetCapitalRunningDelta_ASC_NULLS_FIRST"] = "accountStat_maxNetCapitalRunningDelta_ASC_NULLS_FIRST";
|
|
2327
|
+
PositionOrderByInput["accountStat_maxNetCapitalRunningDelta_ASC_NULLS_LAST"] = "accountStat_maxNetCapitalRunningDelta_ASC_NULLS_LAST";
|
|
2328
|
+
PositionOrderByInput["accountStat_maxNetCapitalRunningDelta_DESC"] = "accountStat_maxNetCapitalRunningDelta_DESC";
|
|
2329
|
+
PositionOrderByInput["accountStat_maxNetCapitalRunningDelta_DESC_NULLS_FIRST"] = "accountStat_maxNetCapitalRunningDelta_DESC_NULLS_FIRST";
|
|
2330
|
+
PositionOrderByInput["accountStat_maxNetCapitalRunningDelta_DESC_NULLS_LAST"] = "accountStat_maxNetCapitalRunningDelta_DESC_NULLS_LAST";
|
|
2331
|
+
PositionOrderByInput["accountStat_netCapitalDelta_ASC"] = "accountStat_netCapitalDelta_ASC";
|
|
2332
|
+
PositionOrderByInput["accountStat_netCapitalDelta_ASC_NULLS_FIRST"] = "accountStat_netCapitalDelta_ASC_NULLS_FIRST";
|
|
2333
|
+
PositionOrderByInput["accountStat_netCapitalDelta_ASC_NULLS_LAST"] = "accountStat_netCapitalDelta_ASC_NULLS_LAST";
|
|
2334
|
+
PositionOrderByInput["accountStat_netCapitalDelta_DESC"] = "accountStat_netCapitalDelta_DESC";
|
|
2335
|
+
PositionOrderByInput["accountStat_netCapitalDelta_DESC_NULLS_FIRST"] = "accountStat_netCapitalDelta_DESC_NULLS_FIRST";
|
|
2336
|
+
PositionOrderByInput["accountStat_netCapitalDelta_DESC_NULLS_LAST"] = "accountStat_netCapitalDelta_DESC_NULLS_LAST";
|
|
2178
2337
|
PositionOrderByInput["accountStat_netCapital_ASC"] = "accountStat_netCapital_ASC";
|
|
2179
2338
|
PositionOrderByInput["accountStat_netCapital_ASC_NULLS_FIRST"] = "accountStat_netCapital_ASC_NULLS_FIRST";
|
|
2180
2339
|
PositionOrderByInput["accountStat_netCapital_ASC_NULLS_LAST"] = "accountStat_netCapital_ASC_NULLS_LAST";
|
|
2181
2340
|
PositionOrderByInput["accountStat_netCapital_DESC"] = "accountStat_netCapital_DESC";
|
|
2182
2341
|
PositionOrderByInput["accountStat_netCapital_DESC_NULLS_FIRST"] = "accountStat_netCapital_DESC_NULLS_FIRST";
|
|
2183
2342
|
PositionOrderByInput["accountStat_netCapital_DESC_NULLS_LAST"] = "accountStat_netCapital_DESC_NULLS_LAST";
|
|
2343
|
+
PositionOrderByInput["accountStat_period_ASC"] = "accountStat_period_ASC";
|
|
2344
|
+
PositionOrderByInput["accountStat_period_ASC_NULLS_FIRST"] = "accountStat_period_ASC_NULLS_FIRST";
|
|
2345
|
+
PositionOrderByInput["accountStat_period_ASC_NULLS_LAST"] = "accountStat_period_ASC_NULLS_LAST";
|
|
2346
|
+
PositionOrderByInput["accountStat_period_DESC"] = "accountStat_period_DESC";
|
|
2347
|
+
PositionOrderByInput["accountStat_period_DESC_NULLS_FIRST"] = "accountStat_period_DESC_NULLS_FIRST";
|
|
2348
|
+
PositionOrderByInput["accountStat_period_DESC_NULLS_LAST"] = "accountStat_period_DESC_NULLS_LAST";
|
|
2184
2349
|
PositionOrderByInput["accountStat_realizedFees_ASC"] = "accountStat_realizedFees_ASC";
|
|
2185
2350
|
PositionOrderByInput["accountStat_realizedFees_ASC_NULLS_FIRST"] = "accountStat_realizedFees_ASC_NULLS_FIRST";
|
|
2186
2351
|
PositionOrderByInput["accountStat_realizedFees_ASC_NULLS_LAST"] = "accountStat_realizedFees_ASC_NULLS_LAST";
|
|
@@ -2277,6 +2442,12 @@ export var PositionOrderByInput;
|
|
|
2277
2442
|
PositionOrderByInput["market_DESC"] = "market_DESC";
|
|
2278
2443
|
PositionOrderByInput["market_DESC_NULLS_FIRST"] = "market_DESC_NULLS_FIRST";
|
|
2279
2444
|
PositionOrderByInput["market_DESC_NULLS_LAST"] = "market_DESC_NULLS_LAST";
|
|
2445
|
+
PositionOrderByInput["maxCapital_ASC"] = "maxCapital_ASC";
|
|
2446
|
+
PositionOrderByInput["maxCapital_ASC_NULLS_FIRST"] = "maxCapital_ASC_NULLS_FIRST";
|
|
2447
|
+
PositionOrderByInput["maxCapital_ASC_NULLS_LAST"] = "maxCapital_ASC_NULLS_LAST";
|
|
2448
|
+
PositionOrderByInput["maxCapital_DESC"] = "maxCapital_DESC";
|
|
2449
|
+
PositionOrderByInput["maxCapital_DESC_NULLS_FIRST"] = "maxCapital_DESC_NULLS_FIRST";
|
|
2450
|
+
PositionOrderByInput["maxCapital_DESC_NULLS_LAST"] = "maxCapital_DESC_NULLS_LAST";
|
|
2280
2451
|
PositionOrderByInput["maxSize_ASC"] = "maxSize_ASC";
|
|
2281
2452
|
PositionOrderByInput["maxSize_ASC_NULLS_FIRST"] = "maxSize_ASC_NULLS_FIRST";
|
|
2282
2453
|
PositionOrderByInput["maxSize_ASC_NULLS_LAST"] = "maxSize_ASC_NULLS_LAST";
|
|
@@ -2480,6 +2651,84 @@ export var ProcessorStatusOrderByInput;
|
|
|
2480
2651
|
ProcessorStatusOrderByInput["lastProcessorCallTimestamp_DESC_NULLS_FIRST"] = "lastProcessorCallTimestamp_DESC_NULLS_FIRST";
|
|
2481
2652
|
ProcessorStatusOrderByInput["lastProcessorCallTimestamp_DESC_NULLS_LAST"] = "lastProcessorCallTimestamp_DESC_NULLS_LAST";
|
|
2482
2653
|
})(ProcessorStatusOrderByInput || (ProcessorStatusOrderByInput = {}));
|
|
2654
|
+
export var ReferralCodeOwnerOrderByInput;
|
|
2655
|
+
(function (ReferralCodeOwnerOrderByInput) {
|
|
2656
|
+
ReferralCodeOwnerOrderByInput["id_ASC"] = "id_ASC";
|
|
2657
|
+
ReferralCodeOwnerOrderByInput["id_ASC_NULLS_FIRST"] = "id_ASC_NULLS_FIRST";
|
|
2658
|
+
ReferralCodeOwnerOrderByInput["id_ASC_NULLS_LAST"] = "id_ASC_NULLS_LAST";
|
|
2659
|
+
ReferralCodeOwnerOrderByInput["id_DESC"] = "id_DESC";
|
|
2660
|
+
ReferralCodeOwnerOrderByInput["id_DESC_NULLS_FIRST"] = "id_DESC_NULLS_FIRST";
|
|
2661
|
+
ReferralCodeOwnerOrderByInput["id_DESC_NULLS_LAST"] = "id_DESC_NULLS_LAST";
|
|
2662
|
+
ReferralCodeOwnerOrderByInput["owner_ASC"] = "owner_ASC";
|
|
2663
|
+
ReferralCodeOwnerOrderByInput["owner_ASC_NULLS_FIRST"] = "owner_ASC_NULLS_FIRST";
|
|
2664
|
+
ReferralCodeOwnerOrderByInput["owner_ASC_NULLS_LAST"] = "owner_ASC_NULLS_LAST";
|
|
2665
|
+
ReferralCodeOwnerOrderByInput["owner_DESC"] = "owner_DESC";
|
|
2666
|
+
ReferralCodeOwnerOrderByInput["owner_DESC_NULLS_FIRST"] = "owner_DESC_NULLS_FIRST";
|
|
2667
|
+
ReferralCodeOwnerOrderByInput["owner_DESC_NULLS_LAST"] = "owner_DESC_NULLS_LAST";
|
|
2668
|
+
ReferralCodeOwnerOrderByInput["updatedAtBlock_ASC"] = "updatedAtBlock_ASC";
|
|
2669
|
+
ReferralCodeOwnerOrderByInput["updatedAtBlock_ASC_NULLS_FIRST"] = "updatedAtBlock_ASC_NULLS_FIRST";
|
|
2670
|
+
ReferralCodeOwnerOrderByInput["updatedAtBlock_ASC_NULLS_LAST"] = "updatedAtBlock_ASC_NULLS_LAST";
|
|
2671
|
+
ReferralCodeOwnerOrderByInput["updatedAtBlock_DESC"] = "updatedAtBlock_DESC";
|
|
2672
|
+
ReferralCodeOwnerOrderByInput["updatedAtBlock_DESC_NULLS_FIRST"] = "updatedAtBlock_DESC_NULLS_FIRST";
|
|
2673
|
+
ReferralCodeOwnerOrderByInput["updatedAtBlock_DESC_NULLS_LAST"] = "updatedAtBlock_DESC_NULLS_LAST";
|
|
2674
|
+
ReferralCodeOwnerOrderByInput["updatedAtTimestamp_ASC"] = "updatedAtTimestamp_ASC";
|
|
2675
|
+
ReferralCodeOwnerOrderByInput["updatedAtTimestamp_ASC_NULLS_FIRST"] = "updatedAtTimestamp_ASC_NULLS_FIRST";
|
|
2676
|
+
ReferralCodeOwnerOrderByInput["updatedAtTimestamp_ASC_NULLS_LAST"] = "updatedAtTimestamp_ASC_NULLS_LAST";
|
|
2677
|
+
ReferralCodeOwnerOrderByInput["updatedAtTimestamp_DESC"] = "updatedAtTimestamp_DESC";
|
|
2678
|
+
ReferralCodeOwnerOrderByInput["updatedAtTimestamp_DESC_NULLS_FIRST"] = "updatedAtTimestamp_DESC_NULLS_FIRST";
|
|
2679
|
+
ReferralCodeOwnerOrderByInput["updatedAtTimestamp_DESC_NULLS_LAST"] = "updatedAtTimestamp_DESC_NULLS_LAST";
|
|
2680
|
+
ReferralCodeOwnerOrderByInput["updatedTxnHash_ASC"] = "updatedTxnHash_ASC";
|
|
2681
|
+
ReferralCodeOwnerOrderByInput["updatedTxnHash_ASC_NULLS_FIRST"] = "updatedTxnHash_ASC_NULLS_FIRST";
|
|
2682
|
+
ReferralCodeOwnerOrderByInput["updatedTxnHash_ASC_NULLS_LAST"] = "updatedTxnHash_ASC_NULLS_LAST";
|
|
2683
|
+
ReferralCodeOwnerOrderByInput["updatedTxnHash_DESC"] = "updatedTxnHash_DESC";
|
|
2684
|
+
ReferralCodeOwnerOrderByInput["updatedTxnHash_DESC_NULLS_FIRST"] = "updatedTxnHash_DESC_NULLS_FIRST";
|
|
2685
|
+
ReferralCodeOwnerOrderByInput["updatedTxnHash_DESC_NULLS_LAST"] = "updatedTxnHash_DESC_NULLS_LAST";
|
|
2686
|
+
})(ReferralCodeOwnerOrderByInput || (ReferralCodeOwnerOrderByInput = {}));
|
|
2687
|
+
export var StakingPowerOrderByInput;
|
|
2688
|
+
(function (StakingPowerOrderByInput) {
|
|
2689
|
+
StakingPowerOrderByInput["accumulatedPower_ASC"] = "accumulatedPower_ASC";
|
|
2690
|
+
StakingPowerOrderByInput["accumulatedPower_ASC_NULLS_FIRST"] = "accumulatedPower_ASC_NULLS_FIRST";
|
|
2691
|
+
StakingPowerOrderByInput["accumulatedPower_ASC_NULLS_LAST"] = "accumulatedPower_ASC_NULLS_LAST";
|
|
2692
|
+
StakingPowerOrderByInput["accumulatedPower_DESC"] = "accumulatedPower_DESC";
|
|
2693
|
+
StakingPowerOrderByInput["accumulatedPower_DESC_NULLS_FIRST"] = "accumulatedPower_DESC_NULLS_FIRST";
|
|
2694
|
+
StakingPowerOrderByInput["accumulatedPower_DESC_NULLS_LAST"] = "accumulatedPower_DESC_NULLS_LAST";
|
|
2695
|
+
StakingPowerOrderByInput["currentStakedBalance_ASC"] = "currentStakedBalance_ASC";
|
|
2696
|
+
StakingPowerOrderByInput["currentStakedBalance_ASC_NULLS_FIRST"] = "currentStakedBalance_ASC_NULLS_FIRST";
|
|
2697
|
+
StakingPowerOrderByInput["currentStakedBalance_ASC_NULLS_LAST"] = "currentStakedBalance_ASC_NULLS_LAST";
|
|
2698
|
+
StakingPowerOrderByInput["currentStakedBalance_DESC"] = "currentStakedBalance_DESC";
|
|
2699
|
+
StakingPowerOrderByInput["currentStakedBalance_DESC_NULLS_FIRST"] = "currentStakedBalance_DESC_NULLS_FIRST";
|
|
2700
|
+
StakingPowerOrderByInput["currentStakedBalance_DESC_NULLS_LAST"] = "currentStakedBalance_DESC_NULLS_LAST";
|
|
2701
|
+
StakingPowerOrderByInput["historicalMaxStaked_ASC"] = "historicalMaxStaked_ASC";
|
|
2702
|
+
StakingPowerOrderByInput["historicalMaxStaked_ASC_NULLS_FIRST"] = "historicalMaxStaked_ASC_NULLS_FIRST";
|
|
2703
|
+
StakingPowerOrderByInput["historicalMaxStaked_ASC_NULLS_LAST"] = "historicalMaxStaked_ASC_NULLS_LAST";
|
|
2704
|
+
StakingPowerOrderByInput["historicalMaxStaked_DESC"] = "historicalMaxStaked_DESC";
|
|
2705
|
+
StakingPowerOrderByInput["historicalMaxStaked_DESC_NULLS_FIRST"] = "historicalMaxStaked_DESC_NULLS_FIRST";
|
|
2706
|
+
StakingPowerOrderByInput["historicalMaxStaked_DESC_NULLS_LAST"] = "historicalMaxStaked_DESC_NULLS_LAST";
|
|
2707
|
+
StakingPowerOrderByInput["id_ASC"] = "id_ASC";
|
|
2708
|
+
StakingPowerOrderByInput["id_ASC_NULLS_FIRST"] = "id_ASC_NULLS_FIRST";
|
|
2709
|
+
StakingPowerOrderByInput["id_ASC_NULLS_LAST"] = "id_ASC_NULLS_LAST";
|
|
2710
|
+
StakingPowerOrderByInput["id_DESC"] = "id_DESC";
|
|
2711
|
+
StakingPowerOrderByInput["id_DESC_NULLS_FIRST"] = "id_DESC_NULLS_FIRST";
|
|
2712
|
+
StakingPowerOrderByInput["id_DESC_NULLS_LAST"] = "id_DESC_NULLS_LAST";
|
|
2713
|
+
StakingPowerOrderByInput["lastPowerResetAt_ASC"] = "lastPowerResetAt_ASC";
|
|
2714
|
+
StakingPowerOrderByInput["lastPowerResetAt_ASC_NULLS_FIRST"] = "lastPowerResetAt_ASC_NULLS_FIRST";
|
|
2715
|
+
StakingPowerOrderByInput["lastPowerResetAt_ASC_NULLS_LAST"] = "lastPowerResetAt_ASC_NULLS_LAST";
|
|
2716
|
+
StakingPowerOrderByInput["lastPowerResetAt_DESC"] = "lastPowerResetAt_DESC";
|
|
2717
|
+
StakingPowerOrderByInput["lastPowerResetAt_DESC_NULLS_FIRST"] = "lastPowerResetAt_DESC_NULLS_FIRST";
|
|
2718
|
+
StakingPowerOrderByInput["lastPowerResetAt_DESC_NULLS_LAST"] = "lastPowerResetAt_DESC_NULLS_LAST";
|
|
2719
|
+
StakingPowerOrderByInput["lastUpdateTimestamp_ASC"] = "lastUpdateTimestamp_ASC";
|
|
2720
|
+
StakingPowerOrderByInput["lastUpdateTimestamp_ASC_NULLS_FIRST"] = "lastUpdateTimestamp_ASC_NULLS_FIRST";
|
|
2721
|
+
StakingPowerOrderByInput["lastUpdateTimestamp_ASC_NULLS_LAST"] = "lastUpdateTimestamp_ASC_NULLS_LAST";
|
|
2722
|
+
StakingPowerOrderByInput["lastUpdateTimestamp_DESC"] = "lastUpdateTimestamp_DESC";
|
|
2723
|
+
StakingPowerOrderByInput["lastUpdateTimestamp_DESC_NULLS_FIRST"] = "lastUpdateTimestamp_DESC_NULLS_FIRST";
|
|
2724
|
+
StakingPowerOrderByInput["lastUpdateTimestamp_DESC_NULLS_LAST"] = "lastUpdateTimestamp_DESC_NULLS_LAST";
|
|
2725
|
+
StakingPowerOrderByInput["powerResetCount_ASC"] = "powerResetCount_ASC";
|
|
2726
|
+
StakingPowerOrderByInput["powerResetCount_ASC_NULLS_FIRST"] = "powerResetCount_ASC_NULLS_FIRST";
|
|
2727
|
+
StakingPowerOrderByInput["powerResetCount_ASC_NULLS_LAST"] = "powerResetCount_ASC_NULLS_LAST";
|
|
2728
|
+
StakingPowerOrderByInput["powerResetCount_DESC"] = "powerResetCount_DESC";
|
|
2729
|
+
StakingPowerOrderByInput["powerResetCount_DESC_NULLS_FIRST"] = "powerResetCount_DESC_NULLS_FIRST";
|
|
2730
|
+
StakingPowerOrderByInput["powerResetCount_DESC_NULLS_LAST"] = "powerResetCount_DESC_NULLS_LAST";
|
|
2731
|
+
})(StakingPowerOrderByInput || (StakingPowerOrderByInput = {}));
|
|
2483
2732
|
export var SwapFeesInfoOrderByInput;
|
|
2484
2733
|
(function (SwapFeesInfoOrderByInput) {
|
|
2485
2734
|
SwapFeesInfoOrderByInput["feeReceiverAmount_ASC"] = "feeReceiverAmount_ASC";
|
|
@@ -2951,6 +3200,78 @@ export var TradeActionOrderByInput;
|
|
|
2951
3200
|
TradeActionOrderByInput["uiFeeReceiver_DESC_NULLS_FIRST"] = "uiFeeReceiver_DESC_NULLS_FIRST";
|
|
2952
3201
|
TradeActionOrderByInput["uiFeeReceiver_DESC_NULLS_LAST"] = "uiFeeReceiver_DESC_NULLS_LAST";
|
|
2953
3202
|
})(TradeActionOrderByInput || (TradeActionOrderByInput = {}));
|
|
3203
|
+
export var TraderReferralOrderByInput;
|
|
3204
|
+
(function (TraderReferralOrderByInput) {
|
|
3205
|
+
TraderReferralOrderByInput["affiliate_ASC"] = "affiliate_ASC";
|
|
3206
|
+
TraderReferralOrderByInput["affiliate_ASC_NULLS_FIRST"] = "affiliate_ASC_NULLS_FIRST";
|
|
3207
|
+
TraderReferralOrderByInput["affiliate_ASC_NULLS_LAST"] = "affiliate_ASC_NULLS_LAST";
|
|
3208
|
+
TraderReferralOrderByInput["affiliate_DESC"] = "affiliate_DESC";
|
|
3209
|
+
TraderReferralOrderByInput["affiliate_DESC_NULLS_FIRST"] = "affiliate_DESC_NULLS_FIRST";
|
|
3210
|
+
TraderReferralOrderByInput["affiliate_DESC_NULLS_LAST"] = "affiliate_DESC_NULLS_LAST";
|
|
3211
|
+
TraderReferralOrderByInput["id_ASC"] = "id_ASC";
|
|
3212
|
+
TraderReferralOrderByInput["id_ASC_NULLS_FIRST"] = "id_ASC_NULLS_FIRST";
|
|
3213
|
+
TraderReferralOrderByInput["id_ASC_NULLS_LAST"] = "id_ASC_NULLS_LAST";
|
|
3214
|
+
TraderReferralOrderByInput["id_DESC"] = "id_DESC";
|
|
3215
|
+
TraderReferralOrderByInput["id_DESC_NULLS_FIRST"] = "id_DESC_NULLS_FIRST";
|
|
3216
|
+
TraderReferralOrderByInput["id_DESC_NULLS_LAST"] = "id_DESC_NULLS_LAST";
|
|
3217
|
+
TraderReferralOrderByInput["referralCode_ASC"] = "referralCode_ASC";
|
|
3218
|
+
TraderReferralOrderByInput["referralCode_ASC_NULLS_FIRST"] = "referralCode_ASC_NULLS_FIRST";
|
|
3219
|
+
TraderReferralOrderByInput["referralCode_ASC_NULLS_LAST"] = "referralCode_ASC_NULLS_LAST";
|
|
3220
|
+
TraderReferralOrderByInput["referralCode_DESC"] = "referralCode_DESC";
|
|
3221
|
+
TraderReferralOrderByInput["referralCode_DESC_NULLS_FIRST"] = "referralCode_DESC_NULLS_FIRST";
|
|
3222
|
+
TraderReferralOrderByInput["referralCode_DESC_NULLS_LAST"] = "referralCode_DESC_NULLS_LAST";
|
|
3223
|
+
TraderReferralOrderByInput["updatedAtBlock_ASC"] = "updatedAtBlock_ASC";
|
|
3224
|
+
TraderReferralOrderByInput["updatedAtBlock_ASC_NULLS_FIRST"] = "updatedAtBlock_ASC_NULLS_FIRST";
|
|
3225
|
+
TraderReferralOrderByInput["updatedAtBlock_ASC_NULLS_LAST"] = "updatedAtBlock_ASC_NULLS_LAST";
|
|
3226
|
+
TraderReferralOrderByInput["updatedAtBlock_DESC"] = "updatedAtBlock_DESC";
|
|
3227
|
+
TraderReferralOrderByInput["updatedAtBlock_DESC_NULLS_FIRST"] = "updatedAtBlock_DESC_NULLS_FIRST";
|
|
3228
|
+
TraderReferralOrderByInput["updatedAtBlock_DESC_NULLS_LAST"] = "updatedAtBlock_DESC_NULLS_LAST";
|
|
3229
|
+
TraderReferralOrderByInput["updatedAtTimestamp_ASC"] = "updatedAtTimestamp_ASC";
|
|
3230
|
+
TraderReferralOrderByInput["updatedAtTimestamp_ASC_NULLS_FIRST"] = "updatedAtTimestamp_ASC_NULLS_FIRST";
|
|
3231
|
+
TraderReferralOrderByInput["updatedAtTimestamp_ASC_NULLS_LAST"] = "updatedAtTimestamp_ASC_NULLS_LAST";
|
|
3232
|
+
TraderReferralOrderByInput["updatedAtTimestamp_DESC"] = "updatedAtTimestamp_DESC";
|
|
3233
|
+
TraderReferralOrderByInput["updatedAtTimestamp_DESC_NULLS_FIRST"] = "updatedAtTimestamp_DESC_NULLS_FIRST";
|
|
3234
|
+
TraderReferralOrderByInput["updatedAtTimestamp_DESC_NULLS_LAST"] = "updatedAtTimestamp_DESC_NULLS_LAST";
|
|
3235
|
+
TraderReferralOrderByInput["updatedTxnHash_ASC"] = "updatedTxnHash_ASC";
|
|
3236
|
+
TraderReferralOrderByInput["updatedTxnHash_ASC_NULLS_FIRST"] = "updatedTxnHash_ASC_NULLS_FIRST";
|
|
3237
|
+
TraderReferralOrderByInput["updatedTxnHash_ASC_NULLS_LAST"] = "updatedTxnHash_ASC_NULLS_LAST";
|
|
3238
|
+
TraderReferralOrderByInput["updatedTxnHash_DESC"] = "updatedTxnHash_DESC";
|
|
3239
|
+
TraderReferralOrderByInput["updatedTxnHash_DESC_NULLS_FIRST"] = "updatedTxnHash_DESC_NULLS_FIRST";
|
|
3240
|
+
TraderReferralOrderByInput["updatedTxnHash_DESC_NULLS_LAST"] = "updatedTxnHash_DESC_NULLS_LAST";
|
|
3241
|
+
})(TraderReferralOrderByInput || (TraderReferralOrderByInput = {}));
|
|
3242
|
+
export var TraderReferralTradeStatsByHourOrderByInput;
|
|
3243
|
+
(function (TraderReferralTradeStatsByHourOrderByInput) {
|
|
3244
|
+
TraderReferralTradeStatsByHourOrderByInput["discountsUsd_ASC"] = "discountsUsd_ASC";
|
|
3245
|
+
TraderReferralTradeStatsByHourOrderByInput["discountsUsd_ASC_NULLS_FIRST"] = "discountsUsd_ASC_NULLS_FIRST";
|
|
3246
|
+
TraderReferralTradeStatsByHourOrderByInput["discountsUsd_ASC_NULLS_LAST"] = "discountsUsd_ASC_NULLS_LAST";
|
|
3247
|
+
TraderReferralTradeStatsByHourOrderByInput["discountsUsd_DESC"] = "discountsUsd_DESC";
|
|
3248
|
+
TraderReferralTradeStatsByHourOrderByInput["discountsUsd_DESC_NULLS_FIRST"] = "discountsUsd_DESC_NULLS_FIRST";
|
|
3249
|
+
TraderReferralTradeStatsByHourOrderByInput["discountsUsd_DESC_NULLS_LAST"] = "discountsUsd_DESC_NULLS_LAST";
|
|
3250
|
+
TraderReferralTradeStatsByHourOrderByInput["id_ASC"] = "id_ASC";
|
|
3251
|
+
TraderReferralTradeStatsByHourOrderByInput["id_ASC_NULLS_FIRST"] = "id_ASC_NULLS_FIRST";
|
|
3252
|
+
TraderReferralTradeStatsByHourOrderByInput["id_ASC_NULLS_LAST"] = "id_ASC_NULLS_LAST";
|
|
3253
|
+
TraderReferralTradeStatsByHourOrderByInput["id_DESC"] = "id_DESC";
|
|
3254
|
+
TraderReferralTradeStatsByHourOrderByInput["id_DESC_NULLS_FIRST"] = "id_DESC_NULLS_FIRST";
|
|
3255
|
+
TraderReferralTradeStatsByHourOrderByInput["id_DESC_NULLS_LAST"] = "id_DESC_NULLS_LAST";
|
|
3256
|
+
TraderReferralTradeStatsByHourOrderByInput["timestamp_ASC"] = "timestamp_ASC";
|
|
3257
|
+
TraderReferralTradeStatsByHourOrderByInput["timestamp_ASC_NULLS_FIRST"] = "timestamp_ASC_NULLS_FIRST";
|
|
3258
|
+
TraderReferralTradeStatsByHourOrderByInput["timestamp_ASC_NULLS_LAST"] = "timestamp_ASC_NULLS_LAST";
|
|
3259
|
+
TraderReferralTradeStatsByHourOrderByInput["timestamp_DESC"] = "timestamp_DESC";
|
|
3260
|
+
TraderReferralTradeStatsByHourOrderByInput["timestamp_DESC_NULLS_FIRST"] = "timestamp_DESC_NULLS_FIRST";
|
|
3261
|
+
TraderReferralTradeStatsByHourOrderByInput["timestamp_DESC_NULLS_LAST"] = "timestamp_DESC_NULLS_LAST";
|
|
3262
|
+
TraderReferralTradeStatsByHourOrderByInput["trader_ASC"] = "trader_ASC";
|
|
3263
|
+
TraderReferralTradeStatsByHourOrderByInput["trader_ASC_NULLS_FIRST"] = "trader_ASC_NULLS_FIRST";
|
|
3264
|
+
TraderReferralTradeStatsByHourOrderByInput["trader_ASC_NULLS_LAST"] = "trader_ASC_NULLS_LAST";
|
|
3265
|
+
TraderReferralTradeStatsByHourOrderByInput["trader_DESC"] = "trader_DESC";
|
|
3266
|
+
TraderReferralTradeStatsByHourOrderByInput["trader_DESC_NULLS_FIRST"] = "trader_DESC_NULLS_FIRST";
|
|
3267
|
+
TraderReferralTradeStatsByHourOrderByInput["trader_DESC_NULLS_LAST"] = "trader_DESC_NULLS_LAST";
|
|
3268
|
+
TraderReferralTradeStatsByHourOrderByInput["volumeUsd_ASC"] = "volumeUsd_ASC";
|
|
3269
|
+
TraderReferralTradeStatsByHourOrderByInput["volumeUsd_ASC_NULLS_FIRST"] = "volumeUsd_ASC_NULLS_FIRST";
|
|
3270
|
+
TraderReferralTradeStatsByHourOrderByInput["volumeUsd_ASC_NULLS_LAST"] = "volumeUsd_ASC_NULLS_LAST";
|
|
3271
|
+
TraderReferralTradeStatsByHourOrderByInput["volumeUsd_DESC"] = "volumeUsd_DESC";
|
|
3272
|
+
TraderReferralTradeStatsByHourOrderByInput["volumeUsd_DESC_NULLS_FIRST"] = "volumeUsd_DESC_NULLS_FIRST";
|
|
3273
|
+
TraderReferralTradeStatsByHourOrderByInput["volumeUsd_DESC_NULLS_LAST"] = "volumeUsd_DESC_NULLS_LAST";
|
|
3274
|
+
})(TraderReferralTradeStatsByHourOrderByInput || (TraderReferralTradeStatsByHourOrderByInput = {}));
|
|
2954
3275
|
export var VolumeInfoOrderByInput;
|
|
2955
3276
|
(function (VolumeInfoOrderByInput) {
|
|
2956
3277
|
VolumeInfoOrderByInput["depositVolumeUsd_ASC"] = "depositVolumeUsd_ASC";
|
|
@@ -1,15 +1,26 @@
|
|
|
1
1
|
import { ARBITRUM, ARBITRUM_SEPOLIA, AVALANCHE, AVALANCHE_FUJI, BOTANIX, MEGAETH } from "./chains";
|
|
2
2
|
const API_URLS = {
|
|
3
|
-
[ARBITRUM]: "https://arbitrum
|
|
4
|
-
[AVALANCHE]: "https://avalanche
|
|
3
|
+
[ARBITRUM]: "https://arbitrum.gmxapi.io/api/v1",
|
|
4
|
+
[AVALANCHE]: "https://avalanche.gmxapi.io/api/v1",
|
|
5
5
|
[AVALANCHE_FUJI]: undefined,
|
|
6
|
-
[BOTANIX]: "https://botanix
|
|
6
|
+
[BOTANIX]: "https://botanix.gmxapi.io/api/v1",
|
|
7
7
|
[ARBITRUM_SEPOLIA]: "https://gmx-api-arbitrum-sepolia-yp6pp.ondigitalocean.app/api/v1",
|
|
8
|
-
[MEGAETH]: "https://megaeth
|
|
8
|
+
[MEGAETH]: "https://megaeth.gmxapi.io/api/v1",
|
|
9
|
+
};
|
|
10
|
+
const API_FALLBACK_URLS = {
|
|
11
|
+
[ARBITRUM]: ["https://arbitrum.gmxapi.ai/api/v1"],
|
|
12
|
+
[AVALANCHE]: ["https://avalanche.gmxapi.ai/api/v1"],
|
|
13
|
+
[AVALANCHE_FUJI]: [],
|
|
14
|
+
[BOTANIX]: ["https://botanix.gmxapi.ai/api/v1"],
|
|
15
|
+
[ARBITRUM_SEPOLIA]: [],
|
|
16
|
+
[MEGAETH]: ["https://megaeth.gmxapi.ai/api/v1"],
|
|
9
17
|
};
|
|
10
18
|
export function getApiUrl(chainId) {
|
|
11
19
|
return API_URLS[chainId];
|
|
12
20
|
}
|
|
21
|
+
export function getApiFallbackUrls(chainId) {
|
|
22
|
+
return API_FALLBACK_URLS[chainId] ?? [];
|
|
23
|
+
}
|
|
13
24
|
export function isApiSupported(chainId) {
|
|
14
25
|
return getApiUrl(chainId) !== undefined;
|
|
15
26
|
}
|