ETH Price: $2,048.25 (+0.58%)

Contract

0x3A0eFEAbbb461E56E7ffEdEe1aCffD1064E9FD4D
 

Overview

ETH Balance

0.001 ETH

Eth Value

$2.05 (@ $2,048.25/ETH)

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim Tokens Not...156287362022-09-28 2:04:471260 days ago1664330687IN
0x3A0eFEAb...064E9FD4D
0 ETH0.000728988.75929942
Buy156107672022-09-25 13:44:351263 days ago1664113475IN
0x3A0eFEAb...064E9FD4D
0.001 ETH0.000612766.81625685
Update Price For...156107572022-09-25 13:42:351263 days ago1664113355IN
0x3A0eFEAb...064E9FD4D
0 ETH0.000234227.64754693
Connect To Other...156107462022-09-25 13:40:231263 days ago1664113223IN
0x3A0eFEAb...064E9FD4D
0 ETH0.00025948.16355191
Update Price For...156107242022-09-25 13:35:591263 days ago1664112959IN
0x3A0eFEAb...064E9FD4D
0 ETH0.000209676.84622118
Connect To Other...156106652022-09-25 13:24:111263 days ago1664112251IN
0x3A0eFEAb...064E9FD4D
0 ETH0.000195726.1595352
Update Price For...153080272022-08-09 12:36:001310 days ago1660048560IN
0x3A0eFEAb...064E9FD4D
0 ETH0.000330366.92198435
Connect To Other...153080132022-08-09 12:33:391310 days ago1660048419IN
0x3A0eFEAb...064E9FD4D
0 ETH0.000365627.48071815

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
KronicLabzICO

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
//SPDX-License-Identifier: UNLICENSED

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./ICOStorage.sol";
import "./IICO.sol";
import "./IBunzz.sol";

contract KronicLabzICO is ICOStorage, IICO, Ownable, IBunzz{

    using SafeMath for uint256;

    event PriceForOneTokenChanged(address setter, uint256 price);
    event TokenAddressSet(address setter, address token);
    event TokenBought(address buyer, uint256 amount);


    constructor(){}


    function connectToOtherContracts(address[] calldata _contracts) external override onlyOwner{
        setTokenAddress(_contracts[0]);
    }

    function setTokenAddress(address token) internal {
        require(Token!=token, "ICO: new token address is the same as the old one");
        emit TokenAddressSet(msg.sender, token);
        Token = token;
    }

    function updatePriceForOneToken(uint256 price) external override onlyOwner{
        require(priceForOneToken!=price, "ICO: new price is not different from the old price");
        emit PriceForOneTokenChanged(msg.sender, price);
        priceForOneToken = price;
    }

    function buy() external payable override{
        require(Token!=address(0), "ICO: Token address is not set yet");
        require(priceForOneToken!=0, "ICO: Price for one token not set yet");
        uint256 amount = msg.value;
        require(amount>0, "ICO: Amount have to be bigger then 0");
        IERC20 token = IERC20(Token);
        require(token.balanceOf(address(this))>0,"ICO: No more tokens for sale");
        uint256 tokensBought = amount.div(priceForOneToken);
        token.transfer(msg.sender, tokensBought);
        emit TokenBought(msg.sender, tokensBought);
    }

    function claimProfits() external override onlyOwner {
        address _owner = owner();
        payable(_owner).transfer(address(this).balance);
    }

    function claimTokensNotSold() external override onlyOwner {
        require(Token!=address(0), "ICO: Token address is not set yet");
        IERC20 token = IERC20(Token);
        uint256 contractBalance = token.balanceOf(address(this));
        token.transfer(msg.sender, contractBalance);
    }

    function exchangeRate() public view  override returns (uint256){
        return priceForOneToken;
    }



}

//SPDX-License-Identifier: UNLICENSED

pragma solidity ^0.8.0;

interface IBunzz {
    function connectToOtherContracts(address[] calldata _contracts) external;
}

//SPDX-License-Identifier: UNLICENSED

