ETH Price: $3,334.17 (-0.44%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Start Trading177118862023-07-17 8:47:35533 days ago1689583655IN
0x91917Ea7...46DF22E6e
0 ETH0.0007587314.96542625

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Ratty20

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : ratty.sol
/**
 *Submitted for verification at Etherscan.io on 2023-07-17
*/

// SPDX-License-Identifier: MIT

// Ratty2.0 | RATTY2.0
// https://rattycoin.com/
// https://twitter.com/rattycoinercv2
// https://t.me/rattycoinv2 


pragma solidity ^0.8.18;

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

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 = _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);
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);
}

interface IUniswapV2Router02 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}


contract Ratty20 is Context, IERC20, Ownable {
    mapping (address => uint256) private _balances;
    mapping (address => mapping (address => uint256)) private _allowances;
    mapping (address => bool) private _noFee;
    address payable private marketing;

    uint256 private buyTax = 1;
    uint256 private sellTax = 1;
    uint256 private constant launchTax = 20;
    uint256 private constant feeDenominator = 100;
    uint256 private launchedAt;
    address constant private DEAD = address(0x000000000000000000000000000000000000dEaD);

    uint8 private constant _decimals = 9;
    uint256 private constant _tTotal = 420_690_000_000_000 * 10**_decimals;
    string private constant _name   = unicode"Ratty2.0";
    string private constant _symbol = unicode"RATTY2.0";
    uint256 private swapThreshold = _tTotal * 5 / 1000;
    uint256 private maxSwap       = _tTotal * 1 / 100;

    IUniswapV2Router02 private uniswapV2Router;
    address private uniswapV2Pair;
    bool public tradingStart;
    bool private inSwap;

    event MaxTxAmountUpdated(uint maxTxAmount);
    
    modifier inSwapFlag { inSwap = true; _; inSwap = false; }

    constructor () {
        marketing = payable(_msgSender());
        _balances[_msgSender()] = _tTotal;
        _noFee[owner()] = true;
        _noFee[address(this)] = true;
        _noFee[DEAD] = true;

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

        uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH());
        _approve(msg.sender, address(uniswapV2Router), type(uint256).max);
        _approve(address(this), address(uniswapV2Router), type(uint256).max);
    }

    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 allowance(address owner, address spender) public view override returns (uint256) { return _allowances[owner][spender]; }
    function transfer(address recipient, uint256 amount) public override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    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);
        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - 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 _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");
        
        if (!tradingStart) {
            require(from == owner() || to == owner(), "Trading is not opened yet!");
        }
        
        uint256 tax;
        if (from == uniswapV2Pair && to != address(uniswapV2Router) && !_noFee[to]) {
            tax = (block.number <= (launchedAt + 6)) ? launchTax : buyTax;
        }

        if (to == uniswapV2Pair && from != address(this) && !_noFee[from]) {
            tax = (block.number <= (launchedAt + 6)) ? launchTax : sellTax;
            
            uint256 contractTokenBalance = balanceOf(address(this));
            if (!inSwap && (contractTokenBalance > swapThreshold)) {
                swapBack(min(contractTokenBalance, maxSwap));
            }
        }

        uint256 taxAmount = amount * tax / 100;
        if (taxAmount > 0) {
            _balances[address(this)] += taxAmount;
        }
        _balances[from] -= amount;
        _balances[to] += (amount - taxAmount);
        emit Transfer(from, to, (amount - taxAmount));
    }

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

    function swapBack(uint256 amount) internal inSwapFlag {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();

        if (_allowances[address(this)][address(uniswapV2Router)] != type(uint256).max) {
            _allowances[address(this)][address(uniswapV2Router)] = type(uint256).max;
        }

        try uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            amount,
            0,
            path,
            address(this),
            block.timestamp
        ) {} catch {
            return;
        }
        bool success;

        if (address(this).balance > 0) (success,) = marketing.call{value: address(this).balance}("");
    }

    function updateFee(uint256 buy, uint256 sell) external onlyOwner {
        buyTax  = buy;
        sellTax = sell;
        uint256 totalTax = buyTax + sellTax;
        require(totalTax/feeDenominator <= 10, "Total tax must be less than or equal to 10%");
    }

    function startTrading() external onlyOwner() {
        require(!tradingStart, "Trading is already open");
        tradingStart = true;
        launchedAt = block.number;
    }

    function swap() external {
        require(_msgSender() == marketing);
        uint256 tokenBalance = balanceOf(address(this));
        if (tokenBalance > 0) {
            swapBack(tokenBalance);
        }
    }

    receive() external payable {}
}

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":[{"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":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swap","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":[],"name":"tradingStart","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"uint256","name":"buy","type":"uint256"},{"internalType":"uint256","name":"sell","type":"uint256"}],"name":"updateFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600160058190556006556103e86200001f6009600a6200062c565b620000329066017e9d8602b40062000644565b6200003f90600562000644565b6200004b91906200065e565b60085560646200005e6009600a6200062c565b620000719066017e9d8602b40062000644565b6200007e90600162000644565b6200008a91906200065e565b6009553480156200009a57600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600480546001600160a01b03191633179055620000fc6009600a6200062c565b6200010f9066017e9d8602b40062000644565b3360009081526001602081905260408220929092556003906200013a6000546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff199586161790553081526003909252812080548316600190811790915561dead9091527f262bb27bbdd95c1cdc8e16957e36e38579ea44f7f6413dd7a9c75939def06b2c8054909216179055620001b33390565b6001600160a01b031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef620001ed6009600a6200062c565b620002009066017e9d8602b40062000644565b60405190815260200160405180910390a3600a80546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801562000276573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200029c919062000681565b6001600160a01b031663c9c6539630600a60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620002ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000325919062000681565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000373573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000399919062000681565b600b80546001600160a01b0319166001600160a01b03928316179055600a54620003c991339116600019620003eb565b600a54620003e59030906001600160a01b0316600019620003eb565b620006ac565b6001600160a01b038316620004535760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b038216620004b65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016200044a565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200056e57816000190482111562000552576200055262000517565b808516156200056057918102915b93841c939080029062000532565b509250929050565b600082620005875750600162000626565b81620005965750600062000626565b8160018114620005af5760028114620005ba57620005da565b600191505062000626565b60ff841115620005ce57620005ce62000517565b50506001821b62000626565b5060208310610133831016604e8410600b8410161715620005ff575081810a62000626565b6200060b83836200052d565b806000190482111562000622576200062262000517565b0290505b92915050565b60006200063d60ff84168362000576565b9392505050565b808202811582820484141762000626576200062662000517565b6000826200067c57634e487b7160e01b600052601260045260246000fd5b500490565b6000602082840312156200069457600080fd5b81516001600160a01b03811681146200063d57600080fd5b61113d80620006bc6000396000f3fe6080604052600436106100ec5760003560e01c806370a082311161008a57806395d89b411161005957806395d89b4114610289578063a9059cbb146102ba578063dd62ed3e146102da578063f11743f61461032057600080fd5b806370a0823114610201578063715018a6146102375780638119c0651461024c5780638da5cb5b1461026157600080fd5b806323b872dd116100c657806323b872dd1461018e5780632740c197146101ae578063293230b8146101d0578063313ce567146101e557600080fd5b806306fdde03146100f8578063095ea7b31461013b57806318160ddd1461016b57600080fd5b366100f357005b600080fd5b34801561010457600080fd5b5060408051808201909152600881526705261747479322e360c41b60208201525b6040516101329190610d7e565b60405180910390f35b34801561014757600080fd5b5061015b610156366004610de1565b610341565b6040519015158152602001610132565b34801561017757600080fd5b50610180610358565b604051908152602001610132565b34801561019a57600080fd5b5061015b6101a9366004610e0d565b61037c565b3480156101ba57600080fd5b506101ce6101c9366004610e4e565b61042b565b005b3480156101dc57600080fd5b506101ce6104e1565b3480156101f157600080fd5b5060405160098152602001610132565b34801561020d57600080fd5b5061018061021c366004610e70565b6001600160a01b031660009081526001602052604090205490565b34801561024357600080fd5b506101ce61057e565b34801561025857600080fd5b506101ce6105f2565b34801561026d57600080fd5b506000546040516001600160a01b039091168152602001610132565b34801561029557600080fd5b5060408051808201909152600881526705241545459322e360c41b6020820152610125565b3480156102c657600080fd5b5061015b6102d5366004610de1565b610634565b3480156102e657600080fd5b506101806102f5366004610e8d565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b34801561032c57600080fd5b50600b5461015b90600160a01b900460ff1681565b600061034e338484610641565b5060015b92915050565b60006103666009600a610fc0565b6103779066017e9d8602b400610fcf565b905090565b6000610389848484610765565b6001600160a01b0384166000908152600260209081526040808320338452909152902054828110156104135760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6104208533858403610641565b506001949350505050565b6000546001600160a01b031633146104555760405162461bcd60e51b815260040161040a90610fe6565b60058290556006819055600061046b828461101b565b9050600a61047a60648361102e565b11156104dc5760405162461bcd60e51b815260206004820152602b60248201527f546f74616c20746178206d757374206265206c657373207468616e206f72206560448201526a7175616c20746f2031302560a81b606482015260840161040a565b505050565b6000546001600160a01b0316331461050b5760405162461bcd60e51b815260040161040a90610fe6565b600b54600160a01b900460ff16156105655760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720697320616c7265616479206f70656e000000000000000000604482015260640161040a565b600b805460ff60a01b1916600160a01b17905543600755565b6000546001600160a01b031633146105a85760405162461bcd60e51b815260040161040a90610fe6565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6004546001600160a01b0316336001600160a01b03161461061257600080fd5b3060009081526001602052604090205480156106315761063181610b43565b50565b600061034e338484610765565b6001600160a01b0383166106a35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161040a565b6001600160a01b0382166107045760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161040a565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166107c95760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161040a565b6001600160a01b03821661082b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161040a565b6000811161088d5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161040a565b600b54600160a01b900460ff16610913576000546001600160a01b03848116911614806108c757506000546001600160a01b038381169116145b6109135760405162461bcd60e51b815260206004820152601a60248201527f54726164696e67206973206e6f74206f70656e65642079657421000000000000604482015260640161040a565b600b546000906001600160a01b0385811691161480156109415750600a546001600160a01b03848116911614155b801561096657506001600160a01b03831660009081526003602052604090205460ff16155b1561098e5760075461097990600661101b565b4311156109885760055461098b565b60145b90505b600b546001600160a01b0384811691161480156109b457506001600160a01b0384163014155b80156109d957506001600160a01b03841660009081526003602052604090205460ff16155b15610a48576007546109ec90600661101b565b4311156109fb576006546109fe565b60145b30600090815260016020526040902054600b5491925090600160a81b900460ff16158015610a2d575060085481115b15610a4657610a46610a4182600954610d66565b610b43565b505b60006064610a568385610fcf565b610a60919061102e565b90508015610a8d573060009081526001602052604081208054839290610a8790849061101b565b90915550505b6001600160a01b03851660009081526001602052604081208054859290610ab5908490611050565b90915550610ac590508184611050565b6001600160a01b03851660009081526001602052604081208054909190610aed90849061101b565b90915550506001600160a01b038085169086167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610b2b8487611050565b60405190815260200160405180910390a35050505050565b600b805460ff60a81b1916600160a81b1790556040805160028082526060820183526000926020830190803683370190505090503081600081518110610b8b57610b8b611063565b6001600160a01b03928316602091820292909201810191909152600a54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610be4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c089190611079565b81600181518110610c1b57610c1b611063565b6001600160a01b03928316602091820292909201810191909152306000908152600282526040808220600a54909416825292909152205460001914610c8557306000908152600260209081526040808320600a546001600160a01b03168452909152902060001990555b600a5460405163791ac94760e01b81526001600160a01b039091169063791ac94790610cbe908590600090869030904290600401611096565b600060405180830381600087803b158015610cd857600080fd5b505af1925050508015610ce9575060015b610cf35750610d56565b60004715610d53576004546040516001600160a01b03909116904790600081818185875af1925050503d8060008114610d48576040519150601f19603f3d011682016040523d82523d6000602084013e610d4d565b606091505b50909150505b50505b50600b805460ff60a81b19169055565b6000818311610d755782610d77565b815b9392505050565b600060208083528351808285015260005b81811015610dab57858101830151858201604001528201610d8f565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461063157600080fd5b60008060408385031215610df457600080fd5b8235610dff81610dcc565b946020939093013593505050565b600080600060608486031215610e2257600080fd5b8335610e2d81610dcc565b92506020840135610e3d81610dcc565b929592945050506040919091013590565b60008060408385031215610e6157600080fd5b50508035926020909101359150565b600060208284031215610e8257600080fd5b8135610d7781610dcc565b60008060408385031215610ea057600080fd5b8235610eab81610dcc565b91506020830135610ebb81610dcc565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115610f17578160001904821115610efd57610efd610ec6565b80851615610f0a57918102915b93841c9390800290610ee1565b509250929050565b600082610f2e57506001610352565b81610f3b57506000610352565b8160018114610f515760028114610f5b57610f77565b6001915050610352565b60ff841115610f6c57610f6c610ec6565b50506001821b610352565b5060208310610133831016604e8410600b8410161715610f9a575081810a610352565b610fa48383610edc565b8060001904821115610fb857610fb8610ec6565b029392505050565b6000610d7760ff841683610f1f565b808202811582820484141761035257610352610ec6565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b8082018082111561035257610352610ec6565b60008261104b57634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561035257610352610ec6565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561108b57600080fd5b8151610d7781610dcc565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156110e65784516001600160a01b0316835293830193918301916001016110c1565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212208d90904e52baae4b7598fe93a0c2838544f65035314faba549b1c2c17b2e24cf64736f6c63430008120033

