ETH Price: $2,709.12 (-9.36%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...215015042024-12-28 14:17:23397 days ago1735395443IN
Gaia Protocol Stable DAO: GAIA Token
0 ETH0.000209327.9537574
Set Approval For...214751252024-12-24 21:50:59401 days ago1735077059IN
Gaia Protocol Stable DAO: GAIA Token
0 ETH0.000138095.67868859
Set Approval For...194258532024-03-13 11:28:23687 days ago1710329303IN
Gaia Protocol Stable DAO: GAIA Token
0 ETH0.0014049857.77569625
Set Approval For...169890742023-04-06 10:44:231029 days ago1680777863IN
Gaia Protocol Stable DAO: GAIA Token
0 ETH0.0006689727.50939371
Set Approval For...166757482023-02-21 8:40:471073 days ago1676968847IN
Gaia Protocol Stable DAO: GAIA Token
0 ETH0.001334228.91263831
Set Pause158121652022-10-23 17:00:591194 days ago1666544459IN
Gaia Protocol Stable DAO: GAIA Token
0 ETH0.0008706618.40099906
Set Approval For...158075092022-10-23 1:25:231195 days ago1666488323IN
Gaia Protocol Stable DAO: GAIA Token
0 ETH0.000565112.24603119
Set Approval For...157667462022-10-17 8:49:591200 days ago1665996599IN
Gaia Protocol Stable DAO: GAIA Token
0 ETH0.000304911.58028521
Set Approval For...157667452022-10-17 8:49:471200 days ago1665996587IN
Gaia Protocol Stable DAO: GAIA Token
0 ETH0.0005125511.08716027
Set Approval For...156873432022-10-06 6:41:591211 days ago1665038519IN
Gaia Protocol Stable DAO: GAIA Token
0 ETH0.0005127511.0913784
Set Approval For...156644352022-10-03 1:46:111214 days ago1664761571IN
Gaia Protocol Stable DAO: GAIA Token
0 ETH0.000353247.64104698
Set Approval For...156464582022-09-30 13:29:591217 days ago1664544599IN
Gaia Protocol Stable DAO: GAIA Token
0 ETH0.0008088917.49721198
Set Approval For...156395292022-09-29 14:14:591218 days ago1664460899IN
Gaia Protocol Stable DAO: GAIA Token
0 ETH0.0008919519.29389078
Set Approval For...156166352022-09-26 9:24:351221 days ago1664184275IN
Gaia Protocol Stable DAO: GAIA Token
0 ETH0.000303736.57005029
Set Approval For...156145082022-09-26 2:17:111221 days ago1664158631IN
Gaia Protocol Stable DAO: GAIA Token
0 ETH0.000230894.99446142
Set Approval For...156024792022-09-24 9:59:591223 days ago1664013599IN
Gaia Protocol Stable DAO: GAIA Token
0 ETH0.000256645.55138006
Set Approval For...155897652022-09-22 15:26:351225 days ago1663860395IN
Gaia Protocol Stable DAO: GAIA Token
0 ETH0.0015599933.74426042
Set Approval For...155652892022-09-19 4:49:351228 days ago1663562975IN
Gaia Protocol Stable DAO: GAIA Token
0 ETH0.000184654.00152769
Set Approval For...155602742022-09-18 11:55:591229 days ago1663502159IN
Gaia Protocol Stable DAO: GAIA Token
0 ETH0.000181453.93226314
Set Approval For...155497742022-09-17 0:35:591231 days ago1663374959IN
Gaia Protocol Stable DAO: GAIA Token
0 ETH0.000230835.00232745
Set Approval For...155497552022-09-17 0:32:111231 days ago1663374731IN
Gaia Protocol Stable DAO: GAIA Token
0 ETH0.000224764.87076341
Set Approval For...155497492022-09-17 0:30:591231 days ago1663374659IN
Gaia Protocol Stable DAO: GAIA Token
0 ETH0.000224794.87148624
Set Approval For...155497322022-09-17 0:27:351231 days ago1663374455IN
Gaia Protocol Stable DAO: GAIA Token
0 ETH0.000232665.04195099
Set Approval For...155497002022-09-17 0:21:111231 days ago1663374071IN
Gaia Protocol Stable DAO: GAIA Token
0 ETH0.000232755.04396942
Set Approval For...155367702022-09-15 4:13:291232 days ago1663215209IN
Gaia Protocol Stable DAO: GAIA Token
0 ETH0.000942120.37861134
View all transactions

View more zero value Internal Transactions in Advanced View mode

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

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

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

Contract Source Code Verified (Exact Match)

Contract Name:
GaiaStableDAO

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : GaiaStableDAO.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.15;

import "./standards/ERC721G.sol";

contract GaiaStableDAO is ERC721G {
    constructor() ERC721G("Gaia Protocol Stable DAO", "GAIA", "https://api.gaiaprotocol.com/metadata/stabledao/") {}
}

File 2 of 15 : ERC721G.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.15;

import "./IERC721G.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/security/Pausable.sol";

contract ERC721G is Context, ERC165, IERC721G, IERC721Metadata, AccessControl, Pausable {
    using Address for address;
    using Strings for uint256;

    string private _name;
    string private _symbol;
    mapping(uint256 => address) internal _owners;
    mapping(address => uint256) internal _balances;
    mapping(uint256 => address) internal _tokenApprovals;
    mapping(address => mapping(address => bool)) internal _operatorApprovals;

    //keccak256("MINTER_ROLE");
    bytes32 internal constant MINTER_ROLE = 0x9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6;
    //keccak256("PAUSER_ROLE");
    bytes32 internal constant PAUSER_ROLE = 0x65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a;
    //keccak256("BURNER_ROLE");
    bytes32 internal constant BURNER_ROLE = 0x3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a848;

    uint256 internal _totalSupply;
    string internal __baseURI;

    constructor(
        string memory name_,
        string memory symbol_,
        string memory baseURI_
    ) {
        _name = name_;
        _symbol = symbol_;
        __baseURI = baseURI_;
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _setupRole(MINTER_ROLE, msg.sender);
        _setupRole(PAUSER_ROLE, msg.sender);
    }

    //functions from ERC721
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(AccessControl, ERC165, IERC165)
        returns (bool)
    {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721G: address zero is not a valid owner");
        return _balances[owner];
    }

    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721G: invalid token ID");
        return owner;
    }

    function name() public view virtual override returns (string memory) {
        return _name;
    }

    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    function _baseURI() internal view virtual returns (string memory) {
        return __baseURI;
    }

    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721G.ownerOf(tokenId);
        require(to != owner, "ERC721G: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721G: approve caller is not token owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721G: caller is not token owner nor approved");

        _transfer(from, to, tokenId);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721G: caller is not token owner nor approved");
        _safeTransfer(from, to, tokenId, data);
    }

    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, data), "ERC721G: transfer to non ERC721Receiver implementer");
    }

    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        address owner = ERC721G.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, data),
            "ERC721G: transfer to non ERC721Receiver implementer"
        );
    }

    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721G: mint to the zero address");
        require(!_exists(tokenId), "ERC721G: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId);
    }

    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721G.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId);
    }

    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721G.ownerOf(tokenId) == from, "ERC721G: transfer from incorrect owner");
        require(to != address(0), "ERC721G: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721G.ownerOf(tokenId), to, tokenId);
    }

    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721G: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721G: invalid token ID");
    }

    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721G: transfer to non ERC721Receiver implementer");
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        if (from == address(0)) {
            _totalSupply++;
        }
        if (to == address(0)) {
            _totalSupply--;
        }

        require(!paused(), "ERC721G: token transfer while paused");
    }

    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}

    //operational functions
    function setBaseURI(string calldata baseURI_) external {
        require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "ERC721G: must be default admin");

        __baseURI = baseURI_;
        emit SetBaseURI(baseURI_);
    }

    function setPause(bool status) external {
        require(hasRole(PAUSER_ROLE, msg.sender), "ERC721G: must have pauser role to pause");

        if (status) _pause();
        else _unpause();
    }

    //view functions
    function exists(uint256 tokenId) external view virtual returns (bool) {
        return _exists(tokenId);
    }

    function totalSupply() external view virtual returns (uint256) {
        return _totalSupply;
    }

    //mint/burn/transfer
    function mint(address to, uint256 tokenId) public virtual {
        require(hasRole(MINTER_ROLE, msg.sender), "ERC721G: must have minter role to mint");

        _mint(to, tokenId);
    }

    function mintBatch(address to, uint256[] calldata tokenIds) external virtual {
        require(hasRole(MINTER_ROLE, msg.sender), "ERC721G: must have minter role to mint");

        _mintBatch(to, tokenIds);
    }

    function burn(uint256 tokenId) external virtual {
        require(hasRole(BURNER_ROLE, msg.sender), "ERC721G: must have burner role to burn");

        require(_isApprovedOrOwner(msg.sender, tokenId), "UNAUTHORIZED");
        _burn(tokenId);
    }

    function burnBatch(address from, uint256[] calldata tokenIds) external virtual {
        require(hasRole(BURNER_ROLE, msg.sender), "ERC721G: must have burner role to burn");

        require(from != address(0), "BURN_FROM_ADDRESS_0");
        uint256 amount = tokenIds.length;
        require(amount > 0, "INVALID_AMOUNT");
        bool passChecking;
        if (msg.sender == from || isApprovedForAll(from, msg.sender)) passChecking = true;

        _beforeTokenBatchTransfer(from, address(0), tokenIds);

        for (uint256 i = 0; i < amount; i++) {
            uint256 tokenId = tokenIds[i];
            require(_owners[tokenId] == from, "OWNER_FROM_NOT_EQUAL");
            if (!passChecking) require(getApproved(tokenId) == msg.sender, "UNAUTHORIZED");
            // Clear approvals
            _approve(address(0), tokenId);
            delete _owners[tokenId];
            emit Transfer(from, address(0), tokenId);
        }
        _balances[from] -= amount;
    }

    function batchTransferFrom(
        address from,
        address to,
        uint256[] calldata tokenIds
    ) external virtual {
        require(from != address(0), "TRANSFER_FROM_ADDRESS_0");
        require(to != address(0), "TRANSFER_TO_ADDRESS_0");
        uint256 amount = tokenIds.length;
        require(amount > 0, "INVALID_AMOUNT");
        bool passChecking;
        if (msg.sender == from || isApprovedForAll(from, msg.sender)) passChecking = true;

        _beforeTokenBatchTransfer(from, to, tokenIds);

        for (uint256 i = 0; i < amount; i++) {
            uint256 tokenId = tokenIds[i];
            require(_owners[tokenId] == from, "OWNER_FROM_NOT_EQUAL");
            if (!passChecking) require(getApproved(tokenId) == msg.sender, "UNAUTHORIZED");
            // Clear approvals
            _approve(address(0), tokenId);
            _owners[tokenId] = to;
            emit Transfer(from, to, tokenId);
        }

        _balances[from] -= amount;
        _balances[to] += amount;
    }

    function _mintBatch(address to, uint256[] calldata tokenIds) internal virtual {
        require(to != address(0), "MINT_TO_ADDRESS_0");
        uint256 amount = tokenIds.length;
        require(amount > 0, "INVALID_AMOUNT");

        _beforeTokenBatchTransfer(address(0), to, tokenIds);
        for (uint256 i = 0; i < amount; i++) {
            uint256 tokenId = tokenIds[i];
            require(!_exists(tokenId), "ALREADY_MINTED");

            _owners[tokenId] = to;
            emit Transfer(address(0), to, tokenId);
        }
        _balances[to] += amount;
    }

    function _beforeTokenBatchTransfer(
        address from,
        address to,
        uint256[] calldata tokenIds
    ) internal virtual {
        if (from == address(0)) {
            _totalSupply += tokenIds.length;
        }
        if (to == address(0)) {
            _totalSupply -= tokenIds.length;
        }

        require(!paused(), "ERC721G: token transfer while paused");
    }
}

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

