ETH Price: $3,362.95 (+0.24%)
Gas: 7 Gwei

Token

Puppies (PUPPY)
 

Overview

Max Total Supply

581 PUPPY

Holders

95

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 PUPPY
0x3557b0d30e9c8647609a5f5533882f35f4a142cf
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Puppies Unchained are NFTs given to owners of Dogs Unchained that have reached level 5 or above. They earn $BOOM token at 7x the rate of a Dog.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Puppies

Compiler Version
v0.6.4+commit.1dca32f3

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 13 of 15: Puppies.sol
// SPDX-License-Identifier: MIT  

pragma solidity >=0.6.0 <0.8.0;

import "./Ownable.sol";
import "./ERC721.sol";

contract Puppies is 
  Ownable, 
  ERC721
{
  using SafeMath for uint256;

  mapping(uint256 => uint256) public eligibility;

  // address of Dog contract
  ERC721 public dogs;
  
  constructor(
    string memory _uri,
    address _dogsAddress
  ) ERC721("Puppies", "PUPPY") public {
    _setBaseURI(_uri);
    dogs = ERC721(_dogsAddress);
  }

  /** INTERACTIONS **/

  /**
    * @notice claims a Puppy for the relevant Dog
    * @param dogId the ID of the Dog to claim against
    */
  function claim(uint256 dogId) external {
    require(getDogEligible(dogId), "Dog not eligible for claim");
    require(dogs.ownerOf(dogId) == _msgSender(), "Must own dog to claim");
    _mint(_msgSender(), dogId);
    setDogEligible(dogId, false);
  }

  /** ADMIN **/

  /**
    * @notice updates the base URI to update metadata if needed
    * @param _baseURI URI of new metadata base ofolder
    */
  function setBaseURI(string calldata _baseURI) external onlyOwner {
    _setBaseURI(_baseURI);
  }

  /**
    * @notice enables the claim of Puppies for specific Dogs
    * @param dogIds the IDs of the Dogs to enable claims for
    */
  function setEligibility(uint16[] calldata dogIds, bool eligible) external onlyOwner {
    for (uint i = 0; i < dogIds.length; i++) {
      setDogEligible(dogIds[i], eligible);
    }
  }
  
  function getDogEligible(uint256 dogId) public view returns (bool) {
      uint256 dogMask = eligibility[getBucket(dogId)];
      return (dogMask >> (dogId % 256)) & 1 == 1;
  }
  
  function setDogEligible(uint256 dogId, bool eligible) internal {
    uint256 dogMask = eligibility[getBucket(dogId)];
    if (eligible)
        dogMask |= 1 << (dogId % 256);
    else
        dogMask &= ~(1 << (dogId % 256));
    eligibility[getBucket(dogId)] = dogMask;
  }

  function getBucket(uint256 dogId) internal pure returns (uint256){
      return dogId / 256;
  }

  /**
    * @notice force claims a Puppy for a Dog
    * @param puppyId the ID of the Puppy to force claim
    * @param to the address to mint the Puppy to
    */
  function devRescue(uint256 puppyId, address to) external onlyOwner {
    _mint(to, puppyId);
  }
}

File 1 of 15: Address.sol
pragma solidity ^0.6.2;

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

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

File 2 of 15: Context.sol
pragma solidity ^0.6.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 { }

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

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

File 3 of 15: EnumerableMap.sol
pragma solidity ^0.6.0;

/**
 * @dev Library for managing an enumerable variant of Solidity's
 * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]
 * type.
 *
 * Maps have the following properties:
 *
 * - Entries are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Entries are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableMap for EnumerableMap.UintToAddressMap;
 *
 *     // Declare a set state variable
 *     EnumerableMap.UintToAddressMap private myMap;
 * }
 * ```
 *
 * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are
 * supported.
 */
library EnumerableMap {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Map type with
    // bytes32 keys and values.
    // The Map implementation uses private functions, and user-facing
    // implementations (such as Uint256ToAddressMap) are just wrappers around
    // the underlying Map.
    // This means that we can only create new EnumerableMaps for types that fit
    // in bytes32.

    struct MapEntry {
        bytes32 _key;
        bytes32 _value;
    }

    struct Map {
        // Storage of map keys and values
        MapEntry[] _entries;

        // Position of the entry defined by a key in the `entries` array, plus 1
        // because index 0 means a key is not in the map.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Adds a key-value pair to a map, or updates the value for an existing
     * key. O(1).
     *
     * Returns true if the key was added to the map, that is if it was not
     * already present.
     */
    function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {
        // We read and store the key's index to prevent multiple reads from the same storage slot
        uint256 keyIndex = map._indexes[key];

        if (keyIndex == 0) { // Equivalent to !contains(map, key)
            map._entries.push(MapEntry({ _key: key, _value: value }));
            // The entry is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            map._indexes[key] = map._entries.length;
            return true;
        } else {
            map._entries[keyIndex - 1]._value = value;
            return false;
        }
    }

    /**
     * @dev Removes a key-value pair from a map. O(1).
     *
     * Returns true if the key was removed from the map, that is if it was present.
     */
    function _remove(Map storage map, bytes32 key) private returns (bool) {
        // We read and store the key's index to prevent multiple reads from the same storage slot
        uint256 keyIndex = map._indexes[key];

        if (keyIndex != 0) { // Equivalent to contains(map, key)
            // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one
            // in the array, and then remove the last entry (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = keyIndex - 1;
            uint256 lastIndex = map._entries.length - 1;

            // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            MapEntry storage lastEntry = map._entries[lastIndex];

            // Move the last entry to the index where the entry to delete is
            map._entries[toDeleteIndex] = lastEntry;
            // Update the index for the moved entry
            map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved entry was stored
            map._entries.pop();

            // Delete the index for the deleted slot
            delete map._indexes[key];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the key is in the map. O(1).
     */
    function _contains(Map storage map, bytes32 key) private view returns (bool) {
        return map._indexes[key] != 0;
    }

    /**
     * @dev Returns the number of key-value pairs in the map. O(1).
     */
    function _length(Map storage map) private view returns (uint256) {
        return map._entries.length;
    }

   /**
    * @dev Returns the key-value pair stored at position `index` in the map. O(1).
    *
    * Note that there are no guarantees on the ordering of entries inside the
    * array, and it may change when more entries are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {
        require(map._entries.length > index, "EnumerableMap: index out of bounds");

        MapEntry storage entry = map._entries[index];
        return (entry._key, entry._value);
    }

    /**
     * @dev Returns the value associated with `key`.  O(1).
     *
     * Requirements:
     *
     * - `key` must be in the map.
     */
    function _get(Map storage map, bytes32 key) private view returns (bytes32) {
        return _get(map, key, "EnumerableMap: nonexistent key");
    }

    /**
     * @dev Same as {_get}, with a custom error message when `key` is not in the map.
     */
    function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {
        uint256 keyIndex = map._indexes[key];
        require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)
        return map._entries[keyIndex - 1]._value; // All indexes are 1-based
    }

    // UintToAddressMap

    struct UintToAddressMap {
        Map _inner;
    }

    /**
     * @dev Adds a key-value pair to a map, or updates the value for an existing
     * key. O(1).
     *
     * Returns true if the key was added to the map, that is if it was not
     * already present.
     */
    function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {
        return _set(map._inner, bytes32(key), bytes32(uint256(value)));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the key was removed from the map, that is if it was present.
     */
    function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {
        return _remove(map._inner, bytes32(key));
    }

    /**
     * @dev Returns true if the key is in the map. O(1).
     */
    function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {
        return _contains(map._inner, bytes32(key));
    }

    /**
     * @dev Returns the number of elements in the map. O(1).
     */
    function length(UintToAddressMap storage map) internal view returns (uint256) {
        return _length(map._inner);
    }

   /**
    * @dev Returns the element stored at position `index` in the set. O(1).
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {
        (bytes32 key, bytes32 value) = _at(map._inner, index);
        return (uint256(key), address(uint256(value)));
    }

    /**
     * @dev Returns the value associated with `key`.  O(1).
     *
     * Requirements:
     *
     * - `key` must be in the map.
     */
    function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {
        return address(uint256(_get(map._inner, bytes32(key))));
    }

    /**
     * @dev Same as {get}, with a custom error message when `key` is not in the map.
     */
    function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {
        return address(uint256(_get(map._inner, bytes32(key), errorMessage)));
    }
}

File 4 of 15: EnumerableSet.sol
pragma solidity ^0.6.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256`
 * (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint256(_at(set._inner, index)));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}

File 5 of 15: ERC165.sol
pragma solidity ^0.6.0;

import "./IERC165.sol";

/**
 * @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) public view override 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 virtual {
        require(interfaceId != 0xffffffff, "ERC165: invalid interface id");
        _supportedInterfaces[interfaceId] = true;
    }
}

File 6 of 15: ERC721.sol
pragma solidity ^0.6.0;

import "./Context.sol";
import "./IERC721.sol";
import "./IERC721Metadata.sol";
import "./IERC721Enumerable.sol";
import "./IERC721Receiver.sol";
import "./ERC165.sol";
import "./SafeMath.sol";
import "./Address.sol";
import "./EnumerableSet.sol";
import "./EnumerableMap.sol";
import "./Strings.sol";

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

    // 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 holder address to their (enumerable) set of owned tokens
    mapping (address => EnumerableSet.UintSet) private _holderTokens;

    // Enumerable mapping from token ids to their owners
    EnumerableMap.UintToAddressMap private _tokenOwners;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

    // Base URI
    string private _baseURI;

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

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

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

    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);
        _registerInterface(_INTERFACE_ID_ERC721_METADATA);
        _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);
    }

    /**
     * @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 override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");

        return _holderTokens[owner].length();
    }

    /**
     * @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 override returns (address) {
        return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token");
    }

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

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

    /**
     * @dev Returns the URI for a given token ID. May return an empty string.
     *
     * If a base URI is set (via {_setBaseURI}), it is added as a prefix to the
     * token's own URI (via {_setTokenURI}).
     *
     * If there is a base URI but no token URI, the token's ID will be used as
     * its URI when appending it to the base URI. This pattern for autogenerated
     * token URIs can lead to large gas savings.
     *
     * .Examples
     * |===
     * |`_setBaseURI()` |`_setTokenURI()` |`tokenURI()`
     * | ""
     * | ""
     * | ""
     * | ""
     * | "token.uri/123"
     * | "token.uri/123"
     * | "token.uri/"
     * | "123"
     * | "token.uri/123"
     * | "token.uri/"
     * | ""
     * | "token.uri/<tokenId>"
     * |===
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory _tokenURI = _tokenURIs[tokenId];

        // If there is no base URI, return the token URI.
        if (bytes(_baseURI).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(_baseURI, _tokenURI));
        }
        // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.
        return string(abi.encodePacked(_baseURI, tokenId.toString()));
    }

    /**
    * @dev Returns the base URI set via {_setBaseURI}. This will be
    * automatically added as a prefix in {tokenURI} to each token's URI, or
    * to the token ID if no specific URI is set for that token ID.
    */
    function baseURI() public view returns (string memory) {
        return _baseURI;
    }

    /**
     * @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 override returns (uint256) {
        return _holderTokens[owner].at(index);
    }

    /**
     * @dev Gets the total amount of tokens stored by the contract.
     * @return uint256 representing the total amount of tokens
     */
    function totalSupply() public view override returns (uint256) {
        // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds
        return _tokenOwners.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 override returns (uint256) {
        (uint256 tokenId, ) = _tokenOwners.at(index);
        return tokenId;
    }

    /**
     * @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 virtual override {
        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"
        );

        _approve(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 override 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 operator operator address to set the approval
     * @param approved representing the status of the approval to be set
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, 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 override 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 virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(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 virtual override {
        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 virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(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 _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether 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) {
        return _tokenOwners.contains(tokenId);
    }

    /**
     * @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 virtual {
        _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 virtual {
        _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 virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

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

        _holderTokens[to].add(tokenId);

        _tokenOwners.set(tokenId, to);

        emit Transfer(address(0), to, 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 virtual {
        address owner = ownerOf(tokenId);

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

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

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

        _holderTokens[owner].remove(tokenId);

        _tokenOwners.remove(tokenId);

        emit Transfer(owner, address(0), 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 _transfer(address from, address to, uint256 tokenId) internal virtual {
        require(ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

        _holderTokens[from].remove(tokenId);
        _holderTokens[to].add(tokenId);

        _tokenOwners.set(tokenId, to);

        emit Transfer(from, to, tokenId);
    }

    /**
     * @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 (for example, if your URIs look like
     * `https://api.myproject.com/token/<id>`), use {_setBaseURI} to store
     * it and save gas.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        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},
     * or to the token ID if {tokenURI} is empty.
     */
    function _setBaseURI(string memory baseURI_) internal virtual {
        _baseURI = baseURI_;
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)
        private returns (bool)
    {
        if (!to.isContract()) {
            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);
        }
    }

    function _approve(address to, uint256 tokenId) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(ownerOf(tokenId), to, tokenId);
    }

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

