ETH Price: $3,590.63 (+3.74%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve189112382024-01-01 7:54:47368 days ago1704095687IN
0x7D608CfA...03Fb43C21
0 ETH0.000227549.39302971
Approve186500952023-11-25 17:07:23405 days ago1700932043IN
0x7D608CfA...03Fb43C21
0 ETH0.0007045129.0103986
Approve185019202023-11-04 23:24:11426 days ago1699140251IN
0x7D608CfA...03Fb43C21
0 ETH0.0007326630.16941202
Approve183977622023-10-21 9:22:23440 days ago1697880143IN
0x7D608CfA...03Fb43C21
0 ETH0.000180376.86228512
Approve183977572023-10-21 9:21:23440 days ago1697880083IN
0x7D608CfA...03Fb43C21
0 ETH0.000174627.19053099
Approve181456802023-09-16 2:13:59475 days ago1694830439IN
0x7D608CfA...03Fb43C21
0 ETH0.000215118.85801332
Approve176422902023-07-07 13:41:47546 days ago1688737307IN
0x7D608CfA...03Fb43C21
0 ETH0.0014248630.75530795
Approve174410672023-06-09 7:00:59574 days ago1686294059IN
0x7D608CfA...03Fb43C21
0 ETH0.0010072521.65715227
Approve171773242023-05-03 2:44:47611 days ago1683081887IN
0x7D608CfA...03Fb43C21
0 ETH0.0032748970.41411664
Approve171584592023-04-30 11:06:59614 days ago1682852819IN
0x7D608CfA...03Fb43C21
0 ETH0.0015722233.76129246
Approve171533552023-04-29 17:54:47615 days ago1682790887IN
0x7D608CfA...03Fb43C21
0 ETH0.0009161737.72614804
Approve170539882023-04-15 17:51:47629 days ago1681581107IN
0x7D608CfA...03Fb43C21
0 ETH0.0011521124.74003109
Approve170091092023-04-09 6:53:59635 days ago1681023239IN
0x7D608CfA...03Fb43C21
0 ETH0.000548822.59847933
Approve169735002023-04-04 5:32:23640 days ago1680586343IN
0x7D608CfA...03Fb43C21
0 ETH0.001350529
Approve169369502023-03-30 1:59:47645 days ago1680141587IN
0x7D608CfA...03Fb43C21
0 ETH0.0015307232.86997231
Approve168117232023-03-12 11:43:11663 days ago1678621391IN
0x7D608CfA...03Fb43C21
0 ETH0.0008044617.29707484
Approve166989722023-02-24 15:06:11679 days ago1677251171IN
0x7D608CfA...03Fb43C21
0 ETH0.0008575935.3135736
Approve166149762023-02-12 20:09:59691 days ago1676232599IN
0x7D608CfA...03Fb43C21
0 ETH0.0010107921.73325602
Approve166125542023-02-12 12:02:47691 days ago1676203367IN
0x7D608CfA...03Fb43C21
0 ETH0.0008672618.64724842
Approve166090672023-02-12 0:21:59692 days ago1676161319IN
0x7D608CfA...03Fb43C21
0 ETH0.0007342915.78832257
Approve165709942023-02-06 16:38:59697 days ago1675701539IN
0x7D608CfA...03Fb43C21
0 ETH0.0009209137.92108632
Approve165202072023-01-30 14:21:59704 days ago1675088519IN
0x7D608CfA...03Fb43C21
0 ETH0.0005597123.04771431
Approve164581412023-01-21 22:23:47713 days ago1674339827IN
0x7D608CfA...03Fb43C21
0 ETH0.0007835516.84734734
Approve164535702023-01-21 7:05:59713 days ago1674284759IN
0x7D608CfA...03Fb43C21
0 ETH0.0004037216.62438773
Approve163764892023-01-10 12:44:59724 days ago1673354699IN
0x7D608CfA...03Fb43C21
0 ETH0.0004377918.02727043
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:
BlockifyGamesToken

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 8 : BlockifyGamesToken.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;

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

contract BlockifyGamesToken is ERC20, Ownable {
    bool private _enableGateKeeper;
    bool private _tradingEnabled;
    bool private _enableTransactionLimit;
    IERC1155 private _gateKeeperCollection;
    uint256 private _gateKeeperNftId;
    uint256 private _gateKeeperNftAmount;
    uint256 private _gateKeeperMaxTokenAmount;
    address private _deployer;
    mapping(address => uint256) private _lastBuyBlock;

    constructor()
    ERC20(
        "Blockify.Games",
        "BLOCKIFY"
    ) {
        _deployer = msg.sender;

        _mint(
            msg.sender,
            1_000_000_000_000 ether
        );

        // Shortly after our initial launch, we will disable the gatekeeper and turn this into a regular, vanilla ERC20 token.
        // Once disabled, there is no way to turn it back on...
        _enableGateKeeper = true;

        // This allows us to test the contract after adding liquidity, without people actually buying things (in case we get something wrong)
        // Once trading is enabled, it can never be disabled again.
        _tradingEnabled = false;

        _enableTransactionLimit = true;
    }

    function isTradingEnabled() public view returns (bool) {
        return _tradingEnabled;
    }

    function isGateKeeperEnabled() public view returns (bool) {
        return _enableGateKeeper && _gateKeeperNftId != 0;
    }

    function isGateKeeperPermanentlyDisabled() public view returns (bool) {
        return !_enableGateKeeper;
    }

    function enableTrading() public onlyOwner {
        _tradingEnabled = true;
    }

    function permanentlyDisableTransactionLimit() public onlyOwner {
        _enableTransactionLimit = false;
    }

    function permanentlyDisarmUniswapGateKeeper() public onlyOwner {
        _enableGateKeeper = false;
    }

    function setupGateKeeper(IERC1155 collection, uint256 nftId, uint256 nftAmount, uint256 maxTokenAmount) public onlyOwner {
        if (collection == IERC1155(address(0))) {
            require(nftId == 0);
            require(nftAmount == 0);
            require(maxTokenAmount == 0);
        } else {
            require(nftId > 0);
            require(nftAmount > 0);
            require(maxTokenAmount > 0);
        }

        _gateKeeperCollection = collection;
        _gateKeeperNftId = nftId;
        _gateKeeperNftAmount = nftAmount;
        _gateKeeperMaxTokenAmount = maxTokenAmount;
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal override {

        require(_tradingEnabled || from == _deployer || to == _deployer, "Trading is not enabled yet. Refer to our Telegram for further information.");

        if (!isGateKeeperEnabled()) {
            // once disabled, we are just a vanilla ERC20 token...
            return;
        }

        // buying from Uniswap and transferring between wallets requires a certain amount of a specific NFT
        uint256 actualNftAmount = _gateKeeperCollection.balanceOf(to, _gateKeeperNftId);

        require(actualNftAmount >= _gateKeeperNftAmount, "Buy blocked by gatekeeper. Target wallet does not own enough of our NFTs. Refer to our Telegram for further information. This restriction will be lifted in a few hours.");

        if (_enableTransactionLimit) {
            require(amount <= _gateKeeperMaxTokenAmount * (1 ether), "Buy blocked by gatekeeper. Token limit per transaction exceeded. Refer to our Telegram for further information. This restriction will be lifted in a few hours.");
            require(_lastBuyBlock[to] < block.number, "Buy blocked by gatekeeper. You can only buy once per block. Refer to our Telegram for further information. This restriction will be lifted in a few hours.");

            _lastBuyBlock[to] = block.number;
        }
    }
}

File 2 of 8 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0-rc.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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * 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}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * 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 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 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:
     *
     * - `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}.
     *
     * 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) {
        _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}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * 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) {
        uint256 currentAllowance = _allowances[sender][_msgSender()];
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
            unchecked {
                _approve(sender, _msgSender(), currentAllowance - amount);
            }
        }

        _transfer(sender, recipient, 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");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * 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:
     *
     * - `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");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(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(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);

        _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;
        }
        _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 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 3 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual 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 {
        _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 4 of 8 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

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

pragma solidity ^0.8.0;

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

File 6 of 8 : 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 7 of 8 : 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 8 : 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": 1000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"enableTrading","outputs":[],"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":[],"name":"isGateKeeperEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isGateKeeperPermanentlyDisabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTradingEnabled","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":"permanentlyDisableTransactionLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"permanentlyDisarmUniswapGateKeeper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC1155","name":"collection","type":"address"},{"internalType":"uint256","name":"nftId","type":"uint256"},{"internalType":"uint256","name":"nftAmount","type":"uint256"},{"internalType":"uint256","name":"maxTokenAmount","type":"uint256"}],"name":"setupGateKeeper","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"}]

