Used only by withOrchestration helper

  • Parameters

    Returns ((...args: [localChainInfo: Readonly<{
        bech32Prefix?: string;
        chainId: string;
        connections?: Record<string, IBCConnectionInfo>;
        icqEnabled?: boolean;
        pfmEnabled?: boolean;
        stakingTokens?: readonly {
            denom: string;
        }[];
    }>]) => Guarded<{
        getChainInfo(): Vow<Readonly<{
            bech32Prefix?: string;
            chainId: string;
            connections?: Record<string, IBCConnectionInfo>;
            icqEnabled?: boolean;
            pfmEnabled?: boolean;
            stakingTokens?: readonly {
                denom: string;
            }[];
        }>>;
        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(): ChainAddress;
            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: ChainAddress, amounts: AmountArg]): Vow<void>;
            sendAll(...args: [toAccount: ChainAddress, amounts: AmountArg[]]): Vow<void>;
            sendThenWaitForAck(...args: [packetSender: Remote<PacketSender>, opts: PacketOptions]): HostInterface<Vow<any>>;
            transfer(destination: ChainAddress, 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<Readonly<{
                bech32Prefix?: string;
                chainId: string;
                connections?: Record<string, IBCConnectionInfo>;
                icqEnabled?: boolean;
                pfmEnabled?: boolean;
                stakingTokens?: readonly {
                    denom: string;
                }[];
            }>>;
            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(): ChainAddress;
                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: ChainAddress, amounts: AmountArg]): Vow<void>;
                sendAll(...args: [toAccount: ChainAddress, amounts: AmountArg[]]): Vow<void>;
                sendThenWaitForAck(...args: [packetSender: Remote<PacketSender>, opts: PacketOptions]): HostInterface<Vow<any>>;
                transfer(destination: ChainAddress, 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

        • Rest...args: [localChainInfo: Readonly<{
              bech32Prefix?: string;
              chainId: string;
              connections?: Record<string, IBCConnectionInfo>;
              icqEnabled?: boolean;
              pfmEnabled?: boolean;
              stakingTokens?: readonly {
                  denom: string;
              }[];
          }>]

        Returns Guarded<{
            getChainInfo(): Vow<Readonly<{
                bech32Prefix?: string;
                chainId: string;
                connections?: Record<string, IBCConnectionInfo>;
                icqEnabled?: boolean;
                pfmEnabled?: boolean;
                stakingTokens?: readonly {
                    denom: string;
                }[];
            }>>;
            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(): ChainAddress;
                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: ChainAddress, amounts: AmountArg]): Vow<void>;
                sendAll(...args: [toAccount: ChainAddress, amounts: AmountArg[]]): Vow<void>;
                sendThenWaitForAck(...args: [packetSender: Remote<PacketSender>, opts: PacketOptions]): HostInterface<Vow<any>>;
                transfer(destination: ChainAddress, 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;
                };
            }[]>;
        }>