Contract 0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c 2

Contract Overview

Balance:
0 BNB

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x9e13feb9fad998477de5d9ddd9d369edc03ebf064fd34587a596418175162b1aTransfer144532222021-11-26 14:37:1114 hrs 40 mins ago0xf378c952d5266ef8e1783521a1395fe40cdce55b IN  0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB0.00051034
0xc0ac1a8cb31c3763dfc09b277068caf96bb62ba334e6080234b8e2cbcc17147aTransfer144530002021-11-26 14:26:0514 hrs 52 mins ago0xf378c952d5266ef8e1783521a1395fe40cdce55b IN  0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB0.00051034
0xfa9ea6cb3756aec9f72231cdb8faa03331995173b5b89468cf4b8cf0b09ce5f6Transfer144526122021-11-26 14:06:4115 hrs 11 mins ago0xf378c952d5266ef8e1783521a1395fe40cdce55b IN  0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB0.00051034
0x28842c3309e3f4b18c6a751d5a92fcee8dd371b3502b674ae711969f35ffa96eTransfer144445152021-11-26 7:21:4821 hrs 56 mins ago0xe190a2191cdcf8d1c97aaab04d2cfd857aada3c8 IN  0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB0.00051046
0x05ab76575a5165a30781d0a84ff396e4fc8125d41dcff7bd1ff65aa990599424Transfer143928662021-11-24 12:18:352 days 16 hrs ago0xf378c952d5266ef8e1783521a1395fe40cdce55b IN  0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB0.00051034
0x34db7f5aba4374bf087ab5242c83071b58484055603ed597abb9cf70aa82d519Transfer143707452021-11-23 17:43:083 days 11 hrs ago0xf378c952d5266ef8e1783521a1395fe40cdce55b IN  0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB0.00051034
0x35840735059e25c9b82f819d0d3049c1e4e66de314f1b3f383b09e25c1fc9e69Transfer143686622021-11-23 15:58:593 days 13 hrs ago0xf378c952d5266ef8e1783521a1395fe40cdce55b IN  0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB0.00051034
0x6111e6710e70d5861ecf66886347dfff01c79a242d25d49f815621caca354b0bTransfer143570262021-11-23 5:43:223 days 23 hrs ago0xfe09209b72905fa2196b2b71b23e8a64d95c570f IN  0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB0.00051046
0xca64e5f3717245d6211852476330d7c609092054510ee56265820af6380bc6f5Transfer143148122021-11-21 18:12:425 days 11 hrs ago0xc83cccd964fae2174749a3b5cae65d6c60c28db2 IN  0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB0.00036022
0x995aee619cd498488c68bf60b67c2d9dacc73ecb12a61232d5100049ed79ff0cTransfer143147632021-11-21 18:10:155 days 11 hrs ago0xc83cccd964fae2174749a3b5cae65d6c60c28db2 IN  0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB0.00036022
0xf8bf90e5e11f46dc0480cd7c5e80210f36ac97d7c168687fff0d141422d016feApprove142858302021-11-20 18:03:356 days 11 hrs ago0x30d9440c63fae025b5ac146da88e797317c8e063 IN  0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB0.002992020502
0x7ddd34a86d18adfac3d8e10165336de92ac03a540b4508a3dcb0a463a9cea4faTransfer142472442021-11-19 9:53:147 days 19 hrs ago0x949cec45a73a04633f627a99ab74c11c6f69e86f IN  0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB0.00051046
0x1a23606223eba9be0282cb1e4ff7e4063c9c29559d619fa6057622d1c5c82880Transfer142471782021-11-19 9:49:567 days 19 hrs ago0xc83cccd964fae2174749a3b5cae65d6c60c28db2 IN  0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB0.00036022
0x7168fad0c41c134af34a6f1533c9bfcedac1e365ed88cd3c378c5a8b26822026Transfer142454222021-11-19 8:22:087 days 20 hrs ago0x949cec45a73a04633f627a99ab74c11c6f69e86f IN  0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB0.0005107
0xfe652cead0df29640ca3839f84cd7e57d6572208aa5468d3abf14cd472ef265dTransfer142279032021-11-18 17:46:108 days 11 hrs ago0xf378c952d5266ef8e1783521a1395fe40cdce55b IN  0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB0.00051034
0x0eb3a93b48ae2974f3004dc161c784cfa24a8fb4c84ae6bb1ba5be949dedffb3Approve142167892021-11-18 8:30:288 days 20 hrs ago0x949cec45a73a04633f627a99ab74c11c6f69e86f IN  0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB0.00044266
0x580e005e94871f7933e07fabbcab4c06f7f4b220264dc9403891b3e99b284b8eAllocate To142167492021-11-18 8:28:288 days 20 hrs ago0x949cec45a73a04633f627a99ab74c11c6f69e86f IN  0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB0.00035503
0x22b40ce2e29307e9ce1800fb6b121c7817fdd49eeffbbcba65c3db06770152b9Approve141973602021-11-17 16:19:019 days 12 hrs ago0x22831645b7d76537f160e25d2b8b903a8f918cc6 IN  0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB0.00044266
0x1f3a48a1d37a16761511a4c24423d7e4cdc33f7b72f96cc012e4dca751e9302bTransfer141929152021-11-17 12:36:459 days 16 hrs ago0xc83cccd964fae2174749a3b5cae65d6c60c28db2 IN  0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB0.00036022
0x59ee481901c70a57676c331f30014dc3a4e36ed1d4fb875cace088fbad116995Transfer141915442021-11-17 11:28:129 days 17 hrs ago0xc83cccd964fae2174749a3b5cae65d6c60c28db2 IN  0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB0.00051022
0xd5a39f3d704166496362a06960a43d82c868d86fa2dfe628e9536ab90e3cd3d3Approve141868532021-11-17 7:33:399 days 21 hrs ago0x1cee82eed89bd5be5bf2507a92a755dcf1d8e8dc IN  0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB0.00025066
0xac808c722e00b692f81bc33acd62651c21c3c208b9bfc7905b297238173e125fApprove141868282021-11-17 7:32:249 days 21 hrs ago0x1cee82eed89bd5be5bf2507a92a755dcf1d8e8dc IN  0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB0.00044266
0x9d77d12f78c01b857b38a3c50251c2b966938c32ee65a4c2cf221e739692dbedTransfer141635432021-11-16 12:06:3410 days 17 hrs ago0x2ce1d0ffd7e869d9df33e28552b12ddded326706 IN  0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB0.00076551
0xd82cdadac63f14b5a5bd760d2c2ac0d41a6dfde867fac88584b365802a0c3dcbTransfer141597242021-11-16 8:55:3710 days 20 hrs ago0x2ce1d0ffd7e869d9df33e28552b12ddded326706 IN  0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB0.00076551
0xdc2348c1cb082d21f8567ee3d559b59dfa70ac0e4a2c38ca081cb2ab3810ed5aApprove140403922021-11-12 5:28:1914 days 23 hrs ago0xf8cc6f87bd97181a73ee5320c33fb98e8a86c323 IN  0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB0.00044266
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x2916f3da64236e8f9f0da43191cf2149355f3b6e5e591135f405eff6b846e6c2144483782021-11-26 10:34:5718 hrs 43 mins ago 0x98f262fce10cf488bf52616b7d942f9480220def 0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB
0x2916f3da64236e8f9f0da43191cf2149355f3b6e5e591135f405eff6b846e6c2144483782021-11-26 10:34:5718 hrs 43 mins ago 0x98f262fce10cf488bf52616b7d942f9480220def 0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB
0x2916f3da64236e8f9f0da43191cf2149355f3b6e5e591135f405eff6b846e6c2144483782021-11-26 10:34:5718 hrs 43 mins ago 0x98f262fce10cf488bf52616b7d942f9480220def 0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB
0x2916f3da64236e8f9f0da43191cf2149355f3b6e5e591135f405eff6b846e6c2144483782021-11-26 10:34:5718 hrs 43 mins ago 0x98f262fce10cf488bf52616b7d942f9480220def 0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB
0x2916f3da64236e8f9f0da43191cf2149355f3b6e5e591135f405eff6b846e6c2144483782021-11-26 10:34:5718 hrs 43 mins ago 0x98f262fce10cf488bf52616b7d942f9480220def 0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB
0x2916f3da64236e8f9f0da43191cf2149355f3b6e5e591135f405eff6b846e6c2144483782021-11-26 10:34:5718 hrs 43 mins ago 0xaf1bc5f010f39acdd4fe31866bf0fcd3025e7d52 0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB
0x2916f3da64236e8f9f0da43191cf2149355f3b6e5e591135f405eff6b846e6c2144483782021-11-26 10:34:5718 hrs 43 mins ago 0x8fb506083c91737c5ba66dfd469f6e50bc596251 0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB
0x2916f3da64236e8f9f0da43191cf2149355f3b6e5e591135f405eff6b846e6c2144483782021-11-26 10:34:5718 hrs 43 mins ago 0x8fb506083c91737c5ba66dfd469f6e50bc596251 0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB
0x2916f3da64236e8f9f0da43191cf2149355f3b6e5e591135f405eff6b846e6c2144483782021-11-26 10:34:5718 hrs 43 mins ago 0xb7526572ffe56ab9d7489838bf2e18e3323b441a 0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB
0x2916f3da64236e8f9f0da43191cf2149355f3b6e5e591135f405eff6b846e6c2144483782021-11-26 10:34:5718 hrs 43 mins ago 0xb7526572ffe56ab9d7489838bf2e18e3323b441a 0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB
0x2916f3da64236e8f9f0da43191cf2149355f3b6e5e591135f405eff6b846e6c2144483782021-11-26 10:34:5718 hrs 43 mins ago 0xb7526572ffe56ab9d7489838bf2e18e3323b441a 0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB
0x2916f3da64236e8f9f0da43191cf2149355f3b6e5e591135f405eff6b846e6c2144483782021-11-26 10:34:5718 hrs 43 mins ago 0xb7526572ffe56ab9d7489838bf2e18e3323b441a 0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB
0x2916f3da64236e8f9f0da43191cf2149355f3b6e5e591135f405eff6b846e6c2144483782021-11-26 10:34:5718 hrs 43 mins ago 0xb7526572ffe56ab9d7489838bf2e18e3323b441a 0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB
0x2916f3da64236e8f9f0da43191cf2149355f3b6e5e591135f405eff6b846e6c2144483782021-11-26 10:34:5718 hrs 43 mins ago 0xaf1bc5f010f39acdd4fe31866bf0fcd3025e7d52 0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB
0x2916f3da64236e8f9f0da43191cf2149355f3b6e5e591135f405eff6b846e6c2144483782021-11-26 10:34:5718 hrs 43 mins ago 0xaf1bc5f010f39acdd4fe31866bf0fcd3025e7d52 0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB
0x2916f3da64236e8f9f0da43191cf2149355f3b6e5e591135f405eff6b846e6c2144483782021-11-26 10:34:5718 hrs 43 mins ago 0xaf1bc5f010f39acdd4fe31866bf0fcd3025e7d52 0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB
0x2916f3da64236e8f9f0da43191cf2149355f3b6e5e591135f405eff6b846e6c2144483782021-11-26 10:34:5718 hrs 43 mins ago 0xaf1bc5f010f39acdd4fe31866bf0fcd3025e7d52 0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB
0x2916f3da64236e8f9f0da43191cf2149355f3b6e5e591135f405eff6b846e6c2144483782021-11-26 10:34:5718 hrs 43 mins ago 0xaf1bc5f010f39acdd4fe31866bf0fcd3025e7d52 0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB
0x2916f3da64236e8f9f0da43191cf2149355f3b6e5e591135f405eff6b846e6c2144483782021-11-26 10:34:5718 hrs 43 mins ago 0xb7526572ffe56ab9d7489838bf2e18e3323b441a 0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB
0x2916f3da64236e8f9f0da43191cf2149355f3b6e5e591135f405eff6b846e6c2144483782021-11-26 10:34:5718 hrs 43 mins ago 0xb7526572ffe56ab9d7489838bf2e18e3323b441a 0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB
0x2916f3da64236e8f9f0da43191cf2149355f3b6e5e591135f405eff6b846e6c2144483782021-11-26 10:34:5718 hrs 43 mins ago 0x03cf8ff6262363010984b192dc654bd4825caffc 0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB
0x2916f3da64236e8f9f0da43191cf2149355f3b6e5e591135f405eff6b846e6c2144483782021-11-26 10:34:5718 hrs 43 mins ago 0x03cf8ff6262363010984b192dc654bd4825caffc 0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB
0x2916f3da64236e8f9f0da43191cf2149355f3b6e5e591135f405eff6b846e6c2144483782021-11-26 10:34:5718 hrs 43 mins ago 0xb7526572ffe56ab9d7489838bf2e18e3323b441a 0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB
0x2916f3da64236e8f9f0da43191cf2149355f3b6e5e591135f405eff6b846e6c2144483782021-11-26 10:34:5718 hrs 43 mins ago 0xb7526572ffe56ab9d7489838bf2e18e3323b441a 0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB
0x2916f3da64236e8f9f0da43191cf2149355f3b6e5e591135f405eff6b846e6c2144483782021-11-26 10:34:5718 hrs 43 mins ago 0xb7526572ffe56ab9d7489838bf2e18e3323b441a 0xa11c8d9dc9b66e209ef60f0c8d969d3cd988782c0 BNB
[ Download CSV Export 
Loading

Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x75107940cf1121232c0559c747a986defbc69da9

Contract Name:
FaucetToken

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity Multiple files format)

