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
    • 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
        }

      Parameters

      • Optional base: I

      Returns Pool

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • 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
        }

      Parameters

      • object: I

      Returns Pool

  • toJSON:function

Generated using TypeDoc