60806040523480156200001157600080fd5b50604080518082018252600e81526d426c6f636b6966792e47616d657360901b602080830191825283518085019094526008845267424c4f434b49465960c01b9084015281519192916200006891600391620006df565b5080516200007e906004906020840190620006df565b5050506200009b62000095620000e660201b60201c565b620000ea565b600a80546001600160a01b03191633908117909155620000c9906c0c9f2c9cd04674edea400000006200013c565b6005805462ffffff60a01b19166201000160a01b1790556200082f565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620001985760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b620001a66000838362000233565b8060026000828254620001ba91906200079f565b90915550506001600160a01b03821660009081526020819052604081208054839290620001e99084906200079f565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600554600160a81b900460ff1680620002595750600a546001600160a01b038481169116145b80620002725750600a546001600160a01b038381169116145b620002e85760405162461bcd60e51b815260206004820152604a60248201527f54726164696e67206973206e6f7420656e61626c6564207965742e2052656665604482015260008051602062001ccc8339815191526064820152693337b936b0ba34b7b71760b11b608482015260a4016200018f565b620002f2620006bc565b620002fc57505050565b600654600754604051627eeac760e11b81526000926001600160a01b03169162fdd58e91620003439187916004016001600160a01b03929092168252602082015260400190565b60206040518083038186803b1580156200035c57600080fd5b505afa15801562000371573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000397919062000785565b9050600854811015620004975760405162461bcd60e51b81526020600482015260a860248201527f42757920626c6f636b656420627920676174656b65657065722e20546172676560448201527f742077616c6c657420646f6573206e6f74206f776e20656e6f756768206f662060648201527f6f7572204e4654732e20526566657220746f206f75722054656c656772616d2060848201527f666f72206675727468657220696e666f726d6174696f6e2e205468697320726560a48201527f737472696374696f6e2077696c6c206265206c696674656420696e206120666560c4820152673b903437bab9399760c11b60e4820152610104016200018f565b600554600160b01b900460ff1615620006b657600954620004c190670de0b6b3a7640000620007ba565b821115620005aa5760405162461bcd60e51b815260206004820152609f60248201527f42757920626c6f636b656420627920676174656b65657065722e20546f6b656e60448201527f206c696d697420706572207472616e73616374696f6e2065786365656465642e60648201527f20526566657220746f206f75722054656c656772616d20666f7220667572746860848201527f657220696e666f726d6174696f6e2e2054686973207265737472696374696f6e60a48201527f2077696c6c206265206c696674656420696e20612066657720686f7572732e0060c482015260e4016200018f565b6001600160a01b0383166000908152600b602052604090205443116200069a5760405162461bcd60e51b815260206004820152609a60248201527f42757920626c6f636b656420627920676174656b65657065722e20596f75206360448201527f616e206f6e6c7920627579206f6e63652070657220626c6f636b2e2052656665606482015260008051602062001ccc83398151915260848201527f666f726d6174696f6e2e2054686973207265737472696374696f6e2077696c6c60a48201527f206265206c696674656420696e20612066657720686f7572732e00000000000060c482015260e4016200018f565b6001600160a01b0383166000908152600b602052604090204390555b50505050565b600554600090600160a01b900460ff168015620006da575060075415155b905090565b828054620006ed90620007dc565b90600052602060002090601f0160209004810192826200071157600085556200075c565b82601f106200072c57805160ff19168380011785556200075c565b828001600101855582156200075c579182015b828111156200075c5782518255916020019190600101906200073f565b506200076a9291506200076e565b5090565b5b808211156200076a57600081556001016200076f565b6000602082840312156200079857600080fd5b5051919050565b60008219821115620007b557620007b562000819565b500190565b6000816000190483118215151615620007d757620007d762000819565b500290565b600181811c90821680620007f157607f821691505b602082108114156200081357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b61148d806200083f6000396000f3fe608060405234801561001057600080fd5b50600436106101775760003560e01c8063715018a6116100d8578063a457c2d71161008c578063d1a389c011610066578063d1a389c0146102bd578063dd62ed3e146102d0578063f2fde38b1461030957600080fd5b8063a457c2d71461028f578063a9059cbb146102a2578063bdf3850c146102b557600080fd5b80638da5cb5b116100bd5780638da5cb5b146102645780638df37f9d1461027f57806395d89b411461028757600080fd5b8063715018a6146102545780638a8c523c1461025c57600080fd5b8063313ce5671161012f57806357da6e9c1161011457806357da6e9c1461020e578063661d92331461022357806370a082311461022b57600080fd5b8063313ce567146101ec57806339509351146101fb57600080fd5b8063095ea7b311610160578063095ea7b3146101b457806318160ddd146101c757806323b872dd146101d957600080fd5b8063064a59d01461017c57806306fdde031461019f575b600080fd5b600554600160a81b900460ff165b60405190151581526020015b60405180910390f35b6101a761031c565b6040516101969190611365565b61018a6101c23660046112e5565b6103ae565b6002545b604051908152602001610196565b61018a6101e73660046112a4565b6103c4565b60405160128152602001610196565b61018a6102093660046112e5565b61048f565b61022161021c366004611311565b6104cb565b005b61018a6105bc565b6101cb610239366004611247565b6001600160a01b031660009081526020819052604090205490565b6102216105de565b610221610644565b6005546040516001600160a01b039091168152602001610196565b6102216106ce565b6101a7610752565b61018a61029d3660046112e5565b610761565b61018a6102b03660046112e5565b610812565b61022161081f565b600554600160a01b900460ff161561018a565b6101cb6102de36600461126b565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610221610317366004611247565b6108a3565b60606003805461032b906113f1565b80601f0160208091040260200160405190810160405280929190818152602001828054610357906113f1565b80156103a45780601f10610379576101008083540402835291602001916103a4565b820191906000526020600020905b81548152906001019060200180831161038757829003601f168201915b5050505050905090565b60006103bb338484610985565b50600192915050565b6001600160a01b03831660009081526001602090815260408083203384529091528120546000198114610479578281101561046c5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6104798533858403610985565b610484858585610add565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916103bb9185906104c69086906113ba565b610985565b6005546001600160a01b031633146105255760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610463565b6001600160a01b03841661055957821561053e57600080fd5b811561054957600080fd5b801561055457600080fd5b610580565b6000831161056657600080fd5b6000821161057357600080fd5b6000811161058057600080fd5b6006805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b039590951694909417909355600791909155600855600955565b600554600090600160a01b900460ff1680156105d9575060075415155b905090565b6005546001600160a01b031633146106385760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610463565b6106426000610d01565b565b6005546001600160a01b0316331461069e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610463565b600580547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff16600160a81b179055565b6005546001600160a01b031633146107285760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610463565b600580547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b60606004805461032b906113f1565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156107fb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610463565b6108083385858403610985565b5060019392505050565b60006103bb338484610add565b6005546001600160a01b031633146108795760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610463565b600580547fffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffff169055565b6005546001600160a01b031633146108fd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610463565b6001600160a01b0381166109795760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610463565b61098281610d01565b50565b6001600160a01b038316610a005760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610463565b6001600160a01b038216610a7c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610463565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610b595760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610463565b6001600160a01b038216610bd55760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610463565b610be0838383610d60565b6001600160a01b03831660009081526020819052604090205481811015610c6f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610463565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610ca69084906113ba565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610cf291815260200190565b60405180910390a35b50505050565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600554600160a81b900460ff1680610d855750600a546001600160a01b038481169116145b80610d9d5750600a546001600160a01b038381169116145b610e355760405162461bcd60e51b815260206004820152604a60248201527f54726164696e67206973206e6f7420656e61626c6564207965742e205265666560448201527f7220746f206f75722054656c656772616d20666f72206675727468657220696e60648201527f666f726d6174696f6e2e00000000000000000000000000000000000000000000608482015260a401610463565b610e3d6105bc565b610e4657505050565b6006546007546040517efdd58e0000000000000000000000000000000000000000000000000000000081526000926001600160a01b03169162fdd58e91610ea59187916004016001600160a01b03929092168252602082015260400190565b60206040518083038186803b158015610ebd57600080fd5b505afa158015610ed1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef5919061134c565b90506008548110156110085760405162461bcd60e51b81526020600482015260a860248201527f42757920626c6f636b656420627920676174656b65657065722e20546172676560448201527f742077616c6c657420646f6573206e6f74206f776e20656e6f756768206f662060648201527f6f7572204e4654732e20526566657220746f206f75722054656c656772616d2060848201527f666f72206675727468657220696e666f726d6174696f6e2e205468697320726560a48201527f737472696374696f6e2077696c6c206265206c696674656420696e206120666560c48201527f7720686f7572732e00000000000000000000000000000000000000000000000060e482015261010401610463565b600554760100000000000000000000000000000000000000000000900460ff1615610cfb5760095461104290670de0b6b3a76400006113d2565b8211156111295760405162461bcd60e51b815260206004820152609f60248201527f42757920626c6f636b656420627920676174656b65657065722e20546f6b656e60448201527f206c696d697420706572207472616e73616374696f6e2065786365656465642e60648201527f20526566657220746f206f75722054656c656772616d20666f7220667572746860848201527f657220696e666f726d6174696f6e2e2054686973207265737472696374696f6e60a48201527f2077696c6c206265206c696674656420696e20612066657720686f7572732e0060c482015260e401610463565b6001600160a01b0383166000908152600b602052604090205443116112285760405162461bcd60e51b815260206004820152609a60248201527f42757920626c6f636b656420627920676174656b65657065722e20596f75206360448201527f616e206f6e6c7920627579206f6e63652070657220626c6f636b2e205265666560648201527f7220746f206f75722054656c656772616d20666f72206675727468657220696e60848201527f666f726d6174696f6e2e2054686973207265737472696374696f6e2077696c6c60a48201527f206265206c696674656420696e20612066657720686f7572732e00000000000060c482015260e401610463565b50506001600160a01b03166000908152600b6020526040902043905550565b60006020828403121561125957600080fd5b813561126481611442565b9392505050565b6000806040838503121561127e57600080fd5b823561128981611442565b9150602083013561129981611442565b809150509250929050565b6000806000606084860312156112b957600080fd5b83356112c481611442565b925060208401356112d481611442565b929592945050506040919091013590565b600080604083850312156112f857600080fd5b823561130381611442565b946020939093013593505050565b6000806000806080858703121561132757600080fd5b843561133281611442565b966020860135965060408601359560600135945092505050565b60006020828403121561135e57600080fd5b5051919050565b600060208083528351808285015260005b8181101561139257858101830151858201604001528201611376565b818111156113a4576000604083870101525b50601f01601f1916929092016040019392505050565b600082198211156113cd576113cd61142c565b500190565b60008160001904831182151516156113ec576113ec61142c565b500290565b600181811c9082168061140557607f821691505b6020821081141561142657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b038116811461098257600080fdfea2646970667358221220273f965559ff0f9e2955bcccf2e074ca298aaa99a89c1f877411b91e341a4a9964736f6c634300080700337220746f206f75722054656c656772616d20666f72206675727468657220696e

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101775760003560e01c8063715018a6116100d8578063a457c2d71161008c578063d1a389c011610066578063d1a389c0146102bd578063dd62ed3e146102d0578063f2fde38b1461030957600080fd5b8063a457c2d71461028f578063a9059cbb146102a2578063bdf3850c146102b557600080fd5b80638da5cb5b116100bd5780638da5cb5b146102645780638df37f9d1461027f57806395d89b411461028757600080fd5b8063715018a6146102545780638a8c523c1461025c57600080fd5b8063313ce5671161012f57806357da6e9c1161011457806357da6e9c1461020e578063661d92331461022357806370a082311461022b57600080fd5b8063313ce567146101ec57806339509351146101fb57600080fd5b8063095ea7b311610160578063095ea7b3146101b457806318160ddd146101c757806323b872dd146101d957600080fd5b8063064a59d01461017c57806306fdde031461019f575b600080fd5b600554600160a81b900460ff165b60405190151581526020015b60405180910390f35b6101a761031c565b6040516101969190611365565b61018a6101c23660046112e5565b6103ae565b6002545b604051908152602001610196565b61018a6101e73660046112a4565b6103c4565b60405160128152602001610196565b61018a6102093660046112e5565b61048f565b61022161021c366004611311565b6104cb565b005b61018a6105bc565b6101cb610239366004611247565b6001600160a01b031660009081526020819052604090205490565b6102216105de565b610221610644565b6005546040516001600160a01b039091168152602001610196565b6102216106ce565b6101a7610752565b61018a61029d3660046112e5565b610761565b61018a6102b03660046112e5565b610812565b61022161081f565b600554600160a01b900460ff161561018a565b6101cb6102de36600461126b565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610221610317366004611247565b6108a3565b60606003805461032b906113f1565b80601f0160208091040260200160405190810160405280929190818152602001828054610357906113f1565b80156103a45780601f10610379576101008083540402835291602001916103a4565b820191906000526020600020905b81548152906001019060200180831161038757829003601f168201915b5050505050905090565b60006103bb338484610985565b50600192915050565b6001600160a01b03831660009081526001602090815260408083203384529091528120546000198114610479578281101561046c5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6104798533858403610985565b610484858585610add565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916103bb9185906104c69086906113ba565b610985565b6005546001600160a01b031633146105255760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610463565b6001600160a01b03841661055957821561053e57600080fd5b811561054957600080fd5b801561055457600080fd5b610580565b6000831161056657600080fd5b6000821161057357600080fd5b6000811161058057600080fd5b6006805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b039590951694909417909355600791909155600855600955565b600554600090600160a01b900460ff1680156105d9575060075415155b905090565b6005546001600160a01b031633146106385760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610463565b6106426000610d01565b565b6005546001600160a01b0316331461069e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610463565b600580547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff16600160a81b179055565b6005546001600160a01b031633146107285760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610463565b600580547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b60606004805461032b906113f1565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156107fb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610463565b6108083385858403610985565b5060019392505050565b60006103bb338484610add565b6005546001600160a01b031633146108795760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610463565b600580547fffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffff169055565b6005546001600160a01b031633146108fd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610463565b6001600160a01b0381166109795760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610463565b61098281610d01565b50565b6001600160a01b038316610a005760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610463565b6001600160a01b038216610a7c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610463565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610b595760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610463565b6001600160a01b038216610bd55760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610463565b610be0838383610d60565b6001600160a01b03831660009081526020819052604090205481811015610c6f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610463565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610ca69084906113ba565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610cf291815260200190565b60405180910390a35b50505050565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600554600160a81b900460ff1680610d855750600a546001600160a01b038481169116145b80610d9d5750600a546001600160a01b038381169116145b610e355760405162461bcd60e51b815260206004820152604a60248201527f54726164696e67206973206e6f7420656e61626c6564207965742e205265666560448201527f7220746f206f75722054656c656772616d20666f72206675727468657220696e60648201527f666f726d6174696f6e2e00000000000000000000000000000000000000000000608482015260a401610463565b610e3d6105bc565b610e4657505050565b6006546007546040517efdd58e0000000000000000000000000000000000000000000000000000000081526000926001600160a01b03169162fdd58e91610ea59187916004016001600160a01b03929092168252602082015260400190565b60206040518083038186803b158015610ebd57600080fd5b505afa158015610ed1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef5919061134c565b90506008548110156110085760405162461bcd60e51b81526020600482015260a860248201527f42757920626c6f636b656420627920676174656b65657065722e20546172676560448201527f742077616c6c657420646f6573206e6f74206f776e20656e6f756768206f662060648201527f6f7572204e4654732e20526566657220746f206f75722054656c656772616d2060848201527f666f72206675727468657220696e666f726d6174696f6e2e205468697320726560a48201527f737472696374696f6e2077696c6c206265206c696674656420696e206120666560c48201527f7720686f7572732e00000000000000000000000000000000000000000000000060e482015261010401610463565b600554760100000000000000000000000000000000000000000000900460ff1615610cfb5760095461104290670de0b6b3a76400006113d2565b8211156111295760405162461bcd60e51b815260206004820152609f60248201527f42757920626c6f636b656420627920676174656b65657065722e20546f6b656e60448201527f206c696d697420706572207472616e73616374696f6e2065786365656465642e60648201527f20526566657220746f206f75722054656c656772616d20666f7220667572746860848201527f657220696e666f726d6174696f6e2e2054686973207265737472696374696f6e60a48201527f2077696c6c206265206c696674656420696e20612066657720686f7572732e0060c482015260e401610463565b6001600160a01b0383166000908152600b602052604090205443116112285760405162461bcd60e51b815260206004820152609a60248201527f42757920626c6f636b656420627920676174656b65657065722e20596f75206360448201527f616e206f6e6c7920627579206f6e63652070657220626c6f636b2e205265666560648201527f7220746f206f75722054656c656772616d20666f72206675727468657220696e60848201527f666f726d6174696f6e2e2054686973207265737472696374696f6e2077696c6c60a48201527f206265206c696674656420696e20612066657720686f7572732e00000000000060c482015260e401610463565b50506001600160a01b03166000908152600b6020526040902043905550565b60006020828403121561125957600080fd5b813561126481611442565b9392505050565b6000806040838503121561127e57600080fd5b823561128981611442565b9150602083013561129981611442565b809150509250929050565b6000806000606084860312156112b957600080fd5b83356112c481611442565b925060208401356112d481611442565b929592945050506040919091013590565b600080604083850312156112f857600080fd5b823561130381611442565b946020939093013593505050565b6000806000806080858703121561132757600080fd5b843561133281611442565b966020860135965060408601359560600135945092505050565b60006020828403121561135e57600080fd5b5051919050565b600060208083528351808285015260005b8181101561139257858101830151858201604001528201611376565b818111156113a4576000604083870101525b50601f01601f1916929092016040019392505050565b600082198211156113cd576113cd61142c565b500190565b60008160001904831182151516156113ec576113ec61142c565b500290565b600181811c9082168061140557607f821691505b6020821081141561142657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b038116811461098257600080fdfea2646970667358221220273f965559ff0f9e2955bcccf2e074ca298aaa99a89c1f877411b91e341a4a9964736f6c63430008070033

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.