ETH Price: $3,034.96 (+3.25%)

Contract

0xCC8ad35c66a1da11182e14a277b72B3A9712d35A
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve179216812023-08-15 17:18:59451 days ago1692119939IN
0xCC8ad35c...A9712d35A
0 ETH0.0015546533.41181765
Approve179215792023-08-15 16:58:35451 days ago1692118715IN
0xCC8ad35c...A9712d35A
0 ETH0.0019244341.35901826
Approve179215792023-08-15 16:58:35451 days ago1692118715IN
0xCC8ad35c...A9712d35A
0 ETH0.0019709642.35901826
Approve179215782023-08-15 16:58:23451 days ago1692118703IN
0xCC8ad35c...A9712d35A
0 ETH0.0019396141.68515858
Approve179215772023-08-15 16:58:11451 days ago1692118691IN
0xCC8ad35c...A9712d35A
0 ETH0.0019142841.14088466
Approve179215772023-08-15 16:58:11451 days ago1692118691IN
0xCC8ad35c...A9712d35A
0 ETH0.0019142841.14088466
Approve179215772023-08-15 16:58:11451 days ago1692118691IN
0xCC8ad35c...A9712d35A
0 ETH0.0019142841.14088466
Approve179215772023-08-15 16:58:11451 days ago1692118691IN
0xCC8ad35c...A9712d35A
0 ETH0.0019142841.14088466
Approve179215772023-08-15 16:58:11451 days ago1692118691IN
0xCC8ad35c...A9712d35A
0 ETH0.0019142841.14088466
Approve179215762023-08-15 16:57:59451 days ago1692118679IN
0xCC8ad35c...A9712d35A
0 ETH0.0018375739.49221006
Approve179215762023-08-15 16:57:59451 days ago1692118679IN
0xCC8ad35c...A9712d35A
0 ETH0.0022330747.99221006
Approve179215752023-08-15 16:57:47451 days ago1692118667IN
0xCC8ad35c...A9712d35A
0 ETH0.0017868538.40223878
Approve179215752023-08-15 16:57:47451 days ago1692118667IN
0xCC8ad35c...A9712d35A
0 ETH0.0018790540.38368078
Approve179215752023-08-15 16:57:47451 days ago1692118667IN
0xCC8ad35c...A9712d35A
0 ETH0.0019246541.36368078
Approve179215752023-08-15 16:57:47451 days ago1692118667IN
0xCC8ad35c...A9712d35A
0 ETH0.0019194141.51889745
Approve179215752023-08-15 16:57:47451 days ago1692118667IN
0xCC8ad35c...A9712d35A
0 ETH0.0020177143.36368078
Approve179215752023-08-15 16:57:47451 days ago1692118667IN
0xCC8ad35c...A9712d35A
0 ETH0.0020177143.36368078
Approve179215752023-08-15 16:57:47451 days ago1692118667IN
0xCC8ad35c...A9712d35A
0 ETH0.0020939145.29334267
Approve179215752023-08-15 16:57:47451 days ago1692118667IN
0xCC8ad35c...A9712d35A
0 ETH0.0020939145.29334267
Approve179215742023-08-15 16:57:35451 days ago1692118655IN
0xCC8ad35c...A9712d35A
0 ETH0.0018475139.70589423
Approve179215742023-08-15 16:57:35451 days ago1692118655IN
0xCC8ad35c...A9712d35A
0 ETH0.0018475139.70589423
Approve179215742023-08-15 16:57:35451 days ago1692118655IN
0xCC8ad35c...A9712d35A
0 ETH0.0018475139.70589423
Approve179215742023-08-15 16:57:35451 days ago1692118655IN
0xCC8ad35c...A9712d35A
0 ETH0.0018475139.70589423
Approve179215742023-08-15 16:57:35451 days ago1692118655IN
0xCC8ad35c...A9712d35A
0 ETH0.0018475139.70589423
Approve179215742023-08-15 16:57:35451 days ago1692118655IN
0xCC8ad35c...A9712d35A
0 ETH0.0018475139.70589423
View all transactions

