ETH Price: $3,401.49 (+1.86%)

Contract

0x8ea3Ad006dFE4DB8C3e7895B0660d562B0757AA2
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer111543492020-10-29 22:15:111521 days ago1604009711IN
0x8ea3Ad00...2B0757AA2
0 ETH0.0009186725
Distribute Flyer...110365302020-10-11 20:54:171539 days ago1602449657IN
0x8ea3Ad00...2B0757AA2
0 ETH0.0328305128.35
Distribute Flyer...110365302020-10-11 20:54:171539 days ago1602449657IN
0x8ea3Ad00...2B0757AA2
0 ETH0.0278725527
Distribute Flyer...110364262020-10-11 20:30:121539 days ago1602448212IN
0x8ea3Ad00...2B0757AA2
0 ETH0.0326564728.2

Advanced mode:
Parent Transaction Hash Block
From
To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
HEXmeIoFlyer

Compiler Version
v0.6.8+commit.0bbfe453

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2020-10-11
*/

// SPDX-License-Identifier: UNLICENSED

pragma solidity ^0.6.8;

contract HEXmeIoFlyer {

    string public constant name = "visit.HEXme.io";
    string public constant symbol = "HEXme.io";
    uint8 public constant decimals = 0;


    event Approval(address indexed tokenOwner, address indexed spender, uint tokens);
    event Transfer(address indexed from, address indexed to, uint tokens);


    mapping(address => uint256) balances;

    mapping(address => mapping (address => uint256)) allowed;

    uint256 totalSupply_ = 5555;

    using SafeMath for uint256;

    address payable contractOwner;

    modifier onlyOwner {
        require(msg.sender == contractOwner);
        _;
    }

    constructor() public {
        contractOwner = msg.sender;
        balances[contractOwner] = totalSupply_;
    }

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

    function balanceOf(address tokenOwner) public view returns (uint) {
        return balances[tokenOwner];
    }

    function transfer(address receiver, uint numTokens) public returns (bool) {
        require(numTokens <= balances[msg.sender]);
        balances[msg.sender] = balances[msg.sender].sub(numTokens);
        balances[receiver] = balances[receiver].add(numTokens);
        emit Transfer(msg.sender, receiver, numTokens);
        return true;
    }

    function approve(address delegate, uint numTokens) public returns (bool) {
        allowed[msg.sender][delegate] = numTokens;
        emit Approval(msg.sender, delegate, numTokens);
        return true;
    }

    function allowance(address owner, address delegate) public view returns (uint) {
        return allowed[owner][delegate];
    }

    function transferFrom(address owner, address buyer, uint numTokens) public returns (bool) {
        require(numTokens <= balances[owner]);
        require(numTokens <= allowed[owner][msg.sender]);

        balances[owner] = balances[owner].sub(numTokens);
        allowed[owner][msg.sender] = allowed[owner][msg.sender].sub(numTokens);
        balances[buyer] = balances[buyer].add(numTokens);
        emit Transfer(owner, buyer, numTokens);
        return true;
    }

    function _mint(address account, uint256 amount) internal {
        require(account != address(0));

        totalSupply_ = totalSupply_.add(amount);
        balances[account] = balances[account].add(amount);

        emit Transfer(address(0), account, amount);
    }

    function distributeFlyers(address[] calldata addresses) external onlyOwner returns (bool _success) {

        for(uint256 i = 0; i < addresses.length; i++){
            _mint(addresses[i], 1);
        }

        return true;
    }

    function kill() external onlyOwner {
        selfdestruct(contractOwner);
    }
}

library SafeMath {
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        assert(b <= a);
        return a - b;
    }

    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        assert(c >= a);
        return c;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"tokenOwner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokens","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":"tokens","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"delegate","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"delegate","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenOwner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"distributeFlyers","outputs":[{"internalType":"bool","name":"_success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"kill","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"buyer","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

