diff --git a/src/api/account.ts b/src/api/account.ts index 273267458..09510cbef 100644 --- a/src/api/account.ts +++ b/src/api/account.ts @@ -12,14 +12,11 @@ import { TransactionResponse, HexInput, IndexerPaginationArgs, - GetAccountTokensCountQueryResponse, TokenStandard, OrderBy, GetAccountOwnedTokensQueryResponse, GetAccountCollectionsWithOwnedTokenResponse, - GetAccountTransactionsCountResponse, GetAccountCoinsDataResponse, - GetAccountCoinsCountResponse, GetAccountOwnedObjectsResponse, GetAccountOwnedTokensFromCollectionResponse, } from "../types"; @@ -198,7 +195,7 @@ export class Account { * @param accountAddress The account address * @returns An object { count : number } */ - async getAccountTokensCount(args: { accountAddress: HexInput }): Promise { + async getAccountTokensCount(args: { accountAddress: HexInput }): Promise { const count = await getAccountTokensCount({ aptosConfig: this.config, ...args, @@ -286,7 +283,7 @@ export class Account { * @param accountAddress The account address we want to get the total count for * @returns An object { count : number } */ - async getAccountTransactionsCount(args: { accountAddress: HexInput }): Promise { + async getAccountTransactionsCount(args: { accountAddress: HexInput }): Promise { const count = getAccountTransactionsCount({ aptosConfig: this.config, ...args, @@ -320,7 +317,7 @@ export class Account { * @param accountAddress The account address we want to get the total count for * @returns An object { count : number } where `number` is the aggregated count of all account's coin */ - async getAccountCoinsCount(args: { accountAddress: HexInput }): Promise { + async getAccountCoinsCount(args: { accountAddress: HexInput }): Promise { const count = getAccountCoinsCount({ aptosConfig: this.config, ...args }); return count; } diff --git a/src/api/aptos.ts b/src/api/aptos.ts index 4269424db..fa2368292 100644 --- a/src/api/aptos.ts +++ b/src/api/aptos.ts @@ -7,6 +7,7 @@ import { Coin } from "./coin"; import { Collection } from "./collection"; import { Faucet } from "./faucet"; import { General } from "./general"; +import { Staking } from "./staking"; import { Transaction } from "./transaction"; import { TransactionSubmission } from "./transaction_submission"; @@ -23,6 +24,8 @@ export class Aptos { readonly general: General; + readonly staking: Staking; + readonly transaction: Transaction; readonly transactionSubmission: TransactionSubmission; @@ -51,12 +54,21 @@ export class Aptos { this.collection = new Collection(this.config); this.faucet = new Faucet(this.config); this.general = new General(this.config); + this.staking = new Staking(this.config); this.transaction = new Transaction(this.config); this.transactionSubmission = new TransactionSubmission(this.config); } } -export interface Aptos extends Account, Coin, Collection, Faucet, General, Transaction, TransactionSubmission {} +export interface Aptos + extends Account, + Coin, + Collection, + Faucet, + General, + Staking, + Transaction, + TransactionSubmission {} /** In TypeScript, we can’t inherit or extend from more than one class, @@ -84,5 +96,6 @@ applyMixin(Aptos, Coin, "coin"); applyMixin(Aptos, Collection, "collection"); applyMixin(Aptos, Faucet, "faucet"); applyMixin(Aptos, General, "general"); +applyMixin(Aptos, Staking, "staking"); applyMixin(Aptos, Transaction, "transaction"); applyMixin(Aptos, TransactionSubmission, "transactionSubmission"); diff --git a/src/api/staking.ts b/src/api/staking.ts new file mode 100644 index 000000000..1c71977e2 --- /dev/null +++ b/src/api/staking.ts @@ -0,0 +1,62 @@ +// Copyright © Aptos Foundation +// SPDX-License-Identifier: Apache-2.0 + +import { + getDelegatedStakingActivities, + getNumberOfDelegators, + getNumberOfDelegatorsForAllPools, +} from "../internal/staking"; +import { GetDelegatedStakingActivitiesResponse, GetNumberOfDelegatorsResponse, HexInput, OrderBy } from "../types"; +import { AptosConfig } from "./aptos_config"; + +/** + * A class to query all `Staking` related queries on Aptos. + */ +export class Staking { + readonly config: AptosConfig; + + constructor(config: AptosConfig) { + this.config = config; + } + + /** + * Queries current number of delegators in a pool. Throws an error if the pool is not found. + * + * @param poolAddress Pool address + * @returns The number of delegators for the given pool + */ + async getNumberOfDelegators(args: { poolAddress: HexInput }): Promise { + const numDelegators = await getNumberOfDelegators({ aptosConfig: this.config, ...args }); + return numDelegators; + } + + /** + * Queries current number of delegators in a pool. Throws an error if the pool is not found. + * + * @param poolAddress Pool address + * @returns GetNumberOfDelegatorsForAllPoolsResponse response type + */ + async getNumberOfDelegatorsForAllPools(args?: { + options?: { + orderBy?: OrderBy; + }; + }): Promise { + const numDelegatorData = await getNumberOfDelegatorsForAllPools({ aptosConfig: this.config, ...args }); + return numDelegatorData; + } + + /** + * Queries delegated staking activities + * + * @param delegatorAddress Delegator address + * @param poolAddress Pool address + * @returns GetDelegatedStakingActivitiesResponse response type + */ + async getDelegatedStakingActivities(args: { + delegatorAddress: HexInput; + poolAddress: HexInput; + }): Promise { + const delegatedStakingActivities = await getDelegatedStakingActivities({ aptosConfig: this.config, ...args }); + return delegatedStakingActivities; + } +} diff --git a/src/internal/account.ts b/src/internal/account.ts index 7029c48ab..4c4bf9380 100644 --- a/src/internal/account.ts +++ b/src/internal/account.ts @@ -14,14 +14,11 @@ import { AccountAddress, Hex } from "../core"; import { getTableItem, queryIndexer } from "./general"; import { AccountData, - GetAccountCoinsCountResponse, GetAccountCoinsDataResponse, GetAccountCollectionsWithOwnedTokenResponse, GetAccountOwnedObjectsResponse, GetAccountOwnedTokensFromCollectionResponse, GetAccountOwnedTokensQueryResponse, - GetAccountTokensCountQueryResponse, - GetAccountTransactionsCountResponse, HexInput, IndexerPaginationArgs, LedgerVersion, @@ -236,7 +233,7 @@ export async function lookupOriginalAccountAddress(args: { export async function getAccountTokensCount(args: { aptosConfig: AptosConfig; accountAddress: HexInput; -}): Promise { +}): Promise { const { aptosConfig, accountAddress } = args; const address = AccountAddress.fromHexInput({ @@ -258,8 +255,10 @@ export async function getAccountTokensCount(args: { query: graphqlQuery, originMethod: "getAccountTokensCount", }); - - return data.current_token_ownerships_v2_aggregate.aggregate; + if (!data.current_token_ownerships_v2_aggregate.aggregate) { + throw Error("Failed to get the count of account tokens"); + } + return data.current_token_ownerships_v2_aggregate.aggregate.count; } export async function getAccountOwnedTokens(args: { @@ -398,7 +397,7 @@ export async function getAccountCollectionsWithOwnedTokens(args: { export async function getAccountTransactionsCount(args: { aptosConfig: AptosConfig; accountAddress: HexInput; -}): Promise { +}): Promise { const { aptosConfig, accountAddress } = args; const address = AccountAddress.fromHexInput({ @@ -416,7 +415,11 @@ export async function getAccountTransactionsCount(args: { originMethod: "getAccountTransactionsCount", }); - return data.account_transactions_aggregate.aggregate; + if (!data.account_transactions_aggregate.aggregate) { + throw Error("Failed to get the count of account transactions"); + } + + return data.account_transactions_aggregate.aggregate.count; } export async function getAccountCoinsData(args: { @@ -458,7 +461,7 @@ export async function getAccountCoinsData(args: { export async function getAccountCoinsCount(args: { aptosConfig: AptosConfig; accountAddress: HexInput; -}): Promise { +}): Promise { const { aptosConfig, accountAddress } = args; const address = AccountAddress.fromHexInput({ input: accountAddress, @@ -475,7 +478,11 @@ export async function getAccountCoinsCount(args: { originMethod: "getAccountCoinsCount", }); - return data.current_fungible_asset_balances_aggregate.aggregate; + if (!data.current_fungible_asset_balances_aggregate.aggregate) { + throw Error("Failed to get the count of account coins"); + } + + return data.current_fungible_asset_balances_aggregate.aggregate.count; } export async function getAccountOwnedObjects(args: { diff --git a/src/internal/queries/getDelegatedStakingActivities.graphql b/src/internal/queries/getDelegatedStakingActivities.graphql new file mode 100644 index 000000000..70083e243 --- /dev/null +++ b/src/internal/queries/getDelegatedStakingActivities.graphql @@ -0,0 +1,12 @@ +query getDelegatedStakingActivities($delegatorAddress: String, $poolAddress: String) { + delegated_staking_activities( + where: { delegator_address: { _eq: $delegatorAddress }, pool_address: { _eq: $poolAddress } } + ) { + amount + delegator_address + event_index + event_type + pool_address + transaction_version + } +} diff --git a/src/internal/queries/getNumberOfDelegatorsQuery.graphql b/src/internal/queries/getNumberOfDelegatorsQuery.graphql new file mode 100644 index 000000000..e40243902 --- /dev/null +++ b/src/internal/queries/getNumberOfDelegatorsQuery.graphql @@ -0,0 +1,9 @@ +query getNumberOfDelegators($where_condition: num_active_delegator_per_pool_bool_exp!, $order_by: [num_active_delegator_per_pool_order_by!]) { + num_active_delegator_per_pool( + where: $where_condition, + order_by: $order_by + ) { + num_active_delegator + pool_address + } +} diff --git a/src/internal/staking.ts b/src/internal/staking.ts new file mode 100644 index 000000000..810681447 --- /dev/null +++ b/src/internal/staking.ts @@ -0,0 +1,68 @@ +// Copyright © Aptos Foundation +// SPDX-License-Identifier: Apache-2.0 + +/** + * This file contains the underlying implementations for exposed API surface in + * the {@link api/staking}. By moving the methods out into a separate file, + * other namespaces and processes can access these methods without depending on the entire + * faucet namespace and without having a dependency cycle error. + */ + +import { AptosConfig } from "../api/aptos_config"; +import { Hex } from "../core"; +import { GetDelegatedStakingActivitiesResponse, GetNumberOfDelegatorsResponse, HexInput, OrderBy } from "../types"; +import { GetDelegatedStakingActivitiesQuery, GetNumberOfDelegatorsQuery } from "../types/generated/operations"; +import { GetDelegatedStakingActivities, GetNumberOfDelegators } from "../types/generated/queries"; +import { queryIndexer } from "./general"; + +export async function getNumberOfDelegators(args: { + aptosConfig: AptosConfig; + poolAddress: HexInput; +}): Promise { + const { aptosConfig, poolAddress } = args; + const address = Hex.fromHexInput({ hexInput: poolAddress }).toString(); + const query = { + query: GetNumberOfDelegators, + variables: { where_condition: { pool_address: { _eq: address } } }, + }; + const data: GetNumberOfDelegatorsQuery = await queryIndexer({ aptosConfig, query }); + if (data.num_active_delegator_per_pool.length === 0) { + throw Error("Delegator pool not found"); + } + return data.num_active_delegator_per_pool[0].num_active_delegator; +} + +export async function getNumberOfDelegatorsForAllPools(args: { + aptosConfig: AptosConfig; + options?: { + orderBy?: OrderBy; + }; +}): Promise { + const { aptosConfig, options } = args; + const query = { + query: GetNumberOfDelegators, + variables: { where_condition: {}, order_by: options?.orderBy }, + }; + const data: GetNumberOfDelegatorsQuery = await queryIndexer({ + aptosConfig, + query, + }); + return data.num_active_delegator_per_pool; +} + +export async function getDelegatedStakingActivities(args: { + aptosConfig: AptosConfig; + delegatorAddress: HexInput; + poolAddress: HexInput; +}): Promise { + const { aptosConfig, delegatorAddress, poolAddress } = args; + const query = { + query: GetDelegatedStakingActivities, + variables: { + delegatorAddress: Hex.fromHexInput({ hexInput: delegatorAddress }).toString(), + poolAddress: Hex.fromHexInput({ hexInput: poolAddress }).toString(), + }, + }; + const data = await queryIndexer({ aptosConfig, query }); + return data.delegated_staking_activities; +} diff --git a/src/types/generated/operations.ts b/src/types/generated/operations.ts index 869fc2550..5434a3fde 100644 --- a/src/types/generated/operations.ts +++ b/src/types/generated/operations.ts @@ -1,93 +1,380 @@ -import * as Types from './types'; +import * as Types from "./types"; -export type CurrentTokenOwnershipFieldsFragment = { token_standard: string, token_properties_mutated_v1?: any | null, token_data_id: string, table_type_v1?: string | null, storage_id: string, property_version_v1: any, owner_address: string, last_transaction_version: any, last_transaction_timestamp: any, is_soulbound_v2?: boolean | null, is_fungible_v2?: boolean | null, amount: any, current_token_data?: { collection_id: string, description: string, is_fungible_v2?: boolean | null, largest_property_version_v1?: any | null, last_transaction_timestamp: any, last_transaction_version: any, maximum?: any | null, supply: any, token_data_id: string, token_name: string, token_properties: any, token_standard: string, token_uri: string, current_collection?: { collection_id: string, collection_name: string, creator_address: string, current_supply: any, description: string, last_transaction_timestamp: any, last_transaction_version: any, max_supply?: any | null, mutable_description?: boolean | null, mutable_uri?: boolean | null, table_handle_v1?: string | null, token_standard: string, total_minted_v2?: any | null, uri: string } | null } | null }; +export type CurrentTokenOwnershipFieldsFragment = { + token_standard: string; + token_properties_mutated_v1?: any | null; + token_data_id: string; + table_type_v1?: string | null; + storage_id: string; + property_version_v1: any; + owner_address: string; + last_transaction_version: any; + last_transaction_timestamp: any; + is_soulbound_v2?: boolean | null; + is_fungible_v2?: boolean | null; + amount: any; + current_token_data?: { + collection_id: string; + description: string; + is_fungible_v2?: boolean | null; + largest_property_version_v1?: any | null; + last_transaction_timestamp: any; + last_transaction_version: any; + maximum?: any | null; + supply: any; + token_data_id: string; + token_name: string; + token_properties: any; + token_standard: string; + token_uri: string; + current_collection?: { + collection_id: string; + collection_name: string; + creator_address: string; + current_supply: any; + description: string; + last_transaction_timestamp: any; + last_transaction_version: any; + max_supply?: any | null; + mutable_description?: boolean | null; + mutable_uri?: boolean | null; + table_handle_v1?: string | null; + token_standard: string; + total_minted_v2?: any | null; + uri: string; + } | null; + } | null; +}; export type GetAccountCoinsCountQueryVariables = Types.Exact<{ - address?: Types.InputMaybe; + address?: Types.InputMaybe; }>; - -export type GetAccountCoinsCountQuery = { current_fungible_asset_balances_aggregate: { aggregate?: { count: number } | null } }; +export type GetAccountCoinsCountQuery = { + current_fungible_asset_balances_aggregate: { aggregate?: { count: number } | null }; +}; export type GetAccountCoinsDataQueryVariables = Types.Exact<{ where_condition: Types.CurrentFungibleAssetBalancesBoolExp; - offset?: Types.InputMaybe; - limit?: Types.InputMaybe; - order_by?: Types.InputMaybe | Types.CurrentFungibleAssetBalancesOrderBy>; + offset?: Types.InputMaybe; + limit?: Types.InputMaybe; + order_by?: Types.InputMaybe< + Array | Types.CurrentFungibleAssetBalancesOrderBy + >; }>; - -export type GetAccountCoinsDataQuery = { current_fungible_asset_balances: Array<{ amount: any, asset_type: string, is_frozen: boolean, is_primary: boolean, last_transaction_timestamp: any, last_transaction_version: any, owner_address: string, storage_id: string, token_standard: string, metadata?: { token_standard: string, symbol: string, supply_aggregator_table_key_v1?: string | null, supply_aggregator_table_handle_v1?: string | null, project_uri?: string | null, name: string, last_transaction_version: any, last_transaction_timestamp: any, icon_uri?: string | null, decimals: number, creator_address: string, asset_type: string } | null }> }; +export type GetAccountCoinsDataQuery = { + current_fungible_asset_balances: Array<{ + amount: any; + asset_type: string; + is_frozen: boolean; + is_primary: boolean; + last_transaction_timestamp: any; + last_transaction_version: any; + owner_address: string; + storage_id: string; + token_standard: string; + metadata?: { + token_standard: string; + symbol: string; + supply_aggregator_table_key_v1?: string | null; + supply_aggregator_table_handle_v1?: string | null; + project_uri?: string | null; + name: string; + last_transaction_version: any; + last_transaction_timestamp: any; + icon_uri?: string | null; + decimals: number; + creator_address: string; + asset_type: string; + } | null; + }>; +}; export type GetAccountCollectionsWithOwnedTokensQueryVariables = Types.Exact<{ where_condition: Types.CurrentCollectionOwnershipV2ViewBoolExp; - offset?: Types.InputMaybe; - limit?: Types.InputMaybe; - order_by?: Types.InputMaybe | Types.CurrentCollectionOwnershipV2ViewOrderBy>; + offset?: Types.InputMaybe; + limit?: Types.InputMaybe; + order_by?: Types.InputMaybe< + Array | Types.CurrentCollectionOwnershipV2ViewOrderBy + >; }>; - -export type GetAccountCollectionsWithOwnedTokensQuery = { current_collection_ownership_v2_view: Array<{ collection_id?: string | null, collection_name?: string | null, collection_uri?: string | null, creator_address?: string | null, distinct_tokens?: any | null, last_transaction_version?: any | null, owner_address?: string | null, single_token_uri?: string | null, current_collection?: { collection_id: string, collection_name: string, creator_address: string, current_supply: any, description: string, last_transaction_timestamp: any, last_transaction_version: any, mutable_description?: boolean | null, max_supply?: any | null, mutable_uri?: boolean | null, table_handle_v1?: string | null, token_standard: string, total_minted_v2?: any | null, uri: string } | null }> }; +export type GetAccountCollectionsWithOwnedTokensQuery = { + current_collection_ownership_v2_view: Array<{ + collection_id?: string | null; + collection_name?: string | null; + collection_uri?: string | null; + creator_address?: string | null; + distinct_tokens?: any | null; + last_transaction_version?: any | null; + owner_address?: string | null; + single_token_uri?: string | null; + current_collection?: { + collection_id: string; + collection_name: string; + creator_address: string; + current_supply: any; + description: string; + last_transaction_timestamp: any; + last_transaction_version: any; + mutable_description?: boolean | null; + max_supply?: any | null; + mutable_uri?: boolean | null; + table_handle_v1?: string | null; + token_standard: string; + total_minted_v2?: any | null; + uri: string; + } | null; + }>; +}; export type GetAccountOwnedObjectsQueryVariables = Types.Exact<{ where_condition?: Types.InputMaybe; - offset?: Types.InputMaybe; - limit?: Types.InputMaybe; + offset?: Types.InputMaybe; + limit?: Types.InputMaybe; order_by?: Types.InputMaybe | Types.CurrentObjectsOrderBy>; }>; - -export type GetAccountOwnedObjectsQuery = { current_objects: Array<{ allow_ungated_transfer: boolean, state_key_hash: string, owner_address: string, object_address: string, last_transaction_version: any, last_guid_creation_num: any, is_deleted: boolean }> }; +export type GetAccountOwnedObjectsQuery = { + current_objects: Array<{ + allow_ungated_transfer: boolean; + state_key_hash: string; + owner_address: string; + object_address: string; + last_transaction_version: any; + last_guid_creation_num: any; + is_deleted: boolean; + }>; +}; export type GetAccountOwnedTokensQueryVariables = Types.Exact<{ where_condition: Types.CurrentTokenOwnershipsV2BoolExp; - offset?: Types.InputMaybe; - limit?: Types.InputMaybe; + offset?: Types.InputMaybe; + limit?: Types.InputMaybe; order_by?: Types.InputMaybe | Types.CurrentTokenOwnershipsV2OrderBy>; }>; - -export type GetAccountOwnedTokensQuery = { current_token_ownerships_v2: Array<{ token_standard: string, token_properties_mutated_v1?: any | null, token_data_id: string, table_type_v1?: string | null, storage_id: string, property_version_v1: any, owner_address: string, last_transaction_version: any, last_transaction_timestamp: any, is_soulbound_v2?: boolean | null, is_fungible_v2?: boolean | null, amount: any, current_token_data?: { collection_id: string, description: string, is_fungible_v2?: boolean | null, largest_property_version_v1?: any | null, last_transaction_timestamp: any, last_transaction_version: any, maximum?: any | null, supply: any, token_data_id: string, token_name: string, token_properties: any, token_standard: string, token_uri: string, current_collection?: { collection_id: string, collection_name: string, creator_address: string, current_supply: any, description: string, last_transaction_timestamp: any, last_transaction_version: any, max_supply?: any | null, mutable_description?: boolean | null, mutable_uri?: boolean | null, table_handle_v1?: string | null, token_standard: string, total_minted_v2?: any | null, uri: string } | null } | null }> }; +export type GetAccountOwnedTokensQuery = { + current_token_ownerships_v2: Array<{ + token_standard: string; + token_properties_mutated_v1?: any | null; + token_data_id: string; + table_type_v1?: string | null; + storage_id: string; + property_version_v1: any; + owner_address: string; + last_transaction_version: any; + last_transaction_timestamp: any; + is_soulbound_v2?: boolean | null; + is_fungible_v2?: boolean | null; + amount: any; + current_token_data?: { + collection_id: string; + description: string; + is_fungible_v2?: boolean | null; + largest_property_version_v1?: any | null; + last_transaction_timestamp: any; + last_transaction_version: any; + maximum?: any | null; + supply: any; + token_data_id: string; + token_name: string; + token_properties: any; + token_standard: string; + token_uri: string; + current_collection?: { + collection_id: string; + collection_name: string; + creator_address: string; + current_supply: any; + description: string; + last_transaction_timestamp: any; + last_transaction_version: any; + max_supply?: any | null; + mutable_description?: boolean | null; + mutable_uri?: boolean | null; + table_handle_v1?: string | null; + token_standard: string; + total_minted_v2?: any | null; + uri: string; + } | null; + } | null; + }>; +}; export type GetAccountOwnedTokensByTokenDataQueryVariables = Types.Exact<{ where_condition: Types.CurrentTokenOwnershipsV2BoolExp; - offset?: Types.InputMaybe; - limit?: Types.InputMaybe; + offset?: Types.InputMaybe; + limit?: Types.InputMaybe; order_by?: Types.InputMaybe | Types.CurrentTokenOwnershipsV2OrderBy>; }>; - -export type GetAccountOwnedTokensByTokenDataQuery = { current_token_ownerships_v2: Array<{ token_standard: string, token_properties_mutated_v1?: any | null, token_data_id: string, table_type_v1?: string | null, storage_id: string, property_version_v1: any, owner_address: string, last_transaction_version: any, last_transaction_timestamp: any, is_soulbound_v2?: boolean | null, is_fungible_v2?: boolean | null, amount: any, current_token_data?: { collection_id: string, description: string, is_fungible_v2?: boolean | null, largest_property_version_v1?: any | null, last_transaction_timestamp: any, last_transaction_version: any, maximum?: any | null, supply: any, token_data_id: string, token_name: string, token_properties: any, token_standard: string, token_uri: string, current_collection?: { collection_id: string, collection_name: string, creator_address: string, current_supply: any, description: string, last_transaction_timestamp: any, last_transaction_version: any, max_supply?: any | null, mutable_description?: boolean | null, mutable_uri?: boolean | null, table_handle_v1?: string | null, token_standard: string, total_minted_v2?: any | null, uri: string } | null } | null }> }; +export type GetAccountOwnedTokensByTokenDataQuery = { + current_token_ownerships_v2: Array<{ + token_standard: string; + token_properties_mutated_v1?: any | null; + token_data_id: string; + table_type_v1?: string | null; + storage_id: string; + property_version_v1: any; + owner_address: string; + last_transaction_version: any; + last_transaction_timestamp: any; + is_soulbound_v2?: boolean | null; + is_fungible_v2?: boolean | null; + amount: any; + current_token_data?: { + collection_id: string; + description: string; + is_fungible_v2?: boolean | null; + largest_property_version_v1?: any | null; + last_transaction_timestamp: any; + last_transaction_version: any; + maximum?: any | null; + supply: any; + token_data_id: string; + token_name: string; + token_properties: any; + token_standard: string; + token_uri: string; + current_collection?: { + collection_id: string; + collection_name: string; + creator_address: string; + current_supply: any; + description: string; + last_transaction_timestamp: any; + last_transaction_version: any; + max_supply?: any | null; + mutable_description?: boolean | null; + mutable_uri?: boolean | null; + table_handle_v1?: string | null; + token_standard: string; + total_minted_v2?: any | null; + uri: string; + } | null; + } | null; + }>; +}; export type GetAccountOwnedTokensFromCollectionQueryVariables = Types.Exact<{ where_condition: Types.CurrentTokenOwnershipsV2BoolExp; - offset?: Types.InputMaybe; - limit?: Types.InputMaybe; + offset?: Types.InputMaybe; + limit?: Types.InputMaybe; order_by?: Types.InputMaybe | Types.CurrentTokenOwnershipsV2OrderBy>; }>; - -export type GetAccountOwnedTokensFromCollectionQuery = { current_token_ownerships_v2: Array<{ token_standard: string, token_properties_mutated_v1?: any | null, token_data_id: string, table_type_v1?: string | null, storage_id: string, property_version_v1: any, owner_address: string, last_transaction_version: any, last_transaction_timestamp: any, is_soulbound_v2?: boolean | null, is_fungible_v2?: boolean | null, amount: any, current_token_data?: { collection_id: string, description: string, is_fungible_v2?: boolean | null, largest_property_version_v1?: any | null, last_transaction_timestamp: any, last_transaction_version: any, maximum?: any | null, supply: any, token_data_id: string, token_name: string, token_properties: any, token_standard: string, token_uri: string, current_collection?: { collection_id: string, collection_name: string, creator_address: string, current_supply: any, description: string, last_transaction_timestamp: any, last_transaction_version: any, max_supply?: any | null, mutable_description?: boolean | null, mutable_uri?: boolean | null, table_handle_v1?: string | null, token_standard: string, total_minted_v2?: any | null, uri: string } | null } | null }> }; +export type GetAccountOwnedTokensFromCollectionQuery = { + current_token_ownerships_v2: Array<{ + token_standard: string; + token_properties_mutated_v1?: any | null; + token_data_id: string; + table_type_v1?: string | null; + storage_id: string; + property_version_v1: any; + owner_address: string; + last_transaction_version: any; + last_transaction_timestamp: any; + is_soulbound_v2?: boolean | null; + is_fungible_v2?: boolean | null; + amount: any; + current_token_data?: { + collection_id: string; + description: string; + is_fungible_v2?: boolean | null; + largest_property_version_v1?: any | null; + last_transaction_timestamp: any; + last_transaction_version: any; + maximum?: any | null; + supply: any; + token_data_id: string; + token_name: string; + token_properties: any; + token_standard: string; + token_uri: string; + current_collection?: { + collection_id: string; + collection_name: string; + creator_address: string; + current_supply: any; + description: string; + last_transaction_timestamp: any; + last_transaction_version: any; + max_supply?: any | null; + mutable_description?: boolean | null; + mutable_uri?: boolean | null; + table_handle_v1?: string | null; + token_standard: string; + total_minted_v2?: any | null; + uri: string; + } | null; + } | null; + }>; +}; export type GetAccountTokensCountQueryVariables = Types.Exact<{ where_condition?: Types.InputMaybe; - offset?: Types.InputMaybe; - limit?: Types.InputMaybe; + offset?: Types.InputMaybe; + limit?: Types.InputMaybe; }>; - -export type GetAccountTokensCountQuery = { current_token_ownerships_v2_aggregate: { aggregate?: { count: number } | null } }; +export type GetAccountTokensCountQuery = { + current_token_ownerships_v2_aggregate: { aggregate?: { count: number } | null }; +}; export type GetAccountTransactionsCountQueryVariables = Types.Exact<{ - address?: Types.InputMaybe; + address?: Types.InputMaybe; }>; - -export type GetAccountTransactionsCountQuery = { account_transactions_aggregate: { aggregate?: { count: number } | null } }; +export type GetAccountTransactionsCountQuery = { + account_transactions_aggregate: { aggregate?: { count: number } | null }; +}; export type GetCollectionDataQueryVariables = Types.Exact<{ where_condition: Types.CurrentCollectionsV2BoolExp; }>; +export type GetCollectionDataQuery = { + current_collections_v2: Array<{ + collection_id: string; + collection_name: string; + creator_address: string; + current_supply: any; + description: string; + last_transaction_timestamp: any; + last_transaction_version: any; + max_supply?: any | null; + mutable_description?: boolean | null; + mutable_uri?: boolean | null; + table_handle_v1?: string | null; + token_standard: string; + total_minted_v2?: any | null; + uri: string; + }>; +}; + +export type GetDelegatedStakingActivitiesQueryVariables = Types.Exact<{ + delegatorAddress?: Types.InputMaybe; + poolAddress?: Types.InputMaybe; +}>; + +export type GetDelegatedStakingActivitiesQuery = { + delegated_staking_activities: Array<{ + amount: any; + delegator_address: string; + event_index: any; + event_type: string; + pool_address: string; + transaction_version: any; + }>; +}; + +export type GetNumberOfDelegatorsQueryVariables = Types.Exact<{ + where_condition: Types.NumActiveDelegatorPerPoolBoolExp; + order_by?: Types.InputMaybe | Types.NumActiveDelegatorPerPoolOrderBy>; +}>; -export type GetCollectionDataQuery = { current_collections_v2: Array<{ collection_id: string, collection_name: string, creator_address: string, current_supply: any, description: string, last_transaction_timestamp: any, last_transaction_version: any, max_supply?: any | null, mutable_description?: boolean | null, mutable_uri?: boolean | null, table_handle_v1?: string | null, token_standard: string, total_minted_v2?: any | null, uri: string }> }; +export type GetNumberOfDelegatorsQuery = { + num_active_delegator_per_pool: Array<{ num_active_delegator?: any | null; pool_address?: string | null }>; +}; diff --git a/src/types/generated/queries.ts b/src/types/generated/queries.ts index ff93dbc15..2d77dd78b 100644 --- a/src/types/generated/queries.ts +++ b/src/types/generated/queries.ts @@ -1,7 +1,7 @@ -import * as Types from './operations'; +import * as Types from "./operations"; -import { GraphQLClient } from 'graphql-request'; -import * as Dom from 'graphql-request/dist/types.dom'; +import { GraphQLClient } from "graphql-request"; +import * as Dom from "graphql-request/dist/types.dom"; export const CurrentTokenOwnershipFieldsFragmentDoc = ` fragment CurrentTokenOwnershipFields on current_token_ownerships_v2 { token_standard @@ -225,44 +225,209 @@ export const GetCollectionData = ` } } `; +export const GetDelegatedStakingActivities = ` + query getDelegatedStakingActivities($delegatorAddress: String, $poolAddress: String) { + delegated_staking_activities( + where: {delegator_address: {_eq: $delegatorAddress}, pool_address: {_eq: $poolAddress}} + ) { + amount + delegator_address + event_index + event_type + pool_address + transaction_version + } +} + `; +export const GetNumberOfDelegators = ` + query getNumberOfDelegators($where_condition: num_active_delegator_per_pool_bool_exp!, $order_by: [num_active_delegator_per_pool_order_by!]) { + num_active_delegator_per_pool(where: $where_condition, order_by: $order_by) { + num_active_delegator + pool_address + } +} + `; -export type SdkFunctionWrapper = (action: (requestHeaders?:Record) => Promise, operationName: string, operationType?: string) => Promise; - +export type SdkFunctionWrapper = ( + action: (requestHeaders?: Record) => Promise, + operationName: string, + operationType?: string, +) => Promise; const defaultWrapper: SdkFunctionWrapper = (action, _operationName, _operationType) => action(); export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = defaultWrapper) { return { - getAccountCoinsCount(variables?: Types.GetAccountCoinsCountQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetAccountCoinsCount, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'getAccountCoinsCount', 'query'); + getAccountCoinsCount( + variables?: Types.GetAccountCoinsCountQueryVariables, + requestHeaders?: Dom.RequestInit["headers"], + ): Promise { + return withWrapper( + (wrappedRequestHeaders) => + client.request(GetAccountCoinsCount, variables, { + ...requestHeaders, + ...wrappedRequestHeaders, + }), + "getAccountCoinsCount", + "query", + ); }, - getAccountCoinsData(variables: Types.GetAccountCoinsDataQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetAccountCoinsData, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'getAccountCoinsData', 'query'); + getAccountCoinsData( + variables: Types.GetAccountCoinsDataQueryVariables, + requestHeaders?: Dom.RequestInit["headers"], + ): Promise { + return withWrapper( + (wrappedRequestHeaders) => + client.request(GetAccountCoinsData, variables, { + ...requestHeaders, + ...wrappedRequestHeaders, + }), + "getAccountCoinsData", + "query", + ); }, - getAccountCollectionsWithOwnedTokens(variables: Types.GetAccountCollectionsWithOwnedTokensQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetAccountCollectionsWithOwnedTokens, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'getAccountCollectionsWithOwnedTokens', 'query'); + getAccountCollectionsWithOwnedTokens( + variables: Types.GetAccountCollectionsWithOwnedTokensQueryVariables, + requestHeaders?: Dom.RequestInit["headers"], + ): Promise { + return withWrapper( + (wrappedRequestHeaders) => + client.request( + GetAccountCollectionsWithOwnedTokens, + variables, + { ...requestHeaders, ...wrappedRequestHeaders }, + ), + "getAccountCollectionsWithOwnedTokens", + "query", + ); }, - getAccountOwnedObjects(variables?: Types.GetAccountOwnedObjectsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetAccountOwnedObjects, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'getAccountOwnedObjects', 'query'); + getAccountOwnedObjects( + variables?: Types.GetAccountOwnedObjectsQueryVariables, + requestHeaders?: Dom.RequestInit["headers"], + ): Promise { + return withWrapper( + (wrappedRequestHeaders) => + client.request(GetAccountOwnedObjects, variables, { + ...requestHeaders, + ...wrappedRequestHeaders, + }), + "getAccountOwnedObjects", + "query", + ); }, - getAccountOwnedTokens(variables: Types.GetAccountOwnedTokensQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetAccountOwnedTokens, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'getAccountOwnedTokens', 'query'); + getAccountOwnedTokens( + variables: Types.GetAccountOwnedTokensQueryVariables, + requestHeaders?: Dom.RequestInit["headers"], + ): Promise { + return withWrapper( + (wrappedRequestHeaders) => + client.request(GetAccountOwnedTokens, variables, { + ...requestHeaders, + ...wrappedRequestHeaders, + }), + "getAccountOwnedTokens", + "query", + ); }, - getAccountOwnedTokensByTokenData(variables: Types.GetAccountOwnedTokensByTokenDataQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetAccountOwnedTokensByTokenData, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'getAccountOwnedTokensByTokenData', 'query'); + getAccountOwnedTokensByTokenData( + variables: Types.GetAccountOwnedTokensByTokenDataQueryVariables, + requestHeaders?: Dom.RequestInit["headers"], + ): Promise { + return withWrapper( + (wrappedRequestHeaders) => + client.request(GetAccountOwnedTokensByTokenData, variables, { + ...requestHeaders, + ...wrappedRequestHeaders, + }), + "getAccountOwnedTokensByTokenData", + "query", + ); }, - getAccountOwnedTokensFromCollection(variables: Types.GetAccountOwnedTokensFromCollectionQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetAccountOwnedTokensFromCollection, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'getAccountOwnedTokensFromCollection', 'query'); + getAccountOwnedTokensFromCollection( + variables: Types.GetAccountOwnedTokensFromCollectionQueryVariables, + requestHeaders?: Dom.RequestInit["headers"], + ): Promise { + return withWrapper( + (wrappedRequestHeaders) => + client.request( + GetAccountOwnedTokensFromCollection, + variables, + { ...requestHeaders, ...wrappedRequestHeaders }, + ), + "getAccountOwnedTokensFromCollection", + "query", + ); }, - getAccountTokensCount(variables?: Types.GetAccountTokensCountQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetAccountTokensCount, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'getAccountTokensCount', 'query'); + getAccountTokensCount( + variables?: Types.GetAccountTokensCountQueryVariables, + requestHeaders?: Dom.RequestInit["headers"], + ): Promise { + return withWrapper( + (wrappedRequestHeaders) => + client.request(GetAccountTokensCount, variables, { + ...requestHeaders, + ...wrappedRequestHeaders, + }), + "getAccountTokensCount", + "query", + ); }, - getAccountTransactionsCount(variables?: Types.GetAccountTransactionsCountQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetAccountTransactionsCount, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'getAccountTransactionsCount', 'query'); + getAccountTransactionsCount( + variables?: Types.GetAccountTransactionsCountQueryVariables, + requestHeaders?: Dom.RequestInit["headers"], + ): Promise { + return withWrapper( + (wrappedRequestHeaders) => + client.request(GetAccountTransactionsCount, variables, { + ...requestHeaders, + ...wrappedRequestHeaders, + }), + "getAccountTransactionsCount", + "query", + ); + }, + getCollectionData( + variables: Types.GetCollectionDataQueryVariables, + requestHeaders?: Dom.RequestInit["headers"], + ): Promise { + return withWrapper( + (wrappedRequestHeaders) => + client.request(GetCollectionData, variables, { + ...requestHeaders, + ...wrappedRequestHeaders, + }), + "getCollectionData", + "query", + ); + }, + getDelegatedStakingActivities( + variables?: Types.GetDelegatedStakingActivitiesQueryVariables, + requestHeaders?: Dom.RequestInit["headers"], + ): Promise { + return withWrapper( + (wrappedRequestHeaders) => + client.request(GetDelegatedStakingActivities, variables, { + ...requestHeaders, + ...wrappedRequestHeaders, + }), + "getDelegatedStakingActivities", + "query", + ); + }, + getNumberOfDelegators( + variables: Types.GetNumberOfDelegatorsQueryVariables, + requestHeaders?: Dom.RequestInit["headers"], + ): Promise { + return withWrapper( + (wrappedRequestHeaders) => + client.request(GetNumberOfDelegators, variables, { + ...requestHeaders, + ...wrappedRequestHeaders, + }), + "getNumberOfDelegators", + "query", + ); }, - getCollectionData(variables: Types.GetCollectionDataQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetCollectionData, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'getCollectionData', 'query'); - } }; } -export type Sdk = ReturnType; \ No newline at end of file +export type Sdk = ReturnType; diff --git a/src/types/generated/types.ts b/src/types/generated/types.ts index 647ec3db5..5c5afbdd5 100644 --- a/src/types/generated/types.ts +++ b/src/types/generated/types.ts @@ -19,66 +19,66 @@ export type Scalars = { /** Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. */ export type BooleanComparisonExp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; }; /** Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'. */ export type IntComparisonExp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; }; /** Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. */ export type StringComparisonExp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; /** does the column match the given case-insensitive pattern */ - _ilike?: InputMaybe; - _in?: InputMaybe>; + _ilike?: InputMaybe; + _in?: InputMaybe>; /** does the column match the given POSIX regular expression, case insensitive */ - _iregex?: InputMaybe; - _is_null?: InputMaybe; + _iregex?: InputMaybe; + _is_null?: InputMaybe; /** does the column match the given pattern */ - _like?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; + _like?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; /** does the column NOT match the given case-insensitive pattern */ - _nilike?: InputMaybe; - _nin?: InputMaybe>; + _nilike?: InputMaybe; + _nin?: InputMaybe>; /** does the column NOT match the given POSIX regular expression, case insensitive */ - _niregex?: InputMaybe; + _niregex?: InputMaybe; /** does the column NOT match the given pattern */ - _nlike?: InputMaybe; + _nlike?: InputMaybe; /** does the column NOT match the given POSIX regular expression, case sensitive */ - _nregex?: InputMaybe; + _nregex?: InputMaybe; /** does the column NOT match the given SQL regular expression */ - _nsimilar?: InputMaybe; + _nsimilar?: InputMaybe; /** does the column match the given POSIX regular expression, case sensitive */ - _regex?: InputMaybe; + _regex?: InputMaybe; /** does the column match the given SQL regular expression */ - _similar?: InputMaybe; + _similar?: InputMaybe; }; /** columns and relationships of "account_transactions" */ export type AccountTransactions = { - account_address: Scalars['String']; + account_address: Scalars["String"]; /** An array relationship */ coin_activities: Array; /** An aggregate relationship */ @@ -95,85 +95,77 @@ export type AccountTransactions = { token_activities_v2: Array; /** An aggregate relationship */ token_activities_v2_aggregate: TokenActivitiesV2Aggregate; - transaction_version: Scalars['bigint']; + transaction_version: Scalars["bigint"]; }; - /** columns and relationships of "account_transactions" */ export type AccountTransactionsCoinActivitiesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - /** columns and relationships of "account_transactions" */ export type AccountTransactionsCoinActivitiesAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - /** columns and relationships of "account_transactions" */ export type AccountTransactionsDelegatedStakingActivitiesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - /** columns and relationships of "account_transactions" */ export type AccountTransactionsFungibleAssetActivitiesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - /** columns and relationships of "account_transactions" */ export type AccountTransactionsTokenActivitiesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - /** columns and relationships of "account_transactions" */ export type AccountTransactionsTokenActivitiesAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - /** columns and relationships of "account_transactions" */ export type AccountTransactionsTokenActivitiesV2Args = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - /** columns and relationships of "account_transactions" */ export type AccountTransactionsTokenActivitiesV2AggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; @@ -187,7 +179,7 @@ export type AccountTransactionsAggregate = { /** aggregate fields of "account_transactions" */ export type AccountTransactionsAggregateFields = { avg?: Maybe; - count: Scalars['Int']; + count: Scalars["Int"]; max?: Maybe; min?: Maybe; stddev?: Maybe; @@ -199,16 +191,15 @@ export type AccountTransactionsAggregateFields = { variance?: Maybe; }; - /** aggregate fields of "account_transactions" */ export type AccountTransactionsAggregateFieldsCountArgs = { columns?: InputMaybe>; - distinct?: InputMaybe; + distinct?: InputMaybe; }; /** aggregate avg on columns */ export type AccountTransactionsAvgFields = { - transaction_version?: Maybe; + transaction_version?: Maybe; }; /** Boolean expression to filter rows from the table "account_transactions". All fields are combined with a logical 'AND'. */ @@ -227,14 +218,14 @@ export type AccountTransactionsBoolExp = { /** aggregate max on columns */ export type AccountTransactionsMaxFields = { - account_address?: Maybe; - transaction_version?: Maybe; + account_address?: Maybe; + transaction_version?: Maybe; }; /** aggregate min on columns */ export type AccountTransactionsMinFields = { - account_address?: Maybe; - transaction_version?: Maybe; + account_address?: Maybe; + transaction_version?: Maybe; }; /** Ordering options when selecting data from "account_transactions". */ @@ -251,24 +242,24 @@ export type AccountTransactionsOrderBy = { /** select columns of table "account_transactions" */ export enum AccountTransactionsSelectColumn { /** column name */ - AccountAddress = 'account_address', + AccountAddress = "account_address", /** column name */ - TransactionVersion = 'transaction_version' + TransactionVersion = "transaction_version", } /** aggregate stddev on columns */ export type AccountTransactionsStddevFields = { - transaction_version?: Maybe; + transaction_version?: Maybe; }; /** aggregate stddev_pop on columns */ export type AccountTransactionsStddevPopFields = { - transaction_version?: Maybe; + transaction_version?: Maybe; }; /** aggregate stddev_samp on columns */ export type AccountTransactionsStddevSampFields = { - transaction_version?: Maybe; + transaction_version?: Maybe; }; /** Streaming cursor of the table "account_transactions" */ @@ -281,37 +272,37 @@ export type AccountTransactionsStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type AccountTransactionsStreamCursorValueInput = { - account_address?: InputMaybe; - transaction_version?: InputMaybe; + account_address?: InputMaybe; + transaction_version?: InputMaybe; }; /** aggregate sum on columns */ export type AccountTransactionsSumFields = { - transaction_version?: Maybe; + transaction_version?: Maybe; }; /** aggregate var_pop on columns */ export type AccountTransactionsVarPopFields = { - transaction_version?: Maybe; + transaction_version?: Maybe; }; /** aggregate var_samp on columns */ export type AccountTransactionsVarSampFields = { - transaction_version?: Maybe; + transaction_version?: Maybe; }; /** aggregate variance on columns */ export type AccountTransactionsVarianceFields = { - transaction_version?: Maybe; + transaction_version?: Maybe; }; /** columns and relationships of "address_events_summary" */ export type AddressEventsSummary = { - account_address?: Maybe; + account_address?: Maybe; /** An object relationship */ block_metadata?: Maybe; - min_block_height?: Maybe; - num_distinct_versions?: Maybe; + min_block_height?: Maybe; + num_distinct_versions?: Maybe; }; /** Boolean expression to filter rows from the table "address_events_summary". All fields are combined with a logical 'AND'. */ @@ -336,11 +327,11 @@ export type AddressEventsSummaryOrderBy = { /** select columns of table "address_events_summary" */ export enum AddressEventsSummarySelectColumn { /** column name */ - AccountAddress = 'account_address', + AccountAddress = "account_address", /** column name */ - MinBlockHeight = 'min_block_height', + MinBlockHeight = "min_block_height", /** column name */ - NumDistinctVersions = 'num_distinct_versions' + NumDistinctVersions = "num_distinct_versions", } /** Streaming cursor of the table "address_events_summary" */ @@ -353,14 +344,14 @@ export type AddressEventsSummaryStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type AddressEventsSummaryStreamCursorValueInput = { - account_address?: InputMaybe; - min_block_height?: InputMaybe; - num_distinct_versions?: InputMaybe; + account_address?: InputMaybe; + min_block_height?: InputMaybe; + num_distinct_versions?: InputMaybe; }; /** columns and relationships of "address_version_from_events" */ export type AddressVersionFromEvents = { - account_address?: Maybe; + account_address?: Maybe; /** An array relationship */ coin_activities: Array; /** An aggregate relationship */ @@ -375,75 +366,68 @@ export type AddressVersionFromEvents = { token_activities_v2: Array; /** An aggregate relationship */ token_activities_v2_aggregate: TokenActivitiesV2Aggregate; - transaction_version?: Maybe; + transaction_version?: Maybe; }; - /** columns and relationships of "address_version_from_events" */ export type AddressVersionFromEventsCoinActivitiesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - /** columns and relationships of "address_version_from_events" */ export type AddressVersionFromEventsCoinActivitiesAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - /** columns and relationships of "address_version_from_events" */ export type AddressVersionFromEventsDelegatedStakingActivitiesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - /** columns and relationships of "address_version_from_events" */ export type AddressVersionFromEventsTokenActivitiesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - /** columns and relationships of "address_version_from_events" */ export type AddressVersionFromEventsTokenActivitiesAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - /** columns and relationships of "address_version_from_events" */ export type AddressVersionFromEventsTokenActivitiesV2Args = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - /** columns and relationships of "address_version_from_events" */ export type AddressVersionFromEventsTokenActivitiesV2AggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; @@ -457,7 +441,7 @@ export type AddressVersionFromEventsAggregate = { /** aggregate fields of "address_version_from_events" */ export type AddressVersionFromEventsAggregateFields = { avg?: Maybe; - count: Scalars['Int']; + count: Scalars["Int"]; max?: Maybe; min?: Maybe; stddev?: Maybe; @@ -469,16 +453,15 @@ export type AddressVersionFromEventsAggregateFields = { variance?: Maybe; }; - /** aggregate fields of "address_version_from_events" */ export type AddressVersionFromEventsAggregateFieldsCountArgs = { columns?: InputMaybe>; - distinct?: InputMaybe; + distinct?: InputMaybe; }; /** aggregate avg on columns */ export type AddressVersionFromEventsAvgFields = { - transaction_version?: Maybe; + transaction_version?: Maybe; }; /** Boolean expression to filter rows from the table "address_version_from_events". All fields are combined with a logical 'AND'. */ @@ -496,14 +479,14 @@ export type AddressVersionFromEventsBoolExp = { /** aggregate max on columns */ export type AddressVersionFromEventsMaxFields = { - account_address?: Maybe; - transaction_version?: Maybe; + account_address?: Maybe; + transaction_version?: Maybe; }; /** aggregate min on columns */ export type AddressVersionFromEventsMinFields = { - account_address?: Maybe; - transaction_version?: Maybe; + account_address?: Maybe; + transaction_version?: Maybe; }; /** Ordering options when selecting data from "address_version_from_events". */ @@ -519,24 +502,24 @@ export type AddressVersionFromEventsOrderBy = { /** select columns of table "address_version_from_events" */ export enum AddressVersionFromEventsSelectColumn { /** column name */ - AccountAddress = 'account_address', + AccountAddress = "account_address", /** column name */ - TransactionVersion = 'transaction_version' + TransactionVersion = "transaction_version", } /** aggregate stddev on columns */ export type AddressVersionFromEventsStddevFields = { - transaction_version?: Maybe; + transaction_version?: Maybe; }; /** aggregate stddev_pop on columns */ export type AddressVersionFromEventsStddevPopFields = { - transaction_version?: Maybe; + transaction_version?: Maybe; }; /** aggregate stddev_samp on columns */ export type AddressVersionFromEventsStddevSampFields = { - transaction_version?: Maybe; + transaction_version?: Maybe; }; /** Streaming cursor of the table "address_version_from_events" */ @@ -549,33 +532,33 @@ export type AddressVersionFromEventsStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type AddressVersionFromEventsStreamCursorValueInput = { - account_address?: InputMaybe; - transaction_version?: InputMaybe; + account_address?: InputMaybe; + transaction_version?: InputMaybe; }; /** aggregate sum on columns */ export type AddressVersionFromEventsSumFields = { - transaction_version?: Maybe; + transaction_version?: Maybe; }; /** aggregate var_pop on columns */ export type AddressVersionFromEventsVarPopFields = { - transaction_version?: Maybe; + transaction_version?: Maybe; }; /** aggregate var_samp on columns */ export type AddressVersionFromEventsVarSampFields = { - transaction_version?: Maybe; + transaction_version?: Maybe; }; /** aggregate variance on columns */ export type AddressVersionFromEventsVarianceFields = { - transaction_version?: Maybe; + transaction_version?: Maybe; }; /** columns and relationships of "address_version_from_move_resources" */ export type AddressVersionFromMoveResources = { - address?: Maybe; + address?: Maybe; /** An array relationship */ coin_activities: Array; /** An aggregate relationship */ @@ -590,75 +573,68 @@ export type AddressVersionFromMoveResources = { token_activities_v2: Array; /** An aggregate relationship */ token_activities_v2_aggregate: TokenActivitiesV2Aggregate; - transaction_version?: Maybe; + transaction_version?: Maybe; }; - /** columns and relationships of "address_version_from_move_resources" */ export type AddressVersionFromMoveResourcesCoinActivitiesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - /** columns and relationships of "address_version_from_move_resources" */ export type AddressVersionFromMoveResourcesCoinActivitiesAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - /** columns and relationships of "address_version_from_move_resources" */ export type AddressVersionFromMoveResourcesDelegatedStakingActivitiesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - /** columns and relationships of "address_version_from_move_resources" */ export type AddressVersionFromMoveResourcesTokenActivitiesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - /** columns and relationships of "address_version_from_move_resources" */ export type AddressVersionFromMoveResourcesTokenActivitiesAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - /** columns and relationships of "address_version_from_move_resources" */ export type AddressVersionFromMoveResourcesTokenActivitiesV2Args = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - /** columns and relationships of "address_version_from_move_resources" */ export type AddressVersionFromMoveResourcesTokenActivitiesV2AggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; @@ -672,7 +648,7 @@ export type AddressVersionFromMoveResourcesAggregate = { /** aggregate fields of "address_version_from_move_resources" */ export type AddressVersionFromMoveResourcesAggregateFields = { avg?: Maybe; - count: Scalars['Int']; + count: Scalars["Int"]; max?: Maybe; min?: Maybe; stddev?: Maybe; @@ -684,16 +660,15 @@ export type AddressVersionFromMoveResourcesAggregateFields = { variance?: Maybe; }; - /** aggregate fields of "address_version_from_move_resources" */ export type AddressVersionFromMoveResourcesAggregateFieldsCountArgs = { columns?: InputMaybe>; - distinct?: InputMaybe; + distinct?: InputMaybe; }; /** aggregate avg on columns */ export type AddressVersionFromMoveResourcesAvgFields = { - transaction_version?: Maybe; + transaction_version?: Maybe; }; /** Boolean expression to filter rows from the table "address_version_from_move_resources". All fields are combined with a logical 'AND'. */ @@ -711,14 +686,14 @@ export type AddressVersionFromMoveResourcesBoolExp = { /** aggregate max on columns */ export type AddressVersionFromMoveResourcesMaxFields = { - address?: Maybe; - transaction_version?: Maybe; + address?: Maybe; + transaction_version?: Maybe; }; /** aggregate min on columns */ export type AddressVersionFromMoveResourcesMinFields = { - address?: Maybe; - transaction_version?: Maybe; + address?: Maybe; + transaction_version?: Maybe; }; /** Ordering options when selecting data from "address_version_from_move_resources". */ @@ -734,24 +709,24 @@ export type AddressVersionFromMoveResourcesOrderBy = { /** select columns of table "address_version_from_move_resources" */ export enum AddressVersionFromMoveResourcesSelectColumn { /** column name */ - Address = 'address', + Address = "address", /** column name */ - TransactionVersion = 'transaction_version' + TransactionVersion = "transaction_version", } /** aggregate stddev on columns */ export type AddressVersionFromMoveResourcesStddevFields = { - transaction_version?: Maybe; + transaction_version?: Maybe; }; /** aggregate stddev_pop on columns */ export type AddressVersionFromMoveResourcesStddevPopFields = { - transaction_version?: Maybe; + transaction_version?: Maybe; }; /** aggregate stddev_samp on columns */ export type AddressVersionFromMoveResourcesStddevSampFields = { - transaction_version?: Maybe; + transaction_version?: Maybe; }; /** Streaming cursor of the table "address_version_from_move_resources" */ @@ -764,66 +739,64 @@ export type AddressVersionFromMoveResourcesStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type AddressVersionFromMoveResourcesStreamCursorValueInput = { - address?: InputMaybe; - transaction_version?: InputMaybe; + address?: InputMaybe; + transaction_version?: InputMaybe; }; /** aggregate sum on columns */ export type AddressVersionFromMoveResourcesSumFields = { - transaction_version?: Maybe; + transaction_version?: Maybe; }; /** aggregate var_pop on columns */ export type AddressVersionFromMoveResourcesVarPopFields = { - transaction_version?: Maybe; + transaction_version?: Maybe; }; /** aggregate var_samp on columns */ export type AddressVersionFromMoveResourcesVarSampFields = { - transaction_version?: Maybe; + transaction_version?: Maybe; }; /** aggregate variance on columns */ export type AddressVersionFromMoveResourcesVarianceFields = { - transaction_version?: Maybe; + transaction_version?: Maybe; }; /** Boolean expression to compare columns of type "bigint". All fields are combined with logical 'AND'. */ export type BigintComparisonExp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; }; /** columns and relationships of "block_metadata_transactions" */ export type BlockMetadataTransactions = { - block_height: Scalars['bigint']; - epoch: Scalars['bigint']; - failed_proposer_indices: Scalars['jsonb']; - id: Scalars['String']; - previous_block_votes_bitvec: Scalars['jsonb']; - proposer: Scalars['String']; - round: Scalars['bigint']; - timestamp: Scalars['timestamp']; - version: Scalars['bigint']; + block_height: Scalars["bigint"]; + epoch: Scalars["bigint"]; + failed_proposer_indices: Scalars["jsonb"]; + id: Scalars["String"]; + previous_block_votes_bitvec: Scalars["jsonb"]; + proposer: Scalars["String"]; + round: Scalars["bigint"]; + timestamp: Scalars["timestamp"]; + version: Scalars["bigint"]; }; - /** columns and relationships of "block_metadata_transactions" */ export type BlockMetadataTransactionsFailedProposerIndicesArgs = { - path?: InputMaybe; + path?: InputMaybe; }; - /** columns and relationships of "block_metadata_transactions" */ export type BlockMetadataTransactionsPreviousBlockVotesBitvecArgs = { - path?: InputMaybe; + path?: InputMaybe; }; /** Boolean expression to filter rows from the table "block_metadata_transactions". All fields are combined with a logical 'AND'. */ @@ -858,23 +831,23 @@ export type BlockMetadataTransactionsOrderBy = { /** select columns of table "block_metadata_transactions" */ export enum BlockMetadataTransactionsSelectColumn { /** column name */ - BlockHeight = 'block_height', + BlockHeight = "block_height", /** column name */ - Epoch = 'epoch', + Epoch = "epoch", /** column name */ - FailedProposerIndices = 'failed_proposer_indices', + FailedProposerIndices = "failed_proposer_indices", /** column name */ - Id = 'id', + Id = "id", /** column name */ - PreviousBlockVotesBitvec = 'previous_block_votes_bitvec', + PreviousBlockVotesBitvec = "previous_block_votes_bitvec", /** column name */ - Proposer = 'proposer', + Proposer = "proposer", /** column name */ - Round = 'round', + Round = "round", /** column name */ - Timestamp = 'timestamp', + Timestamp = "timestamp", /** column name */ - Version = 'version' + Version = "version", } /** Streaming cursor of the table "block_metadata_transactions" */ @@ -887,58 +860,56 @@ export type BlockMetadataTransactionsStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type BlockMetadataTransactionsStreamCursorValueInput = { - block_height?: InputMaybe; - epoch?: InputMaybe; - failed_proposer_indices?: InputMaybe; - id?: InputMaybe; - previous_block_votes_bitvec?: InputMaybe; - proposer?: InputMaybe; - round?: InputMaybe; - timestamp?: InputMaybe; - version?: InputMaybe; + block_height?: InputMaybe; + epoch?: InputMaybe; + failed_proposer_indices?: InputMaybe; + id?: InputMaybe; + previous_block_votes_bitvec?: InputMaybe; + proposer?: InputMaybe; + round?: InputMaybe; + timestamp?: InputMaybe; + version?: InputMaybe; }; /** columns and relationships of "coin_activities" */ export type CoinActivities = { - activity_type: Scalars['String']; - amount: Scalars['numeric']; + activity_type: Scalars["String"]; + amount: Scalars["numeric"]; /** An array relationship */ aptos_names: Array; /** An aggregate relationship */ aptos_names_aggregate: CurrentAptosNamesAggregate; - block_height: Scalars['bigint']; + block_height: Scalars["bigint"]; /** An object relationship */ coin_info?: Maybe; - coin_type: Scalars['String']; - entry_function_id_str?: Maybe; - event_account_address: Scalars['String']; - event_creation_number: Scalars['bigint']; - event_index?: Maybe; - event_sequence_number: Scalars['bigint']; - is_gas_fee: Scalars['Boolean']; - is_transaction_success: Scalars['Boolean']; - owner_address: Scalars['String']; - storage_refund_amount: Scalars['numeric']; - transaction_timestamp: Scalars['timestamp']; - transaction_version: Scalars['bigint']; + coin_type: Scalars["String"]; + entry_function_id_str?: Maybe; + event_account_address: Scalars["String"]; + event_creation_number: Scalars["bigint"]; + event_index?: Maybe; + event_sequence_number: Scalars["bigint"]; + is_gas_fee: Scalars["Boolean"]; + is_transaction_success: Scalars["Boolean"]; + owner_address: Scalars["String"]; + storage_refund_amount: Scalars["numeric"]; + transaction_timestamp: Scalars["timestamp"]; + transaction_version: Scalars["bigint"]; }; - /** columns and relationships of "coin_activities" */ export type CoinActivitiesAptosNamesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - /** columns and relationships of "coin_activities" */ export type CoinActivitiesAptosNamesAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; @@ -952,7 +923,7 @@ export type CoinActivitiesAggregate = { /** aggregate fields of "coin_activities" */ export type CoinActivitiesAggregateFields = { avg?: Maybe; - count: Scalars['Int']; + count: Scalars["Int"]; max?: Maybe; min?: Maybe; stddev?: Maybe; @@ -964,11 +935,10 @@ export type CoinActivitiesAggregateFields = { variance?: Maybe; }; - /** aggregate fields of "coin_activities" */ export type CoinActivitiesAggregateFieldsCountArgs = { columns?: InputMaybe>; - distinct?: InputMaybe; + distinct?: InputMaybe; }; /** order by aggregate values of table "coin_activities" */ @@ -988,13 +958,13 @@ export type CoinActivitiesAggregateOrderBy = { /** aggregate avg on columns */ export type CoinActivitiesAvgFields = { - amount?: Maybe; - block_height?: Maybe; - event_creation_number?: Maybe; - event_index?: Maybe; - event_sequence_number?: Maybe; - storage_refund_amount?: Maybe; - transaction_version?: Maybe; + amount?: Maybe; + block_height?: Maybe; + event_creation_number?: Maybe; + event_index?: Maybe; + event_sequence_number?: Maybe; + storage_refund_amount?: Maybe; + transaction_version?: Maybe; }; /** order by avg() on columns of table "coin_activities" */ @@ -1034,19 +1004,19 @@ export type CoinActivitiesBoolExp = { /** aggregate max on columns */ export type CoinActivitiesMaxFields = { - activity_type?: Maybe; - amount?: Maybe; - block_height?: Maybe; - coin_type?: Maybe; - entry_function_id_str?: Maybe; - event_account_address?: Maybe; - event_creation_number?: Maybe; - event_index?: Maybe; - event_sequence_number?: Maybe; - owner_address?: Maybe; - storage_refund_amount?: Maybe; - transaction_timestamp?: Maybe; - transaction_version?: Maybe; + activity_type?: Maybe; + amount?: Maybe; + block_height?: Maybe; + coin_type?: Maybe; + entry_function_id_str?: Maybe; + event_account_address?: Maybe; + event_creation_number?: Maybe; + event_index?: Maybe; + event_sequence_number?: Maybe; + owner_address?: Maybe; + storage_refund_amount?: Maybe; + transaction_timestamp?: Maybe; + transaction_version?: Maybe; }; /** order by max() on columns of table "coin_activities" */ @@ -1068,19 +1038,19 @@ export type CoinActivitiesMaxOrderBy = { /** aggregate min on columns */ export type CoinActivitiesMinFields = { - activity_type?: Maybe; - amount?: Maybe; - block_height?: Maybe; - coin_type?: Maybe; - entry_function_id_str?: Maybe; - event_account_address?: Maybe; - event_creation_number?: Maybe; - event_index?: Maybe; - event_sequence_number?: Maybe; - owner_address?: Maybe; - storage_refund_amount?: Maybe; - transaction_timestamp?: Maybe; - transaction_version?: Maybe; + activity_type?: Maybe; + amount?: Maybe; + block_height?: Maybe; + coin_type?: Maybe; + entry_function_id_str?: Maybe; + event_account_address?: Maybe; + event_creation_number?: Maybe; + event_index?: Maybe; + event_sequence_number?: Maybe; + owner_address?: Maybe; + storage_refund_amount?: Maybe; + transaction_timestamp?: Maybe; + transaction_version?: Maybe; }; /** order by min() on columns of table "coin_activities" */ @@ -1124,46 +1094,46 @@ export type CoinActivitiesOrderBy = { /** select columns of table "coin_activities" */ export enum CoinActivitiesSelectColumn { /** column name */ - ActivityType = 'activity_type', + ActivityType = "activity_type", /** column name */ - Amount = 'amount', + Amount = "amount", /** column name */ - BlockHeight = 'block_height', + BlockHeight = "block_height", /** column name */ - CoinType = 'coin_type', + CoinType = "coin_type", /** column name */ - EntryFunctionIdStr = 'entry_function_id_str', + EntryFunctionIdStr = "entry_function_id_str", /** column name */ - EventAccountAddress = 'event_account_address', + EventAccountAddress = "event_account_address", /** column name */ - EventCreationNumber = 'event_creation_number', + EventCreationNumber = "event_creation_number", /** column name */ - EventIndex = 'event_index', + EventIndex = "event_index", /** column name */ - EventSequenceNumber = 'event_sequence_number', + EventSequenceNumber = "event_sequence_number", /** column name */ - IsGasFee = 'is_gas_fee', + IsGasFee = "is_gas_fee", /** column name */ - IsTransactionSuccess = 'is_transaction_success', + IsTransactionSuccess = "is_transaction_success", /** column name */ - OwnerAddress = 'owner_address', + OwnerAddress = "owner_address", /** column name */ - StorageRefundAmount = 'storage_refund_amount', + StorageRefundAmount = "storage_refund_amount", /** column name */ - TransactionTimestamp = 'transaction_timestamp', + TransactionTimestamp = "transaction_timestamp", /** column name */ - TransactionVersion = 'transaction_version' + TransactionVersion = "transaction_version", } /** aggregate stddev on columns */ export type CoinActivitiesStddevFields = { - amount?: Maybe; - block_height?: Maybe; - event_creation_number?: Maybe; - event_index?: Maybe; - event_sequence_number?: Maybe; - storage_refund_amount?: Maybe; - transaction_version?: Maybe; + amount?: Maybe; + block_height?: Maybe; + event_creation_number?: Maybe; + event_index?: Maybe; + event_sequence_number?: Maybe; + storage_refund_amount?: Maybe; + transaction_version?: Maybe; }; /** order by stddev() on columns of table "coin_activities" */ @@ -1179,13 +1149,13 @@ export type CoinActivitiesStddevOrderBy = { /** aggregate stddev_pop on columns */ export type CoinActivitiesStddevPopFields = { - amount?: Maybe; - block_height?: Maybe; - event_creation_number?: Maybe; - event_index?: Maybe; - event_sequence_number?: Maybe; - storage_refund_amount?: Maybe; - transaction_version?: Maybe; + amount?: Maybe; + block_height?: Maybe; + event_creation_number?: Maybe; + event_index?: Maybe; + event_sequence_number?: Maybe; + storage_refund_amount?: Maybe; + transaction_version?: Maybe; }; /** order by stddev_pop() on columns of table "coin_activities" */ @@ -1201,13 +1171,13 @@ export type CoinActivitiesStddevPopOrderBy = { /** aggregate stddev_samp on columns */ export type CoinActivitiesStddevSampFields = { - amount?: Maybe; - block_height?: Maybe; - event_creation_number?: Maybe; - event_index?: Maybe; - event_sequence_number?: Maybe; - storage_refund_amount?: Maybe; - transaction_version?: Maybe; + amount?: Maybe; + block_height?: Maybe; + event_creation_number?: Maybe; + event_index?: Maybe; + event_sequence_number?: Maybe; + storage_refund_amount?: Maybe; + transaction_version?: Maybe; }; /** order by stddev_samp() on columns of table "coin_activities" */ @@ -1231,32 +1201,32 @@ export type CoinActivitiesStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type CoinActivitiesStreamCursorValueInput = { - activity_type?: InputMaybe; - amount?: InputMaybe; - block_height?: InputMaybe; - coin_type?: InputMaybe; - entry_function_id_str?: InputMaybe; - event_account_address?: InputMaybe; - event_creation_number?: InputMaybe; - event_index?: InputMaybe; - event_sequence_number?: InputMaybe; - is_gas_fee?: InputMaybe; - is_transaction_success?: InputMaybe; - owner_address?: InputMaybe; - storage_refund_amount?: InputMaybe; - transaction_timestamp?: InputMaybe; - transaction_version?: InputMaybe; + activity_type?: InputMaybe; + amount?: InputMaybe; + block_height?: InputMaybe; + coin_type?: InputMaybe; + entry_function_id_str?: InputMaybe; + event_account_address?: InputMaybe; + event_creation_number?: InputMaybe; + event_index?: InputMaybe; + event_sequence_number?: InputMaybe; + is_gas_fee?: InputMaybe; + is_transaction_success?: InputMaybe; + owner_address?: InputMaybe; + storage_refund_amount?: InputMaybe; + transaction_timestamp?: InputMaybe; + transaction_version?: InputMaybe; }; /** aggregate sum on columns */ export type CoinActivitiesSumFields = { - amount?: Maybe; - block_height?: Maybe; - event_creation_number?: Maybe; - event_index?: Maybe; - event_sequence_number?: Maybe; - storage_refund_amount?: Maybe; - transaction_version?: Maybe; + amount?: Maybe; + block_height?: Maybe; + event_creation_number?: Maybe; + event_index?: Maybe; + event_sequence_number?: Maybe; + storage_refund_amount?: Maybe; + transaction_version?: Maybe; }; /** order by sum() on columns of table "coin_activities" */ @@ -1272,13 +1242,13 @@ export type CoinActivitiesSumOrderBy = { /** aggregate var_pop on columns */ export type CoinActivitiesVarPopFields = { - amount?: Maybe; - block_height?: Maybe; - event_creation_number?: Maybe; - event_index?: Maybe; - event_sequence_number?: Maybe; - storage_refund_amount?: Maybe; - transaction_version?: Maybe; + amount?: Maybe; + block_height?: Maybe; + event_creation_number?: Maybe; + event_index?: Maybe; + event_sequence_number?: Maybe; + storage_refund_amount?: Maybe; + transaction_version?: Maybe; }; /** order by var_pop() on columns of table "coin_activities" */ @@ -1294,13 +1264,13 @@ export type CoinActivitiesVarPopOrderBy = { /** aggregate var_samp on columns */ export type CoinActivitiesVarSampFields = { - amount?: Maybe; - block_height?: Maybe; - event_creation_number?: Maybe; - event_index?: Maybe; - event_sequence_number?: Maybe; - storage_refund_amount?: Maybe; - transaction_version?: Maybe; + amount?: Maybe; + block_height?: Maybe; + event_creation_number?: Maybe; + event_index?: Maybe; + event_sequence_number?: Maybe; + storage_refund_amount?: Maybe; + transaction_version?: Maybe; }; /** order by var_samp() on columns of table "coin_activities" */ @@ -1316,13 +1286,13 @@ export type CoinActivitiesVarSampOrderBy = { /** aggregate variance on columns */ export type CoinActivitiesVarianceFields = { - amount?: Maybe; - block_height?: Maybe; - event_creation_number?: Maybe; - event_index?: Maybe; - event_sequence_number?: Maybe; - storage_refund_amount?: Maybe; - transaction_version?: Maybe; + amount?: Maybe; + block_height?: Maybe; + event_creation_number?: Maybe; + event_index?: Maybe; + event_sequence_number?: Maybe; + storage_refund_amount?: Maybe; + transaction_version?: Maybe; }; /** order by variance() on columns of table "coin_activities" */ @@ -1338,12 +1308,12 @@ export type CoinActivitiesVarianceOrderBy = { /** columns and relationships of "coin_balances" */ export type CoinBalances = { - amount: Scalars['numeric']; - coin_type: Scalars['String']; - coin_type_hash: Scalars['String']; - owner_address: Scalars['String']; - transaction_timestamp: Scalars['timestamp']; - transaction_version: Scalars['bigint']; + amount: Scalars["numeric"]; + coin_type: Scalars["String"]; + coin_type_hash: Scalars["String"]; + owner_address: Scalars["String"]; + transaction_timestamp: Scalars["timestamp"]; + transaction_version: Scalars["bigint"]; }; /** Boolean expression to filter rows from the table "coin_balances". All fields are combined with a logical 'AND'. */ @@ -1372,17 +1342,17 @@ export type CoinBalancesOrderBy = { /** select columns of table "coin_balances" */ export enum CoinBalancesSelectColumn { /** column name */ - Amount = 'amount', + Amount = "amount", /** column name */ - CoinType = 'coin_type', + CoinType = "coin_type", /** column name */ - CoinTypeHash = 'coin_type_hash', + CoinTypeHash = "coin_type_hash", /** column name */ - OwnerAddress = 'owner_address', + OwnerAddress = "owner_address", /** column name */ - TransactionTimestamp = 'transaction_timestamp', + TransactionTimestamp = "transaction_timestamp", /** column name */ - TransactionVersion = 'transaction_version' + TransactionVersion = "transaction_version", } /** Streaming cursor of the table "coin_balances" */ @@ -1395,26 +1365,26 @@ export type CoinBalancesStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type CoinBalancesStreamCursorValueInput = { - amount?: InputMaybe; - coin_type?: InputMaybe; - coin_type_hash?: InputMaybe; - owner_address?: InputMaybe; - transaction_timestamp?: InputMaybe; - transaction_version?: InputMaybe; + amount?: InputMaybe; + coin_type?: InputMaybe; + coin_type_hash?: InputMaybe; + owner_address?: InputMaybe; + transaction_timestamp?: InputMaybe; + transaction_version?: InputMaybe; }; /** columns and relationships of "coin_infos" */ export type CoinInfos = { - coin_type: Scalars['String']; - coin_type_hash: Scalars['String']; - creator_address: Scalars['String']; - decimals: Scalars['Int']; - name: Scalars['String']; - supply_aggregator_table_handle?: Maybe; - supply_aggregator_table_key?: Maybe; - symbol: Scalars['String']; - transaction_created_timestamp: Scalars['timestamp']; - transaction_version_created: Scalars['bigint']; + coin_type: Scalars["String"]; + coin_type_hash: Scalars["String"]; + creator_address: Scalars["String"]; + decimals: Scalars["Int"]; + name: Scalars["String"]; + supply_aggregator_table_handle?: Maybe; + supply_aggregator_table_key?: Maybe; + symbol: Scalars["String"]; + transaction_created_timestamp: Scalars["timestamp"]; + transaction_version_created: Scalars["bigint"]; }; /** Boolean expression to filter rows from the table "coin_infos". All fields are combined with a logical 'AND'. */ @@ -1451,25 +1421,25 @@ export type CoinInfosOrderBy = { /** select columns of table "coin_infos" */ export enum CoinInfosSelectColumn { /** column name */ - CoinType = 'coin_type', + CoinType = "coin_type", /** column name */ - CoinTypeHash = 'coin_type_hash', + CoinTypeHash = "coin_type_hash", /** column name */ - CreatorAddress = 'creator_address', + CreatorAddress = "creator_address", /** column name */ - Decimals = 'decimals', + Decimals = "decimals", /** column name */ - Name = 'name', + Name = "name", /** column name */ - SupplyAggregatorTableHandle = 'supply_aggregator_table_handle', + SupplyAggregatorTableHandle = "supply_aggregator_table_handle", /** column name */ - SupplyAggregatorTableKey = 'supply_aggregator_table_key', + SupplyAggregatorTableKey = "supply_aggregator_table_key", /** column name */ - Symbol = 'symbol', + Symbol = "symbol", /** column name */ - TransactionCreatedTimestamp = 'transaction_created_timestamp', + TransactionCreatedTimestamp = "transaction_created_timestamp", /** column name */ - TransactionVersionCreated = 'transaction_version_created' + TransactionVersionCreated = "transaction_version_created", } /** Streaming cursor of the table "coin_infos" */ @@ -1482,26 +1452,26 @@ export type CoinInfosStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type CoinInfosStreamCursorValueInput = { - coin_type?: InputMaybe; - coin_type_hash?: InputMaybe; - creator_address?: InputMaybe; - decimals?: InputMaybe; - name?: InputMaybe; - supply_aggregator_table_handle?: InputMaybe; - supply_aggregator_table_key?: InputMaybe; - symbol?: InputMaybe; - transaction_created_timestamp?: InputMaybe; - transaction_version_created?: InputMaybe; + coin_type?: InputMaybe; + coin_type_hash?: InputMaybe; + creator_address?: InputMaybe; + decimals?: InputMaybe; + name?: InputMaybe; + supply_aggregator_table_handle?: InputMaybe; + supply_aggregator_table_key?: InputMaybe; + symbol?: InputMaybe; + transaction_created_timestamp?: InputMaybe; + transaction_version_created?: InputMaybe; }; /** columns and relationships of "coin_supply" */ export type CoinSupply = { - coin_type: Scalars['String']; - coin_type_hash: Scalars['String']; - supply: Scalars['numeric']; - transaction_epoch: Scalars['bigint']; - transaction_timestamp: Scalars['timestamp']; - transaction_version: Scalars['bigint']; + coin_type: Scalars["String"]; + coin_type_hash: Scalars["String"]; + supply: Scalars["numeric"]; + transaction_epoch: Scalars["bigint"]; + transaction_timestamp: Scalars["timestamp"]; + transaction_version: Scalars["bigint"]; }; /** Boolean expression to filter rows from the table "coin_supply". All fields are combined with a logical 'AND'. */ @@ -1530,17 +1500,17 @@ export type CoinSupplyOrderBy = { /** select columns of table "coin_supply" */ export enum CoinSupplySelectColumn { /** column name */ - CoinType = 'coin_type', + CoinType = "coin_type", /** column name */ - CoinTypeHash = 'coin_type_hash', + CoinTypeHash = "coin_type_hash", /** column name */ - Supply = 'supply', + Supply = "supply", /** column name */ - TransactionEpoch = 'transaction_epoch', + TransactionEpoch = "transaction_epoch", /** column name */ - TransactionTimestamp = 'transaction_timestamp', + TransactionTimestamp = "transaction_timestamp", /** column name */ - TransactionVersion = 'transaction_version' + TransactionVersion = "transaction_version", } /** Streaming cursor of the table "coin_supply" */ @@ -1553,29 +1523,29 @@ export type CoinSupplyStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type CoinSupplyStreamCursorValueInput = { - coin_type?: InputMaybe; - coin_type_hash?: InputMaybe; - supply?: InputMaybe; - transaction_epoch?: InputMaybe; - transaction_timestamp?: InputMaybe; - transaction_version?: InputMaybe; + coin_type?: InputMaybe; + coin_type_hash?: InputMaybe; + supply?: InputMaybe; + transaction_epoch?: InputMaybe; + transaction_timestamp?: InputMaybe; + transaction_version?: InputMaybe; }; /** columns and relationships of "collection_datas" */ export type CollectionDatas = { - collection_data_id_hash: Scalars['String']; - collection_name: Scalars['String']; - creator_address: Scalars['String']; - description: Scalars['String']; - description_mutable: Scalars['Boolean']; - maximum: Scalars['numeric']; - maximum_mutable: Scalars['Boolean']; - metadata_uri: Scalars['String']; - supply: Scalars['numeric']; - table_handle: Scalars['String']; - transaction_timestamp: Scalars['timestamp']; - transaction_version: Scalars['bigint']; - uri_mutable: Scalars['Boolean']; + collection_data_id_hash: Scalars["String"]; + collection_name: Scalars["String"]; + creator_address: Scalars["String"]; + description: Scalars["String"]; + description_mutable: Scalars["Boolean"]; + maximum: Scalars["numeric"]; + maximum_mutable: Scalars["Boolean"]; + metadata_uri: Scalars["String"]; + supply: Scalars["numeric"]; + table_handle: Scalars["String"]; + transaction_timestamp: Scalars["timestamp"]; + transaction_version: Scalars["bigint"]; + uri_mutable: Scalars["Boolean"]; }; /** Boolean expression to filter rows from the table "collection_datas". All fields are combined with a logical 'AND'. */ @@ -1618,31 +1588,31 @@ export type CollectionDatasOrderBy = { /** select columns of table "collection_datas" */ export enum CollectionDatasSelectColumn { /** column name */ - CollectionDataIdHash = 'collection_data_id_hash', + CollectionDataIdHash = "collection_data_id_hash", /** column name */ - CollectionName = 'collection_name', + CollectionName = "collection_name", /** column name */ - CreatorAddress = 'creator_address', + CreatorAddress = "creator_address", /** column name */ - Description = 'description', + Description = "description", /** column name */ - DescriptionMutable = 'description_mutable', + DescriptionMutable = "description_mutable", /** column name */ - Maximum = 'maximum', + Maximum = "maximum", /** column name */ - MaximumMutable = 'maximum_mutable', + MaximumMutable = "maximum_mutable", /** column name */ - MetadataUri = 'metadata_uri', + MetadataUri = "metadata_uri", /** column name */ - Supply = 'supply', + Supply = "supply", /** column name */ - TableHandle = 'table_handle', + TableHandle = "table_handle", /** column name */ - TransactionTimestamp = 'transaction_timestamp', + TransactionTimestamp = "transaction_timestamp", /** column name */ - TransactionVersion = 'transaction_version', + TransactionVersion = "transaction_version", /** column name */ - UriMutable = 'uri_mutable' + UriMutable = "uri_mutable", } /** Streaming cursor of the table "collection_datas" */ @@ -1655,19 +1625,19 @@ export type CollectionDatasStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type CollectionDatasStreamCursorValueInput = { - collection_data_id_hash?: InputMaybe; - collection_name?: InputMaybe; - creator_address?: InputMaybe; - description?: InputMaybe; - description_mutable?: InputMaybe; - maximum?: InputMaybe; - maximum_mutable?: InputMaybe; - metadata_uri?: InputMaybe; - supply?: InputMaybe; - table_handle?: InputMaybe; - transaction_timestamp?: InputMaybe; - transaction_version?: InputMaybe; - uri_mutable?: InputMaybe; + collection_data_id_hash?: InputMaybe; + collection_name?: InputMaybe; + creator_address?: InputMaybe; + description?: InputMaybe; + description_mutable?: InputMaybe; + maximum?: InputMaybe; + maximum_mutable?: InputMaybe; + metadata_uri?: InputMaybe; + supply?: InputMaybe; + table_handle?: InputMaybe; + transaction_timestamp?: InputMaybe; + transaction_version?: InputMaybe; + uri_mutable?: InputMaybe; }; /** columns and relationships of "current_ans_lookup" */ @@ -1676,31 +1646,29 @@ export type CurrentAnsLookup = { all_token_ownerships: Array; /** An aggregate relationship */ all_token_ownerships_aggregate: CurrentTokenOwnershipsAggregate; - domain: Scalars['String']; - expiration_timestamp: Scalars['timestamp']; - is_deleted: Scalars['Boolean']; - last_transaction_version: Scalars['bigint']; - registered_address?: Maybe; - subdomain: Scalars['String']; - token_name: Scalars['String']; + domain: Scalars["String"]; + expiration_timestamp: Scalars["timestamp"]; + is_deleted: Scalars["Boolean"]; + last_transaction_version: Scalars["bigint"]; + registered_address?: Maybe; + subdomain: Scalars["String"]; + token_name: Scalars["String"]; }; - /** columns and relationships of "current_ans_lookup" */ export type CurrentAnsLookupAllTokenOwnershipsArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - /** columns and relationships of "current_ans_lookup" */ export type CurrentAnsLookupAllTokenOwnershipsAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; @@ -1735,19 +1703,19 @@ export type CurrentAnsLookupOrderBy = { /** select columns of table "current_ans_lookup" */ export enum CurrentAnsLookupSelectColumn { /** column name */ - Domain = 'domain', + Domain = "domain", /** column name */ - ExpirationTimestamp = 'expiration_timestamp', + ExpirationTimestamp = "expiration_timestamp", /** column name */ - IsDeleted = 'is_deleted', + IsDeleted = "is_deleted", /** column name */ - LastTransactionVersion = 'last_transaction_version', + LastTransactionVersion = "last_transaction_version", /** column name */ - RegisteredAddress = 'registered_address', + RegisteredAddress = "registered_address", /** column name */ - Subdomain = 'subdomain', + Subdomain = "subdomain", /** column name */ - TokenName = 'token_name' + TokenName = "token_name", } /** Streaming cursor of the table "current_ans_lookup" */ @@ -1760,25 +1728,25 @@ export type CurrentAnsLookupStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type CurrentAnsLookupStreamCursorValueInput = { - domain?: InputMaybe; - expiration_timestamp?: InputMaybe; - is_deleted?: InputMaybe; - last_transaction_version?: InputMaybe; - registered_address?: InputMaybe; - subdomain?: InputMaybe; - token_name?: InputMaybe; + domain?: InputMaybe; + expiration_timestamp?: InputMaybe; + is_deleted?: InputMaybe; + last_transaction_version?: InputMaybe; + registered_address?: InputMaybe; + subdomain?: InputMaybe; + token_name?: InputMaybe; }; /** columns and relationships of "current_ans_lookup_v2" */ export type CurrentAnsLookupV2 = { - domain: Scalars['String']; - expiration_timestamp: Scalars['timestamp']; - is_deleted: Scalars['Boolean']; - last_transaction_version: Scalars['bigint']; - registered_address?: Maybe; - subdomain: Scalars['String']; - token_name?: Maybe; - token_standard: Scalars['String']; + domain: Scalars["String"]; + expiration_timestamp: Scalars["timestamp"]; + is_deleted: Scalars["Boolean"]; + last_transaction_version: Scalars["bigint"]; + registered_address?: Maybe; + subdomain: Scalars["String"]; + token_name?: Maybe; + token_standard: Scalars["String"]; }; /** Boolean expression to filter rows from the table "current_ans_lookup_v2". All fields are combined with a logical 'AND'. */ @@ -1811,21 +1779,21 @@ export type CurrentAnsLookupV2OrderBy = { /** select columns of table "current_ans_lookup_v2" */ export enum CurrentAnsLookupV2SelectColumn { /** column name */ - Domain = 'domain', + Domain = "domain", /** column name */ - ExpirationTimestamp = 'expiration_timestamp', + ExpirationTimestamp = "expiration_timestamp", /** column name */ - IsDeleted = 'is_deleted', + IsDeleted = "is_deleted", /** column name */ - LastTransactionVersion = 'last_transaction_version', + LastTransactionVersion = "last_transaction_version", /** column name */ - RegisteredAddress = 'registered_address', + RegisteredAddress = "registered_address", /** column name */ - Subdomain = 'subdomain', + Subdomain = "subdomain", /** column name */ - TokenName = 'token_name', + TokenName = "token_name", /** column name */ - TokenStandard = 'token_standard' + TokenStandard = "token_standard", } /** Streaming cursor of the table "current_ans_lookup_v2" */ @@ -1838,31 +1806,31 @@ export type CurrentAnsLookupV2StreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type CurrentAnsLookupV2StreamCursorValueInput = { - domain?: InputMaybe; - expiration_timestamp?: InputMaybe; - is_deleted?: InputMaybe; - last_transaction_version?: InputMaybe; - registered_address?: InputMaybe; - subdomain?: InputMaybe; - token_name?: InputMaybe; - token_standard?: InputMaybe; + domain?: InputMaybe; + expiration_timestamp?: InputMaybe; + is_deleted?: InputMaybe; + last_transaction_version?: InputMaybe; + registered_address?: InputMaybe; + subdomain?: InputMaybe; + token_name?: InputMaybe; + token_standard?: InputMaybe; }; /** columns and relationships of "current_aptos_names" */ export type CurrentAptosNames = { - domain?: Maybe; - domain_with_suffix?: Maybe; - expiration_timestamp?: Maybe; - is_active?: Maybe; + domain?: Maybe; + domain_with_suffix?: Maybe; + expiration_timestamp?: Maybe; + is_active?: Maybe; /** An object relationship */ is_domain_owner?: Maybe; - is_primary?: Maybe; - last_transaction_version?: Maybe; - owner_address?: Maybe; - registered_address?: Maybe; - subdomain?: Maybe; - token_name?: Maybe; - token_standard?: Maybe; + is_primary?: Maybe; + last_transaction_version?: Maybe; + owner_address?: Maybe; + registered_address?: Maybe; + subdomain?: Maybe; + token_name?: Maybe; + token_standard?: Maybe; }; /** aggregated selection of "current_aptos_names" */ @@ -1874,7 +1842,7 @@ export type CurrentAptosNamesAggregate = { /** aggregate fields of "current_aptos_names" */ export type CurrentAptosNamesAggregateFields = { avg?: Maybe; - count: Scalars['Int']; + count: Scalars["Int"]; max?: Maybe; min?: Maybe; stddev?: Maybe; @@ -1886,11 +1854,10 @@ export type CurrentAptosNamesAggregateFields = { variance?: Maybe; }; - /** aggregate fields of "current_aptos_names" */ export type CurrentAptosNamesAggregateFieldsCountArgs = { columns?: InputMaybe>; - distinct?: InputMaybe; + distinct?: InputMaybe; }; /** order by aggregate values of table "current_aptos_names" */ @@ -1910,7 +1877,7 @@ export type CurrentAptosNamesAggregateOrderBy = { /** aggregate avg on columns */ export type CurrentAptosNamesAvgFields = { - last_transaction_version?: Maybe; + last_transaction_version?: Maybe; }; /** order by avg() on columns of table "current_aptos_names" */ @@ -1939,15 +1906,15 @@ export type CurrentAptosNamesBoolExp = { /** aggregate max on columns */ export type CurrentAptosNamesMaxFields = { - domain?: Maybe; - domain_with_suffix?: Maybe; - expiration_timestamp?: Maybe; - last_transaction_version?: Maybe; - owner_address?: Maybe; - registered_address?: Maybe; - subdomain?: Maybe; - token_name?: Maybe; - token_standard?: Maybe; + domain?: Maybe; + domain_with_suffix?: Maybe; + expiration_timestamp?: Maybe; + last_transaction_version?: Maybe; + owner_address?: Maybe; + registered_address?: Maybe; + subdomain?: Maybe; + token_name?: Maybe; + token_standard?: Maybe; }; /** order by max() on columns of table "current_aptos_names" */ @@ -1965,15 +1932,15 @@ export type CurrentAptosNamesMaxOrderBy = { /** aggregate min on columns */ export type CurrentAptosNamesMinFields = { - domain?: Maybe; - domain_with_suffix?: Maybe; - expiration_timestamp?: Maybe; - last_transaction_version?: Maybe; - owner_address?: Maybe; - registered_address?: Maybe; - subdomain?: Maybe; - token_name?: Maybe; - token_standard?: Maybe; + domain?: Maybe; + domain_with_suffix?: Maybe; + expiration_timestamp?: Maybe; + last_transaction_version?: Maybe; + owner_address?: Maybe; + registered_address?: Maybe; + subdomain?: Maybe; + token_name?: Maybe; + token_standard?: Maybe; }; /** order by min() on columns of table "current_aptos_names" */ @@ -2008,32 +1975,32 @@ export type CurrentAptosNamesOrderBy = { /** select columns of table "current_aptos_names" */ export enum CurrentAptosNamesSelectColumn { /** column name */ - Domain = 'domain', + Domain = "domain", /** column name */ - DomainWithSuffix = 'domain_with_suffix', + DomainWithSuffix = "domain_with_suffix", /** column name */ - ExpirationTimestamp = 'expiration_timestamp', + ExpirationTimestamp = "expiration_timestamp", /** column name */ - IsActive = 'is_active', + IsActive = "is_active", /** column name */ - IsPrimary = 'is_primary', + IsPrimary = "is_primary", /** column name */ - LastTransactionVersion = 'last_transaction_version', + LastTransactionVersion = "last_transaction_version", /** column name */ - OwnerAddress = 'owner_address', + OwnerAddress = "owner_address", /** column name */ - RegisteredAddress = 'registered_address', + RegisteredAddress = "registered_address", /** column name */ - Subdomain = 'subdomain', + Subdomain = "subdomain", /** column name */ - TokenName = 'token_name', + TokenName = "token_name", /** column name */ - TokenStandard = 'token_standard' + TokenStandard = "token_standard", } /** aggregate stddev on columns */ export type CurrentAptosNamesStddevFields = { - last_transaction_version?: Maybe; + last_transaction_version?: Maybe; }; /** order by stddev() on columns of table "current_aptos_names" */ @@ -2043,7 +2010,7 @@ export type CurrentAptosNamesStddevOrderBy = { /** aggregate stddev_pop on columns */ export type CurrentAptosNamesStddevPopFields = { - last_transaction_version?: Maybe; + last_transaction_version?: Maybe; }; /** order by stddev_pop() on columns of table "current_aptos_names" */ @@ -2053,7 +2020,7 @@ export type CurrentAptosNamesStddevPopOrderBy = { /** aggregate stddev_samp on columns */ export type CurrentAptosNamesStddevSampFields = { - last_transaction_version?: Maybe; + last_transaction_version?: Maybe; }; /** order by stddev_samp() on columns of table "current_aptos_names" */ @@ -2071,22 +2038,22 @@ export type CurrentAptosNamesStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type CurrentAptosNamesStreamCursorValueInput = { - domain?: InputMaybe; - domain_with_suffix?: InputMaybe; - expiration_timestamp?: InputMaybe; - is_active?: InputMaybe; - is_primary?: InputMaybe; - last_transaction_version?: InputMaybe; - owner_address?: InputMaybe; - registered_address?: InputMaybe; - subdomain?: InputMaybe; - token_name?: InputMaybe; - token_standard?: InputMaybe; + domain?: InputMaybe; + domain_with_suffix?: InputMaybe; + expiration_timestamp?: InputMaybe; + is_active?: InputMaybe; + is_primary?: InputMaybe; + last_transaction_version?: InputMaybe; + owner_address?: InputMaybe; + registered_address?: InputMaybe; + subdomain?: InputMaybe; + token_name?: InputMaybe; + token_standard?: InputMaybe; }; /** aggregate sum on columns */ export type CurrentAptosNamesSumFields = { - last_transaction_version?: Maybe; + last_transaction_version?: Maybe; }; /** order by sum() on columns of table "current_aptos_names" */ @@ -2096,7 +2063,7 @@ export type CurrentAptosNamesSumOrderBy = { /** aggregate var_pop on columns */ export type CurrentAptosNamesVarPopFields = { - last_transaction_version?: Maybe; + last_transaction_version?: Maybe; }; /** order by var_pop() on columns of table "current_aptos_names" */ @@ -2106,7 +2073,7 @@ export type CurrentAptosNamesVarPopOrderBy = { /** aggregate var_samp on columns */ export type CurrentAptosNamesVarSampFields = { - last_transaction_version?: Maybe; + last_transaction_version?: Maybe; }; /** order by var_samp() on columns of table "current_aptos_names" */ @@ -2116,7 +2083,7 @@ export type CurrentAptosNamesVarSampOrderBy = { /** aggregate variance on columns */ export type CurrentAptosNamesVarianceFields = { - last_transaction_version?: Maybe; + last_transaction_version?: Maybe; }; /** order by variance() on columns of table "current_aptos_names" */ @@ -2126,14 +2093,14 @@ export type CurrentAptosNamesVarianceOrderBy = { /** columns and relationships of "current_coin_balances" */ export type CurrentCoinBalances = { - amount: Scalars['numeric']; + amount: Scalars["numeric"]; /** An object relationship */ coin_info?: Maybe; - coin_type: Scalars['String']; - coin_type_hash: Scalars['String']; - last_transaction_timestamp: Scalars['timestamp']; - last_transaction_version: Scalars['bigint']; - owner_address: Scalars['String']; + coin_type: Scalars["String"]; + coin_type_hash: Scalars["String"]; + last_transaction_timestamp: Scalars["timestamp"]; + last_transaction_version: Scalars["bigint"]; + owner_address: Scalars["String"]; }; /** Boolean expression to filter rows from the table "current_coin_balances". All fields are combined with a logical 'AND'. */ @@ -2164,17 +2131,17 @@ export type CurrentCoinBalancesOrderBy = { /** select columns of table "current_coin_balances" */ export enum CurrentCoinBalancesSelectColumn { /** column name */ - Amount = 'amount', + Amount = "amount", /** column name */ - CoinType = 'coin_type', + CoinType = "coin_type", /** column name */ - CoinTypeHash = 'coin_type_hash', + CoinTypeHash = "coin_type_hash", /** column name */ - LastTransactionTimestamp = 'last_transaction_timestamp', + LastTransactionTimestamp = "last_transaction_timestamp", /** column name */ - LastTransactionVersion = 'last_transaction_version', + LastTransactionVersion = "last_transaction_version", /** column name */ - OwnerAddress = 'owner_address' + OwnerAddress = "owner_address", } /** Streaming cursor of the table "current_coin_balances" */ @@ -2187,29 +2154,29 @@ export type CurrentCoinBalancesStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type CurrentCoinBalancesStreamCursorValueInput = { - amount?: InputMaybe; - coin_type?: InputMaybe; - coin_type_hash?: InputMaybe; - last_transaction_timestamp?: InputMaybe; - last_transaction_version?: InputMaybe; - owner_address?: InputMaybe; + amount?: InputMaybe; + coin_type?: InputMaybe; + coin_type_hash?: InputMaybe; + last_transaction_timestamp?: InputMaybe; + last_transaction_version?: InputMaybe; + owner_address?: InputMaybe; }; /** columns and relationships of "current_collection_datas" */ export type CurrentCollectionDatas = { - collection_data_id_hash: Scalars['String']; - collection_name: Scalars['String']; - creator_address: Scalars['String']; - description: Scalars['String']; - description_mutable: Scalars['Boolean']; - last_transaction_timestamp: Scalars['timestamp']; - last_transaction_version: Scalars['bigint']; - maximum: Scalars['numeric']; - maximum_mutable: Scalars['Boolean']; - metadata_uri: Scalars['String']; - supply: Scalars['numeric']; - table_handle: Scalars['String']; - uri_mutable: Scalars['Boolean']; + collection_data_id_hash: Scalars["String"]; + collection_name: Scalars["String"]; + creator_address: Scalars["String"]; + description: Scalars["String"]; + description_mutable: Scalars["Boolean"]; + last_transaction_timestamp: Scalars["timestamp"]; + last_transaction_version: Scalars["bigint"]; + maximum: Scalars["numeric"]; + maximum_mutable: Scalars["Boolean"]; + metadata_uri: Scalars["String"]; + supply: Scalars["numeric"]; + table_handle: Scalars["String"]; + uri_mutable: Scalars["Boolean"]; }; /** Boolean expression to filter rows from the table "current_collection_datas". All fields are combined with a logical 'AND'. */ @@ -2252,31 +2219,31 @@ export type CurrentCollectionDatasOrderBy = { /** select columns of table "current_collection_datas" */ export enum CurrentCollectionDatasSelectColumn { /** column name */ - CollectionDataIdHash = 'collection_data_id_hash', + CollectionDataIdHash = "collection_data_id_hash", /** column name */ - CollectionName = 'collection_name', + CollectionName = "collection_name", /** column name */ - CreatorAddress = 'creator_address', + CreatorAddress = "creator_address", /** column name */ - Description = 'description', + Description = "description", /** column name */ - DescriptionMutable = 'description_mutable', + DescriptionMutable = "description_mutable", /** column name */ - LastTransactionTimestamp = 'last_transaction_timestamp', + LastTransactionTimestamp = "last_transaction_timestamp", /** column name */ - LastTransactionVersion = 'last_transaction_version', + LastTransactionVersion = "last_transaction_version", /** column name */ - Maximum = 'maximum', + Maximum = "maximum", /** column name */ - MaximumMutable = 'maximum_mutable', + MaximumMutable = "maximum_mutable", /** column name */ - MetadataUri = 'metadata_uri', + MetadataUri = "metadata_uri", /** column name */ - Supply = 'supply', + Supply = "supply", /** column name */ - TableHandle = 'table_handle', + TableHandle = "table_handle", /** column name */ - UriMutable = 'uri_mutable' + UriMutable = "uri_mutable", } /** Streaming cursor of the table "current_collection_datas" */ @@ -2289,33 +2256,33 @@ export type CurrentCollectionDatasStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type CurrentCollectionDatasStreamCursorValueInput = { - collection_data_id_hash?: InputMaybe; - collection_name?: InputMaybe; - creator_address?: InputMaybe; - description?: InputMaybe; - description_mutable?: InputMaybe; - last_transaction_timestamp?: InputMaybe; - last_transaction_version?: InputMaybe; - maximum?: InputMaybe; - maximum_mutable?: InputMaybe; - metadata_uri?: InputMaybe; - supply?: InputMaybe; - table_handle?: InputMaybe; - uri_mutable?: InputMaybe; + collection_data_id_hash?: InputMaybe; + collection_name?: InputMaybe; + creator_address?: InputMaybe; + description?: InputMaybe; + description_mutable?: InputMaybe; + last_transaction_timestamp?: InputMaybe; + last_transaction_version?: InputMaybe; + maximum?: InputMaybe; + maximum_mutable?: InputMaybe; + metadata_uri?: InputMaybe; + supply?: InputMaybe; + table_handle?: InputMaybe; + uri_mutable?: InputMaybe; }; /** columns and relationships of "current_collection_ownership_v2_view" */ export type CurrentCollectionOwnershipV2View = { - collection_id?: Maybe; - collection_name?: Maybe; - collection_uri?: Maybe; - creator_address?: Maybe; + collection_id?: Maybe; + collection_name?: Maybe; + collection_uri?: Maybe; + creator_address?: Maybe; /** An object relationship */ current_collection?: Maybe; - distinct_tokens?: Maybe; - last_transaction_version?: Maybe; - owner_address?: Maybe; - single_token_uri?: Maybe; + distinct_tokens?: Maybe; + last_transaction_version?: Maybe; + owner_address?: Maybe; + single_token_uri?: Maybe; }; /** aggregated selection of "current_collection_ownership_v2_view" */ @@ -2327,7 +2294,7 @@ export type CurrentCollectionOwnershipV2ViewAggregate = { /** aggregate fields of "current_collection_ownership_v2_view" */ export type CurrentCollectionOwnershipV2ViewAggregateFields = { avg?: Maybe; - count: Scalars['Int']; + count: Scalars["Int"]; max?: Maybe; min?: Maybe; stddev?: Maybe; @@ -2339,17 +2306,16 @@ export type CurrentCollectionOwnershipV2ViewAggregateFields = { variance?: Maybe; }; - /** aggregate fields of "current_collection_ownership_v2_view" */ export type CurrentCollectionOwnershipV2ViewAggregateFieldsCountArgs = { columns?: InputMaybe>; - distinct?: InputMaybe; + distinct?: InputMaybe; }; /** aggregate avg on columns */ export type CurrentCollectionOwnershipV2ViewAvgFields = { - distinct_tokens?: Maybe; - last_transaction_version?: Maybe; + distinct_tokens?: Maybe; + last_transaction_version?: Maybe; }; /** Boolean expression to filter rows from the table "current_collection_ownership_v2_view". All fields are combined with a logical 'AND'. */ @@ -2370,26 +2336,26 @@ export type CurrentCollectionOwnershipV2ViewBoolExp = { /** aggregate max on columns */ export type CurrentCollectionOwnershipV2ViewMaxFields = { - collection_id?: Maybe; - collection_name?: Maybe; - collection_uri?: Maybe; - creator_address?: Maybe; - distinct_tokens?: Maybe; - last_transaction_version?: Maybe; - owner_address?: Maybe; - single_token_uri?: Maybe; + collection_id?: Maybe; + collection_name?: Maybe; + collection_uri?: Maybe; + creator_address?: Maybe; + distinct_tokens?: Maybe; + last_transaction_version?: Maybe; + owner_address?: Maybe; + single_token_uri?: Maybe; }; /** aggregate min on columns */ export type CurrentCollectionOwnershipV2ViewMinFields = { - collection_id?: Maybe; - collection_name?: Maybe; - collection_uri?: Maybe; - creator_address?: Maybe; - distinct_tokens?: Maybe; - last_transaction_version?: Maybe; - owner_address?: Maybe; - single_token_uri?: Maybe; + collection_id?: Maybe; + collection_name?: Maybe; + collection_uri?: Maybe; + creator_address?: Maybe; + distinct_tokens?: Maybe; + last_transaction_version?: Maybe; + owner_address?: Maybe; + single_token_uri?: Maybe; }; /** Ordering options when selecting data from "current_collection_ownership_v2_view". */ @@ -2408,39 +2374,39 @@ export type CurrentCollectionOwnershipV2ViewOrderBy = { /** select columns of table "current_collection_ownership_v2_view" */ export enum CurrentCollectionOwnershipV2ViewSelectColumn { /** column name */ - CollectionId = 'collection_id', + CollectionId = "collection_id", /** column name */ - CollectionName = 'collection_name', + CollectionName = "collection_name", /** column name */ - CollectionUri = 'collection_uri', + CollectionUri = "collection_uri", /** column name */ - CreatorAddress = 'creator_address', + CreatorAddress = "creator_address", /** column name */ - DistinctTokens = 'distinct_tokens', + DistinctTokens = "distinct_tokens", /** column name */ - LastTransactionVersion = 'last_transaction_version', + LastTransactionVersion = "last_transaction_version", /** column name */ - OwnerAddress = 'owner_address', + OwnerAddress = "owner_address", /** column name */ - SingleTokenUri = 'single_token_uri' + SingleTokenUri = "single_token_uri", } /** aggregate stddev on columns */ export type CurrentCollectionOwnershipV2ViewStddevFields = { - distinct_tokens?: Maybe; - last_transaction_version?: Maybe; + distinct_tokens?: Maybe; + last_transaction_version?: Maybe; }; /** aggregate stddev_pop on columns */ export type CurrentCollectionOwnershipV2ViewStddevPopFields = { - distinct_tokens?: Maybe; - last_transaction_version?: Maybe; + distinct_tokens?: Maybe; + last_transaction_version?: Maybe; }; /** aggregate stddev_samp on columns */ export type CurrentCollectionOwnershipV2ViewStddevSampFields = { - distinct_tokens?: Maybe; - last_transaction_version?: Maybe; + distinct_tokens?: Maybe; + last_transaction_version?: Maybe; }; /** Streaming cursor of the table "current_collection_ownership_v2_view" */ @@ -2453,58 +2419,58 @@ export type CurrentCollectionOwnershipV2ViewStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type CurrentCollectionOwnershipV2ViewStreamCursorValueInput = { - collection_id?: InputMaybe; - collection_name?: InputMaybe; - collection_uri?: InputMaybe; - creator_address?: InputMaybe; - distinct_tokens?: InputMaybe; - last_transaction_version?: InputMaybe; - owner_address?: InputMaybe; - single_token_uri?: InputMaybe; + collection_id?: InputMaybe; + collection_name?: InputMaybe; + collection_uri?: InputMaybe; + creator_address?: InputMaybe; + distinct_tokens?: InputMaybe; + last_transaction_version?: InputMaybe; + owner_address?: InputMaybe; + single_token_uri?: InputMaybe; }; /** aggregate sum on columns */ export type CurrentCollectionOwnershipV2ViewSumFields = { - distinct_tokens?: Maybe; - last_transaction_version?: Maybe; + distinct_tokens?: Maybe; + last_transaction_version?: Maybe; }; /** aggregate var_pop on columns */ export type CurrentCollectionOwnershipV2ViewVarPopFields = { - distinct_tokens?: Maybe; - last_transaction_version?: Maybe; + distinct_tokens?: Maybe; + last_transaction_version?: Maybe; }; /** aggregate var_samp on columns */ export type CurrentCollectionOwnershipV2ViewVarSampFields = { - distinct_tokens?: Maybe; - last_transaction_version?: Maybe; + distinct_tokens?: Maybe; + last_transaction_version?: Maybe; }; /** aggregate variance on columns */ export type CurrentCollectionOwnershipV2ViewVarianceFields = { - distinct_tokens?: Maybe; - last_transaction_version?: Maybe; + distinct_tokens?: Maybe; + last_transaction_version?: Maybe; }; /** columns and relationships of "current_collections_v2" */ export type CurrentCollectionsV2 = { /** An object relationship */ cdn_asset_uris?: Maybe; - collection_id: Scalars['String']; - collection_name: Scalars['String']; - creator_address: Scalars['String']; - current_supply: Scalars['numeric']; - description: Scalars['String']; - last_transaction_timestamp: Scalars['timestamp']; - last_transaction_version: Scalars['bigint']; - max_supply?: Maybe; - mutable_description?: Maybe; - mutable_uri?: Maybe; - table_handle_v1?: Maybe; - token_standard: Scalars['String']; - total_minted_v2?: Maybe; - uri: Scalars['String']; + collection_id: Scalars["String"]; + collection_name: Scalars["String"]; + creator_address: Scalars["String"]; + current_supply: Scalars["numeric"]; + description: Scalars["String"]; + last_transaction_timestamp: Scalars["timestamp"]; + last_transaction_version: Scalars["bigint"]; + max_supply?: Maybe; + mutable_description?: Maybe; + mutable_uri?: Maybe; + table_handle_v1?: Maybe; + token_standard: Scalars["String"]; + total_minted_v2?: Maybe; + uri: Scalars["String"]; }; /** Boolean expression to filter rows from the table "current_collections_v2". All fields are combined with a logical 'AND'. */ @@ -2551,33 +2517,33 @@ export type CurrentCollectionsV2OrderBy = { /** select columns of table "current_collections_v2" */ export enum CurrentCollectionsV2SelectColumn { /** column name */ - CollectionId = 'collection_id', + CollectionId = "collection_id", /** column name */ - CollectionName = 'collection_name', + CollectionName = "collection_name", /** column name */ - CreatorAddress = 'creator_address', + CreatorAddress = "creator_address", /** column name */ - CurrentSupply = 'current_supply', + CurrentSupply = "current_supply", /** column name */ - Description = 'description', + Description = "description", /** column name */ - LastTransactionTimestamp = 'last_transaction_timestamp', + LastTransactionTimestamp = "last_transaction_timestamp", /** column name */ - LastTransactionVersion = 'last_transaction_version', + LastTransactionVersion = "last_transaction_version", /** column name */ - MaxSupply = 'max_supply', + MaxSupply = "max_supply", /** column name */ - MutableDescription = 'mutable_description', + MutableDescription = "mutable_description", /** column name */ - MutableUri = 'mutable_uri', + MutableUri = "mutable_uri", /** column name */ - TableHandleV1 = 'table_handle_v1', + TableHandleV1 = "table_handle_v1", /** column name */ - TokenStandard = 'token_standard', + TokenStandard = "token_standard", /** column name */ - TotalMintedV2 = 'total_minted_v2', + TotalMintedV2 = "total_minted_v2", /** column name */ - Uri = 'uri' + Uri = "uri", } /** Streaming cursor of the table "current_collections_v2" */ @@ -2590,31 +2556,31 @@ export type CurrentCollectionsV2StreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type CurrentCollectionsV2StreamCursorValueInput = { - collection_id?: InputMaybe; - collection_name?: InputMaybe; - creator_address?: InputMaybe; - current_supply?: InputMaybe; - description?: InputMaybe; - last_transaction_timestamp?: InputMaybe; - last_transaction_version?: InputMaybe; - max_supply?: InputMaybe; - mutable_description?: InputMaybe; - mutable_uri?: InputMaybe; - table_handle_v1?: InputMaybe; - token_standard?: InputMaybe; - total_minted_v2?: InputMaybe; - uri?: InputMaybe; + collection_id?: InputMaybe; + collection_name?: InputMaybe; + creator_address?: InputMaybe; + current_supply?: InputMaybe; + description?: InputMaybe; + last_transaction_timestamp?: InputMaybe; + last_transaction_version?: InputMaybe; + max_supply?: InputMaybe; + mutable_description?: InputMaybe; + mutable_uri?: InputMaybe; + table_handle_v1?: InputMaybe; + token_standard?: InputMaybe; + total_minted_v2?: InputMaybe; + uri?: InputMaybe; }; /** columns and relationships of "current_delegated_staking_pool_balances" */ export type CurrentDelegatedStakingPoolBalances = { - active_table_handle: Scalars['String']; - inactive_table_handle: Scalars['String']; - last_transaction_version: Scalars['bigint']; - operator_commission_percentage: Scalars['numeric']; - staking_pool_address: Scalars['String']; - total_coins: Scalars['numeric']; - total_shares: Scalars['numeric']; + active_table_handle: Scalars["String"]; + inactive_table_handle: Scalars["String"]; + last_transaction_version: Scalars["bigint"]; + operator_commission_percentage: Scalars["numeric"]; + staking_pool_address: Scalars["String"]; + total_coins: Scalars["numeric"]; + total_shares: Scalars["numeric"]; }; /** Boolean expression to filter rows from the table "current_delegated_staking_pool_balances". All fields are combined with a logical 'AND'. */ @@ -2645,19 +2611,19 @@ export type CurrentDelegatedStakingPoolBalancesOrderBy = { /** select columns of table "current_delegated_staking_pool_balances" */ export enum CurrentDelegatedStakingPoolBalancesSelectColumn { /** column name */ - ActiveTableHandle = 'active_table_handle', + ActiveTableHandle = "active_table_handle", /** column name */ - InactiveTableHandle = 'inactive_table_handle', + InactiveTableHandle = "inactive_table_handle", /** column name */ - LastTransactionVersion = 'last_transaction_version', + LastTransactionVersion = "last_transaction_version", /** column name */ - OperatorCommissionPercentage = 'operator_commission_percentage', + OperatorCommissionPercentage = "operator_commission_percentage", /** column name */ - StakingPoolAddress = 'staking_pool_address', + StakingPoolAddress = "staking_pool_address", /** column name */ - TotalCoins = 'total_coins', + TotalCoins = "total_coins", /** column name */ - TotalShares = 'total_shares' + TotalShares = "total_shares", } /** Streaming cursor of the table "current_delegated_staking_pool_balances" */ @@ -2670,24 +2636,24 @@ export type CurrentDelegatedStakingPoolBalancesStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type CurrentDelegatedStakingPoolBalancesStreamCursorValueInput = { - active_table_handle?: InputMaybe; - inactive_table_handle?: InputMaybe; - last_transaction_version?: InputMaybe; - operator_commission_percentage?: InputMaybe; - staking_pool_address?: InputMaybe; - total_coins?: InputMaybe; - total_shares?: InputMaybe; + active_table_handle?: InputMaybe; + inactive_table_handle?: InputMaybe; + last_transaction_version?: InputMaybe; + operator_commission_percentage?: InputMaybe; + staking_pool_address?: InputMaybe; + total_coins?: InputMaybe; + total_shares?: InputMaybe; }; /** columns and relationships of "current_delegated_voter" */ export type CurrentDelegatedVoter = { - delegation_pool_address: Scalars['String']; - delegator_address: Scalars['String']; - last_transaction_timestamp: Scalars['timestamp']; - last_transaction_version: Scalars['bigint']; - pending_voter?: Maybe; - table_handle?: Maybe; - voter?: Maybe; + delegation_pool_address: Scalars["String"]; + delegator_address: Scalars["String"]; + last_transaction_timestamp: Scalars["timestamp"]; + last_transaction_version: Scalars["bigint"]; + pending_voter?: Maybe; + table_handle?: Maybe; + voter?: Maybe; }; /** Boolean expression to filter rows from the table "current_delegated_voter". All fields are combined with a logical 'AND'. */ @@ -2718,19 +2684,19 @@ export type CurrentDelegatedVoterOrderBy = { /** select columns of table "current_delegated_voter" */ export enum CurrentDelegatedVoterSelectColumn { /** column name */ - DelegationPoolAddress = 'delegation_pool_address', + DelegationPoolAddress = "delegation_pool_address", /** column name */ - DelegatorAddress = 'delegator_address', + DelegatorAddress = "delegator_address", /** column name */ - LastTransactionTimestamp = 'last_transaction_timestamp', + LastTransactionTimestamp = "last_transaction_timestamp", /** column name */ - LastTransactionVersion = 'last_transaction_version', + LastTransactionVersion = "last_transaction_version", /** column name */ - PendingVoter = 'pending_voter', + PendingVoter = "pending_voter", /** column name */ - TableHandle = 'table_handle', + TableHandle = "table_handle", /** column name */ - Voter = 'voter' + Voter = "voter", } /** Streaming cursor of the table "current_delegated_voter" */ @@ -2743,28 +2709,28 @@ export type CurrentDelegatedVoterStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type CurrentDelegatedVoterStreamCursorValueInput = { - delegation_pool_address?: InputMaybe; - delegator_address?: InputMaybe; - last_transaction_timestamp?: InputMaybe; - last_transaction_version?: InputMaybe; - pending_voter?: InputMaybe; - table_handle?: InputMaybe; - voter?: InputMaybe; + delegation_pool_address?: InputMaybe; + delegator_address?: InputMaybe; + last_transaction_timestamp?: InputMaybe; + last_transaction_version?: InputMaybe; + pending_voter?: InputMaybe; + table_handle?: InputMaybe; + voter?: InputMaybe; }; /** columns and relationships of "current_delegator_balances" */ export type CurrentDelegatorBalances = { /** An object relationship */ current_pool_balance?: Maybe; - delegator_address: Scalars['String']; - last_transaction_version: Scalars['bigint']; - parent_table_handle: Scalars['String']; - pool_address: Scalars['String']; - pool_type: Scalars['String']; - shares: Scalars['numeric']; + delegator_address: Scalars["String"]; + last_transaction_version: Scalars["bigint"]; + parent_table_handle: Scalars["String"]; + pool_address: Scalars["String"]; + pool_type: Scalars["String"]; + shares: Scalars["numeric"]; /** An object relationship */ staking_pool_metadata?: Maybe; - table_handle: Scalars['String']; + table_handle: Scalars["String"]; }; /** Boolean expression to filter rows from the table "current_delegator_balances". All fields are combined with a logical 'AND'. */ @@ -2799,19 +2765,19 @@ export type CurrentDelegatorBalancesOrderBy = { /** select columns of table "current_delegator_balances" */ export enum CurrentDelegatorBalancesSelectColumn { /** column name */ - DelegatorAddress = 'delegator_address', + DelegatorAddress = "delegator_address", /** column name */ - LastTransactionVersion = 'last_transaction_version', + LastTransactionVersion = "last_transaction_version", /** column name */ - ParentTableHandle = 'parent_table_handle', + ParentTableHandle = "parent_table_handle", /** column name */ - PoolAddress = 'pool_address', + PoolAddress = "pool_address", /** column name */ - PoolType = 'pool_type', + PoolType = "pool_type", /** column name */ - Shares = 'shares', + Shares = "shares", /** column name */ - TableHandle = 'table_handle' + TableHandle = "table_handle", } /** Streaming cursor of the table "current_delegator_balances" */ @@ -2824,28 +2790,28 @@ export type CurrentDelegatorBalancesStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type CurrentDelegatorBalancesStreamCursorValueInput = { - delegator_address?: InputMaybe; - last_transaction_version?: InputMaybe; - parent_table_handle?: InputMaybe; - pool_address?: InputMaybe; - pool_type?: InputMaybe; - shares?: InputMaybe; - table_handle?: InputMaybe; + delegator_address?: InputMaybe; + last_transaction_version?: InputMaybe; + parent_table_handle?: InputMaybe; + pool_address?: InputMaybe; + pool_type?: InputMaybe; + shares?: InputMaybe; + table_handle?: InputMaybe; }; /** columns and relationships of "current_fungible_asset_balances" */ export type CurrentFungibleAssetBalances = { - amount: Scalars['numeric']; - asset_type: Scalars['String']; - is_frozen: Scalars['Boolean']; - is_primary: Scalars['Boolean']; - last_transaction_timestamp: Scalars['timestamp']; - last_transaction_version: Scalars['bigint']; + amount: Scalars["numeric"]; + asset_type: Scalars["String"]; + is_frozen: Scalars["Boolean"]; + is_primary: Scalars["Boolean"]; + last_transaction_timestamp: Scalars["timestamp"]; + last_transaction_version: Scalars["bigint"]; /** An object relationship */ metadata?: Maybe; - owner_address: Scalars['String']; - storage_id: Scalars['String']; - token_standard: Scalars['String']; + owner_address: Scalars["String"]; + storage_id: Scalars["String"]; + token_standard: Scalars["String"]; }; /** aggregated selection of "current_fungible_asset_balances" */ @@ -2857,7 +2823,7 @@ export type CurrentFungibleAssetBalancesAggregate = { /** aggregate fields of "current_fungible_asset_balances" */ export type CurrentFungibleAssetBalancesAggregateFields = { avg?: Maybe; - count: Scalars['Int']; + count: Scalars["Int"]; max?: Maybe; min?: Maybe; stddev?: Maybe; @@ -2869,17 +2835,16 @@ export type CurrentFungibleAssetBalancesAggregateFields = { variance?: Maybe; }; - /** aggregate fields of "current_fungible_asset_balances" */ export type CurrentFungibleAssetBalancesAggregateFieldsCountArgs = { columns?: InputMaybe>; - distinct?: InputMaybe; + distinct?: InputMaybe; }; /** aggregate avg on columns */ export type CurrentFungibleAssetBalancesAvgFields = { - amount?: Maybe; - last_transaction_version?: Maybe; + amount?: Maybe; + last_transaction_version?: Maybe; }; /** Boolean expression to filter rows from the table "current_fungible_asset_balances". All fields are combined with a logical 'AND'. */ @@ -2901,24 +2866,24 @@ export type CurrentFungibleAssetBalancesBoolExp = { /** aggregate max on columns */ export type CurrentFungibleAssetBalancesMaxFields = { - amount?: Maybe; - asset_type?: Maybe; - last_transaction_timestamp?: Maybe; - last_transaction_version?: Maybe; - owner_address?: Maybe; - storage_id?: Maybe; - token_standard?: Maybe; + amount?: Maybe; + asset_type?: Maybe; + last_transaction_timestamp?: Maybe; + last_transaction_version?: Maybe; + owner_address?: Maybe; + storage_id?: Maybe; + token_standard?: Maybe; }; /** aggregate min on columns */ export type CurrentFungibleAssetBalancesMinFields = { - amount?: Maybe; - asset_type?: Maybe; - last_transaction_timestamp?: Maybe; - last_transaction_version?: Maybe; - owner_address?: Maybe; - storage_id?: Maybe; - token_standard?: Maybe; + amount?: Maybe; + asset_type?: Maybe; + last_transaction_timestamp?: Maybe; + last_transaction_version?: Maybe; + owner_address?: Maybe; + storage_id?: Maybe; + token_standard?: Maybe; }; /** Ordering options when selecting data from "current_fungible_asset_balances". */ @@ -2938,41 +2903,41 @@ export type CurrentFungibleAssetBalancesOrderBy = { /** select columns of table "current_fungible_asset_balances" */ export enum CurrentFungibleAssetBalancesSelectColumn { /** column name */ - Amount = 'amount', + Amount = "amount", /** column name */ - AssetType = 'asset_type', + AssetType = "asset_type", /** column name */ - IsFrozen = 'is_frozen', + IsFrozen = "is_frozen", /** column name */ - IsPrimary = 'is_primary', + IsPrimary = "is_primary", /** column name */ - LastTransactionTimestamp = 'last_transaction_timestamp', + LastTransactionTimestamp = "last_transaction_timestamp", /** column name */ - LastTransactionVersion = 'last_transaction_version', + LastTransactionVersion = "last_transaction_version", /** column name */ - OwnerAddress = 'owner_address', + OwnerAddress = "owner_address", /** column name */ - StorageId = 'storage_id', + StorageId = "storage_id", /** column name */ - TokenStandard = 'token_standard' + TokenStandard = "token_standard", } /** aggregate stddev on columns */ export type CurrentFungibleAssetBalancesStddevFields = { - amount?: Maybe; - last_transaction_version?: Maybe; + amount?: Maybe; + last_transaction_version?: Maybe; }; /** aggregate stddev_pop on columns */ export type CurrentFungibleAssetBalancesStddevPopFields = { - amount?: Maybe; - last_transaction_version?: Maybe; + amount?: Maybe; + last_transaction_version?: Maybe; }; /** aggregate stddev_samp on columns */ export type CurrentFungibleAssetBalancesStddevSampFields = { - amount?: Maybe; - last_transaction_version?: Maybe; + amount?: Maybe; + last_transaction_version?: Maybe; }; /** Streaming cursor of the table "current_fungible_asset_balances" */ @@ -2985,50 +2950,50 @@ export type CurrentFungibleAssetBalancesStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type CurrentFungibleAssetBalancesStreamCursorValueInput = { - amount?: InputMaybe; - asset_type?: InputMaybe; - is_frozen?: InputMaybe; - is_primary?: InputMaybe; - last_transaction_timestamp?: InputMaybe; - last_transaction_version?: InputMaybe; - owner_address?: InputMaybe; - storage_id?: InputMaybe; - token_standard?: InputMaybe; + amount?: InputMaybe; + asset_type?: InputMaybe; + is_frozen?: InputMaybe; + is_primary?: InputMaybe; + last_transaction_timestamp?: InputMaybe; + last_transaction_version?: InputMaybe; + owner_address?: InputMaybe; + storage_id?: InputMaybe; + token_standard?: InputMaybe; }; /** aggregate sum on columns */ export type CurrentFungibleAssetBalancesSumFields = { - amount?: Maybe; - last_transaction_version?: Maybe; + amount?: Maybe; + last_transaction_version?: Maybe; }; /** aggregate var_pop on columns */ export type CurrentFungibleAssetBalancesVarPopFields = { - amount?: Maybe; - last_transaction_version?: Maybe; + amount?: Maybe; + last_transaction_version?: Maybe; }; /** aggregate var_samp on columns */ export type CurrentFungibleAssetBalancesVarSampFields = { - amount?: Maybe; - last_transaction_version?: Maybe; + amount?: Maybe; + last_transaction_version?: Maybe; }; /** aggregate variance on columns */ export type CurrentFungibleAssetBalancesVarianceFields = { - amount?: Maybe; - last_transaction_version?: Maybe; + amount?: Maybe; + last_transaction_version?: Maybe; }; /** columns and relationships of "current_objects" */ export type CurrentObjects = { - allow_ungated_transfer: Scalars['Boolean']; - is_deleted: Scalars['Boolean']; - last_guid_creation_num: Scalars['numeric']; - last_transaction_version: Scalars['bigint']; - object_address: Scalars['String']; - owner_address: Scalars['String']; - state_key_hash: Scalars['String']; + allow_ungated_transfer: Scalars["Boolean"]; + is_deleted: Scalars["Boolean"]; + last_guid_creation_num: Scalars["numeric"]; + last_transaction_version: Scalars["bigint"]; + object_address: Scalars["String"]; + owner_address: Scalars["String"]; + state_key_hash: Scalars["String"]; }; /** Boolean expression to filter rows from the table "current_objects". All fields are combined with a logical 'AND'. */ @@ -3059,19 +3024,19 @@ export type CurrentObjectsOrderBy = { /** select columns of table "current_objects" */ export enum CurrentObjectsSelectColumn { /** column name */ - AllowUngatedTransfer = 'allow_ungated_transfer', + AllowUngatedTransfer = "allow_ungated_transfer", /** column name */ - IsDeleted = 'is_deleted', + IsDeleted = "is_deleted", /** column name */ - LastGuidCreationNum = 'last_guid_creation_num', + LastGuidCreationNum = "last_guid_creation_num", /** column name */ - LastTransactionVersion = 'last_transaction_version', + LastTransactionVersion = "last_transaction_version", /** column name */ - ObjectAddress = 'object_address', + ObjectAddress = "object_address", /** column name */ - OwnerAddress = 'owner_address', + OwnerAddress = "owner_address", /** column name */ - StateKeyHash = 'state_key_hash' + StateKeyHash = "state_key_hash", } /** Streaming cursor of the table "current_objects" */ @@ -3084,43 +3049,41 @@ export type CurrentObjectsStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type CurrentObjectsStreamCursorValueInput = { - allow_ungated_transfer?: InputMaybe; - is_deleted?: InputMaybe; - last_guid_creation_num?: InputMaybe; - last_transaction_version?: InputMaybe; - object_address?: InputMaybe; - owner_address?: InputMaybe; - state_key_hash?: InputMaybe; + allow_ungated_transfer?: InputMaybe; + is_deleted?: InputMaybe; + last_guid_creation_num?: InputMaybe; + last_transaction_version?: InputMaybe; + object_address?: InputMaybe; + owner_address?: InputMaybe; + state_key_hash?: InputMaybe; }; /** columns and relationships of "current_staking_pool_voter" */ export type CurrentStakingPoolVoter = { - last_transaction_version: Scalars['bigint']; - operator_address: Scalars['String']; + last_transaction_version: Scalars["bigint"]; + operator_address: Scalars["String"]; /** An array relationship */ operator_aptos_name: Array; /** An aggregate relationship */ operator_aptos_name_aggregate: CurrentAptosNamesAggregate; - staking_pool_address: Scalars['String']; - voter_address: Scalars['String']; + staking_pool_address: Scalars["String"]; + voter_address: Scalars["String"]; }; - /** columns and relationships of "current_staking_pool_voter" */ export type CurrentStakingPoolVoterOperatorAptosNameArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - /** columns and relationships of "current_staking_pool_voter" */ export type CurrentStakingPoolVoterOperatorAptosNameAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; @@ -3149,13 +3112,13 @@ export type CurrentStakingPoolVoterOrderBy = { /** select columns of table "current_staking_pool_voter" */ export enum CurrentStakingPoolVoterSelectColumn { /** column name */ - LastTransactionVersion = 'last_transaction_version', + LastTransactionVersion = "last_transaction_version", /** column name */ - OperatorAddress = 'operator_address', + OperatorAddress = "operator_address", /** column name */ - StakingPoolAddress = 'staking_pool_address', + StakingPoolAddress = "staking_pool_address", /** column name */ - VoterAddress = 'voter_address' + VoterAddress = "voter_address", } /** Streaming cursor of the table "current_staking_pool_voter" */ @@ -3168,33 +3131,31 @@ export type CurrentStakingPoolVoterStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type CurrentStakingPoolVoterStreamCursorValueInput = { - last_transaction_version?: InputMaybe; - operator_address?: InputMaybe; - staking_pool_address?: InputMaybe; - voter_address?: InputMaybe; + last_transaction_version?: InputMaybe; + operator_address?: InputMaybe; + staking_pool_address?: InputMaybe; + voter_address?: InputMaybe; }; /** columns and relationships of "current_table_items" */ export type CurrentTableItems = { - decoded_key: Scalars['jsonb']; - decoded_value?: Maybe; - is_deleted: Scalars['Boolean']; - key: Scalars['String']; - key_hash: Scalars['String']; - last_transaction_version: Scalars['bigint']; - table_handle: Scalars['String']; + decoded_key: Scalars["jsonb"]; + decoded_value?: Maybe; + is_deleted: Scalars["Boolean"]; + key: Scalars["String"]; + key_hash: Scalars["String"]; + last_transaction_version: Scalars["bigint"]; + table_handle: Scalars["String"]; }; - /** columns and relationships of "current_table_items" */ export type CurrentTableItemsDecodedKeyArgs = { - path?: InputMaybe; + path?: InputMaybe; }; - /** columns and relationships of "current_table_items" */ export type CurrentTableItemsDecodedValueArgs = { - path?: InputMaybe; + path?: InputMaybe; }; /** Boolean expression to filter rows from the table "current_table_items". All fields are combined with a logical 'AND'. */ @@ -3225,19 +3186,19 @@ export type CurrentTableItemsOrderBy = { /** select columns of table "current_table_items" */ export enum CurrentTableItemsSelectColumn { /** column name */ - DecodedKey = 'decoded_key', + DecodedKey = "decoded_key", /** column name */ - DecodedValue = 'decoded_value', + DecodedValue = "decoded_value", /** column name */ - IsDeleted = 'is_deleted', + IsDeleted = "is_deleted", /** column name */ - Key = 'key', + Key = "key", /** column name */ - KeyHash = 'key_hash', + KeyHash = "key_hash", /** column name */ - LastTransactionVersion = 'last_transaction_version', + LastTransactionVersion = "last_transaction_version", /** column name */ - TableHandle = 'table_handle' + TableHandle = "table_handle", } /** Streaming cursor of the table "current_table_items" */ @@ -3250,46 +3211,45 @@ export type CurrentTableItemsStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type CurrentTableItemsStreamCursorValueInput = { - decoded_key?: InputMaybe; - decoded_value?: InputMaybe; - is_deleted?: InputMaybe; - key?: InputMaybe; - key_hash?: InputMaybe; - last_transaction_version?: InputMaybe; - table_handle?: InputMaybe; + decoded_key?: InputMaybe; + decoded_value?: InputMaybe; + is_deleted?: InputMaybe; + key?: InputMaybe; + key_hash?: InputMaybe; + last_transaction_version?: InputMaybe; + table_handle?: InputMaybe; }; /** columns and relationships of "current_token_datas" */ export type CurrentTokenDatas = { - collection_data_id_hash: Scalars['String']; - collection_name: Scalars['String']; - creator_address: Scalars['String']; + collection_data_id_hash: Scalars["String"]; + collection_name: Scalars["String"]; + creator_address: Scalars["String"]; /** An object relationship */ current_collection_data?: Maybe; - default_properties: Scalars['jsonb']; - description: Scalars['String']; - description_mutable: Scalars['Boolean']; - largest_property_version: Scalars['numeric']; - last_transaction_timestamp: Scalars['timestamp']; - last_transaction_version: Scalars['bigint']; - maximum: Scalars['numeric']; - maximum_mutable: Scalars['Boolean']; - metadata_uri: Scalars['String']; - name: Scalars['String']; - payee_address: Scalars['String']; - properties_mutable: Scalars['Boolean']; - royalty_mutable: Scalars['Boolean']; - royalty_points_denominator: Scalars['numeric']; - royalty_points_numerator: Scalars['numeric']; - supply: Scalars['numeric']; - token_data_id_hash: Scalars['String']; - uri_mutable: Scalars['Boolean']; + default_properties: Scalars["jsonb"]; + description: Scalars["String"]; + description_mutable: Scalars["Boolean"]; + largest_property_version: Scalars["numeric"]; + last_transaction_timestamp: Scalars["timestamp"]; + last_transaction_version: Scalars["bigint"]; + maximum: Scalars["numeric"]; + maximum_mutable: Scalars["Boolean"]; + metadata_uri: Scalars["String"]; + name: Scalars["String"]; + payee_address: Scalars["String"]; + properties_mutable: Scalars["Boolean"]; + royalty_mutable: Scalars["Boolean"]; + royalty_points_denominator: Scalars["numeric"]; + royalty_points_numerator: Scalars["numeric"]; + supply: Scalars["numeric"]; + token_data_id_hash: Scalars["String"]; + uri_mutable: Scalars["Boolean"]; }; - /** columns and relationships of "current_token_datas" */ export type CurrentTokenDatasDefaultPropertiesArgs = { - path?: InputMaybe; + path?: InputMaybe; }; /** Boolean expression to filter rows from the table "current_token_datas". All fields are combined with a logical 'AND'. */ @@ -3350,47 +3310,47 @@ export type CurrentTokenDatasOrderBy = { /** select columns of table "current_token_datas" */ export enum CurrentTokenDatasSelectColumn { /** column name */ - CollectionDataIdHash = 'collection_data_id_hash', + CollectionDataIdHash = "collection_data_id_hash", /** column name */ - CollectionName = 'collection_name', + CollectionName = "collection_name", /** column name */ - CreatorAddress = 'creator_address', + CreatorAddress = "creator_address", /** column name */ - DefaultProperties = 'default_properties', + DefaultProperties = "default_properties", /** column name */ - Description = 'description', + Description = "description", /** column name */ - DescriptionMutable = 'description_mutable', + DescriptionMutable = "description_mutable", /** column name */ - LargestPropertyVersion = 'largest_property_version', + LargestPropertyVersion = "largest_property_version", /** column name */ - LastTransactionTimestamp = 'last_transaction_timestamp', + LastTransactionTimestamp = "last_transaction_timestamp", /** column name */ - LastTransactionVersion = 'last_transaction_version', + LastTransactionVersion = "last_transaction_version", /** column name */ - Maximum = 'maximum', + Maximum = "maximum", /** column name */ - MaximumMutable = 'maximum_mutable', + MaximumMutable = "maximum_mutable", /** column name */ - MetadataUri = 'metadata_uri', + MetadataUri = "metadata_uri", /** column name */ - Name = 'name', + Name = "name", /** column name */ - PayeeAddress = 'payee_address', + PayeeAddress = "payee_address", /** column name */ - PropertiesMutable = 'properties_mutable', + PropertiesMutable = "properties_mutable", /** column name */ - RoyaltyMutable = 'royalty_mutable', + RoyaltyMutable = "royalty_mutable", /** column name */ - RoyaltyPointsDenominator = 'royalty_points_denominator', + RoyaltyPointsDenominator = "royalty_points_denominator", /** column name */ - RoyaltyPointsNumerator = 'royalty_points_numerator', + RoyaltyPointsNumerator = "royalty_points_numerator", /** column name */ - Supply = 'supply', + Supply = "supply", /** column name */ - TokenDataIdHash = 'token_data_id_hash', + TokenDataIdHash = "token_data_id_hash", /** column name */ - UriMutable = 'uri_mutable' + UriMutable = "uri_mutable", } /** Streaming cursor of the table "current_token_datas" */ @@ -3403,27 +3363,27 @@ export type CurrentTokenDatasStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type CurrentTokenDatasStreamCursorValueInput = { - collection_data_id_hash?: InputMaybe; - collection_name?: InputMaybe; - creator_address?: InputMaybe; - default_properties?: InputMaybe; - description?: InputMaybe; - description_mutable?: InputMaybe; - largest_property_version?: InputMaybe; - last_transaction_timestamp?: InputMaybe; - last_transaction_version?: InputMaybe; - maximum?: InputMaybe; - maximum_mutable?: InputMaybe; - metadata_uri?: InputMaybe; - name?: InputMaybe; - payee_address?: InputMaybe; - properties_mutable?: InputMaybe; - royalty_mutable?: InputMaybe; - royalty_points_denominator?: InputMaybe; - royalty_points_numerator?: InputMaybe; - supply?: InputMaybe; - token_data_id_hash?: InputMaybe; - uri_mutable?: InputMaybe; + collection_data_id_hash?: InputMaybe; + collection_name?: InputMaybe; + creator_address?: InputMaybe; + default_properties?: InputMaybe; + description?: InputMaybe; + description_mutable?: InputMaybe; + largest_property_version?: InputMaybe; + last_transaction_timestamp?: InputMaybe; + last_transaction_version?: InputMaybe; + maximum?: InputMaybe; + maximum_mutable?: InputMaybe; + metadata_uri?: InputMaybe; + name?: InputMaybe; + payee_address?: InputMaybe; + properties_mutable?: InputMaybe; + royalty_mutable?: InputMaybe; + royalty_points_denominator?: InputMaybe; + royalty_points_numerator?: InputMaybe; + supply?: InputMaybe; + token_data_id_hash?: InputMaybe; + uri_mutable?: InputMaybe; }; /** columns and relationships of "current_token_datas_v2" */ @@ -3432,29 +3392,28 @@ export type CurrentTokenDatasV2 = { aptos_name?: Maybe; /** An object relationship */ cdn_asset_uris?: Maybe; - collection_id: Scalars['String']; + collection_id: Scalars["String"]; /** An object relationship */ current_collection?: Maybe; /** An object relationship */ current_token_ownership?: Maybe; - description: Scalars['String']; - is_fungible_v2?: Maybe; - largest_property_version_v1?: Maybe; - last_transaction_timestamp: Scalars['timestamp']; - last_transaction_version: Scalars['bigint']; - maximum?: Maybe; - supply: Scalars['numeric']; - token_data_id: Scalars['String']; - token_name: Scalars['String']; - token_properties: Scalars['jsonb']; - token_standard: Scalars['String']; - token_uri: Scalars['String']; + description: Scalars["String"]; + is_fungible_v2?: Maybe; + largest_property_version_v1?: Maybe; + last_transaction_timestamp: Scalars["timestamp"]; + last_transaction_version: Scalars["bigint"]; + maximum?: Maybe; + supply: Scalars["numeric"]; + token_data_id: Scalars["String"]; + token_name: Scalars["String"]; + token_properties: Scalars["jsonb"]; + token_standard: Scalars["String"]; + token_uri: Scalars["String"]; }; - /** columns and relationships of "current_token_datas_v2" */ export type CurrentTokenDatasV2TokenPropertiesArgs = { - path?: InputMaybe; + path?: InputMaybe; }; /** Boolean expression to filter rows from the table "current_token_datas_v2". All fields are combined with a logical 'AND'. */ @@ -3505,31 +3464,31 @@ export type CurrentTokenDatasV2OrderBy = { /** select columns of table "current_token_datas_v2" */ export enum CurrentTokenDatasV2SelectColumn { /** column name */ - CollectionId = 'collection_id', + CollectionId = "collection_id", /** column name */ - Description = 'description', + Description = "description", /** column name */ - IsFungibleV2 = 'is_fungible_v2', + IsFungibleV2 = "is_fungible_v2", /** column name */ - LargestPropertyVersionV1 = 'largest_property_version_v1', + LargestPropertyVersionV1 = "largest_property_version_v1", /** column name */ - LastTransactionTimestamp = 'last_transaction_timestamp', + LastTransactionTimestamp = "last_transaction_timestamp", /** column name */ - LastTransactionVersion = 'last_transaction_version', + LastTransactionVersion = "last_transaction_version", /** column name */ - Maximum = 'maximum', + Maximum = "maximum", /** column name */ - Supply = 'supply', + Supply = "supply", /** column name */ - TokenDataId = 'token_data_id', + TokenDataId = "token_data_id", /** column name */ - TokenName = 'token_name', + TokenName = "token_name", /** column name */ - TokenProperties = 'token_properties', + TokenProperties = "token_properties", /** column name */ - TokenStandard = 'token_standard', + TokenStandard = "token_standard", /** column name */ - TokenUri = 'token_uri' + TokenUri = "token_uri", } /** Streaming cursor of the table "current_token_datas_v2" */ @@ -3542,47 +3501,46 @@ export type CurrentTokenDatasV2StreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type CurrentTokenDatasV2StreamCursorValueInput = { - collection_id?: InputMaybe; - description?: InputMaybe; - is_fungible_v2?: InputMaybe; - largest_property_version_v1?: InputMaybe; - last_transaction_timestamp?: InputMaybe; - last_transaction_version?: InputMaybe; - maximum?: InputMaybe; - supply?: InputMaybe; - token_data_id?: InputMaybe; - token_name?: InputMaybe; - token_properties?: InputMaybe; - token_standard?: InputMaybe; - token_uri?: InputMaybe; + collection_id?: InputMaybe; + description?: InputMaybe; + is_fungible_v2?: InputMaybe; + largest_property_version_v1?: InputMaybe; + last_transaction_timestamp?: InputMaybe; + last_transaction_version?: InputMaybe; + maximum?: InputMaybe; + supply?: InputMaybe; + token_data_id?: InputMaybe; + token_name?: InputMaybe; + token_properties?: InputMaybe; + token_standard?: InputMaybe; + token_uri?: InputMaybe; }; /** columns and relationships of "current_token_ownerships" */ export type CurrentTokenOwnerships = { - amount: Scalars['numeric']; + amount: Scalars["numeric"]; /** An object relationship */ aptos_name?: Maybe; - collection_data_id_hash: Scalars['String']; - collection_name: Scalars['String']; - creator_address: Scalars['String']; + collection_data_id_hash: Scalars["String"]; + collection_name: Scalars["String"]; + creator_address: Scalars["String"]; /** An object relationship */ current_collection_data?: Maybe; /** An object relationship */ current_token_data?: Maybe; - last_transaction_timestamp: Scalars['timestamp']; - last_transaction_version: Scalars['bigint']; - name: Scalars['String']; - owner_address: Scalars['String']; - property_version: Scalars['numeric']; - table_type: Scalars['String']; - token_data_id_hash: Scalars['String']; - token_properties: Scalars['jsonb']; + last_transaction_timestamp: Scalars["timestamp"]; + last_transaction_version: Scalars["bigint"]; + name: Scalars["String"]; + owner_address: Scalars["String"]; + property_version: Scalars["numeric"]; + table_type: Scalars["String"]; + token_data_id_hash: Scalars["String"]; + token_properties: Scalars["jsonb"]; }; - /** columns and relationships of "current_token_ownerships" */ export type CurrentTokenOwnershipsTokenPropertiesArgs = { - path?: InputMaybe; + path?: InputMaybe; }; /** aggregated selection of "current_token_ownerships" */ @@ -3594,7 +3552,7 @@ export type CurrentTokenOwnershipsAggregate = { /** aggregate fields of "current_token_ownerships" */ export type CurrentTokenOwnershipsAggregateFields = { avg?: Maybe; - count: Scalars['Int']; + count: Scalars["Int"]; max?: Maybe; min?: Maybe; stddev?: Maybe; @@ -3606,11 +3564,10 @@ export type CurrentTokenOwnershipsAggregateFields = { variance?: Maybe; }; - /** aggregate fields of "current_token_ownerships" */ export type CurrentTokenOwnershipsAggregateFieldsCountArgs = { columns?: InputMaybe>; - distinct?: InputMaybe; + distinct?: InputMaybe; }; /** order by aggregate values of table "current_token_ownerships" */ @@ -3630,9 +3587,9 @@ export type CurrentTokenOwnershipsAggregateOrderBy = { /** aggregate avg on columns */ export type CurrentTokenOwnershipsAvgFields = { - amount?: Maybe; - last_transaction_version?: Maybe; - property_version?: Maybe; + amount?: Maybe; + last_transaction_version?: Maybe; + property_version?: Maybe; }; /** order by avg() on columns of table "current_token_ownerships" */ @@ -3666,17 +3623,17 @@ export type CurrentTokenOwnershipsBoolExp = { /** aggregate max on columns */ export type CurrentTokenOwnershipsMaxFields = { - amount?: Maybe; - collection_data_id_hash?: Maybe; - collection_name?: Maybe; - creator_address?: Maybe; - last_transaction_timestamp?: Maybe; - last_transaction_version?: Maybe; - name?: Maybe; - owner_address?: Maybe; - property_version?: Maybe; - table_type?: Maybe; - token_data_id_hash?: Maybe; + amount?: Maybe; + collection_data_id_hash?: Maybe; + collection_name?: Maybe; + creator_address?: Maybe; + last_transaction_timestamp?: Maybe; + last_transaction_version?: Maybe; + name?: Maybe; + owner_address?: Maybe; + property_version?: Maybe; + table_type?: Maybe; + token_data_id_hash?: Maybe; }; /** order by max() on columns of table "current_token_ownerships" */ @@ -3696,17 +3653,17 @@ export type CurrentTokenOwnershipsMaxOrderBy = { /** aggregate min on columns */ export type CurrentTokenOwnershipsMinFields = { - amount?: Maybe; - collection_data_id_hash?: Maybe; - collection_name?: Maybe; - creator_address?: Maybe; - last_transaction_timestamp?: Maybe; - last_transaction_version?: Maybe; - name?: Maybe; - owner_address?: Maybe; - property_version?: Maybe; - table_type?: Maybe; - token_data_id_hash?: Maybe; + amount?: Maybe; + collection_data_id_hash?: Maybe; + collection_name?: Maybe; + creator_address?: Maybe; + last_transaction_timestamp?: Maybe; + last_transaction_version?: Maybe; + name?: Maybe; + owner_address?: Maybe; + property_version?: Maybe; + table_type?: Maybe; + token_data_id_hash?: Maybe; }; /** order by min() on columns of table "current_token_ownerships" */ @@ -3746,36 +3703,36 @@ export type CurrentTokenOwnershipsOrderBy = { /** select columns of table "current_token_ownerships" */ export enum CurrentTokenOwnershipsSelectColumn { /** column name */ - Amount = 'amount', + Amount = "amount", /** column name */ - CollectionDataIdHash = 'collection_data_id_hash', + CollectionDataIdHash = "collection_data_id_hash", /** column name */ - CollectionName = 'collection_name', + CollectionName = "collection_name", /** column name */ - CreatorAddress = 'creator_address', + CreatorAddress = "creator_address", /** column name */ - LastTransactionTimestamp = 'last_transaction_timestamp', + LastTransactionTimestamp = "last_transaction_timestamp", /** column name */ - LastTransactionVersion = 'last_transaction_version', + LastTransactionVersion = "last_transaction_version", /** column name */ - Name = 'name', + Name = "name", /** column name */ - OwnerAddress = 'owner_address', + OwnerAddress = "owner_address", /** column name */ - PropertyVersion = 'property_version', + PropertyVersion = "property_version", /** column name */ - TableType = 'table_type', + TableType = "table_type", /** column name */ - TokenDataIdHash = 'token_data_id_hash', + TokenDataIdHash = "token_data_id_hash", /** column name */ - TokenProperties = 'token_properties' + TokenProperties = "token_properties", } /** aggregate stddev on columns */ export type CurrentTokenOwnershipsStddevFields = { - amount?: Maybe; - last_transaction_version?: Maybe; - property_version?: Maybe; + amount?: Maybe; + last_transaction_version?: Maybe; + property_version?: Maybe; }; /** order by stddev() on columns of table "current_token_ownerships" */ @@ -3787,9 +3744,9 @@ export type CurrentTokenOwnershipsStddevOrderBy = { /** aggregate stddev_pop on columns */ export type CurrentTokenOwnershipsStddevPopFields = { - amount?: Maybe; - last_transaction_version?: Maybe; - property_version?: Maybe; + amount?: Maybe; + last_transaction_version?: Maybe; + property_version?: Maybe; }; /** order by stddev_pop() on columns of table "current_token_ownerships" */ @@ -3801,9 +3758,9 @@ export type CurrentTokenOwnershipsStddevPopOrderBy = { /** aggregate stddev_samp on columns */ export type CurrentTokenOwnershipsStddevSampFields = { - amount?: Maybe; - last_transaction_version?: Maybe; - property_version?: Maybe; + amount?: Maybe; + last_transaction_version?: Maybe; + property_version?: Maybe; }; /** order by stddev_samp() on columns of table "current_token_ownerships" */ @@ -3823,25 +3780,25 @@ export type CurrentTokenOwnershipsStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type CurrentTokenOwnershipsStreamCursorValueInput = { - amount?: InputMaybe; - collection_data_id_hash?: InputMaybe; - collection_name?: InputMaybe; - creator_address?: InputMaybe; - last_transaction_timestamp?: InputMaybe; - last_transaction_version?: InputMaybe; - name?: InputMaybe; - owner_address?: InputMaybe; - property_version?: InputMaybe; - table_type?: InputMaybe; - token_data_id_hash?: InputMaybe; - token_properties?: InputMaybe; + amount?: InputMaybe; + collection_data_id_hash?: InputMaybe; + collection_name?: InputMaybe; + creator_address?: InputMaybe; + last_transaction_timestamp?: InputMaybe; + last_transaction_version?: InputMaybe; + name?: InputMaybe; + owner_address?: InputMaybe; + property_version?: InputMaybe; + table_type?: InputMaybe; + token_data_id_hash?: InputMaybe; + token_properties?: InputMaybe; }; /** aggregate sum on columns */ export type CurrentTokenOwnershipsSumFields = { - amount?: Maybe; - last_transaction_version?: Maybe; - property_version?: Maybe; + amount?: Maybe; + last_transaction_version?: Maybe; + property_version?: Maybe; }; /** order by sum() on columns of table "current_token_ownerships" */ @@ -3853,50 +3810,47 @@ export type CurrentTokenOwnershipsSumOrderBy = { /** columns and relationships of "current_token_ownerships_v2" */ export type CurrentTokenOwnershipsV2 = { - amount: Scalars['numeric']; + amount: Scalars["numeric"]; /** An array relationship */ composed_nfts: Array; /** An aggregate relationship */ composed_nfts_aggregate: CurrentTokenOwnershipsV2Aggregate; /** An object relationship */ current_token_data?: Maybe; - is_fungible_v2?: Maybe; - is_soulbound_v2?: Maybe; - last_transaction_timestamp: Scalars['timestamp']; - last_transaction_version: Scalars['bigint']; - owner_address: Scalars['String']; - property_version_v1: Scalars['numeric']; - storage_id: Scalars['String']; - table_type_v1?: Maybe; - token_data_id: Scalars['String']; - token_properties_mutated_v1?: Maybe; - token_standard: Scalars['String']; + is_fungible_v2?: Maybe; + is_soulbound_v2?: Maybe; + last_transaction_timestamp: Scalars["timestamp"]; + last_transaction_version: Scalars["bigint"]; + owner_address: Scalars["String"]; + property_version_v1: Scalars["numeric"]; + storage_id: Scalars["String"]; + table_type_v1?: Maybe; + token_data_id: Scalars["String"]; + token_properties_mutated_v1?: Maybe; + token_standard: Scalars["String"]; }; - /** columns and relationships of "current_token_ownerships_v2" */ export type CurrentTokenOwnershipsV2ComposedNftsArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - /** columns and relationships of "current_token_ownerships_v2" */ export type CurrentTokenOwnershipsV2ComposedNftsAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - /** columns and relationships of "current_token_ownerships_v2" */ export type CurrentTokenOwnershipsV2TokenPropertiesMutatedV1Args = { - path?: InputMaybe; + path?: InputMaybe; }; /** aggregated selection of "current_token_ownerships_v2" */ @@ -3908,7 +3862,7 @@ export type CurrentTokenOwnershipsV2Aggregate = { /** aggregate fields of "current_token_ownerships_v2" */ export type CurrentTokenOwnershipsV2AggregateFields = { avg?: Maybe; - count: Scalars['Int']; + count: Scalars["Int"]; max?: Maybe; min?: Maybe; stddev?: Maybe; @@ -3920,11 +3874,10 @@ export type CurrentTokenOwnershipsV2AggregateFields = { variance?: Maybe; }; - /** aggregate fields of "current_token_ownerships_v2" */ export type CurrentTokenOwnershipsV2AggregateFieldsCountArgs = { columns?: InputMaybe>; - distinct?: InputMaybe; + distinct?: InputMaybe; }; /** order by aggregate values of table "current_token_ownerships_v2" */ @@ -3944,9 +3897,9 @@ export type CurrentTokenOwnershipsV2AggregateOrderBy = { /** aggregate avg on columns */ export type CurrentTokenOwnershipsV2AvgFields = { - amount?: Maybe; - last_transaction_version?: Maybe; - property_version_v1?: Maybe; + amount?: Maybe; + last_transaction_version?: Maybe; + property_version_v1?: Maybe; }; /** order by avg() on columns of table "current_token_ownerships_v2" */ @@ -3979,15 +3932,15 @@ export type CurrentTokenOwnershipsV2BoolExp = { /** aggregate max on columns */ export type CurrentTokenOwnershipsV2MaxFields = { - amount?: Maybe; - last_transaction_timestamp?: Maybe; - last_transaction_version?: Maybe; - owner_address?: Maybe; - property_version_v1?: Maybe; - storage_id?: Maybe; - table_type_v1?: Maybe; - token_data_id?: Maybe; - token_standard?: Maybe; + amount?: Maybe; + last_transaction_timestamp?: Maybe; + last_transaction_version?: Maybe; + owner_address?: Maybe; + property_version_v1?: Maybe; + storage_id?: Maybe; + table_type_v1?: Maybe; + token_data_id?: Maybe; + token_standard?: Maybe; }; /** order by max() on columns of table "current_token_ownerships_v2" */ @@ -4005,15 +3958,15 @@ export type CurrentTokenOwnershipsV2MaxOrderBy = { /** aggregate min on columns */ export type CurrentTokenOwnershipsV2MinFields = { - amount?: Maybe; - last_transaction_timestamp?: Maybe; - last_transaction_version?: Maybe; - owner_address?: Maybe; - property_version_v1?: Maybe; - storage_id?: Maybe; - table_type_v1?: Maybe; - token_data_id?: Maybe; - token_standard?: Maybe; + amount?: Maybe; + last_transaction_timestamp?: Maybe; + last_transaction_version?: Maybe; + owner_address?: Maybe; + property_version_v1?: Maybe; + storage_id?: Maybe; + table_type_v1?: Maybe; + token_data_id?: Maybe; + token_standard?: Maybe; }; /** order by min() on columns of table "current_token_ownerships_v2" */ @@ -4050,36 +4003,36 @@ export type CurrentTokenOwnershipsV2OrderBy = { /** select columns of table "current_token_ownerships_v2" */ export enum CurrentTokenOwnershipsV2SelectColumn { /** column name */ - Amount = 'amount', + Amount = "amount", /** column name */ - IsFungibleV2 = 'is_fungible_v2', + IsFungibleV2 = "is_fungible_v2", /** column name */ - IsSoulboundV2 = 'is_soulbound_v2', + IsSoulboundV2 = "is_soulbound_v2", /** column name */ - LastTransactionTimestamp = 'last_transaction_timestamp', + LastTransactionTimestamp = "last_transaction_timestamp", /** column name */ - LastTransactionVersion = 'last_transaction_version', + LastTransactionVersion = "last_transaction_version", /** column name */ - OwnerAddress = 'owner_address', + OwnerAddress = "owner_address", /** column name */ - PropertyVersionV1 = 'property_version_v1', + PropertyVersionV1 = "property_version_v1", /** column name */ - StorageId = 'storage_id', + StorageId = "storage_id", /** column name */ - TableTypeV1 = 'table_type_v1', + TableTypeV1 = "table_type_v1", /** column name */ - TokenDataId = 'token_data_id', + TokenDataId = "token_data_id", /** column name */ - TokenPropertiesMutatedV1 = 'token_properties_mutated_v1', + TokenPropertiesMutatedV1 = "token_properties_mutated_v1", /** column name */ - TokenStandard = 'token_standard' + TokenStandard = "token_standard", } /** aggregate stddev on columns */ export type CurrentTokenOwnershipsV2StddevFields = { - amount?: Maybe; - last_transaction_version?: Maybe; - property_version_v1?: Maybe; + amount?: Maybe; + last_transaction_version?: Maybe; + property_version_v1?: Maybe; }; /** order by stddev() on columns of table "current_token_ownerships_v2" */ @@ -4091,9 +4044,9 @@ export type CurrentTokenOwnershipsV2StddevOrderBy = { /** aggregate stddev_pop on columns */ export type CurrentTokenOwnershipsV2StddevPopFields = { - amount?: Maybe; - last_transaction_version?: Maybe; - property_version_v1?: Maybe; + amount?: Maybe; + last_transaction_version?: Maybe; + property_version_v1?: Maybe; }; /** order by stddev_pop() on columns of table "current_token_ownerships_v2" */ @@ -4105,9 +4058,9 @@ export type CurrentTokenOwnershipsV2StddevPopOrderBy = { /** aggregate stddev_samp on columns */ export type CurrentTokenOwnershipsV2StddevSampFields = { - amount?: Maybe; - last_transaction_version?: Maybe; - property_version_v1?: Maybe; + amount?: Maybe; + last_transaction_version?: Maybe; + property_version_v1?: Maybe; }; /** order by stddev_samp() on columns of table "current_token_ownerships_v2" */ @@ -4127,25 +4080,25 @@ export type CurrentTokenOwnershipsV2StreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type CurrentTokenOwnershipsV2StreamCursorValueInput = { - amount?: InputMaybe; - is_fungible_v2?: InputMaybe; - is_soulbound_v2?: InputMaybe; - last_transaction_timestamp?: InputMaybe; - last_transaction_version?: InputMaybe; - owner_address?: InputMaybe; - property_version_v1?: InputMaybe; - storage_id?: InputMaybe; - table_type_v1?: InputMaybe; - token_data_id?: InputMaybe; - token_properties_mutated_v1?: InputMaybe; - token_standard?: InputMaybe; + amount?: InputMaybe; + is_fungible_v2?: InputMaybe; + is_soulbound_v2?: InputMaybe; + last_transaction_timestamp?: InputMaybe; + last_transaction_version?: InputMaybe; + owner_address?: InputMaybe; + property_version_v1?: InputMaybe; + storage_id?: InputMaybe; + table_type_v1?: InputMaybe; + token_data_id?: InputMaybe; + token_properties_mutated_v1?: InputMaybe; + token_standard?: InputMaybe; }; /** aggregate sum on columns */ export type CurrentTokenOwnershipsV2SumFields = { - amount?: Maybe; - last_transaction_version?: Maybe; - property_version_v1?: Maybe; + amount?: Maybe; + last_transaction_version?: Maybe; + property_version_v1?: Maybe; }; /** order by sum() on columns of table "current_token_ownerships_v2" */ @@ -4157,9 +4110,9 @@ export type CurrentTokenOwnershipsV2SumOrderBy = { /** aggregate var_pop on columns */ export type CurrentTokenOwnershipsV2VarPopFields = { - amount?: Maybe; - last_transaction_version?: Maybe; - property_version_v1?: Maybe; + amount?: Maybe; + last_transaction_version?: Maybe; + property_version_v1?: Maybe; }; /** order by var_pop() on columns of table "current_token_ownerships_v2" */ @@ -4171,9 +4124,9 @@ export type CurrentTokenOwnershipsV2VarPopOrderBy = { /** aggregate var_samp on columns */ export type CurrentTokenOwnershipsV2VarSampFields = { - amount?: Maybe; - last_transaction_version?: Maybe; - property_version_v1?: Maybe; + amount?: Maybe; + last_transaction_version?: Maybe; + property_version_v1?: Maybe; }; /** order by var_samp() on columns of table "current_token_ownerships_v2" */ @@ -4185,9 +4138,9 @@ export type CurrentTokenOwnershipsV2VarSampOrderBy = { /** aggregate variance on columns */ export type CurrentTokenOwnershipsV2VarianceFields = { - amount?: Maybe; - last_transaction_version?: Maybe; - property_version_v1?: Maybe; + amount?: Maybe; + last_transaction_version?: Maybe; + property_version_v1?: Maybe; }; /** order by variance() on columns of table "current_token_ownerships_v2" */ @@ -4199,9 +4152,9 @@ export type CurrentTokenOwnershipsV2VarianceOrderBy = { /** aggregate var_pop on columns */ export type CurrentTokenOwnershipsVarPopFields = { - amount?: Maybe; - last_transaction_version?: Maybe; - property_version?: Maybe; + amount?: Maybe; + last_transaction_version?: Maybe; + property_version?: Maybe; }; /** order by var_pop() on columns of table "current_token_ownerships" */ @@ -4213,9 +4166,9 @@ export type CurrentTokenOwnershipsVarPopOrderBy = { /** aggregate var_samp on columns */ export type CurrentTokenOwnershipsVarSampFields = { - amount?: Maybe; - last_transaction_version?: Maybe; - property_version?: Maybe; + amount?: Maybe; + last_transaction_version?: Maybe; + property_version?: Maybe; }; /** order by var_samp() on columns of table "current_token_ownerships" */ @@ -4227,9 +4180,9 @@ export type CurrentTokenOwnershipsVarSampOrderBy = { /** aggregate variance on columns */ export type CurrentTokenOwnershipsVarianceFields = { - amount?: Maybe; - last_transaction_version?: Maybe; - property_version?: Maybe; + amount?: Maybe; + last_transaction_version?: Maybe; + property_version?: Maybe; }; /** order by variance() on columns of table "current_token_ownerships" */ @@ -4241,11 +4194,11 @@ export type CurrentTokenOwnershipsVarianceOrderBy = { /** columns and relationships of "current_token_pending_claims" */ export type CurrentTokenPendingClaims = { - amount: Scalars['numeric']; - collection_data_id_hash: Scalars['String']; - collection_id: Scalars['String']; - collection_name: Scalars['String']; - creator_address: Scalars['String']; + amount: Scalars["numeric"]; + collection_data_id_hash: Scalars["String"]; + collection_id: Scalars["String"]; + collection_name: Scalars["String"]; + creator_address: Scalars["String"]; /** An object relationship */ current_collection_data?: Maybe; /** An object relationship */ @@ -4254,17 +4207,17 @@ export type CurrentTokenPendingClaims = { current_token_data?: Maybe; /** An object relationship */ current_token_data_v2?: Maybe; - from_address: Scalars['String']; - last_transaction_timestamp: Scalars['timestamp']; - last_transaction_version: Scalars['bigint']; - name: Scalars['String']; - property_version: Scalars['numeric']; - table_handle: Scalars['String']; - to_address: Scalars['String']; + from_address: Scalars["String"]; + last_transaction_timestamp: Scalars["timestamp"]; + last_transaction_version: Scalars["bigint"]; + name: Scalars["String"]; + property_version: Scalars["numeric"]; + table_handle: Scalars["String"]; + to_address: Scalars["String"]; /** An object relationship */ token?: Maybe; - token_data_id: Scalars['String']; - token_data_id_hash: Scalars['String']; + token_data_id: Scalars["String"]; + token_data_id_hash: Scalars["String"]; }; /** Boolean expression to filter rows from the table "current_token_pending_claims". All fields are combined with a logical 'AND'. */ @@ -4319,33 +4272,33 @@ export type CurrentTokenPendingClaimsOrderBy = { /** select columns of table "current_token_pending_claims" */ export enum CurrentTokenPendingClaimsSelectColumn { /** column name */ - Amount = 'amount', + Amount = "amount", /** column name */ - CollectionDataIdHash = 'collection_data_id_hash', + CollectionDataIdHash = "collection_data_id_hash", /** column name */ - CollectionId = 'collection_id', + CollectionId = "collection_id", /** column name */ - CollectionName = 'collection_name', + CollectionName = "collection_name", /** column name */ - CreatorAddress = 'creator_address', + CreatorAddress = "creator_address", /** column name */ - FromAddress = 'from_address', + FromAddress = "from_address", /** column name */ - LastTransactionTimestamp = 'last_transaction_timestamp', + LastTransactionTimestamp = "last_transaction_timestamp", /** column name */ - LastTransactionVersion = 'last_transaction_version', + LastTransactionVersion = "last_transaction_version", /** column name */ - Name = 'name', + Name = "name", /** column name */ - PropertyVersion = 'property_version', + PropertyVersion = "property_version", /** column name */ - TableHandle = 'table_handle', + TableHandle = "table_handle", /** column name */ - ToAddress = 'to_address', + ToAddress = "to_address", /** column name */ - TokenDataId = 'token_data_id', + TokenDataId = "token_data_id", /** column name */ - TokenDataIdHash = 'token_data_id_hash' + TokenDataIdHash = "token_data_id_hash", } /** Streaming cursor of the table "current_token_pending_claims" */ @@ -4358,38 +4311,38 @@ export type CurrentTokenPendingClaimsStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type CurrentTokenPendingClaimsStreamCursorValueInput = { - amount?: InputMaybe; - collection_data_id_hash?: InputMaybe; - collection_id?: InputMaybe; - collection_name?: InputMaybe; - creator_address?: InputMaybe; - from_address?: InputMaybe; - last_transaction_timestamp?: InputMaybe; - last_transaction_version?: InputMaybe; - name?: InputMaybe; - property_version?: InputMaybe; - table_handle?: InputMaybe; - to_address?: InputMaybe; - token_data_id?: InputMaybe; - token_data_id_hash?: InputMaybe; + amount?: InputMaybe; + collection_data_id_hash?: InputMaybe; + collection_id?: InputMaybe; + collection_name?: InputMaybe; + creator_address?: InputMaybe; + from_address?: InputMaybe; + last_transaction_timestamp?: InputMaybe; + last_transaction_version?: InputMaybe; + name?: InputMaybe; + property_version?: InputMaybe; + table_handle?: InputMaybe; + to_address?: InputMaybe; + token_data_id?: InputMaybe; + token_data_id_hash?: InputMaybe; }; /** ordering argument of a cursor */ export enum CursorOrdering { /** ascending ordering of the cursor */ - Asc = 'ASC', + Asc = "ASC", /** descending ordering of the cursor */ - Desc = 'DESC' + Desc = "DESC", } /** columns and relationships of "delegated_staking_activities" */ export type DelegatedStakingActivities = { - amount: Scalars['numeric']; - delegator_address: Scalars['String']; - event_index: Scalars['bigint']; - event_type: Scalars['String']; - pool_address: Scalars['String']; - transaction_version: Scalars['bigint']; + amount: Scalars["numeric"]; + delegator_address: Scalars["String"]; + event_index: Scalars["bigint"]; + event_type: Scalars["String"]; + pool_address: Scalars["String"]; + transaction_version: Scalars["bigint"]; }; /** order by aggregate values of table "delegated_staking_activities" */ @@ -4460,17 +4413,17 @@ export type DelegatedStakingActivitiesOrderBy = { /** select columns of table "delegated_staking_activities" */ export enum DelegatedStakingActivitiesSelectColumn { /** column name */ - Amount = 'amount', + Amount = "amount", /** column name */ - DelegatorAddress = 'delegator_address', + DelegatorAddress = "delegator_address", /** column name */ - EventIndex = 'event_index', + EventIndex = "event_index", /** column name */ - EventType = 'event_type', + EventType = "event_type", /** column name */ - PoolAddress = 'pool_address', + PoolAddress = "pool_address", /** column name */ - TransactionVersion = 'transaction_version' + TransactionVersion = "transaction_version", } /** order by stddev() on columns of table "delegated_staking_activities" */ @@ -4504,12 +4457,12 @@ export type DelegatedStakingActivitiesStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type DelegatedStakingActivitiesStreamCursorValueInput = { - amount?: InputMaybe; - delegator_address?: InputMaybe; - event_index?: InputMaybe; - event_type?: InputMaybe; - pool_address?: InputMaybe; - transaction_version?: InputMaybe; + amount?: InputMaybe; + delegator_address?: InputMaybe; + event_index?: InputMaybe; + event_type?: InputMaybe; + pool_address?: InputMaybe; + transaction_version?: InputMaybe; }; /** order by sum() on columns of table "delegated_staking_activities" */ @@ -4544,8 +4497,8 @@ export type DelegatedStakingActivitiesVarianceOrderBy = { export type DelegatedStakingPools = { /** An object relationship */ current_staking_pool?: Maybe; - first_transaction_version: Scalars['bigint']; - staking_pool_address: Scalars['String']; + first_transaction_version: Scalars["bigint"]; + staking_pool_address: Scalars["String"]; }; /** Boolean expression to filter rows from the table "delegated_staking_pools". All fields are combined with a logical 'AND'. */ @@ -4568,9 +4521,9 @@ export type DelegatedStakingPoolsOrderBy = { /** select columns of table "delegated_staking_pools" */ export enum DelegatedStakingPoolsSelectColumn { /** column name */ - FirstTransactionVersion = 'first_transaction_version', + FirstTransactionVersion = "first_transaction_version", /** column name */ - StakingPoolAddress = 'staking_pool_address' + StakingPoolAddress = "staking_pool_address", } /** Streaming cursor of the table "delegated_staking_pools" */ @@ -4583,16 +4536,16 @@ export type DelegatedStakingPoolsStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type DelegatedStakingPoolsStreamCursorValueInput = { - first_transaction_version?: InputMaybe; - staking_pool_address?: InputMaybe; + first_transaction_version?: InputMaybe; + staking_pool_address?: InputMaybe; }; /** columns and relationships of "delegator_distinct_pool" */ export type DelegatorDistinctPool = { /** An object relationship */ current_pool_balance?: Maybe; - delegator_address?: Maybe; - pool_address?: Maybe; + delegator_address?: Maybe; + pool_address?: Maybe; /** An object relationship */ staking_pool_metadata?: Maybe; }; @@ -4605,16 +4558,15 @@ export type DelegatorDistinctPoolAggregate = { /** aggregate fields of "delegator_distinct_pool" */ export type DelegatorDistinctPoolAggregateFields = { - count: Scalars['Int']; + count: Scalars["Int"]; max?: Maybe; min?: Maybe; }; - /** aggregate fields of "delegator_distinct_pool" */ export type DelegatorDistinctPoolAggregateFieldsCountArgs = { columns?: InputMaybe>; - distinct?: InputMaybe; + distinct?: InputMaybe; }; /** Boolean expression to filter rows from the table "delegator_distinct_pool". All fields are combined with a logical 'AND'. */ @@ -4630,14 +4582,14 @@ export type DelegatorDistinctPoolBoolExp = { /** aggregate max on columns */ export type DelegatorDistinctPoolMaxFields = { - delegator_address?: Maybe; - pool_address?: Maybe; + delegator_address?: Maybe; + pool_address?: Maybe; }; /** aggregate min on columns */ export type DelegatorDistinctPoolMinFields = { - delegator_address?: Maybe; - pool_address?: Maybe; + delegator_address?: Maybe; + pool_address?: Maybe; }; /** Ordering options when selecting data from "delegator_distinct_pool". */ @@ -4651,9 +4603,9 @@ export type DelegatorDistinctPoolOrderBy = { /** select columns of table "delegator_distinct_pool" */ export enum DelegatorDistinctPoolSelectColumn { /** column name */ - DelegatorAddress = 'delegator_address', + DelegatorAddress = "delegator_address", /** column name */ - PoolAddress = 'pool_address' + PoolAddress = "pool_address", } /** Streaming cursor of the table "delegator_distinct_pool" */ @@ -4666,26 +4618,25 @@ export type DelegatorDistinctPoolStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type DelegatorDistinctPoolStreamCursorValueInput = { - delegator_address?: InputMaybe; - pool_address?: InputMaybe; + delegator_address?: InputMaybe; + pool_address?: InputMaybe; }; /** columns and relationships of "events" */ export type Events = { - account_address: Scalars['String']; - creation_number: Scalars['bigint']; - data: Scalars['jsonb']; - event_index: Scalars['bigint']; - sequence_number: Scalars['bigint']; - transaction_block_height: Scalars['bigint']; - transaction_version: Scalars['bigint']; - type: Scalars['String']; + account_address: Scalars["String"]; + creation_number: Scalars["bigint"]; + data: Scalars["jsonb"]; + event_index: Scalars["bigint"]; + sequence_number: Scalars["bigint"]; + transaction_block_height: Scalars["bigint"]; + transaction_version: Scalars["bigint"]; + type: Scalars["String"]; }; - /** columns and relationships of "events" */ export type EventsDataArgs = { - path?: InputMaybe; + path?: InputMaybe; }; /** Boolean expression to filter rows from the table "events". All fields are combined with a logical 'AND'. */ @@ -4718,21 +4669,21 @@ export type EventsOrderBy = { /** select columns of table "events" */ export enum EventsSelectColumn { /** column name */ - AccountAddress = 'account_address', + AccountAddress = "account_address", /** column name */ - CreationNumber = 'creation_number', + CreationNumber = "creation_number", /** column name */ - Data = 'data', + Data = "data", /** column name */ - EventIndex = 'event_index', + EventIndex = "event_index", /** column name */ - SequenceNumber = 'sequence_number', + SequenceNumber = "sequence_number", /** column name */ - TransactionBlockHeight = 'transaction_block_height', + TransactionBlockHeight = "transaction_block_height", /** column name */ - TransactionVersion = 'transaction_version', + TransactionVersion = "transaction_version", /** column name */ - Type = 'type' + Type = "type", } /** Streaming cursor of the table "events" */ @@ -4745,58 +4696,56 @@ export type EventsStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type EventsStreamCursorValueInput = { - account_address?: InputMaybe; - creation_number?: InputMaybe; - data?: InputMaybe; - event_index?: InputMaybe; - sequence_number?: InputMaybe; - transaction_block_height?: InputMaybe; - transaction_version?: InputMaybe; - type?: InputMaybe; + account_address?: InputMaybe; + creation_number?: InputMaybe; + data?: InputMaybe; + event_index?: InputMaybe; + sequence_number?: InputMaybe; + transaction_block_height?: InputMaybe; + transaction_version?: InputMaybe; + type?: InputMaybe; }; /** columns and relationships of "fungible_asset_activities" */ export type FungibleAssetActivities = { - amount?: Maybe; - asset_type: Scalars['String']; - block_height: Scalars['bigint']; - entry_function_id_str?: Maybe; - event_index: Scalars['bigint']; - gas_fee_payer_address?: Maybe; - is_frozen?: Maybe; - is_gas_fee: Scalars['Boolean']; - is_transaction_success: Scalars['Boolean']; + amount?: Maybe; + asset_type: Scalars["String"]; + block_height: Scalars["bigint"]; + entry_function_id_str?: Maybe; + event_index: Scalars["bigint"]; + gas_fee_payer_address?: Maybe; + is_frozen?: Maybe; + is_gas_fee: Scalars["Boolean"]; + is_transaction_success: Scalars["Boolean"]; /** An object relationship */ metadata?: Maybe; - owner_address: Scalars['String']; + owner_address: Scalars["String"]; /** An array relationship */ owner_aptos_names: Array; /** An aggregate relationship */ owner_aptos_names_aggregate: CurrentAptosNamesAggregate; - storage_id: Scalars['String']; - storage_refund_amount: Scalars['numeric']; - token_standard: Scalars['String']; - transaction_timestamp: Scalars['timestamp']; - transaction_version: Scalars['bigint']; - type: Scalars['String']; + storage_id: Scalars["String"]; + storage_refund_amount: Scalars["numeric"]; + token_standard: Scalars["String"]; + transaction_timestamp: Scalars["timestamp"]; + transaction_version: Scalars["bigint"]; + type: Scalars["String"]; }; - /** columns and relationships of "fungible_asset_activities" */ export type FungibleAssetActivitiesOwnerAptosNamesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - /** columns and relationships of "fungible_asset_activities" */ export type FungibleAssetActivitiesOwnerAptosNamesAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; @@ -4909,37 +4858,37 @@ export type FungibleAssetActivitiesOrderBy = { /** select columns of table "fungible_asset_activities" */ export enum FungibleAssetActivitiesSelectColumn { /** column name */ - Amount = 'amount', + Amount = "amount", /** column name */ - AssetType = 'asset_type', + AssetType = "asset_type", /** column name */ - BlockHeight = 'block_height', + BlockHeight = "block_height", /** column name */ - EntryFunctionIdStr = 'entry_function_id_str', + EntryFunctionIdStr = "entry_function_id_str", /** column name */ - EventIndex = 'event_index', + EventIndex = "event_index", /** column name */ - GasFeePayerAddress = 'gas_fee_payer_address', + GasFeePayerAddress = "gas_fee_payer_address", /** column name */ - IsFrozen = 'is_frozen', + IsFrozen = "is_frozen", /** column name */ - IsGasFee = 'is_gas_fee', + IsGasFee = "is_gas_fee", /** column name */ - IsTransactionSuccess = 'is_transaction_success', + IsTransactionSuccess = "is_transaction_success", /** column name */ - OwnerAddress = 'owner_address', + OwnerAddress = "owner_address", /** column name */ - StorageId = 'storage_id', + StorageId = "storage_id", /** column name */ - StorageRefundAmount = 'storage_refund_amount', + StorageRefundAmount = "storage_refund_amount", /** column name */ - TokenStandard = 'token_standard', + TokenStandard = "token_standard", /** column name */ - TransactionTimestamp = 'transaction_timestamp', + TransactionTimestamp = "transaction_timestamp", /** column name */ - TransactionVersion = 'transaction_version', + TransactionVersion = "transaction_version", /** column name */ - Type = 'type' + Type = "type", } /** order by stddev() on columns of table "fungible_asset_activities" */ @@ -4979,22 +4928,22 @@ export type FungibleAssetActivitiesStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type FungibleAssetActivitiesStreamCursorValueInput = { - amount?: InputMaybe; - asset_type?: InputMaybe; - block_height?: InputMaybe; - entry_function_id_str?: InputMaybe; - event_index?: InputMaybe; - gas_fee_payer_address?: InputMaybe; - is_frozen?: InputMaybe; - is_gas_fee?: InputMaybe; - is_transaction_success?: InputMaybe; - owner_address?: InputMaybe; - storage_id?: InputMaybe; - storage_refund_amount?: InputMaybe; - token_standard?: InputMaybe; - transaction_timestamp?: InputMaybe; - transaction_version?: InputMaybe; - type?: InputMaybe; + amount?: InputMaybe; + asset_type?: InputMaybe; + block_height?: InputMaybe; + entry_function_id_str?: InputMaybe; + event_index?: InputMaybe; + gas_fee_payer_address?: InputMaybe; + is_frozen?: InputMaybe; + is_gas_fee?: InputMaybe; + is_transaction_success?: InputMaybe; + owner_address?: InputMaybe; + storage_id?: InputMaybe; + storage_refund_amount?: InputMaybe; + token_standard?: InputMaybe; + transaction_timestamp?: InputMaybe; + transaction_version?: InputMaybe; + type?: InputMaybe; }; /** order by sum() on columns of table "fungible_asset_activities" */ @@ -5035,18 +4984,18 @@ export type FungibleAssetActivitiesVarianceOrderBy = { /** columns and relationships of "fungible_asset_metadata" */ export type FungibleAssetMetadata = { - asset_type: Scalars['String']; - creator_address: Scalars['String']; - decimals: Scalars['Int']; - icon_uri?: Maybe; - last_transaction_timestamp: Scalars['timestamp']; - last_transaction_version: Scalars['bigint']; - name: Scalars['String']; - project_uri?: Maybe; - supply_aggregator_table_handle_v1?: Maybe; - supply_aggregator_table_key_v1?: Maybe; - symbol: Scalars['String']; - token_standard: Scalars['String']; + asset_type: Scalars["String"]; + creator_address: Scalars["String"]; + decimals: Scalars["Int"]; + icon_uri?: Maybe; + last_transaction_timestamp: Scalars["timestamp"]; + last_transaction_version: Scalars["bigint"]; + name: Scalars["String"]; + project_uri?: Maybe; + supply_aggregator_table_handle_v1?: Maybe; + supply_aggregator_table_key_v1?: Maybe; + symbol: Scalars["String"]; + token_standard: Scalars["String"]; }; /** Boolean expression to filter rows from the table "fungible_asset_metadata". All fields are combined with a logical 'AND'. */ @@ -5087,29 +5036,29 @@ export type FungibleAssetMetadataOrderBy = { /** select columns of table "fungible_asset_metadata" */ export enum FungibleAssetMetadataSelectColumn { /** column name */ - AssetType = 'asset_type', + AssetType = "asset_type", /** column name */ - CreatorAddress = 'creator_address', + CreatorAddress = "creator_address", /** column name */ - Decimals = 'decimals', + Decimals = "decimals", /** column name */ - IconUri = 'icon_uri', + IconUri = "icon_uri", /** column name */ - LastTransactionTimestamp = 'last_transaction_timestamp', + LastTransactionTimestamp = "last_transaction_timestamp", /** column name */ - LastTransactionVersion = 'last_transaction_version', + LastTransactionVersion = "last_transaction_version", /** column name */ - Name = 'name', + Name = "name", /** column name */ - ProjectUri = 'project_uri', + ProjectUri = "project_uri", /** column name */ - SupplyAggregatorTableHandleV1 = 'supply_aggregator_table_handle_v1', + SupplyAggregatorTableHandleV1 = "supply_aggregator_table_handle_v1", /** column name */ - SupplyAggregatorTableKeyV1 = 'supply_aggregator_table_key_v1', + SupplyAggregatorTableKeyV1 = "supply_aggregator_table_key_v1", /** column name */ - Symbol = 'symbol', + Symbol = "symbol", /** column name */ - TokenStandard = 'token_standard' + TokenStandard = "token_standard", } /** Streaming cursor of the table "fungible_asset_metadata" */ @@ -5122,24 +5071,24 @@ export type FungibleAssetMetadataStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type FungibleAssetMetadataStreamCursorValueInput = { - asset_type?: InputMaybe; - creator_address?: InputMaybe; - decimals?: InputMaybe; - icon_uri?: InputMaybe; - last_transaction_timestamp?: InputMaybe; - last_transaction_version?: InputMaybe; - name?: InputMaybe; - project_uri?: InputMaybe; - supply_aggregator_table_handle_v1?: InputMaybe; - supply_aggregator_table_key_v1?: InputMaybe; - symbol?: InputMaybe; - token_standard?: InputMaybe; + asset_type?: InputMaybe; + creator_address?: InputMaybe; + decimals?: InputMaybe; + icon_uri?: InputMaybe; + last_transaction_timestamp?: InputMaybe; + last_transaction_version?: InputMaybe; + name?: InputMaybe; + project_uri?: InputMaybe; + supply_aggregator_table_handle_v1?: InputMaybe; + supply_aggregator_table_key_v1?: InputMaybe; + symbol?: InputMaybe; + token_standard?: InputMaybe; }; /** columns and relationships of "indexer_status" */ export type IndexerStatus = { - db: Scalars['String']; - is_indexer_up: Scalars['Boolean']; + db: Scalars["String"]; + is_indexer_up: Scalars["Boolean"]; }; /** Boolean expression to filter rows from the table "indexer_status". All fields are combined with a logical 'AND'. */ @@ -5160,9 +5109,9 @@ export type IndexerStatusOrderBy = { /** select columns of table "indexer_status" */ export enum IndexerStatusSelectColumn { /** column name */ - Db = 'db', + Db = "db", /** column name */ - IsIndexerUp = 'is_indexer_up' + IsIndexerUp = "is_indexer_up", } /** Streaming cursor of the table "indexer_status" */ @@ -5175,8 +5124,8 @@ export type IndexerStatusStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type IndexerStatusStreamCursorValueInput = { - db?: InputMaybe; - is_indexer_up?: InputMaybe; + db?: InputMaybe; + is_indexer_up?: InputMaybe; }; export type JsonbCastExp = { @@ -5187,29 +5136,29 @@ export type JsonbCastExp = { export type JsonbComparisonExp = { _cast?: InputMaybe; /** is the column contained in the given json value */ - _contained_in?: InputMaybe; + _contained_in?: InputMaybe; /** does the column contain the given json value at the top level */ - _contains?: InputMaybe; - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; + _contains?: InputMaybe; + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; /** does the string exist as a top-level key in the column */ - _has_key?: InputMaybe; + _has_key?: InputMaybe; /** do all of these strings exist as top-level keys in the column */ - _has_keys_all?: InputMaybe>; + _has_keys_all?: InputMaybe>; /** do any of these strings exist as top-level keys in the column */ - _has_keys_any?: InputMaybe>; - _in?: InputMaybe>; - _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; + _has_keys_any?: InputMaybe>; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; }; /** columns and relationships of "ledger_infos" */ export type LedgerInfos = { - chain_id: Scalars['bigint']; + chain_id: Scalars["bigint"]; }; /** Boolean expression to filter rows from the table "ledger_infos". All fields are combined with a logical 'AND'. */ @@ -5228,7 +5177,7 @@ export type LedgerInfosOrderBy = { /** select columns of table "ledger_infos" */ export enum LedgerInfosSelectColumn { /** column name */ - ChainId = 'chain_id' + ChainId = "chain_id", } /** Streaming cursor of the table "ledger_infos" */ @@ -5241,13 +5190,13 @@ export type LedgerInfosStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type LedgerInfosStreamCursorValueInput = { - chain_id?: InputMaybe; + chain_id?: InputMaybe; }; /** columns and relationships of "move_resources" */ export type MoveResources = { - address: Scalars['String']; - transaction_version: Scalars['bigint']; + address: Scalars["String"]; + transaction_version: Scalars["bigint"]; }; /** aggregated selection of "move_resources" */ @@ -5259,7 +5208,7 @@ export type MoveResourcesAggregate = { /** aggregate fields of "move_resources" */ export type MoveResourcesAggregateFields = { avg?: Maybe; - count: Scalars['Int']; + count: Scalars["Int"]; max?: Maybe; min?: Maybe; stddev?: Maybe; @@ -5271,16 +5220,15 @@ export type MoveResourcesAggregateFields = { variance?: Maybe; }; - /** aggregate fields of "move_resources" */ export type MoveResourcesAggregateFieldsCountArgs = { columns?: InputMaybe>; - distinct?: InputMaybe; + distinct?: InputMaybe; }; /** aggregate avg on columns */ export type MoveResourcesAvgFields = { - transaction_version?: Maybe; + transaction_version?: Maybe; }; /** Boolean expression to filter rows from the table "move_resources". All fields are combined with a logical 'AND'. */ @@ -5294,14 +5242,14 @@ export type MoveResourcesBoolExp = { /** aggregate max on columns */ export type MoveResourcesMaxFields = { - address?: Maybe; - transaction_version?: Maybe; + address?: Maybe; + transaction_version?: Maybe; }; /** aggregate min on columns */ export type MoveResourcesMinFields = { - address?: Maybe; - transaction_version?: Maybe; + address?: Maybe; + transaction_version?: Maybe; }; /** Ordering options when selecting data from "move_resources". */ @@ -5313,24 +5261,24 @@ export type MoveResourcesOrderBy = { /** select columns of table "move_resources" */ export enum MoveResourcesSelectColumn { /** column name */ - Address = 'address', + Address = "address", /** column name */ - TransactionVersion = 'transaction_version' + TransactionVersion = "transaction_version", } /** aggregate stddev on columns */ export type MoveResourcesStddevFields = { - transaction_version?: Maybe; + transaction_version?: Maybe; }; /** aggregate stddev_pop on columns */ export type MoveResourcesStddevPopFields = { - transaction_version?: Maybe; + transaction_version?: Maybe; }; /** aggregate stddev_samp on columns */ export type MoveResourcesStddevSampFields = { - transaction_version?: Maybe; + transaction_version?: Maybe; }; /** Streaming cursor of the table "move_resources" */ @@ -5343,53 +5291,53 @@ export type MoveResourcesStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type MoveResourcesStreamCursorValueInput = { - address?: InputMaybe; - transaction_version?: InputMaybe; + address?: InputMaybe; + transaction_version?: InputMaybe; }; /** aggregate sum on columns */ export type MoveResourcesSumFields = { - transaction_version?: Maybe; + transaction_version?: Maybe; }; /** aggregate var_pop on columns */ export type MoveResourcesVarPopFields = { - transaction_version?: Maybe; + transaction_version?: Maybe; }; /** aggregate var_samp on columns */ export type MoveResourcesVarSampFields = { - transaction_version?: Maybe; + transaction_version?: Maybe; }; /** aggregate variance on columns */ export type MoveResourcesVarianceFields = { - transaction_version?: Maybe; + transaction_version?: Maybe; }; /** columns and relationships of "nft_marketplace_v2.current_nft_marketplace_auctions" */ export type NftMarketplaceV2CurrentNftMarketplaceAuctions = { - buy_it_now_price?: Maybe; - coin_type?: Maybe; - collection_id: Scalars['String']; - contract_address: Scalars['String']; - current_bid_price?: Maybe; - current_bidder?: Maybe; + buy_it_now_price?: Maybe; + coin_type?: Maybe; + collection_id: Scalars["String"]; + contract_address: Scalars["String"]; + current_bid_price?: Maybe; + current_bidder?: Maybe; /** An object relationship */ current_token_data?: Maybe; - entry_function_id_str: Scalars['String']; - expiration_time: Scalars['numeric']; - fee_schedule_id: Scalars['String']; - is_deleted: Scalars['Boolean']; - last_transaction_timestamp: Scalars['timestamptz']; - last_transaction_version: Scalars['bigint']; - listing_id: Scalars['String']; - marketplace: Scalars['String']; - seller: Scalars['String']; - starting_bid_price: Scalars['numeric']; - token_amount: Scalars['numeric']; - token_data_id: Scalars['String']; - token_standard: Scalars['String']; + entry_function_id_str: Scalars["String"]; + expiration_time: Scalars["numeric"]; + fee_schedule_id: Scalars["String"]; + is_deleted: Scalars["Boolean"]; + last_transaction_timestamp: Scalars["timestamptz"]; + last_transaction_version: Scalars["bigint"]; + listing_id: Scalars["String"]; + marketplace: Scalars["String"]; + seller: Scalars["String"]; + starting_bid_price: Scalars["numeric"]; + token_amount: Scalars["numeric"]; + token_data_id: Scalars["String"]; + token_standard: Scalars["String"]; }; /** Boolean expression to filter rows from the table "nft_marketplace_v2.current_nft_marketplace_auctions". All fields are combined with a logical 'AND'. */ @@ -5446,43 +5394,43 @@ export type NftMarketplaceV2CurrentNftMarketplaceAuctionsOrderBy = { /** select columns of table "nft_marketplace_v2.current_nft_marketplace_auctions" */ export enum NftMarketplaceV2CurrentNftMarketplaceAuctionsSelectColumn { /** column name */ - BuyItNowPrice = 'buy_it_now_price', + BuyItNowPrice = "buy_it_now_price", /** column name */ - CoinType = 'coin_type', + CoinType = "coin_type", /** column name */ - CollectionId = 'collection_id', + CollectionId = "collection_id", /** column name */ - ContractAddress = 'contract_address', + ContractAddress = "contract_address", /** column name */ - CurrentBidPrice = 'current_bid_price', + CurrentBidPrice = "current_bid_price", /** column name */ - CurrentBidder = 'current_bidder', + CurrentBidder = "current_bidder", /** column name */ - EntryFunctionIdStr = 'entry_function_id_str', + EntryFunctionIdStr = "entry_function_id_str", /** column name */ - ExpirationTime = 'expiration_time', + ExpirationTime = "expiration_time", /** column name */ - FeeScheduleId = 'fee_schedule_id', + FeeScheduleId = "fee_schedule_id", /** column name */ - IsDeleted = 'is_deleted', + IsDeleted = "is_deleted", /** column name */ - LastTransactionTimestamp = 'last_transaction_timestamp', + LastTransactionTimestamp = "last_transaction_timestamp", /** column name */ - LastTransactionVersion = 'last_transaction_version', + LastTransactionVersion = "last_transaction_version", /** column name */ - ListingId = 'listing_id', + ListingId = "listing_id", /** column name */ - Marketplace = 'marketplace', + Marketplace = "marketplace", /** column name */ - Seller = 'seller', + Seller = "seller", /** column name */ - StartingBidPrice = 'starting_bid_price', + StartingBidPrice = "starting_bid_price", /** column name */ - TokenAmount = 'token_amount', + TokenAmount = "token_amount", /** column name */ - TokenDataId = 'token_data_id', + TokenDataId = "token_data_id", /** column name */ - TokenStandard = 'token_standard' + TokenStandard = "token_standard", } /** Streaming cursor of the table "nft_marketplace_v2_current_nft_marketplace_auctions" */ @@ -5495,46 +5443,46 @@ export type NftMarketplaceV2CurrentNftMarketplaceAuctionsStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type NftMarketplaceV2CurrentNftMarketplaceAuctionsStreamCursorValueInput = { - buy_it_now_price?: InputMaybe; - coin_type?: InputMaybe; - collection_id?: InputMaybe; - contract_address?: InputMaybe; - current_bid_price?: InputMaybe; - current_bidder?: InputMaybe; - entry_function_id_str?: InputMaybe; - expiration_time?: InputMaybe; - fee_schedule_id?: InputMaybe; - is_deleted?: InputMaybe; - last_transaction_timestamp?: InputMaybe; - last_transaction_version?: InputMaybe; - listing_id?: InputMaybe; - marketplace?: InputMaybe; - seller?: InputMaybe; - starting_bid_price?: InputMaybe; - token_amount?: InputMaybe; - token_data_id?: InputMaybe; - token_standard?: InputMaybe; + buy_it_now_price?: InputMaybe; + coin_type?: InputMaybe; + collection_id?: InputMaybe; + contract_address?: InputMaybe; + current_bid_price?: InputMaybe; + current_bidder?: InputMaybe; + entry_function_id_str?: InputMaybe; + expiration_time?: InputMaybe; + fee_schedule_id?: InputMaybe; + is_deleted?: InputMaybe; + last_transaction_timestamp?: InputMaybe; + last_transaction_version?: InputMaybe; + listing_id?: InputMaybe; + marketplace?: InputMaybe; + seller?: InputMaybe; + starting_bid_price?: InputMaybe; + token_amount?: InputMaybe; + token_data_id?: InputMaybe; + token_standard?: InputMaybe; }; /** columns and relationships of "nft_marketplace_v2.current_nft_marketplace_collection_offers" */ export type NftMarketplaceV2CurrentNftMarketplaceCollectionOffers = { - buyer: Scalars['String']; - coin_type?: Maybe; - collection_id: Scalars['String']; - collection_offer_id: Scalars['String']; - contract_address: Scalars['String']; + buyer: Scalars["String"]; + coin_type?: Maybe; + collection_id: Scalars["String"]; + collection_offer_id: Scalars["String"]; + contract_address: Scalars["String"]; /** An object relationship */ current_collection_v2?: Maybe; - entry_function_id_str: Scalars['String']; - expiration_time: Scalars['numeric']; - fee_schedule_id: Scalars['String']; - is_deleted: Scalars['Boolean']; - item_price: Scalars['numeric']; - last_transaction_timestamp: Scalars['timestamptz']; - last_transaction_version: Scalars['bigint']; - marketplace: Scalars['String']; - remaining_token_amount: Scalars['numeric']; - token_standard: Scalars['String']; + entry_function_id_str: Scalars["String"]; + expiration_time: Scalars["numeric"]; + fee_schedule_id: Scalars["String"]; + is_deleted: Scalars["Boolean"]; + item_price: Scalars["numeric"]; + last_transaction_timestamp: Scalars["timestamptz"]; + last_transaction_version: Scalars["bigint"]; + marketplace: Scalars["String"]; + remaining_token_amount: Scalars["numeric"]; + token_standard: Scalars["String"]; }; /** Boolean expression to filter rows from the table "nft_marketplace_v2.current_nft_marketplace_collection_offers". All fields are combined with a logical 'AND'. */ @@ -5583,35 +5531,35 @@ export type NftMarketplaceV2CurrentNftMarketplaceCollectionOffersOrderBy = { /** select columns of table "nft_marketplace_v2.current_nft_marketplace_collection_offers" */ export enum NftMarketplaceV2CurrentNftMarketplaceCollectionOffersSelectColumn { /** column name */ - Buyer = 'buyer', + Buyer = "buyer", /** column name */ - CoinType = 'coin_type', + CoinType = "coin_type", /** column name */ - CollectionId = 'collection_id', + CollectionId = "collection_id", /** column name */ - CollectionOfferId = 'collection_offer_id', + CollectionOfferId = "collection_offer_id", /** column name */ - ContractAddress = 'contract_address', + ContractAddress = "contract_address", /** column name */ - EntryFunctionIdStr = 'entry_function_id_str', + EntryFunctionIdStr = "entry_function_id_str", /** column name */ - ExpirationTime = 'expiration_time', + ExpirationTime = "expiration_time", /** column name */ - FeeScheduleId = 'fee_schedule_id', + FeeScheduleId = "fee_schedule_id", /** column name */ - IsDeleted = 'is_deleted', + IsDeleted = "is_deleted", /** column name */ - ItemPrice = 'item_price', + ItemPrice = "item_price", /** column name */ - LastTransactionTimestamp = 'last_transaction_timestamp', + LastTransactionTimestamp = "last_transaction_timestamp", /** column name */ - LastTransactionVersion = 'last_transaction_version', + LastTransactionVersion = "last_transaction_version", /** column name */ - Marketplace = 'marketplace', + Marketplace = "marketplace", /** column name */ - RemainingTokenAmount = 'remaining_token_amount', + RemainingTokenAmount = "remaining_token_amount", /** column name */ - TokenStandard = 'token_standard' + TokenStandard = "token_standard", } /** Streaming cursor of the table "nft_marketplace_v2_current_nft_marketplace_collection_offers" */ @@ -5624,42 +5572,42 @@ export type NftMarketplaceV2CurrentNftMarketplaceCollectionOffersStreamCursorInp /** Initial value of the column from where the streaming should start */ export type NftMarketplaceV2CurrentNftMarketplaceCollectionOffersStreamCursorValueInput = { - buyer?: InputMaybe; - coin_type?: InputMaybe; - collection_id?: InputMaybe; - collection_offer_id?: InputMaybe; - contract_address?: InputMaybe; - entry_function_id_str?: InputMaybe; - expiration_time?: InputMaybe; - fee_schedule_id?: InputMaybe; - is_deleted?: InputMaybe; - item_price?: InputMaybe; - last_transaction_timestamp?: InputMaybe; - last_transaction_version?: InputMaybe; - marketplace?: InputMaybe; - remaining_token_amount?: InputMaybe; - token_standard?: InputMaybe; + buyer?: InputMaybe; + coin_type?: InputMaybe; + collection_id?: InputMaybe; + collection_offer_id?: InputMaybe; + contract_address?: InputMaybe; + entry_function_id_str?: InputMaybe; + expiration_time?: InputMaybe; + fee_schedule_id?: InputMaybe; + is_deleted?: InputMaybe; + item_price?: InputMaybe; + last_transaction_timestamp?: InputMaybe; + last_transaction_version?: InputMaybe; + marketplace?: InputMaybe; + remaining_token_amount?: InputMaybe; + token_standard?: InputMaybe; }; /** columns and relationships of "nft_marketplace_v2.current_nft_marketplace_listings" */ export type NftMarketplaceV2CurrentNftMarketplaceListings = { - coin_type?: Maybe; - collection_id: Scalars['String']; - contract_address: Scalars['String']; + coin_type?: Maybe; + collection_id: Scalars["String"]; + contract_address: Scalars["String"]; /** An object relationship */ current_token_data?: Maybe; - entry_function_id_str: Scalars['String']; - fee_schedule_id: Scalars['String']; - is_deleted: Scalars['Boolean']; - last_transaction_timestamp: Scalars['timestamptz']; - last_transaction_version: Scalars['bigint']; - listing_id: Scalars['String']; - marketplace: Scalars['String']; - price: Scalars['numeric']; - seller: Scalars['String']; - token_amount: Scalars['numeric']; - token_data_id: Scalars['String']; - token_standard: Scalars['String']; + entry_function_id_str: Scalars["String"]; + fee_schedule_id: Scalars["String"]; + is_deleted: Scalars["Boolean"]; + last_transaction_timestamp: Scalars["timestamptz"]; + last_transaction_version: Scalars["bigint"]; + listing_id: Scalars["String"]; + marketplace: Scalars["String"]; + price: Scalars["numeric"]; + seller: Scalars["String"]; + token_amount: Scalars["numeric"]; + token_data_id: Scalars["String"]; + token_standard: Scalars["String"]; }; /** Boolean expression to filter rows from the table "nft_marketplace_v2.current_nft_marketplace_listings". All fields are combined with a logical 'AND'. */ @@ -5708,35 +5656,35 @@ export type NftMarketplaceV2CurrentNftMarketplaceListingsOrderBy = { /** select columns of table "nft_marketplace_v2.current_nft_marketplace_listings" */ export enum NftMarketplaceV2CurrentNftMarketplaceListingsSelectColumn { /** column name */ - CoinType = 'coin_type', + CoinType = "coin_type", /** column name */ - CollectionId = 'collection_id', + CollectionId = "collection_id", /** column name */ - ContractAddress = 'contract_address', + ContractAddress = "contract_address", /** column name */ - EntryFunctionIdStr = 'entry_function_id_str', + EntryFunctionIdStr = "entry_function_id_str", /** column name */ - FeeScheduleId = 'fee_schedule_id', + FeeScheduleId = "fee_schedule_id", /** column name */ - IsDeleted = 'is_deleted', + IsDeleted = "is_deleted", /** column name */ - LastTransactionTimestamp = 'last_transaction_timestamp', + LastTransactionTimestamp = "last_transaction_timestamp", /** column name */ - LastTransactionVersion = 'last_transaction_version', + LastTransactionVersion = "last_transaction_version", /** column name */ - ListingId = 'listing_id', + ListingId = "listing_id", /** column name */ - Marketplace = 'marketplace', + Marketplace = "marketplace", /** column name */ - Price = 'price', + Price = "price", /** column name */ - Seller = 'seller', + Seller = "seller", /** column name */ - TokenAmount = 'token_amount', + TokenAmount = "token_amount", /** column name */ - TokenDataId = 'token_data_id', + TokenDataId = "token_data_id", /** column name */ - TokenStandard = 'token_standard' + TokenStandard = "token_standard", } /** Streaming cursor of the table "nft_marketplace_v2_current_nft_marketplace_listings" */ @@ -5749,43 +5697,43 @@ export type NftMarketplaceV2CurrentNftMarketplaceListingsStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type NftMarketplaceV2CurrentNftMarketplaceListingsStreamCursorValueInput = { - coin_type?: InputMaybe; - collection_id?: InputMaybe; - contract_address?: InputMaybe; - entry_function_id_str?: InputMaybe; - fee_schedule_id?: InputMaybe; - is_deleted?: InputMaybe; - last_transaction_timestamp?: InputMaybe; - last_transaction_version?: InputMaybe; - listing_id?: InputMaybe; - marketplace?: InputMaybe; - price?: InputMaybe; - seller?: InputMaybe; - token_amount?: InputMaybe; - token_data_id?: InputMaybe; - token_standard?: InputMaybe; + coin_type?: InputMaybe; + collection_id?: InputMaybe; + contract_address?: InputMaybe; + entry_function_id_str?: InputMaybe; + fee_schedule_id?: InputMaybe; + is_deleted?: InputMaybe; + last_transaction_timestamp?: InputMaybe; + last_transaction_version?: InputMaybe; + listing_id?: InputMaybe; + marketplace?: InputMaybe; + price?: InputMaybe; + seller?: InputMaybe; + token_amount?: InputMaybe; + token_data_id?: InputMaybe; + token_standard?: InputMaybe; }; /** columns and relationships of "nft_marketplace_v2.current_nft_marketplace_token_offers" */ export type NftMarketplaceV2CurrentNftMarketplaceTokenOffers = { - buyer: Scalars['String']; - coin_type?: Maybe; - collection_id: Scalars['String']; - contract_address: Scalars['String']; + buyer: Scalars["String"]; + coin_type?: Maybe; + collection_id: Scalars["String"]; + contract_address: Scalars["String"]; /** An object relationship */ current_token_data?: Maybe; - entry_function_id_str: Scalars['String']; - expiration_time: Scalars['numeric']; - fee_schedule_id: Scalars['String']; - is_deleted: Scalars['Boolean']; - last_transaction_timestamp: Scalars['timestamptz']; - last_transaction_version: Scalars['bigint']; - marketplace: Scalars['String']; - offer_id: Scalars['String']; - price: Scalars['numeric']; - token_amount: Scalars['numeric']; - token_data_id: Scalars['String']; - token_standard: Scalars['String']; + entry_function_id_str: Scalars["String"]; + expiration_time: Scalars["numeric"]; + fee_schedule_id: Scalars["String"]; + is_deleted: Scalars["Boolean"]; + last_transaction_timestamp: Scalars["timestamptz"]; + last_transaction_version: Scalars["bigint"]; + marketplace: Scalars["String"]; + offer_id: Scalars["String"]; + price: Scalars["numeric"]; + token_amount: Scalars["numeric"]; + token_data_id: Scalars["String"]; + token_standard: Scalars["String"]; }; /** Boolean expression to filter rows from the table "nft_marketplace_v2.current_nft_marketplace_token_offers". All fields are combined with a logical 'AND'. */ @@ -5836,37 +5784,37 @@ export type NftMarketplaceV2CurrentNftMarketplaceTokenOffersOrderBy = { /** select columns of table "nft_marketplace_v2.current_nft_marketplace_token_offers" */ export enum NftMarketplaceV2CurrentNftMarketplaceTokenOffersSelectColumn { /** column name */ - Buyer = 'buyer', + Buyer = "buyer", /** column name */ - CoinType = 'coin_type', + CoinType = "coin_type", /** column name */ - CollectionId = 'collection_id', + CollectionId = "collection_id", /** column name */ - ContractAddress = 'contract_address', + ContractAddress = "contract_address", /** column name */ - EntryFunctionIdStr = 'entry_function_id_str', + EntryFunctionIdStr = "entry_function_id_str", /** column name */ - ExpirationTime = 'expiration_time', + ExpirationTime = "expiration_time", /** column name */ - FeeScheduleId = 'fee_schedule_id', + FeeScheduleId = "fee_schedule_id", /** column name */ - IsDeleted = 'is_deleted', + IsDeleted = "is_deleted", /** column name */ - LastTransactionTimestamp = 'last_transaction_timestamp', + LastTransactionTimestamp = "last_transaction_timestamp", /** column name */ - LastTransactionVersion = 'last_transaction_version', + LastTransactionVersion = "last_transaction_version", /** column name */ - Marketplace = 'marketplace', + Marketplace = "marketplace", /** column name */ - OfferId = 'offer_id', + OfferId = "offer_id", /** column name */ - Price = 'price', + Price = "price", /** column name */ - TokenAmount = 'token_amount', + TokenAmount = "token_amount", /** column name */ - TokenDataId = 'token_data_id', + TokenDataId = "token_data_id", /** column name */ - TokenStandard = 'token_standard' + TokenStandard = "token_standard", } /** Streaming cursor of the table "nft_marketplace_v2_current_nft_marketplace_token_offers" */ @@ -5879,49 +5827,49 @@ export type NftMarketplaceV2CurrentNftMarketplaceTokenOffersStreamCursorInput = /** Initial value of the column from where the streaming should start */ export type NftMarketplaceV2CurrentNftMarketplaceTokenOffersStreamCursorValueInput = { - buyer?: InputMaybe; - coin_type?: InputMaybe; - collection_id?: InputMaybe; - contract_address?: InputMaybe; - entry_function_id_str?: InputMaybe; - expiration_time?: InputMaybe; - fee_schedule_id?: InputMaybe; - is_deleted?: InputMaybe; - last_transaction_timestamp?: InputMaybe; - last_transaction_version?: InputMaybe; - marketplace?: InputMaybe; - offer_id?: InputMaybe; - price?: InputMaybe; - token_amount?: InputMaybe; - token_data_id?: InputMaybe; - token_standard?: InputMaybe; + buyer?: InputMaybe; + coin_type?: InputMaybe; + collection_id?: InputMaybe; + contract_address?: InputMaybe; + entry_function_id_str?: InputMaybe; + expiration_time?: InputMaybe; + fee_schedule_id?: InputMaybe; + is_deleted?: InputMaybe; + last_transaction_timestamp?: InputMaybe; + last_transaction_version?: InputMaybe; + marketplace?: InputMaybe; + offer_id?: InputMaybe; + price?: InputMaybe; + token_amount?: InputMaybe; + token_data_id?: InputMaybe; + token_standard?: InputMaybe; }; /** columns and relationships of "nft_marketplace_v2.nft_marketplace_activities" */ export type NftMarketplaceV2NftMarketplaceActivities = { - buyer?: Maybe; - coin_type?: Maybe; - collection_id: Scalars['String']; - collection_name: Scalars['String']; - contract_address: Scalars['String']; - creator_address: Scalars['String']; + buyer?: Maybe; + coin_type?: Maybe; + collection_id: Scalars["String"]; + collection_name: Scalars["String"]; + contract_address: Scalars["String"]; + creator_address: Scalars["String"]; /** An object relationship */ current_token_data?: Maybe; - entry_function_id_str: Scalars['String']; - event_index: Scalars['bigint']; - event_type: Scalars['String']; - fee_schedule_id: Scalars['String']; - marketplace: Scalars['String']; - offer_or_listing_id: Scalars['String']; - price: Scalars['numeric']; - property_version?: Maybe; - seller?: Maybe; - token_amount: Scalars['numeric']; - token_data_id?: Maybe; - token_name?: Maybe; - token_standard: Scalars['String']; - transaction_timestamp: Scalars['timestamptz']; - transaction_version: Scalars['bigint']; + entry_function_id_str: Scalars["String"]; + event_index: Scalars["bigint"]; + event_type: Scalars["String"]; + fee_schedule_id: Scalars["String"]; + marketplace: Scalars["String"]; + offer_or_listing_id: Scalars["String"]; + price: Scalars["numeric"]; + property_version?: Maybe; + seller?: Maybe; + token_amount: Scalars["numeric"]; + token_data_id?: Maybe; + token_name?: Maybe; + token_standard: Scalars["String"]; + transaction_timestamp: Scalars["timestamptz"]; + transaction_version: Scalars["bigint"]; }; /** Boolean expression to filter rows from the table "nft_marketplace_v2.nft_marketplace_activities". All fields are combined with a logical 'AND'. */ @@ -5982,47 +5930,47 @@ export type NftMarketplaceV2NftMarketplaceActivitiesOrderBy = { /** select columns of table "nft_marketplace_v2.nft_marketplace_activities" */ export enum NftMarketplaceV2NftMarketplaceActivitiesSelectColumn { /** column name */ - Buyer = 'buyer', + Buyer = "buyer", /** column name */ - CoinType = 'coin_type', + CoinType = "coin_type", /** column name */ - CollectionId = 'collection_id', + CollectionId = "collection_id", /** column name */ - CollectionName = 'collection_name', + CollectionName = "collection_name", /** column name */ - ContractAddress = 'contract_address', + ContractAddress = "contract_address", /** column name */ - CreatorAddress = 'creator_address', + CreatorAddress = "creator_address", /** column name */ - EntryFunctionIdStr = 'entry_function_id_str', + EntryFunctionIdStr = "entry_function_id_str", /** column name */ - EventIndex = 'event_index', + EventIndex = "event_index", /** column name */ - EventType = 'event_type', + EventType = "event_type", /** column name */ - FeeScheduleId = 'fee_schedule_id', + FeeScheduleId = "fee_schedule_id", /** column name */ - Marketplace = 'marketplace', + Marketplace = "marketplace", /** column name */ - OfferOrListingId = 'offer_or_listing_id', + OfferOrListingId = "offer_or_listing_id", /** column name */ - Price = 'price', + Price = "price", /** column name */ - PropertyVersion = 'property_version', + PropertyVersion = "property_version", /** column name */ - Seller = 'seller', + Seller = "seller", /** column name */ - TokenAmount = 'token_amount', + TokenAmount = "token_amount", /** column name */ - TokenDataId = 'token_data_id', + TokenDataId = "token_data_id", /** column name */ - TokenName = 'token_name', + TokenName = "token_name", /** column name */ - TokenStandard = 'token_standard', + TokenStandard = "token_standard", /** column name */ - TransactionTimestamp = 'transaction_timestamp', + TransactionTimestamp = "transaction_timestamp", /** column name */ - TransactionVersion = 'transaction_version' + TransactionVersion = "transaction_version", } /** Streaming cursor of the table "nft_marketplace_v2_nft_marketplace_activities" */ @@ -6035,40 +5983,40 @@ export type NftMarketplaceV2NftMarketplaceActivitiesStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type NftMarketplaceV2NftMarketplaceActivitiesStreamCursorValueInput = { - buyer?: InputMaybe; - coin_type?: InputMaybe; - collection_id?: InputMaybe; - collection_name?: InputMaybe; - contract_address?: InputMaybe; - creator_address?: InputMaybe; - entry_function_id_str?: InputMaybe; - event_index?: InputMaybe; - event_type?: InputMaybe; - fee_schedule_id?: InputMaybe; - marketplace?: InputMaybe; - offer_or_listing_id?: InputMaybe; - price?: InputMaybe; - property_version?: InputMaybe; - seller?: InputMaybe; - token_amount?: InputMaybe; - token_data_id?: InputMaybe; - token_name?: InputMaybe; - token_standard?: InputMaybe; - transaction_timestamp?: InputMaybe; - transaction_version?: InputMaybe; + buyer?: InputMaybe; + coin_type?: InputMaybe; + collection_id?: InputMaybe; + collection_name?: InputMaybe; + contract_address?: InputMaybe; + creator_address?: InputMaybe; + entry_function_id_str?: InputMaybe; + event_index?: InputMaybe; + event_type?: InputMaybe; + fee_schedule_id?: InputMaybe; + marketplace?: InputMaybe; + offer_or_listing_id?: InputMaybe; + price?: InputMaybe; + property_version?: InputMaybe; + seller?: InputMaybe; + token_amount?: InputMaybe; + token_data_id?: InputMaybe; + token_name?: InputMaybe; + token_standard?: InputMaybe; + transaction_timestamp?: InputMaybe; + transaction_version?: InputMaybe; }; /** columns and relationships of "nft_metadata_crawler.parsed_asset_uris" */ export type NftMetadataCrawlerParsedAssetUris = { - animation_optimizer_retry_count: Scalars['Int']; - asset_uri: Scalars['String']; - cdn_animation_uri?: Maybe; - cdn_image_uri?: Maybe; - cdn_json_uri?: Maybe; - image_optimizer_retry_count: Scalars['Int']; - json_parser_retry_count: Scalars['Int']; - raw_animation_uri?: Maybe; - raw_image_uri?: Maybe; + animation_optimizer_retry_count: Scalars["Int"]; + asset_uri: Scalars["String"]; + cdn_animation_uri?: Maybe; + cdn_image_uri?: Maybe; + cdn_json_uri?: Maybe; + image_optimizer_retry_count: Scalars["Int"]; + json_parser_retry_count: Scalars["Int"]; + raw_animation_uri?: Maybe; + raw_image_uri?: Maybe; }; /** Boolean expression to filter rows from the table "nft_metadata_crawler.parsed_asset_uris". All fields are combined with a logical 'AND'. */ @@ -6103,23 +6051,23 @@ export type NftMetadataCrawlerParsedAssetUrisOrderBy = { /** select columns of table "nft_metadata_crawler.parsed_asset_uris" */ export enum NftMetadataCrawlerParsedAssetUrisSelectColumn { /** column name */ - AnimationOptimizerRetryCount = 'animation_optimizer_retry_count', + AnimationOptimizerRetryCount = "animation_optimizer_retry_count", /** column name */ - AssetUri = 'asset_uri', + AssetUri = "asset_uri", /** column name */ - CdnAnimationUri = 'cdn_animation_uri', + CdnAnimationUri = "cdn_animation_uri", /** column name */ - CdnImageUri = 'cdn_image_uri', + CdnImageUri = "cdn_image_uri", /** column name */ - CdnJsonUri = 'cdn_json_uri', + CdnJsonUri = "cdn_json_uri", /** column name */ - ImageOptimizerRetryCount = 'image_optimizer_retry_count', + ImageOptimizerRetryCount = "image_optimizer_retry_count", /** column name */ - JsonParserRetryCount = 'json_parser_retry_count', + JsonParserRetryCount = "json_parser_retry_count", /** column name */ - RawAnimationUri = 'raw_animation_uri', + RawAnimationUri = "raw_animation_uri", /** column name */ - RawImageUri = 'raw_image_uri' + RawImageUri = "raw_image_uri", } /** Streaming cursor of the table "nft_metadata_crawler_parsed_asset_uris" */ @@ -6132,21 +6080,21 @@ export type NftMetadataCrawlerParsedAssetUrisStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type NftMetadataCrawlerParsedAssetUrisStreamCursorValueInput = { - animation_optimizer_retry_count?: InputMaybe; - asset_uri?: InputMaybe; - cdn_animation_uri?: InputMaybe; - cdn_image_uri?: InputMaybe; - cdn_json_uri?: InputMaybe; - image_optimizer_retry_count?: InputMaybe; - json_parser_retry_count?: InputMaybe; - raw_animation_uri?: InputMaybe; - raw_image_uri?: InputMaybe; + animation_optimizer_retry_count?: InputMaybe; + asset_uri?: InputMaybe; + cdn_animation_uri?: InputMaybe; + cdn_image_uri?: InputMaybe; + cdn_json_uri?: InputMaybe; + image_optimizer_retry_count?: InputMaybe; + json_parser_retry_count?: InputMaybe; + raw_animation_uri?: InputMaybe; + raw_image_uri?: InputMaybe; }; /** columns and relationships of "num_active_delegator_per_pool" */ export type NumActiveDelegatorPerPool = { - num_active_delegator?: Maybe; - pool_address?: Maybe; + num_active_delegator?: Maybe; + pool_address?: Maybe; }; /** Boolean expression to filter rows from the table "num_active_delegator_per_pool". All fields are combined with a logical 'AND'. */ @@ -6167,9 +6115,9 @@ export type NumActiveDelegatorPerPoolOrderBy = { /** select columns of table "num_active_delegator_per_pool" */ export enum NumActiveDelegatorPerPoolSelectColumn { /** column name */ - NumActiveDelegator = 'num_active_delegator', + NumActiveDelegator = "num_active_delegator", /** column name */ - PoolAddress = 'pool_address' + PoolAddress = "pool_address", } /** Streaming cursor of the table "num_active_delegator_per_pool" */ @@ -6182,44 +6130,44 @@ export type NumActiveDelegatorPerPoolStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type NumActiveDelegatorPerPoolStreamCursorValueInput = { - num_active_delegator?: InputMaybe; - pool_address?: InputMaybe; + num_active_delegator?: InputMaybe; + pool_address?: InputMaybe; }; /** Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. */ export type NumericComparisonExp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; }; /** column ordering options */ export enum OrderBy { /** in ascending order, nulls last */ - Asc = 'asc', + Asc = "asc", /** in ascending order, nulls first */ - AscNullsFirst = 'asc_nulls_first', + AscNullsFirst = "asc_nulls_first", /** in ascending order, nulls last */ - AscNullsLast = 'asc_nulls_last', + AscNullsLast = "asc_nulls_last", /** in descending order, nulls first */ - Desc = 'desc', + Desc = "desc", /** in descending order, nulls first */ - DescNullsFirst = 'desc_nulls_first', + DescNullsFirst = "desc_nulls_first", /** in descending order, nulls last */ - DescNullsLast = 'desc_nulls_last' + DescNullsLast = "desc_nulls_last", } /** columns and relationships of "processor_status" */ export type ProcessorStatus = { - last_success_version: Scalars['bigint']; - last_updated: Scalars['timestamp']; - processor: Scalars['String']; + last_success_version: Scalars["bigint"]; + last_updated: Scalars["timestamp"]; + processor: Scalars["String"]; }; /** Boolean expression to filter rows from the table "processor_status". All fields are combined with a logical 'AND'. */ @@ -6242,11 +6190,11 @@ export type ProcessorStatusOrderBy = { /** select columns of table "processor_status" */ export enum ProcessorStatusSelectColumn { /** column name */ - LastSuccessVersion = 'last_success_version', + LastSuccessVersion = "last_success_version", /** column name */ - LastUpdated = 'last_updated', + LastUpdated = "last_updated", /** column name */ - Processor = 'processor' + Processor = "processor", } /** Streaming cursor of the table "processor_status" */ @@ -6259,20 +6207,20 @@ export type ProcessorStatusStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type ProcessorStatusStreamCursorValueInput = { - last_success_version?: InputMaybe; - last_updated?: InputMaybe; - processor?: InputMaybe; + last_success_version?: InputMaybe; + last_updated?: InputMaybe; + processor?: InputMaybe; }; /** columns and relationships of "proposal_votes" */ export type ProposalVotes = { - num_votes: Scalars['numeric']; - proposal_id: Scalars['bigint']; - should_pass: Scalars['Boolean']; - staking_pool_address: Scalars['String']; - transaction_timestamp: Scalars['timestamp']; - transaction_version: Scalars['bigint']; - voter_address: Scalars['String']; + num_votes: Scalars["numeric"]; + proposal_id: Scalars["bigint"]; + should_pass: Scalars["Boolean"]; + staking_pool_address: Scalars["String"]; + transaction_timestamp: Scalars["timestamp"]; + transaction_version: Scalars["bigint"]; + voter_address: Scalars["String"]; }; /** aggregated selection of "proposal_votes" */ @@ -6284,7 +6232,7 @@ export type ProposalVotesAggregate = { /** aggregate fields of "proposal_votes" */ export type ProposalVotesAggregateFields = { avg?: Maybe; - count: Scalars['Int']; + count: Scalars["Int"]; max?: Maybe; min?: Maybe; stddev?: Maybe; @@ -6296,18 +6244,17 @@ export type ProposalVotesAggregateFields = { variance?: Maybe; }; - /** aggregate fields of "proposal_votes" */ export type ProposalVotesAggregateFieldsCountArgs = { columns?: InputMaybe>; - distinct?: InputMaybe; + distinct?: InputMaybe; }; /** aggregate avg on columns */ export type ProposalVotesAvgFields = { - num_votes?: Maybe; - proposal_id?: Maybe; - transaction_version?: Maybe; + num_votes?: Maybe; + proposal_id?: Maybe; + transaction_version?: Maybe; }; /** Boolean expression to filter rows from the table "proposal_votes". All fields are combined with a logical 'AND'. */ @@ -6326,22 +6273,22 @@ export type ProposalVotesBoolExp = { /** aggregate max on columns */ export type ProposalVotesMaxFields = { - num_votes?: Maybe; - proposal_id?: Maybe; - staking_pool_address?: Maybe; - transaction_timestamp?: Maybe; - transaction_version?: Maybe; - voter_address?: Maybe; + num_votes?: Maybe; + proposal_id?: Maybe; + staking_pool_address?: Maybe; + transaction_timestamp?: Maybe; + transaction_version?: Maybe; + voter_address?: Maybe; }; /** aggregate min on columns */ export type ProposalVotesMinFields = { - num_votes?: Maybe; - proposal_id?: Maybe; - staking_pool_address?: Maybe; - transaction_timestamp?: Maybe; - transaction_version?: Maybe; - voter_address?: Maybe; + num_votes?: Maybe; + proposal_id?: Maybe; + staking_pool_address?: Maybe; + transaction_timestamp?: Maybe; + transaction_version?: Maybe; + voter_address?: Maybe; }; /** Ordering options when selecting data from "proposal_votes". */ @@ -6358,40 +6305,40 @@ export type ProposalVotesOrderBy = { /** select columns of table "proposal_votes" */ export enum ProposalVotesSelectColumn { /** column name */ - NumVotes = 'num_votes', + NumVotes = "num_votes", /** column name */ - ProposalId = 'proposal_id', + ProposalId = "proposal_id", /** column name */ - ShouldPass = 'should_pass', + ShouldPass = "should_pass", /** column name */ - StakingPoolAddress = 'staking_pool_address', + StakingPoolAddress = "staking_pool_address", /** column name */ - TransactionTimestamp = 'transaction_timestamp', + TransactionTimestamp = "transaction_timestamp", /** column name */ - TransactionVersion = 'transaction_version', + TransactionVersion = "transaction_version", /** column name */ - VoterAddress = 'voter_address' + VoterAddress = "voter_address", } /** aggregate stddev on columns */ export type ProposalVotesStddevFields = { - num_votes?: Maybe; - proposal_id?: Maybe; - transaction_version?: Maybe; + num_votes?: Maybe; + proposal_id?: Maybe; + transaction_version?: Maybe; }; /** aggregate stddev_pop on columns */ export type ProposalVotesStddevPopFields = { - num_votes?: Maybe; - proposal_id?: Maybe; - transaction_version?: Maybe; + num_votes?: Maybe; + proposal_id?: Maybe; + transaction_version?: Maybe; }; /** aggregate stddev_samp on columns */ export type ProposalVotesStddevSampFields = { - num_votes?: Maybe; - proposal_id?: Maybe; - transaction_version?: Maybe; + num_votes?: Maybe; + proposal_id?: Maybe; + transaction_version?: Maybe; }; /** Streaming cursor of the table "proposal_votes" */ @@ -6404,41 +6351,41 @@ export type ProposalVotesStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type ProposalVotesStreamCursorValueInput = { - num_votes?: InputMaybe; - proposal_id?: InputMaybe; - should_pass?: InputMaybe; - staking_pool_address?: InputMaybe; - transaction_timestamp?: InputMaybe; - transaction_version?: InputMaybe; - voter_address?: InputMaybe; + num_votes?: InputMaybe; + proposal_id?: InputMaybe; + should_pass?: InputMaybe; + staking_pool_address?: InputMaybe; + transaction_timestamp?: InputMaybe; + transaction_version?: InputMaybe; + voter_address?: InputMaybe; }; /** aggregate sum on columns */ export type ProposalVotesSumFields = { - num_votes?: Maybe; - proposal_id?: Maybe; - transaction_version?: Maybe; + num_votes?: Maybe; + proposal_id?: Maybe; + transaction_version?: Maybe; }; /** aggregate var_pop on columns */ export type ProposalVotesVarPopFields = { - num_votes?: Maybe; - proposal_id?: Maybe; - transaction_version?: Maybe; + num_votes?: Maybe; + proposal_id?: Maybe; + transaction_version?: Maybe; }; /** aggregate var_samp on columns */ export type ProposalVotesVarSampFields = { - num_votes?: Maybe; - proposal_id?: Maybe; - transaction_version?: Maybe; + num_votes?: Maybe; + proposal_id?: Maybe; + transaction_version?: Maybe; }; /** aggregate variance on columns */ export type ProposalVotesVarianceFields = { - num_votes?: Maybe; - proposal_id?: Maybe; - transaction_version?: Maybe; + num_votes?: Maybe; + proposal_id?: Maybe; + transaction_version?: Maybe; }; export type QueryRoot = { @@ -6676,906 +6623,790 @@ export type QueryRoot = { user_transactions_by_pk?: Maybe; }; - export type QueryRootAccountTransactionsArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootAccountTransactionsAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootAccountTransactionsByPkArgs = { - account_address: Scalars['String']; - transaction_version: Scalars['bigint']; + account_address: Scalars["String"]; + transaction_version: Scalars["bigint"]; }; - export type QueryRootAddressEventsSummaryArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootAddressVersionFromEventsArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootAddressVersionFromEventsAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootAddressVersionFromMoveResourcesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootAddressVersionFromMoveResourcesAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootBlockMetadataTransactionsArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootBlockMetadataTransactionsByPkArgs = { - version: Scalars['bigint']; + version: Scalars["bigint"]; }; - export type QueryRootCoinActivitiesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootCoinActivitiesAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootCoinActivitiesByPkArgs = { - event_account_address: Scalars['String']; - event_creation_number: Scalars['bigint']; - event_sequence_number: Scalars['bigint']; - transaction_version: Scalars['bigint']; + event_account_address: Scalars["String"]; + event_creation_number: Scalars["bigint"]; + event_sequence_number: Scalars["bigint"]; + transaction_version: Scalars["bigint"]; }; - export type QueryRootCoinBalancesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootCoinBalancesByPkArgs = { - coin_type_hash: Scalars['String']; - owner_address: Scalars['String']; - transaction_version: Scalars['bigint']; + coin_type_hash: Scalars["String"]; + owner_address: Scalars["String"]; + transaction_version: Scalars["bigint"]; }; - export type QueryRootCoinInfosArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootCoinInfosByPkArgs = { - coin_type_hash: Scalars['String']; + coin_type_hash: Scalars["String"]; }; - export type QueryRootCoinSupplyArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootCoinSupplyByPkArgs = { - coin_type_hash: Scalars['String']; - transaction_version: Scalars['bigint']; + coin_type_hash: Scalars["String"]; + transaction_version: Scalars["bigint"]; }; - export type QueryRootCollectionDatasArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootCollectionDatasByPkArgs = { - collection_data_id_hash: Scalars['String']; - transaction_version: Scalars['bigint']; + collection_data_id_hash: Scalars["String"]; + transaction_version: Scalars["bigint"]; }; - export type QueryRootCurrentAnsLookupArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootCurrentAnsLookupByPkArgs = { - domain: Scalars['String']; - subdomain: Scalars['String']; + domain: Scalars["String"]; + subdomain: Scalars["String"]; }; - export type QueryRootCurrentAnsLookupV2Args = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootCurrentAnsLookupV2ByPkArgs = { - domain: Scalars['String']; - subdomain: Scalars['String']; - token_standard: Scalars['String']; + domain: Scalars["String"]; + subdomain: Scalars["String"]; + token_standard: Scalars["String"]; }; - export type QueryRootCurrentAptosNamesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootCurrentAptosNamesAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootCurrentCoinBalancesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootCurrentCoinBalancesByPkArgs = { - coin_type_hash: Scalars['String']; - owner_address: Scalars['String']; + coin_type_hash: Scalars["String"]; + owner_address: Scalars["String"]; }; - export type QueryRootCurrentCollectionDatasArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootCurrentCollectionDatasByPkArgs = { - collection_data_id_hash: Scalars['String']; + collection_data_id_hash: Scalars["String"]; }; - export type QueryRootCurrentCollectionOwnershipV2ViewArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootCurrentCollectionOwnershipV2ViewAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootCurrentCollectionsV2Args = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootCurrentCollectionsV2ByPkArgs = { - collection_id: Scalars['String']; + collection_id: Scalars["String"]; }; - export type QueryRootCurrentDelegatedStakingPoolBalancesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootCurrentDelegatedStakingPoolBalancesByPkArgs = { - staking_pool_address: Scalars['String']; + staking_pool_address: Scalars["String"]; }; - export type QueryRootCurrentDelegatedVoterArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootCurrentDelegatedVoterByPkArgs = { - delegation_pool_address: Scalars['String']; - delegator_address: Scalars['String']; + delegation_pool_address: Scalars["String"]; + delegator_address: Scalars["String"]; }; - export type QueryRootCurrentDelegatorBalancesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootCurrentDelegatorBalancesByPkArgs = { - delegator_address: Scalars['String']; - pool_address: Scalars['String']; - pool_type: Scalars['String']; - table_handle: Scalars['String']; + delegator_address: Scalars["String"]; + pool_address: Scalars["String"]; + pool_type: Scalars["String"]; + table_handle: Scalars["String"]; }; - export type QueryRootCurrentFungibleAssetBalancesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootCurrentFungibleAssetBalancesAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootCurrentFungibleAssetBalancesByPkArgs = { - storage_id: Scalars['String']; + storage_id: Scalars["String"]; }; - export type QueryRootCurrentObjectsArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootCurrentObjectsByPkArgs = { - object_address: Scalars['String']; + object_address: Scalars["String"]; }; - export type QueryRootCurrentStakingPoolVoterArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootCurrentStakingPoolVoterByPkArgs = { - staking_pool_address: Scalars['String']; + staking_pool_address: Scalars["String"]; }; - export type QueryRootCurrentTableItemsArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootCurrentTableItemsByPkArgs = { - key_hash: Scalars['String']; - table_handle: Scalars['String']; + key_hash: Scalars["String"]; + table_handle: Scalars["String"]; }; - export type QueryRootCurrentTokenDatasArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootCurrentTokenDatasByPkArgs = { - token_data_id_hash: Scalars['String']; + token_data_id_hash: Scalars["String"]; }; - export type QueryRootCurrentTokenDatasV2Args = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootCurrentTokenDatasV2ByPkArgs = { - token_data_id: Scalars['String']; + token_data_id: Scalars["String"]; }; - export type QueryRootCurrentTokenOwnershipsArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootCurrentTokenOwnershipsAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootCurrentTokenOwnershipsByPkArgs = { - owner_address: Scalars['String']; - property_version: Scalars['numeric']; - token_data_id_hash: Scalars['String']; + owner_address: Scalars["String"]; + property_version: Scalars["numeric"]; + token_data_id_hash: Scalars["String"]; }; - export type QueryRootCurrentTokenOwnershipsV2Args = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootCurrentTokenOwnershipsV2AggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootCurrentTokenOwnershipsV2ByPkArgs = { - owner_address: Scalars['String']; - property_version_v1: Scalars['numeric']; - storage_id: Scalars['String']; - token_data_id: Scalars['String']; + owner_address: Scalars["String"]; + property_version_v1: Scalars["numeric"]; + storage_id: Scalars["String"]; + token_data_id: Scalars["String"]; }; - export type QueryRootCurrentTokenPendingClaimsArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootCurrentTokenPendingClaimsByPkArgs = { - from_address: Scalars['String']; - property_version: Scalars['numeric']; - to_address: Scalars['String']; - token_data_id_hash: Scalars['String']; + from_address: Scalars["String"]; + property_version: Scalars["numeric"]; + to_address: Scalars["String"]; + token_data_id_hash: Scalars["String"]; }; - export type QueryRootDelegatedStakingActivitiesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootDelegatedStakingActivitiesByPkArgs = { - event_index: Scalars['bigint']; - transaction_version: Scalars['bigint']; + event_index: Scalars["bigint"]; + transaction_version: Scalars["bigint"]; }; - export type QueryRootDelegatedStakingPoolsArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootDelegatedStakingPoolsByPkArgs = { - staking_pool_address: Scalars['String']; + staking_pool_address: Scalars["String"]; }; - export type QueryRootDelegatorDistinctPoolArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootDelegatorDistinctPoolAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootEventsArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootEventsByPkArgs = { - event_index: Scalars['bigint']; - transaction_version: Scalars['bigint']; + event_index: Scalars["bigint"]; + transaction_version: Scalars["bigint"]; }; - export type QueryRootFungibleAssetActivitiesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootFungibleAssetActivitiesByPkArgs = { - event_index: Scalars['bigint']; - transaction_version: Scalars['bigint']; + event_index: Scalars["bigint"]; + transaction_version: Scalars["bigint"]; }; - export type QueryRootFungibleAssetMetadataArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootFungibleAssetMetadataByPkArgs = { - asset_type: Scalars['String']; + asset_type: Scalars["String"]; }; - export type QueryRootIndexerStatusArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootIndexerStatusByPkArgs = { - db: Scalars['String']; + db: Scalars["String"]; }; - export type QueryRootLedgerInfosArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootLedgerInfosByPkArgs = { - chain_id: Scalars['bigint']; + chain_id: Scalars["bigint"]; }; - export type QueryRootMoveResourcesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootMoveResourcesAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootNftMarketplaceV2CurrentNftMarketplaceAuctionsArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootNftMarketplaceV2CurrentNftMarketplaceAuctionsByPkArgs = { - listing_id: Scalars['String']; - token_data_id: Scalars['String']; + listing_id: Scalars["String"]; + token_data_id: Scalars["String"]; }; - export type QueryRootNftMarketplaceV2CurrentNftMarketplaceCollectionOffersArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootNftMarketplaceV2CurrentNftMarketplaceCollectionOffersByPkArgs = { - collection_id: Scalars['String']; - collection_offer_id: Scalars['String']; + collection_id: Scalars["String"]; + collection_offer_id: Scalars["String"]; }; - export type QueryRootNftMarketplaceV2CurrentNftMarketplaceListingsArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootNftMarketplaceV2CurrentNftMarketplaceListingsByPkArgs = { - listing_id: Scalars['String']; - token_data_id: Scalars['String']; + listing_id: Scalars["String"]; + token_data_id: Scalars["String"]; }; - export type QueryRootNftMarketplaceV2CurrentNftMarketplaceTokenOffersArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootNftMarketplaceV2CurrentNftMarketplaceTokenOffersByPkArgs = { - offer_id: Scalars['String']; - token_data_id: Scalars['String']; + offer_id: Scalars["String"]; + token_data_id: Scalars["String"]; }; - export type QueryRootNftMarketplaceV2NftMarketplaceActivitiesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootNftMarketplaceV2NftMarketplaceActivitiesByPkArgs = { - event_index: Scalars['bigint']; - transaction_version: Scalars['bigint']; + event_index: Scalars["bigint"]; + transaction_version: Scalars["bigint"]; }; - export type QueryRootNftMetadataCrawlerParsedAssetUrisArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootNftMetadataCrawlerParsedAssetUrisByPkArgs = { - asset_uri: Scalars['String']; + asset_uri: Scalars["String"]; }; - export type QueryRootNumActiveDelegatorPerPoolArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootProcessorStatusArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootProcessorStatusByPkArgs = { - processor: Scalars['String']; + processor: Scalars["String"]; }; - export type QueryRootProposalVotesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootProposalVotesAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootProposalVotesByPkArgs = { - proposal_id: Scalars['bigint']; - transaction_version: Scalars['bigint']; - voter_address: Scalars['String']; + proposal_id: Scalars["bigint"]; + transaction_version: Scalars["bigint"]; + voter_address: Scalars["String"]; }; - export type QueryRootTableItemsArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootTableItemsByPkArgs = { - transaction_version: Scalars['bigint']; - write_set_change_index: Scalars['bigint']; + transaction_version: Scalars["bigint"]; + write_set_change_index: Scalars["bigint"]; }; - export type QueryRootTableMetadatasArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootTableMetadatasByPkArgs = { - handle: Scalars['String']; + handle: Scalars["String"]; }; - export type QueryRootTokenActivitiesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootTokenActivitiesAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootTokenActivitiesByPkArgs = { - event_account_address: Scalars['String']; - event_creation_number: Scalars['bigint']; - event_sequence_number: Scalars['bigint']; - transaction_version: Scalars['bigint']; + event_account_address: Scalars["String"]; + event_creation_number: Scalars["bigint"]; + event_sequence_number: Scalars["bigint"]; + transaction_version: Scalars["bigint"]; }; - export type QueryRootTokenActivitiesV2Args = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootTokenActivitiesV2AggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootTokenActivitiesV2ByPkArgs = { - event_index: Scalars['bigint']; - transaction_version: Scalars['bigint']; + event_index: Scalars["bigint"]; + transaction_version: Scalars["bigint"]; }; - export type QueryRootTokenDatasArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootTokenDatasByPkArgs = { - token_data_id_hash: Scalars['String']; - transaction_version: Scalars['bigint']; + token_data_id_hash: Scalars["String"]; + transaction_version: Scalars["bigint"]; }; - export type QueryRootTokenOwnershipsArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootTokenOwnershipsByPkArgs = { - property_version: Scalars['numeric']; - table_handle: Scalars['String']; - token_data_id_hash: Scalars['String']; - transaction_version: Scalars['bigint']; + property_version: Scalars["numeric"]; + table_handle: Scalars["String"]; + token_data_id_hash: Scalars["String"]; + transaction_version: Scalars["bigint"]; }; - export type QueryRootTokensArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootTokensByPkArgs = { - property_version: Scalars['numeric']; - token_data_id_hash: Scalars['String']; - transaction_version: Scalars['bigint']; + property_version: Scalars["numeric"]; + token_data_id_hash: Scalars["String"]; + transaction_version: Scalars["bigint"]; }; - export type QueryRootUserTransactionsArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type QueryRootUserTransactionsByPkArgs = { - version: Scalars['bigint']; + version: Scalars["bigint"]; }; export type SubscriptionRoot = { @@ -7923,1313 +7754,1140 @@ export type SubscriptionRoot = { user_transactions_stream: Array; }; - export type SubscriptionRootAccountTransactionsArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootAccountTransactionsAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootAccountTransactionsByPkArgs = { - account_address: Scalars['String']; - transaction_version: Scalars['bigint']; + account_address: Scalars["String"]; + transaction_version: Scalars["bigint"]; }; - export type SubscriptionRootAccountTransactionsStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootAddressEventsSummaryArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootAddressEventsSummaryStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootAddressVersionFromEventsArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootAddressVersionFromEventsAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootAddressVersionFromEventsStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootAddressVersionFromMoveResourcesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootAddressVersionFromMoveResourcesAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootAddressVersionFromMoveResourcesStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootBlockMetadataTransactionsArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootBlockMetadataTransactionsByPkArgs = { - version: Scalars['bigint']; + version: Scalars["bigint"]; }; - export type SubscriptionRootBlockMetadataTransactionsStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootCoinActivitiesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootCoinActivitiesAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootCoinActivitiesByPkArgs = { - event_account_address: Scalars['String']; - event_creation_number: Scalars['bigint']; - event_sequence_number: Scalars['bigint']; - transaction_version: Scalars['bigint']; + event_account_address: Scalars["String"]; + event_creation_number: Scalars["bigint"]; + event_sequence_number: Scalars["bigint"]; + transaction_version: Scalars["bigint"]; }; - export type SubscriptionRootCoinActivitiesStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootCoinBalancesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootCoinBalancesByPkArgs = { - coin_type_hash: Scalars['String']; - owner_address: Scalars['String']; - transaction_version: Scalars['bigint']; + coin_type_hash: Scalars["String"]; + owner_address: Scalars["String"]; + transaction_version: Scalars["bigint"]; }; - export type SubscriptionRootCoinBalancesStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootCoinInfosArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootCoinInfosByPkArgs = { - coin_type_hash: Scalars['String']; + coin_type_hash: Scalars["String"]; }; - export type SubscriptionRootCoinInfosStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootCoinSupplyArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootCoinSupplyByPkArgs = { - coin_type_hash: Scalars['String']; - transaction_version: Scalars['bigint']; + coin_type_hash: Scalars["String"]; + transaction_version: Scalars["bigint"]; }; - export type SubscriptionRootCoinSupplyStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootCollectionDatasArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootCollectionDatasByPkArgs = { - collection_data_id_hash: Scalars['String']; - transaction_version: Scalars['bigint']; + collection_data_id_hash: Scalars["String"]; + transaction_version: Scalars["bigint"]; }; - export type SubscriptionRootCollectionDatasStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootCurrentAnsLookupArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootCurrentAnsLookupByPkArgs = { - domain: Scalars['String']; - subdomain: Scalars['String']; + domain: Scalars["String"]; + subdomain: Scalars["String"]; }; - export type SubscriptionRootCurrentAnsLookupStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootCurrentAnsLookupV2Args = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootCurrentAnsLookupV2ByPkArgs = { - domain: Scalars['String']; - subdomain: Scalars['String']; - token_standard: Scalars['String']; + domain: Scalars["String"]; + subdomain: Scalars["String"]; + token_standard: Scalars["String"]; }; - export type SubscriptionRootCurrentAnsLookupV2StreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootCurrentAptosNamesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootCurrentAptosNamesAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootCurrentAptosNamesStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootCurrentCoinBalancesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootCurrentCoinBalancesByPkArgs = { - coin_type_hash: Scalars['String']; - owner_address: Scalars['String']; + coin_type_hash: Scalars["String"]; + owner_address: Scalars["String"]; }; - export type SubscriptionRootCurrentCoinBalancesStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootCurrentCollectionDatasArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootCurrentCollectionDatasByPkArgs = { - collection_data_id_hash: Scalars['String']; + collection_data_id_hash: Scalars["String"]; }; - export type SubscriptionRootCurrentCollectionDatasStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootCurrentCollectionOwnershipV2ViewArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootCurrentCollectionOwnershipV2ViewAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootCurrentCollectionOwnershipV2ViewStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootCurrentCollectionsV2Args = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootCurrentCollectionsV2ByPkArgs = { - collection_id: Scalars['String']; + collection_id: Scalars["String"]; }; - export type SubscriptionRootCurrentCollectionsV2StreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootCurrentDelegatedStakingPoolBalancesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootCurrentDelegatedStakingPoolBalancesByPkArgs = { - staking_pool_address: Scalars['String']; + staking_pool_address: Scalars["String"]; }; - export type SubscriptionRootCurrentDelegatedStakingPoolBalancesStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootCurrentDelegatedVoterArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootCurrentDelegatedVoterByPkArgs = { - delegation_pool_address: Scalars['String']; - delegator_address: Scalars['String']; + delegation_pool_address: Scalars["String"]; + delegator_address: Scalars["String"]; }; - export type SubscriptionRootCurrentDelegatedVoterStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootCurrentDelegatorBalancesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootCurrentDelegatorBalancesByPkArgs = { - delegator_address: Scalars['String']; - pool_address: Scalars['String']; - pool_type: Scalars['String']; - table_handle: Scalars['String']; + delegator_address: Scalars["String"]; + pool_address: Scalars["String"]; + pool_type: Scalars["String"]; + table_handle: Scalars["String"]; }; - export type SubscriptionRootCurrentDelegatorBalancesStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootCurrentFungibleAssetBalancesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootCurrentFungibleAssetBalancesAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootCurrentFungibleAssetBalancesByPkArgs = { - storage_id: Scalars['String']; + storage_id: Scalars["String"]; }; - export type SubscriptionRootCurrentFungibleAssetBalancesStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootCurrentObjectsArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootCurrentObjectsByPkArgs = { - object_address: Scalars['String']; + object_address: Scalars["String"]; }; - export type SubscriptionRootCurrentObjectsStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootCurrentStakingPoolVoterArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootCurrentStakingPoolVoterByPkArgs = { - staking_pool_address: Scalars['String']; + staking_pool_address: Scalars["String"]; }; - export type SubscriptionRootCurrentStakingPoolVoterStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootCurrentTableItemsArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootCurrentTableItemsByPkArgs = { - key_hash: Scalars['String']; - table_handle: Scalars['String']; + key_hash: Scalars["String"]; + table_handle: Scalars["String"]; }; - export type SubscriptionRootCurrentTableItemsStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootCurrentTokenDatasArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootCurrentTokenDatasByPkArgs = { - token_data_id_hash: Scalars['String']; + token_data_id_hash: Scalars["String"]; }; - export type SubscriptionRootCurrentTokenDatasStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootCurrentTokenDatasV2Args = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootCurrentTokenDatasV2ByPkArgs = { - token_data_id: Scalars['String']; + token_data_id: Scalars["String"]; }; - export type SubscriptionRootCurrentTokenDatasV2StreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootCurrentTokenOwnershipsArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootCurrentTokenOwnershipsAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootCurrentTokenOwnershipsByPkArgs = { - owner_address: Scalars['String']; - property_version: Scalars['numeric']; - token_data_id_hash: Scalars['String']; + owner_address: Scalars["String"]; + property_version: Scalars["numeric"]; + token_data_id_hash: Scalars["String"]; }; - export type SubscriptionRootCurrentTokenOwnershipsStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootCurrentTokenOwnershipsV2Args = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootCurrentTokenOwnershipsV2AggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootCurrentTokenOwnershipsV2ByPkArgs = { - owner_address: Scalars['String']; - property_version_v1: Scalars['numeric']; - storage_id: Scalars['String']; - token_data_id: Scalars['String']; + owner_address: Scalars["String"]; + property_version_v1: Scalars["numeric"]; + storage_id: Scalars["String"]; + token_data_id: Scalars["String"]; }; - export type SubscriptionRootCurrentTokenOwnershipsV2StreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootCurrentTokenPendingClaimsArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootCurrentTokenPendingClaimsByPkArgs = { - from_address: Scalars['String']; - property_version: Scalars['numeric']; - to_address: Scalars['String']; - token_data_id_hash: Scalars['String']; + from_address: Scalars["String"]; + property_version: Scalars["numeric"]; + to_address: Scalars["String"]; + token_data_id_hash: Scalars["String"]; }; - export type SubscriptionRootCurrentTokenPendingClaimsStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootDelegatedStakingActivitiesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootDelegatedStakingActivitiesByPkArgs = { - event_index: Scalars['bigint']; - transaction_version: Scalars['bigint']; + event_index: Scalars["bigint"]; + transaction_version: Scalars["bigint"]; }; - export type SubscriptionRootDelegatedStakingActivitiesStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootDelegatedStakingPoolsArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootDelegatedStakingPoolsByPkArgs = { - staking_pool_address: Scalars['String']; + staking_pool_address: Scalars["String"]; }; - export type SubscriptionRootDelegatedStakingPoolsStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootDelegatorDistinctPoolArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootDelegatorDistinctPoolAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootDelegatorDistinctPoolStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootEventsArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootEventsByPkArgs = { - event_index: Scalars['bigint']; - transaction_version: Scalars['bigint']; + event_index: Scalars["bigint"]; + transaction_version: Scalars["bigint"]; }; - export type SubscriptionRootEventsStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootFungibleAssetActivitiesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootFungibleAssetActivitiesByPkArgs = { - event_index: Scalars['bigint']; - transaction_version: Scalars['bigint']; + event_index: Scalars["bigint"]; + transaction_version: Scalars["bigint"]; }; - export type SubscriptionRootFungibleAssetActivitiesStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootFungibleAssetMetadataArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootFungibleAssetMetadataByPkArgs = { - asset_type: Scalars['String']; + asset_type: Scalars["String"]; }; - export type SubscriptionRootFungibleAssetMetadataStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootIndexerStatusArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootIndexerStatusByPkArgs = { - db: Scalars['String']; + db: Scalars["String"]; }; - export type SubscriptionRootIndexerStatusStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootLedgerInfosArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootLedgerInfosByPkArgs = { - chain_id: Scalars['bigint']; + chain_id: Scalars["bigint"]; }; - export type SubscriptionRootLedgerInfosStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootMoveResourcesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootMoveResourcesAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootMoveResourcesStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootNftMarketplaceV2CurrentNftMarketplaceAuctionsArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootNftMarketplaceV2CurrentNftMarketplaceAuctionsByPkArgs = { - listing_id: Scalars['String']; - token_data_id: Scalars['String']; + listing_id: Scalars["String"]; + token_data_id: Scalars["String"]; }; - export type SubscriptionRootNftMarketplaceV2CurrentNftMarketplaceAuctionsStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootNftMarketplaceV2CurrentNftMarketplaceCollectionOffersArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootNftMarketplaceV2CurrentNftMarketplaceCollectionOffersByPkArgs = { - collection_id: Scalars['String']; - collection_offer_id: Scalars['String']; + collection_id: Scalars["String"]; + collection_offer_id: Scalars["String"]; }; - export type SubscriptionRootNftMarketplaceV2CurrentNftMarketplaceCollectionOffersStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootNftMarketplaceV2CurrentNftMarketplaceListingsArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootNftMarketplaceV2CurrentNftMarketplaceListingsByPkArgs = { - listing_id: Scalars['String']; - token_data_id: Scalars['String']; + listing_id: Scalars["String"]; + token_data_id: Scalars["String"]; }; - export type SubscriptionRootNftMarketplaceV2CurrentNftMarketplaceListingsStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootNftMarketplaceV2CurrentNftMarketplaceTokenOffersArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootNftMarketplaceV2CurrentNftMarketplaceTokenOffersByPkArgs = { - offer_id: Scalars['String']; - token_data_id: Scalars['String']; + offer_id: Scalars["String"]; + token_data_id: Scalars["String"]; }; - export type SubscriptionRootNftMarketplaceV2CurrentNftMarketplaceTokenOffersStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootNftMarketplaceV2NftMarketplaceActivitiesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootNftMarketplaceV2NftMarketplaceActivitiesByPkArgs = { - event_index: Scalars['bigint']; - transaction_version: Scalars['bigint']; + event_index: Scalars["bigint"]; + transaction_version: Scalars["bigint"]; }; - export type SubscriptionRootNftMarketplaceV2NftMarketplaceActivitiesStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootNftMetadataCrawlerParsedAssetUrisArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootNftMetadataCrawlerParsedAssetUrisByPkArgs = { - asset_uri: Scalars['String']; + asset_uri: Scalars["String"]; }; - export type SubscriptionRootNftMetadataCrawlerParsedAssetUrisStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootNumActiveDelegatorPerPoolArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootNumActiveDelegatorPerPoolStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootProcessorStatusArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootProcessorStatusByPkArgs = { - processor: Scalars['String']; + processor: Scalars["String"]; }; - export type SubscriptionRootProcessorStatusStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootProposalVotesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootProposalVotesAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootProposalVotesByPkArgs = { - proposal_id: Scalars['bigint']; - transaction_version: Scalars['bigint']; - voter_address: Scalars['String']; + proposal_id: Scalars["bigint"]; + transaction_version: Scalars["bigint"]; + voter_address: Scalars["String"]; }; - export type SubscriptionRootProposalVotesStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootTableItemsArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootTableItemsByPkArgs = { - transaction_version: Scalars['bigint']; - write_set_change_index: Scalars['bigint']; + transaction_version: Scalars["bigint"]; + write_set_change_index: Scalars["bigint"]; }; - export type SubscriptionRootTableItemsStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootTableMetadatasArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootTableMetadatasByPkArgs = { - handle: Scalars['String']; + handle: Scalars["String"]; }; - export type SubscriptionRootTableMetadatasStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootTokenActivitiesArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootTokenActivitiesAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootTokenActivitiesByPkArgs = { - event_account_address: Scalars['String']; - event_creation_number: Scalars['bigint']; - event_sequence_number: Scalars['bigint']; - transaction_version: Scalars['bigint']; + event_account_address: Scalars["String"]; + event_creation_number: Scalars["bigint"]; + event_sequence_number: Scalars["bigint"]; + transaction_version: Scalars["bigint"]; }; - export type SubscriptionRootTokenActivitiesStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootTokenActivitiesV2Args = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootTokenActivitiesV2AggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootTokenActivitiesV2ByPkArgs = { - event_index: Scalars['bigint']; - transaction_version: Scalars['bigint']; + event_index: Scalars["bigint"]; + transaction_version: Scalars["bigint"]; }; - export type SubscriptionRootTokenActivitiesV2StreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootTokenDatasArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootTokenDatasByPkArgs = { - token_data_id_hash: Scalars['String']; - transaction_version: Scalars['bigint']; + token_data_id_hash: Scalars["String"]; + transaction_version: Scalars["bigint"]; }; - export type SubscriptionRootTokenDatasStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootTokenOwnershipsArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootTokenOwnershipsByPkArgs = { - property_version: Scalars['numeric']; - table_handle: Scalars['String']; - token_data_id_hash: Scalars['String']; - transaction_version: Scalars['bigint']; + property_version: Scalars["numeric"]; + table_handle: Scalars["String"]; + token_data_id_hash: Scalars["String"]; + transaction_version: Scalars["bigint"]; }; - export type SubscriptionRootTokenOwnershipsStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootTokensArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootTokensByPkArgs = { - property_version: Scalars['numeric']; - token_data_id_hash: Scalars['String']; - transaction_version: Scalars['bigint']; + property_version: Scalars["numeric"]; + token_data_id_hash: Scalars["String"]; + transaction_version: Scalars["bigint"]; }; - export type SubscriptionRootTokensStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; - export type SubscriptionRootUserTransactionsArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - export type SubscriptionRootUserTransactionsByPkArgs = { - version: Scalars['bigint']; + version: Scalars["bigint"]; }; - export type SubscriptionRootUserTransactionsStreamArgs = { - batch_size: Scalars['Int']; + batch_size: Scalars["Int"]; cursor: Array>; where?: InputMaybe; }; /** columns and relationships of "table_items" */ export type TableItems = { - decoded_key: Scalars['jsonb']; - decoded_value?: Maybe; - key: Scalars['String']; - table_handle: Scalars['String']; - transaction_version: Scalars['bigint']; - write_set_change_index: Scalars['bigint']; + decoded_key: Scalars["jsonb"]; + decoded_value?: Maybe; + key: Scalars["String"]; + table_handle: Scalars["String"]; + transaction_version: Scalars["bigint"]; + write_set_change_index: Scalars["bigint"]; }; - /** columns and relationships of "table_items" */ export type TableItemsDecodedKeyArgs = { - path?: InputMaybe; + path?: InputMaybe; }; - /** columns and relationships of "table_items" */ export type TableItemsDecodedValueArgs = { - path?: InputMaybe; + path?: InputMaybe; }; /** Boolean expression to filter rows from the table "table_items". All fields are combined with a logical 'AND'. */ @@ -9258,17 +8916,17 @@ export type TableItemsOrderBy = { /** select columns of table "table_items" */ export enum TableItemsSelectColumn { /** column name */ - DecodedKey = 'decoded_key', + DecodedKey = "decoded_key", /** column name */ - DecodedValue = 'decoded_value', + DecodedValue = "decoded_value", /** column name */ - Key = 'key', + Key = "key", /** column name */ - TableHandle = 'table_handle', + TableHandle = "table_handle", /** column name */ - TransactionVersion = 'transaction_version', + TransactionVersion = "transaction_version", /** column name */ - WriteSetChangeIndex = 'write_set_change_index' + WriteSetChangeIndex = "write_set_change_index", } /** Streaming cursor of the table "table_items" */ @@ -9281,19 +8939,19 @@ export type TableItemsStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type TableItemsStreamCursorValueInput = { - decoded_key?: InputMaybe; - decoded_value?: InputMaybe; - key?: InputMaybe; - table_handle?: InputMaybe; - transaction_version?: InputMaybe; - write_set_change_index?: InputMaybe; + decoded_key?: InputMaybe; + decoded_value?: InputMaybe; + key?: InputMaybe; + table_handle?: InputMaybe; + transaction_version?: InputMaybe; + write_set_change_index?: InputMaybe; }; /** columns and relationships of "table_metadatas" */ export type TableMetadatas = { - handle: Scalars['String']; - key_type: Scalars['String']; - value_type: Scalars['String']; + handle: Scalars["String"]; + key_type: Scalars["String"]; + value_type: Scalars["String"]; }; /** Boolean expression to filter rows from the table "table_metadatas". All fields are combined with a logical 'AND'. */ @@ -9316,11 +8974,11 @@ export type TableMetadatasOrderBy = { /** select columns of table "table_metadatas" */ export enum TableMetadatasSelectColumn { /** column name */ - Handle = 'handle', + Handle = "handle", /** column name */ - KeyType = 'key_type', + KeyType = "key_type", /** column name */ - ValueType = 'value_type' + ValueType = "value_type", } /** Streaming cursor of the table "table_metadatas" */ @@ -9333,35 +8991,35 @@ export type TableMetadatasStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type TableMetadatasStreamCursorValueInput = { - handle?: InputMaybe; - key_type?: InputMaybe; - value_type?: InputMaybe; + handle?: InputMaybe; + key_type?: InputMaybe; + value_type?: InputMaybe; }; /** Boolean expression to compare columns of type "timestamp". All fields are combined with logical 'AND'. */ export type TimestampComparisonExp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; }; /** Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'. */ export type TimestamptzComparisonExp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; }; /** columns and relationships of "token_activities" */ @@ -9374,64 +9032,60 @@ export type TokenActivities = { aptos_names_to: Array; /** An aggregate relationship */ aptos_names_to_aggregate: CurrentAptosNamesAggregate; - coin_amount?: Maybe; - coin_type?: Maybe; - collection_data_id_hash: Scalars['String']; - collection_name: Scalars['String']; - creator_address: Scalars['String']; + coin_amount?: Maybe; + coin_type?: Maybe; + collection_data_id_hash: Scalars["String"]; + collection_name: Scalars["String"]; + creator_address: Scalars["String"]; /** An object relationship */ current_token_data?: Maybe; - event_account_address: Scalars['String']; - event_creation_number: Scalars['bigint']; - event_index?: Maybe; - event_sequence_number: Scalars['bigint']; - from_address?: Maybe; - name: Scalars['String']; - property_version: Scalars['numeric']; - to_address?: Maybe; - token_amount: Scalars['numeric']; - token_data_id_hash: Scalars['String']; - transaction_timestamp: Scalars['timestamp']; - transaction_version: Scalars['bigint']; - transfer_type: Scalars['String']; + event_account_address: Scalars["String"]; + event_creation_number: Scalars["bigint"]; + event_index?: Maybe; + event_sequence_number: Scalars["bigint"]; + from_address?: Maybe; + name: Scalars["String"]; + property_version: Scalars["numeric"]; + to_address?: Maybe; + token_amount: Scalars["numeric"]; + token_data_id_hash: Scalars["String"]; + transaction_timestamp: Scalars["timestamp"]; + transaction_version: Scalars["bigint"]; + transfer_type: Scalars["String"]; }; - /** columns and relationships of "token_activities" */ export type TokenActivitiesAptosNamesOwnerArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - /** columns and relationships of "token_activities" */ export type TokenActivitiesAptosNamesOwnerAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - /** columns and relationships of "token_activities" */ export type TokenActivitiesAptosNamesToArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - /** columns and relationships of "token_activities" */ export type TokenActivitiesAptosNamesToAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; @@ -9445,7 +9099,7 @@ export type TokenActivitiesAggregate = { /** aggregate fields of "token_activities" */ export type TokenActivitiesAggregateFields = { avg?: Maybe; - count: Scalars['Int']; + count: Scalars["Int"]; max?: Maybe; min?: Maybe; stddev?: Maybe; @@ -9457,11 +9111,10 @@ export type TokenActivitiesAggregateFields = { variance?: Maybe; }; - /** aggregate fields of "token_activities" */ export type TokenActivitiesAggregateFieldsCountArgs = { columns?: InputMaybe>; - distinct?: InputMaybe; + distinct?: InputMaybe; }; /** order by aggregate values of table "token_activities" */ @@ -9481,13 +9134,13 @@ export type TokenActivitiesAggregateOrderBy = { /** aggregate avg on columns */ export type TokenActivitiesAvgFields = { - coin_amount?: Maybe; - event_creation_number?: Maybe; - event_index?: Maybe; - event_sequence_number?: Maybe; - property_version?: Maybe; - token_amount?: Maybe; - transaction_version?: Maybe; + coin_amount?: Maybe; + event_creation_number?: Maybe; + event_index?: Maybe; + event_sequence_number?: Maybe; + property_version?: Maybe; + token_amount?: Maybe; + transaction_version?: Maybe; }; /** order by avg() on columns of table "token_activities" */ @@ -9531,24 +9184,24 @@ export type TokenActivitiesBoolExp = { /** aggregate max on columns */ export type TokenActivitiesMaxFields = { - coin_amount?: Maybe; - coin_type?: Maybe; - collection_data_id_hash?: Maybe; - collection_name?: Maybe; - creator_address?: Maybe; - event_account_address?: Maybe; - event_creation_number?: Maybe; - event_index?: Maybe; - event_sequence_number?: Maybe; - from_address?: Maybe; - name?: Maybe; - property_version?: Maybe; - to_address?: Maybe; - token_amount?: Maybe; - token_data_id_hash?: Maybe; - transaction_timestamp?: Maybe; - transaction_version?: Maybe; - transfer_type?: Maybe; + coin_amount?: Maybe; + coin_type?: Maybe; + collection_data_id_hash?: Maybe; + collection_name?: Maybe; + creator_address?: Maybe; + event_account_address?: Maybe; + event_creation_number?: Maybe; + event_index?: Maybe; + event_sequence_number?: Maybe; + from_address?: Maybe; + name?: Maybe; + property_version?: Maybe; + to_address?: Maybe; + token_amount?: Maybe; + token_data_id_hash?: Maybe; + transaction_timestamp?: Maybe; + transaction_version?: Maybe; + transfer_type?: Maybe; }; /** order by max() on columns of table "token_activities" */ @@ -9575,24 +9228,24 @@ export type TokenActivitiesMaxOrderBy = { /** aggregate min on columns */ export type TokenActivitiesMinFields = { - coin_amount?: Maybe; - coin_type?: Maybe; - collection_data_id_hash?: Maybe; - collection_name?: Maybe; - creator_address?: Maybe; - event_account_address?: Maybe; - event_creation_number?: Maybe; - event_index?: Maybe; - event_sequence_number?: Maybe; - from_address?: Maybe; - name?: Maybe; - property_version?: Maybe; - to_address?: Maybe; - token_amount?: Maybe; - token_data_id_hash?: Maybe; - transaction_timestamp?: Maybe; - transaction_version?: Maybe; - transfer_type?: Maybe; + coin_amount?: Maybe; + coin_type?: Maybe; + collection_data_id_hash?: Maybe; + collection_name?: Maybe; + creator_address?: Maybe; + event_account_address?: Maybe; + event_creation_number?: Maybe; + event_index?: Maybe; + event_sequence_number?: Maybe; + from_address?: Maybe; + name?: Maybe; + property_version?: Maybe; + to_address?: Maybe; + token_amount?: Maybe; + token_data_id_hash?: Maybe; + transaction_timestamp?: Maybe; + transaction_version?: Maybe; + transfer_type?: Maybe; }; /** order by min() on columns of table "token_activities" */ @@ -9645,52 +9298,52 @@ export type TokenActivitiesOrderBy = { /** select columns of table "token_activities" */ export enum TokenActivitiesSelectColumn { /** column name */ - CoinAmount = 'coin_amount', + CoinAmount = "coin_amount", /** column name */ - CoinType = 'coin_type', + CoinType = "coin_type", /** column name */ - CollectionDataIdHash = 'collection_data_id_hash', + CollectionDataIdHash = "collection_data_id_hash", /** column name */ - CollectionName = 'collection_name', + CollectionName = "collection_name", /** column name */ - CreatorAddress = 'creator_address', + CreatorAddress = "creator_address", /** column name */ - EventAccountAddress = 'event_account_address', + EventAccountAddress = "event_account_address", /** column name */ - EventCreationNumber = 'event_creation_number', + EventCreationNumber = "event_creation_number", /** column name */ - EventIndex = 'event_index', + EventIndex = "event_index", /** column name */ - EventSequenceNumber = 'event_sequence_number', + EventSequenceNumber = "event_sequence_number", /** column name */ - FromAddress = 'from_address', + FromAddress = "from_address", /** column name */ - Name = 'name', + Name = "name", /** column name */ - PropertyVersion = 'property_version', + PropertyVersion = "property_version", /** column name */ - ToAddress = 'to_address', + ToAddress = "to_address", /** column name */ - TokenAmount = 'token_amount', + TokenAmount = "token_amount", /** column name */ - TokenDataIdHash = 'token_data_id_hash', + TokenDataIdHash = "token_data_id_hash", /** column name */ - TransactionTimestamp = 'transaction_timestamp', + TransactionTimestamp = "transaction_timestamp", /** column name */ - TransactionVersion = 'transaction_version', + TransactionVersion = "transaction_version", /** column name */ - TransferType = 'transfer_type' + TransferType = "transfer_type", } /** aggregate stddev on columns */ export type TokenActivitiesStddevFields = { - coin_amount?: Maybe; - event_creation_number?: Maybe; - event_index?: Maybe; - event_sequence_number?: Maybe; - property_version?: Maybe; - token_amount?: Maybe; - transaction_version?: Maybe; + coin_amount?: Maybe; + event_creation_number?: Maybe; + event_index?: Maybe; + event_sequence_number?: Maybe; + property_version?: Maybe; + token_amount?: Maybe; + transaction_version?: Maybe; }; /** order by stddev() on columns of table "token_activities" */ @@ -9706,13 +9359,13 @@ export type TokenActivitiesStddevOrderBy = { /** aggregate stddev_pop on columns */ export type TokenActivitiesStddevPopFields = { - coin_amount?: Maybe; - event_creation_number?: Maybe; - event_index?: Maybe; - event_sequence_number?: Maybe; - property_version?: Maybe; - token_amount?: Maybe; - transaction_version?: Maybe; + coin_amount?: Maybe; + event_creation_number?: Maybe; + event_index?: Maybe; + event_sequence_number?: Maybe; + property_version?: Maybe; + token_amount?: Maybe; + transaction_version?: Maybe; }; /** order by stddev_pop() on columns of table "token_activities" */ @@ -9728,13 +9381,13 @@ export type TokenActivitiesStddevPopOrderBy = { /** aggregate stddev_samp on columns */ export type TokenActivitiesStddevSampFields = { - coin_amount?: Maybe; - event_creation_number?: Maybe; - event_index?: Maybe; - event_sequence_number?: Maybe; - property_version?: Maybe; - token_amount?: Maybe; - transaction_version?: Maybe; + coin_amount?: Maybe; + event_creation_number?: Maybe; + event_index?: Maybe; + event_sequence_number?: Maybe; + property_version?: Maybe; + token_amount?: Maybe; + transaction_version?: Maybe; }; /** order by stddev_samp() on columns of table "token_activities" */ @@ -9758,35 +9411,35 @@ export type TokenActivitiesStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type TokenActivitiesStreamCursorValueInput = { - coin_amount?: InputMaybe; - coin_type?: InputMaybe; - collection_data_id_hash?: InputMaybe; - collection_name?: InputMaybe; - creator_address?: InputMaybe; - event_account_address?: InputMaybe; - event_creation_number?: InputMaybe; - event_index?: InputMaybe; - event_sequence_number?: InputMaybe; - from_address?: InputMaybe; - name?: InputMaybe; - property_version?: InputMaybe; - to_address?: InputMaybe; - token_amount?: InputMaybe; - token_data_id_hash?: InputMaybe; - transaction_timestamp?: InputMaybe; - transaction_version?: InputMaybe; - transfer_type?: InputMaybe; + coin_amount?: InputMaybe; + coin_type?: InputMaybe; + collection_data_id_hash?: InputMaybe; + collection_name?: InputMaybe; + creator_address?: InputMaybe; + event_account_address?: InputMaybe; + event_creation_number?: InputMaybe; + event_index?: InputMaybe; + event_sequence_number?: InputMaybe; + from_address?: InputMaybe; + name?: InputMaybe; + property_version?: InputMaybe; + to_address?: InputMaybe; + token_amount?: InputMaybe; + token_data_id_hash?: InputMaybe; + transaction_timestamp?: InputMaybe; + transaction_version?: InputMaybe; + transfer_type?: InputMaybe; }; /** aggregate sum on columns */ export type TokenActivitiesSumFields = { - coin_amount?: Maybe; - event_creation_number?: Maybe; - event_index?: Maybe; - event_sequence_number?: Maybe; - property_version?: Maybe; - token_amount?: Maybe; - transaction_version?: Maybe; + coin_amount?: Maybe; + event_creation_number?: Maybe; + event_index?: Maybe; + event_sequence_number?: Maybe; + property_version?: Maybe; + token_amount?: Maybe; + transaction_version?: Maybe; }; /** order by sum() on columns of table "token_activities" */ @@ -9802,7 +9455,7 @@ export type TokenActivitiesSumOrderBy = { /** columns and relationships of "token_activities_v2" */ export type TokenActivitiesV2 = { - after_value?: Maybe; + after_value?: Maybe; /** An array relationship */ aptos_names_from: Array; /** An aggregate relationship */ @@ -9811,60 +9464,56 @@ export type TokenActivitiesV2 = { aptos_names_to: Array; /** An aggregate relationship */ aptos_names_to_aggregate: CurrentAptosNamesAggregate; - before_value?: Maybe; + before_value?: Maybe; /** An object relationship */ current_token_data?: Maybe; - entry_function_id_str?: Maybe; - event_account_address: Scalars['String']; - event_index: Scalars['bigint']; - from_address?: Maybe; - is_fungible_v2?: Maybe; - property_version_v1: Scalars['numeric']; - to_address?: Maybe; - token_amount: Scalars['numeric']; - token_data_id: Scalars['String']; - token_standard: Scalars['String']; - transaction_timestamp: Scalars['timestamp']; - transaction_version: Scalars['bigint']; - type: Scalars['String']; + entry_function_id_str?: Maybe; + event_account_address: Scalars["String"]; + event_index: Scalars["bigint"]; + from_address?: Maybe; + is_fungible_v2?: Maybe; + property_version_v1: Scalars["numeric"]; + to_address?: Maybe; + token_amount: Scalars["numeric"]; + token_data_id: Scalars["String"]; + token_standard: Scalars["String"]; + transaction_timestamp: Scalars["timestamp"]; + transaction_version: Scalars["bigint"]; + type: Scalars["String"]; }; - /** columns and relationships of "token_activities_v2" */ export type TokenActivitiesV2AptosNamesFromArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - /** columns and relationships of "token_activities_v2" */ export type TokenActivitiesV2AptosNamesFromAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - /** columns and relationships of "token_activities_v2" */ export type TokenActivitiesV2AptosNamesToArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; - /** columns and relationships of "token_activities_v2" */ export type TokenActivitiesV2AptosNamesToAggregateArgs = { distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; order_by?: InputMaybe>; where?: InputMaybe; }; @@ -9878,7 +9527,7 @@ export type TokenActivitiesV2Aggregate = { /** aggregate fields of "token_activities_v2" */ export type TokenActivitiesV2AggregateFields = { avg?: Maybe; - count: Scalars['Int']; + count: Scalars["Int"]; max?: Maybe; min?: Maybe; stddev?: Maybe; @@ -9890,11 +9539,10 @@ export type TokenActivitiesV2AggregateFields = { variance?: Maybe; }; - /** aggregate fields of "token_activities_v2" */ export type TokenActivitiesV2AggregateFieldsCountArgs = { columns?: InputMaybe>; - distinct?: InputMaybe; + distinct?: InputMaybe; }; /** order by aggregate values of table "token_activities_v2" */ @@ -9914,10 +9562,10 @@ export type TokenActivitiesV2AggregateOrderBy = { /** aggregate avg on columns */ export type TokenActivitiesV2AvgFields = { - event_index?: Maybe; - property_version_v1?: Maybe; - token_amount?: Maybe; - transaction_version?: Maybe; + event_index?: Maybe; + property_version_v1?: Maybe; + token_amount?: Maybe; + transaction_version?: Maybe; }; /** order by avg() on columns of table "token_activities_v2" */ @@ -9955,20 +9603,20 @@ export type TokenActivitiesV2BoolExp = { /** aggregate max on columns */ export type TokenActivitiesV2MaxFields = { - after_value?: Maybe; - before_value?: Maybe; - entry_function_id_str?: Maybe; - event_account_address?: Maybe; - event_index?: Maybe; - from_address?: Maybe; - property_version_v1?: Maybe; - to_address?: Maybe; - token_amount?: Maybe; - token_data_id?: Maybe; - token_standard?: Maybe; - transaction_timestamp?: Maybe; - transaction_version?: Maybe; - type?: Maybe; + after_value?: Maybe; + before_value?: Maybe; + entry_function_id_str?: Maybe; + event_account_address?: Maybe; + event_index?: Maybe; + from_address?: Maybe; + property_version_v1?: Maybe; + to_address?: Maybe; + token_amount?: Maybe; + token_data_id?: Maybe; + token_standard?: Maybe; + transaction_timestamp?: Maybe; + transaction_version?: Maybe; + type?: Maybe; }; /** order by max() on columns of table "token_activities_v2" */ @@ -9991,20 +9639,20 @@ export type TokenActivitiesV2MaxOrderBy = { /** aggregate min on columns */ export type TokenActivitiesV2MinFields = { - after_value?: Maybe; - before_value?: Maybe; - entry_function_id_str?: Maybe; - event_account_address?: Maybe; - event_index?: Maybe; - from_address?: Maybe; - property_version_v1?: Maybe; - to_address?: Maybe; - token_amount?: Maybe; - token_data_id?: Maybe; - token_standard?: Maybe; - transaction_timestamp?: Maybe; - transaction_version?: Maybe; - type?: Maybe; + after_value?: Maybe; + before_value?: Maybe; + entry_function_id_str?: Maybe; + event_account_address?: Maybe; + event_index?: Maybe; + from_address?: Maybe; + property_version_v1?: Maybe; + to_address?: Maybe; + token_amount?: Maybe; + token_data_id?: Maybe; + token_standard?: Maybe; + transaction_timestamp?: Maybe; + transaction_version?: Maybe; + type?: Maybe; }; /** order by min() on columns of table "token_activities_v2" */ @@ -10050,43 +9698,43 @@ export type TokenActivitiesV2OrderBy = { /** select columns of table "token_activities_v2" */ export enum TokenActivitiesV2SelectColumn { /** column name */ - AfterValue = 'after_value', + AfterValue = "after_value", /** column name */ - BeforeValue = 'before_value', + BeforeValue = "before_value", /** column name */ - EntryFunctionIdStr = 'entry_function_id_str', + EntryFunctionIdStr = "entry_function_id_str", /** column name */ - EventAccountAddress = 'event_account_address', + EventAccountAddress = "event_account_address", /** column name */ - EventIndex = 'event_index', + EventIndex = "event_index", /** column name */ - FromAddress = 'from_address', + FromAddress = "from_address", /** column name */ - IsFungibleV2 = 'is_fungible_v2', + IsFungibleV2 = "is_fungible_v2", /** column name */ - PropertyVersionV1 = 'property_version_v1', + PropertyVersionV1 = "property_version_v1", /** column name */ - ToAddress = 'to_address', + ToAddress = "to_address", /** column name */ - TokenAmount = 'token_amount', + TokenAmount = "token_amount", /** column name */ - TokenDataId = 'token_data_id', + TokenDataId = "token_data_id", /** column name */ - TokenStandard = 'token_standard', + TokenStandard = "token_standard", /** column name */ - TransactionTimestamp = 'transaction_timestamp', + TransactionTimestamp = "transaction_timestamp", /** column name */ - TransactionVersion = 'transaction_version', + TransactionVersion = "transaction_version", /** column name */ - Type = 'type' + Type = "type", } /** aggregate stddev on columns */ export type TokenActivitiesV2StddevFields = { - event_index?: Maybe; - property_version_v1?: Maybe; - token_amount?: Maybe; - transaction_version?: Maybe; + event_index?: Maybe; + property_version_v1?: Maybe; + token_amount?: Maybe; + transaction_version?: Maybe; }; /** order by stddev() on columns of table "token_activities_v2" */ @@ -10099,10 +9747,10 @@ export type TokenActivitiesV2StddevOrderBy = { /** aggregate stddev_pop on columns */ export type TokenActivitiesV2StddevPopFields = { - event_index?: Maybe; - property_version_v1?: Maybe; - token_amount?: Maybe; - transaction_version?: Maybe; + event_index?: Maybe; + property_version_v1?: Maybe; + token_amount?: Maybe; + transaction_version?: Maybe; }; /** order by stddev_pop() on columns of table "token_activities_v2" */ @@ -10115,10 +9763,10 @@ export type TokenActivitiesV2StddevPopOrderBy = { /** aggregate stddev_samp on columns */ export type TokenActivitiesV2StddevSampFields = { - event_index?: Maybe; - property_version_v1?: Maybe; - token_amount?: Maybe; - transaction_version?: Maybe; + event_index?: Maybe; + property_version_v1?: Maybe; + token_amount?: Maybe; + transaction_version?: Maybe; }; /** order by stddev_samp() on columns of table "token_activities_v2" */ @@ -10139,29 +9787,29 @@ export type TokenActivitiesV2StreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type TokenActivitiesV2StreamCursorValueInput = { - after_value?: InputMaybe; - before_value?: InputMaybe; - entry_function_id_str?: InputMaybe; - event_account_address?: InputMaybe; - event_index?: InputMaybe; - from_address?: InputMaybe; - is_fungible_v2?: InputMaybe; - property_version_v1?: InputMaybe; - to_address?: InputMaybe; - token_amount?: InputMaybe; - token_data_id?: InputMaybe; - token_standard?: InputMaybe; - transaction_timestamp?: InputMaybe; - transaction_version?: InputMaybe; - type?: InputMaybe; + after_value?: InputMaybe; + before_value?: InputMaybe; + entry_function_id_str?: InputMaybe; + event_account_address?: InputMaybe; + event_index?: InputMaybe; + from_address?: InputMaybe; + is_fungible_v2?: InputMaybe; + property_version_v1?: InputMaybe; + to_address?: InputMaybe; + token_amount?: InputMaybe; + token_data_id?: InputMaybe; + token_standard?: InputMaybe; + transaction_timestamp?: InputMaybe; + transaction_version?: InputMaybe; + type?: InputMaybe; }; /** aggregate sum on columns */ export type TokenActivitiesV2SumFields = { - event_index?: Maybe; - property_version_v1?: Maybe; - token_amount?: Maybe; - transaction_version?: Maybe; + event_index?: Maybe; + property_version_v1?: Maybe; + token_amount?: Maybe; + transaction_version?: Maybe; }; /** order by sum() on columns of table "token_activities_v2" */ @@ -10174,10 +9822,10 @@ export type TokenActivitiesV2SumOrderBy = { /** aggregate var_pop on columns */ export type TokenActivitiesV2VarPopFields = { - event_index?: Maybe; - property_version_v1?: Maybe; - token_amount?: Maybe; - transaction_version?: Maybe; + event_index?: Maybe; + property_version_v1?: Maybe; + token_amount?: Maybe; + transaction_version?: Maybe; }; /** order by var_pop() on columns of table "token_activities_v2" */ @@ -10190,10 +9838,10 @@ export type TokenActivitiesV2VarPopOrderBy = { /** aggregate var_samp on columns */ export type TokenActivitiesV2VarSampFields = { - event_index?: Maybe; - property_version_v1?: Maybe; - token_amount?: Maybe; - transaction_version?: Maybe; + event_index?: Maybe; + property_version_v1?: Maybe; + token_amount?: Maybe; + transaction_version?: Maybe; }; /** order by var_samp() on columns of table "token_activities_v2" */ @@ -10206,10 +9854,10 @@ export type TokenActivitiesV2VarSampOrderBy = { /** aggregate variance on columns */ export type TokenActivitiesV2VarianceFields = { - event_index?: Maybe; - property_version_v1?: Maybe; - token_amount?: Maybe; - transaction_version?: Maybe; + event_index?: Maybe; + property_version_v1?: Maybe; + token_amount?: Maybe; + transaction_version?: Maybe; }; /** order by variance() on columns of table "token_activities_v2" */ @@ -10222,13 +9870,13 @@ export type TokenActivitiesV2VarianceOrderBy = { /** aggregate var_pop on columns */ export type TokenActivitiesVarPopFields = { - coin_amount?: Maybe; - event_creation_number?: Maybe; - event_index?: Maybe; - event_sequence_number?: Maybe; - property_version?: Maybe; - token_amount?: Maybe; - transaction_version?: Maybe; + coin_amount?: Maybe; + event_creation_number?: Maybe; + event_index?: Maybe; + event_sequence_number?: Maybe; + property_version?: Maybe; + token_amount?: Maybe; + transaction_version?: Maybe; }; /** order by var_pop() on columns of table "token_activities" */ @@ -10244,13 +9892,13 @@ export type TokenActivitiesVarPopOrderBy = { /** aggregate var_samp on columns */ export type TokenActivitiesVarSampFields = { - coin_amount?: Maybe; - event_creation_number?: Maybe; - event_index?: Maybe; - event_sequence_number?: Maybe; - property_version?: Maybe; - token_amount?: Maybe; - transaction_version?: Maybe; + coin_amount?: Maybe; + event_creation_number?: Maybe; + event_index?: Maybe; + event_sequence_number?: Maybe; + property_version?: Maybe; + token_amount?: Maybe; + transaction_version?: Maybe; }; /** order by var_samp() on columns of table "token_activities" */ @@ -10266,13 +9914,13 @@ export type TokenActivitiesVarSampOrderBy = { /** aggregate variance on columns */ export type TokenActivitiesVarianceFields = { - coin_amount?: Maybe; - event_creation_number?: Maybe; - event_index?: Maybe; - event_sequence_number?: Maybe; - property_version?: Maybe; - token_amount?: Maybe; - transaction_version?: Maybe; + coin_amount?: Maybe; + event_creation_number?: Maybe; + event_index?: Maybe; + event_sequence_number?: Maybe; + property_version?: Maybe; + token_amount?: Maybe; + transaction_version?: Maybe; }; /** order by variance() on columns of table "token_activities" */ @@ -10288,33 +9936,32 @@ export type TokenActivitiesVarianceOrderBy = { /** columns and relationships of "token_datas" */ export type TokenDatas = { - collection_data_id_hash: Scalars['String']; - collection_name: Scalars['String']; - creator_address: Scalars['String']; - default_properties: Scalars['jsonb']; - description: Scalars['String']; - description_mutable: Scalars['Boolean']; - largest_property_version: Scalars['numeric']; - maximum: Scalars['numeric']; - maximum_mutable: Scalars['Boolean']; - metadata_uri: Scalars['String']; - name: Scalars['String']; - payee_address: Scalars['String']; - properties_mutable: Scalars['Boolean']; - royalty_mutable: Scalars['Boolean']; - royalty_points_denominator: Scalars['numeric']; - royalty_points_numerator: Scalars['numeric']; - supply: Scalars['numeric']; - token_data_id_hash: Scalars['String']; - transaction_timestamp: Scalars['timestamp']; - transaction_version: Scalars['bigint']; - uri_mutable: Scalars['Boolean']; + collection_data_id_hash: Scalars["String"]; + collection_name: Scalars["String"]; + creator_address: Scalars["String"]; + default_properties: Scalars["jsonb"]; + description: Scalars["String"]; + description_mutable: Scalars["Boolean"]; + largest_property_version: Scalars["numeric"]; + maximum: Scalars["numeric"]; + maximum_mutable: Scalars["Boolean"]; + metadata_uri: Scalars["String"]; + name: Scalars["String"]; + payee_address: Scalars["String"]; + properties_mutable: Scalars["Boolean"]; + royalty_mutable: Scalars["Boolean"]; + royalty_points_denominator: Scalars["numeric"]; + royalty_points_numerator: Scalars["numeric"]; + supply: Scalars["numeric"]; + token_data_id_hash: Scalars["String"]; + transaction_timestamp: Scalars["timestamp"]; + transaction_version: Scalars["bigint"]; + uri_mutable: Scalars["Boolean"]; }; - /** columns and relationships of "token_datas" */ export type TokenDatasDefaultPropertiesArgs = { - path?: InputMaybe; + path?: InputMaybe; }; /** Boolean expression to filter rows from the table "token_datas". All fields are combined with a logical 'AND'. */ @@ -10373,47 +10020,47 @@ export type TokenDatasOrderBy = { /** select columns of table "token_datas" */ export enum TokenDatasSelectColumn { /** column name */ - CollectionDataIdHash = 'collection_data_id_hash', + CollectionDataIdHash = "collection_data_id_hash", /** column name */ - CollectionName = 'collection_name', + CollectionName = "collection_name", /** column name */ - CreatorAddress = 'creator_address', + CreatorAddress = "creator_address", /** column name */ - DefaultProperties = 'default_properties', + DefaultProperties = "default_properties", /** column name */ - Description = 'description', + Description = "description", /** column name */ - DescriptionMutable = 'description_mutable', + DescriptionMutable = "description_mutable", /** column name */ - LargestPropertyVersion = 'largest_property_version', + LargestPropertyVersion = "largest_property_version", /** column name */ - Maximum = 'maximum', + Maximum = "maximum", /** column name */ - MaximumMutable = 'maximum_mutable', + MaximumMutable = "maximum_mutable", /** column name */ - MetadataUri = 'metadata_uri', + MetadataUri = "metadata_uri", /** column name */ - Name = 'name', + Name = "name", /** column name */ - PayeeAddress = 'payee_address', + PayeeAddress = "payee_address", /** column name */ - PropertiesMutable = 'properties_mutable', + PropertiesMutable = "properties_mutable", /** column name */ - RoyaltyMutable = 'royalty_mutable', + RoyaltyMutable = "royalty_mutable", /** column name */ - RoyaltyPointsDenominator = 'royalty_points_denominator', + RoyaltyPointsDenominator = "royalty_points_denominator", /** column name */ - RoyaltyPointsNumerator = 'royalty_points_numerator', + RoyaltyPointsNumerator = "royalty_points_numerator", /** column name */ - Supply = 'supply', + Supply = "supply", /** column name */ - TokenDataIdHash = 'token_data_id_hash', + TokenDataIdHash = "token_data_id_hash", /** column name */ - TransactionTimestamp = 'transaction_timestamp', + TransactionTimestamp = "transaction_timestamp", /** column name */ - TransactionVersion = 'transaction_version', + TransactionVersion = "transaction_version", /** column name */ - UriMutable = 'uri_mutable' + UriMutable = "uri_mutable", } /** Streaming cursor of the table "token_datas" */ @@ -10426,43 +10073,43 @@ export type TokenDatasStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type TokenDatasStreamCursorValueInput = { - collection_data_id_hash?: InputMaybe; - collection_name?: InputMaybe; - creator_address?: InputMaybe; - default_properties?: InputMaybe; - description?: InputMaybe; - description_mutable?: InputMaybe; - largest_property_version?: InputMaybe; - maximum?: InputMaybe; - maximum_mutable?: InputMaybe; - metadata_uri?: InputMaybe; - name?: InputMaybe; - payee_address?: InputMaybe; - properties_mutable?: InputMaybe; - royalty_mutable?: InputMaybe; - royalty_points_denominator?: InputMaybe; - royalty_points_numerator?: InputMaybe; - supply?: InputMaybe; - token_data_id_hash?: InputMaybe; - transaction_timestamp?: InputMaybe; - transaction_version?: InputMaybe; - uri_mutable?: InputMaybe; + collection_data_id_hash?: InputMaybe; + collection_name?: InputMaybe; + creator_address?: InputMaybe; + default_properties?: InputMaybe; + description?: InputMaybe; + description_mutable?: InputMaybe; + largest_property_version?: InputMaybe; + maximum?: InputMaybe; + maximum_mutable?: InputMaybe; + metadata_uri?: InputMaybe; + name?: InputMaybe; + payee_address?: InputMaybe; + properties_mutable?: InputMaybe; + royalty_mutable?: InputMaybe; + royalty_points_denominator?: InputMaybe; + royalty_points_numerator?: InputMaybe; + supply?: InputMaybe; + token_data_id_hash?: InputMaybe; + transaction_timestamp?: InputMaybe; + transaction_version?: InputMaybe; + uri_mutable?: InputMaybe; }; /** columns and relationships of "token_ownerships" */ export type TokenOwnerships = { - amount: Scalars['numeric']; - collection_data_id_hash: Scalars['String']; - collection_name: Scalars['String']; - creator_address: Scalars['String']; - name: Scalars['String']; - owner_address?: Maybe; - property_version: Scalars['numeric']; - table_handle: Scalars['String']; - table_type?: Maybe; - token_data_id_hash: Scalars['String']; - transaction_timestamp: Scalars['timestamp']; - transaction_version: Scalars['bigint']; + amount: Scalars["numeric"]; + collection_data_id_hash: Scalars["String"]; + collection_name: Scalars["String"]; + creator_address: Scalars["String"]; + name: Scalars["String"]; + owner_address?: Maybe; + property_version: Scalars["numeric"]; + table_handle: Scalars["String"]; + table_type?: Maybe; + token_data_id_hash: Scalars["String"]; + transaction_timestamp: Scalars["timestamp"]; + transaction_version: Scalars["bigint"]; }; /** Boolean expression to filter rows from the table "token_ownerships". All fields are combined with a logical 'AND'. */ @@ -10503,29 +10150,29 @@ export type TokenOwnershipsOrderBy = { /** select columns of table "token_ownerships" */ export enum TokenOwnershipsSelectColumn { /** column name */ - Amount = 'amount', + Amount = "amount", /** column name */ - CollectionDataIdHash = 'collection_data_id_hash', + CollectionDataIdHash = "collection_data_id_hash", /** column name */ - CollectionName = 'collection_name', + CollectionName = "collection_name", /** column name */ - CreatorAddress = 'creator_address', + CreatorAddress = "creator_address", /** column name */ - Name = 'name', + Name = "name", /** column name */ - OwnerAddress = 'owner_address', + OwnerAddress = "owner_address", /** column name */ - PropertyVersion = 'property_version', + PropertyVersion = "property_version", /** column name */ - TableHandle = 'table_handle', + TableHandle = "table_handle", /** column name */ - TableType = 'table_type', + TableType = "table_type", /** column name */ - TokenDataIdHash = 'token_data_id_hash', + TokenDataIdHash = "token_data_id_hash", /** column name */ - TransactionTimestamp = 'transaction_timestamp', + TransactionTimestamp = "transaction_timestamp", /** column name */ - TransactionVersion = 'transaction_version' + TransactionVersion = "transaction_version", } /** Streaming cursor of the table "token_ownerships" */ @@ -10538,37 +10185,36 @@ export type TokenOwnershipsStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type TokenOwnershipsStreamCursorValueInput = { - amount?: InputMaybe; - collection_data_id_hash?: InputMaybe; - collection_name?: InputMaybe; - creator_address?: InputMaybe; - name?: InputMaybe; - owner_address?: InputMaybe; - property_version?: InputMaybe; - table_handle?: InputMaybe; - table_type?: InputMaybe; - token_data_id_hash?: InputMaybe; - transaction_timestamp?: InputMaybe; - transaction_version?: InputMaybe; + amount?: InputMaybe; + collection_data_id_hash?: InputMaybe; + collection_name?: InputMaybe; + creator_address?: InputMaybe; + name?: InputMaybe; + owner_address?: InputMaybe; + property_version?: InputMaybe; + table_handle?: InputMaybe; + table_type?: InputMaybe; + token_data_id_hash?: InputMaybe; + transaction_timestamp?: InputMaybe; + transaction_version?: InputMaybe; }; /** columns and relationships of "tokens" */ export type Tokens = { - collection_data_id_hash: Scalars['String']; - collection_name: Scalars['String']; - creator_address: Scalars['String']; - name: Scalars['String']; - property_version: Scalars['numeric']; - token_data_id_hash: Scalars['String']; - token_properties: Scalars['jsonb']; - transaction_timestamp: Scalars['timestamp']; - transaction_version: Scalars['bigint']; + collection_data_id_hash: Scalars["String"]; + collection_name: Scalars["String"]; + creator_address: Scalars["String"]; + name: Scalars["String"]; + property_version: Scalars["numeric"]; + token_data_id_hash: Scalars["String"]; + token_properties: Scalars["jsonb"]; + transaction_timestamp: Scalars["timestamp"]; + transaction_version: Scalars["bigint"]; }; - /** columns and relationships of "tokens" */ export type TokensTokenPropertiesArgs = { - path?: InputMaybe; + path?: InputMaybe; }; /** Boolean expression to filter rows from the table "tokens". All fields are combined with a logical 'AND'. */ @@ -10603,23 +10249,23 @@ export type TokensOrderBy = { /** select columns of table "tokens" */ export enum TokensSelectColumn { /** column name */ - CollectionDataIdHash = 'collection_data_id_hash', + CollectionDataIdHash = "collection_data_id_hash", /** column name */ - CollectionName = 'collection_name', + CollectionName = "collection_name", /** column name */ - CreatorAddress = 'creator_address', + CreatorAddress = "creator_address", /** column name */ - Name = 'name', + Name = "name", /** column name */ - PropertyVersion = 'property_version', + PropertyVersion = "property_version", /** column name */ - TokenDataIdHash = 'token_data_id_hash', + TokenDataIdHash = "token_data_id_hash", /** column name */ - TokenProperties = 'token_properties', + TokenProperties = "token_properties", /** column name */ - TransactionTimestamp = 'transaction_timestamp', + TransactionTimestamp = "transaction_timestamp", /** column name */ - TransactionVersion = 'transaction_version' + TransactionVersion = "transaction_version", } /** Streaming cursor of the table "tokens" */ @@ -10632,30 +10278,30 @@ export type TokensStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type TokensStreamCursorValueInput = { - collection_data_id_hash?: InputMaybe; - collection_name?: InputMaybe; - creator_address?: InputMaybe; - name?: InputMaybe; - property_version?: InputMaybe; - token_data_id_hash?: InputMaybe; - token_properties?: InputMaybe; - transaction_timestamp?: InputMaybe; - transaction_version?: InputMaybe; + collection_data_id_hash?: InputMaybe; + collection_name?: InputMaybe; + creator_address?: InputMaybe; + name?: InputMaybe; + property_version?: InputMaybe; + token_data_id_hash?: InputMaybe; + token_properties?: InputMaybe; + transaction_timestamp?: InputMaybe; + transaction_version?: InputMaybe; }; /** columns and relationships of "user_transactions" */ export type UserTransactions = { - block_height: Scalars['bigint']; - entry_function_id_str: Scalars['String']; - epoch: Scalars['bigint']; - expiration_timestamp_secs: Scalars['timestamp']; - gas_unit_price: Scalars['numeric']; - max_gas_amount: Scalars['numeric']; - parent_signature_type: Scalars['String']; - sender: Scalars['String']; - sequence_number: Scalars['bigint']; - timestamp: Scalars['timestamp']; - version: Scalars['bigint']; + block_height: Scalars["bigint"]; + entry_function_id_str: Scalars["String"]; + epoch: Scalars["bigint"]; + expiration_timestamp_secs: Scalars["timestamp"]; + gas_unit_price: Scalars["numeric"]; + max_gas_amount: Scalars["numeric"]; + parent_signature_type: Scalars["String"]; + sender: Scalars["String"]; + sequence_number: Scalars["bigint"]; + timestamp: Scalars["timestamp"]; + version: Scalars["bigint"]; }; /** Boolean expression to filter rows from the table "user_transactions". All fields are combined with a logical 'AND'. */ @@ -10694,27 +10340,27 @@ export type UserTransactionsOrderBy = { /** select columns of table "user_transactions" */ export enum UserTransactionsSelectColumn { /** column name */ - BlockHeight = 'block_height', + BlockHeight = "block_height", /** column name */ - EntryFunctionIdStr = 'entry_function_id_str', + EntryFunctionIdStr = "entry_function_id_str", /** column name */ - Epoch = 'epoch', + Epoch = "epoch", /** column name */ - ExpirationTimestampSecs = 'expiration_timestamp_secs', + ExpirationTimestampSecs = "expiration_timestamp_secs", /** column name */ - GasUnitPrice = 'gas_unit_price', + GasUnitPrice = "gas_unit_price", /** column name */ - MaxGasAmount = 'max_gas_amount', + MaxGasAmount = "max_gas_amount", /** column name */ - ParentSignatureType = 'parent_signature_type', + ParentSignatureType = "parent_signature_type", /** column name */ - Sender = 'sender', + Sender = "sender", /** column name */ - SequenceNumber = 'sequence_number', + SequenceNumber = "sequence_number", /** column name */ - Timestamp = 'timestamp', + Timestamp = "timestamp", /** column name */ - Version = 'version' + Version = "version", } /** Streaming cursor of the table "user_transactions" */ @@ -10727,15 +10373,15 @@ export type UserTransactionsStreamCursorInput = { /** Initial value of the column from where the streaming should start */ export type UserTransactionsStreamCursorValueInput = { - block_height?: InputMaybe; - entry_function_id_str?: InputMaybe; - epoch?: InputMaybe; - expiration_timestamp_secs?: InputMaybe; - gas_unit_price?: InputMaybe; - max_gas_amount?: InputMaybe; - parent_signature_type?: InputMaybe; - sender?: InputMaybe; - sequence_number?: InputMaybe; - timestamp?: InputMaybe; - version?: InputMaybe; + block_height?: InputMaybe; + entry_function_id_str?: InputMaybe; + epoch?: InputMaybe; + expiration_timestamp_secs?: InputMaybe; + gas_unit_price?: InputMaybe; + max_gas_amount?: InputMaybe; + parent_signature_type?: InputMaybe; + sender?: InputMaybe; + sequence_number?: InputMaybe; + timestamp?: InputMaybe; + version?: InputMaybe; }; diff --git a/src/types/indexer.ts b/src/types/indexer.ts index 3977fdc7f..fcf28190c 100644 --- a/src/types/indexer.ts +++ b/src/types/indexer.ts @@ -12,14 +12,13 @@ */ import { - GetAccountTokensCountQuery, - GetAccountTransactionsCountQuery, GetAccountCoinsDataQuery, - GetAccountCoinsCountQuery, GetAccountOwnedObjectsQuery, GetAccountOwnedTokensQuery, GetAccountOwnedTokensFromCollectionQuery, GetAccountCollectionsWithOwnedTokensQuery, + GetDelegatedStakingActivitiesQuery, + GetNumberOfDelegatorsQuery, GetCollectionDataQuery, } from "./generated/operations"; @@ -33,12 +32,6 @@ import { * These types are used as the return type when calling an sdk api function * that calls the function that queries the server (usually under the /api/ folder) */ -export type GetAccountTokensCountQueryResponse = - GetAccountTokensCountQuery["current_token_ownerships_v2_aggregate"]["aggregate"]; -export type GetAccountTransactionsCountResponse = - GetAccountTransactionsCountQuery["account_transactions_aggregate"]["aggregate"]; -export type GetAccountCoinsCountResponse = - GetAccountCoinsCountQuery["current_fungible_asset_balances_aggregate"]["aggregate"]; export type GetAccountOwnedObjectsResponse = GetAccountOwnedObjectsQuery["current_objects"]; export type GetAccountOwnedTokensQueryResponse = GetAccountOwnedTokensQuery["current_token_ownerships_v2"]; @@ -49,6 +42,8 @@ export type GetAccountCollectionsWithOwnedTokenResponse = GetAccountCollectionsWithOwnedTokensQuery["current_collection_ownership_v2_view"]; export type GetAccountCoinsDataResponse = GetAccountCoinsDataQuery["current_fungible_asset_balances"]; +export type GetNumberOfDelegatorsResponse = GetNumberOfDelegatorsQuery["num_active_delegator_per_pool"]; +export type GetDelegatedStakingActivitiesResponse = GetDelegatedStakingActivitiesQuery["delegated_staking_activities"]; export type GetCollectionDataResponse = GetCollectionDataQuery["current_collections_v2"][0]; /** diff --git a/tests/e2e/api/account.test.ts b/tests/e2e/api/account.test.ts index 428fb7baf..daedc5b33 100644 --- a/tests/e2e/api/account.test.ts +++ b/tests/e2e/api/account.test.ts @@ -125,7 +125,7 @@ describe("account api", () => { const accountTransactionsCount = await aptos.getAccountTransactionsCount({ accountAddress: senderAccount.accountAddress.toString(), }); - expect(accountTransactionsCount?.count).toBe(1); + expect(accountTransactionsCount).toBe(1); }); test("it fetches account coins data", async () => { @@ -161,7 +161,7 @@ describe("account api", () => { const accountCoinsCount = await aptos.getAccountCoinsCount({ accountAddress: senderAccount.accountAddress.toString(), }); - expect(accountCoinsCount?.count).toBe(1); + expect(accountCoinsCount).toBe(1); }); test("lookupOriginalAccountAddress - Look up account address before key rotation", async () => { diff --git a/tests/e2e/api/staking.test.ts b/tests/e2e/api/staking.test.ts new file mode 100644 index 000000000..9728002d3 --- /dev/null +++ b/tests/e2e/api/staking.test.ts @@ -0,0 +1,46 @@ +// Copyright © Aptos Foundation +// SPDX-License-Identifier: Apache-2.0 + +import { AptosConfig, Aptos } from "../../../src"; +import { Network } from "../../../src/utils/apiEndpoints"; + +describe("staking api", () => { + test("it queries for the number of delegators", async () => { + const config = new AptosConfig({ network: Network.MAINNET }); + const aptos = new Aptos(config); + const numDelegatorsData = await aptos.getNumberOfDelegatorsForAllPools({ + options: { orderBy: [{ num_active_delegator: "desc" }] }, + }); + expect(numDelegatorsData.length).toBeGreaterThan(5); + for (let i = 1; i <= 5; i++) { + expect(numDelegatorsData[i].num_active_delegator).toBeGreaterThan(numDelegatorsData[i + 1].num_active_delegator); + } + const numDelegators = await aptos.getNumberOfDelegators({ poolAddress: numDelegatorsData[0].pool_address! }); + expect(numDelegators).toEqual(numDelegatorsData[0].num_active_delegator); + }); + + test("it throws if the poolAddress does not exist", async () => { + const config = new AptosConfig({ network: Network.DEVNET }); + const aptos = new Aptos(config); + const badAddress = "0x12345678901234567850020dfd67646b1e46282999483e7064e70f02f7e12345"; + await expect(aptos.getNumberOfDelegators({ poolAddress: badAddress })).rejects.toThrow(); + }); + + test("it queries for the activity of a delegator for a given pool", async () => { + const config = new AptosConfig({ network: Network.MAINNET }); + const aptos = new Aptos(config); + const poolAddress = "0x06099edbe54f242bad50020dfd67646b1e46282999483e7064e70f02f7ea3c15"; + const delegatorAddress = "0x5aa16d9f590b635f8cc17ba4abf40f60c77df0078cf5296a539cfbb9e87a285a"; + const delegatedStakingActivities = await aptos.getDelegatedStakingActivities({ + poolAddress, + delegatorAddress, + }); + expect(delegatedStakingActivities.length).toBeGreaterThan(0); + expect(delegatedStakingActivities[0]).toHaveProperty("amount"); + expect(delegatedStakingActivities[0]).toHaveProperty("delegator_address"); + expect(delegatedStakingActivities[0]).toHaveProperty("event_index"); + expect(delegatedStakingActivities[0]).toHaveProperty("event_type"); + expect(delegatedStakingActivities[0]).toHaveProperty("pool_address"); + expect(delegatedStakingActivities[0]).toHaveProperty("transaction_version"); + }); +});