ETH Price: $3,157.04 (+2.82%)
Gas: 1 Gwei

Contract

0xfB978BFEb7d1FB4f2616Bbb1513f63Ffe1a156FF
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw ETH124162082021-05-11 23:56:451158 days ago1620777405IN
0xfB978BFE...fe1a156FF
0 ETH0.00892419293
Transfer124158452021-05-11 22:34:161158 days ago1620772456IN
0xfB978BFE...fe1a156FF
0.5 ETH0.03791232270
Transfer124157282021-05-11 22:11:031158 days ago1620771063IN
0xfB978BFE...fe1a156FF
0.5 ETH0.05750392370
Transfer124156752021-05-11 21:58:221158 days ago1620770302IN
0xfB978BFE...fe1a156FF
0.5 ETH0.05594976360
Transfer124155822021-05-11 21:39:351158 days ago1620769175IN
0xfB978BFE...fe1a156FF
0.5 ETH0.077708500
Transfer124155522021-05-11 21:33:351158 days ago1620768815IN
0xfB978BFE...fe1a156FF
0.5 ETH0.0505102325
Transfer124155472021-05-11 21:32:571158 days ago1620768777IN
0xfB978BFE...fe1a156FF
0.5 ETH0.008085385
Transfer124155122021-05-11 21:25:531158 days ago1620768353IN
0xfB978BFE...fe1a156FF
0.5 ETH0.05750392370
Transfer124154792021-05-11 21:18:231158 days ago1620767903IN
0xfB978BFE...fe1a156FF
0.5 ETH0.04740188305
Transfer124154792021-05-11 21:18:231158 days ago1620767903IN
0xfB978BFE...fe1a156FF
0.5 ETH0.04821004310.2
Transfer124154532021-05-11 21:11:471158 days ago1620767507IN
0xfB978BFE...fe1a156FF
0.5 ETH0.00911427330
Transfer124154372021-05-11 21:06:321158 days ago1620767192IN
0xfB978BFE...fe1a156FF
0.5 ETH0.0543956350
Transfer124154362021-05-11 21:06:151158 days ago1620767175IN
0xfB978BFE...fe1a156FF
0.5 ETH0.05190894334
Transfer124154342021-05-11 21:05:561158 days ago1620767156IN
0xfB978BFE...fe1a156FF
0.5 ETH0.04942228318
Transfer124154232021-05-11 21:03:241158 days ago1620767004IN
0xfB978BFE...fe1a156FF
0.5 ETH0.0543956350
Transfer124154222021-05-11 21:03:181158 days ago1620766998IN
0xfB978BFE...fe1a156FF
0.5 ETH0.04817896310
Transfer124154212021-05-11 21:03:051158 days ago1620766985IN
0xfB978BFE...fe1a156FF
0.5 ETH0.04615855297
Transfer124154132021-05-11 21:01:401158 days ago1620766900IN
0xfB978BFE...fe1a156FF
0.5 ETH0.05455101351
Transfer124154062021-05-11 21:00:371158 days ago1620766837IN
0xfB978BFE...fe1a156FF
0.5 ETH0.00735350
Transfer124154052021-05-11 21:00:341158 days ago1620766834IN
0xfB978BFE...fe1a156FF
0.5 ETH0.04895604315
Transfer124153992021-05-11 20:58:521158 days ago1620766732IN
0xfB978BFE...fe1a156FF
0.5 ETH0.006741321
Transfer124153982021-05-11 20:58:431158 days ago1620766723IN
0xfB978BFE...fe1a156FF
0.5 ETH0.01743105350
Transfer124153932021-05-11 20:58:241158 days ago1620766704IN
0xfB978BFE...fe1a156FF
0.5 ETH0.04367189281
Transfer124153882021-05-11 20:57:411158 days ago1620766661IN
0xfB978BFE...fe1a156FF
0.5 ETH0.0486452313
Transfer124153852021-05-11 20:57:291158 days ago1620766649IN
0xfB978BFE...fe1a156FF
0.5 ETH0.0543956350
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
124162082021-05-11 23:56:451158 days ago1620777405
0xfB978BFE...fe1a156FF
20 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PDOGPresale

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
default evmVersion, Unlicense license
/**
 *Submitted for verification at Etherscan.io on 2021-05-11
*/

