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