File 7 of 15: IERC165.sol
pragma solidity ^0.6.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 8 of 15: IERC721.sol
pragma solidity ^0.6.2;

import "./IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface 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) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the NFT specified by `tokenId`.
     */
    function ownerOf(uint256 tokenId) external 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) external;
    /**
     * @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) external;
    function approve(address to, uint256 tokenId) external;
    function getApproved(uint256 tokenId) external view returns (address operator);

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


    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;
}

File 9 of 15: IERC721Enumerable.sol
pragma solidity ^0.6.2;

import "./IERC721.sol";

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

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

File 10 of 15: IERC721Metadata.sol
pragma solidity ^0.6.2;

import "./IERC721.sol";

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

File 11 of 15: IERC721Receiver.sol
pragma solidity ^0.6.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
abstract 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 virtual returns (bytes4);
}

File 12 of 15: Ownable.sol
pragma solidity ^0.6.0;

import "./Context.sol";
/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
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(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        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 virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 14 of 15: SafeMath.sol
pragma solidity ^0.6.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.
     */
    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.
     */
    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.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

File 15 of 15: Strings.sol
pragma solidity ^0.6.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_uri","type":"string"},{"internalType":"address","name":"_dogsAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":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"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"dogId","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"puppyId","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"devRescue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dogs","outputs":[{"internalType":"contract ERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"eligibility","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"dogId","type":"uint256"}],"name":"getDogEligible","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16[]","name":"dogIds","type":"uint16[]"},{"internalType":"bool","name":"eligible","type":"bool"}],"name":"setEligibility","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620026b6380380620026b6833981810160405260408110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82516401000000008111828201881017156200008957600080fd5b82525081516020918201929091019080838360005b83811015620000b85781810151838201526020016200009e565b50505050905090810190601f168015620000e65780820380516001836020036101000a031916815260200191505b506040818152602092830151828201825260078352665075707069657360c81b8484015281518083019092526005825264505550505960d81b9382019390935291935091506000620001406001600160e01b036200026016565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350620001a56301ffc9a760e01b6001600160e01b036200026516565b8151620001ba90600790602085019062000306565b508051620001d090600890602084019062000306565b50620001ec6380ac58cd60e01b6001600160e01b036200026516565b62000207635b5e139f60e01b6001600160e01b036200026516565b6200022263780e9d6360e01b6001600160e01b036200026516565b50620002399050826001600160e01b03620002ed16565b600c80546001600160a01b0319166001600160a01b039290921691909117905550620003a8565b335b90565b6001600160e01b03198082161415620002c5576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152600160208190526040909120805460ff19169091179055565b80516200030290600a90602084019062000306565b5050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200034957805160ff191683800117855562000379565b8280016001018555821562000379579182015b82811115620003795782518255916020019190600101906200035c565b50620003879291506200038b565b5090565b6200026291905b8082111562000387576000815560010162000392565b6122fe80620003b86000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c806370a08231116100f9578063b88d4fde11610097578063d764042b11610071578063d764042b14610649578063e985e9c514610675578063f2fde38b146106a3578063f34e2426146106c9576101a9565b8063b88d4fde146104f4578063c041d4e5146105ba578063c87b56dd1461062c576101a9565b8063877cc748116100d3578063877cc748146104995780638da5cb5b146104b657806395d89b41146104be578063a22cb465146104c6576101a9565b806370a082311461044e578063715018a6146104745780637a861adb1461047c576101a9565b80632f745c59116101665780634f6ccce7116101405780634f6ccce71461039c57806355f804b3146103b95780636352211e146104295780636c0360eb14610446576101a9565b80632f745c591461031d578063379607f51461034957806342842e0e14610366576101a9565b806301ffc9a7146101ae57806306fdde03146101e9578063081812fc14610266578063095ea7b31461029f57806318160ddd146102cd57806323b872dd146102e7575b600080fd5b6101d5600480360360208110156101c457600080fd5b50356001600160e01b0319166106d1565b604080519115158252519081900360200190f35b6101f16106f4565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561022b578181015183820152602001610213565b50505050905090810190601f1680156102585780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102836004803603602081101561027c57600080fd5b503561078b565b604080516001600160a01b039092168252519081900360200190f35b6102cb600480360360408110156102b557600080fd5b506001600160a01b0381351690602001356107ed565b005b6102d56108c8565b60408051918252519081900360200190f35b6102cb600480360360608110156102fd57600080fd5b506001600160a01b038135811691602081013590911690604001356108d9565b6102d56004803603604081101561033357600080fd5b506001600160a01b038135169060200135610930565b6102cb6004803603602081101561035f57600080fd5b5035610961565b6102cb6004803603606081101561037c57600080fd5b506001600160a01b03813581169160208101359091169060400135610ab1565b6102d5600480360360208110156103b257600080fd5b5035610acc565b6102cb600480360360208110156103cf57600080fd5b8101906020810181356401000000008111156103ea57600080fd5b8201836020820111156103fc57600080fd5b8035906020019184600183028401116401000000008311171561041e57600080fd5b509092509050610ae8565b6102836004803603602081101561043f57600080fd5b5035610b83565b6101f1610bb1565b6102d56004803603602081101561046457600080fd5b50356001600160a01b0316610c12565b6102cb610c7a565b6102d56004803603602081101561049257600080fd5b5035610d1c565b6101d5600480360360208110156104af57600080fd5b5035610d2e565b610283610d6c565b6101f1610d7b565b6102cb600480360360408110156104dc57600080fd5b506001600160a01b0381351690602001351515610ddc565b6102cb6004803603608081101561050a57600080fd5b6001600160a01b0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561054557600080fd5b82018360208201111561055757600080fd5b8035906020019184600183028401116401000000008311171561057957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610ee1945050505050565b6102cb600480360360408110156105d057600080fd5b8101906020810181356401000000008111156105eb57600080fd5b8201836020820111156105fd57600080fd5b8035906020019184602083028401116401000000008311171561061f57600080fd5b9193509150351515610f3f565b6101f16004803603602081101561064257600080fd5b5035610fce565b6102cb6004803603604081101561065f57600080fd5b50803590602001356001600160a01b0316611275565b6101d56004803603604081101561068b57600080fd5b506001600160a01b03813581169160200135166112d7565b6102cb600480360360208110156106b957600080fd5b50356001600160a01b0316611305565b6102836113fd565b6001600160e01b0319811660009081526001602052604090205460ff165b919050565b60078054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107805780601f1061075557610100808354040283529160200191610780565b820191906000526020600020905b81548152906001019060200180831161076357829003601f168201915b505050505090505b90565b60006107968261140c565b6107d15760405162461bcd60e51b815260040180806020018281038252602c8152602001806121d3602c913960400191505060405180910390fd5b506000908152600560205260409020546001600160a01b031690565b60006107f882610b83565b9050806001600160a01b0316836001600160a01b0316141561084b5760405162461bcd60e51b81526004018080602001828103825260218152602001806122776021913960400191505060405180910390fd5b806001600160a01b031661085d61141f565b6001600160a01b0316148061087e575061087e8161087961141f565b6112d7565b6108b95760405162461bcd60e51b81526004018080602001828103825260388152602001806121266038913960400191505060405180910390fd5b6108c38383611423565b505050565b60006108d46003611491565b905090565b6108ea6108e461141f565b8261149c565b6109255760405162461bcd60e51b81526004018080602001828103825260318152602001806122986031913960400191505060405180910390fd5b6108c3838383611540565b6001600160a01b0382166000908152600260205260408120610958908363ffffffff61169e16565b90505b92915050565b61096a81610d2e565b6109bb576040805162461bcd60e51b815260206004820152601a60248201527f446f67206e6f7420656c696769626c6520666f7220636c61696d000000000000604482015290519081900360640190fd5b6109c361141f565b600c54604080516331a9108f60e11b81526004810185905290516001600160a01b039384169390921691636352211e91602480820192602092909190829003018186803b158015610a1357600080fd5b505afa158015610a27573d6000803e3d6000fd5b505050506040513d6020811015610a3d57600080fd5b50516001600160a01b031614610a92576040805162461bcd60e51b81526020600482015260156024820152744d757374206f776e20646f6720746f20636c61696d60581b604482015290519081900360640190fd5b610aa3610a9d61141f565b826116aa565b610aae8160006117e4565b50565b6108c383838360405180602001604052806000815250610ee1565b600080610ae060038463ffffffff61184516565b509392505050565b610af061141f565b6000546001600160a01b03908116911614610b40576040805162461bcd60e51b815260206004820181905260248201526000805160206121ff833981519152604482015290519081900360640190fd5b610b7f82828080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061186192505050565b5050565b600061095b82604051806060016040528060298152602001612188602991396003919063ffffffff61187416565b600a8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107805780601f1061075557610100808354040283529160200191610780565b60006001600160a01b038216610c595760405162461bcd60e51b815260040180806020018281038252602a81526020018061215e602a913960400191505060405180910390fd5b6001600160a01b038216600090815260026020526040902061095b90611491565b610c8261141f565b6000546001600160a01b03908116911614610cd2576040805162461bcd60e51b815260206004820181905260248201526000805160206121ff833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600b6020526000908152604090205481565b600080600b6000610d3e8561188b565b81526020019081526020016000205490506101008381610d5a57fe5b0681901c600116600114915050919050565b6000546001600160a01b031690565b60088054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107805780601f1061075557610100808354040283529160200191610780565b610de461141f565b6001600160a01b0316826001600160a01b03161415610e4a576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b8060066000610e5761141f565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610e9b61141f565b60408051841515815290516001600160a01b0392909216917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319181900360200190a35050565b610ef2610eec61141f565b8361149c565b610f2d5760405162461bcd60e51b81526004018080602001828103825260318152602001806122986031913960400191505060405180910390fd5b610f3984848484611893565b50505050565b610f4761141f565b6000546001600160a01b03908116911614610f97576040805162461bcd60e51b815260206004820181905260248201526000805160206121ff833981519152604482015290519081900360640190fd5b60005b82811015610f3957610fc6848483818110610fb157fe5b9050602002013561ffff1661ffff16836117e4565b600101610f9a565b6060610fd98261140c565b6110145760405162461bcd60e51b815260040180806020018281038252602f815260200180612248602f913960400191505060405180910390fd5b60008281526009602090815260409182902080548351601f60026000196101006001861615020190931692909204918201849004840281018401909452808452606093928301828280156110a95780601f1061107e576101008083540402835291602001916110a9565b820191906000526020600020905b81548152906001019060200180831161108c57829003601f168201915b5050600a54939450505050600260001961010060018416150201909116046110d25790506106ef565b8051156111a357600a81604051602001808380546001816001161561010002031660029004801561113a5780601f1061111857610100808354040283529182019161113a565b820191906000526020600020905b815481529060010190602001808311611126575b5050825160208401908083835b602083106111665780518252601f199092019160209182019101611147565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040529150506106ef565b600a6111ae846118e5565b604051602001808380546001816001161561010002031660029004801561120c5780601f106111ea57610100808354040283529182019161120c565b820191906000526020600020905b8154815290600101906020018083116111f8575b5050825160208401908083835b602083106112385780518252601f199092019160209182019101611219565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050919050565b61127d61141f565b6000546001600160a01b039081169116146112cd576040805162461bcd60e51b815260206004820181905260248201526000805160206121ff833981519152604482015290519081900360640190fd5b610b7f81836116aa565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b61130d61141f565b6000546001600160a01b0390811691161461135d576040805162461bcd60e51b815260206004820181905260248201526000805160206121ff833981519152604482015290519081900360640190fd5b6001600160a01b0381166113a25760405162461bcd60e51b81526004018080602001828103825260268152602001806120b06026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600c546001600160a01b031681565b600061095b60038363ffffffff6119a916565b3390565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061145882610b83565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061095b826119b5565b60006114a78261140c565b6114e25760405162461bcd60e51b815260040180806020018281038252602c8152602001806120fa602c913960400191505060405180910390fd5b60006114ed83610b83565b9050806001600160a01b0316846001600160a01b031614806115285750836001600160a01b031661151d8461078b565b6001600160a01b0316145b80611538575061153881856112d7565b949350505050565b826001600160a01b031661155382610b83565b6001600160a01b0316146115985760405162461bcd60e51b815260040180806020018281038252602981526020018061221f6029913960400191505060405180910390fd5b6001600160a01b0382166115dd5760405162461bcd60e51b81526004018080602001828103825260248152602001806120d66024913960400191505060405180910390fd5b6115e88383836108c3565b6115f3600082611423565b6001600160a01b038316600090815260026020526040902061161b908263ffffffff6119b916565b506001600160a01b0382166000908152600260205260409020611644908263ffffffff6119c516565b506116576003828463ffffffff6119d116565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061095883836119e7565b6001600160a01b038216611705576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b61170e8161140c565b15611760576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b61176c600083836108c3565b6001600160a01b0382166000908152600260205260409020611794908263ffffffff6119c516565b506117a76003828463ffffffff6119d116565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000600b60006117f38561188b565b8152602001908152602001600020549050811561181757600160ff84161b17611821565b600160ff84161b19165b80600b600061182f8661188b565b8152602081019190915260400160002055505050565b60008080806118548686611a4b565b9097909650945050505050565b8051610b7f90600a906020840190611fc3565b6000611881848484611ac6565b90505b9392505050565b610100900490565b61189e848484611540565b6118aa84848484611b90565b610f395760405162461bcd60e51b815260040180806020018281038252603281526020018061207e6032913960400191505060405180910390fd5b60608161190a57506040805180820190915260018152600360fc1b60208201526106ef565b8160005b811561192257600101600a8204915061190e565b6060816040519080825280601f01601f19166020018201604052801561194f576020820181803683370190505b50859350905060001982015b83156119a057600a840660300160f81b8282806001900393508151811061197e57fe5b60200101906001600160f81b031916908160001a905350600a8404935061195b565b50949350505050565b60006109588383611dcb565b5490565b60006109588383611de3565b60006109588383611ea9565b600061188184846001600160a01b038516611ef3565b81546000908210611a295760405162461bcd60e51b815260040180806020018281038252602281526020018061205c6022913960400191505060405180910390fd5b826000018281548110611a3857fe5b9060005260206000200154905092915050565b815460009081908310611a8f5760405162461bcd60e51b81526004018080602001828103825260228152602001806121b16022913960400191505060405180910390fd5b6000846000018481548110611aa057fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008281526001840160205260408120548281611b615760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611b26578181015183820152602001611b0e565b50505050905090810190601f168015611b535780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50846000016001820381548110611b7457fe5b9060005260206000209060020201600101549150509392505050565b6000611ba4846001600160a01b0316611f8a565b611bb057506001611538565b600060606001600160a01b038616630a85bd0160e11b611bce61141f565b89888860405160240180856001600160a01b03166001600160a01b03168152602001846001600160a01b03166001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015611c47578181015183820152602001611c2f565b50505050905090810190601f168015611c745780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b03166001600160e01b0319909a16999099178952518151919890975087965094509250829150849050835b60208310611cdc5780518252601f199092019160209182019101611cbd565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611d3e576040519150601f19603f3d011682016040523d82523d6000602084013e611d43565b606091505b509150915081611d9457805115611d5d5780518082602001fd5b60405162461bcd60e51b815260040180806020018281038252603281526020018061207e6032913960400191505060405180910390fd5b6000818060200190516020811015611dab57600080fd5b50516001600160e01b031916630a85bd0160e11b14935061153892505050565b60009081526001919091016020526040902054151590565b60008181526001830160205260408120548015611e9f5783546000198083019190810190600090879083908110611e1657fe5b9060005260206000200154905080876000018481548110611e3357fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080611e6357fe5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061095b565b600091505061095b565b6000611eb58383611dcb565b611eeb5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561095b565b50600061095b565b600082815260018401602052604081205480611f58575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055611884565b82856000016001830381548110611f6b57fe5b9060005260206000209060020201600101819055506000915050611884565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611538575050151592915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061200457805160ff1916838001178555612031565b82800160010185558215612031579182015b82811115612031578251825591602001919060010190612016565b5061203d929150612041565b5090565b61078891905b8082111561203d576000815560010161204756fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a2646970667358221220885b35398d31bf9f743017e68bcc0ebea6e89e6989829d2348e2baf9f49978b064736f6c6343000604003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000009c0ffc9088abeb2ea220d642218874639229fa7a0000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d52794c53593448596776396737545a5777546236314a4337366e3342535a33503177544a3864433264484c752f00000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101a95760003560e01c806370a08231116100f9578063b88d4fde11610097578063d764042b11610071578063d764042b14610649578063e985e9c514610675578063f2fde38b146106a3578063f34e2426146106c9576101a9565b8063b88d4fde146104f4578063c041d4e5146105ba578063c87b56dd1461062c576101a9565b8063877cc748116100d3578063877cc748146104995780638da5cb5b146104b657806395d89b41146104be578063a22cb465146104c6576101a9565b806370a082311461044e578063715018a6146104745780637a861adb1461047c576101a9565b80632f745c59116101665780634f6ccce7116101405780634f6ccce71461039c57806355f804b3146103b95780636352211e146104295780636c0360eb14610446576101a9565b80632f745c591461031d578063379607f51461034957806342842e0e14610366576101a9565b806301ffc9a7146101ae57806306fdde03146101e9578063081812fc14610266578063095ea7b31461029f57806318160ddd146102cd57806323b872dd146102e7575b600080fd5b6101d5600480360360208110156101c457600080fd5b50356001600160e01b0319166106d1565b604080519115158252519081900360200190f35b6101f16106f4565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561022b578181015183820152602001610213565b50505050905090810190601f1680156102585780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102836004803603602081101561027c57600080fd5b503561078b565b604080516001600160a01b039092168252519081900360200190f35b6102cb600480360360408110156102b557600080fd5b506001600160a01b0381351690602001356107ed565b005b6102d56108c8565b60408051918252519081900360200190f35b6102cb600480360360608110156102fd57600080fd5b506001600160a01b038135811691602081013590911690604001356108d9565b6102d56004803603604081101561033357600080fd5b506001600160a01b038135169060200135610930565b6102cb6004803603602081101561035f57600080fd5b5035610961565b6102cb6004803603606081101561037c57600080fd5b506001600160a01b03813581169160208101359091169060400135610ab1565b6102d5600480360360208110156103b257600080fd5b5035610acc565b6102cb600480360360208110156103cf57600080fd5b8101906020810181356401000000008111156103ea57600080fd5b8201836020820111156103fc57600080fd5b8035906020019184600183028401116401000000008311171561041e57600080fd5b509092509050610ae8565b6102836004803603602081101561043f57600080fd5b5035610b83565b6101f1610bb1565b6102d56004803603602081101561046457600080fd5b50356001600160a01b0316610c12565b6102cb610c7a565b6102d56004803603602081101561049257600080fd5b5035610d1c565b6101d5600480360360208110156104af57600080fd5b5035610d2e565b610283610d6c565b6101f1610d7b565b6102cb600480360360408110156104dc57600080fd5b506001600160a01b0381351690602001351515610ddc565b6102cb6004803603608081101561050a57600080fd5b6001600160a01b0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561054557600080fd5b82018360208201111561055757600080fd5b8035906020019184600183028401116401000000008311171561057957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610ee1945050505050565b6102cb600480360360408110156105d057600080fd5b8101906020810181356401000000008111156105eb57600080fd5b8201836020820111156105fd57600080fd5b8035906020019184602083028401116401000000008311171561061f57600080fd5b9193509150351515610f3f565b6101f16004803603602081101561064257600080fd5b5035610fce565b6102cb6004803603604081101561065f57600080fd5b50803590602001356001600160a01b0316611275565b6101d56004803603604081101561068b57600080fd5b506001600160a01b03813581169160200135166112d7565b6102cb600480360360208110156106b957600080fd5b50356001600160a01b0316611305565b6102836113fd565b6001600160e01b0319811660009081526001602052604090205460ff165b919050565b60078054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107805780601f1061075557610100808354040283529160200191610780565b820191906000526020600020905b81548152906001019060200180831161076357829003601f168201915b505050505090505b90565b60006107968261140c565b6107d15760405162461bcd60e51b815260040180806020018281038252602c8152602001806121d3602c913960400191505060405180910390fd5b506000908152600560205260409020546001600160a01b031690565b60006107f882610b83565b9050806001600160a01b0316836001600160a01b0316141561084b5760405162461bcd60e51b81526004018080602001828103825260218152602001806122776021913960400191505060405180910390fd5b806001600160a01b031661085d61141f565b6001600160a01b0316148061087e575061087e8161087961141f565b6112d7565b6108b95760405162461bcd60e51b81526004018080602001828103825260388152602001806121266038913960400191505060405180910390fd5b6108c38383611423565b505050565b60006108d46003611491565b905090565b6108ea6108e461141f565b8261149c565b6109255760405162461bcd60e51b81526004018080602001828103825260318152602001806122986031913960400191505060405180910390fd5b6108c3838383611540565b6001600160a01b0382166000908152600260205260408120610958908363ffffffff61169e16565b90505b92915050565b61096a81610d2e565b6109bb576040805162461bcd60e51b815260206004820152601a60248201527f446f67206e6f7420656c696769626c6520666f7220636c61696d000000000000604482015290519081900360640190fd5b6109c361141f565b600c54604080516331a9108f60e11b81526004810185905290516001600160a01b039384169390921691636352211e91602480820192602092909190829003018186803b158015610a1357600080fd5b505afa158015610a27573d6000803e3d6000fd5b505050506040513d6020811015610a3d57600080fd5b50516001600160a01b031614610a92576040805162461bcd60e51b81526020600482015260156024820152744d757374206f776e20646f6720746f20636c61696d60581b604482015290519081900360640190fd5b610aa3610a9d61141f565b826116aa565b610aae8160006117e4565b50565b6108c383838360405180602001604052806000815250610ee1565b600080610ae060038463ffffffff61184516565b509392505050565b610af061141f565b6000546001600160a01b03908116911614610b40576040805162461bcd60e51b815260206004820181905260248201526000805160206121ff833981519152604482015290519081900360640190fd5b610b7f82828080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061186192505050565b5050565b600061095b82604051806060016040528060298152602001612188602991396003919063ffffffff61187416565b600a8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107805780601f1061075557610100808354040283529160200191610780565b60006001600160a01b038216610c595760405162461bcd60e51b815260040180806020018281038252602a81526020018061215e602a913960400191505060405180910390fd5b6001600160a01b038216600090815260026020526040902061095b90611491565b610c8261141f565b6000546001600160a01b03908116911614610cd2576040805162461bcd60e51b815260206004820181905260248201526000805160206121ff833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600b6020526000908152604090205481565b600080600b6000610d3e8561188b565b81526020019081526020016000205490506101008381610d5a57fe5b0681901c600116600114915050919050565b6000546001600160a01b031690565b60088054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107805780601f1061075557610100808354040283529160200191610780565b610de461141f565b6001600160a01b0316826001600160a01b03161415610e4a576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b8060066000610e5761141f565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610e9b61141f565b60408051841515815290516001600160a01b0392909216917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319181900360200190a35050565b610ef2610eec61141f565b8361149c565b610f2d5760405162461bcd60e51b81526004018080602001828103825260318152602001806122986031913960400191505060405180910390fd5b610f3984848484611893565b50505050565b610f4761141f565b6000546001600160a01b03908116911614610f97576040805162461bcd60e51b815260206004820181905260248201526000805160206121ff833981519152604482015290519081900360640190fd5b60005b82811015610f3957610fc6848483818110610fb157fe5b9050602002013561ffff1661ffff16836117e4565b600101610f9a565b6060610fd98261140c565b6110145760405162461bcd60e51b815260040180806020018281038252602f815260200180612248602f913960400191505060405180910390fd5b60008281526009602090815260409182902080548351601f60026000196101006001861615020190931692909204918201849004840281018401909452808452606093928301828280156110a95780601f1061107e576101008083540402835291602001916110a9565b820191906000526020600020905b81548152906001019060200180831161108c57829003601f168201915b5050600a54939450505050600260001961010060018416150201909116046110d25790506106ef565b8051156111a357600a81604051602001808380546001816001161561010002031660029004801561113a5780601f1061111857610100808354040283529182019161113a565b820191906000526020600020905b815481529060010190602001808311611126575b5050825160208401908083835b602083106111665780518252601f199092019160209182019101611147565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040529150506106ef565b600a6111ae846118e5565b604051602001808380546001816001161561010002031660029004801561120c5780601f106111ea57610100808354040283529182019161120c565b820191906000526020600020905b8154815290600101906020018083116111f8575b5050825160208401908083835b602083106112385780518252601f199092019160209182019101611219565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050919050565b61127d61141f565b6000546001600160a01b039081169116146112cd576040805162461bcd60e51b815260206004820181905260248201526000805160206121ff833981519152604482015290519081900360640190fd5b610b7f81836116aa565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b61130d61141f565b6000546001600160a01b0390811691161461135d576040805162461bcd60e51b815260206004820181905260248201526000805160206121ff833981519152604482015290519081900360640190fd5b6001600160a01b0381166113a25760405162461bcd60e51b81526004018080602001828103825260268152602001806120b06026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600c546001600160a01b031681565b600061095b60038363ffffffff6119a916565b3390565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061145882610b83565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061095b826119b5565b60006114a78261140c565b6114e25760405162461bcd60e51b815260040180806020018281038252602c8152602001806120fa602c913960400191505060405180910390fd5b60006114ed83610b83565b9050806001600160a01b0316846001600160a01b031614806115285750836001600160a01b031661151d8461078b565b6001600160a01b0316145b80611538575061153881856112d7565b949350505050565b826001600160a01b031661155382610b83565b6001600160a01b0316146115985760405162461bcd60e51b815260040180806020018281038252602981526020018061221f6029913960400191505060405180910390fd5b6001600160a01b0382166115dd5760405162461bcd60e51b81526004018080602001828103825260248152602001806120d66024913960400191505060405180910390fd5b6115e88383836108c3565b6115f3600082611423565b6001600160a01b038316600090815260026020526040902061161b908263ffffffff6119b916565b506001600160a01b0382166000908152600260205260409020611644908263ffffffff6119c516565b506116576003828463ffffffff6119d116565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061095883836119e7565b6001600160a01b038216611705576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b61170e8161140c565b15611760576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b61176c600083836108c3565b6001600160a01b0382166000908152600260205260409020611794908263ffffffff6119c516565b506117a76003828463ffffffff6119d116565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000600b60006117f38561188b565b8152602001908152602001600020549050811561181757600160ff84161b17611821565b600160ff84161b19165b80600b600061182f8661188b565b8152602081019190915260400160002055505050565b60008080806118548686611a4b565b9097909650945050505050565b8051610b7f90600a906020840190611fc3565b6000611881848484611ac6565b90505b9392505050565b610100900490565b61189e848484611540565b6118aa84848484611b90565b610f395760405162461bcd60e51b815260040180806020018281038252603281526020018061207e6032913960400191505060405180910390fd5b60608161190a57506040805180820190915260018152600360fc1b60208201526106ef565b8160005b811561192257600101600a8204915061190e565b6060816040519080825280601f01601f19166020018201604052801561194f576020820181803683370190505b50859350905060001982015b83156119a057600a840660300160f81b8282806001900393508151811061197e57fe5b60200101906001600160f81b031916908160001a905350600a8404935061195b565b50949350505050565b60006109588383611dcb565b5490565b60006109588383611de3565b60006109588383611ea9565b600061188184846001600160a01b038516611ef3565b81546000908210611a295760405162461bcd60e51b815260040180806020018281038252602281526020018061205c6022913960400191505060405180910390fd5b826000018281548110611a3857fe5b9060005260206000200154905092915050565b815460009081908310611a8f5760405162461bcd60e51b81526004018080602001828103825260228152602001806121b16022913960400191505060405180910390fd5b6000846000018481548110611aa057fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008281526001840160205260408120548281611b615760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611b26578181015183820152602001611b0e565b50505050905090810190601f168015611b535780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50846000016001820381548110611b7457fe5b9060005260206000209060020201600101549150509392505050565b6000611ba4846001600160a01b0316611f8a565b611bb057506001611538565b600060606001600160a01b038616630a85bd0160e11b611bce61141f565b89888860405160240180856001600160a01b03166001600160a01b03168152602001846001600160a01b03166001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015611c47578181015183820152602001611c2f565b50505050905090810190601f168015611c745780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b03166001600160e01b0319909a16999099178952518151919890975087965094509250829150849050835b60208310611cdc5780518252601f199092019160209182019101611cbd565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611d3e576040519150601f19603f3d011682016040523d82523d6000602084013e611d43565b606091505b509150915081611d9457805115611d5d5780518082602001fd5b60405162461bcd60e51b815260040180806020018281038252603281526020018061207e6032913960400191505060405180910390fd5b6000818060200190516020811015611dab57600080fd5b50516001600160e01b031916630a85bd0160e11b14935061153892505050565b60009081526001919091016020526040902054151590565b60008181526001830160205260408120548015611e9f5783546000198083019190810190600090879083908110611e1657fe5b9060005260206000200154905080876000018481548110611e3357fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080611e6357fe5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061095b565b600091505061095b565b6000611eb58383611dcb565b611eeb5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561095b565b50600061095b565b600082815260018401602052604081205480611f58575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055611884565b82856000016001830381548110611f6b57fe5b9060005260206000209060020201600101819055506000915050611884565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611538575050151592915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061200457805160ff1916838001178555612031565b82800160010185558215612031579182015b82811115612031578251825591602001919060010190612016565b5061203d929150612041565b5090565b61078891905b8082111561203d576000815560010161204756fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a2646970667358221220885b35398d31bf9f743017e68bcc0ebea6e89e6989829d2348e2baf9f49978b064736f6c63430006040033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000009c0ffc9088abeb2ea220d642218874639229fa7a0000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d52794c53593448596776396737545a5777546236314a4337366e3342535a33503177544a3864433264484c752f00000000000000000000