File 1 of 3: FaucetToken.sol
pragma solidity ^0.5.16;

import "./BEP20.sol";

/**
 * @title The Venus Faucet Test Token
 * @author Venus
 * @notice A simple test token that lets anyone get more of it.
 */
contract FaucetToken is StandardToken {
    constructor(uint256 _initialAmount, string memory _tokenName, uint8 _decimalUnits, string memory _tokenSymbol) public
        StandardToken(_initialAmount, _tokenName, _decimalUnits, _tokenSymbol) {
    }

    function allocateTo(address _owner, uint256 value) public {
        balanceOf[_owner] += value;
        totalSupply += value;
        emit Transfer(address(this), _owner, value);
    }
}

/**
 * @title The Venus Faucet Test Token (non-standard)
 * @author Venus
 * @notice A simple test token that lets anyone get more of it.
 */
contract FaucetNonStandardToken is NonStandardToken {
    constructor(uint256 _initialAmount, string memory _tokenName, uint8 _decimalUnits, string memory _tokenSymbol) public
        NonStandardToken(_initialAmount, _tokenName, _decimalUnits, _tokenSymbol) {
    }

    function allocateTo(address _owner, uint256 value) public {
        balanceOf[_owner] += value;
        totalSupply += value;
        emit Transfer(address(this), _owner, value);
    }
}

