PHP WebShell

Текущая директория: /opt/BitGoJS/node_modules/@babylonlabs-io/babylon-proto-ts/dist/generated/babylon/epoching/v1

Просмотр файла: tx.d.ts

import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
import { MsgBeginRedelegate, MsgCancelUnbondingDelegation, MsgDelegate, MsgEditValidator, MsgUndelegate, MsgUpdateParams as MsgUpdateParams1 } from "../../../cosmos/staking/v1beta1/tx";
import { Params } from "./params";
export declare const protobufPackage = "babylon.epoching.v1";
/** MsgWrappedDelegate is the message for delegating stakes */
export interface MsgWrappedDelegate {
    msg: MsgDelegate | undefined;
}
/** MsgWrappedDelegate is the response to the MsgWrappedDelegate message */
export interface MsgWrappedDelegateResponse {
}
/** MsgWrappedUndelegate is the message for undelegating stakes */
export interface MsgWrappedUndelegate {
    msg: MsgUndelegate | undefined;
}
/**
 * MsgWrappedUndelegateResponse is the response to the MsgWrappedUndelegate
 * message
 */
export interface MsgWrappedUndelegateResponse {
}
/**
 * MsgWrappedDelegate is the message for moving bonded stakes from a
 * validator to another validator
 */
export interface MsgWrappedBeginRedelegate {
    msg: MsgBeginRedelegate | undefined;
}
/**
 * MsgWrappedBeginRedelegateResponse is the response to the
 * MsgWrappedBeginRedelegate message
 */
export interface MsgWrappedBeginRedelegateResponse {
}
/**
 * MsgWrappedCancelUnbondingDelegation is the message for cancelling
 * an unbonding delegation
 */
export interface MsgWrappedCancelUnbondingDelegation {
    msg: MsgCancelUnbondingDelegation | undefined;
}
/**
 * MsgWrappedCancelUnbondingDelegationResponse is the response to the
 * MsgWrappedCancelUnbondingDelegation message
 */
export interface MsgWrappedCancelUnbondingDelegationResponse {
}
/**
 * MsgWrappedEditValidator defines a message for updating validator description
 * and commission rate.
 */
export interface MsgWrappedEditValidator {
    msg: MsgEditValidator | undefined;
}
/** MsgWrappedEditValidatorResponse is the response to the MsgWrappedEditValidator message. */
export interface MsgWrappedEditValidatorResponse {
}
/** MsgWrappedStakingUpdateParams defines a message for updating x/staking module parameters. */
export interface MsgWrappedStakingUpdateParams {
    msg: MsgUpdateParams1 | undefined;
}
/** MsgWrappedStakingUpdateParamsResponse is the response to the MsgWrappedStakingUpdateParams message. */
export interface MsgWrappedStakingUpdateParamsResponse {
}
/** MsgUpdateParams defines a message for updating epoching module parameters. */
export interface MsgUpdateParams {
    /**
     * authority is the address of the governance account.
     * just FYI: cosmos.AddressString marks that this field should use type alias
     * for AddressString instead of string, but the functionality is not yet implemented
     * in cosmos-proto
     */
    authority: string;
    /**
     * params defines the epoching parameters to update.
     *
     * NOTE: All parameters must be supplied.
     */
    params: Params | undefined;
}
/** MsgUpdateParamsResponse is the response to the MsgUpdateParams message. */
export interface MsgUpdateParamsResponse {
}
export declare const MsgWrappedDelegate: MessageFns<MsgWrappedDelegate>;
export declare const MsgWrappedDelegateResponse: MessageFns<MsgWrappedDelegateResponse>;
export declare const MsgWrappedUndelegate: MessageFns<MsgWrappedUndelegate>;
export declare const MsgWrappedUndelegateResponse: MessageFns<MsgWrappedUndelegateResponse>;
export declare const MsgWrappedBeginRedelegate: MessageFns<MsgWrappedBeginRedelegate>;
export declare const MsgWrappedBeginRedelegateResponse: MessageFns<MsgWrappedBeginRedelegateResponse>;
export declare const MsgWrappedCancelUnbondingDelegation: MessageFns<MsgWrappedCancelUnbondingDelegation>;
export declare const MsgWrappedCancelUnbondingDelegationResponse: MessageFns<MsgWrappedCancelUnbondingDelegationResponse>;
export declare const MsgWrappedEditValidator: MessageFns<MsgWrappedEditValidator>;
export declare const MsgWrappedEditValidatorResponse: MessageFns<MsgWrappedEditValidatorResponse>;
export declare const MsgWrappedStakingUpdateParams: MessageFns<MsgWrappedStakingUpdateParams>;
export declare const MsgWrappedStakingUpdateParamsResponse: MessageFns<MsgWrappedStakingUpdateParamsResponse>;
export declare const MsgUpdateParams: MessageFns<MsgUpdateParams>;
export declare const MsgUpdateParamsResponse: MessageFns<MsgUpdateParamsResponse>;
/** Msg defines the Msg service. */
export interface Msg {
    /**
     * WrappedDelegate defines a method for performing a delegation of coins from
     * a delegator to a validator.
     */
    WrappedDelegate(request: MsgWrappedDelegate): Promise<MsgWrappedDelegateResponse>;
    /**
     * WrappedUndelegate defines a method for performing an undelegation from a
     * delegate and a validator.
     */
    WrappedUndelegate(request: MsgWrappedUndelegate): Promise<MsgWrappedUndelegateResponse>;
    /**
     * WrappedBeginRedelegate defines a method for performing a redelegation of
     * coins from a delegator and source validator to a destination validator.
     */
    WrappedBeginRedelegate(request: MsgWrappedBeginRedelegate): Promise<MsgWrappedBeginRedelegateResponse>;
    /**
     * WrappedCancelUnbondingDelegation defines a method for cancelling unbonding of
     * coins from a delegator and source validator to a destination validator.
     */
    WrappedCancelUnbondingDelegation(request: MsgWrappedCancelUnbondingDelegation): Promise<MsgWrappedCancelUnbondingDelegationResponse>;
    /**
     * WrappedEditValidator defines a method for editing the validator
     * information.
     */
    WrappedEditValidator(request: MsgWrappedEditValidator): Promise<MsgWrappedEditValidatorResponse>;
    /**
     * WrappedStakingUpdateParams defines a method for update the parameters
     * of the x/staking module.
     */
    WrappedStakingUpdateParams(request: MsgWrappedStakingUpdateParams): Promise<MsgWrappedStakingUpdateParamsResponse>;
    /** UpdateParams defines a method for updating epoching module parameters. */
    UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
}
export declare const MsgServiceName = "babylon.epoching.v1.Msg";
export declare class MsgClientImpl implements Msg {
    private readonly rpc;
    private readonly service;
    constructor(rpc: Rpc, opts?: {
        service?: string;
    });
    WrappedDelegate(request: MsgWrappedDelegate): Promise<MsgWrappedDelegateResponse>;
    WrappedUndelegate(request: MsgWrappedUndelegate): Promise<MsgWrappedUndelegateResponse>;
    WrappedBeginRedelegate(request: MsgWrappedBeginRedelegate): Promise<MsgWrappedBeginRedelegateResponse>;
    WrappedCancelUnbondingDelegation(request: MsgWrappedCancelUnbondingDelegation): Promise<MsgWrappedCancelUnbondingDelegationResponse>;
    WrappedEditValidator(request: MsgWrappedEditValidator): Promise<MsgWrappedEditValidatorResponse>;
    WrappedStakingUpdateParams(request: MsgWrappedStakingUpdateParams): Promise<MsgWrappedStakingUpdateParamsResponse>;
    UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
}
interface Rpc {
    request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
}
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
    [K in keyof T]?: DeepPartial<T[K]>;
} : Partial<T>;
type KeysOfUnion<T> = T extends T ? keyof T : never;
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
    [K in keyof P]: Exact<P[K], I[K]>;
} & {
    [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
};
export interface MessageFns<T> {
    encode(message: T, writer?: BinaryWriter): BinaryWriter;
    decode(input: BinaryReader | Uint8Array, length?: number): T;
    fromJSON(object: any): T;
    toJSON(message: T): unknown;
    create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
    fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
}
export {};
//# sourceMappingURL=tx.d.ts.map

Выполнить команду


Для локальной разработки. Не используйте в интернете!