-----Decoded View---------------
Arg [0] : _uri (string): ipfs://QmRyLSY4HYgv9g7TZWwTb61JC76n3BSZ3P1wTJ8dC2dHLu/
Arg [1] : _dogsAddress (address): 0x9c0ffc9088ABeb2ea220D642218874639229FA7A

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000009c0ffc9088abeb2ea220d642218874639229fa7a
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [3] : 697066733a2f2f516d52794c53593448596776396737545a5777546236314a43
Arg [4] : 37366e3342535a33503177544a3864433264484c752f00000000000000000000


Deployed Bytecode Sourcemap

116:2140:12:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;116:2140:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;915:140:2;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;915:140:2;-1:-1:-1;;;;;;915:140:2;;:::i;:::-;;;;;;;;;;;;;;;;;;4615:90:3;;;:::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;4615:90:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9275:209;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;9275:209:3;;:::i;:::-;;;;-1:-1:-1;;;;;9275:209:3;;;;;;;;;;;;;;8609:381;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;8609:381:3;;;;;;;;:::i;:::-;;7489:200;;;:::i;:::-;;;;;;;;;;;;;;;;10986:300;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;10986:300:3;;;;;;;;;;;;;;;;;:::i;7184:152::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;7184:152:3;;;;;;;;:::i;604:251:12:-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;604:251:12;;:::i;11935:149:3:-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;11935:149:3;;;;;;;;;;;;;;;;;:::i;8027:161::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;8027:161:3;;:::i;1008:97:12:-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;1008:97:12;;;;;;;;27:11:-1;11:28;;8:2;;;52:1;49;42:12;8:2;1008:97:12;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;1008:97:12;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;1008:97:12;;-1:-1:-1;1008:97:12;-1:-1:-1;1008:97:12;:::i;4343:167:3:-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;4343:167:3;;:::i;6723:87::-;;;:::i;3913:211::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;3913:211:3;-1:-1:-1;;;;;3913:211:3;;:::i;1651:145:11:-;;;:::i;193:46:12:-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;193:46:12;;:::i;1435:176::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;1435:176:12;;:::i;1028:77:11:-;;;:::i;4814:94:3:-;;;:::i;9783:290::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;9783:290:3;;;;;;;;;;:::i;12807:282::-;;;;;;15:3:-1;10;7:12;4:2;;;32:1;29;22:12;4:2;-1:-1;;;;;12807:282:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:11:-1;11:28;;8:2;;;52:1;49;42:12;8:2;12807:282:3;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;12807:282:3;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;12807:282:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;12807:282:3;;-1:-1:-1;12807:282:3;;-1:-1:-1;;;;;12807:282:3:i;1244:185:12:-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;1244:185:12;;;;;;;;27:11:-1;11:28;;8:2;;;52:1;49;42:12;8:2;1244:185:12;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;1244:185:12;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;1244:185:12;;-1:-1:-1;1244:185:12;-1:-1:-1;1244:185:12;;;;:::i;5751:740:3:-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;5751:740:3;;:::i;2158:96:12:-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;2158:96:12;;;;;;-1:-1:-1;;;;;2158:96:12;;:::i;10395:154:3:-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;10395:154:3;;;;;;;;;;:::i;1945:240:11:-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;1945:240:11;-1:-1:-1;;;;;1945:240:11;;:::i;273:18:12:-;;;:::i;915:140:2:-;-1:-1:-1;;;;;;1015:33:2;;992:4;1015:33;;;:20;:33;;;;;;;;915:140;;;;:::o;4615:90:3:-;4693:5;4686:12;;;;;;;;-1:-1:-1;;4686:12:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4661:13;;4686:12;;4693:5;;4686:12;;4693:5;4686:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4615:90;;:::o;9275:209::-;9343:7;9370:16;9378:7;9370;:16::i;:::-;9362:73;;;;-1:-1:-1;;;9362:73:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9453:24:3;;;;:15;:24;;;;;;-1:-1:-1;;;;;9453:24:3;;9275:209::o;8609:381::-;8689:13;8705:16;8713:7;8705;:16::i;:::-;8689:32;;8745:5;-1:-1:-1;;;;;8739:11:3;:2;-1:-1:-1;;;;;8739:11:3;;;8731:57;;;;-1:-1:-1;;;8731:57:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8823:5;-1:-1:-1;;;;;8807:21:3;:12;:10;:12::i;:::-;-1:-1:-1;;;;;8807:21:3;;:62;;;;8832:37;8849:5;8856:12;:10;:12::i;:::-;8832:16;:37::i;:::-;8799:152;;;;-1:-1:-1;;;8799:152:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8962:21;8971:2;8975:7;8962:8;:21::i;:::-;8609:381;;;:::o;7489:200::-;7542:7;7661:21;:12;:19;:21::i;:::-;7654:28;;7489:200;:::o;10986:300::-;11145:41;11164:12;:10;:12::i;:::-;11178:7;11145:18;:41::i;:::-;11137:103;;;;-1:-1:-1;;;11137:103:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11251:28;11261:4;11267:2;11271:7;11251:9;:28::i;7184:152::-;-1:-1:-1;;;;;7299:20:3;;7273:7;7299:20;;;:13;:20;;;;;:30;;7323:5;7299:30;:23;:30;:::i;:::-;7292:37;;7184:152;;;;;:::o;604:251:12:-;657:21;672:5;657:14;:21::i;:::-;649:60;;;;;-1:-1:-1;;;649:60:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;746:12;:10;:12::i;:::-;723:4;;:19;;;-1:-1:-1;;;723:19:12;;;;;;;;;;-1:-1:-1;;;;;723:35:12;;;;:4;;;;:12;;:19;;;;;;;;;;;;;;;:4;:19;;;2:2:-1;;;;27:1;24;17:12;2:2;723:19:12;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;723:19:12;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;723:19:12;-1:-1:-1;;;;;723:35:12;;715:69;;;;;-1:-1:-1;;;715:69:12;;;;;;;;;;;;-1:-1:-1;;;715:69:12;;;;;;;;;;;;;;;790:26;796:12;:10;:12::i;:::-;810:5;790;:26::i;:::-;822:28;837:5;844;822:14;:28::i;:::-;604:251;:::o;11935:149:3:-;12038:39;12055:4;12061:2;12065:7;12038:39;;;;;;;;;;;;:16;:39::i;8027:161::-;8094:7;;8135:22;:12;8151:5;8135:22;:15;:22;:::i;:::-;-1:-1:-1;8113:44:3;8027:161;-1:-1:-1;;;8027:161:3:o;1008:97:12:-;1242:12:11;:10;:12::i;:::-;1232:6;;-1:-1:-1;;;;;1232:6:11;;;:22;;;1224:67;;;;;-1:-1:-1;;;1224:67:11;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1224:67:11;;;;;;;;;;;;;;;1079:21:12::1;1091:8;;1079:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16:::0;::::1;74:27:::0;;;;-1:-1;1079:11:12::1;::::0;-1:-1:-1;;;1079:21:12:i:1;:::-;1008:97:::0;;:::o;4343:167:3:-;4407:7;4433:70;4450:7;4433:70;;;;;;;;;;;;;;;;;:12;;:70;;:16;:70;:::i;6723:87::-;6795:8;6788:15;;;;;;;;-1:-1:-1;;6788:15:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6763:13;;6788:15;;6795:8;;6788:15;;6795:8;6788:15;;;;;;;;;;;;;;;;;;;;;;;;3913:211;3977:7;-1:-1:-1;;;;;4004:19:3;;3996:74;;;;-1:-1:-1;;;3996:74:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4088:20:3;;;;;;:13;:20;;;;;:29;;:27;:29::i;1651:145:11:-;1242:12;:10;:12::i;:::-;1232:6;;-1:-1:-1;;;;;1232:6:11;;;:22;;;1224:67;;;;;-1:-1:-1;;;1224:67:11;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1224:67:11;;;;;;;;;;;;;;;1757:1:::1;1741:6:::0;;1720:40:::1;::::0;-1:-1:-1;;;;;1741:6:11;;::::1;::::0;1720:40:::1;::::0;1757:1;;1720:40:::1;1787:1;1770:19:::0;;-1:-1:-1;;;;;;1770:19:11::1;::::0;;1651:145::o;193:46:12:-;;;;;;;;;;;;;:::o;1435:176::-;1495:4;1509:15;1527:11;:29;1539:16;1549:5;1539:9;:16::i;:::-;1527:29;;;;;;;;;;;;1509:47;;1592:3;1584:5;:11;;;;;;1572:7;:24;;1600:1;1571:30;1605:1;1571:35;1564:42;;;1435:176;;;:::o;1028:77:11:-;1066:7;1092:6;-1:-1:-1;;;;;1092:6:11;1028:77;:::o;4814:94:3:-;4894:7;4887:14;;;;;;;;-1:-1:-1;;4887:14:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4862:13;;4887:14;;4894:7;;4887:14;;4894:7;4887:14;;;;;;;;;;;;;;;;;;;;;;;;9783:290;9897:12;:10;:12::i;:::-;-1:-1:-1;;;;;9885:24:3;:8;-1:-1:-1;;;;;9885:24:3;;;9877:62;;;;;-1:-1:-1;;;9877:62:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;9995:8;9950:18;:32;9969:12;:10;:12::i;:::-;-1:-1:-1;;;;;9950:32:3;;;;;;;;;;;;;;;;;-1:-1:-1;9950:32:3;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;9950:53:3;;;;;;;;;;;10033:12;:10;:12::i;:::-;10018:48;;;;;;;;;;-1:-1:-1;;;;;10018:48:3;;;;;;;;;;;;;;9783:290;;:::o;12807:282::-;12938:41;12957:12;:10;:12::i;:::-;12971:7;12938:18;:41::i;:::-;12930:103;;;;-1:-1:-1;;;12930:103:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13043:39;13057:4;13063:2;13067:7;13076:5;13043:13;:39::i;:::-;12807:282;;;;:::o;1244:185:12:-;1242:12:11;:10;:12::i;:::-;1232:6;;-1:-1:-1;;;;;1232:6:11;;;:22;;;1224:67;;;;;-1:-1:-1;;;1224:67:11;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1224:67:11;;;;;;;;;;;;;;;1339:6:12::1;1334:91;1351:17:::0;;::::1;1334:91;;;1383:35;1398:6;;1405:1;1398:9;;;;;;;;;;;;;;;1383:35;;1409:8;1383:14;:35::i;:::-;1370:3;;1334:91;;5751:740:3::0;5816:13;5849:16;5857:7;5849;:16::i;:::-;5841:76;;;;-1:-1:-1;;;5841:76:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5954:19;;;;:10;:19;;;;;;;;;5928:45;;;;;;-1:-1:-1;;5928:45:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:23;;:45;;;5954:19;5928:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6052:8:3;6046:22;5928:45;;-1:-1:-1;;;;6046:22:3;-1:-1:-1;;6046:22:3;;;;;;;;;;;6042:74;;6096:9;-1:-1:-1;6089:16:3;;6042:74;6218:23;;:27;6214:110;;6292:8;6302:9;6275:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6275:37:3;;;;;;;;;36:153:-1;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;;;6275:37:3;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;6275:37:3;;;6261:52;;;;;6214:110;6454:8;6464:18;:7;:16;:18::i;:::-;6437:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6437:46:3;;;;;;;;;36:153:-1;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;;;6437:46:3;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;6437:46:3;;;6423:61;;;5751:740;;;:::o;2158:96:12:-;1242:12:11;:10;:12::i;:::-;1232:6;;-1:-1:-1;;;;;1232:6:11;;;:22;;;1224:67;;;;;-1:-1:-1;;;1224:67:11;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1224:67:11;;;;;;;;;;;;;;;2231:18:12::1;2237:2;2241:7;2231:5;:18::i;10395:154:3:-:0;-1:-1:-1;;;;;10507:25:3;;;10484:4;10507:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;10395:154::o;1945:240:11:-;1242:12;:10;:12::i;:::-;1232:6;;-1:-1:-1;;;;;1232:6:11;;;:22;;;1224:67;;;;;-1:-1:-1;;;1224:67:11;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1224:67:11;;;;;;;;;;;;;;;-1:-1:-1;;;;;2033:22:11;::::1;2025:73;;;;-1:-1:-1::0;;;2025:73:11::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2134:6;::::0;;2113:38:::1;::::0;-1:-1:-1;;;;;2113:38:11;;::::1;::::0;2134:6;::::1;::::0;2113:38:::1;::::0;::::1;2161:6;:17:::0;;-1:-1:-1;;;;;;2161:17:11::1;-1:-1:-1::0;;;;;2161:17:11;;;::::1;::::0;;;::::1;::::0;;1945:240::o;273:18:12:-;;;-1:-1:-1;;;;;273:18:12;;:::o;14258:117:3:-;14315:4;14338:30;:12;14360:7;14338:30;:21;:30;:::i;735:104:1:-;822:10;735:104;:::o;21282:155:3:-;21347:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;21347:29:3;-1:-1:-1;;;;;21347:29:3;;;;;;;;:24;;21400:16;21347:24;21400:7;:16::i;:::-;-1:-1:-1;;;;;21391:39:3;;;;;;;;;;;21282:155;;:::o;6990:121:4:-;7059:7;7085:19;7093:3;7085:7;:19::i;14736:329:3:-;14821:4;14845:16;14853:7;14845;:16::i;:::-;14837:73;;;;-1:-1:-1;;;14837:73:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14920:13;14936:16;14944:7;14936;:16::i;:::-;14920:32;;14981:5;-1:-1:-1;;;;;14970:16:3;:7;-1:-1:-1;;;;;14970:16:3;;:51;;;;15014:7;-1:-1:-1;;;;;14990:31:3;:20;15002:7;14990:11;:20::i;:::-;-1:-1:-1;;;;;14990:31:3;;14970:51;:87;;;;15025:32;15042:5;15049:7;15025:16;:32::i;:::-;14962:96;14736:329;-1:-1:-1;;;;14736:329:3:o;18248:559::-;18365:4;-1:-1:-1;;;;;18345:24:3;:16;18353:7;18345;:16::i;:::-;-1:-1:-1;;;;;18345:24:3;;18337:78;;;;-1:-1:-1;;;18337:78:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18433:16:3;;18425:65;;;;-1:-1:-1;;;18425:65:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18501:39;18522:4;18528:2;18532:7;18501:20;:39::i;:::-;18602:29;18619:1;18623:7;18602:8;:29::i;:::-;-1:-1:-1;;;;;18642:19:3;;;;;;:13;:19;;;;;:35;;18669:7;18642:35;:26;:35;:::i;:::-;-1:-1:-1;;;;;;18687:17:3;;;;;;:13;:17;;;;;:30;;18709:7;18687:30;:21;:30;:::i;:::-;-1:-1:-1;18728:29:3;:12;18745:7;18754:2;18728:29;:16;:29;:::i;:::-;;18792:7;18788:2;-1:-1:-1;;;;;18773:27:3;18782:4;-1:-1:-1;;;;;18773:27:3;;;;;;;;;;;18248:559;;;:::o;7616:135:5:-;7687:7;7721:22;7725:3;7737:5;7721:3;:22::i;16795:393:3:-;-1:-1:-1;;;;;16874:16:3;;16866:61;;;;;-1:-1:-1;;;16866:61:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16946:16;16954:7;16946;:16::i;:::-;16945:17;16937:58;;;;;-1:-1:-1;;;16937:58:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;17006:45;17035:1;17039:2;17043:7;17006:20;:45::i;:::-;-1:-1:-1;;;;;17062:17:3;;;;;;:13;:17;;;;;:30;;17084:7;17062:30;:21;:30;:::i;:::-;-1:-1:-1;17103:29:3;:12;17120:7;17129:2;17103:29;:16;:29;:::i;:::-;-1:-1:-1;17148:33:3;;17173:7;;-1:-1:-1;;;;;17148:33:3;;;17165:1;;17148:33;;17165:1;;17148:33;16795:393;;:::o;1617:274:12:-;1686:15;1704:11;:29;1716:16;1726:5;1716:9;:16::i;:::-;1704:29;;;;;;;;;;;;1686:47;;1743:8;1739:102;;;1772:1;1778:11;;;1772:18;1761:29;1739:102;;;1822:1;1828:11;;;1822:18;1820:21;1809:32;1739:102;1879:7;1847:11;:29;1859:16;1869:5;1859:9;:16::i;:::-;1847:29;;;;;;;;;;;-1:-1:-1;1847:29:12;:39;-1:-1:-1;;;1617:274:12:o;7439:224:4:-;7519:7;;;;7578:22;7582:3;7594:5;7578:3;:22::i;:::-;7547:53;;;;-1:-1:-1;7439:224:4;-1:-1:-1;;;;;7439:224:4:o;19575:98:3:-;19647:19;;;;:8;;:19;;;;;:::i;8082:202:4:-;8189:7;8231:44;8236:3;8256;8262:12;8231:4;:44::i;:::-;8223:53;-1:-1:-1;8082:202:4;;;;;;:::o;1895:96:12:-;1983:3;1975:11;;;1895:96::o;13794:269:3:-;13907:28;13917:4;13923:2;13927:7;13907:9;:28::i;:::-;13953:48;13976:4;13982:2;13986:7;13995:5;13953:22;:48::i;:::-;13945:111;;;;-1:-1:-1;;;13945:111:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;169:723:14;225:13;442:10;438:51;;-1:-1:-1;468:10:14;;;;;;;;;;;;-1:-1:-1;;;468:10:14;;;;;;438:51;513:5;498:12;552:75;559:9;;552:75;;584:8;;614:2;606:10;;;;552:75;;;636:19;668:6;658:17;;;;;;;;;;;;;;;;;;;;;;;;;21:6:-1;;108:14;658:17:14;87:42:-1;143:17;;-1:-1;658:17:14;-1:-1:-1;728:5:14;;-1:-1:-1;636:39:14;-1:-1:-1;;;701:10:14;;743:112;750:9;;743:112;;816:2;809:4;:9;804:2;:14;793:27;;775:6;782:7;;;;;;;775:15;;;;;;;;;;;:45;-1:-1:-1;;;;;775:45:14;;;;;;;;-1:-1:-1;842:2:14;834:10;;;;743:112;;;-1:-1:-1;878:6:14;169:723;-1:-1:-1;;;;169:723:14:o;6758:149:4:-;6842:4;6865:35;6875:3;6895;6865:9;:35::i;4450:108::-;4532:19;;4450:108::o;6731:135:5:-;6801:4;6824:35;6832:3;6852:5;6824:7;:35::i;6434:129::-;6501:4;6524:32;6529:3;6549:5;6524:4;:32::i;6206:174:4:-;6295:4;6318:55;6323:3;6343;-1:-1:-1;;;;;6357:14:4;;6318:4;:55::i;4390:201:5:-;4484:18;;4457:7;;4484:26;-1:-1:-1;4476:73:5;;;;-1:-1:-1;;;4476:73:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4566:3;:11;;4578:5;4566:18;;;;;;;;;;;;;;;;4559:25;;4390:201;;;;:::o;4901:274:4:-;5004:19;;4968:7;;;;5004:27;-1:-1:-1;4996:74:4;;;;-1:-1:-1;;;4996:74:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5081:22;5106:3;:12;;5119:5;5106:19;;;;;;;;;;;;;;;;;;5081:44;;5143:5;:10;;;5155:5;:12;;;5135:33;;;;;4901:274;;;;;:::o;5582:315::-;5676:7;5714:17;;;:12;;;:17;;;;;;5764:12;5749:13;5741:36;;;;-1:-1:-1;;;5741:36:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;5741:36:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5830:3;:12;;5854:1;5843:8;:12;5830:26;;;;;;;;;;;;;;;;;;:33;;;5823:40;;;5582:315;;;;;:::o;20226:1050:3:-;20346:4;20371:15;:2;-1:-1:-1;;;;;20371:13:3;;:15::i;:::-;20366:58;;-1:-1:-1;20409:4:3;20402:11;;20366:58;20493:12;20507:23;-1:-1:-1;;;;;20534:7:3;;-1:-1:-1;;;20637:12:3;:10;:12::i;:::-;20663:4;20681:7;20702:5;20542:175;;;;;;-1:-1:-1;;;;;20542:175:3;-1:-1:-1;;;;;20542:175:3;;;;;;-1:-1:-1;;;;;20542:175:3;-1:-1:-1;;;;;20542:175:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;20542:175:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20542:175:3;;;-1:-1:-1;;26:21;;;22:32;6:49;;20542:175:3;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;;;;20542:175:3;;;179:29:-1;;;;160:49;;20534:184:3;;;20542:175;;20534:184;;-1:-1:-1;20534:184:3;;-1:-1:-1;25:18;-1:-1;20534:184:3;-1:-1:-1;20534:184:3;;-1:-1:-1;20534:184:3;;-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;;;20534:184:3;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;20492:226:3;;;;20733:7;20728:542;;20760:17;;:21;20756:376;;20925:10;20919:17;20985:15;20972:10;20968:2;20964:19;20957:44;20874:145;21057:60;;-1:-1:-1;;;21057:60:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20728:542;21162:13;21189:10;21178:32;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;21178:32:3;-1:-1:-1;;;;;;21232:26:3;-1:-1:-1;;;21232:26:3;;-1:-1:-1;21224:35:3;;-1:-1:-1;;;21224:35:3;4237:123:4;4308:4;4331:17;;;:12;;;;;:17;;;;;;:22;;;4237:123::o;2150:1512:5:-;2216:4;2353:19;;;:12;;;:19;;;;;;2387:15;;2383:1273;;2816:18;;-1:-1:-1;;2768:14:5;;;;2816:22;;;;2744:21;;2816:3;;:22;;3098;;;;;;;;;;;;;;3078:42;;3241:9;3212:3;:11;;3224:13;3212:26;;;;;;;;;;;;;;;;;;;:38;;;;3316:23;;;3358:1;3316:12;;;:23;;;;;;3342:17;;;3316:43;;3465:17;;3316:3;;3465:17;;;;;;;;;;;;;;;;;;;;;;3557:3;:12;;:19;3570:5;3557:19;;;;;;;;;;;3550:26;;;3598:4;3591:11;;;;;;;;2383:1273;3640:5;3633:12;;;;;1578:404;1641:4;1662:21;1672:3;1677:5;1662:9;:21::i;:::-;1657:319;;-1:-1:-1;27:10;;39:1;23:18;;;45:23;;1699:11:5;:23;;;;;;;;;;;;;1879:18;;1857:19;;;:12;;;:19;;;;;;:40;;;;1911:11;;1657:319;-1:-1:-1;1960:5:5;1953:12;;1795:678:4;1871:4;2004:17;;;:12;;;:17;;;;;;2036:13;2032:435;;-1:-1:-1;;2120:38:4;;;;;;;;;;;;;;;;;;27:10:-1;;39:1;23:18;;;45:23;;2102:12:4;:57;;;;;;;;;;;;;;;;;;;;;;;;2314:19;;2294:17;;;:12;;;:17;;;;;;;:39;2347:11;;2032:435;2425:5;2389:3;:12;;2413:1;2402:8;:12;2389:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;2451:5;2444:12;;;;;685:610:0;745:4;1206:20;;1051:66;1245:23;;;;;;:42;;-1:-1:-1;;1272:15:0;;;1237:51;-1:-1:-1;;685:610:0:o;116:2140:12:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;116:2140:12;;;-1:-1:-1;116:2140:12;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://885b35398d31bf9f743017e68bcc0ebea6e89e6989829d2348e2baf9f49978b0
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.