@luxexchange/api 1.0.1 → 1.0.3
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/.depcheckrc +16 -0
- package/.eslintrc.js +30 -0
- package/package.json +12 -15
- package/project.json +3 -3
- package/src/clients/auctions/createAuctionServiceClient.ts +2 -2
- package/src/clients/base/SharedQueryClient.ts +1 -1
- package/src/clients/base/auth.ts +1 -1
- package/src/clients/base/createFetchClient.ts +2 -2
- package/src/clients/base/errors.test.ts +1 -1
- package/src/clients/base/types.ts +1 -1
- package/src/clients/base/urls.test.ts +44 -44
- package/src/clients/base/urls.ts +20 -12
- package/src/clients/base/utils.test.ts +2 -2
- package/src/clients/base/utils.ts +1 -1
- package/src/clients/blockaid/createBlockaidApiClient.ts +2 -2
- package/src/clients/compliance/createComplianceApiClient.ts +2 -2
- package/src/clients/content/types.ts +1 -1
- package/src/clients/conversionTracking/api-ConversionProxyService_connectquery.ts +1 -1
- package/src/clients/conversionTracking/api_connect.ts +1 -1
- package/src/clients/conversionTracking/index.ts +3 -3
- package/src/clients/data/createDataServiceApiClient.ts +1 -1
- package/src/clients/dataApi/createDataApiServiceClient.ts +2 -2
- package/src/clients/dataApi/getGetPortfolioQueryOptions.test.ts +3 -3
- package/src/clients/dataApi/getGetPortfolioQueryOptions.ts +3 -3
- package/src/clients/embeddedWallet/createEmbeddedWalletApiClient.ts +5 -5
- package/src/clients/for/createForApiClient.ts +5 -5
- package/src/clients/for/types.ts +1 -1
- package/src/clients/gasService/createGasServiceClient.ts +2 -2
- package/src/clients/graphql/codegen.config.ts +1 -1
- package/src/clients/graphql/fragments.ts +3 -3
- package/src/clients/graphql/generated.ts +3 -0
- package/src/clients/graphql/web/{LuxPrices.graphql → UniswapPrices.graphql} +1 -1
- package/src/clients/jupiter/createJupiterApiClient.ts +3 -3
- package/src/clients/jupiter/utils.ts +1 -1
- package/src/clients/liquidity/createAuctionMutationClient.ts +2 -2
- package/src/clients/liquidity/createLiquidityServiceClient.ts +2 -2
- package/src/clients/lux/createLuxApiClient.ts +4 -4
- package/src/clients/notifications/createNotificationsApiClient.ts +4 -4
- package/src/clients/notifications/types.ts +9 -9
- package/src/clients/trading/createTradingApiClient.ts +6 -6
- package/src/clients/trading/tradeTypes.ts +2 -2
- package/src/clients/trading/types.ts +3 -3
- package/src/clients/uniswap/createUniswapApiClient.ts +83 -0
- package/src/clients/unitags/createUnitagsApiClient.test.ts +7 -7
- package/src/clients/unitags/createUnitagsApiClient.ts +4 -4
- package/src/clients/x/createXVerificationServiceClient.ts +2 -2
- package/src/components/ApiInit.test.tsx +12 -12
- package/src/components/ApiInit.tsx +3 -3
- package/src/connectRpc/utils.ts +4 -4
- package/src/getEntryGatewayUrl.ts +2 -2
- package/src/getWebSocketUrl.ts +2 -2
- package/src/hooks/useIsSessionInitialized.ts +1 -1
- package/src/index.ts +68 -66
- package/src/provideDeviceIdService.ts +3 -3
- package/src/provideLuxIdentifierService.ts +2 -25
- package/src/provideSessionService.native.ts +7 -7
- package/src/provideSessionService.ts +3 -3
- package/src/provideSessionService.web.ts +12 -12
- package/src/provideSessionStorage.ts +3 -3
- package/src/provideUniswapIdentifierService.ts +25 -0
- package/src/session/createSessionTransport.test.ts +2 -2
- package/src/session/createSessionTransport.ts +6 -6
- package/src/session/createWithSessionRetry.ts +1 -1
- package/src/session/index.ts +1 -1
- package/src/storage/createExtensionStorageDriver.ts +1 -1
- package/src/storage/createNativeStorageDriver.ts +1 -1
- package/src/storage/createWebStorageDriver.ts +1 -1
- package/src/storage/getStorageDriver.native.ts +2 -2
- package/src/storage/getStorageDriver.ts +2 -2
- package/src/storage/getStorageDriver.web.ts +3 -3
- package/src/transport.ts +2 -2
- package/stubs/privy-service-connect.d.ts +1 -1
- package/stubs/privy-service-pb.d.ts +1 -1
- package/tsconfig.json +12 -4
- package/dist/client.d.ts +0 -22
- package/dist/client.d.ts.map +0 -1
- package/dist/client.js +0 -56
- package/dist/hooks/index.d.ts +0 -6
- package/dist/hooks/index.d.ts.map +0 -1
- package/dist/hooks/index.js +0 -5
- package/dist/hooks/use-token-list.d.ts +0 -22
- package/dist/hooks/use-token-list.d.ts.map +0 -1
- package/dist/hooks/use-token-list.js +0 -27
- package/dist/hooks/use-token-price.d.ts +0 -15
- package/dist/hooks/use-token-price.d.ts.map +0 -1
- package/dist/hooks/use-token-price.js +0 -63
- package/dist/index.d.ts +0 -6
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -5
- package/src/client.ts +0 -66
- package/src/clients/graphql/__generated__/operations.ts +0 -605
- package/src/clients/graphql/__generated__/react-hooks.ts +0 -4245
- package/src/clients/graphql/__generated__/resolvers.ts +0 -1469
- package/src/clients/graphql/__generated__/schema-types.ts +0 -2099
- package/src/clients/trading/__generated__/core/ApiError.ts +0 -25
- package/src/clients/trading/__generated__/core/ApiRequestOptions.ts +0 -17
- package/src/clients/trading/__generated__/core/ApiResult.ts +0 -11
- package/src/clients/trading/__generated__/core/CancelablePromise.ts +0 -131
- package/src/clients/trading/__generated__/core/OpenAPI.ts +0 -32
- package/src/clients/trading/__generated__/core/request.ts +0 -322
- package/src/clients/trading/__generated__/index.ts +0 -221
- package/src/clients/trading/__generated__/models/Address.ts +0 -5
- package/src/clients/trading/__generated__/models/AggregatedOutput.ts +0 -20
- package/src/clients/trading/__generated__/models/ApprovalRequest.ts +0 -25
- package/src/clients/trading/__generated__/models/ApprovalResponse.ts +0 -18
- package/src/clients/trading/__generated__/models/AutoSlippage.ts +0 -14
- package/src/clients/trading/__generated__/models/BridgeQuote.ts +0 -55
- package/src/clients/trading/__generated__/models/ChainDelegationMap.ts +0 -9
- package/src/clients/trading/__generated__/models/ChainId.ts +0 -29
- package/src/clients/trading/__generated__/models/ChainedQuote.ts +0 -63
- package/src/clients/trading/__generated__/models/CheckApprovalLPRequest.ts +0 -35
- package/src/clients/trading/__generated__/models/CheckApprovalLPResponse.ts +0 -29
- package/src/clients/trading/__generated__/models/ClaimLPFeesRequest.ts +0 -20
- package/src/clients/trading/__generated__/models/ClaimLPFeesResponse.ts +0 -13
- package/src/clients/trading/__generated__/models/ClaimLPRewardsRequest.ts +0 -19
- package/src/clients/trading/__generated__/models/ClaimLPRewardsResponse.ts +0 -13
- package/src/clients/trading/__generated__/models/ClassicGasUseEstimateUSD.ts +0 -8
- package/src/clients/trading/__generated__/models/ClassicInput.ts +0 -11
- package/src/clients/trading/__generated__/models/ClassicOutput.ts +0 -13
- package/src/clients/trading/__generated__/models/ClassicQuote.ts +0 -69
- package/src/clients/trading/__generated__/models/ClientContext.ts +0 -18
- package/src/clients/trading/__generated__/models/CosignerData.ts +0 -21
- package/src/clients/trading/__generated__/models/CreateLPPositionRequest.ts +0 -40
- package/src/clients/trading/__generated__/models/CreateLPPositionResponse.ts +0 -21
- package/src/clients/trading/__generated__/models/CreatePlanRequest.ts +0 -23
- package/src/clients/trading/__generated__/models/CreateSendRequest.ts +0 -22
- package/src/clients/trading/__generated__/models/CreateSendResponse.ts +0 -18
- package/src/clients/trading/__generated__/models/CreateSwap5792Request.ts +0 -17
- package/src/clients/trading/__generated__/models/CreateSwap5792Response.ts +0 -17
- package/src/clients/trading/__generated__/models/CreateSwap7702Request.ts +0 -21
- package/src/clients/trading/__generated__/models/CreateSwap7702Response.ts +0 -13
- package/src/clients/trading/__generated__/models/CreateSwapRequest.ts +0 -42
- package/src/clients/trading/__generated__/models/CreateSwapResponse.ts +0 -16
- package/src/clients/trading/__generated__/models/Curve.ts +0 -9
- package/src/clients/trading/__generated__/models/DEXOrder.ts +0 -35
- package/src/clients/trading/__generated__/models/DecreaseLPPositionRequest.ts +0 -33
- package/src/clients/trading/__generated__/models/DecreaseLPPositionResponse.ts +0 -19
- package/src/clients/trading/__generated__/models/DelegationDetails.ts +0 -19
- package/src/clients/trading/__generated__/models/Distributor.ts +0 -10
- package/src/clients/trading/__generated__/models/DutchInput.ts +0 -13
- package/src/clients/trading/__generated__/models/DutchInputV3.ts +0 -15
- package/src/clients/trading/__generated__/models/DutchOrderInfo.ts +0 -41
- package/src/clients/trading/__generated__/models/DutchOrderInfoV2.ts +0 -27
- package/src/clients/trading/__generated__/models/DutchOrderInfoV3.ts +0 -28
- package/src/clients/trading/__generated__/models/DutchOutput.ts +0 -15
- package/src/clients/trading/__generated__/models/DutchOutputV3.ts +0 -18
- package/src/clients/trading/__generated__/models/DutchQuote.ts +0 -27
- package/src/clients/trading/__generated__/models/DutchQuoteV2.ts +0 -28
- package/src/clients/trading/__generated__/models/DutchQuoteV3.ts +0 -30
- package/src/clients/trading/__generated__/models/Encode7702ResponseBody.ts +0 -11
- package/src/clients/trading/__generated__/models/Err400.ts +0 -9
- package/src/clients/trading/__generated__/models/Err401.ts +0 -9
- package/src/clients/trading/__generated__/models/Err404.ts +0 -17
- package/src/clients/trading/__generated__/models/Err422.ts +0 -9
- package/src/clients/trading/__generated__/models/Err429.ts +0 -9
- package/src/clients/trading/__generated__/models/Err500.ts +0 -9
- package/src/clients/trading/__generated__/models/Err504.ts +0 -9
- package/src/clients/trading/__generated__/models/GasStrategy.ts +0 -46
- package/src/clients/trading/__generated__/models/GetOrdersResponse.ts +0 -12
- package/src/clients/trading/__generated__/models/GetSwappableTokensResponse.ts +0 -29
- package/src/clients/trading/__generated__/models/GetSwapsResponse.ts +0 -18
- package/src/clients/trading/__generated__/models/HooksOptions.ts +0 -12
- package/src/clients/trading/__generated__/models/IncreaseLPPositionRequest.ts +0 -39
- package/src/clients/trading/__generated__/models/IncreaseLPPositionResponse.ts +0 -21
- package/src/clients/trading/__generated__/models/IndependentToken.ts +0 -8
- package/src/clients/trading/__generated__/models/IndicativeQuoteRequest.ts +0 -18
- package/src/clients/trading/__generated__/models/IndicativeQuoteResponse.ts +0 -14
- package/src/clients/trading/__generated__/models/IndicativeQuoteToken.ts +0 -13
- package/src/clients/trading/__generated__/models/LimitOrderQuoteRequest.ts +0 -22
- package/src/clients/trading/__generated__/models/LimitOrderQuoteResponse.ts +0 -19
- package/src/clients/trading/__generated__/models/MigrateLPPositionRequest.ts +0 -41
- package/src/clients/trading/__generated__/models/MigrateLPPositionResponse.ts +0 -13
- package/src/clients/trading/__generated__/models/NullablePermit.ts +0 -13
- package/src/clients/trading/__generated__/models/OrderIds.ts +0 -5
- package/src/clients/trading/__generated__/models/OrderInput.ts +0 -13
- package/src/clients/trading/__generated__/models/OrderOutput.ts +0 -16
- package/src/clients/trading/__generated__/models/OrderRequest.ts +0 -17
- package/src/clients/trading/__generated__/models/OrderResponse.ts +0 -13
- package/src/clients/trading/__generated__/models/OrderStatus.ts +0 -23
- package/src/clients/trading/__generated__/models/OrderType.ts +0 -11
- package/src/clients/trading/__generated__/models/OrderTypeQuery.ts +0 -12
- package/src/clients/trading/__generated__/models/Permit.ts +0 -13
- package/src/clients/trading/__generated__/models/PermitAmount.ts +0 -11
- package/src/clients/trading/__generated__/models/PlanResponse.ts +0 -75
- package/src/clients/trading/__generated__/models/PlanStatus.ts +0 -14
- package/src/clients/trading/__generated__/models/PlanStep.ts +0 -59
- package/src/clients/trading/__generated__/models/PlanStepMethod.ts +0 -12
- package/src/clients/trading/__generated__/models/PlanStepPayloadType.ts +0 -12
- package/src/clients/trading/__generated__/models/PlanStepProof.ts +0 -20
- package/src/clients/trading/__generated__/models/PlanStepStatus.ts +0 -14
- package/src/clients/trading/__generated__/models/PlanStepType.ts +0 -23
- package/src/clients/trading/__generated__/models/Pool.ts +0 -15
- package/src/clients/trading/__generated__/models/PoolInfoRequest.ts +0 -20
- package/src/clients/trading/__generated__/models/PoolInfoResponse.ts +0 -16
- package/src/clients/trading/__generated__/models/PoolInformation.ts +0 -44
- package/src/clients/trading/__generated__/models/PoolParameters.ts +0 -19
- package/src/clients/trading/__generated__/models/PoolReferenceByProtocol.ts +0 -12
- package/src/clients/trading/__generated__/models/Position.ts +0 -11
- package/src/clients/trading/__generated__/models/PriorityInput.ts +0 -12
- package/src/clients/trading/__generated__/models/PriorityOrderInfo.ts +0 -29
- package/src/clients/trading/__generated__/models/PriorityOutput.ts +0 -17
- package/src/clients/trading/__generated__/models/PriorityQuote.ts +0 -31
- package/src/clients/trading/__generated__/models/ProtocolItems.ts +0 -15
- package/src/clients/trading/__generated__/models/Protocols.ts +0 -9
- package/src/clients/trading/__generated__/models/Quote.ts +0 -14
- package/src/clients/trading/__generated__/models/QuoteRequest.ts +0 -41
- package/src/clients/trading/__generated__/models/QuoteResponse.ts +0 -19
- package/src/clients/trading/__generated__/models/RequestId.ts +0 -8
- package/src/clients/trading/__generated__/models/Routing.ts +0 -20
- package/src/clients/trading/__generated__/models/RoutingPreference.ts +0 -16
- package/src/clients/trading/__generated__/models/SafetyLevel.ts +0 -10
- package/src/clients/trading/__generated__/models/ScopeData.ts +0 -28
- package/src/clients/trading/__generated__/models/SettledAmount.ts +0 -14
- package/src/clients/trading/__generated__/models/SortKey.ts +0 -7
- package/src/clients/trading/__generated__/models/SpreadOptimization.ts +0 -11
- package/src/clients/trading/__generated__/models/StepUpdate.ts +0 -25
- package/src/clients/trading/__generated__/models/SwapSafetyMode.ts +0 -10
- package/src/clients/trading/__generated__/models/SwapStatus.ts +0 -11
- package/src/clients/trading/__generated__/models/TokenInRoute.ts +0 -20
- package/src/clients/trading/__generated__/models/TokenProject.ts +0 -13
- package/src/clients/trading/__generated__/models/TokenProjectLogo.ts +0 -8
- package/src/clients/trading/__generated__/models/TradeType.ts +0 -11
- package/src/clients/trading/__generated__/models/TransactionFailureReason.ts +0 -11
- package/src/clients/trading/__generated__/models/TransactionHash.ts +0 -8
- package/src/clients/trading/__generated__/models/TransactionRequest.ts +0 -29
- package/src/clients/trading/__generated__/models/TransactionRequest5792.ts +0 -25
- package/src/clients/trading/__generated__/models/TruncatedPlanStep.ts +0 -21
- package/src/clients/trading/__generated__/models/UniversalRouterVersion.ts +0 -8
- package/src/clients/trading/__generated__/models/UpdatePlanRequest.ts +0 -12
- package/src/clients/trading/__generated__/models/Urgency.ts +0 -12
- package/src/clients/trading/__generated__/models/V2PoolInRoute.ts +0 -19
- package/src/clients/trading/__generated__/models/V2Reserve.ts +0 -16
- package/src/clients/trading/__generated__/models/V3PoolInRoute.ts +0 -24
- package/src/clients/trading/__generated__/models/V4PoolInRoute.ts +0 -30
- package/src/clients/trading/__generated__/models/WalletCheckDelegationRequestBody.ts +0 -17
- package/src/clients/trading/__generated__/models/WalletCheckDelegationResponseBody.ts +0 -14
- package/src/clients/trading/__generated__/models/WalletEncode7702RequestBody.ts +0 -21
- package/src/clients/trading/__generated__/models/WalletExecutionContext.ts +0 -17
- package/src/clients/trading/__generated__/models/WalletInfo.ts +0 -22
- package/src/clients/trading/__generated__/models/WalletProperties.ts +0 -12
- package/src/clients/trading/__generated__/models/WrapUnwrapQuote.ts +0 -31
- package/src/clients/trading/__generated__/models/additionalValidationContract.ts +0 -9
- package/src/clients/trading/__generated__/models/additionalValidationData.ts +0 -9
- package/src/clients/trading/__generated__/models/bps.ts +0 -8
- package/src/clients/trading/__generated__/models/bpsFee.ts +0 -8
- package/src/clients/trading/__generated__/models/bridgeTokenInChainIdParam.ts +0 -6
- package/src/clients/trading/__generated__/models/chainIdParam.ts +0 -6
- package/src/clients/trading/__generated__/models/claimerWalletAddress.ts +0 -8
- package/src/clients/trading/__generated__/models/contractAddress.ts +0 -8
- package/src/clients/trading/__generated__/models/cosignerAddress.ts +0 -8
- package/src/clients/trading/__generated__/models/cursorParam.ts +0 -5
- package/src/clients/trading/__generated__/models/deadline.ts +0 -8
- package/src/clients/trading/__generated__/models/encodedOrder.ts +0 -8
- package/src/clients/trading/__generated__/models/endAmount.ts +0 -8
- package/src/clients/trading/__generated__/models/erc20EthEnabledHeader.ts +0 -8
- package/src/clients/trading/__generated__/models/fillerParam.ts +0 -9
- package/src/clients/trading/__generated__/models/gasFee.ts +0 -8
- package/src/clients/trading/__generated__/models/gasFeeInCurrency.ts +0 -8
- package/src/clients/trading/__generated__/models/gasFeeUSD.ts +0 -8
- package/src/clients/trading/__generated__/models/gasLimit.ts +0 -8
- package/src/clients/trading/__generated__/models/gasPrice.ts +0 -8
- package/src/clients/trading/__generated__/models/generatePermitAsTransaction.ts +0 -8
- package/src/clients/trading/__generated__/models/includeGasInfo.ts +0 -8
- package/src/clients/trading/__generated__/models/inputToken.ts +0 -8
- package/src/clients/trading/__generated__/models/isSpam.ts +0 -8
- package/src/clients/trading/__generated__/models/limitParam.ts +0 -5
- package/src/clients/trading/__generated__/models/liquidity.ts +0 -8
- package/src/clients/trading/__generated__/models/lpPoolFee.ts +0 -8
- package/src/clients/trading/__generated__/models/lpTickCurrent.ts +0 -8
- package/src/clients/trading/__generated__/models/maxFeePerGas.ts +0 -8
- package/src/clients/trading/__generated__/models/maxPriorityFeePerGas.ts +0 -8
- package/src/clients/trading/__generated__/models/minAmount.ts +0 -8
- package/src/clients/trading/__generated__/models/nonce.ts +0 -8
- package/src/clients/trading/__generated__/models/orderId.ts +0 -8
- package/src/clients/trading/__generated__/models/orderIdParam.ts +0 -6
- package/src/clients/trading/__generated__/models/orderIdsParam.ts +0 -9
- package/src/clients/trading/__generated__/models/orderStatusParam.ts +0 -9
- package/src/clients/trading/__generated__/models/orderTypeParam.ts +0 -9
- package/src/clients/trading/__generated__/models/outputToken.ts +0 -8
- package/src/clients/trading/__generated__/models/poolFee.ts +0 -8
- package/src/clients/trading/__generated__/models/portionAmount.ts +0 -8
- package/src/clients/trading/__generated__/models/portionAmountReceiverAddress.ts +0 -8
- package/src/clients/trading/__generated__/models/portionBips.ts +0 -8
- package/src/clients/trading/__generated__/models/quoteId.ts +0 -8
- package/src/clients/trading/__generated__/models/receiverWalletAddress.ts +0 -8
- package/src/clients/trading/__generated__/models/senderWalletAddress.ts +0 -8
- package/src/clients/trading/__generated__/models/slippageTolerance.ts +0 -14
- package/src/clients/trading/__generated__/models/sortKeyParam.ts +0 -9
- package/src/clients/trading/__generated__/models/sortParam.ts +0 -8
- package/src/clients/trading/__generated__/models/sqrtRatioX96.ts +0 -8
- package/src/clients/trading/__generated__/models/startAmount.ts +0 -8
- package/src/clients/trading/__generated__/models/swapperParam.ts +0 -9
- package/src/clients/trading/__generated__/models/tickCurrent.ts +0 -8
- package/src/clients/trading/__generated__/models/tickSpacing.ts +0 -8
- package/src/clients/trading/__generated__/models/tokenAmount.ts +0 -8
- package/src/clients/trading/__generated__/models/tokenInParam.ts +0 -6
- package/src/clients/trading/__generated__/models/tokenSymbol.ts +0 -8
- package/src/clients/trading/__generated__/models/transactionHashesParam.ts +0 -9
- package/src/clients/trading/__generated__/models/universalRouterVersionHeader.ts +0 -9
- package/src/clients/trading/__generated__/services/ApprovalService.ts +0 -39
- package/src/clients/trading/__generated__/services/DefaultService.ts +0 -46
- package/src/clients/trading/__generated__/services/IndicativeQuoteService.ts +0 -39
- package/src/clients/trading/__generated__/services/LimitOrderQuoteService.ts +0 -37
- package/src/clients/trading/__generated__/services/LiquidityService.ts +0 -239
- package/src/clients/trading/__generated__/services/OrderService.ts +0 -131
- package/src/clients/trading/__generated__/services/PlanService.ts +0 -76
- package/src/clients/trading/__generated__/services/QuoteService.ts +0 -58
- package/src/clients/trading/__generated__/services/SendService.ts +0 -37
- package/src/clients/trading/__generated__/services/SwapService.ts +0 -161
- package/src/clients/trading/__generated__/services/SwappableTokensService.ts +0 -42
- package/src/clients/trading/__generated__/services/WalletCheckDelegationService.ts +0 -37
- package/src/clients/trading/__generated__/services/WalletEncode7702Service.ts +0 -37
- package/src/hooks/index.ts +0 -6
- package/src/hooks/use-token-list.ts +0 -52
- package/src/hooks/use-token-price.ts +0 -82
|
@@ -1,2099 +0,0 @@
|
|
|
1
|
-
export type Maybe<T> = T | undefined;
|
|
2
|
-
export type InputMaybe<T> = T | undefined;
|
|
3
|
-
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
|
|
4
|
-
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
|
|
5
|
-
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
|
|
6
|
-
/** All built-in and custom scalars, mapped to their actual values */
|
|
7
|
-
export type Scalars = {
|
|
8
|
-
ID: string;
|
|
9
|
-
String: string;
|
|
10
|
-
Boolean: boolean;
|
|
11
|
-
Int: number;
|
|
12
|
-
Float: number;
|
|
13
|
-
/**
|
|
14
|
-
* The `AWSJSON` scalar type provided by AWS AppSync, represents a JSON string that
|
|
15
|
-
* complies with [RFC 8259](https://tools.ietf.org/html/rfc8259). Maps like
|
|
16
|
-
* "**{\\"upvotes\\": 10}**", lists like "**[1,2,3]**", and scalar values like
|
|
17
|
-
* "**\\"AWSJSON example string\\"**", "**1**", and "**true**" are accepted as
|
|
18
|
-
* valid JSON and will automatically be parsed and loaded in the resolver mapping
|
|
19
|
-
* templates as Maps, Lists, or Scalar values rather than as the literal input
|
|
20
|
-
* strings. Invalid JSON strings like "**{a: 1}**", "**{'a': 1}**" and "**Unquoted
|
|
21
|
-
* string**" will throw GraphQL validation errors.
|
|
22
|
-
*/
|
|
23
|
-
AWSJSON: any;
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Types, unions, and inputs (alphabetized):
|
|
28
|
-
* These are colocated to highlight the relationship between some types and their inputs.
|
|
29
|
-
*/
|
|
30
|
-
export type ActivityDetails = OffRampTransactionDetails | OnRampTransactionDetails | SwapOrderDetails | TransactionDetails;
|
|
31
|
-
|
|
32
|
-
export type ActivityDetailsInput = {
|
|
33
|
-
offRampTransactionDetails?: InputMaybe<OffRampTransactionDetailsInput>;
|
|
34
|
-
onRampTransactionDetails?: InputMaybe<OnRampTransactionDetailsInput>;
|
|
35
|
-
swapOrderDetails?: InputMaybe<SwapOrderDetailsInput>;
|
|
36
|
-
transactionDetails?: InputMaybe<TransactionDetailsInput>;
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Enums (alphabetized):
|
|
41
|
-
* deprecated and replaced with TransactionType, please do not use this
|
|
42
|
-
*/
|
|
43
|
-
export enum ActivityType {
|
|
44
|
-
Approve = 'APPROVE',
|
|
45
|
-
Borrow = 'BORROW',
|
|
46
|
-
Burn = 'BURN',
|
|
47
|
-
Cancel = 'CANCEL',
|
|
48
|
-
Claim = 'CLAIM',
|
|
49
|
-
Deployment = 'DEPLOYMENT',
|
|
50
|
-
Lend = 'LEND',
|
|
51
|
-
Mint = 'MINT',
|
|
52
|
-
Nft = 'NFT',
|
|
53
|
-
OffRamp = 'OFF_RAMP',
|
|
54
|
-
OnRamp = 'ON_RAMP',
|
|
55
|
-
Receive = 'RECEIVE',
|
|
56
|
-
Repay = 'REPAY',
|
|
57
|
-
Send = 'SEND',
|
|
58
|
-
Stake = 'STAKE',
|
|
59
|
-
Swap = 'SWAP',
|
|
60
|
-
SwapOrder = 'SWAP_ORDER',
|
|
61
|
-
Staking = 'Staking',
|
|
62
|
-
Unknown = 'UNKNOWN',
|
|
63
|
-
Unstake = 'UNSTAKE',
|
|
64
|
-
Withdraw = 'WITHDRAW',
|
|
65
|
-
Market = 'market',
|
|
66
|
-
Money = 'money'
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
export type Amount = IAmount & {
|
|
70
|
-
__typename?: 'Amount';
|
|
71
|
-
currency?: Maybe<Currency>;
|
|
72
|
-
id: Scalars['ID'];
|
|
73
|
-
value: Scalars['Float'];
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
export type AmountChange = {
|
|
77
|
-
__typename?: 'AmountChange';
|
|
78
|
-
absolute?: Maybe<Amount>;
|
|
79
|
-
id: Scalars['ID'];
|
|
80
|
-
percentage?: Maybe<Amount>;
|
|
81
|
-
};
|
|
82
|
-
|
|
83
|
-
export type AmountInput = {
|
|
84
|
-
currency?: InputMaybe<Currency>;
|
|
85
|
-
value: Scalars['Float'];
|
|
86
|
-
};
|
|
87
|
-
|
|
88
|
-
export type ApplicationContract = IContract & {
|
|
89
|
-
__typename?: 'ApplicationContract';
|
|
90
|
-
address: Scalars['String'];
|
|
91
|
-
chain: Chain;
|
|
92
|
-
icon?: Maybe<Image>;
|
|
93
|
-
id: Scalars['ID'];
|
|
94
|
-
name?: Maybe<Scalars['String']>;
|
|
95
|
-
};
|
|
96
|
-
|
|
97
|
-
export type ApplicationContractInput = {
|
|
98
|
-
address: Scalars['String'];
|
|
99
|
-
chain: Chain;
|
|
100
|
-
icon?: InputMaybe<ImageInput>;
|
|
101
|
-
name?: InputMaybe<Scalars['String']>;
|
|
102
|
-
};
|
|
103
|
-
|
|
104
|
-
export type AssetActivity = {
|
|
105
|
-
__typename?: 'AssetActivity';
|
|
106
|
-
addresses?: Maybe<Array<Scalars['String']>>;
|
|
107
|
-
/** @deprecated use assetChanges field in details */
|
|
108
|
-
assetChanges: Array<Maybe<AssetChange>>;
|
|
109
|
-
chain: Chain;
|
|
110
|
-
details: ActivityDetails;
|
|
111
|
-
/** @deprecated not required, remove usage */
|
|
112
|
-
gasUsed?: Maybe<Scalars['Float']>;
|
|
113
|
-
id: Scalars['ID'];
|
|
114
|
-
timestamp: Scalars['Int'];
|
|
115
|
-
/** @deprecated use fields from details */
|
|
116
|
-
transaction: Transaction;
|
|
117
|
-
/** @deprecated use type field in details */
|
|
118
|
-
type: ActivityType;
|
|
119
|
-
};
|
|
120
|
-
|
|
121
|
-
export type AssetActivityInput = {
|
|
122
|
-
chain: Chain;
|
|
123
|
-
details: ActivityDetailsInput;
|
|
124
|
-
timestamp: Scalars['Int'];
|
|
125
|
-
};
|
|
126
|
-
|
|
127
|
-
export enum AssetActivitySwitch {
|
|
128
|
-
Alternate = 'ALTERNATE',
|
|
129
|
-
Legacy = 'LEGACY'
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
export type AssetChange = NftApproval | NftApproveForAll | NftTransfer | OffRampTransfer | OnRampTransfer | TokenApproval | TokenTransfer;
|
|
133
|
-
|
|
134
|
-
export type AssetChangeInput = {
|
|
135
|
-
nftApproval?: InputMaybe<NftApprovalInput>;
|
|
136
|
-
nftApproveForAll?: InputMaybe<NftApproveForAllInput>;
|
|
137
|
-
nftTransfer?: InputMaybe<NftTransferInput>;
|
|
138
|
-
offRampTransfer?: InputMaybe<OffRampTransferInput>;
|
|
139
|
-
onRampTransfer?: InputMaybe<OnRampTransferInput>;
|
|
140
|
-
tokenApproval?: InputMaybe<TokenApprovalInput>;
|
|
141
|
-
tokenTransfer?: InputMaybe<TokenTransferInput>;
|
|
142
|
-
};
|
|
143
|
-
|
|
144
|
-
export type BlockaidFees = {
|
|
145
|
-
__typename?: 'BlockaidFees';
|
|
146
|
-
buy?: Maybe<Scalars['Float']>;
|
|
147
|
-
sell?: Maybe<Scalars['Float']>;
|
|
148
|
-
transfer?: Maybe<Scalars['Float']>;
|
|
149
|
-
};
|
|
150
|
-
|
|
151
|
-
export type BridgedWithdrawalInfo = {
|
|
152
|
-
__typename?: 'BridgedWithdrawalInfo';
|
|
153
|
-
chain: Scalars['String'];
|
|
154
|
-
provider: Scalars['String'];
|
|
155
|
-
url: Scalars['String'];
|
|
156
|
-
};
|
|
157
|
-
|
|
158
|
-
export enum Chain {
|
|
159
|
-
Arbitrum = 'ARBITRUM',
|
|
160
|
-
ArbitrumSepolia = 'ARBITRUM_SEPOLIA',
|
|
161
|
-
AstrochainSepolia = 'ASTROCHAIN_SEPOLIA',
|
|
162
|
-
Avalanche = 'AVALANCHE',
|
|
163
|
-
Base = 'BASE',
|
|
164
|
-
BaseSepolia = 'BASE_SEPOLIA',
|
|
165
|
-
Blast = 'BLAST',
|
|
166
|
-
Bnb = 'BNB',
|
|
167
|
-
Celo = 'CELO',
|
|
168
|
-
Ethereum = 'ETHEREUM',
|
|
169
|
-
EthereumGoerli = 'ETHEREUM_GOERLI',
|
|
170
|
-
EthereumSepolia = 'ETHEREUM_SEPOLIA',
|
|
171
|
-
Monad = 'MONAD',
|
|
172
|
-
MonadTestnet = 'MONAD_TESTNET',
|
|
173
|
-
Optimism = 'OPTIMISM',
|
|
174
|
-
Polygon = 'POLYGON',
|
|
175
|
-
Lux = 'LUX',
|
|
176
|
-
LuxTestnet = 'LUX_TESTNET',
|
|
177
|
-
Solana = 'SOLANA',
|
|
178
|
-
Soneium = 'SONEIUM',
|
|
179
|
-
Unichain = 'UNICHAIN',
|
|
180
|
-
UnknownChain = 'UNKNOWN_CHAIN',
|
|
181
|
-
Worldchain = 'WORLDCHAIN',
|
|
182
|
-
Xlayer = 'XLAYER',
|
|
183
|
-
Zksync = 'ZKSYNC',
|
|
184
|
-
Zoo = 'ZOO',
|
|
185
|
-
Zora = 'ZORA'
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
export enum CollectionSortableField {
|
|
189
|
-
Volume = 'VOLUME'
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
export type ContractInput = {
|
|
193
|
-
address?: InputMaybe<Scalars['String']>;
|
|
194
|
-
chain: Chain;
|
|
195
|
-
};
|
|
196
|
-
|
|
197
|
-
export enum Currency {
|
|
198
|
-
Ars = 'ARS',
|
|
199
|
-
Aud = 'AUD',
|
|
200
|
-
Brl = 'BRL',
|
|
201
|
-
Cad = 'CAD',
|
|
202
|
-
Cny = 'CNY',
|
|
203
|
-
Cop = 'COP',
|
|
204
|
-
Eth = 'ETH',
|
|
205
|
-
Eur = 'EUR',
|
|
206
|
-
Gbp = 'GBP',
|
|
207
|
-
Hkd = 'HKD',
|
|
208
|
-
Idr = 'IDR',
|
|
209
|
-
Inr = 'INR',
|
|
210
|
-
Jpy = 'JPY',
|
|
211
|
-
Krw = 'KRW',
|
|
212
|
-
Matic = 'MATIC',
|
|
213
|
-
Mxn = 'MXN',
|
|
214
|
-
Ngn = 'NGN',
|
|
215
|
-
Nzd = 'NZD',
|
|
216
|
-
Pkr = 'PKR',
|
|
217
|
-
Rub = 'RUB',
|
|
218
|
-
Sgd = 'SGD',
|
|
219
|
-
Thb = 'THB',
|
|
220
|
-
Try = 'TRY',
|
|
221
|
-
Uah = 'UAH',
|
|
222
|
-
Usd = 'USD',
|
|
223
|
-
Vnd = 'VND'
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
export type CurrencyAmountInput = {
|
|
227
|
-
currency: Currency;
|
|
228
|
-
value: Scalars['Float'];
|
|
229
|
-
};
|
|
230
|
-
|
|
231
|
-
export type DescriptionTranslations = {
|
|
232
|
-
__typename?: 'DescriptionTranslations';
|
|
233
|
-
descriptionEnUs?: Maybe<Scalars['String']>;
|
|
234
|
-
descriptionEs419?: Maybe<Scalars['String']>;
|
|
235
|
-
descriptionEsEs?: Maybe<Scalars['String']>;
|
|
236
|
-
descriptionEsUs?: Maybe<Scalars['String']>;
|
|
237
|
-
descriptionFrFr?: Maybe<Scalars['String']>;
|
|
238
|
-
descriptionHiIn?: Maybe<Scalars['String']>;
|
|
239
|
-
descriptionIdId?: Maybe<Scalars['String']>;
|
|
240
|
-
descriptionJaJp?: Maybe<Scalars['String']>;
|
|
241
|
-
descriptionMsMy?: Maybe<Scalars['String']>;
|
|
242
|
-
descriptionNlNl?: Maybe<Scalars['String']>;
|
|
243
|
-
descriptionPtPt?: Maybe<Scalars['String']>;
|
|
244
|
-
descriptionRuRu?: Maybe<Scalars['String']>;
|
|
245
|
-
descriptionThTh?: Maybe<Scalars['String']>;
|
|
246
|
-
descriptionTrTr?: Maybe<Scalars['String']>;
|
|
247
|
-
descriptionUkUa?: Maybe<Scalars['String']>;
|
|
248
|
-
descriptionUrPk?: Maybe<Scalars['String']>;
|
|
249
|
-
descriptionViVn?: Maybe<Scalars['String']>;
|
|
250
|
-
descriptionZhHans?: Maybe<Scalars['String']>;
|
|
251
|
-
descriptionZhHant?: Maybe<Scalars['String']>;
|
|
252
|
-
id: Scalars['ID'];
|
|
253
|
-
};
|
|
254
|
-
|
|
255
|
-
export type Dimensions = {
|
|
256
|
-
__typename?: 'Dimensions';
|
|
257
|
-
height?: Maybe<Scalars['Float']>;
|
|
258
|
-
id: Scalars['ID'];
|
|
259
|
-
width?: Maybe<Scalars['Float']>;
|
|
260
|
-
};
|
|
261
|
-
|
|
262
|
-
export type DimensionsInput = {
|
|
263
|
-
height?: InputMaybe<Scalars['Float']>;
|
|
264
|
-
width?: InputMaybe<Scalars['Float']>;
|
|
265
|
-
};
|
|
266
|
-
|
|
267
|
-
export type FeeData = {
|
|
268
|
-
__typename?: 'FeeData';
|
|
269
|
-
buyFeeBps?: Maybe<Scalars['String']>;
|
|
270
|
-
externalTransferFailed?: Maybe<Scalars['Boolean']>;
|
|
271
|
-
feeTakenOnTransfer?: Maybe<Scalars['Boolean']>;
|
|
272
|
-
sellFeeBps?: Maybe<Scalars['String']>;
|
|
273
|
-
sellReverted?: Maybe<Scalars['Boolean']>;
|
|
274
|
-
};
|
|
275
|
-
|
|
276
|
-
export enum HighLow {
|
|
277
|
-
High = 'HIGH',
|
|
278
|
-
Low = 'LOW'
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
/** FIVE_MINUTE is only supported for TokenMarket.pricePercentChange */
|
|
282
|
-
export enum HistoryDuration {
|
|
283
|
-
Day = 'DAY',
|
|
284
|
-
FiveMinute = 'FIVE_MINUTE',
|
|
285
|
-
Hour = 'HOUR',
|
|
286
|
-
Max = 'MAX',
|
|
287
|
-
Month = 'MONTH',
|
|
288
|
-
Week = 'WEEK',
|
|
289
|
-
Year = 'YEAR'
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
/** Interfaces (alphabetized): */
|
|
293
|
-
export type IAmount = {
|
|
294
|
-
currency?: Maybe<Currency>;
|
|
295
|
-
value: Scalars['Float'];
|
|
296
|
-
};
|
|
297
|
-
|
|
298
|
-
export type IContract = {
|
|
299
|
-
address?: Maybe<Scalars['String']>;
|
|
300
|
-
chain: Chain;
|
|
301
|
-
};
|
|
302
|
-
|
|
303
|
-
export type IPool = {
|
|
304
|
-
address: Scalars['String'];
|
|
305
|
-
chain: Chain;
|
|
306
|
-
createdAtTimestamp?: Maybe<Scalars['Int']>;
|
|
307
|
-
cumulativeVolume?: Maybe<Amount>;
|
|
308
|
-
historicalVolume?: Maybe<Array<Maybe<TimestampedAmount>>>;
|
|
309
|
-
id: Scalars['ID'];
|
|
310
|
-
priceHistory?: Maybe<Array<Maybe<TimestampedPoolPrice>>>;
|
|
311
|
-
protocolVersion: ProtocolVersion;
|
|
312
|
-
token0?: Maybe<Token>;
|
|
313
|
-
token0Supply?: Maybe<Scalars['Float']>;
|
|
314
|
-
token1?: Maybe<Token>;
|
|
315
|
-
token1Supply?: Maybe<Scalars['Float']>;
|
|
316
|
-
totalLiquidity?: Maybe<Amount>;
|
|
317
|
-
totalLiquidityPercentChange24h?: Maybe<Amount>;
|
|
318
|
-
transactions?: Maybe<Array<Maybe<PoolTransaction>>>;
|
|
319
|
-
txCount?: Maybe<Scalars['Int']>;
|
|
320
|
-
};
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
export type IPoolCumulativeVolumeArgs = {
|
|
324
|
-
duration: HistoryDuration;
|
|
325
|
-
};
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
export type IPoolHistoricalVolumeArgs = {
|
|
329
|
-
duration: HistoryDuration;
|
|
330
|
-
};
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
export type IPoolPriceHistoryArgs = {
|
|
334
|
-
duration: HistoryDuration;
|
|
335
|
-
};
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
export type IPoolTransactionsArgs = {
|
|
339
|
-
first: Scalars['Int'];
|
|
340
|
-
timestampCursor?: InputMaybe<Scalars['Int']>;
|
|
341
|
-
};
|
|
342
|
-
|
|
343
|
-
export type Image = {
|
|
344
|
-
__typename?: 'Image';
|
|
345
|
-
dimensions?: Maybe<Dimensions>;
|
|
346
|
-
id: Scalars['ID'];
|
|
347
|
-
url: Scalars['String'];
|
|
348
|
-
};
|
|
349
|
-
|
|
350
|
-
export type ImageInput = {
|
|
351
|
-
dimensions?: InputMaybe<DimensionsInput>;
|
|
352
|
-
url: Scalars['String'];
|
|
353
|
-
};
|
|
354
|
-
|
|
355
|
-
export enum MediaType {
|
|
356
|
-
Audio = 'AUDIO',
|
|
357
|
-
Image = 'IMAGE',
|
|
358
|
-
Raw = 'RAW',
|
|
359
|
-
Video = 'VIDEO'
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
export type Mutation = {
|
|
363
|
-
__typename?: 'Mutation';
|
|
364
|
-
assetActivity: AssetActivity;
|
|
365
|
-
heartbeat: Status;
|
|
366
|
-
unsubscribe: Status;
|
|
367
|
-
};
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
export type MutationAssetActivityArgs = {
|
|
371
|
-
input: AssetActivityInput;
|
|
372
|
-
};
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
export type MutationHeartbeatArgs = {
|
|
376
|
-
subscriptionId: Scalars['ID'];
|
|
377
|
-
type: SubscriptionType;
|
|
378
|
-
};
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
export type MutationUnsubscribeArgs = {
|
|
382
|
-
subscriptionId: Scalars['ID'];
|
|
383
|
-
type: SubscriptionType;
|
|
384
|
-
};
|
|
385
|
-
|
|
386
|
-
export type NetworkFee = {
|
|
387
|
-
__typename?: 'NetworkFee';
|
|
388
|
-
quantity?: Maybe<Scalars['String']>;
|
|
389
|
-
tokenAddress?: Maybe<Scalars['String']>;
|
|
390
|
-
tokenChain?: Maybe<Scalars['String']>;
|
|
391
|
-
tokenSymbol?: Maybe<Scalars['String']>;
|
|
392
|
-
};
|
|
393
|
-
|
|
394
|
-
export type NftActivity = {
|
|
395
|
-
__typename?: 'NftActivity';
|
|
396
|
-
address: Scalars['String'];
|
|
397
|
-
asset?: Maybe<NftAsset>;
|
|
398
|
-
fromAddress: Scalars['String'];
|
|
399
|
-
id: Scalars['ID'];
|
|
400
|
-
marketplace?: Maybe<Scalars['String']>;
|
|
401
|
-
orderStatus?: Maybe<OrderStatus>;
|
|
402
|
-
price?: Maybe<Amount>;
|
|
403
|
-
quantity?: Maybe<Scalars['Int']>;
|
|
404
|
-
timestamp: Scalars['Int'];
|
|
405
|
-
toAddress?: Maybe<Scalars['String']>;
|
|
406
|
-
tokenId?: Maybe<Scalars['String']>;
|
|
407
|
-
transactionHash?: Maybe<Scalars['String']>;
|
|
408
|
-
type: NftActivityType;
|
|
409
|
-
url?: Maybe<Scalars['String']>;
|
|
410
|
-
};
|
|
411
|
-
|
|
412
|
-
export type NftActivityConnection = {
|
|
413
|
-
__typename?: 'NftActivityConnection';
|
|
414
|
-
edges: Array<NftActivityEdge>;
|
|
415
|
-
pageInfo: PageInfo;
|
|
416
|
-
};
|
|
417
|
-
|
|
418
|
-
export type NftActivityEdge = {
|
|
419
|
-
__typename?: 'NftActivityEdge';
|
|
420
|
-
cursor: Scalars['String'];
|
|
421
|
-
node: NftActivity;
|
|
422
|
-
};
|
|
423
|
-
|
|
424
|
-
export type NftActivityFilterInput = {
|
|
425
|
-
activityTypes?: InputMaybe<Array<NftActivityType>>;
|
|
426
|
-
address?: InputMaybe<Scalars['String']>;
|
|
427
|
-
tokenId?: InputMaybe<Scalars['String']>;
|
|
428
|
-
};
|
|
429
|
-
|
|
430
|
-
export enum NftActivityType {
|
|
431
|
-
CancelListing = 'CANCEL_LISTING',
|
|
432
|
-
Listing = 'LISTING',
|
|
433
|
-
Sale = 'SALE',
|
|
434
|
-
Transfer = 'TRANSFER'
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
export type NftApproval = {
|
|
438
|
-
__typename?: 'NftApproval';
|
|
439
|
-
approvedAddress: Scalars['String'];
|
|
440
|
-
/** can be erc721, erc1155, noncompliant */
|
|
441
|
-
asset: NftAsset;
|
|
442
|
-
id: Scalars['ID'];
|
|
443
|
-
nftStandard: NftStandard;
|
|
444
|
-
};
|
|
445
|
-
|
|
446
|
-
export type NftApprovalInput = {
|
|
447
|
-
approvedAddress: Scalars['String'];
|
|
448
|
-
asset: NftAssetInput;
|
|
449
|
-
nftStandard: NftStandard;
|
|
450
|
-
};
|
|
451
|
-
|
|
452
|
-
export type NftApproveForAll = {
|
|
453
|
-
__typename?: 'NftApproveForAll';
|
|
454
|
-
approved: Scalars['Boolean'];
|
|
455
|
-
/** can be erc721, erc1155, noncompliant */
|
|
456
|
-
asset: NftAsset;
|
|
457
|
-
id: Scalars['ID'];
|
|
458
|
-
nftStandard: NftStandard;
|
|
459
|
-
operatorAddress: Scalars['String'];
|
|
460
|
-
};
|
|
461
|
-
|
|
462
|
-
export type NftApproveForAllInput = {
|
|
463
|
-
approved: Scalars['Boolean'];
|
|
464
|
-
asset: NftAssetInput;
|
|
465
|
-
nftStandard: NftStandard;
|
|
466
|
-
operatorAddress: Scalars['String'];
|
|
467
|
-
};
|
|
468
|
-
|
|
469
|
-
export type NftAsset = {
|
|
470
|
-
__typename?: 'NftAsset';
|
|
471
|
-
animationUrl?: Maybe<Scalars['String']>;
|
|
472
|
-
chain?: Maybe<Chain>;
|
|
473
|
-
collection?: Maybe<NftCollection>;
|
|
474
|
-
creator?: Maybe<NftProfile>;
|
|
475
|
-
description?: Maybe<Scalars['String']>;
|
|
476
|
-
flaggedBy?: Maybe<Scalars['String']>;
|
|
477
|
-
id: Scalars['ID'];
|
|
478
|
-
image?: Maybe<Image>;
|
|
479
|
-
/** @deprecated Field no longer supported */
|
|
480
|
-
imageUrl?: Maybe<Scalars['String']>;
|
|
481
|
-
isSpam?: Maybe<Scalars['Boolean']>;
|
|
482
|
-
listings?: Maybe<NftOrderConnection>;
|
|
483
|
-
mediaType?: Maybe<MediaType>;
|
|
484
|
-
metadataUrl?: Maybe<Scalars['String']>;
|
|
485
|
-
name?: Maybe<Scalars['String']>;
|
|
486
|
-
nftContract?: Maybe<NftContract>;
|
|
487
|
-
originalImage?: Maybe<Image>;
|
|
488
|
-
/** TODO: may need to be array to support erc1155 cases. not needed at the moment so will revisit. */
|
|
489
|
-
ownerAddress?: Maybe<Scalars['String']>;
|
|
490
|
-
protectionInfo?: Maybe<ProtectionInfo>;
|
|
491
|
-
rarities?: Maybe<Array<NftAssetRarity>>;
|
|
492
|
-
smallImage?: Maybe<Image>;
|
|
493
|
-
/** @deprecated Field no longer supported */
|
|
494
|
-
smallImageUrl?: Maybe<Scalars['String']>;
|
|
495
|
-
suspiciousFlag?: Maybe<Scalars['Boolean']>;
|
|
496
|
-
thumbnail?: Maybe<Image>;
|
|
497
|
-
/** @deprecated Field no longer supported */
|
|
498
|
-
thumbnailUrl?: Maybe<Scalars['String']>;
|
|
499
|
-
tokenId: Scalars['String'];
|
|
500
|
-
traits?: Maybe<Array<NftAssetTrait>>;
|
|
501
|
-
};
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
export type NftAssetListingsArgs = {
|
|
505
|
-
after?: InputMaybe<Scalars['String']>;
|
|
506
|
-
asc?: InputMaybe<Scalars['Boolean']>;
|
|
507
|
-
before?: InputMaybe<Scalars['String']>;
|
|
508
|
-
chain?: InputMaybe<Chain>;
|
|
509
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
510
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
511
|
-
};
|
|
512
|
-
|
|
513
|
-
export type NftAssetConnection = {
|
|
514
|
-
__typename?: 'NftAssetConnection';
|
|
515
|
-
edges: Array<NftAssetEdge>;
|
|
516
|
-
pageInfo: PageInfo;
|
|
517
|
-
totalCount?: Maybe<Scalars['Int']>;
|
|
518
|
-
};
|
|
519
|
-
|
|
520
|
-
export type NftAssetEdge = {
|
|
521
|
-
__typename?: 'NftAssetEdge';
|
|
522
|
-
cursor: Scalars['String'];
|
|
523
|
-
node: NftAsset;
|
|
524
|
-
};
|
|
525
|
-
|
|
526
|
-
export type NftAssetInput = {
|
|
527
|
-
animationUrl?: InputMaybe<Scalars['String']>;
|
|
528
|
-
collection?: InputMaybe<NftCollectionInput>;
|
|
529
|
-
description?: InputMaybe<Scalars['String']>;
|
|
530
|
-
image?: InputMaybe<ImageInput>;
|
|
531
|
-
isSpam?: InputMaybe<Scalars['Boolean']>;
|
|
532
|
-
mediaType?: InputMaybe<MediaType>;
|
|
533
|
-
name?: InputMaybe<Scalars['String']>;
|
|
534
|
-
nftContract?: InputMaybe<NftContractInput>;
|
|
535
|
-
smallImage?: InputMaybe<ImageInput>;
|
|
536
|
-
thumbnail?: InputMaybe<ImageInput>;
|
|
537
|
-
tokenId: Scalars['String'];
|
|
538
|
-
};
|
|
539
|
-
|
|
540
|
-
export type NftAssetRarity = {
|
|
541
|
-
__typename?: 'NftAssetRarity';
|
|
542
|
-
id: Scalars['ID'];
|
|
543
|
-
provider?: Maybe<NftRarityProvider>;
|
|
544
|
-
rank?: Maybe<Scalars['Int']>;
|
|
545
|
-
score?: Maybe<Scalars['Float']>;
|
|
546
|
-
};
|
|
547
|
-
|
|
548
|
-
export enum NftAssetSortableField {
|
|
549
|
-
Price = 'PRICE',
|
|
550
|
-
Rarity = 'RARITY'
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
export type NftAssetTrait = {
|
|
554
|
-
__typename?: 'NftAssetTrait';
|
|
555
|
-
id: Scalars['ID'];
|
|
556
|
-
name?: Maybe<Scalars['String']>;
|
|
557
|
-
rarity?: Maybe<Scalars['Float']>;
|
|
558
|
-
value?: Maybe<Scalars['String']>;
|
|
559
|
-
};
|
|
560
|
-
|
|
561
|
-
export type NftAssetTraitInput = {
|
|
562
|
-
name: Scalars['String'];
|
|
563
|
-
values: Array<Scalars['String']>;
|
|
564
|
-
};
|
|
565
|
-
|
|
566
|
-
export type NftAssetsFilterInput = {
|
|
567
|
-
listed?: InputMaybe<Scalars['Boolean']>;
|
|
568
|
-
marketplaces?: InputMaybe<Array<NftMarketplace>>;
|
|
569
|
-
maxPrice?: InputMaybe<Scalars['String']>;
|
|
570
|
-
minPrice?: InputMaybe<Scalars['String']>;
|
|
571
|
-
tokenIds?: InputMaybe<Array<Scalars['String']>>;
|
|
572
|
-
tokenSearchQuery?: InputMaybe<Scalars['String']>;
|
|
573
|
-
traits?: InputMaybe<Array<NftAssetTraitInput>>;
|
|
574
|
-
};
|
|
575
|
-
|
|
576
|
-
export type NftBalance = {
|
|
577
|
-
__typename?: 'NftBalance';
|
|
578
|
-
id: Scalars['ID'];
|
|
579
|
-
lastPrice?: Maybe<TimestampedAmount>;
|
|
580
|
-
listedMarketplaces?: Maybe<Array<NftMarketplace>>;
|
|
581
|
-
listingFees?: Maybe<Array<Maybe<NftFee>>>;
|
|
582
|
-
ownedAsset?: Maybe<NftAsset>;
|
|
583
|
-
quantity?: Maybe<Scalars['Int']>;
|
|
584
|
-
};
|
|
585
|
-
|
|
586
|
-
export type NftBalanceAssetInput = {
|
|
587
|
-
address: Scalars['String'];
|
|
588
|
-
tokenId: Scalars['String'];
|
|
589
|
-
};
|
|
590
|
-
|
|
591
|
-
export type NftBalanceConnection = {
|
|
592
|
-
__typename?: 'NftBalanceConnection';
|
|
593
|
-
edges: Array<NftBalanceEdge>;
|
|
594
|
-
pageInfo: PageInfo;
|
|
595
|
-
};
|
|
596
|
-
|
|
597
|
-
export type NftBalanceEdge = {
|
|
598
|
-
__typename?: 'NftBalanceEdge';
|
|
599
|
-
cursor: Scalars['String'];
|
|
600
|
-
node: NftBalance;
|
|
601
|
-
};
|
|
602
|
-
|
|
603
|
-
export type NftBalancesFilterInput = {
|
|
604
|
-
addresses?: InputMaybe<Array<Scalars['String']>>;
|
|
605
|
-
assets?: InputMaybe<Array<NftBalanceAssetInput>>;
|
|
606
|
-
filterSpam?: InputMaybe<Scalars['Boolean']>;
|
|
607
|
-
};
|
|
608
|
-
|
|
609
|
-
export type NftCollection = {
|
|
610
|
-
__typename?: 'NftCollection';
|
|
611
|
-
bannerImage?: Maybe<Image>;
|
|
612
|
-
/**
|
|
613
|
-
* TODO: support querying for collection assets here
|
|
614
|
-
* assets(page: Int, pageSize: Int, orderBy: NftAssetSortableField): [NftAsset]
|
|
615
|
-
* @deprecated Field no longer supported
|
|
616
|
-
*/
|
|
617
|
-
bannerImageUrl?: Maybe<Scalars['String']>;
|
|
618
|
-
collectionId: Scalars['String'];
|
|
619
|
-
creator?: Maybe<NftProfile>;
|
|
620
|
-
description?: Maybe<Scalars['String']>;
|
|
621
|
-
discordUrl?: Maybe<Scalars['String']>;
|
|
622
|
-
homepageUrl?: Maybe<Scalars['String']>;
|
|
623
|
-
id: Scalars['ID'];
|
|
624
|
-
image?: Maybe<Image>;
|
|
625
|
-
/** @deprecated Field no longer supported */
|
|
626
|
-
imageUrl?: Maybe<Scalars['String']>;
|
|
627
|
-
instagramName?: Maybe<Scalars['String']>;
|
|
628
|
-
isVerified?: Maybe<Scalars['Boolean']>;
|
|
629
|
-
markets?: Maybe<Array<NftCollectionMarket>>;
|
|
630
|
-
name?: Maybe<Scalars['String']>;
|
|
631
|
-
nftContracts?: Maybe<Array<NftContract>>;
|
|
632
|
-
numAssets?: Maybe<Scalars['Int']>;
|
|
633
|
-
/** @deprecated Field no longer supported */
|
|
634
|
-
openseaUrl?: Maybe<Scalars['String']>;
|
|
635
|
-
traits?: Maybe<Array<NftCollectionTrait>>;
|
|
636
|
-
twitterName?: Maybe<Scalars['String']>;
|
|
637
|
-
};
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
export type NftCollectionMarketsArgs = {
|
|
641
|
-
currencies: Array<Currency>;
|
|
642
|
-
};
|
|
643
|
-
|
|
644
|
-
export type NftCollectionBalance = {
|
|
645
|
-
__typename?: 'NftCollectionBalance';
|
|
646
|
-
address: Scalars['String'];
|
|
647
|
-
balance: Scalars['Float'];
|
|
648
|
-
id: Scalars['ID'];
|
|
649
|
-
logoImage?: Maybe<Image>;
|
|
650
|
-
name: Scalars['String'];
|
|
651
|
-
};
|
|
652
|
-
|
|
653
|
-
export type NftCollectionBalanceConnection = {
|
|
654
|
-
__typename?: 'NftCollectionBalanceConnection';
|
|
655
|
-
edges: Array<NftCollectionBalanceEdge>;
|
|
656
|
-
pageInfo: PageInfo;
|
|
657
|
-
};
|
|
658
|
-
|
|
659
|
-
export type NftCollectionBalanceEdge = {
|
|
660
|
-
__typename?: 'NftCollectionBalanceEdge';
|
|
661
|
-
cursor: Scalars['String'];
|
|
662
|
-
node: NftCollectionBalance;
|
|
663
|
-
};
|
|
664
|
-
|
|
665
|
-
export type NftCollectionConnection = {
|
|
666
|
-
__typename?: 'NftCollectionConnection';
|
|
667
|
-
edges: Array<NftCollectionEdge>;
|
|
668
|
-
pageInfo: PageInfo;
|
|
669
|
-
};
|
|
670
|
-
|
|
671
|
-
export type NftCollectionEdge = {
|
|
672
|
-
__typename?: 'NftCollectionEdge';
|
|
673
|
-
cursor: Scalars['String'];
|
|
674
|
-
node: NftCollection;
|
|
675
|
-
};
|
|
676
|
-
|
|
677
|
-
export type NftCollectionInput = {
|
|
678
|
-
collectionId: Scalars['String'];
|
|
679
|
-
name?: InputMaybe<Scalars['String']>;
|
|
680
|
-
nftContracts?: InputMaybe<Array<NftContractInput>>;
|
|
681
|
-
};
|
|
682
|
-
|
|
683
|
-
export type NftCollectionMarket = {
|
|
684
|
-
__typename?: 'NftCollectionMarket';
|
|
685
|
-
floorPrice?: Maybe<TimestampedAmount>;
|
|
686
|
-
floorPricePercentChange?: Maybe<TimestampedAmount>;
|
|
687
|
-
id: Scalars['ID'];
|
|
688
|
-
listings?: Maybe<TimestampedAmount>;
|
|
689
|
-
marketplaces?: Maybe<Array<NftCollectionMarketplace>>;
|
|
690
|
-
nftContracts?: Maybe<Array<NftContract>>;
|
|
691
|
-
owners?: Maybe<Scalars['Int']>;
|
|
692
|
-
percentListed?: Maybe<TimestampedAmount>;
|
|
693
|
-
percentUniqueOwners?: Maybe<TimestampedAmount>;
|
|
694
|
-
sales?: Maybe<TimestampedAmount>;
|
|
695
|
-
totalVolume?: Maybe<TimestampedAmount>;
|
|
696
|
-
volume?: Maybe<TimestampedAmount>;
|
|
697
|
-
/** @deprecated Field no longer supported */
|
|
698
|
-
volume24h?: Maybe<Amount>;
|
|
699
|
-
volumePercentChange?: Maybe<TimestampedAmount>;
|
|
700
|
-
};
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
export type NftCollectionMarketFloorPricePercentChangeArgs = {
|
|
704
|
-
duration?: InputMaybe<HistoryDuration>;
|
|
705
|
-
};
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
export type NftCollectionMarketMarketplacesArgs = {
|
|
709
|
-
marketplaces?: InputMaybe<Array<NftMarketplace>>;
|
|
710
|
-
};
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
export type NftCollectionMarketSalesArgs = {
|
|
714
|
-
duration?: InputMaybe<HistoryDuration>;
|
|
715
|
-
};
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
export type NftCollectionMarketVolumeArgs = {
|
|
719
|
-
duration?: InputMaybe<HistoryDuration>;
|
|
720
|
-
};
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
export type NftCollectionMarketVolumePercentChangeArgs = {
|
|
724
|
-
duration?: InputMaybe<HistoryDuration>;
|
|
725
|
-
};
|
|
726
|
-
|
|
727
|
-
export type NftCollectionMarketplace = {
|
|
728
|
-
__typename?: 'NftCollectionMarketplace';
|
|
729
|
-
floorPrice?: Maybe<Scalars['Float']>;
|
|
730
|
-
id: Scalars['ID'];
|
|
731
|
-
listings?: Maybe<Scalars['Int']>;
|
|
732
|
-
marketplace?: Maybe<NftMarketplace>;
|
|
733
|
-
};
|
|
734
|
-
|
|
735
|
-
export type NftCollectionTrait = {
|
|
736
|
-
__typename?: 'NftCollectionTrait';
|
|
737
|
-
id: Scalars['ID'];
|
|
738
|
-
name?: Maybe<Scalars['String']>;
|
|
739
|
-
stats?: Maybe<Array<NftCollectionTraitStats>>;
|
|
740
|
-
values?: Maybe<Array<Scalars['String']>>;
|
|
741
|
-
};
|
|
742
|
-
|
|
743
|
-
export type NftCollectionTraitStats = {
|
|
744
|
-
__typename?: 'NftCollectionTraitStats';
|
|
745
|
-
assets?: Maybe<Scalars['Int']>;
|
|
746
|
-
id: Scalars['ID'];
|
|
747
|
-
listings?: Maybe<Scalars['Int']>;
|
|
748
|
-
name?: Maybe<Scalars['String']>;
|
|
749
|
-
value?: Maybe<Scalars['String']>;
|
|
750
|
-
};
|
|
751
|
-
|
|
752
|
-
export type NftCollectionsFilterInput = {
|
|
753
|
-
addresses?: InputMaybe<Array<Scalars['String']>>;
|
|
754
|
-
nameQuery?: InputMaybe<Scalars['String']>;
|
|
755
|
-
};
|
|
756
|
-
|
|
757
|
-
export type NftContract = IContract & {
|
|
758
|
-
__typename?: 'NftContract';
|
|
759
|
-
address: Scalars['String'];
|
|
760
|
-
chain: Chain;
|
|
761
|
-
id: Scalars['ID'];
|
|
762
|
-
name?: Maybe<Scalars['String']>;
|
|
763
|
-
standard?: Maybe<NftStandard>;
|
|
764
|
-
symbol?: Maybe<Scalars['String']>;
|
|
765
|
-
totalSupply?: Maybe<Scalars['Int']>;
|
|
766
|
-
};
|
|
767
|
-
|
|
768
|
-
export type NftContractInput = {
|
|
769
|
-
address: Scalars['String'];
|
|
770
|
-
chain: Chain;
|
|
771
|
-
name?: InputMaybe<Scalars['String']>;
|
|
772
|
-
standard?: InputMaybe<NftStandard>;
|
|
773
|
-
symbol?: InputMaybe<Scalars['String']>;
|
|
774
|
-
totalSupply?: InputMaybe<Scalars['Int']>;
|
|
775
|
-
};
|
|
776
|
-
|
|
777
|
-
export type NftFee = {
|
|
778
|
-
__typename?: 'NftFee';
|
|
779
|
-
basisPoints: Scalars['Int'];
|
|
780
|
-
id: Scalars['ID'];
|
|
781
|
-
payoutAddress: Scalars['String'];
|
|
782
|
-
};
|
|
783
|
-
|
|
784
|
-
export enum NftMarketplace {
|
|
785
|
-
Cryptopunks = 'CRYPTOPUNKS',
|
|
786
|
-
Foundation = 'FOUNDATION',
|
|
787
|
-
Looksrare = 'LOOKSRARE',
|
|
788
|
-
Nft20 = 'NFT20',
|
|
789
|
-
Nftx = 'NFTX',
|
|
790
|
-
Opensea = 'OPENSEA',
|
|
791
|
-
Sudoswap = 'SUDOSWAP',
|
|
792
|
-
X2Y2 = 'X2Y2'
|
|
793
|
-
}
|
|
794
|
-
|
|
795
|
-
export type NftOrder = {
|
|
796
|
-
__typename?: 'NftOrder';
|
|
797
|
-
address: Scalars['String'];
|
|
798
|
-
auctionType?: Maybe<Scalars['String']>;
|
|
799
|
-
createdAt: Scalars['Float'];
|
|
800
|
-
endAt?: Maybe<Scalars['Float']>;
|
|
801
|
-
id: Scalars['ID'];
|
|
802
|
-
maker: Scalars['String'];
|
|
803
|
-
marketplace: NftMarketplace;
|
|
804
|
-
marketplaceUrl: Scalars['String'];
|
|
805
|
-
orderHash?: Maybe<Scalars['String']>;
|
|
806
|
-
poolPrices?: Maybe<Array<Scalars['String']>>;
|
|
807
|
-
price: Amount;
|
|
808
|
-
protocolParameters?: Maybe<Scalars['AWSJSON']>;
|
|
809
|
-
quantity: Scalars['Int'];
|
|
810
|
-
startAt: Scalars['Float'];
|
|
811
|
-
status: OrderStatus;
|
|
812
|
-
taker?: Maybe<Scalars['String']>;
|
|
813
|
-
tokenId?: Maybe<Scalars['String']>;
|
|
814
|
-
type: OrderType;
|
|
815
|
-
};
|
|
816
|
-
|
|
817
|
-
export type NftOrderConnection = {
|
|
818
|
-
__typename?: 'NftOrderConnection';
|
|
819
|
-
edges: Array<NftOrderEdge>;
|
|
820
|
-
pageInfo: PageInfo;
|
|
821
|
-
};
|
|
822
|
-
|
|
823
|
-
export type NftOrderEdge = {
|
|
824
|
-
__typename?: 'NftOrderEdge';
|
|
825
|
-
cursor: Scalars['String'];
|
|
826
|
-
node: NftOrder;
|
|
827
|
-
};
|
|
828
|
-
|
|
829
|
-
export type NftProfile = {
|
|
830
|
-
__typename?: 'NftProfile';
|
|
831
|
-
address: Scalars['String'];
|
|
832
|
-
id: Scalars['ID'];
|
|
833
|
-
isVerified?: Maybe<Scalars['Boolean']>;
|
|
834
|
-
profileImage?: Maybe<Image>;
|
|
835
|
-
username?: Maybe<Scalars['String']>;
|
|
836
|
-
};
|
|
837
|
-
|
|
838
|
-
export enum NftRarityProvider {
|
|
839
|
-
RaritySniper = 'RARITY_SNIPER'
|
|
840
|
-
}
|
|
841
|
-
|
|
842
|
-
export type NftRouteResponse = {
|
|
843
|
-
__typename?: 'NftRouteResponse';
|
|
844
|
-
calldata: Scalars['String'];
|
|
845
|
-
id: Scalars['ID'];
|
|
846
|
-
route?: Maybe<Array<NftTrade>>;
|
|
847
|
-
sendAmount: TokenAmount;
|
|
848
|
-
toAddress: Scalars['String'];
|
|
849
|
-
};
|
|
850
|
-
|
|
851
|
-
export enum NftStandard {
|
|
852
|
-
Erc721 = 'ERC721',
|
|
853
|
-
Erc1155 = 'ERC1155',
|
|
854
|
-
Noncompliant = 'NONCOMPLIANT'
|
|
855
|
-
}
|
|
856
|
-
|
|
857
|
-
export type NftTrade = {
|
|
858
|
-
__typename?: 'NftTrade';
|
|
859
|
-
amount: Scalars['Int'];
|
|
860
|
-
contractAddress: Scalars['String'];
|
|
861
|
-
id: Scalars['ID'];
|
|
862
|
-
marketplace: NftMarketplace;
|
|
863
|
-
/** price represents the current price of the NFT, which can be different from quotePrice */
|
|
864
|
-
price: TokenAmount;
|
|
865
|
-
/** quotePrice represents the last quoted price of the NFT */
|
|
866
|
-
quotePrice?: Maybe<TokenAmount>;
|
|
867
|
-
tokenId: Scalars['String'];
|
|
868
|
-
tokenType?: Maybe<NftStandard>;
|
|
869
|
-
};
|
|
870
|
-
|
|
871
|
-
export type NftTradeInput = {
|
|
872
|
-
amount: Scalars['Int'];
|
|
873
|
-
contractAddress: Scalars['String'];
|
|
874
|
-
id: Scalars['ID'];
|
|
875
|
-
marketplace: NftMarketplace;
|
|
876
|
-
quotePrice?: InputMaybe<TokenAmountInput>;
|
|
877
|
-
tokenId: Scalars['String'];
|
|
878
|
-
tokenType?: InputMaybe<NftStandard>;
|
|
879
|
-
};
|
|
880
|
-
|
|
881
|
-
export type NftTransfer = {
|
|
882
|
-
__typename?: 'NftTransfer';
|
|
883
|
-
asset: NftAsset;
|
|
884
|
-
direction: TransactionDirection;
|
|
885
|
-
id: Scalars['ID'];
|
|
886
|
-
nftStandard: NftStandard;
|
|
887
|
-
recipient: Scalars['String'];
|
|
888
|
-
sender: Scalars['String'];
|
|
889
|
-
};
|
|
890
|
-
|
|
891
|
-
export type NftTransferInput = {
|
|
892
|
-
asset: NftAssetInput;
|
|
893
|
-
direction: TransactionDirection;
|
|
894
|
-
nftStandard: NftStandard;
|
|
895
|
-
recipient: Scalars['String'];
|
|
896
|
-
sender: Scalars['String'];
|
|
897
|
-
};
|
|
898
|
-
|
|
899
|
-
export type OffRampServiceProvider = {
|
|
900
|
-
__typename?: 'OffRampServiceProvider';
|
|
901
|
-
id: Scalars['ID'];
|
|
902
|
-
logoDarkUrl: Scalars['String'];
|
|
903
|
-
logoLightUrl: Scalars['String'];
|
|
904
|
-
name: Scalars['String'];
|
|
905
|
-
serviceProvider: Scalars['String'];
|
|
906
|
-
supportUrl?: Maybe<Scalars['String']>;
|
|
907
|
-
url: Scalars['String'];
|
|
908
|
-
};
|
|
909
|
-
|
|
910
|
-
export type OffRampServiceProviderInput = {
|
|
911
|
-
logoDarkUrl: Scalars['String'];
|
|
912
|
-
logoLightUrl: Scalars['String'];
|
|
913
|
-
name: Scalars['String'];
|
|
914
|
-
serviceProvider: Scalars['String'];
|
|
915
|
-
supportUrl?: InputMaybe<Scalars['String']>;
|
|
916
|
-
url: Scalars['String'];
|
|
917
|
-
};
|
|
918
|
-
|
|
919
|
-
export type OffRampTransactionDetails = {
|
|
920
|
-
__typename?: 'OffRampTransactionDetails';
|
|
921
|
-
id: Scalars['ID'];
|
|
922
|
-
offRampTransfer: OffRampTransfer;
|
|
923
|
-
senderAddress: Scalars['String'];
|
|
924
|
-
status: TransactionStatus;
|
|
925
|
-
};
|
|
926
|
-
|
|
927
|
-
export type OffRampTransactionDetailsInput = {
|
|
928
|
-
offRampTransfer: OffRampTransferInput;
|
|
929
|
-
senderAddress: Scalars['String'];
|
|
930
|
-
status: TransactionStatus;
|
|
931
|
-
};
|
|
932
|
-
|
|
933
|
-
export type OffRampTransfer = {
|
|
934
|
-
__typename?: 'OffRampTransfer';
|
|
935
|
-
amount: Scalars['Float'];
|
|
936
|
-
destinationAmount: Scalars['Float'];
|
|
937
|
-
destinationCurrency?: Maybe<Scalars['String']>;
|
|
938
|
-
externalSessionId: Scalars['String'];
|
|
939
|
-
id: Scalars['ID'];
|
|
940
|
-
networkFee?: Maybe<Scalars['Float']>;
|
|
941
|
-
serviceProvider: OffRampServiceProvider;
|
|
942
|
-
token: Token;
|
|
943
|
-
tokenStandard: TokenStandard;
|
|
944
|
-
totalFee?: Maybe<Scalars['Float']>;
|
|
945
|
-
transactionFee?: Maybe<Scalars['Float']>;
|
|
946
|
-
transactionReferenceId: Scalars['String'];
|
|
947
|
-
};
|
|
948
|
-
|
|
949
|
-
export type OffRampTransferInput = {
|
|
950
|
-
amount: Scalars['Float'];
|
|
951
|
-
destinationAmount: Scalars['Float'];
|
|
952
|
-
destinationCurrency?: InputMaybe<Scalars['String']>;
|
|
953
|
-
networkFee?: InputMaybe<Scalars['Float']>;
|
|
954
|
-
serviceProvider: OffRampServiceProviderInput;
|
|
955
|
-
token: TokenAssetInput;
|
|
956
|
-
tokenStandard: TokenStandard;
|
|
957
|
-
totalFee?: InputMaybe<Scalars['Float']>;
|
|
958
|
-
transactionFee?: InputMaybe<Scalars['Float']>;
|
|
959
|
-
transactionReferenceId: Scalars['String'];
|
|
960
|
-
};
|
|
961
|
-
|
|
962
|
-
export type OnRampServiceProvider = {
|
|
963
|
-
__typename?: 'OnRampServiceProvider';
|
|
964
|
-
id: Scalars['ID'];
|
|
965
|
-
logoDarkUrl: Scalars['String'];
|
|
966
|
-
logoLightUrl: Scalars['String'];
|
|
967
|
-
name: Scalars['String'];
|
|
968
|
-
serviceProvider: Scalars['String'];
|
|
969
|
-
supportUrl?: Maybe<Scalars['String']>;
|
|
970
|
-
url: Scalars['String'];
|
|
971
|
-
};
|
|
972
|
-
|
|
973
|
-
export type OnRampServiceProviderInput = {
|
|
974
|
-
logoDarkUrl: Scalars['String'];
|
|
975
|
-
logoLightUrl: Scalars['String'];
|
|
976
|
-
name: Scalars['String'];
|
|
977
|
-
serviceProvider: Scalars['String'];
|
|
978
|
-
supportUrl?: InputMaybe<Scalars['String']>;
|
|
979
|
-
url: Scalars['String'];
|
|
980
|
-
};
|
|
981
|
-
|
|
982
|
-
export type OnRampTransactionDetails = {
|
|
983
|
-
__typename?: 'OnRampTransactionDetails';
|
|
984
|
-
id: Scalars['ID'];
|
|
985
|
-
onRampTransfer: OnRampTransfer;
|
|
986
|
-
receiverAddress: Scalars['String'];
|
|
987
|
-
status: TransactionStatus;
|
|
988
|
-
};
|
|
989
|
-
|
|
990
|
-
export type OnRampTransactionDetailsInput = {
|
|
991
|
-
onRampTransfer: OnRampTransferInput;
|
|
992
|
-
receiverAddress: Scalars['String'];
|
|
993
|
-
status: TransactionStatus;
|
|
994
|
-
};
|
|
995
|
-
|
|
996
|
-
export type OnRampTransactionsAuth = {
|
|
997
|
-
queryParams: Scalars['String'];
|
|
998
|
-
signature: Scalars['String'];
|
|
999
|
-
};
|
|
1000
|
-
|
|
1001
|
-
export type OnRampTransfer = {
|
|
1002
|
-
__typename?: 'OnRampTransfer';
|
|
1003
|
-
amount: Scalars['Float'];
|
|
1004
|
-
externalSessionId: Scalars['String'];
|
|
1005
|
-
id: Scalars['ID'];
|
|
1006
|
-
networkFee?: Maybe<Scalars['Float']>;
|
|
1007
|
-
serviceProvider: OnRampServiceProvider;
|
|
1008
|
-
sourceAmount: Scalars['Float'];
|
|
1009
|
-
sourceCurrency?: Maybe<Scalars['String']>;
|
|
1010
|
-
token: Token;
|
|
1011
|
-
tokenStandard: TokenStandard;
|
|
1012
|
-
totalFee?: Maybe<Scalars['Float']>;
|
|
1013
|
-
transactionFee?: Maybe<Scalars['Float']>;
|
|
1014
|
-
transactionReferenceId: Scalars['String'];
|
|
1015
|
-
};
|
|
1016
|
-
|
|
1017
|
-
export type OnRampTransferInput = {
|
|
1018
|
-
amount: Scalars['Float'];
|
|
1019
|
-
networkFee?: InputMaybe<Scalars['Float']>;
|
|
1020
|
-
serviceProvider: OnRampServiceProviderInput;
|
|
1021
|
-
sourceAmount: Scalars['Float'];
|
|
1022
|
-
sourceCurrency?: InputMaybe<Scalars['String']>;
|
|
1023
|
-
token: TokenAssetInput;
|
|
1024
|
-
tokenStandard: TokenStandard;
|
|
1025
|
-
totalFee?: InputMaybe<Scalars['Float']>;
|
|
1026
|
-
transactionFee?: InputMaybe<Scalars['Float']>;
|
|
1027
|
-
transactionReferenceId: Scalars['String'];
|
|
1028
|
-
};
|
|
1029
|
-
|
|
1030
|
-
export enum OrderStatus {
|
|
1031
|
-
Cancelled = 'CANCELLED',
|
|
1032
|
-
Executed = 'EXECUTED',
|
|
1033
|
-
Expired = 'EXPIRED',
|
|
1034
|
-
Valid = 'VALID'
|
|
1035
|
-
}
|
|
1036
|
-
|
|
1037
|
-
export enum OrderType {
|
|
1038
|
-
Listing = 'LISTING',
|
|
1039
|
-
Offer = 'OFFER'
|
|
1040
|
-
}
|
|
1041
|
-
|
|
1042
|
-
export type PageInfo = {
|
|
1043
|
-
__typename?: 'PageInfo';
|
|
1044
|
-
endCursor?: Maybe<Scalars['String']>;
|
|
1045
|
-
hasNextPage?: Maybe<Scalars['Boolean']>;
|
|
1046
|
-
hasPreviousPage?: Maybe<Scalars['Boolean']>;
|
|
1047
|
-
startCursor?: Maybe<Scalars['String']>;
|
|
1048
|
-
};
|
|
1049
|
-
|
|
1050
|
-
/** v2 pool parameters as defined by https://github.com/Lux/v2-sdk/blob/main/src/entities/pair.ts */
|
|
1051
|
-
export type PairInput = {
|
|
1052
|
-
tokenAmountA: TokenAmountInput;
|
|
1053
|
-
tokenAmountB: TokenAmountInput;
|
|
1054
|
-
};
|
|
1055
|
-
|
|
1056
|
-
export type PermitDetailsInput = {
|
|
1057
|
-
amount: Scalars['String'];
|
|
1058
|
-
expiration: Scalars['String'];
|
|
1059
|
-
nonce: Scalars['String'];
|
|
1060
|
-
token: Scalars['String'];
|
|
1061
|
-
};
|
|
1062
|
-
|
|
1063
|
-
export type PermitInput = {
|
|
1064
|
-
details: PermitDetailsInput;
|
|
1065
|
-
sigDeadline: Scalars['String'];
|
|
1066
|
-
signature: Scalars['String'];
|
|
1067
|
-
spender: Scalars['String'];
|
|
1068
|
-
};
|
|
1069
|
-
|
|
1070
|
-
/** v3 pool parameters as defined by https://github.com/Lux/v3-sdk/blob/main/src/entities/pool.ts */
|
|
1071
|
-
export type PoolInput = {
|
|
1072
|
-
fee: Scalars['Int'];
|
|
1073
|
-
liquidity: Scalars['String'];
|
|
1074
|
-
sqrtRatioX96: Scalars['String'];
|
|
1075
|
-
tickCurrent: Scalars['String'];
|
|
1076
|
-
tokenA: TokenInput;
|
|
1077
|
-
tokenB: TokenInput;
|
|
1078
|
-
};
|
|
1079
|
-
|
|
1080
|
-
export type PoolTransaction = {
|
|
1081
|
-
__typename?: 'PoolTransaction';
|
|
1082
|
-
account: Scalars['String'];
|
|
1083
|
-
chain: Chain;
|
|
1084
|
-
hash: Scalars['String'];
|
|
1085
|
-
id: Scalars['ID'];
|
|
1086
|
-
protocolVersion: ProtocolVersion;
|
|
1087
|
-
timestamp: Scalars['Int'];
|
|
1088
|
-
token0: Token;
|
|
1089
|
-
token0Quantity: Scalars['String'];
|
|
1090
|
-
token1: Token;
|
|
1091
|
-
token1Quantity: Scalars['String'];
|
|
1092
|
-
type: PoolTransactionType;
|
|
1093
|
-
usdValue: Amount;
|
|
1094
|
-
};
|
|
1095
|
-
|
|
1096
|
-
export enum PoolTransactionType {
|
|
1097
|
-
Add = 'ADD',
|
|
1098
|
-
Remove = 'REMOVE',
|
|
1099
|
-
Swap = 'SWAP'
|
|
1100
|
-
}
|
|
1101
|
-
|
|
1102
|
-
export type Portfolio = {
|
|
1103
|
-
__typename?: 'Portfolio';
|
|
1104
|
-
assetActivities?: Maybe<Array<Maybe<AssetActivity>>>;
|
|
1105
|
-
id: Scalars['ID'];
|
|
1106
|
-
/** TODO: (michael.zhang) replace with paginated query */
|
|
1107
|
-
nftBalances?: Maybe<Array<Maybe<NftBalance>>>;
|
|
1108
|
-
ownerAddress: Scalars['String'];
|
|
1109
|
-
tokenBalances?: Maybe<Array<Maybe<TokenBalance>>>;
|
|
1110
|
-
tokensTotalDenominatedValue?: Maybe<Amount>;
|
|
1111
|
-
tokensTotalDenominatedValueChange?: Maybe<AmountChange>;
|
|
1112
|
-
};
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
export type PortfolioAssetActivitiesArgs = {
|
|
1116
|
-
_fs?: InputMaybe<AssetActivitySwitch>;
|
|
1117
|
-
chains?: InputMaybe<Array<Chain>>;
|
|
1118
|
-
includeBridging?: InputMaybe<Scalars['Boolean']>;
|
|
1119
|
-
includeOffChain?: InputMaybe<Scalars['Boolean']>;
|
|
1120
|
-
onRampTransactionIDs?: InputMaybe<Array<Scalars['String']>>;
|
|
1121
|
-
onRampTransactionsAuth?: InputMaybe<OnRampTransactionsAuth>;
|
|
1122
|
-
page?: InputMaybe<Scalars['Int']>;
|
|
1123
|
-
pageSize?: InputMaybe<Scalars['Int']>;
|
|
1124
|
-
};
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
export type PortfolioTokensTotalDenominatedValueChangeArgs = {
|
|
1128
|
-
duration?: InputMaybe<HistoryDuration>;
|
|
1129
|
-
};
|
|
1130
|
-
|
|
1131
|
-
/** Specify how the portfolio value should be calculated for each `ownerAddress`. */
|
|
1132
|
-
export type PortfolioValueModifier = {
|
|
1133
|
-
includeSmallBalances?: InputMaybe<Scalars['Boolean']>;
|
|
1134
|
-
includeSpamTokens?: InputMaybe<Scalars['Boolean']>;
|
|
1135
|
-
ownerAddress: Scalars['String'];
|
|
1136
|
-
tokenBalancesLimit?: InputMaybe<Scalars['Int']>;
|
|
1137
|
-
tokenExcludeOverrides?: InputMaybe<Array<ContractInput>>;
|
|
1138
|
-
tokenIncludeOverrides?: InputMaybe<Array<ContractInput>>;
|
|
1139
|
-
};
|
|
1140
|
-
|
|
1141
|
-
export enum PriceSource {
|
|
1142
|
-
External = 'EXTERNAL',
|
|
1143
|
-
SubgraphV2 = 'SUBGRAPH_V2',
|
|
1144
|
-
SubgraphV3 = 'SUBGRAPH_V3',
|
|
1145
|
-
SubgraphV4 = 'SUBGRAPH_V4'
|
|
1146
|
-
}
|
|
1147
|
-
|
|
1148
|
-
export enum ProtectionAttackType {
|
|
1149
|
-
AirdropPattern = 'AIRDROP_PATTERN',
|
|
1150
|
-
DynamicAnalysis = 'DYNAMIC_ANALYSIS',
|
|
1151
|
-
HighFees = 'HIGH_FEES',
|
|
1152
|
-
Honeypot = 'HONEYPOT',
|
|
1153
|
-
Impersonator = 'IMPERSONATOR',
|
|
1154
|
-
InorganicVolume = 'INORGANIC_VOLUME',
|
|
1155
|
-
KnownMalicious = 'KNOWN_MALICIOUS',
|
|
1156
|
-
Metadata = 'METADATA',
|
|
1157
|
-
Rugpull = 'RUGPULL',
|
|
1158
|
-
StaticCodeSignature = 'STATIC_CODE_SIGNATURE',
|
|
1159
|
-
Unknown = 'UNKNOWN',
|
|
1160
|
-
UnstableTokenPrice = 'UNSTABLE_TOKEN_PRICE'
|
|
1161
|
-
}
|
|
1162
|
-
|
|
1163
|
-
export type ProtectionInfo = {
|
|
1164
|
-
__typename?: 'ProtectionInfo';
|
|
1165
|
-
attackTypes?: Maybe<Array<Maybe<ProtectionAttackType>>>;
|
|
1166
|
-
blockaidFees?: Maybe<BlockaidFees>;
|
|
1167
|
-
result?: Maybe<ProtectionResult>;
|
|
1168
|
-
};
|
|
1169
|
-
|
|
1170
|
-
export enum ProtectionResult {
|
|
1171
|
-
Benign = 'BENIGN',
|
|
1172
|
-
Malicious = 'MALICIOUS',
|
|
1173
|
-
Spam = 'SPAM',
|
|
1174
|
-
Unknown = 'UNKNOWN',
|
|
1175
|
-
Warning = 'WARNING'
|
|
1176
|
-
}
|
|
1177
|
-
|
|
1178
|
-
export enum ProtocolVersion {
|
|
1179
|
-
V2 = 'V2',
|
|
1180
|
-
V3 = 'V3',
|
|
1181
|
-
V4 = 'V4'
|
|
1182
|
-
}
|
|
1183
|
-
|
|
1184
|
-
export type PushNotification = {
|
|
1185
|
-
__typename?: 'PushNotification';
|
|
1186
|
-
contents: Scalars['AWSJSON'];
|
|
1187
|
-
id: Scalars['ID'];
|
|
1188
|
-
notifyAddress: Scalars['String'];
|
|
1189
|
-
signerHeader: Scalars['AWSJSON'];
|
|
1190
|
-
viewerHeader: Scalars['AWSJSON'];
|
|
1191
|
-
};
|
|
1192
|
-
|
|
1193
|
-
export type Query = {
|
|
1194
|
-
__typename?: 'Query';
|
|
1195
|
-
convert?: Maybe<Amount>;
|
|
1196
|
-
dailyProtocolTvl?: Maybe<Array<TimestampedAmount>>;
|
|
1197
|
-
historicalProtocolVolume?: Maybe<Array<TimestampedAmount>>;
|
|
1198
|
-
isV3SubgraphStale?: Maybe<Scalars['Boolean']>;
|
|
1199
|
-
nftActivity?: Maybe<NftActivityConnection>;
|
|
1200
|
-
nftAssets?: Maybe<NftAssetConnection>;
|
|
1201
|
-
nftBalances?: Maybe<NftBalanceConnection>;
|
|
1202
|
-
nftCollectionBalances?: Maybe<NftCollectionBalanceConnection>;
|
|
1203
|
-
nftCollections?: Maybe<NftCollectionConnection>;
|
|
1204
|
-
nftRoute?: Maybe<NftRouteResponse>;
|
|
1205
|
-
portfolios?: Maybe<Array<Maybe<Portfolio>>>;
|
|
1206
|
-
searchTokens?: Maybe<Array<Maybe<Token>>>;
|
|
1207
|
-
/**
|
|
1208
|
-
* token consumes chain and address instead of contract because the apollo client request cache can only use
|
|
1209
|
-
* keys from the response, and the token response does not contain a contract, but does contain an unwrapped
|
|
1210
|
-
* contract: chain and address.
|
|
1211
|
-
*/
|
|
1212
|
-
token?: Maybe<Token>;
|
|
1213
|
-
tokenProjects?: Maybe<Array<Maybe<TokenProject>>>;
|
|
1214
|
-
tokens?: Maybe<Array<Maybe<Token>>>;
|
|
1215
|
-
topCollections?: Maybe<NftCollectionConnection>;
|
|
1216
|
-
topTokens?: Maybe<Array<Maybe<Token>>>;
|
|
1217
|
-
/** returns top v2 pairs sorted by total value locked in desc order */
|
|
1218
|
-
topV2Pairs?: Maybe<Array<V2Pair>>;
|
|
1219
|
-
/** returns top v3 pools sorted by total value locked in desc order */
|
|
1220
|
-
topV3Pools?: Maybe<Array<V3Pool>>;
|
|
1221
|
-
topV4Pools?: Maybe<Array<V4Pool>>;
|
|
1222
|
-
transactionNotification?: Maybe<TransactionNotification>;
|
|
1223
|
-
v2Pair?: Maybe<V2Pair>;
|
|
1224
|
-
v2Transactions?: Maybe<Array<Maybe<PoolTransaction>>>;
|
|
1225
|
-
v3Pool?: Maybe<V3Pool>;
|
|
1226
|
-
v3PoolsForTokenPair?: Maybe<Array<V3Pool>>;
|
|
1227
|
-
v3Transactions?: Maybe<Array<PoolTransaction>>;
|
|
1228
|
-
v4Pool?: Maybe<V4Pool>;
|
|
1229
|
-
v4PoolsForTokenPair?: Maybe<Array<V4Pool>>;
|
|
1230
|
-
v4Transactions?: Maybe<Array<PoolTransaction>>;
|
|
1231
|
-
};
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
export type QueryConvertArgs = {
|
|
1235
|
-
fromAmount: CurrencyAmountInput;
|
|
1236
|
-
toCurrency: Currency;
|
|
1237
|
-
};
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
export type QueryDailyProtocolTvlArgs = {
|
|
1241
|
-
chain: Chain;
|
|
1242
|
-
version: ProtocolVersion;
|
|
1243
|
-
};
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
export type QueryHistoricalProtocolVolumeArgs = {
|
|
1247
|
-
chain: Chain;
|
|
1248
|
-
duration: HistoryDuration;
|
|
1249
|
-
version: ProtocolVersion;
|
|
1250
|
-
};
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
export type QueryIsV3SubgraphStaleArgs = {
|
|
1254
|
-
chain: Chain;
|
|
1255
|
-
};
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
export type QueryNftActivityArgs = {
|
|
1259
|
-
after?: InputMaybe<Scalars['String']>;
|
|
1260
|
-
chain?: InputMaybe<Chain>;
|
|
1261
|
-
filter?: InputMaybe<NftActivityFilterInput>;
|
|
1262
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
1263
|
-
};
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
export type QueryNftAssetsArgs = {
|
|
1267
|
-
address: Scalars['String'];
|
|
1268
|
-
after?: InputMaybe<Scalars['String']>;
|
|
1269
|
-
asc?: InputMaybe<Scalars['Boolean']>;
|
|
1270
|
-
before?: InputMaybe<Scalars['String']>;
|
|
1271
|
-
chain?: InputMaybe<Chain>;
|
|
1272
|
-
filter?: InputMaybe<NftAssetsFilterInput>;
|
|
1273
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
1274
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
1275
|
-
orderBy?: InputMaybe<NftAssetSortableField>;
|
|
1276
|
-
};
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
export type QueryNftBalancesArgs = {
|
|
1280
|
-
after?: InputMaybe<Scalars['String']>;
|
|
1281
|
-
before?: InputMaybe<Scalars['String']>;
|
|
1282
|
-
chain?: InputMaybe<Chain>;
|
|
1283
|
-
chains?: InputMaybe<Array<Chain>>;
|
|
1284
|
-
filter?: InputMaybe<NftBalancesFilterInput>;
|
|
1285
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
1286
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
1287
|
-
ownerAddress: Scalars['String'];
|
|
1288
|
-
};
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
export type QueryNftCollectionBalancesArgs = {
|
|
1292
|
-
after?: InputMaybe<Scalars['String']>;
|
|
1293
|
-
before?: InputMaybe<Scalars['String']>;
|
|
1294
|
-
chain?: InputMaybe<Chain>;
|
|
1295
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
1296
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
1297
|
-
ownerAddress: Scalars['String'];
|
|
1298
|
-
};
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
export type QueryNftCollectionsArgs = {
|
|
1302
|
-
after?: InputMaybe<Scalars['String']>;
|
|
1303
|
-
chain?: InputMaybe<Chain>;
|
|
1304
|
-
filter?: InputMaybe<NftCollectionsFilterInput>;
|
|
1305
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
1306
|
-
};
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
export type QueryNftRouteArgs = {
|
|
1310
|
-
chain?: InputMaybe<Chain>;
|
|
1311
|
-
nftTrades: Array<NftTradeInput>;
|
|
1312
|
-
senderAddress: Scalars['String'];
|
|
1313
|
-
tokenTrades?: InputMaybe<Array<TokenTradeInput>>;
|
|
1314
|
-
};
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
export type QueryPortfoliosArgs = {
|
|
1318
|
-
chains?: InputMaybe<Array<Chain>>;
|
|
1319
|
-
fungibleIds?: InputMaybe<Array<Scalars['String']>>;
|
|
1320
|
-
lookupTokens?: InputMaybe<Array<ContractInput>>;
|
|
1321
|
-
ownerAddresses: Array<Scalars['String']>;
|
|
1322
|
-
valueModifiers?: InputMaybe<Array<PortfolioValueModifier>>;
|
|
1323
|
-
};
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
export type QuerySearchTokensArgs = {
|
|
1327
|
-
chains?: InputMaybe<Array<Chain>>;
|
|
1328
|
-
searchQuery: Scalars['String'];
|
|
1329
|
-
tokenSearchV2Enabled?: InputMaybe<Scalars['Boolean']>;
|
|
1330
|
-
};
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
export type QueryTokenArgs = {
|
|
1334
|
-
address?: InputMaybe<Scalars['String']>;
|
|
1335
|
-
chain: Chain;
|
|
1336
|
-
};
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
export type QueryTokenProjectsArgs = {
|
|
1340
|
-
contracts: Array<ContractInput>;
|
|
1341
|
-
};
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
export type QueryTokensArgs = {
|
|
1345
|
-
contracts: Array<ContractInput>;
|
|
1346
|
-
};
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
export type QueryTopCollectionsArgs = {
|
|
1350
|
-
after?: InputMaybe<Scalars['String']>;
|
|
1351
|
-
chains?: InputMaybe<Array<Chain>>;
|
|
1352
|
-
cursor?: InputMaybe<Scalars['String']>;
|
|
1353
|
-
duration?: InputMaybe<HistoryDuration>;
|
|
1354
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
1355
|
-
limit?: InputMaybe<Scalars['Int']>;
|
|
1356
|
-
orderBy?: InputMaybe<CollectionSortableField>;
|
|
1357
|
-
};
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
export type QueryTopTokensArgs = {
|
|
1361
|
-
chain?: InputMaybe<Chain>;
|
|
1362
|
-
orderBy?: InputMaybe<TokenSortableField>;
|
|
1363
|
-
page?: InputMaybe<Scalars['Int']>;
|
|
1364
|
-
pageSize?: InputMaybe<Scalars['Int']>;
|
|
1365
|
-
};
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
export type QueryTopV2PairsArgs = {
|
|
1369
|
-
chain: Chain;
|
|
1370
|
-
debugMode?: InputMaybe<Scalars['Boolean']>;
|
|
1371
|
-
first: Scalars['Int'];
|
|
1372
|
-
tokenFilter?: InputMaybe<Scalars['String']>;
|
|
1373
|
-
tvlCursor?: InputMaybe<Scalars['Float']>;
|
|
1374
|
-
};
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
export type QueryTopV3PoolsArgs = {
|
|
1378
|
-
chain: Chain;
|
|
1379
|
-
debugMode?: InputMaybe<Scalars['Boolean']>;
|
|
1380
|
-
first: Scalars['Int'];
|
|
1381
|
-
tokenFilter?: InputMaybe<Scalars['String']>;
|
|
1382
|
-
tvlCursor?: InputMaybe<Scalars['Float']>;
|
|
1383
|
-
};
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
export type QueryTopV4PoolsArgs = {
|
|
1387
|
-
chain: Chain;
|
|
1388
|
-
debugMode?: InputMaybe<Scalars['Boolean']>;
|
|
1389
|
-
first: Scalars['Int'];
|
|
1390
|
-
tokenFilter?: InputMaybe<Scalars['String']>;
|
|
1391
|
-
tvlCursor?: InputMaybe<Scalars['Float']>;
|
|
1392
|
-
};
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
export type QueryTransactionNotificationArgs = {
|
|
1396
|
-
address: Scalars['String'];
|
|
1397
|
-
chain: Chain;
|
|
1398
|
-
isBridging?: InputMaybe<Scalars['Boolean']>;
|
|
1399
|
-
transactionHash: Scalars['String'];
|
|
1400
|
-
};
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
export type QueryV2PairArgs = {
|
|
1404
|
-
address: Scalars['String'];
|
|
1405
|
-
chain: Chain;
|
|
1406
|
-
};
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
export type QueryV2TransactionsArgs = {
|
|
1410
|
-
chain: Chain;
|
|
1411
|
-
first: Scalars['Int'];
|
|
1412
|
-
timestampCursor?: InputMaybe<Scalars['Int']>;
|
|
1413
|
-
};
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
export type QueryV3PoolArgs = {
|
|
1417
|
-
address: Scalars['String'];
|
|
1418
|
-
chain: Chain;
|
|
1419
|
-
};
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
export type QueryV3PoolsForTokenPairArgs = {
|
|
1423
|
-
chain: Chain;
|
|
1424
|
-
token0: Scalars['String'];
|
|
1425
|
-
token1: Scalars['String'];
|
|
1426
|
-
};
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
export type QueryV3TransactionsArgs = {
|
|
1430
|
-
chain: Chain;
|
|
1431
|
-
first: Scalars['Int'];
|
|
1432
|
-
timestampCursor?: InputMaybe<Scalars['Int']>;
|
|
1433
|
-
};
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
export type QueryV4PoolArgs = {
|
|
1437
|
-
chain: Chain;
|
|
1438
|
-
poolId: Scalars['String'];
|
|
1439
|
-
};
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
export type QueryV4PoolsForTokenPairArgs = {
|
|
1443
|
-
chain: Chain;
|
|
1444
|
-
token0: Scalars['String'];
|
|
1445
|
-
token1: Scalars['String'];
|
|
1446
|
-
};
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
export type QueryV4TransactionsArgs = {
|
|
1450
|
-
chain: Chain;
|
|
1451
|
-
first: Scalars['Int'];
|
|
1452
|
-
timestampCursor?: InputMaybe<Scalars['Int']>;
|
|
1453
|
-
};
|
|
1454
|
-
|
|
1455
|
-
export type RewardsCampaign = {
|
|
1456
|
-
__typename?: 'RewardsCampaign';
|
|
1457
|
-
boostedApr: Scalars['Float'];
|
|
1458
|
-
distributedRewards?: Maybe<Scalars['String']>;
|
|
1459
|
-
endTimestamp?: Maybe<Scalars['Int']>;
|
|
1460
|
-
id: Scalars['ID'];
|
|
1461
|
-
startTimestamp?: Maybe<Scalars['Int']>;
|
|
1462
|
-
totalRewardAllocation?: Maybe<Scalars['String']>;
|
|
1463
|
-
};
|
|
1464
|
-
|
|
1465
|
-
export enum SafetyLevel {
|
|
1466
|
-
Blocked = 'BLOCKED',
|
|
1467
|
-
MediumWarning = 'MEDIUM_WARNING',
|
|
1468
|
-
StrongWarning = 'STRONG_WARNING',
|
|
1469
|
-
Verified = 'VERIFIED'
|
|
1470
|
-
}
|
|
1471
|
-
|
|
1472
|
-
export type Status = {
|
|
1473
|
-
__typename?: 'Status';
|
|
1474
|
-
success: Scalars['Boolean'];
|
|
1475
|
-
};
|
|
1476
|
-
|
|
1477
|
-
export type Subscription = {
|
|
1478
|
-
__typename?: 'Subscription';
|
|
1479
|
-
onAssetActivity?: Maybe<AssetActivity>;
|
|
1480
|
-
};
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
export type SubscriptionOnAssetActivityArgs = {
|
|
1484
|
-
addresses: Array<Scalars['String']>;
|
|
1485
|
-
subscriptionId: Scalars['ID'];
|
|
1486
|
-
};
|
|
1487
|
-
|
|
1488
|
-
export enum SubscriptionType {
|
|
1489
|
-
AssetActivity = 'ASSET_ACTIVITY'
|
|
1490
|
-
}
|
|
1491
|
-
|
|
1492
|
-
export type SwapOrderDetails = {
|
|
1493
|
-
__typename?: 'SwapOrderDetails';
|
|
1494
|
-
encodedOrder: Scalars['String'];
|
|
1495
|
-
expiry: Scalars['Int'];
|
|
1496
|
-
hash: Scalars['String'];
|
|
1497
|
-
id: Scalars['ID'];
|
|
1498
|
-
inputToken: Token;
|
|
1499
|
-
inputTokenQuantity: Scalars['String'];
|
|
1500
|
-
offerer: Scalars['String'];
|
|
1501
|
-
outputToken: Token;
|
|
1502
|
-
outputTokenQuantity: Scalars['String'];
|
|
1503
|
-
/** @deprecated use swapOrderStatus to disambiguate from transactionStatus */
|
|
1504
|
-
status: SwapOrderStatus;
|
|
1505
|
-
swapOrderStatus: SwapOrderStatus;
|
|
1506
|
-
swapOrderType: SwapOrderType;
|
|
1507
|
-
};
|
|
1508
|
-
|
|
1509
|
-
export type SwapOrderDetailsInput = {
|
|
1510
|
-
encodedOrder: Scalars['String'];
|
|
1511
|
-
expiry: Scalars['Int'];
|
|
1512
|
-
hash: Scalars['String'];
|
|
1513
|
-
inputAmount: Scalars['String'];
|
|
1514
|
-
inputToken: TokenAssetInput;
|
|
1515
|
-
offerer: Scalars['String'];
|
|
1516
|
-
outputAmount: Scalars['String'];
|
|
1517
|
-
outputToken: TokenAssetInput;
|
|
1518
|
-
status?: InputMaybe<SwapOrderStatus>;
|
|
1519
|
-
swapOrderStatus: SwapOrderStatus;
|
|
1520
|
-
swapOrderType: SwapOrderType;
|
|
1521
|
-
};
|
|
1522
|
-
|
|
1523
|
-
export enum SwapOrderStatus {
|
|
1524
|
-
Cancelled = 'CANCELLED',
|
|
1525
|
-
Error = 'ERROR',
|
|
1526
|
-
Expired = 'EXPIRED',
|
|
1527
|
-
Filled = 'FILLED',
|
|
1528
|
-
InsufficientFunds = 'INSUFFICIENT_FUNDS',
|
|
1529
|
-
Open = 'OPEN'
|
|
1530
|
-
}
|
|
1531
|
-
|
|
1532
|
-
export enum SwapOrderType {
|
|
1533
|
-
Dutch = 'DUTCH',
|
|
1534
|
-
DutchV2 = 'DUTCH_V2',
|
|
1535
|
-
Limit = 'LIMIT',
|
|
1536
|
-
Priority = 'PRIORITY'
|
|
1537
|
-
}
|
|
1538
|
-
|
|
1539
|
-
export type TimestampedAmount = IAmount & {
|
|
1540
|
-
__typename?: 'TimestampedAmount';
|
|
1541
|
-
currency?: Maybe<Currency>;
|
|
1542
|
-
id: Scalars['ID'];
|
|
1543
|
-
timestamp: Scalars['Int'];
|
|
1544
|
-
value: Scalars['Float'];
|
|
1545
|
-
};
|
|
1546
|
-
|
|
1547
|
-
export type TimestampedOhlc = {
|
|
1548
|
-
__typename?: 'TimestampedOhlc';
|
|
1549
|
-
close: Amount;
|
|
1550
|
-
high: Amount;
|
|
1551
|
-
id: Scalars['ID'];
|
|
1552
|
-
low: Amount;
|
|
1553
|
-
open: Amount;
|
|
1554
|
-
timestamp: Scalars['Int'];
|
|
1555
|
-
};
|
|
1556
|
-
|
|
1557
|
-
export type TimestampedPoolPrice = {
|
|
1558
|
-
__typename?: 'TimestampedPoolPrice';
|
|
1559
|
-
id: Scalars['ID'];
|
|
1560
|
-
timestamp: Scalars['Int'];
|
|
1561
|
-
token0Price: Scalars['Float'];
|
|
1562
|
-
token1Price: Scalars['Float'];
|
|
1563
|
-
};
|
|
1564
|
-
|
|
1565
|
-
export type Token = IContract & {
|
|
1566
|
-
__typename?: 'Token';
|
|
1567
|
-
address?: Maybe<Scalars['String']>;
|
|
1568
|
-
bridgedWithdrawalInfo?: Maybe<BridgedWithdrawalInfo>;
|
|
1569
|
-
chain: Chain;
|
|
1570
|
-
decimals?: Maybe<Scalars['Int']>;
|
|
1571
|
-
feeData?: Maybe<FeeData>;
|
|
1572
|
-
id: Scalars['ID'];
|
|
1573
|
-
isBridged?: Maybe<Scalars['Boolean']>;
|
|
1574
|
-
market?: Maybe<TokenMarket>;
|
|
1575
|
-
name?: Maybe<Scalars['String']>;
|
|
1576
|
-
project?: Maybe<TokenProject>;
|
|
1577
|
-
protectionInfo?: Maybe<ProtectionInfo>;
|
|
1578
|
-
source?: Maybe<TokenSource>;
|
|
1579
|
-
standard?: Maybe<TokenStandard>;
|
|
1580
|
-
symbol?: Maybe<Scalars['String']>;
|
|
1581
|
-
v2Transactions?: Maybe<Array<Maybe<PoolTransaction>>>;
|
|
1582
|
-
v3Transactions?: Maybe<Array<Maybe<PoolTransaction>>>;
|
|
1583
|
-
v4Transactions?: Maybe<Array<Maybe<PoolTransaction>>>;
|
|
1584
|
-
};
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
export type TokenMarketArgs = {
|
|
1588
|
-
currency?: InputMaybe<Currency>;
|
|
1589
|
-
};
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
export type TokenV2TransactionsArgs = {
|
|
1593
|
-
first: Scalars['Int'];
|
|
1594
|
-
timestampCursor?: InputMaybe<Scalars['Int']>;
|
|
1595
|
-
};
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
export type TokenV3TransactionsArgs = {
|
|
1599
|
-
first: Scalars['Int'];
|
|
1600
|
-
timestampCursor?: InputMaybe<Scalars['Int']>;
|
|
1601
|
-
};
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
export type TokenV4TransactionsArgs = {
|
|
1605
|
-
first: Scalars['Int'];
|
|
1606
|
-
timestampCursor?: InputMaybe<Scalars['Int']>;
|
|
1607
|
-
};
|
|
1608
|
-
|
|
1609
|
-
export type TokenAmount = {
|
|
1610
|
-
__typename?: 'TokenAmount';
|
|
1611
|
-
currency: Currency;
|
|
1612
|
-
id: Scalars['ID'];
|
|
1613
|
-
value: Scalars['String'];
|
|
1614
|
-
};
|
|
1615
|
-
|
|
1616
|
-
export type TokenAmountInput = {
|
|
1617
|
-
amount: Scalars['String'];
|
|
1618
|
-
token: TokenInput;
|
|
1619
|
-
};
|
|
1620
|
-
|
|
1621
|
-
export type TokenApproval = {
|
|
1622
|
-
__typename?: 'TokenApproval';
|
|
1623
|
-
approvedAddress: Scalars['String'];
|
|
1624
|
-
/** can be erc20 or native */
|
|
1625
|
-
asset: Token;
|
|
1626
|
-
id: Scalars['ID'];
|
|
1627
|
-
quantity: Scalars['String'];
|
|
1628
|
-
tokenStandard: TokenStandard;
|
|
1629
|
-
};
|
|
1630
|
-
|
|
1631
|
-
export type TokenApprovalInput = {
|
|
1632
|
-
approvedAddress: Scalars['String'];
|
|
1633
|
-
asset: TokenAssetInput;
|
|
1634
|
-
quantity: Scalars['String'];
|
|
1635
|
-
tokenStandard: TokenStandard;
|
|
1636
|
-
};
|
|
1637
|
-
|
|
1638
|
-
export type TokenAssetInput = {
|
|
1639
|
-
address?: InputMaybe<Scalars['String']>;
|
|
1640
|
-
chain: Chain;
|
|
1641
|
-
decimals?: InputMaybe<Scalars['Int']>;
|
|
1642
|
-
name?: InputMaybe<Scalars['String']>;
|
|
1643
|
-
standard: TokenStandard;
|
|
1644
|
-
symbol?: InputMaybe<Scalars['String']>;
|
|
1645
|
-
};
|
|
1646
|
-
|
|
1647
|
-
export type TokenBalance = {
|
|
1648
|
-
__typename?: 'TokenBalance';
|
|
1649
|
-
blockNumber?: Maybe<Scalars['Int']>;
|
|
1650
|
-
blockTimestamp?: Maybe<Scalars['Int']>;
|
|
1651
|
-
denominatedValue?: Maybe<Amount>;
|
|
1652
|
-
id: Scalars['ID'];
|
|
1653
|
-
isHidden?: Maybe<Scalars['Boolean']>;
|
|
1654
|
-
ownerAddress: Scalars['String'];
|
|
1655
|
-
quantity?: Maybe<Scalars['Float']>;
|
|
1656
|
-
token?: Maybe<Token>;
|
|
1657
|
-
tokenProjectMarket?: Maybe<TokenProjectMarket>;
|
|
1658
|
-
};
|
|
1659
|
-
|
|
1660
|
-
export type TokenInput = {
|
|
1661
|
-
address: Scalars['String'];
|
|
1662
|
-
chainId: Scalars['Int'];
|
|
1663
|
-
decimals: Scalars['Int'];
|
|
1664
|
-
isNative: Scalars['Boolean'];
|
|
1665
|
-
};
|
|
1666
|
-
|
|
1667
|
-
export type TokenMarket = {
|
|
1668
|
-
__typename?: 'TokenMarket';
|
|
1669
|
-
fullyDilutedValuation?: Maybe<Amount>;
|
|
1670
|
-
historicalTvl?: Maybe<Array<Maybe<TimestampedAmount>>>;
|
|
1671
|
-
historicalVolume?: Maybe<Array<Maybe<TimestampedAmount>>>;
|
|
1672
|
-
id: Scalars['ID'];
|
|
1673
|
-
ohlc?: Maybe<Array<Maybe<TimestampedOhlc>>>;
|
|
1674
|
-
price?: Maybe<Amount>;
|
|
1675
|
-
priceHighLow?: Maybe<Amount>;
|
|
1676
|
-
priceHistory?: Maybe<Array<Maybe<TimestampedAmount>>>;
|
|
1677
|
-
pricePercentChange?: Maybe<Amount>;
|
|
1678
|
-
priceSource: PriceSource;
|
|
1679
|
-
token: Token;
|
|
1680
|
-
totalValueLocked?: Maybe<Amount>;
|
|
1681
|
-
/** this volume is cumulative volume over the specified duration */
|
|
1682
|
-
volume?: Maybe<Amount>;
|
|
1683
|
-
};
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
export type TokenMarketHistoricalTvlArgs = {
|
|
1687
|
-
duration: HistoryDuration;
|
|
1688
|
-
};
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
export type TokenMarketHistoricalVolumeArgs = {
|
|
1692
|
-
duration: HistoryDuration;
|
|
1693
|
-
};
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
export type TokenMarketOhlcArgs = {
|
|
1697
|
-
duration: HistoryDuration;
|
|
1698
|
-
};
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
export type TokenMarketPriceHighLowArgs = {
|
|
1702
|
-
duration: HistoryDuration;
|
|
1703
|
-
highLow: HighLow;
|
|
1704
|
-
};
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
export type TokenMarketPriceHistoryArgs = {
|
|
1708
|
-
duration: HistoryDuration;
|
|
1709
|
-
maxLength?: InputMaybe<Scalars['Int']>;
|
|
1710
|
-
};
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
export type TokenMarketPricePercentChangeArgs = {
|
|
1714
|
-
duration: HistoryDuration;
|
|
1715
|
-
};
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
export type TokenMarketVolumeArgs = {
|
|
1719
|
-
duration: HistoryDuration;
|
|
1720
|
-
};
|
|
1721
|
-
|
|
1722
|
-
export type TokenProject = {
|
|
1723
|
-
__typename?: 'TokenProject';
|
|
1724
|
-
description?: Maybe<Scalars['String']>;
|
|
1725
|
-
descriptionTranslations?: Maybe<DescriptionTranslations>;
|
|
1726
|
-
homepageUrl?: Maybe<Scalars['String']>;
|
|
1727
|
-
id: Scalars['ID'];
|
|
1728
|
-
isSpam?: Maybe<Scalars['Boolean']>;
|
|
1729
|
-
logo?: Maybe<Image>;
|
|
1730
|
-
/** @deprecated use logo */
|
|
1731
|
-
logoUrl?: Maybe<Scalars['String']>;
|
|
1732
|
-
markets?: Maybe<Array<Maybe<TokenProjectMarket>>>;
|
|
1733
|
-
name?: Maybe<Scalars['String']>;
|
|
1734
|
-
safetyLevel?: Maybe<SafetyLevel>;
|
|
1735
|
-
/** @deprecated use logo */
|
|
1736
|
-
smallLogo?: Maybe<Image>;
|
|
1737
|
-
spamCode?: Maybe<Scalars['Int']>;
|
|
1738
|
-
tokens: Array<Token>;
|
|
1739
|
-
twitterName?: Maybe<Scalars['String']>;
|
|
1740
|
-
};
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
export type TokenProjectMarketsArgs = {
|
|
1744
|
-
currencies: Array<Currency>;
|
|
1745
|
-
};
|
|
1746
|
-
|
|
1747
|
-
export type TokenProjectMarket = {
|
|
1748
|
-
__typename?: 'TokenProjectMarket';
|
|
1749
|
-
currency: Currency;
|
|
1750
|
-
fullyDilutedValuation?: Maybe<Amount>;
|
|
1751
|
-
id: Scalars['ID'];
|
|
1752
|
-
marketCap?: Maybe<Amount>;
|
|
1753
|
-
price?: Maybe<Amount>;
|
|
1754
|
-
priceHigh52w?: Maybe<Amount>;
|
|
1755
|
-
priceHighLow?: Maybe<Amount>;
|
|
1756
|
-
priceHistory?: Maybe<Array<Maybe<TimestampedAmount>>>;
|
|
1757
|
-
priceLow52w?: Maybe<Amount>;
|
|
1758
|
-
pricePercentChange?: Maybe<Amount>;
|
|
1759
|
-
pricePercentChange24h?: Maybe<Amount>;
|
|
1760
|
-
tokenProject: TokenProject;
|
|
1761
|
-
};
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
export type TokenProjectMarketPriceHighLowArgs = {
|
|
1765
|
-
duration: HistoryDuration;
|
|
1766
|
-
highLow: HighLow;
|
|
1767
|
-
};
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
export type TokenProjectMarketPriceHistoryArgs = {
|
|
1771
|
-
duration: HistoryDuration;
|
|
1772
|
-
maxLength?: InputMaybe<Scalars['Int']>;
|
|
1773
|
-
};
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
export type TokenProjectMarketPricePercentChangeArgs = {
|
|
1777
|
-
duration: HistoryDuration;
|
|
1778
|
-
};
|
|
1779
|
-
|
|
1780
|
-
export enum TokenSortableField {
|
|
1781
|
-
MarketCap = 'MARKET_CAP',
|
|
1782
|
-
Popularity = 'POPULARITY',
|
|
1783
|
-
TotalValueLocked = 'TOTAL_VALUE_LOCKED',
|
|
1784
|
-
Volume = 'VOLUME'
|
|
1785
|
-
}
|
|
1786
|
-
|
|
1787
|
-
export enum TokenSource {
|
|
1788
|
-
TokenFactory = 'TOKEN_FACTORY'
|
|
1789
|
-
}
|
|
1790
|
-
|
|
1791
|
-
export enum TokenStandard {
|
|
1792
|
-
Erc20 = 'ERC20',
|
|
1793
|
-
Native = 'NATIVE',
|
|
1794
|
-
Spl = 'SPL'
|
|
1795
|
-
}
|
|
1796
|
-
|
|
1797
|
-
export type TokenTradeInput = {
|
|
1798
|
-
permit?: InputMaybe<PermitInput>;
|
|
1799
|
-
routes?: InputMaybe<TokenTradeRoutesInput>;
|
|
1800
|
-
slippageToleranceBasisPoints?: InputMaybe<Scalars['Int']>;
|
|
1801
|
-
tokenAmount: TokenAmountInput;
|
|
1802
|
-
};
|
|
1803
|
-
|
|
1804
|
-
export type TokenTradeRouteInput = {
|
|
1805
|
-
inputAmount: TokenAmountInput;
|
|
1806
|
-
outputAmount: TokenAmountInput;
|
|
1807
|
-
pools: Array<TradePoolInput>;
|
|
1808
|
-
};
|
|
1809
|
-
|
|
1810
|
-
export type TokenTradeRoutesInput = {
|
|
1811
|
-
mixedRoutes?: InputMaybe<Array<TokenTradeRouteInput>>;
|
|
1812
|
-
tradeType: TokenTradeType;
|
|
1813
|
-
v2Routes?: InputMaybe<Array<TokenTradeRouteInput>>;
|
|
1814
|
-
v3Routes?: InputMaybe<Array<TokenTradeRouteInput>>;
|
|
1815
|
-
};
|
|
1816
|
-
|
|
1817
|
-
export enum TokenTradeType {
|
|
1818
|
-
ExactInput = 'EXACT_INPUT',
|
|
1819
|
-
ExactOutput = 'EXACT_OUTPUT'
|
|
1820
|
-
}
|
|
1821
|
-
|
|
1822
|
-
export type TokenTransfer = {
|
|
1823
|
-
__typename?: 'TokenTransfer';
|
|
1824
|
-
asset: Token;
|
|
1825
|
-
direction: TransactionDirection;
|
|
1826
|
-
id: Scalars['ID'];
|
|
1827
|
-
quantity: Scalars['String'];
|
|
1828
|
-
recipient: Scalars['String'];
|
|
1829
|
-
sender: Scalars['String'];
|
|
1830
|
-
tokenStandard: TokenStandard;
|
|
1831
|
-
transactedValue?: Maybe<Amount>;
|
|
1832
|
-
};
|
|
1833
|
-
|
|
1834
|
-
export type TokenTransferInput = {
|
|
1835
|
-
asset: TokenAssetInput;
|
|
1836
|
-
direction: TransactionDirection;
|
|
1837
|
-
quantity: Scalars['String'];
|
|
1838
|
-
recipient: Scalars['String'];
|
|
1839
|
-
sender: Scalars['String'];
|
|
1840
|
-
tokenStandard: TokenStandard;
|
|
1841
|
-
transactedValue?: InputMaybe<AmountInput>;
|
|
1842
|
-
};
|
|
1843
|
-
|
|
1844
|
-
export type TradePoolInput = {
|
|
1845
|
-
pair?: InputMaybe<PairInput>;
|
|
1846
|
-
pool?: InputMaybe<PoolInput>;
|
|
1847
|
-
};
|
|
1848
|
-
|
|
1849
|
-
export type Transaction = {
|
|
1850
|
-
__typename?: 'Transaction';
|
|
1851
|
-
blockNumber: Scalars['Int'];
|
|
1852
|
-
from: Scalars['String'];
|
|
1853
|
-
gasLimit?: Maybe<Scalars['Float']>;
|
|
1854
|
-
hash: Scalars['String'];
|
|
1855
|
-
id: Scalars['ID'];
|
|
1856
|
-
maxFeePerGas?: Maybe<Scalars['Float']>;
|
|
1857
|
-
nonce: Scalars['Int'];
|
|
1858
|
-
status: TransactionStatus;
|
|
1859
|
-
to: Scalars['String'];
|
|
1860
|
-
};
|
|
1861
|
-
|
|
1862
|
-
export type TransactionDetails = {
|
|
1863
|
-
__typename?: 'TransactionDetails';
|
|
1864
|
-
application?: Maybe<ApplicationContract>;
|
|
1865
|
-
assetChanges: Array<Maybe<AssetChange>>;
|
|
1866
|
-
from: Scalars['String'];
|
|
1867
|
-
hash: Scalars['String'];
|
|
1868
|
-
id: Scalars['ID'];
|
|
1869
|
-
networkFee?: Maybe<NetworkFee>;
|
|
1870
|
-
nonce: Scalars['Int'];
|
|
1871
|
-
/** @deprecated use transactionStatus to disambiguate from swapOrderStatus */
|
|
1872
|
-
status: TransactionStatus;
|
|
1873
|
-
to: Scalars['String'];
|
|
1874
|
-
transactionStatus: TransactionStatus;
|
|
1875
|
-
type: TransactionType;
|
|
1876
|
-
};
|
|
1877
|
-
|
|
1878
|
-
export type TransactionDetailsInput = {
|
|
1879
|
-
application?: InputMaybe<ApplicationContractInput>;
|
|
1880
|
-
assetChanges: Array<InputMaybe<AssetChangeInput>>;
|
|
1881
|
-
from: Scalars['String'];
|
|
1882
|
-
hash: Scalars['String'];
|
|
1883
|
-
nonce: Scalars['Int'];
|
|
1884
|
-
status?: InputMaybe<TransactionStatus>;
|
|
1885
|
-
to: Scalars['String'];
|
|
1886
|
-
transactionStatus: TransactionStatus;
|
|
1887
|
-
type: TransactionType;
|
|
1888
|
-
};
|
|
1889
|
-
|
|
1890
|
-
export enum TransactionDirection {
|
|
1891
|
-
In = 'IN',
|
|
1892
|
-
Out = 'OUT',
|
|
1893
|
-
Self = 'SELF'
|
|
1894
|
-
}
|
|
1895
|
-
|
|
1896
|
-
export type TransactionNotification = {
|
|
1897
|
-
__typename?: 'TransactionNotification';
|
|
1898
|
-
hash: Scalars['String'];
|
|
1899
|
-
id: Scalars['ID'];
|
|
1900
|
-
push: Array<PushNotification>;
|
|
1901
|
-
};
|
|
1902
|
-
|
|
1903
|
-
export enum TransactionStatus {
|
|
1904
|
-
Confirmed = 'CONFIRMED',
|
|
1905
|
-
Failed = 'FAILED',
|
|
1906
|
-
Pending = 'PENDING'
|
|
1907
|
-
}
|
|
1908
|
-
|
|
1909
|
-
export enum TransactionType {
|
|
1910
|
-
Approve = 'APPROVE',
|
|
1911
|
-
Borrow = 'BORROW',
|
|
1912
|
-
Bridging = 'BRIDGING',
|
|
1913
|
-
Cancel = 'CANCEL',
|
|
1914
|
-
Claim = 'CLAIM',
|
|
1915
|
-
Deployment = 'DEPLOYMENT',
|
|
1916
|
-
Execute = 'EXECUTE',
|
|
1917
|
-
Lend = 'LEND',
|
|
1918
|
-
Mint = 'MINT',
|
|
1919
|
-
OffRamp = 'OFF_RAMP',
|
|
1920
|
-
OnRamp = 'ON_RAMP',
|
|
1921
|
-
Receive = 'RECEIVE',
|
|
1922
|
-
Repay = 'REPAY',
|
|
1923
|
-
Send = 'SEND',
|
|
1924
|
-
Stake = 'STAKE',
|
|
1925
|
-
Swap = 'SWAP',
|
|
1926
|
-
SwapOrder = 'SWAP_ORDER',
|
|
1927
|
-
Unknown = 'UNKNOWN',
|
|
1928
|
-
Unstake = 'UNSTAKE',
|
|
1929
|
-
Withdraw = 'WITHDRAW'
|
|
1930
|
-
}
|
|
1931
|
-
|
|
1932
|
-
export type V2Pair = IPool & {
|
|
1933
|
-
__typename?: 'V2Pair';
|
|
1934
|
-
address: Scalars['String'];
|
|
1935
|
-
chain: Chain;
|
|
1936
|
-
createdAtTimestamp?: Maybe<Scalars['Int']>;
|
|
1937
|
-
cumulativeVolume?: Maybe<Amount>;
|
|
1938
|
-
historicalVolume?: Maybe<Array<Maybe<TimestampedAmount>>>;
|
|
1939
|
-
id: Scalars['ID'];
|
|
1940
|
-
priceHistory?: Maybe<Array<Maybe<TimestampedPoolPrice>>>;
|
|
1941
|
-
protocolVersion: ProtocolVersion;
|
|
1942
|
-
token0?: Maybe<Token>;
|
|
1943
|
-
token0Supply?: Maybe<Scalars['Float']>;
|
|
1944
|
-
token1?: Maybe<Token>;
|
|
1945
|
-
token1Supply?: Maybe<Scalars['Float']>;
|
|
1946
|
-
totalLiquidity?: Maybe<Amount>;
|
|
1947
|
-
totalLiquidityPercentChange24h?: Maybe<Amount>;
|
|
1948
|
-
transactions?: Maybe<Array<Maybe<PoolTransaction>>>;
|
|
1949
|
-
txCount?: Maybe<Scalars['Int']>;
|
|
1950
|
-
};
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
export type V2PairCumulativeVolumeArgs = {
|
|
1954
|
-
duration: HistoryDuration;
|
|
1955
|
-
};
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
export type V2PairHistoricalVolumeArgs = {
|
|
1959
|
-
duration: HistoryDuration;
|
|
1960
|
-
};
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
export type V2PairPriceHistoryArgs = {
|
|
1964
|
-
duration: HistoryDuration;
|
|
1965
|
-
};
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
export type V2PairTransactionsArgs = {
|
|
1969
|
-
first: Scalars['Int'];
|
|
1970
|
-
timestampCursor?: InputMaybe<Scalars['Int']>;
|
|
1971
|
-
};
|
|
1972
|
-
|
|
1973
|
-
export type V3Pool = IPool & {
|
|
1974
|
-
__typename?: 'V3Pool';
|
|
1975
|
-
address: Scalars['String'];
|
|
1976
|
-
chain: Chain;
|
|
1977
|
-
createdAtTimestamp?: Maybe<Scalars['Int']>;
|
|
1978
|
-
cumulativeVolume?: Maybe<Amount>;
|
|
1979
|
-
feeTier?: Maybe<Scalars['Float']>;
|
|
1980
|
-
historicalVolume?: Maybe<Array<Maybe<TimestampedAmount>>>;
|
|
1981
|
-
id: Scalars['ID'];
|
|
1982
|
-
priceHistory?: Maybe<Array<Maybe<TimestampedPoolPrice>>>;
|
|
1983
|
-
protocolVersion: ProtocolVersion;
|
|
1984
|
-
ticks?: Maybe<Array<Maybe<V3PoolTick>>>;
|
|
1985
|
-
token0?: Maybe<Token>;
|
|
1986
|
-
token0Supply?: Maybe<Scalars['Float']>;
|
|
1987
|
-
token1?: Maybe<Token>;
|
|
1988
|
-
token1Supply?: Maybe<Scalars['Float']>;
|
|
1989
|
-
totalLiquidity?: Maybe<Amount>;
|
|
1990
|
-
totalLiquidityPercentChange24h?: Maybe<Amount>;
|
|
1991
|
-
transactions?: Maybe<Array<Maybe<PoolTransaction>>>;
|
|
1992
|
-
txCount?: Maybe<Scalars['Int']>;
|
|
1993
|
-
};
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
export type V3PoolCumulativeVolumeArgs = {
|
|
1997
|
-
duration: HistoryDuration;
|
|
1998
|
-
};
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
export type V3PoolHistoricalVolumeArgs = {
|
|
2002
|
-
duration: HistoryDuration;
|
|
2003
|
-
};
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
export type V3PoolPriceHistoryArgs = {
|
|
2007
|
-
duration: HistoryDuration;
|
|
2008
|
-
};
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
export type V3PoolTicksArgs = {
|
|
2012
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
2013
|
-
skip?: InputMaybe<Scalars['Int']>;
|
|
2014
|
-
};
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
export type V3PoolTransactionsArgs = {
|
|
2018
|
-
first: Scalars['Int'];
|
|
2019
|
-
timestampCursor?: InputMaybe<Scalars['Int']>;
|
|
2020
|
-
};
|
|
2021
|
-
|
|
2022
|
-
export type V3PoolTick = {
|
|
2023
|
-
__typename?: 'V3PoolTick';
|
|
2024
|
-
id: Scalars['ID'];
|
|
2025
|
-
liquidityGross?: Maybe<Scalars['String']>;
|
|
2026
|
-
liquidityNet?: Maybe<Scalars['String']>;
|
|
2027
|
-
price0?: Maybe<Scalars['String']>;
|
|
2028
|
-
price1?: Maybe<Scalars['String']>;
|
|
2029
|
-
tickIdx?: Maybe<Scalars['Int']>;
|
|
2030
|
-
};
|
|
2031
|
-
|
|
2032
|
-
export type V4Pool = {
|
|
2033
|
-
__typename?: 'V4Pool';
|
|
2034
|
-
chain: Chain;
|
|
2035
|
-
createdAtTimestamp?: Maybe<Scalars['Int']>;
|
|
2036
|
-
cumulativeVolume?: Maybe<Amount>;
|
|
2037
|
-
feeTier?: Maybe<Scalars['Float']>;
|
|
2038
|
-
historicalVolume?: Maybe<Array<Maybe<TimestampedAmount>>>;
|
|
2039
|
-
hook?: Maybe<V4PoolHook>;
|
|
2040
|
-
id: Scalars['ID'];
|
|
2041
|
-
isDynamicFee?: Maybe<Scalars['Boolean']>;
|
|
2042
|
-
poolId: Scalars['String'];
|
|
2043
|
-
priceHistory?: Maybe<Array<Maybe<TimestampedPoolPrice>>>;
|
|
2044
|
-
protocolVersion: ProtocolVersion;
|
|
2045
|
-
rewardsCampaign?: Maybe<RewardsCampaign>;
|
|
2046
|
-
tickSpacing?: Maybe<Scalars['Int']>;
|
|
2047
|
-
ticks?: Maybe<Array<Maybe<V4PoolTick>>>;
|
|
2048
|
-
token0?: Maybe<Token>;
|
|
2049
|
-
token0Supply?: Maybe<Scalars['Float']>;
|
|
2050
|
-
token1?: Maybe<Token>;
|
|
2051
|
-
token1Supply?: Maybe<Scalars['Float']>;
|
|
2052
|
-
totalLiquidity?: Maybe<Amount>;
|
|
2053
|
-
totalLiquidityPercentChange24h?: Maybe<Amount>;
|
|
2054
|
-
transactions?: Maybe<Array<Maybe<PoolTransaction>>>;
|
|
2055
|
-
txCount?: Maybe<Scalars['Int']>;
|
|
2056
|
-
};
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
export type V4PoolCumulativeVolumeArgs = {
|
|
2060
|
-
duration: HistoryDuration;
|
|
2061
|
-
};
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
export type V4PoolHistoricalVolumeArgs = {
|
|
2065
|
-
duration: HistoryDuration;
|
|
2066
|
-
};
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
export type V4PoolPriceHistoryArgs = {
|
|
2070
|
-
duration: HistoryDuration;
|
|
2071
|
-
};
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
export type V4PoolTicksArgs = {
|
|
2075
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
2076
|
-
skip?: InputMaybe<Scalars['Int']>;
|
|
2077
|
-
};
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
export type V4PoolTransactionsArgs = {
|
|
2081
|
-
first: Scalars['Int'];
|
|
2082
|
-
timestampCursor?: InputMaybe<Scalars['Int']>;
|
|
2083
|
-
};
|
|
2084
|
-
|
|
2085
|
-
export type V4PoolHook = {
|
|
2086
|
-
__typename?: 'V4PoolHook';
|
|
2087
|
-
address: Scalars['String'];
|
|
2088
|
-
id: Scalars['ID'];
|
|
2089
|
-
};
|
|
2090
|
-
|
|
2091
|
-
export type V4PoolTick = {
|
|
2092
|
-
__typename?: 'V4PoolTick';
|
|
2093
|
-
id: Scalars['ID'];
|
|
2094
|
-
liquidityGross?: Maybe<Scalars['String']>;
|
|
2095
|
-
liquidityNet?: Maybe<Scalars['String']>;
|
|
2096
|
-
price0?: Maybe<Scalars['String']>;
|
|
2097
|
-
price1?: Maybe<Scalars['String']>;
|
|
2098
|
-
tickIdx?: Maybe<Scalars['Int']>;
|
|
2099
|
-
};
|