Variables
Capability
Capability: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): Capability
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
- encode(message: Capability, writer?: Writer): Writer
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
- fromPartial(object: { index?: number }): Capability
-
Parameters
-
object: { index?: number }
-
toJSON: function
-
Parameters
Returns unknown
CapabilityOwners
CapabilityOwners: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
- fromPartial(object: { owners?: { module?: string | undefined; name?: string | undefined; }[] }): CapabilityOwners
-
Parameters
-
object: { owners?: { module?: string | undefined; name?: string | undefined; }[] }
-
Optional owners?: { module?: string | undefined; name?: string | undefined; }[]
-
toJSON: function
-
Parameters
Returns unknown
Owner
Owner: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): Owner
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
- encode(message: Owner, writer?: Writer): Writer
-
Parameters
Returns Writer
-
fromJSON: function
- fromJSON(object: any): Owner
-
fromPartial: function
- fromPartial(object: { module?: string; name?: string }): Owner
-
Parameters
-
object: { module?: string; name?: string }
-
Optional module?: string
-
Optional name?: string
-
toJSON: function
- toJSON(message: Owner): unknown
-
Parameters
Returns unknown
Const protobufPackage
protobufPackage: "cosmos.capability.v1beta1" = 'cosmos.capability.v1beta1'