contract BextToken is ERC20,Ownable{

    uint256 _totalSupply=500 * 10**6 * 10**18;
    uint8 _decimal=18;
    string _name='BYTEDEX';
    string _symbol='BEXT';
    constructor () ERC20(_name, _symbol) {
        _mint(msg.sender, _totalSupply);
    }
    function decimals() public view override returns (uint8) {
        return _decimal;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        return _totalSupply;
    }
}
function totalSupply() public view override returns (uint256) {
    return _totalSupply;
}

/**
 * @dev See {IERC20-totalSupply}.
 */