ETH Price: $3,310.91 (+2.67%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve181004462023-09-09 17:53:35502 days ago1694282015IN
0xe96a070E...8847315Db
0 ETH0.000462779.9457098
Approve180563172023-09-03 13:38:59508 days ago1693748339IN
0xe96a070E...8847315Db
0 ETH0.0005573111.97760822
Approve180393072023-09-01 4:25:59510 days ago1693542359IN
0xe96a070E...8847315Db
0 ETH0.0005056610.86757177
Blacklist180389632023-09-01 3:16:47511 days ago1693538207IN
0xe96a070E...8847315Db
0 ETH0.0002916911.89483666
Approve180389502023-09-01 3:14:11511 days ago1693538051IN
0xe96a070E...8847315Db
0 ETH0.0008191917.68324478
Blacklist180389442023-09-01 3:12:59511 days ago1693537979IN
0xe96a070E...8847315Db
0 ETH0.0005003610.77555902
Blacklist180389192023-09-01 3:07:59511 days ago1693537679IN
0xe96a070E...8847315Db
0 ETH0.0005355511.5334214
Transfer180389182023-09-01 3:07:47511 days ago1693537667IN
0xe96a070E...8847315Db
0 ETH0.0007526812.95078078
Blacklist180389122023-09-01 3:06:35511 days ago1693537595IN
0xe96a070E...8847315Db
0 ETH0.0004876410.50170929
Transfer180389022023-09-01 3:04:35511 days ago1693537475IN
0xe96a070E...8847315Db
0 ETH0.0007390512.71355298
Transfer180388852023-09-01 3:01:11511 days ago1693537271IN
0xe96a070E...8847315Db
0 ETH0.0006538511.24799142
Blacklist180388842023-09-01 3:00:59511 days ago1693537259IN
0xe96a070E...8847315Db
0 ETH0.0005306111.42696271
Blacklist180388692023-09-01 2:57:59511 days ago1693537079IN
0xe96a070E...8847315Db
0 ETH0.0006556714.12038035
Transfer180387482023-09-01 2:33:23511 days ago1693535603IN
0xe96a070E...8847315Db
0 ETH0.0008198614.10381976
Transfer180387442023-09-01 2:32:35511 days ago1693535555IN
0xe96a070E...8847315Db
0 ETH0.000751212.92269851
Lock NFT180387082023-09-01 2:25:23511 days ago1693535123IN
0xe96a070E...8847315Db
0 ETH0.0017582510.7366215
Transfer180386652023-09-01 2:16:47511 days ago1693534607IN
0xe96a070E...8847315Db
0 ETH0.0007367912.6773003
Approve180386342023-09-01 2:10:23511 days ago1693534223IN
0xe96a070E...8847315Db
0 ETH0.0006201413.32781139
Approve180386272023-09-01 2:08:59511 days ago1693534139IN
0xe96a070E...8847315Db
0 ETH0.0005502111.88944858
Approve180386262023-09-01 2:08:47511 days ago1693534127IN
0xe96a070E...8847315Db
0 ETH0.0028692362
Approve180386222023-09-01 2:07:59511 days ago1693534079IN
0xe96a070E...8847315Db
0 ETH0.0006408613.773178
Approve180386212023-09-01 2:07:47511 days ago1693534067IN
0xe96a070E...8847315Db
0 ETH0.0005220911.22057217
Approve180386212023-09-01 2:07:47511 days ago1693534067IN
0xe96a070E...8847315Db
0 ETH0.0012169526.12057217
Transfer180386202023-09-01 2:07:35511 days ago1693534055IN
0xe96a070E...8847315Db
0 ETH0.0006257311.73563692
Approve180386162023-09-01 2:06:47511 days ago1693534007IN
0xe96a070E...8847315Db
0 ETH0.0006539214.1120753
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BojackMemeToken

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 10 : BojackMemeToken.sol
// https://bojackhorseman.fun

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

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "./Lock.sol";

contract BojackMemeToken is Ownable, ERC20, Lock {
    uint256 public maxHoldingAmount;
    address public uniswapPair;
    mapping(address => bool) public blacklists;

    constructor() ERC20("Bojack HorseMan", "BOJACK") {
        uint256 _totalSupply = (10**decimals())*10000000000;
        _mint(msg.sender, _totalSupply);
    }

    function setConfig(address _uniswapPair, uint256 _maxHoldingAmount) external onlyOwner {
        uniswapPair = _uniswapPair;
        maxHoldingAmount = _maxHoldingAmount;
    }

    function _checkCreator() override internal view virtual {
        _checkOwner();
    }

    function blacklist(address _address, bool _isBlacklisting) external onlyOwner {
        blacklists[_address] = _isBlacklisting;
    }

    function _beforeTokenTransfer(address from, address to, uint256 amount) override internal virtual {
        require(!blacklists[from] && !blacklists[to], "BOJACK: Blacklisted");

        if (maxHoldingAmount > 0 && from == uniswapPair) {
            require(super.balanceOf(to) + amount <= maxHoldingAmount, "BOJACK: Forbid");
        }
    }

    function burn(uint256 amount) external {
        _burn(_msgSender(), amount);
    }
}

File 2 of 10 : Lock.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";

contract Lock is IERC721Receiver {
    uint256 public lockTime;
    address public nftAddress;

    event LockNFT(uint256 tokenId,address user);
    event UnlockNFT(uint256 tokenId,address user);

    function onERC721Received(
        address,
        address,
        uint256,
        bytes memory 
    ) external virtual override returns (bytes4) {
        return this.onERC721Received.selector;
    }

    modifier onlyCreator() {
        _checkCreator();
        _;
    }

    function _checkCreator() internal view virtual {}

    function lockNFT(address _nftAddress, uint256 tokenId) external onlyCreator {

        require(IERC721(_nftAddress).getApproved(tokenId) == address(this), "LOCK: Caller is not approved");

        IERC721(_nftAddress).safeTransferFrom(msg.sender, address(this), tokenId);

        if (lockTime==0) {
            lockTime = block.timestamp + 365*24*3600;
        }

        nftAddress = _nftAddress;

        emit LockNFT(tokenId, msg.sender);
    }

    function unlockNFT(uint256 tokenId) external onlyCreator {
        require(nftAddress != address(0), "LOCK: unlock nothing");
        require(lockTime > 0 && lockTime < block.timestamp, "LOCK: lock time");

        IERC721(nftAddress).safeTransferFrom(address(this), msg.sender, tokenId);
        emit UnlockNFT(tokenId, msg.sender);
    }
}

File 3 of 10 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @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 default value returned by this function, unless
     * it's 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 18;
    }

    /**
     * @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:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, 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}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, 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}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, 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) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, 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) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This 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:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(address from, address to, uint256 amount) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, 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(account != address(0), "ERC20: mint to the zero address");

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

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(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");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

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

        _afterTokenTransfer(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 Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - 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 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 {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}

File 4 of 10 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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);
    }
}

File 5 of 10 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 6 of 10 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}

File 7 of 10 : Context.sol
// 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;
    }
}

File 8 of 10 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

File 9 of 10 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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);
}

File 10 of 10 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"user","type":"address"}],"name":"LockNFT","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"user","type":"address"}],"name":"UnlockNFT","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_isBlacklisting","type":"bool"}],"name":"blacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"blacklists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_nftAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"lockNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxHoldingAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_uniswapPair","type":"address"},{"internalType":"uint256","name":"_maxHoldingAmount","type":"uint256"}],"name":"setConfig","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":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","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":"uniswapPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"unlockNFT","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040518060400160405280600f81526020016e2137b530b1b5902437b939b2a6b0b760891b81525060405180604001604052806006815260200165424f4a41434b60d01b815250620000736200006d620000d860201b60201c565b620000dc565b6004620000818382620003d9565b506005620000908282620003d9565b5050506000620000a56200012c60201b60201c565b620000b290600a620005ba565b620000c3906402540be400620005d2565b9050620000d1338262000131565b5062000602565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b601290565b6001600160a01b0382166200018d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b6200019b6000838362000208565b8060036000828254620001af9190620005ec565b90915550506001600160a01b0382166000818152600160209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b0383166000908152600a602052604090205460ff161580156200024b57506001600160a01b0382166000908152600a602052604090205460ff16155b620002995760405162461bcd60e51b815260206004820152601360248201527f424f4a41434b3a20426c61636b6c697374656400000000000000000000000000604482015260640162000184565b6000600854118015620002b957506009546001600160a01b038481169116145b15620003305760085481620002e3846001600160a01b031660009081526001602052604090205490565b620002ef9190620005ec565b1115620003305760405162461bcd60e51b815260206004820152600e60248201526d1093d29050d2ce88119bdc989a5960921b604482015260640162000184565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200036057607f821691505b6020821081036200038157634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200033057600081815260208120601f850160051c81016020861015620003b05750805b601f850160051c820191505b81811015620003d157828155600101620003bc565b505050505050565b81516001600160401b03811115620003f557620003f562000335565b6200040d816200040684546200034b565b8462000387565b602080601f8311600181146200044557600084156200042c5750858301515b600019600386901b1c1916600185901b178555620003d1565b600085815260208120601f198616915b82811015620004765788860151825594840194600190910190840162000455565b5085821015620004955787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620004fc578160001904821115620004e057620004e0620004a5565b80851615620004ee57918102915b93841c9390800290620004c0565b509250929050565b6000826200051557506001620005b4565b816200052457506000620005b4565b81600181146200053d5760028114620005485762000568565b6001915050620005b4565b60ff8411156200055c576200055c620004a5565b50506001821b620005b4565b5060208310610133831016604e8410600b84101617156200058d575081810a620005b4565b620005998383620004bb565b8060001904821115620005b057620005b0620004a5565b0290505b92915050565b6000620005cb60ff84168362000504565b9392505050565b8082028115828204841417620005b457620005b4620004a5565b80820180821115620005b457620005b4620004a5565b6112b880620006126000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c80635bf8633a116100de578063a457c2d711610097578063c816841b11610071578063c816841b14610359578063dd62ed3e1461036c578063f2fde38b1461037f578063f826276c1461039257600080fd5b8063a457c2d714610320578063a9059cbb14610333578063c6195d361461034657600080fd5b80635bf8633a146102a257806370a08231146102cd578063715018a6146102f657806389f9a1d3146102fe5780638da5cb5b1461030757806395d89b411461031857600080fd5b806323b872dd1161013057806323b872dd14610232578063313ce5671461024557806339509351146102545780633a40491714610267578063404e51291461027c57806342966c681461028f57600080fd5b806306fdde0314610178578063095ea7b3146101965780630d668087146101b9578063150b7a02146101d057806316c021291461020757806318160ddd1461022a575b600080fd5b6101806103a5565b60405161018d9190610f9b565b60405180910390f35b6101a96101a4366004610ffe565b610437565b604051901515815260200161018d565b6101c260065481565b60405190815260200161018d565b6101ee6101de366004611040565b630a85bd0160e11b949350505050565b6040516001600160e01b0319909116815260200161018d565b6101a9610215366004611120565b600a6020526000908152604090205460ff1681565b6003546101c2565b6101a9610240366004611144565b610451565b6040516012815260200161018d565b6101a9610262366004610ffe565b610475565b61027a610275366004610ffe565b610497565b005b61027a61028a366004611185565b61063e565b61027a61029d3660046111c3565b610671565b6007546102b5906001600160a01b031681565b6040516001600160a01b03909116815260200161018d565b6101c26102db366004611120565b6001600160a01b031660009081526001602052604090205490565b61027a61067e565b6101c260085481565b6000546001600160a01b03166102b5565b610180610692565b6101a961032e366004610ffe565b6106a1565b6101a9610341366004610ffe565b61071c565b61027a610354366004610ffe565b61072a565b6009546102b5906001600160a01b031681565b6101c261037a3660046111dc565b610758565b61027a61038d366004611120565b610783565b61027a6103a03660046111c3565b6107f9565b6060600480546103b49061120a565b80601f01602080910402602001604051908101604052809291908181526020018280546103e09061120a565b801561042d5780601f106104025761010080835404028352916020019161042d565b820191906000526020600020905b81548152906001019060200180831161041057829003601f168201915b5050505050905090565b600033610445818585610947565b60019150505b92915050565b60003361045f858285610a6c565b61046a858585610ae6565b506001949350505050565b6000336104458185856104888383610758565b6104929190611244565b610947565b61049f610c9c565b60405163020604bf60e21b81526004810182905230906001600160a01b0384169063081812fc90602401602060405180830381865afa1580156104e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050a9190611265565b6001600160a01b0316146105655760405162461bcd60e51b815260206004820152601c60248201527f4c4f434b3a2043616c6c6572206973206e6f7420617070726f7665640000000060448201526064015b60405180910390fd5b604051632142170760e11b8152336004820152306024820152604481018290526001600160a01b038316906342842e0e90606401600060405180830381600087803b1580156105b357600080fd5b505af11580156105c7573d6000803e3d6000fd5b505050506006546000036105e7576105e3426301e13380611244565b6006555b600780546001600160a01b0319166001600160a01b038416179055604080518281523360208201527f1f52fe88d791dc79611e616d0d6c4a7b63bdf74cae312d4d73a33c639caa1756910160405180910390a15050565b610646610ca0565b6001600160a01b03919091166000908152600a60205260409020805460ff1916911515919091179055565b61067b3382610cfa565b50565b610686610ca0565b6106906000610e37565b565b6060600580546103b49061120a565b600033816106af8286610758565b90508381101561070f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161055c565b61046a8286868403610947565b600033610445818585610ae6565b610732610ca0565b600980546001600160a01b0319166001600160a01b039390931692909217909155600855565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b61078b610ca0565b6001600160a01b0381166107f05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161055c565b61067b81610e37565b610801610c9c565b6007546001600160a01b03166108505760405162461bcd60e51b81526020600482015260146024820152734c4f434b3a20756e6c6f636b206e6f7468696e6760601b604482015260640161055c565b6000600654118015610863575042600654105b6108a15760405162461bcd60e51b815260206004820152600f60248201526e4c4f434b3a206c6f636b2074696d6560881b604482015260640161055c565b600754604051632142170760e11b8152306004820152336024820152604481018390526001600160a01b03909116906342842e0e90606401600060405180830381600087803b1580156108f357600080fd5b505af1158015610907573d6000803e3d6000fd5b5050604080518481523360208201527fcf59aa693cd46581a7dcbd34b1b120e71dff5f32913025630ba557d049c933e3935001905060405180910390a150565b6001600160a01b0383166109a95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161055c565b6001600160a01b038216610a0a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161055c565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6000610a788484610758565b90506000198114610ae05781811015610ad35760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161055c565b610ae08484848403610947565b50505050565b6001600160a01b038316610b4a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161055c565b6001600160a01b038216610bac5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161055c565b610bb7838383610e87565b6001600160a01b03831660009081526001602052604090205481811015610c2f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161055c565b6001600160a01b0380851660008181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610c8f9086815260200190565b60405180910390a3610ae0565b6106905b6000546001600160a01b031633146106905760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161055c565b6001600160a01b038216610d5a5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161055c565b610d6682600083610e87565b6001600160a01b03821660009081526001602052604090205481811015610dda5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161055c565b6001600160a01b03831660008181526001602090815260408083208686039055600380548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610a5f565b505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0383166000908152600a602052604090205460ff16158015610ec957506001600160a01b0382166000908152600a602052604090205460ff16155b610f0b5760405162461bcd60e51b81526020600482015260136024820152721093d29050d2ce88109b1858dadb1a5cdd1959606a1b604482015260640161055c565b6000600854118015610f2a57506009546001600160a01b038481169116145b15610e325760085481610f52846001600160a01b031660009081526001602052604090205490565b610f5c9190611244565b1115610e325760405162461bcd60e51b815260206004820152600e60248201526d1093d29050d2ce88119bdc989a5960921b604482015260640161055c565b600060208083528351808285015260005b81811015610fc857858101830151858201604001528201610fac565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461067b57600080fd5b6000806040838503121561101157600080fd5b823561101c81610fe9565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561105657600080fd5b843561106181610fe9565b9350602085013561107181610fe9565b925060408501359150606085013567ffffffffffffffff8082111561109557600080fd5b818701915087601f8301126110a957600080fd5b8135818111156110bb576110bb61102a565b604051601f8201601f19908116603f011681019083821181831017156110e3576110e361102a565b816040528281528a60208487010111156110fc57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60006020828403121561113257600080fd5b813561113d81610fe9565b9392505050565b60008060006060848603121561115957600080fd5b833561116481610fe9565b9250602084013561117481610fe9565b929592945050506040919091013590565b6000806040838503121561119857600080fd5b82356111a381610fe9565b9150602083013580151581146111b857600080fd5b809150509250929050565b6000602082840312156111d557600080fd5b5035919050565b600080604083850312156111ef57600080fd5b82356111fa81610fe9565b915060208301356111b881610fe9565b600181811c9082168061121e57607f821691505b60208210810361123e57634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561044b57634e487b7160e01b600052601160045260246000fd5b60006020828403121561127757600080fd5b815161113d81610fe956fea264697066735822122004d5a748151b41fc1d28780407086bfe430848d9ef4ede1051528b9472fa469364736f6c63430008130033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101735760003560e01c80635bf8633a116100de578063a457c2d711610097578063c816841b11610071578063c816841b14610359578063dd62ed3e1461036c578063f2fde38b1461037f578063f826276c1461039257600080fd5b8063a457c2d714610320578063a9059cbb14610333578063c6195d361461034657600080fd5b80635bf8633a146102a257806370a08231146102cd578063715018a6146102f657806389f9a1d3146102fe5780638da5cb5b1461030757806395d89b411461031857600080fd5b806323b872dd1161013057806323b872dd14610232578063313ce5671461024557806339509351146102545780633a40491714610267578063404e51291461027c57806342966c681461028f57600080fd5b806306fdde0314610178578063095ea7b3146101965780630d668087146101b9578063150b7a02146101d057806316c021291461020757806318160ddd1461022a575b600080fd5b6101806103a5565b60405161018d9190610f9b565b60405180910390f35b6101a96101a4366004610ffe565b610437565b604051901515815260200161018d565b6101c260065481565b60405190815260200161018d565b6101ee6101de366004611040565b630a85bd0160e11b949350505050565b6040516001600160e01b0319909116815260200161018d565b6101a9610215366004611120565b600a6020526000908152604090205460ff1681565b6003546101c2565b6101a9610240366004611144565b610451565b6040516012815260200161018d565b6101a9610262366004610ffe565b610475565b61027a610275366004610ffe565b610497565b005b61027a61028a366004611185565b61063e565b61027a61029d3660046111c3565b610671565b6007546102b5906001600160a01b031681565b6040516001600160a01b03909116815260200161018d565b6101c26102db366004611120565b6001600160a01b031660009081526001602052604090205490565b61027a61067e565b6101c260085481565b6000546001600160a01b03166102b5565b610180610692565b6101a961032e366004610ffe565b6106a1565b6101a9610341366004610ffe565b61071c565b61027a610354366004610ffe565b61072a565b6009546102b5906001600160a01b031681565b6101c261037a3660046111dc565b610758565b61027a61038d366004611120565b610783565b61027a6103a03660046111c3565b6107f9565b6060600480546103b49061120a565b80601f01602080910402602001604051908101604052809291908181526020018280546103e09061120a565b801561042d5780601f106104025761010080835404028352916020019161042d565b820191906000526020600020905b81548152906001019060200180831161041057829003601f168201915b5050505050905090565b600033610445818585610947565b60019150505b92915050565b60003361045f858285610a6c565b61046a858585610ae6565b506001949350505050565b6000336104458185856104888383610758565b6104929190611244565b610947565b61049f610c9c565b60405163020604bf60e21b81526004810182905230906001600160a01b0384169063081812fc90602401602060405180830381865afa1580156104e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050a9190611265565b6001600160a01b0316146105655760405162461bcd60e51b815260206004820152601c60248201527f4c4f434b3a2043616c6c6572206973206e6f7420617070726f7665640000000060448201526064015b60405180910390fd5b604051632142170760e11b8152336004820152306024820152604481018290526001600160a01b038316906342842e0e90606401600060405180830381600087803b1580156105b357600080fd5b505af11580156105c7573d6000803e3d6000fd5b505050506006546000036105e7576105e3426301e13380611244565b6006555b600780546001600160a01b0319166001600160a01b038416179055604080518281523360208201527f1f52fe88d791dc79611e616d0d6c4a7b63bdf74cae312d4d73a33c639caa1756910160405180910390a15050565b610646610ca0565b6001600160a01b03919091166000908152600a60205260409020805460ff1916911515919091179055565b61067b3382610cfa565b50565b610686610ca0565b6106906000610e37565b565b6060600580546103b49061120a565b600033816106af8286610758565b90508381101561070f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161055c565b61046a8286868403610947565b600033610445818585610ae6565b610732610ca0565b600980546001600160a01b0319166001600160a01b039390931692909217909155600855565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b61078b610ca0565b6001600160a01b0381166107f05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161055c565b61067b81610e37565b610801610c9c565b6007546001600160a01b03166108505760405162461bcd60e51b81526020600482015260146024820152734c4f434b3a20756e6c6f636b206e6f7468696e6760601b604482015260640161055c565b6000600654118015610863575042600654105b6108a15760405162461bcd60e51b815260206004820152600f60248201526e4c4f434b3a206c6f636b2074696d6560881b604482015260640161055c565b600754604051632142170760e11b8152306004820152336024820152604481018390526001600160a01b03909116906342842e0e90606401600060405180830381600087803b1580156108f357600080fd5b505af1158015610907573d6000803e3d6000fd5b5050604080518481523360208201527fcf59aa693cd46581a7dcbd34b1b120e71dff5f32913025630ba557d049c933e3935001905060405180910390a150565b6001600160a01b0383166109a95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161055c565b6001600160a01b038216610a0a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161055c565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6000610a788484610758565b90506000198114610ae05781811015610ad35760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161055c565b610ae08484848403610947565b50505050565b6001600160a01b038316610b4a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161055c565b6001600160a01b038216610bac5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161055c565b610bb7838383610e87565b6001600160a01b03831660009081526001602052604090205481811015610c2f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161055c565b6001600160a01b0380851660008181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610c8f9086815260200190565b60405180910390a3610ae0565b6106905b6000546001600160a01b031633146106905760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161055c565b6001600160a01b038216610d5a5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161055c565b610d6682600083610e87565b6001600160a01b03821660009081526001602052604090205481811015610dda5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161055c565b6001600160a01b03831660008181526001602090815260408083208686039055600380548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610a5f565b505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0383166000908152600a602052604090205460ff16158015610ec957506001600160a01b0382166000908152600a602052604090205460ff16155b610f0b5760405162461bcd60e51b81526020600482015260136024820152721093d29050d2ce88109b1858dadb1a5cdd1959606a1b604482015260640161055c565b6000600854118015610f2a57506009546001600160a01b038481169116145b15610e325760085481610f52846001600160a01b031660009081526001602052604090205490565b610f5c9190611244565b1115610e325760405162461bcd60e51b815260206004820152600e60248201526d1093d29050d2ce88119bdc989a5960921b604482015260640161055c565b600060208083528351808285015260005b81811015610fc857858101830151858201604001528201610fac565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461067b57600080fd5b6000806040838503121561101157600080fd5b823561101c81610fe9565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561105657600080fd5b843561106181610fe9565b9350602085013561107181610fe9565b925060408501359150606085013567ffffffffffffffff8082111561109557600080fd5b818701915087601f8301126110a957600080fd5b8135818111156110bb576110bb61102a565b604051601f8201601f19908116603f011681019083821181831017156110e3576110e361102a565b816040528281528a60208487010111156110fc57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60006020828403121561113257600080fd5b813561113d81610fe9565b9392505050565b60008060006060848603121561115957600080fd5b833561116481610fe9565b9250602084013561117481610fe9565b929592945050506040919091013590565b6000806040838503121561119857600080fd5b82356111a381610fe9565b9150602083013580151581146111b857600080fd5b809150509250929050565b6000602082840312156111d557600080fd5b5035919050565b600080604083850312156111ef57600080fd5b82356111fa81610fe9565b915060208301356111b881610fe9565b600181811c9082168061121e57607f821691505b60208210810361123e57634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561044b57634e487b7160e01b600052601160045260246000fd5b60006020828403121561127757600080fd5b815161113d81610fe956fea264697066735822122004d5a748151b41fc1d28780407086bfe430848d9ef4ede1051528b9472fa469364736f6c63430008130033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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