//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.6.12;

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

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

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
contract Ownable is Context {
    address private _owner;
    address private _previousOwner;
    uint256 private _lockTime;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

     /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }

    function geUnlockTime() public view returns (uint256) {
        return _lockTime;
    }

    //Locks the contract for owner for the amount of time provided
    function lock(uint256 time) public virtual onlyOwner {
        _previousOwner = _owner;
        _owner = address(0);
        _lockTime = now + time;
        emit OwnershipTransferred(_owner, address(0));
    }
    
    //Unlocks the contract for owner when _lockTime is exceeds
    function unlock() public virtual {
        require(_previousOwner == msg.sender, "You don't have permission to unlock");
        require(now > _lockTime , "Contract is locked until 7 days");
        emit OwnershipTransferred(_owner, _previousOwner);
        _owner = _previousOwner;
    }
}

interface IERC20 {

    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    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
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    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);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

contract PDOGPresale is Ownable {
    
    address public tokenAddress;
    uint256 public tokensPerAllocation;
    uint256 public allocationSize;
    mapping(address => bool) public isWhitelisted;
    mapping(address => bool) public didBuy;
    
    constructor(address _tokenAddress) public {
        tokenAddress = _tokenAddress;
    }
    
    receive() external payable {
        buy();
    }
    
    function setTokensPerAllocation(uint256 amount) public onlyOwner {
        tokensPerAllocation = amount;
    }
    
    function setAllocationSize(uint256 amount) public onlyOwner {
        allocationSize = amount;
    }
    
    function whitelistAddresses(address[] memory account) public onlyOwner {
        for (uint256 i = 0; i < account.length; i++) {
            isWhitelisted[account[i]] = true;
        }
    }
    
    function removeAddressesFromWhitelist(address[] memory account) public onlyOwner {
        for (uint256 i = 0; i < account.length; i++) {
            isWhitelisted[account[i]] = false;
        }
    }
    
    function withdrawTokens() public onlyOwner {
        IERC20(tokenAddress).transfer(owner(), IERC20(tokenAddress).balanceOf(address(this)));
    }
    
    function withdrawETH() public onlyOwner {
        payable(owner()).transfer(address(this).balance);
    }
    
    function buy() public payable {
        require(tokensPerAllocation > 0 && allocationSize > 0, "Not initialized yet");
        require(isWhitelisted[msg.sender], "Address is not whitelisted");
        require(!didBuy[msg.sender], "Address already bought");
        require(msg.value == allocationSize, "Wrong ETH amount sent");
        
        IERC20(tokenAddress).transfer(msg.sender, tokensPerAllocation);
        
        didBuy[msg.sender] = true;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"allocationSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"didBuy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"geUnlockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"time","type":"uint256"}],"name":"lock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"account","type":"address[]"}],"name":"removeAddressesFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setAllocationSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setTokensPerAllocation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensPerAllocation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"account","type":"address[]"}],"name":"whitelistAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b506040516114b23803806114b28339818101604052602081101561003357600080fd5b5051600061003f6100ae565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600380546001600160a01b0319166001600160a01b03929092169190911790556100b2565b3390565b6113f1806100c16000396000f3fe60806040526004361061012c5760003560e01c80639d76ea58116100a5578063ba88544611610074578063e086e5ec11610059578063e086e5ec14610488578063ed46cac01461049d578063f2fde38b146104b25761013b565b8063ba88544614610449578063dd4670641461045e5761013b565b80639d76ea58146103f0578063a69df4b514610405578063a6f2ae3a1461041a578063b6c52324146104225761013b565b80633af32abf116100fc5780638d8f2adb116100e15780638d8f2adb1461035d5780638da5cb5b1461037257806398680f6d146103b05761013b565b80633af32abf146102f4578063715018a6146103485761013b565b80624649b01461014057806324953eaa1461016a5780632bf043041461021a578063332a745f146102ca5761013b565b3661013b576101396104f2565b005b600080fd5b34801561014c57600080fd5b506101396004803603602081101561016357600080fd5b50356107c4565b34801561017657600080fd5b506101396004803603602081101561018d57600080fd5b8101906020810181356401000000008111156101a857600080fd5b8201836020820111156101ba57600080fd5b803590602001918460208302840111640100000000831117156101dc57600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061085a945050505050565b34801561022657600080fd5b506101396004803603602081101561023d57600080fd5b81019060208101813564010000000081111561025857600080fd5b82018360208201111561026a57600080fd5b8035906020019184602083028401116401000000008311171561028c57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610972945050505050565b3480156102d657600080fd5b50610139600480360360208110156102ed57600080fd5b5035610a86565b34801561030057600080fd5b506103346004803603602081101561031757600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610b1c565b604080519115158252519081900360200190f35b34801561035457600080fd5b50610139610b31565b34801561036957600080fd5b50610139610c31565b34801561037e57600080fd5b50610387610e23565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156103bc57600080fd5b50610334600480360360208110156103d357600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610e3f565b3480156103fc57600080fd5b50610387610e54565b34801561041157600080fd5b50610139610e70565b6101396104f2565b34801561042e57600080fd5b50610437610fe3565b60408051918252519081900360200190f35b34801561045557600080fd5b50610437610fe9565b34801561046a57600080fd5b506101396004803603602081101561048157600080fd5b5035610fef565b34801561049457600080fd5b506101396110fd565b3480156104a957600080fd5b506104376111de565b3480156104be57600080fd5b50610139600480360360208110156104d557600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166111e4565b600060045411801561050657506000600554115b61057157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f4e6f7420696e697469616c697a65642079657400000000000000000000000000604482015290519081900360640190fd5b3360009081526006602052604090205460ff166105ef57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f41646472657373206973206e6f742077686974656c6973746564000000000000604482015290519081900360640190fd5b3360009081526007602052604090205460ff161561066e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4164647265737320616c726561647920626f7567687400000000000000000000604482015290519081900360640190fd5b60055434146106de57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f57726f6e672045544820616d6f756e742073656e740000000000000000000000604482015290519081900360640190fd5b60035460048054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152339381019390935260248301919091525173ffffffffffffffffffffffffffffffffffffffff9092169163a9059cbb916044808201926020929091908290030181600087803b15801561075e57600080fd5b505af1158015610772573d6000803e3d6000fd5b505050506040513d602081101561078857600080fd5b505033600090815260076020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b6107cc61136e565b60005473ffffffffffffffffffffffffffffffffffffffff90811691161461085557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600455565b61086261136e565b60005473ffffffffffffffffffffffffffffffffffffffff9081169116146108eb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60005b815181101561096e5760006006600084848151811061090957fe5b60209081029190910181015173ffffffffffffffffffffffffffffffffffffffff16825281019190915260400160002080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169115159190911790556001016108ee565b5050565b61097a61136e565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610a0357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60005b815181101561096e57600160066000848481518110610a2157fe5b60209081029190910181015173ffffffffffffffffffffffffffffffffffffffff16825281019190915260400160002080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055600101610a06565b610a8e61136e565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610b1757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600555565b60066020526000908152604090205460ff1681565b610b3961136e565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610bc257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b610c3961136e565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610cc257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60035473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610ce8610e23565b600354604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff909216916370a0823191602480820192602092909190829003018186803b158015610d5957600080fd5b505afa158015610d6d573d6000803e3d6000fd5b505050506040513d6020811015610d8357600080fd5b5051604080517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815273ffffffffffffffffffffffffffffffffffffffff909316600484015260248301919091525160448083019260209291908290030181600087803b158015610df957600080fd5b505af1158015610e0d573d6000803e3d6000fd5b505050506040513d602081101561096e57600080fd5b60005473ffffffffffffffffffffffffffffffffffffffff1690565b60076020526000908152604090205460ff1681565b60035473ffffffffffffffffffffffffffffffffffffffff1681565b60015473ffffffffffffffffffffffffffffffffffffffff163314610ee0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806113996023913960400191505060405180910390fd5b6002544211610f5057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f436f6e7472616374206973206c6f636b656420756e74696c2037206461797300604482015290519081900360640190fd5b6001546000805460405173ffffffffffffffffffffffffffffffffffffffff93841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600154600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff909216919091179055565b60025490565b60045481565b610ff761136e565b60005473ffffffffffffffffffffffffffffffffffffffff90811691161461108057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60008054600180547fffffffffffffffffffffffff000000000000000000000000000000000000000090811673ffffffffffffffffffffffffffffffffffffffff84161790915516815542820160025560405181907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350565b61110561136e565b60005473ffffffffffffffffffffffffffffffffffffffff90811691161461118e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b611196610e23565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156111db573d6000803e3d6000fd5b50565b60055481565b6111ec61136e565b60005473ffffffffffffffffffffffffffffffffffffffff90811691161461127557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff81166112e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806113736026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b339056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373596f7520646f6e27742068617665207065726d697373696f6e20746f20756e6c6f636ba26469706673582212205e548befdbb055075a4fa45d74712f6cee95f439371550fb64c204103306e9ae64736f6c634300060c0033000000000000000000000000cf8c23cf17bb5815d5705a15486fa83805415625

