ETH Price: $3,291.98 (-0.23%)

Contract

0x8E6453b982fA6Fd6eD86007B2E9135B731Ce43Cb
 

Overview

ETH Balance

0.0007 ETH

Eth Value

$2.30 (@ $3,291.98/ETH)

Token Holdings

Multichain Info

1 address found via
Transaction Hash
Method
Block
From
To
Sell123946332021-05-08 16:03:441324 days ago1620489824IN
0x8E6453b9...731Ce43Cb
0.05 ETH0.00794815271
Sell123654592021-05-04 3:46:361329 days ago1620099996IN
0x8E6453b9...731Ce43Cb
0.019 ETH0.0009385232
Sell123648932021-05-04 1:50:211329 days ago1620093021IN
0x8E6453b9...731Ce43Cb
0.0007 ETH0.0022631455
Withdraw123632682021-05-03 19:57:091329 days ago1620071829IN
0x8E6453b9...731Ce43Cb
0 ETH0.0026698676.63
Transfer123632592021-05-03 19:55:121329 days ago1620071712IN
0x8E6453b9...731Ce43Cb
139.775 ETH0.0035727487
Withdraw123632422021-05-03 19:52:211329 days ago1620071541IN
0x8E6453b9...731Ce43Cb
0 ETH0.002891883
Transfer123632272021-05-03 19:49:331329 days ago1620071373IN
0x8E6453b9...731Ce43Cb
100 ETH0.0055257795
Withdraw123632122021-05-03 19:44:331329 days ago1620071073IN
0x8E6453b9...731Ce43Cb
0 ETH0.0027524379
Sell123631642021-05-03 19:32:011329 days ago1620070321IN
0x8E6453b9...731Ce43Cb
1 ETH0.0044268476
Sell123630992021-05-03 19:21:221329 days ago1620069682IN
0x8E6453b9...731Ce43Cb
0.2 ETH0.00469087114
Sell123630342021-05-03 19:05:511329 days ago1620068751IN
0x8E6453b9...731Ce43Cb
0.02 ETH0.005708398.00000145
Sell123630142021-05-03 19:01:161329 days ago1620068476IN
0x8E6453b9...731Ce43Cb
0.09 ETH0.004032598
Transfer123630082021-05-03 19:00:041329 days ago1620068404IN
0x8E6453b9...731Ce43Cb
1.55417444 ETH0.0581661,000
Transfer123630042021-05-03 18:58:591329 days ago1620068339IN
0x8E6453b9...731Ce43Cb
0.1 ETH0.00501005122
Sell123630002021-05-03 18:58:051329 days ago1620068285IN
0x8E6453b9...731Ce43Cb
0.5 ETH0.00664027114
Sell123629972021-05-03 18:57:031329 days ago1620068223IN
0x8E6453b9...731Ce43Cb
0.1 ETH0.007281125
Sell123629872021-05-03 18:54:361329 days ago1620068076IN
0x8E6453b9...731Ce43Cb
2 ETH0.00415594101
Sell123629512021-05-03 18:46:021329 days ago1620067562IN
0x8E6453b9...731Ce43Cb
0.04547308 ETH0.0057665599
Sell123629382021-05-03 18:44:421329 days ago1620067482IN
0x8E6453b9...731Ce43Cb
0.24 ETH0.0057665599
Sell123629272021-05-03 18:42:211329 days ago1620067341IN
0x8E6453b9...731Ce43Cb
0.55 ETH0.00423824103
Sell123629112021-05-03 18:39:051329 days ago1620067145IN
0x8E6453b9...731Ce43Cb
0.3 ETH0.007281125
Sell123629032021-05-03 18:36:531329 days ago1620067013IN
0x8E6453b9...731Ce43Cb
0.55 ETH0.00551383134
Sell123628822021-05-03 18:31:591329 days ago1620066719IN
0x8E6453b9...731Ce43Cb
0.5 ETH0.007281125
Sell123628722021-05-03 18:30:211329 days ago1620066621IN
0x8E6453b9...731Ce43Cb
0.25 ETH0.0056500597
Sell123628512021-05-03 18:25:541329 days ago1620066354IN
0x8E6453b9...731Ce43Cb
0.0324 ETH0.0056500597
View all transactions

Latest 4 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
123632682021-05-03 19:57:091329 days ago1620071829
0x8E6453b9...731Ce43Cb
139.775 ETH
123632422021-05-03 19:52:211329 days ago1620071541
0x8E6453b9...731Ce43Cb
100 ETH
123632122021-05-03 19:44:331329 days ago1620071073
0x8E6453b9...731Ce43Cb
260.22187964 ETH
122892142021-04-22 9:35:141341 days ago1619084114
0x8E6453b9...731Ce43Cb
0.1 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
presale_tokens

Compiler Version
v0.8.1+commit.df193b15

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2021-04-22
*/

pragma solidity ^0.8.0;

