From 370324594c5298978a7f6a0bd86000b21508f927 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Nieto?= Date: Wed, 4 Dec 2024 03:00:23 -0600 Subject: [PATCH] update indexer gw proto file --- packages/indexer/src/indexergw.gen.ts | 34 +++++++++++++-------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/packages/indexer/src/indexergw.gen.ts b/packages/indexer/src/indexergw.gen.ts index 93c1a92f8..a649b72fa 100644 --- a/packages/indexer/src/indexergw.gen.ts +++ b/packages/indexer/src/indexergw.gen.ts @@ -1,5 +1,5 @@ /* eslint-disable */ -// sequence-indexer v0.4.0 c96ed5614ea00d705a44f3643b3c018ae284edb9 +// sequence-indexer v0.4.0 d960167880a902941f2b547a5fac897aff336661 // -- // Code generated by webrpc-gen@v0.21.1 with typescript generator. DO NOT EDIT. // @@ -16,7 +16,7 @@ export const WebRPCVersion = "v1" export const WebRPCSchemaVersion = "v0.4.0" // Schema hash generated from your RIDL schema -export const WebRPCSchemaHash = "c96ed5614ea00d705a44f3643b3c018ae284edb9" +export const WebRPCSchemaHash = "d960167880a902941f2b547a5fac897aff336661" type WebrpcGenVersions = { webrpcGenVersion: string; @@ -514,19 +514,19 @@ export interface TokenBalancesByContractFilter { export interface GatewayEtherBalance { chainID: number error: string - balance: EtherBalance + result: EtherBalance } export interface GatewayNativeTokenBalance { chainID: number error: string - balance: NativeTokenBalance + result: NativeTokenBalance } export interface GatewayTokenBalance { chainID: number error: string - balances: Array + results: Array } export interface IndexerGateway { @@ -545,7 +545,7 @@ export interface GetNativeTokenBalanceArgs { } export interface GetNativeTokenBalanceReturn { - balances: Array + indexers: Array } export interface GetTokenBalancesArgs { chainIDs?: Array @@ -560,7 +560,7 @@ export interface GetTokenBalancesArgs { export interface GetTokenBalancesReturn { page: Page - balances: Array + indexers: Array } export interface GetTokenBalancesSummaryArgs { chainIDs?: Array @@ -571,7 +571,7 @@ export interface GetTokenBalancesSummaryArgs { export interface GetTokenBalancesSummaryReturn { page: Page - balances: Array + indexers: Array } export interface GetTokenBalancesDetailsArgs { chainIDs?: Array @@ -582,7 +582,7 @@ export interface GetTokenBalancesDetailsArgs { export interface GetTokenBalancesDetailsReturn { page: Page - balances: Array + indexers: Array } export interface GetTokenBalancesByContractArgs { chainIDs?: Array @@ -593,7 +593,7 @@ export interface GetTokenBalancesByContractArgs { export interface GetTokenBalancesByContractReturn { page: Page - balances: Array + indexers: Array } export interface GetBalanceUpdatesArgs { chainIDs?: Array @@ -605,7 +605,7 @@ export interface GetBalanceUpdatesArgs { export interface GetBalanceUpdatesReturn { page: Page - balances: Array + indexers: Array } export interface PingArgs { } @@ -639,7 +639,7 @@ export class IndexerGateway implements IndexerGateway { createHTTPRequest(args, headers, signal)).then((res) => { return buildResponse(res).then(_data => { return { - balances: >(_data.balances), + indexers: >(_data.indexers), } }) }, (error) => { @@ -654,7 +654,7 @@ export class IndexerGateway implements IndexerGateway { return buildResponse(res).then(_data => { return { page: (_data.page), - balances: >(_data.balances), + indexers: >(_data.indexers), } }) }, (error) => { @@ -669,7 +669,7 @@ export class IndexerGateway implements IndexerGateway { return buildResponse(res).then(_data => { return { page: (_data.page), - balances: >(_data.balances), + indexers: >(_data.indexers), } }) }, (error) => { @@ -684,7 +684,7 @@ export class IndexerGateway implements IndexerGateway { return buildResponse(res).then(_data => { return { page: (_data.page), - balances: >(_data.balances), + indexers: >(_data.indexers), } }) }, (error) => { @@ -699,7 +699,7 @@ export class IndexerGateway implements IndexerGateway { return buildResponse(res).then(_data => { return { page: (_data.page), - balances: >(_data.balances), + indexers: >(_data.indexers), } }) }, (error) => { @@ -714,7 +714,7 @@ export class IndexerGateway implements IndexerGateway { return buildResponse(res).then(_data => { return { page: (_data.page), - balances: >(_data.balances), + indexers: >(_data.indexers), } }) }, (error) => {