Deployed Bytecode

0x60806040526004361061012c5760003560e01c80639d76ea58116100a5578063ba88544611610074578063e086e5ec11610059578063e086e5ec14610488578063ed46cac01461049d578063f2fde38b146104b25761013b565b8063ba88544614610449578063dd4670641461045e5761013b565b80639d76ea58146103f0578063a69df4b514610405578063a6f2ae3a1461041a578063b6c52324146104225761013b565b80633af32abf116100fc5780638d8f2adb116100e15780638d8f2adb1461035d5780638da5cb5b1461037257806398680f6d146103b05761013b565b80633af32abf146102f4578063715018a6146103485761013b565b80624649b01461014057806324953eaa1461016a5780632bf043041461021a578063332a745f146102ca5761013b565b3661013b576101396104f2565b005b600080fd5b34801561014c57600080fd5b506101396004803603602081101561016357600080fd5b50356107c4565b34801561017657600080fd5b506101396004803603602081101561018d57600080fd5b8101906020810181356401000000008111156101a857600080fd5b8201836020820111156101ba57600080fd5b803590602001918460208302840111640100000000831117156101dc57600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061085a945050505050565b34801561022657600080fd5b506101396004803603602081101561023d57600080fd5b81019060208101813564010000000081111561025857600080fd5b82018360208201111561026a57600080fd5b8035906020019184602083028401116401000000008311171561028c57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610972945050505050565b3480156102d657600080fd5b50610139600480360360208110156102ed57600080fd5b5035610a86565b34801561030057600080fd5b506103346004803603602081101561031757600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610b1c565b604080519115158252519081900360200190f35b34801561035457600080fd5b50610139610b31565b34801561036957600080fd5b50610139610c31565b34801561037e57600080fd5b50610387610e23565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156103bc57600080fd5b50610334600480360360208110156103d357600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610e3f565b3480156103fc57600080fd5b50610387610e54565b34801561041157600080fd5b50610139610e70565b6101396104f2565b34801561042e57600080fd5b50610437610fe3565b60408051918252519081900360200190f35b34801561045557600080fd5b50610437610fe9565b34801561046a57600080fd5b506101396004803603602081101561048157600080fd5b5035610fef565b34801561049457600080fd5b506101396110fd565b3480156104a957600080fd5b506104376111de565b3480156104be57600080fd5b50610139600480360360208110156104d557600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166111e4565b600060045411801561050657506000600554115b61057157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f4e6f7420696e697469616c697a65642079657400000000000000000000000000604482015290519081900360640190fd5b3360009081526006602052604090205460ff166105ef57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f41646472657373206973206e6f742077686974656c6973746564000000000000604482015290519081900360640190fd5b3360009081526007602052604090205460ff161561066e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4164647265737320616c726561647920626f7567687400000000000000000000604482015290519081900360640190fd5b60055434146106de57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f57726f6e672045544820616d6f756e742073656e740000000000000000000000604482015290519081900360640190fd5b60035460048054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152339381019390935260248301919091525173ffffffffffffffffffffffffffffffffffffffff9092169163a9059cbb916044808201926020929091908290030181600087803b15801561075e57600080fd5b505af1158015610772573d6000803e3d6000fd5b505050506040513d602081101561078857600080fd5b505033600090815260076020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b6107cc61136e565b60005473ffffffffffffffffffffffffffffffffffffffff90811691161461085557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600455565b61086261136e565b60005473ffffffffffffffffffffffffffffffffffffffff9081169116146108eb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60005b815181101561096e5760006006600084848151811061090957fe5b60209081029190910181015173ffffffffffffffffffffffffffffffffffffffff16825281019190915260400160002080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169115159190911790556001016108ee565b5050565b61097a61136e565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610a0357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60005b815181101561096e57600160066000848481518110610a2157fe5b60209081029190910181015173ffffffffffffffffffffffffffffffffffffffff16825281019190915260400160002080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055600101610a06565b610a8e61136e565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610b1757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600555565b60066020526000908152604090205460ff1681565b610b3961136e565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610bc257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b610c3961136e565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610cc257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60035473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610ce8610e23565b600354604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff909216916370a0823191602480820192602092909190829003018186803b158015610d5957600080fd5b505afa158015610d6d573d6000803e3d6000fd5b505050506040513d6020811015610d8357600080fd5b5051604080517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815273ffffffffffffffffffffffffffffffffffffffff909316600484015260248301919091525160448083019260209291908290030181600087803b158015610df957600080fd5b505af1158015610e0d573d6000803e3d6000fd5b505050506040513d602081101561096e57600080fd5b60005473ffffffffffffffffffffffffffffffffffffffff1690565b60076020526000908152604090205460ff1681565b60035473ffffffffffffffffffffffffffffffffffffffff1681565b60015473ffffffffffffffffffffffffffffffffffffffff163314610ee0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806113996023913960400191505060405180910390fd5b6002544211610f5057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f436f6e7472616374206973206c6f636b656420756e74696c2037206461797300604482015290519081900360640190fd5b6001546000805460405173ffffffffffffffffffffffffffffffffffffffff93841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600154600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff909216919091179055565b60025490565b60045481565b610ff761136e565b60005473ffffffffffffffffffffffffffffffffffffffff90811691161461108057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60008054600180547fffffffffffffffffffffffff000000000000000000000000000000000000000090811673ffffffffffffffffffffffffffffffffffffffff84161790915516815542820160025560405181907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350565b61110561136e565b60005473ffffffffffffffffffffffffffffffffffffffff90811691161461118e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b611196610e23565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156111db573d6000803e3d6000fd5b50565b60055481565b6111ec61136e565b60005473ffffffffffffffffffffffffffffffffffffffff90811691161461127557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff81166112e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806113736026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b339056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373596f7520646f6e27742068617665207065726d697373696f6e20746f20756e6c6f636ba26469706673582212205e548befdbb055075a4fa45d74712f6cee95f439371550fb64c204103306e9ae64736f6c634300060c0033

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

