MATIC Price: $1.00 (-1.00%)
Gas: 64 GWei
 

Overview

MATIC Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo0 MATIC

MATIC Value

$0.00

Sponsored

Transaction Hash
Method
Block
From
To
Value

There are no matching entries

Please try again later

Latest 1 internal transaction

Parent Txn Hash Block From To Value
203409412021-10-18 8:38:26892 days ago1634546306  Contract Creation0 MATIC
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xB3b74aF1...161Cdb871
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
standardToken

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2021-06-18
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

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



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

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

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



/*
 * @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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
 
library SafeMath {
    /**
     * @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) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @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 sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @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) {
        // 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 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts 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 mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}


/**
 * @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 () {
        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 = block.timestamp + 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(block.timestamp > _lockTime , "Contract is locked until 7 days");
        emit OwnershipTransferred(_owner, _previousOwner);
        _owner = _previousOwner;
    }
}




contract standardToken is Context, IERC20, IERC20Metadata,Ownable {
    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowances;
    bool public generatedUsingDxMint = true;
    uint256 private _totalSupply;
    bool public mintingFinishedPermanent = false;
    string private _name;
    string private _symbol;
    uint8 private _decimals;
    address public _creator;
    /**
     * @dev Sets the values for {name}, {symbol} and {decimals}.
     *
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (address creator_,string memory name_, string memory symbol_,uint8 decimals_, uint256 tokenSupply_) {
        _name = name_;
        _symbol = symbol_;
        _decimals = decimals_;
        _creator = creator_;
        
        _mint(_creator,tokenSupply_);
        mintingFinishedPermanent = true;
    }

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

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

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

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

        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(!mintingFinishedPermanent,"cant be minted anymore!");
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);
    } 

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        _balances[account] = accountBalance - amount;
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);
    }

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

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"creator_","type":"address"},{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint8","name":"decimals_","type":"uint8"},{"internalType":"uint256","name":"tokenSupply_","type":"uint256"}],"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":[],"name":"_creator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"geUnlockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"generatedUsingDxMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"time","type":"uint256"}],"name":"lock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintingFinishedPermanent","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unlock","outputs":[],"stateMutability":"nonpayable","type":"function"}]

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061012c5760003560e01c806395d89b41116100ad578063bc8bde6411610071578063bc8bde6414610262578063dd4670641461027a578063dd62ed3e1461028d578063f2fde38b146102c6578063f5eae936146102d957600080fd5b806395d89b4114610224578063a457c2d71461022c578063a69df4b51461023f578063a9059cbb14610247578063b6c523241461025a57600080fd5b806339509351116100f457806339509351146101ac57806370a08231146101bf578063715018a6146101e8578063787b1191146101f25780638da5cb5b146101ff57600080fd5b806306fdde0314610131578063095ea7b31461014f57806318160ddd1461017257806323b872dd14610184578063313ce56714610197575b600080fd5b6101396102e6565b6040516101469190610bde565b60405180910390f35b61016261015d366004610b9d565b610378565b6040519015158152602001610146565b6006545b604051908152602001610146565b610162610192366004610b62565b61038e565b600a5460405160ff9091168152602001610146565b6101626101ba366004610b9d565b610444565b6101766101cd366004610b0f565b6001600160a01b031660009081526003602052604090205490565b6101f061047b565b005b6005546101629060ff1681565b6000546001600160a01b03165b6040516001600160a01b039091168152602001610146565b6101396104dd565b61016261023a366004610b9d565b6104ec565b6101f0610587565b610162610255366004610b9d565b61068d565b600254610176565b600a5461020c9061010090046001600160a01b031681565b6101f0610288366004610bc6565b61069a565b61017661029b366004610b30565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b6101f06102d4366004610b0f565b61071f565b6007546101629060ff1681565b6060600880546102f590610c95565b80601f016020809104026020016040519081016040528092919081815260200182805461032190610c95565b801561036e5780601f106103435761010080835404028352916020019161036e565b820191906000526020600020905b81548152906001019060200180831161035157829003601f168201915b5050505050905090565b60006103853384846107f7565b50600192915050565b600061039b84848461091b565b6001600160a01b0384166000908152600460209081526040808320338452909152902054828110156104255760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61043985336104348685610c7e565b6107f7565b506001949350505050565b3360008181526004602090815260408083206001600160a01b03871684529091528120549091610385918590610434908690610c66565b6000546001600160a01b031633146104a55760405162461bcd60e51b815260040161041c90610c31565b600080546040516001600160a01b0390911690600080516020610ce7833981519152908390a3600080546001600160a01b0319169055565b6060600980546102f590610c95565b3360009081526004602090815260408083206001600160a01b03861684529091528120548281101561056e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161041c565b61057d33856104348685610c7e565b5060019392505050565b6001546001600160a01b031633146105ed5760405162461bcd60e51b815260206004820152602360248201527f596f7520646f6e27742068617665207065726d697373696f6e20746f20756e6c6044820152626f636b60e81b606482015260840161041c565b600254421161063e5760405162461bcd60e51b815260206004820152601f60248201527f436f6e7472616374206973206c6f636b656420756e74696c2037206461797300604482015260640161041c565b600154600080546040516001600160a01b039384169390911691600080516020610ce783398151915291a3600154600080546001600160a01b0319166001600160a01b03909216919091179055565b600061038533848461091b565b6000546001600160a01b031633146106c45760405162461bcd60e51b815260040161041c90610c31565b60008054600180546001600160a01b03199081166001600160a01b038416179091551690556106f38142610c66565b600255600080546040516001600160a01b0390911690600080516020610ce7833981519152908390a350565b6000546001600160a01b031633146107495760405162461bcd60e51b815260040161041c90610c31565b6001600160a01b0381166107ae5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161041c565b600080546040516001600160a01b0380851693921691600080516020610ce783398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166108595760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161041c565b6001600160a01b0382166108ba5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161041c565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661097f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161041c565b6001600160a01b0382166109e15760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161041c565b6001600160a01b03831660009081526003602052604090205481811015610a595760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161041c565b610a638282610c7e565b6001600160a01b038086166000908152600360205260408082209390935590851681529081208054849290610a99908490610c66565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610ae591815260200190565b60405180910390a350505050565b80356001600160a01b0381168114610b0a57600080fd5b919050565b600060208284031215610b20578081fd5b610b2982610af3565b9392505050565b60008060408385031215610b42578081fd5b610b4b83610af3565b9150610b5960208401610af3565b90509250929050565b600080600060608486031215610b76578081fd5b610b7f84610af3565b9250610b8d60208501610af3565b9150604084013590509250925092565b60008060408385031215610baf578182fd5b610bb883610af3565b946020939093013593505050565b600060208284031215610bd7578081fd5b5035919050565b6000602080835283518082850152825b81811015610c0a57858101830151858201604001528201610bee565b81811115610c1b5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115610c7957610c79610cd0565b500190565b600082821015610c9057610c90610cd0565b500390565b600181811c90821680610ca957607f821691505b60208210811415610cca57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0a2646970667358221220a86bc390b07bbc5282db57f2799613d6816ac620f6f420d6e756d93ad8021ff864736f6c63430008040033

Deployed Bytecode Sourcemap

12570:9900:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13619:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;15793:169;;;;;;:::i;:::-;;:::i;:::-;;;1848:14:1;;1841:22;1823:41;;1811:2;1796:18;15793:169:0;1778:92:1;14746:108:0;14834:12;;14746:108;;;7001:25:1;;;6989:2;6974:18;14746:108:0;6956:76:1;16444:422:0;;;;;;:::i;:::-;;:::i;14581:100::-;14664:9;;14581:100;;14664:9;;;;7179:36:1;;7167:2;7152:18;14581:100:0;7134:87:1;17275:215:0;;;;;;:::i;:::-;;:::i;14917:127::-;;;;;;:::i;:::-;-1:-1:-1;;;;;15018:18:0;14991:7;15018:18;;;:9;:18;;;;;;;14917:127;11230:148;;;:::i;:::-;;12774:39;;;;;;;;;10587:79;10625:7;10652:6;-1:-1:-1;;;;;10652:6:0;10587:79;;;-1:-1:-1;;;;;1639:32:1;;;1621:51;;1609:2;1594:18;10587:79:0;1576:102:1;13838:104:0;;;:::i;17993:377::-;;;;;;:::i;:::-;;:::i;12252:305::-;;;:::i;15257:175::-;;;;;;:::i;:::-;;:::i;11785:89::-;11857:9;;11785:89;;12992:23;;;;;;;;-1:-1:-1;;;;;12992:23:0;;;11950:226;;;;;;:::i;:::-;;:::i;15495:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;15611:18:0;;;15584:7;15611:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;15495:151;11533:244;;;;;;:::i;:::-;;:::i;12855:44::-;;;;;;;;;13619:100;13673:13;13706:5;13699:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13619:100;:::o;15793:169::-;15876:4;15893:39;3946:10;15916:7;15925:6;15893:8;:39::i;:::-;-1:-1:-1;15950:4:0;15793:169;;;;:::o;16444:422::-;16550:4;16567:36;16577:6;16585:9;16596:6;16567:9;:36::i;:::-;-1:-1:-1;;;;;16643:19:0;;16616:24;16643:19;;;:11;:19;;;;;;;;3946:10;16643:33;;;;;;;;16695:26;;;;16687:79;;;;-1:-1:-1;;;16687:79:0;;4306:2:1;16687:79:0;;;4288:21:1;4345:2;4325:18;;;4318:30;4384:34;4364:18;;;4357:62;-1:-1:-1;;;4435:18:1;;;4428:38;4483:19;;16687:79:0;;;;;;;;;16777:57;16786:6;3946:10;16808:25;16827:6;16808:16;:25;:::i;:::-;16777:8;:57::i;:::-;-1:-1:-1;16854:4:0;;16444:422;-1:-1:-1;;;;16444:422:0:o;17275:215::-;3946:10;17363:4;17412:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;17412:34:0;;;;;;;;;;17363:4;;17380:80;;17403:7;;17412:47;;17449:10;;17412:47;:::i;11230:148::-;10799:6;;-1:-1:-1;;;;;10799:6:0;3946:10;10799:22;10791:67;;;;-1:-1:-1;;;10791:67:0;;;;;;;:::i;:::-;11337:1:::1;11321:6:::0;;11300:40:::1;::::0;-1:-1:-1;;;;;11321:6:0;;::::1;::::0;-1:-1:-1;;;;;;;;;;;11300:40:0;11337:1;;11300:40:::1;11368:1;11351:19:::0;;-1:-1:-1;;;;;;11351:19:0::1;::::0;;11230:148::o;13838:104::-;13894:13;13927:7;13920:14;;;;;:::i;17993:377::-;3946:10;18086:4;18130:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;18130:34:0;;;;;;;;;;18183:35;;;;18175:85;;;;-1:-1:-1;;;18175:85:0;;6651:2:1;18175:85:0;;;6633:21:1;6690:2;6670:18;;;6663:30;6729:34;6709:18;;;6702:62;-1:-1:-1;;;6780:18:1;;;6773:35;6825:19;;18175:85:0;6623:227:1;18175:85:0;18271:67;3946:10;18294:7;18303:34;18322:15;18303:16;:34;:::i;18271:67::-;-1:-1:-1;18358:4:0;;17993:377;-1:-1:-1;;;17993:377:0:o;12252:305::-;12304:14;;-1:-1:-1;;;;;12304:14:0;12322:10;12304:28;12296:76;;;;-1:-1:-1;;;12296:76:0;;6247:2:1;12296:76:0;;;6229:21:1;6286:2;6266:18;;;6259:30;6325:34;6305:18;;;6298:62;-1:-1:-1;;;6376:18:1;;;6369:33;6419:19;;12296:76:0;6219:225:1;12296:76:0;12409:9;;12391:15;:27;12383:72;;;;-1:-1:-1;;;12383:72:0;;5887:2:1;12383:72:0;;;5869:21:1;5926:2;5906:18;;;5899:30;5965:33;5945:18;;;5938:61;6016:18;;12383:72:0;5859:181:1;12383:72:0;12500:14;;;12492:6;;12471:44;;-1:-1:-1;;;;;12500:14:0;;;;12492:6;;;;-1:-1:-1;;;;;;;;;;;12471:44:0;;12535:14;;;12526:23;;-1:-1:-1;;;;;;12526:23:0;-1:-1:-1;;;;;12535:14:0;;;12526:23;;;;;;12252:305::o;15257:175::-;15343:4;15360:42;3946:10;15384:9;15395:6;15360:9;:42::i;11950:226::-;10799:6;;-1:-1:-1;;;;;10799:6:0;3946:10;10799:22;10791:67;;;;-1:-1:-1;;;10791:67:0;;;;;;;:::i;:::-;12031:6:::1;::::0;;;12014:23;;-1:-1:-1;;;;;;12014:23:0;;::::1;-1:-1:-1::0;;;;;12031:6:0;::::1;12014:23;::::0;;;12048:19:::1;::::0;;12090:22:::1;12108:4:::0;12090:15:::1;:22;:::i;:::-;12078:9;:34:::0;12165:1:::1;12149:6:::0;;12128:40:::1;::::0;-1:-1:-1;;;;;12149:6:0;;::::1;::::0;-1:-1:-1;;;;;;;;;;;12128:40:0;12165:1;;12128:40:::1;11950:226:::0;:::o;11533:244::-;10799:6;;-1:-1:-1;;;;;10799:6:0;3946:10;10799:22;10791:67;;;;-1:-1:-1;;;10791:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;11622:22:0;::::1;11614:73;;;::::0;-1:-1:-1;;;11614:73:0;;3089:2:1;11614:73:0::1;::::0;::::1;3071:21:1::0;3128:2;3108:18;;;3101:30;3167:34;3147:18;;;3140:62;-1:-1:-1;;;3218:18:1;;;3211:36;3264:19;;11614:73:0::1;3061:228:1::0;11614:73:0::1;11724:6;::::0;;11703:38:::1;::::0;-1:-1:-1;;;;;11703:38:0;;::::1;::::0;11724:6;::::1;::::0;-1:-1:-1;;;;;;;;;;;11703:38:0;::::1;11752:6;:17:::0;;-1:-1:-1;;;;;;11752:17:0::1;-1:-1:-1::0;;;;;11752:17:0;;;::::1;::::0;;;::::1;::::0;;11533:244::o;21426:346::-;-1:-1:-1;;;;;21528:19:0;;21520:68;;;;-1:-1:-1;;;21520:68:0;;5482:2:1;21520:68:0;;;5464:21:1;5521:2;5501:18;;;5494:30;5560:34;5540:18;;;5533:62;-1:-1:-1;;;5611:18:1;;;5604:34;5655:19;;21520:68:0;5454:226:1;21520:68:0;-1:-1:-1;;;;;21607:21:0;;21599:68;;;;-1:-1:-1;;;21599:68:0;;3496:2:1;21599:68:0;;;3478:21:1;3535:2;3515:18;;;3508:30;3574:34;3554:18;;;3547:62;-1:-1:-1;;;3625:18:1;;;3618:32;3667:19;;21599:68:0;3468:224:1;21599:68:0;-1:-1:-1;;;;;21680:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;21732:32;;7001:25:1;;;21732:32:0;;6974:18:1;21732:32:0;;;;;;;21426:346;;;:::o;18860:604::-;-1:-1:-1;;;;;18966:20:0;;18958:70;;;;-1:-1:-1;;;18958:70:0;;5076:2:1;18958:70:0;;;5058:21:1;5115:2;5095:18;;;5088:30;5154:34;5134:18;;;5127:62;-1:-1:-1;;;5205:18:1;;;5198:35;5250:19;;18958:70:0;5048:227:1;18958:70:0;-1:-1:-1;;;;;19047:23:0;;19039:71;;;;-1:-1:-1;;;19039:71:0;;2685:2:1;19039:71:0;;;2667:21:1;2724:2;2704:18;;;2697:30;2763:34;2743:18;;;2736:62;-1:-1:-1;;;2814:18:1;;;2807:33;2857:19;;19039:71:0;2657:225:1;19039:71:0;-1:-1:-1;;;;;19207:17:0;;19183:21;19207:17;;;:9;:17;;;;;;19243:23;;;;19235:74;;;;-1:-1:-1;;;19235:74:0;;3899:2:1;19235:74:0;;;3881:21:1;3938:2;3918:18;;;3911:30;3977:34;3957:18;;;3950:62;-1:-1:-1;;;4028:18:1;;;4021:36;4074:19;;19235:74:0;3871:228:1;19235:74:0;19340:22;19356:6;19340:13;:22;:::i;:::-;-1:-1:-1;;;;;19320:17:0;;;;;;;:9;:17;;;;;;:42;;;;19373:20;;;;;;;;:30;;19397:6;;19320:17;19373:30;;19397:6;;19373:30;:::i;:::-;;;;;;;;19438:9;-1:-1:-1;;;;;19421:35:0;19430:6;-1:-1:-1;;;;;19421:35:0;;19449:6;19421:35;;;;7001:25:1;;6989:2;6974:18;;6956:76;19421:35:0;;;;;;;;18860:604;;;;:::o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;111:2;63:124;;;:::o;192:196::-;251:6;304:2;292:9;283:7;279:23;275:32;272:2;;;325:6;317;310:22;272:2;353:29;372:9;353:29;:::i;:::-;343:39;262:126;-1:-1:-1;;;262:126:1:o;393:270::-;461:6;469;522:2;510:9;501:7;497:23;493:32;490:2;;;543:6;535;528:22;490:2;571:29;590:9;571:29;:::i;:::-;561:39;;619:38;653:2;642:9;638:18;619:38;:::i;:::-;609:48;;480:183;;;;;:::o;668:338::-;745:6;753;761;814:2;802:9;793:7;789:23;785:32;782:2;;;835:6;827;820:22;782:2;863:29;882:9;863:29;:::i;:::-;853:39;;911:38;945:2;934:9;930:18;911:38;:::i;:::-;901:48;;996:2;985:9;981:18;968:32;958:42;;772:234;;;;;:::o;1011:264::-;1079:6;1087;1140:2;1128:9;1119:7;1115:23;1111:32;1108:2;;;1161:6;1153;1146:22;1108:2;1189:29;1208:9;1189:29;:::i;:::-;1179:39;1265:2;1250:18;;;;1237:32;;-1:-1:-1;;;1098:177:1:o;1280:190::-;1339:6;1392:2;1380:9;1371:7;1367:23;1363:32;1360:2;;;1413:6;1405;1398:22;1360:2;-1:-1:-1;1441:23:1;;1350:120;-1:-1:-1;1350:120:1:o;1875:603::-;1987:4;2016:2;2045;2034:9;2027:21;2077:6;2071:13;2120:6;2115:2;2104:9;2100:18;2093:34;2145:4;2158:140;2172:6;2169:1;2166:13;2158:140;;;2267:14;;;2263:23;;2257:30;2233:17;;;2252:2;2229:26;2222:66;2187:10;;2158:140;;;2316:6;2313:1;2310:13;2307:2;;;2386:4;2381:2;2372:6;2361:9;2357:22;2353:31;2346:45;2307:2;-1:-1:-1;2462:2:1;2441:15;-1:-1:-1;;2437:29:1;2422:45;;;;2469:2;2418:54;;1996:482;-1:-1:-1;;;1996:482:1:o;4513:356::-;4715:2;4697:21;;;4734:18;;;4727:30;4793:34;4788:2;4773:18;;4766:62;4860:2;4845:18;;4687:182::o;7226:128::-;7266:3;7297:1;7293:6;7290:1;7287:13;7284:2;;;7303:18;;:::i;:::-;-1:-1:-1;7339:9:1;;7274:80::o;7359:125::-;7399:4;7427:1;7424;7421:8;7418:2;;;7432:18;;:::i;:::-;-1:-1:-1;7469:9:1;;7408:76::o;7489:380::-;7568:1;7564:12;;;;7611;;;7632:2;;7686:4;7678:6;7674:17;7664:27;;7632:2;7739;7731:6;7728:14;7708:18;7705:38;7702:2;;;7785:10;7780:3;7776:20;7773:1;7766:31;7820:4;7817:1;7810:15;7848:4;7845:1;7838:15;7702:2;;7544:325;;;:::o;7874:127::-;7935:10;7930:3;7926:20;7923:1;7916:31;7966:4;7963:1;7956:15;7990:4;7987:1;7980:15

Swarm Source

ipfs://a86bc390b07bbc5282db57f2799613d6816ac620f6f420d6e756d93ad8021ff8

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

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ 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.