Used only by withOrchestration helper

  • Parameters

    Returns ((...args: [localChainInfo: CosmosChainInfo]) => Guarded<{
        getChainInfo(): Vow<CosmosChainInfo>;
        getVBankAssetInfo(...args: []): Vow<AssetInfo[]>;
        makeAccount(): Vow<Guarded<{
            asContinuingOffer(...args: []): Vow<HostInterface<ResolvedContinuingOfferResult>>;
            delegate(validatorAddress: string, ertpAmount: NatAmount): Vow<Record<unknown, unknown>>;
            deposit(...args: [payment: Payment<"nat">]): Vow<NatAmount>;
            executeTx(...args: [messages: {
                @type: string;
            }[]]): Vow<{
                @type: string;
            }[]>;
            getAddress(): CosmosChainAddress;
            getBalance(...args: [denom: DenomArg]): Vow<DenomAmount>;
            getBalances(...args: []): Vow<DenomAmount[]>;
            getPublicTopics(...args: []): Vow<HostInterface<Record<string, ResolvedPublicTopic<unknown>>>>;
            matchFirstPacket(...args: [EVow<Pattern>?]): HostInterface<Vow<{
                match: Vow<any>;
                resolver: VowResolver<any>;
            }>>;
            monitorTransfers(...args: [tap: TargetApp]): Vow<HostInterface<TargetRegistration>>;
            send(...args: [toAccount: CosmosChainAddress, amount: AmountArg]): Vow<void>;
            sendAll(...args: [toAccount: CosmosChainAddress, amounts: AmountArg[]]): Vow<void>;
            sendThenWaitForAck(...args: [packetSender: Remote<PacketSender>, opts: PacketOptions]): HostInterface<Vow<any>>;
            transfer(destination: AccountIdArg, amount: AmountArg, opts?: IBCMsgTransferOptions): Vow<any>;
            transferSteps(...args: [amount: AmountArg, msg: TransferMsg]): Vow<void>;
            undelegate(validatorAddress: string, ertpAmount: NatAmount): Vow<void | TimestampRecord>;
            withdraw(...args: [amount: NatAmount]): Vow<Payment<"nat">>;
        }>>;
        query(...args: [{
            @type: string;
        }[]]): Vow<{
            error?: string;
            reply: {
                @type: string;
            };
        }[]>;
    }>)

      • (...args): Guarded<{
            getChainInfo(): Vow<CosmosChainInfo>;
            getVBankAssetInfo(...args: []): Vow<AssetInfo[]>;
            makeAccount(): Vow<Guarded<{
                asContinuingOffer(...args: []): Vow<HostInterface<ResolvedContinuingOfferResult>>;
                delegate(validatorAddress: string, ertpAmount: NatAmount): Vow<Record<unknown, unknown>>;
                deposit(...args: [payment: Payment<"nat">]): Vow<NatAmount>;
                executeTx(...args: [messages: {
                    @type: string;
                }[]]): Vow<{
                    @type: string;
                }[]>;
                getAddress(): CosmosChainAddress;
                getBalance(...args: [denom: DenomArg]): Vow<DenomAmount>;
                getBalances(...args: []): Vow<DenomAmount[]>;
                getPublicTopics(...args: []): Vow<HostInterface<Record<string, ResolvedPublicTopic<unknown>>>>;
                matchFirstPacket(...args: [EVow<Pattern>?]): HostInterface<Vow<{
                    match: Vow<any>;
                    resolver: VowResolver<any>;
                }>>;
                monitorTransfers(...args: [tap: TargetApp]): Vow<HostInterface<TargetRegistration>>;
                send(...args: [toAccount: CosmosChainAddress, amount: AmountArg]): Vow<void>;
                sendAll(...args: [toAccount: CosmosChainAddress, amounts: AmountArg[]]): Vow<void>;
                sendThenWaitForAck(...args: [packetSender: Remote<PacketSender>, opts: PacketOptions]): HostInterface<Vow<any>>;
                transfer(destination: AccountIdArg, amount: AmountArg, opts?: IBCMsgTransferOptions): Vow<any>;
                transferSteps(...args: [amount: AmountArg, msg: TransferMsg]): Vow<void>;
                undelegate(validatorAddress: string, ertpAmount: NatAmount): Vow<void | TimestampRecord>;
                withdraw(...args: [amount: NatAmount]): Vow<Payment<"nat">>;
            }>>;
            query(...args: [{
                @type: string;
            }[]]): Vow<{
                error?: string;
                reply: {
                    @type: string;
                };
            }[]>;
        }>
      • Parameters

        Returns Guarded<{
            getChainInfo(): Vow<CosmosChainInfo>;
            getVBankAssetInfo(...args: []): Vow<AssetInfo[]>;
            makeAccount(): Vow<Guarded<{
                asContinuingOffer(...args: []): Vow<HostInterface<ResolvedContinuingOfferResult>>;
                delegate(validatorAddress: string, ertpAmount: NatAmount): Vow<Record<unknown, unknown>>;
                deposit(...args: [payment: Payment<"nat">]): Vow<NatAmount>;
                executeTx(...args: [messages: {
                    @type: string;
                }[]]): Vow<{
                    @type: string;
                }[]>;
                getAddress(): CosmosChainAddress;
                getBalance(...args: [denom: DenomArg]): Vow<DenomAmount>;
                getBalances(...args: []): Vow<DenomAmount[]>;
                getPublicTopics(...args: []): Vow<HostInterface<Record<string, ResolvedPublicTopic<unknown>>>>;
                matchFirstPacket(...args: [EVow<Pattern>?]): HostInterface<Vow<{
                    match: Vow<any>;
                    resolver: VowResolver<any>;
                }>>;
                monitorTransfers(...args: [tap: TargetApp]): Vow<HostInterface<TargetRegistration>>;
                send(...args: [toAccount: CosmosChainAddress, amount: AmountArg]): Vow<void>;
                sendAll(...args: [toAccount: CosmosChainAddress, amounts: AmountArg[]]): Vow<void>;
                sendThenWaitForAck(...args: [packetSender: Remote<PacketSender>, opts: PacketOptions]): HostInterface<Vow<any>>;
                transfer(destination: AccountIdArg, amount: AmountArg, opts?: IBCMsgTransferOptions): Vow<any>;
                transferSteps(...args: [amount: AmountArg, msg: TransferMsg]): Vow<void>;
                undelegate(validatorAddress: string, ertpAmount: NatAmount): Vow<void | TimestampRecord>;
                withdraw(...args: [amount: NatAmount]): Vow<Payment<"nat">>;
            }>>;
            query(...args: [{
                @type: string;
            }[]]): Vow<{
                error?: string;
                reply: {
                    @type: string;
                };
            }[]>;
        }>