import "@openzeppelin/contracts/interfaces/IERC721.sol";

interface IERC721G is IERC721 {
    event SetBaseURI(string baseURI_);

    function exists(uint256 tokenId) external view returns (bool);

    function totalSupply() external view returns (uint256);

    function setBaseURI(string calldata baseURI_) external;

    function setPause(bool status) external;

    function mint(address to, uint256 tokenId) external;

    function mintBatch(address to, uint256[] calldata tokenIds) external;

    function burn(uint256 tokenId) external;

    function burnBatch(address from, uint256[] calldata tokenIds) external;

    function batchTransferFrom(
        address from,
        address to,
        uint256[] calldata tokenIds
    ) external;
}

File 4 of 15 : 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);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

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

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// 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;
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

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

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleGranted} event.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleRevoked} event.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     *
     * May emit a {RoleRevoked} event.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * May emit a {RoleGranted} event.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

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

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 12 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC721.sol)

pragma solidity ^0.8.0;

import "../token/ERC721/IERC721.sol";

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * 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);
}

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"baseURI_","type":"string"}],"name":"SetBaseURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"batchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"setPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","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":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040518060400160405280601881526020017f476169612050726f746f636f6c20537461626c652044414f0000000000000000815250604051806040016040528060048152602001634741494160e01b81525060405180606001604052806030815260200162002bfa603091396001805460ff19169055600262000097848262000279565b506003620000a6838262000279565b506009620000b5828262000279565b50620000c360003362000124565b620000ef7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a63362000124565b6200011b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a3362000124565b50505062000345565b62000130828262000134565b5050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1662000130576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620001903390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001ff57607f821691505b6020821081036200022057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200027457600081815260208120601f850160051c810160208610156200024f5750805b601f850160051c820191505b8181101562000270578281556001016200025b565b5050505b505050565b81516001600160401b03811115620002955762000295620001d4565b620002ad81620002a68454620001ea565b8462000226565b602080601f831160018114620002e55760008415620002cc5750858301515b600019600386901b1c1916600185901b17855562000270565b600085815260208120601f198616915b828110156200031657888601518255948401946001909101908401620002f5565b5085821015620003355787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6128a580620003556000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80635c975abb11610104578063a22cb465116100a2578063c87b56dd11610071578063c87b56dd146103d1578063d547741f146103e4578063e985e9c5146103f7578063f3993d111461040a57600080fd5b8063a22cb46514610385578063b2dc5dc314610398578063b88d4fde146103ab578063bedb86fb146103be57600080fd5b806375ceb341116100de57806375ceb3411461034f57806391d148541461036257806395d89b4114610375578063a217fddf1461037d57600080fd5b80635c975abb1461031e5780636352211e1461032957806370a082311461033c57600080fd5b80632f2ff15d1161017157806342842e0e1161014b57806342842e0e146102d257806342966c68146102e55780634f558e79146102f857806355f804b31461030b57600080fd5b80632f2ff15d1461029957806336568abe146102ac57806340c10f19146102bf57600080fd5b8063095ea7b3116101ad578063095ea7b31461023c57806318160ddd1461025157806323b872dd14610263578063248a9ca31461027657600080fd5b806301ffc9a7146101d457806306fdde03146101fc578063081812fc14610211575b600080fd5b6101e76101e2366004611ee4565b61041d565b60405190151581526020015b60405180910390f35b610204610463565b6040516101f39190611f59565b61022461021f366004611f6c565b6104f5565b6040516001600160a01b0390911681526020016101f3565b61024f61024a366004611fa1565b61051c565b005b6008545b6040519081526020016101f3565b61024f610271366004611fcb565b610637565b610255610284366004611f6c565b60009081526020819052604090206001015490565b61024f6102a7366004612007565b610668565b61024f6102ba366004612007565b61068d565b61024f6102cd366004611fa1565b61070b565b61024f6102e0366004611fcb565b61075b565b61024f6102f3366004611f6c565b610776565b6101e7610306366004611f6c565b6107ee565b61024f610319366004612033565b61080d565b60015460ff166101e7565b610224610337366004611f6c565b6108af565b61025561034a3660046120a5565b610910565b61024f61035d36600461210c565b610997565b6101e7610370366004612007565b6109e8565b610204610a11565b610255600081565b61024f61039336600461216f565b610a20565b61024f6103a636600461210c565b610a2b565b61024f6103b93660046121af565b610c64565b61024f6103cc36600461228b565b610c9c565b6102046103df366004611f6c565b610d38565b61024f6103f2366004612007565b610d9f565b6101e76104053660046122a6565b610dc4565b61024f6104183660046122d0565b610df2565b60006001600160e01b031982166380ac58cd60e01b148061044e57506001600160e01b03198216635b5e139f60e01b145b8061045d575061045d82611070565b92915050565b60606002805461047290612331565b80601f016020809104026020016040519081016040528092919081815260200182805461049e90612331565b80156104eb5780601f106104c0576101008083540402835291602001916104eb565b820191906000526020600020905b8154815290600101906020018083116104ce57829003601f168201915b5050505050905090565b6000610500826110a5565b506000908152600660205260409020546001600160a01b031690565b6000610527826108af565b9050806001600160a01b0316836001600160a01b03160361059a5760405162461bcd60e51b815260206004820152602260248201527f455243373231473a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b60648201526084015b60405180910390fd5b336001600160a01b03821614806105b657506105b68133610dc4565b6106285760405162461bcd60e51b815260206004820152603f60248201527f455243373231473a20617070726f76652063616c6c6572206973206e6f74207460448201527f6f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c006064820152608401610591565b6106328383611105565b505050565b6106413382611173565b61065d5760405162461bcd60e51b81526004016105919061236b565b6106328383836111d2565b6000828152602081905260409020600101546106838161136a565b6106328383611374565b6001600160a01b03811633146106fd5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610591565b61070782826113f8565b5050565b6107357f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336109e8565b6107515760405162461bcd60e51b8152600401610591906123ba565b610707828261145d565b61063283838360405180602001604052806000815250610c64565b6107a07f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a848336109e8565b6107bc5760405162461bcd60e51b815260040161059190612400565b6107c63382611173565b6107e25760405162461bcd60e51b815260040161059190612446565b6107eb816115a3565b50565b6000818152600460205260408120546001600160a01b0316151561045d565b6108186000336109e8565b6108645760405162461bcd60e51b815260206004820152601e60248201527f455243373231473a206d7573742062652064656661756c742061646d696e00006044820152606401610591565b60096108718284836124ba565b507f23c8c9488efebfd474e85a7956de6f39b17c7ab88502d42a623db2d8e382bbaa82826040516108a392919061257b565b60405180910390a15050565b6000818152600460205260408120546001600160a01b03168061045d5760405162461bcd60e51b8152602060048201526019602482015278115490cdcc8c51ce881a5b9d985b1a59081d1bdad95b881251603a1b6044820152606401610591565b60006001600160a01b03821661097b5760405162461bcd60e51b815260206004820152602a60248201527f455243373231473a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b6064820152608401610591565b506001600160a01b031660009081526005602052604090205490565b6109c17f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336109e8565b6109dd5760405162461bcd60e51b8152600401610591906123ba565b610632838383611638565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60606003805461047290612331565b6107073383836117be565b610a557f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a848336109e8565b610a715760405162461bcd60e51b815260040161059190612400565b6001600160a01b038316610abd5760405162461bcd60e51b815260206004820152601360248201527204255524e5f46524f4d5f414444524553535f3606c1b6044820152606401610591565b8080610adb5760405162461bcd60e51b8152600401610591906125aa565b6000336001600160a01b0386161480610af95750610af98533610dc4565b15610b02575060015b610b0f856000868661188c565b60005b82811015610c2f576000858583818110610b2e57610b2e6125d2565b6020908102929092013560008181526004909352604090922054919250506001600160a01b03888116911614610b9d5760405162461bcd60e51b815260206004820152601460248201527313d5d3915497d19493d357d393d517d15455505360621b6044820152606401610591565b82610bd25733610bac826104f5565b6001600160a01b031614610bd25760405162461bcd60e51b815260040161059190612446565b610bdd600082611105565b60008181526004602052604080822080546001600160a01b0319169055518291906001600160a01b038a1690600080516020612850833981519152908390a45080610c27816125fe565b915050610b12565b506001600160a01b03851660009081526005602052604081208054849290610c58908490612617565b90915550505050505050565b610c6e3383611173565b610c8a5760405162461bcd60e51b81526004016105919061236b565b610c9684848484611901565b50505050565b610cc67f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a336109e8565b610d225760405162461bcd60e51b815260206004820152602760248201527f455243373231473a206d75737420686176652070617573657220726f6c6520746044820152666f20706175736560c81b6064820152608401610591565b8015610d30576107eb611934565b6107eb611988565b6060610d43826110a5565b6000610d4d6119c1565b90506000815111610d6d5760405180602001604052806000815250610d98565b80610d77846119d0565b604051602001610d8892919061262e565b6040516020818303038152906040525b9392505050565b600082815260208190526040902060010154610dba8161136a565b61063283836113f8565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6001600160a01b038416610e485760405162461bcd60e51b815260206004820152601760248201527f5452414e534645525f46524f4d5f414444524553535f300000000000000000006044820152606401610591565b6001600160a01b038316610e965760405162461bcd60e51b815260206004820152601560248201527405452414e534645525f544f5f414444524553535f3605c1b6044820152606401610591565b8080610eb45760405162461bcd60e51b8152600401610591906125aa565b6000336001600160a01b0387161480610ed25750610ed28633610dc4565b15610edb575060015b610ee78686868661188c565b60005b8281101561100d576000858583818110610f0657610f066125d2565b6020908102929092013560008181526004909352604090922054919250506001600160a01b03898116911614610f755760405162461bcd60e51b815260206004820152601460248201527313d5d3915497d19493d357d393d517d15455505360621b6044820152606401610591565b82610faa5733610f84826104f5565b6001600160a01b031614610faa5760405162461bcd60e51b815260040161059190612446565b610fb5600082611105565b60008181526004602052604080822080546001600160a01b0319166001600160a01b038b811691821790925591518493918c169160008051602061285083398151915291a45080611005816125fe565b915050610eea565b506001600160a01b03861660009081526005602052604081208054849290611036908490612617565b90915550506001600160a01b0385166000908152600560205260408120805484929061106390849061265d565b9091555050505050505050565b60006001600160e01b03198216637965db0b60e01b148061045d57506301ffc9a760e01b6001600160e01b031983161461045d565b6000818152600460205260409020546001600160a01b03166107eb5760405162461bcd60e51b8152602060048201526019602482015278115490cdcc8c51ce881a5b9d985b1a59081d1bdad95b881251603a1b6044820152606401610591565b600081815260066020526040902080546001600160a01b0319166001600160a01b038416908117909155819061113a826108af565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061117f836108af565b9050806001600160a01b0316846001600160a01b031614806111a657506111a68185610dc4565b806111ca5750836001600160a01b03166111bf846104f5565b6001600160a01b0316145b949350505050565b826001600160a01b03166111e5826108af565b6001600160a01b03161461124a5760405162461bcd60e51b815260206004820152602660248201527f455243373231473a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610591565b6001600160a01b0382166112ae5760405162461bcd60e51b815260206004820152602560248201527f455243373231473a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610591565b6112b9838383611ad1565b6112c4600082611105565b6001600160a01b03831660009081526005602052604081208054600192906112ed908490612617565b90915550506001600160a01b038216600090815260056020526040812080546001929061131b90849061265d565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03868116918217909255915184939187169160008051602061285083398151915291a4505050565b6107eb8133611b3c565b61137e82826109e8565b610707576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556113b43390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61140282826109e8565b15610707576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b0382166114bd5760405162461bcd60e51b815260206004820152602160248201527f455243373231473a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610591565b6000818152600460205260409020546001600160a01b0316156115225760405162461bcd60e51b815260206004820152601d60248201527f455243373231473a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610591565b61152e60008383611ad1565b6001600160a01b038216600090815260056020526040812080546001929061155790849061265d565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386169081179091559051839290600080516020612850833981519152908290a45050565b60006115ae826108af565b90506115bc81600084611ad1565b6115c7600083611105565b6001600160a01b03811660009081526005602052604081208054600192906115f0908490612617565b909155505060008281526004602052604080822080546001600160a01b0319169055518391906001600160a01b03841690600080516020612850833981519152908390a45050565b6001600160a01b0383166116825760405162461bcd60e51b815260206004820152601160248201527004d494e545f544f5f414444524553535f3607c1b6044820152606401610591565b80806116a05760405162461bcd60e51b8152600401610591906125aa565b6116ad600085858561188c565b60005b8181101561178a5760008484838181106116cc576116cc6125d2565b9050602002013590506116f6816000908152600460205260409020546001600160a01b0316151590565b156117345760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b6044820152606401610591565b60008181526004602052604080822080546001600160a01b0319166001600160a01b038a169081179091559051839290600080516020612850833981519152908290a45080611782816125fe565b9150506116b0565b506001600160a01b038416600090815260056020526040812080548392906117b390849061265d565b909155505050505050565b816001600160a01b0316836001600160a01b03160361181f5760405162461bcd60e51b815260206004820152601a60248201527f455243373231473a20617070726f766520746f2063616c6c65720000000000006044820152606401610591565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0384166118b55781819050600860008282546118af919061265d565b90915550505b6001600160a01b0383166118de5781819050600860008282546118d89190612617565b90915550505b60015460ff1615610c965760405162461bcd60e51b815260040161059190612675565b61190c8484846111d2565b61191884848484611ba0565b610c965760405162461bcd60e51b8152600401610591906126b9565b61193c611ca1565b6001805460ff1916811790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258335b6040516001600160a01b03909116815260200160405180910390a1565b611990611ce9565b6001805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa3361196b565b60606009805461047290612331565b6060816000036119f75750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a215780611a0b816125fe565b9150611a1a9050600a83612722565b91506119fb565b60008167ffffffffffffffff811115611a3c57611a3c612199565b6040519080825280601f01601f191660200182016040528015611a66576020820181803683370190505b5090505b84156111ca57611a7b600183612617565b9150611a88600a86612736565b611a9390603061265d565b60f81b818381518110611aa857611aa86125d2565b60200101906001600160f81b031916908160001a905350611aca600a86612722565b9450611a6a565b6001600160a01b038316611af55760088054906000611aef836125fe565b91905055505b6001600160a01b038216611b195760088054906000611b138361274a565b91905055505b60015460ff16156106325760405162461bcd60e51b815260040161059190612675565b611b4682826109e8565b61070757611b5e816001600160a01b03166014611d32565b611b69836020611d32565b604051602001611b7a929190612761565b60408051601f198184030181529082905262461bcd60e51b825261059191600401611f59565b60006001600160a01b0384163b15611c9657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611be49033908990889088906004016127d6565b6020604051808303816000875af1925050508015611c1f575060408051601f3d908101601f19168201909252611c1c91810190612813565b60015b611c7c573d808015611c4d576040519150601f19603f3d011682016040523d82523d6000602084013e611c52565b606091505b508051600003611c745760405162461bcd60e51b8152600401610591906126b9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506111ca565b506001949350505050565b60015460ff1615611ce75760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610591565b565b60015460ff16611ce75760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610591565b60606000611d41836002612830565b611d4c90600261265d565b67ffffffffffffffff811115611d6457611d64612199565b6040519080825280601f01601f191660200182016040528015611d8e576020820181803683370190505b509050600360fc1b81600081518110611da957611da96125d2565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611dd857611dd86125d2565b60200101906001600160f81b031916908160001a9053506000611dfc846002612830565b611e0790600161265d565b90505b6001811115611e7f576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611e3b57611e3b6125d2565b1a60f81b828281518110611e5157611e516125d2565b60200101906001600160f81b031916908160001a90535060049490941c93611e788161274a565b9050611e0a565b508315610d985760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610591565b6001600160e01b0319811681146107eb57600080fd5b600060208284031215611ef657600080fd5b8135610d9881611ece565b60005b83811015611f1c578181015183820152602001611f04565b83811115610c965750506000910152565b60008151808452611f45816020860160208601611f01565b601f01601f19169290920160200192915050565b602081526000610d986020830184611f2d565b600060208284031215611f7e57600080fd5b5035919050565b80356001600160a01b0381168114611f9c57600080fd5b919050565b60008060408385031215611fb457600080fd5b611fbd83611f85565b946020939093013593505050565b600080600060608486031215611fe057600080fd5b611fe984611f85565b9250611ff760208501611f85565b9150604084013590509250925092565b6000806040838503121561201a57600080fd5b8235915061202a60208401611f85565b90509250929050565b6000806020838503121561204657600080fd5b823567ffffffffffffffff8082111561205e57600080fd5b818501915085601f83011261207257600080fd5b81358181111561208157600080fd5b86602082850101111561209357600080fd5b60209290920196919550909350505050565b6000602082840312156120b757600080fd5b610d9882611f85565b60008083601f8401126120d257600080fd5b50813567ffffffffffffffff8111156120ea57600080fd5b6020830191508360208260051b850101111561210557600080fd5b9250929050565b60008060006040848603121561212157600080fd5b61212a84611f85565b9250602084013567ffffffffffffffff81111561214657600080fd5b612152868287016120c0565b9497909650939450505050565b80358015158114611f9c57600080fd5b6000806040838503121561218257600080fd5b61218b83611f85565b915061202a6020840161215f565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156121c557600080fd5b6121ce85611f85565b93506121dc60208601611f85565b925060408501359150606085013567ffffffffffffffff8082111561220057600080fd5b818701915087601f83011261221457600080fd5b81358181111561222657612226612199565b604051601f8201601f19908116603f0116810190838211818310171561224e5761224e612199565b816040528281528a602084870101111561226757600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60006020828403121561229d57600080fd5b610d988261215f565b600080604083850312156122b957600080fd5b6122c283611f85565b915061202a60208401611f85565b600080600080606085870312156122e657600080fd5b6122ef85611f85565b93506122fd60208601611f85565b9250604085013567ffffffffffffffff81111561231957600080fd5b612325878288016120c0565b95989497509550505050565b600181811c9082168061234557607f821691505b60208210810361236557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602f908201527f455243373231473a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526e195c881b9bdc88185c1c1c9bdd9959608a1b606082015260800190565b60208082526026908201527f455243373231473a206d7573742068617665206d696e74657220726f6c6520746040820152651bc81b5a5b9d60d21b606082015260800190565b60208082526026908201527f455243373231473a206d7573742068617665206275726e657220726f6c6520746040820152653790313ab93760d11b606082015260800190565b6020808252600c908201526b15539055551213d49256915160a21b604082015260600190565b601f82111561063257600081815260208120601f850160051c810160208610156124935750805b601f850160051c820191505b818110156124b25782815560010161249f565b505050505050565b67ffffffffffffffff8311156124d2576124d2612199565b6124e6836124e08354612331565b8361246c565b6000601f84116001811461251a57600085156125025750838201355b600019600387901b1c1916600186901b178355612574565b600083815260209020601f19861690835b8281101561254b578685013582556020948501946001909201910161252b565b50868210156125685760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b6020808252600e908201526d1253959053125117d05353d5539560921b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201612610576126106125e8565b5060010190565b600082821015612629576126296125e8565b500390565b60008351612640818460208801611f01565b835190830190612654818360208801611f01565b01949350505050565b60008219821115612670576126706125e8565b500190565b60208082526024908201527f455243373231473a20746f6b656e207472616e73666572207768696c652070616040820152631d5cd95960e21b606082015260800190565b60208082526033908201527f455243373231473a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b6000826127315761273161270c565b500490565b6000826127455761274561270c565b500690565b600081612759576127596125e8565b506000190190565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612799816017850160208801611f01565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516127ca816028840160208801611f01565b01602801949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061280990830184611f2d565b9695505050505050565b60006020828403121561282557600080fd5b8151610d9881611ece565b600081600019048311821515161561284a5761284a6125e8565b50029056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212201c2e79990b7fb7580b84d976025212c37a059c250c01814c82636970d64a21d264736f6c634300080f003368747470733a2f2f6170692e6761696170726f746f636f6c2e636f6d2f6d657461646174612f737461626c6564616f2f

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c80635c975abb11610104578063a22cb465116100a2578063c87b56dd11610071578063c87b56dd146103d1578063d547741f146103e4578063e985e9c5146103f7578063f3993d111461040a57600080fd5b8063a22cb46514610385578063b2dc5dc314610398578063b88d4fde146103ab578063bedb86fb146103be57600080fd5b806375ceb341116100de57806375ceb3411461034f57806391d148541461036257806395d89b4114610375578063a217fddf1461037d57600080fd5b80635c975abb1461031e5780636352211e1461032957806370a082311461033c57600080fd5b80632f2ff15d1161017157806342842e0e1161014b57806342842e0e146102d257806342966c68146102e55780634f558e79146102f857806355f804b31461030b57600080fd5b80632f2ff15d1461029957806336568abe146102ac57806340c10f19146102bf57600080fd5b8063095ea7b3116101ad578063095ea7b31461023c57806318160ddd1461025157806323b872dd14610263578063248a9ca31461027657600080fd5b806301ffc9a7146101d457806306fdde03146101fc578063081812fc14610211575b600080fd5b6101e76101e2366004611ee4565b61041d565b60405190151581526020015b60405180910390f35b610204610463565b6040516101f39190611f59565b61022461021f366004611f6c565b6104f5565b6040516001600160a01b0390911681526020016101f3565b61024f61024a366004611fa1565b61051c565b005b6008545b6040519081526020016101f3565b61024f610271366004611fcb565b610637565b610255610284366004611f6c565b60009081526020819052604090206001015490565b61024f6102a7366004612007565b610668565b61024f6102ba366004612007565b61068d565b61024f6102cd366004611fa1565b61070b565b61024f6102e0366004611fcb565b61075b565b61024f6102f3366004611f6c565b610776565b6101e7610306366004611f6c565b6107ee565b61024f610319366004612033565b61080d565b60015460ff166101e7565b610224610337366004611f6c565b6108af565b61025561034a3660046120a5565b610910565b61024f61035d36600461210c565b610997565b6101e7610370366004612007565b6109e8565b610204610a11565b610255600081565b61024f61039336600461216f565b610a20565b61024f6103a636600461210c565b610a2b565b61024f6103b93660046121af565b610c64565b61024f6103cc36600461228b565b610c9c565b6102046103df366004611f6c565b610d38565b61024f6103f2366004612007565b610d9f565b6101e76104053660046122a6565b610dc4565b61024f6104183660046122d0565b610df2565b60006001600160e01b031982166380ac58cd60e01b148061044e57506001600160e01b03198216635b5e139f60e01b145b8061045d575061045d82611070565b92915050565b60606002805461047290612331565b80601f016020809104026020016040519081016040528092919081815260200182805461049e90612331565b80156104eb5780601f106104c0576101008083540402835291602001916104eb565b820191906000526020600020905b8154815290600101906020018083116104ce57829003601f168201915b5050505050905090565b6000610500826110a5565b506000908152600660205260409020546001600160a01b031690565b6000610527826108af565b9050806001600160a01b0316836001600160a01b03160361059a5760405162461bcd60e51b815260206004820152602260248201527f455243373231473a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b60648201526084015b60405180910390fd5b336001600160a01b03821614806105b657506105b68133610dc4565b6106285760405162461bcd60e51b815260206004820152603f60248201527f455243373231473a20617070726f76652063616c6c6572206973206e6f74207460448201527f6f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c006064820152608401610591565b6106328383611105565b505050565b6106413382611173565b61065d5760405162461bcd60e51b81526004016105919061236b565b6106328383836111d2565b6000828152602081905260409020600101546106838161136a565b6106328383611374565b6001600160a01b03811633146106fd5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610591565b61070782826113f8565b5050565b6107357f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336109e8565b6107515760405162461bcd60e51b8152600401610591906123ba565b610707828261145d565b61063283838360405180602001604052806000815250610c64565b6107a07f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a848336109e8565b6107bc5760405162461bcd60e51b815260040161059190612400565b6107c63382611173565b6107e25760405162461bcd60e51b815260040161059190612446565b6107eb816115a3565b50565b6000818152600460205260408120546001600160a01b0316151561045d565b6108186000336109e8565b6108645760405162461bcd60e51b815260206004820152601e60248201527f455243373231473a206d7573742062652064656661756c742061646d696e00006044820152606401610591565b60096108718284836124ba565b507f23c8c9488efebfd474e85a7956de6f39b17c7ab88502d42a623db2d8e382bbaa82826040516108a392919061257b565b60405180910390a15050565b6000818152600460205260408120546001600160a01b03168061045d5760405162461bcd60e51b8152602060048201526019602482015278115490cdcc8c51ce881a5b9d985b1a59081d1bdad95b881251603a1b6044820152606401610591565b60006001600160a01b03821661097b5760405162461bcd60e51b815260206004820152602a60248201527f455243373231473a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b6064820152608401610591565b506001600160a01b031660009081526005602052604090205490565b6109c17f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336109e8565b6109dd5760405162461bcd60e51b8152600401610591906123ba565b610632838383611638565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60606003805461047290612331565b6107073383836117be565b610a557f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a848336109e8565b610a715760405162461bcd60e51b815260040161059190612400565b6001600160a01b038316610abd5760405162461bcd60e51b815260206004820152601360248201527204255524e5f46524f4d5f414444524553535f3606c1b6044820152606401610591565b8080610adb5760405162461bcd60e51b8152600401610591906125aa565b6000336001600160a01b0386161480610af95750610af98533610dc4565b15610b02575060015b610b0f856000868661188c565b60005b82811015610c2f576000858583818110610b2e57610b2e6125d2565b6020908102929092013560008181526004909352604090922054919250506001600160a01b03888116911614610b9d5760405162461bcd60e51b815260206004820152601460248201527313d5d3915497d19493d357d393d517d15455505360621b6044820152606401610591565b82610bd25733610bac826104f5565b6001600160a01b031614610bd25760405162461bcd60e51b815260040161059190612446565b610bdd600082611105565b60008181526004602052604080822080546001600160a01b0319169055518291906001600160a01b038a1690600080516020612850833981519152908390a45080610c27816125fe565b915050610b12565b506001600160a01b03851660009081526005602052604081208054849290610c58908490612617565b90915550505050505050565b610c6e3383611173565b610c8a5760405162461bcd60e51b81526004016105919061236b565b610c9684848484611901565b50505050565b610cc67f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a336109e8565b610d225760405162461bcd60e51b815260206004820152602760248201527f455243373231473a206d75737420686176652070617573657220726f6c6520746044820152666f20706175736560c81b6064820152608401610591565b8015610d30576107eb611934565b6107eb611988565b6060610d43826110a5565b6000610d4d6119c1565b90506000815111610d6d5760405180602001604052806000815250610d98565b80610d77846119d0565b604051602001610d8892919061262e565b6040516020818303038152906040525b9392505050565b600082815260208190526040902060010154610dba8161136a565b61063283836113f8565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6001600160a01b038416610e485760405162461bcd60e51b815260206004820152601760248201527f5452414e534645525f46524f4d5f414444524553535f300000000000000000006044820152606401610591565b6001600160a01b038316610e965760405162461bcd60e51b815260206004820152601560248201527405452414e534645525f544f5f414444524553535f3605c1b6044820152606401610591565b8080610eb45760405162461bcd60e51b8152600401610591906125aa565b6000336001600160a01b0387161480610ed25750610ed28633610dc4565b15610edb575060015b610ee78686868661188c565b60005b8281101561100d576000858583818110610f0657610f066125d2565b6020908102929092013560008181526004909352604090922054919250506001600160a01b03898116911614610f755760405162461bcd60e51b815260206004820152601460248201527313d5d3915497d19493d357d393d517d15455505360621b6044820152606401610591565b82610faa5733610f84826104f5565b6001600160a01b031614610faa5760405162461bcd60e51b815260040161059190612446565b610fb5600082611105565b60008181526004602052604080822080546001600160a01b0319166001600160a01b038b811691821790925591518493918c169160008051602061285083398151915291a45080611005816125fe565b915050610eea565b506001600160a01b03861660009081526005602052604081208054849290611036908490612617565b90915550506001600160a01b0385166000908152600560205260408120805484929061106390849061265d565b9091555050505050505050565b60006001600160e01b03198216637965db0b60e01b148061045d57506301ffc9a760e01b6001600160e01b031983161461045d565b6000818152600460205260409020546001600160a01b03166107eb5760405162461bcd60e51b8152602060048201526019602482015278115490cdcc8c51ce881a5b9d985b1a59081d1bdad95b881251603a1b6044820152606401610591565b600081815260066020526040902080546001600160a01b0319166001600160a01b038416908117909155819061113a826108af565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061117f836108af565b9050806001600160a01b0316846001600160a01b031614806111a657506111a68185610dc4565b806111ca5750836001600160a01b03166111bf846104f5565b6001600160a01b0316145b949350505050565b826001600160a01b03166111e5826108af565b6001600160a01b03161461124a5760405162461bcd60e51b815260206004820152602660248201527f455243373231473a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610591565b6001600160a01b0382166112ae5760405162461bcd60e51b815260206004820152602560248201527f455243373231473a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610591565b6112b9838383611ad1565b6112c4600082611105565b6001600160a01b03831660009081526005602052604081208054600192906112ed908490612617565b90915550506001600160a01b038216600090815260056020526040812080546001929061131b90849061265d565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03868116918217909255915184939187169160008051602061285083398151915291a4505050565b6107eb8133611b3c565b61137e82826109e8565b610707576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556113b43390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61140282826109e8565b15610707576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b0382166114bd5760405162461bcd60e51b815260206004820152602160248201527f455243373231473a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610591565b6000818152600460205260409020546001600160a01b0316156115225760405162461bcd60e51b815260206004820152601d60248201527f455243373231473a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610591565b61152e60008383611ad1565b6001600160a01b038216600090815260056020526040812080546001929061155790849061265d565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386169081179091559051839290600080516020612850833981519152908290a45050565b60006115ae826108af565b90506115bc81600084611ad1565b6115c7600083611105565b6001600160a01b03811660009081526005602052604081208054600192906115f0908490612617565b909155505060008281526004602052604080822080546001600160a01b0319169055518391906001600160a01b03841690600080516020612850833981519152908390a45050565b6001600160a01b0383166116825760405162461bcd60e51b815260206004820152601160248201527004d494e545f544f5f414444524553535f3607c1b6044820152606401610591565b80806116a05760405162461bcd60e51b8152600401610591906125aa565b6116ad600085858561188c565b60005b8181101561178a5760008484838181106116cc576116cc6125d2565b9050602002013590506116f6816000908152600460205260409020546001600160a01b0316151590565b156117345760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b6044820152606401610591565b60008181526004602052604080822080546001600160a01b0319166001600160a01b038a169081179091559051839290600080516020612850833981519152908290a45080611782816125fe565b9150506116b0565b506001600160a01b038416600090815260056020526040812080548392906117b390849061265d565b909155505050505050565b816001600160a01b0316836001600160a01b03160361181f5760405162461bcd60e51b815260206004820152601a60248201527f455243373231473a20617070726f766520746f2063616c6c65720000000000006044820152606401610591565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0384166118b55781819050600860008282546118af919061265d565b90915550505b6001600160a01b0383166118de5781819050600860008282546118d89190612617565b90915550505b60015460ff1615610c965760405162461bcd60e51b815260040161059190612675565b61190c8484846111d2565b61191884848484611ba0565b610c965760405162461bcd60e51b8152600401610591906126b9565b61193c611ca1565b6001805460ff1916811790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258335b6040516001600160a01b03909116815260200160405180910390a1565b611990611ce9565b6001805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa3361196b565b60606009805461047290612331565b6060816000036119f75750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a215780611a0b816125fe565b9150611a1a9050600a83612722565b91506119fb565b60008167ffffffffffffffff811115611a3c57611a3c612199565b6040519080825280601f01601f191660200182016040528015611a66576020820181803683370190505b5090505b84156111ca57611a7b600183612617565b9150611a88600a86612736565b611a9390603061265d565b60f81b818381518110611aa857611aa86125d2565b60200101906001600160f81b031916908160001a905350611aca600a86612722565b9450611a6a565b6001600160a01b038316611af55760088054906000611aef836125fe565b91905055505b6001600160a01b038216611b195760088054906000611b138361274a565b91905055505b60015460ff16156106325760405162461bcd60e51b815260040161059190612675565b611b4682826109e8565b61070757611b5e816001600160a01b03166014611d32565b611b69836020611d32565b604051602001611b7a929190612761565b60408051601f198184030181529082905262461bcd60e51b825261059191600401611f59565b60006001600160a01b0384163b15611c9657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611be49033908990889088906004016127d6565b6020604051808303816000875af1925050508015611c1f575060408051601f3d908101601f19168201909252611c1c91810190612813565b60015b611c7c573d808015611c4d576040519150601f19603f3d011682016040523d82523d6000602084013e611c52565b606091505b508051600003611c745760405162461bcd60e51b8152600401610591906126b9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506111ca565b506001949350505050565b60015460ff1615611ce75760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610591565b565b60015460ff16611ce75760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610591565b60606000611d41836002612830565b611d4c90600261265d565b67ffffffffffffffff811115611d6457611d64612199565b6040519080825280601f01601f191660200182016040528015611d8e576020820181803683370190505b509050600360fc1b81600081518110611da957611da96125d2565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611dd857611dd86125d2565b60200101906001600160f81b031916908160001a9053506000611dfc846002612830565b611e0790600161265d565b90505b6001811115611e7f576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611e3b57611e3b6125d2565b1a60f81b828281518110611e5157611e516125d2565b60200101906001600160f81b031916908160001a90535060049490941c93611e788161274a565b9050611e0a565b508315610d985760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610591565b6001600160e01b0319811681146107eb57600080fd5b600060208284031215611ef657600080fd5b8135610d9881611ece565b60005b83811015611f1c578181015183820152602001611f04565b83811115610c965750506000910152565b60008151808452611f45816020860160208601611f01565b601f01601f19169290920160200192915050565b602081526000610d986020830184611f2d565b600060208284031215611f7e57600080fd5b5035919050565b80356001600160a01b0381168114611f9c57600080fd5b919050565b60008060408385031215611fb457600080fd5b611fbd83611f85565b946020939093013593505050565b600080600060608486031215611fe057600080fd5b611fe984611f85565b9250611ff760208501611f85565b9150604084013590509250925092565b6000806040838503121561201a57600080fd5b8235915061202a60208401611f85565b90509250929050565b6000806020838503121561204657600080fd5b823567ffffffffffffffff8082111561205e57600080fd5b818501915085601f83011261207257600080fd5b81358181111561208157600080fd5b86602082850101111561209357600080fd5b60209290920196919550909350505050565b6000602082840312156120b757600080fd5b610d9882611f85565b60008083601f8401126120d257600080fd5b50813567ffffffffffffffff8111156120ea57600080fd5b6020830191508360208260051b850101111561210557600080fd5b9250929050565b60008060006040848603121561212157600080fd5b61212a84611f85565b9250602084013567ffffffffffffffff81111561214657600080fd5b612152868287016120c0565b9497909650939450505050565b80358015158114611f9c57600080fd5b6000806040838503121561218257600080fd5b61218b83611f85565b915061202a6020840161215f565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156121c557600080fd5b6121ce85611f85565b93506121dc60208601611f85565b925060408501359150606085013567ffffffffffffffff8082111561220057600080fd5b818701915087601f83011261221457600080fd5b81358181111561222657612226612199565b604051601f8201601f19908116603f0116810190838211818310171561224e5761224e612199565b816040528281528a602084870101111561226757600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60006020828403121561229d57600080fd5b610d988261215f565b600080604083850312156122b957600080fd5b6122c283611f85565b915061202a60208401611f85565b600080600080606085870312156122e657600080fd5b6122ef85611f85565b93506122fd60208601611f85565b9250604085013567ffffffffffffffff81111561231957600080fd5b612325878288016120c0565b95989497509550505050565b600181811c9082168061234557607f821691505b60208210810361236557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602f908201527f455243373231473a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526e195c881b9bdc88185c1c1c9bdd9959608a1b606082015260800190565b60208082526026908201527f455243373231473a206d7573742068617665206d696e74657220726f6c6520746040820152651bc81b5a5b9d60d21b606082015260800190565b60208082526026908201527f455243373231473a206d7573742068617665206275726e657220726f6c6520746040820152653790313ab93760d11b606082015260800190565b6020808252600c908201526b15539055551213d49256915160a21b604082015260600190565b601f82111561063257600081815260208120601f850160051c810160208610156124935750805b601f850160051c820191505b818110156124b25782815560010161249f565b505050505050565b67ffffffffffffffff8311156124d2576124d2612199565b6124e6836124e08354612331565b8361246c565b6000601f84116001811461251a57600085156125025750838201355b600019600387901b1c1916600186901b178355612574565b600083815260209020601f19861690835b8281101561254b578685013582556020948501946001909201910161252b565b50868210156125685760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b6020808252600e908201526d1253959053125117d05353d5539560921b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201612610576126106125e8565b5060010190565b600082821015612629576126296125e8565b500390565b60008351612640818460208801611f01565b835190830190612654818360208801611f01565b01949350505050565b60008219821115612670576126706125e8565b500190565b60208082526024908201527f455243373231473a20746f6b656e207472616e73666572207768696c652070616040820152631d5cd95960e21b606082015260800190565b60208082526033908201527f455243373231473a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b6000826127315761273161270c565b500490565b6000826127455761274561270c565b500690565b600081612759576127596125e8565b506000190190565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612799816017850160208801611f01565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516127ca816028840160208801611f01565b01602801949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061280990830184611f2d565b9695505050505050565b60006020828403121561282557600080fd5b8151610d9881611ece565b600081600019048311821515161561284a5761284a6125e8565b50029056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212201c2e79990b7fb7580b84d976025212c37a059c250c01814c82636970d64a21d264736f6c634300080f0033

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

OVERVIEW

Gaia Stable DAO is the world's first NFT investment DAO secures holders' principal and expands the investment community on cryptocurrency. It will not just invest in Klaytn's network but also extend to the multi-chain for the high returns to the holers. https://gaiaprotocol.co...

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.