Latest 6 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
179215782023-08-15 16:58:23451 days ago1692118703
0xCC8ad35c...A9712d35A
74 wei
179215782023-08-15 16:58:23451 days ago1692118703
0xCC8ad35c...A9712d35A
74 wei
179215782023-08-15 16:58:23451 days ago1692118703
0xCC8ad35c...A9712d35A
0.075 ETH
179215782023-08-15 16:58:23451 days ago1692118703
0xCC8ad35c...A9712d35A
0.075 ETH
179215782023-08-15 16:58:23451 days ago1692118703
0xCC8ad35c...A9712d35A
0.2599172 ETH
179215782023-08-15 16:58:23451 days ago1692118703
0xCC8ad35c...A9712d35A
0.2599172 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AiBrain

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 1 : AiBrain.sol
// SPDX-License-Identifier: MIT
/*
    AI Brain is a revolutionary project that merges cutting-edge technology with the dynamic world of cryptocurrency. 
    Designed to provide a seamless and profitable experience for our users, 
    AI Brain is committed to enhancing the way you engage with the crypto space.
    
    Web: https://www.aib-token.info/
    Twitter: https://twitter.com/TheAI_Brain
    Telegram: https://t.me/TheAIBrainCoin
*/

pragma solidity 0.8.20;

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

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

}

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

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

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

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

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

}

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

interface IUniswapV2Router02 {
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function factory() external pure returns (address);
    function WETH() external pure returns (address);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
}

