Variable ERC20TokenMetadata
Type declaration
create:function
- create<I>(base?): ERC20TokenMetadata
Type Parameters
- I extends {
asset?: string;
burnerCode?: Uint8Array;
chainId?: Uint8Array;
details?: {
capacity?: Uint8Array;
decimals?: number;
symbol?: string;
tokenName?: string;
};
isExternal?: boolean;
status?: Status;
tokenAddress?: string;
txHash?: string;
} & {
asset?: string;
burnerCode?: Uint8Array;
chainId?: Uint8Array;
details?: {
capacity?: Uint8Array;
decimals?: number;
symbol?: string;
tokenName?: string;
} & {
capacity?: Uint8Array;
decimals?: number;
symbol?: string;
tokenName?: string;
} & {
[K in string | number | symbol]: never
};
isExternal?: boolean;
status?: Status;
tokenAddress?: string;
txHash?: string;
} & {
[K in string | number | symbol]: never
}
decode:function
- decode(input, length?): ERC20TokenMetadata
Parameters
- input: Uint8Array | Reader
Optional
length: number
encode:function
- encode(message, writer?): Writer
Returns Writer
fromJSON:function
fromPartial:function
- fromPartial<I>(object): ERC20TokenMetadata
Type Parameters
- I extends {
asset?: string;
burnerCode?: Uint8Array;
chainId?: Uint8Array;
details?: {
capacity?: Uint8Array;
decimals?: number;
symbol?: string;
tokenName?: string;
};
isExternal?: boolean;
status?: Status;
tokenAddress?: string;
txHash?: string;
} & {
asset?: string;
burnerCode?: Uint8Array;
chainId?: Uint8Array;
details?: {
capacity?: Uint8Array;
decimals?: number;
symbol?: string;
tokenName?: string;
} & {
capacity?: Uint8Array;
decimals?: number;
symbol?: string;
tokenName?: string;
} & {
[K in string | number | symbol]: never
};
isExternal?: boolean;
status?: Status;
tokenAddress?: string;
txHash?: string;
} & {
[K in string | number | symbol]: never
}
toJSON:function
- toJSON(message): unknown
Returns unknown