Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
NFT
Overview
Max Total Supply
103 PEGZ
Holders
52
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 PEGZLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PEGZ
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: MIT pragma solidity ^0.6.2; /// @title: PEGZ /// @notice: https://pegz.fun //////////////////////////////////////////////// // _______ ________ ______ ________ // // / \ / | / \ / | // // $$$$$$$ |$$$$$$$$/ /$$$$$$ |$$$$$$$$/ // // $$ |__$$ |$$ |__ $$ | _$$/ /$$/ // // $$ $$/ $$ | $$ |/ | /$$/ // // $$$$$$$/ $$$$$/ $$ |$$$$ | /$$/ // // $$ | $$ |_____ $$ \__$$ | /$$/____ // // $$ | $$ |$$ $$/ /$$ | // // $$/ $$$$$$$$/ $$$$$$/ $$$$$$$$/ // // // //////////////////////////////////////////////// /* * PEGZ is a series of 100 unique collectables, each one of a kind * and drawn digitally by Matt Furie. Every Peg character is a member * of a family, one of 10 types, including "Pepe" who is present here * in the rarest of forms. * * Matt's vast world of characters come to life in the form of * collectable/tradable files, each with a 2D avatar file, a 3D coin * file, and an animated file. * * The PEGZ project came about as Matt focused on digitally created * work, and provides a unique opportunity for collectors to get into * his vast universe of bizarre mutants and characters, the same * universe that single-handledly spawned the most iconic internet * creature of all time, Pepe the Frog. */ import './Ownable-ERC721.sol'; contract OwnableDelegateProxy {} contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; } contract PEGZ is ProxyRegistry, ERC721, Ownable { address public proxyRegistryAddress; /** * @notice Each drop is stores an IPFS hash path that is a folder * containing all token metadata for that drop */ mapping(uint256 => string) public dropPaths; /** * @param _proxyRegistryAddress The address of the OpenSea/Wyvern * proxy registry */ constructor(address _proxyRegistryAddress) ERC721("PEGZ", "PEGZ") Ownable() public { proxyRegistryAddress = _proxyRegistryAddress; _setBaseURI("https://ipfs.io/ipfs/"); } /** * @dev Override based on OpenSea proxyRegistry lookup */ function isApprovedForAll(address owner, address operator) public view override returns (bool) { ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress); if (address(proxyRegistry.proxies(owner)) == operator) { return true; } return super.isApprovedForAll(owner, operator); } /** * @dev OpenSea specific contract metadata */ function contractURI() external view returns (string memory) { return string(abi.encodePacked(baseURI(), "QmRG4HuaafM4eabDh2Wr3WCj8vstP6uGsiHN7JCCecxA2p")); } /** * @dev Mints a drop of regular PEGZ or a single Dazzler if it * hasn't been minted. * There can only be 10 PEGZ drops and 3 Dazzlers * Each PEGZ drop is for 10 tokens starting at tokenId 1. * Example: dropId 1 = tokens 1 - 10; dropId 2 = tokens 11 - 20 * Dazzlers have tokenId 101-103 * * Requirements: * - `dropId` must be between 1-10 inclusive or 101-103 inclusive * * @param dropId of the drop to mint * @param dropPath must not end with trailing slash (`/`) */ function mint(uint256 dropId, string memory dropPath) onlyOwner public { /// @notice Mint regular PEGZ if (dropId < 101){ require(dropId>=1 && dropId<=10, 'PEGZ: Only 1-10 drops allowed'); uint256 maxId = dropId*10; for(uint256 id=maxId-9; id<=maxId; id++){ _mint(msg.sender, id); } /// @notice Mint Dazzlers } else { require(dropId>=101 && dropId<=103, 'PEGZ: Only 3 Dazzlers allowed'); _mint(msg.sender, dropId); } dropPaths[dropId] = dropPath; } /** * @dev public test of whether a PEGZ drop or Dazzler can be * burned. * * Requirements: * - `dropPaths[dropId]` must be set, i.e. there is a previous mint for this dropId * - For dropId 1-10, every tokenId in the drop must be owned by `owner`, i.e. tokens have not been transferred * - For dropId 101-103, the token with that id must be owned by `owner` * * @param dropId of the drop to check */ function canBurn(uint256 dropId) public view returns (bool no){ if (bytes(dropPaths[dropId]).length == 0) return no; /// @notice Check regular PEGZ if (dropId < 101){ uint256 maxId = dropId*10; for(uint256 id=maxId-9; id<=maxId; id++){ no = ownerOf(id) != owner(); if (no) return !no; } /// @notice Check Dazzlers } else { no = ownerOf(dropId) != owner(); } return !no; } /** * @dev Burns a PEGZ drop or Dazzler and its tokens only if all * of the tokens are held by the contract owner. * * Requirements: * - `dropPaths[dropId]` must be set, i.e. there is a previous * mint for this dropId * - For dropId 1-10, every tokenId in the drop must be owned by * `owner`, i.e. tokens have not been transferred * - For dropId 101-103, the token with that id must be owned by * `owner` * * @param dropId of the drop to burn */ function burn(uint256 dropId) onlyOwner public { require(bytes(dropPaths[dropId]).length > 0, "PEGZ: Drop has not been minted"); /// @notice Burn regular PEGZ if (dropId < 101){ uint256 maxId = dropId*10; for(uint256 id=maxId-9; id<=maxId; id++){ require(ownerOf(id) == msg.sender, 'PEGZ: A token in this drop has already been transfered; the drop cannot be burned'); _burn(id); } /// @notice Burn Dazzlers } else { require(ownerOf(dropId) == msg.sender, 'PEGZ: This Dazzler has already been transfered and cannot be burned'); _burn(dropId); } dropPaths[dropId] = ""; } /** * @dev Finds the dropPath from the tokenId. Used in `tokenURI()` * to construct the fully URI from a `tokenId` * For `tokenId` 1-10 inclusive turn a `tokenId` into a `dropId`, * otherwise the token is a Dazzler and use it as is. * @param tokenId of the token to check */ function dropPathFromTokenId(uint256 tokenId) public view returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); /// @notice Path for Dazzlers if (tokenId > 100) return dropPaths[tokenId]; uint256 dropId; /// @notice Path for regular PEGZ if (tokenId%10 == 0){ dropId = tokenId/10; } else { dropId = ((tokenId-(tokenId%10))/10)+1; } return dropPaths[dropId]; } /** * @dev Override for standard tokenURI to use * `dropPathFromTokenId()` to look up which IPFS-stored folder * a given tokenId's metadata is stored in */ function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); return string(abi.encodePacked(baseURI(), dropPathFromTokenId(tokenId), "/", convertUintToString(tokenId), '.json')); } /** * @dev Utility function turning uint into string */ function convertUintToString(uint _index) internal pure returns (string memory _uintAsString) { if (_index == 0) { return "0"; } uint j = _index; uint len; while (j != 0) { len++; j /= 10; } bytes memory bstr = new bytes(len); uint k = len - 1; while (_index != 0) { bstr[k--] = byte(uint8(48 + _index % 10)); _index /= 10; } return string(bstr); } }
// Sources flattened with hardhat v2.2.1 https://hardhat.org // File @openzeppelin/contracts/GSN/[email protected] pragma solidity ^0.6.2; /* * @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 @openzeppelin/contracts/introspection/[email protected] /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File @openzeppelin/contracts/token/ERC721/[email protected] /** * @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 @openzeppelin/contracts/token/ERC721/[email protected] /** * @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 @openzeppelin/contracts/token/ERC721/[email protected] /** * @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 @openzeppelin/contracts/token/ERC721/[email protected] /** * @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 @openzeppelin/contracts/introspection/[email protected] /** * @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 @openzeppelin/contracts/math/[email protected] /** * @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 @openzeppelin/contracts/utils/[email protected] /** * @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 @openzeppelin/contracts/utils/[email protected] /** * @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 @openzeppelin/contracts/utils/[email protected] /** * @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 @openzeppelin/contracts/utils/[email protected] /** * @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); } } // File @openzeppelin/contracts/token/ERC721/[email protected] /** * @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 virtual 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 virtual 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 @openzeppelin/contracts/access/[email protected] /** * @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; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","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":"dropId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"dropId","type":"uint256"}],"name":"canBurn","outputs":[{"internalType":"bool","name":"no","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"dropPathFromTokenId","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"dropPaths","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"dropId","type":"uint256"},{"internalType":"string","name":"dropPath","type":"string"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"","type":"address"}],"name":"proxies","outputs":[{"internalType":"contract OwnableDelegateProxy","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyRegistryAddress","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":"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"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162002d4f38038062002d4f833981810160405260208110156200003757600080fd5b50516040805180820182526004808252632822a3ad60e11b602083810182905284518086019095529184529083015290620000796301ffc9a760e01b62000199565b81516200008e9060079060208501906200023e565b508051620000a49060089060208401906200023e565b50620000b76380ac58cd60e01b62000199565b620000c9635b5e139f60e01b62000199565b620000db63780e9d6360e01b62000199565b5060009050620000ea62000221565b600b80546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600c80546001600160a01b0319166001600160a01b03831617905560408051808201909152601581527f68747470733a2f2f697066732e696f2f697066732f00000000000000000000006020820152620001929062000225565b50620002da565b6001600160e01b03198082161415620001f9576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152600160208190526040909120805460ff19169091179055565b3390565b80516200023a90600a9060208401906200023e565b5050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200028157805160ff1916838001178555620002b1565b82800160010185558215620002b1579182015b82811115620002b157825182559160200191906001019062000294565b50620002bf929150620002c3565b5090565b5b80821115620002bf5760008155600101620002c4565b612a6580620002ea6000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063715018a6116100f9578063c455279111610097578063e8868a7911610071578063e8868a7914610675578063e8a3d48514610692578063e985e9c51461069a578063f2fde38b146106c8576101c4565b8063c45527911461062a578063c87b56dd14610650578063cd7c03261461066d576101c4565b806395d89b41116100d357806395d89b4114610511578063a22cb46514610519578063a94edc6514610547578063b88d4fde14610564576101c4565b8063715018a61461045457806377097fc81461045c5780638da5cb5b14610509576101c4565b80632f745c59116101665780634f6ccce7116101405780634f6ccce7146103ec5780636352211e146104095780636c0360eb1461042657806370a082311461042e576101c4565b80632f745c591461036d57806342842e0e1461039957806342966c68146103cf576101c4565b8063095ea7b3116101a2578063095ea7b3146102d25780630c08855c1461030057806318160ddd1461031d57806323b872dd14610337576101c4565b806301ffc9a7146101c957806306fdde031461021c578063081812fc14610299575b600080fd5b610208600480360360208110156101df57600080fd5b50357fffffffff00000000000000000000000000000000000000000000000000000000166106ee565b604080519115158252519081900360200190f35b610224610729565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561025e578181015183820152602001610246565b50505050905090810190601f16801561028b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102b6600480360360208110156102af57600080fd5b50356107bf565b604080516001600160a01b039092168252519081900360200190f35b6102fe600480360360408110156102e857600080fd5b506001600160a01b038135169060200135610821565b005b6102246004803603602081101561031657600080fd5b50356108fc565b610325610aab565b60408051918252519081900360200190f35b6102fe6004803603606081101561034d57600080fd5b506001600160a01b03813581169160208101359091169060400135610abc565b6103256004803603604081101561038357600080fd5b506001600160a01b038135169060200135610b13565b6102fe600480360360608110156103af57600080fd5b506001600160a01b03813581169160208101359091169060400135610b3e565b6102fe600480360360208110156103e557600080fd5b5035610b59565b6103256004803603602081101561040257600080fd5b5035610d59565b6102b66004803603602081101561041f57600080fd5b5035610d6f565b610224610d97565b6103256004803603602081101561044457600080fd5b50356001600160a01b0316610df8565b6102fe610e60565b6102fe6004803603604081101561047257600080fd5b8135919081019060408101602082013564010000000081111561049457600080fd5b8201836020820111156104a657600080fd5b803590602001918460018302840111640100000000831117156104c857600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610f2c945050505050565b6102b66110d6565b6102246110e5565b6102fe6004803603604081101561052f57600080fd5b506001600160a01b0381351690602001351515611146565b6102246004803603602081101561055d57600080fd5b5035611269565b6102fe6004803603608081101561057a57600080fd5b6001600160a01b038235811692602081013590911691604082013591908101906080810160608201356401000000008111156105b557600080fd5b8201836020820111156105c757600080fd5b803590602001918460018302840111640100000000831117156105e957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611304945050505050565b6102b66004803603602081101561064057600080fd5b50356001600160a01b0316611362565b6102246004803603602081101561066657600080fd5b503561137d565b6102b661154d565b6102086004803603602081101561068b57600080fd5b503561155c565b610224611630565b610208600480360360408110156106b057600080fd5b506001600160a01b03813581169160200135166116b0565b6102fe600480360360208110156106de57600080fd5b50356001600160a01b0316611774565b7fffffffff00000000000000000000000000000000000000000000000000000000811660009081526001602052604090205460ff165b919050565b60078054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107b55780601f1061078a576101008083540402835291602001916107b5565b820191906000526020600020905b81548152906001019060200180831161079857829003601f168201915b5050505050905090565b60006107ca82611897565b6108055760405162461bcd60e51b815260040180806020018281038252602c81526020018061295a602c913960400191505060405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061082c82610d6f565b9050806001600160a01b0316836001600160a01b0316141561087f5760405162461bcd60e51b81526004018080602001828103825260218152602001806129de6021913960400191505060405180910390fd5b806001600160a01b03166108916118a4565b6001600160a01b031614806108b257506108b2816108ad6118a4565b6116b0565b6108ed5760405162461bcd60e51b815260040180806020018281038252603881526020018061283c6038913960400191505060405180910390fd5b6108f783836118a8565b505050565b606061090782611897565b6109425760405162461bcd60e51b815260040180806020018281038252602f8152602001806129af602f913960400191505060405180910390fd5b60648211156109ea576000828152600d602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845290918301828280156109de5780601f106109b3576101008083540402835291602001916109de565b820191906000526020600020905b8154815290600101906020018083116109c157829003601f168201915b50505050509050610724565b6000600a83066109fe5750600a8204610a0b565b506001600a808406840304015b6000818152600d602090815260409182902080548351601f600260001961010060018616150201909316929092049182018490048402810184019094528084529091830182828015610a9e5780601f10610a7357610100808354040283529160200191610a9e565b820191906000526020600020905b815481529060010190602001808311610a8157829003601f168201915b5050505050915050919050565b6000610ab7600361192e565b905090565b610acd610ac76118a4565b82611939565b610b085760405162461bcd60e51b81526004018080602001828103825260318152602001806129ff6031913960400191505060405180910390fd5b6108f78383836119d5565b6001600160a01b0382166000908152600260205260408120610b359083611b21565b90505b92915050565b6108f783838360405180602001604052806000815250611304565b610b616118a4565b600b546001600160a01b03908116911614610bc3576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000818152600d602052604090205460026000196101006001841615020190911604610c36576040805162461bcd60e51b815260206004820152601e60248201527f5045475a3a2044726f7020686173206e6f74206265656e206d696e7465640000604482015290519081900360640190fd5b6065811015610cd557600a81027ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff781015b818111610cce5733610c7882610d6f565b6001600160a01b031614610cbd5760405162461bcd60e51b81526004018080602001828103825260518152602001806127436051913960600191505060405180910390fd5b610cc681611b2d565b600101610c67565b5050610d2d565b33610cdf82610d6f565b6001600160a01b031614610d245760405162461bcd60e51b81526004018080602001828103825260438152602001806129176043913960600191505060405180910390fd5b610d2d81611b2d565b6040805160208082018084526000808452858152600d9092529290209051610d559290612646565b5050565b600080610d67600384611bfa565b509392505050565b6000610b388260405180606001604052806029815260200161289e6029913960039190611c16565b600a8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107b55780601f1061078a576101008083540402835291602001916107b5565b60006001600160a01b038216610e3f5760405162461bcd60e51b815260040180806020018281038252602a815260200180612874602a913960400191505060405180910390fd5b6001600160a01b0382166000908152600260205260409020610b389061192e565b610e686118a4565b600b546001600160a01b03908116911614610eca576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600b546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600b80547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b610f346118a4565b600b546001600160a01b03908116911614610f96576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b606582101561104a5760018210158015610fb15750600a8211155b611002576040805162461bcd60e51b815260206004820152601d60248201527f5045475a3a204f6e6c7920312d31302064726f707320616c6c6f776564000000604482015290519081900360640190fd5b600a82027ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff781015b8181116110435761103b3382611c2d565b60010161102a565b50506110b7565b6065821015801561105c575060678211155b6110ad576040805162461bcd60e51b815260206004820152601d60248201527f5045475a3a204f6e6c7920332044617a7a6c65727320616c6c6f776564000000604482015290519081900360640190fd5b6110b73383611c2d565b6000828152600d6020908152604090912082516108f792840190612646565b600b546001600160a01b031690565b60088054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107b55780601f1061078a576101008083540402835291602001916107b5565b61114e6118a4565b6001600160a01b0316826001600160a01b031614156111b4576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b80600660006111c16118a4565b6001600160a01b0390811682526020808301939093526040918201600090812091871680825291909352912080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016921515929092179091556112236118a4565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b600d6020908152600091825260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845290918301828280156112fc5780601f106112d1576101008083540402835291602001916112fc565b820191906000526020600020905b8154815290600101906020018083116112df57829003601f168201915b505050505081565b61131561130f6118a4565b83611939565b6113505760405162461bcd60e51b81526004018080602001828103825260318152602001806129ff6031913960400191505060405180910390fd5b61135c84848484611d5b565b50505050565b6000602081905290815260409020546001600160a01b031681565b606061138882611897565b6113c35760405162461bcd60e51b815260040180806020018281038252602f8152602001806129af602f913960400191505060405180910390fd5b6113cb610d97565b6113d4836108fc565b6113dd84611dad565b6040516020018084805190602001908083835b6020831061140f5780518252601f1990920191602091820191016113f0565b51815160209384036101000a600019018019909216911617905286519190930192860191508083835b602083106114575780518252601f199092019160209182019101611438565b6001836020036101000a038019825116818451168082178552505050505050905001807f2f0000000000000000000000000000000000000000000000000000000000000081525060010182805190602001908083835b602083106114cc5780518252601f1990920191602091820191016114ad565b5181516020939093036101000a60001901801990911692169190911790527f2e6a736f6e000000000000000000000000000000000000000000000000000000920191825250604080518083037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe5018152600590920190529695505050505050565b600c546001600160a01b031681565b6000818152600d60205260408120546002600019610100600184161502019091160461158757610724565b606582101561160257600a82027ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff781015b8181116115fb576115c76110d6565b6001600160a01b03166115d982610d6f565b6001600160a01b031614801593506115f357505015610724565b6001016115b8565b505061162a565b61160a6110d6565b6001600160a01b031661161c83610d6f565b6001600160a01b0316141590505b15919050565b606061163a610d97565b6040516020018082805190602001908083835b6020831061166c5780518252601f19909201916020918201910161164d565b6001836020036101000a038019825116818451168082178552505050505050905001806128c7602e9139602e01915050604051602081830303815290604052905090565b600c54604080517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b0385811660048301529151600093831692851691839163c455279191602480820192602092909190829003018186803b15801561171d57600080fd5b505afa158015611731573d6000803e3d6000fd5b505050506040513d602081101561174757600080fd5b50516001600160a01b03161415611762576001915050610b38565b61176c8484611eb9565b949350505050565b61177c6118a4565b600b546001600160a01b039081169116146117de576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166118235760405162461bcd60e51b81526004018080602001828103825260268152602001806127c66026913960400191505060405180910390fd5b600b546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600b80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6000610b38600383611ee7565b3390565b600081815260056020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03841690811790915581906118f582610d6f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610b3882611ef3565b600061194482611897565b61197f5760405162461bcd60e51b815260040180806020018281038252602c815260200180612810602c913960400191505060405180910390fd5b600061198a83610d6f565b9050806001600160a01b0316846001600160a01b031614806119c55750836001600160a01b03166119ba846107bf565b6001600160a01b0316145b8061176c575061176c81856116b0565b826001600160a01b03166119e882610d6f565b6001600160a01b031614611a2d5760405162461bcd60e51b81526004018080602001828103825260298152602001806129866029913960400191505060405180910390fd5b6001600160a01b038216611a725760405162461bcd60e51b81526004018080602001828103825260248152602001806127ec6024913960400191505060405180910390fd5b611a7d8383836108f7565b611a886000826118a8565b6001600160a01b0383166000908152600260205260409020611aaa9082611ef7565b506001600160a01b0382166000908152600260205260409020611acd9082611f03565b50611ada60038284611f0f565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610b358383611f25565b6000611b3882610d6f565b9050611b46816000846108f7565b611b516000836118a8565b6000828152600960205260409020546002600019610100600184161502019091160415611b8f576000828152600960205260408120611b8f916126c4565b6001600160a01b0381166000908152600260205260409020611bb19083611ef7565b50611bbd600383611f89565b5060405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6000808080611c098686611f95565b9097909650945050505050565b6000611c23848484612010565b90505b9392505050565b6001600160a01b038216611c88576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b611c9181611897565b15611ce3576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b611cef600083836108f7565b6001600160a01b0382166000908152600260205260409020611d119082611f03565b50611d1e60038284611f0f565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b611d668484846119d5565b611d72848484846120da565b61135c5760405162461bcd60e51b81526004018080602001828103825260328152602001806127946032913960400191505060405180910390fd5b606081611dee575060408051808201909152600181527f30000000000000000000000000000000000000000000000000000000000000006020820152610724565b8160005b8115611e0657600101600a82049150611df2565b60608167ffffffffffffffff81118015611e1f57600080fd5b506040519080825280601f01601f191660200182016040528015611e4a576020820181803683370190505b50905060001982015b8515611eb057600a860660300160f81b82828060019003935081518110611e7657fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a86049550611e53565b50949350505050565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6000610b35838361237a565b5490565b6000610b358383612392565b6000610b358383612458565b6000611c2384846001600160a01b0385166124a2565b81546000908210611f675760405162461bcd60e51b81526004018080602001828103825260228152602001806127216022913960400191505060405180910390fd5b826000018281548110611f7657fe5b9060005260206000200154905092915050565b6000610b358383612539565b815460009081908310611fd95760405162461bcd60e51b81526004018080602001828103825260228152602001806128f56022913960400191505060405180910390fd5b6000846000018481548110611fea57fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816120ab5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612070578181015183820152602001612058565b50505050905090810190601f16801561209d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b508460000160018203815481106120be57fe5b9060005260206000209060020201600101549150509392505050565b60006120ee846001600160a01b031661260d565b6120fa5750600161176c565b600060606001600160a01b0386167f150b7a02000000000000000000000000000000000000000000000000000000006121316118a4565b89888860405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612198578181015183820152602001612180565b50505050905090810190601f1680156121c55780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909a16999099178952518151919890975087965094509250829150849050835b6020831061225a5780518252601f19909201916020918201910161223b565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146122bc576040519150601f19603f3d011682016040523d82523d6000602084013e6122c1565b606091505b509150915081612312578051156122db5780518082602001fd5b60405162461bcd60e51b81526004018080602001828103825260328152602001806127946032913960400191505060405180910390fd5b600081806020019051602081101561232957600080fd5b50517fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a020000000000000000000000000000000000000000000000000000000014935061176c92505050565b60009081526001919091016020526040902054151590565b6000818152600183016020526040812054801561244e57835460001980830191908101906000908790839081106123c557fe5b90600052602060002001549050808760000184815481106123e257fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061241257fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610b38565b6000915050610b38565b6000612464838361237a565b61249a57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610b38565b506000610b38565b600082815260018401602052604081205480612507575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055611c26565b8285600001600183038154811061251a57fe5b9060005260206000209060020201600101819055506000915050611c26565b6000818152600183016020526040812054801561244e578354600019808301919081019060009087908390811061256c57fe5b906000526020600020906002020190508087600001848154811061258c57fe5b6000918252602080832084546002909302019182556001938401549184019190915583548252898301905260409020908401905586548790806125cb57fe5b6000828152602080822060026000199094019384020182815560019081018390559290935588815289820190925260408220919091559450610b389350505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061176c575050151592915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061268757805160ff19168380011785556126b4565b828001600101855582156126b4579182015b828111156126b4578251825591602001919060010190612699565b506126c092915061270b565b5090565b50805460018160011615610100020316600290046000825580601f106126ea5750612708565b601f016020900490600052602060002090810190612708919061270b565b50565b5b808211156126c0576000815560010161270c56fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64735045475a3a204120746f6b656e20696e20746869732064726f702068617320616c7265616479206265656e207472616e7366657265643b207468652064726f702063616e6e6f74206265206275726e65644552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e516d52473448756161664d3465616244683257723357436a38767374503675477369484e374a4343656378413270456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64735045475a3a20546869732044617a7a6c65722068617320616c7265616479206265656e207472616e73666572656420616e642063616e6e6f74206265206275726e65644552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a26469706673582212202269a34e65a198cfd9ebe783f3c618733386f80351d88a58d0999cfb45524ec064736f6c634300060c0033000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101c45760003560e01c8063715018a6116100f9578063c455279111610097578063e8868a7911610071578063e8868a7914610675578063e8a3d48514610692578063e985e9c51461069a578063f2fde38b146106c8576101c4565b8063c45527911461062a578063c87b56dd14610650578063cd7c03261461066d576101c4565b806395d89b41116100d357806395d89b4114610511578063a22cb46514610519578063a94edc6514610547578063b88d4fde14610564576101c4565b8063715018a61461045457806377097fc81461045c5780638da5cb5b14610509576101c4565b80632f745c59116101665780634f6ccce7116101405780634f6ccce7146103ec5780636352211e146104095780636c0360eb1461042657806370a082311461042e576101c4565b80632f745c591461036d57806342842e0e1461039957806342966c68146103cf576101c4565b8063095ea7b3116101a2578063095ea7b3146102d25780630c08855c1461030057806318160ddd1461031d57806323b872dd14610337576101c4565b806301ffc9a7146101c957806306fdde031461021c578063081812fc14610299575b600080fd5b610208600480360360208110156101df57600080fd5b50357fffffffff00000000000000000000000000000000000000000000000000000000166106ee565b604080519115158252519081900360200190f35b610224610729565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561025e578181015183820152602001610246565b50505050905090810190601f16801561028b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102b6600480360360208110156102af57600080fd5b50356107bf565b604080516001600160a01b039092168252519081900360200190f35b6102fe600480360360408110156102e857600080fd5b506001600160a01b038135169060200135610821565b005b6102246004803603602081101561031657600080fd5b50356108fc565b610325610aab565b60408051918252519081900360200190f35b6102fe6004803603606081101561034d57600080fd5b506001600160a01b03813581169160208101359091169060400135610abc565b6103256004803603604081101561038357600080fd5b506001600160a01b038135169060200135610b13565b6102fe600480360360608110156103af57600080fd5b506001600160a01b03813581169160208101359091169060400135610b3e565b6102fe600480360360208110156103e557600080fd5b5035610b59565b6103256004803603602081101561040257600080fd5b5035610d59565b6102b66004803603602081101561041f57600080fd5b5035610d6f565b610224610d97565b6103256004803603602081101561044457600080fd5b50356001600160a01b0316610df8565b6102fe610e60565b6102fe6004803603604081101561047257600080fd5b8135919081019060408101602082013564010000000081111561049457600080fd5b8201836020820111156104a657600080fd5b803590602001918460018302840111640100000000831117156104c857600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610f2c945050505050565b6102b66110d6565b6102246110e5565b6102fe6004803603604081101561052f57600080fd5b506001600160a01b0381351690602001351515611146565b6102246004803603602081101561055d57600080fd5b5035611269565b6102fe6004803603608081101561057a57600080fd5b6001600160a01b038235811692602081013590911691604082013591908101906080810160608201356401000000008111156105b557600080fd5b8201836020820111156105c757600080fd5b803590602001918460018302840111640100000000831117156105e957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611304945050505050565b6102b66004803603602081101561064057600080fd5b50356001600160a01b0316611362565b6102246004803603602081101561066657600080fd5b503561137d565b6102b661154d565b6102086004803603602081101561068b57600080fd5b503561155c565b610224611630565b610208600480360360408110156106b057600080fd5b506001600160a01b03813581169160200135166116b0565b6102fe600480360360208110156106de57600080fd5b50356001600160a01b0316611774565b7fffffffff00000000000000000000000000000000000000000000000000000000811660009081526001602052604090205460ff165b919050565b60078054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107b55780601f1061078a576101008083540402835291602001916107b5565b820191906000526020600020905b81548152906001019060200180831161079857829003601f168201915b5050505050905090565b60006107ca82611897565b6108055760405162461bcd60e51b815260040180806020018281038252602c81526020018061295a602c913960400191505060405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061082c82610d6f565b9050806001600160a01b0316836001600160a01b0316141561087f5760405162461bcd60e51b81526004018080602001828103825260218152602001806129de6021913960400191505060405180910390fd5b806001600160a01b03166108916118a4565b6001600160a01b031614806108b257506108b2816108ad6118a4565b6116b0565b6108ed5760405162461bcd60e51b815260040180806020018281038252603881526020018061283c6038913960400191505060405180910390fd5b6108f783836118a8565b505050565b606061090782611897565b6109425760405162461bcd60e51b815260040180806020018281038252602f8152602001806129af602f913960400191505060405180910390fd5b60648211156109ea576000828152600d602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845290918301828280156109de5780601f106109b3576101008083540402835291602001916109de565b820191906000526020600020905b8154815290600101906020018083116109c157829003601f168201915b50505050509050610724565b6000600a83066109fe5750600a8204610a0b565b506001600a808406840304015b6000818152600d602090815260409182902080548351601f600260001961010060018616150201909316929092049182018490048402810184019094528084529091830182828015610a9e5780601f10610a7357610100808354040283529160200191610a9e565b820191906000526020600020905b815481529060010190602001808311610a8157829003601f168201915b5050505050915050919050565b6000610ab7600361192e565b905090565b610acd610ac76118a4565b82611939565b610b085760405162461bcd60e51b81526004018080602001828103825260318152602001806129ff6031913960400191505060405180910390fd5b6108f78383836119d5565b6001600160a01b0382166000908152600260205260408120610b359083611b21565b90505b92915050565b6108f783838360405180602001604052806000815250611304565b610b616118a4565b600b546001600160a01b03908116911614610bc3576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000818152600d602052604090205460026000196101006001841615020190911604610c36576040805162461bcd60e51b815260206004820152601e60248201527f5045475a3a2044726f7020686173206e6f74206265656e206d696e7465640000604482015290519081900360640190fd5b6065811015610cd557600a81027ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff781015b818111610cce5733610c7882610d6f565b6001600160a01b031614610cbd5760405162461bcd60e51b81526004018080602001828103825260518152602001806127436051913960600191505060405180910390fd5b610cc681611b2d565b600101610c67565b5050610d2d565b33610cdf82610d6f565b6001600160a01b031614610d245760405162461bcd60e51b81526004018080602001828103825260438152602001806129176043913960600191505060405180910390fd5b610d2d81611b2d565b6040805160208082018084526000808452858152600d9092529290209051610d559290612646565b5050565b600080610d67600384611bfa565b509392505050565b6000610b388260405180606001604052806029815260200161289e6029913960039190611c16565b600a8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107b55780601f1061078a576101008083540402835291602001916107b5565b60006001600160a01b038216610e3f5760405162461bcd60e51b815260040180806020018281038252602a815260200180612874602a913960400191505060405180910390fd5b6001600160a01b0382166000908152600260205260409020610b389061192e565b610e686118a4565b600b546001600160a01b03908116911614610eca576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600b546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600b80547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b610f346118a4565b600b546001600160a01b03908116911614610f96576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b606582101561104a5760018210158015610fb15750600a8211155b611002576040805162461bcd60e51b815260206004820152601d60248201527f5045475a3a204f6e6c7920312d31302064726f707320616c6c6f776564000000604482015290519081900360640190fd5b600a82027ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff781015b8181116110435761103b3382611c2d565b60010161102a565b50506110b7565b6065821015801561105c575060678211155b6110ad576040805162461bcd60e51b815260206004820152601d60248201527f5045475a3a204f6e6c7920332044617a7a6c65727320616c6c6f776564000000604482015290519081900360640190fd5b6110b73383611c2d565b6000828152600d6020908152604090912082516108f792840190612646565b600b546001600160a01b031690565b60088054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107b55780601f1061078a576101008083540402835291602001916107b5565b61114e6118a4565b6001600160a01b0316826001600160a01b031614156111b4576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b80600660006111c16118a4565b6001600160a01b0390811682526020808301939093526040918201600090812091871680825291909352912080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016921515929092179091556112236118a4565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b600d6020908152600091825260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845290918301828280156112fc5780601f106112d1576101008083540402835291602001916112fc565b820191906000526020600020905b8154815290600101906020018083116112df57829003601f168201915b505050505081565b61131561130f6118a4565b83611939565b6113505760405162461bcd60e51b81526004018080602001828103825260318152602001806129ff6031913960400191505060405180910390fd5b61135c84848484611d5b565b50505050565b6000602081905290815260409020546001600160a01b031681565b606061138882611897565b6113c35760405162461bcd60e51b815260040180806020018281038252602f8152602001806129af602f913960400191505060405180910390fd5b6113cb610d97565b6113d4836108fc565b6113dd84611dad565b6040516020018084805190602001908083835b6020831061140f5780518252601f1990920191602091820191016113f0565b51815160209384036101000a600019018019909216911617905286519190930192860191508083835b602083106114575780518252601f199092019160209182019101611438565b6001836020036101000a038019825116818451168082178552505050505050905001807f2f0000000000000000000000000000000000000000000000000000000000000081525060010182805190602001908083835b602083106114cc5780518252601f1990920191602091820191016114ad565b5181516020939093036101000a60001901801990911692169190911790527f2e6a736f6e000000000000000000000000000000000000000000000000000000920191825250604080518083037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe5018152600590920190529695505050505050565b600c546001600160a01b031681565b6000818152600d60205260408120546002600019610100600184161502019091160461158757610724565b606582101561160257600a82027ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff781015b8181116115fb576115c76110d6565b6001600160a01b03166115d982610d6f565b6001600160a01b031614801593506115f357505015610724565b6001016115b8565b505061162a565b61160a6110d6565b6001600160a01b031661161c83610d6f565b6001600160a01b0316141590505b15919050565b606061163a610d97565b6040516020018082805190602001908083835b6020831061166c5780518252601f19909201916020918201910161164d565b6001836020036101000a038019825116818451168082178552505050505050905001806128c7602e9139602e01915050604051602081830303815290604052905090565b600c54604080517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b0385811660048301529151600093831692851691839163c455279191602480820192602092909190829003018186803b15801561171d57600080fd5b505afa158015611731573d6000803e3d6000fd5b505050506040513d602081101561174757600080fd5b50516001600160a01b03161415611762576001915050610b38565b61176c8484611eb9565b949350505050565b61177c6118a4565b600b546001600160a01b039081169116146117de576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166118235760405162461bcd60e51b81526004018080602001828103825260268152602001806127c66026913960400191505060405180910390fd5b600b546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600b80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6000610b38600383611ee7565b3390565b600081815260056020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03841690811790915581906118f582610d6f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610b3882611ef3565b600061194482611897565b61197f5760405162461bcd60e51b815260040180806020018281038252602c815260200180612810602c913960400191505060405180910390fd5b600061198a83610d6f565b9050806001600160a01b0316846001600160a01b031614806119c55750836001600160a01b03166119ba846107bf565b6001600160a01b0316145b8061176c575061176c81856116b0565b826001600160a01b03166119e882610d6f565b6001600160a01b031614611a2d5760405162461bcd60e51b81526004018080602001828103825260298152602001806129866029913960400191505060405180910390fd5b6001600160a01b038216611a725760405162461bcd60e51b81526004018080602001828103825260248152602001806127ec6024913960400191505060405180910390fd5b611a7d8383836108f7565b611a886000826118a8565b6001600160a01b0383166000908152600260205260409020611aaa9082611ef7565b506001600160a01b0382166000908152600260205260409020611acd9082611f03565b50611ada60038284611f0f565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610b358383611f25565b6000611b3882610d6f565b9050611b46816000846108f7565b611b516000836118a8565b6000828152600960205260409020546002600019610100600184161502019091160415611b8f576000828152600960205260408120611b8f916126c4565b6001600160a01b0381166000908152600260205260409020611bb19083611ef7565b50611bbd600383611f89565b5060405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6000808080611c098686611f95565b9097909650945050505050565b6000611c23848484612010565b90505b9392505050565b6001600160a01b038216611c88576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b611c9181611897565b15611ce3576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b611cef600083836108f7565b6001600160a01b0382166000908152600260205260409020611d119082611f03565b50611d1e60038284611f0f565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b611d668484846119d5565b611d72848484846120da565b61135c5760405162461bcd60e51b81526004018080602001828103825260328152602001806127946032913960400191505060405180910390fd5b606081611dee575060408051808201909152600181527f30000000000000000000000000000000000000000000000000000000000000006020820152610724565b8160005b8115611e0657600101600a82049150611df2565b60608167ffffffffffffffff81118015611e1f57600080fd5b506040519080825280601f01601f191660200182016040528015611e4a576020820181803683370190505b50905060001982015b8515611eb057600a860660300160f81b82828060019003935081518110611e7657fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a86049550611e53565b50949350505050565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6000610b35838361237a565b5490565b6000610b358383612392565b6000610b358383612458565b6000611c2384846001600160a01b0385166124a2565b81546000908210611f675760405162461bcd60e51b81526004018080602001828103825260228152602001806127216022913960400191505060405180910390fd5b826000018281548110611f7657fe5b9060005260206000200154905092915050565b6000610b358383612539565b815460009081908310611fd95760405162461bcd60e51b81526004018080602001828103825260228152602001806128f56022913960400191505060405180910390fd5b6000846000018481548110611fea57fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816120ab5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612070578181015183820152602001612058565b50505050905090810190601f16801561209d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b508460000160018203815481106120be57fe5b9060005260206000209060020201600101549150509392505050565b60006120ee846001600160a01b031661260d565b6120fa5750600161176c565b600060606001600160a01b0386167f150b7a02000000000000000000000000000000000000000000000000000000006121316118a4565b89888860405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612198578181015183820152602001612180565b50505050905090810190601f1680156121c55780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909a16999099178952518151919890975087965094509250829150849050835b6020831061225a5780518252601f19909201916020918201910161223b565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146122bc576040519150601f19603f3d011682016040523d82523d6000602084013e6122c1565b606091505b509150915081612312578051156122db5780518082602001fd5b60405162461bcd60e51b81526004018080602001828103825260328152602001806127946032913960400191505060405180910390fd5b600081806020019051602081101561232957600080fd5b50517fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a020000000000000000000000000000000000000000000000000000000014935061176c92505050565b60009081526001919091016020526040902054151590565b6000818152600183016020526040812054801561244e57835460001980830191908101906000908790839081106123c557fe5b90600052602060002001549050808760000184815481106123e257fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061241257fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610b38565b6000915050610b38565b6000612464838361237a565b61249a57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610b38565b506000610b38565b600082815260018401602052604081205480612507575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055611c26565b8285600001600183038154811061251a57fe5b9060005260206000209060020201600101819055506000915050611c26565b6000818152600183016020526040812054801561244e578354600019808301919081019060009087908390811061256c57fe5b906000526020600020906002020190508087600001848154811061258c57fe5b6000918252602080832084546002909302019182556001938401549184019190915583548252898301905260409020908401905586548790806125cb57fe5b6000828152602080822060026000199094019384020182815560019081018390559290935588815289820190925260408220919091559450610b389350505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061176c575050151592915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061268757805160ff19168380011785556126b4565b828001600101855582156126b4579182015b828111156126b4578251825591602001919060010190612699565b506126c092915061270b565b5090565b50805460018160011615610100020316600290046000825580601f106126ea5750612708565b601f016020900490600052602060002090810190612708919061270b565b50565b5b808211156126c0576000815560010161270c56fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64735045475a3a204120746f6b656e20696e20746869732064726f702068617320616c7265616479206265656e207472616e7366657265643b207468652064726f702063616e6e6f74206265206275726e65644552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e516d52473448756161664d3465616244683257723357436a38767374503675477369484e374a4343656378413270456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64735045475a3a20546869732044617a7a6c65722068617320616c7265616479206265656e207472616e73666572656420616e642063616e6e6f74206265206275726e65644552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a26469706673582212202269a34e65a198cfd9ebe783f3c618733386f80351d88a58d0999cfb45524ec064736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
-----Decoded View---------------
Arg [0] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Deployed Bytecode Sourcemap
1554:6011:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7125:140:0;;;;;;;;;;;;;;;;-1:-1:-1;7125:140:0;;;;:::i;:::-;;;;;;;;;;;;;;;;;;37130:90;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41798:209;;;;;;;;;;;;;;;;-1:-1:-1;41798:209:0;;:::i;:::-;;;;-1:-1:-1;;;;;41798:209:0;;;;;;;;;;;;;;41132:381;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;41132:381:0;;;;;;;;:::i;:::-;;6106:463:1;;;;;;;;;;;;;;;;-1:-1:-1;6106:463:1;;:::i;40012:200:0:-;;;:::i;:::-;;;;;;;;;;;;;;;;43517:300;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;43517:300:0;;;;;;;;;;;;;;;;;:::i;39707:152::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;39707:152:0;;;;;;;;:::i;44466:149::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;44466:149:0;;;;;;;;;;;;;;;;;:::i;5154:649:1:-;;;;;;;;;;;;;;;;-1:-1:-1;5154:649:1;;:::i;40550:161:0:-;;;;;;;;;;;;;;;;-1:-1:-1;40550:161:0;;:::i;36858:167::-;;;;;;;;;;;;;;;;-1:-1:-1;36858:167:0;;:::i;39246:87::-;;;:::i;36428:211::-;;;;;;;;;;;;;;;;-1:-1:-1;36428:211:0;-1:-1:-1;;;;;36428:211:0;;:::i;56283:145::-;;;:::i;3242:522:1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3242:522:1;;-1:-1:-1;3242:522:1;;-1:-1:-1;;;;;3242:522:1:i;55660:77:0:-;;;:::i;37329:94::-;;;:::i;42306:290::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;42306:290:0;;;;;;;;;;:::i;1776:43:1:-;;;;;;;;;;;;;;;;-1:-1:-1;1776:43:1;;:::i;45338:282:0:-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;45338:282:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45338:282:0;;-1:-1:-1;45338:282:0;;-1:-1:-1;;;;;45338:282:0:i;1494:55:1:-;;;;;;;;;;;;;;;;-1:-1:-1;1494:55:1;-1:-1:-1;;;;;1494:55:1;;:::i;6745:290::-;;;;;;;;;;;;;;;;-1:-1:-1;6745:290:1;;:::i;1606:35::-;;;:::i;4208:444::-;;;;;;;;;;;;;;;;-1:-1:-1;4208:444:1;;:::i;2552:164::-;;;:::i;2179:312::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;2179:312:1;;;;;;;;;;:::i;56577:240:0:-;;;;;;;;;;;;;;;;-1:-1:-1;56577:240:0;-1:-1:-1;;;;;56577:240:0;;:::i;7125:140::-;7225:33;;;7202:4;7225:33;;;:20;:33;;;;;;;;7125:140;;;;:::o;37130:90::-;37208:5;37201:12;;;;;;;;-1:-1:-1;;37201:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37176:13;;37201:12;;37208:5;;37201:12;;37208:5;37201:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37130:90;:::o;41798:209::-;41866:7;41893:16;41901:7;41893;:16::i;:::-;41885:73;;;;-1:-1:-1;;;41885:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41976:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;41976:24:0;;41798:209::o;41132:381::-;41212:13;41228:16;41236:7;41228;:16::i;:::-;41212:32;;41268:5;-1:-1:-1;;;;;41262:11:0;:2;-1:-1:-1;;;;;41262:11:0;;;41254:57;;;;-1:-1:-1;;;41254:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41346:5;-1:-1:-1;;;;;41330:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;41330:21:0;;:62;;;;41355:37;41372:5;41379:12;:10;:12::i;:::-;41355:16;:37::i;:::-;41322:152;;;;-1:-1:-1;;;41322:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41485:21;41494:2;41498:7;41485:8;:21::i;:::-;41132:381;;;:::o;6106:463:1:-;6173:13;6202:16;6210:7;6202;:16::i;:::-;6194:76;;;;-1:-1:-1;;;6194:76:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6325:3;6315:7;:13;6311:44;;;6337:18;;;;:9;:18;;;;;;;;;6330:25;;;;;;-1:-1:-1;;6330:25:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6337:18;;6330:25;;6337:18;6330:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6311:44;6362:14;6433:2;6425:7;:10;6421:113;;-1:-1:-1;6466:2:1;6458:10;;6421:113;;;-1:-1:-1;6526:1:1;6522:2;6509:10;;;6500:20;;6499:25;6498:29;6421:113;6547:17;;;;:9;:17;;;;;;;;;6540:24;;;;;;-1:-1:-1;;6540:24:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6547:17;;6540:24;;6547:17;6540:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6106:463;;;:::o;40012:200:0:-;40065:7;40184:21;:12;:19;:21::i;:::-;40177:28;;40012:200;:::o;43517:300::-;43676:41;43695:12;:10;:12::i;:::-;43709:7;43676:18;:41::i;:::-;43668:103;;;;-1:-1:-1;;;43668:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43782:28;43792:4;43798:2;43802:7;43782:9;:28::i;39707:152::-;-1:-1:-1;;;;;39822:20:0;;39796:7;39822:20;;;:13;:20;;;;;:30;;39846:5;39822:23;:30::i;:::-;39815:37;;39707:152;;;;;:::o;44466:149::-;44569:39;44586:4;44592:2;44596:7;44569:39;;;;;;;;;;;;:16;:39::i;5154:649:1:-;55874:12:0;:10;:12::i;:::-;55864:6;;-1:-1:-1;;;;;55864:6:0;;;:22;;;55856:67;;;;;-1:-1:-1;;;55856:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5249:1:1::1;5221:17:::0;;;:9:::1;:17;::::0;;;;5215:31;::::1;-1:-1:-1::0;;5215:31:1::1;;::::0;::::1;;;::::0;;;::::1;;5207:78;;;::::0;;-1:-1:-1;;;5207:78:1;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;5339:3;5330:6;:12;5326:443;;;5374:2;5367:9:::0;::::1;5400:7:::0;;;5385:197:::1;5413:5;5409:2;:9;5385:197;;5458:10;5443:11;5451:2:::0;5443:7:::1;:11::i;:::-;-1:-1:-1::0;;;;;5443:25:1::1;;5435:119;;;;-1:-1:-1::0;;;5435:119:1::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5564:9;5570:2;5564:5;:9::i;:::-;5420:4;;5385:197;;;;5326:443;;;;5659:10;5640:15;5648:6:::0;5640:7:::1;:15::i;:::-;-1:-1:-1::0;;;;;5640:29:1::1;;5632:109;;;;-1:-1:-1::0;;;5632:109:1::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5749:13;5755:6;5749:5;:13::i;:::-;5776:22;::::0;;::::1;::::0;;::::1;::::0;;;-1:-1:-1;5776:22:1;;;:17;;;:9:::1;:17:::0;;;;;;:22;;::::1;::::0;;::::1;:::i;:::-;;5154:649:::0;:::o;40550:161:0:-;40617:7;;40658:22;:12;40674:5;40658:15;:22::i;:::-;-1:-1:-1;40636:44:0;40550:161;-1:-1:-1;;;40550:161:0:o;36858:167::-;36922:7;36948:70;36965:7;36948:70;;;;;;;;;;;;;;;;;:12;;:70;:16;:70::i;39246:87::-;39318:8;39311:15;;;;;;;;-1:-1:-1;;39311:15:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39286:13;;39311:15;;39318:8;;39311:15;;39318:8;39311:15;;;;;;;;;;;;;;;;;;;;;;;;36428:211;36492:7;-1:-1:-1;;;;;36519:19:0;;36511:74;;;;-1:-1:-1;;;36511:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;36603:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;56283:145::-;55874:12;:10;:12::i;:::-;55864:6;;-1:-1:-1;;;;;55864:6:0;;;:22;;;55856:67;;;;;-1:-1:-1;;;55856:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56373:6:::1;::::0;56352:40:::1;::::0;56389:1:::1;::::0;-1:-1:-1;;;;;56373:6:0::1;::::0;56352:40:::1;::::0;56389:1;;56352:40:::1;56402:6;:19:::0;;;::::1;::::0;;56283:145::o;3242:522:1:-;55874:12:0;:10;:12::i;:::-;55864:6;;-1:-1:-1;;;;;55864:6:0;;;:22;;;55856:67;;;;;-1:-1:-1;;;55856:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3366:3:1::1;3357:6;:12;3353:372;;;3394:1;3386:6;:9;;:23;;;;;3407:2;3399:6;:10;;3386:23;3378:65;;;::::0;;-1:-1:-1;;;3378:65:1;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;3475:2;3468:9:::0;::::1;3501:7:::0;;;3486:80:::1;3514:5;3510:2;:9;3486:80;;3536:21;3542:10;3554:2;3536:5;:21::i;:::-;3521:4;;3486:80;;;;3353:372;;;;3632:3;3624:6;:11;;:26;;;;;3647:3;3639:6;:11;;3624:26;3616:68;;;::::0;;-1:-1:-1;;;3616:68:1;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;3693:25;3699:10;3711:6;3693:5;:25::i;:::-;3731:17;::::0;;;:9:::1;:17;::::0;;;;;;;:28;;::::1;::::0;;::::1;::::0;::::1;:::i;55660:77:0:-:0;55724:6;;-1:-1:-1;;;;;55724:6:0;55660:77;:::o;37329:94::-;37409:7;37402:14;;;;;;;;-1:-1:-1;;37402:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37377:13;;37402:14;;37409:7;;37402:14;;37409:7;37402:14;;;;;;;;;;;;;;;;;;;;;;;;42306:290;42420:12;:10;:12::i;:::-;-1:-1:-1;;;;;42408:24:0;:8;-1:-1:-1;;;;;42408:24:0;;;42400:62;;;;;-1:-1:-1;;;42400:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;42518:8;42473:18;:32;42492:12;:10;:12::i;:::-;-1:-1:-1;;;;;42473:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;42473:32:0;;;:42;;;;;;;;;;;;:53;;;;;;;;;;;;;;42556:12;:10;:12::i;:::-;-1:-1:-1;;;;;42541:48:0;;42580:8;42541:48;;;;;;;;;;;;;;;;;;;;42306:290;;:::o;1776:43:1:-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1776:43:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;45338:282:0:-;45469:41;45488:12;:10;:12::i;:::-;45502:7;45469:18;:41::i;:::-;45461:103;;;;-1:-1:-1;;;45461:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45574:39;45588:4;45594:2;45598:7;45607:5;45574:13;:39::i;:::-;45338:282;;;;:::o;1494:55:1:-;;;;;;;;;;;;;-1:-1:-1;;;;;1494:55:1;;:::o;6745:290::-;6810:13;6839:16;6847:7;6839;:16::i;:::-;6831:76;;;;-1:-1:-1;;;6831:76:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6945:9;:7;:9::i;:::-;6956:28;6976:7;6956:19;:28::i;:::-;6991;7011:7;6991:19;:28::i;:::-;6928:101;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6928:101:1;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6928:101:1;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6928:101:1;;;;;;;;;;;;;-1:-1:-1;;6928:101:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6928:101:1;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6928:101:1;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6928:101:1;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;6745:290:1:o;1606:35::-;;;-1:-1:-1;;;;;1606:35:1;;:::o;4208:444::-;4262:7;4286:17;;;:9;:17;;;;;4280:31;;-1:-1:-1;;4280:31:1;;;;;;;;;;;4276:51;;4318:9;;4276:51;4382:3;4373:6;:12;4369:262;;;4417:2;4410:9;;4443:7;;;4428:114;4456:5;4452:2;:9;4428:114;;4498:7;:5;:7::i;:::-;-1:-1:-1;;;;;4483:22:1;:11;4491:2;4483:7;:11::i;:::-;-1:-1:-1;;;;;4483:22:1;;;;;-1:-1:-1;4515:18:1;;-1:-1:-1;;4530:3:1;4523:10;;4515:18;4463:4;;4428:114;;;;4369:262;;;;4617:7;:5;:7::i;:::-;-1:-1:-1;;;;;4598:26:1;:15;4606:6;4598:7;:15::i;:::-;-1:-1:-1;;;;;4598:26:1;;;4593:31;;4369:262;4644:3;4208:444;;;:::o;2552:164::-;2598:13;2650:9;:7;:9::i;:::-;2633:77;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2633:77:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2619:92;;2552:164;:::o;2179:312::-;2324:20;;2363:28;;;;;;-1:-1:-1;;;;;2363:28:1;;;;;;;;;2268:4;;2324:20;;;2355:49;;;2324:20;;2363:21;;:28;;;;;;;;;;;;;;;2324:20;2363:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2363:28:1;-1:-1:-1;;;;;2355:49:1;;2351:83;;;2423:4;2416:11;;;;;2351:83;2447:39;2470:5;2477:8;2447:22;:39::i;:::-;2440:46;2179:312;-1:-1:-1;;;;2179:312:1:o;56577:240:0:-;55874:12;:10;:12::i;:::-;55864:6;;-1:-1:-1;;;;;55864:6:0;;;:22;;;55856:67;;;;;-1:-1:-1;;;55856:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;56665:22:0;::::1;56657:73;;;;-1:-1:-1::0;;;56657:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56766:6;::::0;56745:38:::1;::::0;-1:-1:-1;;;;;56745:38:0;;::::1;::::0;56766:6:::1;::::0;56745:38:::1;::::0;56766:6:::1;::::0;56745:38:::1;56793:6;:17:::0;;;::::1;-1:-1:-1::0;;;;;56793:17:0;;;::::1;::::0;;;::::1;::::0;;56577:240::o;46789:117::-;46846:4;46869:30;:12;46891:7;46869:21;:30::i;853:104::-;940:10;853:104;:::o;53813:155::-;53878:24;;;;:15;:24;;;;;:29;;;;-1:-1:-1;;;;;53878:29:0;;;;;;;;:24;;53931:16;53878:24;53931:7;:16::i;:::-;-1:-1:-1;;;;;53922:39:0;;;;;;;;;;;53813:155;;:::o;30540:121::-;30609:7;30635:19;30643:3;30635:7;:19::i;47267:329::-;47352:4;47376:16;47384:7;47376;:16::i;:::-;47368:73;;;;-1:-1:-1;;;47368:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47451:13;47467:16;47475:7;47467;:16::i;:::-;47451:32;;47512:5;-1:-1:-1;;;;;47501:16:0;:7;-1:-1:-1;;;;;47501:16:0;;:51;;;;47545:7;-1:-1:-1;;;;;47521:31:0;:20;47533:7;47521:11;:20::i;:::-;-1:-1:-1;;;;;47521:31:0;;47501:51;:87;;;;47556:32;47573:5;47580:7;47556:16;:32::i;50779:559::-;50896:4;-1:-1:-1;;;;;50876:24:0;:16;50884:7;50876;:16::i;:::-;-1:-1:-1;;;;;50876:24:0;;50868:78;;;;-1:-1:-1;;;50868:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;50964:16:0;;50956:65;;;;-1:-1:-1;;;50956:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51032:39;51053:4;51059:2;51063:7;51032:20;:39::i;:::-;51133:29;51150:1;51154:7;51133:8;:29::i;:::-;-1:-1:-1;;;;;51173:19:0;;;;;;:13;:19;;;;;:35;;51200:7;51173:26;:35::i;:::-;-1:-1:-1;;;;;;51218:17:0;;;;;;:13;:17;;;;;:30;;51240:7;51218:21;:30::i;:::-;-1:-1:-1;51259:29:0;:12;51276:7;51285:2;51259:16;:29::i;:::-;;51323:7;51319:2;-1:-1:-1;;;;;51304:27:0;51313:4;-1:-1:-1;;;;;51304:27:0;;;;;;;;;;;50779:559;;;:::o;23371:135::-;23442:7;23476:22;23480:3;23492:5;23476:3;:22::i;49900:502::-;49959:13;49975:16;49983:7;49975;:16::i;:::-;49959:32;;50002:48;50023:5;50038:1;50042:7;50002:20;:48::i;:::-;50088:29;50105:1;50109:7;50088:8;:29::i;:::-;50173:19;;;;:10;:19;;;;;50167:33;;-1:-1:-1;;50167:33:0;;;;;;;;;;;:38;50163:95;;50228:19;;;;:10;:19;;;;;50221:26;;;:::i;:::-;-1:-1:-1;;;;;50268:20:0;;;;;;:13;:20;;;;;:36;;50296:7;50268:27;:36::i;:::-;-1:-1:-1;50315:28:0;:12;50335:7;50315:19;:28::i;:::-;-1:-1:-1;50359:36:0;;50387:7;;50383:1;;-1:-1:-1;;;;;50359:36:0;;;;;50383:1;;50359:36;49900:502;;:::o;30989:224::-;31069:7;;;;31128:22;31132:3;31144:5;31128:3;:22::i;:::-;31097:53;;;;-1:-1:-1;30989:224:0;-1:-1:-1;;;;;30989:224:0:o;31632:202::-;31739:7;31781:44;31786:3;31806;31812:12;31781:4;:44::i;:::-;31773:53;-1:-1:-1;31632:202:0;;;;;;:::o;49326:393::-;-1:-1:-1;;;;;49405:16:0;;49397:61;;;;;-1:-1:-1;;;49397:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49477:16;49485:7;49477;:16::i;:::-;49476:17;49468:58;;;;;-1:-1:-1;;;49468:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;49537:45;49566:1;49570:2;49574:7;49537:20;:45::i;:::-;-1:-1:-1;;;;;49593:17:0;;;;;;:13;:17;;;;;:30;;49615:7;49593:21;:30::i;:::-;-1:-1:-1;49634:29:0;:12;49651:7;49660:2;49634:16;:29::i;:::-;-1:-1:-1;49679:33:0;;49704:7;;-1:-1:-1;;;;;49679:33:0;;;49696:1;;49679:33;;49696:1;;49679:33;49326:393;;:::o;46325:269::-;46438:28;46448:4;46454:2;46458:7;46438:9;:28::i;:::-;46484:48;46507:4;46513:2;46517:7;46526:5;46484:22;:48::i;:::-;46476:111;;;;-1:-1:-1;;;46476:111:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7103:460:1;7168:27;7209:11;7205:46;;-1:-1:-1;7232:10:1;;;;;;;;;;;;;;;;;;;7205:46;7267:6;7258;7297:56;7304:6;;7297:56;;7322:5;;7342:2;7337:7;;;;7297:56;;;7360:17;7390:3;7380:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7380:14:1;-1:-1:-1;7360:34:1;-1:-1:-1;;;7411:7:1;;7426:106;7433:11;;7426:106;;7495:2;7486:6;:11;7481:2;:16;7470:29;;7458:4;7463:3;;;;;;;7458:9;;;;;;;;;;;:41;;;;;;;;;;-1:-1:-1;7521:2:1;7511:12;;;;7426:106;;;-1:-1:-1;7553:4:1;7103:460;-1:-1:-1;;;;7103:460:1:o;42918:162:0:-;-1:-1:-1;;;;;43038:25:0;;;43015:4;43038:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;42918:162::o;30308:149::-;30392:4;30415:35;30425:3;30445;30415:9;:35::i;28000:108::-;28082:19;;28000:108::o;22486:135::-;22556:4;22579:35;22587:3;22607:5;22579:7;:35::i;22189:129::-;22256:4;22279:32;22284:3;22304:5;22279:4;:32::i;29756:174::-;29845:4;29868:55;29873:3;29893;-1:-1:-1;;;;;29907:14:0;;29868:4;:55::i;20145:201::-;20239:18;;20212:7;;20239:26;-1:-1:-1;20231:73:0;;;;-1:-1:-1;;;20231:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20321:3;:11;;20333:5;20321:18;;;;;;;;;;;;;;;;20314:25;;20145:201;;;;:::o;30089:140::-;30166:4;30189:33;30197:3;30217;30189:7;:33::i;28451:274::-;28554:19;;28518:7;;;;28554:27;-1:-1:-1;28546:74:0;;;;-1:-1:-1;;;28546:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28631:22;28656:3;:12;;28669:5;28656:19;;;;;;;;;;;;;;;;;;28631:44;;28693:5;:10;;;28705:5;:12;;;28685:33;;;;;28451:274;;;;;:::o;29132:315::-;29226:7;29264:17;;;:12;;;:17;;;;;;29314:12;29299:13;29291:36;;;;-1:-1:-1;;;29291:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29380:3;:12;;29404:1;29393:8;:12;29380:26;;;;;;;;;;;;;;;;;;:33;;;29373:40;;;29132:315;;;;;:::o;52757:1050::-;52877:4;52902:15;:2;-1:-1:-1;;;;;52902:13:0;;:15::i;:::-;52897:58;;-1:-1:-1;52940:4:0;52933:11;;52897:58;53024:12;53038:23;-1:-1:-1;;;;;53065:7:0;;53109:45;53168:12;:10;:12::i;:::-;53194:4;53212:7;53233:5;53073:175;;;;;;-1:-1:-1;;;;;53073:175:0;;;;;;-1:-1:-1;;;;;53073:175:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53073:175:0;;;-1:-1:-1;;53073:175:0;;;;;;;;;;;;;;;;;;;;;;;;;;53065:184;;;53073:175;;53065:184;;-1:-1:-1;53065:184:0;;-1:-1:-1;53073:175:0;-1:-1:-1;53065:184:0;-1:-1:-1;53065:184:0;;-1:-1:-1;53065:184:0;;-1:-1:-1;53073:175:0;53065:184;;;;;;;;;;-1:-1:-1;;53065:184:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53023:226;;;;53264:7;53259:542;;53291:17;;:21;53287:376;;53456:10;53450:17;53516:15;53503:10;53499:2;53495:19;53488:44;53405:145;53588:60;;-1:-1:-1;;;53588:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53259:542;53693:13;53720:10;53709:32;;;;;;;;;;;;;;;-1:-1:-1;53709:32:0;53763:26;;53773:16;53763:26;;-1:-1:-1;53755:35:0;;-1:-1:-1;;;53755:35:0;27787:123;27858:4;27881:17;;;:12;;;;;:17;;;;;;:22;;;27787:123::o;17905:1512::-;17971:4;18108:19;;;:12;;;:19;;;;;;18142:15;;18138:1273;;18571:18;;-1:-1:-1;;18523:14:0;;;;18571:22;;;;18499:21;;18571:3;;:22;;18853;;;;;;;;;;;;;;18833:42;;18996:9;18967:3;:11;;18979:13;18967:26;;;;;;;;;;;;;;;;;;;:38;;;;19071:23;;;19113:1;19071:12;;;:23;;;;;;19097:17;;;19071:43;;19220:17;;19071:3;;19220:17;;;;;;;;;;;;;;;;;;;;;;19312:3;:12;;:19;19325:5;19312:19;;;;;;;;;;;19305:26;;;19353:4;19346:11;;;;;;;;18138:1273;19395:5;19388:12;;;;;17333:404;17396:4;17417:21;17427:3;17432:5;17417:9;:21::i;:::-;17412:319;;-1:-1:-1;17454:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;17634:18;;17612:19;;;:12;;;:19;;;;;;:40;;;;17666:11;;17412:319;-1:-1:-1;17715:5:0;17708:12;;25345:678;25421:4;25554:17;;;:12;;;:17;;;;;;25586:13;25582:435;;-1:-1:-1;;25670:38:0;;;;;;;;;;;;;;;;;;25652:57;;;;;;;;:12;:57;;;;;;;;;;;;;;;;;;;;;;;;25864:19;;25844:17;;;:12;;;:17;;;;;;;:39;25897:11;;25582:435;25975:5;25939:3;:12;;25963:1;25952:8;:12;25939:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;26001:5;25994:12;;;;;26191:1517;26255:4;26388:17;;;:12;;;:17;;;;;;26420:13;;26416:1286;;26846:19;;-1:-1:-1;;26800:12:0;;;;26846:23;;;;26776:21;;26846:3;;:23;;27138;;;;;;;;;;;;;;;;27109:52;;27283:9;27253:3;:12;;27266:13;27253:27;;;;;;;;;;;;;;;;:39;;:27;;;;;:39;;;;;;;;;;;;;;;27371:14;;27358:28;;:12;;;:28;;;;;27389:17;;;27358:48;;27512:18;;27358:3;;27512:18;;;;;;;;;;;;;;-1:-1:-1;;27512:18:0;;;;;;;;;;;;;;;;;;;;;27605:17;;;:12;;;:17;;;;;;27598:24;;;;27512:18;-1:-1:-1;27637:11:0;;-1:-1:-1;;;;27637:11:0;13793:610;13853:4;14314:20;;14159:66;14353:23;;;;;;:42;;-1:-1:-1;;14380:15:0;;;14345:51;-1:-1:-1;;13793:610:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;;;
Swarm Source
ipfs://2269a34e65a198cfd9ebe783f3c618733386f80351d88a58d0999cfb45524ec0
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.