contract AiBrain is Context, IERC20, Ownable {
    using SafeMath for uint256;
    
    string private constant _name = "Ai Brain";
    string private constant _symbol = "AIB";

    uint256 public buyTaxTotal = 10;
    uint256 public sellTaxTotal = 10;

    // After removing limits tax will be set to 3% forever.
    uint256 _finalBuyTax = 3;
    uint256 _finalSellTax = 3;
    
    bool public tradingOpen;
    bool private inSwap;
    bool private swapEnabled;

    uint8 private constant _decimals = 9;
    uint256 private constant _tTotal = 10_000_000 * 10**_decimals; // 10M

    uint256 public maxWallet = _tTotal * 2 / 100; // 2%
    uint256 _minTokensBeforeSwap = _tTotal / 200;
    
    mapping (address => uint256) private _balances;
    mapping (address => mapping (address => uint256)) private _allowances;
    mapping (address => bool) private _isExcludedFromFee;
    address payable public marketingWallet;

    IUniswapV2Router02 private uniswapV2Router;
    address public uniswapV2Pair;

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

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

        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 {
        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    function _transfer(address from, address to, uint256 amount) private {
        require(amount > 0, "Transfer amount must be greater than zero");
        uint256 taxAmount;
        if (!_isExcludedFromFee[from] && !_isExcludedFromFee[to]) {
            require(tradingOpen, "Can't trade yet");
            
            if (from == uniswapV2Pair) {
                taxAmount = amount * buyTaxTotal / 100;
                require(balanceOf(to) + amount <= maxWallet, "Exceeds max wallet");
            }

            if(to == uniswapV2Pair ){
                taxAmount = amount * sellTaxTotal / 100;
            }

            uint256 contractTokenBalance = balanceOf(address(this));
            if (!inSwap && to == uniswapV2Pair && swapEnabled && contractTokenBalance > _minTokensBeforeSwap) {
                swapBack(_minTokensBeforeSwap);
            }
        }

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

    function setMarketingWallet(address payable wallet) external onlyOwner {
        require(wallet != address(0), "Can't set 0 address");
        marketingWallet = wallet;
    }

    function removeLimits() external onlyOwner{
        maxWallet =_tTotal;
        buyTaxTotal = _finalBuyTax;
        sellTaxTotal = _finalSellTax;
    }

    function swapBack(uint256 amount) private {        
        bool success;
        swapTokensForEth(amount);
        (success, ) = address(marketingWallet).call{value: address(this).balance}("");
    }

    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 setSwapTokensAtAmount(uint amt) external onlyOwner {
        _minTokensBeforeSwap = amt * 10 ** decimals();
    }

    function excludeFromFees(address account) external onlyOwner {
        _isExcludedFromFee[account] = true;
    }

    function includeInFees(address account) external onlyOwner {
        _isExcludedFromFee[account] = false;
    }

    function enableTrading() external onlyOwner() {
        require(!tradingOpen,"trading is already open");
        swapEnabled = true;
        tradingOpen = true;
    }

    receive() external payable {}
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"buyTaxTotal","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":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTaxTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"wallet","type":"address"}],"name":"setMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amt","type":"uint256"}],"name":"setSwapTokensAtAmount","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":"tradingOpen","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":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600a600155600a60025560038055600360045560646009600a62000029919062000482565b62000038906298968062000499565b6200004590600262000499565b620000519190620004b3565b60065560c8620000646009600a62000482565b62000073906298968062000499565b6200007f9190620004b3565b6007553480156200008e575f80fd5b505f80546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600c80546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801562000132573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001589190620004d3565b6001600160a01b031663c9c6539630600c5f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001b8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001de9190620004d3565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af115801562000229573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200024f9190620004d3565b600d80546001600160a01b0319166001600160a01b0392909216919091179055620002773390565b600b80546001600160a01b0319166001600160a01b0392909216919091179055620002a56009600a62000482565b620002b4906298968062000499565b335f8181526008602090815260408083209490945581546001600160a01b039081168352600a9091528382208054600160ff1991821681179092553084528584208054821683179055600c5490921683529390912080549091169092179091556001600160a01b03165f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6200034d6009600a62000482565b6200035c906298968062000499565b60405190815260200160405180910390a3620004fb565b634e487b7160e01b5f52601160045260245ffd5b600181815b80851115620003c757815f1904821115620003ab57620003ab62000373565b80851615620003b957918102915b93841c93908002906200038c565b509250929050565b5f82620003df575060016200047c565b81620003ed57505f6200047c565b8160018114620004065760028114620004115762000431565b60019150506200047c565b60ff84111562000425576200042562000373565b50506001821b6200047c565b5060208310610133831016604e8410600b841016171562000456575081810a6200047c565b62000462838362000387565b805f190482111562000478576200047862000373565b0290505b92915050565b5f6200049260ff841683620003cf565b9392505050565b80820281158282048414176200047c576200047c62000373565b5f82620004ce57634e487b7160e01b5f52601260045260245ffd5b500490565b5f60208284031215620004e4575f80fd5b81516001600160a01b038116811462000492575f80fd5b61134480620005095f395ff3fe60806040526004361061017b575f3560e01c806375f0a874116100d1578063db2aef9a1161007c578063ec37dad311610057578063ec37dad314610485578063f8b45b051461049a578063ffb54a99146104af575f80fd5b8063db2aef9a1461040d578063dd62ed3e14610422578063e57f14e114610466575f80fd5b806395d89b41116100ac57806395d89b411461038a578063a9059cbb146103cf578063afa4f3b2146103ee575f80fd5b806375f0a8741461033b5780638a8c523c1461035a5780638da5cb5b1461036e575f80fd5b8063313ce5671161013157806370a082311161010c57806370a08231146102df578063715018a614610313578063751039fc14610327575f80fd5b8063313ce5671461026e57806349bd5a5e146102895780635d098b38146102c0575f80fd5b806316a2f82a1161016157806316a2f82a1461020c57806318160ddd1461022d57806323b872dd1461024f575f80fd5b806306fdde0314610186578063095ea7b3146101dd575f80fd5b3661018257005b5f80fd5b348015610191575f80fd5b5060408051808201909152600881527f416920427261696e00000000000000000000000000000000000000000000000060208201525b6040516101d49190610fb0565b60405180910390f35b3480156101e8575f80fd5b506101fc6101f7366004611012565b6104c8565b60405190151581526020016101d4565b348015610217575f80fd5b5061022b61022636600461103c565b6104de565b005b348015610238575f80fd5b5061024161055c565b6040519081526020016101d4565b34801561025a575f80fd5b506101fc61026936600461105e565b61057b565b348015610279575f80fd5b50604051600981526020016101d4565b348015610294575f80fd5b50600d546102a8906001600160a01b031681565b6040516001600160a01b0390911681526020016101d4565b3480156102cb575f80fd5b5061022b6102da36600461103c565b6105e2565b3480156102ea575f80fd5b506102416102f936600461103c565b6001600160a01b03165f9081526008602052604090205490565b34801561031e575f80fd5b5061022b6106c0565b348015610332575f80fd5b5061022b61076e565b348015610346575f80fd5b50600b546102a8906001600160a01b031681565b348015610365575f80fd5b5061022b6107f1565b348015610379575f80fd5b505f546001600160a01b03166102a8565b348015610395575f80fd5b5060408051808201909152600381527f414942000000000000000000000000000000000000000000000000000000000060208201526101c7565b3480156103da575f80fd5b506101fc6103e9366004611012565b6108b0565b3480156103f9575f80fd5b5061022b61040836600461109c565b6108bc565b348015610418575f80fd5b5061024160015481565b34801561042d575f80fd5b5061024161043c3660046110b3565b6001600160a01b039182165f90815260096020908152604080832093909416825291909152205490565b348015610471575f80fd5b5061022b61048036600461103c565b610931565b348015610490575f80fd5b5061024160025481565b3480156104a5575f80fd5b5061024160065481565b3480156104ba575f80fd5b506005546101fc9060ff1681565b5f6104d43384846109ad565b5060015b92915050565b5f546001600160a01b0316331461053c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b03165f908152600a60205260409020805460ff19169055565b5f6105696009600a6111de565b61057690629896806111ec565b905090565b5f610587848484610a0d565b6105d884336105d3856040518060600160405280602881526020016112e7602891396001600160a01b038a165f9081526009602090815260408083203384529091529020549190610d7c565b6109ad565b5060019392505050565b5f546001600160a01b0316331461063b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610533565b6001600160a01b0381166106915760405162461bcd60e51b815260206004820152601360248201527f43616e27742073657420302061646472657373000000000000000000000000006044820152606401610533565b600b805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b5f546001600160a01b031633146107195760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610533565b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f805473ffffffffffffffffffffffffffffffffffffffff19169055565b5f546001600160a01b031633146107c75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610533565b6107d36009600a6111de565b6107e090629896806111ec565b600655600354600155600454600255565b5f546001600160a01b0316331461084a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610533565b60055460ff161561089d5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610533565b6005805462ff00ff191662010001179055565b5f6104d4338484610a0d565b5f546001600160a01b031633146109155760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610533565b6109216009600a6111de565b61092b90826111ec565b60075550565b5f546001600160a01b0316331461098a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610533565b6001600160a01b03165f908152600a60205260409020805460ff19166001179055565b6001600160a01b038381165f8181526009602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f8111610a825760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d75737420626520677265617465722060448201527f7468616e207a65726f00000000000000000000000000000000000000000000006064820152608401610533565b6001600160a01b0383165f908152600a602052604081205460ff16158015610ac257506001600160a01b0383165f908152600a602052604090205460ff16155b15610c5f5760055460ff16610b195760405162461bcd60e51b815260206004820152600f60248201527f43616e27742074726164652079657400000000000000000000000000000000006044820152606401610533565b600d546001600160a01b0390811690851603610bc557606460015483610b3f91906111ec565b610b499190611203565b905060065482610b6d856001600160a01b03165f9081526008602052604090205490565b610b779190611222565b1115610bc55760405162461bcd60e51b815260206004820152601260248201527f45786365656473206d61782077616c6c657400000000000000000000000000006044820152606401610533565b600d546001600160a01b0390811690841603610bf857606460025483610beb91906111ec565b610bf59190611203565b90505b305f90815260086020526040902054600554610100900460ff16158015610c2c5750600d546001600160a01b038581169116145b8015610c40575060055462010000900460ff165b8015610c4d575060075481115b15610c5d57610c5d600754610db4565b505b8015610cc957305f9081526008602052604081208054839290610c83908490611222565b909155505060405181815230906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35b6001600160a01b0384165f9081526008602052604081208054849290610cf0908490611235565b90915550610d0090508183611235565b6001600160a01b0384165f9081526008602052604081208054909190610d27908490611222565b90915550506001600160a01b038084169085167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610d658486611235565b60405190815260200160405180910390a350505050565b5f8184841115610d9f5760405162461bcd60e51b81526004016105339190610fb0565b505f610dab8486611235565b95945050505050565b5f610dbe82610e14565b600b546040516001600160a01b039091169047905f81818185875af1925050503d805f8114610e08576040519150601f19603f3d011682016040523d82523d5f602084013e610e0d565b606091505b5050505050565b6005805461ff0019166101001790556040805160028082526060820183525f9260208301908036833701905050905030815f81518110610e5657610e56611248565b6001600160a01b03928316602091820292909201810191909152600c54604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c46489260048083019391928290030181865afa158015610ec6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eea919061125c565b81600181518110610efd57610efd611248565b6001600160a01b039283166020918202929092010152600c54610f2391309116846109ad565b600c546040517f791ac9470000000000000000000000000000000000000000000000000000000081526001600160a01b039091169063791ac94790610f749085905f90869030904290600401611277565b5f604051808303815f87803b158015610f8b575f80fd5b505af1158015610f9d573d5f803e3d5ffd5b50506005805461ff001916905550505050565b5f6020808352835180828501525f5b81811015610fdb57858101830151858201604001528201610fbf565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461100f575f80fd5b50565b5f8060408385031215611023575f80fd5b823561102e81610ffb565b946020939093013593505050565b5f6020828403121561104c575f80fd5b813561105781610ffb565b9392505050565b5f805f60608486031215611070575f80fd5b833561107b81610ffb565b9250602084013561108b81610ffb565b929592945050506040919091013590565b5f602082840312156110ac575f80fd5b5035919050565b5f80604083850312156110c4575f80fd5b82356110cf81610ffb565b915060208301356110df81610ffb565b809150509250929050565b634e487b7160e01b5f52601160045260245ffd5b600181815b8085111561113857815f190482111561111e5761111e6110ea565b8085161561112b57918102915b93841c9390800290611103565b509250929050565b5f8261114e575060016104d8565b8161115a57505f6104d8565b8160018114611170576002811461117a57611196565b60019150506104d8565b60ff84111561118b5761118b6110ea565b50506001821b6104d8565b5060208310610133831016604e8410600b84101617156111b9575081810a6104d8565b6111c383836110fe565b805f19048211156111d6576111d66110ea565b029392505050565b5f61105760ff841683611140565b80820281158282048414176104d8576104d86110ea565b5f8261121d57634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156104d8576104d86110ea565b818103818111156104d8576104d86110ea565b634e487b7160e01b5f52603260045260245ffd5b5f6020828403121561126c575f80fd5b815161105781610ffb565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b818110156112c55784516001600160a01b0316835293830193918301916001016112a0565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122066b651bbb8b0eca889fb8515d01e6934ccdc2c58c1e13a6a5a77f2a7af9abba364736f6c63430008140033