000000000000000000000000cf8c23cf17bb5815d5705a15486fa83805415625

-----Decoded View---------------
Arg [0] : _tokenAddress (address): 0xCf8C23Cf17BB5815d5705A15486Fa83805415625

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000cf8c23cf17bb5815d5705a15486fa83805415625


Deployed Bytecode Sourcemap

6051:1830:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6449:5;:3;:5::i;:::-;6051:1830;;;;;6474:112;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6474:112:0;;:::i;6917:204::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6917:204:0;;-1:-1:-1;6917:204:0;;-1:-1:-1;;;;;6917:204:0:i;6712:193::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6712:193:0;;-1:-1:-1;6712:193:0;;-1:-1:-1;;;;;6712:193:0:i;6598:102::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6598:102:0;;:::i;6207:45::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6207:45:0;;;;:::i;:::-;;;;;;;;;;;;;;;;;;2174:148;;;;;;;;;;;;;:::i;7133:147::-;;;;;;;;;;;;;:::i;1531:79::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;6259:38;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6259:38:0;;;;:::i;6096:27::-;;;;;;;;;;;;;:::i;3184:293::-;;;;;;;;;;;;;:::i;7411:467::-;;;:::i;2729:89::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;6130:34;;;;;;;;;;;;;:::i;2894:214::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2894:214:0;;:::i;7292:107::-;;;;;;;;;;;;;:::i;6171:29::-;;;;;;;;;;;;;:::i;2477:244::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2477:244:0;;;;:::i;7411:467::-;7482:1;7460:19;;:23;:45;;;;;7504:1;7487:14;;:18;7460:45;7452:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7562:10;7548:25;;;;:13;:25;;;;;;;;7540:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7631:10;7624:18;;;;:6;:18;;;;;;;;7623:19;7615:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7701:14;;7688:9;:27;7680:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7769:12;;7804:19;;;7762:62;;;;;;7792:10;7762:62;;;;;;;;;;;;;;;7769:12;;;;;7762:29;;:62;;;;;;;;;;;;;;;7769:12;;7762:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7852:10:0;7845:18;;;;:6;7762:62;7845:18;;;;:25;;;;7866:4;7845:25;;;7411:467::o;6474:112::-;1753:12;:10;:12::i;:::-;1743:6;;:22;:6;;;:22;;;1735:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6550:19:::1;:28:::0;6474:112::o;6917:204::-;1753:12;:10;:12::i;:::-;1743:6;;:22;:6;;;:22;;;1735:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7014:9:::1;7009:105;7033:7;:14;7029:1;:18;7009:105;;;7097:5;7069:13;:25;7083:7;7091:1;7083:10;;;;;;;;;::::0;;::::1;::::0;;;;;;;7069:25:::1;;::::0;;;::::1;::::0;;;;;;-1:-1:-1;7069:25:0;:33;;;::::1;::::0;::::1;;::::0;;;::::1;::::0;;-1:-1:-1;7049:3:0::1;7009:105;;;;6917:204:::0;:::o;6712:193::-;1753:12;:10;:12::i;:::-;1743:6;;:22;:6;;;:22;;;1735:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6799:9:::1;6794:104;6818:7;:14;6814:1;:18;6794:104;;;6882:4;6854:13;:25;6868:7;6876:1;6868:10;;;;;;;;;::::0;;::::1;::::0;;;;;;;6854:25:::1;;::::0;;;::::1;::::0;;;;;;-1:-1:-1;6854:25:0;:32;;;::::1;::::0;::::1;;::::0;;;::::1;::::0;;-1:-1:-1;6834:3:0::1;6794:104;;6598:102:::0;1753:12;:10;:12::i;:::-;1743:6;;:22;:6;;;:22;;;1735:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6669:14:::1;:23:::0;6598:102::o;6207:45::-;;;;;;;;;;;;;;;:::o;2174:148::-;1753:12;:10;:12::i;:::-;1743:6;;:22;:6;;;:22;;;1735:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2281:1:::1;2265:6:::0;;2244:40:::1;::::0;::::1;2265:6:::0;;::::1;::::0;2244:40:::1;::::0;2281:1;;2244:40:::1;2312:1;2295:19:::0;;;::::1;::::0;;2174:148::o;7133:147::-;1753:12;:10;:12::i;:::-;1743:6;;:22;:6;;;:22;;;1735:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7194:12:::1;::::0;::::1;;7187:29;7217:7;:5;:7::i;:::-;7233:12;::::0;7226:45:::1;::::0;;;;;7265:4:::1;7226:45;::::0;::::1;::::0;;;7233:12:::1;::::0;;::::1;::::0;7226:30:::1;::::0;:45;;;;;::::1;::::0;;;;;;;;;7233:12;7226:45;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;7226:45:0;7187:85:::1;::::0;;;::::1;::::0;;;;;;::::1;::::0;;::::1;;::::0;::::1;::::0;;;;;;;;;;;;;;7226:45:::1;::::0;7187:85;;;;;;;-1:-1:-1;7187:85:0;;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;1531:79:::0;1569:7;1596:6;;;1531:79;:::o;6259:38::-;;;;;;;;;;;;;;;:::o;6096:27::-;;;;;;:::o;3184:293::-;3236:14;;:28;:14;3254:10;3236:28;3228:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3329:9;;3323:3;:15;3315:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3420:14;;;3412:6;;3391:44;;3420:14;;;;;3412:6;;;;3391:44;;;3455:14;;;3446:23;;;;3455:14;;;;3446:23;;;;;;3184:293::o;2729:89::-;2801:9;;2729:89;:::o;6130:34::-;;;;:::o;2894:214::-;1753:12;:10;:12::i;:::-;1743:6;;:22;:6;;;:22;;;1735:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2975:6:::1;::::0;;;2958:23;;;;;::::1;2975:6;::::0;::::1;2958:23;::::0;;;2992:19:::1;::::0;;3034:3:::1;:10:::0;::::1;3022:9;:22:::0;3060:40:::1;::::0;2975:6;;3060:40:::1;::::0;2975:6;;3060:40:::1;2894:214:::0;:::o;7292:107::-;1753:12;:10;:12::i;:::-;1743:6;;:22;:6;;;:22;;;1735:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7351:7:::1;:5;:7::i;:::-;7343:25;;:48;7369:21;7343:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;7292:107::o:0;6171:29::-;;;;:::o;2477:244::-;1753:12;:10;:12::i;:::-;1743:6;;:22;:6;;;:22;;;1735:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2566:22:::1;::::0;::::1;2558:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2668:6;::::0;;2647:38:::1;::::0;::::1;::::0;;::::1;::::0;2668:6;::::1;::::0;2647:38:::1;::::0;::::1;2696:6;:17:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;2477:244::o;100:106::-;188:10;100:106;:::o

Swarm Source

ipfs://5e548befdbb055075a4fa45d74712f6cee95f439371550fb64c204103306e9ae

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.