pragma solidity ^0.8.0;

interface IICO{

    function updatePriceForOneToken(uint256 price) external;

    function buy() external payable;

    function claimProfits() external;

    function claimTokensNotSold() external;

    function exchangeRate() external view returns (uint256);
}

File 4 of 8 : ICOStorage.sol
//SPDX-License-Identifier: UNLICENSED

pragma solidity ^0.8.0;

contract ICOStorage {
    address public Token;
    uint256 public priceForOneToken;
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @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.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        uint256 amount
    ) external returns (bool);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

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

Contract Security Audit

Contract ABI

API
[{"inputs":[],"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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"setter","type":"address"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"PriceForOneTokenChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"setter","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"}],"name":"TokenAddressSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"buyer","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokenBought","type":"event"},{"inputs":[],"name":"Token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"claimProfits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimTokensNotSold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_contracts","type":"address[]"}],"name":"connectToOtherContracts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"exchangeRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceForOneToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"updatePriceForOneToken","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5061002d61002261003260201b60201c565b61003a60201b60201c565b610100565b600033905090565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6113878061010f6000396000f3fe60806040526004361061009c5760003560e01c806392a23cdd1161006457806392a23cdd146101625780639df51b8914610179578063a6f2ae3a14610190578063a82462a81461019a578063c2412676146101c3578063f2fde38b146101ee5761009c565b80633ba0b9a9146100a15780635906c12b146100cc578063715018a6146100f75780638497c9151461010e5780638da5cb5b14610137575b600080fd5b3480156100ad57600080fd5b506100b6610217565b6040516100c39190610fc4565b60405180910390f35b3480156100d857600080fd5b506100e1610221565b6040516100ee9190610fc4565b60405180910390f35b34801561010357600080fd5b5061010c610227565b005b34801561011a57600080fd5b5061013560048036038101906101309190610cc7565b61023b565b005b34801561014357600080fd5b5061014c6102cb565b6040516101599190610e57565b60405180910390f35b34801561016e57600080fd5b506101776102f5565b005b34801561018557600080fd5b5061018e6104d2565b005b610198610530565b005b3480156101a657600080fd5b506101c160048036038101906101bc9190610c4d565b610824565b005b3480156101cf57600080fd5b506101d8610861565b6040516101e59190610e57565b60405180910390f35b3480156101fa57600080fd5b5061021560048036038101906102109190610c20565b610885565b005b6000600154905090565b60015481565b61022f610909565b6102396000610987565b565b610243610909565b806001541415610288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027f90610f04565b60405180910390fd5b7f8e12e1fdade0fb7daef24f85508cce508f156417156e22ceb7f1f67c42a7d29f33826040516102b9929190610e9b565b60405180910390a18060018190555050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6102fd610909565b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561038d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161038490610f64565b60405180910390fd5b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016103ee9190610e57565b60206040518083038186803b15801561040657600080fd5b505afa15801561041a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043e9190610cf4565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b815260040161047b929190610e9b565b602060405180830381600087803b15801561049557600080fd5b505af11580156104a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104cd9190610c9a565b505050565b6104da610909565b60006104e46102cb565b90508073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561052c573d6000803e3d6000fd5b5050565b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156105c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105b790610f64565b60405180910390fd5b60006001541415610606576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105fd90610f44565b60405180910390fd5b60003490506000811161064e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161064590610fa4565b60405180910390fd5b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016106af9190610e57565b60206040518083038186803b1580156106c757600080fd5b505afa1580156106db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ff9190610cf4565b1161073f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073690610ec4565b60405180910390fd5b600061075660015484610a4d90919063ffffffff16565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610793929190610e9b565b602060405180830381600087803b1580156107ad57600080fd5b505af11580156107c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e59190610c9a565b507fa3a187cfc249a33f6c4046e8d418886eea8564f9dd214a32aa5ba08d9602b5433382604051610817929190610e9b565b60405180910390a1505050565b61082c610909565b61085d8282600081811061084357610842611098565b5b90506020020160208101906108589190610c20565b610a63565b5050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61088d610909565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156108fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f490610ee4565b60405180910390fd5b61090681610987565b50565b610911610b6e565b73ffffffffffffffffffffffffffffffffffffffff1661092f6102cb565b73ffffffffffffffffffffffffffffffffffffffff1614610985576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097c90610f24565b60405180910390fd5b565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183610a5b9190610ff0565b905092915050565b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610af2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae990610f84565b60405180910390fd5b7f24b80abab34e4313f6fa818b4b740b32c9c113adccd46db535dbc92567953cdf3382604051610b23929190610e72565b60405180910390a1806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b600081359050610b858161130c565b92915050565b60008083601f840112610ba157610ba06110cc565b5b8235905067ffffffffffffffff811115610bbe57610bbd6110c7565b5b602083019150836020820283011115610bda57610bd96110d1565b5b9250929050565b600081519050610bf081611323565b92915050565b600081359050610c058161133a565b92915050565b600081519050610c1a8161133a565b92915050565b600060208284031215610c3657610c356110db565b5b6000610c4484828501610b76565b91505092915050565b60008060208385031215610c6457610c636110db565b5b600083013567ffffffffffffffff811115610c8257610c816110d6565b5b610c8e85828601610b8b565b92509250509250929050565b600060208284031215610cb057610caf6110db565b5b6000610cbe84828501610be1565b91505092915050565b600060208284031215610cdd57610cdc6110db565b5b6000610ceb84828501610bf6565b91505092915050565b600060208284031215610d0a57610d096110db565b5b6000610d1884828501610c0b565b91505092915050565b610d2a81611021565b82525050565b6000610d3d601c83610fdf565b9150610d48826110e0565b602082019050919050565b6000610d60602683610fdf565b9150610d6b82611109565b604082019050919050565b6000610d83603283610fdf565b9150610d8e82611158565b604082019050919050565b6000610da6602083610fdf565b9150610db1826111a7565b602082019050919050565b6000610dc9602483610fdf565b9150610dd4826111d0565b604082019050919050565b6000610dec602183610fdf565b9150610df78261121f565b604082019050919050565b6000610e0f603183610fdf565b9150610e1a8261126e565b604082019050919050565b6000610e32602483610fdf565b9150610e3d826112bd565b604082019050919050565b610e518161105f565b82525050565b6000602082019050610e6c6000830184610d21565b92915050565b6000604082019050610e876000830185610d21565b610e946020830184610d21565b9392505050565b6000604082019050610eb06000830185610d21565b610ebd6020830184610e48565b9392505050565b60006020820190508181036000830152610edd81610d30565b9050919050565b60006020820190508181036000830152610efd81610d53565b9050919050565b60006020820190508181036000830152610f1d81610d76565b9050919050565b60006020820190508181036000830152610f3d81610d99565b9050919050565b60006020820190508181036000830152610f5d81610dbc565b9050919050565b60006020820190508181036000830152610f7d81610ddf565b9050919050565b60006020820190508181036000830152610f9d81610e02565b9050919050565b60006020820190508181036000830152610fbd81610e25565b9050919050565b6000602082019050610fd96000830184610e48565b92915050565b600082825260208201905092915050565b6000610ffb8261105f565b91506110068361105f565b92508261101657611015611069565b5b828204905092915050565b600061102c8261103f565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b7f49434f3a204e6f206d6f726520746f6b656e7320666f722073616c6500000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f49434f3a206e6577207072696365206973206e6f7420646966666572656e742060008201527f66726f6d20746865206f6c642070726963650000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f49434f3a20507269636520666f72206f6e6520746f6b656e206e6f742073657460008201527f2079657400000000000000000000000000000000000000000000000000000000602082015250565b7f49434f3a20546f6b656e2061646472657373206973206e6f742073657420796560008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b7f49434f3a206e657720746f6b656e20616464726573732069732074686520736160008201527f6d6520617320746865206f6c64206f6e65000000000000000000000000000000602082015250565b7f49434f3a20416d6f756e74206861766520746f2062652062696767657220746860008201527f656e203000000000000000000000000000000000000000000000000000000000602082015250565b61131581611021565b811461132057600080fd5b50565b61132c81611033565b811461133757600080fd5b50565b6113438161105f565b811461134e57600080fd5b5056fea264697066735822122071afe347acb43f6ed177ba3d9de7350def93bee154b12174c33788b5e27d1a8764736f6c63430008070033

