Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 575 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Sell | 12394633 | 1324 days ago | IN | 0.05 ETH | 0.00794815 | ||||
Sell | 12365459 | 1329 days ago | IN | 0.019 ETH | 0.00093852 | ||||
Sell | 12364893 | 1329 days ago | IN | 0.0007 ETH | 0.00226314 | ||||
Withdraw | 12363268 | 1329 days ago | IN | 0 ETH | 0.00266986 | ||||
Transfer | 12363259 | 1329 days ago | IN | 139.775 ETH | 0.00357274 | ||||
Withdraw | 12363242 | 1329 days ago | IN | 0 ETH | 0.0028918 | ||||
Transfer | 12363227 | 1329 days ago | IN | 100 ETH | 0.00552577 | ||||
Withdraw | 12363212 | 1329 days ago | IN | 0 ETH | 0.00275243 | ||||
Sell | 12363164 | 1329 days ago | IN | 1 ETH | 0.00442684 | ||||
Sell | 12363099 | 1329 days ago | IN | 0.2 ETH | 0.00469087 | ||||
Sell | 12363034 | 1329 days ago | IN | 0.02 ETH | 0.0057083 | ||||
Sell | 12363014 | 1329 days ago | IN | 0.09 ETH | 0.0040325 | ||||
Transfer | 12363008 | 1329 days ago | IN | 1.55417444 ETH | 0.058166 | ||||
Transfer | 12363004 | 1329 days ago | IN | 0.1 ETH | 0.00501005 | ||||
Sell | 12363000 | 1329 days ago | IN | 0.5 ETH | 0.00664027 | ||||
Sell | 12362997 | 1329 days ago | IN | 0.1 ETH | 0.007281 | ||||
Sell | 12362987 | 1329 days ago | IN | 2 ETH | 0.00415594 | ||||
Sell | 12362951 | 1329 days ago | IN | 0.04547308 ETH | 0.00576655 | ||||
Sell | 12362938 | 1329 days ago | IN | 0.24 ETH | 0.00576655 | ||||
Sell | 12362927 | 1329 days ago | IN | 0.55 ETH | 0.00423824 | ||||
Sell | 12362911 | 1329 days ago | IN | 0.3 ETH | 0.007281 | ||||
Sell | 12362903 | 1329 days ago | IN | 0.55 ETH | 0.00551383 | ||||
Sell | 12362882 | 1329 days ago | IN | 0.5 ETH | 0.007281 | ||||
Sell | 12362872 | 1329 days ago | IN | 0.25 ETH | 0.00565005 | ||||
Sell | 12362851 | 1329 days ago | IN | 0.0324 ETH | 0.00565005 |
Loading...
Loading
Contract Name:
presale_tokens
Compiler Version
v0.8.1+commit.df193b15
Contract Source Code (Solidity)
/** *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
- No Contract Security Audit Submitted- Submit Audit Here
[{"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"}]
Contract Creation Code
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
Loading...
Loading
Loading...
Loading
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.