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 {
name?: string;
rewards?: {
coins?: {
amount?: string;
denom?: string;
}[];
validator?: Uint8Array;
}[];
} & {
name?: string;
rewards?: {
coins?: {
amount?: (...) | (...);
denom?: (...) | (...);
}[];
validator?: Uint8Array;
}[] & ({
coins?: {
amount?: ...;
denom?: ...;
}[];
validator?: Uint8Array;
} & {
coins?: (...)[] & (...)[] & {
[K in (...)]: (...)
};
validator?: Uint8Array;
} & {
[K in string | number | symbol]: never
})[] & {
[K in string | symbol]: never
};
} & {
[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 {
name?: string;
rewards?: {
coins?: {
amount?: string;
denom?: string;
}[];
validator?: Uint8Array;
}[];
} & {
name?: string;
rewards?: {
coins?: {
amount?: (...) | (...);
denom?: (...) | (...);
}[];
validator?: Uint8Array;
}[] & ({
coins?: {
amount?: ...;
denom?: ...;
}[];
validator?: Uint8Array;
} & {
coins?: (...)[] & (...)[] & {
[K in (...)]: (...)
};
validator?: Uint8Array;
} & {
[K in string | number | symbol]: never
})[] & {
[K in string | symbol]: never
};
} & {
[K in string | number | symbol]: never
}
toJSON:function
- toJSON(message): unknown
Returns unknown