Deployed Bytecode

0x60806040526004361061017b575f3560e01c806375f0a874116100d1578063db2aef9a1161007c578063ec37dad311610057578063ec37dad314610485578063f8b45b051461049a578063ffb54a99146104af575f80fd5b8063db2aef9a1461040d578063dd62ed3e14610422578063e57f14e114610466575f80fd5b806395d89b41116100ac57806395d89b411461038a578063a9059cbb146103cf578063afa4f3b2146103ee575f80fd5b806375f0a8741461033b5780638a8c523c1461035a5780638da5cb5b1461036e575f80fd5b8063313ce5671161013157806370a082311161010c57806370a08231146102df578063715018a614610313578063751039fc14610327575f80fd5b8063313ce5671461026e57806349bd5a5e146102895780635d098b38146102c0575f80fd5b806316a2f82a1161016157806316a2f82a1461020c57806318160ddd1461022d57806323b872dd1461024f575f80fd5b806306fdde0314610186578063095ea7b3146101dd575f80fd5b3661018257005b5f80fd5b348015610191575f80fd5b5060408051808201909152600881527f416920427261696e00000000000000000000000000000000000000000000000060208201525b6040516101d49190610fb0565b60405180910390f35b3480156101e8575f80fd5b506101fc6101f7366004611012565b6104c8565b60405190151581526020016101d4565b348015610217575f80fd5b5061022b61022636600461103c565b6104de565b005b348015610238575f80fd5b5061024161055c565b6040519081526020016101d4565b34801561025a575f80fd5b506101fc61026936600461105e565b61057b565b348015610279575f80fd5b50604051600981526020016101d4565b348015610294575f80fd5b50600d546102a8906001600160a01b031681565b6040516001600160a01b0390911681526020016101d4565b3480156102cb575f80fd5b5061022b6102da36600461103c565b6105e2565b3480156102ea575f80fd5b506102416102f936600461103c565b6001600160a01b03165f9081526008602052604090205490565b34801561031e575f80fd5b5061022b6106c0565b348015610332575f80fd5b5061022b61076e565b348015610346575f80fd5b50600b546102a8906001600160a01b031681565b348015610365575f80fd5b5061022b6107f1565b348015610379575f80fd5b505f546001600160a01b03166102a8565b348015610395575f80fd5b5060408051808201909152600381527f414942000000000000000000000000000000000000000000000000000000000060208201526101c7565b3480156103da575f80fd5b506101fc6103e9366004611012565b6108b0565b3480156103f9575f80fd5b5061022b61040836600461109c565b6108bc565b348015610418575f80fd5b5061024160015481565b34801561042d575f80fd5b5061024161043c3660046110b3565b6001600160a01b039182165f90815260096020908152604080832093909416825291909152205490565b348015610471575f80fd5b5061022b61048036600461103c565b610931565b348015610490575f80fd5b5061024160025481565b3480156104a5575f80fd5b5061024160065481565b3480156104ba575f80fd5b506005546101fc9060ff1681565b5f6104d43384846109ad565b5060015b92915050565b5f546001600160a01b0316331461053c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b03165f908152600a60205260409020805460ff19169055565b5f6105696009600a6111de565b61057690629896806111ec565b905090565b5f610587848484610a0d565b6105d884336105d3856040518060600160405280602881526020016112e7602891396001600160a01b038a165f9081526009602090815260408083203384529091529020549190610d7c565b6109ad565b5060019392505050565b5f546001600160a01b0316331461063b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610533565b6001600160a01b0381166106915760405162461bcd60e51b815260206004820152601360248201527f43616e27742073657420302061646472657373000000000000000000000000006044820152606401610533565b600b805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b5f546001600160a01b031633146107195760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610533565b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f805473ffffffffffffffffffffffffffffffffffffffff19169055565b5f546001600160a01b031633146107c75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610533565b6107d36009600a6111de565b6107e090629896806111ec565b600655600354600155600454600255565b5f546001600160a01b0316331461084a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610533565b60055460ff161561089d5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610533565b6005805462ff00ff191662010001179055565b5f6104d4338484610a0d565b5f546001600160a01b031633146109155760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610533565b6109216009600a6111de565b61092b90826111ec565b60075550565b5f546001600160a01b0316331461098a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610533565b6001600160a01b03165f908152600a60205260409020805460ff19166001179055565b6001600160a01b038381165f8181526009602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f8111610a825760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d75737420626520677265617465722060448201527f7468616e207a65726f00000000000000000000000000000000000000000000006064820152608401610533565b6001600160a01b0383165f908152600a602052604081205460ff16158015610ac257506001600160a01b0383165f908152600a602052604090205460ff16155b15610c5f5760055460ff16610b195760405162461bcd60e51b815260206004820152600f60248201527f43616e27742074726164652079657400000000000000000000000000000000006044820152606401610533565b600d546001600160a01b0390811690851603610bc557606460015483610b3f91906111ec565b610b499190611203565b905060065482610b6d856001600160a01b03165f9081526008602052604090205490565b610b779190611222565b1115610bc55760405162461bcd60e51b815260206004820152601260248201527f45786365656473206d61782077616c6c657400000000000000000000000000006044820152606401610533565b600d546001600160a01b0390811690841603610bf857606460025483610beb91906111ec565b610bf59190611203565b90505b305f90815260086020526040902054600554610100900460ff16158015610c2c5750600d546001600160a01b038581169116145b8015610c40575060055462010000900460ff165b8015610c4d575060075481115b15610c5d57610c5d600754610db4565b505b8015610cc957305f9081526008602052604081208054839290610c83908490611222565b909155505060405181815230906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35b6001600160a01b0384165f9081526008602052604081208054849290610cf0908490611235565b90915550610d0090508183611235565b6001600160a01b0384165f9081526008602052604081208054909190610d27908490611222565b90915550506001600160a01b038084169085167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610d658486611235565b60405190815260200160405180910390a350505050565b5f8184841115610d9f5760405162461bcd60e51b81526004016105339190610fb0565b505f610dab8486611235565b95945050505050565b5f610dbe82610e14565b600b546040516001600160a01b039091169047905f81818185875af1925050503d805f8114610e08576040519150601f19603f3d011682016040523d82523d5f602084013e610e0d565b606091505b5050505050565b6005805461ff0019166101001790556040805160028082526060820183525f9260208301908036833701905050905030815f81518110610e5657610e56611248565b6001600160a01b03928316602091820292909201810191909152600c54604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c46489260048083019391928290030181865afa158015610ec6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eea919061125c565b81600181518110610efd57610efd611248565b6001600160a01b039283166020918202929092010152600c54610f2391309116846109ad565b600c546040517f791ac9470000000000000000000000000000000000000000000000000000000081526001600160a01b039091169063791ac94790610f749085905f90869030904290600401611277565b5f604051808303815f87803b158015610f8b575f80fd5b505af1158015610f9d573d5f803e3d5ffd5b50506005805461ff001916905550505050565b5f6020808352835180828501525f5b81811015610fdb57858101830151858201604001528201610fbf565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461100f575f80fd5b50565b5f8060408385031215611023575f80fd5b823561102e81610ffb565b946020939093013593505050565b5f6020828403121561104c575f80fd5b813561105781610ffb565b9392505050565b5f805f60608486031215611070575f80fd5b833561107b81610ffb565b9250602084013561108b81610ffb565b929592945050506040919091013590565b5f602082840312156110ac575f80fd5b5035919050565b5f80604083850312156110c4575f80fd5b82356110cf81610ffb565b915060208301356110df81610ffb565b809150509250929050565b634e487b7160e01b5f52601160045260245ffd5b600181815b8085111561113857815f190482111561111e5761111e6110ea565b8085161561112b57918102915b93841c9390800290611103565b509250929050565b5f8261114e575060016104d8565b8161115a57505f6104d8565b8160018114611170576002811461117a57611196565b60019150506104d8565b60ff84111561118b5761118b6110ea565b50506001821b6104d8565b5060208310610133831016604e8410600b84101617156111b9575081810a6104d8565b6111c383836110fe565b805f19048211156111d6576111d66110ea565b029392505050565b5f61105760ff841683611140565b80820281158282048414176104d8576104d86110ea565b5f8261121d57634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156104d8576104d86110ea565b818103818111156104d8576104d86110ea565b634e487b7160e01b5f52603260045260245ffd5b5f6020828403121561126c575f80fd5b815161105781610ffb565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b818110156112c55784516001600160a01b0316835293830193918301916001016112a0565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122066b651bbb8b0eca889fb8515d01e6934ccdc2c58c1e13a6a5a77f2a7af9abba364736f6c63430008140033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.