Options
All
  • Public
  • Public/Protected
  • All
Menu

Module lib/proto/cosmos/staking/v1beta1/tx

Index

Type aliases

DeepPartial

DeepPartial<T>: T extends Builtin ? T : T extends infer U[] ? DeepPartial<U>[] : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {[ K in keyof T]: DeepPartial<T[K]> } : Partial<T>

Type parameters

  • T

Variables

MsgBeginRedelegate

MsgBeginRedelegate: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

MsgBeginRedelegateResponse

MsgBeginRedelegateResponse: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

MsgCreateValidator

MsgCreateValidator: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • decode: function
  • encode: function
  • fromJSON: function
  • fromPartial: function
    • fromPartial(object: { commission?: { rate?: string | undefined; maxRate?: string | undefined; maxChangeRate?: string | undefined; }; delegatorAddress?: string; description?: { moniker?: string | undefined; identity?: string | undefined; website?: string | undefined; securityContact?: string | undefined; details?: string | undefined; }; minSelfDelegation?: string; pubkey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }; validatorAddress?: string; value?: { denom?: string | undefined; amount?: string | undefined; } }): MsgCreateValidator
    • Parameters

      • object: { commission?: { rate?: string | undefined; maxRate?: string | undefined; maxChangeRate?: string | undefined; }; delegatorAddress?: string; description?: { moniker?: string | undefined; identity?: string | undefined; website?: string | undefined; securityContact?: string | undefined; details?: string | undefined; }; minSelfDelegation?: string; pubkey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }; validatorAddress?: string; value?: { denom?: string | undefined; amount?: string | undefined; } }
        • Optional commission?: { rate?: string | undefined; maxRate?: string | undefined; maxChangeRate?: string | undefined; }
        • Optional delegatorAddress?: string
        • Optional description?: { moniker?: string | undefined; identity?: string | undefined; website?: string | undefined; securityContact?: string | undefined; details?: string | undefined; }
        • Optional minSelfDelegation?: string
        • Optional pubkey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }
        • Optional validatorAddress?: string
        • Optional value?: { denom?: string | undefined; amount?: string | undefined; }

      Returns MsgCreateValidator

  • toJSON: function

MsgCreateValidatorResponse

MsgCreateValidatorResponse: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

MsgDelegate

MsgDelegate: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

MsgDelegateResponse

MsgDelegateResponse: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

MsgEditValidator

MsgEditValidator: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • decode: function
  • encode: function
  • fromJSON: function
  • fromPartial: function
    • fromPartial(object: { commissionRate?: string; description?: { moniker?: string | undefined; identity?: string | undefined; website?: string | undefined; securityContact?: string | undefined; details?: string | undefined; }; minSelfDelegation?: string; validatorAddress?: string }): MsgEditValidator
    • Parameters

      • object: { commissionRate?: string; description?: { moniker?: string | undefined; identity?: string | undefined; website?: string | undefined; securityContact?: string | undefined; details?: string | undefined; }; minSelfDelegation?: string; validatorAddress?: string }
        • Optional commissionRate?: string

          We pass a reference to the new commission rate and min self delegation as it's not mandatory to update. If not updated, the deserialized rate will be zero with no way to distinguish if an update was intended. REF: #2373

        • Optional description?: { moniker?: string | undefined; identity?: string | undefined; website?: string | undefined; securityContact?: string | undefined; details?: string | undefined; }
        • Optional minSelfDelegation?: string
        • Optional validatorAddress?: string

      Returns MsgEditValidator

  • toJSON: function

MsgEditValidatorResponse

MsgEditValidatorResponse: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

MsgUndelegate

MsgUndelegate: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

MsgUndelegateResponse

MsgUndelegateResponse: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

Const protobufPackage

protobufPackage: "cosmos.staking.v1beta1" = 'cosmos.staking.v1beta1'

Generated using TypeDoc