Options
All
  • Public
  • Public/Protected
  • All
Menu

Module lib/proto/cosmos/mint/v1beta1/mint

Index

Interfaces

Type aliases

Variables

Type aliases

DeepPartial

DeepPartial<T>: T extends Builtin ? T : T extends infer U[] ? DeepPartial<U>[] : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {[ K in keyof T]: DeepPartial<T[K]> } : Partial<T>

Type parameters

  • T

Variables

Minter

Minter: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

Params

Params: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • decode: function
    • decode(input: Uint8Array | Reader, length?: number): Params
  • encode: function
    • encode(message: Params, writer?: Writer): Writer
  • fromJSON: function
    • fromJSON(object: any): Params
  • fromPartial: function
    • fromPartial(object: { blocksPerYear?: number; goalBonded?: string; inflationMax?: string; inflationMin?: string; inflationRateChange?: string; mintDenom?: string }): Params
    • Parameters

      • object: { blocksPerYear?: number; goalBonded?: string; inflationMax?: string; inflationMin?: string; inflationRateChange?: string; mintDenom?: string }
        • Optional blocksPerYear?: number

          expected blocks per year

        • Optional goalBonded?: string

          goal of percent bonded atoms

        • Optional inflationMax?: string

          maximum inflation rate

        • Optional inflationMin?: string

          minimum inflation rate

        • Optional inflationRateChange?: string

          maximum annual change in inflation rate

        • Optional mintDenom?: string

          type of coin to mint

      Returns Params

  • toJSON: function
    • toJSON(message: Params): unknown

Const protobufPackage

protobufPackage: "cosmos.mint.v1beta1" = 'cosmos.mint.v1beta1'

Generated using TypeDoc