Supply
: { decode
(input
: Uint8Array | Reader, length
?: number): Supply; encode
(message
: Supply, writer
?: Writer): Writer; fromJSON
(object
: any): Supply; fromPartial
<I>(object
: I): Supply; toJSON
(message
: Supply): unknown; }
Type declaration
-
decode:function
- decode(input: Uint8Array | Reader, length?: number): Supply
-
Parameters
-
input: Uint8Array | Reader
-
Optional
length: number
-
encode:function
- encode(message: Supply, writer?: Writer): Writer
-
Returns Writer
-
fromJSON:function
-
fromPartial:function
- fromPartial<I>(object: I): Supply
-
Type Parameters
-
I extends {
total?: ({ denom?: string | undefined; amount?: string | undefined; })[];
} & {
total?: {
amount?: string;
denom?: string;
}[] & ({
amount?: string;
denom?: string;
} & ({ denom?: string | undefined; amount?: string | undefined; }) & { [ K in string | number | symbol]: never })[] & { [ K in string | symbol]: never };
} & { [ K in string | number | symbol]: never }
-
toJSON:function
- toJSON(message: Supply): unknown
-
Returns unknown