contract AzotLandsToken is Pausable, StandardToken {

    string private _name;
    string private _symbol;
    uint8 private _decimals;
    uint256 private _totalSupply;
    
    /*****
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor () public {
        _name = 'LANDS';
        _symbol = 'LANDS';
        _decimals = 8;
        _totalSupply = 100000000 * 10**8;
        _balances[owner] = 100000000 * 10**8;
    }

    /*****
     * @dev Returns the name of the token.
     */
    function name() public view returns (string memory) {
        return _name;
    }

    /*****
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view returns (string memory) {
        return _symbol;
    }

    /*****
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view returns (uint8) {
        return _decimals;
    }


    function transfer(address recipient, uint256 amount) public whenNotPaused virtual override returns (bool) {
        _transfer(recipient, amount);
        return true;
    }


    function transferFrom(address _from, address _to, uint _value) public whenNotPaused virtual override returns (bool){
        return super.transferFrom(_from, _to, _value);
    }

    function balanceOf(address who) public view override returns(uint256) {
        return super.balanceOf(who);
    }

    function approve(address _spender, uint _value) public onlyPayloadSize(2 * 32)  override returns (bool){
        return super.approve(_spender, _value);
    }

    function allowance(address _owner, address _spender) public view virtual override returns (uint remaining) {
        return super.allowance(_owner, _spender);
    }

    /*****
    * @dev See {IERC20-totalSupply}.
    */
    function totalSupply() public view override returns (uint256) {
        return _totalSupply;
    }
    /*
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }
    */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }

    function setParams(uint newBasisPoints, uint newMaxFee) public onlyOwner {
        // Ensure transparency by hardcoding limit beyond which fees can never be added
        require(newBasisPoints < 20);
        require(newMaxFee < 50);

        basisPointsRate = newBasisPoints;
        uint maximumFee = newMaxFee.mul(10**8);

       emit Params(basisPointsRate, maximumFee);
    }

    // Called if contract ever adds fees
    event Params(uint feeBasisPoints, uint maxFee);
}
function totalSupply() public view override returns (uint256) {
    return _totalSupply;
}

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