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