"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Token = void 0;
class Token {
    id;
    isNative;
    address;
    networkId;
    thumbnail;
    name;
    symbol;
    decimals;
    code;
    info;
    isActive;
    minimumSwapValue;
    mcap;
    createdAt;
    updatedAt;
    constructor(id, isNative, address, networkId, thumbnail, name, symbol, decimals, code, info, isActive, minimumSwapValue, mcap, createdAt, updatedAt) {
        this.id = id;
        this.isNative = isNative;
        this.address = address;
        this.networkId = networkId;
        this.thumbnail = thumbnail;
        this.name = name;
        this.symbol = symbol;
        this.decimals = decimals;
        this.code = code;
        this.info = info;
        this.isActive = isActive;
        this.minimumSwapValue = minimumSwapValue;
        this.mcap = mcap;
        this.createdAt = createdAt;
        this.updatedAt = updatedAt;
    }
    static create(id, isNative, address, networkId, thumbnail, name, symbol, decimals, code, info, isActive = true, minimumSwapValue = null, mcap = null) {
        const now = new Date();
        return new Token(id, isNative, address, networkId, thumbnail, name, symbol, decimals, code, info, isActive, minimumSwapValue, mcap, now, now);
    }
}
exports.Token = Token;
//# sourceMappingURL=token.js.map