Function prepareCosmosInterchainServiceInternal
- prepareCosmosInterchainService(zone, vowTools): ((...args: [powers: Partial<CosmosOrchestrationPowers>]) => Guarded<{
makeAccount(chainId: string, hostConnectionId: `connection-${number}`, controllerConnectionId: `connection-${number}`, opts?: ICAChannelAddressOpts): Vow<IcaAccount>;
provideICQConnection(controllerConnectionId: `connection-${number}`, version?: string): Guarded<{
getLocalAddress(): `/ibc-port/${string}`;
getRemoteAddress(): `/${string}ibc-port/${string}/ordered/${string}` | `/${string}ibc-port/${string}/unordered/${string}`;
query(msgs: {
data: string;
height: string;
path: string;
prove: boolean;
}[]): Vow<{
code: number;
codespace: string;
height: string;
index: string;
info: string;
key: string;
log: string;
proofOps?: {
ops: ...;
};
value: string;
}[]>;
}> | Vow<Guarded<{
getLocalAddress(): `/ibc-port/${string}`;
getRemoteAddress(): `/${string}ibc-port/${string}/ordered/${string}` | `/${string}ibc-port/${string}/unordered/${string}`;
query(msgs: {
data: string;
height: string;
path: string;
prove: boolean;
}[]): Vow<{
code: number;
codespace: string;
height: string;
index: string;
info: string;
key: string;
log: string;
proofOps?: (...) | (...);
value: string;
}[]>;
}>>;
}>) Parameters
- zone: Zone
- vowTools: VowTools
Returns ((...args: [powers: Partial<CosmosOrchestrationPowers>]) => Guarded<{
makeAccount(chainId: string, hostConnectionId: `connection-${number}`, controllerConnectionId: `connection-${number}`, opts?: ICAChannelAddressOpts): Vow<IcaAccount>;
provideICQConnection(controllerConnectionId: `connection-${number}`, version?: string): Guarded<{
getLocalAddress(): `/ibc-port/${string}`;
getRemoteAddress(): `/${string}ibc-port/${string}/ordered/${string}` | `/${string}ibc-port/${string}/unordered/${string}`;
query(msgs: {
data: string;
height: string;
path: string;
prove: boolean;
}[]): Vow<{
code: number;
codespace: string;
height: string;
index: string;
info: string;
key: string;
log: string;
proofOps?: {
ops: ...;
};
value: string;
}[]>;
}> | Vow<Guarded<{
getLocalAddress(): `/ibc-port/${string}`;
getRemoteAddress(): `/${string}ibc-port/${string}/ordered/${string}` | `/${string}ibc-port/${string}/unordered/${string}`;
query(msgs: {
data: string;
height: string;
path: string;
prove: boolean;
}[]): Vow<{
code: number;
codespace: string;
height: string;
index: string;
info: string;
key: string;
log: string;
proofOps?: (...) | (...);
value: string;
}[]>;
}>>;
}>)
- (...args): Guarded<{
makeAccount(chainId: string, hostConnectionId: `connection-${number}`, controllerConnectionId: `connection-${number}`, opts?: ICAChannelAddressOpts): Vow<IcaAccount>;
provideICQConnection(controllerConnectionId: `connection-${number}`, version?: string): Guarded<{
getLocalAddress(): `/ibc-port/${string}`;
getRemoteAddress(): `/${string}ibc-port/${string}/ordered/${string}` | `/${string}ibc-port/${string}/unordered/${string}`;
query(msgs: {
data: string;
height: string;
path: string;
prove: boolean;
}[]): Vow<{
code: number;
codespace: string;
height: string;
index: string;
info: string;
key: string;
log: string;
proofOps?: {
ops: ...;
};
value: string;
}[]>;
}> | Vow<Guarded<{
getLocalAddress(): `/ibc-port/${string}`;
getRemoteAddress(): `/${string}ibc-port/${string}/ordered/${string}` | `/${string}ibc-port/${string}/unordered/${string}`;
query(msgs: {
data: string;
height: string;
path: string;
prove: boolean;
}[]): Vow<{
code: number;
codespace: string;
height: string;
index: string;
info: string;
key: string;
log: string;
proofOps?: (...) | (...);
value: string;
}[]>;
}>>;
}> Returns Guarded<{
makeAccount(chainId: string, hostConnectionId: `connection-${number}`, controllerConnectionId: `connection-${number}`, opts?: ICAChannelAddressOpts): Vow<IcaAccount>;
provideICQConnection(controllerConnectionId: `connection-${number}`, version?: string): Guarded<{
getLocalAddress(): `/ibc-port/${string}`;
getRemoteAddress(): `/${string}ibc-port/${string}/ordered/${string}` | `/${string}ibc-port/${string}/unordered/${string}`;
query(msgs: {
data: string;
height: string;
path: string;
prove: boolean;
}[]): Vow<{
code: number;
codespace: string;
height: string;
index: string;
info: string;
key: string;
log: string;
proofOps?: {
ops: ...;
};
value: string;
}[]>;
}> | Vow<Guarded<{
getLocalAddress(): `/ibc-port/${string}`;
getRemoteAddress(): `/${string}ibc-port/${string}/ordered/${string}` | `/${string}ibc-port/${string}/unordered/${string}`;
query(msgs: {
data: string;
height: string;
path: string;
prove: boolean;
}[]): Vow<{
code: number;
codespace: string;
height: string;
index: string;
info: string;
key: string;
log: string;
proofOps?: (...) | (...);
value: string;
}[]>;
}>>;
}>
Used only by vat-orchestration and tests mocking it