Pool
: { decode
(input
: Uint8Array | Reader, length
?: number): Pool; encode
(message
: Pool, writer
?: Writer): Writer; fromJSON
(object
: any): Pool; fromPartial
<I>(object
: I): Pool; toJSON
(message
: Pool): unknown; }
Type declaration
-
decode:function
- decode(input: Uint8Array | Reader, length?: number): Pool
-
Parameters
-
input: Uint8Array | Reader
-
Optional
length: number
-
encode:function
- encode(message: Pool, writer?: Writer): Writer
-
Parameters
-
message: Pool
-
writer: Writer = ...
Returns Writer
-
fromJSON:function
- fromJSON(object: any): Pool
-
-
fromPartial:function
- fromPartial<I>(object: I): Pool
-
Type Parameters
-
I extends {
bondedTokens?: string;
notBondedTokens?: string;
} & {
bondedTokens?: string;
notBondedTokens?: string;
} & { [ K in string | number | symbol]: never }
-
toJSON:function
- toJSON(message: Pool): unknown
-
Returns unknown