ETH Price: $3,231.08 (+1.52%)

Contract

0xBE3bBaf08272D9dC2f344b095ac5B9B317EbCA73
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer176662422023-07-10 22:31:47554 days ago1689028307IN
0xBE3bBaf0...317EbCA73
0 ETH0.0009691418.93746589
Approve176661032023-07-10 22:03:47554 days ago1689026627IN
0xBE3bBaf0...317EbCA73
0 ETH0.001134824.52151079
Transfer176660982023-07-10 22:02:47554 days ago1689026567IN
0xBE3bBaf0...317EbCA73
0 ETH0.0008890625.92644255
Approve176639542023-07-10 14:48:23554 days ago1689000503IN
0xBE3bBaf0...317EbCA73
0 ETH0.0008420932.0698801
Approve176639512023-07-10 14:47:47554 days ago1689000467IN
0xBE3bBaf0...317EbCA73
0 ETH0.0008133233.52815436
Transfer176123542023-07-03 8:48:35562 days ago1688374115IN
0xBE3bBaf0...317EbCA73
0 ETH0.0006511718.98922305
Transfer175432612023-06-23 15:48:47571 days ago1687535327IN
0xBE3bBaf0...317EbCA73
0 ETH0.0017790731.67410321
Approve173982032023-06-03 5:53:35592 days ago1685771615IN
0xBE3bBaf0...317EbCA73
0 ETH0.0005607323.05862147
Approve172921242023-05-19 7:41:35607 days ago1684482095IN
0xBE3bBaf0...317EbCA73
0 ETH0.0016465835.5802188
Approve172821512023-05-17 21:59:23608 days ago1684360763IN
0xBE3bBaf0...317EbCA73
0 ETH0.0027839460.15699096
Pump172677732023-05-15 21:14:59610 days ago1684185299IN
0xBE3bBaf0...317EbCA73
0 ETH0.0072089990.54482615
Approve172634842023-05-15 6:44:23611 days ago1684133063IN
0xBE3bBaf0...317EbCA73
0 ETH0.0019378141.63587442
Pump172600052023-05-14 18:55:35611 days ago1684090535IN
0xBE3bBaf0...317EbCA73
0 ETH0.0034162442.81379333
Approve172556072023-05-14 3:56:23612 days ago1684036583IN
0xBE3bBaf0...317EbCA73
0 ETH0.0021071445.2157981
Pump172534572023-05-13 20:37:11612 days ago1684010231IN
0xBE3bBaf0...317EbCA73
0 ETH0.0028559735.87092219
Approve172494102023-05-13 6:53:59613 days ago1683960839IN
0xBE3bBaf0...317EbCA73
0 ETH0.0009778140.30901183
Pump172463332023-05-12 20:28:59613 days ago1683923339IN
0xBE3bBaf0...317EbCA73
0 ETH0.0063202179.20759909
Pump172441862023-05-12 12:39:47613 days ago1683895187IN
0xBE3bBaf0...317EbCA73
0 ETH0.0054262868.00452489
Approve172436742023-05-12 10:55:47613 days ago1683888947IN
0xBE3bBaf0...317EbCA73
0 ETH0.0021287846
Approve172424802023-05-12 6:53:47614 days ago1683874427IN
0xBE3bBaf0...317EbCA73
0 ETH0.0024616553.1239259
Pump172409002023-05-12 1:30:59614 days ago1683855059IN
0xBE3bBaf0...317EbCA73
0 ETH0.0060395475.69015927
Pump172359252023-05-11 8:28:59615 days ago1683793739IN
0xBE3bBaf0...317EbCA73
0 ETH0.0068866686.30661293
Approve172358652023-05-11 8:16:59615 days ago1683793019IN
0xBE3bBaf0...317EbCA73
0 ETH0.00574261123.38555861
Approve172354622023-05-11 6:54:47615 days ago1683788087IN
0xBE3bBaf0...317EbCA73
0 ETH0.0036841679.6094983
Approve172344922023-05-11 3:38:23615 days ago1683776303IN
0xBE3bBaf0...317EbCA73
0 ETH0.0022157575.93916329
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PumpToken

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : PumpToken.flattened.sol
/*
* $$$$$$$\  $$\   $$\ $$\      $$\ $$$$$$$\        $$$$$$\ $$$$$$$$\ 
* $$  __$$\ $$ |  $$ |$$$\    $$$ |$$  __$$\       \_$$  _|\__$$  __|
* $$ |  $$ |$$ |  $$ |$$$$\  $$$$ |$$ |  $$ |        $$ |     $$ |   
* $$$$$$$  |$$ |  $$ |$$\$$\$$ $$ |$$$$$$$  |        $$ |     $$ |   
* $$  ____/ $$ |  $$ |$$ \$$$  $$ |$$  ____/         $$ |     $$ |   
* $$ |      $$ |  $$ |$$ |\$  /$$ |$$ |              $$ |     $$ |   
* $$ |      \$$$$$$  |$$ | \_/ $$ |$$ |            $$$$$$\    $$ |   
* \__|       \______/ \__|     \__|\__|            \______|   \__|  
* 
* An experimental coin that doubles in price daily.
* NFA DYOR
*
* simplypumpit.com
* t.me/pumperc
* twitter.com/simplypumpit
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
}

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

interface IUniswapV2Pair {
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function sync() external;
}

interface IUniswapV2Factory {
   function createPair(address tokenA, address tokenB) external returns (address pair);
}

// https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.0.0/contracts/token/ERC20/IERC20.sol
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);

    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

contract PumpToken is IERC20, Ownable {
    string public name = "Pump";
    string public symbol = "PUMP";
    uint8 public decimals = 18;
    uint256 public totalSupply;

    mapping(address => uint256) public balanceOf;
    mapping(address => mapping(address => uint256)) private _allowances;
    mapping(address => bool) isExcludedFromTax;
    uint256 maxWallet;
    bool pumpStarted;

    IUniswapV2Pair public uniswapV2Pair;
    IUniswapV2Router02 public uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
    address payable treasury = payable(0xb5d8dae8E8045463Ad55ee27Ef5De8857A927b7f);

    uint256 public sellTax = 420;
    uint256 public lastPumpedTimestamp;

    constructor() {
        totalSupply = 69_000_000e18;
        balanceOf[msg.sender] = totalSupply;
        isExcludedFromTax[owner()] = true;
        isExcludedFromTax[address(this)] = true;
        isExcludedFromTax[treasury] = true;
        isExcludedFromTax[address(uniswapV2Router)] = true;
        maxWallet = totalSupply / 50;
        uniswapV2Pair = IUniswapV2Pair(
            IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH())
        );
    }

    event Pump(uint256 prevReserve, uint256 newReserve);

    bool inSwap = false;

    modifier lockTheSwap() {
        inSwap = true;
        _;
        inSwap = false;
    }

    receive() external payable {}

    function allowance(address owner, address spender) public view override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) public override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function _approve(address owner, address spender, uint256 amount) private {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");
        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    function _spendAllowance(address owner, address spender, uint256 amount) private {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    function transfer(address recipient, uint256 amount) external returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        emit Transfer(msg.sender, recipient, amount);
        return true;
    }

    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool) {
        _spendAllowance(sender, _msgSender(), amount);
        _transfer(sender, recipient, amount);
        emit Transfer(sender, recipient, amount);
        return true;
    }

    function _transfer(address sender, address recipient, uint256 amount) private {
        if (sender == address(uniswapV2Pair) && !isExcludedFromTax[recipient]) {
            require(amount + balanceOf[recipient] <= maxWallet, "Transfer amount exceeds the maxWallet");
        }

        if (recipient == address(uniswapV2Pair) && !isExcludedFromTax[sender]) {
            uint256 tax = (amount * sellTax) / 10000;
            amount -= tax;
            balanceOf[address(this)] += tax;
            balanceOf[sender] -= tax;
        }

        uint256 contractTokenBalance = balanceOf[address(this)];
        bool canSwap = contractTokenBalance > 0;

        if (
            canSwap && !inSwap && sender != address(uniswapV2Pair) && !isExcludedFromTax[sender]
                && !isExcludedFromTax[recipient]
        ) {
            swapTokensForEth(contractTokenBalance);
        }

        balanceOf[sender] -= amount;
        balanceOf[recipient] += amount;
    }

    bool isReserve0;

    function pump() public {
        require(pumpStarted, "Pump not started");
        require(lastPumpedTimestamp != block.timestamp, "Pump cooldown");

        (uint112 reserve0, uint112 reserve1,) = uniswapV2Pair.getReserves();
        uint112 reserve = isReserve0 ? reserve0 : reserve1;

        uint256 timePassed = viewTimePassed();
        uint256 toBurn;

        toBurn = (reserve * timePassed) / (2 * 86400);
        lastPumpedTimestamp = block.timestamp;

        burnFrom(address(uniswapV2Pair), toBurn);

        uniswapV2Pair.sync();

        emit Pump(reserve, reserve - toBurn);
    }

    function startZePump() public onlyOwner {
        require(!pumpStarted, "Pump already started");
        pumpStarted = true;
        lastPumpedTimestamp = block.timestamp;
        maxWallet = totalSupply;
    }

    function setReserve(bool _isReserve0) public onlyOwner {
        isReserve0 = _isReserve0;
    }

    function viewTimePassed() public view returns (uint256) {
        uint256 timePassed;
        if (block.timestamp - lastPumpedTimestamp > 86400) {
            timePassed = 86400;
        } else {
            timePassed = block.timestamp - lastPumpedTimestamp;
        }
        return timePassed;
    }

    function burnFrom(address account, uint256 amount) private {
        balanceOf[account] -= amount;
        totalSupply -= amount;
        emit Transfer(account, address(0), amount);
    }

    function swapTokensForEth(uint256 tokenAmount) private lockTheSwap {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();
        _approve(address(this), address(uniswapV2Router), tokenAmount);
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount, 0, path, treasury, block.timestamp
        );
    }
}

Settings
{
  "remappings": [
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "bytecodeHash": "ipfs"
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "london",
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"prevReserve","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newReserve","type":"uint256"}],"name":"Pump","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"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","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":[],"name":"lastPumpedTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pump","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_isReserve0","type":"bool"}],"name":"setReserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startZePump","outputs":[],"stateMutability":"nonpayable","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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"contract IUniswapV2Pair","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"viewTimePassed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c06040526004608090815263050756d760e41b60a052600190620000259082620003f6565b50604080518082019091526004815263050554d560e41b6020820152600290620000509082620003f6565b506003805460ff19908116601217909155600a80546001600160a01b0319908116737a250d5630b4cf539739df2c5dacb4c659f2488d17909155600b805490911673b5d8dae8e8045463ad55ee27ef5de8857a927b7f1790556101a4600c55600e80549091169055348015620000c557600080fd5b50620000d13362000301565b6a3913517ebd3c0c6500000060048181553360009081526005602090815260408083209490945581546001600160a01b03908116835260079091528382208054600160ff1991821681179092553084528584208054821683179055600b54831684528584208054821683179055600a549092168352939091208054909116909217909155546200016490603290620004c2565b600855600a546040805163c45a015560e01b815290516001600160a01b039092169163c45a0155916004808201926020929091908290030181865afa158015620001b2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001d89190620004e5565b6001600160a01b031663c9c6539630600a60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200023b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002619190620004e5565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620002af573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002d59190620004e5565b600960016101000a8154816001600160a01b0302191690836001600160a01b0316021790555062000517565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200037c57607f821691505b6020821081036200039d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620003f157600081815260208120601f850160051c81016020861015620003cc5750805b601f850160051c820191505b81811015620003ed57828155600101620003d8565b5050505b505050565b81516001600160401b0381111562000412576200041262000351565b6200042a8162000423845462000367565b84620003a3565b602080601f831160018114620004625760008415620004495750858301515b600019600386901b1c1916600185901b178555620003ed565b600085815260208120601f198616915b82811015620004935788860151825594840194600190910190840162000472565b5085821015620004b25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082620004e057634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215620004f857600080fd5b81516001600160a01b03811681146200051057600080fd5b9392505050565b61130580620005276000396000f3fe6080604052600436106101225760003560e01c806370a08231116100a0578063aa20aeb011610064578063aa20aeb014610329578063cc1776d314610349578063d95345a61461035f578063dd62ed3e14610374578063f2fde38b146103ba57600080fd5b806370a0823114610294578063715018a6146102c15780638da5cb5b146102d657806395d89b41146102f4578063a9059cbb1461030957600080fd5b806323b872dd116100e757806323b872dd146101f6578063313ce56714610216578063395ea61b1461024257806349bd5a5e14610259578063705338a71461027e57600080fd5b806247770c1461012e57806306fdde0314610156578063095ea7b3146101785780631694505e146101a857806318160ddd146101e057600080fd5b3661012957005b600080fd5b34801561013a57600080fd5b506101436103da565b6040519081526020015b60405180910390f35b34801561016257600080fd5b5061016b610412565b60405161014d9190610fc1565b34801561018457600080fd5b50610198610193366004611024565b6104a0565b604051901515815260200161014d565b3480156101b457600080fd5b50600a546101c8906001600160a01b031681565b6040516001600160a01b03909116815260200161014d565b3480156101ec57600080fd5b5061014360045481565b34801561020257600080fd5b50610198610211366004611050565b6104b6565b34801561022257600080fd5b506003546102309060ff1681565b60405160ff909116815260200161014d565b34801561024e57600080fd5b50610257610525565b005b34801561026557600080fd5b506009546101c89061010090046001600160a01b031681565b34801561028a57600080fd5b50610143600d5481565b3480156102a057600080fd5b506101436102af366004611091565b60056020526000908152604090205481565b3480156102cd57600080fd5b50610257610765565b3480156102e257600080fd5b506000546001600160a01b03166101c8565b34801561030057600080fd5b5061016b610779565b34801561031557600080fd5b50610198610324366004611024565b610786565b34801561033557600080fd5b506102576103443660046110b5565b6107dc565b34801561035557600080fd5b50610143600c5481565b34801561036b57600080fd5b506102576107fe565b34801561038057600080fd5b5061014361038f3660046110d7565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b3480156103c657600080fd5b506102576103d5366004611091565b610869565b60008062015180600d54426103ef9190611126565b11156103ff575062015180919050565b600d5461040c9042611126565b92915050565b6001805461041f90611139565b80601f016020809104026020016040519081016040528092919081815260200182805461044b90611139565b80156104985780601f1061046d57610100808354040283529160200191610498565b820191906000526020600020905b81548152906001019060200180831161047b57829003601f168201915b505050505081565b60006104ad3384846108e2565b50600192915050565b60006104c3843384610a06565b6104ce848484610a98565b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161051391815260200190565b60405180910390a35060019392505050565b60095460ff1661056f5760405162461bcd60e51b815260206004820152601060248201526f141d5b5c081b9bdd081cdd185c9d195960821b60448201526064015b60405180910390fd5b42600d54036105b05760405162461bcd60e51b815260206004820152600d60248201526c283ab6b81031b7b7b63237bbb760991b6044820152606401610566565b600080600960019054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610606573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062a919061118f565b50600e549193509150600090610100900460ff16610648578161064a565b825b905060006106566103da565b905060006202a300610671836001600160701b0386166111df565b61067b91906111f6565b42600d5560095490915061069d9061010090046001600160a01b031682610d17565b600960019054906101000a90046001600160a01b03166001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156106ed57600080fd5b505af1158015610701573d6000803e3d6000fd5b505050507fddbfb0687fbb06c476f9de1e483e656b4c56516f7580ab8224fbf91c81ed9f518382856001600160701b031661073c9190611126565b604080516001600160701b03909316835260208301919091520160405180910390a15050505050565b61076d610da2565b6107776000610dfc565b565b6002805461041f90611139565b6000610793338484610a98565b6040518281526001600160a01b0384169033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350600192915050565b6107e4610da2565b600e80549115156101000261ff0019909216919091179055565b610806610da2565b60095460ff16156108505760405162461bcd60e51b8152602060048201526014602482015273141d5b5c08185b1c9958591e481cdd185c9d195960621b6044820152606401610566565b6009805460ff1916600117905542600d55600454600855565b610871610da2565b6001600160a01b0381166108d65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610566565b6108df81610dfc565b50565b6001600160a01b0383166109445760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610566565b6001600160a01b0382166109a55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610566565b6001600160a01b0383811660008181526006602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600660209081526040808320938616835292905220546000198114610a925781811015610a855760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610566565b610a9284848484036108e2565b50505050565b6009546001600160a01b0384811661010090920416148015610ad357506001600160a01b03821660009081526007602052604090205460ff16155b15610b5a576008546001600160a01b038316600090815260056020526040902054610afe9083611218565b1115610b5a5760405162461bcd60e51b815260206004820152602560248201527f5472616e7366657220616d6f756e74206578636565647320746865206d617857604482015264185b1b195d60da1b6064820152608401610566565b6009546001600160a01b0383811661010090920416148015610b9557506001600160a01b03831660009081526007602052604090205460ff16155b15610c1b576000612710600c5483610bad91906111df565b610bb791906111f6565b9050610bc38183611126565b30600090815260056020526040812080549294508392909190610be7908490611218565b90915550506001600160a01b03841660009081526005602052604081208054839290610c14908490611126565b9091555050505b3060009081526005602052604090205480158015908190610c3f5750600e5460ff16155b8015610c5e57506009546001600160a01b038681166101009092041614155b8015610c8357506001600160a01b03851660009081526007602052604090205460ff16155b8015610ca857506001600160a01b03841660009081526007602052604090205460ff16155b15610cb657610cb682610e4c565b6001600160a01b03851660009081526005602052604081208054859290610cde908490611126565b90915550506001600160a01b03841660009081526005602052604081208054859290610d0b908490611218565b90915550505050505050565b6001600160a01b03821660009081526005602052604081208054839290610d3f908490611126565b925050819055508060046000828254610d589190611126565b90915550506040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6000546001600160a01b031633146107775760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610566565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600e805460ff191660011790556040805160028082526060820183526000926020830190803683370190505090503081600081518110610e8e57610e8e61122b565b6001600160a01b03928316602091820292909201810191909152600a54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610ee7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0b9190611241565b81600181518110610f1e57610f1e61122b565b6001600160a01b039283166020918202929092010152600a54610f4491309116846108e2565b600a54600b5460405163791ac94760e01b81526001600160a01b039283169263791ac94792610f819287926000928892911690429060040161125e565b600060405180830381600087803b158015610f9b57600080fd5b505af1158015610faf573d6000803e3d6000fd5b5050600e805460ff1916905550505050565b600060208083528351808285015260005b81811015610fee57858101830151858201604001528201610fd2565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146108df57600080fd5b6000806040838503121561103757600080fd5b82356110428161100f565b946020939093013593505050565b60008060006060848603121561106557600080fd5b83356110708161100f565b925060208401356110808161100f565b929592945050506040919091013590565b6000602082840312156110a357600080fd5b81356110ae8161100f565b9392505050565b6000602082840312156110c757600080fd5b813580151581146110ae57600080fd5b600080604083850312156110ea57600080fd5b82356110f58161100f565b915060208301356111058161100f565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561040c5761040c611110565b600181811c9082168061114d57607f821691505b60208210810361116d57634e487b7160e01b600052602260045260246000fd5b50919050565b80516001600160701b038116811461118a57600080fd5b919050565b6000806000606084860312156111a457600080fd5b6111ad84611173565b92506111bb60208501611173565b9150604084015163ffffffff811681146111d457600080fd5b809150509250925092565b808202811582820484141761040c5761040c611110565b60008261121357634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111561040c5761040c611110565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561125357600080fd5b81516110ae8161100f565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156112ae5784516001600160a01b031683529383019391830191600101611289565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122095eb65568d7ec2157e996defa9628c3c98617e12d7d4ee1ec8dda0f61ffa9fef64736f6c63430008110033

Deployed Bytecode

0x6080604052600436106101225760003560e01c806370a08231116100a0578063aa20aeb011610064578063aa20aeb014610329578063cc1776d314610349578063d95345a61461035f578063dd62ed3e14610374578063f2fde38b146103ba57600080fd5b806370a0823114610294578063715018a6146102c15780638da5cb5b146102d657806395d89b41146102f4578063a9059cbb1461030957600080fd5b806323b872dd116100e757806323b872dd146101f6578063313ce56714610216578063395ea61b1461024257806349bd5a5e14610259578063705338a71461027e57600080fd5b806247770c1461012e57806306fdde0314610156578063095ea7b3146101785780631694505e146101a857806318160ddd146101e057600080fd5b3661012957005b600080fd5b34801561013a57600080fd5b506101436103da565b6040519081526020015b60405180910390f35b34801561016257600080fd5b5061016b610412565b60405161014d9190610fc1565b34801561018457600080fd5b50610198610193366004611024565b6104a0565b604051901515815260200161014d565b3480156101b457600080fd5b50600a546101c8906001600160a01b031681565b6040516001600160a01b03909116815260200161014d565b3480156101ec57600080fd5b5061014360045481565b34801561020257600080fd5b50610198610211366004611050565b6104b6565b34801561022257600080fd5b506003546102309060ff1681565b60405160ff909116815260200161014d565b34801561024e57600080fd5b50610257610525565b005b34801561026557600080fd5b506009546101c89061010090046001600160a01b031681565b34801561028a57600080fd5b50610143600d5481565b3480156102a057600080fd5b506101436102af366004611091565b60056020526000908152604090205481565b3480156102cd57600080fd5b50610257610765565b3480156102e257600080fd5b506000546001600160a01b03166101c8565b34801561030057600080fd5b5061016b610779565b34801561031557600080fd5b50610198610324366004611024565b610786565b34801561033557600080fd5b506102576103443660046110b5565b6107dc565b34801561035557600080fd5b50610143600c5481565b34801561036b57600080fd5b506102576107fe565b34801561038057600080fd5b5061014361038f3660046110d7565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b3480156103c657600080fd5b506102576103d5366004611091565b610869565b60008062015180600d54426103ef9190611126565b11156103ff575062015180919050565b600d5461040c9042611126565b92915050565b6001805461041f90611139565b80601f016020809104026020016040519081016040528092919081815260200182805461044b90611139565b80156104985780601f1061046d57610100808354040283529160200191610498565b820191906000526020600020905b81548152906001019060200180831161047b57829003601f168201915b505050505081565b60006104ad3384846108e2565b50600192915050565b60006104c3843384610a06565b6104ce848484610a98565b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161051391815260200190565b60405180910390a35060019392505050565b60095460ff1661056f5760405162461bcd60e51b815260206004820152601060248201526f141d5b5c081b9bdd081cdd185c9d195960821b60448201526064015b60405180910390fd5b42600d54036105b05760405162461bcd60e51b815260206004820152600d60248201526c283ab6b81031b7b7b63237bbb760991b6044820152606401610566565b600080600960019054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610606573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062a919061118f565b50600e549193509150600090610100900460ff16610648578161064a565b825b905060006106566103da565b905060006202a300610671836001600160701b0386166111df565b61067b91906111f6565b42600d5560095490915061069d9061010090046001600160a01b031682610d17565b600960019054906101000a90046001600160a01b03166001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156106ed57600080fd5b505af1158015610701573d6000803e3d6000fd5b505050507fddbfb0687fbb06c476f9de1e483e656b4c56516f7580ab8224fbf91c81ed9f518382856001600160701b031661073c9190611126565b604080516001600160701b03909316835260208301919091520160405180910390a15050505050565b61076d610da2565b6107776000610dfc565b565b6002805461041f90611139565b6000610793338484610a98565b6040518281526001600160a01b0384169033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350600192915050565b6107e4610da2565b600e80549115156101000261ff0019909216919091179055565b610806610da2565b60095460ff16156108505760405162461bcd60e51b8152602060048201526014602482015273141d5b5c08185b1c9958591e481cdd185c9d195960621b6044820152606401610566565b6009805460ff1916600117905542600d55600454600855565b610871610da2565b6001600160a01b0381166108d65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610566565b6108df81610dfc565b50565b6001600160a01b0383166109445760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610566565b6001600160a01b0382166109a55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610566565b6001600160a01b0383811660008181526006602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600660209081526040808320938616835292905220546000198114610a925781811015610a855760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610566565b610a9284848484036108e2565b50505050565b6009546001600160a01b0384811661010090920416148015610ad357506001600160a01b03821660009081526007602052604090205460ff16155b15610b5a576008546001600160a01b038316600090815260056020526040902054610afe9083611218565b1115610b5a5760405162461bcd60e51b815260206004820152602560248201527f5472616e7366657220616d6f756e74206578636565647320746865206d617857604482015264185b1b195d60da1b6064820152608401610566565b6009546001600160a01b0383811661010090920416148015610b9557506001600160a01b03831660009081526007602052604090205460ff16155b15610c1b576000612710600c5483610bad91906111df565b610bb791906111f6565b9050610bc38183611126565b30600090815260056020526040812080549294508392909190610be7908490611218565b90915550506001600160a01b03841660009081526005602052604081208054839290610c14908490611126565b9091555050505b3060009081526005602052604090205480158015908190610c3f5750600e5460ff16155b8015610c5e57506009546001600160a01b038681166101009092041614155b8015610c8357506001600160a01b03851660009081526007602052604090205460ff16155b8015610ca857506001600160a01b03841660009081526007602052604090205460ff16155b15610cb657610cb682610e4c565b6001600160a01b03851660009081526005602052604081208054859290610cde908490611126565b90915550506001600160a01b03841660009081526005602052604081208054859290610d0b908490611218565b90915550505050505050565b6001600160a01b03821660009081526005602052604081208054839290610d3f908490611126565b925050819055508060046000828254610d589190611126565b90915550506040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6000546001600160a01b031633146107775760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610566565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600e805460ff191660011790556040805160028082526060820183526000926020830190803683370190505090503081600081518110610e8e57610e8e61122b565b6001600160a01b03928316602091820292909201810191909152600a54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610ee7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0b9190611241565b81600181518110610f1e57610f1e61122b565b6001600160a01b039283166020918202929092010152600a54610f4491309116846108e2565b600a54600b5460405163791ac94760e01b81526001600160a01b039283169263791ac94792610f819287926000928892911690429060040161125e565b600060405180830381600087803b158015610f9b57600080fd5b505af1158015610faf573d6000803e3d6000fd5b5050600e805460ff1916905550505050565b600060208083528351808285015260005b81811015610fee57858101830151858201604001528201610fd2565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146108df57600080fd5b6000806040838503121561103757600080fd5b82356110428161100f565b946020939093013593505050565b60008060006060848603121561106557600080fd5b83356110708161100f565b925060208401356110808161100f565b929592945050506040919091013590565b6000602082840312156110a357600080fd5b81356110ae8161100f565b9392505050565b6000602082840312156110c757600080fd5b813580151581146110ae57600080fd5b600080604083850312156110ea57600080fd5b82356110f58161100f565b915060208301356111058161100f565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561040c5761040c611110565b600181811c9082168061114d57607f821691505b60208210810361116d57634e487b7160e01b600052602260045260246000fd5b50919050565b80516001600160701b038116811461118a57600080fd5b919050565b6000806000606084860312156111a457600080fd5b6111ad84611173565b92506111bb60208501611173565b9150604084015163ffffffff811681146111d457600080fd5b809150509250925092565b808202811582820484141761040c5761040c611110565b60008261121357634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111561040c5761040c611110565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561125357600080fd5b81516110ae8161100f565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156112ae5784516001600160a01b031683529383019391830191600101611289565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122095eb65568d7ec2157e996defa9628c3c98617e12d7d4ee1ec8dda0f61ffa9fef64736f6c63430008110033

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.