Contract 0x8301f2213c0eed49a7e28ae4c3e91722919b8b47 4

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x85a3922f08a55e39e00bf8781d3467b5dbd014bab49e357db99dfb19d8f16283Approve135337042021-10-25 12:44:5048 mins ago0x24a19e78d842c98587f664645faa4153b567b734 IN  0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB0.00044266
0x07b049ce3f0fe22eccece6447230e826c2d432feca23e9bf5fa3cb7648bb0fb2Approve135334382021-10-25 12:31:321 hr 1 min ago0x99c6b4c1b8188272b53c2c7d1c7b03c07771cce6 IN  0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB0.00043966
0x552c9770eb3c90665fd35477322a56ed9523246a6d6450241146cf70025aa156Transfer135333892021-10-25 12:29:051 hr 3 mins ago0xcae24605b7b8e7c0834df2e121f69417b6a556fd IN  0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB0.00051082
0x0e59ba70ee8c94397a360647d76106f0c2fa6756642847588d03a9ea31d85c2eTransfer135318132021-10-25 11:10:172 hrs 22 mins ago0x76ca6f3dd19e913ceaa26a2d17b202fc008d2e38 IN  0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB0.00288656
0xe0ff5af7181855a16c2bba16796d804d82fdf552cb8bdc065f2b10c4a2210e37Transfer135316392021-10-25 11:01:352 hrs 31 mins ago0x83570a8998ac75b0c4996dd606ad38321b3ff959 IN  0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB0.00027634
0x6d7085fe2ccf12f7fcbfd927e591f61973efcbd031d6f1a377dfb7f312ab3a12Allocate To135316242021-10-25 11:00:502 hrs 32 mins ago0x83570a8998ac75b0c4996dd606ad38321b3ff959 IN  0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB0.00035731
0x6246361045f8e2d7f0241049f62f9cd300a4c9a4b269074a3e4086ed5cc0692dApprove135307912021-10-25 10:19:113 hrs 13 mins ago0xd5d9a671470337a3c8d789edf247aeb6101b31cb IN  0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB0.00043978
0xabfb270fbb718a0eb85b5c8d0c31839e6cccceab8e216d6ffda22b5ea8dc041fApprove135284402021-10-25 8:21:385 hrs 11 mins ago0x3c1011c907cf84f8b4a333b8fd3708b6105dcdaf IN  0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB0.00025066
0xb37aee0a52de5da30fc57a7f05d69b45434e42f2594524da2bb7424701fe4849Approve135283592021-10-25 8:17:355 hrs 15 mins ago0x42f4ef8b15bade9f6ec88cd10bc5c06ba6c7045e IN  0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB0.00044266
0xf1883016804f0b2e98253d9c2f106c8f641ade0ffec28bdf6d8204db78c12f7aApprove135282382021-10-25 8:11:325 hrs 21 mins ago0x3c1011c907cf84f8b4a333b8fd3708b6105dcdaf IN  0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB0.00025066
0x12e9020f493e6e910c2b6ec670b64c1efc59ef6eff4e16aea47570524d85aed4Approve135272752021-10-25 7:23:216 hrs 9 mins ago0x99c6b4c1b8188272b53c2c7d1c7b03c07771cce6 IN  0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB0.00043954
0xd094bf606a4ad5dd687f5b87dd71c036aa3be92db89b081c58bae66524693a5eTransfer135270152021-10-25 7:10:216 hrs 22 mins ago0xcf652e24ad27d1cf55be5ad31b292371004e1ded IN  0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB0.00036082
0x9a658ada2bed65eb9838947f6a8c4f64757188284d30ad22bb8a28dd95d7d21cApprove135267202021-10-25 6:55:366 hrs 37 mins ago0xe43c5a175be55926672068ff83d78f1da7f71a12 IN  0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB0.0004399
0xe872cc4d07c7f3a0e523740b2ccb9dcdb1802adbe652850cd77cb0305d9b0fd5Approve135265972021-10-25 6:49:276 hrs 43 mins ago0x76ca6f3dd19e913ceaa26a2d17b202fc008d2e38 IN  0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB0.00043954
0xc6464f525e60c915e1bd5a07bc243bb9c9da9ac2e5c865b13f1fafcf3537505dApprove135258852021-10-25 6:13:517 hrs 18 mins ago0xe175d46798028d2669dd2d3684d9b07019f81ffd IN  0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB0.00028978
0x0cc54960f8f0f1d4c6eef1f82f4e5461d493d32467c84126976b060fcee611fcApprove135255532021-10-25 5:57:157 hrs 35 mins ago0xe43c5a175be55926672068ff83d78f1da7f71a12 IN  0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB0.0004399
0xb7b81c0b333a2038557b154e13eb0d49751befa5a9ef9bdb656dc096e71ff56cApprove135239032021-10-25 4:34:438 hrs 58 mins ago0x1eaba37e3811e4488398a93612302d657ff47beb IN  0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB0.00043966
0x466220a4d20c245f481f403fa47c50d331c90e2f041975f941fe3ac100599731Transfer135232822021-10-25 4:03:409 hrs 29 mins ago0xb788cd2bad15ab95f7814e0cb23c450a057a63c9 IN  0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB0.00036082
0xafeb0ee490285fedd5277968703613384da2166681d840b842015d9f5044b473Approve135232692021-10-25 4:03:019 hrs 29 mins ago0x90a953cc54a0ba9792f76475921a0e798a84128f IN  0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB0.00044266
0x3ed0847bc231a5e4cef20e35a8d8495501ba4dcddd01b1f0196194cf15a33108Approve135229922021-10-25 3:49:099 hrs 43 mins ago0xe175d46798028d2669dd2d3684d9b07019f81ffd IN  0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB0.00043966
0x7b46240b59f2accd9c13e3f954522d1ec508651561a09727352bc9a7d2b2fc00Approve135229512021-10-25 3:47:069 hrs 45 mins ago0xe175d46798028d2669dd2d3684d9b07019f81ffd IN  0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB0.00028978
0x34ab75b7cdd08c46c1b4d8785ccdd676c6868e04f4e35a5d004fa9e20d05be86Approve135213702021-10-25 2:28:0311 hrs 4 mins ago0x76ca6f3dd19e913ceaa26a2d17b202fc008d2e38 IN  0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB0.00043954
0xd223316943d21dca9f36ddafdec3d88541139f2db278a79b4ef26f97c1b10e37Approve135213322021-10-25 2:26:0911 hrs 6 mins ago0x76ca6f3dd19e913ceaa26a2d17b202fc008d2e38 IN  0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB0.00043954
0xfd1b4c82bda460f639e0d3e65ddcab1863fb6ad57af691c9e4ab4302af531a0eApprove135206122021-10-25 1:50:0911 hrs 42 mins ago0x76ca6f3dd19e913ceaa26a2d17b202fc008d2e38 IN  0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB0.00043954
0xf485af71cc01ad9fbb477960c4141baf0f8c7622a623a3d7812343cc583a6a7aApprove135205642021-10-25 1:47:4511 hrs 45 mins ago0x76ca6f3dd19e913ceaa26a2d17b202fc008d2e38 IN  0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB0.00028954
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x6439823a8e41ce08b2e0c15fab670540bbc881964028c498641eb5c1e567c7eb135341962021-10-25 13:09:2623 mins ago 0x26e364cbf4b51927baa0318ba5fc26f26a1b1658 0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB
0x1d69bc59502bd201d8b626b20921c01c493c46d2035a0fb2513e3873a8809ed6135337952021-10-25 12:49:2343 mins ago 0x26e364cbf4b51927baa0318ba5fc26f26a1b1658 0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB
0x44ce9a0708c61ceff39432943f8eb21e67b33fcd8c209c5d24f4064b4db40296135337162021-10-25 12:45:2647 mins ago 0xf633c7fb7916ed97cd207caeb3a46ceea365396e 0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB
0x44ce9a0708c61ceff39432943f8eb21e67b33fcd8c209c5d24f4064b4db40296135337162021-10-25 12:45:2647 mins ago 0x4164a95cd3c3019074b6c1b875b74db0321ed792 0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB
0x31870368126ac8d1027251bb1ec968cfa8eba326ebe81ae2700cc45d1ff209a6135334482021-10-25 12:32:021 hr ago 0xbfa4e908e9e0555cac3c13adb311fed02989a0bb 0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB
0x31870368126ac8d1027251bb1ec968cfa8eba326ebe81ae2700cc45d1ff209a6135334482021-10-25 12:32:021 hr ago 0xbfa4e908e9e0555cac3c13adb311fed02989a0bb 0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB
0xe95f8f148e7a44bc0126925253e6555918a774f43041c0c7b49d46d3e4ec3a90135334182021-10-25 12:30:321 hr 2 mins ago 0xbfa4e908e9e0555cac3c13adb311fed02989a0bb 0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB
0x6df25498e10b50c64dbbe06b403c62f2b3f24bdbee54001a3785a4dc0807e983135333672021-10-25 12:27:591 hr 4 mins ago 0x23ec7009caba76d3a0756c98df6a650a3b0eac8e 0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB
0x6df25498e10b50c64dbbe06b403c62f2b3f24bdbee54001a3785a4dc0807e983135333672021-10-25 12:27:591 hr 4 mins ago 0xd99d1c33f9fc3444f8101754abc46c52416550d1 0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB
0x52bf5ef7808a2c80ea289b457bd28b2c152a995218fa310082b2c248fa43b467135333672021-10-25 12:27:591 hr 4 mins ago 0x23ec7009caba76d3a0756c98df6a650a3b0eac8e 0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB
0x52bf5ef7808a2c80ea289b457bd28b2c152a995218fa310082b2c248fa43b467135333672021-10-25 12:27:591 hr 4 mins ago 0x23ec7009caba76d3a0756c98df6a650a3b0eac8e 0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB
0xfb2407c402219e4da15b4bc48dfd056a75b90112af580ed68654c8d39d561cb0135333212021-10-25 12:25:411 hr 7 mins ago 0x23ec7009caba76d3a0756c98df6a650a3b0eac8e 0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB
0xfb2407c402219e4da15b4bc48dfd056a75b90112af580ed68654c8d39d561cb0135333212021-10-25 12:25:411 hr 7 mins ago 0x23ec7009caba76d3a0756c98df6a650a3b0eac8e 0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB
0xdc11a3ff5864fe3db718423321160fcca8684cfd7c42ec81c0864500282a8c17135328002021-10-25 11:59:381 hr 33 mins ago 0xf633c7fb7916ed97cd207caeb3a46ceea365396e 0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB
0xdc11a3ff5864fe3db718423321160fcca8684cfd7c42ec81c0864500282a8c17135328002021-10-25 11:59:381 hr 33 mins ago 0x4164a95cd3c3019074b6c1b875b74db0321ed792 0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB
0xbe70d728f4c92afc53f3e7731fbbf78313dc8a260cc904734b0ad5e49a407548135310762021-10-25 10:33:262 hrs 59 mins ago 0x23ec7009caba76d3a0756c98df6a650a3b0eac8e 0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB
0xbe70d728f4c92afc53f3e7731fbbf78313dc8a260cc904734b0ad5e49a407548135310762021-10-25 10:33:262 hrs 59 mins ago 0x23ec7009caba76d3a0756c98df6a650a3b0eac8e 0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB
0x65a5945b6bb1e9794e30ae5c971c7896101780b5dc9a3eeded7d8ca5fd0fc51c135309912021-10-25 10:29:113 hrs 3 mins ago 0x23ec7009caba76d3a0756c98df6a650a3b0eac8e 0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB
0x65a5945b6bb1e9794e30ae5c971c7896101780b5dc9a3eeded7d8ca5fd0fc51c135309912021-10-25 10:29:113 hrs 3 mins ago 0x23ec7009caba76d3a0756c98df6a650a3b0eac8e 0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB
0x541bfd75e37eab7267ec592a9e8917ad1bb76cb044cddc83ec71656ffcb64047135297362021-10-25 9:26:264 hrs 6 mins ago 0x8ed6d44f2be4a7239ea75a7487d667364ee074e5 0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB
0x48aad7573987287efeab9832c068aa5e45b741d1e66dd35902c0ca76fa117f1c135297362021-10-25 9:26:264 hrs 6 mins ago 0x8ed6d44f2be4a7239ea75a7487d667364ee074e5 0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB
0xb55f67dfefe54026cac6a0b6a1566677cf5b4a056246aa1b9b4e1cf7d0ddbb7f135297352021-10-25 9:26:234 hrs 6 mins ago 0x8ed6d44f2be4a7239ea75a7487d667364ee074e5 0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB
0x9c4bf226fa5acfc876094fb77cf472dfb638c6e36e35673fb0dcebb1166d8f50135296642021-10-25 9:22:504 hrs 10 mins ago 0x4136ce6acbeff5f6eb00a32b0e66d8e6bc3816b0 0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB
0xe332f28b495bb029f6b48d0d0a81d7fb609a56abf8643fbbc3c6196332c47279135296632021-10-25 9:22:474 hrs 10 mins ago 0x4136ce6acbeff5f6eb00a32b0e66d8e6bc3816b0 0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB
0x87f63a9144086adf0ec6331076093769c5a7b635052af114f7d66d5ff431ef70135296632021-10-25 9:22:474 hrs 10 mins ago 0x4136ce6acbeff5f6eb00a32b0e66d8e6bc3816b0 0x8301f2213c0eed49a7e28ae4c3e91722919b8b470 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Similar Match)
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