// package: cosmos.staking.v1beta1 // file: cosmos/staking/v1beta1/tx.proto /* tslint:disable */ /* eslint-disable */ import * as grpc from "grpc"; import * as cosmos_staking_v1beta1_tx_pb from "../../../cosmos/staking/v1beta1/tx_pb"; import * as google_protobuf_any_pb from "google-protobuf/google/protobuf/any_pb"; import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb"; import * as gogoproto_gogo_pb from "../../../gogoproto/gogo_pb"; import * as cosmos_proto_cosmos_pb from "../../../cosmos_proto/cosmos_pb"; import * as cosmos_base_v1beta1_coin_pb from "../../../cosmos/base/v1beta1/coin_pb"; import * as cosmos_staking_v1beta1_staking_pb from "../../../cosmos/staking/v1beta1/staking_pb"; interface IMsgService extends grpc.ServiceDefinition { createValidator: IMsgService_ICreateValidator; editValidator: IMsgService_IEditValidator; delegate: IMsgService_IDelegate; beginRedelegate: IMsgService_IBeginRedelegate; undelegate: IMsgService_IUndelegate; } interface IMsgService_ICreateValidator extends grpc.MethodDefinition { path: "/cosmos.staking.v1beta1.Msg/CreateValidator"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } interface IMsgService_IEditValidator extends grpc.MethodDefinition { path: "/cosmos.staking.v1beta1.Msg/EditValidator"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } interface IMsgService_IDelegate extends grpc.MethodDefinition { path: "/cosmos.staking.v1beta1.Msg/Delegate"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } interface IMsgService_IBeginRedelegate extends grpc.MethodDefinition { path: "/cosmos.staking.v1beta1.Msg/BeginRedelegate"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } interface IMsgService_IUndelegate extends grpc.MethodDefinition { path: "/cosmos.staking.v1beta1.Msg/Undelegate"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } export const MsgService: IMsgService; export interface IMsgServer { createValidator: grpc.handleUnaryCall; editValidator: grpc.handleUnaryCall; delegate: grpc.handleUnaryCall; beginRedelegate: grpc.handleUnaryCall; undelegate: grpc.handleUnaryCall; } export interface IMsgClient { createValidator(request: cosmos_staking_v1beta1_tx_pb.MsgCreateValidator, callback: (error: grpc.ServiceError | null, response: cosmos_staking_v1beta1_tx_pb.MsgCreateValidatorResponse) => void): grpc.ClientUnaryCall; createValidator(request: cosmos_staking_v1beta1_tx_pb.MsgCreateValidator, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cosmos_staking_v1beta1_tx_pb.MsgCreateValidatorResponse) => void): grpc.ClientUnaryCall; createValidator(request: cosmos_staking_v1beta1_tx_pb.MsgCreateValidator, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: cosmos_staking_v1beta1_tx_pb.MsgCreateValidatorResponse) => void): grpc.ClientUnaryCall; editValidator(request: cosmos_staking_v1beta1_tx_pb.MsgEditValidator, callback: (error: grpc.ServiceError | null, response: cosmos_staking_v1beta1_tx_pb.MsgEditValidatorResponse) => void): grpc.ClientUnaryCall; editValidator(request: cosmos_staking_v1beta1_tx_pb.MsgEditValidator, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cosmos_staking_v1beta1_tx_pb.MsgEditValidatorResponse) => void): grpc.ClientUnaryCall; editValidator(request: cosmos_staking_v1beta1_tx_pb.MsgEditValidator, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: cosmos_staking_v1beta1_tx_pb.MsgEditValidatorResponse) => void): grpc.ClientUnaryCall; delegate(request: cosmos_staking_v1beta1_tx_pb.MsgDelegate, callback: (error: grpc.ServiceError | null, response: cosmos_staking_v1beta1_tx_pb.MsgDelegateResponse) => void): grpc.ClientUnaryCall; delegate(request: cosmos_staking_v1beta1_tx_pb.MsgDelegate, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cosmos_staking_v1beta1_tx_pb.MsgDelegateResponse) => void): grpc.ClientUnaryCall; delegate(request: cosmos_staking_v1beta1_tx_pb.MsgDelegate, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: cosmos_staking_v1beta1_tx_pb.MsgDelegateResponse) => void): grpc.ClientUnaryCall; beginRedelegate(request: cosmos_staking_v1beta1_tx_pb.MsgBeginRedelegate, callback: (error: grpc.ServiceError | null, response: cosmos_staking_v1beta1_tx_pb.MsgBeginRedelegateResponse) => void): grpc.ClientUnaryCall; beginRedelegate(request: cosmos_staking_v1beta1_tx_pb.MsgBeginRedelegate, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cosmos_staking_v1beta1_tx_pb.MsgBeginRedelegateResponse) => void): grpc.ClientUnaryCall; beginRedelegate(request: cosmos_staking_v1beta1_tx_pb.MsgBeginRedelegate, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: cosmos_staking_v1beta1_tx_pb.MsgBeginRedelegateResponse) => void): grpc.ClientUnaryCall; undelegate(request: cosmos_staking_v1beta1_tx_pb.MsgUndelegate, callback: (error: grpc.ServiceError | null, response: cosmos_staking_v1beta1_tx_pb.MsgUndelegateResponse) => void): grpc.ClientUnaryCall; undelegate(request: cosmos_staking_v1beta1_tx_pb.MsgUndelegate, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cosmos_staking_v1beta1_tx_pb.MsgUndelegateResponse) => void): grpc.ClientUnaryCall; undelegate(request: cosmos_staking_v1beta1_tx_pb.MsgUndelegate, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: cosmos_staking_v1beta1_tx_pb.MsgUndelegateResponse) => void): grpc.ClientUnaryCall; } export class MsgClient extends grpc.Client implements IMsgClient { constructor(address: string, credentials: grpc.ChannelCredentials, options?: object); public createValidator(request: cosmos_staking_v1beta1_tx_pb.MsgCreateValidator, callback: (error: grpc.ServiceError | null, response: cosmos_staking_v1beta1_tx_pb.MsgCreateValidatorResponse) => void): grpc.ClientUnaryCall; public createValidator(request: cosmos_staking_v1beta1_tx_pb.MsgCreateValidator, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cosmos_staking_v1beta1_tx_pb.MsgCreateValidatorResponse) => void): grpc.ClientUnaryCall; public createValidator(request: cosmos_staking_v1beta1_tx_pb.MsgCreateValidator, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: cosmos_staking_v1beta1_tx_pb.MsgCreateValidatorResponse) => void): grpc.ClientUnaryCall; public editValidator(request: cosmos_staking_v1beta1_tx_pb.MsgEditValidator, callback: (error: grpc.ServiceError | null, response: cosmos_staking_v1beta1_tx_pb.MsgEditValidatorResponse) => void): grpc.ClientUnaryCall; public editValidator(request: cosmos_staking_v1beta1_tx_pb.MsgEditValidator, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cosmos_staking_v1beta1_tx_pb.MsgEditValidatorResponse) => void): grpc.ClientUnaryCall; public editValidator(request: cosmos_staking_v1beta1_tx_pb.MsgEditValidator, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: cosmos_staking_v1beta1_tx_pb.MsgEditValidatorResponse) => void): grpc.ClientUnaryCall; public delegate(request: cosmos_staking_v1beta1_tx_pb.MsgDelegate, callback: (error: grpc.ServiceError | null, response: cosmos_staking_v1beta1_tx_pb.MsgDelegateResponse) => void): grpc.ClientUnaryCall; public delegate(request: cosmos_staking_v1beta1_tx_pb.MsgDelegate, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cosmos_staking_v1beta1_tx_pb.MsgDelegateResponse) => void): grpc.ClientUnaryCall; public delegate(request: cosmos_staking_v1beta1_tx_pb.MsgDelegate, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: cosmos_staking_v1beta1_tx_pb.MsgDelegateResponse) => void): grpc.ClientUnaryCall; public beginRedelegate(request: cosmos_staking_v1beta1_tx_pb.MsgBeginRedelegate, callback: (error: grpc.ServiceError | null, response: cosmos_staking_v1beta1_tx_pb.MsgBeginRedelegateResponse) => void): grpc.ClientUnaryCall; public beginRedelegate(request: cosmos_staking_v1beta1_tx_pb.MsgBeginRedelegate, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cosmos_staking_v1beta1_tx_pb.MsgBeginRedelegateResponse) => void): grpc.ClientUnaryCall; public beginRedelegate(request: cosmos_staking_v1beta1_tx_pb.MsgBeginRedelegate, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: cosmos_staking_v1beta1_tx_pb.MsgBeginRedelegateResponse) => void): grpc.ClientUnaryCall; public undelegate(request: cosmos_staking_v1beta1_tx_pb.MsgUndelegate, callback: (error: grpc.ServiceError | null, response: cosmos_staking_v1beta1_tx_pb.MsgUndelegateResponse) => void): grpc.ClientUnaryCall; public undelegate(request: cosmos_staking_v1beta1_tx_pb.MsgUndelegate, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cosmos_staking_v1beta1_tx_pb.MsgUndelegateResponse) => void): grpc.ClientUnaryCall; public undelegate(request: cosmos_staking_v1beta1_tx_pb.MsgUndelegate, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: cosmos_staking_v1beta1_tx_pb.MsgUndelegateResponse) => void): grpc.ClientUnaryCall; }