Type declaration
-
decode:function
- decode(input: Uint8Array | Reader, length?: number): BasicAllowance
-
Parameters
-
input: Uint8Array | Reader
-
Optional
length: number
-
encode:function
- encode(message: BasicAllowance, writer?: Writer): Writer
-
Returns Writer
-
fromJSON:function
-
fromPartial:function
- fromPartial<I>(object: I): BasicAllowance
-
Type Parameters
-
I extends {
expiration?: Date;
spendLimit?: ({ denom?: string | undefined; amount?: string | undefined; })[];
} & {
expiration?: Date;
spendLimit?: {
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