Variables
BaseAccount
BaseAccount: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): BaseAccount
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
- fromPartial(object: { accountNumber?: number; address?: string; pubKey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }; sequence?: number }): BaseAccount
-
Parameters
-
object: { accountNumber?: number; address?: string; pubKey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }; sequence?: number }
-
Optional accountNumber?: number
-
Optional address?: string
-
Optional pubKey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }
-
Optional sequence?: number
-
toJSON: function
-
Parameters
Returns unknown
ModuleAccount
ModuleAccount: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): ModuleAccount
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
- fromPartial(object: { baseAccount?: { address?: string | undefined; pubKey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; accountNumber?: number | undefined; sequence?: number | undefined; }; name?: string; permissions?: string[] }): ModuleAccount
-
Parameters
-
object: { baseAccount?: { address?: string | undefined; pubKey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; accountNumber?: number | undefined; sequence?: number | undefined; }; name?: string; permissions?: string[] }
-
Optional baseAccount?: { address?: string | undefined; pubKey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; accountNumber?: number | undefined; sequence?: number | undefined; }
-
Optional name?: string
-
Optional permissions?: string[]
-
toJSON: function
-
Parameters
Returns unknown
Params
Params: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): Params
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
- encode(message: Params, writer?: Writer): Writer
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
- fromPartial(object: { maxMemoCharacters?: number; sigVerifyCostEd25519?: number; sigVerifyCostSecp256k1?: number; txSigLimit?: number; txSizeCostPerByte?: number }): Params
-
Parameters
-
object: { maxMemoCharacters?: number; sigVerifyCostEd25519?: number; sigVerifyCostSecp256k1?: number; txSigLimit?: number; txSizeCostPerByte?: number }
-
Optional maxMemoCharacters?: number
-
Optional sigVerifyCostEd25519?: number
-
Optional sigVerifyCostSecp256k1?: number
-
Optional txSigLimit?: number
-
Optional txSizeCostPerByte?: number
-
toJSON: function
- toJSON(message: Params): unknown
-
Parameters
Returns unknown
Const protobufPackage
protobufPackage: "cosmos.auth.v1beta1" = 'cosmos.auth.v1beta1'