Repository URL to install this package:
|
Version:
0.0.0 ▾
|
import { Token, Type } from '@sushiswap/currency';
import { JSBI } from '@sushiswap/math';
import type { Tags, TokenInfo, TokenList } from '@uniswap/token-lists';
declare type TagDetails = Tags[keyof Tags];
interface TagInfo extends TagDetails {
id: string;
}
/**
* Token instances created from token info on a token list.
*/
export declare class WrappedTokenInfo implements Token {
readonly isNative: false;
readonly isToken: true;
readonly list?: TokenList;
readonly tokenInfo: TokenInfo;
readonly rebase: {
base: JSBI;
elastic: JSBI;
};
constructor(tokenInfo: TokenInfo, list?: TokenList);
private _checksummedAddress;
get address(): string;
get chainId(): number;
get decimals(): number;
get name(): string;
get symbol(): string;
get logoURI(): string | undefined;
private _tags;
get tags(): TagInfo[];
equals(other: Type): boolean;
sortsBefore(other: Token): boolean;
get wrapped(): Token;
}
export {};
//# sourceMappingURL=index.d.ts.map