60806040526115b360025534801561001657600080fd5b50600380546001600160a01b0319163317908190556002546001600160a01b039190911660009081526020819052604090205561078d806100586000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c8063322847951161007157806332284795146101d957806341c0e1b51461024957806370a082311461025357806395d89b4114610279578063a9059cbb14610281578063dd62ed3e146102ad576100a9565b806306fdde03146100ae578063095ea7b31461012b57806318160ddd1461016b57806323b872dd14610185578063313ce567146101bb575b600080fd5b6100b66102db565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100f05781810151838201526020016100d8565b50505050905090810190601f16801561011d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101576004803603604081101561014157600080fd5b506001600160a01b038135169060200135610305565b604080519115158252519081900360200190f35b61017361036b565b60408051918252519081900360200190f35b6101576004803603606081101561019b57600080fd5b506001600160a01b03813581169160208101359091169060400135610371565b6101c36104cc565b6040805160ff9092168252519081900360200190f35b610157600480360360208110156101ef57600080fd5b81019060208101813564010000000081111561020a57600080fd5b82018360208201111561021c57600080fd5b8035906020019184602083028401116401000000008311171561023e57600080fd5b5090925090506104d1565b61025161052e565b005b6101736004803603602081101561026957600080fd5b50356001600160a01b0316610553565b6100b661056e565b6101576004803603604081101561029757600080fd5b506001600160a01b038135169060200135610592565b610173600480360360408110156102c357600080fd5b506001600160a01b038135811691602001351661065c565b6040518060400160405280600e81526020016d76697369742e4845586d652e696f60901b81525081565b3360008181526001602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60025490565b6001600160a01b03831660009081526020819052604081205482111561039657600080fd5b6001600160a01b03841660009081526001602090815260408083203384529091529020548211156103c657600080fd5b6001600160a01b0384166000908152602081905260409020546103ef908363ffffffff61068716565b6001600160a01b03851660009081526020818152604080832093909355600181528282203383529052205461042a908363ffffffff61068716565b6001600160a01b038086166000908152600160209081526040808320338452825280832094909455918616815290819052205461046d908363ffffffff61069916565b6001600160a01b038085166000818152602081815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b600081565b6003546000906001600160a01b031633146104eb57600080fd5b60005b828110156105245761051c84848381811061050557fe5b905060200201356001600160a01b031660016106af565b6001016104ee565b5060019392505050565b6003546001600160a01b0316331461054557600080fd5b6003546001600160a01b0316ff5b6001600160a01b031660009081526020819052604090205490565b604051806040016040528060088152602001674845586d652e696f60c01b81525081565b336000908152602081905260408120548211156105ae57600080fd5b336000908152602081905260409020546105ce908363ffffffff61068716565b33600090815260208190526040808220929092556001600160a01b03851681522054610600908363ffffffff61069916565b6001600160a01b038416600081815260208181526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60008282111561069357fe5b50900390565b6000828201838110156106a857fe5b9392505050565b6001600160a01b0382166106c257600080fd5b6002546106d5908263ffffffff61069916565b6002556001600160a01b038216600090815260208190526040902054610701908263ffffffff61069916565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3505056fea2646970667358221220d4375f5d80f63666fa0e8c69893e02b89391e7d060d8c1fcf4ba43607ddb095764736f6c63430006080033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100a95760003560e01c8063322847951161007157806332284795146101d957806341c0e1b51461024957806370a082311461025357806395d89b4114610279578063a9059cbb14610281578063dd62ed3e146102ad576100a9565b806306fdde03146100ae578063095ea7b31461012b57806318160ddd1461016b57806323b872dd14610185578063313ce567146101bb575b600080fd5b6100b66102db565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100f05781810151838201526020016100d8565b50505050905090810190601f16801561011d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101576004803603604081101561014157600080fd5b506001600160a01b038135169060200135610305565b604080519115158252519081900360200190f35b61017361036b565b60408051918252519081900360200190f35b6101576004803603606081101561019b57600080fd5b506001600160a01b03813581169160208101359091169060400135610371565b6101c36104cc565b6040805160ff9092168252519081900360200190f35b610157600480360360208110156101ef57600080fd5b81019060208101813564010000000081111561020a57600080fd5b82018360208201111561021c57600080fd5b8035906020019184602083028401116401000000008311171561023e57600080fd5b5090925090506104d1565b61025161052e565b005b6101736004803603602081101561026957600080fd5b50356001600160a01b0316610553565b6100b661056e565b6101576004803603604081101561029757600080fd5b506001600160a01b038135169060200135610592565b610173600480360360408110156102c357600080fd5b506001600160a01b038135811691602001351661065c565b6040518060400160405280600e81526020016d76697369742e4845586d652e696f60901b81525081565b3360008181526001602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60025490565b6001600160a01b03831660009081526020819052604081205482111561039657600080fd5b6001600160a01b03841660009081526001602090815260408083203384529091529020548211156103c657600080fd5b6001600160a01b0384166000908152602081905260409020546103ef908363ffffffff61068716565b6001600160a01b03851660009081526020818152604080832093909355600181528282203383529052205461042a908363ffffffff61068716565b6001600160a01b038086166000908152600160209081526040808320338452825280832094909455918616815290819052205461046d908363ffffffff61069916565b6001600160a01b038085166000818152602081815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b600081565b6003546000906001600160a01b031633146104eb57600080fd5b60005b828110156105245761051c84848381811061050557fe5b905060200201356001600160a01b031660016106af565b6001016104ee565b5060019392505050565b6003546001600160a01b0316331461054557600080fd5b6003546001600160a01b0316ff5b6001600160a01b031660009081526020819052604090205490565b604051806040016040528060088152602001674845586d652e696f60c01b81525081565b336000908152602081905260408120548211156105ae57600080fd5b336000908152602081905260409020546105ce908363ffffffff61068716565b33600090815260208190526040808220929092556001600160a01b03851681522054610600908363ffffffff61069916565b6001600160a01b038416600081815260208181526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60008282111561069357fe5b50900390565b6000828201838110156106a857fe5b9392505050565b6001600160a01b0382166106c257600080fd5b6002546106d5908263ffffffff61069916565b6002556001600160a01b038216600090815260208190526040902054610701908263ffffffff61069916565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3505056fea2646970667358221220d4375f5d80f63666fa0e8c69893e02b89391e7d060d8c1fcf4ba43607ddb095764736f6c63430006080033

