code.vegaprotocol.io/vega@v0.79.0/protos/data-node/api/v2/trading_data_grpc.pb.go (about)

     1  // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
     2  // versions:
     3  // - protoc-gen-go-grpc v1.2.0
     4  // - protoc             (unknown)
     5  // source: data-node/api/v2/trading_data.proto
     6  
     7  package v2
     8  
     9  import (
    10  	context "context"
    11  	httpbody "google.golang.org/genproto/googleapis/api/httpbody"
    12  	grpc "google.golang.org/grpc"
    13  	codes "google.golang.org/grpc/codes"
    14  	status "google.golang.org/grpc/status"
    15  )
    16  
    17  // This is a compile-time assertion to ensure that this generated file
    18  // is compatible with the grpc package it is being compiled against.
    19  // Requires gRPC-Go v1.32.0 or later.
    20  const _ = grpc.SupportPackageIsVersion7
    21  
    22  // TradingDataServiceClient is the client API for TradingDataService service.
    23  //
    24  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
    25  type TradingDataServiceClient interface {
    26  	// List accounts
    27  	//
    28  	// Get a list of accounts matching the supplied filter, including their current balances.
    29  	// If a given account has never had a balance, it will be absent from the list.
    30  	ListAccounts(ctx context.Context, in *ListAccountsRequest, opts ...grpc.CallOption) (*ListAccountsResponse, error)
    31  	// Accounts subscription
    32  	//
    33  	// Subscribe to a stream of accounts
    34  	ObserveAccounts(ctx context.Context, in *ObserveAccountsRequest, opts ...grpc.CallOption) (TradingDataService_ObserveAccountsClient, error)
    35  	// Data node information
    36  	//
    37  	// Get information about the data node.
    38  	// Response contains a semver formatted version of the data node and the commit hash, from which the data node was built
    39  	Info(ctx context.Context, in *InfoRequest, opts ...grpc.CallOption) (*InfoResponse, error)
    40  	// Get order
    41  	//
    42  	// Get an order by its ID. An order's ID will be the SHA3-256 hash of the signature that the order was submitted with
    43  	GetOrder(ctx context.Context, in *GetOrderRequest, opts ...grpc.CallOption) (*GetOrderResponse, error)
    44  	// List orders
    45  	//
    46  	// Get a list of orders that match the given filters
    47  	ListOrders(ctx context.Context, in *ListOrdersRequest, opts ...grpc.CallOption) (*ListOrdersResponse, error)
    48  	// List order versions
    49  	//
    50  	// Get a list of all versions of an order in the order history
    51  	ListOrderVersions(ctx context.Context, in *ListOrderVersionsRequest, opts ...grpc.CallOption) (*ListOrderVersionsResponse, error)
    52  	// Observe orders
    53  	//
    54  	// Subscribe to a stream of orders
    55  	ObserveOrders(ctx context.Context, in *ObserveOrdersRequest, opts ...grpc.CallOption) (TradingDataService_ObserveOrdersClient, error)
    56  	// Get stop order
    57  	//
    58  	// Get a stop order by its ID. A stop order's ID will be the SHA3-256 hash of the signature that the order was submitted with.
    59  	// A stop order's ID is likely to be different from the ID of the order that will be submitted when the stop is triggered.
    60  	GetStopOrder(ctx context.Context, in *GetStopOrderRequest, opts ...grpc.CallOption) (*GetStopOrderResponse, error)
    61  	// List stop orders
    62  	//
    63  	// Get a list of stop orders that match the given filters
    64  	ListStopOrders(ctx context.Context, in *ListStopOrdersRequest, opts ...grpc.CallOption) (*ListStopOrdersResponse, error)
    65  	// List game team scores
    66  	//
    67  	// Get a list of team scores for the given filters
    68  	ListGameTeamScores(ctx context.Context, in *ListGameTeamScoresRequest, opts ...grpc.CallOption) (*ListGameTeamScoresResponse, error)
    69  	// List game party scores
    70  	//
    71  	// Get a list of party scores for the given filters
    72  	ListGamePartyScores(ctx context.Context, in *ListGamePartyScoresRequest, opts ...grpc.CallOption) (*ListGamePartyScoresResponse, error)
    73  	// Deprecated: Do not use.
    74  	// Deprecated: List positions
    75  	//
    76  	// Get a list of positions by party's public key using cursor based pagination
    77  	// Deprecated: use ListAllPositions instead
    78  	ListPositions(ctx context.Context, in *ListPositionsRequest, opts ...grpc.CallOption) (*ListPositionsResponse, error)
    79  	// List positions
    80  	//
    81  	// Get a list of all of a party's positions
    82  	ListAllPositions(ctx context.Context, in *ListAllPositionsRequest, opts ...grpc.CallOption) (*ListAllPositionsResponse, error)
    83  	// Observe positions
    84  	//
    85  	// Subscribe to a stream of position updates. The first messages sent through the stream will contain
    86  	// information about current positions, followed by updates to those positions.
    87  	ObservePositions(ctx context.Context, in *ObservePositionsRequest, opts ...grpc.CallOption) (TradingDataService_ObservePositionsClient, error)
    88  	// List ledger entries
    89  	//
    90  	// Get a list of ledger entries within the given date range. The date range is restricted to a maximum of 5 days.
    91  	// This query requests and sums the number of ledger entries from a given subset of accounts, specified via the 'filter' argument.
    92  	// It returns a time series - implemented as a list of AggregateLedgerEntry structs - with a row for every time
    93  	// the summed ledger entries of the set of specified accounts changes.
    94  	// Each account filter must contain no more than one party ID.
    95  	// At least one party ID must be specified in the from or to account filter.
    96  	//
    97  	// Entries can be filtered by:
    98  	//   - the sending account (market ID, asset ID, account type)
    99  	//   - receiving account (market ID, asset ID, account type)
   100  	//   - sending AND receiving account
   101  	//   - transfer type either in addition to the above filters or as a standalone option
   102  	//
   103  	// Note: The date range is restricted to any 5 days.
   104  	//
   105  	//	If no start or end date is provided, only ledger entries from the last 5 days will be returned.
   106  	//	If a start and end date are provided, but the end date is more than 5 days after the start date, only data up to 5 days after the start date will be returned.
   107  	//	If a start date is provided but no end date, the end date will be set to 5 days after the start date.
   108  	//	If no start date is provided, but the end date is, the start date will be set to 5 days before the end date.
   109  	ListLedgerEntries(ctx context.Context, in *ListLedgerEntriesRequest, opts ...grpc.CallOption) (*ListLedgerEntriesResponse, error)
   110  	// Export ledger entries
   111  	//
   112  	// Export ledger entries records ledger entries to a csv file.
   113  	// May or may not contain a date range - if no date range is provided, list all records for all times.
   114  	//
   115  	// Ledger entries can be exported by:
   116  	//   - export ledger entries for a single party for a given asset within a given time range
   117  	//   - export ledger entries for a single party for a given asset for all times
   118  	//
   119  	// buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
   120  	// buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
   121  	ExportLedgerEntries(ctx context.Context, in *ExportLedgerEntriesRequest, opts ...grpc.CallOption) (TradingDataService_ExportLedgerEntriesClient, error)
   122  	// List balance changes
   123  	//
   124  	// Get a list of the changes in account balances over a period of time.
   125  	ListBalanceChanges(ctx context.Context, in *ListBalanceChangesRequest, opts ...grpc.CallOption) (*ListBalanceChangesResponse, error)
   126  	// Get latest market data
   127  	//
   128  	// Get the latest market data for a given market
   129  	GetLatestMarketData(ctx context.Context, in *GetLatestMarketDataRequest, opts ...grpc.CallOption) (*GetLatestMarketDataResponse, error)
   130  	// List latest market data
   131  	//
   132  	// Get a list of the latest market data for every market
   133  	ListLatestMarketData(ctx context.Context, in *ListLatestMarketDataRequest, opts ...grpc.CallOption) (*ListLatestMarketDataResponse, error)
   134  	// Get latest market depth
   135  	//
   136  	// Get the latest market depth for a given market
   137  	GetLatestMarketDepth(ctx context.Context, in *GetLatestMarketDepthRequest, opts ...grpc.CallOption) (*GetLatestMarketDepthResponse, error)
   138  	// Observe markets depth
   139  	//
   140  	// Subscribe to a stream of the latest market depth for a given market
   141  	ObserveMarketsDepth(ctx context.Context, in *ObserveMarketsDepthRequest, opts ...grpc.CallOption) (TradingDataService_ObserveMarketsDepthClient, error)
   142  	// Observe markets depth updates
   143  	//
   144  	// Subscribe to a stream of updates on market depth for a given market
   145  	ObserveMarketsDepthUpdates(ctx context.Context, in *ObserveMarketsDepthUpdatesRequest, opts ...grpc.CallOption) (TradingDataService_ObserveMarketsDepthUpdatesClient, error)
   146  	// Observe markets data
   147  	//
   148  	// Subscribe to a stream of data about a given market
   149  	ObserveMarketsData(ctx context.Context, in *ObserveMarketsDataRequest, opts ...grpc.CallOption) (TradingDataService_ObserveMarketsDataClient, error)
   150  	// Get market data history
   151  	//
   152  	// Get market data history for a market ID from between a given date range
   153  	GetMarketDataHistoryByID(ctx context.Context, in *GetMarketDataHistoryByIDRequest, opts ...grpc.CallOption) (*GetMarketDataHistoryByIDResponse, error)
   154  	// List transfers
   155  	//
   156  	// Get a list of transfers between public keys. A valid value for public key can be one of:
   157  	// - a party ID
   158  	// - "network"
   159  	// - "0000000000000000000000000000000000000000000000000000000000000000", the public key for the global rewards account
   160  	ListTransfers(ctx context.Context, in *ListTransfersRequest, opts ...grpc.CallOption) (*ListTransfersResponse, error)
   161  	// Get transfer by ID
   162  	//
   163  	// Get a specific transfer by ID
   164  	GetTransfer(ctx context.Context, in *GetTransferRequest, opts ...grpc.CallOption) (*GetTransferResponse, error)
   165  	// Get network limits
   166  	//
   167  	// Get the network limits relating to asset and market creation
   168  	GetNetworkLimits(ctx context.Context, in *GetNetworkLimitsRequest, opts ...grpc.CallOption) (*GetNetworkLimitsResponse, error)
   169  	// List candle data
   170  	//
   171  	// Get a list of candle data for a given candle ID.
   172  	// A candle ID encapsulates a market ID and candle interval. A list of available candle IDs, and therefore candle intervals can be found using the list-candle-intervals API.
   173  	ListCandleData(ctx context.Context, in *ListCandleDataRequest, opts ...grpc.CallOption) (*ListCandleDataResponse, error)
   174  	// Observe candle data
   175  	//
   176  	// Subscribe to a stream of candle updates given a candle ID.
   177  	// A candle ID encapsulates a market ID and candle interval. A list of available candle IDs, and therefore candle intervals can be found using the list-candle-intervals API.
   178  	ObserveCandleData(ctx context.Context, in *ObserveCandleDataRequest, opts ...grpc.CallOption) (TradingDataService_ObserveCandleDataClient, error)
   179  	// List candle intervals
   180  	//
   181  	// Get a list of all available candle intervals for a given market along with the corresponding candle ID.
   182  	ListCandleIntervals(ctx context.Context, in *ListCandleIntervalsRequest, opts ...grpc.CallOption) (*ListCandleIntervalsResponse, error)
   183  	// List votes
   184  	//
   185  	// Get a list of votes. A party ID or a proposal ID must be provided.
   186  	ListVotes(ctx context.Context, in *ListVotesRequest, opts ...grpc.CallOption) (*ListVotesResponse, error)
   187  	// Observe votes
   188  	//
   189  	// Subscribe to a stream of votes cast on a given proposal, or by all votes made by a given party
   190  	ObserveVotes(ctx context.Context, in *ObserveVotesRequest, opts ...grpc.CallOption) (TradingDataService_ObserveVotesClient, error)
   191  	// List ERC20 multisig signer added bundles
   192  	//
   193  	// Get a list of the signature bundles to add a particular validator to the signer list of the multisig contract
   194  	ListERC20MultiSigSignerAddedBundles(ctx context.Context, in *ListERC20MultiSigSignerAddedBundlesRequest, opts ...grpc.CallOption) (*ListERC20MultiSigSignerAddedBundlesResponse, error)
   195  	// List ERC20 multisig signer removed bundles
   196  	//
   197  	// Get a list of the signature bundles to remove a particular validator from signer list of the multisig contract
   198  	ListERC20MultiSigSignerRemovedBundles(ctx context.Context, in *ListERC20MultiSigSignerRemovedBundlesRequest, opts ...grpc.CallOption) (*ListERC20MultiSigSignerRemovedBundlesResponse, error)
   199  	// Get ERC20 list asset bundle
   200  	//
   201  	// Get the signatures bundle to allowlist an ERC20 token in the collateral bridge
   202  	GetERC20ListAssetBundle(ctx context.Context, in *GetERC20ListAssetBundleRequest, opts ...grpc.CallOption) (*GetERC20ListAssetBundleResponse, error)
   203  	// Get ERC20 set asset limits bundle
   204  	//
   205  	// Get the signature bundle to update the token limits. These are `maxLifetimeDeposit` and `withdrawThreshold` for a given ERC20 token that is
   206  	// already allowlisted in the collateral bridge.
   207  	GetERC20SetAssetLimitsBundle(ctx context.Context, in *GetERC20SetAssetLimitsBundleRequest, opts ...grpc.CallOption) (*GetERC20SetAssetLimitsBundleResponse, error)
   208  	// Get ERC20 withdrawal approval
   209  	//
   210  	// Get the signature bundle to finalise a withdrawal on Ethereum
   211  	GetERC20WithdrawalApproval(ctx context.Context, in *GetERC20WithdrawalApprovalRequest, opts ...grpc.CallOption) (*GetERC20WithdrawalApprovalResponse, error)
   212  	// Get last trade
   213  	//
   214  	// Get the last trade made for a given market.
   215  	GetLastTrade(ctx context.Context, in *GetLastTradeRequest, opts ...grpc.CallOption) (*GetLastTradeResponse, error)
   216  	// List trades
   217  	//
   218  	// Get a list of all trades, optionally filtered by party/market/order
   219  	ListTrades(ctx context.Context, in *ListTradesRequest, opts ...grpc.CallOption) (*ListTradesResponse, error)
   220  	// Observe trades
   221  	//
   222  	// Subscribe to a stream of trades, optionally filtered by party/market
   223  	ObserveTrades(ctx context.Context, in *ObserveTradesRequest, opts ...grpc.CallOption) (TradingDataService_ObserveTradesClient, error)
   224  	// Get oracle spec
   225  	//
   226  	// Get an oracle spec by ID. Oracle spec IDs can be found by querying markets that use them as a data source
   227  	GetOracleSpec(ctx context.Context, in *GetOracleSpecRequest, opts ...grpc.CallOption) (*GetOracleSpecResponse, error)
   228  	// List oracle specs
   229  	//
   230  	// Get a list of all oracles specs that are defined against all markets
   231  	ListOracleSpecs(ctx context.Context, in *ListOracleSpecsRequest, opts ...grpc.CallOption) (*ListOracleSpecsResponse, error)
   232  	// List oracle data
   233  	//
   234  	// Get a list of all oracle data that have been broadcast to any market
   235  	ListOracleData(ctx context.Context, in *ListOracleDataRequest, opts ...grpc.CallOption) (*ListOracleDataResponse, error)
   236  	// Get market
   237  	//
   238  	// Get information about a specific market using its ID. A market's ID will be the same as the ID of the proposal that
   239  	// generated it
   240  	GetMarket(ctx context.Context, in *GetMarketRequest, opts ...grpc.CallOption) (*GetMarketResponse, error)
   241  	// List markets
   242  	//
   243  	// Get a list of markets
   244  	ListMarkets(ctx context.Context, in *ListMarketsRequest, opts ...grpc.CallOption) (*ListMarketsResponse, error)
   245  	// List successor markets
   246  	//
   247  	// Given a market ID, return the full lineage of markets since inception, or all successor markets since and including
   248  	// the given market ID. The markets will be returned in succession order, i.e. the market at position i will be the parent
   249  	// of the market at position i+1.
   250  	ListSuccessorMarkets(ctx context.Context, in *ListSuccessorMarketsRequest, opts ...grpc.CallOption) (*ListSuccessorMarketsResponse, error)
   251  	// Get party
   252  	//
   253  	// Get a single party
   254  	GetParty(ctx context.Context, in *GetPartyRequest, opts ...grpc.CallOption) (*GetPartyResponse, error)
   255  	// List parties
   256  	//
   257  	// Get a list of parties
   258  	ListParties(ctx context.Context, in *ListPartiesRequest, opts ...grpc.CallOption) (*ListPartiesResponse, error)
   259  	// List parties' profiles
   260  	//
   261  	// Get a list of profiles for multiple parties
   262  	ListPartiesProfiles(ctx context.Context, in *ListPartiesProfilesRequest, opts ...grpc.CallOption) (*ListPartiesProfilesResponse, error)
   263  	// List margin levels
   264  	//
   265  	// Get a list of margin levels that match the provided criteria. If no filter is provided, all margin levels will be returned.
   266  	ListMarginLevels(ctx context.Context, in *ListMarginLevelsRequest, opts ...grpc.CallOption) (*ListMarginLevelsResponse, error)
   267  	// Observe margin levels
   268  	//
   269  	// Subscribe to a stream of margin levels updates
   270  	ObserveMarginLevels(ctx context.Context, in *ObserveMarginLevelsRequest, opts ...grpc.CallOption) (TradingDataService_ObserveMarginLevelsClient, error)
   271  	// List rewards
   272  	//
   273  	// Get a list of rewards that match the provided criteria. If no filter is provided, all rewards will be returned.
   274  	ListRewards(ctx context.Context, in *ListRewardsRequest, opts ...grpc.CallOption) (*ListRewardsResponse, error)
   275  	// List reward summaries
   276  	//
   277  	// Get a list of reward summaries where the reward amount is the total rewards received over all epochs
   278  	// per party ID and asset ID.
   279  	// Request parameters are optional party ID and asset ID.
   280  	// If no data is provided, all reward summaries will be returned grouped by party and asset ID.
   281  	ListRewardSummaries(ctx context.Context, in *ListRewardSummariesRequest, opts ...grpc.CallOption) (*ListRewardSummariesResponse, error)
   282  	// List epoch reward summaries
   283  	//
   284  	// Get a list of reward summaries by epoch for a given range of epochs.
   285  	// The result is filtered by a list of asset IDs, market IDs and starting and ending epochs, for which to return rewards.
   286  	// If no data is provided, all reward summaries will be returned, grouped by epochs, market IDs, asset IDs and reward type.
   287  	ListEpochRewardSummaries(ctx context.Context, in *ListEpochRewardSummariesRequest, opts ...grpc.CallOption) (*ListEpochRewardSummariesResponse, error)
   288  	// Get deposit
   289  	//
   290  	// Get a deposit by its ID
   291  	GetDeposit(ctx context.Context, in *GetDepositRequest, opts ...grpc.CallOption) (*GetDepositResponse, error)
   292  	// List deposits
   293  	//
   294  	// Get a list of deposits for a given party.
   295  	// If a date range is provided, filtering will be based on the last time the deposit
   296  	// has been updated in Vega time.
   297  	ListDeposits(ctx context.Context, in *ListDepositsRequest, opts ...grpc.CallOption) (*ListDepositsResponse, error)
   298  	// Get withdrawal
   299  	//
   300  	// Get a withdrawal by its ID. A withdrawal's ID will be the SHA3-256 hash of the signature that the withdrawal was submitted with
   301  	GetWithdrawal(ctx context.Context, in *GetWithdrawalRequest, opts ...grpc.CallOption) (*GetWithdrawalResponse, error)
   302  	// List withdrawals
   303  	//
   304  	// Get a list of withdrawals for a given party
   305  	ListWithdrawals(ctx context.Context, in *ListWithdrawalsRequest, opts ...grpc.CallOption) (*ListWithdrawalsResponse, error)
   306  	// Get asset
   307  	//
   308  	// Get a single asset using its ID. Use the assets list query to get an asset's ID
   309  	GetAsset(ctx context.Context, in *GetAssetRequest, opts ...grpc.CallOption) (*GetAssetResponse, error)
   310  	// List assets
   311  	//
   312  	// Get a list of assets available on the Vega network
   313  	ListAssets(ctx context.Context, in *ListAssetsRequest, opts ...grpc.CallOption) (*ListAssetsResponse, error)
   314  	// Deprecated: Do not use.
   315  	// List liquidity provisions
   316  	//
   317  	// DEPRECATED: When a liquidity provider amends a provision, and it's accepted by the network, the pending
   318  	// provision is returned by the API instead of the provision that is currently active.
   319  	// Use ListAllLiquidityProvisions instead.
   320  	ListLiquidityProvisions(ctx context.Context, in *ListLiquidityProvisionsRequest, opts ...grpc.CallOption) (*ListLiquidityProvisionsResponse, error)
   321  	// List liquidity provisions
   322  	//
   323  	// Get a list of liquidity provisions for a given market. This API returns a current and pending liquidity provision
   324  	// in the event that a provision has been updated by the provider but the updated provision will not be active until the next epoch.
   325  	ListAllLiquidityProvisions(ctx context.Context, in *ListAllLiquidityProvisionsRequest, opts ...grpc.CallOption) (*ListAllLiquidityProvisionsResponse, error)
   326  	// Observe liquidity provisions
   327  	//
   328  	// Subscribe to a stream of liquidity provision events for a given market and party
   329  	ObserveLiquidityProvisions(ctx context.Context, in *ObserveLiquidityProvisionsRequest, opts ...grpc.CallOption) (TradingDataService_ObserveLiquidityProvisionsClient, error)
   330  	// List liquidity providers data
   331  	//
   332  	// List information about active liquidity provider(s) for a given market, or liquidity provider's party ID.
   333  	ListLiquidityProviders(ctx context.Context, in *ListLiquidityProvidersRequest, opts ...grpc.CallOption) (*ListLiquidityProvidersResponse, error)
   334  	// List paid liquidity fees data
   335  	//
   336  	// List information about paid liquidity fees for a given market, or asset ID.
   337  	ListPaidLiquidityFees(ctx context.Context, in *ListPaidLiquidityFeesRequest, opts ...grpc.CallOption) (*ListPaidLiquidityFeesResponse, error)
   338  	// Get governance data
   339  	//
   340  	// Get a single proposal's details either by proposal ID or by reference
   341  	GetGovernanceData(ctx context.Context, in *GetGovernanceDataRequest, opts ...grpc.CallOption) (*GetGovernanceDataResponse, error)
   342  	// List governance data
   343  	//
   344  	// Get a list of proposals
   345  	ListGovernanceData(ctx context.Context, in *ListGovernanceDataRequest, opts ...grpc.CallOption) (*ListGovernanceDataResponse, error)
   346  	// Observe governance
   347  	//
   348  	// Subscribe to a stream of updates to governance proposals
   349  	ObserveGovernance(ctx context.Context, in *ObserveGovernanceRequest, opts ...grpc.CallOption) (TradingDataService_ObserveGovernanceClient, error)
   350  	// List delegations
   351  	//
   352  	// Get a list of the token delegations on the network
   353  	ListDelegations(ctx context.Context, in *ListDelegationsRequest, opts ...grpc.CallOption) (*ListDelegationsResponse, error)
   354  	// Get network data
   355  	//
   356  	// Get data regarding the nodes of the network
   357  	GetNetworkData(ctx context.Context, in *GetNetworkDataRequest, opts ...grpc.CallOption) (*GetNetworkDataResponse, error)
   358  	// Get node
   359  	//
   360  	// Get information about a given node
   361  	GetNode(ctx context.Context, in *GetNodeRequest, opts ...grpc.CallOption) (*GetNodeResponse, error)
   362  	// List nodes
   363  	//
   364  	// Get a list of the nodes on the network along with the related information.
   365  	ListNodes(ctx context.Context, in *ListNodesRequest, opts ...grpc.CallOption) (*ListNodesResponse, error)
   366  	// List node signatures
   367  	//
   368  	// Get a list of aggregate signatures from all the nodes of the network
   369  	ListNodeSignatures(ctx context.Context, in *ListNodeSignaturesRequest, opts ...grpc.CallOption) (*ListNodeSignaturesResponse, error)
   370  	// Get epoch
   371  	//
   372  	// Get data for a specific epoch, if ID is omitted, it retrieves the current epoch
   373  	GetEpoch(ctx context.Context, in *GetEpochRequest, opts ...grpc.CallOption) (*GetEpochResponse, error)
   374  	// Estimate fee
   375  	//
   376  	// Estimate the fee that would be incurred for submitting an order
   377  	// with the specified price and size on the market.
   378  	EstimateFee(ctx context.Context, in *EstimateFeeRequest, opts ...grpc.CallOption) (*EstimateFeeResponse, error)
   379  	// Deprecated: Do not use.
   380  	// Estimate margin
   381  	//
   382  	// Estimate the margin that would be required for submitting this order
   383  	EstimateMargin(ctx context.Context, in *EstimateMarginRequest, opts ...grpc.CallOption) (*EstimateMarginResponse, error)
   384  	// Estimate position
   385  	//
   386  	// Estimate the margin that would be required for maintaining the specified position, collateral increase needed to open the specified position and the liquidation price estimate.
   387  	// Margin estimates are scaled to asset decimal places.
   388  	// Liquidation price estimates are scaled to asset decimal places by default, unless an argument to scale to market decimal places is specified in the request.
   389  	EstimatePosition(ctx context.Context, in *EstimatePositionRequest, opts ...grpc.CallOption) (*EstimatePositionResponse, error)
   390  	// List network parameters
   391  	//
   392  	// Get a list of the network parameter keys and their values
   393  	ListNetworkParameters(ctx context.Context, in *ListNetworkParametersRequest, opts ...grpc.CallOption) (*ListNetworkParametersResponse, error)
   394  	// Get network parameter
   395  	//
   396  	// Get a network parameter's value by its key
   397  	GetNetworkParameter(ctx context.Context, in *GetNetworkParameterRequest, opts ...grpc.CallOption) (*GetNetworkParameterResponse, error)
   398  	// List checkpoints
   399  	//
   400  	// Get a list of information about checkpoints generated by the network
   401  	ListCheckpoints(ctx context.Context, in *ListCheckpointsRequest, opts ...grpc.CallOption) (*ListCheckpointsResponse, error)
   402  	// Get stake
   403  	//
   404  	// Get staking information for a given party
   405  	GetStake(ctx context.Context, in *GetStakeRequest, opts ...grpc.CallOption) (*GetStakeResponse, error)
   406  	// Get risk factors
   407  	//
   408  	// Get risk factor data for a given market
   409  	GetRiskFactors(ctx context.Context, in *GetRiskFactorsRequest, opts ...grpc.CallOption) (*GetRiskFactorsResponse, error)
   410  	// Observe event bus
   411  	//
   412  	// Subscribe to a stream of events from the core
   413  	ObserveEventBus(ctx context.Context, opts ...grpc.CallOption) (TradingDataService_ObserveEventBusClient, error)
   414  	// Observe ledger movements
   415  	//
   416  	// Subscribe to a stream of transfer responses
   417  	ObserveLedgerMovements(ctx context.Context, in *ObserveLedgerMovementsRequest, opts ...grpc.CallOption) (TradingDataService_ObserveLedgerMovementsClient, error)
   418  	// List key rotations
   419  	//
   420  	// Get a list of information about Vega key rotations that have been performed by validator nodes
   421  	ListKeyRotations(ctx context.Context, in *ListKeyRotationsRequest, opts ...grpc.CallOption) (*ListKeyRotationsResponse, error)
   422  	// List Ethereum key rotations
   423  	//
   424  	// Get a list of information about Ethereum key rotations that have been performed by validator nodes
   425  	ListEthereumKeyRotations(ctx context.Context, in *ListEthereumKeyRotationsRequest, opts ...grpc.CallOption) (*ListEthereumKeyRotationsResponse, error)
   426  	// Get Vega time
   427  	//
   428  	// Get the current time of the network in Unix nanoseconds
   429  	GetVegaTime(ctx context.Context, in *GetVegaTimeRequest, opts ...grpc.CallOption) (*GetVegaTimeResponse, error)
   430  	// Get protocol upgrade status
   431  	//
   432  	// Get status of a protocol upgrade
   433  	GetProtocolUpgradeStatus(ctx context.Context, in *GetProtocolUpgradeStatusRequest, opts ...grpc.CallOption) (*GetProtocolUpgradeStatusResponse, error)
   434  	// List protocol upgrade proposals
   435  	//
   436  	// Get a list of protocol upgrade proposals, optionally filtering on status or approver.
   437  	ListProtocolUpgradeProposals(ctx context.Context, in *ListProtocolUpgradeProposalsRequest, opts ...grpc.CallOption) (*ListProtocolUpgradeProposalsResponse, error)
   438  	// List snapshots
   439  	//
   440  	// Get a list of core snapshots taken
   441  	ListCoreSnapshots(ctx context.Context, in *ListCoreSnapshotsRequest, opts ...grpc.CallOption) (*ListCoreSnapshotsResponse, error)
   442  	// Get most recent network history segment
   443  	//
   444  	// Get the network's most recently history segment
   445  	GetMostRecentNetworkHistorySegment(ctx context.Context, in *GetMostRecentNetworkHistorySegmentRequest, opts ...grpc.CallOption) (*GetMostRecentNetworkHistorySegmentResponse, error)
   446  	// List all network history segments
   447  	//
   448  	// Get a list of all history segments stored by the data node currently connected to
   449  	ListAllNetworkHistorySegments(ctx context.Context, in *ListAllNetworkHistorySegmentsRequest, opts ...grpc.CallOption) (*ListAllNetworkHistorySegmentsResponse, error)
   450  	// Get active network history peer addresses
   451  	//
   452  	// Get a list of the addresses of all active network history peers
   453  	GetActiveNetworkHistoryPeerAddresses(ctx context.Context, in *GetActiveNetworkHistoryPeerAddressesRequest, opts ...grpc.CallOption) (*GetActiveNetworkHistoryPeerAddressesResponse, error)
   454  	// Network history status
   455  	//
   456  	// Get information about the current state of network history's IPFS swarm
   457  	GetNetworkHistoryStatus(ctx context.Context, in *GetNetworkHistoryStatusRequest, opts ...grpc.CallOption) (*GetNetworkHistoryStatusResponse, error)
   458  	// Network history bootstrap peers
   459  	//
   460  	// Get a list of IPFS peers that can be used to initialise a new data node with network history
   461  	GetNetworkHistoryBootstrapPeers(ctx context.Context, in *GetNetworkHistoryBootstrapPeersRequest, opts ...grpc.CallOption) (*GetNetworkHistoryBootstrapPeersResponse, error)
   462  	// List entities
   463  	//
   464  	// Get a list of all entities created by transaction hash
   465  	ListEntities(ctx context.Context, in *ListEntitiesRequest, opts ...grpc.CallOption) (*ListEntitiesResponse, error)
   466  	// List funding periods
   467  	//
   468  	// Get a list of funding periods for a perpetual market.
   469  	ListFundingPeriods(ctx context.Context, in *ListFundingPeriodsRequest, opts ...grpc.CallOption) (*ListFundingPeriodsResponse, error)
   470  	// List funding period data points
   471  	//
   472  	// Get a list of data points for a perpetual market's funding periods.
   473  	ListFundingPeriodDataPoints(ctx context.Context, in *ListFundingPeriodDataPointsRequest, opts ...grpc.CallOption) (*ListFundingPeriodDataPointsResponse, error)
   474  	// List funding payments
   475  	//
   476  	// Get a list of funding payment gains and losses for a party as a result of their position on a perpetual market when a funding
   477  	// period ends.
   478  	ListFundingPayments(ctx context.Context, in *ListFundingPaymentsRequest, opts ...grpc.CallOption) (*ListFundingPaymentsResponse, error)
   479  	// List party activity streak
   480  	//
   481  	// Get a party's activity across epochs.
   482  	GetPartyActivityStreak(ctx context.Context, in *GetPartyActivityStreakRequest, opts ...grpc.CallOption) (*GetPartyActivityStreakResponse, error)
   483  	// Get current referral program
   484  	//
   485  	// Get the current referral program for the network. This program may not be active if it has ended
   486  	// and has not been replaced by another.
   487  	GetCurrentReferralProgram(ctx context.Context, in *GetCurrentReferralProgramRequest, opts ...grpc.CallOption) (*GetCurrentReferralProgramResponse, error)
   488  	// List referral sets
   489  	//
   490  	// List all referral sets, or a specific referral set if you know its ID.
   491  	ListReferralSets(ctx context.Context, in *ListReferralSetsRequest, opts ...grpc.CallOption) (*ListReferralSetsResponse, error)
   492  	// List referral set referees
   493  	//
   494  	// List all referees that belong to a referral set.
   495  	ListReferralSetReferees(ctx context.Context, in *ListReferralSetRefereesRequest, opts ...grpc.CallOption) (*ListReferralSetRefereesResponse, error)
   496  	// Get referral set statistics
   497  	//
   498  	// Get the total taker volume, and each referee's taker volume and, reward and discount factors for a referral set
   499  	// at the latest or a specific epoch. You can also optionally filter for a specific referee's statistics.
   500  	GetReferralSetStats(ctx context.Context, in *GetReferralSetStatsRequest, opts ...grpc.CallOption) (*GetReferralSetStatsResponse, error)
   501  	// List teams
   502  	//
   503  	// Get a list of all teams, or for a specific team by using team ID, or party ID of a referrer or referee
   504  	ListTeams(ctx context.Context, in *ListTeamsRequest, opts ...grpc.CallOption) (*ListTeamsResponse, error)
   505  	// List teams statistics
   506  	//
   507  	// Get the statistics of all teams, or for a specific team by using team ID, over a number of epochs.
   508  	// If a team does not have at least the number of epochs' worth of data, it is ignored.
   509  	ListTeamsStatistics(ctx context.Context, in *ListTeamsStatisticsRequest, opts ...grpc.CallOption) (*ListTeamsStatisticsResponse, error)
   510  	// List team members' statistics
   511  	//
   512  	// Get the statistics for all members of a given team, or for a specific member by using party ID, over a number of epochs.
   513  	// If a team does not have at least the number of epochs' worth of data, it is ignored.
   514  	ListTeamMembersStatistics(ctx context.Context, in *ListTeamMembersStatisticsRequest, opts ...grpc.CallOption) (*ListTeamMembersStatisticsResponse, error)
   515  	// List team referees
   516  	//
   517  	// Get a list of all referees for a given team ID
   518  	ListTeamReferees(ctx context.Context, in *ListTeamRefereesRequest, opts ...grpc.CallOption) (*ListTeamRefereesResponse, error)
   519  	// List referee team history
   520  	//
   521  	// Get a list of a referee's team history, i.e. the teams that a referee has been a member of and transferred from/to.
   522  	ListTeamRefereeHistory(ctx context.Context, in *ListTeamRefereeHistoryRequest, opts ...grpc.CallOption) (*ListTeamRefereeHistoryResponse, error)
   523  	// Get fees statistics
   524  	//
   525  	// Get accumulated fees, rewards, and applied discount information. Either a market or an asset must be supplied as a filter.
   526  	GetFeesStats(ctx context.Context, in *GetFeesStatsRequest, opts ...grpc.CallOption) (*GetFeesStatsResponse, error)
   527  	// Get fees statistics for a party
   528  	//
   529  	// Get accumulated fees, rewards, and applied discount information. A party ID must be supplied as a filter.
   530  	GetFeesStatsForParty(ctx context.Context, in *GetFeesStatsForPartyRequest, opts ...grpc.CallOption) (*GetFeesStatsForPartyResponse, error)
   531  	// Get current volume rebate program
   532  	//
   533  	// Get the current volume rebate program for the network. This program may not be active if it has ended
   534  	// and has not been replaced by another.
   535  	GetCurrentVolumeRebateProgram(ctx context.Context, in *GetCurrentVolumeRebateProgramRequest, opts ...grpc.CallOption) (*GetCurrentVolumeRebateProgramResponse, error)
   536  	// Get volume rebate statistics
   537  	//
   538  	// Get the information about a party's running traded volume, and the rebate factor it earns them.
   539  	GetVolumeRebateStats(ctx context.Context, in *GetVolumeRebateStatsRequest, opts ...grpc.CallOption) (*GetVolumeRebateStatsResponse, error)
   540  	// Get current volume discount program
   541  	//
   542  	// Get the current volume discount program for the network. This program may not be active if it has ended
   543  	// and has not been replaced by another.
   544  	GetCurrentVolumeDiscountProgram(ctx context.Context, in *GetCurrentVolumeDiscountProgramRequest, opts ...grpc.CallOption) (*GetCurrentVolumeDiscountProgramResponse, error)
   545  	// Get volume discount statistics
   546  	//
   547  	// Get the information about a party's running traded volume, and the discount factor it earns them.
   548  	GetVolumeDiscountStats(ctx context.Context, in *GetVolumeDiscountStatsRequest, opts ...grpc.CallOption) (*GetVolumeDiscountStatsResponse, error)
   549  	// Get vesting balances summary
   550  	//
   551  	// Get information about a party's vesting and locked balances
   552  	GetVestingBalancesSummary(ctx context.Context, in *GetVestingBalancesSummaryRequest, opts ...grpc.CallOption) (*GetVestingBalancesSummaryResponse, error)
   553  	// Get vesting balance statistics
   554  	//
   555  	// Get information about a party's vesting rewards
   556  	GetPartyVestingStats(ctx context.Context, in *GetPartyVestingStatsRequest, opts ...grpc.CallOption) (*GetPartyVestingStatsResponse, error)
   557  	// Observe transaction results
   558  	//
   559  	// Subscribe to a stream of transaction results, optionally filtered by party/hash/status
   560  	ObserveTransactionResults(ctx context.Context, in *ObserveTransactionResultsRequest, opts ...grpc.CallOption) (TradingDataService_ObserveTransactionResultsClient, error)
   561  	// Estimate transfer fee costs
   562  	//
   563  	// Estimate transfer fee costs with potential discount applied
   564  	EstimateTransferFee(ctx context.Context, in *EstimateTransferFeeRequest, opts ...grpc.CallOption) (*EstimateTransferFeeResponse, error)
   565  	// Available transfer fee discount
   566  	//
   567  	// Returns available per party per asset transfer discount
   568  	GetTotalTransferFeeDiscount(ctx context.Context, in *GetTotalTransferFeeDiscountRequest, opts ...grpc.CallOption) (*GetTotalTransferFeeDiscountResponse, error)
   569  	// List games
   570  	//
   571  	// Get a list of games and corresponding game data, given the provided filters
   572  	ListGames(ctx context.Context, in *ListGamesRequest, opts ...grpc.CallOption) (*ListGamesResponse, error)
   573  	// List margin modes per party per market
   574  	//
   575  	// Get a list of all margin modes, or for a specific market ID, or party ID.
   576  	ListPartyMarginModes(ctx context.Context, in *ListPartyMarginModesRequest, opts ...grpc.CallOption) (*ListPartyMarginModesResponse, error)
   577  	// Get time weighted notional position
   578  	//
   579  	// Get the time weighted notional position for a given party and asset. The time weighted notional position
   580  	// is used to check if a party qualifies for a reward.
   581  	// If no epoch is specified, the final time weighted notional position from the end of the most recently completed epoch is returned.
   582  	// If an epoch is specified, the final time weighted notional position at that epoch is returned.
   583  	GetTimeWeightedNotionalPosition(ctx context.Context, in *GetTimeWeightedNotionalPositionRequest, opts ...grpc.CallOption) (*GetTimeWeightedNotionalPositionResponse, error)
   584  	// List AMMs
   585  	//
   586  	// Get a list of AMM or filter by market ID, party ID or AMM ID
   587  	ListAMMs(ctx context.Context, in *ListAMMsRequest, opts ...grpc.CallOption) (*ListAMMsResponse, error)
   588  	// Estimate AMM bounds
   589  	//
   590  	// Get a list of AMMs or filter by market ID, party ID or AMM ID
   591  	EstimateAMMBounds(ctx context.Context, in *EstimateAMMBoundsRequest, opts ...grpc.CallOption) (*EstimateAMMBoundsResponse, error)
   592  	// Get the fees and discounts a party is entitled to.
   593  	//
   594  	// Get the discount and reward tiers, and the fees and rebates for a party per market.
   595  	GetPartyDiscountStats(ctx context.Context, in *GetPartyDiscountStatsRequest, opts ...grpc.CallOption) (*GetPartyDiscountStatsResponse, error)
   596  	// Export network history as CSV
   597  	//
   598  	// Export CSV table data from network history between two block heights.
   599  	//
   600  	// The requested block heights must fall on network history segment boundaries, which can
   601  	// be discovered by calling the API to list all network history segments. By default
   602  	// segments contain 1000 blocks. In that case ranges such as (1, 1000), (1001, 2000), (1, 3000)
   603  	// would all fall on segment boundaries and be valid.
   604  	//
   605  	// The generated CSV file is compressed into a ZIP file and returned, with the file name
   606  	// in the following format: `[chain id]-[table name]-[start block]-[end block].zip`
   607  	//
   608  	// In gRPC, results are returned in a chunked stream of base64 encoded data.
   609  	//
   610  	// Through the REST gateway, the base64 data chunks are decoded and streamed as a
   611  	// `content-type: application/zip` HTTP response.
   612  	//
   613  	// The CSV exported data uses a comma as a DELIMITER between fields, and " for QUOTE-ing fields.
   614  	//
   615  	// If a value contains any of: DELIMITER, QUOTE, carriage return, or line feed then the whole
   616  	// value is prefixed and suffixed by the QUOTE character and any occurrence within
   617  	// the value of a QUOTE character preceded by another QUOTE.
   618  	//
   619  	// A NULL is output as the NULL parameter string and is not quoted, while a non-NULL value
   620  	// matching the NULL parameter string is quoted.
   621  	//
   622  	// For example, with the default settings, a NULL is written as an unquoted empty string,
   623  	// while an empty string data value is written with double quotes.
   624  	//
   625  	// Note that CSV files produced may contain quoted values containing embedded carriage returns and line feeds.
   626  	// Thus the files are not strictly one line per table row like text-format files.
   627  	//
   628  	// The first row of the CSV file is a header that describes the contents of each column
   629  	// in subsequent rows.
   630  	//
   631  	// Usually the ZIP file will contain only a single CSV file. However it is possible that
   632  	// the (from_block, to_block) request spans over a range of blocks in which the underlying
   633  	// schema of the database changes. For example, a column may have been added, removed, or renamed.
   634  	//
   635  	// If this happens, the CSV file will be split at the point of the schema change and the zip
   636  	// file will contain multiple CSV files, with a potentially different set of headers. The
   637  	// 'version' number of the database schema is part of the in the CSV filename:
   638  	//
   639  	//	`[chain id]-[table name]-[schema version]-[start block]-[end block].zip`
   640  	//
   641  	// # For example, a zip file might be called mainnet-sometable-000001-003000.zip
   642  	//
   643  	// And contain two CSV files: `mainnet-sometable-1-000001-002000.csv`:
   644  	//
   645  	// timestamp, value
   646  	// 1, foo
   647  	// 2, bar
   648  	//
   649  	// And `mainnet-sometable-2-002001-003000.csv`:
   650  	//
   651  	// timestamp, value, extra_value
   652  	// 3, baz, apple
   653  	//
   654  	// It is worth noting that the schema will not change within a single network history segment.
   655  	// buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
   656  	// buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
   657  	ExportNetworkHistory(ctx context.Context, in *ExportNetworkHistoryRequest, opts ...grpc.CallOption) (TradingDataService_ExportNetworkHistoryClient, error)
   658  	// Ping
   659  	//
   660  	// Ping the data node
   661  	Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error)
   662  }
   663  
   664  type tradingDataServiceClient struct {
   665  	cc grpc.ClientConnInterface
   666  }
   667  
   668  func NewTradingDataServiceClient(cc grpc.ClientConnInterface) TradingDataServiceClient {
   669  	return &tradingDataServiceClient{cc}
   670  }
   671  
   672  func (c *tradingDataServiceClient) ListAccounts(ctx context.Context, in *ListAccountsRequest, opts ...grpc.CallOption) (*ListAccountsResponse, error) {
   673  	out := new(ListAccountsResponse)
   674  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListAccounts", in, out, opts...)
   675  	if err != nil {
   676  		return nil, err
   677  	}
   678  	return out, nil
   679  }
   680  
   681  func (c *tradingDataServiceClient) ObserveAccounts(ctx context.Context, in *ObserveAccountsRequest, opts ...grpc.CallOption) (TradingDataService_ObserveAccountsClient, error) {
   682  	stream, err := c.cc.NewStream(ctx, &TradingDataService_ServiceDesc.Streams[0], "/datanode.api.v2.TradingDataService/ObserveAccounts", opts...)
   683  	if err != nil {
   684  		return nil, err
   685  	}
   686  	x := &tradingDataServiceObserveAccountsClient{stream}
   687  	if err := x.ClientStream.SendMsg(in); err != nil {
   688  		return nil, err
   689  	}
   690  	if err := x.ClientStream.CloseSend(); err != nil {
   691  		return nil, err
   692  	}
   693  	return x, nil
   694  }
   695  
   696  type TradingDataService_ObserveAccountsClient interface {
   697  	Recv() (*ObserveAccountsResponse, error)
   698  	grpc.ClientStream
   699  }
   700  
   701  type tradingDataServiceObserveAccountsClient struct {
   702  	grpc.ClientStream
   703  }
   704  
   705  func (x *tradingDataServiceObserveAccountsClient) Recv() (*ObserveAccountsResponse, error) {
   706  	m := new(ObserveAccountsResponse)
   707  	if err := x.ClientStream.RecvMsg(m); err != nil {
   708  		return nil, err
   709  	}
   710  	return m, nil
   711  }
   712  
   713  func (c *tradingDataServiceClient) Info(ctx context.Context, in *InfoRequest, opts ...grpc.CallOption) (*InfoResponse, error) {
   714  	out := new(InfoResponse)
   715  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/Info", in, out, opts...)
   716  	if err != nil {
   717  		return nil, err
   718  	}
   719  	return out, nil
   720  }
   721  
   722  func (c *tradingDataServiceClient) GetOrder(ctx context.Context, in *GetOrderRequest, opts ...grpc.CallOption) (*GetOrderResponse, error) {
   723  	out := new(GetOrderResponse)
   724  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetOrder", in, out, opts...)
   725  	if err != nil {
   726  		return nil, err
   727  	}
   728  	return out, nil
   729  }
   730  
   731  func (c *tradingDataServiceClient) ListOrders(ctx context.Context, in *ListOrdersRequest, opts ...grpc.CallOption) (*ListOrdersResponse, error) {
   732  	out := new(ListOrdersResponse)
   733  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListOrders", in, out, opts...)
   734  	if err != nil {
   735  		return nil, err
   736  	}
   737  	return out, nil
   738  }
   739  
   740  func (c *tradingDataServiceClient) ListOrderVersions(ctx context.Context, in *ListOrderVersionsRequest, opts ...grpc.CallOption) (*ListOrderVersionsResponse, error) {
   741  	out := new(ListOrderVersionsResponse)
   742  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListOrderVersions", in, out, opts...)
   743  	if err != nil {
   744  		return nil, err
   745  	}
   746  	return out, nil
   747  }
   748  
   749  func (c *tradingDataServiceClient) ObserveOrders(ctx context.Context, in *ObserveOrdersRequest, opts ...grpc.CallOption) (TradingDataService_ObserveOrdersClient, error) {
   750  	stream, err := c.cc.NewStream(ctx, &TradingDataService_ServiceDesc.Streams[1], "/datanode.api.v2.TradingDataService/ObserveOrders", opts...)
   751  	if err != nil {
   752  		return nil, err
   753  	}
   754  	x := &tradingDataServiceObserveOrdersClient{stream}
   755  	if err := x.ClientStream.SendMsg(in); err != nil {
   756  		return nil, err
   757  	}
   758  	if err := x.ClientStream.CloseSend(); err != nil {
   759  		return nil, err
   760  	}
   761  	return x, nil
   762  }
   763  
   764  type TradingDataService_ObserveOrdersClient interface {
   765  	Recv() (*ObserveOrdersResponse, error)
   766  	grpc.ClientStream
   767  }
   768  
   769  type tradingDataServiceObserveOrdersClient struct {
   770  	grpc.ClientStream
   771  }
   772  
   773  func (x *tradingDataServiceObserveOrdersClient) Recv() (*ObserveOrdersResponse, error) {
   774  	m := new(ObserveOrdersResponse)
   775  	if err := x.ClientStream.RecvMsg(m); err != nil {
   776  		return nil, err
   777  	}
   778  	return m, nil
   779  }
   780  
   781  func (c *tradingDataServiceClient) GetStopOrder(ctx context.Context, in *GetStopOrderRequest, opts ...grpc.CallOption) (*GetStopOrderResponse, error) {
   782  	out := new(GetStopOrderResponse)
   783  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetStopOrder", in, out, opts...)
   784  	if err != nil {
   785  		return nil, err
   786  	}
   787  	return out, nil
   788  }
   789  
   790  func (c *tradingDataServiceClient) ListStopOrders(ctx context.Context, in *ListStopOrdersRequest, opts ...grpc.CallOption) (*ListStopOrdersResponse, error) {
   791  	out := new(ListStopOrdersResponse)
   792  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListStopOrders", in, out, opts...)
   793  	if err != nil {
   794  		return nil, err
   795  	}
   796  	return out, nil
   797  }
   798  
   799  func (c *tradingDataServiceClient) ListGameTeamScores(ctx context.Context, in *ListGameTeamScoresRequest, opts ...grpc.CallOption) (*ListGameTeamScoresResponse, error) {
   800  	out := new(ListGameTeamScoresResponse)
   801  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListGameTeamScores", in, out, opts...)
   802  	if err != nil {
   803  		return nil, err
   804  	}
   805  	return out, nil
   806  }
   807  
   808  func (c *tradingDataServiceClient) ListGamePartyScores(ctx context.Context, in *ListGamePartyScoresRequest, opts ...grpc.CallOption) (*ListGamePartyScoresResponse, error) {
   809  	out := new(ListGamePartyScoresResponse)
   810  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListGamePartyScores", in, out, opts...)
   811  	if err != nil {
   812  		return nil, err
   813  	}
   814  	return out, nil
   815  }
   816  
   817  // Deprecated: Do not use.
   818  func (c *tradingDataServiceClient) ListPositions(ctx context.Context, in *ListPositionsRequest, opts ...grpc.CallOption) (*ListPositionsResponse, error) {
   819  	out := new(ListPositionsResponse)
   820  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListPositions", in, out, opts...)
   821  	if err != nil {
   822  		return nil, err
   823  	}
   824  	return out, nil
   825  }
   826  
   827  func (c *tradingDataServiceClient) ListAllPositions(ctx context.Context, in *ListAllPositionsRequest, opts ...grpc.CallOption) (*ListAllPositionsResponse, error) {
   828  	out := new(ListAllPositionsResponse)
   829  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListAllPositions", in, out, opts...)
   830  	if err != nil {
   831  		return nil, err
   832  	}
   833  	return out, nil
   834  }
   835  
   836  func (c *tradingDataServiceClient) ObservePositions(ctx context.Context, in *ObservePositionsRequest, opts ...grpc.CallOption) (TradingDataService_ObservePositionsClient, error) {
   837  	stream, err := c.cc.NewStream(ctx, &TradingDataService_ServiceDesc.Streams[2], "/datanode.api.v2.TradingDataService/ObservePositions", opts...)
   838  	if err != nil {
   839  		return nil, err
   840  	}
   841  	x := &tradingDataServiceObservePositionsClient{stream}
   842  	if err := x.ClientStream.SendMsg(in); err != nil {
   843  		return nil, err
   844  	}
   845  	if err := x.ClientStream.CloseSend(); err != nil {
   846  		return nil, err
   847  	}
   848  	return x, nil
   849  }
   850  
   851  type TradingDataService_ObservePositionsClient interface {
   852  	Recv() (*ObservePositionsResponse, error)
   853  	grpc.ClientStream
   854  }
   855  
   856  type tradingDataServiceObservePositionsClient struct {
   857  	grpc.ClientStream
   858  }
   859  
   860  func (x *tradingDataServiceObservePositionsClient) Recv() (*ObservePositionsResponse, error) {
   861  	m := new(ObservePositionsResponse)
   862  	if err := x.ClientStream.RecvMsg(m); err != nil {
   863  		return nil, err
   864  	}
   865  	return m, nil
   866  }
   867  
   868  func (c *tradingDataServiceClient) ListLedgerEntries(ctx context.Context, in *ListLedgerEntriesRequest, opts ...grpc.CallOption) (*ListLedgerEntriesResponse, error) {
   869  	out := new(ListLedgerEntriesResponse)
   870  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListLedgerEntries", in, out, opts...)
   871  	if err != nil {
   872  		return nil, err
   873  	}
   874  	return out, nil
   875  }
   876  
   877  func (c *tradingDataServiceClient) ExportLedgerEntries(ctx context.Context, in *ExportLedgerEntriesRequest, opts ...grpc.CallOption) (TradingDataService_ExportLedgerEntriesClient, error) {
   878  	stream, err := c.cc.NewStream(ctx, &TradingDataService_ServiceDesc.Streams[3], "/datanode.api.v2.TradingDataService/ExportLedgerEntries", opts...)
   879  	if err != nil {
   880  		return nil, err
   881  	}
   882  	x := &tradingDataServiceExportLedgerEntriesClient{stream}
   883  	if err := x.ClientStream.SendMsg(in); err != nil {
   884  		return nil, err
   885  	}
   886  	if err := x.ClientStream.CloseSend(); err != nil {
   887  		return nil, err
   888  	}
   889  	return x, nil
   890  }
   891  
   892  type TradingDataService_ExportLedgerEntriesClient interface {
   893  	Recv() (*httpbody.HttpBody, error)
   894  	grpc.ClientStream
   895  }
   896  
   897  type tradingDataServiceExportLedgerEntriesClient struct {
   898  	grpc.ClientStream
   899  }
   900  
   901  func (x *tradingDataServiceExportLedgerEntriesClient) Recv() (*httpbody.HttpBody, error) {
   902  	m := new(httpbody.HttpBody)
   903  	if err := x.ClientStream.RecvMsg(m); err != nil {
   904  		return nil, err
   905  	}
   906  	return m, nil
   907  }
   908  
   909  func (c *tradingDataServiceClient) ListBalanceChanges(ctx context.Context, in *ListBalanceChangesRequest, opts ...grpc.CallOption) (*ListBalanceChangesResponse, error) {
   910  	out := new(ListBalanceChangesResponse)
   911  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListBalanceChanges", in, out, opts...)
   912  	if err != nil {
   913  		return nil, err
   914  	}
   915  	return out, nil
   916  }
   917  
   918  func (c *tradingDataServiceClient) GetLatestMarketData(ctx context.Context, in *GetLatestMarketDataRequest, opts ...grpc.CallOption) (*GetLatestMarketDataResponse, error) {
   919  	out := new(GetLatestMarketDataResponse)
   920  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetLatestMarketData", in, out, opts...)
   921  	if err != nil {
   922  		return nil, err
   923  	}
   924  	return out, nil
   925  }
   926  
   927  func (c *tradingDataServiceClient) ListLatestMarketData(ctx context.Context, in *ListLatestMarketDataRequest, opts ...grpc.CallOption) (*ListLatestMarketDataResponse, error) {
   928  	out := new(ListLatestMarketDataResponse)
   929  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListLatestMarketData", in, out, opts...)
   930  	if err != nil {
   931  		return nil, err
   932  	}
   933  	return out, nil
   934  }
   935  
   936  func (c *tradingDataServiceClient) GetLatestMarketDepth(ctx context.Context, in *GetLatestMarketDepthRequest, opts ...grpc.CallOption) (*GetLatestMarketDepthResponse, error) {
   937  	out := new(GetLatestMarketDepthResponse)
   938  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetLatestMarketDepth", in, out, opts...)
   939  	if err != nil {
   940  		return nil, err
   941  	}
   942  	return out, nil
   943  }
   944  
   945  func (c *tradingDataServiceClient) ObserveMarketsDepth(ctx context.Context, in *ObserveMarketsDepthRequest, opts ...grpc.CallOption) (TradingDataService_ObserveMarketsDepthClient, error) {
   946  	stream, err := c.cc.NewStream(ctx, &TradingDataService_ServiceDesc.Streams[4], "/datanode.api.v2.TradingDataService/ObserveMarketsDepth", opts...)
   947  	if err != nil {
   948  		return nil, err
   949  	}
   950  	x := &tradingDataServiceObserveMarketsDepthClient{stream}
   951  	if err := x.ClientStream.SendMsg(in); err != nil {
   952  		return nil, err
   953  	}
   954  	if err := x.ClientStream.CloseSend(); err != nil {
   955  		return nil, err
   956  	}
   957  	return x, nil
   958  }
   959  
   960  type TradingDataService_ObserveMarketsDepthClient interface {
   961  	Recv() (*ObserveMarketsDepthResponse, error)
   962  	grpc.ClientStream
   963  }
   964  
   965  type tradingDataServiceObserveMarketsDepthClient struct {
   966  	grpc.ClientStream
   967  }
   968  
   969  func (x *tradingDataServiceObserveMarketsDepthClient) Recv() (*ObserveMarketsDepthResponse, error) {
   970  	m := new(ObserveMarketsDepthResponse)
   971  	if err := x.ClientStream.RecvMsg(m); err != nil {
   972  		return nil, err
   973  	}
   974  	return m, nil
   975  }
   976  
   977  func (c *tradingDataServiceClient) ObserveMarketsDepthUpdates(ctx context.Context, in *ObserveMarketsDepthUpdatesRequest, opts ...grpc.CallOption) (TradingDataService_ObserveMarketsDepthUpdatesClient, error) {
   978  	stream, err := c.cc.NewStream(ctx, &TradingDataService_ServiceDesc.Streams[5], "/datanode.api.v2.TradingDataService/ObserveMarketsDepthUpdates", opts...)
   979  	if err != nil {
   980  		return nil, err
   981  	}
   982  	x := &tradingDataServiceObserveMarketsDepthUpdatesClient{stream}
   983  	if err := x.ClientStream.SendMsg(in); err != nil {
   984  		return nil, err
   985  	}
   986  	if err := x.ClientStream.CloseSend(); err != nil {
   987  		return nil, err
   988  	}
   989  	return x, nil
   990  }
   991  
   992  type TradingDataService_ObserveMarketsDepthUpdatesClient interface {
   993  	Recv() (*ObserveMarketsDepthUpdatesResponse, error)
   994  	grpc.ClientStream
   995  }
   996  
   997  type tradingDataServiceObserveMarketsDepthUpdatesClient struct {
   998  	grpc.ClientStream
   999  }
  1000  
  1001  func (x *tradingDataServiceObserveMarketsDepthUpdatesClient) Recv() (*ObserveMarketsDepthUpdatesResponse, error) {
  1002  	m := new(ObserveMarketsDepthUpdatesResponse)
  1003  	if err := x.ClientStream.RecvMsg(m); err != nil {
  1004  		return nil, err
  1005  	}
  1006  	return m, nil
  1007  }
  1008  
  1009  func (c *tradingDataServiceClient) ObserveMarketsData(ctx context.Context, in *ObserveMarketsDataRequest, opts ...grpc.CallOption) (TradingDataService_ObserveMarketsDataClient, error) {
  1010  	stream, err := c.cc.NewStream(ctx, &TradingDataService_ServiceDesc.Streams[6], "/datanode.api.v2.TradingDataService/ObserveMarketsData", opts...)
  1011  	if err != nil {
  1012  		return nil, err
  1013  	}
  1014  	x := &tradingDataServiceObserveMarketsDataClient{stream}
  1015  	if err := x.ClientStream.SendMsg(in); err != nil {
  1016  		return nil, err
  1017  	}
  1018  	if err := x.ClientStream.CloseSend(); err != nil {
  1019  		return nil, err
  1020  	}
  1021  	return x, nil
  1022  }
  1023  
  1024  type TradingDataService_ObserveMarketsDataClient interface {
  1025  	Recv() (*ObserveMarketsDataResponse, error)
  1026  	grpc.ClientStream
  1027  }
  1028  
  1029  type tradingDataServiceObserveMarketsDataClient struct {
  1030  	grpc.ClientStream
  1031  }
  1032  
  1033  func (x *tradingDataServiceObserveMarketsDataClient) Recv() (*ObserveMarketsDataResponse, error) {
  1034  	m := new(ObserveMarketsDataResponse)
  1035  	if err := x.ClientStream.RecvMsg(m); err != nil {
  1036  		return nil, err
  1037  	}
  1038  	return m, nil
  1039  }
  1040  
  1041  func (c *tradingDataServiceClient) GetMarketDataHistoryByID(ctx context.Context, in *GetMarketDataHistoryByIDRequest, opts ...grpc.CallOption) (*GetMarketDataHistoryByIDResponse, error) {
  1042  	out := new(GetMarketDataHistoryByIDResponse)
  1043  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetMarketDataHistoryByID", in, out, opts...)
  1044  	if err != nil {
  1045  		return nil, err
  1046  	}
  1047  	return out, nil
  1048  }
  1049  
  1050  func (c *tradingDataServiceClient) ListTransfers(ctx context.Context, in *ListTransfersRequest, opts ...grpc.CallOption) (*ListTransfersResponse, error) {
  1051  	out := new(ListTransfersResponse)
  1052  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListTransfers", in, out, opts...)
  1053  	if err != nil {
  1054  		return nil, err
  1055  	}
  1056  	return out, nil
  1057  }
  1058  
  1059  func (c *tradingDataServiceClient) GetTransfer(ctx context.Context, in *GetTransferRequest, opts ...grpc.CallOption) (*GetTransferResponse, error) {
  1060  	out := new(GetTransferResponse)
  1061  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetTransfer", in, out, opts...)
  1062  	if err != nil {
  1063  		return nil, err
  1064  	}
  1065  	return out, nil
  1066  }
  1067  
  1068  func (c *tradingDataServiceClient) GetNetworkLimits(ctx context.Context, in *GetNetworkLimitsRequest, opts ...grpc.CallOption) (*GetNetworkLimitsResponse, error) {
  1069  	out := new(GetNetworkLimitsResponse)
  1070  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetNetworkLimits", in, out, opts...)
  1071  	if err != nil {
  1072  		return nil, err
  1073  	}
  1074  	return out, nil
  1075  }
  1076  
  1077  func (c *tradingDataServiceClient) ListCandleData(ctx context.Context, in *ListCandleDataRequest, opts ...grpc.CallOption) (*ListCandleDataResponse, error) {
  1078  	out := new(ListCandleDataResponse)
  1079  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListCandleData", in, out, opts...)
  1080  	if err != nil {
  1081  		return nil, err
  1082  	}
  1083  	return out, nil
  1084  }
  1085  
  1086  func (c *tradingDataServiceClient) ObserveCandleData(ctx context.Context, in *ObserveCandleDataRequest, opts ...grpc.CallOption) (TradingDataService_ObserveCandleDataClient, error) {
  1087  	stream, err := c.cc.NewStream(ctx, &TradingDataService_ServiceDesc.Streams[7], "/datanode.api.v2.TradingDataService/ObserveCandleData", opts...)
  1088  	if err != nil {
  1089  		return nil, err
  1090  	}
  1091  	x := &tradingDataServiceObserveCandleDataClient{stream}
  1092  	if err := x.ClientStream.SendMsg(in); err != nil {
  1093  		return nil, err
  1094  	}
  1095  	if err := x.ClientStream.CloseSend(); err != nil {
  1096  		return nil, err
  1097  	}
  1098  	return x, nil
  1099  }
  1100  
  1101  type TradingDataService_ObserveCandleDataClient interface {
  1102  	Recv() (*ObserveCandleDataResponse, error)
  1103  	grpc.ClientStream
  1104  }
  1105  
  1106  type tradingDataServiceObserveCandleDataClient struct {
  1107  	grpc.ClientStream
  1108  }
  1109  
  1110  func (x *tradingDataServiceObserveCandleDataClient) Recv() (*ObserveCandleDataResponse, error) {
  1111  	m := new(ObserveCandleDataResponse)
  1112  	if err := x.ClientStream.RecvMsg(m); err != nil {
  1113  		return nil, err
  1114  	}
  1115  	return m, nil
  1116  }
  1117  
  1118  func (c *tradingDataServiceClient) ListCandleIntervals(ctx context.Context, in *ListCandleIntervalsRequest, opts ...grpc.CallOption) (*ListCandleIntervalsResponse, error) {
  1119  	out := new(ListCandleIntervalsResponse)
  1120  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListCandleIntervals", in, out, opts...)
  1121  	if err != nil {
  1122  		return nil, err
  1123  	}
  1124  	return out, nil
  1125  }
  1126  
  1127  func (c *tradingDataServiceClient) ListVotes(ctx context.Context, in *ListVotesRequest, opts ...grpc.CallOption) (*ListVotesResponse, error) {
  1128  	out := new(ListVotesResponse)
  1129  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListVotes", in, out, opts...)
  1130  	if err != nil {
  1131  		return nil, err
  1132  	}
  1133  	return out, nil
  1134  }
  1135  
  1136  func (c *tradingDataServiceClient) ObserveVotes(ctx context.Context, in *ObserveVotesRequest, opts ...grpc.CallOption) (TradingDataService_ObserveVotesClient, error) {
  1137  	stream, err := c.cc.NewStream(ctx, &TradingDataService_ServiceDesc.Streams[8], "/datanode.api.v2.TradingDataService/ObserveVotes", opts...)
  1138  	if err != nil {
  1139  		return nil, err
  1140  	}
  1141  	x := &tradingDataServiceObserveVotesClient{stream}
  1142  	if err := x.ClientStream.SendMsg(in); err != nil {
  1143  		return nil, err
  1144  	}
  1145  	if err := x.ClientStream.CloseSend(); err != nil {
  1146  		return nil, err
  1147  	}
  1148  	return x, nil
  1149  }
  1150  
  1151  type TradingDataService_ObserveVotesClient interface {
  1152  	Recv() (*ObserveVotesResponse, error)
  1153  	grpc.ClientStream
  1154  }
  1155  
  1156  type tradingDataServiceObserveVotesClient struct {
  1157  	grpc.ClientStream
  1158  }
  1159  
  1160  func (x *tradingDataServiceObserveVotesClient) Recv() (*ObserveVotesResponse, error) {
  1161  	m := new(ObserveVotesResponse)
  1162  	if err := x.ClientStream.RecvMsg(m); err != nil {
  1163  		return nil, err
  1164  	}
  1165  	return m, nil
  1166  }
  1167  
  1168  func (c *tradingDataServiceClient) ListERC20MultiSigSignerAddedBundles(ctx context.Context, in *ListERC20MultiSigSignerAddedBundlesRequest, opts ...grpc.CallOption) (*ListERC20MultiSigSignerAddedBundlesResponse, error) {
  1169  	out := new(ListERC20MultiSigSignerAddedBundlesResponse)
  1170  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListERC20MultiSigSignerAddedBundles", in, out, opts...)
  1171  	if err != nil {
  1172  		return nil, err
  1173  	}
  1174  	return out, nil
  1175  }
  1176  
  1177  func (c *tradingDataServiceClient) ListERC20MultiSigSignerRemovedBundles(ctx context.Context, in *ListERC20MultiSigSignerRemovedBundlesRequest, opts ...grpc.CallOption) (*ListERC20MultiSigSignerRemovedBundlesResponse, error) {
  1178  	out := new(ListERC20MultiSigSignerRemovedBundlesResponse)
  1179  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListERC20MultiSigSignerRemovedBundles", in, out, opts...)
  1180  	if err != nil {
  1181  		return nil, err
  1182  	}
  1183  	return out, nil
  1184  }
  1185  
  1186  func (c *tradingDataServiceClient) GetERC20ListAssetBundle(ctx context.Context, in *GetERC20ListAssetBundleRequest, opts ...grpc.CallOption) (*GetERC20ListAssetBundleResponse, error) {
  1187  	out := new(GetERC20ListAssetBundleResponse)
  1188  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetERC20ListAssetBundle", in, out, opts...)
  1189  	if err != nil {
  1190  		return nil, err
  1191  	}
  1192  	return out, nil
  1193  }
  1194  
  1195  func (c *tradingDataServiceClient) GetERC20SetAssetLimitsBundle(ctx context.Context, in *GetERC20SetAssetLimitsBundleRequest, opts ...grpc.CallOption) (*GetERC20SetAssetLimitsBundleResponse, error) {
  1196  	out := new(GetERC20SetAssetLimitsBundleResponse)
  1197  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetERC20SetAssetLimitsBundle", in, out, opts...)
  1198  	if err != nil {
  1199  		return nil, err
  1200  	}
  1201  	return out, nil
  1202  }
  1203  
  1204  func (c *tradingDataServiceClient) GetERC20WithdrawalApproval(ctx context.Context, in *GetERC20WithdrawalApprovalRequest, opts ...grpc.CallOption) (*GetERC20WithdrawalApprovalResponse, error) {
  1205  	out := new(GetERC20WithdrawalApprovalResponse)
  1206  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetERC20WithdrawalApproval", in, out, opts...)
  1207  	if err != nil {
  1208  		return nil, err
  1209  	}
  1210  	return out, nil
  1211  }
  1212  
  1213  func (c *tradingDataServiceClient) GetLastTrade(ctx context.Context, in *GetLastTradeRequest, opts ...grpc.CallOption) (*GetLastTradeResponse, error) {
  1214  	out := new(GetLastTradeResponse)
  1215  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetLastTrade", in, out, opts...)
  1216  	if err != nil {
  1217  		return nil, err
  1218  	}
  1219  	return out, nil
  1220  }
  1221  
  1222  func (c *tradingDataServiceClient) ListTrades(ctx context.Context, in *ListTradesRequest, opts ...grpc.CallOption) (*ListTradesResponse, error) {
  1223  	out := new(ListTradesResponse)
  1224  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListTrades", in, out, opts...)
  1225  	if err != nil {
  1226  		return nil, err
  1227  	}
  1228  	return out, nil
  1229  }
  1230  
  1231  func (c *tradingDataServiceClient) ObserveTrades(ctx context.Context, in *ObserveTradesRequest, opts ...grpc.CallOption) (TradingDataService_ObserveTradesClient, error) {
  1232  	stream, err := c.cc.NewStream(ctx, &TradingDataService_ServiceDesc.Streams[9], "/datanode.api.v2.TradingDataService/ObserveTrades", opts...)
  1233  	if err != nil {
  1234  		return nil, err
  1235  	}
  1236  	x := &tradingDataServiceObserveTradesClient{stream}
  1237  	if err := x.ClientStream.SendMsg(in); err != nil {
  1238  		return nil, err
  1239  	}
  1240  	if err := x.ClientStream.CloseSend(); err != nil {
  1241  		return nil, err
  1242  	}
  1243  	return x, nil
  1244  }
  1245  
  1246  type TradingDataService_ObserveTradesClient interface {
  1247  	Recv() (*ObserveTradesResponse, error)
  1248  	grpc.ClientStream
  1249  }
  1250  
  1251  type tradingDataServiceObserveTradesClient struct {
  1252  	grpc.ClientStream
  1253  }
  1254  
  1255  func (x *tradingDataServiceObserveTradesClient) Recv() (*ObserveTradesResponse, error) {
  1256  	m := new(ObserveTradesResponse)
  1257  	if err := x.ClientStream.RecvMsg(m); err != nil {
  1258  		return nil, err
  1259  	}
  1260  	return m, nil
  1261  }
  1262  
  1263  func (c *tradingDataServiceClient) GetOracleSpec(ctx context.Context, in *GetOracleSpecRequest, opts ...grpc.CallOption) (*GetOracleSpecResponse, error) {
  1264  	out := new(GetOracleSpecResponse)
  1265  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetOracleSpec", in, out, opts...)
  1266  	if err != nil {
  1267  		return nil, err
  1268  	}
  1269  	return out, nil
  1270  }
  1271  
  1272  func (c *tradingDataServiceClient) ListOracleSpecs(ctx context.Context, in *ListOracleSpecsRequest, opts ...grpc.CallOption) (*ListOracleSpecsResponse, error) {
  1273  	out := new(ListOracleSpecsResponse)
  1274  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListOracleSpecs", in, out, opts...)
  1275  	if err != nil {
  1276  		return nil, err
  1277  	}
  1278  	return out, nil
  1279  }
  1280  
  1281  func (c *tradingDataServiceClient) ListOracleData(ctx context.Context, in *ListOracleDataRequest, opts ...grpc.CallOption) (*ListOracleDataResponse, error) {
  1282  	out := new(ListOracleDataResponse)
  1283  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListOracleData", in, out, opts...)
  1284  	if err != nil {
  1285  		return nil, err
  1286  	}
  1287  	return out, nil
  1288  }
  1289  
  1290  func (c *tradingDataServiceClient) GetMarket(ctx context.Context, in *GetMarketRequest, opts ...grpc.CallOption) (*GetMarketResponse, error) {
  1291  	out := new(GetMarketResponse)
  1292  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetMarket", in, out, opts...)
  1293  	if err != nil {
  1294  		return nil, err
  1295  	}
  1296  	return out, nil
  1297  }
  1298  
  1299  func (c *tradingDataServiceClient) ListMarkets(ctx context.Context, in *ListMarketsRequest, opts ...grpc.CallOption) (*ListMarketsResponse, error) {
  1300  	out := new(ListMarketsResponse)
  1301  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListMarkets", in, out, opts...)
  1302  	if err != nil {
  1303  		return nil, err
  1304  	}
  1305  	return out, nil
  1306  }
  1307  
  1308  func (c *tradingDataServiceClient) ListSuccessorMarkets(ctx context.Context, in *ListSuccessorMarketsRequest, opts ...grpc.CallOption) (*ListSuccessorMarketsResponse, error) {
  1309  	out := new(ListSuccessorMarketsResponse)
  1310  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListSuccessorMarkets", in, out, opts...)
  1311  	if err != nil {
  1312  		return nil, err
  1313  	}
  1314  	return out, nil
  1315  }
  1316  
  1317  func (c *tradingDataServiceClient) GetParty(ctx context.Context, in *GetPartyRequest, opts ...grpc.CallOption) (*GetPartyResponse, error) {
  1318  	out := new(GetPartyResponse)
  1319  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetParty", in, out, opts...)
  1320  	if err != nil {
  1321  		return nil, err
  1322  	}
  1323  	return out, nil
  1324  }
  1325  
  1326  func (c *tradingDataServiceClient) ListParties(ctx context.Context, in *ListPartiesRequest, opts ...grpc.CallOption) (*ListPartiesResponse, error) {
  1327  	out := new(ListPartiesResponse)
  1328  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListParties", in, out, opts...)
  1329  	if err != nil {
  1330  		return nil, err
  1331  	}
  1332  	return out, nil
  1333  }
  1334  
  1335  func (c *tradingDataServiceClient) ListPartiesProfiles(ctx context.Context, in *ListPartiesProfilesRequest, opts ...grpc.CallOption) (*ListPartiesProfilesResponse, error) {
  1336  	out := new(ListPartiesProfilesResponse)
  1337  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListPartiesProfiles", in, out, opts...)
  1338  	if err != nil {
  1339  		return nil, err
  1340  	}
  1341  	return out, nil
  1342  }
  1343  
  1344  func (c *tradingDataServiceClient) ListMarginLevels(ctx context.Context, in *ListMarginLevelsRequest, opts ...grpc.CallOption) (*ListMarginLevelsResponse, error) {
  1345  	out := new(ListMarginLevelsResponse)
  1346  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListMarginLevels", in, out, opts...)
  1347  	if err != nil {
  1348  		return nil, err
  1349  	}
  1350  	return out, nil
  1351  }
  1352  
  1353  func (c *tradingDataServiceClient) ObserveMarginLevels(ctx context.Context, in *ObserveMarginLevelsRequest, opts ...grpc.CallOption) (TradingDataService_ObserveMarginLevelsClient, error) {
  1354  	stream, err := c.cc.NewStream(ctx, &TradingDataService_ServiceDesc.Streams[10], "/datanode.api.v2.TradingDataService/ObserveMarginLevels", opts...)
  1355  	if err != nil {
  1356  		return nil, err
  1357  	}
  1358  	x := &tradingDataServiceObserveMarginLevelsClient{stream}
  1359  	if err := x.ClientStream.SendMsg(in); err != nil {
  1360  		return nil, err
  1361  	}
  1362  	if err := x.ClientStream.CloseSend(); err != nil {
  1363  		return nil, err
  1364  	}
  1365  	return x, nil
  1366  }
  1367  
  1368  type TradingDataService_ObserveMarginLevelsClient interface {
  1369  	Recv() (*ObserveMarginLevelsResponse, error)
  1370  	grpc.ClientStream
  1371  }
  1372  
  1373  type tradingDataServiceObserveMarginLevelsClient struct {
  1374  	grpc.ClientStream
  1375  }
  1376  
  1377  func (x *tradingDataServiceObserveMarginLevelsClient) Recv() (*ObserveMarginLevelsResponse, error) {
  1378  	m := new(ObserveMarginLevelsResponse)
  1379  	if err := x.ClientStream.RecvMsg(m); err != nil {
  1380  		return nil, err
  1381  	}
  1382  	return m, nil
  1383  }
  1384  
  1385  func (c *tradingDataServiceClient) ListRewards(ctx context.Context, in *ListRewardsRequest, opts ...grpc.CallOption) (*ListRewardsResponse, error) {
  1386  	out := new(ListRewardsResponse)
  1387  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListRewards", in, out, opts...)
  1388  	if err != nil {
  1389  		return nil, err
  1390  	}
  1391  	return out, nil
  1392  }
  1393  
  1394  func (c *tradingDataServiceClient) ListRewardSummaries(ctx context.Context, in *ListRewardSummariesRequest, opts ...grpc.CallOption) (*ListRewardSummariesResponse, error) {
  1395  	out := new(ListRewardSummariesResponse)
  1396  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListRewardSummaries", in, out, opts...)
  1397  	if err != nil {
  1398  		return nil, err
  1399  	}
  1400  	return out, nil
  1401  }
  1402  
  1403  func (c *tradingDataServiceClient) ListEpochRewardSummaries(ctx context.Context, in *ListEpochRewardSummariesRequest, opts ...grpc.CallOption) (*ListEpochRewardSummariesResponse, error) {
  1404  	out := new(ListEpochRewardSummariesResponse)
  1405  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListEpochRewardSummaries", in, out, opts...)
  1406  	if err != nil {
  1407  		return nil, err
  1408  	}
  1409  	return out, nil
  1410  }
  1411  
  1412  func (c *tradingDataServiceClient) GetDeposit(ctx context.Context, in *GetDepositRequest, opts ...grpc.CallOption) (*GetDepositResponse, error) {
  1413  	out := new(GetDepositResponse)
  1414  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetDeposit", in, out, opts...)
  1415  	if err != nil {
  1416  		return nil, err
  1417  	}
  1418  	return out, nil
  1419  }
  1420  
  1421  func (c *tradingDataServiceClient) ListDeposits(ctx context.Context, in *ListDepositsRequest, opts ...grpc.CallOption) (*ListDepositsResponse, error) {
  1422  	out := new(ListDepositsResponse)
  1423  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListDeposits", in, out, opts...)
  1424  	if err != nil {
  1425  		return nil, err
  1426  	}
  1427  	return out, nil
  1428  }
  1429  
  1430  func (c *tradingDataServiceClient) GetWithdrawal(ctx context.Context, in *GetWithdrawalRequest, opts ...grpc.CallOption) (*GetWithdrawalResponse, error) {
  1431  	out := new(GetWithdrawalResponse)
  1432  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetWithdrawal", in, out, opts...)
  1433  	if err != nil {
  1434  		return nil, err
  1435  	}
  1436  	return out, nil
  1437  }
  1438  
  1439  func (c *tradingDataServiceClient) ListWithdrawals(ctx context.Context, in *ListWithdrawalsRequest, opts ...grpc.CallOption) (*ListWithdrawalsResponse, error) {
  1440  	out := new(ListWithdrawalsResponse)
  1441  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListWithdrawals", in, out, opts...)
  1442  	if err != nil {
  1443  		return nil, err
  1444  	}
  1445  	return out, nil
  1446  }
  1447  
  1448  func (c *tradingDataServiceClient) GetAsset(ctx context.Context, in *GetAssetRequest, opts ...grpc.CallOption) (*GetAssetResponse, error) {
  1449  	out := new(GetAssetResponse)
  1450  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetAsset", in, out, opts...)
  1451  	if err != nil {
  1452  		return nil, err
  1453  	}
  1454  	return out, nil
  1455  }
  1456  
  1457  func (c *tradingDataServiceClient) ListAssets(ctx context.Context, in *ListAssetsRequest, opts ...grpc.CallOption) (*ListAssetsResponse, error) {
  1458  	out := new(ListAssetsResponse)
  1459  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListAssets", in, out, opts...)
  1460  	if err != nil {
  1461  		return nil, err
  1462  	}
  1463  	return out, nil
  1464  }
  1465  
  1466  // Deprecated: Do not use.
  1467  func (c *tradingDataServiceClient) ListLiquidityProvisions(ctx context.Context, in *ListLiquidityProvisionsRequest, opts ...grpc.CallOption) (*ListLiquidityProvisionsResponse, error) {
  1468  	out := new(ListLiquidityProvisionsResponse)
  1469  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListLiquidityProvisions", in, out, opts...)
  1470  	if err != nil {
  1471  		return nil, err
  1472  	}
  1473  	return out, nil
  1474  }
  1475  
  1476  func (c *tradingDataServiceClient) ListAllLiquidityProvisions(ctx context.Context, in *ListAllLiquidityProvisionsRequest, opts ...grpc.CallOption) (*ListAllLiquidityProvisionsResponse, error) {
  1477  	out := new(ListAllLiquidityProvisionsResponse)
  1478  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListAllLiquidityProvisions", in, out, opts...)
  1479  	if err != nil {
  1480  		return nil, err
  1481  	}
  1482  	return out, nil
  1483  }
  1484  
  1485  func (c *tradingDataServiceClient) ObserveLiquidityProvisions(ctx context.Context, in *ObserveLiquidityProvisionsRequest, opts ...grpc.CallOption) (TradingDataService_ObserveLiquidityProvisionsClient, error) {
  1486  	stream, err := c.cc.NewStream(ctx, &TradingDataService_ServiceDesc.Streams[11], "/datanode.api.v2.TradingDataService/ObserveLiquidityProvisions", opts...)
  1487  	if err != nil {
  1488  		return nil, err
  1489  	}
  1490  	x := &tradingDataServiceObserveLiquidityProvisionsClient{stream}
  1491  	if err := x.ClientStream.SendMsg(in); err != nil {
  1492  		return nil, err
  1493  	}
  1494  	if err := x.ClientStream.CloseSend(); err != nil {
  1495  		return nil, err
  1496  	}
  1497  	return x, nil
  1498  }
  1499  
  1500  type TradingDataService_ObserveLiquidityProvisionsClient interface {
  1501  	Recv() (*ObserveLiquidityProvisionsResponse, error)
  1502  	grpc.ClientStream
  1503  }
  1504  
  1505  type tradingDataServiceObserveLiquidityProvisionsClient struct {
  1506  	grpc.ClientStream
  1507  }
  1508  
  1509  func (x *tradingDataServiceObserveLiquidityProvisionsClient) Recv() (*ObserveLiquidityProvisionsResponse, error) {
  1510  	m := new(ObserveLiquidityProvisionsResponse)
  1511  	if err := x.ClientStream.RecvMsg(m); err != nil {
  1512  		return nil, err
  1513  	}
  1514  	return m, nil
  1515  }
  1516  
  1517  func (c *tradingDataServiceClient) ListLiquidityProviders(ctx context.Context, in *ListLiquidityProvidersRequest, opts ...grpc.CallOption) (*ListLiquidityProvidersResponse, error) {
  1518  	out := new(ListLiquidityProvidersResponse)
  1519  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListLiquidityProviders", in, out, opts...)
  1520  	if err != nil {
  1521  		return nil, err
  1522  	}
  1523  	return out, nil
  1524  }
  1525  
  1526  func (c *tradingDataServiceClient) ListPaidLiquidityFees(ctx context.Context, in *ListPaidLiquidityFeesRequest, opts ...grpc.CallOption) (*ListPaidLiquidityFeesResponse, error) {
  1527  	out := new(ListPaidLiquidityFeesResponse)
  1528  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListPaidLiquidityFees", in, out, opts...)
  1529  	if err != nil {
  1530  		return nil, err
  1531  	}
  1532  	return out, nil
  1533  }
  1534  
  1535  func (c *tradingDataServiceClient) GetGovernanceData(ctx context.Context, in *GetGovernanceDataRequest, opts ...grpc.CallOption) (*GetGovernanceDataResponse, error) {
  1536  	out := new(GetGovernanceDataResponse)
  1537  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetGovernanceData", in, out, opts...)
  1538  	if err != nil {
  1539  		return nil, err
  1540  	}
  1541  	return out, nil
  1542  }
  1543  
  1544  func (c *tradingDataServiceClient) ListGovernanceData(ctx context.Context, in *ListGovernanceDataRequest, opts ...grpc.CallOption) (*ListGovernanceDataResponse, error) {
  1545  	out := new(ListGovernanceDataResponse)
  1546  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListGovernanceData", in, out, opts...)
  1547  	if err != nil {
  1548  		return nil, err
  1549  	}
  1550  	return out, nil
  1551  }
  1552  
  1553  func (c *tradingDataServiceClient) ObserveGovernance(ctx context.Context, in *ObserveGovernanceRequest, opts ...grpc.CallOption) (TradingDataService_ObserveGovernanceClient, error) {
  1554  	stream, err := c.cc.NewStream(ctx, &TradingDataService_ServiceDesc.Streams[12], "/datanode.api.v2.TradingDataService/ObserveGovernance", opts...)
  1555  	if err != nil {
  1556  		return nil, err
  1557  	}
  1558  	x := &tradingDataServiceObserveGovernanceClient{stream}
  1559  	if err := x.ClientStream.SendMsg(in); err != nil {
  1560  		return nil, err
  1561  	}
  1562  	if err := x.ClientStream.CloseSend(); err != nil {
  1563  		return nil, err
  1564  	}
  1565  	return x, nil
  1566  }
  1567  
  1568  type TradingDataService_ObserveGovernanceClient interface {
  1569  	Recv() (*ObserveGovernanceResponse, error)
  1570  	grpc.ClientStream
  1571  }
  1572  
  1573  type tradingDataServiceObserveGovernanceClient struct {
  1574  	grpc.ClientStream
  1575  }
  1576  
  1577  func (x *tradingDataServiceObserveGovernanceClient) Recv() (*ObserveGovernanceResponse, error) {
  1578  	m := new(ObserveGovernanceResponse)
  1579  	if err := x.ClientStream.RecvMsg(m); err != nil {
  1580  		return nil, err
  1581  	}
  1582  	return m, nil
  1583  }
  1584  
  1585  func (c *tradingDataServiceClient) ListDelegations(ctx context.Context, in *ListDelegationsRequest, opts ...grpc.CallOption) (*ListDelegationsResponse, error) {
  1586  	out := new(ListDelegationsResponse)
  1587  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListDelegations", in, out, opts...)
  1588  	if err != nil {
  1589  		return nil, err
  1590  	}
  1591  	return out, nil
  1592  }
  1593  
  1594  func (c *tradingDataServiceClient) GetNetworkData(ctx context.Context, in *GetNetworkDataRequest, opts ...grpc.CallOption) (*GetNetworkDataResponse, error) {
  1595  	out := new(GetNetworkDataResponse)
  1596  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetNetworkData", in, out, opts...)
  1597  	if err != nil {
  1598  		return nil, err
  1599  	}
  1600  	return out, nil
  1601  }
  1602  
  1603  func (c *tradingDataServiceClient) GetNode(ctx context.Context, in *GetNodeRequest, opts ...grpc.CallOption) (*GetNodeResponse, error) {
  1604  	out := new(GetNodeResponse)
  1605  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetNode", in, out, opts...)
  1606  	if err != nil {
  1607  		return nil, err
  1608  	}
  1609  	return out, nil
  1610  }
  1611  
  1612  func (c *tradingDataServiceClient) ListNodes(ctx context.Context, in *ListNodesRequest, opts ...grpc.CallOption) (*ListNodesResponse, error) {
  1613  	out := new(ListNodesResponse)
  1614  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListNodes", in, out, opts...)
  1615  	if err != nil {
  1616  		return nil, err
  1617  	}
  1618  	return out, nil
  1619  }
  1620  
  1621  func (c *tradingDataServiceClient) ListNodeSignatures(ctx context.Context, in *ListNodeSignaturesRequest, opts ...grpc.CallOption) (*ListNodeSignaturesResponse, error) {
  1622  	out := new(ListNodeSignaturesResponse)
  1623  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListNodeSignatures", in, out, opts...)
  1624  	if err != nil {
  1625  		return nil, err
  1626  	}
  1627  	return out, nil
  1628  }
  1629  
  1630  func (c *tradingDataServiceClient) GetEpoch(ctx context.Context, in *GetEpochRequest, opts ...grpc.CallOption) (*GetEpochResponse, error) {
  1631  	out := new(GetEpochResponse)
  1632  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetEpoch", in, out, opts...)
  1633  	if err != nil {
  1634  		return nil, err
  1635  	}
  1636  	return out, nil
  1637  }
  1638  
  1639  func (c *tradingDataServiceClient) EstimateFee(ctx context.Context, in *EstimateFeeRequest, opts ...grpc.CallOption) (*EstimateFeeResponse, error) {
  1640  	out := new(EstimateFeeResponse)
  1641  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/EstimateFee", in, out, opts...)
  1642  	if err != nil {
  1643  		return nil, err
  1644  	}
  1645  	return out, nil
  1646  }
  1647  
  1648  // Deprecated: Do not use.
  1649  func (c *tradingDataServiceClient) EstimateMargin(ctx context.Context, in *EstimateMarginRequest, opts ...grpc.CallOption) (*EstimateMarginResponse, error) {
  1650  	out := new(EstimateMarginResponse)
  1651  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/EstimateMargin", in, out, opts...)
  1652  	if err != nil {
  1653  		return nil, err
  1654  	}
  1655  	return out, nil
  1656  }
  1657  
  1658  func (c *tradingDataServiceClient) EstimatePosition(ctx context.Context, in *EstimatePositionRequest, opts ...grpc.CallOption) (*EstimatePositionResponse, error) {
  1659  	out := new(EstimatePositionResponse)
  1660  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/EstimatePosition", in, out, opts...)
  1661  	if err != nil {
  1662  		return nil, err
  1663  	}
  1664  	return out, nil
  1665  }
  1666  
  1667  func (c *tradingDataServiceClient) ListNetworkParameters(ctx context.Context, in *ListNetworkParametersRequest, opts ...grpc.CallOption) (*ListNetworkParametersResponse, error) {
  1668  	out := new(ListNetworkParametersResponse)
  1669  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListNetworkParameters", in, out, opts...)
  1670  	if err != nil {
  1671  		return nil, err
  1672  	}
  1673  	return out, nil
  1674  }
  1675  
  1676  func (c *tradingDataServiceClient) GetNetworkParameter(ctx context.Context, in *GetNetworkParameterRequest, opts ...grpc.CallOption) (*GetNetworkParameterResponse, error) {
  1677  	out := new(GetNetworkParameterResponse)
  1678  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetNetworkParameter", in, out, opts...)
  1679  	if err != nil {
  1680  		return nil, err
  1681  	}
  1682  	return out, nil
  1683  }
  1684  
  1685  func (c *tradingDataServiceClient) ListCheckpoints(ctx context.Context, in *ListCheckpointsRequest, opts ...grpc.CallOption) (*ListCheckpointsResponse, error) {
  1686  	out := new(ListCheckpointsResponse)
  1687  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListCheckpoints", in, out, opts...)
  1688  	if err != nil {
  1689  		return nil, err
  1690  	}
  1691  	return out, nil
  1692  }
  1693  
  1694  func (c *tradingDataServiceClient) GetStake(ctx context.Context, in *GetStakeRequest, opts ...grpc.CallOption) (*GetStakeResponse, error) {
  1695  	out := new(GetStakeResponse)
  1696  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetStake", in, out, opts...)
  1697  	if err != nil {
  1698  		return nil, err
  1699  	}
  1700  	return out, nil
  1701  }
  1702  
  1703  func (c *tradingDataServiceClient) GetRiskFactors(ctx context.Context, in *GetRiskFactorsRequest, opts ...grpc.CallOption) (*GetRiskFactorsResponse, error) {
  1704  	out := new(GetRiskFactorsResponse)
  1705  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetRiskFactors", in, out, opts...)
  1706  	if err != nil {
  1707  		return nil, err
  1708  	}
  1709  	return out, nil
  1710  }
  1711  
  1712  func (c *tradingDataServiceClient) ObserveEventBus(ctx context.Context, opts ...grpc.CallOption) (TradingDataService_ObserveEventBusClient, error) {
  1713  	stream, err := c.cc.NewStream(ctx, &TradingDataService_ServiceDesc.Streams[13], "/datanode.api.v2.TradingDataService/ObserveEventBus", opts...)
  1714  	if err != nil {
  1715  		return nil, err
  1716  	}
  1717  	x := &tradingDataServiceObserveEventBusClient{stream}
  1718  	return x, nil
  1719  }
  1720  
  1721  type TradingDataService_ObserveEventBusClient interface {
  1722  	Send(*ObserveEventBusRequest) error
  1723  	Recv() (*ObserveEventBusResponse, error)
  1724  	grpc.ClientStream
  1725  }
  1726  
  1727  type tradingDataServiceObserveEventBusClient struct {
  1728  	grpc.ClientStream
  1729  }
  1730  
  1731  func (x *tradingDataServiceObserveEventBusClient) Send(m *ObserveEventBusRequest) error {
  1732  	return x.ClientStream.SendMsg(m)
  1733  }
  1734  
  1735  func (x *tradingDataServiceObserveEventBusClient) Recv() (*ObserveEventBusResponse, error) {
  1736  	m := new(ObserveEventBusResponse)
  1737  	if err := x.ClientStream.RecvMsg(m); err != nil {
  1738  		return nil, err
  1739  	}
  1740  	return m, nil
  1741  }
  1742  
  1743  func (c *tradingDataServiceClient) ObserveLedgerMovements(ctx context.Context, in *ObserveLedgerMovementsRequest, opts ...grpc.CallOption) (TradingDataService_ObserveLedgerMovementsClient, error) {
  1744  	stream, err := c.cc.NewStream(ctx, &TradingDataService_ServiceDesc.Streams[14], "/datanode.api.v2.TradingDataService/ObserveLedgerMovements", opts...)
  1745  	if err != nil {
  1746  		return nil, err
  1747  	}
  1748  	x := &tradingDataServiceObserveLedgerMovementsClient{stream}
  1749  	if err := x.ClientStream.SendMsg(in); err != nil {
  1750  		return nil, err
  1751  	}
  1752  	if err := x.ClientStream.CloseSend(); err != nil {
  1753  		return nil, err
  1754  	}
  1755  	return x, nil
  1756  }
  1757  
  1758  type TradingDataService_ObserveLedgerMovementsClient interface {
  1759  	Recv() (*ObserveLedgerMovementsResponse, error)
  1760  	grpc.ClientStream
  1761  }
  1762  
  1763  type tradingDataServiceObserveLedgerMovementsClient struct {
  1764  	grpc.ClientStream
  1765  }
  1766  
  1767  func (x *tradingDataServiceObserveLedgerMovementsClient) Recv() (*ObserveLedgerMovementsResponse, error) {
  1768  	m := new(ObserveLedgerMovementsResponse)
  1769  	if err := x.ClientStream.RecvMsg(m); err != nil {
  1770  		return nil, err
  1771  	}
  1772  	return m, nil
  1773  }
  1774  
  1775  func (c *tradingDataServiceClient) ListKeyRotations(ctx context.Context, in *ListKeyRotationsRequest, opts ...grpc.CallOption) (*ListKeyRotationsResponse, error) {
  1776  	out := new(ListKeyRotationsResponse)
  1777  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListKeyRotations", in, out, opts...)
  1778  	if err != nil {
  1779  		return nil, err
  1780  	}
  1781  	return out, nil
  1782  }
  1783  
  1784  func (c *tradingDataServiceClient) ListEthereumKeyRotations(ctx context.Context, in *ListEthereumKeyRotationsRequest, opts ...grpc.CallOption) (*ListEthereumKeyRotationsResponse, error) {
  1785  	out := new(ListEthereumKeyRotationsResponse)
  1786  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListEthereumKeyRotations", in, out, opts...)
  1787  	if err != nil {
  1788  		return nil, err
  1789  	}
  1790  	return out, nil
  1791  }
  1792  
  1793  func (c *tradingDataServiceClient) GetVegaTime(ctx context.Context, in *GetVegaTimeRequest, opts ...grpc.CallOption) (*GetVegaTimeResponse, error) {
  1794  	out := new(GetVegaTimeResponse)
  1795  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetVegaTime", in, out, opts...)
  1796  	if err != nil {
  1797  		return nil, err
  1798  	}
  1799  	return out, nil
  1800  }
  1801  
  1802  func (c *tradingDataServiceClient) GetProtocolUpgradeStatus(ctx context.Context, in *GetProtocolUpgradeStatusRequest, opts ...grpc.CallOption) (*GetProtocolUpgradeStatusResponse, error) {
  1803  	out := new(GetProtocolUpgradeStatusResponse)
  1804  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetProtocolUpgradeStatus", in, out, opts...)
  1805  	if err != nil {
  1806  		return nil, err
  1807  	}
  1808  	return out, nil
  1809  }
  1810  
  1811  func (c *tradingDataServiceClient) ListProtocolUpgradeProposals(ctx context.Context, in *ListProtocolUpgradeProposalsRequest, opts ...grpc.CallOption) (*ListProtocolUpgradeProposalsResponse, error) {
  1812  	out := new(ListProtocolUpgradeProposalsResponse)
  1813  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListProtocolUpgradeProposals", in, out, opts...)
  1814  	if err != nil {
  1815  		return nil, err
  1816  	}
  1817  	return out, nil
  1818  }
  1819  
  1820  func (c *tradingDataServiceClient) ListCoreSnapshots(ctx context.Context, in *ListCoreSnapshotsRequest, opts ...grpc.CallOption) (*ListCoreSnapshotsResponse, error) {
  1821  	out := new(ListCoreSnapshotsResponse)
  1822  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListCoreSnapshots", in, out, opts...)
  1823  	if err != nil {
  1824  		return nil, err
  1825  	}
  1826  	return out, nil
  1827  }
  1828  
  1829  func (c *tradingDataServiceClient) GetMostRecentNetworkHistorySegment(ctx context.Context, in *GetMostRecentNetworkHistorySegmentRequest, opts ...grpc.CallOption) (*GetMostRecentNetworkHistorySegmentResponse, error) {
  1830  	out := new(GetMostRecentNetworkHistorySegmentResponse)
  1831  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetMostRecentNetworkHistorySegment", in, out, opts...)
  1832  	if err != nil {
  1833  		return nil, err
  1834  	}
  1835  	return out, nil
  1836  }
  1837  
  1838  func (c *tradingDataServiceClient) ListAllNetworkHistorySegments(ctx context.Context, in *ListAllNetworkHistorySegmentsRequest, opts ...grpc.CallOption) (*ListAllNetworkHistorySegmentsResponse, error) {
  1839  	out := new(ListAllNetworkHistorySegmentsResponse)
  1840  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListAllNetworkHistorySegments", in, out, opts...)
  1841  	if err != nil {
  1842  		return nil, err
  1843  	}
  1844  	return out, nil
  1845  }
  1846  
  1847  func (c *tradingDataServiceClient) GetActiveNetworkHistoryPeerAddresses(ctx context.Context, in *GetActiveNetworkHistoryPeerAddressesRequest, opts ...grpc.CallOption) (*GetActiveNetworkHistoryPeerAddressesResponse, error) {
  1848  	out := new(GetActiveNetworkHistoryPeerAddressesResponse)
  1849  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetActiveNetworkHistoryPeerAddresses", in, out, opts...)
  1850  	if err != nil {
  1851  		return nil, err
  1852  	}
  1853  	return out, nil
  1854  }
  1855  
  1856  func (c *tradingDataServiceClient) GetNetworkHistoryStatus(ctx context.Context, in *GetNetworkHistoryStatusRequest, opts ...grpc.CallOption) (*GetNetworkHistoryStatusResponse, error) {
  1857  	out := new(GetNetworkHistoryStatusResponse)
  1858  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetNetworkHistoryStatus", in, out, opts...)
  1859  	if err != nil {
  1860  		return nil, err
  1861  	}
  1862  	return out, nil
  1863  }
  1864  
  1865  func (c *tradingDataServiceClient) GetNetworkHistoryBootstrapPeers(ctx context.Context, in *GetNetworkHistoryBootstrapPeersRequest, opts ...grpc.CallOption) (*GetNetworkHistoryBootstrapPeersResponse, error) {
  1866  	out := new(GetNetworkHistoryBootstrapPeersResponse)
  1867  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetNetworkHistoryBootstrapPeers", in, out, opts...)
  1868  	if err != nil {
  1869  		return nil, err
  1870  	}
  1871  	return out, nil
  1872  }
  1873  
  1874  func (c *tradingDataServiceClient) ListEntities(ctx context.Context, in *ListEntitiesRequest, opts ...grpc.CallOption) (*ListEntitiesResponse, error) {
  1875  	out := new(ListEntitiesResponse)
  1876  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListEntities", in, out, opts...)
  1877  	if err != nil {
  1878  		return nil, err
  1879  	}
  1880  	return out, nil
  1881  }
  1882  
  1883  func (c *tradingDataServiceClient) ListFundingPeriods(ctx context.Context, in *ListFundingPeriodsRequest, opts ...grpc.CallOption) (*ListFundingPeriodsResponse, error) {
  1884  	out := new(ListFundingPeriodsResponse)
  1885  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListFundingPeriods", in, out, opts...)
  1886  	if err != nil {
  1887  		return nil, err
  1888  	}
  1889  	return out, nil
  1890  }
  1891  
  1892  func (c *tradingDataServiceClient) ListFundingPeriodDataPoints(ctx context.Context, in *ListFundingPeriodDataPointsRequest, opts ...grpc.CallOption) (*ListFundingPeriodDataPointsResponse, error) {
  1893  	out := new(ListFundingPeriodDataPointsResponse)
  1894  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListFundingPeriodDataPoints", in, out, opts...)
  1895  	if err != nil {
  1896  		return nil, err
  1897  	}
  1898  	return out, nil
  1899  }
  1900  
  1901  func (c *tradingDataServiceClient) ListFundingPayments(ctx context.Context, in *ListFundingPaymentsRequest, opts ...grpc.CallOption) (*ListFundingPaymentsResponse, error) {
  1902  	out := new(ListFundingPaymentsResponse)
  1903  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListFundingPayments", in, out, opts...)
  1904  	if err != nil {
  1905  		return nil, err
  1906  	}
  1907  	return out, nil
  1908  }
  1909  
  1910  func (c *tradingDataServiceClient) GetPartyActivityStreak(ctx context.Context, in *GetPartyActivityStreakRequest, opts ...grpc.CallOption) (*GetPartyActivityStreakResponse, error) {
  1911  	out := new(GetPartyActivityStreakResponse)
  1912  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetPartyActivityStreak", in, out, opts...)
  1913  	if err != nil {
  1914  		return nil, err
  1915  	}
  1916  	return out, nil
  1917  }
  1918  
  1919  func (c *tradingDataServiceClient) GetCurrentReferralProgram(ctx context.Context, in *GetCurrentReferralProgramRequest, opts ...grpc.CallOption) (*GetCurrentReferralProgramResponse, error) {
  1920  	out := new(GetCurrentReferralProgramResponse)
  1921  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetCurrentReferralProgram", in, out, opts...)
  1922  	if err != nil {
  1923  		return nil, err
  1924  	}
  1925  	return out, nil
  1926  }
  1927  
  1928  func (c *tradingDataServiceClient) ListReferralSets(ctx context.Context, in *ListReferralSetsRequest, opts ...grpc.CallOption) (*ListReferralSetsResponse, error) {
  1929  	out := new(ListReferralSetsResponse)
  1930  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListReferralSets", in, out, opts...)
  1931  	if err != nil {
  1932  		return nil, err
  1933  	}
  1934  	return out, nil
  1935  }
  1936  
  1937  func (c *tradingDataServiceClient) ListReferralSetReferees(ctx context.Context, in *ListReferralSetRefereesRequest, opts ...grpc.CallOption) (*ListReferralSetRefereesResponse, error) {
  1938  	out := new(ListReferralSetRefereesResponse)
  1939  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListReferralSetReferees", in, out, opts...)
  1940  	if err != nil {
  1941  		return nil, err
  1942  	}
  1943  	return out, nil
  1944  }
  1945  
  1946  func (c *tradingDataServiceClient) GetReferralSetStats(ctx context.Context, in *GetReferralSetStatsRequest, opts ...grpc.CallOption) (*GetReferralSetStatsResponse, error) {
  1947  	out := new(GetReferralSetStatsResponse)
  1948  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetReferralSetStats", in, out, opts...)
  1949  	if err != nil {
  1950  		return nil, err
  1951  	}
  1952  	return out, nil
  1953  }
  1954  
  1955  func (c *tradingDataServiceClient) ListTeams(ctx context.Context, in *ListTeamsRequest, opts ...grpc.CallOption) (*ListTeamsResponse, error) {
  1956  	out := new(ListTeamsResponse)
  1957  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListTeams", in, out, opts...)
  1958  	if err != nil {
  1959  		return nil, err
  1960  	}
  1961  	return out, nil
  1962  }
  1963  
  1964  func (c *tradingDataServiceClient) ListTeamsStatistics(ctx context.Context, in *ListTeamsStatisticsRequest, opts ...grpc.CallOption) (*ListTeamsStatisticsResponse, error) {
  1965  	out := new(ListTeamsStatisticsResponse)
  1966  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListTeamsStatistics", in, out, opts...)
  1967  	if err != nil {
  1968  		return nil, err
  1969  	}
  1970  	return out, nil
  1971  }
  1972  
  1973  func (c *tradingDataServiceClient) ListTeamMembersStatistics(ctx context.Context, in *ListTeamMembersStatisticsRequest, opts ...grpc.CallOption) (*ListTeamMembersStatisticsResponse, error) {
  1974  	out := new(ListTeamMembersStatisticsResponse)
  1975  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListTeamMembersStatistics", in, out, opts...)
  1976  	if err != nil {
  1977  		return nil, err
  1978  	}
  1979  	return out, nil
  1980  }
  1981  
  1982  func (c *tradingDataServiceClient) ListTeamReferees(ctx context.Context, in *ListTeamRefereesRequest, opts ...grpc.CallOption) (*ListTeamRefereesResponse, error) {
  1983  	out := new(ListTeamRefereesResponse)
  1984  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListTeamReferees", in, out, opts...)
  1985  	if err != nil {
  1986  		return nil, err
  1987  	}
  1988  	return out, nil
  1989  }
  1990  
  1991  func (c *tradingDataServiceClient) ListTeamRefereeHistory(ctx context.Context, in *ListTeamRefereeHistoryRequest, opts ...grpc.CallOption) (*ListTeamRefereeHistoryResponse, error) {
  1992  	out := new(ListTeamRefereeHistoryResponse)
  1993  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListTeamRefereeHistory", in, out, opts...)
  1994  	if err != nil {
  1995  		return nil, err
  1996  	}
  1997  	return out, nil
  1998  }
  1999  
  2000  func (c *tradingDataServiceClient) GetFeesStats(ctx context.Context, in *GetFeesStatsRequest, opts ...grpc.CallOption) (*GetFeesStatsResponse, error) {
  2001  	out := new(GetFeesStatsResponse)
  2002  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetFeesStats", in, out, opts...)
  2003  	if err != nil {
  2004  		return nil, err
  2005  	}
  2006  	return out, nil
  2007  }
  2008  
  2009  func (c *tradingDataServiceClient) GetFeesStatsForParty(ctx context.Context, in *GetFeesStatsForPartyRequest, opts ...grpc.CallOption) (*GetFeesStatsForPartyResponse, error) {
  2010  	out := new(GetFeesStatsForPartyResponse)
  2011  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetFeesStatsForParty", in, out, opts...)
  2012  	if err != nil {
  2013  		return nil, err
  2014  	}
  2015  	return out, nil
  2016  }
  2017  
  2018  func (c *tradingDataServiceClient) GetCurrentVolumeRebateProgram(ctx context.Context, in *GetCurrentVolumeRebateProgramRequest, opts ...grpc.CallOption) (*GetCurrentVolumeRebateProgramResponse, error) {
  2019  	out := new(GetCurrentVolumeRebateProgramResponse)
  2020  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetCurrentVolumeRebateProgram", in, out, opts...)
  2021  	if err != nil {
  2022  		return nil, err
  2023  	}
  2024  	return out, nil
  2025  }
  2026  
  2027  func (c *tradingDataServiceClient) GetVolumeRebateStats(ctx context.Context, in *GetVolumeRebateStatsRequest, opts ...grpc.CallOption) (*GetVolumeRebateStatsResponse, error) {
  2028  	out := new(GetVolumeRebateStatsResponse)
  2029  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetVolumeRebateStats", in, out, opts...)
  2030  	if err != nil {
  2031  		return nil, err
  2032  	}
  2033  	return out, nil
  2034  }
  2035  
  2036  func (c *tradingDataServiceClient) GetCurrentVolumeDiscountProgram(ctx context.Context, in *GetCurrentVolumeDiscountProgramRequest, opts ...grpc.CallOption) (*GetCurrentVolumeDiscountProgramResponse, error) {
  2037  	out := new(GetCurrentVolumeDiscountProgramResponse)
  2038  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetCurrentVolumeDiscountProgram", in, out, opts...)
  2039  	if err != nil {
  2040  		return nil, err
  2041  	}
  2042  	return out, nil
  2043  }
  2044  
  2045  func (c *tradingDataServiceClient) GetVolumeDiscountStats(ctx context.Context, in *GetVolumeDiscountStatsRequest, opts ...grpc.CallOption) (*GetVolumeDiscountStatsResponse, error) {
  2046  	out := new(GetVolumeDiscountStatsResponse)
  2047  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetVolumeDiscountStats", in, out, opts...)
  2048  	if err != nil {
  2049  		return nil, err
  2050  	}
  2051  	return out, nil
  2052  }
  2053  
  2054  func (c *tradingDataServiceClient) GetVestingBalancesSummary(ctx context.Context, in *GetVestingBalancesSummaryRequest, opts ...grpc.CallOption) (*GetVestingBalancesSummaryResponse, error) {
  2055  	out := new(GetVestingBalancesSummaryResponse)
  2056  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetVestingBalancesSummary", in, out, opts...)
  2057  	if err != nil {
  2058  		return nil, err
  2059  	}
  2060  	return out, nil
  2061  }
  2062  
  2063  func (c *tradingDataServiceClient) GetPartyVestingStats(ctx context.Context, in *GetPartyVestingStatsRequest, opts ...grpc.CallOption) (*GetPartyVestingStatsResponse, error) {
  2064  	out := new(GetPartyVestingStatsResponse)
  2065  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetPartyVestingStats", in, out, opts...)
  2066  	if err != nil {
  2067  		return nil, err
  2068  	}
  2069  	return out, nil
  2070  }
  2071  
  2072  func (c *tradingDataServiceClient) ObserveTransactionResults(ctx context.Context, in *ObserveTransactionResultsRequest, opts ...grpc.CallOption) (TradingDataService_ObserveTransactionResultsClient, error) {
  2073  	stream, err := c.cc.NewStream(ctx, &TradingDataService_ServiceDesc.Streams[15], "/datanode.api.v2.TradingDataService/ObserveTransactionResults", opts...)
  2074  	if err != nil {
  2075  		return nil, err
  2076  	}
  2077  	x := &tradingDataServiceObserveTransactionResultsClient{stream}
  2078  	if err := x.ClientStream.SendMsg(in); err != nil {
  2079  		return nil, err
  2080  	}
  2081  	if err := x.ClientStream.CloseSend(); err != nil {
  2082  		return nil, err
  2083  	}
  2084  	return x, nil
  2085  }
  2086  
  2087  type TradingDataService_ObserveTransactionResultsClient interface {
  2088  	Recv() (*ObserveTransactionResultsResponse, error)
  2089  	grpc.ClientStream
  2090  }
  2091  
  2092  type tradingDataServiceObserveTransactionResultsClient struct {
  2093  	grpc.ClientStream
  2094  }
  2095  
  2096  func (x *tradingDataServiceObserveTransactionResultsClient) Recv() (*ObserveTransactionResultsResponse, error) {
  2097  	m := new(ObserveTransactionResultsResponse)
  2098  	if err := x.ClientStream.RecvMsg(m); err != nil {
  2099  		return nil, err
  2100  	}
  2101  	return m, nil
  2102  }
  2103  
  2104  func (c *tradingDataServiceClient) EstimateTransferFee(ctx context.Context, in *EstimateTransferFeeRequest, opts ...grpc.CallOption) (*EstimateTransferFeeResponse, error) {
  2105  	out := new(EstimateTransferFeeResponse)
  2106  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/EstimateTransferFee", in, out, opts...)
  2107  	if err != nil {
  2108  		return nil, err
  2109  	}
  2110  	return out, nil
  2111  }
  2112  
  2113  func (c *tradingDataServiceClient) GetTotalTransferFeeDiscount(ctx context.Context, in *GetTotalTransferFeeDiscountRequest, opts ...grpc.CallOption) (*GetTotalTransferFeeDiscountResponse, error) {
  2114  	out := new(GetTotalTransferFeeDiscountResponse)
  2115  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetTotalTransferFeeDiscount", in, out, opts...)
  2116  	if err != nil {
  2117  		return nil, err
  2118  	}
  2119  	return out, nil
  2120  }
  2121  
  2122  func (c *tradingDataServiceClient) ListGames(ctx context.Context, in *ListGamesRequest, opts ...grpc.CallOption) (*ListGamesResponse, error) {
  2123  	out := new(ListGamesResponse)
  2124  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListGames", in, out, opts...)
  2125  	if err != nil {
  2126  		return nil, err
  2127  	}
  2128  	return out, nil
  2129  }
  2130  
  2131  func (c *tradingDataServiceClient) ListPartyMarginModes(ctx context.Context, in *ListPartyMarginModesRequest, opts ...grpc.CallOption) (*ListPartyMarginModesResponse, error) {
  2132  	out := new(ListPartyMarginModesResponse)
  2133  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListPartyMarginModes", in, out, opts...)
  2134  	if err != nil {
  2135  		return nil, err
  2136  	}
  2137  	return out, nil
  2138  }
  2139  
  2140  func (c *tradingDataServiceClient) GetTimeWeightedNotionalPosition(ctx context.Context, in *GetTimeWeightedNotionalPositionRequest, opts ...grpc.CallOption) (*GetTimeWeightedNotionalPositionResponse, error) {
  2141  	out := new(GetTimeWeightedNotionalPositionResponse)
  2142  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetTimeWeightedNotionalPosition", in, out, opts...)
  2143  	if err != nil {
  2144  		return nil, err
  2145  	}
  2146  	return out, nil
  2147  }
  2148  
  2149  func (c *tradingDataServiceClient) ListAMMs(ctx context.Context, in *ListAMMsRequest, opts ...grpc.CallOption) (*ListAMMsResponse, error) {
  2150  	out := new(ListAMMsResponse)
  2151  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/ListAMMs", in, out, opts...)
  2152  	if err != nil {
  2153  		return nil, err
  2154  	}
  2155  	return out, nil
  2156  }
  2157  
  2158  func (c *tradingDataServiceClient) EstimateAMMBounds(ctx context.Context, in *EstimateAMMBoundsRequest, opts ...grpc.CallOption) (*EstimateAMMBoundsResponse, error) {
  2159  	out := new(EstimateAMMBoundsResponse)
  2160  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/EstimateAMMBounds", in, out, opts...)
  2161  	if err != nil {
  2162  		return nil, err
  2163  	}
  2164  	return out, nil
  2165  }
  2166  
  2167  func (c *tradingDataServiceClient) GetPartyDiscountStats(ctx context.Context, in *GetPartyDiscountStatsRequest, opts ...grpc.CallOption) (*GetPartyDiscountStatsResponse, error) {
  2168  	out := new(GetPartyDiscountStatsResponse)
  2169  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/GetPartyDiscountStats", in, out, opts...)
  2170  	if err != nil {
  2171  		return nil, err
  2172  	}
  2173  	return out, nil
  2174  }
  2175  
  2176  func (c *tradingDataServiceClient) ExportNetworkHistory(ctx context.Context, in *ExportNetworkHistoryRequest, opts ...grpc.CallOption) (TradingDataService_ExportNetworkHistoryClient, error) {
  2177  	stream, err := c.cc.NewStream(ctx, &TradingDataService_ServiceDesc.Streams[16], "/datanode.api.v2.TradingDataService/ExportNetworkHistory", opts...)
  2178  	if err != nil {
  2179  		return nil, err
  2180  	}
  2181  	x := &tradingDataServiceExportNetworkHistoryClient{stream}
  2182  	if err := x.ClientStream.SendMsg(in); err != nil {
  2183  		return nil, err
  2184  	}
  2185  	if err := x.ClientStream.CloseSend(); err != nil {
  2186  		return nil, err
  2187  	}
  2188  	return x, nil
  2189  }
  2190  
  2191  type TradingDataService_ExportNetworkHistoryClient interface {
  2192  	Recv() (*httpbody.HttpBody, error)
  2193  	grpc.ClientStream
  2194  }
  2195  
  2196  type tradingDataServiceExportNetworkHistoryClient struct {
  2197  	grpc.ClientStream
  2198  }
  2199  
  2200  func (x *tradingDataServiceExportNetworkHistoryClient) Recv() (*httpbody.HttpBody, error) {
  2201  	m := new(httpbody.HttpBody)
  2202  	if err := x.ClientStream.RecvMsg(m); err != nil {
  2203  		return nil, err
  2204  	}
  2205  	return m, nil
  2206  }
  2207  
  2208  func (c *tradingDataServiceClient) Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) {
  2209  	out := new(PingResponse)
  2210  	err := c.cc.Invoke(ctx, "/datanode.api.v2.TradingDataService/Ping", in, out, opts...)
  2211  	if err != nil {
  2212  		return nil, err
  2213  	}
  2214  	return out, nil
  2215  }
  2216  
  2217  // TradingDataServiceServer is the server API for TradingDataService service.
  2218  // All implementations must embed UnimplementedTradingDataServiceServer
  2219  // for forward compatibility
  2220  type TradingDataServiceServer interface {
  2221  	// List accounts
  2222  	//
  2223  	// Get a list of accounts matching the supplied filter, including their current balances.
  2224  	// If a given account has never had a balance, it will be absent from the list.
  2225  	ListAccounts(context.Context, *ListAccountsRequest) (*ListAccountsResponse, error)
  2226  	// Accounts subscription
  2227  	//
  2228  	// Subscribe to a stream of accounts
  2229  	ObserveAccounts(*ObserveAccountsRequest, TradingDataService_ObserveAccountsServer) error
  2230  	// Data node information
  2231  	//
  2232  	// Get information about the data node.
  2233  	// Response contains a semver formatted version of the data node and the commit hash, from which the data node was built
  2234  	Info(context.Context, *InfoRequest) (*InfoResponse, error)
  2235  	// Get order
  2236  	//
  2237  	// Get an order by its ID. An order's ID will be the SHA3-256 hash of the signature that the order was submitted with
  2238  	GetOrder(context.Context, *GetOrderRequest) (*GetOrderResponse, error)
  2239  	// List orders
  2240  	//
  2241  	// Get a list of orders that match the given filters
  2242  	ListOrders(context.Context, *ListOrdersRequest) (*ListOrdersResponse, error)
  2243  	// List order versions
  2244  	//
  2245  	// Get a list of all versions of an order in the order history
  2246  	ListOrderVersions(context.Context, *ListOrderVersionsRequest) (*ListOrderVersionsResponse, error)
  2247  	// Observe orders
  2248  	//
  2249  	// Subscribe to a stream of orders
  2250  	ObserveOrders(*ObserveOrdersRequest, TradingDataService_ObserveOrdersServer) error
  2251  	// Get stop order
  2252  	//
  2253  	// Get a stop order by its ID. A stop order's ID will be the SHA3-256 hash of the signature that the order was submitted with.
  2254  	// A stop order's ID is likely to be different from the ID of the order that will be submitted when the stop is triggered.
  2255  	GetStopOrder(context.Context, *GetStopOrderRequest) (*GetStopOrderResponse, error)
  2256  	// List stop orders
  2257  	//
  2258  	// Get a list of stop orders that match the given filters
  2259  	ListStopOrders(context.Context, *ListStopOrdersRequest) (*ListStopOrdersResponse, error)
  2260  	// List game team scores
  2261  	//
  2262  	// Get a list of team scores for the given filters
  2263  	ListGameTeamScores(context.Context, *ListGameTeamScoresRequest) (*ListGameTeamScoresResponse, error)
  2264  	// List game party scores
  2265  	//
  2266  	// Get a list of party scores for the given filters
  2267  	ListGamePartyScores(context.Context, *ListGamePartyScoresRequest) (*ListGamePartyScoresResponse, error)
  2268  	// Deprecated: Do not use.
  2269  	// Deprecated: List positions
  2270  	//
  2271  	// Get a list of positions by party's public key using cursor based pagination
  2272  	// Deprecated: use ListAllPositions instead
  2273  	ListPositions(context.Context, *ListPositionsRequest) (*ListPositionsResponse, error)
  2274  	// List positions
  2275  	//
  2276  	// Get a list of all of a party's positions
  2277  	ListAllPositions(context.Context, *ListAllPositionsRequest) (*ListAllPositionsResponse, error)
  2278  	// Observe positions
  2279  	//
  2280  	// Subscribe to a stream of position updates. The first messages sent through the stream will contain
  2281  	// information about current positions, followed by updates to those positions.
  2282  	ObservePositions(*ObservePositionsRequest, TradingDataService_ObservePositionsServer) error
  2283  	// List ledger entries
  2284  	//
  2285  	// Get a list of ledger entries within the given date range. The date range is restricted to a maximum of 5 days.
  2286  	// This query requests and sums the number of ledger entries from a given subset of accounts, specified via the 'filter' argument.
  2287  	// It returns a time series - implemented as a list of AggregateLedgerEntry structs - with a row for every time
  2288  	// the summed ledger entries of the set of specified accounts changes.
  2289  	// Each account filter must contain no more than one party ID.
  2290  	// At least one party ID must be specified in the from or to account filter.
  2291  	//
  2292  	// Entries can be filtered by:
  2293  	//   - the sending account (market ID, asset ID, account type)
  2294  	//   - receiving account (market ID, asset ID, account type)
  2295  	//   - sending AND receiving account
  2296  	//   - transfer type either in addition to the above filters or as a standalone option
  2297  	//
  2298  	// Note: The date range is restricted to any 5 days.
  2299  	//
  2300  	//	If no start or end date is provided, only ledger entries from the last 5 days will be returned.
  2301  	//	If a start and end date are provided, but the end date is more than 5 days after the start date, only data up to 5 days after the start date will be returned.
  2302  	//	If a start date is provided but no end date, the end date will be set to 5 days after the start date.
  2303  	//	If no start date is provided, but the end date is, the start date will be set to 5 days before the end date.
  2304  	ListLedgerEntries(context.Context, *ListLedgerEntriesRequest) (*ListLedgerEntriesResponse, error)
  2305  	// Export ledger entries
  2306  	//
  2307  	// Export ledger entries records ledger entries to a csv file.
  2308  	// May or may not contain a date range - if no date range is provided, list all records for all times.
  2309  	//
  2310  	// Ledger entries can be exported by:
  2311  	//   - export ledger entries for a single party for a given asset within a given time range
  2312  	//   - export ledger entries for a single party for a given asset for all times
  2313  	//
  2314  	// buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
  2315  	// buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
  2316  	ExportLedgerEntries(*ExportLedgerEntriesRequest, TradingDataService_ExportLedgerEntriesServer) error
  2317  	// List balance changes
  2318  	//
  2319  	// Get a list of the changes in account balances over a period of time.
  2320  	ListBalanceChanges(context.Context, *ListBalanceChangesRequest) (*ListBalanceChangesResponse, error)
  2321  	// Get latest market data
  2322  	//
  2323  	// Get the latest market data for a given market
  2324  	GetLatestMarketData(context.Context, *GetLatestMarketDataRequest) (*GetLatestMarketDataResponse, error)
  2325  	// List latest market data
  2326  	//
  2327  	// Get a list of the latest market data for every market
  2328  	ListLatestMarketData(context.Context, *ListLatestMarketDataRequest) (*ListLatestMarketDataResponse, error)
  2329  	// Get latest market depth
  2330  	//
  2331  	// Get the latest market depth for a given market
  2332  	GetLatestMarketDepth(context.Context, *GetLatestMarketDepthRequest) (*GetLatestMarketDepthResponse, error)
  2333  	// Observe markets depth
  2334  	//
  2335  	// Subscribe to a stream of the latest market depth for a given market
  2336  	ObserveMarketsDepth(*ObserveMarketsDepthRequest, TradingDataService_ObserveMarketsDepthServer) error
  2337  	// Observe markets depth updates
  2338  	//
  2339  	// Subscribe to a stream of updates on market depth for a given market
  2340  	ObserveMarketsDepthUpdates(*ObserveMarketsDepthUpdatesRequest, TradingDataService_ObserveMarketsDepthUpdatesServer) error
  2341  	// Observe markets data
  2342  	//
  2343  	// Subscribe to a stream of data about a given market
  2344  	ObserveMarketsData(*ObserveMarketsDataRequest, TradingDataService_ObserveMarketsDataServer) error
  2345  	// Get market data history
  2346  	//
  2347  	// Get market data history for a market ID from between a given date range
  2348  	GetMarketDataHistoryByID(context.Context, *GetMarketDataHistoryByIDRequest) (*GetMarketDataHistoryByIDResponse, error)
  2349  	// List transfers
  2350  	//
  2351  	// Get a list of transfers between public keys. A valid value for public key can be one of:
  2352  	// - a party ID
  2353  	// - "network"
  2354  	// - "0000000000000000000000000000000000000000000000000000000000000000", the public key for the global rewards account
  2355  	ListTransfers(context.Context, *ListTransfersRequest) (*ListTransfersResponse, error)
  2356  	// Get transfer by ID
  2357  	//
  2358  	// Get a specific transfer by ID
  2359  	GetTransfer(context.Context, *GetTransferRequest) (*GetTransferResponse, error)
  2360  	// Get network limits
  2361  	//
  2362  	// Get the network limits relating to asset and market creation
  2363  	GetNetworkLimits(context.Context, *GetNetworkLimitsRequest) (*GetNetworkLimitsResponse, error)
  2364  	// List candle data
  2365  	//
  2366  	// Get a list of candle data for a given candle ID.
  2367  	// A candle ID encapsulates a market ID and candle interval. A list of available candle IDs, and therefore candle intervals can be found using the list-candle-intervals API.
  2368  	ListCandleData(context.Context, *ListCandleDataRequest) (*ListCandleDataResponse, error)
  2369  	// Observe candle data
  2370  	//
  2371  	// Subscribe to a stream of candle updates given a candle ID.
  2372  	// A candle ID encapsulates a market ID and candle interval. A list of available candle IDs, and therefore candle intervals can be found using the list-candle-intervals API.
  2373  	ObserveCandleData(*ObserveCandleDataRequest, TradingDataService_ObserveCandleDataServer) error
  2374  	// List candle intervals
  2375  	//
  2376  	// Get a list of all available candle intervals for a given market along with the corresponding candle ID.
  2377  	ListCandleIntervals(context.Context, *ListCandleIntervalsRequest) (*ListCandleIntervalsResponse, error)
  2378  	// List votes
  2379  	//
  2380  	// Get a list of votes. A party ID or a proposal ID must be provided.
  2381  	ListVotes(context.Context, *ListVotesRequest) (*ListVotesResponse, error)
  2382  	// Observe votes
  2383  	//
  2384  	// Subscribe to a stream of votes cast on a given proposal, or by all votes made by a given party
  2385  	ObserveVotes(*ObserveVotesRequest, TradingDataService_ObserveVotesServer) error
  2386  	// List ERC20 multisig signer added bundles
  2387  	//
  2388  	// Get a list of the signature bundles to add a particular validator to the signer list of the multisig contract
  2389  	ListERC20MultiSigSignerAddedBundles(context.Context, *ListERC20MultiSigSignerAddedBundlesRequest) (*ListERC20MultiSigSignerAddedBundlesResponse, error)
  2390  	// List ERC20 multisig signer removed bundles
  2391  	//
  2392  	// Get a list of the signature bundles to remove a particular validator from signer list of the multisig contract
  2393  	ListERC20MultiSigSignerRemovedBundles(context.Context, *ListERC20MultiSigSignerRemovedBundlesRequest) (*ListERC20MultiSigSignerRemovedBundlesResponse, error)
  2394  	// Get ERC20 list asset bundle
  2395  	//
  2396  	// Get the signatures bundle to allowlist an ERC20 token in the collateral bridge
  2397  	GetERC20ListAssetBundle(context.Context, *GetERC20ListAssetBundleRequest) (*GetERC20ListAssetBundleResponse, error)
  2398  	// Get ERC20 set asset limits bundle
  2399  	//
  2400  	// Get the signature bundle to update the token limits. These are `maxLifetimeDeposit` and `withdrawThreshold` for a given ERC20 token that is
  2401  	// already allowlisted in the collateral bridge.
  2402  	GetERC20SetAssetLimitsBundle(context.Context, *GetERC20SetAssetLimitsBundleRequest) (*GetERC20SetAssetLimitsBundleResponse, error)
  2403  	// Get ERC20 withdrawal approval
  2404  	//
  2405  	// Get the signature bundle to finalise a withdrawal on Ethereum
  2406  	GetERC20WithdrawalApproval(context.Context, *GetERC20WithdrawalApprovalRequest) (*GetERC20WithdrawalApprovalResponse, error)
  2407  	// Get last trade
  2408  	//
  2409  	// Get the last trade made for a given market.
  2410  	GetLastTrade(context.Context, *GetLastTradeRequest) (*GetLastTradeResponse, error)
  2411  	// List trades
  2412  	//
  2413  	// Get a list of all trades, optionally filtered by party/market/order
  2414  	ListTrades(context.Context, *ListTradesRequest) (*ListTradesResponse, error)
  2415  	// Observe trades
  2416  	//
  2417  	// Subscribe to a stream of trades, optionally filtered by party/market
  2418  	ObserveTrades(*ObserveTradesRequest, TradingDataService_ObserveTradesServer) error
  2419  	// Get oracle spec
  2420  	//
  2421  	// Get an oracle spec by ID. Oracle spec IDs can be found by querying markets that use them as a data source
  2422  	GetOracleSpec(context.Context, *GetOracleSpecRequest) (*GetOracleSpecResponse, error)
  2423  	// List oracle specs
  2424  	//
  2425  	// Get a list of all oracles specs that are defined against all markets
  2426  	ListOracleSpecs(context.Context, *ListOracleSpecsRequest) (*ListOracleSpecsResponse, error)
  2427  	// List oracle data
  2428  	//
  2429  	// Get a list of all oracle data that have been broadcast to any market
  2430  	ListOracleData(context.Context, *ListOracleDataRequest) (*ListOracleDataResponse, error)
  2431  	// Get market
  2432  	//
  2433  	// Get information about a specific market using its ID. A market's ID will be the same as the ID of the proposal that
  2434  	// generated it
  2435  	GetMarket(context.Context, *GetMarketRequest) (*GetMarketResponse, error)
  2436  	// List markets
  2437  	//
  2438  	// Get a list of markets
  2439  	ListMarkets(context.Context, *ListMarketsRequest) (*ListMarketsResponse, error)
  2440  	// List successor markets
  2441  	//
  2442  	// Given a market ID, return the full lineage of markets since inception, or all successor markets since and including
  2443  	// the given market ID. The markets will be returned in succession order, i.e. the market at position i will be the parent
  2444  	// of the market at position i+1.
  2445  	ListSuccessorMarkets(context.Context, *ListSuccessorMarketsRequest) (*ListSuccessorMarketsResponse, error)
  2446  	// Get party
  2447  	//
  2448  	// Get a single party
  2449  	GetParty(context.Context, *GetPartyRequest) (*GetPartyResponse, error)
  2450  	// List parties
  2451  	//
  2452  	// Get a list of parties
  2453  	ListParties(context.Context, *ListPartiesRequest) (*ListPartiesResponse, error)
  2454  	// List parties' profiles
  2455  	//
  2456  	// Get a list of profiles for multiple parties
  2457  	ListPartiesProfiles(context.Context, *ListPartiesProfilesRequest) (*ListPartiesProfilesResponse, error)
  2458  	// List margin levels
  2459  	//
  2460  	// Get a list of margin levels that match the provided criteria. If no filter is provided, all margin levels will be returned.
  2461  	ListMarginLevels(context.Context, *ListMarginLevelsRequest) (*ListMarginLevelsResponse, error)
  2462  	// Observe margin levels
  2463  	//
  2464  	// Subscribe to a stream of margin levels updates
  2465  	ObserveMarginLevels(*ObserveMarginLevelsRequest, TradingDataService_ObserveMarginLevelsServer) error
  2466  	// List rewards
  2467  	//
  2468  	// Get a list of rewards that match the provided criteria. If no filter is provided, all rewards will be returned.
  2469  	ListRewards(context.Context, *ListRewardsRequest) (*ListRewardsResponse, error)
  2470  	// List reward summaries
  2471  	//
  2472  	// Get a list of reward summaries where the reward amount is the total rewards received over all epochs
  2473  	// per party ID and asset ID.
  2474  	// Request parameters are optional party ID and asset ID.
  2475  	// If no data is provided, all reward summaries will be returned grouped by party and asset ID.
  2476  	ListRewardSummaries(context.Context, *ListRewardSummariesRequest) (*ListRewardSummariesResponse, error)
  2477  	// List epoch reward summaries
  2478  	//
  2479  	// Get a list of reward summaries by epoch for a given range of epochs.
  2480  	// The result is filtered by a list of asset IDs, market IDs and starting and ending epochs, for which to return rewards.
  2481  	// If no data is provided, all reward summaries will be returned, grouped by epochs, market IDs, asset IDs and reward type.
  2482  	ListEpochRewardSummaries(context.Context, *ListEpochRewardSummariesRequest) (*ListEpochRewardSummariesResponse, error)
  2483  	// Get deposit
  2484  	//
  2485  	// Get a deposit by its ID
  2486  	GetDeposit(context.Context, *GetDepositRequest) (*GetDepositResponse, error)
  2487  	// List deposits
  2488  	//
  2489  	// Get a list of deposits for a given party.
  2490  	// If a date range is provided, filtering will be based on the last time the deposit
  2491  	// has been updated in Vega time.
  2492  	ListDeposits(context.Context, *ListDepositsRequest) (*ListDepositsResponse, error)
  2493  	// Get withdrawal
  2494  	//
  2495  	// Get a withdrawal by its ID. A withdrawal's ID will be the SHA3-256 hash of the signature that the withdrawal was submitted with
  2496  	GetWithdrawal(context.Context, *GetWithdrawalRequest) (*GetWithdrawalResponse, error)
  2497  	// List withdrawals
  2498  	//
  2499  	// Get a list of withdrawals for a given party
  2500  	ListWithdrawals(context.Context, *ListWithdrawalsRequest) (*ListWithdrawalsResponse, error)
  2501  	// Get asset
  2502  	//
  2503  	// Get a single asset using its ID. Use the assets list query to get an asset's ID
  2504  	GetAsset(context.Context, *GetAssetRequest) (*GetAssetResponse, error)
  2505  	// List assets
  2506  	//
  2507  	// Get a list of assets available on the Vega network
  2508  	ListAssets(context.Context, *ListAssetsRequest) (*ListAssetsResponse, error)
  2509  	// Deprecated: Do not use.
  2510  	// List liquidity provisions
  2511  	//
  2512  	// DEPRECATED: When a liquidity provider amends a provision, and it's accepted by the network, the pending
  2513  	// provision is returned by the API instead of the provision that is currently active.
  2514  	// Use ListAllLiquidityProvisions instead.
  2515  	ListLiquidityProvisions(context.Context, *ListLiquidityProvisionsRequest) (*ListLiquidityProvisionsResponse, error)
  2516  	// List liquidity provisions
  2517  	//
  2518  	// Get a list of liquidity provisions for a given market. This API returns a current and pending liquidity provision
  2519  	// in the event that a provision has been updated by the provider but the updated provision will not be active until the next epoch.
  2520  	ListAllLiquidityProvisions(context.Context, *ListAllLiquidityProvisionsRequest) (*ListAllLiquidityProvisionsResponse, error)
  2521  	// Observe liquidity provisions
  2522  	//
  2523  	// Subscribe to a stream of liquidity provision events for a given market and party
  2524  	ObserveLiquidityProvisions(*ObserveLiquidityProvisionsRequest, TradingDataService_ObserveLiquidityProvisionsServer) error
  2525  	// List liquidity providers data
  2526  	//
  2527  	// List information about active liquidity provider(s) for a given market, or liquidity provider's party ID.
  2528  	ListLiquidityProviders(context.Context, *ListLiquidityProvidersRequest) (*ListLiquidityProvidersResponse, error)
  2529  	// List paid liquidity fees data
  2530  	//
  2531  	// List information about paid liquidity fees for a given market, or asset ID.
  2532  	ListPaidLiquidityFees(context.Context, *ListPaidLiquidityFeesRequest) (*ListPaidLiquidityFeesResponse, error)
  2533  	// Get governance data
  2534  	//
  2535  	// Get a single proposal's details either by proposal ID or by reference
  2536  	GetGovernanceData(context.Context, *GetGovernanceDataRequest) (*GetGovernanceDataResponse, error)
  2537  	// List governance data
  2538  	//
  2539  	// Get a list of proposals
  2540  	ListGovernanceData(context.Context, *ListGovernanceDataRequest) (*ListGovernanceDataResponse, error)
  2541  	// Observe governance
  2542  	//
  2543  	// Subscribe to a stream of updates to governance proposals
  2544  	ObserveGovernance(*ObserveGovernanceRequest, TradingDataService_ObserveGovernanceServer) error
  2545  	// List delegations
  2546  	//
  2547  	// Get a list of the token delegations on the network
  2548  	ListDelegations(context.Context, *ListDelegationsRequest) (*ListDelegationsResponse, error)
  2549  	// Get network data
  2550  	//
  2551  	// Get data regarding the nodes of the network
  2552  	GetNetworkData(context.Context, *GetNetworkDataRequest) (*GetNetworkDataResponse, error)
  2553  	// Get node
  2554  	//
  2555  	// Get information about a given node
  2556  	GetNode(context.Context, *GetNodeRequest) (*GetNodeResponse, error)
  2557  	// List nodes
  2558  	//
  2559  	// Get a list of the nodes on the network along with the related information.
  2560  	ListNodes(context.Context, *ListNodesRequest) (*ListNodesResponse, error)
  2561  	// List node signatures
  2562  	//
  2563  	// Get a list of aggregate signatures from all the nodes of the network
  2564  	ListNodeSignatures(context.Context, *ListNodeSignaturesRequest) (*ListNodeSignaturesResponse, error)
  2565  	// Get epoch
  2566  	//
  2567  	// Get data for a specific epoch, if ID is omitted, it retrieves the current epoch
  2568  	GetEpoch(context.Context, *GetEpochRequest) (*GetEpochResponse, error)
  2569  	// Estimate fee
  2570  	//
  2571  	// Estimate the fee that would be incurred for submitting an order
  2572  	// with the specified price and size on the market.
  2573  	EstimateFee(context.Context, *EstimateFeeRequest) (*EstimateFeeResponse, error)
  2574  	// Deprecated: Do not use.
  2575  	// Estimate margin
  2576  	//
  2577  	// Estimate the margin that would be required for submitting this order
  2578  	EstimateMargin(context.Context, *EstimateMarginRequest) (*EstimateMarginResponse, error)
  2579  	// Estimate position
  2580  	//
  2581  	// Estimate the margin that would be required for maintaining the specified position, collateral increase needed to open the specified position and the liquidation price estimate.
  2582  	// Margin estimates are scaled to asset decimal places.
  2583  	// Liquidation price estimates are scaled to asset decimal places by default, unless an argument to scale to market decimal places is specified in the request.
  2584  	EstimatePosition(context.Context, *EstimatePositionRequest) (*EstimatePositionResponse, error)
  2585  	// List network parameters
  2586  	//
  2587  	// Get a list of the network parameter keys and their values
  2588  	ListNetworkParameters(context.Context, *ListNetworkParametersRequest) (*ListNetworkParametersResponse, error)
  2589  	// Get network parameter
  2590  	//
  2591  	// Get a network parameter's value by its key
  2592  	GetNetworkParameter(context.Context, *GetNetworkParameterRequest) (*GetNetworkParameterResponse, error)
  2593  	// List checkpoints
  2594  	//
  2595  	// Get a list of information about checkpoints generated by the network
  2596  	ListCheckpoints(context.Context, *ListCheckpointsRequest) (*ListCheckpointsResponse, error)
  2597  	// Get stake
  2598  	//
  2599  	// Get staking information for a given party
  2600  	GetStake(context.Context, *GetStakeRequest) (*GetStakeResponse, error)
  2601  	// Get risk factors
  2602  	//
  2603  	// Get risk factor data for a given market
  2604  	GetRiskFactors(context.Context, *GetRiskFactorsRequest) (*GetRiskFactorsResponse, error)
  2605  	// Observe event bus
  2606  	//
  2607  	// Subscribe to a stream of events from the core
  2608  	ObserveEventBus(TradingDataService_ObserveEventBusServer) error
  2609  	// Observe ledger movements
  2610  	//
  2611  	// Subscribe to a stream of transfer responses
  2612  	ObserveLedgerMovements(*ObserveLedgerMovementsRequest, TradingDataService_ObserveLedgerMovementsServer) error
  2613  	// List key rotations
  2614  	//
  2615  	// Get a list of information about Vega key rotations that have been performed by validator nodes
  2616  	ListKeyRotations(context.Context, *ListKeyRotationsRequest) (*ListKeyRotationsResponse, error)
  2617  	// List Ethereum key rotations
  2618  	//
  2619  	// Get a list of information about Ethereum key rotations that have been performed by validator nodes
  2620  	ListEthereumKeyRotations(context.Context, *ListEthereumKeyRotationsRequest) (*ListEthereumKeyRotationsResponse, error)
  2621  	// Get Vega time
  2622  	//
  2623  	// Get the current time of the network in Unix nanoseconds
  2624  	GetVegaTime(context.Context, *GetVegaTimeRequest) (*GetVegaTimeResponse, error)
  2625  	// Get protocol upgrade status
  2626  	//
  2627  	// Get status of a protocol upgrade
  2628  	GetProtocolUpgradeStatus(context.Context, *GetProtocolUpgradeStatusRequest) (*GetProtocolUpgradeStatusResponse, error)
  2629  	// List protocol upgrade proposals
  2630  	//
  2631  	// Get a list of protocol upgrade proposals, optionally filtering on status or approver.
  2632  	ListProtocolUpgradeProposals(context.Context, *ListProtocolUpgradeProposalsRequest) (*ListProtocolUpgradeProposalsResponse, error)
  2633  	// List snapshots
  2634  	//
  2635  	// Get a list of core snapshots taken
  2636  	ListCoreSnapshots(context.Context, *ListCoreSnapshotsRequest) (*ListCoreSnapshotsResponse, error)
  2637  	// Get most recent network history segment
  2638  	//
  2639  	// Get the network's most recently history segment
  2640  	GetMostRecentNetworkHistorySegment(context.Context, *GetMostRecentNetworkHistorySegmentRequest) (*GetMostRecentNetworkHistorySegmentResponse, error)
  2641  	// List all network history segments
  2642  	//
  2643  	// Get a list of all history segments stored by the data node currently connected to
  2644  	ListAllNetworkHistorySegments(context.Context, *ListAllNetworkHistorySegmentsRequest) (*ListAllNetworkHistorySegmentsResponse, error)
  2645  	// Get active network history peer addresses
  2646  	//
  2647  	// Get a list of the addresses of all active network history peers
  2648  	GetActiveNetworkHistoryPeerAddresses(context.Context, *GetActiveNetworkHistoryPeerAddressesRequest) (*GetActiveNetworkHistoryPeerAddressesResponse, error)
  2649  	// Network history status
  2650  	//
  2651  	// Get information about the current state of network history's IPFS swarm
  2652  	GetNetworkHistoryStatus(context.Context, *GetNetworkHistoryStatusRequest) (*GetNetworkHistoryStatusResponse, error)
  2653  	// Network history bootstrap peers
  2654  	//
  2655  	// Get a list of IPFS peers that can be used to initialise a new data node with network history
  2656  	GetNetworkHistoryBootstrapPeers(context.Context, *GetNetworkHistoryBootstrapPeersRequest) (*GetNetworkHistoryBootstrapPeersResponse, error)
  2657  	// List entities
  2658  	//
  2659  	// Get a list of all entities created by transaction hash
  2660  	ListEntities(context.Context, *ListEntitiesRequest) (*ListEntitiesResponse, error)
  2661  	// List funding periods
  2662  	//
  2663  	// Get a list of funding periods for a perpetual market.
  2664  	ListFundingPeriods(context.Context, *ListFundingPeriodsRequest) (*ListFundingPeriodsResponse, error)
  2665  	// List funding period data points
  2666  	//
  2667  	// Get a list of data points for a perpetual market's funding periods.
  2668  	ListFundingPeriodDataPoints(context.Context, *ListFundingPeriodDataPointsRequest) (*ListFundingPeriodDataPointsResponse, error)
  2669  	// List funding payments
  2670  	//
  2671  	// Get a list of funding payment gains and losses for a party as a result of their position on a perpetual market when a funding
  2672  	// period ends.
  2673  	ListFundingPayments(context.Context, *ListFundingPaymentsRequest) (*ListFundingPaymentsResponse, error)
  2674  	// List party activity streak
  2675  	//
  2676  	// Get a party's activity across epochs.
  2677  	GetPartyActivityStreak(context.Context, *GetPartyActivityStreakRequest) (*GetPartyActivityStreakResponse, error)
  2678  	// Get current referral program
  2679  	//
  2680  	// Get the current referral program for the network. This program may not be active if it has ended
  2681  	// and has not been replaced by another.
  2682  	GetCurrentReferralProgram(context.Context, *GetCurrentReferralProgramRequest) (*GetCurrentReferralProgramResponse, error)
  2683  	// List referral sets
  2684  	//
  2685  	// List all referral sets, or a specific referral set if you know its ID.
  2686  	ListReferralSets(context.Context, *ListReferralSetsRequest) (*ListReferralSetsResponse, error)
  2687  	// List referral set referees
  2688  	//
  2689  	// List all referees that belong to a referral set.
  2690  	ListReferralSetReferees(context.Context, *ListReferralSetRefereesRequest) (*ListReferralSetRefereesResponse, error)
  2691  	// Get referral set statistics
  2692  	//
  2693  	// Get the total taker volume, and each referee's taker volume and, reward and discount factors for a referral set
  2694  	// at the latest or a specific epoch. You can also optionally filter for a specific referee's statistics.
  2695  	GetReferralSetStats(context.Context, *GetReferralSetStatsRequest) (*GetReferralSetStatsResponse, error)
  2696  	// List teams
  2697  	//
  2698  	// Get a list of all teams, or for a specific team by using team ID, or party ID of a referrer or referee
  2699  	ListTeams(context.Context, *ListTeamsRequest) (*ListTeamsResponse, error)
  2700  	// List teams statistics
  2701  	//
  2702  	// Get the statistics of all teams, or for a specific team by using team ID, over a number of epochs.
  2703  	// If a team does not have at least the number of epochs' worth of data, it is ignored.
  2704  	ListTeamsStatistics(context.Context, *ListTeamsStatisticsRequest) (*ListTeamsStatisticsResponse, error)
  2705  	// List team members' statistics
  2706  	//
  2707  	// Get the statistics for all members of a given team, or for a specific member by using party ID, over a number of epochs.
  2708  	// If a team does not have at least the number of epochs' worth of data, it is ignored.
  2709  	ListTeamMembersStatistics(context.Context, *ListTeamMembersStatisticsRequest) (*ListTeamMembersStatisticsResponse, error)
  2710  	// List team referees
  2711  	//
  2712  	// Get a list of all referees for a given team ID
  2713  	ListTeamReferees(context.Context, *ListTeamRefereesRequest) (*ListTeamRefereesResponse, error)
  2714  	// List referee team history
  2715  	//
  2716  	// Get a list of a referee's team history, i.e. the teams that a referee has been a member of and transferred from/to.
  2717  	ListTeamRefereeHistory(context.Context, *ListTeamRefereeHistoryRequest) (*ListTeamRefereeHistoryResponse, error)
  2718  	// Get fees statistics
  2719  	//
  2720  	// Get accumulated fees, rewards, and applied discount information. Either a market or an asset must be supplied as a filter.
  2721  	GetFeesStats(context.Context, *GetFeesStatsRequest) (*GetFeesStatsResponse, error)
  2722  	// Get fees statistics for a party
  2723  	//
  2724  	// Get accumulated fees, rewards, and applied discount information. A party ID must be supplied as a filter.
  2725  	GetFeesStatsForParty(context.Context, *GetFeesStatsForPartyRequest) (*GetFeesStatsForPartyResponse, error)
  2726  	// Get current volume rebate program
  2727  	//
  2728  	// Get the current volume rebate program for the network. This program may not be active if it has ended
  2729  	// and has not been replaced by another.
  2730  	GetCurrentVolumeRebateProgram(context.Context, *GetCurrentVolumeRebateProgramRequest) (*GetCurrentVolumeRebateProgramResponse, error)
  2731  	// Get volume rebate statistics
  2732  	//
  2733  	// Get the information about a party's running traded volume, and the rebate factor it earns them.
  2734  	GetVolumeRebateStats(context.Context, *GetVolumeRebateStatsRequest) (*GetVolumeRebateStatsResponse, error)
  2735  	// Get current volume discount program
  2736  	//
  2737  	// Get the current volume discount program for the network. This program may not be active if it has ended
  2738  	// and has not been replaced by another.
  2739  	GetCurrentVolumeDiscountProgram(context.Context, *GetCurrentVolumeDiscountProgramRequest) (*GetCurrentVolumeDiscountProgramResponse, error)
  2740  	// Get volume discount statistics
  2741  	//
  2742  	// Get the information about a party's running traded volume, and the discount factor it earns them.
  2743  	GetVolumeDiscountStats(context.Context, *GetVolumeDiscountStatsRequest) (*GetVolumeDiscountStatsResponse, error)
  2744  	// Get vesting balances summary
  2745  	//
  2746  	// Get information about a party's vesting and locked balances
  2747  	GetVestingBalancesSummary(context.Context, *GetVestingBalancesSummaryRequest) (*GetVestingBalancesSummaryResponse, error)
  2748  	// Get vesting balance statistics
  2749  	//
  2750  	// Get information about a party's vesting rewards
  2751  	GetPartyVestingStats(context.Context, *GetPartyVestingStatsRequest) (*GetPartyVestingStatsResponse, error)
  2752  	// Observe transaction results
  2753  	//
  2754  	// Subscribe to a stream of transaction results, optionally filtered by party/hash/status
  2755  	ObserveTransactionResults(*ObserveTransactionResultsRequest, TradingDataService_ObserveTransactionResultsServer) error
  2756  	// Estimate transfer fee costs
  2757  	//
  2758  	// Estimate transfer fee costs with potential discount applied
  2759  	EstimateTransferFee(context.Context, *EstimateTransferFeeRequest) (*EstimateTransferFeeResponse, error)
  2760  	// Available transfer fee discount
  2761  	//
  2762  	// Returns available per party per asset transfer discount
  2763  	GetTotalTransferFeeDiscount(context.Context, *GetTotalTransferFeeDiscountRequest) (*GetTotalTransferFeeDiscountResponse, error)
  2764  	// List games
  2765  	//
  2766  	// Get a list of games and corresponding game data, given the provided filters
  2767  	ListGames(context.Context, *ListGamesRequest) (*ListGamesResponse, error)
  2768  	// List margin modes per party per market
  2769  	//
  2770  	// Get a list of all margin modes, or for a specific market ID, or party ID.
  2771  	ListPartyMarginModes(context.Context, *ListPartyMarginModesRequest) (*ListPartyMarginModesResponse, error)
  2772  	// Get time weighted notional position
  2773  	//
  2774  	// Get the time weighted notional position for a given party and asset. The time weighted notional position
  2775  	// is used to check if a party qualifies for a reward.
  2776  	// If no epoch is specified, the final time weighted notional position from the end of the most recently completed epoch is returned.
  2777  	// If an epoch is specified, the final time weighted notional position at that epoch is returned.
  2778  	GetTimeWeightedNotionalPosition(context.Context, *GetTimeWeightedNotionalPositionRequest) (*GetTimeWeightedNotionalPositionResponse, error)
  2779  	// List AMMs
  2780  	//
  2781  	// Get a list of AMM or filter by market ID, party ID or AMM ID
  2782  	ListAMMs(context.Context, *ListAMMsRequest) (*ListAMMsResponse, error)
  2783  	// Estimate AMM bounds
  2784  	//
  2785  	// Get a list of AMMs or filter by market ID, party ID or AMM ID
  2786  	EstimateAMMBounds(context.Context, *EstimateAMMBoundsRequest) (*EstimateAMMBoundsResponse, error)
  2787  	// Get the fees and discounts a party is entitled to.
  2788  	//
  2789  	// Get the discount and reward tiers, and the fees and rebates for a party per market.
  2790  	GetPartyDiscountStats(context.Context, *GetPartyDiscountStatsRequest) (*GetPartyDiscountStatsResponse, error)
  2791  	// Export network history as CSV
  2792  	//
  2793  	// Export CSV table data from network history between two block heights.
  2794  	//
  2795  	// The requested block heights must fall on network history segment boundaries, which can
  2796  	// be discovered by calling the API to list all network history segments. By default
  2797  	// segments contain 1000 blocks. In that case ranges such as (1, 1000), (1001, 2000), (1, 3000)
  2798  	// would all fall on segment boundaries and be valid.
  2799  	//
  2800  	// The generated CSV file is compressed into a ZIP file and returned, with the file name
  2801  	// in the following format: `[chain id]-[table name]-[start block]-[end block].zip`
  2802  	//
  2803  	// In gRPC, results are returned in a chunked stream of base64 encoded data.
  2804  	//
  2805  	// Through the REST gateway, the base64 data chunks are decoded and streamed as a
  2806  	// `content-type: application/zip` HTTP response.
  2807  	//
  2808  	// The CSV exported data uses a comma as a DELIMITER between fields, and " for QUOTE-ing fields.
  2809  	//
  2810  	// If a value contains any of: DELIMITER, QUOTE, carriage return, or line feed then the whole
  2811  	// value is prefixed and suffixed by the QUOTE character and any occurrence within
  2812  	// the value of a QUOTE character preceded by another QUOTE.
  2813  	//
  2814  	// A NULL is output as the NULL parameter string and is not quoted, while a non-NULL value
  2815  	// matching the NULL parameter string is quoted.
  2816  	//
  2817  	// For example, with the default settings, a NULL is written as an unquoted empty string,
  2818  	// while an empty string data value is written with double quotes.
  2819  	//
  2820  	// Note that CSV files produced may contain quoted values containing embedded carriage returns and line feeds.
  2821  	// Thus the files are not strictly one line per table row like text-format files.
  2822  	//
  2823  	// The first row of the CSV file is a header that describes the contents of each column
  2824  	// in subsequent rows.
  2825  	//
  2826  	// Usually the ZIP file will contain only a single CSV file. However it is possible that
  2827  	// the (from_block, to_block) request spans over a range of blocks in which the underlying
  2828  	// schema of the database changes. For example, a column may have been added, removed, or renamed.
  2829  	//
  2830  	// If this happens, the CSV file will be split at the point of the schema change and the zip
  2831  	// file will contain multiple CSV files, with a potentially different set of headers. The
  2832  	// 'version' number of the database schema is part of the in the CSV filename:
  2833  	//
  2834  	//	`[chain id]-[table name]-[schema version]-[start block]-[end block].zip`
  2835  	//
  2836  	// # For example, a zip file might be called mainnet-sometable-000001-003000.zip
  2837  	//
  2838  	// And contain two CSV files: `mainnet-sometable-1-000001-002000.csv`:
  2839  	//
  2840  	// timestamp, value
  2841  	// 1, foo
  2842  	// 2, bar
  2843  	//
  2844  	// And `mainnet-sometable-2-002001-003000.csv`:
  2845  	//
  2846  	// timestamp, value, extra_value
  2847  	// 3, baz, apple
  2848  	//
  2849  	// It is worth noting that the schema will not change within a single network history segment.
  2850  	// buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
  2851  	// buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
  2852  	ExportNetworkHistory(*ExportNetworkHistoryRequest, TradingDataService_ExportNetworkHistoryServer) error
  2853  	// Ping
  2854  	//
  2855  	// Ping the data node
  2856  	Ping(context.Context, *PingRequest) (*PingResponse, error)
  2857  	mustEmbedUnimplementedTradingDataServiceServer()
  2858  }
  2859  
  2860  // UnimplementedTradingDataServiceServer must be embedded to have forward compatible implementations.
  2861  type UnimplementedTradingDataServiceServer struct {
  2862  }
  2863  
  2864  func (UnimplementedTradingDataServiceServer) ListAccounts(context.Context, *ListAccountsRequest) (*ListAccountsResponse, error) {
  2865  	return nil, status.Errorf(codes.Unimplemented, "method ListAccounts not implemented")
  2866  }
  2867  func (UnimplementedTradingDataServiceServer) ObserveAccounts(*ObserveAccountsRequest, TradingDataService_ObserveAccountsServer) error {
  2868  	return status.Errorf(codes.Unimplemented, "method ObserveAccounts not implemented")
  2869  }
  2870  func (UnimplementedTradingDataServiceServer) Info(context.Context, *InfoRequest) (*InfoResponse, error) {
  2871  	return nil, status.Errorf(codes.Unimplemented, "method Info not implemented")
  2872  }
  2873  func (UnimplementedTradingDataServiceServer) GetOrder(context.Context, *GetOrderRequest) (*GetOrderResponse, error) {
  2874  	return nil, status.Errorf(codes.Unimplemented, "method GetOrder not implemented")
  2875  }
  2876  func (UnimplementedTradingDataServiceServer) ListOrders(context.Context, *ListOrdersRequest) (*ListOrdersResponse, error) {
  2877  	return nil, status.Errorf(codes.Unimplemented, "method ListOrders not implemented")
  2878  }
  2879  func (UnimplementedTradingDataServiceServer) ListOrderVersions(context.Context, *ListOrderVersionsRequest) (*ListOrderVersionsResponse, error) {
  2880  	return nil, status.Errorf(codes.Unimplemented, "method ListOrderVersions not implemented")
  2881  }
  2882  func (UnimplementedTradingDataServiceServer) ObserveOrders(*ObserveOrdersRequest, TradingDataService_ObserveOrdersServer) error {
  2883  	return status.Errorf(codes.Unimplemented, "method ObserveOrders not implemented")
  2884  }
  2885  func (UnimplementedTradingDataServiceServer) GetStopOrder(context.Context, *GetStopOrderRequest) (*GetStopOrderResponse, error) {
  2886  	return nil, status.Errorf(codes.Unimplemented, "method GetStopOrder not implemented")
  2887  }
  2888  func (UnimplementedTradingDataServiceServer) ListStopOrders(context.Context, *ListStopOrdersRequest) (*ListStopOrdersResponse, error) {
  2889  	return nil, status.Errorf(codes.Unimplemented, "method ListStopOrders not implemented")
  2890  }
  2891  func (UnimplementedTradingDataServiceServer) ListGameTeamScores(context.Context, *ListGameTeamScoresRequest) (*ListGameTeamScoresResponse, error) {
  2892  	return nil, status.Errorf(codes.Unimplemented, "method ListGameTeamScores not implemented")
  2893  }
  2894  func (UnimplementedTradingDataServiceServer) ListGamePartyScores(context.Context, *ListGamePartyScoresRequest) (*ListGamePartyScoresResponse, error) {
  2895  	return nil, status.Errorf(codes.Unimplemented, "method ListGamePartyScores not implemented")
  2896  }
  2897  func (UnimplementedTradingDataServiceServer) ListPositions(context.Context, *ListPositionsRequest) (*ListPositionsResponse, error) {
  2898  	return nil, status.Errorf(codes.Unimplemented, "method ListPositions not implemented")
  2899  }
  2900  func (UnimplementedTradingDataServiceServer) ListAllPositions(context.Context, *ListAllPositionsRequest) (*ListAllPositionsResponse, error) {
  2901  	return nil, status.Errorf(codes.Unimplemented, "method ListAllPositions not implemented")
  2902  }
  2903  func (UnimplementedTradingDataServiceServer) ObservePositions(*ObservePositionsRequest, TradingDataService_ObservePositionsServer) error {
  2904  	return status.Errorf(codes.Unimplemented, "method ObservePositions not implemented")
  2905  }
  2906  func (UnimplementedTradingDataServiceServer) ListLedgerEntries(context.Context, *ListLedgerEntriesRequest) (*ListLedgerEntriesResponse, error) {
  2907  	return nil, status.Errorf(codes.Unimplemented, "method ListLedgerEntries not implemented")
  2908  }
  2909  func (UnimplementedTradingDataServiceServer) ExportLedgerEntries(*ExportLedgerEntriesRequest, TradingDataService_ExportLedgerEntriesServer) error {
  2910  	return status.Errorf(codes.Unimplemented, "method ExportLedgerEntries not implemented")
  2911  }
  2912  func (UnimplementedTradingDataServiceServer) ListBalanceChanges(context.Context, *ListBalanceChangesRequest) (*ListBalanceChangesResponse, error) {
  2913  	return nil, status.Errorf(codes.Unimplemented, "method ListBalanceChanges not implemented")
  2914  }
  2915  func (UnimplementedTradingDataServiceServer) GetLatestMarketData(context.Context, *GetLatestMarketDataRequest) (*GetLatestMarketDataResponse, error) {
  2916  	return nil, status.Errorf(codes.Unimplemented, "method GetLatestMarketData not implemented")
  2917  }
  2918  func (UnimplementedTradingDataServiceServer) ListLatestMarketData(context.Context, *ListLatestMarketDataRequest) (*ListLatestMarketDataResponse, error) {
  2919  	return nil, status.Errorf(codes.Unimplemented, "method ListLatestMarketData not implemented")
  2920  }
  2921  func (UnimplementedTradingDataServiceServer) GetLatestMarketDepth(context.Context, *GetLatestMarketDepthRequest) (*GetLatestMarketDepthResponse, error) {
  2922  	return nil, status.Errorf(codes.Unimplemented, "method GetLatestMarketDepth not implemented")
  2923  }
  2924  func (UnimplementedTradingDataServiceServer) ObserveMarketsDepth(*ObserveMarketsDepthRequest, TradingDataService_ObserveMarketsDepthServer) error {
  2925  	return status.Errorf(codes.Unimplemented, "method ObserveMarketsDepth not implemented")
  2926  }
  2927  func (UnimplementedTradingDataServiceServer) ObserveMarketsDepthUpdates(*ObserveMarketsDepthUpdatesRequest, TradingDataService_ObserveMarketsDepthUpdatesServer) error {
  2928  	return status.Errorf(codes.Unimplemented, "method ObserveMarketsDepthUpdates not implemented")
  2929  }
  2930  func (UnimplementedTradingDataServiceServer) ObserveMarketsData(*ObserveMarketsDataRequest, TradingDataService_ObserveMarketsDataServer) error {
  2931  	return status.Errorf(codes.Unimplemented, "method ObserveMarketsData not implemented")
  2932  }
  2933  func (UnimplementedTradingDataServiceServer) GetMarketDataHistoryByID(context.Context, *GetMarketDataHistoryByIDRequest) (*GetMarketDataHistoryByIDResponse, error) {
  2934  	return nil, status.Errorf(codes.Unimplemented, "method GetMarketDataHistoryByID not implemented")
  2935  }
  2936  func (UnimplementedTradingDataServiceServer) ListTransfers(context.Context, *ListTransfersRequest) (*ListTransfersResponse, error) {
  2937  	return nil, status.Errorf(codes.Unimplemented, "method ListTransfers not implemented")
  2938  }
  2939  func (UnimplementedTradingDataServiceServer) GetTransfer(context.Context, *GetTransferRequest) (*GetTransferResponse, error) {
  2940  	return nil, status.Errorf(codes.Unimplemented, "method GetTransfer not implemented")
  2941  }
  2942  func (UnimplementedTradingDataServiceServer) GetNetworkLimits(context.Context, *GetNetworkLimitsRequest) (*GetNetworkLimitsResponse, error) {
  2943  	return nil, status.Errorf(codes.Unimplemented, "method GetNetworkLimits not implemented")
  2944  }
  2945  func (UnimplementedTradingDataServiceServer) ListCandleData(context.Context, *ListCandleDataRequest) (*ListCandleDataResponse, error) {
  2946  	return nil, status.Errorf(codes.Unimplemented, "method ListCandleData not implemented")
  2947  }
  2948  func (UnimplementedTradingDataServiceServer) ObserveCandleData(*ObserveCandleDataRequest, TradingDataService_ObserveCandleDataServer) error {
  2949  	return status.Errorf(codes.Unimplemented, "method ObserveCandleData not implemented")
  2950  }
  2951  func (UnimplementedTradingDataServiceServer) ListCandleIntervals(context.Context, *ListCandleIntervalsRequest) (*ListCandleIntervalsResponse, error) {
  2952  	return nil, status.Errorf(codes.Unimplemented, "method ListCandleIntervals not implemented")
  2953  }
  2954  func (UnimplementedTradingDataServiceServer) ListVotes(context.Context, *ListVotesRequest) (*ListVotesResponse, error) {
  2955  	return nil, status.Errorf(codes.Unimplemented, "method ListVotes not implemented")
  2956  }
  2957  func (UnimplementedTradingDataServiceServer) ObserveVotes(*ObserveVotesRequest, TradingDataService_ObserveVotesServer) error {
  2958  	return status.Errorf(codes.Unimplemented, "method ObserveVotes not implemented")
  2959  }
  2960  func (UnimplementedTradingDataServiceServer) ListERC20MultiSigSignerAddedBundles(context.Context, *ListERC20MultiSigSignerAddedBundlesRequest) (*ListERC20MultiSigSignerAddedBundlesResponse, error) {
  2961  	return nil, status.Errorf(codes.Unimplemented, "method ListERC20MultiSigSignerAddedBundles not implemented")
  2962  }
  2963  func (UnimplementedTradingDataServiceServer) ListERC20MultiSigSignerRemovedBundles(context.Context, *ListERC20MultiSigSignerRemovedBundlesRequest) (*ListERC20MultiSigSignerRemovedBundlesResponse, error) {
  2964  	return nil, status.Errorf(codes.Unimplemented, "method ListERC20MultiSigSignerRemovedBundles not implemented")
  2965  }
  2966  func (UnimplementedTradingDataServiceServer) GetERC20ListAssetBundle(context.Context, *GetERC20ListAssetBundleRequest) (*GetERC20ListAssetBundleResponse, error) {
  2967  	return nil, status.Errorf(codes.Unimplemented, "method GetERC20ListAssetBundle not implemented")
  2968  }
  2969  func (UnimplementedTradingDataServiceServer) GetERC20SetAssetLimitsBundle(context.Context, *GetERC20SetAssetLimitsBundleRequest) (*GetERC20SetAssetLimitsBundleResponse, error) {
  2970  	return nil, status.Errorf(codes.Unimplemented, "method GetERC20SetAssetLimitsBundle not implemented")
  2971  }
  2972  func (UnimplementedTradingDataServiceServer) GetERC20WithdrawalApproval(context.Context, *GetERC20WithdrawalApprovalRequest) (*GetERC20WithdrawalApprovalResponse, error) {
  2973  	return nil, status.Errorf(codes.Unimplemented, "method GetERC20WithdrawalApproval not implemented")
  2974  }
  2975  func (UnimplementedTradingDataServiceServer) GetLastTrade(context.Context, *GetLastTradeRequest) (*GetLastTradeResponse, error) {
  2976  	return nil, status.Errorf(codes.Unimplemented, "method GetLastTrade not implemented")
  2977  }
  2978  func (UnimplementedTradingDataServiceServer) ListTrades(context.Context, *ListTradesRequest) (*ListTradesResponse, error) {
  2979  	return nil, status.Errorf(codes.Unimplemented, "method ListTrades not implemented")
  2980  }
  2981  func (UnimplementedTradingDataServiceServer) ObserveTrades(*ObserveTradesRequest, TradingDataService_ObserveTradesServer) error {
  2982  	return status.Errorf(codes.Unimplemented, "method ObserveTrades not implemented")
  2983  }
  2984  func (UnimplementedTradingDataServiceServer) GetOracleSpec(context.Context, *GetOracleSpecRequest) (*GetOracleSpecResponse, error) {
  2985  	return nil, status.Errorf(codes.Unimplemented, "method GetOracleSpec not implemented")
  2986  }
  2987  func (UnimplementedTradingDataServiceServer) ListOracleSpecs(context.Context, *ListOracleSpecsRequest) (*ListOracleSpecsResponse, error) {
  2988  	return nil, status.Errorf(codes.Unimplemented, "method ListOracleSpecs not implemented")
  2989  }
  2990  func (UnimplementedTradingDataServiceServer) ListOracleData(context.Context, *ListOracleDataRequest) (*ListOracleDataResponse, error) {
  2991  	return nil, status.Errorf(codes.Unimplemented, "method ListOracleData not implemented")
  2992  }
  2993  func (UnimplementedTradingDataServiceServer) GetMarket(context.Context, *GetMarketRequest) (*GetMarketResponse, error) {
  2994  	return nil, status.Errorf(codes.Unimplemented, "method GetMarket not implemented")
  2995  }
  2996  func (UnimplementedTradingDataServiceServer) ListMarkets(context.Context, *ListMarketsRequest) (*ListMarketsResponse, error) {
  2997  	return nil, status.Errorf(codes.Unimplemented, "method ListMarkets not implemented")
  2998  }
  2999  func (UnimplementedTradingDataServiceServer) ListSuccessorMarkets(context.Context, *ListSuccessorMarketsRequest) (*ListSuccessorMarketsResponse, error) {
  3000  	return nil, status.Errorf(codes.Unimplemented, "method ListSuccessorMarkets not implemented")
  3001  }
  3002  func (UnimplementedTradingDataServiceServer) GetParty(context.Context, *GetPartyRequest) (*GetPartyResponse, error) {
  3003  	return nil, status.Errorf(codes.Unimplemented, "method GetParty not implemented")
  3004  }
  3005  func (UnimplementedTradingDataServiceServer) ListParties(context.Context, *ListPartiesRequest) (*ListPartiesResponse, error) {
  3006  	return nil, status.Errorf(codes.Unimplemented, "method ListParties not implemented")
  3007  }
  3008  func (UnimplementedTradingDataServiceServer) ListPartiesProfiles(context.Context, *ListPartiesProfilesRequest) (*ListPartiesProfilesResponse, error) {
  3009  	return nil, status.Errorf(codes.Unimplemented, "method ListPartiesProfiles not implemented")
  3010  }
  3011  func (UnimplementedTradingDataServiceServer) ListMarginLevels(context.Context, *ListMarginLevelsRequest) (*ListMarginLevelsResponse, error) {
  3012  	return nil, status.Errorf(codes.Unimplemented, "method ListMarginLevels not implemented")
  3013  }
  3014  func (UnimplementedTradingDataServiceServer) ObserveMarginLevels(*ObserveMarginLevelsRequest, TradingDataService_ObserveMarginLevelsServer) error {
  3015  	return status.Errorf(codes.Unimplemented, "method ObserveMarginLevels not implemented")
  3016  }
  3017  func (UnimplementedTradingDataServiceServer) ListRewards(context.Context, *ListRewardsRequest) (*ListRewardsResponse, error) {
  3018  	return nil, status.Errorf(codes.Unimplemented, "method ListRewards not implemented")
  3019  }
  3020  func (UnimplementedTradingDataServiceServer) ListRewardSummaries(context.Context, *ListRewardSummariesRequest) (*ListRewardSummariesResponse, error) {
  3021  	return nil, status.Errorf(codes.Unimplemented, "method ListRewardSummaries not implemented")
  3022  }
  3023  func (UnimplementedTradingDataServiceServer) ListEpochRewardSummaries(context.Context, *ListEpochRewardSummariesRequest) (*ListEpochRewardSummariesResponse, error) {
  3024  	return nil, status.Errorf(codes.Unimplemented, "method ListEpochRewardSummaries not implemented")
  3025  }
  3026  func (UnimplementedTradingDataServiceServer) GetDeposit(context.Context, *GetDepositRequest) (*GetDepositResponse, error) {
  3027  	return nil, status.Errorf(codes.Unimplemented, "method GetDeposit not implemented")
  3028  }
  3029  func (UnimplementedTradingDataServiceServer) ListDeposits(context.Context, *ListDepositsRequest) (*ListDepositsResponse, error) {
  3030  	return nil, status.Errorf(codes.Unimplemented, "method ListDeposits not implemented")
  3031  }
  3032  func (UnimplementedTradingDataServiceServer) GetWithdrawal(context.Context, *GetWithdrawalRequest) (*GetWithdrawalResponse, error) {
  3033  	return nil, status.Errorf(codes.Unimplemented, "method GetWithdrawal not implemented")
  3034  }
  3035  func (UnimplementedTradingDataServiceServer) ListWithdrawals(context.Context, *ListWithdrawalsRequest) (*ListWithdrawalsResponse, error) {
  3036  	return nil, status.Errorf(codes.Unimplemented, "method ListWithdrawals not implemented")
  3037  }
  3038  func (UnimplementedTradingDataServiceServer) GetAsset(context.Context, *GetAssetRequest) (*GetAssetResponse, error) {
  3039  	return nil, status.Errorf(codes.Unimplemented, "method GetAsset not implemented")
  3040  }
  3041  func (UnimplementedTradingDataServiceServer) ListAssets(context.Context, *ListAssetsRequest) (*ListAssetsResponse, error) {
  3042  	return nil, status.Errorf(codes.Unimplemented, "method ListAssets not implemented")
  3043  }
  3044  func (UnimplementedTradingDataServiceServer) ListLiquidityProvisions(context.Context, *ListLiquidityProvisionsRequest) (*ListLiquidityProvisionsResponse, error) {
  3045  	return nil, status.Errorf(codes.Unimplemented, "method ListLiquidityProvisions not implemented")
  3046  }
  3047  func (UnimplementedTradingDataServiceServer) ListAllLiquidityProvisions(context.Context, *ListAllLiquidityProvisionsRequest) (*ListAllLiquidityProvisionsResponse, error) {
  3048  	return nil, status.Errorf(codes.Unimplemented, "method ListAllLiquidityProvisions not implemented")
  3049  }
  3050  func (UnimplementedTradingDataServiceServer) ObserveLiquidityProvisions(*ObserveLiquidityProvisionsRequest, TradingDataService_ObserveLiquidityProvisionsServer) error {
  3051  	return status.Errorf(codes.Unimplemented, "method ObserveLiquidityProvisions not implemented")
  3052  }
  3053  func (UnimplementedTradingDataServiceServer) ListLiquidityProviders(context.Context, *ListLiquidityProvidersRequest) (*ListLiquidityProvidersResponse, error) {
  3054  	return nil, status.Errorf(codes.Unimplemented, "method ListLiquidityProviders not implemented")
  3055  }
  3056  func (UnimplementedTradingDataServiceServer) ListPaidLiquidityFees(context.Context, *ListPaidLiquidityFeesRequest) (*ListPaidLiquidityFeesResponse, error) {
  3057  	return nil, status.Errorf(codes.Unimplemented, "method ListPaidLiquidityFees not implemented")
  3058  }
  3059  func (UnimplementedTradingDataServiceServer) GetGovernanceData(context.Context, *GetGovernanceDataRequest) (*GetGovernanceDataResponse, error) {
  3060  	return nil, status.Errorf(codes.Unimplemented, "method GetGovernanceData not implemented")
  3061  }
  3062  func (UnimplementedTradingDataServiceServer) ListGovernanceData(context.Context, *ListGovernanceDataRequest) (*ListGovernanceDataResponse, error) {
  3063  	return nil, status.Errorf(codes.Unimplemented, "method ListGovernanceData not implemented")
  3064  }
  3065  func (UnimplementedTradingDataServiceServer) ObserveGovernance(*ObserveGovernanceRequest, TradingDataService_ObserveGovernanceServer) error {
  3066  	return status.Errorf(codes.Unimplemented, "method ObserveGovernance not implemented")
  3067  }
  3068  func (UnimplementedTradingDataServiceServer) ListDelegations(context.Context, *ListDelegationsRequest) (*ListDelegationsResponse, error) {
  3069  	return nil, status.Errorf(codes.Unimplemented, "method ListDelegations not implemented")
  3070  }
  3071  func (UnimplementedTradingDataServiceServer) GetNetworkData(context.Context, *GetNetworkDataRequest) (*GetNetworkDataResponse, error) {
  3072  	return nil, status.Errorf(codes.Unimplemented, "method GetNetworkData not implemented")
  3073  }
  3074  func (UnimplementedTradingDataServiceServer) GetNode(context.Context, *GetNodeRequest) (*GetNodeResponse, error) {
  3075  	return nil, status.Errorf(codes.Unimplemented, "method GetNode not implemented")
  3076  }
  3077  func (UnimplementedTradingDataServiceServer) ListNodes(context.Context, *ListNodesRequest) (*ListNodesResponse, error) {
  3078  	return nil, status.Errorf(codes.Unimplemented, "method ListNodes not implemented")
  3079  }
  3080  func (UnimplementedTradingDataServiceServer) ListNodeSignatures(context.Context, *ListNodeSignaturesRequest) (*ListNodeSignaturesResponse, error) {
  3081  	return nil, status.Errorf(codes.Unimplemented, "method ListNodeSignatures not implemented")
  3082  }
  3083  func (UnimplementedTradingDataServiceServer) GetEpoch(context.Context, *GetEpochRequest) (*GetEpochResponse, error) {
  3084  	return nil, status.Errorf(codes.Unimplemented, "method GetEpoch not implemented")
  3085  }
  3086  func (UnimplementedTradingDataServiceServer) EstimateFee(context.Context, *EstimateFeeRequest) (*EstimateFeeResponse, error) {
  3087  	return nil, status.Errorf(codes.Unimplemented, "method EstimateFee not implemented")
  3088  }
  3089  func (UnimplementedTradingDataServiceServer) EstimateMargin(context.Context, *EstimateMarginRequest) (*EstimateMarginResponse, error) {
  3090  	return nil, status.Errorf(codes.Unimplemented, "method EstimateMargin not implemented")
  3091  }
  3092  func (UnimplementedTradingDataServiceServer) EstimatePosition(context.Context, *EstimatePositionRequest) (*EstimatePositionResponse, error) {
  3093  	return nil, status.Errorf(codes.Unimplemented, "method EstimatePosition not implemented")
  3094  }
  3095  func (UnimplementedTradingDataServiceServer) ListNetworkParameters(context.Context, *ListNetworkParametersRequest) (*ListNetworkParametersResponse, error) {
  3096  	return nil, status.Errorf(codes.Unimplemented, "method ListNetworkParameters not implemented")
  3097  }
  3098  func (UnimplementedTradingDataServiceServer) GetNetworkParameter(context.Context, *GetNetworkParameterRequest) (*GetNetworkParameterResponse, error) {
  3099  	return nil, status.Errorf(codes.Unimplemented, "method GetNetworkParameter not implemented")
  3100  }
  3101  func (UnimplementedTradingDataServiceServer) ListCheckpoints(context.Context, *ListCheckpointsRequest) (*ListCheckpointsResponse, error) {
  3102  	return nil, status.Errorf(codes.Unimplemented, "method ListCheckpoints not implemented")
  3103  }
  3104  func (UnimplementedTradingDataServiceServer) GetStake(context.Context, *GetStakeRequest) (*GetStakeResponse, error) {
  3105  	return nil, status.Errorf(codes.Unimplemented, "method GetStake not implemented")
  3106  }
  3107  func (UnimplementedTradingDataServiceServer) GetRiskFactors(context.Context, *GetRiskFactorsRequest) (*GetRiskFactorsResponse, error) {
  3108  	return nil, status.Errorf(codes.Unimplemented, "method GetRiskFactors not implemented")
  3109  }
  3110  func (UnimplementedTradingDataServiceServer) ObserveEventBus(TradingDataService_ObserveEventBusServer) error {
  3111  	return status.Errorf(codes.Unimplemented, "method ObserveEventBus not implemented")
  3112  }
  3113  func (UnimplementedTradingDataServiceServer) ObserveLedgerMovements(*ObserveLedgerMovementsRequest, TradingDataService_ObserveLedgerMovementsServer) error {
  3114  	return status.Errorf(codes.Unimplemented, "method ObserveLedgerMovements not implemented")
  3115  }
  3116  func (UnimplementedTradingDataServiceServer) ListKeyRotations(context.Context, *ListKeyRotationsRequest) (*ListKeyRotationsResponse, error) {
  3117  	return nil, status.Errorf(codes.Unimplemented, "method ListKeyRotations not implemented")
  3118  }
  3119  func (UnimplementedTradingDataServiceServer) ListEthereumKeyRotations(context.Context, *ListEthereumKeyRotationsRequest) (*ListEthereumKeyRotationsResponse, error) {
  3120  	return nil, status.Errorf(codes.Unimplemented, "method ListEthereumKeyRotations not implemented")
  3121  }
  3122  func (UnimplementedTradingDataServiceServer) GetVegaTime(context.Context, *GetVegaTimeRequest) (*GetVegaTimeResponse, error) {
  3123  	return nil, status.Errorf(codes.Unimplemented, "method GetVegaTime not implemented")
  3124  }
  3125  func (UnimplementedTradingDataServiceServer) GetProtocolUpgradeStatus(context.Context, *GetProtocolUpgradeStatusRequest) (*GetProtocolUpgradeStatusResponse, error) {
  3126  	return nil, status.Errorf(codes.Unimplemented, "method GetProtocolUpgradeStatus not implemented")
  3127  }
  3128  func (UnimplementedTradingDataServiceServer) ListProtocolUpgradeProposals(context.Context, *ListProtocolUpgradeProposalsRequest) (*ListProtocolUpgradeProposalsResponse, error) {
  3129  	return nil, status.Errorf(codes.Unimplemented, "method ListProtocolUpgradeProposals not implemented")
  3130  }
  3131  func (UnimplementedTradingDataServiceServer) ListCoreSnapshots(context.Context, *ListCoreSnapshotsRequest) (*ListCoreSnapshotsResponse, error) {
  3132  	return nil, status.Errorf(codes.Unimplemented, "method ListCoreSnapshots not implemented")
  3133  }
  3134  func (UnimplementedTradingDataServiceServer) GetMostRecentNetworkHistorySegment(context.Context, *GetMostRecentNetworkHistorySegmentRequest) (*GetMostRecentNetworkHistorySegmentResponse, error) {
  3135  	return nil, status.Errorf(codes.Unimplemented, "method GetMostRecentNetworkHistorySegment not implemented")
  3136  }
  3137  func (UnimplementedTradingDataServiceServer) ListAllNetworkHistorySegments(context.Context, *ListAllNetworkHistorySegmentsRequest) (*ListAllNetworkHistorySegmentsResponse, error) {
  3138  	return nil, status.Errorf(codes.Unimplemented, "method ListAllNetworkHistorySegments not implemented")
  3139  }
  3140  func (UnimplementedTradingDataServiceServer) GetActiveNetworkHistoryPeerAddresses(context.Context, *GetActiveNetworkHistoryPeerAddressesRequest) (*GetActiveNetworkHistoryPeerAddressesResponse, error) {
  3141  	return nil, status.Errorf(codes.Unimplemented, "method GetActiveNetworkHistoryPeerAddresses not implemented")
  3142  }
  3143  func (UnimplementedTradingDataServiceServer) GetNetworkHistoryStatus(context.Context, *GetNetworkHistoryStatusRequest) (*GetNetworkHistoryStatusResponse, error) {
  3144  	return nil, status.Errorf(codes.Unimplemented, "method GetNetworkHistoryStatus not implemented")
  3145  }
  3146  func (UnimplementedTradingDataServiceServer) GetNetworkHistoryBootstrapPeers(context.Context, *GetNetworkHistoryBootstrapPeersRequest) (*GetNetworkHistoryBootstrapPeersResponse, error) {
  3147  	return nil, status.Errorf(codes.Unimplemented, "method GetNetworkHistoryBootstrapPeers not implemented")
  3148  }
  3149  func (UnimplementedTradingDataServiceServer) ListEntities(context.Context, *ListEntitiesRequest) (*ListEntitiesResponse, error) {
  3150  	return nil, status.Errorf(codes.Unimplemented, "method ListEntities not implemented")
  3151  }
  3152  func (UnimplementedTradingDataServiceServer) ListFundingPeriods(context.Context, *ListFundingPeriodsRequest) (*ListFundingPeriodsResponse, error) {
  3153  	return nil, status.Errorf(codes.Unimplemented, "method ListFundingPeriods not implemented")
  3154  }
  3155  func (UnimplementedTradingDataServiceServer) ListFundingPeriodDataPoints(context.Context, *ListFundingPeriodDataPointsRequest) (*ListFundingPeriodDataPointsResponse, error) {
  3156  	return nil, status.Errorf(codes.Unimplemented, "method ListFundingPeriodDataPoints not implemented")
  3157  }
  3158  func (UnimplementedTradingDataServiceServer) ListFundingPayments(context.Context, *ListFundingPaymentsRequest) (*ListFundingPaymentsResponse, error) {
  3159  	return nil, status.Errorf(codes.Unimplemented, "method ListFundingPayments not implemented")
  3160  }
  3161  func (UnimplementedTradingDataServiceServer) GetPartyActivityStreak(context.Context, *GetPartyActivityStreakRequest) (*GetPartyActivityStreakResponse, error) {
  3162  	return nil, status.Errorf(codes.Unimplemented, "method GetPartyActivityStreak not implemented")
  3163  }
  3164  func (UnimplementedTradingDataServiceServer) GetCurrentReferralProgram(context.Context, *GetCurrentReferralProgramRequest) (*GetCurrentReferralProgramResponse, error) {
  3165  	return nil, status.Errorf(codes.Unimplemented, "method GetCurrentReferralProgram not implemented")
  3166  }
  3167  func (UnimplementedTradingDataServiceServer) ListReferralSets(context.Context, *ListReferralSetsRequest) (*ListReferralSetsResponse, error) {
  3168  	return nil, status.Errorf(codes.Unimplemented, "method ListReferralSets not implemented")
  3169  }
  3170  func (UnimplementedTradingDataServiceServer) ListReferralSetReferees(context.Context, *ListReferralSetRefereesRequest) (*ListReferralSetRefereesResponse, error) {
  3171  	return nil, status.Errorf(codes.Unimplemented, "method ListReferralSetReferees not implemented")
  3172  }
  3173  func (UnimplementedTradingDataServiceServer) GetReferralSetStats(context.Context, *GetReferralSetStatsRequest) (*GetReferralSetStatsResponse, error) {
  3174  	return nil, status.Errorf(codes.Unimplemented, "method GetReferralSetStats not implemented")
  3175  }
  3176  func (UnimplementedTradingDataServiceServer) ListTeams(context.Context, *ListTeamsRequest) (*ListTeamsResponse, error) {
  3177  	return nil, status.Errorf(codes.Unimplemented, "method ListTeams not implemented")
  3178  }
  3179  func (UnimplementedTradingDataServiceServer) ListTeamsStatistics(context.Context, *ListTeamsStatisticsRequest) (*ListTeamsStatisticsResponse, error) {
  3180  	return nil, status.Errorf(codes.Unimplemented, "method ListTeamsStatistics not implemented")
  3181  }
  3182  func (UnimplementedTradingDataServiceServer) ListTeamMembersStatistics(context.Context, *ListTeamMembersStatisticsRequest) (*ListTeamMembersStatisticsResponse, error) {
  3183  	return nil, status.Errorf(codes.Unimplemented, "method ListTeamMembersStatistics not implemented")
  3184  }
  3185  func (UnimplementedTradingDataServiceServer) ListTeamReferees(context.Context, *ListTeamRefereesRequest) (*ListTeamRefereesResponse, error) {
  3186  	return nil, status.Errorf(codes.Unimplemented, "method ListTeamReferees not implemented")
  3187  }
  3188  func (UnimplementedTradingDataServiceServer) ListTeamRefereeHistory(context.Context, *ListTeamRefereeHistoryRequest) (*ListTeamRefereeHistoryResponse, error) {
  3189  	return nil, status.Errorf(codes.Unimplemented, "method ListTeamRefereeHistory not implemented")
  3190  }
  3191  func (UnimplementedTradingDataServiceServer) GetFeesStats(context.Context, *GetFeesStatsRequest) (*GetFeesStatsResponse, error) {
  3192  	return nil, status.Errorf(codes.Unimplemented, "method GetFeesStats not implemented")
  3193  }
  3194  func (UnimplementedTradingDataServiceServer) GetFeesStatsForParty(context.Context, *GetFeesStatsForPartyRequest) (*GetFeesStatsForPartyResponse, error) {
  3195  	return nil, status.Errorf(codes.Unimplemented, "method GetFeesStatsForParty not implemented")
  3196  }
  3197  func (UnimplementedTradingDataServiceServer) GetCurrentVolumeRebateProgram(context.Context, *GetCurrentVolumeRebateProgramRequest) (*GetCurrentVolumeRebateProgramResponse, error) {
  3198  	return nil, status.Errorf(codes.Unimplemented, "method GetCurrentVolumeRebateProgram not implemented")
  3199  }
  3200  func (UnimplementedTradingDataServiceServer) GetVolumeRebateStats(context.Context, *GetVolumeRebateStatsRequest) (*GetVolumeRebateStatsResponse, error) {
  3201  	return nil, status.Errorf(codes.Unimplemented, "method GetVolumeRebateStats not implemented")
  3202  }
  3203  func (UnimplementedTradingDataServiceServer) GetCurrentVolumeDiscountProgram(context.Context, *GetCurrentVolumeDiscountProgramRequest) (*GetCurrentVolumeDiscountProgramResponse, error) {
  3204  	return nil, status.Errorf(codes.Unimplemented, "method GetCurrentVolumeDiscountProgram not implemented")
  3205  }
  3206  func (UnimplementedTradingDataServiceServer) GetVolumeDiscountStats(context.Context, *GetVolumeDiscountStatsRequest) (*GetVolumeDiscountStatsResponse, error) {
  3207  	return nil, status.Errorf(codes.Unimplemented, "method GetVolumeDiscountStats not implemented")
  3208  }
  3209  func (UnimplementedTradingDataServiceServer) GetVestingBalancesSummary(context.Context, *GetVestingBalancesSummaryRequest) (*GetVestingBalancesSummaryResponse, error) {
  3210  	return nil, status.Errorf(codes.Unimplemented, "method GetVestingBalancesSummary not implemented")
  3211  }
  3212  func (UnimplementedTradingDataServiceServer) GetPartyVestingStats(context.Context, *GetPartyVestingStatsRequest) (*GetPartyVestingStatsResponse, error) {
  3213  	return nil, status.Errorf(codes.Unimplemented, "method GetPartyVestingStats not implemented")
  3214  }
  3215  func (UnimplementedTradingDataServiceServer) ObserveTransactionResults(*ObserveTransactionResultsRequest, TradingDataService_ObserveTransactionResultsServer) error {
  3216  	return status.Errorf(codes.Unimplemented, "method ObserveTransactionResults not implemented")
  3217  }
  3218  func (UnimplementedTradingDataServiceServer) EstimateTransferFee(context.Context, *EstimateTransferFeeRequest) (*EstimateTransferFeeResponse, error) {
  3219  	return nil, status.Errorf(codes.Unimplemented, "method EstimateTransferFee not implemented")
  3220  }
  3221  func (UnimplementedTradingDataServiceServer) GetTotalTransferFeeDiscount(context.Context, *GetTotalTransferFeeDiscountRequest) (*GetTotalTransferFeeDiscountResponse, error) {
  3222  	return nil, status.Errorf(codes.Unimplemented, "method GetTotalTransferFeeDiscount not implemented")
  3223  }
  3224  func (UnimplementedTradingDataServiceServer) ListGames(context.Context, *ListGamesRequest) (*ListGamesResponse, error) {
  3225  	return nil, status.Errorf(codes.Unimplemented, "method ListGames not implemented")
  3226  }
  3227  func (UnimplementedTradingDataServiceServer) ListPartyMarginModes(context.Context, *ListPartyMarginModesRequest) (*ListPartyMarginModesResponse, error) {
  3228  	return nil, status.Errorf(codes.Unimplemented, "method ListPartyMarginModes not implemented")
  3229  }
  3230  func (UnimplementedTradingDataServiceServer) GetTimeWeightedNotionalPosition(context.Context, *GetTimeWeightedNotionalPositionRequest) (*GetTimeWeightedNotionalPositionResponse, error) {
  3231  	return nil, status.Errorf(codes.Unimplemented, "method GetTimeWeightedNotionalPosition not implemented")
  3232  }
  3233  func (UnimplementedTradingDataServiceServer) ListAMMs(context.Context, *ListAMMsRequest) (*ListAMMsResponse, error) {
  3234  	return nil, status.Errorf(codes.Unimplemented, "method ListAMMs not implemented")
  3235  }
  3236  func (UnimplementedTradingDataServiceServer) EstimateAMMBounds(context.Context, *EstimateAMMBoundsRequest) (*EstimateAMMBoundsResponse, error) {
  3237  	return nil, status.Errorf(codes.Unimplemented, "method EstimateAMMBounds not implemented")
  3238  }
  3239  func (UnimplementedTradingDataServiceServer) GetPartyDiscountStats(context.Context, *GetPartyDiscountStatsRequest) (*GetPartyDiscountStatsResponse, error) {
  3240  	return nil, status.Errorf(codes.Unimplemented, "method GetPartyDiscountStats not implemented")
  3241  }
  3242  func (UnimplementedTradingDataServiceServer) ExportNetworkHistory(*ExportNetworkHistoryRequest, TradingDataService_ExportNetworkHistoryServer) error {
  3243  	return status.Errorf(codes.Unimplemented, "method ExportNetworkHistory not implemented")
  3244  }
  3245  func (UnimplementedTradingDataServiceServer) Ping(context.Context, *PingRequest) (*PingResponse, error) {
  3246  	return nil, status.Errorf(codes.Unimplemented, "method Ping not implemented")
  3247  }
  3248  func (UnimplementedTradingDataServiceServer) mustEmbedUnimplementedTradingDataServiceServer() {}
  3249  
  3250  // UnsafeTradingDataServiceServer may be embedded to opt out of forward compatibility for this service.
  3251  // Use of this interface is not recommended, as added methods to TradingDataServiceServer will
  3252  // result in compilation errors.
  3253  type UnsafeTradingDataServiceServer interface {
  3254  	mustEmbedUnimplementedTradingDataServiceServer()
  3255  }
  3256  
  3257  func RegisterTradingDataServiceServer(s grpc.ServiceRegistrar, srv TradingDataServiceServer) {
  3258  	s.RegisterService(&TradingDataService_ServiceDesc, srv)
  3259  }
  3260  
  3261  func _TradingDataService_ListAccounts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3262  	in := new(ListAccountsRequest)
  3263  	if err := dec(in); err != nil {
  3264  		return nil, err
  3265  	}
  3266  	if interceptor == nil {
  3267  		return srv.(TradingDataServiceServer).ListAccounts(ctx, in)
  3268  	}
  3269  	info := &grpc.UnaryServerInfo{
  3270  		Server:     srv,
  3271  		FullMethod: "/datanode.api.v2.TradingDataService/ListAccounts",
  3272  	}
  3273  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3274  		return srv.(TradingDataServiceServer).ListAccounts(ctx, req.(*ListAccountsRequest))
  3275  	}
  3276  	return interceptor(ctx, in, info, handler)
  3277  }
  3278  
  3279  func _TradingDataService_ObserveAccounts_Handler(srv interface{}, stream grpc.ServerStream) error {
  3280  	m := new(ObserveAccountsRequest)
  3281  	if err := stream.RecvMsg(m); err != nil {
  3282  		return err
  3283  	}
  3284  	return srv.(TradingDataServiceServer).ObserveAccounts(m, &tradingDataServiceObserveAccountsServer{stream})
  3285  }
  3286  
  3287  type TradingDataService_ObserveAccountsServer interface {
  3288  	Send(*ObserveAccountsResponse) error
  3289  	grpc.ServerStream
  3290  }
  3291  
  3292  type tradingDataServiceObserveAccountsServer struct {
  3293  	grpc.ServerStream
  3294  }
  3295  
  3296  func (x *tradingDataServiceObserveAccountsServer) Send(m *ObserveAccountsResponse) error {
  3297  	return x.ServerStream.SendMsg(m)
  3298  }
  3299  
  3300  func _TradingDataService_Info_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3301  	in := new(InfoRequest)
  3302  	if err := dec(in); err != nil {
  3303  		return nil, err
  3304  	}
  3305  	if interceptor == nil {
  3306  		return srv.(TradingDataServiceServer).Info(ctx, in)
  3307  	}
  3308  	info := &grpc.UnaryServerInfo{
  3309  		Server:     srv,
  3310  		FullMethod: "/datanode.api.v2.TradingDataService/Info",
  3311  	}
  3312  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3313  		return srv.(TradingDataServiceServer).Info(ctx, req.(*InfoRequest))
  3314  	}
  3315  	return interceptor(ctx, in, info, handler)
  3316  }
  3317  
  3318  func _TradingDataService_GetOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3319  	in := new(GetOrderRequest)
  3320  	if err := dec(in); err != nil {
  3321  		return nil, err
  3322  	}
  3323  	if interceptor == nil {
  3324  		return srv.(TradingDataServiceServer).GetOrder(ctx, in)
  3325  	}
  3326  	info := &grpc.UnaryServerInfo{
  3327  		Server:     srv,
  3328  		FullMethod: "/datanode.api.v2.TradingDataService/GetOrder",
  3329  	}
  3330  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3331  		return srv.(TradingDataServiceServer).GetOrder(ctx, req.(*GetOrderRequest))
  3332  	}
  3333  	return interceptor(ctx, in, info, handler)
  3334  }
  3335  
  3336  func _TradingDataService_ListOrders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3337  	in := new(ListOrdersRequest)
  3338  	if err := dec(in); err != nil {
  3339  		return nil, err
  3340  	}
  3341  	if interceptor == nil {
  3342  		return srv.(TradingDataServiceServer).ListOrders(ctx, in)
  3343  	}
  3344  	info := &grpc.UnaryServerInfo{
  3345  		Server:     srv,
  3346  		FullMethod: "/datanode.api.v2.TradingDataService/ListOrders",
  3347  	}
  3348  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3349  		return srv.(TradingDataServiceServer).ListOrders(ctx, req.(*ListOrdersRequest))
  3350  	}
  3351  	return interceptor(ctx, in, info, handler)
  3352  }
  3353  
  3354  func _TradingDataService_ListOrderVersions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3355  	in := new(ListOrderVersionsRequest)
  3356  	if err := dec(in); err != nil {
  3357  		return nil, err
  3358  	}
  3359  	if interceptor == nil {
  3360  		return srv.(TradingDataServiceServer).ListOrderVersions(ctx, in)
  3361  	}
  3362  	info := &grpc.UnaryServerInfo{
  3363  		Server:     srv,
  3364  		FullMethod: "/datanode.api.v2.TradingDataService/ListOrderVersions",
  3365  	}
  3366  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3367  		return srv.(TradingDataServiceServer).ListOrderVersions(ctx, req.(*ListOrderVersionsRequest))
  3368  	}
  3369  	return interceptor(ctx, in, info, handler)
  3370  }
  3371  
  3372  func _TradingDataService_ObserveOrders_Handler(srv interface{}, stream grpc.ServerStream) error {
  3373  	m := new(ObserveOrdersRequest)
  3374  	if err := stream.RecvMsg(m); err != nil {
  3375  		return err
  3376  	}
  3377  	return srv.(TradingDataServiceServer).ObserveOrders(m, &tradingDataServiceObserveOrdersServer{stream})
  3378  }
  3379  
  3380  type TradingDataService_ObserveOrdersServer interface {
  3381  	Send(*ObserveOrdersResponse) error
  3382  	grpc.ServerStream
  3383  }
  3384  
  3385  type tradingDataServiceObserveOrdersServer struct {
  3386  	grpc.ServerStream
  3387  }
  3388  
  3389  func (x *tradingDataServiceObserveOrdersServer) Send(m *ObserveOrdersResponse) error {
  3390  	return x.ServerStream.SendMsg(m)
  3391  }
  3392  
  3393  func _TradingDataService_GetStopOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3394  	in := new(GetStopOrderRequest)
  3395  	if err := dec(in); err != nil {
  3396  		return nil, err
  3397  	}
  3398  	if interceptor == nil {
  3399  		return srv.(TradingDataServiceServer).GetStopOrder(ctx, in)
  3400  	}
  3401  	info := &grpc.UnaryServerInfo{
  3402  		Server:     srv,
  3403  		FullMethod: "/datanode.api.v2.TradingDataService/GetStopOrder",
  3404  	}
  3405  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3406  		return srv.(TradingDataServiceServer).GetStopOrder(ctx, req.(*GetStopOrderRequest))
  3407  	}
  3408  	return interceptor(ctx, in, info, handler)
  3409  }
  3410  
  3411  func _TradingDataService_ListStopOrders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3412  	in := new(ListStopOrdersRequest)
  3413  	if err := dec(in); err != nil {
  3414  		return nil, err
  3415  	}
  3416  	if interceptor == nil {
  3417  		return srv.(TradingDataServiceServer).ListStopOrders(ctx, in)
  3418  	}
  3419  	info := &grpc.UnaryServerInfo{
  3420  		Server:     srv,
  3421  		FullMethod: "/datanode.api.v2.TradingDataService/ListStopOrders",
  3422  	}
  3423  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3424  		return srv.(TradingDataServiceServer).ListStopOrders(ctx, req.(*ListStopOrdersRequest))
  3425  	}
  3426  	return interceptor(ctx, in, info, handler)
  3427  }
  3428  
  3429  func _TradingDataService_ListGameTeamScores_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3430  	in := new(ListGameTeamScoresRequest)
  3431  	if err := dec(in); err != nil {
  3432  		return nil, err
  3433  	}
  3434  	if interceptor == nil {
  3435  		return srv.(TradingDataServiceServer).ListGameTeamScores(ctx, in)
  3436  	}
  3437  	info := &grpc.UnaryServerInfo{
  3438  		Server:     srv,
  3439  		FullMethod: "/datanode.api.v2.TradingDataService/ListGameTeamScores",
  3440  	}
  3441  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3442  		return srv.(TradingDataServiceServer).ListGameTeamScores(ctx, req.(*ListGameTeamScoresRequest))
  3443  	}
  3444  	return interceptor(ctx, in, info, handler)
  3445  }
  3446  
  3447  func _TradingDataService_ListGamePartyScores_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3448  	in := new(ListGamePartyScoresRequest)
  3449  	if err := dec(in); err != nil {
  3450  		return nil, err
  3451  	}
  3452  	if interceptor == nil {
  3453  		return srv.(TradingDataServiceServer).ListGamePartyScores(ctx, in)
  3454  	}
  3455  	info := &grpc.UnaryServerInfo{
  3456  		Server:     srv,
  3457  		FullMethod: "/datanode.api.v2.TradingDataService/ListGamePartyScores",
  3458  	}
  3459  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3460  		return srv.(TradingDataServiceServer).ListGamePartyScores(ctx, req.(*ListGamePartyScoresRequest))
  3461  	}
  3462  	return interceptor(ctx, in, info, handler)
  3463  }
  3464  
  3465  func _TradingDataService_ListPositions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3466  	in := new(ListPositionsRequest)
  3467  	if err := dec(in); err != nil {
  3468  		return nil, err
  3469  	}
  3470  	if interceptor == nil {
  3471  		return srv.(TradingDataServiceServer).ListPositions(ctx, in)
  3472  	}
  3473  	info := &grpc.UnaryServerInfo{
  3474  		Server:     srv,
  3475  		FullMethod: "/datanode.api.v2.TradingDataService/ListPositions",
  3476  	}
  3477  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3478  		return srv.(TradingDataServiceServer).ListPositions(ctx, req.(*ListPositionsRequest))
  3479  	}
  3480  	return interceptor(ctx, in, info, handler)
  3481  }
  3482  
  3483  func _TradingDataService_ListAllPositions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3484  	in := new(ListAllPositionsRequest)
  3485  	if err := dec(in); err != nil {
  3486  		return nil, err
  3487  	}
  3488  	if interceptor == nil {
  3489  		return srv.(TradingDataServiceServer).ListAllPositions(ctx, in)
  3490  	}
  3491  	info := &grpc.UnaryServerInfo{
  3492  		Server:     srv,
  3493  		FullMethod: "/datanode.api.v2.TradingDataService/ListAllPositions",
  3494  	}
  3495  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3496  		return srv.(TradingDataServiceServer).ListAllPositions(ctx, req.(*ListAllPositionsRequest))
  3497  	}
  3498  	return interceptor(ctx, in, info, handler)
  3499  }
  3500  
  3501  func _TradingDataService_ObservePositions_Handler(srv interface{}, stream grpc.ServerStream) error {
  3502  	m := new(ObservePositionsRequest)
  3503  	if err := stream.RecvMsg(m); err != nil {
  3504  		return err
  3505  	}
  3506  	return srv.(TradingDataServiceServer).ObservePositions(m, &tradingDataServiceObservePositionsServer{stream})
  3507  }
  3508  
  3509  type TradingDataService_ObservePositionsServer interface {
  3510  	Send(*ObservePositionsResponse) error
  3511  	grpc.ServerStream
  3512  }
  3513  
  3514  type tradingDataServiceObservePositionsServer struct {
  3515  	grpc.ServerStream
  3516  }
  3517  
  3518  func (x *tradingDataServiceObservePositionsServer) Send(m *ObservePositionsResponse) error {
  3519  	return x.ServerStream.SendMsg(m)
  3520  }
  3521  
  3522  func _TradingDataService_ListLedgerEntries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3523  	in := new(ListLedgerEntriesRequest)
  3524  	if err := dec(in); err != nil {
  3525  		return nil, err
  3526  	}
  3527  	if interceptor == nil {
  3528  		return srv.(TradingDataServiceServer).ListLedgerEntries(ctx, in)
  3529  	}
  3530  	info := &grpc.UnaryServerInfo{
  3531  		Server:     srv,
  3532  		FullMethod: "/datanode.api.v2.TradingDataService/ListLedgerEntries",
  3533  	}
  3534  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3535  		return srv.(TradingDataServiceServer).ListLedgerEntries(ctx, req.(*ListLedgerEntriesRequest))
  3536  	}
  3537  	return interceptor(ctx, in, info, handler)
  3538  }
  3539  
  3540  func _TradingDataService_ExportLedgerEntries_Handler(srv interface{}, stream grpc.ServerStream) error {
  3541  	m := new(ExportLedgerEntriesRequest)
  3542  	if err := stream.RecvMsg(m); err != nil {
  3543  		return err
  3544  	}
  3545  	return srv.(TradingDataServiceServer).ExportLedgerEntries(m, &tradingDataServiceExportLedgerEntriesServer{stream})
  3546  }
  3547  
  3548  type TradingDataService_ExportLedgerEntriesServer interface {
  3549  	Send(*httpbody.HttpBody) error
  3550  	grpc.ServerStream
  3551  }
  3552  
  3553  type tradingDataServiceExportLedgerEntriesServer struct {
  3554  	grpc.ServerStream
  3555  }
  3556  
  3557  func (x *tradingDataServiceExportLedgerEntriesServer) Send(m *httpbody.HttpBody) error {
  3558  	return x.ServerStream.SendMsg(m)
  3559  }
  3560  
  3561  func _TradingDataService_ListBalanceChanges_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3562  	in := new(ListBalanceChangesRequest)
  3563  	if err := dec(in); err != nil {
  3564  		return nil, err
  3565  	}
  3566  	if interceptor == nil {
  3567  		return srv.(TradingDataServiceServer).ListBalanceChanges(ctx, in)
  3568  	}
  3569  	info := &grpc.UnaryServerInfo{
  3570  		Server:     srv,
  3571  		FullMethod: "/datanode.api.v2.TradingDataService/ListBalanceChanges",
  3572  	}
  3573  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3574  		return srv.(TradingDataServiceServer).ListBalanceChanges(ctx, req.(*ListBalanceChangesRequest))
  3575  	}
  3576  	return interceptor(ctx, in, info, handler)
  3577  }
  3578  
  3579  func _TradingDataService_GetLatestMarketData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3580  	in := new(GetLatestMarketDataRequest)
  3581  	if err := dec(in); err != nil {
  3582  		return nil, err
  3583  	}
  3584  	if interceptor == nil {
  3585  		return srv.(TradingDataServiceServer).GetLatestMarketData(ctx, in)
  3586  	}
  3587  	info := &grpc.UnaryServerInfo{
  3588  		Server:     srv,
  3589  		FullMethod: "/datanode.api.v2.TradingDataService/GetLatestMarketData",
  3590  	}
  3591  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3592  		return srv.(TradingDataServiceServer).GetLatestMarketData(ctx, req.(*GetLatestMarketDataRequest))
  3593  	}
  3594  	return interceptor(ctx, in, info, handler)
  3595  }
  3596  
  3597  func _TradingDataService_ListLatestMarketData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3598  	in := new(ListLatestMarketDataRequest)
  3599  	if err := dec(in); err != nil {
  3600  		return nil, err
  3601  	}
  3602  	if interceptor == nil {
  3603  		return srv.(TradingDataServiceServer).ListLatestMarketData(ctx, in)
  3604  	}
  3605  	info := &grpc.UnaryServerInfo{
  3606  		Server:     srv,
  3607  		FullMethod: "/datanode.api.v2.TradingDataService/ListLatestMarketData",
  3608  	}
  3609  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3610  		return srv.(TradingDataServiceServer).ListLatestMarketData(ctx, req.(*ListLatestMarketDataRequest))
  3611  	}
  3612  	return interceptor(ctx, in, info, handler)
  3613  }
  3614  
  3615  func _TradingDataService_GetLatestMarketDepth_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3616  	in := new(GetLatestMarketDepthRequest)
  3617  	if err := dec(in); err != nil {
  3618  		return nil, err
  3619  	}
  3620  	if interceptor == nil {
  3621  		return srv.(TradingDataServiceServer).GetLatestMarketDepth(ctx, in)
  3622  	}
  3623  	info := &grpc.UnaryServerInfo{
  3624  		Server:     srv,
  3625  		FullMethod: "/datanode.api.v2.TradingDataService/GetLatestMarketDepth",
  3626  	}
  3627  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3628  		return srv.(TradingDataServiceServer).GetLatestMarketDepth(ctx, req.(*GetLatestMarketDepthRequest))
  3629  	}
  3630  	return interceptor(ctx, in, info, handler)
  3631  }
  3632  
  3633  func _TradingDataService_ObserveMarketsDepth_Handler(srv interface{}, stream grpc.ServerStream) error {
  3634  	m := new(ObserveMarketsDepthRequest)
  3635  	if err := stream.RecvMsg(m); err != nil {
  3636  		return err
  3637  	}
  3638  	return srv.(TradingDataServiceServer).ObserveMarketsDepth(m, &tradingDataServiceObserveMarketsDepthServer{stream})
  3639  }
  3640  
  3641  type TradingDataService_ObserveMarketsDepthServer interface {
  3642  	Send(*ObserveMarketsDepthResponse) error
  3643  	grpc.ServerStream
  3644  }
  3645  
  3646  type tradingDataServiceObserveMarketsDepthServer struct {
  3647  	grpc.ServerStream
  3648  }
  3649  
  3650  func (x *tradingDataServiceObserveMarketsDepthServer) Send(m *ObserveMarketsDepthResponse) error {
  3651  	return x.ServerStream.SendMsg(m)
  3652  }
  3653  
  3654  func _TradingDataService_ObserveMarketsDepthUpdates_Handler(srv interface{}, stream grpc.ServerStream) error {
  3655  	m := new(ObserveMarketsDepthUpdatesRequest)
  3656  	if err := stream.RecvMsg(m); err != nil {
  3657  		return err
  3658  	}
  3659  	return srv.(TradingDataServiceServer).ObserveMarketsDepthUpdates(m, &tradingDataServiceObserveMarketsDepthUpdatesServer{stream})
  3660  }
  3661  
  3662  type TradingDataService_ObserveMarketsDepthUpdatesServer interface {
  3663  	Send(*ObserveMarketsDepthUpdatesResponse) error
  3664  	grpc.ServerStream
  3665  }
  3666  
  3667  type tradingDataServiceObserveMarketsDepthUpdatesServer struct {
  3668  	grpc.ServerStream
  3669  }
  3670  
  3671  func (x *tradingDataServiceObserveMarketsDepthUpdatesServer) Send(m *ObserveMarketsDepthUpdatesResponse) error {
  3672  	return x.ServerStream.SendMsg(m)
  3673  }
  3674  
  3675  func _TradingDataService_ObserveMarketsData_Handler(srv interface{}, stream grpc.ServerStream) error {
  3676  	m := new(ObserveMarketsDataRequest)
  3677  	if err := stream.RecvMsg(m); err != nil {
  3678  		return err
  3679  	}
  3680  	return srv.(TradingDataServiceServer).ObserveMarketsData(m, &tradingDataServiceObserveMarketsDataServer{stream})
  3681  }
  3682  
  3683  type TradingDataService_ObserveMarketsDataServer interface {
  3684  	Send(*ObserveMarketsDataResponse) error
  3685  	grpc.ServerStream
  3686  }
  3687  
  3688  type tradingDataServiceObserveMarketsDataServer struct {
  3689  	grpc.ServerStream
  3690  }
  3691  
  3692  func (x *tradingDataServiceObserveMarketsDataServer) Send(m *ObserveMarketsDataResponse) error {
  3693  	return x.ServerStream.SendMsg(m)
  3694  }
  3695  
  3696  func _TradingDataService_GetMarketDataHistoryByID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3697  	in := new(GetMarketDataHistoryByIDRequest)
  3698  	if err := dec(in); err != nil {
  3699  		return nil, err
  3700  	}
  3701  	if interceptor == nil {
  3702  		return srv.(TradingDataServiceServer).GetMarketDataHistoryByID(ctx, in)
  3703  	}
  3704  	info := &grpc.UnaryServerInfo{
  3705  		Server:     srv,
  3706  		FullMethod: "/datanode.api.v2.TradingDataService/GetMarketDataHistoryByID",
  3707  	}
  3708  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3709  		return srv.(TradingDataServiceServer).GetMarketDataHistoryByID(ctx, req.(*GetMarketDataHistoryByIDRequest))
  3710  	}
  3711  	return interceptor(ctx, in, info, handler)
  3712  }
  3713  
  3714  func _TradingDataService_ListTransfers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3715  	in := new(ListTransfersRequest)
  3716  	if err := dec(in); err != nil {
  3717  		return nil, err
  3718  	}
  3719  	if interceptor == nil {
  3720  		return srv.(TradingDataServiceServer).ListTransfers(ctx, in)
  3721  	}
  3722  	info := &grpc.UnaryServerInfo{
  3723  		Server:     srv,
  3724  		FullMethod: "/datanode.api.v2.TradingDataService/ListTransfers",
  3725  	}
  3726  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3727  		return srv.(TradingDataServiceServer).ListTransfers(ctx, req.(*ListTransfersRequest))
  3728  	}
  3729  	return interceptor(ctx, in, info, handler)
  3730  }
  3731  
  3732  func _TradingDataService_GetTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3733  	in := new(GetTransferRequest)
  3734  	if err := dec(in); err != nil {
  3735  		return nil, err
  3736  	}
  3737  	if interceptor == nil {
  3738  		return srv.(TradingDataServiceServer).GetTransfer(ctx, in)
  3739  	}
  3740  	info := &grpc.UnaryServerInfo{
  3741  		Server:     srv,
  3742  		FullMethod: "/datanode.api.v2.TradingDataService/GetTransfer",
  3743  	}
  3744  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3745  		return srv.(TradingDataServiceServer).GetTransfer(ctx, req.(*GetTransferRequest))
  3746  	}
  3747  	return interceptor(ctx, in, info, handler)
  3748  }
  3749  
  3750  func _TradingDataService_GetNetworkLimits_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3751  	in := new(GetNetworkLimitsRequest)
  3752  	if err := dec(in); err != nil {
  3753  		return nil, err
  3754  	}
  3755  	if interceptor == nil {
  3756  		return srv.(TradingDataServiceServer).GetNetworkLimits(ctx, in)
  3757  	}
  3758  	info := &grpc.UnaryServerInfo{
  3759  		Server:     srv,
  3760  		FullMethod: "/datanode.api.v2.TradingDataService/GetNetworkLimits",
  3761  	}
  3762  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3763  		return srv.(TradingDataServiceServer).GetNetworkLimits(ctx, req.(*GetNetworkLimitsRequest))
  3764  	}
  3765  	return interceptor(ctx, in, info, handler)
  3766  }
  3767  
  3768  func _TradingDataService_ListCandleData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3769  	in := new(ListCandleDataRequest)
  3770  	if err := dec(in); err != nil {
  3771  		return nil, err
  3772  	}
  3773  	if interceptor == nil {
  3774  		return srv.(TradingDataServiceServer).ListCandleData(ctx, in)
  3775  	}
  3776  	info := &grpc.UnaryServerInfo{
  3777  		Server:     srv,
  3778  		FullMethod: "/datanode.api.v2.TradingDataService/ListCandleData",
  3779  	}
  3780  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3781  		return srv.(TradingDataServiceServer).ListCandleData(ctx, req.(*ListCandleDataRequest))
  3782  	}
  3783  	return interceptor(ctx, in, info, handler)
  3784  }
  3785  
  3786  func _TradingDataService_ObserveCandleData_Handler(srv interface{}, stream grpc.ServerStream) error {
  3787  	m := new(ObserveCandleDataRequest)
  3788  	if err := stream.RecvMsg(m); err != nil {
  3789  		return err
  3790  	}
  3791  	return srv.(TradingDataServiceServer).ObserveCandleData(m, &tradingDataServiceObserveCandleDataServer{stream})
  3792  }
  3793  
  3794  type TradingDataService_ObserveCandleDataServer interface {
  3795  	Send(*ObserveCandleDataResponse) error
  3796  	grpc.ServerStream
  3797  }
  3798  
  3799  type tradingDataServiceObserveCandleDataServer struct {
  3800  	grpc.ServerStream
  3801  }
  3802  
  3803  func (x *tradingDataServiceObserveCandleDataServer) Send(m *ObserveCandleDataResponse) error {
  3804  	return x.ServerStream.SendMsg(m)
  3805  }
  3806  
  3807  func _TradingDataService_ListCandleIntervals_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3808  	in := new(ListCandleIntervalsRequest)
  3809  	if err := dec(in); err != nil {
  3810  		return nil, err
  3811  	}
  3812  	if interceptor == nil {
  3813  		return srv.(TradingDataServiceServer).ListCandleIntervals(ctx, in)
  3814  	}
  3815  	info := &grpc.UnaryServerInfo{
  3816  		Server:     srv,
  3817  		FullMethod: "/datanode.api.v2.TradingDataService/ListCandleIntervals",
  3818  	}
  3819  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3820  		return srv.(TradingDataServiceServer).ListCandleIntervals(ctx, req.(*ListCandleIntervalsRequest))
  3821  	}
  3822  	return interceptor(ctx, in, info, handler)
  3823  }
  3824  
  3825  func _TradingDataService_ListVotes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3826  	in := new(ListVotesRequest)
  3827  	if err := dec(in); err != nil {
  3828  		return nil, err
  3829  	}
  3830  	if interceptor == nil {
  3831  		return srv.(TradingDataServiceServer).ListVotes(ctx, in)
  3832  	}
  3833  	info := &grpc.UnaryServerInfo{
  3834  		Server:     srv,
  3835  		FullMethod: "/datanode.api.v2.TradingDataService/ListVotes",
  3836  	}
  3837  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3838  		return srv.(TradingDataServiceServer).ListVotes(ctx, req.(*ListVotesRequest))
  3839  	}
  3840  	return interceptor(ctx, in, info, handler)
  3841  }
  3842  
  3843  func _TradingDataService_ObserveVotes_Handler(srv interface{}, stream grpc.ServerStream) error {
  3844  	m := new(ObserveVotesRequest)
  3845  	if err := stream.RecvMsg(m); err != nil {
  3846  		return err
  3847  	}
  3848  	return srv.(TradingDataServiceServer).ObserveVotes(m, &tradingDataServiceObserveVotesServer{stream})
  3849  }
  3850  
  3851  type TradingDataService_ObserveVotesServer interface {
  3852  	Send(*ObserveVotesResponse) error
  3853  	grpc.ServerStream
  3854  }
  3855  
  3856  type tradingDataServiceObserveVotesServer struct {
  3857  	grpc.ServerStream
  3858  }
  3859  
  3860  func (x *tradingDataServiceObserveVotesServer) Send(m *ObserveVotesResponse) error {
  3861  	return x.ServerStream.SendMsg(m)
  3862  }
  3863  
  3864  func _TradingDataService_ListERC20MultiSigSignerAddedBundles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3865  	in := new(ListERC20MultiSigSignerAddedBundlesRequest)
  3866  	if err := dec(in); err != nil {
  3867  		return nil, err
  3868  	}
  3869  	if interceptor == nil {
  3870  		return srv.(TradingDataServiceServer).ListERC20MultiSigSignerAddedBundles(ctx, in)
  3871  	}
  3872  	info := &grpc.UnaryServerInfo{
  3873  		Server:     srv,
  3874  		FullMethod: "/datanode.api.v2.TradingDataService/ListERC20MultiSigSignerAddedBundles",
  3875  	}
  3876  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3877  		return srv.(TradingDataServiceServer).ListERC20MultiSigSignerAddedBundles(ctx, req.(*ListERC20MultiSigSignerAddedBundlesRequest))
  3878  	}
  3879  	return interceptor(ctx, in, info, handler)
  3880  }
  3881  
  3882  func _TradingDataService_ListERC20MultiSigSignerRemovedBundles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3883  	in := new(ListERC20MultiSigSignerRemovedBundlesRequest)
  3884  	if err := dec(in); err != nil {
  3885  		return nil, err
  3886  	}
  3887  	if interceptor == nil {
  3888  		return srv.(TradingDataServiceServer).ListERC20MultiSigSignerRemovedBundles(ctx, in)
  3889  	}
  3890  	info := &grpc.UnaryServerInfo{
  3891  		Server:     srv,
  3892  		FullMethod: "/datanode.api.v2.TradingDataService/ListERC20MultiSigSignerRemovedBundles",
  3893  	}
  3894  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3895  		return srv.(TradingDataServiceServer).ListERC20MultiSigSignerRemovedBundles(ctx, req.(*ListERC20MultiSigSignerRemovedBundlesRequest))
  3896  	}
  3897  	return interceptor(ctx, in, info, handler)
  3898  }
  3899  
  3900  func _TradingDataService_GetERC20ListAssetBundle_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3901  	in := new(GetERC20ListAssetBundleRequest)
  3902  	if err := dec(in); err != nil {
  3903  		return nil, err
  3904  	}
  3905  	if interceptor == nil {
  3906  		return srv.(TradingDataServiceServer).GetERC20ListAssetBundle(ctx, in)
  3907  	}
  3908  	info := &grpc.UnaryServerInfo{
  3909  		Server:     srv,
  3910  		FullMethod: "/datanode.api.v2.TradingDataService/GetERC20ListAssetBundle",
  3911  	}
  3912  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3913  		return srv.(TradingDataServiceServer).GetERC20ListAssetBundle(ctx, req.(*GetERC20ListAssetBundleRequest))
  3914  	}
  3915  	return interceptor(ctx, in, info, handler)
  3916  }
  3917  
  3918  func _TradingDataService_GetERC20SetAssetLimitsBundle_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3919  	in := new(GetERC20SetAssetLimitsBundleRequest)
  3920  	if err := dec(in); err != nil {
  3921  		return nil, err
  3922  	}
  3923  	if interceptor == nil {
  3924  		return srv.(TradingDataServiceServer).GetERC20SetAssetLimitsBundle(ctx, in)
  3925  	}
  3926  	info := &grpc.UnaryServerInfo{
  3927  		Server:     srv,
  3928  		FullMethod: "/datanode.api.v2.TradingDataService/GetERC20SetAssetLimitsBundle",
  3929  	}
  3930  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3931  		return srv.(TradingDataServiceServer).GetERC20SetAssetLimitsBundle(ctx, req.(*GetERC20SetAssetLimitsBundleRequest))
  3932  	}
  3933  	return interceptor(ctx, in, info, handler)
  3934  }
  3935  
  3936  func _TradingDataService_GetERC20WithdrawalApproval_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3937  	in := new(GetERC20WithdrawalApprovalRequest)
  3938  	if err := dec(in); err != nil {
  3939  		return nil, err
  3940  	}
  3941  	if interceptor == nil {
  3942  		return srv.(TradingDataServiceServer).GetERC20WithdrawalApproval(ctx, in)
  3943  	}
  3944  	info := &grpc.UnaryServerInfo{
  3945  		Server:     srv,
  3946  		FullMethod: "/datanode.api.v2.TradingDataService/GetERC20WithdrawalApproval",
  3947  	}
  3948  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3949  		return srv.(TradingDataServiceServer).GetERC20WithdrawalApproval(ctx, req.(*GetERC20WithdrawalApprovalRequest))
  3950  	}
  3951  	return interceptor(ctx, in, info, handler)
  3952  }
  3953  
  3954  func _TradingDataService_GetLastTrade_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3955  	in := new(GetLastTradeRequest)
  3956  	if err := dec(in); err != nil {
  3957  		return nil, err
  3958  	}
  3959  	if interceptor == nil {
  3960  		return srv.(TradingDataServiceServer).GetLastTrade(ctx, in)
  3961  	}
  3962  	info := &grpc.UnaryServerInfo{
  3963  		Server:     srv,
  3964  		FullMethod: "/datanode.api.v2.TradingDataService/GetLastTrade",
  3965  	}
  3966  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3967  		return srv.(TradingDataServiceServer).GetLastTrade(ctx, req.(*GetLastTradeRequest))
  3968  	}
  3969  	return interceptor(ctx, in, info, handler)
  3970  }
  3971  
  3972  func _TradingDataService_ListTrades_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3973  	in := new(ListTradesRequest)
  3974  	if err := dec(in); err != nil {
  3975  		return nil, err
  3976  	}
  3977  	if interceptor == nil {
  3978  		return srv.(TradingDataServiceServer).ListTrades(ctx, in)
  3979  	}
  3980  	info := &grpc.UnaryServerInfo{
  3981  		Server:     srv,
  3982  		FullMethod: "/datanode.api.v2.TradingDataService/ListTrades",
  3983  	}
  3984  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3985  		return srv.(TradingDataServiceServer).ListTrades(ctx, req.(*ListTradesRequest))
  3986  	}
  3987  	return interceptor(ctx, in, info, handler)
  3988  }
  3989  
  3990  func _TradingDataService_ObserveTrades_Handler(srv interface{}, stream grpc.ServerStream) error {
  3991  	m := new(ObserveTradesRequest)
  3992  	if err := stream.RecvMsg(m); err != nil {
  3993  		return err
  3994  	}
  3995  	return srv.(TradingDataServiceServer).ObserveTrades(m, &tradingDataServiceObserveTradesServer{stream})
  3996  }
  3997  
  3998  type TradingDataService_ObserveTradesServer interface {
  3999  	Send(*ObserveTradesResponse) error
  4000  	grpc.ServerStream
  4001  }
  4002  
  4003  type tradingDataServiceObserveTradesServer struct {
  4004  	grpc.ServerStream
  4005  }
  4006  
  4007  func (x *tradingDataServiceObserveTradesServer) Send(m *ObserveTradesResponse) error {
  4008  	return x.ServerStream.SendMsg(m)
  4009  }
  4010  
  4011  func _TradingDataService_GetOracleSpec_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4012  	in := new(GetOracleSpecRequest)
  4013  	if err := dec(in); err != nil {
  4014  		return nil, err
  4015  	}
  4016  	if interceptor == nil {
  4017  		return srv.(TradingDataServiceServer).GetOracleSpec(ctx, in)
  4018  	}
  4019  	info := &grpc.UnaryServerInfo{
  4020  		Server:     srv,
  4021  		FullMethod: "/datanode.api.v2.TradingDataService/GetOracleSpec",
  4022  	}
  4023  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4024  		return srv.(TradingDataServiceServer).GetOracleSpec(ctx, req.(*GetOracleSpecRequest))
  4025  	}
  4026  	return interceptor(ctx, in, info, handler)
  4027  }
  4028  
  4029  func _TradingDataService_ListOracleSpecs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4030  	in := new(ListOracleSpecsRequest)
  4031  	if err := dec(in); err != nil {
  4032  		return nil, err
  4033  	}
  4034  	if interceptor == nil {
  4035  		return srv.(TradingDataServiceServer).ListOracleSpecs(ctx, in)
  4036  	}
  4037  	info := &grpc.UnaryServerInfo{
  4038  		Server:     srv,
  4039  		FullMethod: "/datanode.api.v2.TradingDataService/ListOracleSpecs",
  4040  	}
  4041  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4042  		return srv.(TradingDataServiceServer).ListOracleSpecs(ctx, req.(*ListOracleSpecsRequest))
  4043  	}
  4044  	return interceptor(ctx, in, info, handler)
  4045  }
  4046  
  4047  func _TradingDataService_ListOracleData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4048  	in := new(ListOracleDataRequest)
  4049  	if err := dec(in); err != nil {
  4050  		return nil, err
  4051  	}
  4052  	if interceptor == nil {
  4053  		return srv.(TradingDataServiceServer).ListOracleData(ctx, in)
  4054  	}
  4055  	info := &grpc.UnaryServerInfo{
  4056  		Server:     srv,
  4057  		FullMethod: "/datanode.api.v2.TradingDataService/ListOracleData",
  4058  	}
  4059  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4060  		return srv.(TradingDataServiceServer).ListOracleData(ctx, req.(*ListOracleDataRequest))
  4061  	}
  4062  	return interceptor(ctx, in, info, handler)
  4063  }
  4064  
  4065  func _TradingDataService_GetMarket_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4066  	in := new(GetMarketRequest)
  4067  	if err := dec(in); err != nil {
  4068  		return nil, err
  4069  	}
  4070  	if interceptor == nil {
  4071  		return srv.(TradingDataServiceServer).GetMarket(ctx, in)
  4072  	}
  4073  	info := &grpc.UnaryServerInfo{
  4074  		Server:     srv,
  4075  		FullMethod: "/datanode.api.v2.TradingDataService/GetMarket",
  4076  	}
  4077  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4078  		return srv.(TradingDataServiceServer).GetMarket(ctx, req.(*GetMarketRequest))
  4079  	}
  4080  	return interceptor(ctx, in, info, handler)
  4081  }
  4082  
  4083  func _TradingDataService_ListMarkets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4084  	in := new(ListMarketsRequest)
  4085  	if err := dec(in); err != nil {
  4086  		return nil, err
  4087  	}
  4088  	if interceptor == nil {
  4089  		return srv.(TradingDataServiceServer).ListMarkets(ctx, in)
  4090  	}
  4091  	info := &grpc.UnaryServerInfo{
  4092  		Server:     srv,
  4093  		FullMethod: "/datanode.api.v2.TradingDataService/ListMarkets",
  4094  	}
  4095  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4096  		return srv.(TradingDataServiceServer).ListMarkets(ctx, req.(*ListMarketsRequest))
  4097  	}
  4098  	return interceptor(ctx, in, info, handler)
  4099  }
  4100  
  4101  func _TradingDataService_ListSuccessorMarkets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4102  	in := new(ListSuccessorMarketsRequest)
  4103  	if err := dec(in); err != nil {
  4104  		return nil, err
  4105  	}
  4106  	if interceptor == nil {
  4107  		return srv.(TradingDataServiceServer).ListSuccessorMarkets(ctx, in)
  4108  	}
  4109  	info := &grpc.UnaryServerInfo{
  4110  		Server:     srv,
  4111  		FullMethod: "/datanode.api.v2.TradingDataService/ListSuccessorMarkets",
  4112  	}
  4113  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4114  		return srv.(TradingDataServiceServer).ListSuccessorMarkets(ctx, req.(*ListSuccessorMarketsRequest))
  4115  	}
  4116  	return interceptor(ctx, in, info, handler)
  4117  }
  4118  
  4119  func _TradingDataService_GetParty_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4120  	in := new(GetPartyRequest)
  4121  	if err := dec(in); err != nil {
  4122  		return nil, err
  4123  	}
  4124  	if interceptor == nil {
  4125  		return srv.(TradingDataServiceServer).GetParty(ctx, in)
  4126  	}
  4127  	info := &grpc.UnaryServerInfo{
  4128  		Server:     srv,
  4129  		FullMethod: "/datanode.api.v2.TradingDataService/GetParty",
  4130  	}
  4131  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4132  		return srv.(TradingDataServiceServer).GetParty(ctx, req.(*GetPartyRequest))
  4133  	}
  4134  	return interceptor(ctx, in, info, handler)
  4135  }
  4136  
  4137  func _TradingDataService_ListParties_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4138  	in := new(ListPartiesRequest)
  4139  	if err := dec(in); err != nil {
  4140  		return nil, err
  4141  	}
  4142  	if interceptor == nil {
  4143  		return srv.(TradingDataServiceServer).ListParties(ctx, in)
  4144  	}
  4145  	info := &grpc.UnaryServerInfo{
  4146  		Server:     srv,
  4147  		FullMethod: "/datanode.api.v2.TradingDataService/ListParties",
  4148  	}
  4149  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4150  		return srv.(TradingDataServiceServer).ListParties(ctx, req.(*ListPartiesRequest))
  4151  	}
  4152  	return interceptor(ctx, in, info, handler)
  4153  }
  4154  
  4155  func _TradingDataService_ListPartiesProfiles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4156  	in := new(ListPartiesProfilesRequest)
  4157  	if err := dec(in); err != nil {
  4158  		return nil, err
  4159  	}
  4160  	if interceptor == nil {
  4161  		return srv.(TradingDataServiceServer).ListPartiesProfiles(ctx, in)
  4162  	}
  4163  	info := &grpc.UnaryServerInfo{
  4164  		Server:     srv,
  4165  		FullMethod: "/datanode.api.v2.TradingDataService/ListPartiesProfiles",
  4166  	}
  4167  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4168  		return srv.(TradingDataServiceServer).ListPartiesProfiles(ctx, req.(*ListPartiesProfilesRequest))
  4169  	}
  4170  	return interceptor(ctx, in, info, handler)
  4171  }
  4172  
  4173  func _TradingDataService_ListMarginLevels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4174  	in := new(ListMarginLevelsRequest)
  4175  	if err := dec(in); err != nil {
  4176  		return nil, err
  4177  	}
  4178  	if interceptor == nil {
  4179  		return srv.(TradingDataServiceServer).ListMarginLevels(ctx, in)
  4180  	}
  4181  	info := &grpc.UnaryServerInfo{
  4182  		Server:     srv,
  4183  		FullMethod: "/datanode.api.v2.TradingDataService/ListMarginLevels",
  4184  	}
  4185  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4186  		return srv.(TradingDataServiceServer).ListMarginLevels(ctx, req.(*ListMarginLevelsRequest))
  4187  	}
  4188  	return interceptor(ctx, in, info, handler)
  4189  }
  4190  
  4191  func _TradingDataService_ObserveMarginLevels_Handler(srv interface{}, stream grpc.ServerStream) error {
  4192  	m := new(ObserveMarginLevelsRequest)
  4193  	if err := stream.RecvMsg(m); err != nil {
  4194  		return err
  4195  	}
  4196  	return srv.(TradingDataServiceServer).ObserveMarginLevels(m, &tradingDataServiceObserveMarginLevelsServer{stream})
  4197  }
  4198  
  4199  type TradingDataService_ObserveMarginLevelsServer interface {
  4200  	Send(*ObserveMarginLevelsResponse) error
  4201  	grpc.ServerStream
  4202  }
  4203  
  4204  type tradingDataServiceObserveMarginLevelsServer struct {
  4205  	grpc.ServerStream
  4206  }
  4207  
  4208  func (x *tradingDataServiceObserveMarginLevelsServer) Send(m *ObserveMarginLevelsResponse) error {
  4209  	return x.ServerStream.SendMsg(m)
  4210  }
  4211  
  4212  func _TradingDataService_ListRewards_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4213  	in := new(ListRewardsRequest)
  4214  	if err := dec(in); err != nil {
  4215  		return nil, err
  4216  	}
  4217  	if interceptor == nil {
  4218  		return srv.(TradingDataServiceServer).ListRewards(ctx, in)
  4219  	}
  4220  	info := &grpc.UnaryServerInfo{
  4221  		Server:     srv,
  4222  		FullMethod: "/datanode.api.v2.TradingDataService/ListRewards",
  4223  	}
  4224  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4225  		return srv.(TradingDataServiceServer).ListRewards(ctx, req.(*ListRewardsRequest))
  4226  	}
  4227  	return interceptor(ctx, in, info, handler)
  4228  }
  4229  
  4230  func _TradingDataService_ListRewardSummaries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4231  	in := new(ListRewardSummariesRequest)
  4232  	if err := dec(in); err != nil {
  4233  		return nil, err
  4234  	}
  4235  	if interceptor == nil {
  4236  		return srv.(TradingDataServiceServer).ListRewardSummaries(ctx, in)
  4237  	}
  4238  	info := &grpc.UnaryServerInfo{
  4239  		Server:     srv,
  4240  		FullMethod: "/datanode.api.v2.TradingDataService/ListRewardSummaries",
  4241  	}
  4242  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4243  		return srv.(TradingDataServiceServer).ListRewardSummaries(ctx, req.(*ListRewardSummariesRequest))
  4244  	}
  4245  	return interceptor(ctx, in, info, handler)
  4246  }
  4247  
  4248  func _TradingDataService_ListEpochRewardSummaries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4249  	in := new(ListEpochRewardSummariesRequest)
  4250  	if err := dec(in); err != nil {
  4251  		return nil, err
  4252  	}
  4253  	if interceptor == nil {
  4254  		return srv.(TradingDataServiceServer).ListEpochRewardSummaries(ctx, in)
  4255  	}
  4256  	info := &grpc.UnaryServerInfo{
  4257  		Server:     srv,
  4258  		FullMethod: "/datanode.api.v2.TradingDataService/ListEpochRewardSummaries",
  4259  	}
  4260  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4261  		return srv.(TradingDataServiceServer).ListEpochRewardSummaries(ctx, req.(*ListEpochRewardSummariesRequest))
  4262  	}
  4263  	return interceptor(ctx, in, info, handler)
  4264  }
  4265  
  4266  func _TradingDataService_GetDeposit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4267  	in := new(GetDepositRequest)
  4268  	if err := dec(in); err != nil {
  4269  		return nil, err
  4270  	}
  4271  	if interceptor == nil {
  4272  		return srv.(TradingDataServiceServer).GetDeposit(ctx, in)
  4273  	}
  4274  	info := &grpc.UnaryServerInfo{
  4275  		Server:     srv,
  4276  		FullMethod: "/datanode.api.v2.TradingDataService/GetDeposit",
  4277  	}
  4278  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4279  		return srv.(TradingDataServiceServer).GetDeposit(ctx, req.(*GetDepositRequest))
  4280  	}
  4281  	return interceptor(ctx, in, info, handler)
  4282  }
  4283  
  4284  func _TradingDataService_ListDeposits_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4285  	in := new(ListDepositsRequest)
  4286  	if err := dec(in); err != nil {
  4287  		return nil, err
  4288  	}
  4289  	if interceptor == nil {
  4290  		return srv.(TradingDataServiceServer).ListDeposits(ctx, in)
  4291  	}
  4292  	info := &grpc.UnaryServerInfo{
  4293  		Server:     srv,
  4294  		FullMethod: "/datanode.api.v2.TradingDataService/ListDeposits",
  4295  	}
  4296  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4297  		return srv.(TradingDataServiceServer).ListDeposits(ctx, req.(*ListDepositsRequest))
  4298  	}
  4299  	return interceptor(ctx, in, info, handler)
  4300  }
  4301  
  4302  func _TradingDataService_GetWithdrawal_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4303  	in := new(GetWithdrawalRequest)
  4304  	if err := dec(in); err != nil {
  4305  		return nil, err
  4306  	}
  4307  	if interceptor == nil {
  4308  		return srv.(TradingDataServiceServer).GetWithdrawal(ctx, in)
  4309  	}
  4310  	info := &grpc.UnaryServerInfo{
  4311  		Server:     srv,
  4312  		FullMethod: "/datanode.api.v2.TradingDataService/GetWithdrawal",
  4313  	}
  4314  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4315  		return srv.(TradingDataServiceServer).GetWithdrawal(ctx, req.(*GetWithdrawalRequest))
  4316  	}
  4317  	return interceptor(ctx, in, info, handler)
  4318  }
  4319  
  4320  func _TradingDataService_ListWithdrawals_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4321  	in := new(ListWithdrawalsRequest)
  4322  	if err := dec(in); err != nil {
  4323  		return nil, err
  4324  	}
  4325  	if interceptor == nil {
  4326  		return srv.(TradingDataServiceServer).ListWithdrawals(ctx, in)
  4327  	}
  4328  	info := &grpc.UnaryServerInfo{
  4329  		Server:     srv,
  4330  		FullMethod: "/datanode.api.v2.TradingDataService/ListWithdrawals",
  4331  	}
  4332  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4333  		return srv.(TradingDataServiceServer).ListWithdrawals(ctx, req.(*ListWithdrawalsRequest))
  4334  	}
  4335  	return interceptor(ctx, in, info, handler)
  4336  }
  4337  
  4338  func _TradingDataService_GetAsset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4339  	in := new(GetAssetRequest)
  4340  	if err := dec(in); err != nil {
  4341  		return nil, err
  4342  	}
  4343  	if interceptor == nil {
  4344  		return srv.(TradingDataServiceServer).GetAsset(ctx, in)
  4345  	}
  4346  	info := &grpc.UnaryServerInfo{
  4347  		Server:     srv,
  4348  		FullMethod: "/datanode.api.v2.TradingDataService/GetAsset",
  4349  	}
  4350  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4351  		return srv.(TradingDataServiceServer).GetAsset(ctx, req.(*GetAssetRequest))
  4352  	}
  4353  	return interceptor(ctx, in, info, handler)
  4354  }
  4355  
  4356  func _TradingDataService_ListAssets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4357  	in := new(ListAssetsRequest)
  4358  	if err := dec(in); err != nil {
  4359  		return nil, err
  4360  	}
  4361  	if interceptor == nil {
  4362  		return srv.(TradingDataServiceServer).ListAssets(ctx, in)
  4363  	}
  4364  	info := &grpc.UnaryServerInfo{
  4365  		Server:     srv,
  4366  		FullMethod: "/datanode.api.v2.TradingDataService/ListAssets",
  4367  	}
  4368  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4369  		return srv.(TradingDataServiceServer).ListAssets(ctx, req.(*ListAssetsRequest))
  4370  	}
  4371  	return interceptor(ctx, in, info, handler)
  4372  }
  4373  
  4374  func _TradingDataService_ListLiquidityProvisions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4375  	in := new(ListLiquidityProvisionsRequest)
  4376  	if err := dec(in); err != nil {
  4377  		return nil, err
  4378  	}
  4379  	if interceptor == nil {
  4380  		return srv.(TradingDataServiceServer).ListLiquidityProvisions(ctx, in)
  4381  	}
  4382  	info := &grpc.UnaryServerInfo{
  4383  		Server:     srv,
  4384  		FullMethod: "/datanode.api.v2.TradingDataService/ListLiquidityProvisions",
  4385  	}
  4386  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4387  		return srv.(TradingDataServiceServer).ListLiquidityProvisions(ctx, req.(*ListLiquidityProvisionsRequest))
  4388  	}
  4389  	return interceptor(ctx, in, info, handler)
  4390  }
  4391  
  4392  func _TradingDataService_ListAllLiquidityProvisions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4393  	in := new(ListAllLiquidityProvisionsRequest)
  4394  	if err := dec(in); err != nil {
  4395  		return nil, err
  4396  	}
  4397  	if interceptor == nil {
  4398  		return srv.(TradingDataServiceServer).ListAllLiquidityProvisions(ctx, in)
  4399  	}
  4400  	info := &grpc.UnaryServerInfo{
  4401  		Server:     srv,
  4402  		FullMethod: "/datanode.api.v2.TradingDataService/ListAllLiquidityProvisions",
  4403  	}
  4404  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4405  		return srv.(TradingDataServiceServer).ListAllLiquidityProvisions(ctx, req.(*ListAllLiquidityProvisionsRequest))
  4406  	}
  4407  	return interceptor(ctx, in, info, handler)
  4408  }
  4409  
  4410  func _TradingDataService_ObserveLiquidityProvisions_Handler(srv interface{}, stream grpc.ServerStream) error {
  4411  	m := new(ObserveLiquidityProvisionsRequest)
  4412  	if err := stream.RecvMsg(m); err != nil {
  4413  		return err
  4414  	}
  4415  	return srv.(TradingDataServiceServer).ObserveLiquidityProvisions(m, &tradingDataServiceObserveLiquidityProvisionsServer{stream})
  4416  }
  4417  
  4418  type TradingDataService_ObserveLiquidityProvisionsServer interface {
  4419  	Send(*ObserveLiquidityProvisionsResponse) error
  4420  	grpc.ServerStream
  4421  }
  4422  
  4423  type tradingDataServiceObserveLiquidityProvisionsServer struct {
  4424  	grpc.ServerStream
  4425  }
  4426  
  4427  func (x *tradingDataServiceObserveLiquidityProvisionsServer) Send(m *ObserveLiquidityProvisionsResponse) error {
  4428  	return x.ServerStream.SendMsg(m)
  4429  }
  4430  
  4431  func _TradingDataService_ListLiquidityProviders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4432  	in := new(ListLiquidityProvidersRequest)
  4433  	if err := dec(in); err != nil {
  4434  		return nil, err
  4435  	}
  4436  	if interceptor == nil {
  4437  		return srv.(TradingDataServiceServer).ListLiquidityProviders(ctx, in)
  4438  	}
  4439  	info := &grpc.UnaryServerInfo{
  4440  		Server:     srv,
  4441  		FullMethod: "/datanode.api.v2.TradingDataService/ListLiquidityProviders",
  4442  	}
  4443  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4444  		return srv.(TradingDataServiceServer).ListLiquidityProviders(ctx, req.(*ListLiquidityProvidersRequest))
  4445  	}
  4446  	return interceptor(ctx, in, info, handler)
  4447  }
  4448  
  4449  func _TradingDataService_ListPaidLiquidityFees_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4450  	in := new(ListPaidLiquidityFeesRequest)
  4451  	if err := dec(in); err != nil {
  4452  		return nil, err
  4453  	}
  4454  	if interceptor == nil {
  4455  		return srv.(TradingDataServiceServer).ListPaidLiquidityFees(ctx, in)
  4456  	}
  4457  	info := &grpc.UnaryServerInfo{
  4458  		Server:     srv,
  4459  		FullMethod: "/datanode.api.v2.TradingDataService/ListPaidLiquidityFees",
  4460  	}
  4461  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4462  		return srv.(TradingDataServiceServer).ListPaidLiquidityFees(ctx, req.(*ListPaidLiquidityFeesRequest))
  4463  	}
  4464  	return interceptor(ctx, in, info, handler)
  4465  }
  4466  
  4467  func _TradingDataService_GetGovernanceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4468  	in := new(GetGovernanceDataRequest)
  4469  	if err := dec(in); err != nil {
  4470  		return nil, err
  4471  	}
  4472  	if interceptor == nil {
  4473  		return srv.(TradingDataServiceServer).GetGovernanceData(ctx, in)
  4474  	}
  4475  	info := &grpc.UnaryServerInfo{
  4476  		Server:     srv,
  4477  		FullMethod: "/datanode.api.v2.TradingDataService/GetGovernanceData",
  4478  	}
  4479  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4480  		return srv.(TradingDataServiceServer).GetGovernanceData(ctx, req.(*GetGovernanceDataRequest))
  4481  	}
  4482  	return interceptor(ctx, in, info, handler)
  4483  }
  4484  
  4485  func _TradingDataService_ListGovernanceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4486  	in := new(ListGovernanceDataRequest)
  4487  	if err := dec(in); err != nil {
  4488  		return nil, err
  4489  	}
  4490  	if interceptor == nil {
  4491  		return srv.(TradingDataServiceServer).ListGovernanceData(ctx, in)
  4492  	}
  4493  	info := &grpc.UnaryServerInfo{
  4494  		Server:     srv,
  4495  		FullMethod: "/datanode.api.v2.TradingDataService/ListGovernanceData",
  4496  	}
  4497  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4498  		return srv.(TradingDataServiceServer).ListGovernanceData(ctx, req.(*ListGovernanceDataRequest))
  4499  	}
  4500  	return interceptor(ctx, in, info, handler)
  4501  }
  4502  
  4503  func _TradingDataService_ObserveGovernance_Handler(srv interface{}, stream grpc.ServerStream) error {
  4504  	m := new(ObserveGovernanceRequest)
  4505  	if err := stream.RecvMsg(m); err != nil {
  4506  		return err
  4507  	}
  4508  	return srv.(TradingDataServiceServer).ObserveGovernance(m, &tradingDataServiceObserveGovernanceServer{stream})
  4509  }
  4510  
  4511  type TradingDataService_ObserveGovernanceServer interface {
  4512  	Send(*ObserveGovernanceResponse) error
  4513  	grpc.ServerStream
  4514  }
  4515  
  4516  type tradingDataServiceObserveGovernanceServer struct {
  4517  	grpc.ServerStream
  4518  }
  4519  
  4520  func (x *tradingDataServiceObserveGovernanceServer) Send(m *ObserveGovernanceResponse) error {
  4521  	return x.ServerStream.SendMsg(m)
  4522  }
  4523  
  4524  func _TradingDataService_ListDelegations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4525  	in := new(ListDelegationsRequest)
  4526  	if err := dec(in); err != nil {
  4527  		return nil, err
  4528  	}
  4529  	if interceptor == nil {
  4530  		return srv.(TradingDataServiceServer).ListDelegations(ctx, in)
  4531  	}
  4532  	info := &grpc.UnaryServerInfo{
  4533  		Server:     srv,
  4534  		FullMethod: "/datanode.api.v2.TradingDataService/ListDelegations",
  4535  	}
  4536  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4537  		return srv.(TradingDataServiceServer).ListDelegations(ctx, req.(*ListDelegationsRequest))
  4538  	}
  4539  	return interceptor(ctx, in, info, handler)
  4540  }
  4541  
  4542  func _TradingDataService_GetNetworkData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4543  	in := new(GetNetworkDataRequest)
  4544  	if err := dec(in); err != nil {
  4545  		return nil, err
  4546  	}
  4547  	if interceptor == nil {
  4548  		return srv.(TradingDataServiceServer).GetNetworkData(ctx, in)
  4549  	}
  4550  	info := &grpc.UnaryServerInfo{
  4551  		Server:     srv,
  4552  		FullMethod: "/datanode.api.v2.TradingDataService/GetNetworkData",
  4553  	}
  4554  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4555  		return srv.(TradingDataServiceServer).GetNetworkData(ctx, req.(*GetNetworkDataRequest))
  4556  	}
  4557  	return interceptor(ctx, in, info, handler)
  4558  }
  4559  
  4560  func _TradingDataService_GetNode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4561  	in := new(GetNodeRequest)
  4562  	if err := dec(in); err != nil {
  4563  		return nil, err
  4564  	}
  4565  	if interceptor == nil {
  4566  		return srv.(TradingDataServiceServer).GetNode(ctx, in)
  4567  	}
  4568  	info := &grpc.UnaryServerInfo{
  4569  		Server:     srv,
  4570  		FullMethod: "/datanode.api.v2.TradingDataService/GetNode",
  4571  	}
  4572  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4573  		return srv.(TradingDataServiceServer).GetNode(ctx, req.(*GetNodeRequest))
  4574  	}
  4575  	return interceptor(ctx, in, info, handler)
  4576  }
  4577  
  4578  func _TradingDataService_ListNodes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4579  	in := new(ListNodesRequest)
  4580  	if err := dec(in); err != nil {
  4581  		return nil, err
  4582  	}
  4583  	if interceptor == nil {
  4584  		return srv.(TradingDataServiceServer).ListNodes(ctx, in)
  4585  	}
  4586  	info := &grpc.UnaryServerInfo{
  4587  		Server:     srv,
  4588  		FullMethod: "/datanode.api.v2.TradingDataService/ListNodes",
  4589  	}
  4590  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4591  		return srv.(TradingDataServiceServer).ListNodes(ctx, req.(*ListNodesRequest))
  4592  	}
  4593  	return interceptor(ctx, in, info, handler)
  4594  }
  4595  
  4596  func _TradingDataService_ListNodeSignatures_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4597  	in := new(ListNodeSignaturesRequest)
  4598  	if err := dec(in); err != nil {
  4599  		return nil, err
  4600  	}
  4601  	if interceptor == nil {
  4602  		return srv.(TradingDataServiceServer).ListNodeSignatures(ctx, in)
  4603  	}
  4604  	info := &grpc.UnaryServerInfo{
  4605  		Server:     srv,
  4606  		FullMethod: "/datanode.api.v2.TradingDataService/ListNodeSignatures",
  4607  	}
  4608  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4609  		return srv.(TradingDataServiceServer).ListNodeSignatures(ctx, req.(*ListNodeSignaturesRequest))
  4610  	}
  4611  	return interceptor(ctx, in, info, handler)
  4612  }
  4613  
  4614  func _TradingDataService_GetEpoch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4615  	in := new(GetEpochRequest)
  4616  	if err := dec(in); err != nil {
  4617  		return nil, err
  4618  	}
  4619  	if interceptor == nil {
  4620  		return srv.(TradingDataServiceServer).GetEpoch(ctx, in)
  4621  	}
  4622  	info := &grpc.UnaryServerInfo{
  4623  		Server:     srv,
  4624  		FullMethod: "/datanode.api.v2.TradingDataService/GetEpoch",
  4625  	}
  4626  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4627  		return srv.(TradingDataServiceServer).GetEpoch(ctx, req.(*GetEpochRequest))
  4628  	}
  4629  	return interceptor(ctx, in, info, handler)
  4630  }
  4631  
  4632  func _TradingDataService_EstimateFee_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4633  	in := new(EstimateFeeRequest)
  4634  	if err := dec(in); err != nil {
  4635  		return nil, err
  4636  	}
  4637  	if interceptor == nil {
  4638  		return srv.(TradingDataServiceServer).EstimateFee(ctx, in)
  4639  	}
  4640  	info := &grpc.UnaryServerInfo{
  4641  		Server:     srv,
  4642  		FullMethod: "/datanode.api.v2.TradingDataService/EstimateFee",
  4643  	}
  4644  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4645  		return srv.(TradingDataServiceServer).EstimateFee(ctx, req.(*EstimateFeeRequest))
  4646  	}
  4647  	return interceptor(ctx, in, info, handler)
  4648  }
  4649  
  4650  func _TradingDataService_EstimateMargin_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4651  	in := new(EstimateMarginRequest)
  4652  	if err := dec(in); err != nil {
  4653  		return nil, err
  4654  	}
  4655  	if interceptor == nil {
  4656  		return srv.(TradingDataServiceServer).EstimateMargin(ctx, in)
  4657  	}
  4658  	info := &grpc.UnaryServerInfo{
  4659  		Server:     srv,
  4660  		FullMethod: "/datanode.api.v2.TradingDataService/EstimateMargin",
  4661  	}
  4662  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4663  		return srv.(TradingDataServiceServer).EstimateMargin(ctx, req.(*EstimateMarginRequest))
  4664  	}
  4665  	return interceptor(ctx, in, info, handler)
  4666  }
  4667  
  4668  func _TradingDataService_EstimatePosition_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4669  	in := new(EstimatePositionRequest)
  4670  	if err := dec(in); err != nil {
  4671  		return nil, err
  4672  	}
  4673  	if interceptor == nil {
  4674  		return srv.(TradingDataServiceServer).EstimatePosition(ctx, in)
  4675  	}
  4676  	info := &grpc.UnaryServerInfo{
  4677  		Server:     srv,
  4678  		FullMethod: "/datanode.api.v2.TradingDataService/EstimatePosition",
  4679  	}
  4680  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4681  		return srv.(TradingDataServiceServer).EstimatePosition(ctx, req.(*EstimatePositionRequest))
  4682  	}
  4683  	return interceptor(ctx, in, info, handler)
  4684  }
  4685  
  4686  func _TradingDataService_ListNetworkParameters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4687  	in := new(ListNetworkParametersRequest)
  4688  	if err := dec(in); err != nil {
  4689  		return nil, err
  4690  	}
  4691  	if interceptor == nil {
  4692  		return srv.(TradingDataServiceServer).ListNetworkParameters(ctx, in)
  4693  	}
  4694  	info := &grpc.UnaryServerInfo{
  4695  		Server:     srv,
  4696  		FullMethod: "/datanode.api.v2.TradingDataService/ListNetworkParameters",
  4697  	}
  4698  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4699  		return srv.(TradingDataServiceServer).ListNetworkParameters(ctx, req.(*ListNetworkParametersRequest))
  4700  	}
  4701  	return interceptor(ctx, in, info, handler)
  4702  }
  4703  
  4704  func _TradingDataService_GetNetworkParameter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4705  	in := new(GetNetworkParameterRequest)
  4706  	if err := dec(in); err != nil {
  4707  		return nil, err
  4708  	}
  4709  	if interceptor == nil {
  4710  		return srv.(TradingDataServiceServer).GetNetworkParameter(ctx, in)
  4711  	}
  4712  	info := &grpc.UnaryServerInfo{
  4713  		Server:     srv,
  4714  		FullMethod: "/datanode.api.v2.TradingDataService/GetNetworkParameter",
  4715  	}
  4716  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4717  		return srv.(TradingDataServiceServer).GetNetworkParameter(ctx, req.(*GetNetworkParameterRequest))
  4718  	}
  4719  	return interceptor(ctx, in, info, handler)
  4720  }
  4721  
  4722  func _TradingDataService_ListCheckpoints_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4723  	in := new(ListCheckpointsRequest)
  4724  	if err := dec(in); err != nil {
  4725  		return nil, err
  4726  	}
  4727  	if interceptor == nil {
  4728  		return srv.(TradingDataServiceServer).ListCheckpoints(ctx, in)
  4729  	}
  4730  	info := &grpc.UnaryServerInfo{
  4731  		Server:     srv,
  4732  		FullMethod: "/datanode.api.v2.TradingDataService/ListCheckpoints",
  4733  	}
  4734  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4735  		return srv.(TradingDataServiceServer).ListCheckpoints(ctx, req.(*ListCheckpointsRequest))
  4736  	}
  4737  	return interceptor(ctx, in, info, handler)
  4738  }
  4739  
  4740  func _TradingDataService_GetStake_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4741  	in := new(GetStakeRequest)
  4742  	if err := dec(in); err != nil {
  4743  		return nil, err
  4744  	}
  4745  	if interceptor == nil {
  4746  		return srv.(TradingDataServiceServer).GetStake(ctx, in)
  4747  	}
  4748  	info := &grpc.UnaryServerInfo{
  4749  		Server:     srv,
  4750  		FullMethod: "/datanode.api.v2.TradingDataService/GetStake",
  4751  	}
  4752  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4753  		return srv.(TradingDataServiceServer).GetStake(ctx, req.(*GetStakeRequest))
  4754  	}
  4755  	return interceptor(ctx, in, info, handler)
  4756  }
  4757  
  4758  func _TradingDataService_GetRiskFactors_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4759  	in := new(GetRiskFactorsRequest)
  4760  	if err := dec(in); err != nil {
  4761  		return nil, err
  4762  	}
  4763  	if interceptor == nil {
  4764  		return srv.(TradingDataServiceServer).GetRiskFactors(ctx, in)
  4765  	}
  4766  	info := &grpc.UnaryServerInfo{
  4767  		Server:     srv,
  4768  		FullMethod: "/datanode.api.v2.TradingDataService/GetRiskFactors",
  4769  	}
  4770  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4771  		return srv.(TradingDataServiceServer).GetRiskFactors(ctx, req.(*GetRiskFactorsRequest))
  4772  	}
  4773  	return interceptor(ctx, in, info, handler)
  4774  }
  4775  
  4776  func _TradingDataService_ObserveEventBus_Handler(srv interface{}, stream grpc.ServerStream) error {
  4777  	return srv.(TradingDataServiceServer).ObserveEventBus(&tradingDataServiceObserveEventBusServer{stream})
  4778  }
  4779  
  4780  type TradingDataService_ObserveEventBusServer interface {
  4781  	Send(*ObserveEventBusResponse) error
  4782  	Recv() (*ObserveEventBusRequest, error)
  4783  	grpc.ServerStream
  4784  }
  4785  
  4786  type tradingDataServiceObserveEventBusServer struct {
  4787  	grpc.ServerStream
  4788  }
  4789  
  4790  func (x *tradingDataServiceObserveEventBusServer) Send(m *ObserveEventBusResponse) error {
  4791  	return x.ServerStream.SendMsg(m)
  4792  }
  4793  
  4794  func (x *tradingDataServiceObserveEventBusServer) Recv() (*ObserveEventBusRequest, error) {
  4795  	m := new(ObserveEventBusRequest)
  4796  	if err := x.ServerStream.RecvMsg(m); err != nil {
  4797  		return nil, err
  4798  	}
  4799  	return m, nil
  4800  }
  4801  
  4802  func _TradingDataService_ObserveLedgerMovements_Handler(srv interface{}, stream grpc.ServerStream) error {
  4803  	m := new(ObserveLedgerMovementsRequest)
  4804  	if err := stream.RecvMsg(m); err != nil {
  4805  		return err
  4806  	}
  4807  	return srv.(TradingDataServiceServer).ObserveLedgerMovements(m, &tradingDataServiceObserveLedgerMovementsServer{stream})
  4808  }
  4809  
  4810  type TradingDataService_ObserveLedgerMovementsServer interface {
  4811  	Send(*ObserveLedgerMovementsResponse) error
  4812  	grpc.ServerStream
  4813  }
  4814  
  4815  type tradingDataServiceObserveLedgerMovementsServer struct {
  4816  	grpc.ServerStream
  4817  }
  4818  
  4819  func (x *tradingDataServiceObserveLedgerMovementsServer) Send(m *ObserveLedgerMovementsResponse) error {
  4820  	return x.ServerStream.SendMsg(m)
  4821  }
  4822  
  4823  func _TradingDataService_ListKeyRotations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4824  	in := new(ListKeyRotationsRequest)
  4825  	if err := dec(in); err != nil {
  4826  		return nil, err
  4827  	}
  4828  	if interceptor == nil {
  4829  		return srv.(TradingDataServiceServer).ListKeyRotations(ctx, in)
  4830  	}
  4831  	info := &grpc.UnaryServerInfo{
  4832  		Server:     srv,
  4833  		FullMethod: "/datanode.api.v2.TradingDataService/ListKeyRotations",
  4834  	}
  4835  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4836  		return srv.(TradingDataServiceServer).ListKeyRotations(ctx, req.(*ListKeyRotationsRequest))
  4837  	}
  4838  	return interceptor(ctx, in, info, handler)
  4839  }
  4840  
  4841  func _TradingDataService_ListEthereumKeyRotations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4842  	in := new(ListEthereumKeyRotationsRequest)
  4843  	if err := dec(in); err != nil {
  4844  		return nil, err
  4845  	}
  4846  	if interceptor == nil {
  4847  		return srv.(TradingDataServiceServer).ListEthereumKeyRotations(ctx, in)
  4848  	}
  4849  	info := &grpc.UnaryServerInfo{
  4850  		Server:     srv,
  4851  		FullMethod: "/datanode.api.v2.TradingDataService/ListEthereumKeyRotations",
  4852  	}
  4853  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4854  		return srv.(TradingDataServiceServer).ListEthereumKeyRotations(ctx, req.(*ListEthereumKeyRotationsRequest))
  4855  	}
  4856  	return interceptor(ctx, in, info, handler)
  4857  }
  4858  
  4859  func _TradingDataService_GetVegaTime_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4860  	in := new(GetVegaTimeRequest)
  4861  	if err := dec(in); err != nil {
  4862  		return nil, err
  4863  	}
  4864  	if interceptor == nil {
  4865  		return srv.(TradingDataServiceServer).GetVegaTime(ctx, in)
  4866  	}
  4867  	info := &grpc.UnaryServerInfo{
  4868  		Server:     srv,
  4869  		FullMethod: "/datanode.api.v2.TradingDataService/GetVegaTime",
  4870  	}
  4871  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4872  		return srv.(TradingDataServiceServer).GetVegaTime(ctx, req.(*GetVegaTimeRequest))
  4873  	}
  4874  	return interceptor(ctx, in, info, handler)
  4875  }
  4876  
  4877  func _TradingDataService_GetProtocolUpgradeStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4878  	in := new(GetProtocolUpgradeStatusRequest)
  4879  	if err := dec(in); err != nil {
  4880  		return nil, err
  4881  	}
  4882  	if interceptor == nil {
  4883  		return srv.(TradingDataServiceServer).GetProtocolUpgradeStatus(ctx, in)
  4884  	}
  4885  	info := &grpc.UnaryServerInfo{
  4886  		Server:     srv,
  4887  		FullMethod: "/datanode.api.v2.TradingDataService/GetProtocolUpgradeStatus",
  4888  	}
  4889  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4890  		return srv.(TradingDataServiceServer).GetProtocolUpgradeStatus(ctx, req.(*GetProtocolUpgradeStatusRequest))
  4891  	}
  4892  	return interceptor(ctx, in, info, handler)
  4893  }
  4894  
  4895  func _TradingDataService_ListProtocolUpgradeProposals_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4896  	in := new(ListProtocolUpgradeProposalsRequest)
  4897  	if err := dec(in); err != nil {
  4898  		return nil, err
  4899  	}
  4900  	if interceptor == nil {
  4901  		return srv.(TradingDataServiceServer).ListProtocolUpgradeProposals(ctx, in)
  4902  	}
  4903  	info := &grpc.UnaryServerInfo{
  4904  		Server:     srv,
  4905  		FullMethod: "/datanode.api.v2.TradingDataService/ListProtocolUpgradeProposals",
  4906  	}
  4907  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4908  		return srv.(TradingDataServiceServer).ListProtocolUpgradeProposals(ctx, req.(*ListProtocolUpgradeProposalsRequest))
  4909  	}
  4910  	return interceptor(ctx, in, info, handler)
  4911  }
  4912  
  4913  func _TradingDataService_ListCoreSnapshots_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4914  	in := new(ListCoreSnapshotsRequest)
  4915  	if err := dec(in); err != nil {
  4916  		return nil, err
  4917  	}
  4918  	if interceptor == nil {
  4919  		return srv.(TradingDataServiceServer).ListCoreSnapshots(ctx, in)
  4920  	}
  4921  	info := &grpc.UnaryServerInfo{
  4922  		Server:     srv,
  4923  		FullMethod: "/datanode.api.v2.TradingDataService/ListCoreSnapshots",
  4924  	}
  4925  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4926  		return srv.(TradingDataServiceServer).ListCoreSnapshots(ctx, req.(*ListCoreSnapshotsRequest))
  4927  	}
  4928  	return interceptor(ctx, in, info, handler)
  4929  }
  4930  
  4931  func _TradingDataService_GetMostRecentNetworkHistorySegment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4932  	in := new(GetMostRecentNetworkHistorySegmentRequest)
  4933  	if err := dec(in); err != nil {
  4934  		return nil, err
  4935  	}
  4936  	if interceptor == nil {
  4937  		return srv.(TradingDataServiceServer).GetMostRecentNetworkHistorySegment(ctx, in)
  4938  	}
  4939  	info := &grpc.UnaryServerInfo{
  4940  		Server:     srv,
  4941  		FullMethod: "/datanode.api.v2.TradingDataService/GetMostRecentNetworkHistorySegment",
  4942  	}
  4943  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4944  		return srv.(TradingDataServiceServer).GetMostRecentNetworkHistorySegment(ctx, req.(*GetMostRecentNetworkHistorySegmentRequest))
  4945  	}
  4946  	return interceptor(ctx, in, info, handler)
  4947  }
  4948  
  4949  func _TradingDataService_ListAllNetworkHistorySegments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4950  	in := new(ListAllNetworkHistorySegmentsRequest)
  4951  	if err := dec(in); err != nil {
  4952  		return nil, err
  4953  	}
  4954  	if interceptor == nil {
  4955  		return srv.(TradingDataServiceServer).ListAllNetworkHistorySegments(ctx, in)
  4956  	}
  4957  	info := &grpc.UnaryServerInfo{
  4958  		Server:     srv,
  4959  		FullMethod: "/datanode.api.v2.TradingDataService/ListAllNetworkHistorySegments",
  4960  	}
  4961  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4962  		return srv.(TradingDataServiceServer).ListAllNetworkHistorySegments(ctx, req.(*ListAllNetworkHistorySegmentsRequest))
  4963  	}
  4964  	return interceptor(ctx, in, info, handler)
  4965  }
  4966  
  4967  func _TradingDataService_GetActiveNetworkHistoryPeerAddresses_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4968  	in := new(GetActiveNetworkHistoryPeerAddressesRequest)
  4969  	if err := dec(in); err != nil {
  4970  		return nil, err
  4971  	}
  4972  	if interceptor == nil {
  4973  		return srv.(TradingDataServiceServer).GetActiveNetworkHistoryPeerAddresses(ctx, in)
  4974  	}
  4975  	info := &grpc.UnaryServerInfo{
  4976  		Server:     srv,
  4977  		FullMethod: "/datanode.api.v2.TradingDataService/GetActiveNetworkHistoryPeerAddresses",
  4978  	}
  4979  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4980  		return srv.(TradingDataServiceServer).GetActiveNetworkHistoryPeerAddresses(ctx, req.(*GetActiveNetworkHistoryPeerAddressesRequest))
  4981  	}
  4982  	return interceptor(ctx, in, info, handler)
  4983  }
  4984  
  4985  func _TradingDataService_GetNetworkHistoryStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4986  	in := new(GetNetworkHistoryStatusRequest)
  4987  	if err := dec(in); err != nil {
  4988  		return nil, err
  4989  	}
  4990  	if interceptor == nil {
  4991  		return srv.(TradingDataServiceServer).GetNetworkHistoryStatus(ctx, in)
  4992  	}
  4993  	info := &grpc.UnaryServerInfo{
  4994  		Server:     srv,
  4995  		FullMethod: "/datanode.api.v2.TradingDataService/GetNetworkHistoryStatus",
  4996  	}
  4997  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4998  		return srv.(TradingDataServiceServer).GetNetworkHistoryStatus(ctx, req.(*GetNetworkHistoryStatusRequest))
  4999  	}
  5000  	return interceptor(ctx, in, info, handler)
  5001  }
  5002  
  5003  func _TradingDataService_GetNetworkHistoryBootstrapPeers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5004  	in := new(GetNetworkHistoryBootstrapPeersRequest)
  5005  	if err := dec(in); err != nil {
  5006  		return nil, err
  5007  	}
  5008  	if interceptor == nil {
  5009  		return srv.(TradingDataServiceServer).GetNetworkHistoryBootstrapPeers(ctx, in)
  5010  	}
  5011  	info := &grpc.UnaryServerInfo{
  5012  		Server:     srv,
  5013  		FullMethod: "/datanode.api.v2.TradingDataService/GetNetworkHistoryBootstrapPeers",
  5014  	}
  5015  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5016  		return srv.(TradingDataServiceServer).GetNetworkHistoryBootstrapPeers(ctx, req.(*GetNetworkHistoryBootstrapPeersRequest))
  5017  	}
  5018  	return interceptor(ctx, in, info, handler)
  5019  }
  5020  
  5021  func _TradingDataService_ListEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5022  	in := new(ListEntitiesRequest)
  5023  	if err := dec(in); err != nil {
  5024  		return nil, err
  5025  	}
  5026  	if interceptor == nil {
  5027  		return srv.(TradingDataServiceServer).ListEntities(ctx, in)
  5028  	}
  5029  	info := &grpc.UnaryServerInfo{
  5030  		Server:     srv,
  5031  		FullMethod: "/datanode.api.v2.TradingDataService/ListEntities",
  5032  	}
  5033  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5034  		return srv.(TradingDataServiceServer).ListEntities(ctx, req.(*ListEntitiesRequest))
  5035  	}
  5036  	return interceptor(ctx, in, info, handler)
  5037  }
  5038  
  5039  func _TradingDataService_ListFundingPeriods_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5040  	in := new(ListFundingPeriodsRequest)
  5041  	if err := dec(in); err != nil {
  5042  		return nil, err
  5043  	}
  5044  	if interceptor == nil {
  5045  		return srv.(TradingDataServiceServer).ListFundingPeriods(ctx, in)
  5046  	}
  5047  	info := &grpc.UnaryServerInfo{
  5048  		Server:     srv,
  5049  		FullMethod: "/datanode.api.v2.TradingDataService/ListFundingPeriods",
  5050  	}
  5051  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5052  		return srv.(TradingDataServiceServer).ListFundingPeriods(ctx, req.(*ListFundingPeriodsRequest))
  5053  	}
  5054  	return interceptor(ctx, in, info, handler)
  5055  }
  5056  
  5057  func _TradingDataService_ListFundingPeriodDataPoints_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5058  	in := new(ListFundingPeriodDataPointsRequest)
  5059  	if err := dec(in); err != nil {
  5060  		return nil, err
  5061  	}
  5062  	if interceptor == nil {
  5063  		return srv.(TradingDataServiceServer).ListFundingPeriodDataPoints(ctx, in)
  5064  	}
  5065  	info := &grpc.UnaryServerInfo{
  5066  		Server:     srv,
  5067  		FullMethod: "/datanode.api.v2.TradingDataService/ListFundingPeriodDataPoints",
  5068  	}
  5069  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5070  		return srv.(TradingDataServiceServer).ListFundingPeriodDataPoints(ctx, req.(*ListFundingPeriodDataPointsRequest))
  5071  	}
  5072  	return interceptor(ctx, in, info, handler)
  5073  }
  5074  
  5075  func _TradingDataService_ListFundingPayments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5076  	in := new(ListFundingPaymentsRequest)
  5077  	if err := dec(in); err != nil {
  5078  		return nil, err
  5079  	}
  5080  	if interceptor == nil {
  5081  		return srv.(TradingDataServiceServer).ListFundingPayments(ctx, in)
  5082  	}
  5083  	info := &grpc.UnaryServerInfo{
  5084  		Server:     srv,
  5085  		FullMethod: "/datanode.api.v2.TradingDataService/ListFundingPayments",
  5086  	}
  5087  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5088  		return srv.(TradingDataServiceServer).ListFundingPayments(ctx, req.(*ListFundingPaymentsRequest))
  5089  	}
  5090  	return interceptor(ctx, in, info, handler)
  5091  }
  5092  
  5093  func _TradingDataService_GetPartyActivityStreak_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5094  	in := new(GetPartyActivityStreakRequest)
  5095  	if err := dec(in); err != nil {
  5096  		return nil, err
  5097  	}
  5098  	if interceptor == nil {
  5099  		return srv.(TradingDataServiceServer).GetPartyActivityStreak(ctx, in)
  5100  	}
  5101  	info := &grpc.UnaryServerInfo{
  5102  		Server:     srv,
  5103  		FullMethod: "/datanode.api.v2.TradingDataService/GetPartyActivityStreak",
  5104  	}
  5105  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5106  		return srv.(TradingDataServiceServer).GetPartyActivityStreak(ctx, req.(*GetPartyActivityStreakRequest))
  5107  	}
  5108  	return interceptor(ctx, in, info, handler)
  5109  }
  5110  
  5111  func _TradingDataService_GetCurrentReferralProgram_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5112  	in := new(GetCurrentReferralProgramRequest)
  5113  	if err := dec(in); err != nil {
  5114  		return nil, err
  5115  	}
  5116  	if interceptor == nil {
  5117  		return srv.(TradingDataServiceServer).GetCurrentReferralProgram(ctx, in)
  5118  	}
  5119  	info := &grpc.UnaryServerInfo{
  5120  		Server:     srv,
  5121  		FullMethod: "/datanode.api.v2.TradingDataService/GetCurrentReferralProgram",
  5122  	}
  5123  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5124  		return srv.(TradingDataServiceServer).GetCurrentReferralProgram(ctx, req.(*GetCurrentReferralProgramRequest))
  5125  	}
  5126  	return interceptor(ctx, in, info, handler)
  5127  }
  5128  
  5129  func _TradingDataService_ListReferralSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5130  	in := new(ListReferralSetsRequest)
  5131  	if err := dec(in); err != nil {
  5132  		return nil, err
  5133  	}
  5134  	if interceptor == nil {
  5135  		return srv.(TradingDataServiceServer).ListReferralSets(ctx, in)
  5136  	}
  5137  	info := &grpc.UnaryServerInfo{
  5138  		Server:     srv,
  5139  		FullMethod: "/datanode.api.v2.TradingDataService/ListReferralSets",
  5140  	}
  5141  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5142  		return srv.(TradingDataServiceServer).ListReferralSets(ctx, req.(*ListReferralSetsRequest))
  5143  	}
  5144  	return interceptor(ctx, in, info, handler)
  5145  }
  5146  
  5147  func _TradingDataService_ListReferralSetReferees_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5148  	in := new(ListReferralSetRefereesRequest)
  5149  	if err := dec(in); err != nil {
  5150  		return nil, err
  5151  	}
  5152  	if interceptor == nil {
  5153  		return srv.(TradingDataServiceServer).ListReferralSetReferees(ctx, in)
  5154  	}
  5155  	info := &grpc.UnaryServerInfo{
  5156  		Server:     srv,
  5157  		FullMethod: "/datanode.api.v2.TradingDataService/ListReferralSetReferees",
  5158  	}
  5159  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5160  		return srv.(TradingDataServiceServer).ListReferralSetReferees(ctx, req.(*ListReferralSetRefereesRequest))
  5161  	}
  5162  	return interceptor(ctx, in, info, handler)
  5163  }
  5164  
  5165  func _TradingDataService_GetReferralSetStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5166  	in := new(GetReferralSetStatsRequest)
  5167  	if err := dec(in); err != nil {
  5168  		return nil, err
  5169  	}
  5170  	if interceptor == nil {
  5171  		return srv.(TradingDataServiceServer).GetReferralSetStats(ctx, in)
  5172  	}
  5173  	info := &grpc.UnaryServerInfo{
  5174  		Server:     srv,
  5175  		FullMethod: "/datanode.api.v2.TradingDataService/GetReferralSetStats",
  5176  	}
  5177  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5178  		return srv.(TradingDataServiceServer).GetReferralSetStats(ctx, req.(*GetReferralSetStatsRequest))
  5179  	}
  5180  	return interceptor(ctx, in, info, handler)
  5181  }
  5182  
  5183  func _TradingDataService_ListTeams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5184  	in := new(ListTeamsRequest)
  5185  	if err := dec(in); err != nil {
  5186  		return nil, err
  5187  	}
  5188  	if interceptor == nil {
  5189  		return srv.(TradingDataServiceServer).ListTeams(ctx, in)
  5190  	}
  5191  	info := &grpc.UnaryServerInfo{
  5192  		Server:     srv,
  5193  		FullMethod: "/datanode.api.v2.TradingDataService/ListTeams",
  5194  	}
  5195  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5196  		return srv.(TradingDataServiceServer).ListTeams(ctx, req.(*ListTeamsRequest))
  5197  	}
  5198  	return interceptor(ctx, in, info, handler)
  5199  }
  5200  
  5201  func _TradingDataService_ListTeamsStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5202  	in := new(ListTeamsStatisticsRequest)
  5203  	if err := dec(in); err != nil {
  5204  		return nil, err
  5205  	}
  5206  	if interceptor == nil {
  5207  		return srv.(TradingDataServiceServer).ListTeamsStatistics(ctx, in)
  5208  	}
  5209  	info := &grpc.UnaryServerInfo{
  5210  		Server:     srv,
  5211  		FullMethod: "/datanode.api.v2.TradingDataService/ListTeamsStatistics",
  5212  	}
  5213  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5214  		return srv.(TradingDataServiceServer).ListTeamsStatistics(ctx, req.(*ListTeamsStatisticsRequest))
  5215  	}
  5216  	return interceptor(ctx, in, info, handler)
  5217  }
  5218  
  5219  func _TradingDataService_ListTeamMembersStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5220  	in := new(ListTeamMembersStatisticsRequest)
  5221  	if err := dec(in); err != nil {
  5222  		return nil, err
  5223  	}
  5224  	if interceptor == nil {
  5225  		return srv.(TradingDataServiceServer).ListTeamMembersStatistics(ctx, in)
  5226  	}
  5227  	info := &grpc.UnaryServerInfo{
  5228  		Server:     srv,
  5229  		FullMethod: "/datanode.api.v2.TradingDataService/ListTeamMembersStatistics",
  5230  	}
  5231  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5232  		return srv.(TradingDataServiceServer).ListTeamMembersStatistics(ctx, req.(*ListTeamMembersStatisticsRequest))
  5233  	}
  5234  	return interceptor(ctx, in, info, handler)
  5235  }
  5236  
  5237  func _TradingDataService_ListTeamReferees_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5238  	in := new(ListTeamRefereesRequest)
  5239  	if err := dec(in); err != nil {
  5240  		return nil, err
  5241  	}
  5242  	if interceptor == nil {
  5243  		return srv.(TradingDataServiceServer).ListTeamReferees(ctx, in)
  5244  	}
  5245  	info := &grpc.UnaryServerInfo{
  5246  		Server:     srv,
  5247  		FullMethod: "/datanode.api.v2.TradingDataService/ListTeamReferees",
  5248  	}
  5249  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5250  		return srv.(TradingDataServiceServer).ListTeamReferees(ctx, req.(*ListTeamRefereesRequest))
  5251  	}
  5252  	return interceptor(ctx, in, info, handler)
  5253  }
  5254  
  5255  func _TradingDataService_ListTeamRefereeHistory_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5256  	in := new(ListTeamRefereeHistoryRequest)
  5257  	if err := dec(in); err != nil {
  5258  		return nil, err
  5259  	}
  5260  	if interceptor == nil {
  5261  		return srv.(TradingDataServiceServer).ListTeamRefereeHistory(ctx, in)
  5262  	}
  5263  	info := &grpc.UnaryServerInfo{
  5264  		Server:     srv,
  5265  		FullMethod: "/datanode.api.v2.TradingDataService/ListTeamRefereeHistory",
  5266  	}
  5267  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5268  		return srv.(TradingDataServiceServer).ListTeamRefereeHistory(ctx, req.(*ListTeamRefereeHistoryRequest))
  5269  	}
  5270  	return interceptor(ctx, in, info, handler)
  5271  }
  5272  
  5273  func _TradingDataService_GetFeesStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5274  	in := new(GetFeesStatsRequest)
  5275  	if err := dec(in); err != nil {
  5276  		return nil, err
  5277  	}
  5278  	if interceptor == nil {
  5279  		return srv.(TradingDataServiceServer).GetFeesStats(ctx, in)
  5280  	}
  5281  	info := &grpc.UnaryServerInfo{
  5282  		Server:     srv,
  5283  		FullMethod: "/datanode.api.v2.TradingDataService/GetFeesStats",
  5284  	}
  5285  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5286  		return srv.(TradingDataServiceServer).GetFeesStats(ctx, req.(*GetFeesStatsRequest))
  5287  	}
  5288  	return interceptor(ctx, in, info, handler)
  5289  }
  5290  
  5291  func _TradingDataService_GetFeesStatsForParty_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5292  	in := new(GetFeesStatsForPartyRequest)
  5293  	if err := dec(in); err != nil {
  5294  		return nil, err
  5295  	}
  5296  	if interceptor == nil {
  5297  		return srv.(TradingDataServiceServer).GetFeesStatsForParty(ctx, in)
  5298  	}
  5299  	info := &grpc.UnaryServerInfo{
  5300  		Server:     srv,
  5301  		FullMethod: "/datanode.api.v2.TradingDataService/GetFeesStatsForParty",
  5302  	}
  5303  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5304  		return srv.(TradingDataServiceServer).GetFeesStatsForParty(ctx, req.(*GetFeesStatsForPartyRequest))
  5305  	}
  5306  	return interceptor(ctx, in, info, handler)
  5307  }
  5308  
  5309  func _TradingDataService_GetCurrentVolumeRebateProgram_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5310  	in := new(GetCurrentVolumeRebateProgramRequest)
  5311  	if err := dec(in); err != nil {
  5312  		return nil, err
  5313  	}
  5314  	if interceptor == nil {
  5315  		return srv.(TradingDataServiceServer).GetCurrentVolumeRebateProgram(ctx, in)
  5316  	}
  5317  	info := &grpc.UnaryServerInfo{
  5318  		Server:     srv,
  5319  		FullMethod: "/datanode.api.v2.TradingDataService/GetCurrentVolumeRebateProgram",
  5320  	}
  5321  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5322  		return srv.(TradingDataServiceServer).GetCurrentVolumeRebateProgram(ctx, req.(*GetCurrentVolumeRebateProgramRequest))
  5323  	}
  5324  	return interceptor(ctx, in, info, handler)
  5325  }
  5326  
  5327  func _TradingDataService_GetVolumeRebateStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5328  	in := new(GetVolumeRebateStatsRequest)
  5329  	if err := dec(in); err != nil {
  5330  		return nil, err
  5331  	}
  5332  	if interceptor == nil {
  5333  		return srv.(TradingDataServiceServer).GetVolumeRebateStats(ctx, in)
  5334  	}
  5335  	info := &grpc.UnaryServerInfo{
  5336  		Server:     srv,
  5337  		FullMethod: "/datanode.api.v2.TradingDataService/GetVolumeRebateStats",
  5338  	}
  5339  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5340  		return srv.(TradingDataServiceServer).GetVolumeRebateStats(ctx, req.(*GetVolumeRebateStatsRequest))
  5341  	}
  5342  	return interceptor(ctx, in, info, handler)
  5343  }
  5344  
  5345  func _TradingDataService_GetCurrentVolumeDiscountProgram_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5346  	in := new(GetCurrentVolumeDiscountProgramRequest)
  5347  	if err := dec(in); err != nil {
  5348  		return nil, err
  5349  	}
  5350  	if interceptor == nil {
  5351  		return srv.(TradingDataServiceServer).GetCurrentVolumeDiscountProgram(ctx, in)
  5352  	}
  5353  	info := &grpc.UnaryServerInfo{
  5354  		Server:     srv,
  5355  		FullMethod: "/datanode.api.v2.TradingDataService/GetCurrentVolumeDiscountProgram",
  5356  	}
  5357  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5358  		return srv.(TradingDataServiceServer).GetCurrentVolumeDiscountProgram(ctx, req.(*GetCurrentVolumeDiscountProgramRequest))
  5359  	}
  5360  	return interceptor(ctx, in, info, handler)
  5361  }
  5362  
  5363  func _TradingDataService_GetVolumeDiscountStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5364  	in := new(GetVolumeDiscountStatsRequest)
  5365  	if err := dec(in); err != nil {
  5366  		return nil, err
  5367  	}
  5368  	if interceptor == nil {
  5369  		return srv.(TradingDataServiceServer).GetVolumeDiscountStats(ctx, in)
  5370  	}
  5371  	info := &grpc.UnaryServerInfo{
  5372  		Server:     srv,
  5373  		FullMethod: "/datanode.api.v2.TradingDataService/GetVolumeDiscountStats",
  5374  	}
  5375  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5376  		return srv.(TradingDataServiceServer).GetVolumeDiscountStats(ctx, req.(*GetVolumeDiscountStatsRequest))
  5377  	}
  5378  	return interceptor(ctx, in, info, handler)
  5379  }
  5380  
  5381  func _TradingDataService_GetVestingBalancesSummary_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5382  	in := new(GetVestingBalancesSummaryRequest)
  5383  	if err := dec(in); err != nil {
  5384  		return nil, err
  5385  	}
  5386  	if interceptor == nil {
  5387  		return srv.(TradingDataServiceServer).GetVestingBalancesSummary(ctx, in)
  5388  	}
  5389  	info := &grpc.UnaryServerInfo{
  5390  		Server:     srv,
  5391  		FullMethod: "/datanode.api.v2.TradingDataService/GetVestingBalancesSummary",
  5392  	}
  5393  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5394  		return srv.(TradingDataServiceServer).GetVestingBalancesSummary(ctx, req.(*GetVestingBalancesSummaryRequest))
  5395  	}
  5396  	return interceptor(ctx, in, info, handler)
  5397  }
  5398  
  5399  func _TradingDataService_GetPartyVestingStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5400  	in := new(GetPartyVestingStatsRequest)
  5401  	if err := dec(in); err != nil {
  5402  		return nil, err
  5403  	}
  5404  	if interceptor == nil {
  5405  		return srv.(TradingDataServiceServer).GetPartyVestingStats(ctx, in)
  5406  	}
  5407  	info := &grpc.UnaryServerInfo{
  5408  		Server:     srv,
  5409  		FullMethod: "/datanode.api.v2.TradingDataService/GetPartyVestingStats",
  5410  	}
  5411  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5412  		return srv.(TradingDataServiceServer).GetPartyVestingStats(ctx, req.(*GetPartyVestingStatsRequest))
  5413  	}
  5414  	return interceptor(ctx, in, info, handler)
  5415  }
  5416  
  5417  func _TradingDataService_ObserveTransactionResults_Handler(srv interface{}, stream grpc.ServerStream) error {
  5418  	m := new(ObserveTransactionResultsRequest)
  5419  	if err := stream.RecvMsg(m); err != nil {
  5420  		return err
  5421  	}
  5422  	return srv.(TradingDataServiceServer).ObserveTransactionResults(m, &tradingDataServiceObserveTransactionResultsServer{stream})
  5423  }
  5424  
  5425  type TradingDataService_ObserveTransactionResultsServer interface {
  5426  	Send(*ObserveTransactionResultsResponse) error
  5427  	grpc.ServerStream
  5428  }
  5429  
  5430  type tradingDataServiceObserveTransactionResultsServer struct {
  5431  	grpc.ServerStream
  5432  }
  5433  
  5434  func (x *tradingDataServiceObserveTransactionResultsServer) Send(m *ObserveTransactionResultsResponse) error {
  5435  	return x.ServerStream.SendMsg(m)
  5436  }
  5437  
  5438  func _TradingDataService_EstimateTransferFee_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5439  	in := new(EstimateTransferFeeRequest)
  5440  	if err := dec(in); err != nil {
  5441  		return nil, err
  5442  	}
  5443  	if interceptor == nil {
  5444  		return srv.(TradingDataServiceServer).EstimateTransferFee(ctx, in)
  5445  	}
  5446  	info := &grpc.UnaryServerInfo{
  5447  		Server:     srv,
  5448  		FullMethod: "/datanode.api.v2.TradingDataService/EstimateTransferFee",
  5449  	}
  5450  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5451  		return srv.(TradingDataServiceServer).EstimateTransferFee(ctx, req.(*EstimateTransferFeeRequest))
  5452  	}
  5453  	return interceptor(ctx, in, info, handler)
  5454  }
  5455  
  5456  func _TradingDataService_GetTotalTransferFeeDiscount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5457  	in := new(GetTotalTransferFeeDiscountRequest)
  5458  	if err := dec(in); err != nil {
  5459  		return nil, err
  5460  	}
  5461  	if interceptor == nil {
  5462  		return srv.(TradingDataServiceServer).GetTotalTransferFeeDiscount(ctx, in)
  5463  	}
  5464  	info := &grpc.UnaryServerInfo{
  5465  		Server:     srv,
  5466  		FullMethod: "/datanode.api.v2.TradingDataService/GetTotalTransferFeeDiscount",
  5467  	}
  5468  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5469  		return srv.(TradingDataServiceServer).GetTotalTransferFeeDiscount(ctx, req.(*GetTotalTransferFeeDiscountRequest))
  5470  	}
  5471  	return interceptor(ctx, in, info, handler)
  5472  }
  5473  
  5474  func _TradingDataService_ListGames_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5475  	in := new(ListGamesRequest)
  5476  	if err := dec(in); err != nil {
  5477  		return nil, err
  5478  	}
  5479  	if interceptor == nil {
  5480  		return srv.(TradingDataServiceServer).ListGames(ctx, in)
  5481  	}
  5482  	info := &grpc.UnaryServerInfo{
  5483  		Server:     srv,
  5484  		FullMethod: "/datanode.api.v2.TradingDataService/ListGames",
  5485  	}
  5486  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5487  		return srv.(TradingDataServiceServer).ListGames(ctx, req.(*ListGamesRequest))
  5488  	}
  5489  	return interceptor(ctx, in, info, handler)
  5490  }
  5491  
  5492  func _TradingDataService_ListPartyMarginModes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5493  	in := new(ListPartyMarginModesRequest)
  5494  	if err := dec(in); err != nil {
  5495  		return nil, err
  5496  	}
  5497  	if interceptor == nil {
  5498  		return srv.(TradingDataServiceServer).ListPartyMarginModes(ctx, in)
  5499  	}
  5500  	info := &grpc.UnaryServerInfo{
  5501  		Server:     srv,
  5502  		FullMethod: "/datanode.api.v2.TradingDataService/ListPartyMarginModes",
  5503  	}
  5504  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5505  		return srv.(TradingDataServiceServer).ListPartyMarginModes(ctx, req.(*ListPartyMarginModesRequest))
  5506  	}
  5507  	return interceptor(ctx, in, info, handler)
  5508  }
  5509  
  5510  func _TradingDataService_GetTimeWeightedNotionalPosition_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5511  	in := new(GetTimeWeightedNotionalPositionRequest)
  5512  	if err := dec(in); err != nil {
  5513  		return nil, err
  5514  	}
  5515  	if interceptor == nil {
  5516  		return srv.(TradingDataServiceServer).GetTimeWeightedNotionalPosition(ctx, in)
  5517  	}
  5518  	info := &grpc.UnaryServerInfo{
  5519  		Server:     srv,
  5520  		FullMethod: "/datanode.api.v2.TradingDataService/GetTimeWeightedNotionalPosition",
  5521  	}
  5522  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5523  		return srv.(TradingDataServiceServer).GetTimeWeightedNotionalPosition(ctx, req.(*GetTimeWeightedNotionalPositionRequest))
  5524  	}
  5525  	return interceptor(ctx, in, info, handler)
  5526  }
  5527  
  5528  func _TradingDataService_ListAMMs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5529  	in := new(ListAMMsRequest)
  5530  	if err := dec(in); err != nil {
  5531  		return nil, err
  5532  	}
  5533  	if interceptor == nil {
  5534  		return srv.(TradingDataServiceServer).ListAMMs(ctx, in)
  5535  	}
  5536  	info := &grpc.UnaryServerInfo{
  5537  		Server:     srv,
  5538  		FullMethod: "/datanode.api.v2.TradingDataService/ListAMMs",
  5539  	}
  5540  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5541  		return srv.(TradingDataServiceServer).ListAMMs(ctx, req.(*ListAMMsRequest))
  5542  	}
  5543  	return interceptor(ctx, in, info, handler)
  5544  }
  5545  
  5546  func _TradingDataService_EstimateAMMBounds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5547  	in := new(EstimateAMMBoundsRequest)
  5548  	if err := dec(in); err != nil {
  5549  		return nil, err
  5550  	}
  5551  	if interceptor == nil {
  5552  		return srv.(TradingDataServiceServer).EstimateAMMBounds(ctx, in)
  5553  	}
  5554  	info := &grpc.UnaryServerInfo{
  5555  		Server:     srv,
  5556  		FullMethod: "/datanode.api.v2.TradingDataService/EstimateAMMBounds",
  5557  	}
  5558  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5559  		return srv.(TradingDataServiceServer).EstimateAMMBounds(ctx, req.(*EstimateAMMBoundsRequest))
  5560  	}
  5561  	return interceptor(ctx, in, info, handler)
  5562  }
  5563  
  5564  func _TradingDataService_GetPartyDiscountStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5565  	in := new(GetPartyDiscountStatsRequest)
  5566  	if err := dec(in); err != nil {
  5567  		return nil, err
  5568  	}
  5569  	if interceptor == nil {
  5570  		return srv.(TradingDataServiceServer).GetPartyDiscountStats(ctx, in)
  5571  	}
  5572  	info := &grpc.UnaryServerInfo{
  5573  		Server:     srv,
  5574  		FullMethod: "/datanode.api.v2.TradingDataService/GetPartyDiscountStats",
  5575  	}
  5576  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5577  		return srv.(TradingDataServiceServer).GetPartyDiscountStats(ctx, req.(*GetPartyDiscountStatsRequest))
  5578  	}
  5579  	return interceptor(ctx, in, info, handler)
  5580  }
  5581  
  5582  func _TradingDataService_ExportNetworkHistory_Handler(srv interface{}, stream grpc.ServerStream) error {
  5583  	m := new(ExportNetworkHistoryRequest)
  5584  	if err := stream.RecvMsg(m); err != nil {
  5585  		return err
  5586  	}
  5587  	return srv.(TradingDataServiceServer).ExportNetworkHistory(m, &tradingDataServiceExportNetworkHistoryServer{stream})
  5588  }
  5589  
  5590  type TradingDataService_ExportNetworkHistoryServer interface {
  5591  	Send(*httpbody.HttpBody) error
  5592  	grpc.ServerStream
  5593  }
  5594  
  5595  type tradingDataServiceExportNetworkHistoryServer struct {
  5596  	grpc.ServerStream
  5597  }
  5598  
  5599  func (x *tradingDataServiceExportNetworkHistoryServer) Send(m *httpbody.HttpBody) error {
  5600  	return x.ServerStream.SendMsg(m)
  5601  }
  5602  
  5603  func _TradingDataService_Ping_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5604  	in := new(PingRequest)
  5605  	if err := dec(in); err != nil {
  5606  		return nil, err
  5607  	}
  5608  	if interceptor == nil {
  5609  		return srv.(TradingDataServiceServer).Ping(ctx, in)
  5610  	}
  5611  	info := &grpc.UnaryServerInfo{
  5612  		Server:     srv,
  5613  		FullMethod: "/datanode.api.v2.TradingDataService/Ping",
  5614  	}
  5615  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5616  		return srv.(TradingDataServiceServer).Ping(ctx, req.(*PingRequest))
  5617  	}
  5618  	return interceptor(ctx, in, info, handler)
  5619  }
  5620  
  5621  // TradingDataService_ServiceDesc is the grpc.ServiceDesc for TradingDataService service.
  5622  // It's only intended for direct use with grpc.RegisterService,
  5623  // and not to be introspected or modified (even as a copy)
  5624  var TradingDataService_ServiceDesc = grpc.ServiceDesc{
  5625  	ServiceName: "datanode.api.v2.TradingDataService",
  5626  	HandlerType: (*TradingDataServiceServer)(nil),
  5627  	Methods: []grpc.MethodDesc{
  5628  		{
  5629  			MethodName: "ListAccounts",
  5630  			Handler:    _TradingDataService_ListAccounts_Handler,
  5631  		},
  5632  		{
  5633  			MethodName: "Info",
  5634  			Handler:    _TradingDataService_Info_Handler,
  5635  		},
  5636  		{
  5637  			MethodName: "GetOrder",
  5638  			Handler:    _TradingDataService_GetOrder_Handler,
  5639  		},
  5640  		{
  5641  			MethodName: "ListOrders",
  5642  			Handler:    _TradingDataService_ListOrders_Handler,
  5643  		},
  5644  		{
  5645  			MethodName: "ListOrderVersions",
  5646  			Handler:    _TradingDataService_ListOrderVersions_Handler,
  5647  		},
  5648  		{
  5649  			MethodName: "GetStopOrder",
  5650  			Handler:    _TradingDataService_GetStopOrder_Handler,
  5651  		},
  5652  		{
  5653  			MethodName: "ListStopOrders",
  5654  			Handler:    _TradingDataService_ListStopOrders_Handler,
  5655  		},
  5656  		{
  5657  			MethodName: "ListGameTeamScores",
  5658  			Handler:    _TradingDataService_ListGameTeamScores_Handler,
  5659  		},
  5660  		{
  5661  			MethodName: "ListGamePartyScores",
  5662  			Handler:    _TradingDataService_ListGamePartyScores_Handler,
  5663  		},
  5664  		{
  5665  			MethodName: "ListPositions",
  5666  			Handler:    _TradingDataService_ListPositions_Handler,
  5667  		},
  5668  		{
  5669  			MethodName: "ListAllPositions",
  5670  			Handler:    _TradingDataService_ListAllPositions_Handler,
  5671  		},
  5672  		{
  5673  			MethodName: "ListLedgerEntries",
  5674  			Handler:    _TradingDataService_ListLedgerEntries_Handler,
  5675  		},
  5676  		{
  5677  			MethodName: "ListBalanceChanges",
  5678  			Handler:    _TradingDataService_ListBalanceChanges_Handler,
  5679  		},
  5680  		{
  5681  			MethodName: "GetLatestMarketData",
  5682  			Handler:    _TradingDataService_GetLatestMarketData_Handler,
  5683  		},
  5684  		{
  5685  			MethodName: "ListLatestMarketData",
  5686  			Handler:    _TradingDataService_ListLatestMarketData_Handler,
  5687  		},
  5688  		{
  5689  			MethodName: "GetLatestMarketDepth",
  5690  			Handler:    _TradingDataService_GetLatestMarketDepth_Handler,
  5691  		},
  5692  		{
  5693  			MethodName: "GetMarketDataHistoryByID",
  5694  			Handler:    _TradingDataService_GetMarketDataHistoryByID_Handler,
  5695  		},
  5696  		{
  5697  			MethodName: "ListTransfers",
  5698  			Handler:    _TradingDataService_ListTransfers_Handler,
  5699  		},
  5700  		{
  5701  			MethodName: "GetTransfer",
  5702  			Handler:    _TradingDataService_GetTransfer_Handler,
  5703  		},
  5704  		{
  5705  			MethodName: "GetNetworkLimits",
  5706  			Handler:    _TradingDataService_GetNetworkLimits_Handler,
  5707  		},
  5708  		{
  5709  			MethodName: "ListCandleData",
  5710  			Handler:    _TradingDataService_ListCandleData_Handler,
  5711  		},
  5712  		{
  5713  			MethodName: "ListCandleIntervals",
  5714  			Handler:    _TradingDataService_ListCandleIntervals_Handler,
  5715  		},
  5716  		{
  5717  			MethodName: "ListVotes",
  5718  			Handler:    _TradingDataService_ListVotes_Handler,
  5719  		},
  5720  		{
  5721  			MethodName: "ListERC20MultiSigSignerAddedBundles",
  5722  			Handler:    _TradingDataService_ListERC20MultiSigSignerAddedBundles_Handler,
  5723  		},
  5724  		{
  5725  			MethodName: "ListERC20MultiSigSignerRemovedBundles",
  5726  			Handler:    _TradingDataService_ListERC20MultiSigSignerRemovedBundles_Handler,
  5727  		},
  5728  		{
  5729  			MethodName: "GetERC20ListAssetBundle",
  5730  			Handler:    _TradingDataService_GetERC20ListAssetBundle_Handler,
  5731  		},
  5732  		{
  5733  			MethodName: "GetERC20SetAssetLimitsBundle",
  5734  			Handler:    _TradingDataService_GetERC20SetAssetLimitsBundle_Handler,
  5735  		},
  5736  		{
  5737  			MethodName: "GetERC20WithdrawalApproval",
  5738  			Handler:    _TradingDataService_GetERC20WithdrawalApproval_Handler,
  5739  		},
  5740  		{
  5741  			MethodName: "GetLastTrade",
  5742  			Handler:    _TradingDataService_GetLastTrade_Handler,
  5743  		},
  5744  		{
  5745  			MethodName: "ListTrades",
  5746  			Handler:    _TradingDataService_ListTrades_Handler,
  5747  		},
  5748  		{
  5749  			MethodName: "GetOracleSpec",
  5750  			Handler:    _TradingDataService_GetOracleSpec_Handler,
  5751  		},
  5752  		{
  5753  			MethodName: "ListOracleSpecs",
  5754  			Handler:    _TradingDataService_ListOracleSpecs_Handler,
  5755  		},
  5756  		{
  5757  			MethodName: "ListOracleData",
  5758  			Handler:    _TradingDataService_ListOracleData_Handler,
  5759  		},
  5760  		{
  5761  			MethodName: "GetMarket",
  5762  			Handler:    _TradingDataService_GetMarket_Handler,
  5763  		},
  5764  		{
  5765  			MethodName: "ListMarkets",
  5766  			Handler:    _TradingDataService_ListMarkets_Handler,
  5767  		},
  5768  		{
  5769  			MethodName: "ListSuccessorMarkets",
  5770  			Handler:    _TradingDataService_ListSuccessorMarkets_Handler,
  5771  		},
  5772  		{
  5773  			MethodName: "GetParty",
  5774  			Handler:    _TradingDataService_GetParty_Handler,
  5775  		},
  5776  		{
  5777  			MethodName: "ListParties",
  5778  			Handler:    _TradingDataService_ListParties_Handler,
  5779  		},
  5780  		{
  5781  			MethodName: "ListPartiesProfiles",
  5782  			Handler:    _TradingDataService_ListPartiesProfiles_Handler,
  5783  		},
  5784  		{
  5785  			MethodName: "ListMarginLevels",
  5786  			Handler:    _TradingDataService_ListMarginLevels_Handler,
  5787  		},
  5788  		{
  5789  			MethodName: "ListRewards",
  5790  			Handler:    _TradingDataService_ListRewards_Handler,
  5791  		},
  5792  		{
  5793  			MethodName: "ListRewardSummaries",
  5794  			Handler:    _TradingDataService_ListRewardSummaries_Handler,
  5795  		},
  5796  		{
  5797  			MethodName: "ListEpochRewardSummaries",
  5798  			Handler:    _TradingDataService_ListEpochRewardSummaries_Handler,
  5799  		},
  5800  		{
  5801  			MethodName: "GetDeposit",
  5802  			Handler:    _TradingDataService_GetDeposit_Handler,
  5803  		},
  5804  		{
  5805  			MethodName: "ListDeposits",
  5806  			Handler:    _TradingDataService_ListDeposits_Handler,
  5807  		},
  5808  		{
  5809  			MethodName: "GetWithdrawal",
  5810  			Handler:    _TradingDataService_GetWithdrawal_Handler,
  5811  		},
  5812  		{
  5813  			MethodName: "ListWithdrawals",
  5814  			Handler:    _TradingDataService_ListWithdrawals_Handler,
  5815  		},
  5816  		{
  5817  			MethodName: "GetAsset",
  5818  			Handler:    _TradingDataService_GetAsset_Handler,
  5819  		},
  5820  		{
  5821  			MethodName: "ListAssets",
  5822  			Handler:    _TradingDataService_ListAssets_Handler,
  5823  		},
  5824  		{
  5825  			MethodName: "ListLiquidityProvisions",
  5826  			Handler:    _TradingDataService_ListLiquidityProvisions_Handler,
  5827  		},
  5828  		{
  5829  			MethodName: "ListAllLiquidityProvisions",
  5830  			Handler:    _TradingDataService_ListAllLiquidityProvisions_Handler,
  5831  		},
  5832  		{
  5833  			MethodName: "ListLiquidityProviders",
  5834  			Handler:    _TradingDataService_ListLiquidityProviders_Handler,
  5835  		},
  5836  		{
  5837  			MethodName: "ListPaidLiquidityFees",
  5838  			Handler:    _TradingDataService_ListPaidLiquidityFees_Handler,
  5839  		},
  5840  		{
  5841  			MethodName: "GetGovernanceData",
  5842  			Handler:    _TradingDataService_GetGovernanceData_Handler,
  5843  		},
  5844  		{
  5845  			MethodName: "ListGovernanceData",
  5846  			Handler:    _TradingDataService_ListGovernanceData_Handler,
  5847  		},
  5848  		{
  5849  			MethodName: "ListDelegations",
  5850  			Handler:    _TradingDataService_ListDelegations_Handler,
  5851  		},
  5852  		{
  5853  			MethodName: "GetNetworkData",
  5854  			Handler:    _TradingDataService_GetNetworkData_Handler,
  5855  		},
  5856  		{
  5857  			MethodName: "GetNode",
  5858  			Handler:    _TradingDataService_GetNode_Handler,
  5859  		},
  5860  		{
  5861  			MethodName: "ListNodes",
  5862  			Handler:    _TradingDataService_ListNodes_Handler,
  5863  		},
  5864  		{
  5865  			MethodName: "ListNodeSignatures",
  5866  			Handler:    _TradingDataService_ListNodeSignatures_Handler,
  5867  		},
  5868  		{
  5869  			MethodName: "GetEpoch",
  5870  			Handler:    _TradingDataService_GetEpoch_Handler,
  5871  		},
  5872  		{
  5873  			MethodName: "EstimateFee",
  5874  			Handler:    _TradingDataService_EstimateFee_Handler,
  5875  		},
  5876  		{
  5877  			MethodName: "EstimateMargin",
  5878  			Handler:    _TradingDataService_EstimateMargin_Handler,
  5879  		},
  5880  		{
  5881  			MethodName: "EstimatePosition",
  5882  			Handler:    _TradingDataService_EstimatePosition_Handler,
  5883  		},
  5884  		{
  5885  			MethodName: "ListNetworkParameters",
  5886  			Handler:    _TradingDataService_ListNetworkParameters_Handler,
  5887  		},
  5888  		{
  5889  			MethodName: "GetNetworkParameter",
  5890  			Handler:    _TradingDataService_GetNetworkParameter_Handler,
  5891  		},
  5892  		{
  5893  			MethodName: "ListCheckpoints",
  5894  			Handler:    _TradingDataService_ListCheckpoints_Handler,
  5895  		},
  5896  		{
  5897  			MethodName: "GetStake",
  5898  			Handler:    _TradingDataService_GetStake_Handler,
  5899  		},
  5900  		{
  5901  			MethodName: "GetRiskFactors",
  5902  			Handler:    _TradingDataService_GetRiskFactors_Handler,
  5903  		},
  5904  		{
  5905  			MethodName: "ListKeyRotations",
  5906  			Handler:    _TradingDataService_ListKeyRotations_Handler,
  5907  		},
  5908  		{
  5909  			MethodName: "ListEthereumKeyRotations",
  5910  			Handler:    _TradingDataService_ListEthereumKeyRotations_Handler,
  5911  		},
  5912  		{
  5913  			MethodName: "GetVegaTime",
  5914  			Handler:    _TradingDataService_GetVegaTime_Handler,
  5915  		},
  5916  		{
  5917  			MethodName: "GetProtocolUpgradeStatus",
  5918  			Handler:    _TradingDataService_GetProtocolUpgradeStatus_Handler,
  5919  		},
  5920  		{
  5921  			MethodName: "ListProtocolUpgradeProposals",
  5922  			Handler:    _TradingDataService_ListProtocolUpgradeProposals_Handler,
  5923  		},
  5924  		{
  5925  			MethodName: "ListCoreSnapshots",
  5926  			Handler:    _TradingDataService_ListCoreSnapshots_Handler,
  5927  		},
  5928  		{
  5929  			MethodName: "GetMostRecentNetworkHistorySegment",
  5930  			Handler:    _TradingDataService_GetMostRecentNetworkHistorySegment_Handler,
  5931  		},
  5932  		{
  5933  			MethodName: "ListAllNetworkHistorySegments",
  5934  			Handler:    _TradingDataService_ListAllNetworkHistorySegments_Handler,
  5935  		},
  5936  		{
  5937  			MethodName: "GetActiveNetworkHistoryPeerAddresses",
  5938  			Handler:    _TradingDataService_GetActiveNetworkHistoryPeerAddresses_Handler,
  5939  		},
  5940  		{
  5941  			MethodName: "GetNetworkHistoryStatus",
  5942  			Handler:    _TradingDataService_GetNetworkHistoryStatus_Handler,
  5943  		},
  5944  		{
  5945  			MethodName: "GetNetworkHistoryBootstrapPeers",
  5946  			Handler:    _TradingDataService_GetNetworkHistoryBootstrapPeers_Handler,
  5947  		},
  5948  		{
  5949  			MethodName: "ListEntities",
  5950  			Handler:    _TradingDataService_ListEntities_Handler,
  5951  		},
  5952  		{
  5953  			MethodName: "ListFundingPeriods",
  5954  			Handler:    _TradingDataService_ListFundingPeriods_Handler,
  5955  		},
  5956  		{
  5957  			MethodName: "ListFundingPeriodDataPoints",
  5958  			Handler:    _TradingDataService_ListFundingPeriodDataPoints_Handler,
  5959  		},
  5960  		{
  5961  			MethodName: "ListFundingPayments",
  5962  			Handler:    _TradingDataService_ListFundingPayments_Handler,
  5963  		},
  5964  		{
  5965  			MethodName: "GetPartyActivityStreak",
  5966  			Handler:    _TradingDataService_GetPartyActivityStreak_Handler,
  5967  		},
  5968  		{
  5969  			MethodName: "GetCurrentReferralProgram",
  5970  			Handler:    _TradingDataService_GetCurrentReferralProgram_Handler,
  5971  		},
  5972  		{
  5973  			MethodName: "ListReferralSets",
  5974  			Handler:    _TradingDataService_ListReferralSets_Handler,
  5975  		},
  5976  		{
  5977  			MethodName: "ListReferralSetReferees",
  5978  			Handler:    _TradingDataService_ListReferralSetReferees_Handler,
  5979  		},
  5980  		{
  5981  			MethodName: "GetReferralSetStats",
  5982  			Handler:    _TradingDataService_GetReferralSetStats_Handler,
  5983  		},
  5984  		{
  5985  			MethodName: "ListTeams",
  5986  			Handler:    _TradingDataService_ListTeams_Handler,
  5987  		},
  5988  		{
  5989  			MethodName: "ListTeamsStatistics",
  5990  			Handler:    _TradingDataService_ListTeamsStatistics_Handler,
  5991  		},
  5992  		{
  5993  			MethodName: "ListTeamMembersStatistics",
  5994  			Handler:    _TradingDataService_ListTeamMembersStatistics_Handler,
  5995  		},
  5996  		{
  5997  			MethodName: "ListTeamReferees",
  5998  			Handler:    _TradingDataService_ListTeamReferees_Handler,
  5999  		},
  6000  		{
  6001  			MethodName: "ListTeamRefereeHistory",
  6002  			Handler:    _TradingDataService_ListTeamRefereeHistory_Handler,
  6003  		},
  6004  		{
  6005  			MethodName: "GetFeesStats",
  6006  			Handler:    _TradingDataService_GetFeesStats_Handler,
  6007  		},
  6008  		{
  6009  			MethodName: "GetFeesStatsForParty",
  6010  			Handler:    _TradingDataService_GetFeesStatsForParty_Handler,
  6011  		},
  6012  		{
  6013  			MethodName: "GetCurrentVolumeRebateProgram",
  6014  			Handler:    _TradingDataService_GetCurrentVolumeRebateProgram_Handler,
  6015  		},
  6016  		{
  6017  			MethodName: "GetVolumeRebateStats",
  6018  			Handler:    _TradingDataService_GetVolumeRebateStats_Handler,
  6019  		},
  6020  		{
  6021  			MethodName: "GetCurrentVolumeDiscountProgram",
  6022  			Handler:    _TradingDataService_GetCurrentVolumeDiscountProgram_Handler,
  6023  		},
  6024  		{
  6025  			MethodName: "GetVolumeDiscountStats",
  6026  			Handler:    _TradingDataService_GetVolumeDiscountStats_Handler,
  6027  		},
  6028  		{
  6029  			MethodName: "GetVestingBalancesSummary",
  6030  			Handler:    _TradingDataService_GetVestingBalancesSummary_Handler,
  6031  		},
  6032  		{
  6033  			MethodName: "GetPartyVestingStats",
  6034  			Handler:    _TradingDataService_GetPartyVestingStats_Handler,
  6035  		},
  6036  		{
  6037  			MethodName: "EstimateTransferFee",
  6038  			Handler:    _TradingDataService_EstimateTransferFee_Handler,
  6039  		},
  6040  		{
  6041  			MethodName: "GetTotalTransferFeeDiscount",
  6042  			Handler:    _TradingDataService_GetTotalTransferFeeDiscount_Handler,
  6043  		},
  6044  		{
  6045  			MethodName: "ListGames",
  6046  			Handler:    _TradingDataService_ListGames_Handler,
  6047  		},
  6048  		{
  6049  			MethodName: "ListPartyMarginModes",
  6050  			Handler:    _TradingDataService_ListPartyMarginModes_Handler,
  6051  		},
  6052  		{
  6053  			MethodName: "GetTimeWeightedNotionalPosition",
  6054  			Handler:    _TradingDataService_GetTimeWeightedNotionalPosition_Handler,
  6055  		},
  6056  		{
  6057  			MethodName: "ListAMMs",
  6058  			Handler:    _TradingDataService_ListAMMs_Handler,
  6059  		},
  6060  		{
  6061  			MethodName: "EstimateAMMBounds",
  6062  			Handler:    _TradingDataService_EstimateAMMBounds_Handler,
  6063  		},
  6064  		{
  6065  			MethodName: "GetPartyDiscountStats",
  6066  			Handler:    _TradingDataService_GetPartyDiscountStats_Handler,
  6067  		},
  6068  		{
  6069  			MethodName: "Ping",
  6070  			Handler:    _TradingDataService_Ping_Handler,
  6071  		},
  6072  	},
  6073  	Streams: []grpc.StreamDesc{
  6074  		{
  6075  			StreamName:    "ObserveAccounts",
  6076  			Handler:       _TradingDataService_ObserveAccounts_Handler,
  6077  			ServerStreams: true,
  6078  		},
  6079  		{
  6080  			StreamName:    "ObserveOrders",
  6081  			Handler:       _TradingDataService_ObserveOrders_Handler,
  6082  			ServerStreams: true,
  6083  		},
  6084  		{
  6085  			StreamName:    "ObservePositions",
  6086  			Handler:       _TradingDataService_ObservePositions_Handler,
  6087  			ServerStreams: true,
  6088  		},
  6089  		{
  6090  			StreamName:    "ExportLedgerEntries",
  6091  			Handler:       _TradingDataService_ExportLedgerEntries_Handler,
  6092  			ServerStreams: true,
  6093  		},
  6094  		{
  6095  			StreamName:    "ObserveMarketsDepth",
  6096  			Handler:       _TradingDataService_ObserveMarketsDepth_Handler,
  6097  			ServerStreams: true,
  6098  		},
  6099  		{
  6100  			StreamName:    "ObserveMarketsDepthUpdates",
  6101  			Handler:       _TradingDataService_ObserveMarketsDepthUpdates_Handler,
  6102  			ServerStreams: true,
  6103  		},
  6104  		{
  6105  			StreamName:    "ObserveMarketsData",
  6106  			Handler:       _TradingDataService_ObserveMarketsData_Handler,
  6107  			ServerStreams: true,
  6108  		},
  6109  		{
  6110  			StreamName:    "ObserveCandleData",
  6111  			Handler:       _TradingDataService_ObserveCandleData_Handler,
  6112  			ServerStreams: true,
  6113  		},
  6114  		{
  6115  			StreamName:    "ObserveVotes",
  6116  			Handler:       _TradingDataService_ObserveVotes_Handler,
  6117  			ServerStreams: true,
  6118  		},
  6119  		{
  6120  			StreamName:    "ObserveTrades",
  6121  			Handler:       _TradingDataService_ObserveTrades_Handler,
  6122  			ServerStreams: true,
  6123  		},
  6124  		{
  6125  			StreamName:    "ObserveMarginLevels",
  6126  			Handler:       _TradingDataService_ObserveMarginLevels_Handler,
  6127  			ServerStreams: true,
  6128  		},
  6129  		{
  6130  			StreamName:    "ObserveLiquidityProvisions",
  6131  			Handler:       _TradingDataService_ObserveLiquidityProvisions_Handler,
  6132  			ServerStreams: true,
  6133  		},
  6134  		{
  6135  			StreamName:    "ObserveGovernance",
  6136  			Handler:       _TradingDataService_ObserveGovernance_Handler,
  6137  			ServerStreams: true,
  6138  		},
  6139  		{
  6140  			StreamName:    "ObserveEventBus",
  6141  			Handler:       _TradingDataService_ObserveEventBus_Handler,
  6142  			ServerStreams: true,
  6143  			ClientStreams: true,
  6144  		},
  6145  		{
  6146  			StreamName:    "ObserveLedgerMovements",
  6147  			Handler:       _TradingDataService_ObserveLedgerMovements_Handler,
  6148  			ServerStreams: true,
  6149  		},
  6150  		{
  6151  			StreamName:    "ObserveTransactionResults",
  6152  			Handler:       _TradingDataService_ObserveTransactionResults_Handler,
  6153  			ServerStreams: true,
  6154  		},
  6155  		{
  6156  			StreamName:    "ExportNetworkHistory",
  6157  			Handler:       _TradingDataService_ExportNetworkHistory_Handler,
  6158  			ServerStreams: true,
  6159  		},
  6160  	},
  6161  	Metadata: "data-node/api/v2/trading_data.proto",
  6162  }