Deployed Bytecode

0x60806040526004361061009c5760003560e01c806392a23cdd1161006457806392a23cdd146101625780639df51b8914610179578063a6f2ae3a14610190578063a82462a81461019a578063c2412676146101c3578063f2fde38b146101ee5761009c565b80633ba0b9a9146100a15780635906c12b146100cc578063715018a6146100f75780638497c9151461010e5780638da5cb5b14610137575b600080fd5b3480156100ad57600080fd5b506100b6610217565b6040516100c39190610fc4565b60405180910390f35b3480156100d857600080fd5b506100e1610221565b6040516100ee9190610fc4565b60405180910390f35b34801561010357600080fd5b5061010c610227565b005b34801561011a57600080fd5b5061013560048036038101906101309190610cc7565b61023b565b005b34801561014357600080fd5b5061014c6102cb565b6040516101599190610e57565b60405180910390f35b34801561016e57600080fd5b506101776102f5565b005b34801561018557600080fd5b5061018e6104d2565b005b610198610530565b005b3480156101a657600080fd5b506101c160048036038101906101bc9190610c4d565b610824565b005b3480156101cf57600080fd5b506101d8610861565b6040516101e59190610e57565b60405180910390f35b3480156101fa57600080fd5b5061021560048036038101906102109190610c20565b610885565b005b6000600154905090565b60015481565b61022f610909565b6102396000610987565b565b610243610909565b806001541415610288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027f90610f04565b60405180910390fd5b7f8e12e1fdade0fb7daef24f85508cce508f156417156e22ceb7f1f67c42a7d29f33826040516102b9929190610e9b565b60405180910390a18060018190555050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6102fd610909565b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561038d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161038490610f64565b60405180910390fd5b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016103ee9190610e57565b60206040518083038186803b15801561040657600080fd5b505afa15801561041a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043e9190610cf4565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b815260040161047b929190610e9b565b602060405180830381600087803b15801561049557600080fd5b505af11580156104a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104cd9190610c9a565b505050565b6104da610909565b60006104e46102cb565b90508073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561052c573d6000803e3d6000fd5b5050565b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156105c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105b790610f64565b60405180910390fd5b60006001541415610606576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105fd90610f44565b60405180910390fd5b60003490506000811161064e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161064590610fa4565b60405180910390fd5b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016106af9190610e57565b60206040518083038186803b1580156106c757600080fd5b505afa1580156106db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ff9190610cf4565b1161073f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073690610ec4565b60405180910390fd5b600061075660015484610a4d90919063ffffffff16565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610793929190610e9b565b602060405180830381600087803b1580156107ad57600080fd5b505af11580156107c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e59190610c9a565b507fa3a187cfc249a33f6c4046e8d418886eea8564f9dd214a32aa5ba08d9602b5433382604051610817929190610e9b565b60405180910390a1505050565b61082c610909565b61085d8282600081811061084357610842611098565b5b90506020020160208101906108589190610c20565b610a63565b5050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61088d610909565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156108fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f490610ee4565b60405180910390fd5b61090681610987565b50565b610911610b6e565b73ffffffffffffffffffffffffffffffffffffffff1661092f6102cb565b73ffffffffffffffffffffffffffffffffffffffff1614610985576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097c90610f24565b60405180910390fd5b565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183610a5b9190610ff0565b905092915050565b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610af2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae990610f84565b60405180910390fd5b7f24b80abab34e4313f6fa818b4b740b32c9c113adccd46db535dbc92567953cdf3382604051610b23929190610e72565b60405180910390a1806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b600081359050610b858161130c565b92915050565b60008083601f840112610ba157610ba06110cc565b5b8235905067ffffffffffffffff811115610bbe57610bbd6110c7565b5b602083019150836020820283011115610bda57610bd96110d1565b5b9250929050565b600081519050610bf081611323565b92915050565b600081359050610c058161133a565b92915050565b600081519050610c1a8161133a565b92915050565b600060208284031215610c3657610c356110db565b5b6000610c4484828501610b76565b91505092915050565b60008060208385031215610c6457610c636110db565b5b600083013567ffffffffffffffff811115610c8257610c816110d6565b5b610c8e85828601610b8b565b92509250509250929050565b600060208284031215610cb057610caf6110db565b5b6000610cbe84828501610be1565b91505092915050565b600060208284031215610cdd57610cdc6110db565b5b6000610ceb84828501610bf6565b91505092915050565b600060208284031215610d0a57610d096110db565b5b6000610d1884828501610c0b565b91505092915050565b610d2a81611021565b82525050565b6000610d3d601c83610fdf565b9150610d48826110e0565b602082019050919050565b6000610d60602683610fdf565b9150610d6b82611109565b604082019050919050565b6000610d83603283610fdf565b9150610d8e82611158565b604082019050919050565b6000610da6602083610fdf565b9150610db1826111a7565b602082019050919050565b6000610dc9602483610fdf565b9150610dd4826111d0565b604082019050919050565b6000610dec602183610fdf565b9150610df78261121f565b604082019050919050565b6000610e0f603183610fdf565b9150610e1a8261126e565b604082019050919050565b6000610e32602483610fdf565b9150610e3d826112bd565b604082019050919050565b610e518161105f565b82525050565b6000602082019050610e6c6000830184610d21565b92915050565b6000604082019050610e876000830185610d21565b610e946020830184610d21565b9392505050565b6000604082019050610eb06000830185610d21565b610ebd6020830184610e48565b9392505050565b60006020820190508181036000830152610edd81610d30565b9050919050565b60006020820190508181036000830152610efd81610d53565b9050919050565b60006020820190508181036000830152610f1d81610d76565b9050919050565b60006020820190508181036000830152610f3d81610d99565b9050919050565b60006020820190508181036000830152610f5d81610dbc565b9050919050565b60006020820190508181036000830152610f7d81610ddf565b9050919050565b60006020820190508181036000830152610f9d81610e02565b9050919050565b60006020820190508181036000830152610fbd81610e25565b9050919050565b6000602082019050610fd96000830184610e48565b92915050565b600082825260208201905092915050565b6000610ffb8261105f565b91506110068361105f565b92508261101657611015611069565b5b828204905092915050565b600061102c8261103f565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b7f49434f3a204e6f206d6f726520746f6b656e7320666f722073616c6500000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f49434f3a206e6577207072696365206973206e6f7420646966666572656e742060008201527f66726f6d20746865206f6c642070726963650000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f49434f3a20507269636520666f72206f6e6520746f6b656e206e6f742073657460008201527f2079657400000000000000000000000000000000000000000000000000000000602082015250565b7f49434f3a20546f6b656e2061646472657373206973206e6f742073657420796560008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b7f49434f3a206e657720746f6b656e20616464726573732069732074686520736160008201527f6d6520617320746865206f6c64206f6e65000000000000000000000000000000602082015250565b7f49434f3a20416d6f756e74206861766520746f2062652062696767657220746860008201527f656e203000000000000000000000000000000000000000000000000000000000602082015250565b61131581611021565b811461132057600080fd5b50565b61132c81611033565b811461133757600080fd5b50565b6113438161105f565b811461134e57600080fd5b5056fea264697066735822122071afe347acb43f6ed177ba3d9de7350def93bee154b12174c33788b5e27d1a8764736f6c63430008070033

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
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.