Deployed Bytecode Sourcemap

69:2808:0:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;69:2808:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;100:46: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;100:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1425:212;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;1425:212:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;850:91;;;:::i;:::-;;;;;;;;;;;;;;;;1782:477;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;1782:477:0;;;;;;;;;;;;;;;;;:::i;202:34::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2548:237;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;2548:237:0;;;;;;;;27:11:-1;11:28;;8:2;;;52:1;49;42:12;8:2;2548:237:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;2548:237:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;-1:-1;2548:237:0;;-1:-1:-1;2548:237:0;-1:-1:-1;2548:237:0;:::i;2793:81::-;;;:::i;:::-;;949:112;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;949:112:0;-1:-1:-1;;;;;949:112:0;;:::i;153:42::-;;;:::i;1069:348::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;1069:348:0;;;;;;;;:::i;1645:129::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;1645:129:0;;;;;;;;;;:::i;100:46::-;;;;;;;;;;;;;;-1:-1:-1;;;100:46:0;;;;:::o;1425:212::-;1517:10;1492:4;1509:19;;;:7;:19;;;;;;;;-1:-1:-1;;;;;1509:29:0;;;;;;;;;;;:41;;;1566;;;;;;;1492:4;;1509:29;;1517:10;;1566:41;;;;;;;;-1:-1:-1;1625:4:0;1425:212;;;;:::o;850:91::-;921:12;;850:91;:::o;1782:477::-;-1:-1:-1;;;;;1904:15:0;;1866:4;1904:15;;;;;;;;;;;1891:28;;;1883:37;;12:1:-1;9;2:12;1883:37:0;-1:-1:-1;;;;;1952:14:0;;;;;;:7;:14;;;;;;;;1967:10;1952:26;;;;;;;;1939:39;;;1931:48;;12:1:-1;9;2:12;1931:48:0;-1:-1:-1;;;;;2010:15:0;;:8;:15;;;;;;;;;;;:30;;2030:9;2010:30;:19;:30;:::i;:::-;-1:-1:-1;;;;;1992:15:0;;:8;:15;;;;;;;;;;;:48;;;;2080:7;:14;;;;;2095:10;2080:26;;;;;;:41;;2111:9;2080:41;:30;:41;:::i;:::-;-1:-1:-1;;;;;2051:14:0;;;;;;;:7;:14;;;;;;;;2066:10;2051:26;;;;;;;:70;;;;2150:15;;;;;;;;;;;:30;;2170:9;2150:30;:19;:30;:::i;:::-;-1:-1:-1;;;;;2132:15:0;;;:8;:15;;;;;;;;;;;;:48;;;;2196:33;;;;;;;2132:15;;2196:33;;;;;;;;;;;;;-1:-1:-1;2247:4:0;1782:477;;;;;:::o;202:34::-;235:1;202:34;:::o;2548:237::-;685:13;;2632;;-1:-1:-1;;;;;685:13:0;671:10;:27;663:36;;12:1:-1;9;2:12;663:36:0;2664:9:::1;2660:94;2679:20:::0;;::::1;2660:94;;;2720:22;2726:9;;2736:1;2726:12;;;;;;;;;;;;;-1:-1:-1::0;;;;;2726:12:0::1;2740:1;2720:5;:22::i;:::-;2701:3;;2660:94;;;-1:-1:-1::0;2773:4:0::1;::::0;2548:237;-1:-1:-1;;;2548:237:0:o;2793:81::-;685:13;;-1:-1:-1;;;;;685:13:0;671:10;:27;663:36;;12:1:-1;9;2:12;663:36:0;2852:13:::1;::::0;-1:-1:-1;;;;;2852:13:0::1;2839:27;949:112:::0;-1:-1:-1;;;;;1033:20:0;1009:4;1033:20;;;;;;;;;;;;949:112::o;153:42::-;;;;;;;;;;;;;;-1:-1:-1;;;153:42:0;;;;:::o;1069:348::-;1184:10;1137:4;1175:20;;;;;;;;;;;1162:33;;;1154:42;;12:1:-1;9;2:12;1154:42:0;1239:10;1230:8;:20;;;;;;;;;;;:35;;1255:9;1230:35;:24;:35;:::i;:::-;1216:10;1207:8;:20;;;;;;;;;;;:58;;;;-1:-1:-1;;;;;1297:18:0;;;;;;:33;;1320:9;1297:33;:22;:33;:::i;:::-;-1:-1:-1;;;;;1276:18:0;;:8;:18;;;;;;;;;;;;:54;;;;1346:41;;;;;;;1276:18;;1355:10;;1346:41;;;;;;;;;;-1:-1:-1;1405:4:0;1069:348;;;;:::o;1645:129::-;-1:-1:-1;;;;;1742:14:0;;;1718:4;1742:14;;;:7;:14;;;;;;;;:24;;;;;;;;;;;;;1645:129::o;2905:123::-;2963:7;2995:1;2990;:6;;2983:14;;;;-1:-1:-1;3015:5:0;;;2905:123::o;3036:147::-;3094:7;3126:5;;;3149:6;;;;3142:14;;;;3174:1;3036:147;-1:-1:-1;;;3036:147:0:o;2267:273::-;-1:-1:-1;;;;;2343:21:0;;2335:30;;12:1:-1;9;2:12;2335:30:0;2393:12;;:24;;2410:6;2393:24;:16;:24;:::i;:::-;2378:12;:39;-1:-1:-1;;;;;2448:17:0;;:8;:17;;;;;;;;;;;:29;;2470:6;2448:29;:21;:29;:::i;:::-;-1:-1:-1;;;;;2428:17:0;;:8;:17;;;;;;;;;;;:49;;;;2495:37;;;;;;;2428:17;;:8;;2495:37;;;;;;;;;;2267:273;;:::o

Swarm Source

ipfs://d4375f5d80f63666fa0e8c69893e02b89391e7d060d8c1fcf4ba43607ddb0957

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.