GenesisState: {
    create<I>(base?): GenesisState;
    decode(input, length?): GenesisState;
    encode(message, writer?): Writer;
    fromJSON(object): GenesisState;
    fromPartial<I>(object): GenesisState;
    toJSON(message): unknown;
}

Type declaration

  • create:function
    • Type Parameters

      • I extends {
            params?: {
                externalChainVotingInflationRate?: Uint8Array;
                keyMgmtRelativeInflationRate?: Uint8Array;
            };
            pools?: {
                name?: string;
                rewards?: {
                    coins?: (...)[];
                    validator?: Uint8Array;
                }[];
            }[];
        } & {
            params?: {
                externalChainVotingInflationRate?: Uint8Array;
                keyMgmtRelativeInflationRate?: Uint8Array;
            } & {
                externalChainVotingInflationRate?: Uint8Array;
                keyMgmtRelativeInflationRate?: Uint8Array;
            } & {
                [K in string | number | symbol]: never
            };
            pools?: {
                name?: string;
                rewards?: {
                    coins?: (...) | (...);
                    validator?: (...) | (...);
                }[];
            }[] & ({
                name?: string;
                rewards?: {
                    coins?: ...;
                    validator?: ...;
                }[];
            } & {
                name?: string;
                rewards?: (...)[] & (...)[] & {
                    [K in (...)]: (...)
                };
            } & {
                [K in string | number | symbol]: never
            })[] & {
                [K in string | symbol]: never
            };
        } & {
            [K in string | number | symbol]: never
        }

      Parameters

      • Optional base: I

      Returns GenesisState

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • Type Parameters

      • I extends {
            params?: {
                externalChainVotingInflationRate?: Uint8Array;
                keyMgmtRelativeInflationRate?: Uint8Array;
            };
            pools?: {
                name?: string;
                rewards?: {
                    coins?: (...)[];
                    validator?: Uint8Array;
                }[];
            }[];
        } & {
            params?: {
                externalChainVotingInflationRate?: Uint8Array;
                keyMgmtRelativeInflationRate?: Uint8Array;
            } & {
                externalChainVotingInflationRate?: Uint8Array;
                keyMgmtRelativeInflationRate?: Uint8Array;
            } & {
                [K in string | number | symbol]: never
            };
            pools?: {
                name?: string;
                rewards?: {
                    coins?: (...) | (...);
                    validator?: (...) | (...);
                }[];
            }[] & ({
                name?: string;
                rewards?: {
                    coins?: ...;
                    validator?: ...;
                }[];
            } & {
                name?: string;
                rewards?: (...)[] & (...)[] & {
                    [K in (...)]: (...)
                };
            } & {
                [K in string | number | symbol]: never
            })[] & {
                [K in string | symbol]: never
            };
        } & {
            [K in string | number | symbol]: never
        }

      Parameters

      • object: I

      Returns GenesisState

  • toJSON:function

Generated using TypeDoc