function transfer(address receiver) public {
        uint256 tokens = tokenBalance[msg.sender];
        require(tokens > 0);

        tokenBalance[msg.sender] = 0;
        tokenBalance[receiver] += tokens;

        emit OnTransfer(msg.sender, receiver, tokens, now);
    }