/**
 * @title The Venus Faucet Re-Entrant Test Token
 * @author Venus
 * @notice A test token that is malicious and tries to re-enter callers
 */
contract FaucetTokenReEntrantHarness {
    using SafeMath for uint256;

    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);

    string public name;
    string public symbol;
    uint8 public decimals;
    uint256 totalSupply_;
    mapping (address => mapping (address => uint256)) allowance_;
    mapping (address => uint256) balanceOf_;

    bytes public reEntryCallData;
    string public reEntryFun;

    constructor(uint256 _initialAmount, string memory _tokenName, uint8 _decimalUnits, string memory _tokenSymbol, bytes memory _reEntryCallData, string memory _reEntryFun) public {
        totalSupply_ = _initialAmount;
        balanceOf_[msg.sender] = _initialAmount;
        name = _tokenName;
        symbol = _tokenSymbol;
        decimals = _decimalUnits;
        reEntryCallData = _reEntryCallData;
        reEntryFun = _reEntryFun;
    }

    modifier reEnter(string memory funName) {
        string memory _reEntryFun = reEntryFun;
        if (compareStrings(_reEntryFun, funName)) {
            reEntryFun = ""; // Clear re-entry fun
            (bool success, bytes memory returndata) = msg.sender.call(reEntryCallData);
            assembly {
                if eq(success, 0) {
                    revert(add(returndata, 0x20), returndatasize())
                }
            }
        }

        _;
    }

    function compareStrings(string memory a, string memory b) internal pure returns (bool) {
        return keccak256(abi.encodePacked((a))) == keccak256(abi.encodePacked((b)));
    }

    function allocateTo(address _owner, uint256 value) public {
        balanceOf_[_owner] += value;
        totalSupply_ += value;
        emit Transfer(address(this), _owner, value);
    }

    function totalSupply() public reEnter("totalSupply") returns (uint256) {
        return totalSupply_;
    }

    function allowance(address owner, address spender) public reEnter("allowance") returns (uint256 remaining) {
        return allowance_[owner][spender];
    }

    function approve(address spender, uint256 amount) public reEnter("approve") returns (bool success) {
        _approve(msg.sender, spender, amount);
        return true;
    }

    function balanceOf(address owner) public reEnter("balanceOf") returns (uint256 balance) {
        return balanceOf_[owner];
    }

    function transfer(address dst, uint256 amount) public reEnter("transfer") returns (bool success) {
        _transfer(msg.sender, dst, amount);
        return true;
    }

    function transferFrom(address src, address dst, uint256 amount) public reEnter("transferFrom") returns (bool success) {
        _transfer(src, dst, amount);
        _approve(src, msg.sender, allowance_[src][msg.sender].sub(amount));
        return true;
    }

    function _approve(address owner, address spender, uint256 amount) internal {
        require(spender != address(0));
        require(owner != address(0));
        allowance_[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    function _transfer(address src, address dst, uint256 amount) internal {
        require(dst != address(0));
        balanceOf_[src] = balanceOf_[src].sub(amount);
        balanceOf_[dst] = balanceOf_[dst].add(amount);
        emit Transfer(src, dst, amount);
    }
}

File 2 of 3: BEP20.sol
pragma solidity ^0.5.16;

import "SafeMath.sol";

interface BEP20Base {
    event Approval(address indexed owner, address indexed spender, uint256 value);
    event Transfer(address indexed from, address indexed to, uint256 value);
    function totalSupply() external view returns (uint256);
    function allowance(address owner, address spender) external view returns (uint256);
    function approve(address spender, uint256 value) external returns (bool);
    function balanceOf(address who) external view returns (uint256);
}

contract BEP20 is BEP20Base {
    function transfer(address to, uint256 value) external returns (bool);
    function transferFrom(address from, address to, uint256 value) external returns (bool);
}

contract BEP20NS is BEP20Base {
    function transfer(address to, uint256 value) external;
    function transferFrom(address from, address to, uint256 value) external;
}

/**
 * @title Standard BEP20 token
 * @dev Implementation of the basic standard token.
 *  See https://github.com/ethereum/EIPs/issues/20
 */
contract StandardToken is BEP20 {
    using SafeMath for uint256;

    string public name;
    string public symbol;
    uint8 public decimals;
    uint256 public totalSupply;
    mapping (address => mapping (address => uint256)) public allowance;
    mapping(address => uint256) public balanceOf;

    constructor(uint256 _initialAmount, string memory _tokenName, uint8 _decimalUnits, string memory _tokenSymbol) public {
        totalSupply = _initialAmount;
        balanceOf[msg.sender] = _initialAmount;
        name = _tokenName;
        symbol = _tokenSymbol;
        decimals = _decimalUnits;
    }

    function transfer(address dst, uint256 amount) external returns (bool) {
        balanceOf[msg.sender] = balanceOf[msg.sender].sub(amount, "Insufficient balance");
        balanceOf[dst] = balanceOf[dst].add(amount, "Balance overflow");
        emit Transfer(msg.sender, dst, amount);
        return true;
    }

    function transferFrom(address src, address dst, uint256 amount) external returns (bool) {
        allowance[src][msg.sender] = allowance[src][msg.sender].sub(amount, "Insufficient allowance");
        balanceOf[src] = balanceOf[src].sub(amount, "Insufficient balance");
        balanceOf[dst] = balanceOf[dst].add(amount, "Balance overflow");
        emit Transfer(src, dst, amount);
        return true;
    }

    function approve(address _spender, uint256 amount) external returns (bool) {
        allowance[msg.sender][_spender] = amount;
        emit Approval(msg.sender, _spender, amount);
        return true;
    }
}

/**
 * @title Non-Standard BEP20 token
 * @dev Version of BEP20 with no return values for `transfer` and `transferFrom`
 *  See https://medium.com/coinmonks/missing-return-value-bug-at-least-130-tokens-affected-d67bf08521ca
 */
contract NonStandardToken is BEP20NS {
    using SafeMath for uint256;

    string public name;
    uint8 public decimals;
    string public symbol;
    uint256 public totalSupply;
    mapping (address => mapping (address => uint256)) public allowance;
    mapping(address => uint256) public balanceOf;

    constructor(uint256 _initialAmount, string memory _tokenName, uint8 _decimalUnits, string memory _tokenSymbol) public {
        totalSupply = _initialAmount;
        balanceOf[msg.sender] = _initialAmount;
        name = _tokenName;
        symbol = _tokenSymbol;
        decimals = _decimalUnits;
    }

    function transfer(address dst, uint256 amount) external {
        balanceOf[msg.sender] = balanceOf[msg.sender].sub(amount, "Insufficient balance");
        balanceOf[dst] = balanceOf[dst].add(amount, "Balance overflow");
        emit Transfer(msg.sender, dst, amount);
    }

    function transferFrom(address src, address dst, uint256 amount) external {
        allowance[src][msg.sender] = allowance[src][msg.sender].sub(amount, "Insufficient allowance");
        balanceOf[src] = balanceOf[src].sub(amount, "Insufficient balance");
        balanceOf[dst] = balanceOf[dst].add(amount, "Balance overflow");
        emit Transfer(src, dst, amount);
    }

    function approve(address _spender, uint256 amount) external returns (bool) {
        allowance[msg.sender][_spender] = amount;
        emit Approval(msg.sender, _spender, amount);
        return true;
    }
}

contract BEP20Harness is StandardToken {
    // To support testing, we can specify addresses for which transferFrom should fail and return false
    mapping (address => bool) public failTransferFromAddresses;

    // To support testing, we allow the contract to always fail `transfer`.
    mapping (address => bool) public failTransferToAddresses;

    constructor(uint256 _initialAmount, string memory _tokenName, uint8 _decimalUnits, string memory _tokenSymbol) public
        StandardToken(_initialAmount, _tokenName, _decimalUnits, _tokenSymbol) {}

    function harnessSetFailTransferFromAddress(address src, bool _fail) public {
        failTransferFromAddresses[src] = _fail;
    }

    function harnessSetFailTransferToAddress(address dst, bool _fail) public {
        failTransferToAddresses[dst] = _fail;
    }

    function harnessSetBalance(address _account, uint _amount) public {
        balanceOf[_account] = _amount;
    }

    function transfer(address dst, uint256 amount) external returns (bool success) {
        // Added for testing purposes
        if (failTransferToAddresses[dst]) {
            return false;
        }
        balanceOf[msg.sender] = balanceOf[msg.sender].sub(amount, "Insufficient balance");
        balanceOf[dst] = balanceOf[dst].add(amount, "Balance overflow");
        emit Transfer(msg.sender, dst, amount);
        return true;
    }

    function transferFrom(address src, address dst, uint256 amount) external returns (bool success) {
        // Added for testing purposes
        if (failTransferFromAddresses[src]) {
            return false;
        }
        allowance[src][msg.sender] = allowance[src][msg.sender].sub(amount, "Insufficient allowance");
        balanceOf[src] = balanceOf[src].sub(amount, "Insufficient balance");
        balanceOf[dst] = balanceOf[dst].add(amount, "Balance overflow");
        emit Transfer(src, dst, amount);
        return true;
    }
}

File 3 of 3: SafeMath.sol
pragma solidity ^0.5.16;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
  /**
   * @dev Returns the addition of two unsigned integers, reverting on
   * overflow.
   *
   * Counterpart to Solidity's `+` operator.
   *
   * Requirements:
   * - Addition cannot overflow.
   */
  function add(uint256 a, uint256 b) internal pure returns (uint256) {
    return add(a, b, "SafeMath: addition overflow");
  }

  /**
   * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
   * overflow (when the result is negative).
   *
   * Counterpart to Solidity's `-` operator.
   *
   * Requirements:
   * - Subtraction cannot overflow.
   */
  function add(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
    uint256 c = a + b;
    require(c >= a, errorMessage);

    return c;
  }

  /**
   * @dev Returns the subtraction of two unsigned integers, reverting on
   * overflow (when the result is negative).
   *
   * Counterpart to Solidity's `-` operator.
   *
   * Requirements:
   * - Subtraction cannot overflow.
   */
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    return sub(a, b, "SafeMath: subtraction overflow");
  }

  /**
   * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
   * overflow (when the result is negative).
   *
   * Counterpart to Solidity's `-` operator.
   *
   * Requirements:
   * - Subtraction cannot overflow.
   */
  function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
    require(b <= a, errorMessage);
    uint256 c = a - b;

    return c;
  }

  /**
   * @dev Returns the multiplication of two unsigned integers, reverting on
   * overflow.
   *
   * Counterpart to Solidity's `*` operator.
   *
   * Requirements:
   * - Multiplication cannot overflow.
   */
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
    // benefit is lost if 'b' is also tested.
    // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
    if (a == 0) {
      return 0;
    }

    uint256 c = a * b;
    require(c / a == b, "SafeMath: multiplication overflow");

    return c;
  }

  /**
   * @dev Returns the integer division of two unsigned integers. Reverts on
   * division by zero. The result is rounded towards zero.
   *
   * Counterpart to Solidity's `/` operator. Note: this function uses a
   * `revert` opcode (which leaves remaining gas untouched) while Solidity
   * uses an invalid opcode to revert (consuming all remaining gas).
   *
   * Requirements:
   * - The divisor cannot be zero.
   */
  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    return div(a, b, "SafeMath: division by zero");
  }

  /**
   * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
   * division by zero. The result is rounded towards zero.
   *
   * Counterpart to Solidity's `/` operator. Note: this function uses a
   * `revert` opcode (which leaves remaining gas untouched) while Solidity
   * uses an invalid opcode to revert (consuming all remaining gas).
   *
   * Requirements:
   * - The divisor cannot be zero.
   */
  function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
    // Solidity only automatically asserts when dividing by 0
    require(b > 0, errorMessage);
    uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold

    return c;
  }

  /**
   * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
   * Reverts when dividing by zero.
   *
   * Counterpart to Solidity's `%` operator. This function uses a `revert`
   * opcode (which leaves remaining gas untouched) while Solidity uses an
   * invalid opcode to revert (consuming all remaining gas).
   *
   * Requirements:
   * - The divisor cannot be zero.
   */
  function mod(uint256 a, uint256 b) internal pure returns (uint256) {
    return mod(a, b, "SafeMath: modulo by zero");
  }

  /**
   * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
   * Reverts with custom message when dividing by zero.
   *
   * Counterpart to Solidity's `%` operator. This function uses a `revert`
   * opcode (which leaves remaining gas untouched) while Solidity uses an
   * invalid opcode to revert (consuming all remaining gas).
   *
   * Requirements:
   * - The divisor cannot be zero.
   */
  function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
    require(b != 0, errorMessage);
    return a % b;
  }
}

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_initialAmount","type":"uint256"},{"internalType":"string","name":"_tokenName","type":"string"},{"internalType":"uint8","name":"_decimalUnits","type":"uint8"},{"internalType":"string","name":"_tokenSymbol","type":"string"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"constant":false,"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"allocateTo","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50604051610adc380380610adc8339818101604052608081101561003357600080fd5b81516020830180516040519294929383019291908464010000000082111561005a57600080fd5b90830190602082018581111561006f57600080fd5b825164010000000081118282018810171561008957600080fd5b82525081516020918201929091019080838360005b838110156100b657818101518382015260200161009e565b50505050905090810190601f1680156100e35780820380516001836020036101000a031916815260200191505b5060408181526020830151920180519294919391928464010000000082111561010b57600080fd5b90830190602082018581111561012057600080fd5b825164010000000081118282018810171561013a57600080fd5b82525081516020918201929091019080838360005b8381101561016757818101518382015260200161014f565b50505050905090810190601f1680156101945780820380516001836020036101000a031916815260200191505b506040908152600388905533600090815260056020908152918120899055875189955088945087935086926101cd929190860190610203565b5080516101e1906001906020840190610203565b50506002805460ff191660ff929092169190911790555061029e945050505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061024457805160ff1916838001178555610271565b82800160010185558215610271579182015b82811115610271578251825591602001919060010190610256565b5061027d929150610281565b5090565b61029b91905b8082111561027d5760008155600101610287565b90565b61082f806102ad6000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c8063313ce56711610066578063313ce567146101de57806370a08231146101fc57806395d89b4114610222578063a9059cbb1461022a578063dd62ed3e146102565761009e565b806306fdde03146100a357806308bca56614610120578063095ea7b31461014e57806318160ddd1461018e57806323b872dd146101a8575b600080fd5b6100ab610284565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100e55781810151838201526020016100cd565b50505050905090810190601f1680156101125780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61014c6004803603604081101561013657600080fd5b506001600160a01b038135169060200135610312565b005b61017a6004803603604081101561016457600080fd5b506001600160a01b038135169060200135610372565b604080519115158252519081900360200190f35b6101966103d8565b60408051918252519081900360200190f35b61017a600480360360608110156101be57600080fd5b506001600160a01b038135811691602081013590911690604001356103de565b6101e661056a565b6040805160ff9092168252519081900360200190f35b6101966004803603602081101561021257600080fd5b50356001600160a01b0316610573565b6100ab610585565b61017a6004803603604081101561024057600080fd5b506001600160a01b0381351690602001356105df565b6101966004803603604081101561026c57600080fd5b506001600160a01b03813581169160200135166106e8565b6000805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561030a5780601f106102df5761010080835404028352916020019161030a565b820191906000526020600020905b8154815290600101906020018083116102ed57829003601f168201915b505050505081565b6001600160a01b03821660008181526005602090815260409182902080548501905560038054850190558151848152915130927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92908290030190a35050565b3360008181526004602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60035481565b6040805180820182526016815275496e73756666696369656e7420616c6c6f77616e636560501b6020808301919091526001600160a01b0386166000908152600482528381203382529091529182205461043f91849063ffffffff61070516565b6001600160a01b0385166000818152600460209081526040808320338452825280832094909455835180850185526014815273496e73756666696369656e742062616c616e636560601b818301529282526005905291909120546104aa91849063ffffffff61070516565b6001600160a01b0380861660009081526005602081815260408084209590955584518086018652601081526f42616c616e6365206f766572666c6f7760801b81830152938816835252919091205461050991849063ffffffff61079c16565b6001600160a01b0380851660008181526005602090815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b60025460ff1681565b60056020526000908152604090205481565b60018054604080516020600284861615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561030a5780601f106102df5761010080835404028352916020019161030a565b6040805180820182526014815273496e73756666696369656e742062616c616e636560601b60208083019190915233600090815260059091529182205461062d91849063ffffffff61070516565b3360009081526005602081815260408084209490945583518085018552601081526f42616c616e6365206f766572666c6f7760801b818301526001600160a01b03881684529190529190205461068a91849063ffffffff61079c16565b6001600160a01b0384166000818152600560209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b600460209081526000928352604080842090915290825290205481565b600081848411156107945760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610759578181015183820152602001610741565b50505050905090810190601f1680156107865780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600083830182858210156107f15760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610759578181015183820152602001610741565b5094935050505056fea265627a7a72315820ec9fbf2d39470c112b647ff35b2761609d1631e5641051da73566d1f7b462b0b64736f6c63430005110032000000000000000000000000000000000000000000f8277896582678ac0000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000003535850000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035358500000000000000000000000000000000000000000000000000000000000

