diff --git a/packages/orchestration/src/types.ts b/packages/orchestration/src/types.ts index 5fd4a235ed9a..cbda8cf61c59 100644 --- a/packages/orchestration/src/types.ts +++ b/packages/orchestration/src/types.ts @@ -10,9 +10,9 @@ import type { CosmosStakingFacet, Denom, IcaAccount, - Proto3JSONMsg, } from './cosmos-api.js'; import type { EthChainInfo } from './ethereum-api.js'; +import type { ICQConnection } from './exos/icqConnectionKit.js'; import type { ChainAddress, OrchestrationAccountI, @@ -39,6 +39,7 @@ export type KnownChains = { // distinguish from generic. Alternately, there could be a method to get a // generic facade on the chain-native methods. getIcaAcccount: () => IcaAccount; + getIcqConnection: () => ICQConnection; getStakingFacet: () => CosmosStakingFacet; }; }; @@ -98,14 +99,6 @@ export interface Chain { makeAccount: () => Promise>; // FUTURE supply optional port object; also fetch port object - /** - * Low level operation to query external chain state (e.g., governance params) - * @param queries - * @returns - * - */ - query: (queries: Proto3JSONMsg[]) => Promise>; - // TODO provide a way to get the local denom/brand/whatever for this chain }