Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@sushiswap/token-lists / dist / index.d.ts
Size: Mime:
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