Contract 0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f9 5

Contract Overview

Balance:
0 AVAX

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x65481dff5e639de7fb50e9138d1bc7d9194e19155244dd46cfcab55f856ca5e5Approve126918072022-08-19 18:32:2111 hrs 26 mins ago0x8d691f0b5dc6032fb69c70b39808995f343fd54c IN 0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX0.‍002811672716 61.‍08348288
0x48df496d1d5196f0f2639929d5e1500be8f8c099b9370da0ec0b532b77e27a91Approve126917972022-08-19 18:31:3411 hrs 27 mins ago0x8d691f0b5dc6032fb69c70b39808995f343fd54c IN 0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX0.‍002810939715 61.‍08348288
0x9d4c100c4840230faa43e728300e770200e64bc644bad638144ebd14389785b7Approve126917732022-08-19 18:30:4311 hrs 28 mins ago0x8d691f0b5dc6032fb69c70b39808995f343fd54c IN 0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX0.‍002811672716 61.‍08348288
0xf79b3cddac381cda1a269447278f44154bccf1a15358b7d3a87927c6f7eb97d3Allocate To126917282022-08-19 18:28:2011 hrs 30 mins ago0x8d691f0b5dc6032fb69c70b39808995f343fd54c IN 0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX0.‍003108843861 61.‍08348288
0x9676abcb60adf305cd232ec746da513a4edf570683b1746622a1065b5d57aa14Approve126902192022-08-19 16:36:1113 hrs 22 mins ago0xdef85308711ba43aeb66db0010ce22e1441a7063 IN 0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX0.‍00123672409 26.‍8818
0xbe9350af9d5c20d0fdd52a82aa514404027ac1dd10f1cb92a7c851411ef3782bApprove126900672022-08-19 16:28:0613 hrs 30 mins ago0x7e05955f733875b8f836faccb0ef11d9dced2b1a IN 0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX0.‍000766327 26.‍5
0x5d27db885c65ee1d3e3cf566fc507341b3551d0af78c85d7f5447ff9f5fe1c8eApprove126896712022-08-19 16:08:2113 hrs 50 mins ago0xdef85308711ba43aeb66db0010ce22e1441a7063 IN 0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX0.‍0007229525
0xbd48803505da3c5974f990c0108ca86b4853b18f9708d53d5dea068fe4bdfe06Approve126895842022-08-19 16:02:4513 hrs 56 mins ago0xdef85308711ba43aeb66db0010ce22e1441a7063 IN 0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX0.‍000766327 26.‍5
0xdff95e5b12e5351561f3722bc6f6ec40d929956a1abfae16df3999965248186eApprove126895682022-08-19 16:01:5313 hrs 57 mins ago0xdef85308711ba43aeb66db0010ce22e1441a7063 IN 0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX0.‍001219477 26.‍5
0xb846df6c78b6c75ae49d08f107fa8472a6cb886c672845322b9ba13f7edbecffApprove126894882022-08-19 15:57:5214 hrs 1 min ago0xdef85308711ba43aeb66db0010ce22e1441a7063 IN 0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX0.‍000777367892 26.‍8818
0x8883e4cf47d79c519c358c9b30ffff4b98f2cdbe8a7fa95e3c49f4f97a3839a3Approve126893582022-08-19 15:49:3714 hrs 9 mins ago0xdef85308711ba43aeb66db0010ce22e1441a7063 IN 0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX0.‍000766327 26.‍5
0x9a86c71dbe9e70286992428aebc9d8bf388c7b8a65cf5a640a1702396256227cApprove126893252022-08-19 15:47:3414 hrs 11 mins ago0xdef85308711ba43aeb66db0010ce22e1441a7063 IN 0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX0.‍00077905092 26.‍94
0xec09586d5e2cc62e2c77ca1efb67c696881aad98272e01f1c7f9ad5240623f61Approve126893112022-08-19 15:46:3614 hrs 12 mins ago0xdef85308711ba43aeb66db0010ce22e1441a7063 IN 0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX0.‍000766009 26.‍5
0xf05d8630625f919f7776e586f825c1798ee19731d7ff27f9d3ef99bd62e14ee1Approve126891892022-08-19 15:37:3214 hrs 21 mins ago0xdef85308711ba43aeb66db0010ce22e1441a7063 IN 0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX0.‍001219477 26.‍5
0xcd797c303b5810de7fa93719831089349cc8c0326ff7c2fb1c10cbc20ddc8483Approve126888972022-08-19 15:20:5314 hrs 38 mins ago0xdef85308711ba43aeb66db0010ce22e1441a7063 IN 0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX0.‍00077905092 26.‍94
0xbd9f5e80542dd5287e63314011cc146d634aa9844269e0a78fdc095a4d5a9fa5Approve126880522022-08-19 14:29:4215 hrs 29 mins ago0xbd647addf653b2b58c1950f1938d2b6a0352c71f IN 0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX0.‍0011507525
0xdf3464d4aa6f3f4632abdbd68721fa1dbe79a45893121567dbd73ec55fdce63eApprove126838842022-08-19 11:20:1718 hrs 38 mins ago0xd350ffcf47586d620ac1ccab0d4d512972e196ff IN 0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX0.‍001219795 26.‍5
0x80b2d50c6fa2d942c59cc9d773e9632afd0e2894805995e81239b63041447cf0Allocate To126838572022-08-19 11:19:1118 hrs 39 mins ago0xd350ffcf47586d620ac1ccab0d4d512972e196ff IN 0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX0.‍0008955675 26.‍5
0xb72a014ce2c76a0a7aac46159c67a25a70777a8da242b793e241e0f9e10cce28Allocate To126838332022-08-19 11:18:2218 hrs 40 mins ago0xd350ffcf47586d620ac1ccab0d4d512972e196ff IN 0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX0.‍0013711113 26.‍94
0x0bd2801d8756217034707370cdcf1cf98342378b5ef843ba1c74ab30db25224dApprove126838142022-08-19 11:17:4418 hrs 41 mins ago0x05fe5507da021d3df44d7d28519e69c77c5cf879 IN 0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX0.‍001219795 26.‍5
0x6e44ef606913f3bb4305f71fc1767b42361dc8d8414da69af5e760c28b9531e8Allocate To126837892022-08-19 11:16:3518 hrs 42 mins ago0x05fe5507da021d3df44d7d28519e69c77c5cf879 IN 0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX0.‍0013487175 26.‍5
0xe8e7bd7af919507b4e031614ea3895992866845d91bf34ebe75e7b11259e5293Approve126832912022-08-19 10:57:5619 hrs 1 min ago0x3e97b8da1e88c8a318069a8b35dff8a7b20df636 IN 0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX0.‍001219477 26.‍5
0x6e3abcdb3a82fd8e47bb8a5fe2a4d3eb8d0960bc20f544cc0303ea0601ab6601Approve126832452022-08-19 10:56:1319 hrs 2 mins ago0x3e97b8da1e88c8a318069a8b35dff8a7b20df636 IN 0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX0.‍001220113 26.‍5
0x59bbfd5c31fe1539ba6cadd2dd44fd28594a75ff3cd8dd8869ae8863be7ee5b0Approve126830712022-08-19 10:49:5919 hrs 8 mins ago0x3e97b8da1e88c8a318069a8b35dff8a7b20df636 IN 0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX0.‍0012400482 26.‍94
0xb75242f10b6a4b33fc7180efb62fadd737f15060c8f092e51052d511d7bf6719Approve126829172022-08-19 10:43:5619 hrs 15 mins ago0x3e97b8da1e88c8a318069a8b35dff8a7b20df636 IN 0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX0.‍00123972492 26.‍94
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xb3a5367bd09ff824e2698e13af8a4024537d657af4f376901bb638aa9a0cf58d126941612022-08-19 21:36:168 hrs 22 mins ago 0xbd194f42d9787d92d3fbc3a5484275ad4d7c42ac0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX
0xc68f9a3fcf9e52bd6054f16a13b4cfc6e9ec995d031eefc9db7430e697c10c17126941582022-08-19 21:36:028 hrs 22 mins ago 0xe70233243fd20adb651a2954a5230ce9a1fde3830x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX
0xe1bd79914f9cc68427435d6dee77084281eecd3da128c8851a4eb8ad268c2932126941542022-08-19 21:35:428 hrs 23 mins ago 0xcdf3a16799fee78fa145fad7b832d88801323c430x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX
0x6daf80c7d63039096e994ebe699d5dd1ce70c0d98cc1c62ce657a502a2aca557126918082022-08-19 18:32:2611 hrs 26 mins ago 0xd92e6972a9157b9171de13d466f01945b3ce54ad0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX
0x346f4f6ad55335c89d3c244c37caff7f953db0169255056660e511f9bf892fc5126917992022-08-19 18:31:3911 hrs 27 mins ago 0xd3676f01a3bc4a9cf8cba9b3dd07ad9f30426ac80x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX
0x07434e9001a9ab00fb005c195b2d6d540d2e68c6854da9ce18aa8290a77cd474126917762022-08-19 18:30:4811 hrs 28 mins ago 0x99312e4cb76fcb34c39558dbce9cfd2c6d0b25520x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX
0x3d4be508f526b59d65f095f7c7e6dc86cd620bd9361a75dae6bd28c881210d65126902222022-08-19 16:36:1613 hrs 22 mins ago 0x4f80090c6ddebc8a30006b5b57d4201bb8fd266a0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX
0x3d4be508f526b59d65f095f7c7e6dc86cd620bd9361a75dae6bd28c881210d65126902222022-08-19 16:36:1613 hrs 22 mins ago 0x3675923a7b2a72837d7250d1e3f9a88cbff753f70x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX
0xa16f2b9834c777a7afb7c4348f739175224634aad39226af581b7c5be497b64a126900772022-08-19 16:28:4913 hrs 30 mins ago 0x0301aa9166efd906cb0a2796b81e84ac2e8088870x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX
0xfa8c96cd6b5ad20360e97f3866bd9fca39fdf30a748063f00f7612938811bcdb126900682022-08-19 16:28:1113 hrs 30 mins ago 0xd3e6da508401f4607d42fce8be79320bab285d760x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX
0xfb791e6392e59362630270f38a8507b758fde540781f35c8c0d9599edab89aca126896742022-08-19 16:08:2713 hrs 50 mins ago 0xe9ada99eecde6e4f657f209e63e6d1830fd1d8ef0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX
0x48866feaf092ae8ea03d25d598d8d8d697296aa528893dc0a425499bf7dc0cf4126895922022-08-19 16:03:0913 hrs 55 mins ago 0xd0fbf03a487227f423b8cfd89a3b5d838f9075da0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX
0x68dbe5dd442ec2e370e1d8babe4c65bd32899e6459637746e07a91a4c6273d60126895862022-08-19 16:02:4913 hrs 56 mins ago 0xd0fbf03a487227f423b8cfd89a3b5d838f9075da0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX
0x61599808bdbbf9ea159940042061abab74a881d1c46807bc1e73a9f0322e6c0f126895712022-08-19 16:01:5913 hrs 56 mins ago 0xd0fbf03a487227f423b8cfd89a3b5d838f9075da0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX
0x61599808bdbbf9ea159940042061abab74a881d1c46807bc1e73a9f0322e6c0f126895712022-08-19 16:01:5913 hrs 56 mins ago 0x3675923a7b2a72837d7250d1e3f9a88cbff753f70x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX
0x9585bbd9d2b6feaa8e8398e74f5b2d6209af5c530ea5bb8dab33ca9d93b79d4d126895302022-08-19 16:00:2613 hrs 58 mins ago 0xe9ada99eecde6e4f657f209e63e6d1830fd1d8ef0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX
0xda68748fa4849a13570fb40c57826366b41cbb0971209c42e14a0276a052b91e126894932022-08-19 15:58:0214 hrs ago 0xe9ada99eecde6e4f657f209e63e6d1830fd1d8ef0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX
0x5855e7c080015bd37c8c1174b1fb85873c1d677b93a91ef4fb5cfe68356314ce126893592022-08-19 15:49:4214 hrs 9 mins ago 0xe9ada99eecde6e4f657f209e63e6d1830fd1d8ef0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX
0xb3f651c259b5f8b6b7bbc3ccc039ff58e7e6a1b4ee6c08b74581b404c862e5fb126893262022-08-19 15:47:3914 hrs 11 mins ago 0xe9ada99eecde6e4f657f209e63e6d1830fd1d8ef0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX
0x4e069f41f3ae287748bb4f6b47c493d84abca5a4735419136866eb45456f0be1126893132022-08-19 15:46:4214 hrs 12 mins ago 0xe9ada99eecde6e4f657f209e63e6d1830fd1d8ef0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX
0x43d98ba7c4d27887cd403031f1da233345fc334ee403cbe42709f188ac7a0b96126891902022-08-19 15:37:3714 hrs 21 mins ago 0xe9ada99eecde6e4f657f209e63e6d1830fd1d8ef0x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX
0x3efb439fd9cde3fbc2ca905222facf6e000c378d653fae8fae5655fd18c62dad126880592022-08-19 14:30:0015 hrs 28 mins ago 0x99312e4cb76fcb34c39558dbce9cfd2c6d0b25520x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX
0x141727f5808e1a5c5d440058419ad81684c41bbfeb52e84f601f15ae28e2c986126839322022-08-19 11:22:0318 hrs 36 mins ago 0x2af0ee7c6228bb12f16a9a67c837060e0ffb92770x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX
0xa61f07e882556880a7b19592fcc8d75d473b499d9b6e984b681d8fdbb5fbc5bb126838872022-08-19 11:20:2418 hrs 38 mins ago 0x2af0ee7c6228bb12f16a9a67c837060e0ffb92770x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX
0x42f4c7b343d102f457aec41031c3eac4836d717db68f969aedeb78f035b669e7126838692022-08-19 11:19:4118 hrs 39 mins ago 0xfae7a978694bd2cf2d298a43fadfe73c74d666d20x45ea5d57ba80b5e3b0ed502e9a08d568c96278f90 AVAX
[ Download CSV Export 
Loading

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

Contract Name:
FaucetToken

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 3 : FaucetToken.sol
pragma solidity 0.5.17;

import "./ERC20.sol";

/**
 * @title The Benqi Faucet Test Token
 * @author Benqi
 * @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 Benqi Faucet Test Token (non-standard)
 * @author Benqi
 * @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 Benqi Faucet Re-Entrant Test Token
 * @author Benqi
 * @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 : ERC20.sol
pragma solidity 0.5.17;

import "../../contracts/SafeMath.sol";

interface ERC20Base {
    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 ERC20 is ERC20Base {
    function transfer(address to, uint256 value) external returns (bool);
    function transferFrom(address from, address to, uint256 value) external returns (bool);
}

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

/**
 * @title Standard ERC20 token
 * @dev Implementation of the basic standard token.
 *  See https://github.com/ethereum/EIPs/issues/20
 */
contract StandardToken is ERC20 {
    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 ERC20 token
 * @dev Version of ERC20 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 ERC20NS {
    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 ERC20Harness 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.17;

// From https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/math/Math.sol
// Subject to the MIT license.

/**
 * @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) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting with custom message on overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     * - Addition 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 underflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot underflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction underflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on underflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot underflow.
     */
    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 multiplication of two unsigned integers, reverting on overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b, string memory errorMessage) 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, errorMessage);

        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;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

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"}]

608060405234801561001057600080fd5b50604051610adc380380610adc8339818101604052608081101561003357600080fd5b81516020830180516040519294929383019291908464010000000082111561005a57600080fd5b90830190602082018581111561006f57600080fd5b825164010000000081118282018810171561008957600080fd5b82525081516020918201929091019080838360005b838110156100b657818101518382015260200161009e565b50505050905090810190601f1680156100e35780820380516001836020036101000a031916815260200191505b5060408181526020830151920180519294919391928464010000000082111561010b57600080fd5b90830190602082018581111561012057600080fd5b825164010000000081118282018810171561013a57600080fd5b82525081516020918201929091019080838360005b8381101561016757818101518382015260200161014f565b50505050905090810190601f1680156101945780820380516001836020036101000a031916815260200191505b506040908152600388905533600090815260056020908152918120899055875189955088945087935086926101cd929190860190610203565b5080516101e1906001906020840190610203565b50506002805460ff191660ff929092169190911790555061029e945050505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061024457805160ff1916838001178555610271565b82800160010185558215610271579182015b82811115610271578251825591602001919060010190610256565b5061027d929150610281565b5090565b61029b91905b8082111561027d5760008155600101610287565b90565b61082f806102ad6000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c8063313ce56711610066578063313ce567146101de57806370a08231146101fc57806395d89b4114610222578063a9059cbb1461022a578063dd62ed3e146102565761009e565b806306fdde03146100a357806308bca56614610120578063095ea7b31461014e57806318160ddd1461018e57806323b872dd146101a8575b600080fd5b6100ab610284565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100e55781810151838201526020016100cd565b50505050905090810190601f1680156101125780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61014c6004803603604081101561013657600080fd5b506001600160a01b038135169060200135610312565b005b61017a6004803603604081101561016457600080fd5b506001600160a01b038135169060200135610372565b604080519115158252519081900360200190f35b6101966103d8565b60408051918252519081900360200190f35b61017a600480360360608110156101be57600080fd5b506001600160a01b038135811691602081013590911690604001356103de565b6101e661056a565b6040805160ff9092168252519081900360200190f35b6101966004803603602081101561021257600080fd5b50356001600160a01b0316610573565b6100ab610585565b61017a6004803603604081101561024057600080fd5b506001600160a01b0381351690602001356105df565b6101966004803603604081101561026c57600080fd5b506001600160a01b03813581169160200135166106e8565b6000805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561030a5780601f106102df5761010080835404028352916020019161030a565b820191906000526020600020905b8154815290600101906020018083116102ed57829003601f168201915b505050505081565b6001600160a01b03821660008181526005602090815260409182902080548501905560038054850190558151848152915130927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92908290030190a35050565b3360008181526004602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60035481565b6040805180820182526016815275496e73756666696369656e7420616c6c6f77616e636560501b6020808301919091526001600160a01b0386166000908152600482528381203382529091529182205461043f91849063ffffffff61070516565b6001600160a01b0385166000818152600460209081526040808320338452825280832094909455835180850185526014815273496e73756666696369656e742062616c616e636560601b818301529282526005905291909120546104aa91849063ffffffff61070516565b6001600160a01b0380861660009081526005602081815260408084209590955584518086018652601081526f42616c616e6365206f766572666c6f7760801b81830152938816835252919091205461050991849063ffffffff61079c16565b6001600160a01b0380851660008181526005602090815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b60025460ff1681565b60056020526000908152604090205481565b60018054604080516020600284861615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561030a5780601f106102df5761010080835404028352916020019161030a565b6040805180820182526014815273496e73756666696369656e742062616c616e636560601b60208083019190915233600090815260059091529182205461062d91849063ffffffff61070516565b3360009081526005602081815260408084209490945583518085018552601081526f42616c616e6365206f766572666c6f7760801b818301526001600160a01b03881684529190529190205461068a91849063ffffffff61079c16565b6001600160a01b0384166000818152600560209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b600460209081526000928352604080842090915290825290205481565b600081848411156107945760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610759578181015183820152602001610741565b50505050905090810190601f1680156107865780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600083830182858210156107f15760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610759578181015183820152602001610741565b5094935050505056fea265627a7a72315820e67b27b79d8b8d5eea2cbcd65271ab85d3061d132be9bbca1f6f328efe30b4a264736f6c6343000511003200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000008514920546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000025149000000000000000000000000000000000000000000000000000000000000

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