interface IERC20 {
    function totalSupply() external view returns (uint256);
    function balanceOf(address account) external view returns (uint256);
    function transfer(address recipient, uint256 amount) external returns (bool);
    function allowance(address owner, address spender) external view returns (uint256);
    function approve(address spender, uint256 amount) external returns (bool);
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // 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 (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @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 a + b;
    }

    /**
     * @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 a - b;
    }

    /**
     * @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) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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 a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards 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).
     *
     * 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) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * 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) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

contract presale_tokens {
    using SafeMath for uint256;
    
    IERC20 meow_token;
    address owner;
    address payable beneficiary;
    
    constructor(address _token, address payable _beneficiary) {
        meow_token = IERC20(_token);
        owner = payable(msg.sender);
        beneficiary = _beneficiary;
    }
    
    function sell() public payable{
        require(msg.value > 0, "0 eth sent");
        require(meow_token.balanceOf(address(this)) >= msg.value.mul(1e18).div(0.005e18) , "token supply exceeded");
        meow_token.transfer(msg.sender, msg.value.mul(1e18).div(0.005e18));
    }
    
    
    function withdraw() public {
        require(msg.sender == owner, "only Owner");
        beneficiary.transfer(address(this).balance);
    }
    
    receive() external payable {
        sell();
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address payable","name":"_beneficiary","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"sell","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b5060405161048e38038061048e83398101604081905261002f9161006a565b600080546001600160a01b039384166001600160a01b03199182161790915560018054821633179055600280549290931691161790556100bb565b6000806040838503121561007c578182fd5b8251610087816100a3565b6020840151909250610098816100a3565b809150509250929050565b6001600160a01b03811681146100b857600080fd5b50565b6103c4806100ca6000396000f3fe60806040526004361061002d5760003560e01c80633ccfd60b1461004157806345710074146100565761003c565b3661003c5761003a61005a565b005b600080fd5b34801561004d57600080fd5b5061003a6101e5565b61003a5b600034116100835760405162461bcd60e51b815260040161007a906102f0565b60405180910390fd5b6100a66611c37937e080006100a034670de0b6b3a7640000610248565b9061025b565b6000546040516370a0823160e01b81526001600160a01b03909116906370a08231906100d690309060040161029f565b60206040518083038186803b1580156100ee57600080fd5b505afa158015610102573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101269190610287565b10156101445760405162461bcd60e51b815260040161007a90610314565b6000546001600160a01b031663a9059cbb336101736611c37937e080006100a034670de0b6b3a7640000610248565b6040518363ffffffff1660e01b81526004016101909291906102b3565b602060405180830381600087803b1580156101aa57600080fd5b505af11580156101be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101e29190610267565b50565b6001546001600160a01b0316331461020f5760405162461bcd60e51b815260040161007a906102cc565b6002546040516001600160a01b03909116904780156108fc02916000818181858888f193505050501580156101e2573d6000803e3d6000fd5b60006102548284610363565b9392505050565b60006102548284610343565b600060208284031215610278578081fd5b81518015158114610254578182fd5b600060208284031215610298578081fd5b5051919050565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b6020808252600a908201526937b7363c9027bbb732b960b11b604082015260600190565b6020808252600a90820152690c08195d1a081cd95b9d60b21b604082015260600190565b6020808252601590820152741d1bdad95b881cdd5c1c1b1e48195e18d959591959605a1b604082015260600190565b60008261035e57634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561038957634e487b7160e01b81526011600452602481fd5b50029056fea26469706673582212206482f4a02cbe1d1210c4fb901c4751d137337c6850dfcb4342c96c5839ef593564736f6c63430008010033000000000000000000000000fc69371a453759bea35c43359c62d2f2b66f0b1e000000000000000000000000ee957b6bc7b6831d74cbbcd0c13b0c076a9cd24b

Deployed Bytecode

0x60806040526004361061002d5760003560e01c80633ccfd60b1461004157806345710074146100565761003c565b3661003c5761003a61005a565b005b600080fd5b34801561004d57600080fd5b5061003a6101e5565b61003a5b600034116100835760405162461bcd60e51b815260040161007a906102f0565b60405180910390fd5b6100a66611c37937e080006100a034670de0b6b3a7640000610248565b9061025b565b6000546040516370a0823160e01b81526001600160a01b03909116906370a08231906100d690309060040161029f565b60206040518083038186803b1580156100ee57600080fd5b505afa158015610102573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101269190610287565b10156101445760405162461bcd60e51b815260040161007a90610314565b6000546001600160a01b031663a9059cbb336101736611c37937e080006100a034670de0b6b3a7640000610248565b6040518363ffffffff1660e01b81526004016101909291906102b3565b602060405180830381600087803b1580156101aa57600080fd5b505af11580156101be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101e29190610267565b50565b6001546001600160a01b0316331461020f5760405162461bcd60e51b815260040161007a906102cc565b6002546040516001600160a01b03909116904780156108fc02916000818181858888f193505050501580156101e2573d6000803e3d6000fd5b60006102548284610363565b9392505050565b60006102548284610343565b600060208284031215610278578081fd5b81518015158114610254578182fd5b600060208284031215610298578081fd5b5051919050565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b6020808252600a908201526937b7363c9027bbb732b960b11b604082015260600190565b6020808252600a90820152690c08195d1a081cd95b9d60b21b604082015260600190565b6020808252601590820152741d1bdad95b881cdd5c1c1b1e48195e18d959591959605a1b604082015260600190565b60008261035e57634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561038957634e487b7160e01b81526011600452602481fd5b50029056fea26469706673582212206482f4a02cbe1d1210c4fb901c4751d137337c6850dfcb4342c96c5839ef593564736f6c63430008010033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000fc69371a453759bea35c43359c62d2f2b66f0b1e000000000000000000000000ee957b6bc7b6831d74cbbcd0c13b0c076a9cd24b

-----Decoded View---------------
Arg [0] : _token (address): 0xFc69371a453759beA35C43359c62d2f2b66F0b1e
Arg [1] : _beneficiary (address): 0xee957b6bc7b6831d74CBbcD0C13B0c076a9CD24B

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000fc69371a453759bea35c43359c62d2f2b66f0b1e
Arg [1] : 000000000000000000000000ee957b6bc7b6831d74cbbcd0c13b0c076a9cd24b


Deployed Bytecode Sourcemap

7595:852:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;8430:6;:4;:6::i;:::-;7595:852;;;;;8238:142;;;;;;;;;;;;;:::i;7940:280::-;;;8001:1;7989:9;:13;7981:36;;;;-1:-1:-1;;;7981:36:0;;;;;;;:::i;:::-;;;;;;;;;8075:33;8099:8;8075:19;:9;8089:4;8075:13;:19::i;:::-;:23;;:33::i;:::-;8036:10;;:35;;-1:-1:-1;;;8036:35:0;;-1:-1:-1;;;;;8036:10:0;;;;:20;;:35;;8065:4;;8036:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:72;;8028:107;;;;-1:-1:-1;;;8028:107:0;;;;;;;:::i;:::-;8146:10;;-1:-1:-1;;;;;8146:10:0;:19;8166:10;8178:33;8202:8;8178:19;:9;8192:4;8178:13;:19::i;:33::-;8146:66;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;7940:280::o;8238:142::-;8298:5;;-1:-1:-1;;;;;8298:5:0;8284:10;:19;8276:42;;;;-1:-1:-1;;;8276:42:0;;;;;;;:::i;:::-;8329:11;;:43;;-1:-1:-1;;;;;8329:11:0;;;;8350:21;8329:43;;;;;:11;:43;:11;:43;8350:21;8329:11;:43;;;;;;;;;;;;;;;;;;;4043:98;4101:7;4128:5;4132:1;4128;:5;:::i;:::-;4121:12;4043:98;-1:-1:-1;;;4043:98:0:o;4442:::-;4500:7;4527:5;4531:1;4527;:5;:::i;14:297:1:-;;134:2;122:9;113:7;109:23;105:32;102:2;;;155:6;147;140:22;102:2;192:9;186:16;245:5;238:13;231:21;224:5;221:32;211:2;;272:6;264;257:22;316:194;;439:2;427:9;418:7;414:23;410:32;407:2;;;460:6;452;445:22;407:2;-1:-1:-1;488:16:1;;397:113;-1:-1:-1;397:113:1:o;515:203::-;-1:-1:-1;;;;;679:32:1;;;;661:51;;649:2;634:18;;616:102::o;723:274::-;-1:-1:-1;;;;;915:32:1;;;;897:51;;979:2;964:18;;957:34;885:2;870:18;;852:145::o;1002:334::-;1204:2;1186:21;;;1243:2;1223:18;;;1216:30;-1:-1:-1;;;1277:2:1;1262:18;;1255:40;1327:2;1312:18;;1176:160::o;1341:334::-;1543:2;1525:21;;;1582:2;1562:18;;;1555:30;-1:-1:-1;;;1616:2:1;1601:18;;1594:40;1666:2;1651:18;;1515:160::o;1680:345::-;1882:2;1864:21;;;1921:2;1901:18;;;1894:30;-1:-1:-1;;;1955:2:1;1940:18;;1933:51;2016:2;2001:18;;1854:171::o;2030:217::-;;2096:1;2086:2;;-1:-1:-1;;;2121:31:1;;2175:4;2172:1;2165:15;2203:4;2128:1;2193:15;2086:2;-1:-1:-1;2232:9:1;;2076:171::o;2252:277::-;;2358:1;2354;2350:6;2346:14;2343:1;2340:21;2335:1;2328:9;2321:17;2317:45;2314:2;;;-1:-1:-1;;;2385:37:1;;2445:4;2442:1;2435:15;2479:4;2392:7;2463:21;2314:2;-1:-1:-1;2514:9:1;;2304:225::o

Swarm Source

ipfs://6482f4a02cbe1d1210c4fb901c4751d137337c6850dfcb4342c96c5839ef5935

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  ]
[ 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.