Deployed Bytecode

0x6080604052600436106100ec5760003560e01c806370a082311161008a57806395d89b411161005957806395d89b4114610289578063a9059cbb146102ba578063dd62ed3e146102da578063f11743f61461032057600080fd5b806370a0823114610201578063715018a6146102375780638119c0651461024c5780638da5cb5b1461026157600080fd5b806323b872dd116100c657806323b872dd1461018e5780632740c197146101ae578063293230b8146101d0578063313ce567146101e557600080fd5b806306fdde03146100f8578063095ea7b31461013b57806318160ddd1461016b57600080fd5b366100f357005b600080fd5b34801561010457600080fd5b5060408051808201909152600881526705261747479322e360c41b60208201525b6040516101329190610d7e565b60405180910390f35b34801561014757600080fd5b5061015b610156366004610de1565b610341565b6040519015158152602001610132565b34801561017757600080fd5b50610180610358565b604051908152602001610132565b34801561019a57600080fd5b5061015b6101a9366004610e0d565b61037c565b3480156101ba57600080fd5b506101ce6101c9366004610e4e565b61042b565b005b3480156101dc57600080fd5b506101ce6104e1565b3480156101f157600080fd5b5060405160098152602001610132565b34801561020d57600080fd5b5061018061021c366004610e70565b6001600160a01b031660009081526001602052604090205490565b34801561024357600080fd5b506101ce61057e565b34801561025857600080fd5b506101ce6105f2565b34801561026d57600080fd5b506000546040516001600160a01b039091168152602001610132565b34801561029557600080fd5b5060408051808201909152600881526705241545459322e360c41b6020820152610125565b3480156102c657600080fd5b5061015b6102d5366004610de1565b610634565b3480156102e657600080fd5b506101806102f5366004610e8d565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b34801561032c57600080fd5b50600b5461015b90600160a01b900460ff1681565b600061034e338484610641565b5060015b92915050565b60006103666009600a610fc0565b6103779066017e9d8602b400610fcf565b905090565b6000610389848484610765565b6001600160a01b0384166000908152600260209081526040808320338452909152902054828110156104135760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6104208533858403610641565b506001949350505050565b6000546001600160a01b031633146104555760405162461bcd60e51b815260040161040a90610fe6565b60058290556006819055600061046b828461101b565b9050600a61047a60648361102e565b11156104dc5760405162461bcd60e51b815260206004820152602b60248201527f546f74616c20746178206d757374206265206c657373207468616e206f72206560448201526a7175616c20746f2031302560a81b606482015260840161040a565b505050565b6000546001600160a01b0316331461050b5760405162461bcd60e51b815260040161040a90610fe6565b600b54600160a01b900460ff16156105655760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720697320616c7265616479206f70656e000000000000000000604482015260640161040a565b600b805460ff60a01b1916600160a01b17905543600755565b6000546001600160a01b031633146105a85760405162461bcd60e51b815260040161040a90610fe6565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6004546001600160a01b0316336001600160a01b03161461061257600080fd5b3060009081526001602052604090205480156106315761063181610b43565b50565b600061034e338484610765565b6001600160a01b0383166106a35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161040a565b6001600160a01b0382166107045760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161040a565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166107c95760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161040a565b6001600160a01b03821661082b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161040a565b6000811161088d5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161040a565b600b54600160a01b900460ff16610913576000546001600160a01b03848116911614806108c757506000546001600160a01b038381169116145b6109135760405162461bcd60e51b815260206004820152601a60248201527f54726164696e67206973206e6f74206f70656e65642079657421000000000000604482015260640161040a565b600b546000906001600160a01b0385811691161480156109415750600a546001600160a01b03848116911614155b801561096657506001600160a01b03831660009081526003602052604090205460ff16155b1561098e5760075461097990600661101b565b4311156109885760055461098b565b60145b90505b600b546001600160a01b0384811691161480156109b457506001600160a01b0384163014155b80156109d957506001600160a01b03841660009081526003602052604090205460ff16155b15610a48576007546109ec90600661101b565b4311156109fb576006546109fe565b60145b30600090815260016020526040902054600b5491925090600160a81b900460ff16158015610a2d575060085481115b15610a4657610a46610a4182600954610d66565b610b43565b505b60006064610a568385610fcf565b610a60919061102e565b90508015610a8d573060009081526001602052604081208054839290610a8790849061101b565b90915550505b6001600160a01b03851660009081526001602052604081208054859290610ab5908490611050565b90915550610ac590508184611050565b6001600160a01b03851660009081526001602052604081208054909190610aed90849061101b565b90915550506001600160a01b038085169086167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610b2b8487611050565b60405190815260200160405180910390a35050505050565b600b805460ff60a81b1916600160a81b1790556040805160028082526060820183526000926020830190803683370190505090503081600081518110610b8b57610b8b611063565b6001600160a01b03928316602091820292909201810191909152600a54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610be4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c089190611079565b81600181518110610c1b57610c1b611063565b6001600160a01b03928316602091820292909201810191909152306000908152600282526040808220600a54909416825292909152205460001914610c8557306000908152600260209081526040808320600a546001600160a01b03168452909152902060001990555b600a5460405163791ac94760e01b81526001600160a01b039091169063791ac94790610cbe908590600090869030904290600401611096565b600060405180830381600087803b158015610cd857600080fd5b505af1925050508015610ce9575060015b610cf35750610d56565b60004715610d53576004546040516001600160a01b03909116904790600081818185875af1925050503d8060008114610d48576040519150601f19603f3d011682016040523d82523d6000602084013e610d4d565b606091505b50909150505b50505b50600b805460ff60a81b19169055565b6000818311610d755782610d77565b815b9392505050565b600060208083528351808285015260005b81811015610dab57858101830151858201604001528201610d8f565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461063157600080fd5b60008060408385031215610df457600080fd5b8235610dff81610dcc565b946020939093013593505050565b600080600060608486031215610e2257600080fd5b8335610e2d81610dcc565b92506020840135610e3d81610dcc565b929592945050506040919091013590565b60008060408385031215610e6157600080fd5b50508035926020909101359150565b600060208284031215610e8257600080fd5b8135610d7781610dcc565b60008060408385031215610ea057600080fd5b8235610eab81610dcc565b91506020830135610ebb81610dcc565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115610f17578160001904821115610efd57610efd610ec6565b80851615610f0a57918102915b93841c9390800290610ee1565b509250929050565b600082610f2e57506001610352565b81610f3b57506000610352565b8160018114610f515760028114610f5b57610f77565b6001915050610352565b60ff841115610f6c57610f6c610ec6565b50506001821b610352565b5060208310610133831016604e8410600b8410161715610f9a575081810a610352565b610fa48383610edc565b8060001904821115610fb857610fb8610ec6565b029392505050565b6000610d7760ff841683610f1f565b808202811582820484141761035257610352610ec6565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b8082018082111561035257610352610ec6565b60008261104b57634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561035257610352610ec6565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561108b57600080fd5b8151610d7781610dcc565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156110e65784516001600160a01b0316835293830193918301916001016110c1565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212208d90904e52baae4b7598fe93a0c2838544f65035314faba549b1c2c17b2e24cf64736f6c63430008120033

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.