ETH Price: $3,086.90 (-0.05%)
Gas: 4 Gwei

Contract

0x327BeFece9cAA72AEE7d563B4BB8D8eF7C34Bc63
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
0x058492685f3da2cc6936c79ab7562a1068cd16cedb606586f104a895f7805d99 Mint Claim With ...(pending)2024-07-07 1:59:033 days ago1720317543IN
0x327BeFec...F7C34Bc63
0 ETH(Pending)(Pending)
0x7ec2a5ae0c20ef0932b1d0708b660a820d9f70f7951672d37efef1a33cf418f1 Mint Claim With ...(pending)2024-07-07 1:59:033 days ago1720317543IN
0x327BeFec...F7C34Bc63
0 ETH(Pending)(Pending)
0xf17a7bc82a7bb5d1439209a73cefc1c0522b77c5eff364682cd9d8ed0af3d573 Mint Claim With ...(pending)2024-07-07 1:48:093 days ago1720316889IN
0x327BeFec...F7C34Bc63
0 ETH(Pending)(Pending)
Set Approval For...202488712024-07-06 17:09:593 days ago1720285799IN
0x327BeFec...F7C34Bc63
0 ETH0.000140113.03400615
Mint Claim With ...202476112024-07-06 12:57:473 days ago1720270667IN
0x327BeFec...F7C34Bc63
0 ETH0.00046362.24576674
Mint Claim With ...202475962024-07-06 12:54:473 days ago1720270487IN
0x327BeFec...F7C34Bc63
0 ETH0.000477742.36691904
Mint Claim With ...202474842024-07-06 12:32:233 days ago1720269143IN
0x327BeFec...F7C34Bc63
0 ETH0.000423762.05263521
Mint Claim With ...202474262024-07-06 12:20:473 days ago1720268447IN
0x327BeFec...F7C34Bc63
0 ETH0.000421782.04281576
Mint Claim With ...202473912024-07-06 12:13:473 days ago1720268027IN
0x327BeFec...F7C34Bc63
0 ETH0.000510622.47305675
Mint Claim With ...202472792024-07-06 11:50:593 days ago1720266659IN
0x327BeFec...F7C34Bc63
0 ETH0.000385821.77060835
Set Approval For...198953782024-05-18 7:34:5953 days ago1716017699IN
0x327BeFec...F7C34Bc63
0 ETH0.000161733.5021369
Set Approval For...198531352024-05-12 9:46:1158 days ago1715507171IN
0x327BeFec...F7C34Bc63
0 ETH0.000206254.46618471
Mint Claim With ...191088462024-01-29 1:15:35163 days ago1706490935IN
0x327BeFec...F7C34Bc63
0 ETH0.001854378.98372321
Mint Claim With ...191087062024-01-29 0:47:35163 days ago1706489255IN
0x327BeFec...F7C34Bc63
0 ETH0.00188829.14654122
Mint Claim With ...191086522024-01-29 0:36:35163 days ago1706488595IN
0x327BeFec...F7C34Bc63
0 ETH0.001847128.4770086
Mint Claim With ...190971582024-01-27 9:55:23164 days ago1706349323IN
0x327BeFec...F7C34Bc63
0 ETH0.0025845112.51901657
Mint Claim With ...190971212024-01-27 9:47:47164 days ago1706348867IN
0x327BeFec...F7C34Bc63
0 ETH0.0023131611.20377013
Set Approval For...190790612024-01-24 21:05:23167 days ago1706130323IN
0x327BeFec...F7C34Bc63
0 ETH0.0002700411.08817364
Safe Transfer Fr...188918592023-12-29 14:33:23193 days ago1703860403IN
0x327BeFec...F7C34Bc63
0 ETH0.001060525.73967548
Mint Claim With ...188917462023-12-29 14:10:47193 days ago1703859047IN
0x327BeFec...F7C34Bc63
0 ETH0.0051372923.57604548
Safe Transfer Fr...187567122023-12-10 15:29:47212 days ago1702222187IN
0x327BeFec...F7C34Bc63
0 ETH0.0021278822.34613428
Mint Claim With ...187562002023-12-10 13:47:11212 days ago1702216031IN
0x327BeFec...F7C34Bc63
0 ETH0.0051436924.91436091
Mint Claim With ...187561892023-12-10 13:44:59212 days ago1702215899IN
0x327BeFec...F7C34Bc63
0 ETH0.0049590724.02094615
Mint Claim With ...187560652023-12-10 13:19:35212 days ago1702214375IN
0x327BeFec...F7C34Bc63
0 ETH0.0041422320.06876769
Mint Claim With ...187053772023-12-03 10:50:11219 days ago1701600611IN
0x327BeFec...F7C34Bc63
0 ETH0.0055107625.29056101
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To Value
157581162022-10-16 3:53:11633 days ago1665892391
0x327BeFec...F7C34Bc63
0.02 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
UnitedNationsCryptostamp

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-11-02
*/

// File: contracts/Header.sol

pragma solidity ^0.5.0;

/*
 * United Nations Postal Administration
 * https://unstamps.org
 *
 * United Nations Crypto stamp (UNCS1)
 * A digital collectible issued as Non-Fungible Token (NFT) on the ethereum blockchain.
 * https://crypto.unstamps.org
 *
 * Developed by the United Nations Office of Information and Communication Technology (OICT)
 * https://unite.un.org
 */

// File: contracts/UnitedNationsCryptostampProperties.sol

pragma solidity ^0.5.0;

interface UnitedNationsCryptostampProperties {

  enum IssuingOffice {
    Geneva,
    NewYork,
    Vienna
  }

  enum SustainableDevelopmentGoal {
    Goal_1_NoPoverty,
    Goal_2_ZeroHunger,
    Goal_3_GoodHealthAndWellBeing,
    Goal_4_QualityEducation,
    Goal_5_GenderEquality,
    Goal_6_CleanWaterAndSanitation,
    Goal_7_AffordableAndCleanEnergy,
    Goal_8_DecentWorkAndEconomicGrowth,
    Goal_9_IndustryInnovationAndInfrastructure,
    Goal_10_ReducedInequalities,
    Goal_11_SustainableCitiesAndCommunities,
    Goal_12_ResponsibleConsumptionAndProduction,
    Goal_13_ClimateAcion,
    Goal_14_LifeBelowWater,
    Goal_15_LifeOnLand,
    Goal_16_PeaceJusticeAndStrongInstitutions,
    Goal_17_Partnerships
  }
  
  function getProperties(uint256 tokenId)
  external
  view
  returns (IssuingOffice, SustainableDevelopmentGoal);

}

// File: openzeppelin-solidity/contracts/GSN/Context.sol

pragma solidity ^0.5.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 GSN 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.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }
    // solhint-disable-previous-line no-empty-blocks

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// File: openzeppelin-solidity/contracts/ownership/Ownable.sol

pragma solidity ^0.5.0;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(isOwner(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Returns true if the caller is the current owner.
     */
    function isOwner() public view returns (bool) {
        return _msgSender() == _owner;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: openzeppelin-solidity/contracts/introspection/IERC165.sol

pragma solidity ^0.5.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: openzeppelin-solidity/contracts/token/ERC721/IERC721.sol

pragma solidity ^0.5.0;


/**
 * @dev Required interface of an ERC721 compliant contract.
 */
contract IERC721 is IERC165 {
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

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

    /**
     * @dev Returns the owner of the NFT specified by `tokenId`.
     */
    function ownerOf(uint256 tokenId) public view returns (address owner);

    /**
     * @dev Transfers a specific NFT (`tokenId`) from one account (`from`) to
     * another (`to`).
     *
     *
     *
     * Requirements:
     * - `from`, `to` cannot be zero.
     * - `tokenId` must be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this
     * NFT by either {approve} or {setApprovalForAll}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) public;
    /**
     * @dev Transfers a specific NFT (`tokenId`) from one account (`from`) to
     * another (`to`).
     *
     * Requirements:
     * - If the caller is not `from`, it must be approved to move this NFT by
     * either {approve} or {setApprovalForAll}.
     */
    function transferFrom(address from, address to, uint256 tokenId) public;
    function approve(address to, uint256 tokenId) public;
    function getApproved(uint256 tokenId) public view returns (address operator);

    function setApprovalForAll(address operator, bool _approved) public;
    function isApprovedForAll(address owner, address operator) public view returns (bool);


    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public;
}

// File: openzeppelin-solidity/contracts/token/ERC721/IERC721Receiver.sol

pragma solidity ^0.5.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
contract IERC721Receiver {
    /**
     * @notice Handle the receipt of an NFT
     * @dev The ERC721 smart contract calls this function on the recipient
     * after a {IERC721-safeTransferFrom}. This function MUST return the function selector,
     * otherwise the caller will revert the transaction. The selector to be
     * returned can be obtained as `this.onERC721Received.selector`. This
     * function MAY throw to revert and reject the transfer.
     * Note: the ERC721 contract address is always the message sender.
     * @param operator The address which called `safeTransferFrom` function
     * @param from The address which previously owned the token
     * @param tokenId The NFT identifier which is being transferred
     * @param data Additional data with no specified format
     * @return bytes4 `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`
     */
    function onERC721Received(address operator, address from, uint256 tokenId, bytes memory data)
    public returns (bytes4);
}

// File: openzeppelin-solidity/contracts/math/SafeMath.sol

pragma solidity ^0.5.0;

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

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

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

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

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

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     *
     * _Available since v2.4.0._
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     *
     * _Available since v2.4.0._
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// File: openzeppelin-solidity/contracts/utils/Address.sol

pragma solidity ^0.5.5;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @dev Converts an `address` into `address payable`. Note that this is
     * simply a type cast: the actual underlying value is not changed.
     *
     * _Available since v2.4.0._
     */
    function toPayable(address account) internal pure returns (address payable) {
        return address(uint160(account));
    }

    /**
     * @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].
     *
     * _Available since v2.4.0._
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-call-value
        (bool success, ) = recipient.call.value(amount)("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }
}

// File: openzeppelin-solidity/contracts/drafts/Counters.sol

pragma solidity ^0.5.0;


/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented or decremented by one. 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;`
 * Since it is not possible to overflow a 256 bit integer with increments of one, `increment` can skip the {SafeMath}
 * overflow check, thereby saving gas. This does assume however correct usage, in that the underlying `_value` is never
 * directly accessed.
 */
library Counters {
    using SafeMath for uint256;

    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 {
        // The {SafeMath} overflow check can be skipped here, see the comment at the top
        counter._value += 1;
    }

    function decrement(Counter storage counter) internal {
        counter._value = counter._value.sub(1);
    }
}

// File: openzeppelin-solidity/contracts/introspection/ERC165.sol

pragma solidity ^0.5.0;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts may inherit from this and call {_registerInterface} to declare
 * their support of an interface.
 */
contract ERC165 is IERC165 {
    /*
     * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7
     */
    bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;

    /**
     * @dev Mapping of interface ids to whether or not it's supported.
     */
    mapping(bytes4 => bool) private _supportedInterfaces;

    constructor () internal {
        // Derived contracts need only register support for their own interfaces,
        // we register support for ERC165 itself here
        _registerInterface(_INTERFACE_ID_ERC165);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     *
     * Time complexity O(1), guaranteed to always use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool) {
        return _supportedInterfaces[interfaceId];
    }

    /**
     * @dev Registers the contract as an implementer of the interface defined by
     * `interfaceId`. Support of the actual ERC165 interface is automatic and
     * registering its interface id is not required.
     *
     * See {IERC165-supportsInterface}.
     *
     * Requirements:
     *
     * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).
     */
    function _registerInterface(bytes4 interfaceId) internal {
        require(interfaceId != 0xffffffff, "ERC165: invalid interface id");
        _supportedInterfaces[interfaceId] = true;
    }
}

// File: openzeppelin-solidity/contracts/token/ERC721/ERC721.sol

pragma solidity ^0.5.0;








/**
 * @title ERC721 Non-Fungible Token Standard basic implementation
 * @dev see https://eips.ethereum.org/EIPS/eip-721
 */
contract ERC721 is Context, ERC165, IERC721 {
    using SafeMath for uint256;
    using Address for address;
    using Counters for Counters.Counter;

    // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`
    // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`
    bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;

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

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

    // Mapping from owner to number of owned token
    mapping (address => Counters.Counter) private _ownedTokensCount;

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

    /*
     *     bytes4(keccak256('balanceOf(address)')) == 0x70a08231
     *     bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e
     *     bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3
     *     bytes4(keccak256('getApproved(uint256)')) == 0x081812fc
     *     bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465
     *     bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5
     *     bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde
     *
     *     => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^
     *        0xa22cb465 ^ 0xe985e9c ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd
     */
    bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;

    constructor () public {
        // register the supported interfaces to conform to ERC721 via ERC165
        _registerInterface(_INTERFACE_ID_ERC721);
    }

    /**
     * @dev Gets the balance of the specified address.
     * @param owner address to query the balance of
     * @return uint256 representing the amount owned by the passed address
     */
    function balanceOf(address owner) public view returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");

        return _ownedTokensCount[owner].current();
    }

    /**
     * @dev Gets the owner of the specified token ID.
     * @param tokenId uint256 ID of the token to query the owner of
     * @return address currently marked as the owner of the given token ID
     */
    function ownerOf(uint256 tokenId) public view returns (address) {
        address owner = _tokenOwner[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");

        return owner;
    }

    /**
     * @dev Approves another address to transfer the given token ID
     * The zero address indicates there is no approved address.
     * There can only be one approved address per token at a given time.
     * Can only be called by the token owner or an approved operator.
     * @param to address to be approved for the given token ID
     * @param tokenId uint256 ID of the token to be approved
     */
    function approve(address to, uint256 tokenId) public {
        address owner = ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev Gets the approved address for a token ID, or zero if no address set
     * Reverts if the token ID does not exist.
     * @param tokenId uint256 ID of the token to query the approval of
     * @return address currently approved for the given token ID
     */
    function getApproved(uint256 tokenId) public view returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev Sets or unsets the approval of a given operator
     * An operator is allowed to transfer all tokens of the sender on their behalf.
     * @param to operator address to set the approval
     * @param approved representing the status of the approval to be set
     */
    function setApprovalForAll(address to, bool approved) public {
        require(to != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][to] = approved;
        emit ApprovalForAll(_msgSender(), to, approved);
    }

    /**
     * @dev Tells whether an operator is approved by a given owner.
     * @param owner owner address which you want to query the approval of
     * @param operator operator address which you want to query the approval of
     * @return bool whether the given operator is approved by the given owner
     */
    function isApprovedForAll(address owner, address operator) public view returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev Transfers the ownership of a given token ID to another address.
     * Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     * Requires the msg.sender to be the owner, approved, or operator.
     * @param from current owner of the token
     * @param to address to receive the ownership of the given token ID
     * @param tokenId uint256 ID of the token to be transferred
     */
    function transferFrom(address from, address to, uint256 tokenId) public {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transferFrom(from, to, tokenId);
    }

    /**
     * @dev Safely transfers the ownership of a given token ID to another address
     * If the target address is a contract, it must implement {IERC721Receiver-onERC721Received},
     * which is called upon a safe transfer, and return the magic value
     * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise,
     * the transfer is reverted.
     * Requires the msg.sender to be the owner, approved, or operator
     * @param from current owner of the token
     * @param to address to receive the ownership of the given token ID
     * @param tokenId uint256 ID of the token to be transferred
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) public {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev Safely transfers the ownership of a given token ID to another address
     * If the target address is a contract, it must implement {IERC721Receiver-onERC721Received},
     * which is called upon a safe transfer, and return the magic value
     * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise,
     * the transfer is reverted.
     * Requires the _msgSender() to be the owner, approved, or operator
     * @param from current owner of the token
     * @param to address to receive the ownership of the given token ID
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes data to send along with a safe transfer check
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransferFrom(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers the ownership of a given token ID to another address
     * If the target address is a contract, it must implement `onERC721Received`,
     * which is called upon a safe transfer, and return the magic value
     * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise,
     * the transfer is reverted.
     * Requires the msg.sender to be the owner, approved, or operator
     * @param from current owner of the token
     * @param to address to receive the ownership of the given token ID
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes data to send along with a safe transfer check
     */
    function _safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) internal {
        _transferFrom(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether the specified token exists.
     * @param tokenId uint256 ID of the token to query the existence of
     * @return bool whether the token exists
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        address owner = _tokenOwner[tokenId];
        return owner != address(0);
    }

    /**
     * @dev Returns whether the given spender can transfer a given token ID.
     * @param spender address of the spender to query
     * @param tokenId uint256 ID of the token to be transferred
     * @return bool whether the msg.sender is approved for the given token ID,
     * is an operator of the owner, or is the owner of the token
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Internal function to safely mint a new token.
     * Reverts if the given token ID already exists.
     * If the target address is a contract, it must implement `onERC721Received`,
     * which is called upon a safe transfer, and return the magic value
     * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise,
     * the transfer is reverted.
     * @param to The address that will own the minted token
     * @param tokenId uint256 ID of the token to be minted
     */
    function _safeMint(address to, uint256 tokenId) internal {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Internal function to safely mint a new token.
     * Reverts if the given token ID already exists.
     * If the target address is a contract, it must implement `onERC721Received`,
     * which is called upon a safe transfer, and return the magic value
     * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise,
     * the transfer is reverted.
     * @param to The address that will own the minted token
     * @param tokenId uint256 ID of the token to be minted
     * @param _data bytes data to send along with a safe transfer check
     */
    function _safeMint(address to, uint256 tokenId, bytes memory _data) internal {
        _mint(to, tokenId);
        require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Internal function to mint a new token.
     * Reverts if the given token ID already exists.
     * @param to The address that will own the minted token
     * @param tokenId uint256 ID of the token to be minted
     */
    function _mint(address to, uint256 tokenId) internal {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _tokenOwner[tokenId] = to;
        _ownedTokensCount[to].increment();

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

    /**
     * @dev Internal function to burn a specific token.
     * Reverts if the token does not exist.
     * Deprecated, use {_burn} instead.
     * @param owner owner of the token to burn
     * @param tokenId uint256 ID of the token being burned
     */
    function _burn(address owner, uint256 tokenId) internal {
        require(ownerOf(tokenId) == owner, "ERC721: burn of token that is not own");

        _clearApproval(tokenId);

        _ownedTokensCount[owner].decrement();
        _tokenOwner[tokenId] = address(0);

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

    /**
     * @dev Internal function to burn a specific token.
     * Reverts if the token does not exist.
     * @param tokenId uint256 ID of the token being burned
     */
    function _burn(uint256 tokenId) internal {
        _burn(ownerOf(tokenId), tokenId);
    }

    /**
     * @dev Internal function to transfer ownership of a given token ID to another address.
     * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     * @param from current owner of the token
     * @param to address to receive the ownership of the given token ID
     * @param tokenId uint256 ID of the token to be transferred
     */
    function _transferFrom(address from, address to, uint256 tokenId) internal {
        require(ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _clearApproval(tokenId);

        _ownedTokensCount[from].decrement();
        _ownedTokensCount[to].increment();

        _tokenOwner[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * This is an internal detail of the `ERC721` contract and its use is deprecated.
     * @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)
        internal returns (bool)
    {
        if (!to.isContract()) {
            return true;
        }
        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = to.call(abi.encodeWithSelector(
            IERC721Receiver(to).onERC721Received.selector,
            _msgSender(),
            from,
            tokenId,
            _data
        ));
        if (!success) {
            if (returndata.length > 0) {
                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert("ERC721: transfer to non ERC721Receiver implementer");
            }
        } else {
            bytes4 retval = abi.decode(returndata, (bytes4));
            return (retval == _ERC721_RECEIVED);
        }
    }

    /**
     * @dev Private function to clear current approval of a given token ID.
     * @param tokenId uint256 ID of the token to be transferred
     */
    function _clearApproval(uint256 tokenId) private {
        if (_tokenApprovals[tokenId] != address(0)) {
            _tokenApprovals[tokenId] = address(0);
        }
    }
}

// File: openzeppelin-solidity/contracts/token/ERC721/IERC721Enumerable.sol

pragma solidity ^0.5.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
contract IERC721Enumerable is IERC721 {
    function totalSupply() public view returns (uint256);
    function tokenOfOwnerByIndex(address owner, uint256 index) public view returns (uint256 tokenId);

    function tokenByIndex(uint256 index) public view returns (uint256);
}

// File: openzeppelin-solidity/contracts/token/ERC721/ERC721Enumerable.sol

pragma solidity ^0.5.0;





/**
 * @title ERC-721 Non-Fungible Token with optional enumeration extension logic
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
contract ERC721Enumerable is Context, ERC165, ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => uint256[]) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

    /*
     *     bytes4(keccak256('totalSupply()')) == 0x18160ddd
     *     bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59
     *     bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7
     *
     *     => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63
     */
    bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;

    /**
     * @dev Constructor function.
     */
    constructor () public {
        // register the supported interface to conform to ERC721Enumerable via ERC165
        _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);
    }

    /**
     * @dev Gets the token ID at a given index of the tokens list of the requested owner.
     * @param owner address owning the tokens list to be accessed
     * @param index uint256 representing the index to be accessed of the requested tokens list
     * @return uint256 token ID at the given index of the tokens list owned by the requested address
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view returns (uint256) {
        require(index < balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev Gets the total amount of tokens stored by the contract.
     * @return uint256 representing the total amount of tokens
     */
    function totalSupply() public view returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev Gets the token ID at a given index of all the tokens in this contract
     * Reverts if the index is greater or equal to the total number of tokens.
     * @param index uint256 representing the index to be accessed of the tokens list
     * @return uint256 token ID at the given index of the tokens list
     */
    function tokenByIndex(uint256 index) public view returns (uint256) {
        require(index < totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev Internal function to transfer ownership of a given token ID to another address.
     * As opposed to transferFrom, this imposes no restrictions on msg.sender.
     * @param from current owner of the token
     * @param to address to receive the ownership of the given token ID
     * @param tokenId uint256 ID of the token to be transferred
     */
    function _transferFrom(address from, address to, uint256 tokenId) internal {
        super._transferFrom(from, to, tokenId);

        _removeTokenFromOwnerEnumeration(from, tokenId);

        _addTokenToOwnerEnumeration(to, tokenId);
    }

    /**
     * @dev Internal function to mint a new token.
     * Reverts if the given token ID already exists.
     * @param to address the beneficiary that will own the minted token
     * @param tokenId uint256 ID of the token to be minted
     */
    function _mint(address to, uint256 tokenId) internal {
        super._mint(to, tokenId);

        _addTokenToOwnerEnumeration(to, tokenId);

        _addTokenToAllTokensEnumeration(tokenId);
    }

    /**
     * @dev Internal function to burn a specific token.
     * Reverts if the token does not exist.
     * Deprecated, use {ERC721-_burn} instead.
     * @param owner owner of the token to burn
     * @param tokenId uint256 ID of the token being burned
     */
    function _burn(address owner, uint256 tokenId) internal {
        super._burn(owner, tokenId);

        _removeTokenFromOwnerEnumeration(owner, tokenId);
        // Since tokenId will be deleted, we can clear its slot in _ownedTokensIndex to trigger a gas refund
        _ownedTokensIndex[tokenId] = 0;

        _removeTokenFromAllTokensEnumeration(tokenId);
    }

    /**
     * @dev Gets the list of token IDs of the requested owner.
     * @param owner address owning the tokens
     * @return uint256[] List of token IDs owned by the requested address
     */
    function _tokensOfOwner(address owner) internal view returns (uint256[] storage) {
        return _ownedTokens[owner];
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        _ownedTokensIndex[tokenId] = _ownedTokens[to].length;
        _ownedTokens[to].push(tokenId);
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _ownedTokens[from].length.sub(1);
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        _ownedTokens[from].length--;

        // Note that _ownedTokensIndex[tokenId] hasn't been cleared: it still points to the old slot (now occupied by
        // lastTokenId, or just over the end of the array if the token was the last one).
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length.sub(1);
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        _allTokens.length--;
        _allTokensIndex[tokenId] = 0;
    }
}

// File: openzeppelin-solidity/contracts/token/ERC721/IERC721Metadata.sol

pragma solidity ^0.5.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
contract IERC721Metadata is IERC721 {
    function name() external view returns (string memory);
    function symbol() external view returns (string memory);
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

// File: openzeppelin-solidity/contracts/token/ERC721/ERC721Metadata.sol

pragma solidity ^0.5.0;





contract ERC721Metadata is Context, ERC165, ERC721, IERC721Metadata {
    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Base URI
    string private _baseURI;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

    /*
     *     bytes4(keccak256('name()')) == 0x06fdde03
     *     bytes4(keccak256('symbol()')) == 0x95d89b41
     *     bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd
     *
     *     => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f
     */
    bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;

    /**
     * @dev Constructor function
     */
    constructor (string memory name, string memory symbol) public {
        _name = name;
        _symbol = symbol;

        // register the supported interfaces to conform to ERC721 via ERC165
        _registerInterface(_INTERFACE_ID_ERC721_METADATA);
    }

    /**
     * @dev Gets the token name.
     * @return string representing the token name
     */
    function name() external view returns (string memory) {
        return _name;
    }

    /**
     * @dev Gets the token symbol.
     * @return string representing the token symbol
     */
    function symbol() external view returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the URI for a given token ID. May return an empty string.
     *
     * If the token's URI is non-empty and a base URI was set (via
     * {_setBaseURI}), it will be added to the token ID's URI as a prefix.
     *
     * Reverts if the token ID does not exist.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory _tokenURI = _tokenURIs[tokenId];

        // Even if there is a base URI, it is only appended to non-empty token-specific URIs
        if (bytes(_tokenURI).length == 0) {
            return "";
        } else {
            // abi.encodePacked is being used to concatenate strings
            return string(abi.encodePacked(_baseURI, _tokenURI));
        }
    }

    /**
     * @dev Internal function to set the token URI for a given token.
     *
     * Reverts if the token ID does not exist.
     *
     * TIP: if all token IDs share a prefix (e.g. if your URIs look like
     * `http://api.myproject.com/token/<id>`), use {_setBaseURI} to store
     * it and save gas.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal {
        require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @dev Internal function to set the base URI for all token IDs. It is
     * automatically added as a prefix to the value returned in {tokenURI}.
     *
     * _Available since v2.5.0._
     */
    function _setBaseURI(string memory baseURI) internal {
        _baseURI = baseURI;
    }

    /**
    * @dev Returns the base URI set via {_setBaseURI}. This will be
    * automatically added as a preffix in {tokenURI} to each token's URI, when
    * they are non-empty.
    *
    * _Available since v2.5.0._
    */
    function baseURI() external view returns (string memory) {
        return _baseURI;
    }

    /**
     * @dev Internal function to burn a specific token.
     * Reverts if the token does not exist.
     * Deprecated, use _burn(uint256) instead.
     * @param owner owner of the token to burn
     * @param tokenId uint256 ID of the token being burned by the msg.sender
     */
    function _burn(address owner, uint256 tokenId) internal {
        super._burn(owner, tokenId);

        // Clear metadata (if any)
        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

// File: openzeppelin-solidity/contracts/token/ERC721/ERC721Full.sol

pragma solidity ^0.5.0;




/**
 * @title Full ERC721 Token
 * @dev This implementation includes all the required and some optional functionality of the ERC721 standard
 * Moreover, it includes approve all functionality using operator terminology.
 *
 * See https://eips.ethereum.org/EIPS/eip-721
 */
contract ERC721Full is ERC721, ERC721Enumerable, ERC721Metadata {
    constructor (string memory name, string memory symbol) public ERC721Metadata(name, symbol) {
        // solhint-disable-previous-line no-empty-blocks
    }
}

// File: openzeppelin-solidity/contracts/token/ERC20/IERC20.sol

pragma solidity ^0.5.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
 * the optional functions; to access them see {ERC20Detailed}.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

// File: openzeppelin-solidity/contracts/cryptography/ECDSA.sol

pragma solidity ^0.5.0;

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * NOTE: This call _does not revert_ if the signature is invalid, or
     * if the signer is otherwise unable to be retrieved. In those scenarios,
     * the zero address is returned.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        // Check the signature length
        if (signature.length != 65) {
            return (address(0));
        }

        // Divide the signature in r, s and v variables
        bytes32 r;
        bytes32 s;
        uint8 v;

        // ecrecover takes the signature parameters, and the only way to get them
        // currently is to use assembly.
        // solhint-disable-next-line no-inline-assembly
        assembly {
            r := mload(add(signature, 0x20))
            s := mload(add(signature, 0x40))
            v := byte(0, mload(add(signature, 0x60)))
        }

        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return address(0);
        }

        if (v != 27 && v != 28) {
            return address(0);
        }

        // If the signature is valid (and not malleable), return the signer address
        return ecrecover(hash, v, r, s);
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * replicates the behavior of the
     * https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_sign[`eth_sign`]
     * JSON-RPC method.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }
}

// File: openzeppelin-solidity/contracts/cryptography/MerkleProof.sol

pragma solidity ^0.5.0;

/**
 * @dev These functions deal with verification of Merkle trees (hash trees),
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) {
        bytes32 computedHash = leaf;

        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];

            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }

        // Check if the computed hash (root) is equal to the provided root
        return computedHash == root;
    }
}

// File: contracts/HasContractURI.sol

pragma solidity ^0.5.0;


contract HasContractURI is ERC165 {

    string public contractURI;

    /*
     * bytes4(keccak256('contractURI()')) == 0xe8a3d485
     */
    bytes4 private constant _INTERFACE_ID_CONTRACT_URI = 0xe8a3d485;

    constructor(string memory _contractURI) public {
        contractURI = _contractURI;
        _registerInterface(_INTERFACE_ID_CONTRACT_URI);
    }

    /**
     * @dev Internal function to set the contract URI
     * @param _contractURI string URI prefix to assign
     */
    function _setContractURI(string memory _contractURI) internal {
        contractURI = _contractURI;
    }
}

// File: contracts/Strings.sol

pragma solidity ^0.5.0;

library Strings {
  // via https://github.com/oraclize/ethereum-api/blob/master/oraclizeAPI_0.5.sol
  function strConcat(string memory _a, string memory _b, string memory _c, string memory _d, string memory _e) internal pure returns (string memory) {
      bytes memory _ba = bytes(_a);
      bytes memory _bb = bytes(_b);
      bytes memory _bc = bytes(_c);
      bytes memory _bd = bytes(_d);
      bytes memory _be = bytes(_e);
      string memory abcde = new string(_ba.length + _bb.length + _bc.length + _bd.length + _be.length);
      bytes memory babcde = bytes(abcde);
      uint k = 0;
      for (uint i = 0; i < _ba.length; i++) babcde[k++] = _ba[i];
      for (uint i = 0; i < _bb.length; i++) babcde[k++] = _bb[i];
      for (uint i = 0; i < _bc.length; i++) babcde[k++] = _bc[i];
      for (uint i = 0; i < _bd.length; i++) babcde[k++] = _bd[i];
      for (uint i = 0; i < _be.length; i++) babcde[k++] = _be[i];
      return string(babcde);
    }

    function strConcat(string memory _a, string memory _b, string memory _c, string memory _d) internal pure returns (string memory) {
        return strConcat(_a, _b, _c, _d, "");
    }

    function strConcat(string memory _a, string memory _b, string memory _c) internal pure returns (string memory) {
        return strConcat(_a, _b, _c, "", "");
    }

    function strConcat(string memory _a, string memory _b) internal pure returns (string memory) {
        return strConcat(_a, _b, "", "", "");
    }

    function uint2str(uint _i) internal pure returns (string memory _uintAsString) {
        if (_i == 0) {
            return "0";
        }
        uint j = _i;
        uint len;
        while (j != 0) {
            len++;
            j /= 10;
        }
        bytes memory bstr = new bytes(len);
        uint k = len - 1;
        while (_i != 0) {
            bstr[k--] = byte(uint8(48 + _i % 10));
            _i /= 10;
        }
        return string(bstr);
    }
}

// File: contracts/UnitedNationsCryptostamp.sol

pragma solidity ^0.5.0;










contract UnitedNationsCryptostamp is ERC721Full, Ownable, UnitedNationsCryptostampProperties, HasContractURI {
  using Strings for string;
  using SafeMath for uint256;

  /*
   * Stamp properties
   * @See UnitedNationsCryptostampProperties.sol
   */
  uint8 internal constant ISSUING_OFFICES_COUNT = 3;
  uint8 internal constant SUSTAINABLE_DEVELOPMENT_GOALS_COUNT = 17;


  /*
   * Metadata properties
   */
  string private _baseTokenURI;

  /*
   * Merkle tree properties
   */
  // The root node of the Merkle tree as byte array
  bytes32 public merkleRoot;
  // The number of encoded leaf nodes (limits total supply)
  uint256 private encodedLeafNodes;
  // Knowing the tree height reduces the attack surface for Second-Preimage Attacks
  // This is used in the proof verification function (@see verifyClaimWithMerkleProof)
  // treeHeight = ceil(log_2(encodedLeafNodes)) + 1
  uint256 private treeHeight;

  /*
   * Control unsigned minting
   * 
   * The minting function has an optional early exit in case the destination 
   * is set to the owner of the claim that was encoded into the Merkle tree.
   *
   * This allows for unsigned minting which could allow for useful scenarios,
   * such as minting on behalf with the rationale being that the control 
   * over the destination wallet address remains with the party knowing
   * the secret mnemonic.
   * 
   * Parties could use this function to "activate" a stamp on the blockchain
   * without having to scratch open the secret mnemonic and leaving 
   * the control of the stamp/wallet with the party aquiring the physical 
   * stamp with the unscratched field number <3>.
   */
  bool public allowUnsignedMinting = true;

  /*
   * Custom minting event
   */
  event MintedWithProof(address operator, uint256 tokenId, address indexed owner, IssuingOffice indexed office, SustainableDevelopmentGoal indexed sdg);
  
  constructor(bytes32 _merkleRoot, uint256 _encodedLeafNodes, uint256 _treeHeight, string memory _name, string memory _symbol, string memory _contractURI) ERC721Full(_name, _symbol) HasContractURI(_contractURI)
  public
  {
    merkleRoot = _merkleRoot;
    encodedLeafNodes = _encodedLeafNodes;
    treeHeight = _treeHeight;
    _baseTokenURI = "https://crypto.unstamps.org/UNCS1/meta/";
  }

  /*
   * Get token metadata base URI.
   */
  function baseTokenURI()
  public
  view
  returns (string memory)
  {
    return _baseTokenURI;
  }

  function maximumSupply() 
  public
  view
  returns (uint256)
  {
    return encodedLeafNodes;
  }

  /*
   * Change token metadata base URI.
   */
  function changeBaseTokenURI(string calldata _uri)
  external
  onlyOwner
  {
    _baseTokenURI = _uri;
  }

  /*
   * Change contract metadata URI.
   */
  function changeContractURI(string calldata _uri)
  external
  onlyOwner
  {
    _setContractURI(_uri);
  }

  /*
   * Control unsigned minting
   */
  function setAllowUnsignedMinting(bool _allowUnsignedMinting) 
  external
  onlyOwner
  {
    allowUnsignedMinting = _allowUnsignedMinting;
  }

  /*
   * Encode token ownership claim (owner, tokenId) into Merkle Tree leaf.
   */
  function encodeClaim(address owner, uint256 tokenId)
  public
  pure
  returns (bytes32)
  {
    return keccak256(abi.encodePacked(owner, tokenId));
  }

  /*
   * Verify the ownership claim matches the given leaf and verify the given Merkle Proof for the leaf.
   */
  function verifyClaimWithMerkleProof(address owner, uint256 tokenId, bytes32 leaf, bytes32[] memory proof)
  public
  view
  returns (bool)
  {
    // Check merkle tree root node has been set
    require(merkleRoot != bytes32(""), "merkleRoot needs to be set.");
    // verify parameters
    require(leaf.length > 0, "Encoded leaf needs to be given.");
    require(proof.length > 0, "Proof path needs to be given.");
    // Check Token ID is in range
    require(tokenId < encodedLeafNodes, "Token ID must be within defined range.");
    // Verify length of proof path is within tree height
    require(proof.length < treeHeight, "Proof path not within tree height.");
    //
    if(encodeClaim(owner, tokenId) == leaf) {
      return MerkleProof.verify(proof, merkleRoot, leaf);
    } else {
      return false;
    }
  }

  /*
   * Return the packed and hashed parameters for a signed transfer
   */
  function packAndHashTransferData(address signer, address to, uint256 tokenId)
  public
  view
  returns (bytes32)
  {
    bytes32 transferData = keccak256(abi.encodePacked(address(this), signer, to, tokenId));
    return transferData;
  }

  /*
   * Mint tokenId to the given address after successful verification of the claim using the given Merkle Proof.
   * If the destination wallet ('to') is different from the owner encoded in the claim then perfom a verification of
   * the supplied transfer parameters with the provided signature.
   */
  function mintClaimWithMerkleProof(address owner, uint256 tokenId, address to, bytes memory signature, bytes32 leaf, bytes32[] memory proof)
  public
  {
    // ensure general availability
    require(totalSupply() <= encodedLeafNodes, "All tokens already minted.");
    // verify claim with Merkle proof
    require(verifyClaimWithMerkleProof(owner, tokenId, leaf, proof), "Proof verification failed.");
    // mint the token to the owner
    _mint(owner, tokenId);
    // get token properties after minting
    (IssuingOffice office, SustainableDevelopmentGoal sdg) = getProperties(tokenId);
    // emit custom minted event
    emit MintedWithProof(msg.sender, tokenId, owner, office, sdg);
    // early return if target not set or equals owner
    if(allowUnsignedMinting == true && (to == address(0) || owner == to)) {
      return;
    }
    // verify signature is set
    require(signature.length > 0, "Signature needs to be given.");
    // rebuild signature message from supplied parameters
    bytes32 transferData = packAndHashTransferData(owner, to, tokenId);
    // Ethereum prefix signature message
    bytes32 ethSignedHash = ECDSA.toEthSignedMessageHash(transferData);
    // verify supplied signature with rebuilt message
    address recoveredSigner = ECDSA.recover(ethSignedHash, signature);
    // verify recovered signer equals original owner
    require(owner == recoveredSigner, "Recovered signer does not match original owner.");
    // transfer token from owner to destination
    _safeTransferFrom(owner, to, tokenId, "");
  }

  /*
   * Returns the properties of the token associated with the given tokenId.
   */
  function getProperties(uint256 tokenId)
  public
  view
  returns (IssuingOffice, SustainableDevelopmentGoal)
  {
    require(_exists(tokenId), "Token ID does not exist.");
    IssuingOffice office = IssuingOffice(uint8(tokenId % ISSUING_OFFICES_COUNT));
    SustainableDevelopmentGoal sdg = SustainableDevelopmentGoal(uint8(tokenId % SUSTAINABLE_DEVELOPMENT_GOALS_COUNT));
    return (office, sdg);
  }

  /*
   * Returns whether the specified token exists.
   */
  function exists(uint256 tokenId)
  public
  view
  returns (bool)
  {
    return _exists(tokenId);
  }

  /*
   * Override tokenURI to use pure tokenId concatenation.
   */
  function tokenURI(uint256 tokenId)
    external
    view
  returns (string memory)
  {
    require(_exists(tokenId), "Token ID does not exist.");
    return Strings.strConcat(
      baseTokenURI(),
      Strings.uint2str(tokenId)
    );
  }

  /*
   * @notice Override and disable Ownable renounceOwnership function.
   */
  function renounceOwnership()
    public
    onlyOwner
  {
    revert("Ownership cannot be renounced.");
  }

  function rescueToken(IERC20 _foreignToken, address _to)
    external
    onlyOwner
  {
    _foreignToken.transfer(_to, _foreignToken.balanceOf(address(this)));
  }

  function approveNFTrescue(IERC721 _foreignNFT, address _to)
    external
    onlyOwner
  {
    _foreignNFT.setApprovalForAll(_to, true);
  }

  /*
   * @notice Unnamed fallback function will catch and revert all payments made to the contract address.
   * @dev See https://solidity.readthedocs.io/en/v0.5.17/contracts.html#fallback-function
   */
  function()
    external
    payable
  {
    // Revert any payments made to this contract
    revert("The contract cannot receive ETH payments.");
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"uint256","name":"_encodedLeafNodes","type":"uint256"},{"internalType":"uint256","name":"_treeHeight","type":"uint256"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_contractURI","type":"string"}],"payable":false,"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":"operator","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"enum UnitedNationsCryptostampProperties.IssuingOffice","name":"office","type":"uint8"},{"indexed":true,"internalType":"enum UnitedNationsCryptostampProperties.SustainableDevelopmentGoal","name":"sdg","type":"uint8"}],"name":"MintedWithProof","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"constant":true,"inputs":[],"name":"allowUnsignedMinting","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"contract IERC721","name":"_foreignNFT","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"approveNFTrescue","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"changeBaseTokenURI","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"changeContractURI","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"encodeClaim","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getProperties","outputs":[{"internalType":"enum UnitedNationsCryptostampProperties.IssuingOffice","name":"","type":"uint8"},{"internalType":"enum UnitedNationsCryptostampProperties.SustainableDevelopmentGoal","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"maximumSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"bytes32","name":"leaf","type":"bytes32"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mintClaimWithMerkleProof","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"signer","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"packAndHashTransferData","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"contract IERC20","name":"_foreignToken","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"rescueToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"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":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bool","name":"_allowUnsignedMinting","type":"bool"}],"name":"setAllowUnsignedMinting","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes32","name":"leaf","type":"bytes32"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"verifyClaimWithMerkleProof","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"}]

60806040526013805460ff191660011790553480156200001e57600080fd5b50604051620035f1380380620035f1833981810160405260c08110156200004457600080fd5b8151602083015160408085015160608601805192519496939591949391820192846401000000008211156200007857600080fd5b9083019060208201858111156200008e57600080fd5b8251640100000000811182820188101715620000a957600080fd5b82525081516020918201929091019080838360005b83811015620000d8578181015183820152602001620000be565b50505050905090810190601f168015620001065780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200012a57600080fd5b9083019060208201858111156200014057600080fd5b82516401000000008111828201881017156200015b57600080fd5b82525081516020918201929091019080838360005b838110156200018a57818101518382015260200162000170565b50505050905090810190601f168015620001b85780820380516001836020036101000a031916815260200191505b5060405260200180516040519392919084640100000000821115620001dc57600080fd5b908301906020820185811115620001f257600080fd5b82516401000000008111828201881017156200020d57600080fd5b82525081516020918201929091019080838360005b838110156200023c57818101518382015260200162000222565b50505050905090810190601f1680156200026a5780820380516001836020036101000a031916815260200191505b5060405250829150849050838181620002936301ffc9a760e01b6001600160e01b03620003f116565b620002ae6380ac58cd60e01b6001600160e01b03620003f116565b620002c963780e9d6360e01b6001600160e01b03620003f116565b8151620002de9060099060208501906200047b565b508051620002f490600a9060208401906200047b565b5062000310635b5e139f60e01b6001600160e01b03620003f116565b505050506000620003266200047660201b60201c565b600d80546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35080516200038990600e9060208401906200047b565b50620003a563e8a3d48560e01b6001600160e01b03620003f116565b5060108690556011859055601284905560408051606081019091526027808252620035ca60208301398051620003e491600f916020909101906200047b565b505050505050506200051d565b6001600160e01b0319808216141562000451576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b335b90565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620004be57805160ff1916838001178555620004ee565b82800160010185558215620004ee579182015b82811115620004ee578251825591602001919060010190620004d1565b50620004fc92915062000500565b5090565b6200047891905b80821115620004fc576000815560010162000507565b61309d806200052d6000396000f3fe60806040526004361061021a5760003560e01c806361c407dc11610123578063a25b3df0116100ab578063dd48f7741161006f578063dd48f77414610b13578063e40e97a714610b4e578063e8a3d48514610bc9578063e985e9c514610bde578063f2fde38b14610c195761021a565b8063a25b3df01461090d578063b88d4fde146109d7578063be22399114610aa8578063c87b56dd14610ad4578063d547cfb714610afe5761021a565b8063715018a6116100f2578063715018a61461087e5780638da5cb5b146108935780638f32d59b146108a857806395d89b41146108bd578063a22cb465146108d25761021a565b806361c407dc146106b25780636352211e1461080c5780636c0360eb1461083657806370a082311461084b5761021a565b806323b872dd116101a657806342842e0e1161017557806342842e0e146105655780634707d000146105a85780634f558e79146105e35780634f6ccce71461060d5780635699b904146106375761021a565b806323b872dd146104bf57806324ebacc1146105025780632eb4a7ab146105175780632f745c591461052c5761021a565b8063095ea7b3116101ed578063095ea7b3146103905780631359bf59146103cb57806318160ddd146104045780631b5942b8146104195780631b8ca2171461045c5761021a565b806301ffc9a7146102515780630480e58b1461029957806306fdde03146102c0578063081812fc1461034a575b60405162461bcd60e51b8152600401808060200182810382526029815260200180612dfb6029913960400191505060405180910390fd5b34801561025d57600080fd5b506102856004803603602081101561027457600080fd5b50356001600160e01b031916610c4c565b604080519115158252519081900360200190f35b3480156102a557600080fd5b506102ae610c6f565b60408051918252519081900360200190f35b3480156102cc57600080fd5b506102d5610c76565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561030f5781810151838201526020016102f7565b50505050905090810190601f16801561033c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561035657600080fd5b506103746004803603602081101561036d57600080fd5b5035610d0c565b604080516001600160a01b039092168252519081900360200190f35b34801561039c57600080fd5b506103c9600480360360408110156103b357600080fd5b506001600160a01b038135169060200135610d6e565b005b3480156103d757600080fd5b506102ae600480360360408110156103ee57600080fd5b506001600160a01b038135169060200135610e96565b34801561041057600080fd5b506102ae610edd565b34801561042557600080fd5b506102ae6004803603606081101561043c57600080fd5b506001600160a01b03813581169160208101359091169060400135610ee3565b34801561046857600080fd5b506104866004803603602081101561047f57600080fd5b5035610f3c565b6040518083600281111561049657fe5b60ff1681526020018260108111156104aa57fe5b60ff1681526020019250505060405180910390f35b3480156104cb57600080fd5b506103c9600480360360608110156104e257600080fd5b506001600160a01b03813581169160208101359091169060400135610fca565b34801561050e57600080fd5b50610285611026565b34801561052357600080fd5b506102ae61102f565b34801561053857600080fd5b506102ae6004803603604081101561054f57600080fd5b506001600160a01b038135169060200135611035565b34801561057157600080fd5b506103c96004803603606081101561058857600080fd5b506001600160a01b038135811691602081013590911690604001356110b4565b3480156105b457600080fd5b506103c9600480360360408110156105cb57600080fd5b506001600160a01b03813581169160200135166110cf565b3480156105ef57600080fd5b506102856004803603602081101561060657600080fd5b5035611212565b34801561061957600080fd5b506102ae6004803603602081101561063057600080fd5b503561121d565b34801561064357600080fd5b506103c96004803603602081101561065a57600080fd5b810190602081018135600160201b81111561067457600080fd5b82018360208201111561068657600080fd5b803590602001918460018302840111600160201b831117156106a757600080fd5b509092509050611283565b3480156106be57600080fd5b506103c9600480360360c08110156106d557600080fd5b6001600160a01b038235811692602081013592604082013590921691810190608081016060820135600160201b81111561070e57600080fd5b82018360208201111561072057600080fd5b803590602001918460018302840111600160201b8311171561074157600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092958435959094909350604081019250602001359050600160201b81111561079b57600080fd5b8201836020820111156107ad57600080fd5b803590602001918460208302840111600160201b831117156107ce57600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061130d945050505050565b34801561081857600080fd5b506103746004803603602081101561082f57600080fd5b503561157b565b34801561084257600080fd5b506102d56115cf565b34801561085757600080fd5b506102ae6004803603602081101561086e57600080fd5b50356001600160a01b0316611630565b34801561088a57600080fd5b506103c9611698565b34801561089f57600080fd5b5061037461172c565b3480156108b457600080fd5b5061028561173b565b3480156108c957600080fd5b506102d5611761565b3480156108de57600080fd5b506103c9600480360360408110156108f557600080fd5b506001600160a01b03813516906020013515156117c2565b34801561091957600080fd5b506102856004803603608081101561093057600080fd5b6001600160a01b038235169160208101359160408201359190810190608081016060820135600160201b81111561096657600080fd5b82018360208201111561097857600080fd5b803590602001918460208302840111600160201b8311171561099957600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506118c7945050505050565b3480156109e357600080fd5b506103c9600480360360808110156109fa57600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b811115610a3457600080fd5b820183602082011115610a4657600080fd5b803590602001918460018302840111600160201b83111715610a6757600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611a28945050505050565b348015610ab457600080fd5b506103c960048036036020811015610acb57600080fd5b50351515611a80565b348015610ae057600080fd5b506102d560048036036020811015610af757600080fd5b5035611ada565b348015610b0a57600080fd5b506102d5611b4a565b348015610b1f57600080fd5b506103c960048036036040811015610b3657600080fd5b506001600160a01b0381358116916020013516611bab565b348015610b5a57600080fd5b506103c960048036036020811015610b7157600080fd5b810190602081018135600160201b811115610b8b57600080fd5b820183602082011115610b9d57600080fd5b803590602001918460018302840111600160201b83111715610bbe57600080fd5b509092509050611c58565b348015610bd557600080fd5b506102d5611cab565b348015610bea57600080fd5b5061028560048036036040811015610c0157600080fd5b506001600160a01b0381358116916020013516611d39565b348015610c2557600080fd5b506103c960048036036020811015610c3c57600080fd5b50356001600160a01b0316611d67565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b6011545b90565b60098054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d025780601f10610cd757610100808354040283529160200191610d02565b820191906000526020600020905b815481529060010190602001808311610ce557829003601f168201915b5050505050905090565b6000610d1782611dba565b610d525760405162461bcd60e51b815260040180806020018281038252602c815260200180612f47602c913960400191505060405180910390fd5b506000908152600260205260409020546001600160a01b031690565b6000610d798261157b565b9050806001600160a01b0316836001600160a01b03161415610dcc5760405162461bcd60e51b8152600401808060200182810382526021815260200180612fbc6021913960400191505060405180910390fd5b806001600160a01b0316610dde611dd7565b6001600160a01b03161480610dff5750610dff81610dfa611dd7565b611d39565b610e3a5760405162461bcd60e51b8152600401808060200182810382526038815260200180612ebc6038913960400191505060405180910390fd5b60008281526002602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b604080516bffffffffffffffffffffffff19606085901b16602080830191909152603480830185905283518084039091018152605490920190925280519101205b92915050565b60075490565b6040805130606090811b6020808401919091526bffffffffffffffffffffffff1996821b8716603484015294901b9094166048850152605c8085019290925280518085039092018252607c909301909252815191012090565b600080610f4883611dba565b610f94576040805162461bcd60e51b81526020600482015260186024820152772a37b5b2b71024a2103237b2b9903737ba1032bc34b9ba1760411b604482015290519081900360640190fd5b60006003840660ff166002811115610fa857fe5b905060006011850660ff166010811115610fbe57fe5b91935090915050915091565b610fdb610fd5611dd7565b82611ddb565b6110165760405162461bcd60e51b8152600401808060200182810382526031815260200180612fdd6031913960400191505060405180910390fd5b611021838383611e77565b505050565b60135460ff1681565b60105481565b600061104083611630565b821061107d5760405162461bcd60e51b815260040180806020018281038252602b815260200180612d78602b913960400191505060405180910390fd5b6001600160a01b03831660009081526005602052604090208054839081106110a157fe5b9060005260206000200154905092915050565b61102183838360405180602001604052806000815250611a28565b6110d761173b565b611116576040805162461bcd60e51b81526020600482018190526024820152600080516020612f73833981519152604482015290519081900360640190fd5b604080516370a0823160e01b815230600482015290516001600160a01b0384169163a9059cbb91849184916370a0823191602480820192602092909190829003018186803b15801561116757600080fd5b505afa15801561117b573d6000803e3d6000fd5b505050506040513d602081101561119157600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b03909316600484015260248301919091525160448083019260209291908290030181600087803b1580156111e257600080fd5b505af11580156111f6573d6000803e3d6000fd5b505050506040513d602081101561120c57600080fd5b50505050565b6000610ed782611dba565b6000611227610edd565b82106112645760405162461bcd60e51b815260040180806020018281038252602c81526020018061300e602c913960400191505060405180910390fd5b6007828154811061127157fe5b90600052602060002001549050919050565b61128b61173b565b6112ca576040805162461bcd60e51b81526020600482018190526024820152600080516020612f73833981519152604482015290519081900360640190fd5b61130982828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611e9692505050565b5050565b601154611318610edd565b111561136b576040805162461bcd60e51b815260206004820152601a60248201527f416c6c20746f6b656e7320616c7265616479206d696e7465642e000000000000604482015290519081900360640190fd5b611377868684846118c7565b6113c8576040805162461bcd60e51b815260206004820152601a60248201527f50726f6f6620766572696669636174696f6e206661696c65642e000000000000604482015290519081900360640190fd5b6113d28686611ea9565b6000806113de87610f3c565b915091508060108111156113ee57fe5b8260028111156113fa57fe5b60408051338152602081018b905281516001600160a01b038d16927fdc90809cda0412ce45d4af87d938ca9961cad0864201f891447f2b02a191397b928290030190a460135460ff161515600114801561147657506001600160a01b03861615806114765750856001600160a01b0316886001600160a01b0316145b15611482575050611573565b60008551116114d8576040805162461bcd60e51b815260206004820152601c60248201527f5369676e6174757265206e6565647320746f20626520676976656e2e00000000604482015290519081900360640190fd5b60006114e589888a610ee3565b905060006114f282611ec6565b905060006115008289611f17565b9050806001600160a01b03168b6001600160a01b0316146115525760405162461bcd60e51b815260040180806020018281038252602f81526020018061303a602f913960400191505060405180910390fd5b61156d8b8a8c60405180602001604052806000815250612005565b50505050505b505050505050565b6000818152600160205260408120546001600160a01b031680610ed75760405162461bcd60e51b8152600401808060200182810382526029815260200180612f1e6029913960400191505060405180910390fd5b600b8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d025780601f10610cd757610100808354040283529160200191610d02565b60006001600160a01b0382166116775760405162461bcd60e51b815260040180806020018281038252602a815260200180612ef4602a913960400191505060405180910390fd5b6001600160a01b0382166000908152600360205260409020610ed790612057565b6116a061173b565b6116df576040805162461bcd60e51b81526020600482018190526024820152600080516020612f73833981519152604482015290519081900360640190fd5b6040805162461bcd60e51b815260206004820152601e60248201527f4f776e6572736869702063616e6e6f742062652072656e6f756e6365642e0000604482015290519081900360640190fd5b600d546001600160a01b031690565b600d546000906001600160a01b0316611752611dd7565b6001600160a01b031614905090565b600a8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d025780601f10610cd757610100808354040283529160200191610d02565b6117ca611dd7565b6001600160a01b0316826001600160a01b03161415611830576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b806004600061183d611dd7565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611881611dd7565b60408051841515815290516001600160a01b0392909216917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319181900360200190a35050565b6000806010541415611920576040805162461bcd60e51b815260206004820152601b60248201527f6d65726b6c65526f6f74206e6565647320746f206265207365742e0000000000604482015290519081900360640190fd5b6000825111611976576040805162461bcd60e51b815260206004820152601d60248201527f50726f6f662070617468206e6565647320746f20626520676976656e2e000000604482015290519081900360640190fd5b60115484106119b65760405162461bcd60e51b8152600401808060200182810382526026815260200180612e966026913960400191505060405180910390fd5b6012548251106119f75760405162461bcd60e51b8152600401808060200182810382526022815260200180612e746022913960400191505060405180910390fd5b82611a028686610e96565b1415611a1c57611a15826010548561205b565b9050611a20565b5060005b949350505050565b611a39611a33611dd7565b83611ddb565b611a745760405162461bcd60e51b8152600401808060200182810382526031815260200180612fdd6031913960400191505060405180910390fd5b61120c84848484612005565b611a8861173b565b611ac7576040805162461bcd60e51b81526020600482018190526024820152600080516020612f73833981519152604482015290519081900360640190fd5b6013805460ff1916911515919091179055565b6060611ae582611dba565b611b31576040805162461bcd60e51b81526020600482015260186024820152772a37b5b2b71024a2103237b2b9903737ba1032bc34b9ba1760411b604482015290519081900360640190fd5b610ed7611b3c611b4a565b611b4584612104565b6121c5565b600f8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d025780601f10610cd757610100808354040283529160200191610d02565b611bb361173b565b611bf2576040805162461bcd60e51b81526020600482018190526024820152600080516020612f73833981519152604482015290519081900360640190fd5b6040805163a22cb46560e01b81526001600160a01b0383811660048301526001602483015291519184169163a22cb4659160448082019260009290919082900301818387803b158015611c4457600080fd5b505af1158015611573573d6000803e3d6000fd5b611c6061173b565b611c9f576040805162461bcd60e51b81526020600482018190526024820152600080516020612f73833981519152604482015290519081900360640190fd5b611021600f8383612c51565b600e805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015611d315780601f10611d0657610100808354040283529160200191611d31565b820191906000526020600020905b815481529060010190602001808311611d1457829003601f168201915b505050505081565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b611d6f61173b565b611dae576040805162461bcd60e51b81526020600482018190526024820152600080516020612f73833981519152604482015290519081900360640190fd5b611db781612208565b50565b6000908152600160205260409020546001600160a01b0316151590565b3390565b6000611de682611dba565b611e215760405162461bcd60e51b815260040180806020018281038252602c815260200180612e48602c913960400191505060405180910390fd5b6000611e2c8361157b565b9050806001600160a01b0316846001600160a01b03161480611e675750836001600160a01b0316611e5c84610d0c565b6001600160a01b0316145b80611a205750611a208185611d39565b611e828383836122a9565b611e8c83826123ed565b61102182826124e2565b805161130990600e906020840190612ccf565b611eb38282612520565b611ebd82826124e2565b61130981612651565b604080517f19457468657265756d205369676e6564204d6573736167653a0a333200000000602080830191909152603c8083019490945282518083039094018452605c909101909152815191012090565b60008151604114611f2a57506000610ed7565b60208201516040830151606084015160001a7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115611f705760009350505050610ed7565b8060ff16601b14158015611f8857508060ff16601c14155b15611f995760009350505050610ed7565b6040805160008152602080820180845289905260ff8416828401526060820186905260808201859052915160019260a0808401939192601f1981019281900390910190855afa158015611ff0573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b612010848484611e77565b61201c84848484612695565b61120c5760405162461bcd60e51b8152600401808060200182810382526032815260200180612da36032913960400191505060405180910390fd5b5490565b600081815b85518110156120f957600086828151811061207757fe5b602002602001015190508083116120be57828160405160200180838152602001828152602001925050506040516020818303038152906040528051906020012092506120f0565b808360405160200180838152602001828152602001925050506040516020818303038152906040528051906020012092505b50600101612060565b509092149392505050565b60608161212957506040805180820190915260018152600360fc1b6020820152610c6a565b8160005b811561214157600101600a8204915061212d565b6060816040519080825280601f01601f19166020018201604052801561216e576020820181803883390190505b50905060001982015b85156121bc57600a860660300160f81b8282806001900393508151811061219a57fe5b60200101906001600160f81b031916908160001a905350600a86049550612177565b50949350505050565b606061220183836040518060200160405280600081525060405180602001604052806000815250604051806020016040528060008152506128d0565b9392505050565b6001600160a01b03811661224d5760405162461bcd60e51b8152600401808060200182810382526026815260200180612dd56026913960400191505060405180910390fd5b600d546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600d80546001600160a01b0319166001600160a01b0392909216919091179055565b826001600160a01b03166122bc8261157b565b6001600160a01b0316146123015760405162461bcd60e51b8152600401808060200182810382526029815260200180612f936029913960400191505060405180910390fd5b6001600160a01b0382166123465760405162461bcd60e51b8152600401808060200182810382526024815260200180612e246024913960400191505060405180910390fd5b61234f81612ae4565b6001600160a01b038316600090815260036020526040902061237090612b1f565b6001600160a01b038216600090815260036020526040902061239190612b36565b60008181526001602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b03821660009081526005602052604081205461241790600163ffffffff612b3f16565b6000838152600660205260409020549091508082146124b2576001600160a01b038416600090815260056020526040812080548490811061245457fe5b906000526020600020015490508060056000876001600160a01b03166001600160a01b03168152602001908152602001600020838154811061249257fe5b600091825260208083209091019290925591825260069052604090208190555b6001600160a01b03841660009081526005602052604090208054906124db906000198301612d3d565b5050505050565b6001600160a01b0390911660009081526005602081815260408084208054868652600684529185208290559282526001810183559183529091200155565b6001600160a01b03821661257b576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b61258481611dba565b156125d6576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b600081815260016020908152604080832080546001600160a01b0319166001600160a01b03871690811790915583526003909152902061261590612b36565b60405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600780546000838152600860205260408120829055600182018355919091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880155565b60006126a9846001600160a01b0316612b81565b6126b557506001611a20565b600060606001600160a01b038616630a85bd0160e11b6126d3611dd7565b89888860405160240180856001600160a01b03166001600160a01b03168152602001846001600160a01b03166001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561274c578181015183820152602001612734565b50505050905090810190601f1680156127795780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b03166001600160e01b0319909a16999099178952518151919890975087965094509250829150849050835b602083106127e15780518252601f1990920191602091820191016127c2565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612843576040519150601f19603f3d011682016040523d82523d6000602084013e612848565b606091505b509150915081612899578051156128625780518082602001fd5b60405162461bcd60e51b8152600401808060200182810382526032815260200180612da36032913960400191505060405180910390fd5b60008180602001905160208110156128b057600080fd5b50516001600160e01b031916630a85bd0160e11b149350611a2092505050565b6060808690506060869050606086905060608690506060869050606081518351855187518951010101016040519080825280601f01601f191660200182016040528015612924576020820181803883390190505b509050806000805b885181101561297d5788818151811061294157fe5b602001015160f81c60f81b83838060010194508151811061295e57fe5b60200101906001600160f81b031916908160001a90535060010161292c565b5060005b87518110156129d25787818151811061299657fe5b602001015160f81c60f81b8383806001019450815181106129b357fe5b60200101906001600160f81b031916908160001a905350600101612981565b5060005b8651811015612a27578681815181106129eb57fe5b602001015160f81c60f81b838380600101945081518110612a0857fe5b60200101906001600160f81b031916908160001a9053506001016129d6565b5060005b8551811015612a7c57858181518110612a4057fe5b602001015160f81c60f81b838380600101945081518110612a5d57fe5b60200101906001600160f81b031916908160001a905350600101612a2b565b5060005b8451811015612ad157848181518110612a9557fe5b602001015160f81c60f81b838380600101945081518110612ab257fe5b60200101906001600160f81b031916908160001a905350600101612a80565b50909d9c50505050505050505050505050565b6000818152600260205260409020546001600160a01b031615611db757600090815260026020526040902080546001600160a01b0319169055565b8054612b3290600163ffffffff612b3f16565b9055565b80546001019055565b600061220183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612bba565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611a20575050151592915050565b60008184841115612c495760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612c0e578181015183820152602001612bf6565b50505050905090810190601f168015612c3b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10612c925782800160ff19823516178555612cbf565b82800160010185558215612cbf579182015b82811115612cbf578235825591602001919060010190612ca4565b50612ccb929150612d5d565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10612d1057805160ff1916838001178555612cbf565b82800160010185558215612cbf579182015b82811115612cbf578251825591602001919060010190612d22565b815481835581811115611021576000838152602090206110219181019083015b610c7391905b80821115612ccb5760008155600101612d6356fe455243373231456e756d657261626c653a206f776e657220696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737354686520636f6e74726163742063616e6e6f74207265636569766520455448207061796d656e74732e4552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e50726f6f662070617468206e6f742077697468696e2074726565206865696768742e546f6b656e204944206d7573742062652077697468696e20646566696e65642072616e67652e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564455243373231456e756d657261626c653a20676c6f62616c20696e646578206f7574206f6620626f756e64735265636f7665726564207369676e657220646f6573206e6f74206d61746368206f726967696e616c206f776e65722ea265627a7a72315820d5514fcc88dcd5e4875ac3cbc4e6e958effa6858b8c5cc88fa563fcc74a1c34564736f6c6343000511003268747470733a2f2f63727970746f2e756e7374616d70732e6f72672f554e4353312f6d6574612f00bd4584687264f9d38ccebdc4f7652b876a462c7bcd3d52caa8ef1c0526968c000000000000000000000000000000000000000000000000000000000001869f000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000f554e2043727970746f205374616d7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005554e435331000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002f68747470733a2f2f63727970746f2e756e7374616d70732e6f72672f554e4353312f6d6574612f636f6e74726163740000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061021a5760003560e01c806361c407dc11610123578063a25b3df0116100ab578063dd48f7741161006f578063dd48f77414610b13578063e40e97a714610b4e578063e8a3d48514610bc9578063e985e9c514610bde578063f2fde38b14610c195761021a565b8063a25b3df01461090d578063b88d4fde146109d7578063be22399114610aa8578063c87b56dd14610ad4578063d547cfb714610afe5761021a565b8063715018a6116100f2578063715018a61461087e5780638da5cb5b146108935780638f32d59b146108a857806395d89b41146108bd578063a22cb465146108d25761021a565b806361c407dc146106b25780636352211e1461080c5780636c0360eb1461083657806370a082311461084b5761021a565b806323b872dd116101a657806342842e0e1161017557806342842e0e146105655780634707d000146105a85780634f558e79146105e35780634f6ccce71461060d5780635699b904146106375761021a565b806323b872dd146104bf57806324ebacc1146105025780632eb4a7ab146105175780632f745c591461052c5761021a565b8063095ea7b3116101ed578063095ea7b3146103905780631359bf59146103cb57806318160ddd146104045780631b5942b8146104195780631b8ca2171461045c5761021a565b806301ffc9a7146102515780630480e58b1461029957806306fdde03146102c0578063081812fc1461034a575b60405162461bcd60e51b8152600401808060200182810382526029815260200180612dfb6029913960400191505060405180910390fd5b34801561025d57600080fd5b506102856004803603602081101561027457600080fd5b50356001600160e01b031916610c4c565b604080519115158252519081900360200190f35b3480156102a557600080fd5b506102ae610c6f565b60408051918252519081900360200190f35b3480156102cc57600080fd5b506102d5610c76565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561030f5781810151838201526020016102f7565b50505050905090810190601f16801561033c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561035657600080fd5b506103746004803603602081101561036d57600080fd5b5035610d0c565b604080516001600160a01b039092168252519081900360200190f35b34801561039c57600080fd5b506103c9600480360360408110156103b357600080fd5b506001600160a01b038135169060200135610d6e565b005b3480156103d757600080fd5b506102ae600480360360408110156103ee57600080fd5b506001600160a01b038135169060200135610e96565b34801561041057600080fd5b506102ae610edd565b34801561042557600080fd5b506102ae6004803603606081101561043c57600080fd5b506001600160a01b03813581169160208101359091169060400135610ee3565b34801561046857600080fd5b506104866004803603602081101561047f57600080fd5b5035610f3c565b6040518083600281111561049657fe5b60ff1681526020018260108111156104aa57fe5b60ff1681526020019250505060405180910390f35b3480156104cb57600080fd5b506103c9600480360360608110156104e257600080fd5b506001600160a01b03813581169160208101359091169060400135610fca565b34801561050e57600080fd5b50610285611026565b34801561052357600080fd5b506102ae61102f565b34801561053857600080fd5b506102ae6004803603604081101561054f57600080fd5b506001600160a01b038135169060200135611035565b34801561057157600080fd5b506103c96004803603606081101561058857600080fd5b506001600160a01b038135811691602081013590911690604001356110b4565b3480156105b457600080fd5b506103c9600480360360408110156105cb57600080fd5b506001600160a01b03813581169160200135166110cf565b3480156105ef57600080fd5b506102856004803603602081101561060657600080fd5b5035611212565b34801561061957600080fd5b506102ae6004803603602081101561063057600080fd5b503561121d565b34801561064357600080fd5b506103c96004803603602081101561065a57600080fd5b810190602081018135600160201b81111561067457600080fd5b82018360208201111561068657600080fd5b803590602001918460018302840111600160201b831117156106a757600080fd5b509092509050611283565b3480156106be57600080fd5b506103c9600480360360c08110156106d557600080fd5b6001600160a01b038235811692602081013592604082013590921691810190608081016060820135600160201b81111561070e57600080fd5b82018360208201111561072057600080fd5b803590602001918460018302840111600160201b8311171561074157600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092958435959094909350604081019250602001359050600160201b81111561079b57600080fd5b8201836020820111156107ad57600080fd5b803590602001918460208302840111600160201b831117156107ce57600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061130d945050505050565b34801561081857600080fd5b506103746004803603602081101561082f57600080fd5b503561157b565b34801561084257600080fd5b506102d56115cf565b34801561085757600080fd5b506102ae6004803603602081101561086e57600080fd5b50356001600160a01b0316611630565b34801561088a57600080fd5b506103c9611698565b34801561089f57600080fd5b5061037461172c565b3480156108b457600080fd5b5061028561173b565b3480156108c957600080fd5b506102d5611761565b3480156108de57600080fd5b506103c9600480360360408110156108f557600080fd5b506001600160a01b03813516906020013515156117c2565b34801561091957600080fd5b506102856004803603608081101561093057600080fd5b6001600160a01b038235169160208101359160408201359190810190608081016060820135600160201b81111561096657600080fd5b82018360208201111561097857600080fd5b803590602001918460208302840111600160201b8311171561099957600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506118c7945050505050565b3480156109e357600080fd5b506103c9600480360360808110156109fa57600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b811115610a3457600080fd5b820183602082011115610a4657600080fd5b803590602001918460018302840111600160201b83111715610a6757600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611a28945050505050565b348015610ab457600080fd5b506103c960048036036020811015610acb57600080fd5b50351515611a80565b348015610ae057600080fd5b506102d560048036036020811015610af757600080fd5b5035611ada565b348015610b0a57600080fd5b506102d5611b4a565b348015610b1f57600080fd5b506103c960048036036040811015610b3657600080fd5b506001600160a01b0381358116916020013516611bab565b348015610b5a57600080fd5b506103c960048036036020811015610b7157600080fd5b810190602081018135600160201b811115610b8b57600080fd5b820183602082011115610b9d57600080fd5b803590602001918460018302840111600160201b83111715610bbe57600080fd5b509092509050611c58565b348015610bd557600080fd5b506102d5611cab565b348015610bea57600080fd5b5061028560048036036040811015610c0157600080fd5b506001600160a01b0381358116916020013516611d39565b348015610c2557600080fd5b506103c960048036036020811015610c3c57600080fd5b50356001600160a01b0316611d67565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b6011545b90565b60098054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d025780601f10610cd757610100808354040283529160200191610d02565b820191906000526020600020905b815481529060010190602001808311610ce557829003601f168201915b5050505050905090565b6000610d1782611dba565b610d525760405162461bcd60e51b815260040180806020018281038252602c815260200180612f47602c913960400191505060405180910390fd5b506000908152600260205260409020546001600160a01b031690565b6000610d798261157b565b9050806001600160a01b0316836001600160a01b03161415610dcc5760405162461bcd60e51b8152600401808060200182810382526021815260200180612fbc6021913960400191505060405180910390fd5b806001600160a01b0316610dde611dd7565b6001600160a01b03161480610dff5750610dff81610dfa611dd7565b611d39565b610e3a5760405162461bcd60e51b8152600401808060200182810382526038815260200180612ebc6038913960400191505060405180910390fd5b60008281526002602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b604080516bffffffffffffffffffffffff19606085901b16602080830191909152603480830185905283518084039091018152605490920190925280519101205b92915050565b60075490565b6040805130606090811b6020808401919091526bffffffffffffffffffffffff1996821b8716603484015294901b9094166048850152605c8085019290925280518085039092018252607c909301909252815191012090565b600080610f4883611dba565b610f94576040805162461bcd60e51b81526020600482015260186024820152772a37b5b2b71024a2103237b2b9903737ba1032bc34b9ba1760411b604482015290519081900360640190fd5b60006003840660ff166002811115610fa857fe5b905060006011850660ff166010811115610fbe57fe5b91935090915050915091565b610fdb610fd5611dd7565b82611ddb565b6110165760405162461bcd60e51b8152600401808060200182810382526031815260200180612fdd6031913960400191505060405180910390fd5b611021838383611e77565b505050565b60135460ff1681565b60105481565b600061104083611630565b821061107d5760405162461bcd60e51b815260040180806020018281038252602b815260200180612d78602b913960400191505060405180910390fd5b6001600160a01b03831660009081526005602052604090208054839081106110a157fe5b9060005260206000200154905092915050565b61102183838360405180602001604052806000815250611a28565b6110d761173b565b611116576040805162461bcd60e51b81526020600482018190526024820152600080516020612f73833981519152604482015290519081900360640190fd5b604080516370a0823160e01b815230600482015290516001600160a01b0384169163a9059cbb91849184916370a0823191602480820192602092909190829003018186803b15801561116757600080fd5b505afa15801561117b573d6000803e3d6000fd5b505050506040513d602081101561119157600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b03909316600484015260248301919091525160448083019260209291908290030181600087803b1580156111e257600080fd5b505af11580156111f6573d6000803e3d6000fd5b505050506040513d602081101561120c57600080fd5b50505050565b6000610ed782611dba565b6000611227610edd565b82106112645760405162461bcd60e51b815260040180806020018281038252602c81526020018061300e602c913960400191505060405180910390fd5b6007828154811061127157fe5b90600052602060002001549050919050565b61128b61173b565b6112ca576040805162461bcd60e51b81526020600482018190526024820152600080516020612f73833981519152604482015290519081900360640190fd5b61130982828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611e9692505050565b5050565b601154611318610edd565b111561136b576040805162461bcd60e51b815260206004820152601a60248201527f416c6c20746f6b656e7320616c7265616479206d696e7465642e000000000000604482015290519081900360640190fd5b611377868684846118c7565b6113c8576040805162461bcd60e51b815260206004820152601a60248201527f50726f6f6620766572696669636174696f6e206661696c65642e000000000000604482015290519081900360640190fd5b6113d28686611ea9565b6000806113de87610f3c565b915091508060108111156113ee57fe5b8260028111156113fa57fe5b60408051338152602081018b905281516001600160a01b038d16927fdc90809cda0412ce45d4af87d938ca9961cad0864201f891447f2b02a191397b928290030190a460135460ff161515600114801561147657506001600160a01b03861615806114765750856001600160a01b0316886001600160a01b0316145b15611482575050611573565b60008551116114d8576040805162461bcd60e51b815260206004820152601c60248201527f5369676e6174757265206e6565647320746f20626520676976656e2e00000000604482015290519081900360640190fd5b60006114e589888a610ee3565b905060006114f282611ec6565b905060006115008289611f17565b9050806001600160a01b03168b6001600160a01b0316146115525760405162461bcd60e51b815260040180806020018281038252602f81526020018061303a602f913960400191505060405180910390fd5b61156d8b8a8c60405180602001604052806000815250612005565b50505050505b505050505050565b6000818152600160205260408120546001600160a01b031680610ed75760405162461bcd60e51b8152600401808060200182810382526029815260200180612f1e6029913960400191505060405180910390fd5b600b8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d025780601f10610cd757610100808354040283529160200191610d02565b60006001600160a01b0382166116775760405162461bcd60e51b815260040180806020018281038252602a815260200180612ef4602a913960400191505060405180910390fd5b6001600160a01b0382166000908152600360205260409020610ed790612057565b6116a061173b565b6116df576040805162461bcd60e51b81526020600482018190526024820152600080516020612f73833981519152604482015290519081900360640190fd5b6040805162461bcd60e51b815260206004820152601e60248201527f4f776e6572736869702063616e6e6f742062652072656e6f756e6365642e0000604482015290519081900360640190fd5b600d546001600160a01b031690565b600d546000906001600160a01b0316611752611dd7565b6001600160a01b031614905090565b600a8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d025780601f10610cd757610100808354040283529160200191610d02565b6117ca611dd7565b6001600160a01b0316826001600160a01b03161415611830576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b806004600061183d611dd7565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611881611dd7565b60408051841515815290516001600160a01b0392909216917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319181900360200190a35050565b6000806010541415611920576040805162461bcd60e51b815260206004820152601b60248201527f6d65726b6c65526f6f74206e6565647320746f206265207365742e0000000000604482015290519081900360640190fd5b6000825111611976576040805162461bcd60e51b815260206004820152601d60248201527f50726f6f662070617468206e6565647320746f20626520676976656e2e000000604482015290519081900360640190fd5b60115484106119b65760405162461bcd60e51b8152600401808060200182810382526026815260200180612e966026913960400191505060405180910390fd5b6012548251106119f75760405162461bcd60e51b8152600401808060200182810382526022815260200180612e746022913960400191505060405180910390fd5b82611a028686610e96565b1415611a1c57611a15826010548561205b565b9050611a20565b5060005b949350505050565b611a39611a33611dd7565b83611ddb565b611a745760405162461bcd60e51b8152600401808060200182810382526031815260200180612fdd6031913960400191505060405180910390fd5b61120c84848484612005565b611a8861173b565b611ac7576040805162461bcd60e51b81526020600482018190526024820152600080516020612f73833981519152604482015290519081900360640190fd5b6013805460ff1916911515919091179055565b6060611ae582611dba565b611b31576040805162461bcd60e51b81526020600482015260186024820152772a37b5b2b71024a2103237b2b9903737ba1032bc34b9ba1760411b604482015290519081900360640190fd5b610ed7611b3c611b4a565b611b4584612104565b6121c5565b600f8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d025780601f10610cd757610100808354040283529160200191610d02565b611bb361173b565b611bf2576040805162461bcd60e51b81526020600482018190526024820152600080516020612f73833981519152604482015290519081900360640190fd5b6040805163a22cb46560e01b81526001600160a01b0383811660048301526001602483015291519184169163a22cb4659160448082019260009290919082900301818387803b158015611c4457600080fd5b505af1158015611573573d6000803e3d6000fd5b611c6061173b565b611c9f576040805162461bcd60e51b81526020600482018190526024820152600080516020612f73833981519152604482015290519081900360640190fd5b611021600f8383612c51565b600e805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015611d315780601f10611d0657610100808354040283529160200191611d31565b820191906000526020600020905b815481529060010190602001808311611d1457829003601f168201915b505050505081565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b611d6f61173b565b611dae576040805162461bcd60e51b81526020600482018190526024820152600080516020612f73833981519152604482015290519081900360640190fd5b611db781612208565b50565b6000908152600160205260409020546001600160a01b0316151590565b3390565b6000611de682611dba565b611e215760405162461bcd60e51b815260040180806020018281038252602c815260200180612e48602c913960400191505060405180910390fd5b6000611e2c8361157b565b9050806001600160a01b0316846001600160a01b03161480611e675750836001600160a01b0316611e5c84610d0c565b6001600160a01b0316145b80611a205750611a208185611d39565b611e828383836122a9565b611e8c83826123ed565b61102182826124e2565b805161130990600e906020840190612ccf565b611eb38282612520565b611ebd82826124e2565b61130981612651565b604080517f19457468657265756d205369676e6564204d6573736167653a0a333200000000602080830191909152603c8083019490945282518083039094018452605c909101909152815191012090565b60008151604114611f2a57506000610ed7565b60208201516040830151606084015160001a7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115611f705760009350505050610ed7565b8060ff16601b14158015611f8857508060ff16601c14155b15611f995760009350505050610ed7565b6040805160008152602080820180845289905260ff8416828401526060820186905260808201859052915160019260a0808401939192601f1981019281900390910190855afa158015611ff0573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b612010848484611e77565b61201c84848484612695565b61120c5760405162461bcd60e51b8152600401808060200182810382526032815260200180612da36032913960400191505060405180910390fd5b5490565b600081815b85518110156120f957600086828151811061207757fe5b602002602001015190508083116120be57828160405160200180838152602001828152602001925050506040516020818303038152906040528051906020012092506120f0565b808360405160200180838152602001828152602001925050506040516020818303038152906040528051906020012092505b50600101612060565b509092149392505050565b60608161212957506040805180820190915260018152600360fc1b6020820152610c6a565b8160005b811561214157600101600a8204915061212d565b6060816040519080825280601f01601f19166020018201604052801561216e576020820181803883390190505b50905060001982015b85156121bc57600a860660300160f81b8282806001900393508151811061219a57fe5b60200101906001600160f81b031916908160001a905350600a86049550612177565b50949350505050565b606061220183836040518060200160405280600081525060405180602001604052806000815250604051806020016040528060008152506128d0565b9392505050565b6001600160a01b03811661224d5760405162461bcd60e51b8152600401808060200182810382526026815260200180612dd56026913960400191505060405180910390fd5b600d546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600d80546001600160a01b0319166001600160a01b0392909216919091179055565b826001600160a01b03166122bc8261157b565b6001600160a01b0316146123015760405162461bcd60e51b8152600401808060200182810382526029815260200180612f936029913960400191505060405180910390fd5b6001600160a01b0382166123465760405162461bcd60e51b8152600401808060200182810382526024815260200180612e246024913960400191505060405180910390fd5b61234f81612ae4565b6001600160a01b038316600090815260036020526040902061237090612b1f565b6001600160a01b038216600090815260036020526040902061239190612b36565b60008181526001602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b03821660009081526005602052604081205461241790600163ffffffff612b3f16565b6000838152600660205260409020549091508082146124b2576001600160a01b038416600090815260056020526040812080548490811061245457fe5b906000526020600020015490508060056000876001600160a01b03166001600160a01b03168152602001908152602001600020838154811061249257fe5b600091825260208083209091019290925591825260069052604090208190555b6001600160a01b03841660009081526005602052604090208054906124db906000198301612d3d565b5050505050565b6001600160a01b0390911660009081526005602081815260408084208054868652600684529185208290559282526001810183559183529091200155565b6001600160a01b03821661257b576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b61258481611dba565b156125d6576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b600081815260016020908152604080832080546001600160a01b0319166001600160a01b03871690811790915583526003909152902061261590612b36565b60405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600780546000838152600860205260408120829055600182018355919091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880155565b60006126a9846001600160a01b0316612b81565b6126b557506001611a20565b600060606001600160a01b038616630a85bd0160e11b6126d3611dd7565b89888860405160240180856001600160a01b03166001600160a01b03168152602001846001600160a01b03166001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561274c578181015183820152602001612734565b50505050905090810190601f1680156127795780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b03166001600160e01b0319909a16999099178952518151919890975087965094509250829150849050835b602083106127e15780518252601f1990920191602091820191016127c2565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612843576040519150601f19603f3d011682016040523d82523d6000602084013e612848565b606091505b509150915081612899578051156128625780518082602001fd5b60405162461bcd60e51b8152600401808060200182810382526032815260200180612da36032913960400191505060405180910390fd5b60008180602001905160208110156128b057600080fd5b50516001600160e01b031916630a85bd0160e11b149350611a2092505050565b6060808690506060869050606086905060608690506060869050606081518351855187518951010101016040519080825280601f01601f191660200182016040528015612924576020820181803883390190505b509050806000805b885181101561297d5788818151811061294157fe5b602001015160f81c60f81b83838060010194508151811061295e57fe5b60200101906001600160f81b031916908160001a90535060010161292c565b5060005b87518110156129d25787818151811061299657fe5b602001015160f81c60f81b8383806001019450815181106129b357fe5b60200101906001600160f81b031916908160001a905350600101612981565b5060005b8651811015612a27578681815181106129eb57fe5b602001015160f81c60f81b838380600101945081518110612a0857fe5b60200101906001600160f81b031916908160001a9053506001016129d6565b5060005b8551811015612a7c57858181518110612a4057fe5b602001015160f81c60f81b838380600101945081518110612a5d57fe5b60200101906001600160f81b031916908160001a905350600101612a2b565b5060005b8451811015612ad157848181518110612a9557fe5b602001015160f81c60f81b838380600101945081518110612ab257fe5b60200101906001600160f81b031916908160001a905350600101612a80565b50909d9c50505050505050505050505050565b6000818152600260205260409020546001600160a01b031615611db757600090815260026020526040902080546001600160a01b0319169055565b8054612b3290600163ffffffff612b3f16565b9055565b80546001019055565b600061220183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612bba565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611a20575050151592915050565b60008184841115612c495760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612c0e578181015183820152602001612bf6565b50505050905090810190601f168015612c3b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10612c925782800160ff19823516178555612cbf565b82800160010185558215612cbf579182015b82811115612cbf578235825591602001919060010190612ca4565b50612ccb929150612d5d565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10612d1057805160ff1916838001178555612cbf565b82800160010185558215612cbf579182015b82811115612cbf578251825591602001919060010190612d22565b815481835581811115611021576000838152602090206110219181019083015b610c7391905b80821115612ccb5760008155600101612d6356fe455243373231456e756d657261626c653a206f776e657220696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737354686520636f6e74726163742063616e6e6f74207265636569766520455448207061796d656e74732e4552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e50726f6f662070617468206e6f742077697468696e2074726565206865696768742e546f6b656e204944206d7573742062652077697468696e20646566696e65642072616e67652e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564455243373231456e756d657261626c653a20676c6f62616c20696e646578206f7574206f6620626f756e64735265636f7665726564207369676e657220646f6573206e6f74206d61746368206f726967696e616c206f776e65722ea265627a7a72315820d5514fcc88dcd5e4875ac3cbc4e6e958effa6858b8c5cc88fa563fcc74a1c34564736f6c63430005110032

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

00bd4584687264f9d38ccebdc4f7652b876a462c7bcd3d52caa8ef1c0526968c000000000000000000000000000000000000000000000000000000000001869f000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000f554e2043727970746f205374616d7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005554e435331000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002f68747470733a2f2f63727970746f2e756e7374616d70732e6f72672f554e4353312f6d6574612f636f6e74726163740000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _merkleRoot (bytes32): 0x00bd4584687264f9d38ccebdc4f7652b876a462c7bcd3d52caa8ef1c0526968c
Arg [1] : _encodedLeafNodes (uint256): 99999
Arg [2] : _treeHeight (uint256): 18
Arg [3] : _name (string): UN Crypto Stamp
Arg [4] : _symbol (string): UNCS1
Arg [5] : _contractURI (string): https://crypto.unstamps.org/UNCS1/meta/contract

-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 00bd4584687264f9d38ccebdc4f7652b876a462c7bcd3d52caa8ef1c0526968c
Arg [1] : 000000000000000000000000000000000000000000000000000000000001869f
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [7] : 554e2043727970746f205374616d700000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [9] : 554e435331000000000000000000000000000000000000000000000000000000
Arg [10] : 000000000000000000000000000000000000000000000000000000000000002f
Arg [11] : 68747470733a2f2f63727970746f2e756e7374616d70732e6f72672f554e4353
Arg [12] : 312f6d6574612f636f6e74726163740000000000000000000000000000000000


Deployed Bytecode Sourcemap

62711:8493:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71144:51;;-1:-1:-1;;;71144:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20469:135;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20469:135:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20469:135:0;-1:-1:-1;;;;;;20469:135:0;;:::i;:::-;;;;;;;;;;;;;;;;;;65212:104;;8:9:-1;5:2;;;30:1;27;20:12;5:2;65212:104:0;;;:::i;:::-;;;;;;;;;;;;;;;;48306:85;;8:9:-1;5:2;;;30:1;27;20:12;5:2;48306:85:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;48306:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25439:204;;8:9:-1;5:2;;;30:1;27;20:12;5:2;25439:204:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25439:204:0;;:::i;:::-;;;;-1:-1:-1;;;;;25439:204:0;;;;;;;;;;;;;;24721:425;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24721:425:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;24721:425:0;;;;;;;;:::i;:::-;;65941:158;;8:9:-1;5:2;;;30:1;27;20:12;5:2;65941:158:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;65941:158:0;;;;;;;;:::i;39882:96::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;39882:96:0;;;:::i;67150:245::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;67150:245:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;67150:245:0;;;;;;;;;;;;;;;;;:::i;69387:412::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;69387:412:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;69387:412:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27122:292;;8:9:-1;5:2;;;30:1;27;20:12;5:2;27122:292:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;27122:292:0;;;;;;;;;;;;;;;;;:::i;64406:39::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;64406:39:0;;;:::i;63269:25::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;63269:25:0;;;:::i;39491:232::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;39491:232:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;39491:232:0;;;;;;;;:::i;28076:134::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;28076:134:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;28076:134:0;;;;;;;;;;;;;;;;;:::i;70512:168::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;70512:168:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;70512:168:0;;;;;;;;;;:::i;69868:108::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;69868:108:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;69868:108:0;;:::i;40324:199::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;40324:199:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;40324:199:0;;:::i;65539:111::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;65539:111:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;65539:111:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;65539:111:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;65539:111:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;65539:111:0;;-1:-1:-1;65539:111:0;-1:-1:-1;65539:111:0;:::i;67713:1578::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;67713:1578:0;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;67713:1578:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;67713:1578:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;67713:1578:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;67713:1578:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;67713:1578:0;;;;;;;;;-1:-1:-1;67713:1578:0;;;;-1:-1:-1;67713:1578:0;;;;-1:-1:-1;;;;5:28;;2:2;;;46:1;43;36:12;2:2;67713:1578:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;67713:1578:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;67713:1578:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;67713:1578:0;;-1:-1:-1;67713:1578:0;;-1:-1:-1;;;;;67713:1578:0:i;24062:228::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24062:228:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;24062:228:0;;:::i;50559:91::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;50559:91:0;;;:::i;23625:211::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23625:211:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23625:211:0;-1:-1:-1;;;;;23625:211:0;;:::i;70394:112::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;70394:112:0;;;:::i;3564:79::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3564:79:0;;;:::i;3930:94::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3930:94:0;;;:::i;48506:89::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;48506:89:0;;;:::i;25944:254::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;25944:254:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;25944:254:0;;;;;;;;;;:::i;66222:841::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;66222:841:0;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;66222:841:0;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;66222:841:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;66222:841:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;66222:841:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;66222:841:0;;-1:-1:-1;66222:841:0;;-1:-1:-1;;;;;66222:841:0:i;28947:272::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;28947:272:0;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;28947:272:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;28947:272:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;28947:272:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;28947:272:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;28947:272:0;;-1:-1:-1;28947:272:0;;-1:-1:-1;;;;;28947:272:0:i;65700:147::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;65700:147:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;65700:147:0;;;;:::i;70054:250::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;70054:250:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;70054:250:0;;:::i;65101:105::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;65101:105:0;;;:::i;70686:145::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;70686:145:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;70686:145:0;;;;;;;;;;:::i;65373:111::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;65373:111:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;65373:111:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;65373:111:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;65373:111:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;65373:111:0;;-1:-1:-1;65373:111:0;-1:-1:-1;65373:111:0;:::i;59979:25::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;59979:25:0;;;:::i;26528:147::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26528:147:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;26528:147:0;;;;;;;;;;:::i;4670:109::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4670:109:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4670:109:0;-1:-1:-1;;;;;4670:109:0;;:::i;20469:135::-;-1:-1:-1;;;;;;20563:33:0;;20539:4;20563:33;;;;;;;;;;;;;20469:135;;;;:::o;65212:104::-;65294:16;;65212:104;;:::o;48306:85::-;48378:5;48371:12;;;;;;;;-1:-1:-1;;48371:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48345:13;;48371:12;;48378:5;;48371:12;;48378:5;48371:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48306:85;:::o;25439:204::-;25498:7;25526:16;25534:7;25526;:16::i;:::-;25518:73;;;;-1:-1:-1;;;25518:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;25611:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;25611:24:0;;25439:204::o;24721:425::-;24785:13;24801:16;24809:7;24801;:16::i;:::-;24785:32;;24842:5;-1:-1:-1;;;;;24836:11:0;:2;-1:-1:-1;;;;;24836:11:0;;;24828:57;;;;-1:-1:-1;;;24828:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24922:5;-1:-1:-1;;;;;24906:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;24906:21:0;;:62;;;;24931:37;24948:5;24955:12;:10;:12::i;:::-;24931:16;:37::i;:::-;24898:154;;;;-1:-1:-1;;;24898:154:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25065:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;25065:29:0;-1:-1:-1;;;;;25065:29:0;;;;;;;;;25110:28;;25065:24;;25110:28;;;;;;;24721:425;;;:::o;65941:158::-;66060:32;;;-1:-1:-1;;66060:32:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;66060:32:0;;;;;;;66050:43;;;;;65941:158;;;;;:::o;39882:96::-;39953:10;:17;39882:96;:::o;67150:245::-;67310:52;;;67335:4;67310:52;;;;;;;;;;;;-1:-1:-1;;67310:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;67310:52:0;;;;;;;67300:63;;;;;;67150:245::o;69387:412::-;69457:13;69472:26;69518:16;69526:7;69518;:16::i;:::-;69510:53;;;;;-1:-1:-1;;;69510:53:0;;;;;;;;;;;;-1:-1:-1;;;69510:53:0;;;;;;;;;;;;;;;69570:20;63021:1;69613:7;:31;69593:53;;;;;;;;;;69570:76;-1:-1:-1;69653:30:0;63089:2;69719:7;:45;69686:80;;;;;;;;;;69781:6;;-1:-1:-1;69653:113:0;;-1:-1:-1;;69387:412:0;;;:::o;27122:292::-;27266:41;27285:12;:10;:12::i;:::-;27299:7;27266:18;:41::i;:::-;27258:103;;;;-1:-1:-1;;;27258:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27374:32;27388:4;27394:2;27398:7;27374:13;:32::i;:::-;27122:292;;;:::o;64406:39::-;;;;;;:::o;63269:25::-;;;;:::o;39491:232::-;39571:7;39607:16;39617:5;39607:9;:16::i;:::-;39599:5;:24;39591:80;;;;-1:-1:-1;;;39591:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;39689:19:0;;;;;;:12;:19;;;;;:26;;39709:5;;39689:26;;;;;;;;;;;;;;39682:33;;39491:232;;;;:::o;28076:134::-;28163:39;28180:4;28186:2;28190:7;28163:39;;;;;;;;;;;;:16;:39::i;70512:168::-;3776:9;:7;:9::i;:::-;3768:54;;;;;-1:-1:-1;;;3768:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;3768:54:0;;;;;;;;;;;;;;;70635:38;;;-1:-1:-1;;;70635:38:0;;70667:4;70635:38;;;;;;-1:-1:-1;;;;;70607:22:0;;;;;70630:3;;70607:22;;70635:23;;:38;;;;;;;;;;;;;;;70607:22;70635:38;;;5:2:-1;;;;30:1;27;20:12;5:2;70635:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;70635:38:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;70635:38:0;70607:67;;;-1:-1:-1;;;;;;70607:67:0;;;;;;;-1:-1:-1;;;;;70607:67:0;;;;;;;;;;;;;;;;;;;;70635:38;;70607:67;;;;;;;-1:-1:-1;70607:67:0;;;;5:2:-1;;;;30:1;27;20:12;5:2;70607:67:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;70607:67:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;70512:168:0:o;69868:108::-;69931:4;69954:16;69962:7;69954;:16::i;40324:199::-;40382:7;40418:13;:11;:13::i;:::-;40410:5;:21;40402:78;;;;-1:-1:-1;;;40402:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40498:10;40509:5;40498:17;;;;;;;;;;;;;;;;40491:24;;40324:199;;;:::o;65539:111::-;3776:9;:7;:9::i;:::-;3768:54;;;;;-1:-1:-1;;;3768:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;3768:54:0;;;;;;;;;;;;;;;65623:21;65639:4;;65623:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;65623:15:0;;-1:-1:-1;;;65623:21:0:i;:::-;65539:111;;:::o;67713:1578::-;67934:16;;67917:13;:11;:13::i;:::-;:33;;67909:72;;;;;-1:-1:-1;;;67909:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;68035:55;68062:5;68069:7;68078:4;68084:5;68035:26;:55::i;:::-;68027:94;;;;;-1:-1:-1;;;68027:94:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;68164:21;68170:5;68177:7;68164:5;:21::i;:::-;68236:20;68258:30;68292:22;68306:7;68292:13;:22::i;:::-;68235:79;;;;68411:3;68359:56;;;;;;;;68403:6;68359:56;;;;;;;;;;;68375:10;68359:56;;;;;;;;;;-1:-1:-1;;;;;68359:56:0;;;;;;;;;;;68480:20;;;;:28;;:20;:28;:65;;;;-1:-1:-1;;;;;;68513:16:0;;;;:31;;;68542:2;-1:-1:-1;;;;;68533:11:0;:5;-1:-1:-1;;;;;68533:11:0;;68513:31;68477:93;;;68556:7;;;;68477:93;68635:1;68616:9;:16;:20;68608:61;;;;;-1:-1:-1;;;68608:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;68735:20;68758:43;68782:5;68789:2;68793:7;68758:23;:43::i;:::-;68735:66;;68850:21;68874:42;68903:12;68874:28;:42::i;:::-;68850:66;;68978:23;69004:39;69018:13;69033:9;69004:13;:39::i;:::-;68978:65;;69121:15;-1:-1:-1;;;;;69112:24:0;:5;-1:-1:-1;;;;;69112:24:0;;69104:84;;;;-1:-1:-1;;;69104:84:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69244:41;69262:5;69269:2;69273:7;69244:41;;;;;;;;;;;;:17;:41::i;:::-;67713:1578;;;;;;;;;;;;:::o;24062:228::-;24117:7;24153:20;;;:11;:20;;;;;;-1:-1:-1;;;;;24153:20:0;24192:19;24184:73;;;;-1:-1:-1;;;24184:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50559:91;50634:8;50627:15;;;;;;;;-1:-1:-1;;50627:15:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50601:13;;50627:15;;50634:8;;50627:15;;50634:8;50627:15;;;;;;;;;;;;;;;;;;;;;;;;23625:211;23680:7;-1:-1:-1;;;;;23708:19:0;;23700:74;;;;-1:-1:-1;;;23700:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23794:24:0;;;;;;:17;:24;;;;;:34;;:32;:34::i;70394:112::-;3776:9;:7;:9::i;:::-;3768:54;;;;;-1:-1:-1;;;3768:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;3768:54:0;;;;;;;;;;;;;;;70460:40;;;-1:-1:-1;;;70460:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;3564:79;3629:6;;-1:-1:-1;;;;;3629:6:0;3564:79;:::o;3930:94::-;4010:6;;3970:4;;-1:-1:-1;;;;;4010:6:0;3994:12;:10;:12::i;:::-;-1:-1:-1;;;;;3994:22:0;;3987:29;;3930:94;:::o;48506:89::-;48580:7;48573:14;;;;;;;;-1:-1:-1;;48573:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48547:13;;48573:14;;48580:7;;48573:14;;48580:7;48573:14;;;;;;;;;;;;;;;;;;;;;;;;25944:254;26030:12;:10;:12::i;:::-;-1:-1:-1;;;;;26024:18:0;:2;-1:-1:-1;;;;;26024:18:0;;;26016:56;;;;;-1:-1:-1;;;26016:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;26124:8;26085:18;:32;26104:12;:10;:12::i;:::-;-1:-1:-1;;;;;26085:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;26085:32:0;;;:36;;;;;;;;;;;;:47;;-1:-1:-1;;26085:47:0;;;;;;;;;;;26163:12;:10;:12::i;:::-;26148:42;;;;;;;;;;-1:-1:-1;;;;;26148:42:0;;;;;;;;;;;;;;25944:254;;:::o;66222:841::-;66358:4;66445:11;66431:10;;:25;;66423:65;;;;;-1:-1:-1;;;66423:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;66610:1;66595:5;:12;:16;66587:58;;;;;-1:-1:-1;;;66587:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;66705:16;;66695:7;:26;66687:77;;;;-1:-1:-1;;;66687:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66852:10;;66837:5;:12;:25;66829:72;;;;-1:-1:-1;;;66829:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66950:4;66919:27;66931:5;66938:7;66919:11;:27::i;:::-;:35;66916:142;;;66972:43;66991:5;66998:10;;67010:4;66972:18;:43::i;:::-;66965:50;;;;66916:142;-1:-1:-1;67045:5:0;66916:142;66222:841;;;;;;:::o;28947:272::-;29062:41;29081:12;:10;:12::i;:::-;29095:7;29062:18;:41::i;:::-;29054:103;;;;-1:-1:-1;;;29054:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29168:43;29186:4;29192:2;29196:7;29205:5;29168:17;:43::i;65700:147::-;3776:9;:7;:9::i;:::-;3768:54;;;;;-1:-1:-1;;;3768:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;3768:54:0;;;;;;;;;;;;;;;65797:20;:44;;-1:-1:-1;;65797:44:0;;;;;;;;;;65700:147::o;70054:250::-;70125:13;70158:16;70166:7;70158;:16::i;:::-;70150:53;;;;;-1:-1:-1;;;70150:53:0;;;;;;;;;;;;-1:-1:-1;;;70150:53:0;;;;;;;;;;;;;;;70217:81;70243:14;:12;:14::i;:::-;70266:25;70283:7;70266:16;:25::i;:::-;70217:17;:81::i;65101:105::-;65187:13;65180:20;;;;;;;;-1:-1:-1;;65180:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65155:13;;65180:20;;65187:13;;65180:20;;65187:13;65180:20;;;;;;;;;;;;;;;;;;;;;;;;70686:145;3776:9;:7;:9::i;:::-;3768:54;;;;;-1:-1:-1;;;3768:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;3768:54:0;;;;;;;;;;;;;;;70785:40;;;-1:-1:-1;;;70785:40:0;;-1:-1:-1;;;;;70785:40:0;;;;;;;70820:4;70785:40;;;;;;:29;;;;;;:40;;;;;-1:-1:-1;;70785:40:0;;;;;;;;-1:-1:-1;70785:29:0;:40;;;5:2:-1;;;;30:1;27;20:12;5:2;70785:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;65373:111:0;3776:9;:7;:9::i;:::-;3768:54;;;;;-1:-1:-1;;;3768:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;3768:54:0;;;;;;;;;;;;;;;65458:20;:13;65474:4;;65458:20;:::i;59979:25::-;;;;;;;;;;;;;;;-1:-1:-1;;59979:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;26528:147::-;-1:-1:-1;;;;;26632:25:0;;;26608:4;26632:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26528:147::o;4670:109::-;3776:9;:7;:9::i;:::-;3768:54;;;;;-1:-1:-1;;;3768:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;3768:54:0;;;;;;;;;;;;;;;4743:28;4762:8;4743:18;:28::i;:::-;4670:109;:::o;30412:155::-;30469:4;30502:20;;;:11;:20;;;;;;-1:-1:-1;;;;;30502:20:0;30540:19;;;30412:155::o;2262:98::-;2342:10;2262:98;:::o;30937:333::-;31022:4;31047:16;31055:7;31047;:16::i;:::-;31039:73;;;;-1:-1:-1;;;31039:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31123:13;31139:16;31147:7;31139;:16::i;:::-;31123:32;;31185:5;-1:-1:-1;;;;;31174:16:0;:7;-1:-1:-1;;;;;31174:16:0;;:51;;;;31218:7;-1:-1:-1;;;;;31194:31:0;:20;31206:7;31194:11;:20::i;:::-;-1:-1:-1;;;;;31194:31:0;;31174:51;:87;;;;31229:32;31246:5;31253:7;31229:16;:32::i;40907:245::-;40993:38;41013:4;41019:2;41023:7;40993:19;:38::i;:::-;41044:47;41077:4;41083:7;41044:32;:47::i;:::-;41104:40;41132:2;41136:7;41104:27;:40::i;60445:107::-;60518:26;;;;:11;;:26;;;;;:::i;41417:202::-;41481:24;41493:2;41497:7;41481:11;:24::i;:::-;41518:40;41546:2;41550:7;41518:27;:40::i;:::-;41571;41603:7;41571:31;:40::i;58238:269::-;58440:58;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;58440:58:0;;;;;;;58430:69;;;;;;58238:269::o;56034:1930::-;56112:7;56175:9;:16;56195:2;56175:22;56171:74;;-1:-1:-1;56230:1:0;56214:19;;56171:74;56606:4;56591:20;;56585:27;56652:4;56637:20;;56631:27;56706:4;56691:20;;56685:27;56314:9;56677:36;57636:66;57623:79;;57619:129;;;57734:1;57719:17;;;;;;;57619:129;57764:1;:7;;57769:2;57764:7;;:18;;;;;57775:1;:7;;57780:2;57775:7;;57764:18;57760:68;;;57814:1;57799:17;;;;;;;57760:68;57932:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;57932:24:0;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;57932:24:0;;-1:-1:-1;;57932:24:0;;;56034:1930;-1:-1:-1;;;;;;;56034:1930:0:o;29938:272::-;30048:32;30062:4;30068:2;30072:7;30048:13;:32::i;:::-;30099:48;30122:4;30128:2;30132:7;30141:5;30099:22;:48::i;:::-;30091:111;;;;-1:-1:-1;;;30091:111:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19050:114;19142:14;;19050:114::o;59063:796::-;59154:4;59194;59154;59211:525;59235:5;:12;59231:1;:16;59211:525;;;59269:20;59292:5;59298:1;59292:8;;;;;;;;;;;;;;59269:31;;59337:12;59321;:28;59317:408;;59491:12;59505;59474:44;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;59474:44:0;;;59464:55;;;;;;59449:70;;59317:408;;;59681:12;59695;59664:44;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;59664:44:0;;;59654:55;;;;;;59639:70;;59317:408;-1:-1:-1;59249:3:0;;59211:525;;;-1:-1:-1;59831:20:0;;;;59063:796;-1:-1:-1;;;59063:796:0:o;62126:482::-;62176:27;62220:7;62216:50;;-1:-1:-1;62244:10:0;;;;;;;;;;;;-1:-1:-1;;;62244:10:0;;;;;;62216:50;62285:2;62276:6;62317:69;62324:6;;62317:69;;62347:5;;62372:2;62367:7;;;;62317:69;;;62396:17;62426:3;62416:14;;;;;;;;;;;;;;;;;;;;;;;;;21:6:-1;;104:10;62416:14:0;87:34:-1;135:17;;-1:-1;62416:14:0;-1:-1:-1;62396:34:0;-1:-1:-1;;;62450:7:0;;62468:103;62475:7;;62468:103;;62532:2;62527;:7;62522:2;:12;62511:25;;62499:4;62504:3;;;;;;;62499:9;;;;;;;;;;;:37;-1:-1:-1;;;;;62499:37:0;;;;;;;;-1:-1:-1;62557:2:0;62551:8;;;;62468:103;;;-1:-1:-1;62595:4:0;62126:482;-1:-1:-1;;;;62126:482:0:o;61970:148::-;62048:13;62081:29;62091:2;62095;62081:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:9;:29::i;:::-;62074:36;61970:148;-1:-1:-1;;;61970:148:0:o;4885:229::-;-1:-1:-1;;;;;4959:22:0;;4951:73;;;;-1:-1:-1;;;4951:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5061:6;;5040:38;;-1:-1:-1;;;;;5040:38:0;;;;5061:6;;5040:38;;5061:6;;5040:38;5089:6;:17;;-1:-1:-1;;;;;;5089:17:0;-1:-1:-1;;;;;5089:17:0;;;;;;;;;;4885:229::o;34633:459::-;34747:4;-1:-1:-1;;;;;34727:24:0;:16;34735:7;34727;:16::i;:::-;-1:-1:-1;;;;;34727:24:0;;34719:78;;;;-1:-1:-1;;;34719:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34816:16:0;;34808:65;;;;-1:-1:-1;;;34808:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34886:23;34901:7;34886:14;:23::i;:::-;-1:-1:-1;;;;;34922:23:0;;;;;;:17;:23;;;;;:35;;:33;:35::i;:::-;-1:-1:-1;;;;;34968:21:0;;;;;;:17;:21;;;;;:33;;:31;:33::i;:::-;35014:20;;;;:11;:20;;;;;;:25;;-1:-1:-1;;;;;;35014:25:0;-1:-1:-1;;;;;35014:25:0;;;;;;;;;35057:27;;35014:20;;35057:27;;;;;;;34633:459;;;:::o;44092:1148::-;-1:-1:-1;;;;;44383:18:0;;44358:22;44383:18;;;:12;:18;;;;;:25;:32;;44413:1;44383:32;:29;:32;:::i;:::-;44426:18;44447:26;;;:17;:26;;;;;;44358:57;;-1:-1:-1;44580:28:0;;;44576:328;;-1:-1:-1;;;;;44647:18:0;;44625:19;44647:18;;;:12;:18;;;;;:34;;44666:14;;44647:34;;;;;;;;;;;;;;44625:56;;44731:11;44698:12;:18;44711:4;-1:-1:-1;;;;;44698:18:0;-1:-1:-1;;;;;44698:18:0;;;;;;;;;;;;44717:10;44698:30;;;;;;;;;;;;;;;;;;;:44;;;;44815:30;;;:17;:30;;;;;:43;;;44576:328;-1:-1:-1;;;;;44993:18:0;;;;;;:12;:18;;;;;:27;;;;;-1:-1:-1;;44993:27:0;;;:::i;:::-;;44092:1148;;;;:::o;42914:186::-;-1:-1:-1;;;;;43028:16:0;;;;;;;:12;:16;;;;;;;;:23;;42999:26;;;:17;:26;;;;;:52;;;43062:16;;;39:1:-1;23:18;;45:23;;43062:30:0;;;;;;;;42914:186::o;33022:335::-;-1:-1:-1;;;;;33094:16:0;;33086:61;;;;;-1:-1:-1;;;33086:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33167:16;33175:7;33167;:16::i;:::-;33166:17;33158:58;;;;;-1:-1:-1;;;33158:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;33229:20;;;;:11;:20;;;;;;;;:25;;-1:-1:-1;;;;;;33229:25:0;-1:-1:-1;;;;;33229:25:0;;;;;;;;33265:21;;:17;:21;;;;;:33;;:31;:33::i;:::-;33316;;33341:7;;-1:-1:-1;;;;;33316:33:0;;;33333:1;;33316:33;;33333:1;;33316:33;33022:335;;:::o;43301:164::-;43405:10;:17;;43378:24;;;;:15;:24;;;;;:44;;;39:1:-1;23:18;;45:23;;43433:24:0;;;;;;;43301:164::o;35744:1079::-;35866:4;35893:15;:2;-1:-1:-1;;;;;35893:13:0;;:15::i;:::-;35888:60;;-1:-1:-1;35932:4:0;35925:11;;35888:60;36019:12;36033:23;-1:-1:-1;;;;;36060:7:0;;-1:-1:-1;;;36165:12:0;:10;:12::i;:::-;36192:4;36211:7;36233:5;36068:181;;;;;;-1:-1:-1;;;;;36068:181:0;-1:-1:-1;;;;;36068:181:0;;;;;;-1:-1:-1;;;;;36068:181:0;-1:-1:-1;;;;;36068:181:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;36068:181:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36068:181:0;;;-1:-1:-1;;26:21;;;22:32;6:49;;36068:181:0;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;;;;36068:181:0;;;179:29:-1;;;;160:49;;36060:190:0;;;36068:181;;36060:190;;-1:-1:-1;36060:190:0;;-1:-1:-1;25:18;-1:-1;36060:190:0;-1:-1:-1;36060:190:0;;-1:-1:-1;36060:190:0;;-1:-1:-1;25:18;36:153;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;36060:190:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;36018:232:0;;;;36266:7;36261:555;;36294:17;;:21;36290:384;;36462:10;36456:17;36523:15;36510:10;36506:2;36502:19;36495:44;36410:148;36598:60;;-1:-1:-1;;;36598:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36261:555;36706:13;36733:10;36722:32;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;36722:32:0;-1:-1:-1;;;;;;36777:26:0;-1:-1:-1;;;36777:26:0;;-1:-1:-1;36769:35:0;;-1:-1:-1;;;36769:35:0;60724:872;60856:13;60880:16;60905:2;60880:28;;60917:16;60942:2;60917:28;;60954:16;60979:2;60954:28;;60991:16;61016:2;60991:28;;61028:16;61053:2;61028:28;;61065:19;61150:3;:10;61137:3;:10;61124:3;:10;61111:3;:10;61098:3;:10;:23;:36;:49;:62;61087:74;;;;;;;;;;;;;;;;;;;;;;;;;21:6:-1;;104:10;61087:74:0;87:34:-1;135:17;;-1:-1;61087:74:0;-1:-1:-1;61065:96:0;-1:-1:-1;61065:96:0;61213:6;;61232:58;61253:3;:10;61249:1;:14;61232:58;;;61284:3;61288:1;61284:6;;;;;;;;;;;;;;;;61270;61277:3;;;;;;61270:11;;;;;;;;;;;:20;-1:-1:-1;;;;;61270:20:0;;;;;;;;-1:-1:-1;61265:3:0;;61232:58;;;-1:-1:-1;61304:6:0;61299:58;61320:3;:10;61316:1;:14;61299:58;;;61351:3;61355:1;61351:6;;;;;;;;;;;;;;;;61337;61344:3;;;;;;61337:11;;;;;;;;;;;:20;-1:-1:-1;;;;;61337:20:0;;;;;;;;-1:-1:-1;61332:3:0;;61299:58;;;-1:-1:-1;61371:6:0;61366:58;61387:3;:10;61383:1;:14;61366:58;;;61418:3;61422:1;61418:6;;;;;;;;;;;;;;;;61404;61411:3;;;;;;61404:11;;;;;;;;;;;:20;-1:-1:-1;;;;;61404:20:0;;;;;;;;-1:-1:-1;61399:3:0;;61366:58;;;-1:-1:-1;61438:6:0;61433:58;61454:3;:10;61450:1;:14;61433:58;;;61485:3;61489:1;61485:6;;;;;;;;;;;;;;;;61471;61478:3;;;;;;61471:11;;;;;;;;;;;:20;-1:-1:-1;;;;;61471:20:0;;;;;;;;-1:-1:-1;61466:3:0;;61433:58;;;-1:-1:-1;61505:6:0;61500:58;61521:3;:10;61517:1;:14;61500:58;;;61552:3;61556:1;61552:6;;;;;;;;;;;;;;;;61538;61545:3;;;;;;61538:11;;;;;;;;;;;:20;-1:-1:-1;;;;;61538:20:0;;;;;;;;-1:-1:-1;61533:3:0;;61500:58;;;-1:-1:-1;61581:6:0;;60724:872;-1:-1:-1;;;;;;;;;;;;;60724:872:0:o;36991:175::-;37091:1;37055:24;;;:15;:24;;;;;;-1:-1:-1;;;;;37055:24:0;:38;37051:108;;37145:1;37110:24;;;:15;:24;;;;;:37;;-1:-1:-1;;;;;;37110:37:0;;;36991:175::o;19361:110::-;19442:14;;:21;;19461:1;19442:21;:18;:21;:::i;:::-;19425:38;;19361:110::o;19172:181::-;19326:19;;19344:1;19326:19;;;19172:181::o;10698:136::-;10756:7;10783:43;10787:1;10790;10783:43;;;;;;;;;;;;;;;;;:3;:43::i;15610:619::-;15670:4;16138:20;;15981:66;16178:23;;;;;;:42;;-1:-1:-1;;16205:15:0;;;16170:51;-1:-1:-1;;15610:619:0:o;11171:192::-;11257:7;11293:12;11285:6;;;;11277:29;;;;-1:-1:-1;;;11277:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;11277:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;11329:5:0;;;11171:192::o;62711:8493::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;62711:8493:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62711:8493:0;;;-1:-1:-1;62711:8493:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

bzzr://d5514fcc88dcd5e4875ac3cbc4e6e958effa6858b8c5cc88fa563fcc74a1c345

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ 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.