Mumbai Testnet

Contract

0x3EB054ed86087fE9Eb724895127A24D27cD8466F
Transaction Hash
Method
Block
From
To
Value
Wrapnft481281892024-04-11 14:22:2568 days ago1712845345IN
0x3EB054ed...27cD8466F
0 MATIC0.002814950
Wrapnft481281862024-04-11 14:22:1968 days ago1712845339IN
0x3EB054ed...27cD8466F
0 MATIC0.002814950
Wrapnft481281832024-04-11 14:22:1368 days ago1712845333IN
0x3EB054ed...27cD8466F
0 MATIC0.002816750
Wrapnft481281802024-04-11 14:22:0768 days ago1712845327IN
0x3EB054ed...27cD8466F
0 MATIC0.002816750
Wrapnft481281772024-04-11 14:22:0168 days ago1712845321IN
0x3EB054ed...27cD8466F
0 MATIC0.002816750
Wrapnft481281742024-04-11 14:21:5368 days ago1712845313IN
0x3EB054ed...27cD8466F
0 MATIC0.002814950
Wrapnft481281722024-04-11 14:21:4968 days ago1712845309IN
0x3EB054ed...27cD8466F
0 MATIC0.002816150
Wrapnft481281692024-04-11 14:21:4368 days ago1712845303IN
0x3EB054ed...27cD8466F
0 MATIC0.002815550
Wrapnft471946582024-03-18 12:44:5893 days ago1710765898IN
0x3EB054ed...27cD8466F
0 MATIC0.0036643824.64000002
Wrapnft471946482024-03-18 12:44:3693 days ago1710765876IN
0x3EB054ed...27cD8466F
0 MATIC0.001372821.12000002
Wrapnft471946462024-03-18 12:44:3293 days ago1710765872IN
0x3EB054ed...27cD8466F
0 MATIC0.001632819.88800001
Wrapnft470749732024-03-15 11:10:3696 days ago1710501036IN
0x3EB054ed...27cD8466F
0 MATIC0.000408642.75000001
Wrapnft470749692024-03-15 11:10:2896 days ago1710501028IN
0x3EB054ed...27cD8466F
0 MATIC0.000178422.75000001
Wrapnft470749682024-03-15 11:10:2696 days ago1710501026IN
0x3EB054ed...27cD8466F
0 MATIC0.000225442.75000001
Wrapnft462590062024-02-23 14:44:49116 days ago1708699489IN
0x3EB054ed...27cD8466F
0 MATIC0.000416362.80087501
Wrapnft462589972024-02-23 14:44:31116 days ago1708699471IN
0x3EB054ed...27cD8466F
0 MATIC0.000181882.80087501
Wrapnft462589922024-02-23 14:44:21116 days ago1708699461IN
0x3EB054ed...27cD8466F
0 MATIC0.000236892.88750001
Unwrapnft462589382024-02-23 14:42:25116 days ago1708699345IN
0x3EB054ed...27cD8466F
0 MATIC0.0018833440.69453126
Wrapnft453426222024-01-30 13:15:21140 days ago1706620521IN
0x3EB054ed...27cD8466F
0 MATIC0.000273431.65000001
Wrapnft453426172024-01-30 13:15:11140 days ago1706620511IN
0x3EB054ed...27cD8466F
0 MATIC0.000107091.65000001
Wrapnft453426002024-01-30 13:14:35140 days ago1706620475IN
0x3EB054ed...27cD8466F
0 MATIC0.00013531.65000001
Unwrapnft451874842024-01-26 12:52:08144 days ago1706273528IN
0x3EB054ed...27cD8466F
0 MATIC0.00007651.65000001
Wrapnft451867772024-01-26 12:27:06145 days ago1706272026IN
0x3EB054ed...27cD8466F
0 MATIC0.000273551.65000001
Wrapnft451867702024-01-26 12:26:52145 days ago1706272012IN
0x3EB054ed...27cD8466F
0 MATIC0.000107211.65000001
Wrapnft451867612024-01-26 12:26:32145 days ago1706271992IN
0x3EB054ed...27cD8466F
0 MATIC0.000135421.65000001
View all transactions

Parent Transaction Hash Block From To Value
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FIONFT

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 14 : fionft.sol
// SPDX-License-Identifier: MIT
// FIO Protocol ERC721 and Oracle Contract
// Adam Androulidakis 3/2021
// Prototype: Do not use in production

pragma solidity 0.8.7;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";

contract FIONFT is ERC721, Pausable, AccessControl {
    using Counters for Counters.Counter;
    Counters.Counter private _tokenIds;

    bytes32 public constant ORACLE_ROLE = keccak256("ORACLE_ROLE");
    bytes32 public constant OWNER_ROLE = keccak256("OWNER_ROLE");
    bytes32 public constant CUSTODIAN_ROLE = keccak256("CUSTODIAN_ROLE");

    struct pending {
      mapping (address => bool) approved;
      bool complete;
      uint32 approvals;
    }

    uint32 custodian_count;
    uint32 oracle_count;

    enum ApprovalType {
        WrapNFT,
        BurnNFT,
        AddOracle,
        RemoveOracle,
        AddCustodian,
        RemoveCustodian
    }

    string _baseURIextended;

    event unwrapped(string fioaddress, string domain);
    event wrapped(address account, string domain, string obtid);
    event domainburned(address account, uint256 tokenId, string obtid);
    event custodian_unregistered(address account, bytes32 indexhash);
    event custodian_registered(address account, bytes32 indexhash);
    event oracle_unregistered(address account, bytes32 indexhash);
    event oracle_registered(address account, bytes32 indexhash);
    event consensus_activity(string signer, address account, string obtid, bytes32 indexhash);

    address[] public oraclelist;
    address[] private custodianlist;

    mapping ( uint256 => string ) attribute;
    mapping ( bytes32 => pending ) approvals; // uint256 hash can be any obtid
    mapping(uint256 => address) private _owners;

    constructor( address[] memory newcustodians)  ERC721("FIO Protocol NFT Testnet", "FIO") {

      _grantRole(OWNER_ROLE, msg.sender);
      require(newcustodians.length == 10, "Cannot deploy");

      for (uint8 i = 0; i < 10; i++ ) {
        require(!hasRole(CUSTODIAN_ROLE, newcustodians[i]), "Custodian already registered");
        require(!hasRole(OWNER_ROLE, newcustodians[i]), "Owner role cannot be custodian");
        _grantRole(CUSTODIAN_ROLE, newcustodians[i]);
        custodianlist.push(newcustodians[i]);
      }
      _baseURIextended = "https://metadata.fioprotocol.io/domainnft/";
      custodian_count = 10;
      oracle_count = 0;
    }

    function pause() external onlyRole(CUSTODIAN_ROLE) whenNotPaused{
        _pause();
    }

    function unpause() external onlyRole(CUSTODIAN_ROLE) whenPaused{
        _unpause();
    }

    function setBaseURI(string memory baseURI_) external onlyRole(CUSTODIAN_ROLE)  {
        _baseURIextended = baseURI_;
    }

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

    function tokenURI(uint256 _tokenId) public view override returns (string memory){
      require(_exists(_tokenId), "No token");
      return string(abi.encodePacked(_baseURI(), attribute[_tokenId], ".json"));
    }

    //Precondition: Roles must be checked in parent functions. This should only be called by authorized oracle or custodian
    function getConsensus(bytes32 hash, uint8 Type) internal returns (bool){
      require(!approvals[hash].complete, "Approval already complete");

      uint32 APPROVALS_NEEDED = oracle_count;
      if (Type == 1) {
        APPROVALS_NEEDED = custodian_count * 2 / 3 + 1;
      }
      if (approvals[hash].approvals < APPROVALS_NEEDED) {
        require(!approvals[hash].approved[msg.sender], "sender has already approved this hash");
        approvals[hash].approved[msg.sender] = true;
        approvals[hash].approvals++;
         //moving this if block after the parent if block will allow the execution to take place immediately instead of requiring a subsequent call
        if (approvals[hash].approvals >= APPROVALS_NEEDED) {
          require(approvals[hash].approved[msg.sender], "An approver must execute");
          approvals[hash].complete = true;
          return approvals[hash].complete;
        }
      }
      return approvals[hash].complete;
    }

    function wrapnft(address account, string memory domain, string memory obtid) external onlyRole(ORACLE_ROLE) whenNotPaused returns (uint256){
      require(account != address(0), "Invalid account");
      require(account != address(this), "Cannot wrap to contract account");
      require(bytes(domain).length >= 1 && bytes(domain).length < 63, "Invalid domain");
      require(bytes(obtid).length > 0, "Invalid obtid");
      require(oracle_count >= 3, "Oracles must be 3 or greater");
      uint256 tokenId = 0;
      bytes32 indexhash = keccak256(bytes(abi.encode(ApprovalType.WrapNFT, account, domain, obtid)));
      if (getConsensus(indexhash, 0)) {
         _tokenIds.increment();
          tokenId = _tokenIds.current();
         _mint(account, tokenId);
         attribute[_tokenIds.current()] = domain;
         emit wrapped(account, domain, obtid);
        _owners[tokenId] = account;
      }
        emit consensus_activity("oracle", msg.sender, obtid, indexhash);
        return tokenId;
    }

    function unwrapnft(string memory fioaddress, uint256 tokenId) external whenNotPaused {
      require(bytes(fioaddress).length >=3 && bytes(fioaddress).length <= 64, "Invalid FIO Handle");
      require(ownerOf(tokenId) == msg.sender, "Invalid token owner");
      _burn(tokenId);
      emit unwrapped(fioaddress, attribute[tokenId]);
      attribute[tokenId] = "";
      _owners[tokenId] = address(0);
    }

    function burnnft(uint256 tokenId, string memory obtid) external onlyRole(ORACLE_ROLE) whenNotPaused returns (uint256){

      require(_exists(tokenId), "Invalid tokenId");
      require(bytes(obtid).length > 0, "Invalid obtid");
      require(oracle_count >= 3, "Oracles must be 3 or greater");
      bytes32 indexhash = keccak256(bytes(abi.encode(ApprovalType.BurnNFT, tokenId, obtid)));
      if (getConsensus(indexhash, 0)) {
         _burn(tokenId);
         attribute[tokenId] = "";
         emit domainburned(msg.sender, tokenId, obtid);
        _owners[tokenId] = address(0);
      }

        emit consensus_activity("oracle", msg.sender, obtid, indexhash);
        return tokenId;

    }

    function _beforeTokenTransfer(address from, address to, uint256 amount) internal override(ERC721) {
        require(to != address(this), "Cannot transfer to contract");
        super._beforeTokenTransfer(from, to, amount);
    }

    // The following functions are overrides required by Solidity.

    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC721, AccessControl)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }


    function getCustodian(address account) external view returns (bool, uint32) {
      require(account != address(0), "Invalid account");
      return (hasRole(CUSTODIAN_ROLE, account), custodian_count);
    }

    function getOracle(address account) external view returns (bool, uint32) {
      require(account != address(0), "Invalid account");
      return (hasRole(ORACLE_ROLE, account), uint32(oraclelist.length));
    }
    function getApproval(bytes memory indexhash) external view returns (uint32, bool, address[] memory) {
      require(indexhash.length > 0, "Invalid obtid");
      address[] memory approvedOracles = new address[](approvals[bytes32(indexhash)].approvals);
      uint32 c = 0;
      for(uint32 i = 0; i < oraclelist.length; i++) {
        if (approvals[bytes32(indexhash)].approved[oraclelist[i]]) {
          approvedOracles[c] = oraclelist[i];
          c++;
        }
      }
      return (approvals[bytes32(indexhash)].approvals, approvals[bytes32(indexhash)].complete, approvedOracles);
    }

    function listDomainsOfOwner(address _owner) public view returns(string[] memory ownerTokens) {
    uint256 tokenCount = balanceOf(_owner);
    if (tokenCount == 0) {
        return new string[](0);
    } else {
        string[] memory result = new string[](tokenCount);
        uint256 resultIndex = 0;
        uint256 tokenId;
        for (tokenId = 1; tokenId <= _tokenIds._value; tokenId++) {
            if (_owners[tokenId] == _owner) {
                result[resultIndex] = string(abi.encodePacked(attribute[tokenId], ": ", Strings.toString(tokenId)));
                resultIndex++;
            }
        }
            return result;
        }
    }

    function getOracles() external view returns(address[] memory) {
      return oraclelist;
    }

    function regoracle(address account) external onlyRole(CUSTODIAN_ROLE)  {
      require(account != address(0), "Invalid account");
      require(account != msg.sender, "Cannot register self");
      require(!hasRole(ORACLE_ROLE, account), "Already registered");
      bytes32 indexhash = keccak256(bytes(abi.encode(ApprovalType.AddOracle,account )));
      if (getConsensus(indexhash, 1)){
        _grantRole(ORACLE_ROLE, account);
        oracle_count++;
        oraclelist.push(account);
        emit oracle_registered(account, indexhash);
      }
      emit consensus_activity("custodian", msg.sender, "", indexhash);
    }

    function unregoracle(address account) external onlyRole(CUSTODIAN_ROLE) {
      require(account != address(0), "Invalid account");
      require(oracle_count > 3, "Minimum 3 oracles required");
      bytes32 indexhash = keccak256(bytes(abi.encode(ApprovalType.RemoveOracle,account)));
      require(hasRole(ORACLE_ROLE, account), "Oracle not registered");
      if ( getConsensus(indexhash, 1)) {
          _revokeRole(ORACLE_ROLE, account);
          oracle_count--;
          for(uint16 i = 0; i < oraclelist.length; i++) {
            if(oraclelist[i] == account) {
              oraclelist[i] = oraclelist[oraclelist.length - 1];
              oraclelist.pop();
              break;
            }
          }
          emit oracle_unregistered(account, indexhash);
      }
       emit consensus_activity("custodian", msg.sender, "", indexhash);

    } // unregoracle

    function regcust(address account) external onlyRole(CUSTODIAN_ROLE) {
      require(account != address(0), "Invalid account");
      require(account != msg.sender, "Cannot register self");
      bytes32 indexhash = keccak256(bytes(abi.encode(ApprovalType.AddCustodian,account)));
      require(!hasRole(CUSTODIAN_ROLE, account), "Already registered");
      if (getConsensus(indexhash, 1)) {
        _grantRole(CUSTODIAN_ROLE, account);
        custodian_count++;
        custodianlist.push(account);
        emit custodian_registered(account, indexhash);
      }
      emit consensus_activity("custodian", msg.sender, "", indexhash);
    }

    function unregcust(address account) external onlyRole(CUSTODIAN_ROLE) {
      require(account != address(0), "Invalid account");
      require(hasRole(CUSTODIAN_ROLE, account), "Custodian not registered");
      require(custodian_count > 7, "Must contain 7 custodians");
      bytes32 indexhash = keccak256(bytes(abi.encode(ApprovalType.RemoveCustodian,account)));
      if (getConsensus(indexhash, 1)) {
          _revokeRole(CUSTODIAN_ROLE, account);
          custodian_count--;
          for(uint16 i = 0; i < custodianlist.length; i++) {
            if(custodianlist[i] == account) {
              custodianlist[i] = custodianlist[custodianlist.length - 1];
              custodianlist.pop();
              break;
            }
          }
          emit custodian_unregistered(account, indexhash);
      }
      emit consensus_activity("custodian", msg.sender, "", indexhash);
    } //unregcustodian

      // ------------------------------------------------------------------------
      // Don't accept ETH
      // ------------------------------------------------------------------------

    receive () external payable {
      revert();
    }

    function changeOwner(address account) external onlyRole(OWNER_ROLE) {
      _revokeRole(OWNER_ROLE, msg.sender);
      _grantRole(OWNER_ROLE, account);
    }

}

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

pragma solidity ^0.8.0;

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

File 2 of 14 : ERC165.sol
// 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;
    }
}

File 2 of 14 : Strings.sol
// 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);
    }
}

File 2 of 14 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

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

pragma solidity ^0.8.0;

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

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

File 2 of 14 : Address.sol
// 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);
            }
        }
    }
}

File 2 of 14 : IERC721Metadata.sol
// 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);
}

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

pragma solidity ^0.8.0;

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

File 2 of 14 : 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);
}

File 2 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    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())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");
        _safeTransfer(from, to, tokenId, data);
    }

    /**
     * @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.
     *
     * `data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: 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);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.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);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: 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);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits an {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    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("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

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

File 2 of 14 : Pausable.sol
// 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 2 of 14 : IAccessControl.sol
// 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;
}

File 2 of 14 : AccessControl.sol
// 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());
        }
    }
}

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

Contract ABI

[{"inputs":[{"internalType":"address[]","name":"newcustodians","type":"address[]"}],"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":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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"signer","type":"string"},{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"string","name":"obtid","type":"string"},{"indexed":false,"internalType":"bytes32","name":"indexhash","type":"bytes32"}],"name":"consensus_activity","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bytes32","name":"indexhash","type":"bytes32"}],"name":"custodian_registered","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bytes32","name":"indexhash","type":"bytes32"}],"name":"custodian_unregistered","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"obtid","type":"string"}],"name":"domainburned","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bytes32","name":"indexhash","type":"bytes32"}],"name":"oracle_registered","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bytes32","name":"indexhash","type":"bytes32"}],"name":"oracle_unregistered","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"fioaddress","type":"string"},{"indexed":false,"internalType":"string","name":"domain","type":"string"}],"name":"unwrapped","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"string","name":"domain","type":"string"},{"indexed":false,"internalType":"string","name":"obtid","type":"string"}],"name":"wrapped","type":"event"},{"inputs":[],"name":"CUSTODIAN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ORACLE_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OWNER_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":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"obtid","type":"string"}],"name":"burnnft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"changeOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"indexhash","type":"bytes"}],"name":"getApproval","outputs":[{"internalType":"uint32","name":"","type":"uint32"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"address[]","name":"","type":"address[]"}],"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":"address","name":"account","type":"address"}],"name":"getCustodian","outputs":[{"internalType":"bool","name":"","type":"bool"},{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getOracle","outputs":[{"internalType":"bool","name":"","type":"bool"},{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOracles","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":"_owner","type":"address"}],"name":"listDomainsOfOwner","outputs":[{"internalType":"string[]","name":"ownerTokens","type":"string[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"oraclelist","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"regcust","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"regoracle","outputs":[],"stateMutability":"nonpayable","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":"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":[{"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"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"unregcust","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"unregoracle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"fioaddress","type":"string"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"unwrapnft","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"string","name":"domain","type":"string"},{"internalType":"string","name":"obtid","type":"string"}],"name":"wrapnft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b5060405162004538380380620045388339810160408190526200003491620004bc565b604080518082018252601881527f46494f2050726f746f636f6c204e465420546573746e6574000000000000000060208083019182528351808501909452600384526246494f60e81b9084015281519192916200009491600091620003f9565b508051620000aa906001906020840190620003f9565b50506006805460ff1916905550620000d2600080516020620045188339815191523362000329565b8051600a14620001195760405162461bcd60e51b815260206004820152600d60248201526c43616e6e6f74206465706c6f7960981b60448201526064015b60405180910390fd5b60005b600a8160ff161015620002dd5762000169600080516020620044f8833981519152838360ff168151811062000155576200015562000601565b6020026020010151620003ce60201b60201c565b15620001b85760405162461bcd60e51b815260206004820152601c60248201527f437573746f6469616e20616c7265616479207265676973746572656400000000604482015260640162000110565b620001e460008051602062004518833981519152838360ff168151811062000155576200015562000601565b15620002335760405162461bcd60e51b815260206004820152601e60248201527f4f776e657220726f6c652063616e6e6f7420626520637573746f6469616e0000604482015260640162000110565b62000273600080516020620044f8833981519152838360ff16815181106200025f576200025f62000601565b60200260200101516200032960201b60201c565b600c828260ff16815181106200028d576200028d62000601565b60209081029190910181015182546001810184556000938452919092200180546001600160a01b0319166001600160a01b0390921691909117905580620002d481620005d2565b9150506200011c565b506040518060600160405280602a8152602001620044ce602a913980516200030e91600a91602090910190620003f9565b5050600980546001600160401b031916600a1790556200062d565b60008281526007602090815260408083206001600160a01b038516845290915290205460ff16620003ca5760008281526007602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620003893390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60009182526007602090815260408084206001600160a01b0393909316845291905290205460ff1690565b828054620004079062000595565b90600052602060002090601f0160209004810192826200042b576000855562000476565b82601f106200044657805160ff191683800117855562000476565b8280016001018555821562000476579182015b828111156200047657825182559160200191906001019062000459565b506200048492915062000488565b5090565b5b8082111562000484576000815560010162000489565b80516001600160a01b0381168114620004b757600080fd5b919050565b60006020808385031215620004d057600080fd5b82516001600160401b0380821115620004e857600080fd5b818501915085601f830112620004fd57600080fd5b81518181111562000512576200051262000617565b8060051b604051601f19603f830116810181811085821117156200053a576200053a62000617565b604052828152858101935084860182860187018a10156200055a57600080fd5b600095505b83861015620005885762000573816200049f565b8552600195909501949386019386016200055f565b5098975050505050505050565b600181811c90821680620005aa57607f821691505b60208210811415620005cc57634e487b7160e01b600052602260045260246000fd5b50919050565b600060ff821660ff811415620005f857634e487b7160e01b600052601160045260246000fd5b60010192915050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b613e91806200063d6000396000f3fe60806040526004361061023f5760003560e01c80638456cb591161012e578063c0bcfe9c116100ab578063d65592e21161006f578063d65592e214610707578063e5690a9914610727578063e58378bb14610747578063e985e9c514610769578063ff3e34a5146107b257600080fd5b8063c0bcfe9c14610665578063c79445d014610685578063c87b56dd146106a7578063cb5aa7e9146106c7578063d547741f146106e757600080fd5b8063a217fddf116100f2578063a217fddf146105c1578063a22cb465146105d6578063a6f9dae1146105f6578063a7bf70b914610616578063b88d4fde1461064557600080fd5b80638456cb591461052a57806385abfda51461053f57806391d148541461055f57806395d89b411461057f5780639b7e2bf01461059457600080fd5b806336568abe116101bc5780634fdcaca6116101805780634fdcaca61461049257806355f804b3146104b25780635c975abb146104d25780636352211e146104ea57806370a082311461050a57600080fd5b806336568abe146103fb5780633b95e4501461041b5780633f4ba83a1461043b57806340884c521461045057806342842e0e1461047257600080fd5b806310d3d22e1161020357806310d3d22e1461032f5780631d5a25da1461036b57806323b872dd1461038b578063248a9ca3146103ab5780632f2ff15d146103db57600080fd5b806301ffc9a71461024e57806306fdde031461028357806307e2cea5146102a5578063081812fc146102d5578063095ea7b31461030d57600080fd5b3661024957600080fd5b600080fd5b34801561025a57600080fd5b5061026e6102693660046134df565b6107d2565b60405190151581526020015b60405180910390f35b34801561028f57600080fd5b506102986107e3565b60405161027a919061396a565b3480156102b157600080fd5b506102c7600080516020613e3c83398151915281565b60405190815260200161027a565b3480156102e157600080fd5b506102f56102f03660046134a3565b610875565b6040516001600160a01b03909116815260200161027a565b34801561031957600080fd5b5061032d610328366004613479565b61089c565b005b34801561033b57600080fd5b5061034f61034a3660046132d7565b6109b7565b60408051921515835263ffffffff90911660208301520161027a565b34801561037757600080fd5b506102c7610386366004613593565b610a05565b34801561039757600080fd5b5061032d6103a6366004613325565b610c0e565b3480156103b757600080fd5b506102c76103c63660046134a3565b60009081526007602052604090206001015490565b3480156103e757600080fd5b5061032d6103f63660046134bc565b610c3f565b34801561040757600080fd5b5061032d6104163660046134bc565b610c64565b34801561042757600080fd5b506102c7610436366004613405565b610ce2565b34801561044757600080fd5b5061032d610f8d565b34801561045c57600080fd5b50610465610fb8565b60405161027a919061385b565b34801561047e57600080fd5b5061032d61048d366004613325565b611019565b34801561049e57600080fd5b5061032d6104ad3660046132d7565b611034565b3480156104be57600080fd5b5061032d6104cd366004613519565b611389565b3480156104de57600080fd5b5060065460ff1661026e565b3480156104f657600080fd5b506102f56105053660046134a3565b6113b4565b34801561051657600080fd5b506102c76105253660046132d7565b611414565b34801561053657600080fd5b5061032d61149a565b34801561054b57600080fd5b506102f561055a3660046134a3565b6114c2565b34801561056b57600080fd5b5061026e61057a3660046134bc565b6114ec565b34801561058b57600080fd5b50610298611517565b3480156105a057600080fd5b506105b46105af3660046132d7565b611526565b60405161027a919061386e565b3480156105cd57600080fd5b506102c7600081565b3480156105e257600080fd5b5061032d6105f13660046133c9565b611673565b34801561060257600080fd5b5061032d6106113660046132d7565b61167e565b34801561062257600080fd5b50610636610631366004613519565b6116c6565b60405161027a93929190613b50565b34801561065157600080fd5b5061032d610660366004613361565b6118c3565b34801561067157600080fd5b5061032d6106803660046132d7565b6118fb565b34801561069157600080fd5b506102c7600080516020613dfc83398151915281565b3480156106b357600080fd5b506102986106c23660046134a3565b611af4565b3480156106d357600080fd5b5061034f6106e23660046132d7565b611b84565b3480156106f357600080fd5b5061032d6107023660046134bc565b611bd9565b34801561071357600080fd5b5061032d61072236600461354e565b611bfe565b34801561073357600080fd5b5061032d6107423660046132d7565b611d4a565b34801561075357600080fd5b506102c7600080516020613e1c83398151915281565b34801561077557600080fd5b5061026e6107843660046132f2565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156107be57600080fd5b5061032d6107cd3660046132d7565b611f4b565b60006107dd82612227565b92915050565b6060600080546107f290613cd7565b80601f016020809104026020016040519081016040528092919081815260200182805461081e90613cd7565b801561086b5780601f106108405761010080835404028352916020019161086b565b820191906000526020600020905b81548152906001019060200180831161084e57829003601f168201915b5050505050905090565b60006108808261224c565b506000908152600460205260409020546001600160a01b031690565b60006108a7826113b4565b9050806001600160a01b0316836001600160a01b0316141561091a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061093657506109368133610784565b6109a85760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610911565b6109b283836122ab565b505050565b6000806001600160a01b0383166109e05760405162461bcd60e51b815260040161091190613ab2565b6109f8600080516020613e3c833981519152846114ec565b600b549094909350915050565b6000600080516020613e3c833981519152610a1f81612319565b610a27612323565b6000848152600260205260409020546001600160a01b0316610a7d5760405162461bcd60e51b815260206004820152600f60248201526e125b9d985b1a59081d1bdad95b9259608a1b6044820152606401610911565b6000835111610a9e5760405162461bcd60e51b815260040161091190613b29565b600954600364010000000090910463ffffffff161015610b005760405162461bcd60e51b815260206004820152601c60248201527f4f7261636c6573206d7573742062652033206f722067726561746572000000006044820152606401610911565b600060018585604051602001610b1893929190613944565b604051602081830303815290604052805190602001209050610b3b81600061236b565b15610bca57610b49856125e9565b6040805160208082018084526000808452898152600d9092529290209051610b719290613195565b507f8e1d942c85258bb26ee807b4f481e6fc490cc453d84696f078d7c56184d31509338686604051610ba59392919061382b565b60405180910390a16000858152600f6020526040902080546001600160a01b03191690555b7f3be8840aec3e3998ee1e020dd20a8ea88430534d4e16feeeb1762ea4428464cd338583604051610bfd93929190613a64565b60405180910390a150929392505050565b610c183382612690565b610c345760405162461bcd60e51b815260040161091190613adb565b6109b283838361270f565b600082815260076020526040902060010154610c5a81612319565b6109b283836128b6565b6001600160a01b0381163314610cd45760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610911565b610cde828261293c565b5050565b6000600080516020613e3c833981519152610cfc81612319565b610d04612323565b6001600160a01b038516610d2a5760405162461bcd60e51b815260040161091190613ab2565b6001600160a01b038516301415610d835760405162461bcd60e51b815260206004820152601f60248201527f43616e6e6f74207772617020746f20636f6e7472616374206163636f756e74006044820152606401610911565b6001845110158015610d965750603f8451105b610dd35760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b2103237b6b0b4b760911b6044820152606401610911565b6000835111610df45760405162461bcd60e51b815260040161091190613b29565b600954600364010000000090910463ffffffff161015610e565760405162461bcd60e51b815260206004820152601c60248201527f4f7261636c6573206d7573742062652033206f722067726561746572000000006044820152606401610911565b60008080878787604051602001610e7094939291906138f6565b604051602081830303815290604052805190602001209050610e9381600061236b565b15610f4857610ea6600880546001019055565b6008549150610eb587836129a3565b85600d6000610ec360085490565b81526020019081526020016000209080519060200190610ee4929190613195565b507f34d54ab6b9488e3952ffb21d7c5b6674a8951b753232762597033e7d1c3d41d2878787604051610f18939291906137f5565b60405180910390a16000828152600f6020526040902080546001600160a01b0319166001600160a01b0389161790555b7f3be8840aec3e3998ee1e020dd20a8ea88430534d4e16feeeb1762ea4428464cd338683604051610f7b93929190613a64565b60405180910390a15095945050505050565b600080516020613dfc833981519152610fa581612319565b610fad612af1565b610fb5612b3a565b50565b6060600b80548060200260200160405190810160405280929190818152602001828054801561086b57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610ff2575050505050905090565b6109b2838383604051806020016040528060008152506118c3565b600080516020613dfc83398151915261104c81612319565b6001600160a01b0382166110725760405162461bcd60e51b815260040161091190613ab2565b600954600364010000000090910463ffffffff16116110d35760405162461bcd60e51b815260206004820152601a60248201527f4d696e696d756d2033206f7261636c65732072657175697265640000000000006044820152606401610911565b60006003836040516020016110e99291906138d0565b604051602081830303815290604052805190602001209050611119600080516020613e3c833981519152846114ec565b61115d5760405162461bcd60e51b815260206004820152601560248201527413dc9858db19481b9bdd081c9959da5cdd195c9959605a1b6044820152606401610911565b61116881600161236b565b1561131c57611185600080516020613e3c8339815191528461293c565b60098054640100000000900463ffffffff169060046111a383613cb7565b91906101000a81548163ffffffff021916908363ffffffff1602179055505060005b600b5461ffff821610156112d757836001600160a01b0316600b8261ffff16815481106111f4576111f4613db9565b6000918252602090912001546001600160a01b031614156112c557600b805461121f90600190613c39565b8154811061122f5761122f613db9565b600091825260209091200154600b80546001600160a01b039092169161ffff841690811061125f5761125f613db9565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550600b80548061129e5761129e613da3565b600082815260209020810160001990810180546001600160a01b03191690550190556112d7565b806112cf81613d0c565b9150506111c5565b50604080516001600160a01b0385168152602081018390527fe4d21301551b3d87dc269fc8b9d5a5c1432831c3c321ef19570b8a93a10cb52291015b60405180910390a15b6040805160808082526009908201526831bab9ba37b234b0b760b91b60a082015233602082015260c08183018190526000908201526060810183905290517f3be8840aec3e3998ee1e020dd20a8ea88430534d4e16feeeb1762ea4428464cd9181900360e00190a1505050565b600080516020613dfc8339815191526113a181612319565b81516109b290600a906020850190613195565b6000818152600260205260408120546001600160a01b0316806107dd5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610911565b60006001600160a01b03821661147e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610911565b506001600160a01b031660009081526003602052604090205490565b600080516020613dfc8339815191526114b281612319565b6114ba612323565b610fb5612b8c565b600b81815481106114d257600080fd5b6000918252602090912001546001600160a01b0316905081565b60009182526007602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600180546107f290613cd7565b6060600061153383611414565b90508061156d576040805160008082526020820190925290611565565b60608152602001906001900390816115505790505b509392505050565b60008167ffffffffffffffff81111561158857611588613dcf565b6040519080825280602002602001820160405280156115bb57816020015b60608152602001906001900390816115a65790505b509050600060015b6008548111611663576000818152600f60205260409020546001600160a01b0387811691161415611651576000818152600d6020526040902061160582612bc9565b604051602001611616929190613710565b60405160208183030381529060405283838151811061163757611637613db9565b6020026020010181905250818061164d90613d2e565b9250505b8061165b81613d2e565b9150506115c3565b5090949350505050565b50919050565b610cde338383612cc7565b600080516020613e1c83398151915261169681612319565b6116ae600080516020613e1c8339815191523361293c565b610cde600080516020613e1c833981519152836128b6565b600080606060008451116116ec5760405162461bcd60e51b815260040161091190613b29565b6000600e816116fa87613c50565b8152602081019190915260400160002060010154610100900463ffffffff1667ffffffffffffffff81111561173157611731613dcf565b60405190808252806020026020018201604052801561175a578160200160208202803683370190505b5090506000805b600b5463ffffffff8216101561185e57600e600061177e89613c50565b81526020019081526020016000206000016000600b8363ffffffff16815481106117aa576117aa613db9565b60009182526020808320909101546001600160a01b0316835282019290925260400190205460ff161561184c57600b8163ffffffff16815481106117f0576117f0613db9565b9060005260206000200160009054906101000a90046001600160a01b0316838363ffffffff168151811061182657611826613db9565b6001600160a01b03909216602092830291909101909101528161184881613d49565b9250505b8061185681613d49565b915050611761565b50600e600061186c88613c50565b815260200190815260200160002060010160019054906101000a900463ffffffff16600e60008861189c90613c50565b815260208101919091526040016000206001015490955060ff169350909150509193909250565b6118cd3383612690565b6118e95760405162461bcd60e51b815260040161091190613adb565b6118f584848484612d96565b50505050565b600080516020613dfc83398151915261191381612319565b6001600160a01b0382166119395760405162461bcd60e51b815260040161091190613ab2565b6001600160a01b0382163314156119895760405162461bcd60e51b815260206004820152601460248201527321b0b73737ba103932b3b4b9ba32b91039b2b63360611b6044820152606401610911565b600060048360405160200161199f9291906138d0565b6040516020818303038152906040528051906020012090506119cf600080516020613dfc833981519152846114ec565b15611a115760405162461bcd60e51b8152602060048201526012602482015271105b1c9958591e481c9959da5cdd195c995960721b6044820152606401610911565b611a1c81600161236b565b1561131c57611a39600080516020613dfc833981519152846128b6565b6009805463ffffffff16906000611a4f83613d49565b82546101009290920a63ffffffff81810219909316919092169190910217905550600c80546001810182556000919091527fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c70180546001600160a01b0319166001600160a01b03851690811790915560408051918252602082018390527f4f4b5dcea44dd9a0d4582de1f0b930ffdd296bd645df66b73ff1795f43e7dc119101611313565b6000818152600260205260409020546060906001600160a01b0316611b465760405162461bcd60e51b81526020600482015260086024820152672737903a37b5b2b760c11b6044820152606401610911565b611b4e612dc9565b6000838152600d60209081526040918290209151611b6e939291016136db565b6040516020818303038152906040529050919050565b6000806001600160a01b038316611bad5760405162461bcd60e51b815260040161091190613ab2565b611bc5600080516020613dfc833981519152846114ec565b600954909463ffffffff9091169350915050565b600082815260076020526040902060010154611bf481612319565b6109b2838361293c565b611c06612323565b6003825110158015611c1a57506040825111155b611c5b5760405162461bcd60e51b8152602060048201526012602482015271496e76616c69642046494f2048616e646c6560701b6044820152606401610911565b33611c65826113b4565b6001600160a01b031614611cb15760405162461bcd60e51b815260206004820152601360248201527224b73b30b634b2103a37b5b2b71037bbb732b960691b6044820152606401610911565b611cba816125e9565b6000818152600d60205260409081902090517fe230a800683f05cf5d4d7ded3a82cf2a1d4db7f8c15b513c3d1857a6a29aacfa91611cfa9185919061397d565b60405180910390a16040805160208082018084526000808452858152600d9092529290209051611d2a9290613195565b506000908152600f6020526040902080546001600160a01b031916905550565b600080516020613dfc833981519152611d6281612319565b6001600160a01b038216611d885760405162461bcd60e51b815260040161091190613ab2565b6001600160a01b038216331415611dd85760405162461bcd60e51b815260206004820152601460248201527321b0b73737ba103932b3b4b9ba32b91039b2b63360611b6044820152606401610911565b611df0600080516020613e3c833981519152836114ec565b15611e325760405162461bcd60e51b8152602060048201526012602482015271105b1c9958591e481c9959da5cdd195c995960721b6044820152606401610911565b6000600283604051602001611e489291906138d0565b604051602081830303815290604052805190602001209050611e6b81600161236b565b1561131c57611e88600080516020613e3c833981519152846128b6565b60098054640100000000900463ffffffff16906004611ea683613d49565b82546101009290920a63ffffffff81810219909316919092169190910217905550600b80546001810182556000919091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90180546001600160a01b0319166001600160a01b03851690811790915560408051918252602082018390527ffde1904d2f36e8247a68b76a38b2dc6908f769438b6bb8f173ee39a2c01f2b589101611313565b600080516020613dfc833981519152611f6381612319565b6001600160a01b038216611f895760405162461bcd60e51b815260040161091190613ab2565b611fa1600080516020613dfc833981519152836114ec565b611fed5760405162461bcd60e51b815260206004820152601860248201527f437573746f6469616e206e6f74207265676973746572656400000000000000006044820152606401610911565b600954600763ffffffff909116116120475760405162461bcd60e51b815260206004820152601960248201527f4d75737420636f6e7461696e203720637573746f6469616e73000000000000006044820152606401610911565b600060058360405160200161205d9291906138d0565b60405160208183030381529060405280519060200120905061208081600161236b565b1561131c5761209d600080516020613dfc8339815191528461293c565b6009805463ffffffff169060006120b383613cb7565b91906101000a81548163ffffffff021916908363ffffffff1602179055505060005b600c5461ffff821610156121e757836001600160a01b0316600c8261ffff168154811061210457612104613db9565b6000918252602090912001546001600160a01b031614156121d557600c805461212f90600190613c39565b8154811061213f5761213f613db9565b600091825260209091200154600c80546001600160a01b039092169161ffff841690811061216f5761216f613db9565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550600c8054806121ae576121ae613da3565b600082815260209020810160001990810180546001600160a01b03191690550190556121e7565b806121df81613d0c565b9150506120d5565b50604080516001600160a01b0385168152602081018390527f0cf142c25ce5b399a7953be52d40c8596def04c010697715ab9c72f4962d1a2d9101611313565b60006001600160e01b03198216637965db0b60e01b14806107dd57506107dd82612dd8565b6000818152600260205260409020546001600160a01b0316610fb55760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610911565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906122e0826113b4565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b610fb58133612e28565b60065460ff16156123695760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610911565b565b6000828152600e602052604081206001015460ff16156123cd5760405162461bcd60e51b815260206004820152601960248201527f417070726f76616c20616c726561647920636f6d706c657465000000000000006044820152606401610911565b600954640100000000900463ffffffff1660ff831660011415612419576009546003906124019063ffffffff166002613c0d565b61240b9190613bcb565b612416906001613b8f565b90505b6000848152600e602052604090206001015463ffffffff8083166101009092041610156125ce576000848152600e6020908152604080832033845290915290205460ff16156124b85760405162461bcd60e51b815260206004820152602560248201527f73656e6465722068617320616c726561647920617070726f7665642074686973604482015264040d0c2e6d60db1b6064820152608401610911565b6000848152600e60208181526040808420338552808352908420805460ff19166001908117909155938890529190528101805463ffffffff610100909104169161250183613d49565b825463ffffffff91821661010093840a90810290830219909116179092556000878152600e60205260409020600101548483169190049091161090506125ce576000848152600e6020908152604080832033845290915290205460ff166125aa5760405162461bcd60e51b815260206004820152601860248201527f416e20617070726f766572206d757374206578656375746500000000000000006044820152606401610911565b50506000828152600e602052604090206001908101805460ff1916821790556107dd565b5050506000908152600e602052604090206001015460ff1690565b60006125f4826113b4565b905061260281600084612e8c565b61260d6000836122ab565b6001600160a01b0381166000908152600360205260408120805460019290612636908490613c39565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60008061269c836113b4565b9050806001600160a01b0316846001600160a01b031614806126e357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806127075750836001600160a01b03166126fc84610875565b6001600160a01b0316145b949350505050565b826001600160a01b0316612722826113b4565b6001600160a01b0316146127865760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610911565b6001600160a01b0382166127e85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610911565b6127f3838383612e8c565b6127fe6000826122ab565b6001600160a01b0383166000908152600360205260408120805460019290612827908490613c39565b90915550506001600160a01b0382166000908152600360205260408120805460019290612855908490613b77565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6128c082826114ec565b610cde5760008281526007602090815260408083206001600160a01b03851684529091529020805460ff191660011790556128f83390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61294682826114ec565b15610cde5760008281526007602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b0382166129f95760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610911565b6000818152600260205260409020546001600160a01b031615612a5e5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610911565b612a6a60008383612e8c565b6001600160a01b0382166000908152600360205260408120805460019290612a93908490613b77565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60065460ff166123695760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610911565b612b42612af1565b6006805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b612b94612323565b6006805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612b6f3390565b606081612bed5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612c175780612c0181613d2e565b9150612c109050600a83613bb7565b9150612bf1565b60008167ffffffffffffffff811115612c3257612c32613dcf565b6040519080825280601f01601f191660200182016040528015612c5c576020820181803683370190505b5090505b841561270757612c71600183613c39565b9150612c7e600a86613d63565b612c89906030613b77565b60f81b818381518110612c9e57612c9e613db9565b60200101906001600160f81b031916908160001a905350612cc0600a86613bb7565b9450612c60565b816001600160a01b0316836001600160a01b03161415612d295760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610911565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612da184848461270f565b612dad84848484612ee5565b6118f55760405162461bcd60e51b815260040161091190613a12565b6060600a80546107f290613cd7565b60006001600160e01b031982166380ac58cd60e01b1480612e0957506001600160e01b03198216635b5e139f60e01b145b806107dd57506301ffc9a760e01b6001600160e01b03198316146107dd565b612e3282826114ec565b610cde57612e4a816001600160a01b03166014612ff2565b612e55836020612ff2565b604051602001612e66929190613743565b60408051601f198184030181529082905262461bcd60e51b82526109119160040161396a565b6001600160a01b0382163014156109b25760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f74207472616e7366657220746f20636f6e747261637400000000006044820152606401610911565b60006001600160a01b0384163b15612fe757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612f299033908990889088906004016137b8565b602060405180830381600087803b158015612f4357600080fd5b505af1925050508015612f73575060408051601f3d908101601f19168201909252612f70918101906134fc565b60015b612fcd573d808015612fa1576040519150601f19603f3d011682016040523d82523d6000602084013e612fa6565b606091505b508051612fc55760405162461bcd60e51b815260040161091190613a12565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612707565b506001949350505050565b60606000613001836002613bee565b61300c906002613b77565b67ffffffffffffffff81111561302457613024613dcf565b6040519080825280601f01601f19166020018201604052801561304e576020820181803683370190505b509050600360fc1b8160008151811061306957613069613db9565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061309857613098613db9565b60200101906001600160f81b031916908160001a90535060006130bc846002613bee565b6130c7906001613b77565b90505b600181111561313f576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106130fb576130fb613db9565b1a60f81b82828151811061311157613111613db9565b60200101906001600160f81b031916908160001a90535060049490941c9361313881613ca0565b90506130ca565b50831561318e5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610911565b9392505050565b8280546131a190613cd7565b90600052602060002090601f0160209004810192826131c35760008555613209565b82601f106131dc57805160ff1916838001178555613209565b82800160010185558215613209579182015b828111156132095782518255916020019190600101906131ee565b50613215929150613219565b5090565b5b80821115613215576000815560010161321a565b80356001600160a01b038116811461324557600080fd5b919050565b600082601f83011261325b57600080fd5b813567ffffffffffffffff8082111561327657613276613dcf565b604051601f8301601f19908116603f0116810190828211818310171561329e5761329e613dcf565b816040528381528660208588010111156132b757600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000602082840312156132e957600080fd5b61318e8261322e565b6000806040838503121561330557600080fd5b61330e8361322e565b915061331c6020840161322e565b90509250929050565b60008060006060848603121561333a57600080fd5b6133438461322e565b92506133516020850161322e565b9150604084013590509250925092565b6000806000806080858703121561337757600080fd5b6133808561322e565b935061338e6020860161322e565b925060408501359150606085013567ffffffffffffffff8111156133b157600080fd5b6133bd8782880161324a565b91505092959194509250565b600080604083850312156133dc57600080fd5b6133e58361322e565b9150602083013580151581146133fa57600080fd5b809150509250929050565b60008060006060848603121561341a57600080fd5b6134238461322e565b9250602084013567ffffffffffffffff8082111561344057600080fd5b61344c8783880161324a565b9350604086013591508082111561346257600080fd5b5061346f8682870161324a565b9150509250925092565b6000806040838503121561348c57600080fd5b6134958361322e565b946020939093013593505050565b6000602082840312156134b557600080fd5b5035919050565b600080604083850312156134cf57600080fd5b8235915061331c6020840161322e565b6000602082840312156134f157600080fd5b813561318e81613de5565b60006020828403121561350e57600080fd5b815161318e81613de5565b60006020828403121561352b57600080fd5b813567ffffffffffffffff81111561354257600080fd5b6127078482850161324a565b6000806040838503121561356157600080fd5b823567ffffffffffffffff81111561357857600080fd5b6135848582860161324a565b95602094909401359450505050565b600080604083850312156135a657600080fd5b82359150602083013567ffffffffffffffff8111156135c457600080fd5b6135d08582860161324a565b9150509250929050565b600081518084526020808501945080840160005b838110156136135781516001600160a01b0316875295820195908201906001016135ee565b509495945050505050565b60008151808452613636816020860160208601613c74565b601f01601f19169290920160200192915050565b6006811061366857634e487b7160e01b600052602160045260246000fd5b9052565b6000815461367981613cd7565b6001828116801561369157600181146136a2576136d1565b60ff198416875282870194506136d1565b8560005260208060002060005b858110156136c85781548a8201529084019082016136af565b50505082870194505b5050505092915050565b600083516136ed818460208801613c74565b6136f98184018561366c565b64173539b7b760d91b815260050195945050505050565b600061371c828561366c565b6101d160f51b81528351613737816002840160208801613c74565b01600201949350505050565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161377b816017850160208801613c74565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516137ac816028840160208801613c74565b01602801949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906137eb9083018461361e565b9695505050505050565b6001600160a01b03841681526060602082018190526000906138199083018561361e565b82810360408401526137eb818561361e565b60018060a01b0384168152826020820152606060408201526000613852606083018461361e565b95945050505050565b60208152600061318e60208301846135da565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b828110156138c357603f198886030184526138b185835161361e565b94509285019290850190600101613895565b5092979650505050505050565b604081016138de828561364a565b6001600160a01b039290921660209190910152919050565b613900818661364a565b6001600160a01b03841660208201526080604082018190526000906139279083018561361e565b8281036060840152613939818561361e565b979650505050505050565b61394e818561364a565b826020820152606060408201526000613852606083018461361e565b60208152600061318e602083018461361e565b604081526000613990604083018561361e565b602083820381850152600085546139a681613cd7565b808552600182811680156139c157600181146139d557613a03565b60ff19841687870152604087019450613a03565b896000528560002060005b848110156139fb5781548982018901529083019087016139e0565b880187019550505b50929998505050505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6080815260066080820152656f7261636c6560d01b60a082015260018060a01b038416602082015260c060408201526000613aa260c083018561361e565b9050826060830152949350505050565b6020808252600f908201526e125b9d985b1a59081858d8dbdd5b9d608a1b604082015260600190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b6020808252600d908201526c125b9d985b1a59081bd89d1a59609a1b604082015260600190565b63ffffffff84168152821515602082015260606040820152600061385260608301846135da565b60008219821115613b8a57613b8a613d77565b500190565b600063ffffffff808316818516808303821115613bae57613bae613d77565b01949350505050565b600082613bc657613bc6613d8d565b500490565b600063ffffffff80841680613be257613be2613d8d565b92169190910492915050565b6000816000190483118215151615613c0857613c08613d77565b500290565b600063ffffffff80831681851681830481118215151615613c3057613c30613d77565b02949350505050565b600082821015613c4b57613c4b613d77565b500390565b8051602080830151919081101561166d5760001960209190910360031b1b16919050565b60005b83811015613c8f578181015183820152602001613c77565b838111156118f55750506000910152565b600081613caf57613caf613d77565b506000190190565b600063ffffffff821680613ccd57613ccd613d77565b6000190192915050565b600181811c90821680613ceb57607f821691505b6020821081141561166d57634e487b7160e01b600052602260045260246000fd5b600061ffff80831681811415613d2457613d24613d77565b6001019392505050565b6000600019821415613d4257613d42613d77565b5060010190565b600063ffffffff80831681811415613d2457613d24613d77565b600082613d7257613d72613d8d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610fb557600080fdfee28434228950b641dbbc0178de89daa359a87c6ee0d8399aeace52a98fe902b9b19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e68e79a7bf1e0bc45d0a330c573bc367f9cf464fd326078812f301165fbda4ef1a2646970667358221220aba5752f9728dc9302559b6d60288a11917a3eb2b8a5cb612f0037787a19150664736f6c6343000807003368747470733a2f2f6d657461646174612e66696f70726f746f636f6c2e696f2f646f6d61696e6e66742fe28434228950b641dbbc0178de89daa359a87c6ee0d8399aeace52a98fe902b9b19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000002bfbc5e0e4ac9cf3dce2512812ef7fa46031b506000000000000000000000000ba08b88cb85e8fdccdfa2f59a415824d6bd634ca000000000000000000000000f55c6d387b440ab78cf3475bd7f8ad7af9f6716f000000000000000000000000a1d386b970befa209b1fda339974cd595dd99d7a000000000000000000000000c9727faad3e40771c4de9701ebff3b758e49b2e200000000000000000000000075aaeec8513365d787842d4817319ce792d15abc000000000000000000000000267bf19766815ab32cf7d05ed85a86fd947c852700000000000000000000000012810a467e50338328b1cb6ad480969ac55765b900000000000000000000000020ce1b955134c25a457a6ae688d4f53c6ad53787000000000000000000000000c6770f6b7308cc0b379d5a054a4a85ac85c2cfe4

Deployed Bytecode

0x60806040526004361061023f5760003560e01c80638456cb591161012e578063c0bcfe9c116100ab578063d65592e21161006f578063d65592e214610707578063e5690a9914610727578063e58378bb14610747578063e985e9c514610769578063ff3e34a5146107b257600080fd5b8063c0bcfe9c14610665578063c79445d014610685578063c87b56dd146106a7578063cb5aa7e9146106c7578063d547741f146106e757600080fd5b8063a217fddf116100f2578063a217fddf146105c1578063a22cb465146105d6578063a6f9dae1146105f6578063a7bf70b914610616578063b88d4fde1461064557600080fd5b80638456cb591461052a57806385abfda51461053f57806391d148541461055f57806395d89b411461057f5780639b7e2bf01461059457600080fd5b806336568abe116101bc5780634fdcaca6116101805780634fdcaca61461049257806355f804b3146104b25780635c975abb146104d25780636352211e146104ea57806370a082311461050a57600080fd5b806336568abe146103fb5780633b95e4501461041b5780633f4ba83a1461043b57806340884c521461045057806342842e0e1461047257600080fd5b806310d3d22e1161020357806310d3d22e1461032f5780631d5a25da1461036b57806323b872dd1461038b578063248a9ca3146103ab5780632f2ff15d146103db57600080fd5b806301ffc9a71461024e57806306fdde031461028357806307e2cea5146102a5578063081812fc146102d5578063095ea7b31461030d57600080fd5b3661024957600080fd5b600080fd5b34801561025a57600080fd5b5061026e6102693660046134df565b6107d2565b60405190151581526020015b60405180910390f35b34801561028f57600080fd5b506102986107e3565b60405161027a919061396a565b3480156102b157600080fd5b506102c7600080516020613e3c83398151915281565b60405190815260200161027a565b3480156102e157600080fd5b506102f56102f03660046134a3565b610875565b6040516001600160a01b03909116815260200161027a565b34801561031957600080fd5b5061032d610328366004613479565b61089c565b005b34801561033b57600080fd5b5061034f61034a3660046132d7565b6109b7565b60408051921515835263ffffffff90911660208301520161027a565b34801561037757600080fd5b506102c7610386366004613593565b610a05565b34801561039757600080fd5b5061032d6103a6366004613325565b610c0e565b3480156103b757600080fd5b506102c76103c63660046134a3565b60009081526007602052604090206001015490565b3480156103e757600080fd5b5061032d6103f63660046134bc565b610c3f565b34801561040757600080fd5b5061032d6104163660046134bc565b610c64565b34801561042757600080fd5b506102c7610436366004613405565b610ce2565b34801561044757600080fd5b5061032d610f8d565b34801561045c57600080fd5b50610465610fb8565b60405161027a919061385b565b34801561047e57600080fd5b5061032d61048d366004613325565b611019565b34801561049e57600080fd5b5061032d6104ad3660046132d7565b611034565b3480156104be57600080fd5b5061032d6104cd366004613519565b611389565b3480156104de57600080fd5b5060065460ff1661026e565b3480156104f657600080fd5b506102f56105053660046134a3565b6113b4565b34801561051657600080fd5b506102c76105253660046132d7565b611414565b34801561053657600080fd5b5061032d61149a565b34801561054b57600080fd5b506102f561055a3660046134a3565b6114c2565b34801561056b57600080fd5b5061026e61057a3660046134bc565b6114ec565b34801561058b57600080fd5b50610298611517565b3480156105a057600080fd5b506105b46105af3660046132d7565b611526565b60405161027a919061386e565b3480156105cd57600080fd5b506102c7600081565b3480156105e257600080fd5b5061032d6105f13660046133c9565b611673565b34801561060257600080fd5b5061032d6106113660046132d7565b61167e565b34801561062257600080fd5b50610636610631366004613519565b6116c6565b60405161027a93929190613b50565b34801561065157600080fd5b5061032d610660366004613361565b6118c3565b34801561067157600080fd5b5061032d6106803660046132d7565b6118fb565b34801561069157600080fd5b506102c7600080516020613dfc83398151915281565b3480156106b357600080fd5b506102986106c23660046134a3565b611af4565b3480156106d357600080fd5b5061034f6106e23660046132d7565b611b84565b3480156106f357600080fd5b5061032d6107023660046134bc565b611bd9565b34801561071357600080fd5b5061032d61072236600461354e565b611bfe565b34801561073357600080fd5b5061032d6107423660046132d7565b611d4a565b34801561075357600080fd5b506102c7600080516020613e1c83398151915281565b34801561077557600080fd5b5061026e6107843660046132f2565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156107be57600080fd5b5061032d6107cd3660046132d7565b611f4b565b60006107dd82612227565b92915050565b6060600080546107f290613cd7565b80601f016020809104026020016040519081016040528092919081815260200182805461081e90613cd7565b801561086b5780601f106108405761010080835404028352916020019161086b565b820191906000526020600020905b81548152906001019060200180831161084e57829003601f168201915b5050505050905090565b60006108808261224c565b506000908152600460205260409020546001600160a01b031690565b60006108a7826113b4565b9050806001600160a01b0316836001600160a01b0316141561091a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061093657506109368133610784565b6109a85760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610911565b6109b283836122ab565b505050565b6000806001600160a01b0383166109e05760405162461bcd60e51b815260040161091190613ab2565b6109f8600080516020613e3c833981519152846114ec565b600b549094909350915050565b6000600080516020613e3c833981519152610a1f81612319565b610a27612323565b6000848152600260205260409020546001600160a01b0316610a7d5760405162461bcd60e51b815260206004820152600f60248201526e125b9d985b1a59081d1bdad95b9259608a1b6044820152606401610911565b6000835111610a9e5760405162461bcd60e51b815260040161091190613b29565b600954600364010000000090910463ffffffff161015610b005760405162461bcd60e51b815260206004820152601c60248201527f4f7261636c6573206d7573742062652033206f722067726561746572000000006044820152606401610911565b600060018585604051602001610b1893929190613944565b604051602081830303815290604052805190602001209050610b3b81600061236b565b15610bca57610b49856125e9565b6040805160208082018084526000808452898152600d9092529290209051610b719290613195565b507f8e1d942c85258bb26ee807b4f481e6fc490cc453d84696f078d7c56184d31509338686604051610ba59392919061382b565b60405180910390a16000858152600f6020526040902080546001600160a01b03191690555b7f3be8840aec3e3998ee1e020dd20a8ea88430534d4e16feeeb1762ea4428464cd338583604051610bfd93929190613a64565b60405180910390a150929392505050565b610c183382612690565b610c345760405162461bcd60e51b815260040161091190613adb565b6109b283838361270f565b600082815260076020526040902060010154610c5a81612319565b6109b283836128b6565b6001600160a01b0381163314610cd45760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610911565b610cde828261293c565b5050565b6000600080516020613e3c833981519152610cfc81612319565b610d04612323565b6001600160a01b038516610d2a5760405162461bcd60e51b815260040161091190613ab2565b6001600160a01b038516301415610d835760405162461bcd60e51b815260206004820152601f60248201527f43616e6e6f74207772617020746f20636f6e7472616374206163636f756e74006044820152606401610911565b6001845110158015610d965750603f8451105b610dd35760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b2103237b6b0b4b760911b6044820152606401610911565b6000835111610df45760405162461bcd60e51b815260040161091190613b29565b600954600364010000000090910463ffffffff161015610e565760405162461bcd60e51b815260206004820152601c60248201527f4f7261636c6573206d7573742062652033206f722067726561746572000000006044820152606401610911565b60008080878787604051602001610e7094939291906138f6565b604051602081830303815290604052805190602001209050610e9381600061236b565b15610f4857610ea6600880546001019055565b6008549150610eb587836129a3565b85600d6000610ec360085490565b81526020019081526020016000209080519060200190610ee4929190613195565b507f34d54ab6b9488e3952ffb21d7c5b6674a8951b753232762597033e7d1c3d41d2878787604051610f18939291906137f5565b60405180910390a16000828152600f6020526040902080546001600160a01b0319166001600160a01b0389161790555b7f3be8840aec3e3998ee1e020dd20a8ea88430534d4e16feeeb1762ea4428464cd338683604051610f7b93929190613a64565b60405180910390a15095945050505050565b600080516020613dfc833981519152610fa581612319565b610fad612af1565b610fb5612b3a565b50565b6060600b80548060200260200160405190810160405280929190818152602001828054801561086b57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610ff2575050505050905090565b6109b2838383604051806020016040528060008152506118c3565b600080516020613dfc83398151915261104c81612319565b6001600160a01b0382166110725760405162461bcd60e51b815260040161091190613ab2565b600954600364010000000090910463ffffffff16116110d35760405162461bcd60e51b815260206004820152601a60248201527f4d696e696d756d2033206f7261636c65732072657175697265640000000000006044820152606401610911565b60006003836040516020016110e99291906138d0565b604051602081830303815290604052805190602001209050611119600080516020613e3c833981519152846114ec565b61115d5760405162461bcd60e51b815260206004820152601560248201527413dc9858db19481b9bdd081c9959da5cdd195c9959605a1b6044820152606401610911565b61116881600161236b565b1561131c57611185600080516020613e3c8339815191528461293c565b60098054640100000000900463ffffffff169060046111a383613cb7565b91906101000a81548163ffffffff021916908363ffffffff1602179055505060005b600b5461ffff821610156112d757836001600160a01b0316600b8261ffff16815481106111f4576111f4613db9565b6000918252602090912001546001600160a01b031614156112c557600b805461121f90600190613c39565b8154811061122f5761122f613db9565b600091825260209091200154600b80546001600160a01b039092169161ffff841690811061125f5761125f613db9565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550600b80548061129e5761129e613da3565b600082815260209020810160001990810180546001600160a01b03191690550190556112d7565b806112cf81613d0c565b9150506111c5565b50604080516001600160a01b0385168152602081018390527fe4d21301551b3d87dc269fc8b9d5a5c1432831c3c321ef19570b8a93a10cb52291015b60405180910390a15b6040805160808082526009908201526831bab9ba37b234b0b760b91b60a082015233602082015260c08183018190526000908201526060810183905290517f3be8840aec3e3998ee1e020dd20a8ea88430534d4e16feeeb1762ea4428464cd9181900360e00190a1505050565b600080516020613dfc8339815191526113a181612319565b81516109b290600a906020850190613195565b6000818152600260205260408120546001600160a01b0316806107dd5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610911565b60006001600160a01b03821661147e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610911565b506001600160a01b031660009081526003602052604090205490565b600080516020613dfc8339815191526114b281612319565b6114ba612323565b610fb5612b8c565b600b81815481106114d257600080fd5b6000918252602090912001546001600160a01b0316905081565b60009182526007602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600180546107f290613cd7565b6060600061153383611414565b90508061156d576040805160008082526020820190925290611565565b60608152602001906001900390816115505790505b509392505050565b60008167ffffffffffffffff81111561158857611588613dcf565b6040519080825280602002602001820160405280156115bb57816020015b60608152602001906001900390816115a65790505b509050600060015b6008548111611663576000818152600f60205260409020546001600160a01b0387811691161415611651576000818152600d6020526040902061160582612bc9565b604051602001611616929190613710565b60405160208183030381529060405283838151811061163757611637613db9565b6020026020010181905250818061164d90613d2e565b9250505b8061165b81613d2e565b9150506115c3565b5090949350505050565b50919050565b610cde338383612cc7565b600080516020613e1c83398151915261169681612319565b6116ae600080516020613e1c8339815191523361293c565b610cde600080516020613e1c833981519152836128b6565b600080606060008451116116ec5760405162461bcd60e51b815260040161091190613b29565b6000600e816116fa87613c50565b8152602081019190915260400160002060010154610100900463ffffffff1667ffffffffffffffff81111561173157611731613dcf565b60405190808252806020026020018201604052801561175a578160200160208202803683370190505b5090506000805b600b5463ffffffff8216101561185e57600e600061177e89613c50565b81526020019081526020016000206000016000600b8363ffffffff16815481106117aa576117aa613db9565b60009182526020808320909101546001600160a01b0316835282019290925260400190205460ff161561184c57600b8163ffffffff16815481106117f0576117f0613db9565b9060005260206000200160009054906101000a90046001600160a01b0316838363ffffffff168151811061182657611826613db9565b6001600160a01b03909216602092830291909101909101528161184881613d49565b9250505b8061185681613d49565b915050611761565b50600e600061186c88613c50565b815260200190815260200160002060010160019054906101000a900463ffffffff16600e60008861189c90613c50565b815260208101919091526040016000206001015490955060ff169350909150509193909250565b6118cd3383612690565b6118e95760405162461bcd60e51b815260040161091190613adb565b6118f584848484612d96565b50505050565b600080516020613dfc83398151915261191381612319565b6001600160a01b0382166119395760405162461bcd60e51b815260040161091190613ab2565b6001600160a01b0382163314156119895760405162461bcd60e51b815260206004820152601460248201527321b0b73737ba103932b3b4b9ba32b91039b2b63360611b6044820152606401610911565b600060048360405160200161199f9291906138d0565b6040516020818303038152906040528051906020012090506119cf600080516020613dfc833981519152846114ec565b15611a115760405162461bcd60e51b8152602060048201526012602482015271105b1c9958591e481c9959da5cdd195c995960721b6044820152606401610911565b611a1c81600161236b565b1561131c57611a39600080516020613dfc833981519152846128b6565b6009805463ffffffff16906000611a4f83613d49565b82546101009290920a63ffffffff81810219909316919092169190910217905550600c80546001810182556000919091527fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c70180546001600160a01b0319166001600160a01b03851690811790915560408051918252602082018390527f4f4b5dcea44dd9a0d4582de1f0b930ffdd296bd645df66b73ff1795f43e7dc119101611313565b6000818152600260205260409020546060906001600160a01b0316611b465760405162461bcd60e51b81526020600482015260086024820152672737903a37b5b2b760c11b6044820152606401610911565b611b4e612dc9565b6000838152600d60209081526040918290209151611b6e939291016136db565b6040516020818303038152906040529050919050565b6000806001600160a01b038316611bad5760405162461bcd60e51b815260040161091190613ab2565b611bc5600080516020613dfc833981519152846114ec565b600954909463ffffffff9091169350915050565b600082815260076020526040902060010154611bf481612319565b6109b2838361293c565b611c06612323565b6003825110158015611c1a57506040825111155b611c5b5760405162461bcd60e51b8152602060048201526012602482015271496e76616c69642046494f2048616e646c6560701b6044820152606401610911565b33611c65826113b4565b6001600160a01b031614611cb15760405162461bcd60e51b815260206004820152601360248201527224b73b30b634b2103a37b5b2b71037bbb732b960691b6044820152606401610911565b611cba816125e9565b6000818152600d60205260409081902090517fe230a800683f05cf5d4d7ded3a82cf2a1d4db7f8c15b513c3d1857a6a29aacfa91611cfa9185919061397d565b60405180910390a16040805160208082018084526000808452858152600d9092529290209051611d2a9290613195565b506000908152600f6020526040902080546001600160a01b031916905550565b600080516020613dfc833981519152611d6281612319565b6001600160a01b038216611d885760405162461bcd60e51b815260040161091190613ab2565b6001600160a01b038216331415611dd85760405162461bcd60e51b815260206004820152601460248201527321b0b73737ba103932b3b4b9ba32b91039b2b63360611b6044820152606401610911565b611df0600080516020613e3c833981519152836114ec565b15611e325760405162461bcd60e51b8152602060048201526012602482015271105b1c9958591e481c9959da5cdd195c995960721b6044820152606401610911565b6000600283604051602001611e489291906138d0565b604051602081830303815290604052805190602001209050611e6b81600161236b565b1561131c57611e88600080516020613e3c833981519152846128b6565b60098054640100000000900463ffffffff16906004611ea683613d49565b82546101009290920a63ffffffff81810219909316919092169190910217905550600b80546001810182556000919091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90180546001600160a01b0319166001600160a01b03851690811790915560408051918252602082018390527ffde1904d2f36e8247a68b76a38b2dc6908f769438b6bb8f173ee39a2c01f2b589101611313565b600080516020613dfc833981519152611f6381612319565b6001600160a01b038216611f895760405162461bcd60e51b815260040161091190613ab2565b611fa1600080516020613dfc833981519152836114ec565b611fed5760405162461bcd60e51b815260206004820152601860248201527f437573746f6469616e206e6f74207265676973746572656400000000000000006044820152606401610911565b600954600763ffffffff909116116120475760405162461bcd60e51b815260206004820152601960248201527f4d75737420636f6e7461696e203720637573746f6469616e73000000000000006044820152606401610911565b600060058360405160200161205d9291906138d0565b60405160208183030381529060405280519060200120905061208081600161236b565b1561131c5761209d600080516020613dfc8339815191528461293c565b6009805463ffffffff169060006120b383613cb7565b91906101000a81548163ffffffff021916908363ffffffff1602179055505060005b600c5461ffff821610156121e757836001600160a01b0316600c8261ffff168154811061210457612104613db9565b6000918252602090912001546001600160a01b031614156121d557600c805461212f90600190613c39565b8154811061213f5761213f613db9565b600091825260209091200154600c80546001600160a01b039092169161ffff841690811061216f5761216f613db9565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550600c8054806121ae576121ae613da3565b600082815260209020810160001990810180546001600160a01b03191690550190556121e7565b806121df81613d0c565b9150506120d5565b50604080516001600160a01b0385168152602081018390527f0cf142c25ce5b399a7953be52d40c8596def04c010697715ab9c72f4962d1a2d9101611313565b60006001600160e01b03198216637965db0b60e01b14806107dd57506107dd82612dd8565b6000818152600260205260409020546001600160a01b0316610fb55760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610911565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906122e0826113b4565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b610fb58133612e28565b60065460ff16156123695760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610911565b565b6000828152600e602052604081206001015460ff16156123cd5760405162461bcd60e51b815260206004820152601960248201527f417070726f76616c20616c726561647920636f6d706c657465000000000000006044820152606401610911565b600954640100000000900463ffffffff1660ff831660011415612419576009546003906124019063ffffffff166002613c0d565b61240b9190613bcb565b612416906001613b8f565b90505b6000848152600e602052604090206001015463ffffffff8083166101009092041610156125ce576000848152600e6020908152604080832033845290915290205460ff16156124b85760405162461bcd60e51b815260206004820152602560248201527f73656e6465722068617320616c726561647920617070726f7665642074686973604482015264040d0c2e6d60db1b6064820152608401610911565b6000848152600e60208181526040808420338552808352908420805460ff19166001908117909155938890529190528101805463ffffffff610100909104169161250183613d49565b825463ffffffff91821661010093840a90810290830219909116179092556000878152600e60205260409020600101548483169190049091161090506125ce576000848152600e6020908152604080832033845290915290205460ff166125aa5760405162461bcd60e51b815260206004820152601860248201527f416e20617070726f766572206d757374206578656375746500000000000000006044820152606401610911565b50506000828152600e602052604090206001908101805460ff1916821790556107dd565b5050506000908152600e602052604090206001015460ff1690565b60006125f4826113b4565b905061260281600084612e8c565b61260d6000836122ab565b6001600160a01b0381166000908152600360205260408120805460019290612636908490613c39565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60008061269c836113b4565b9050806001600160a01b0316846001600160a01b031614806126e357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806127075750836001600160a01b03166126fc84610875565b6001600160a01b0316145b949350505050565b826001600160a01b0316612722826113b4565b6001600160a01b0316146127865760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610911565b6001600160a01b0382166127e85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610911565b6127f3838383612e8c565b6127fe6000826122ab565b6001600160a01b0383166000908152600360205260408120805460019290612827908490613c39565b90915550506001600160a01b0382166000908152600360205260408120805460019290612855908490613b77565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6128c082826114ec565b610cde5760008281526007602090815260408083206001600160a01b03851684529091529020805460ff191660011790556128f83390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61294682826114ec565b15610cde5760008281526007602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b0382166129f95760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610911565b6000818152600260205260409020546001600160a01b031615612a5e5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610911565b612a6a60008383612e8c565b6001600160a01b0382166000908152600360205260408120805460019290612a93908490613b77565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60065460ff166123695760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610911565b612b42612af1565b6006805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b612b94612323565b6006805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612b6f3390565b606081612bed5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612c175780612c0181613d2e565b9150612c109050600a83613bb7565b9150612bf1565b60008167ffffffffffffffff811115612c3257612c32613dcf565b6040519080825280601f01601f191660200182016040528015612c5c576020820181803683370190505b5090505b841561270757612c71600183613c39565b9150612c7e600a86613d63565b612c89906030613b77565b60f81b818381518110612c9e57612c9e613db9565b60200101906001600160f81b031916908160001a905350612cc0600a86613bb7565b9450612c60565b816001600160a01b0316836001600160a01b03161415612d295760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610911565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612da184848461270f565b612dad84848484612ee5565b6118f55760405162461bcd60e51b815260040161091190613a12565b6060600a80546107f290613cd7565b60006001600160e01b031982166380ac58cd60e01b1480612e0957506001600160e01b03198216635b5e139f60e01b145b806107dd57506301ffc9a760e01b6001600160e01b03198316146107dd565b612e3282826114ec565b610cde57612e4a816001600160a01b03166014612ff2565b612e55836020612ff2565b604051602001612e66929190613743565b60408051601f198184030181529082905262461bcd60e51b82526109119160040161396a565b6001600160a01b0382163014156109b25760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f74207472616e7366657220746f20636f6e747261637400000000006044820152606401610911565b60006001600160a01b0384163b15612fe757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612f299033908990889088906004016137b8565b602060405180830381600087803b158015612f4357600080fd5b505af1925050508015612f73575060408051601f3d908101601f19168201909252612f70918101906134fc565b60015b612fcd573d808015612fa1576040519150601f19603f3d011682016040523d82523d6000602084013e612fa6565b606091505b508051612fc55760405162461bcd60e51b815260040161091190613a12565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612707565b506001949350505050565b60606000613001836002613bee565b61300c906002613b77565b67ffffffffffffffff81111561302457613024613dcf565b6040519080825280601f01601f19166020018201604052801561304e576020820181803683370190505b509050600360fc1b8160008151811061306957613069613db9565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061309857613098613db9565b60200101906001600160f81b031916908160001a90535060006130bc846002613bee565b6130c7906001613b77565b90505b600181111561313f576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106130fb576130fb613db9565b1a60f81b82828151811061311157613111613db9565b60200101906001600160f81b031916908160001a90535060049490941c9361313881613ca0565b90506130ca565b50831561318e5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610911565b9392505050565b8280546131a190613cd7565b90600052602060002090601f0160209004810192826131c35760008555613209565b82601f106131dc57805160ff1916838001178555613209565b82800160010185558215613209579182015b828111156132095782518255916020019190600101906131ee565b50613215929150613219565b5090565b5b80821115613215576000815560010161321a565b80356001600160a01b038116811461324557600080fd5b919050565b600082601f83011261325b57600080fd5b813567ffffffffffffffff8082111561327657613276613dcf565b604051601f8301601f19908116603f0116810190828211818310171561329e5761329e613dcf565b816040528381528660208588010111156132b757600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000602082840312156132e957600080fd5b61318e8261322e565b6000806040838503121561330557600080fd5b61330e8361322e565b915061331c6020840161322e565b90509250929050565b60008060006060848603121561333a57600080fd5b6133438461322e565b92506133516020850161322e565b9150604084013590509250925092565b6000806000806080858703121561337757600080fd5b6133808561322e565b935061338e6020860161322e565b925060408501359150606085013567ffffffffffffffff8111156133b157600080fd5b6133bd8782880161324a565b91505092959194509250565b600080604083850312156133dc57600080fd5b6133e58361322e565b9150602083013580151581146133fa57600080fd5b809150509250929050565b60008060006060848603121561341a57600080fd5b6134238461322e565b9250602084013567ffffffffffffffff8082111561344057600080fd5b61344c8783880161324a565b9350604086013591508082111561346257600080fd5b5061346f8682870161324a565b9150509250925092565b6000806040838503121561348c57600080fd5b6134958361322e565b946020939093013593505050565b6000602082840312156134b557600080fd5b5035919050565b600080604083850312156134cf57600080fd5b8235915061331c6020840161322e565b6000602082840312156134f157600080fd5b813561318e81613de5565b60006020828403121561350e57600080fd5b815161318e81613de5565b60006020828403121561352b57600080fd5b813567ffffffffffffffff81111561354257600080fd5b6127078482850161324a565b6000806040838503121561356157600080fd5b823567ffffffffffffffff81111561357857600080fd5b6135848582860161324a565b95602094909401359450505050565b600080604083850312156135a657600080fd5b82359150602083013567ffffffffffffffff8111156135c457600080fd5b6135d08582860161324a565b9150509250929050565b600081518084526020808501945080840160005b838110156136135781516001600160a01b0316875295820195908201906001016135ee565b509495945050505050565b60008151808452613636816020860160208601613c74565b601f01601f19169290920160200192915050565b6006811061366857634e487b7160e01b600052602160045260246000fd5b9052565b6000815461367981613cd7565b6001828116801561369157600181146136a2576136d1565b60ff198416875282870194506136d1565b8560005260208060002060005b858110156136c85781548a8201529084019082016136af565b50505082870194505b5050505092915050565b600083516136ed818460208801613c74565b6136f98184018561366c565b64173539b7b760d91b815260050195945050505050565b600061371c828561366c565b6101d160f51b81528351613737816002840160208801613c74565b01600201949350505050565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161377b816017850160208801613c74565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516137ac816028840160208801613c74565b01602801949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906137eb9083018461361e565b9695505050505050565b6001600160a01b03841681526060602082018190526000906138199083018561361e565b82810360408401526137eb818561361e565b60018060a01b0384168152826020820152606060408201526000613852606083018461361e565b95945050505050565b60208152600061318e60208301846135da565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b828110156138c357603f198886030184526138b185835161361e565b94509285019290850190600101613895565b5092979650505050505050565b604081016138de828561364a565b6001600160a01b039290921660209190910152919050565b613900818661364a565b6001600160a01b03841660208201526080604082018190526000906139279083018561361e565b8281036060840152613939818561361e565b979650505050505050565b61394e818561364a565b826020820152606060408201526000613852606083018461361e565b60208152600061318e602083018461361e565b604081526000613990604083018561361e565b602083820381850152600085546139a681613cd7565b808552600182811680156139c157600181146139d557613a03565b60ff19841687870152604087019450613a03565b896000528560002060005b848110156139fb5781548982018901529083019087016139e0565b880187019550505b50929998505050505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6080815260066080820152656f7261636c6560d01b60a082015260018060a01b038416602082015260c060408201526000613aa260c083018561361e565b9050826060830152949350505050565b6020808252600f908201526e125b9d985b1a59081858d8dbdd5b9d608a1b604082015260600190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b6020808252600d908201526c125b9d985b1a59081bd89d1a59609a1b604082015260600190565b63ffffffff84168152821515602082015260606040820152600061385260608301846135da565b60008219821115613b8a57613b8a613d77565b500190565b600063ffffffff808316818516808303821115613bae57613bae613d77565b01949350505050565b600082613bc657613bc6613d8d565b500490565b600063ffffffff80841680613be257613be2613d8d565b92169190910492915050565b6000816000190483118215151615613c0857613c08613d77565b500290565b600063ffffffff80831681851681830481118215151615613c3057613c30613d77565b02949350505050565b600082821015613c4b57613c4b613d77565b500390565b8051602080830151919081101561166d5760001960209190910360031b1b16919050565b60005b83811015613c8f578181015183820152602001613c77565b838111156118f55750506000910152565b600081613caf57613caf613d77565b506000190190565b600063ffffffff821680613ccd57613ccd613d77565b6000190192915050565b600181811c90821680613ceb57607f821691505b6020821081141561166d57634e487b7160e01b600052602260045260246000fd5b600061ffff80831681811415613d2457613d24613d77565b6001019392505050565b6000600019821415613d4257613d42613d77565b5060010190565b600063ffffffff80831681811415613d2457613d24613d77565b600082613d7257613d72613d8d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610fb557600080fdfee28434228950b641dbbc0178de89daa359a87c6ee0d8399aeace52a98fe902b9b19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e68e79a7bf1e0bc45d0a330c573bc367f9cf464fd326078812f301165fbda4ef1a2646970667358221220aba5752f9728dc9302559b6d60288a11917a3eb2b8a5cb612f0037787a19150664736f6c63430008070033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000002bfbc5e0e4ac9cf3dce2512812ef7fa46031b506000000000000000000000000ba08b88cb85e8fdccdfa2f59a415824d6bd634ca000000000000000000000000f55c6d387b440ab78cf3475bd7f8ad7af9f6716f000000000000000000000000a1d386b970befa209b1fda339974cd595dd99d7a000000000000000000000000c9727faad3e40771c4de9701ebff3b758e49b2e200000000000000000000000075aaeec8513365d787842d4817319ce792d15abc000000000000000000000000267bf19766815ab32cf7d05ed85a86fd947c852700000000000000000000000012810a467e50338328b1cb6ad480969ac55765b900000000000000000000000020ce1b955134c25a457a6ae688d4f53c6ad53787000000000000000000000000c6770f6b7308cc0b379d5a054a4a85ac85c2cfe4

-----Decoded View---------------
Arg [0] : newcustodians (address[]): 0x2bFBc5e0e4ac9CF3dCE2512812Ef7Fa46031b506,0xBA08B88cb85e8fDCCdfa2F59A415824d6BD634ca,0xf55C6d387b440Ab78CF3475bD7f8aD7Af9F6716f,0xa1D386b970BEfA209b1FDa339974cD595dD99d7a,0xC9727FAad3E40771C4dE9701eBFf3B758E49B2e2,0x75aAEeC8513365D787842d4817319ce792d15aBC,0x267BF19766815Ab32cf7D05eD85a86fD947C8527,0x12810A467e50338328b1cb6aD480969ac55765B9,0x20CE1B955134c25a457A6AE688d4f53c6Ad53787,0xC6770f6B7308Cc0b379D5A054A4a85aC85C2cFE4

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [2] : 0000000000000000000000002bfbc5e0e4ac9cf3dce2512812ef7fa46031b506
Arg [3] : 000000000000000000000000ba08b88cb85e8fdccdfa2f59a415824d6bd634ca
Arg [4] : 000000000000000000000000f55c6d387b440ab78cf3475bd7f8ad7af9f6716f
Arg [5] : 000000000000000000000000a1d386b970befa209b1fda339974cd595dd99d7a
Arg [6] : 000000000000000000000000c9727faad3e40771c4de9701ebff3b758e49b2e2
Arg [7] : 00000000000000000000000075aaeec8513365d787842d4817319ce792d15abc
Arg [8] : 000000000000000000000000267bf19766815ab32cf7d05ed85a86fd947c8527
Arg [9] : 00000000000000000000000012810a467e50338328b1cb6ad480969ac55765b9
Arg [10] : 00000000000000000000000020ce1b955134c25a457a6ae688d4f53c6ad53787
Arg [11] : 000000000000000000000000c6770f6b7308cc0b379d5a054a4a85ac85c2cfe4


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]

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