Deployed ByteCode Sourcemap

176:440:1:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;176:440:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1113:18:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1113:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;430:184:1;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;430:184:1;;;;;;;;:::i;:::-;;2387:206:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2387:206:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;1190:26;;;:::i;:::-;;;;;;;;;;;;;;;;1971:410;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1971:410:0;;;;;;;;;;;;;;;;;:::i;1163:21::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1294:44;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1294:44:0;-1:-1:-1;;;;;1294:44:0;;:::i;1137:20::-;;;:::i;1654:311::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1654:311:0;;;;;;;;:::i;1222:66::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1222:66:0;;;;;;;;;;:::i;1113:18::-;;;;;;;;;;;;;;;-1:-1:-1;;1113:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;430:184:1:-;-1:-1:-1;;;;;498:17:1;;;;;;:9;:17;;;;;;;;;:26;;;;;;534:11;:20;;;;;;569:38;;;;;;;586:4;;569:38;;;;;;;;;430:184;;:::o;2387:206:0:-;2482:10;2456:4;2472:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;2472:31:0;;;;;;;;;;;:40;;;2527:38;;;;;;;2456:4;;2472:31;;2482:10;;2527:38;;;;;;;;-1:-1:-1;2582:4:0;2387:206;;;;:::o;1190:26::-;;;;:::o;1971:410::-;2098:64;;;;;;;;;;;-1:-1:-1;;;2098:64:0;;;;;;;;-1:-1:-1;;;;;2098:14:0;;2053:4;2098:14;;;:9;:14;;;;;2113:10;2098:26;;;;;;;;;:64;;2129:6;;2098:64;:30;:64;:::i;:::-;-1:-1:-1;;;;;2069:14:0;;;;;;:9;:14;;;;;;;;2084:10;2069:26;;;;;;;:93;;;;2189:50;;;;;;;;;;-1:-1:-1;;;2189:50:0;;;;:14;;;:9;:14;;;;;;;:50;;2208:6;;2189:50;:18;:50;:::i;:::-;-1:-1:-1;;;;;2172:14:0;;;;;;;:9;:14;;;;;;;;:67;;;;2266:46;;;;;;;;;;-1:-1:-1;;;2266:46:0;;;;:14;;;;;;;;;;;:46;;2285:6;;2266:46;:18;:46;:::i;:::-;-1:-1:-1;;;;;2249:14:0;;;;;;;:9;:14;;;;;;;;;:63;;;;2327:26;;;;;;;2249:14;;2327:26;;;;;;;;;;;;;-1:-1:-1;2370:4:0;1971:410;;;;;:::o;1163:21::-;;;;;;:::o;1294:44::-;;;;;;;;;;;;;:::o;1137:20::-;;;;;;;;;;;;;;;-1:-1:-1;;1137:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1654:311;1759:57;;;;;;;;;;;-1:-1:-1;;;1759:57:0;;;;;;;;1769:10;1719:4;1759:21;;;:9;:21;;;;;;;:57;;1785:6;;1759:57;:25;:57;:::i;:::-;1745:10;1735:21;;;;:9;:21;;;;;;;;:81;;;;1843:46;;;;;;;;;;-1:-1:-1;;;1843:46:0;;;;-1:-1:-1;;;;;1843:14:0;;;;;;;;;;;:46;;1862:6;;1843:46;:18;:46;:::i;:::-;-1:-1:-1;;;;;1826:14:0;;;;;;:9;:14;;;;;;;;;:63;;;;1904:33;;;;;;;1826:14;;1913:10;;1904:33;;;;;;;;;;-1:-1:-1;1954:4:0;1654:311;;;;:::o;1222:66::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;2013:173:2:-;2099:7;2130:12;2122:6;;;;2114:29;;;;-1:-1:-1;;;2114:29:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2114:29:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2161:5:2;;;2013:173::o;1204:::-;1290:7;1317:5;;;1344:12;1336:6;;;;1328:29;;;;-1:-1:-1;;;1328:29:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;1328:29:2;-1:-1:-1;1371:1:2;1204:173;-1:-1:-1;;;;1204:173:2:o

Swarm Source

bzzr://ec9fbf2d39470c112b647ff35b2761609d1631e5641051da73566d1f7b462b0b
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading