ERC-721
NFT
Overview
Max Total Supply
7,777 WLPS
Holders
1,971
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 WLPSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
WhelpsNFT
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ERC721Enumerable.sol"; import "./Context.sol"; import "./SafeMath.sol"; import "./EnumerableSet.sol"; import "./EnumerableMap.sol"; abstract 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 () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual 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"); _; } 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 WhelpsNFT is ERC721Enumerable, Ownable { using SafeMath for uint256; using Address for address; using EnumerableSet for EnumerableSet.UintSet; using EnumerableMap for EnumerableMap.UintToAddressMap; using Strings for uint256; address public _approvedContract = address(0); /** * @dev Returns the address of the current owner. */ function approvedContract() public view virtual returns (address) { return _approvedContract; } function setApprovedContract(address _contract) external onlyOwner { _approvedContract = _contract; } modifier onlyOwnerOrApprovedContract() { require(owner() == _msgSender() || approvedContract() == _msgSender(), "Caller is not the owner or the approved contract"); _; } event ActionBuy(address indexed _owner, uint256 _id, uint256 count); event ActionAward(address indexed _owner, uint256 _id, uint256 count); uint256 public constant MAX_NFT_SUPPLY = 7777; uint256 public constant MAX_AWARDED_MANUALLY = 275; uint256 public constant MAX_BOUGHT = 7502; uint256 public constant MAX_BUY_COUNT = 7; uint256 public constant NFT_PRICE = 0.0777 ether; uint256 public _totalAwardedManually = 0; uint256 public _totalBought = 0; uint256 public _mintIndex = 0; bool public saleStarted = false; uint256 public saleEndTimestamp; uint256 public constant SALE_DURATION = 604800; // 7*24*60*60 (timestamp) mapping (uint256 => uint256) public tokenIdToBirthBlockNumber; uint256 public constant NO_ODDS = 20; uint256 public constant EVOLUTION_BLOCK_COUNT = 8151; // 30*60*60/13.25 (block number between evolutions) uint8[20] public odds6 = [0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 5, 5]; uint8[20] public odds8 = [0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 6, 6, 7]; uint8[20] public odds10 = [0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 5, 5, 6, 7, 8, 9]; string[6] public namesBreed = ["inferno", "tidal", "gravestone", "zephyr", "trakkor", "ironlung"]; string[10] public namesBackground = ["bg0", "bg1", "bg2", "bg3", "bg4", "bg5", "bg6", "bg7", "bg8", "bg9"]; string[6] public namesPattern = ["nopattern", "stripes", "spots", "spirals", "prismatic", "xray"]; string[6] public namesMood = ["nomood", "bashful", "silly", "confused", "chill", "fierce"]; string[8] public namesBreath = ["nobreath", "flame", "icy", "electric", "poison", "darkness", "cosmic", "sonic"]; string[8] public namesHorns = ["nohorns", "long", "spiked", "webbed", "ram", "bone", "uni", "bull"]; string public baseURI = "https://whelpsio.herokuapp.com/api/"; string public ipfsBaseURI = "https://whelps.mypinata.cloud/ipfs/"; mapping (uint256 => string) public tokenTraitSummaryToIpfsHash; // 1 - force use computed name for all // 2 - use ipfs hash if available, fallback to computed name // 3 - force use ipfs hash for all uint256 public metadataSwitch = 1; bool public ipfsLocked = false; mapping (uint256 => bool) public ipfsLockPerToken; bool public switchLocked = false; uint256[] public blocks = [0]; uint256[] public blockhashHistory = [0]; uint256 public constant BLOCKHASH_MINIMUM_BLOCK_INTERVAL = 27; // 6*60/13.25 (at least 10 minutes between hashes added) function totalBlocks() public view returns (uint256) { return blocks.length; } function lastBlock() public view returns (uint256) { return blocks[blocks.length-1]; } function checkHash() public view returns (uint256) { return (block.number-1) - lastBlock(); } function externalRecordBlockhash() external { uint256 recordedBlock = block.number - 1; require(lastBlock().add(BLOCKHASH_MINIMUM_BLOCK_INTERVAL) <= recordedBlock); internalRecordBlockhash(recordedBlock); } function internalRecordBlockhash(uint256 recordedBlock) internal { blocks.push(recordedBlock); blockhashHistory.push(uint256(blockhash(recordedBlock))); } function binarySearchBlockIndex(uint256 val) public view returns (uint256) { uint256[] storage arr = blocks; uint256 maxlen = totalBlocks(); uint256 len; uint256 end = maxlen; uint256 begin = 0; uint256 mid; uint256 v; while (true) { len = end - begin; if (len == 0) { if (maxlen <= begin) return 0; else return begin; } mid = begin + len / 2; v = arr[mid]; if (val < v) end = mid; else if (val > v) begin = mid+1; else return mid; } return 0; } /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory __name, string memory __symbol) ERC721(__name, __symbol) {} function startSale() external onlyOwner { require(saleStarted == false, "Sale already started"); saleStarted = true; saleEndTimestamp = block.timestamp + SALE_DURATION; } // Metadata handlers function _baseURI() internal view override returns (string memory) { return baseURI; } function _ipfsBaseURI() internal view returns (string memory) { return ipfsBaseURI; } function setBaseUri(string memory _uri) external onlyOwner { baseURI = _uri; } function setIpfsBaseUri(string memory _uri) external onlyOwner { require(ipfsLocked == false); ipfsBaseURI = _uri; } function lockIpfsMetadata() external onlyOwner { require(ipfsLocked == false); ipfsLocked = true; } function setMetadataSwitch(uint256 _switch) external onlyOwner { if (switchLocked == true) { require (_switch > metadataSwitch); } require(_switch >= 1 && _switch <= 3); metadataSwitch = _switch; } function lockMetadataSwitch() external onlyOwner { require(switchLocked == false); switchLocked = true; } function setIpfsHash(uint256 traitSummary, string memory hash) external onlyOwnerOrApprovedContract { if (ipfsLocked == true) { require(bytes(tokenTraitSummaryToIpfsHash[traitSummary]).length == 0); } require(ipfsLockPerToken[traitSummary] == false); tokenTraitSummaryToIpfsHash[traitSummary] = hash; } function lockIpfsPerToken(uint256 traitSummary) external onlyOwnerOrApprovedContract { require(ipfsLockPerToken[traitSummary] == false); ipfsLockPerToken[traitSummary] = true; } function tokenURIComputedName(uint256 tokenId) public view returns (string memory) { uint256 blockNo0 = tokenIdToBirthBlockNumber[tokenId]; uint256 blockNo1 = blockNo0.add(EVOLUTION_BLOCK_COUNT); uint256 blockNo2 = blockNo1.add(EVOLUTION_BLOCK_COUNT); uint256 blockNo3 = blockNo2.add(EVOLUTION_BLOCK_COUNT); uint256 blockNo4 = blockNo3.add(EVOLUTION_BLOCK_COUNT); uint256 hash_0 = blockhashHistory[binarySearchBlockIndex(blockNo0)]; uint256 index_breed = (uint256(keccak256(abi.encodePacked(tokenId, hash_0))) % NO_ODDS); uint256 index_bg = (uint256(keccak256(abi.encodePacked(tokenId, hash_0, uint8(1)))) % NO_ODDS); uint256 index_pattern = (uint256(keccak256(abi.encodePacked(tokenId, blockhashHistory[binarySearchBlockIndex(blockNo1)]))) % NO_ODDS); uint256 index_mood = (uint256(keccak256(abi.encodePacked(tokenId, blockhashHistory[binarySearchBlockIndex(blockNo2)]))) % NO_ODDS); uint256 index_breath = (uint256(keccak256(abi.encodePacked(tokenId, blockhashHistory[binarySearchBlockIndex(blockNo3)]))) % NO_ODDS); uint256 index_horns = (uint256(keccak256(abi.encodePacked(tokenId, blockhashHistory[binarySearchBlockIndex(blockNo4)]))) % NO_ODDS); uint256 lastblock = lastBlock(); if (blockNo4 <= lastblock) { return string(abi.encodePacked( namesBreed[odds6[index_breed]], "-", namesBackground[odds10[index_bg]], "-", namesPattern[odds6[index_pattern]], "-", namesMood[odds6[index_mood]], "-", namesBreath[odds8[index_breath]], "-", namesHorns[odds8[index_horns]] )); } else if (blockNo3 <= lastblock) { return string(abi.encodePacked( namesBreed[odds6[index_breed]], "-", namesBackground[odds10[index_bg]], "-", namesPattern[odds6[index_pattern]], "-", namesMood[odds6[index_mood]], "-", namesBreath[odds8[index_breath]] )); } else if (blockNo2 <= lastblock) { return string(abi.encodePacked( namesBreed[odds6[index_breed]], "-", namesBackground[odds10[index_bg]], "-", namesPattern[odds6[index_pattern]], "-", namesMood[odds6[index_mood]] )); } else if (blockNo1 <= lastblock) { return string(abi.encodePacked( namesBreed[odds6[index_breed]], "-", namesBackground[odds10[index_bg]], "-", namesPattern[odds6[index_pattern]] )); } else { return string(abi.encodePacked( namesBreed[odds6[index_breed]], "-", namesBackground[odds10[index_bg]] )); } } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory base = _baseURI(); string memory ipfsBase = _ipfsBaseURI(); string memory computedName = tokenURIComputedName(tokenId); string memory ipfsHash = tokenTraitSummaryToIpfsHash[uint256(keccak256(bytes(computedName)))]; if (metadataSwitch == 1) { // force computed name return string(abi.encodePacked(base, computedName, "/", tokenId.toString())); } else if (metadataSwitch == 2) { // ipfs hash if available, fallback to computed name if (bytes(ipfsHash).length == 0) { return string(abi.encodePacked(base, computedName, "/", tokenId.toString())); } else { return string(abi.encodePacked(ipfsBase, ipfsHash)); } } else if (metadataSwitch == 3) { // force ipfs hash return string(abi.encodePacked(ipfsBase, ipfsHash)); } return ""; } // Minting function mint(address minter, uint256 count) private returns (uint256) { require(_mintIndex.add(count) <= MAX_NFT_SUPPLY, "Mint limit exceeded"); require(minter != address(0), "Minter address error"); require(count > 0, "Count can't be 0"); uint256 initial = _mintIndex; for (uint256 i = 0; i < count; i++) { require(!_exists(_mintIndex), "Token already minted"); _mint(minter, _mintIndex); tokenIdToBirthBlockNumber[_mintIndex] = block.number - 1; _mintIndex++; } if (lastBlock() < block.number - 1) { internalRecordBlockhash(block.number - 1); } return initial; } // Award for free function awardFree(address minter, uint256 count) external onlyOwnerOrApprovedContract returns (uint256) { require(_totalAwardedManually.add(count) <= MAX_AWARDED_MANUALLY, "Award limit exceeded"); _totalAwardedManually = _totalAwardedManually.add(count); uint256 initial = mint(minter, count); emit ActionAward(msg.sender, initial, count); return initial; } // Buy new function buy(uint256 count) external payable returns (uint256) { require(saleStarted && block.timestamp <= saleEndTimestamp, "Sale not started or already ended"); require(_totalBought.add(count) <= MAX_BOUGHT, "Buy limit exceeded"); require(count <= MAX_BUY_COUNT, "Count too big"); require(msg.value == count.mul(NFT_PRICE), "Ether value sent is not correct"); _totalBought = _totalBought.add(count); uint256 initial = mint(msg.sender, count); emit ActionBuy(msg.sender, initial, count); return initial; } /** * @dev Withdraw ether from this contract (Callable by owner) */ function withdraw() external onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @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) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // 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"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./EnumerableSet.sol"; /** * @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 { using EnumerableSet for EnumerableSet.Bytes32Set; // 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 Map { // Storage of keys EnumerableSet.Bytes32Set _keys; mapping (bytes32 => bytes32) _values; } /** * @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) { map._values[key] = value; return map._keys.add(key); } /** * @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) { delete map._values[key]; return map._keys.remove(key); } /** * @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._keys.contains(key); } /** * @dev Returns the number of key-value pairs in the map. O(1). */ function _length(Map storage map) private view returns (uint256) { return map._keys.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) { bytes32 key = map._keys.at(index); return (key, map._values[key]); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. */ function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) { bytes32 value = map._values[key]; if (value == bytes32(0)) { return (_contains(map, key), bytes32(0)); } else { return (true, 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) { bytes32 value = map._values[key]; require(value != 0 || _contains(map, key), "EnumerableMap: nonexistent key"); return value; } /** * @dev Same as {_get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {_tryGet}. */ function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) { bytes32 value = map._values[key]; require(value != 0 || _contains(map, key), errorMessage); return value; } // 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(uint160(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(uint160(uint256(value)))); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. * * _Available since v3.4._ */ function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) { (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key)); return (success, address(uint160(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(uint160(uint256(_get(map._inner, bytes32(key))))); } /** * @dev Same as {get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryGet}. */ function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) { return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage)))); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `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] = valueIndex; // Replace lastvalue's index to valueIndex // 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]; } // Bytes32Set struct Bytes32Set { 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(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, 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(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set 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(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, 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(uint160(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(uint160(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(uint160(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(uint160(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)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./IERC721Metadata.sol"; import "./Address.sol"; import "./Context.sol"; import "./Strings.sol"; import "./ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping (uint256 => address) private _owners; // Mapping owner address to token count mapping (address => uint256) private _balances; // Mapping from token ID to approved address mapping (uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping (address => mapping (address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor (string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden * in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require(_msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ 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 See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual { _mint(to, tokenId); require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer(address from, address to, uint256 tokenId) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer 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); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { // solhint-disable-next-line no-inline-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * 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 { } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @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` cannot be the zero address. * - `to` cannot be the zero address. * * 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 override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // 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 (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @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) { return a + b; } /** * @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 a - b; } /** * @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) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting 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 a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards 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). * * 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) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * 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) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant alphabet = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = alphabet[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"__name","type":"string"},{"internalType":"string","name":"__symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"_id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"count","type":"uint256"}],"name":"ActionAward","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"_id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"count","type":"uint256"}],"name":"ActionBuy","type":"event"},{"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":[],"name":"BLOCKHASH_MINIMUM_BLOCK_INTERVAL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EVOLUTION_BLOCK_COUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_AWARDED_MANUALLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_BOUGHT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_BUY_COUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_NFT_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NFT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NO_ODDS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SALE_DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_approvedContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_mintIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_totalAwardedManually","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_totalBought","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"approvedContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"awardFree","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"val","type":"uint256"}],"name":"binarySearchBlockIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"blockhashHistory","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"blocks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"buy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"checkHash","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"externalRecordBlockhash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ipfsBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"ipfsLockPerToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ipfsLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockIpfsMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"traitSummary","type":"uint256"}],"name":"lockIpfsPerToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lockMetadataSwitch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"metadataSwitch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"namesBackground","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"namesBreath","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"namesBreed","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"namesHorns","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"namesMood","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"namesPattern","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"odds10","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"odds6","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"odds8","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"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":"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":[],"name":"saleEndTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"setApprovedContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setIpfsBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"traitSummary","type":"uint256"},{"internalType":"string","name":"hash","type":"string"}],"name":"setIpfsHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_switch","type":"uint256"}],"name":"setMetadataSwitch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSale","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":"switchLocked","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":"uint256","name":"","type":"uint256"}],"name":"tokenIdToBirthBlockNumber","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":"","type":"uint256"}],"name":"tokenTraitSummaryToIpfsHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURIComputedName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBlocks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
600b80546001600160a01b03191690556000600c819055600d819055600e819055600f805460ff19169055610300604052608081815260a082905260c082905260e09190915260016101008190526101208190526101408190526101605260026101808190526101a08190526101c08190526101e05260036102008190526102208190526102408190526102605260046102808190526102a05260056102c08190526102e052620000b5906012906014620009a1565b506040805161028081018252600080825260208201819052918101919091526001606082018190526080820181905260a0820152600260c0820181905260e08201819052610100820152600361012082018190526101408201819052610160820152600461018082018190526101a082018190526101c082015260056101e0820181905261020082015260066102208201819052610240820152600761026082015262000167906013906014620009a1565b506040805161028081018252600080825260208201819052918101919091526001606082018190526080820181905260a0820152600260c0820181905260e08201819052610100820152600361012082018190526101408201819052610160820152600461018082018190526101a082015260056101c082018190526101e08201526006610200820152600761022082015260086102408201526009610260820152620002189060149081620009a1565b506040518060c0016040528060405180604001604052806007815260200166696e6665726e6f60c81b8152508152602001604051806040016040528060058152602001641d1a59185b60da1b81525081526020016040518060400160405280600a815260200169677261766573746f6e6560b01b8152508152602001604051806040016040528060068152602001653d32b8343cb960d11b8152508152602001604051806040016040528060078152602001663a3930b5b5b7b960c91b81525081526020016040518060400160405280600881526020016769726f6e6c756e6760c01b81525081525060159060066200031392919062000a3b565b506040805161018081018252600361014082018181526206267360ec1b6101608401528252825180840184528181526262673160e81b60208281019190915280840191909152835180850185528281526231339960e91b8183015283850152835180850185528281526262673360e81b81830152606084015283518085018552828152621899cd60ea1b818301526080840152835180850185528281526262673560e81b8183015260a0840152835180850185528281526231339b60e91b8183015260c0840152835180850185528281526262673760e81b8183015260e084015283518085018552828152620c4ce760eb1b8183015261010084015283518085019094529083526262673960e81b908301526101208101919091526200043e90601b90600a62000a8e565b506040805161010081018252600960c08201818152683737b830ba3a32b93760b91b60e08401528252825180840184526007808252667374726970657360c81b6020838101919091528085019290925284518086018652600581526473706f747360d81b8184015284860152845180860186529081526673706972616c7360c81b8183015260608401528351808501855291825268707269736d6174696360b81b828201526080830191909152825180840190935260048352637872617960e01b9083015260a08101919091526200051b90602590600662000a3b565b506040805161010081018252600660c08201818152651b9bdb5bdbd960d21b60e0840152825282518084018452600781526618985cda199d5b60ca1b602082810191909152808401919091528351808501855260058082526473696c6c7960d81b828401528486019190915284518086018652600881526718dbdb999d5cd95960c21b818401526060850152845180860186529081526418da1a5b1b60da1b81830152608084015283518085019094528184526566696572636560d01b9084015260a0820192909252620005f391602b919062000a3b565b50604080516101408101825260086101008201818152670dcdec4e4cac2e8d60c31b610120840152825282518084018452600580825264666c616d6560d81b6020838101919091528085019290925284518086018652600381526269637960e81b81840152848601528451808601865283815267656c65637472696360c01b818401526060850152845180860186526006808252653837b4b9b7b760d11b82850152608086019190915285518087018752848152676461726b6e65737360c01b8185015260a08601528551808701875290815265636f736d696360d01b8184015260c08501528451808601909552845264736f6e696360d81b9084015260e082019290925262000707916031919062000ad3565b50604080516101408101825260076101008201908152666e6f686f726e7360c81b6101208301528152815180830183526004808252636c6f6e6760e01b60208381019190915280840192909252835180850185526006808252651cdc1a5ad95960d21b828501528486019190915284518086018652908152651dd95898995960d21b8184015260608401528351808501855260038082526272616d60e81b8285015260808501919091528451808601865282815263626f6e6560e01b8185015260a08501528451808601865290815262756e6960e81b8184015260c08401528351808501909452835263189d5b1b60e21b9083015260e08101919091526200081490603990600862000ad3565b5060405180606001604052806023815260200162004c7c602391398051620008459160419160209091019062000b18565b5060405180606001604052806023815260200162004c59602391398051620008769160429160209091019062000b18565b50600160448190556045805460ff19908116909155604780549091169055604080516020810190915260008152620008b2916048919062000b95565b50604080516020810190915260008152620008d290604990600162000b95565b50348015620008e057600080fd5b5060405162004c9f38038062004c9f833981016040819052620009039162000d05565b8151829082906200091c90600090602085019062000b18565b5080516200093290600190602084019062000b18565b5050506000620009476200099d60201b60201c565b600a80546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350505062000dbf565b3390565b60018301918390821562000a295791602002820160005b83821115620009f857835183826101000a81548160ff021916908360ff1602179055509260200192600101602081600001049283019260010302620009b8565b801562000a275782816101000a81549060ff0219169055600101602081600001049283019260010302620009f8565b505b5062000a3792915062000bd8565b5090565b826006810192821562000a80579160200282015b8281111562000a80578251805162000a6f91849160209091019062000b18565b509160200191906001019062000a4f565b5062000a3792915062000bef565b82600a810192821562000a80579160200282015b8281111562000a80578251805162000ac291849160209091019062000b18565b509160200191906001019062000aa2565b826008810192821562000a80579160200282015b8281111562000a80578251805162000b0791849160209091019062000b18565b509160200191906001019062000ae7565b82805462000b269062000d6c565b90600052602060002090601f01602090048101928262000b4a576000855562000a29565b82601f1062000b6557805160ff191683800117855562000a29565b8280016001018555821562000a29579182015b8281111562000a2957825182559160200191906001019062000b78565b82805482825590600052602060002090810192821562000a29579160200282015b8281111562000a29578251829060ff1690559160200191906001019062000bb6565b5b8082111562000a37576000815560010162000bd9565b8082111562000a3757600062000c06828262000c10565b5060010162000bef565b50805462000c1e9062000d6c565b6000825580601f1062000c2f575050565b601f01602090049060005260206000209081019062000c4f919062000bd8565b50565b600082601f83011262000c63578081fd5b81516001600160401b038082111562000c805762000c8062000da9565b604051601f8301601f19908116603f0116810190828211818310171562000cab5762000cab62000da9565b8160405283815260209250868385880101111562000cc7578485fd5b8491505b8382101562000cea578582018301518183018401529082019062000ccb565b8382111562000cfb57848385830101525b9695505050505050565b6000806040838503121562000d18578182fd5b82516001600160401b038082111562000d2f578384fd5b62000d3d8683870162000c52565b9350602085015191508082111562000d53578283fd5b5062000d628582860162000c52565b9150509250929050565b600181811c9082168062000d8157607f821691505b6020821081141562000da357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b613e8a8062000dcf6000396000f3fe6080604052600436106104105760003560e01c80636c0360eb1161021e578063b35fbf7411610123578063d410470d116100ab578063f0fb21b01161007a578063f0fb21b014610bd1578063f25b3f9914610be6578063f2fde38b14610c06578063facbf93b14610c26578063fe288c7214610c3b57600080fd5b8063d410470d14610b35578063d96a094a14610b55578063e985e9c514610b68578063ee66b9f614610bb157600080fd5b8063c2408cb8116100f2578063c2408cb814610ab5578063c68deb7e14610ad5578063c87b56dd14610aeb578063c93bd20d14610b0b578063cda8c90f14610b2057600080fd5b8063b35fbf7414610a3a578063b5077f4414610a6a578063b66a0e5d14610a80578063b88d4fde14610a9557600080fd5b80638da5cb5b116101a657806397afb6f41161017557806397afb6f4146109a45780639c0dbc48146109ba578063a0bcfc7f146109da578063a22cb465146109fa578063ac919dc014610a1a57600080fd5b80638da5cb5b14610945578063949de4461461096357806395d89b4114610979578063973f44b51461098e57600080fd5b80637589d5bb116101ed5780637589d5bb146108b2578063806b984f146108e4578063831a460f146108f95780638a09a97b146109195780638d0d303a1461092f57600080fd5b80636c0360eb146108465780636d79207c1461085b5780636efe17e11461087257806370a082311461089257600080fd5b80632f745c59116103245780634bf2040d116102ac5780636352211e1161027b5780636352211e146107ba578063676dd563146107da578063691390a1146107f657806369242dc61461080c57806369362fb11461082c57600080fd5b80634bf2040d1461073d5780634f6ccce7146107535780635c474f9e146107735780636310b1291461078d57600080fd5b80634032d9a0116102f35780634032d9a0146106a857806341220706146106bd57806342842e0e146106dd578063441482b1146106fd57806344aab0431461071d57600080fd5b80632f745c5914610633578063314f27a71461065357806338cdbddd146106735780633ccfd60b1461069357600080fd5b8063123ac9a9116103a75780631fb3060f116103765780631fb3060f1461059e57806323b872dd146105be578063243f1ee1146105de5780632675f766146105f357806328fa03d31461061357600080fd5b8063123ac9a91461053557806318160ddd1461054a57806319483cd114610569578063198c92d01461057e57600080fd5b8063081812fc116103e3578063081812fc146104a3578063095ea7b3146104db5780630ac469b8146104fb5780630af90ea61461051b57600080fd5b806301ffc9a7146104155780630385c0de1461044a57806305bac2d41461046c57806306fdde0314610481575b600080fd5b34801561042157600080fd5b506104356104303660046137fc565b610c59565b60405190151581526020015b60405180910390f35b34801561045657600080fd5b5061046a61046536600461387f565b610c84565b005b34801561047857600080fd5b5061046a610d41565b34801561048d57600080fd5b50610496610d7b565b6040516104419190613bc9565b3480156104af57600080fd5b506104c36104be366004613867565b610e0d565b6040516001600160a01b039091168152602001610441565b3480156104e757600080fd5b5061046a6104f63660046137d3565b610ea2565b34801561050757600080fd5b50610496610516366004613867565b610fb3565b34801561052757600080fd5b506045546104359060ff1681565b34801561054157600080fd5b5061046a611053565b34801561055657600080fd5b506008545b604051908152602001610441565b34801561057557600080fd5b5061055b61109c565b34801561058a57600080fd5b50610496610599366004613867565b6110c0565b3480156105aa57600080fd5b5061046a6105b9366004613834565b6110d0565b3480156105ca57600080fd5b5061046a6105d93660046136e5565b611121565b3480156105ea57600080fd5b5061055b601481565b3480156105ff57600080fd5b5061049661060e366004613867565b611152565b34801561061f57600080fd5b5061055b61062e366004613867565b611162565b34801561063f57600080fd5b5061055b61064e3660046137d3565b611227565b34801561065f57600080fd5b5061055b61066e366004613867565b6112bd565b34801561067f57600080fd5b5061046a61068e366004613867565b6112de565b34801561069f57600080fd5b5061046a611346565b3480156106b457600080fd5b5061055b600781565b3480156106c957600080fd5b506104966106d8366004613867565b61139f565b3480156106e957600080fd5b5061046a6106f83660046136e5565b611e1b565b34801561070957600080fd5b50610496610718366004613867565b611e36565b34801561072957600080fd5b50610496610738366004613867565b611e46565b34801561074957600080fd5b5061055b600e5481565b34801561075f57600080fd5b5061055b61076e366004613867565b611e56565b34801561077f57600080fd5b50600f546104359060ff1681565b34801561079957600080fd5b5061055b6107a8366004613867565b60116020526000908152604090205481565b3480156107c657600080fd5b506104c36107d5366004613867565b611ef7565b3480156107e657600080fd5b5061055b6701140bbd030c400081565b34801561080257600080fd5b5061055b611fd781565b34801561081857600080fd5b5061046a610827366004613699565b611f6e565b34801561083857600080fd5b506047546104359060ff1681565b34801561085257600080fd5b50610496611fba565b34801561086757600080fd5b5061055b62093a8081565b34801561087e57600080fd5b5061049661088d366004613867565b611fc7565b34801561089e57600080fd5b5061055b6108ad366004613699565b611fd7565b3480156108be57600080fd5b506108d26108cd366004613867565b61205e565b60405160ff9091168152602001610441565b3480156108f057600080fd5b5061055b612088565b34801561090557600080fd5b5061046a610914366004613867565b6120ca565b34801561092557600080fd5b5061055b611d4e81565b34801561093b57600080fd5b5061055b61011381565b34801561095157600080fd5b50600a546001600160a01b03166104c3565b34801561096f57600080fd5b5061055b60445481565b34801561098557600080fd5b50610496612140565b34801561099a57600080fd5b5061055b600c5481565b3480156109b057600080fd5b5061055b600d5481565b3480156109c657600080fd5b50600b546104c3906001600160a01b031681565b3480156109e657600080fd5b5061046a6109f5366004613834565b61214f565b348015610a0657600080fd5b5061046a610a15366004613799565b61218c565b348015610a2657600080fd5b50610496610a35366004613867565b612251565b348015610a4657600080fd5b50610435610a55366004613867565b60466020526000908152604090205460ff1681565b348015610a7657600080fd5b5061055b611e6181565b348015610a8c57600080fd5b5061046a61226a565b348015610aa157600080fd5b5061046a610ab0366004613720565b6122fd565b348015610ac157600080fd5b506108d2610ad0366004613867565b612335565b348015610ae157600080fd5b5061055b60105481565b348015610af757600080fd5b50610496610b06366004613867565b612345565b348015610b1757600080fd5b5061055b601b81565b348015610b2c57600080fd5b5061046a61253d565b348015610b4157600080fd5b506108d2610b50366004613867565b612586565b61055b610b63366004613867565b612596565b348015610b7457600080fd5b50610435610b833660046136b3565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610bbd57600080fd5b5061055b610bcc3660046137d3565b612758565b348015610bdd57600080fd5b50610496612851565b348015610bf257600080fd5b5061055b610c01366004613867565b61285e565b348015610c1257600080fd5b5061046a610c21366004613699565b61286e565b348015610c3257600080fd5b5060485461055b565b348015610c4757600080fd5b50600b546001600160a01b03166104c3565b60006001600160e01b0319821663780e9d6360e01b1480610c7e5750610c7e82612959565b92915050565b600a546001600160a01b0316331480610ca75750600b546001600160a01b031633145b610ccc5760405162461bcd60e51b8152600401610cc390613c2e565b60405180910390fd5b60455460ff16151560011415610d015760008281526043602052604090208054610cf590613d92565b159050610d0157600080fd5b60008281526046602052604090205460ff1615610d1d57600080fd5b60008281526043602090815260409091208251610d3c9284019061354f565b505050565b6000610d4e600143613d4f565b905080610d64601b610d5e612088565b906129a9565b1115610d6f57600080fd5b610d78816129bc565b50565b606060008054610d8a90613d92565b80601f0160208091040260200160405190810160405280929190818152602001828054610db690613d92565b8015610e035780601f10610dd857610100808354040283529160200191610e03565b820191906000526020600020905b815481529060010190602001808311610de657829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610e865760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610cc3565b506000908152600460205260409020546001600160a01b031690565b6000610ead82611ef7565b9050806001600160a01b0316836001600160a01b03161415610f1b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610cc3565b336001600160a01b0382161480610f375750610f378133610b83565b610fa95760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610cc3565b610d3c8383612a22565b60158160068110610fc357600080fd5b018054909150610fd290613d92565b80601f0160208091040260200160405190810160405280929190818152602001828054610ffe90613d92565b801561104b5780601f106110205761010080835404028352916020019161104b565b820191906000526020600020905b81548152906001019060200180831161102e57829003601f168201915b505050505081565b600a546001600160a01b0316331461107d5760405162461bcd60e51b8152600401610cc390613c7e565b60455460ff161561108d57600080fd5b6045805460ff19166001179055565b60006110a6612088565b6110b1600143613d4f565b6110bb9190613d4f565b905090565b60258160068110610fc357600080fd5b600a546001600160a01b031633146110fa5760405162461bcd60e51b8152600401610cc390613c7e565b60455460ff161561110a57600080fd5b805161111d90604290602084019061354f565b5050565b61112b3382612a90565b6111475760405162461bcd60e51b8152600401610cc390613cb3565b610d3c838383612b87565b60318160088110610fc357600080fd5b600060488161117060485490565b90506000818180805b6111838385613d4f565b9450846111ad578286116111a05750600098975050505050505050565b5090979650505050505050565b6111b8600286613d1c565b6111c29084613d04565b91508682815481106111e457634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508089101561120157819350611179565b8089111561121b57611214826001613d04565b9250611179565b50979650505050505050565b600061123283611fd7565b82106112945760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610cc3565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b604981815481106112cd57600080fd5b600091825260209091200154905081565b600a546001600160a01b031633146113085760405162461bcd60e51b8152600401610cc390613c7e565b60475460ff1615156001141561132657604454811161132657600080fd5b60018110158015611338575060038111155b61134157600080fd5b604455565b600a546001600160a01b031633146113705760405162461bcd60e51b8152600401610cc390613c7e565b6040514790339082156108fc029083906000818181858888f1935050505015801561111d573d6000803e3d6000fd5b6000818152601160205260408120546060916113bd82611fd76129a9565b905060006113cd82611fd76129a9565b905060006113dd82611fd76129a9565b905060006113ed82611fd76129a9565b9050600060496113fc87611162565b8154811061141a57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050600060148983604051602001611447929190918252602082015260400190565b6040516020818303038152906040528051906020012060001c61146a9190613de8565b6040805160208082018d9052818301869052600160f81b606083015282516041818403018152606190920190925280519101209091506000906114af90601490613de8565b9050600060148b60496114c18b611162565b815481106114df57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154604051602001611504929190918252602082015260400190565b6040516020818303038152906040528051906020012060001c6115279190613de8565b9050600060148c60496115398b611162565b8154811061155757634e487b7160e01b600052603260045260246000fd5b906000526020600020015460405160200161157c929190918252602082015260400190565b6040516020818303038152906040528051906020012060001c61159f9190613de8565b9050600060148d60496115b18b611162565b815481106115cf57634e487b7160e01b600052603260045260246000fd5b90600052602060002001546040516020016115f4929190918252602082015260400190565b6040516020818303038152906040528051906020012060001c6116179190613de8565b9050600060148e60496116298b611162565b8154811061164757634e487b7160e01b600052603260045260246000fd5b906000526020600020015460405160200161166c929190918252602082015260400190565b6040516020818303038152906040528051906020012060001c61168f9190613de8565b9050600061169b612088565b90508089116118ec576015601288601481106116c757634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a900416600681106116fb57634e487b7160e01b600052603260045260246000fd5b01601b6014886014811061171f57634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a900416600a811061175357634e487b7160e01b600052603260045260246000fd5b0160256012886014811061177757634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a900416600681106117ab57634e487b7160e01b600052603260045260246000fd5b01602b601288601481106117cf57634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a9004166006811061180357634e487b7160e01b600052603260045260246000fd5b0160316013886014811061182757634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a9004166008811061185b57634e487b7160e01b600052603260045260246000fd5b0160396013886014811061187f57634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a900416600881106118b357634e487b7160e01b600052603260045260246000fd5b016040516020016118c996959493929190613b20565b6040516020818303038152906040529d5050505050505050505050505050919050565b808a11611abf5760156012886014811061191657634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a9004166006811061194a57634e487b7160e01b600052603260045260246000fd5b01601b6014886014811061196e57634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a900416600a81106119a257634e487b7160e01b600052603260045260246000fd5b016025601288601481106119c657634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a900416600681106119fa57634e487b7160e01b600052603260045260246000fd5b01602b60128860148110611a1e57634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a90041660068110611a5257634e487b7160e01b600052603260045260246000fd5b01603160138860148110611a7657634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a90041660088110611aaa57634e487b7160e01b600052603260045260246000fd5b016040516020016118c9959493929190613abd565b808b11611c3957601560128860148110611ae957634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a90041660068110611b1d57634e487b7160e01b600052603260045260246000fd5b01601b60148860148110611b4157634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a900416600a8110611b7557634e487b7160e01b600052603260045260246000fd5b01602560128860148110611b9957634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a90041660068110611bcd57634e487b7160e01b600052603260045260246000fd5b01602b60128860148110611bf157634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a90041660068110611c2557634e487b7160e01b600052603260045260246000fd5b016040516020016118c99493929190613a6d565b808c11611d5a57601560128860148110611c6357634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a90041660068110611c9757634e487b7160e01b600052603260045260246000fd5b01601b60148860148110611cbb57634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a900416600a8110611cef57634e487b7160e01b600052603260045260246000fd5b01602560128860148110611d1357634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a90041660068110611d4757634e487b7160e01b600052603260045260246000fd5b016040516020016118c993929190613a30565b601560128860148110611d7d57634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a90041660068110611db157634e487b7160e01b600052603260045260246000fd5b01601b60148860148110611dd557634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a900416600a8110611e0957634e487b7160e01b600052603260045260246000fd5b016040516020016118c9929190613a07565b610d3c838383604051806020016040528060008152506122fd565b60398160088110610fc357600080fd5b602b8160068110610fc357600080fd5b6000611e6160085490565b8210611ec45760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610cc3565b60088281548110611ee557634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b031680610c7e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610cc3565b600a546001600160a01b03163314611f985760405162461bcd60e51b8152600401610cc390613c7e565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b60418054610fd290613d92565b601b81600a8110610fc357600080fd5b60006001600160a01b0382166120425760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610cc3565b506001600160a01b031660009081526003602052604090205490565b6013816014811061206e57600080fd5b60209182820401919006915054906101000a900460ff1681565b604880546000919061209c90600190613d4f565b815481106120ba57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905090565b600a546001600160a01b03163314806120ed5750600b546001600160a01b031633145b6121095760405162461bcd60e51b8152600401610cc390613c2e565b60008181526046602052604090205460ff161561212557600080fd5b6000908152604660205260409020805460ff19166001179055565b606060018054610d8a90613d92565b600a546001600160a01b031633146121795760405162461bcd60e51b8152600401610cc390613c7e565b805161111d90604190602084019061354f565b6001600160a01b0382163314156121e55760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610cc3565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60436020526000908152604090208054610fd290613d92565b600a546001600160a01b031633146122945760405162461bcd60e51b8152600401610cc390613c7e565b600f5460ff16156122de5760405162461bcd60e51b815260206004820152601460248201527314d85b1948185b1c9958591e481cdd185c9d195960621b6044820152606401610cc3565b600f805460ff191660011790556122f862093a8042613d04565b601055565b6123073383612a90565b6123235760405162461bcd60e51b8152600401610cc390613cb3565b61232f84848484612d32565b50505050565b6012816014811061206e57600080fd5b6000818152600260205260409020546060906001600160a01b03166123c65760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b6064820152608401610cc3565b60006123d0612d65565b905060006123dc612d74565b905060006123e98561139f565b9050600060436000838051906020012060001c8152602001908152602001600020805461241590613d92565b80601f016020809104026020016040519081016040528092919081815260200182805461244190613d92565b801561248e5780601f106124635761010080835404028352916020019161248e565b820191906000526020600020905b81548152906001019060200180831161247157829003601f168201915b50505050509050604454600114156124d75783826124ab88612d83565b6040516020016124bd939291906139b7565b604051602081830303815290604052945050505050919050565b604454600214156125065780516124f35783826124ab88612d83565b82816040516020016124bd929190613988565b604454600314156125245782816040516020016124bd929190613988565b5050604080516020810190915260008152949350505050565b600a546001600160a01b031633146125675760405162461bcd60e51b8152600401610cc390613c7e565b60475460ff161561257757600080fd5b6047805460ff19166001179055565b6014816014811061206e57600080fd5b600f5460009060ff1680156125ad57506010544211155b6126035760405162461bcd60e51b815260206004820152602160248201527f53616c65206e6f742073746172746564206f7220616c726561647920656e64656044820152601960fa1b6064820152608401610cc3565b600d54611d4e9061261490846129a9565b11156126575760405162461bcd60e51b8152602060048201526012602482015271109d5e481b1a5b5a5d08195e18d95959195960721b6044820152606401610cc3565b60078211156126985760405162461bcd60e51b815260206004820152600d60248201526c436f756e7420746f6f2062696760981b6044820152606401610cc3565b6126aa826701140bbd030c4000612e9d565b34146126f85760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610cc3565b600d5461270590836129a9565b600d5560006127143384612ea9565b604080518281526020810186905291925033917f24db38d2bad7c47bb974527eeea5ed5222d8f62c51d7d8e122062771e27a34fe910160405180910390a292915050565b600a546000906001600160a01b031633148061277e5750600b546001600160a01b031633145b61279a5760405162461bcd60e51b8152600401610cc390613c2e565b600c54610113906127ab90846129a9565b11156127f05760405162461bcd60e51b8152602060048201526014602482015273105dd85c99081b1a5b5a5d08195e18d95959195960621b6044820152606401610cc3565b600c546127fd90836129a9565b600c55600061280c8484612ea9565b604080518281526020810186905291925033917faf0ac0de2a63239fd0ce3b5e65a46b0959f1ab34b0e00fe9e75160e721a68725910160405180910390a29392505050565b60428054610fd290613d92565b604881815481106112cd57600080fd5b600a546001600160a01b031633146128985760405162461bcd60e51b8152600401610cc390613c7e565b6001600160a01b0381166128fd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610cc3565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160e01b031982166380ac58cd60e01b148061298a57506001600160e01b03198216635b5e139f60e01b145b80610c7e57506301ffc9a760e01b6001600160e01b0319831614610c7e565b60006129b58284613d04565b9392505050565b6048805460018181019092557f15040156076f78057c0a886f6dbac29221fa3c2646adbc8effedab98152ff32b0182905560498054918201815560005290407f37e472f504e93744df80d87316862f9a8fd41a7bc266c723bf77df7866d75f5590910155565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612a5782611ef7565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316612b095760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610cc3565b6000612b1483611ef7565b9050806001600160a01b0316846001600160a01b03161480612b4f5750836001600160a01b0316612b4484610e0d565b6001600160a01b0316145b80612b7f57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316612b9a82611ef7565b6001600160a01b031614612c025760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610cc3565b6001600160a01b038216612c645760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610cc3565b612c6f838383613082565b612c7a600082612a22565b6001600160a01b0383166000908152600360205260408120805460019290612ca3908490613d4f565b90915550506001600160a01b0382166000908152600360205260408120805460019290612cd1908490613d04565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b612d3d848484612b87565b612d498484848461313a565b61232f5760405162461bcd60e51b8152600401610cc390613bdc565b606060418054610d8a90613d92565b606060428054610d8a90613d92565b606081612da75750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612dd15780612dbb81613dcd565b9150612dca9050600a83613d1c565b9150612dab565b60008167ffffffffffffffff811115612dfa57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612e24576020820181803683370190505b5090505b8415612b7f57612e39600183613d4f565b9150612e46600a86613de8565b612e51906030613d04565b60f81b818381518110612e7457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612e96600a86613d1c565b9450612e28565b60006129b58284613d30565b6000611e61612ec383600e546129a990919063ffffffff16565b1115612f075760405162461bcd60e51b8152602060048201526013602482015272135a5b9d081b1a5b5a5d08195e18d959591959606a1b6044820152606401610cc3565b6001600160a01b038316612f545760405162461bcd60e51b815260206004820152601460248201527326b4b73a32b91030b2323932b9b99032b93937b960611b6044820152606401610cc3565b60008211612f975760405162461bcd60e51b815260206004820152601060248201526f0436f756e742063616e277420626520360841b6044820152606401610cc3565b600e5460005b8381101561305557600e546000908152600260205260409020546001600160a01b0316156130045760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88185b1c9958591e481b5a5b9d195960621b6044820152606401610cc3565b61301085600e54613247565b61301b600143613d4f565b600e805460009081526011602052604081209290925580549161303d83613dcd565b9190505550808061304d90613dcd565b915050612f9d565b50613061600143613d4f565b613069612088565b10156129b5576129b561307d600143613d4f565b6129bc565b6001600160a01b0383166130dd576130d881600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b613100565b816001600160a01b0316836001600160a01b031614613100576131008382613395565b6001600160a01b03821661311757610d3c81613432565b826001600160a01b0316826001600160a01b031614610d3c57610d3c828261350b565b60006001600160a01b0384163b1561323c57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061317e903390899088908890600401613b96565b602060405180830381600087803b15801561319857600080fd5b505af19250505080156131c8575060408051601f3d908101601f191682019092526131c591810190613818565b60015b613222573d8080156131f6576040519150601f19603f3d011682016040523d82523d6000602084013e6131fb565b606091505b50805161321a5760405162461bcd60e51b8152600401610cc390613bdc565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612b7f565b506001949350505050565b6001600160a01b03821661329d5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610cc3565b6000818152600260205260409020546001600160a01b0316156133025760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610cc3565b61330e60008383613082565b6001600160a01b0382166000908152600360205260408120805460019290613337908490613d04565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600060016133a284611fd7565b6133ac9190613d4f565b6000838152600760205260409020549091508082146133ff576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061344490600190613d4f565b6000838152600960205260408120546008805493945090928490811061347a57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080600883815481106134a957634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806134ef57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061351683611fd7565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b82805461355b90613d92565b90600052602060002090601f01602090048101928261357d57600085556135c3565b82601f1061359657805160ff19168380011785556135c3565b828001600101855582156135c3579182015b828111156135c35782518255916020019190600101906135a8565b506135cf9291506135d3565b5090565b5b808211156135cf57600081556001016135d4565b600067ffffffffffffffff8084111561360357613603613e28565b604051601f8501601f19908116603f0116810190828211818310171561362b5761362b613e28565b8160405280935085815286868601111561364457600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461367557600080fd5b919050565b600082601f83011261368a578081fd5b6129b5838335602085016135e8565b6000602082840312156136aa578081fd5b6129b58261365e565b600080604083850312156136c5578081fd5b6136ce8361365e565b91506136dc6020840161365e565b90509250929050565b6000806000606084860312156136f9578081fd5b6137028461365e565b92506137106020850161365e565b9150604084013590509250925092565b60008060008060808587031215613735578081fd5b61373e8561365e565b935061374c6020860161365e565b925060408501359150606085013567ffffffffffffffff81111561376e578182fd5b8501601f8101871361377e578182fd5b61378d878235602084016135e8565b91505092959194509250565b600080604083850312156137ab578182fd5b6137b48361365e565b9150602083013580151581146137c8578182fd5b809150509250929050565b600080604083850312156137e5578182fd5b6137ee8361365e565b946020939093013593505050565b60006020828403121561380d578081fd5b81356129b581613e3e565b600060208284031215613829578081fd5b81516129b581613e3e565b600060208284031215613845578081fd5b813567ffffffffffffffff81111561385b578182fd5b612b7f8482850161367a565b600060208284031215613878578081fd5b5035919050565b60008060408385031215613891578182fd5b82359150602083013567ffffffffffffffff8111156138ae578182fd5b6138ba8582860161367a565b9150509250929050565b600081518084526138dc816020860160208601613d66565b601f01601f19169290920160200192915050565b8054600090600181811c908083168061390a57607f831692505b602080841082141561392a57634e487b7160e01b86526022600452602486fd5b81801561393e576001811461394f5761397c565b60ff1986168952848901965061397c565b60008881526020902060005b868110156139745781548b82015290850190830161395b565b505084890196505b50505050505092915050565b6000835161399a818460208801613d66565b8351908301906139ae818360208801613d66565b01949350505050565b600084516139c9818460208901613d66565b8451908301906139dd818360208901613d66565b602f60f81b910190815283516139fa816001840160208801613d66565b0160010195945050505050565b6000613a1382856138f0565b602d60f81b8152613a2760018201856138f0565b95945050505050565b6000613a3c82866138f0565b602d60f81b808252613a5160018301876138f0565b9081529050613a6360018201856138f0565b9695505050505050565b6000613a7982876138f0565b602d60f81b808252613a8e60018301886138f0565b9150808252613aa060018301876138f0565b9081529050613ab260018201856138f0565b979650505050505050565b6000613ac982886138f0565b602d60f81b808252613ade60018301896138f0565b9150808252613af060018301886138f0565b9150808252613b0260018301876138f0565b9081529050613b1460018201856138f0565b98975050505050505050565b6000613b2c82896138f0565b602d60f81b808252613b41600183018a6138f0565b9150808252613b5360018301896138f0565b9150808252613b6560018301886138f0565b9150808252613b7760018301876138f0565b9081529050613b8960018201856138f0565b9998505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613a63908301846138c4565b6020815260006129b560208301846138c4565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526030908201527f43616c6c6572206973206e6f7420746865206f776e6572206f7220746865206160408201526f1c1c1c9bdd99590818dbdb9d1c9858dd60821b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115613d1757613d17613dfc565b500190565b600082613d2b57613d2b613e12565b500490565b6000816000190483118215151615613d4a57613d4a613dfc565b500290565b600082821015613d6157613d61613dfc565b500390565b60005b83811015613d81578181015183820152602001613d69565b8381111561232f5750506000910152565b600181811c90821680613da657607f821691505b60208210811415613dc757634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613de157613de1613dfc565b5060010190565b600082613df757613df7613e12565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610d7857600080fdfea2646970667358221220a4906f4c4bf49d40f680f77adda622bf593e365b80a5558ec0b7c98733e23c1064736f6c6343000804003368747470733a2f2f7768656c70732e6d7970696e6174612e636c6f75642f697066732f68747470733a2f2f7768656c7073696f2e6865726f6b756170702e636f6d2f6170692f0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000095768656c70734e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004574c505300000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106104105760003560e01c80636c0360eb1161021e578063b35fbf7411610123578063d410470d116100ab578063f0fb21b01161007a578063f0fb21b014610bd1578063f25b3f9914610be6578063f2fde38b14610c06578063facbf93b14610c26578063fe288c7214610c3b57600080fd5b8063d410470d14610b35578063d96a094a14610b55578063e985e9c514610b68578063ee66b9f614610bb157600080fd5b8063c2408cb8116100f2578063c2408cb814610ab5578063c68deb7e14610ad5578063c87b56dd14610aeb578063c93bd20d14610b0b578063cda8c90f14610b2057600080fd5b8063b35fbf7414610a3a578063b5077f4414610a6a578063b66a0e5d14610a80578063b88d4fde14610a9557600080fd5b80638da5cb5b116101a657806397afb6f41161017557806397afb6f4146109a45780639c0dbc48146109ba578063a0bcfc7f146109da578063a22cb465146109fa578063ac919dc014610a1a57600080fd5b80638da5cb5b14610945578063949de4461461096357806395d89b4114610979578063973f44b51461098e57600080fd5b80637589d5bb116101ed5780637589d5bb146108b2578063806b984f146108e4578063831a460f146108f95780638a09a97b146109195780638d0d303a1461092f57600080fd5b80636c0360eb146108465780636d79207c1461085b5780636efe17e11461087257806370a082311461089257600080fd5b80632f745c59116103245780634bf2040d116102ac5780636352211e1161027b5780636352211e146107ba578063676dd563146107da578063691390a1146107f657806369242dc61461080c57806369362fb11461082c57600080fd5b80634bf2040d1461073d5780634f6ccce7146107535780635c474f9e146107735780636310b1291461078d57600080fd5b80634032d9a0116102f35780634032d9a0146106a857806341220706146106bd57806342842e0e146106dd578063441482b1146106fd57806344aab0431461071d57600080fd5b80632f745c5914610633578063314f27a71461065357806338cdbddd146106735780633ccfd60b1461069357600080fd5b8063123ac9a9116103a75780631fb3060f116103765780631fb3060f1461059e57806323b872dd146105be578063243f1ee1146105de5780632675f766146105f357806328fa03d31461061357600080fd5b8063123ac9a91461053557806318160ddd1461054a57806319483cd114610569578063198c92d01461057e57600080fd5b8063081812fc116103e3578063081812fc146104a3578063095ea7b3146104db5780630ac469b8146104fb5780630af90ea61461051b57600080fd5b806301ffc9a7146104155780630385c0de1461044a57806305bac2d41461046c57806306fdde0314610481575b600080fd5b34801561042157600080fd5b506104356104303660046137fc565b610c59565b60405190151581526020015b60405180910390f35b34801561045657600080fd5b5061046a61046536600461387f565b610c84565b005b34801561047857600080fd5b5061046a610d41565b34801561048d57600080fd5b50610496610d7b565b6040516104419190613bc9565b3480156104af57600080fd5b506104c36104be366004613867565b610e0d565b6040516001600160a01b039091168152602001610441565b3480156104e757600080fd5b5061046a6104f63660046137d3565b610ea2565b34801561050757600080fd5b50610496610516366004613867565b610fb3565b34801561052757600080fd5b506045546104359060ff1681565b34801561054157600080fd5b5061046a611053565b34801561055657600080fd5b506008545b604051908152602001610441565b34801561057557600080fd5b5061055b61109c565b34801561058a57600080fd5b50610496610599366004613867565b6110c0565b3480156105aa57600080fd5b5061046a6105b9366004613834565b6110d0565b3480156105ca57600080fd5b5061046a6105d93660046136e5565b611121565b3480156105ea57600080fd5b5061055b601481565b3480156105ff57600080fd5b5061049661060e366004613867565b611152565b34801561061f57600080fd5b5061055b61062e366004613867565b611162565b34801561063f57600080fd5b5061055b61064e3660046137d3565b611227565b34801561065f57600080fd5b5061055b61066e366004613867565b6112bd565b34801561067f57600080fd5b5061046a61068e366004613867565b6112de565b34801561069f57600080fd5b5061046a611346565b3480156106b457600080fd5b5061055b600781565b3480156106c957600080fd5b506104966106d8366004613867565b61139f565b3480156106e957600080fd5b5061046a6106f83660046136e5565b611e1b565b34801561070957600080fd5b50610496610718366004613867565b611e36565b34801561072957600080fd5b50610496610738366004613867565b611e46565b34801561074957600080fd5b5061055b600e5481565b34801561075f57600080fd5b5061055b61076e366004613867565b611e56565b34801561077f57600080fd5b50600f546104359060ff1681565b34801561079957600080fd5b5061055b6107a8366004613867565b60116020526000908152604090205481565b3480156107c657600080fd5b506104c36107d5366004613867565b611ef7565b3480156107e657600080fd5b5061055b6701140bbd030c400081565b34801561080257600080fd5b5061055b611fd781565b34801561081857600080fd5b5061046a610827366004613699565b611f6e565b34801561083857600080fd5b506047546104359060ff1681565b34801561085257600080fd5b50610496611fba565b34801561086757600080fd5b5061055b62093a8081565b34801561087e57600080fd5b5061049661088d366004613867565b611fc7565b34801561089e57600080fd5b5061055b6108ad366004613699565b611fd7565b3480156108be57600080fd5b506108d26108cd366004613867565b61205e565b60405160ff9091168152602001610441565b3480156108f057600080fd5b5061055b612088565b34801561090557600080fd5b5061046a610914366004613867565b6120ca565b34801561092557600080fd5b5061055b611d4e81565b34801561093b57600080fd5b5061055b61011381565b34801561095157600080fd5b50600a546001600160a01b03166104c3565b34801561096f57600080fd5b5061055b60445481565b34801561098557600080fd5b50610496612140565b34801561099a57600080fd5b5061055b600c5481565b3480156109b057600080fd5b5061055b600d5481565b3480156109c657600080fd5b50600b546104c3906001600160a01b031681565b3480156109e657600080fd5b5061046a6109f5366004613834565b61214f565b348015610a0657600080fd5b5061046a610a15366004613799565b61218c565b348015610a2657600080fd5b50610496610a35366004613867565b612251565b348015610a4657600080fd5b50610435610a55366004613867565b60466020526000908152604090205460ff1681565b348015610a7657600080fd5b5061055b611e6181565b348015610a8c57600080fd5b5061046a61226a565b348015610aa157600080fd5b5061046a610ab0366004613720565b6122fd565b348015610ac157600080fd5b506108d2610ad0366004613867565b612335565b348015610ae157600080fd5b5061055b60105481565b348015610af757600080fd5b50610496610b06366004613867565b612345565b348015610b1757600080fd5b5061055b601b81565b348015610b2c57600080fd5b5061046a61253d565b348015610b4157600080fd5b506108d2610b50366004613867565b612586565b61055b610b63366004613867565b612596565b348015610b7457600080fd5b50610435610b833660046136b3565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610bbd57600080fd5b5061055b610bcc3660046137d3565b612758565b348015610bdd57600080fd5b50610496612851565b348015610bf257600080fd5b5061055b610c01366004613867565b61285e565b348015610c1257600080fd5b5061046a610c21366004613699565b61286e565b348015610c3257600080fd5b5060485461055b565b348015610c4757600080fd5b50600b546001600160a01b03166104c3565b60006001600160e01b0319821663780e9d6360e01b1480610c7e5750610c7e82612959565b92915050565b600a546001600160a01b0316331480610ca75750600b546001600160a01b031633145b610ccc5760405162461bcd60e51b8152600401610cc390613c2e565b60405180910390fd5b60455460ff16151560011415610d015760008281526043602052604090208054610cf590613d92565b159050610d0157600080fd5b60008281526046602052604090205460ff1615610d1d57600080fd5b60008281526043602090815260409091208251610d3c9284019061354f565b505050565b6000610d4e600143613d4f565b905080610d64601b610d5e612088565b906129a9565b1115610d6f57600080fd5b610d78816129bc565b50565b606060008054610d8a90613d92565b80601f0160208091040260200160405190810160405280929190818152602001828054610db690613d92565b8015610e035780601f10610dd857610100808354040283529160200191610e03565b820191906000526020600020905b815481529060010190602001808311610de657829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610e865760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610cc3565b506000908152600460205260409020546001600160a01b031690565b6000610ead82611ef7565b9050806001600160a01b0316836001600160a01b03161415610f1b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610cc3565b336001600160a01b0382161480610f375750610f378133610b83565b610fa95760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610cc3565b610d3c8383612a22565b60158160068110610fc357600080fd5b018054909150610fd290613d92565b80601f0160208091040260200160405190810160405280929190818152602001828054610ffe90613d92565b801561104b5780601f106110205761010080835404028352916020019161104b565b820191906000526020600020905b81548152906001019060200180831161102e57829003601f168201915b505050505081565b600a546001600160a01b0316331461107d5760405162461bcd60e51b8152600401610cc390613c7e565b60455460ff161561108d57600080fd5b6045805460ff19166001179055565b60006110a6612088565b6110b1600143613d4f565b6110bb9190613d4f565b905090565b60258160068110610fc357600080fd5b600a546001600160a01b031633146110fa5760405162461bcd60e51b8152600401610cc390613c7e565b60455460ff161561110a57600080fd5b805161111d90604290602084019061354f565b5050565b61112b3382612a90565b6111475760405162461bcd60e51b8152600401610cc390613cb3565b610d3c838383612b87565b60318160088110610fc357600080fd5b600060488161117060485490565b90506000818180805b6111838385613d4f565b9450846111ad578286116111a05750600098975050505050505050565b5090979650505050505050565b6111b8600286613d1c565b6111c29084613d04565b91508682815481106111e457634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508089101561120157819350611179565b8089111561121b57611214826001613d04565b9250611179565b50979650505050505050565b600061123283611fd7565b82106112945760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610cc3565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b604981815481106112cd57600080fd5b600091825260209091200154905081565b600a546001600160a01b031633146113085760405162461bcd60e51b8152600401610cc390613c7e565b60475460ff1615156001141561132657604454811161132657600080fd5b60018110158015611338575060038111155b61134157600080fd5b604455565b600a546001600160a01b031633146113705760405162461bcd60e51b8152600401610cc390613c7e565b6040514790339082156108fc029083906000818181858888f1935050505015801561111d573d6000803e3d6000fd5b6000818152601160205260408120546060916113bd82611fd76129a9565b905060006113cd82611fd76129a9565b905060006113dd82611fd76129a9565b905060006113ed82611fd76129a9565b9050600060496113fc87611162565b8154811061141a57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050600060148983604051602001611447929190918252602082015260400190565b6040516020818303038152906040528051906020012060001c61146a9190613de8565b6040805160208082018d9052818301869052600160f81b606083015282516041818403018152606190920190925280519101209091506000906114af90601490613de8565b9050600060148b60496114c18b611162565b815481106114df57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154604051602001611504929190918252602082015260400190565b6040516020818303038152906040528051906020012060001c6115279190613de8565b9050600060148c60496115398b611162565b8154811061155757634e487b7160e01b600052603260045260246000fd5b906000526020600020015460405160200161157c929190918252602082015260400190565b6040516020818303038152906040528051906020012060001c61159f9190613de8565b9050600060148d60496115b18b611162565b815481106115cf57634e487b7160e01b600052603260045260246000fd5b90600052602060002001546040516020016115f4929190918252602082015260400190565b6040516020818303038152906040528051906020012060001c6116179190613de8565b9050600060148e60496116298b611162565b8154811061164757634e487b7160e01b600052603260045260246000fd5b906000526020600020015460405160200161166c929190918252602082015260400190565b6040516020818303038152906040528051906020012060001c61168f9190613de8565b9050600061169b612088565b90508089116118ec576015601288601481106116c757634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a900416600681106116fb57634e487b7160e01b600052603260045260246000fd5b01601b6014886014811061171f57634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a900416600a811061175357634e487b7160e01b600052603260045260246000fd5b0160256012886014811061177757634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a900416600681106117ab57634e487b7160e01b600052603260045260246000fd5b01602b601288601481106117cf57634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a9004166006811061180357634e487b7160e01b600052603260045260246000fd5b0160316013886014811061182757634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a9004166008811061185b57634e487b7160e01b600052603260045260246000fd5b0160396013886014811061187f57634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a900416600881106118b357634e487b7160e01b600052603260045260246000fd5b016040516020016118c996959493929190613b20565b6040516020818303038152906040529d5050505050505050505050505050919050565b808a11611abf5760156012886014811061191657634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a9004166006811061194a57634e487b7160e01b600052603260045260246000fd5b01601b6014886014811061196e57634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a900416600a81106119a257634e487b7160e01b600052603260045260246000fd5b016025601288601481106119c657634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a900416600681106119fa57634e487b7160e01b600052603260045260246000fd5b01602b60128860148110611a1e57634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a90041660068110611a5257634e487b7160e01b600052603260045260246000fd5b01603160138860148110611a7657634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a90041660088110611aaa57634e487b7160e01b600052603260045260246000fd5b016040516020016118c9959493929190613abd565b808b11611c3957601560128860148110611ae957634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a90041660068110611b1d57634e487b7160e01b600052603260045260246000fd5b01601b60148860148110611b4157634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a900416600a8110611b7557634e487b7160e01b600052603260045260246000fd5b01602560128860148110611b9957634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a90041660068110611bcd57634e487b7160e01b600052603260045260246000fd5b01602b60128860148110611bf157634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a90041660068110611c2557634e487b7160e01b600052603260045260246000fd5b016040516020016118c99493929190613a6d565b808c11611d5a57601560128860148110611c6357634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a90041660068110611c9757634e487b7160e01b600052603260045260246000fd5b01601b60148860148110611cbb57634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a900416600a8110611cef57634e487b7160e01b600052603260045260246000fd5b01602560128860148110611d1357634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a90041660068110611d4757634e487b7160e01b600052603260045260246000fd5b016040516020016118c993929190613a30565b601560128860148110611d7d57634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a90041660068110611db157634e487b7160e01b600052603260045260246000fd5b01601b60148860148110611dd557634e487b7160e01b600052603260045260246000fd5b602081049091015460ff601f9092166101000a900416600a8110611e0957634e487b7160e01b600052603260045260246000fd5b016040516020016118c9929190613a07565b610d3c838383604051806020016040528060008152506122fd565b60398160088110610fc357600080fd5b602b8160068110610fc357600080fd5b6000611e6160085490565b8210611ec45760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610cc3565b60088281548110611ee557634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b031680610c7e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610cc3565b600a546001600160a01b03163314611f985760405162461bcd60e51b8152600401610cc390613c7e565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b60418054610fd290613d92565b601b81600a8110610fc357600080fd5b60006001600160a01b0382166120425760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610cc3565b506001600160a01b031660009081526003602052604090205490565b6013816014811061206e57600080fd5b60209182820401919006915054906101000a900460ff1681565b604880546000919061209c90600190613d4f565b815481106120ba57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905090565b600a546001600160a01b03163314806120ed5750600b546001600160a01b031633145b6121095760405162461bcd60e51b8152600401610cc390613c2e565b60008181526046602052604090205460ff161561212557600080fd5b6000908152604660205260409020805460ff19166001179055565b606060018054610d8a90613d92565b600a546001600160a01b031633146121795760405162461bcd60e51b8152600401610cc390613c7e565b805161111d90604190602084019061354f565b6001600160a01b0382163314156121e55760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610cc3565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60436020526000908152604090208054610fd290613d92565b600a546001600160a01b031633146122945760405162461bcd60e51b8152600401610cc390613c7e565b600f5460ff16156122de5760405162461bcd60e51b815260206004820152601460248201527314d85b1948185b1c9958591e481cdd185c9d195960621b6044820152606401610cc3565b600f805460ff191660011790556122f862093a8042613d04565b601055565b6123073383612a90565b6123235760405162461bcd60e51b8152600401610cc390613cb3565b61232f84848484612d32565b50505050565b6012816014811061206e57600080fd5b6000818152600260205260409020546060906001600160a01b03166123c65760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b6064820152608401610cc3565b60006123d0612d65565b905060006123dc612d74565b905060006123e98561139f565b9050600060436000838051906020012060001c8152602001908152602001600020805461241590613d92565b80601f016020809104026020016040519081016040528092919081815260200182805461244190613d92565b801561248e5780601f106124635761010080835404028352916020019161248e565b820191906000526020600020905b81548152906001019060200180831161247157829003601f168201915b50505050509050604454600114156124d75783826124ab88612d83565b6040516020016124bd939291906139b7565b604051602081830303815290604052945050505050919050565b604454600214156125065780516124f35783826124ab88612d83565b82816040516020016124bd929190613988565b604454600314156125245782816040516020016124bd929190613988565b5050604080516020810190915260008152949350505050565b600a546001600160a01b031633146125675760405162461bcd60e51b8152600401610cc390613c7e565b60475460ff161561257757600080fd5b6047805460ff19166001179055565b6014816014811061206e57600080fd5b600f5460009060ff1680156125ad57506010544211155b6126035760405162461bcd60e51b815260206004820152602160248201527f53616c65206e6f742073746172746564206f7220616c726561647920656e64656044820152601960fa1b6064820152608401610cc3565b600d54611d4e9061261490846129a9565b11156126575760405162461bcd60e51b8152602060048201526012602482015271109d5e481b1a5b5a5d08195e18d95959195960721b6044820152606401610cc3565b60078211156126985760405162461bcd60e51b815260206004820152600d60248201526c436f756e7420746f6f2062696760981b6044820152606401610cc3565b6126aa826701140bbd030c4000612e9d565b34146126f85760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610cc3565b600d5461270590836129a9565b600d5560006127143384612ea9565b604080518281526020810186905291925033917f24db38d2bad7c47bb974527eeea5ed5222d8f62c51d7d8e122062771e27a34fe910160405180910390a292915050565b600a546000906001600160a01b031633148061277e5750600b546001600160a01b031633145b61279a5760405162461bcd60e51b8152600401610cc390613c2e565b600c54610113906127ab90846129a9565b11156127f05760405162461bcd60e51b8152602060048201526014602482015273105dd85c99081b1a5b5a5d08195e18d95959195960621b6044820152606401610cc3565b600c546127fd90836129a9565b600c55600061280c8484612ea9565b604080518281526020810186905291925033917faf0ac0de2a63239fd0ce3b5e65a46b0959f1ab34b0e00fe9e75160e721a68725910160405180910390a29392505050565b60428054610fd290613d92565b604881815481106112cd57600080fd5b600a546001600160a01b031633146128985760405162461bcd60e51b8152600401610cc390613c7e565b6001600160a01b0381166128fd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610cc3565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160e01b031982166380ac58cd60e01b148061298a57506001600160e01b03198216635b5e139f60e01b145b80610c7e57506301ffc9a760e01b6001600160e01b0319831614610c7e565b60006129b58284613d04565b9392505050565b6048805460018181019092557f15040156076f78057c0a886f6dbac29221fa3c2646adbc8effedab98152ff32b0182905560498054918201815560005290407f37e472f504e93744df80d87316862f9a8fd41a7bc266c723bf77df7866d75f5590910155565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612a5782611ef7565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316612b095760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610cc3565b6000612b1483611ef7565b9050806001600160a01b0316846001600160a01b03161480612b4f5750836001600160a01b0316612b4484610e0d565b6001600160a01b0316145b80612b7f57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316612b9a82611ef7565b6001600160a01b031614612c025760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610cc3565b6001600160a01b038216612c645760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610cc3565b612c6f838383613082565b612c7a600082612a22565b6001600160a01b0383166000908152600360205260408120805460019290612ca3908490613d4f565b90915550506001600160a01b0382166000908152600360205260408120805460019290612cd1908490613d04565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b612d3d848484612b87565b612d498484848461313a565b61232f5760405162461bcd60e51b8152600401610cc390613bdc565b606060418054610d8a90613d92565b606060428054610d8a90613d92565b606081612da75750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612dd15780612dbb81613dcd565b9150612dca9050600a83613d1c565b9150612dab565b60008167ffffffffffffffff811115612dfa57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612e24576020820181803683370190505b5090505b8415612b7f57612e39600183613d4f565b9150612e46600a86613de8565b612e51906030613d04565b60f81b818381518110612e7457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612e96600a86613d1c565b9450612e28565b60006129b58284613d30565b6000611e61612ec383600e546129a990919063ffffffff16565b1115612f075760405162461bcd60e51b8152602060048201526013602482015272135a5b9d081b1a5b5a5d08195e18d959591959606a1b6044820152606401610cc3565b6001600160a01b038316612f545760405162461bcd60e51b815260206004820152601460248201527326b4b73a32b91030b2323932b9b99032b93937b960611b6044820152606401610cc3565b60008211612f975760405162461bcd60e51b815260206004820152601060248201526f0436f756e742063616e277420626520360841b6044820152606401610cc3565b600e5460005b8381101561305557600e546000908152600260205260409020546001600160a01b0316156130045760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88185b1c9958591e481b5a5b9d195960621b6044820152606401610cc3565b61301085600e54613247565b61301b600143613d4f565b600e805460009081526011602052604081209290925580549161303d83613dcd565b9190505550808061304d90613dcd565b915050612f9d565b50613061600143613d4f565b613069612088565b10156129b5576129b561307d600143613d4f565b6129bc565b6001600160a01b0383166130dd576130d881600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b613100565b816001600160a01b0316836001600160a01b031614613100576131008382613395565b6001600160a01b03821661311757610d3c81613432565b826001600160a01b0316826001600160a01b031614610d3c57610d3c828261350b565b60006001600160a01b0384163b1561323c57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061317e903390899088908890600401613b96565b602060405180830381600087803b15801561319857600080fd5b505af19250505080156131c8575060408051601f3d908101601f191682019092526131c591810190613818565b60015b613222573d8080156131f6576040519150601f19603f3d011682016040523d82523d6000602084013e6131fb565b606091505b50805161321a5760405162461bcd60e51b8152600401610cc390613bdc565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612b7f565b506001949350505050565b6001600160a01b03821661329d5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610cc3565b6000818152600260205260409020546001600160a01b0316156133025760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610cc3565b61330e60008383613082565b6001600160a01b0382166000908152600360205260408120805460019290613337908490613d04565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600060016133a284611fd7565b6133ac9190613d4f565b6000838152600760205260409020549091508082146133ff576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061344490600190613d4f565b6000838152600960205260408120546008805493945090928490811061347a57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080600883815481106134a957634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806134ef57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061351683611fd7565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b82805461355b90613d92565b90600052602060002090601f01602090048101928261357d57600085556135c3565b82601f1061359657805160ff19168380011785556135c3565b828001600101855582156135c3579182015b828111156135c35782518255916020019190600101906135a8565b506135cf9291506135d3565b5090565b5b808211156135cf57600081556001016135d4565b600067ffffffffffffffff8084111561360357613603613e28565b604051601f8501601f19908116603f0116810190828211818310171561362b5761362b613e28565b8160405280935085815286868601111561364457600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461367557600080fd5b919050565b600082601f83011261368a578081fd5b6129b5838335602085016135e8565b6000602082840312156136aa578081fd5b6129b58261365e565b600080604083850312156136c5578081fd5b6136ce8361365e565b91506136dc6020840161365e565b90509250929050565b6000806000606084860312156136f9578081fd5b6137028461365e565b92506137106020850161365e565b9150604084013590509250925092565b60008060008060808587031215613735578081fd5b61373e8561365e565b935061374c6020860161365e565b925060408501359150606085013567ffffffffffffffff81111561376e578182fd5b8501601f8101871361377e578182fd5b61378d878235602084016135e8565b91505092959194509250565b600080604083850312156137ab578182fd5b6137b48361365e565b9150602083013580151581146137c8578182fd5b809150509250929050565b600080604083850312156137e5578182fd5b6137ee8361365e565b946020939093013593505050565b60006020828403121561380d578081fd5b81356129b581613e3e565b600060208284031215613829578081fd5b81516129b581613e3e565b600060208284031215613845578081fd5b813567ffffffffffffffff81111561385b578182fd5b612b7f8482850161367a565b600060208284031215613878578081fd5b5035919050565b60008060408385031215613891578182fd5b82359150602083013567ffffffffffffffff8111156138ae578182fd5b6138ba8582860161367a565b9150509250929050565b600081518084526138dc816020860160208601613d66565b601f01601f19169290920160200192915050565b8054600090600181811c908083168061390a57607f831692505b602080841082141561392a57634e487b7160e01b86526022600452602486fd5b81801561393e576001811461394f5761397c565b60ff1986168952848901965061397c565b60008881526020902060005b868110156139745781548b82015290850190830161395b565b505084890196505b50505050505092915050565b6000835161399a818460208801613d66565b8351908301906139ae818360208801613d66565b01949350505050565b600084516139c9818460208901613d66565b8451908301906139dd818360208901613d66565b602f60f81b910190815283516139fa816001840160208801613d66565b0160010195945050505050565b6000613a1382856138f0565b602d60f81b8152613a2760018201856138f0565b95945050505050565b6000613a3c82866138f0565b602d60f81b808252613a5160018301876138f0565b9081529050613a6360018201856138f0565b9695505050505050565b6000613a7982876138f0565b602d60f81b808252613a8e60018301886138f0565b9150808252613aa060018301876138f0565b9081529050613ab260018201856138f0565b979650505050505050565b6000613ac982886138f0565b602d60f81b808252613ade60018301896138f0565b9150808252613af060018301886138f0565b9150808252613b0260018301876138f0565b9081529050613b1460018201856138f0565b98975050505050505050565b6000613b2c82896138f0565b602d60f81b808252613b41600183018a6138f0565b9150808252613b5360018301896138f0565b9150808252613b6560018301886138f0565b9150808252613b7760018301876138f0565b9081529050613b8960018201856138f0565b9998505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613a63908301846138c4565b6020815260006129b560208301846138c4565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526030908201527f43616c6c6572206973206e6f7420746865206f776e6572206f7220746865206160408201526f1c1c1c9bdd99590818dbdb9d1c9858dd60821b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115613d1757613d17613dfc565b500190565b600082613d2b57613d2b613e12565b500490565b6000816000190483118215151615613d4a57613d4a613dfc565b500290565b600082821015613d6157613d61613dfc565b500390565b60005b83811015613d81578181015183820152602001613d69565b8381111561232f5750506000910152565b600181811c90821680613da657607f821691505b60208210811415613dc757634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613de157613de1613dfc565b5060010190565b600082613df757613df7613e12565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610d7857600080fdfea2646970667358221220a4906f4c4bf49d40f680f77adda622bf593e365b80a5558ec0b7c98733e23c1064736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000095768656c70734e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004574c505300000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : __name (string): WhelpsNFT
Arg [1] : __symbol (string): WLPS
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [3] : 5768656c70734e46540000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [5] : 574c505300000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
1271:13234:14:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;937:237:4;;;;;;;;;;-1:-1:-1;937:237:4;;;;;:::i;:::-;;:::i;:::-;;;13293:14:15;;13286:22;13268:41;;13256:2;13241:18;937:237:4;;;;;;;;7753:364:14;;;;;;;;;;-1:-1:-1;7753:364:14;;;;;:::i;:::-;;:::i;:::-;;5086:238;;;;;;;;;;;;;:::i;2419:100:3:-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;3879:221::-;;;;;;;;;;-1:-1:-1;3879:221:3;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;12591:32:15;;;12573:51;;12561:2;12546:18;3879:221:3;12528:102:15;3416:397:3;;;;;;;;;;-1:-1:-1;3416:397:3;;;;;:::i;:::-;;:::i;3356:97:14:-;;;;;;;;;;-1:-1:-1;3356:97:14;;;;;:::i;:::-;;:::i;4406:30::-;;;;;;;;;;-1:-1:-1;4406:30:14;;;;;;;;7198:122;;;;;;;;;;;;;:::i;1590:113:4:-;;;;;;;;;;-1:-1:-1;1678:10:4;:17;1590:113;;;24856:25:15;;;24844:2;24829:18;1590:113:4;24811:76:15;4969:105:14;;;;;;;;;;;;;:::i;3573:97::-;;;;;;;;;;-1:-1:-1;3573:97:14;;;;;:::i;:::-;;:::i;7047:139::-;;;;;;;;;;-1:-1:-1;7047:139:14;;;;;:::i;:::-;;:::i;4769:305:3:-;;;;;;;;;;-1:-1:-1;4769:305:3;;;;;:::i;:::-;;:::i;2919:36:14:-;;;;;;;;;;;;2953:2;2919:36;;3774:112;;;;;;;;;;-1:-1:-1;3774:112:14;;;;;:::i;:::-;;:::i;5521:715::-;;;;;;;;;;-1:-1:-1;5521:715:14;;;;;:::i;:::-;;:::i;1258:256:4:-;;;;;;;;;;-1:-1:-1;1258:256:4;;;;;:::i;:::-;;:::i;4580:39:14:-;;;;;;;;;;-1:-1:-1;4580:39:14;;;;;:::i;:::-;;:::i;7332:269::-;;;;;;;;;;-1:-1:-1;7332:269:14;;;;;:::i;:::-;;:::i;14357:145::-;;;;;;;;;;;;;:::i;2442:41::-;;;;;;;;;;;;2482:1;2442:41;;8341:2836;;;;;;;;;;-1:-1:-1;8341:2836:14;;;;;:::i;:::-;;:::i;5145:151:3:-;;;;;;;;;;-1:-1:-1;5145:151:3;;;;;:::i;:::-;;:::i;3893:99:14:-;;;;;;;;;;-1:-1:-1;3893:99:14;;;;;:::i;:::-;;:::i;3677:90::-;;;;;;;;;;-1:-1:-1;3677:90:14;;;;;:::i;:::-;;:::i;2642:29::-;;;;;;;;;;;;;;;;1780:233:4;;;;;;;;;;-1:-1:-1;1780:233:4;;;;;:::i;:::-;;:::i;2684:31:14:-;;;;;;;;;;-1:-1:-1;2684:31:14;;;;;;;;2845:61;;;;;;;;;;-1:-1:-1;2845:61:14;;;;;:::i;:::-;;;;;;;;;;;;;;2113:239:3;;;;;;;;;;-1:-1:-1;2113:239:3;;;;;:::i;:::-;;:::i;2496:48:14:-;;;;;;;;;;;;2532:12;2496:48;;2962:52;;;;;;;;;;;;3010:4;2962:52;;1794:113;;;;;;;;;;-1:-1:-1;1794:113:14;;;;;:::i;:::-;;:::i;4499:32::-;;;;;;;;;;-1:-1:-1;4499:32:14;;;;;;;;4001:61;;;;;;;;;;;;;:::i;2760:46::-;;;;;;;;;;;;2800:6;2760:46;;3460:106;;;;;;;;;;-1:-1:-1;3460:106:14;;;;;:::i;:::-;;:::i;1843:208:3:-;;;;;;;;;;-1:-1:-1;1843:208:3;;;;;:::i;:::-;;:::i;3171:85:14:-;;;;;;;;;;-1:-1:-1;3171:85:14;;;;;:::i;:::-;;:::i;:::-;;;25317:4:15;25305:17;;;25287:36;;25275:2;25260:18;3171:85:14;25242:87:15;4859:98:14;;;;;;;;;;;;;:::i;8129:200::-;;;;;;;;;;-1:-1:-1;8129:200:14;;;;;:::i;:::-;;:::i;2388:41::-;;;;;;;;;;;;2425:4;2388:41;;2331:50;;;;;;;;;;;;2378:3;2331:50;;712:87;;;;;;;;;;-1:-1:-1;785:6:14;;-1:-1:-1;;;;;785:6:14;712:87;;4366:33;;;;;;;;;;;;;;;;2588:104:3;;;;;;;;;;;;;:::i;2557:40:14:-;;;;;;;;;;;;;;;;2604:31;;;;;;;;;;;;;;;;1542:45;;;;;;;;;;-1:-1:-1;1542:45:14;;;;-1:-1:-1;;;;;1542:45:14;;;6943:92;;;;;;;;;;-1:-1:-1;6943:92:14;;;;;:::i;:::-;;:::i;4172:295:3:-;;;;;;;;;;-1:-1:-1;4172:295:3;;;;;:::i;:::-;;:::i;4141:62:14:-;;;;;;;;;;-1:-1:-1;4141:62:14;;;;;:::i;:::-;;:::i;4443:49::-;;;;;;;;;;-1:-1:-1;4443:49:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;2279:45;;;;;;;;;;;;2320:4;2279:45;;6476:204;;;;;;;;;;;;;:::i;5367:285:3:-;;;;;;;;;;-1:-1:-1;5367:285:3;;;;;:::i;:::-;;:::i;3079:85:14:-;;;;;;;;;;-1:-1:-1;3079:85:14;;;;;:::i;:::-;;:::i;2722:31::-;;;;;;;;;;;;;;;;11252:1184;;;;;;;;;;-1:-1:-1;11252:1184:14;;;;;:::i;:::-;;:::i;4626:61::-;;;;;;;;;;;;4685:2;4626:61;;7613:128;;;;;;;;;;;;;:::i;3263:86::-;;;;;;;;;;-1:-1:-1;3263:86:14;;;;;:::i;:::-;;:::i;13677:583::-;;;;;;:::i;:::-;;:::i;4538:164:3:-;;;;;;;;;;-1:-1:-1;4538:164:3;;;;;:::i;:::-;-1:-1:-1;;;;;4659:25:3;;;4635:4;4659:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4538:164;13229:414:14;;;;;;;;;;-1:-1:-1;13229:414:14;;;;;:::i;:::-;;:::i;4069:65::-;;;;;;;;;;;;;:::i;4544:29::-;;;;;;;;;;-1:-1:-1;4544:29:14;;;;;:::i;:::-;;:::i;1020:244::-;;;;;;;;;;-1:-1:-1;1020:244:14;;;;;:::i;:::-;;:::i;4757:90::-;;;;;;;;;;-1:-1:-1;4826:6:14;:13;4757:90;;1673:109;;;;;;;;;;-1:-1:-1;1757:17:14;;-1:-1:-1;;;;;1757:17:14;1673:109;;937:237:4;1039:4;-1:-1:-1;;;;;;1063:50:4;;-1:-1:-1;;;1063:50:4;;:103;;;1130:36;1154:11;1130:23;:36::i;:::-;1056:110;937:237;-1:-1:-1;;937:237:4:o;7753:364:14:-;785:6;;-1:-1:-1;;;;;785:6:14;681:10:1;1977:23:14;;:61;;-1:-1:-1;1757:17:14;;-1:-1:-1;;;;;1757:17:14;681:10:1;2004:34:14;1977:61;1969:122;;;;-1:-1:-1;;;1969:122:14;;;;;;;:::i;:::-;;;;;;;;;7868:10:::1;::::0;::::1;;:18;;:10:::0;:18:::1;7864:118;;;7915:41;::::0;;;:27:::1;:41;::::0;;;;7909:55;;::::1;::::0;::::1;:::i;:::-;:60:::0;;-1:-1:-1;7901:69:14::1;;;::::0;::::1;;8000:30;::::0;;;:16:::1;:30;::::0;;;;;::::1;;:39;7992:48;;;::::0;::::1;;8061:41;::::0;;;:27:::1;:41;::::0;;;;;;;:48;;::::1;::::0;;::::1;::::0;::::1;:::i;:::-;;7753:364:::0;;:::o;5086:238::-;5139:21;5163:16;5178:1;5163:12;:16;:::i;:::-;5139:40;;5249:13;5196:49;4685:2;5196:11;:9;:11::i;:::-;:15;;:49::i;:::-;:66;;5188:75;;;;;;5278:38;5302:13;5278:23;:38::i;:::-;5086:238;:::o;2419:100:3:-;2473:13;2506:5;2499:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2419:100;:::o;3879:221::-;3955:7;7208:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7208:16:3;3975:73;;;;-1:-1:-1;;;3975:73:3;;20009:2:15;3975:73:3;;;19991:21:15;20048:2;20028:18;;;20021:30;20087:34;20067:18;;;20060:62;-1:-1:-1;;;20138:18:15;;;20131:42;20190:19;;3975:73:3;19981:234:15;3975:73:3;-1:-1:-1;4068:24:3;;;;:15;:24;;;;;;-1:-1:-1;;;;;4068:24:3;;3879:221::o;3416:397::-;3497:13;3513:23;3528:7;3513:14;:23::i;:::-;3497:39;;3561:5;-1:-1:-1;;;;;3555:11:3;:2;-1:-1:-1;;;;;3555:11:3;;;3547:57;;;;-1:-1:-1;;;3547:57:3;;22633:2:15;3547:57:3;;;22615:21:15;22672:2;22652:18;;;22645:30;22711:34;22691:18;;;22684:62;-1:-1:-1;;;22762:18:15;;;22755:31;22803:19;;3547:57:3;22605:223:15;3547:57:3;681:10:1;-1:-1:-1;;;;;3625:21:3;;;;:62;;-1:-1:-1;3650:37:3;3667:5;681:10:1;4538:164:3;:::i;3650:37::-;3617:154;;;;-1:-1:-1;;;3617:154:3;;17984:2:15;3617:154:3;;;17966:21:15;18023:2;18003:18;;;17996:30;18062:34;18042:18;;;18035:62;18133:26;18113:18;;;18106:54;18177:19;;3617:154:3;17956:246:15;3617:154:3;3784:21;3793:2;3797:7;3784:8;:21::i;3356:97:14:-;;;;;;;;;;;;;;;;;-1:-1:-1;3356:97:14;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;7198:122::-;785:6;;-1:-1:-1;;;;;785:6:14;681:10:1;932:23:14;924:68;;;;-1:-1:-1;;;924:68:14;;;;;;;:::i;:::-;7264:10:::1;::::0;::::1;;:19;7256:28;;;::::0;::::1;;7295:10;:17:::0;;-1:-1:-1;;7295:17:14::1;7308:4;7295:17;::::0;;7198:122::o;4969:105::-;5011:7;5055:11;:9;:11::i;:::-;5037:14;5050:1;5037:12;:14;:::i;:::-;5036:30;;;;:::i;:::-;5029:37;;4969:105;:::o;3573:97::-;;;;;;;;;;;7047:139;785:6;;-1:-1:-1;;;;;785:6:14;681:10:1;932:23:14;924:68;;;;-1:-1:-1;;;924:68:14;;;;;;;:::i;:::-;7129:10:::1;::::0;::::1;;:19;7121:28;;;::::0;::::1;;7160:18:::0;;::::1;::::0;:11:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;:::-;;7047:139:::0;:::o;4769:305:3:-;4930:41;681:10:1;4963:7:3;4930:18;:41::i;:::-;4922:103;;;;-1:-1:-1;;;4922:103:3;;;;;;;:::i;:::-;5038:28;5048:4;5054:2;5058:7;5038:9;:28::i;3774:112:14:-;;;;;;;;;;;5521:715;5587:7;5629:6;5587:7;5669:13;4826:6;:13;;4757:90;5669:13;5652:30;-1:-1:-1;5699:11:14;5652:30;5699:11;;;5820:384;5850:11;5856:5;5850:3;:11;:::i;:::-;5844:17;-1:-1:-1;5876:8:14;5872:124;;5913:5;5903:6;:15;5899:85;;-1:-1:-1;5940:1:14;;5521:715;-1:-1:-1;;;;;;;;5521:715:14:o;5899:85::-;-1:-1:-1;5979:5:14;;5521:715;-1:-1:-1;;;;;;;5521:715:14:o;5899:85::-;6030:7;6036:1;6030:3;:7;:::i;:::-;6022:15;;:5;:15;:::i;:::-;6016:21;;6052:3;6056;6052:8;;;;;;-1:-1:-1;;;6052:8:14;;;;;;;;;;;;;;;;;6048:12;;6081:1;6075:3;:7;6071:123;;;6101:3;6095:9;;5820:384;;6071:123;6130:1;6124:3;:7;6120:74;;;6152:5;:3;6156:1;6152:5;:::i;:::-;6144:13;;5820:384;;6120:74;-1:-1:-1;6191:3:14;5521:715;-1:-1:-1;;;;;;;5521:715:14:o;1258:256:4:-;1355:7;1391:23;1408:5;1391:16;:23::i;:::-;1383:5;:31;1375:87;;;;-1:-1:-1;;;1375:87:4;;14095:2:15;1375:87:4;;;14077:21:15;14134:2;14114:18;;;14107:30;14173:34;14153:18;;;14146:62;-1:-1:-1;;;14224:18:15;;;14217:41;14275:19;;1375:87:4;14067:233:15;1375:87:4;-1:-1:-1;;;;;;1480:19:4;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;1258:256::o;4580:39:14:-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4580:39:14;:::o;7332:269::-;785:6;;-1:-1:-1;;;;;785:6:14;681:10:1;932:23:14;924:68;;;;-1:-1:-1;;;924:68:14;;;;;;;:::i;:::-;7410:12:::1;::::0;::::1;;:20;;:12:::0;:20:::1;7406:85;;;7464:14;;7454:7;:24;7445:34;;;::::0;::::1;;7530:1;7519:7;:12;;:28;;;;;7546:1;7535:7;:12;;7519:28;7511:37;;;::::0;::::1;;7569:14;:24:::0;7332:269::o;14357:145::-;785:6;;-1:-1:-1;;;;;785:6:14;681:10:1;932:23:14;924:68;;;;-1:-1:-1;;;924:68:14;;;;;;;:::i;:::-;14457:37:::1;::::0;14425:21:::1;::::0;14465:10:::1;::::0;14457:37;::::1;;;::::0;14425:21;;14407:15:::1;14457:37:::0;14407:15;14457:37;14425:21;14465:10;14457:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;8341:2836:::0;8438:16;8457:34;;;:25;:34;;;;;;8409:13;;8521:35;8457:34;3010:4;8521:12;:35::i;:::-;8502:54;-1:-1:-1;8567:16:14;8586:35;8502:54;3010:4;8586:12;:35::i;:::-;8567:54;-1:-1:-1;8632:16:14;8651:35;8567:54;3010:4;8651:12;:35::i;:::-;8632:54;-1:-1:-1;8697:16:14;8716:35;8632:54;3010:4;8716:12;:35::i;:::-;8697:54;;8772:14;8789:16;8806:32;8829:8;8806:22;:32::i;:::-;8789:50;;;;;;-1:-1:-1;;;8789:50:14;;;;;;;;;;;;;;;;;8772:67;;8860:19;2953:2;8918:7;8927:6;8901:33;;;;;;;;11989:19:15;;;12033:2;12024:12;;12017:28;12070:2;12061:12;;11979:100;8901:33:14;;;;;;;;;;;;;8891:44;;;;;;8883:53;;:63;;;;:::i;:::-;8996:43;;;;;;;12265:19:15;;;12300:12;;;12293:28;;;-1:-1:-1;;;12337:12:15;;;12330:58;8996:43:14;;;;;;;;;12404:12:15;;;;8996:43:14;;;8986:54;;;;;8860:87;;-1:-1:-1;;;8978:73:14;;2953:2;;8978:73;:::i;:::-;8958:94;;9063:21;2953:2;9123:7;9132:16;9149:32;9172:8;9149:22;:32::i;:::-;9132:50;;;;;;-1:-1:-1;;;9132:50:14;;;;;;;;;;;;;;;;;9106:77;;;;;;;;11989:19:15;;;12033:2;12024:12;;12017:28;12070:2;12061:12;;11979:100;9106:77:14;;;;;;;;;;;;;9096:88;;;;;;9088:97;;:107;;;;:::i;:::-;9063:133;;9207:18;2953:2;9264:7;9273:16;9290:32;9313:8;9290:22;:32::i;:::-;9273:50;;;;;;-1:-1:-1;;;9273:50:14;;;;;;;;;;;;;;;;;9247:77;;;;;;;;11989:19:15;;;12033:2;12024:12;;12017:28;12070:2;12061:12;;11979:100;9247:77:14;;;;;;;;;;;;;9237:88;;;;;;9229:97;;:107;;;;:::i;:::-;9207:130;;9348:20;2953:2;9407:7;9416:16;9433:32;9456:8;9433:22;:32::i;:::-;9416:50;;;;;;-1:-1:-1;;;9416:50:14;;;;;;;;;;;;;;;;;9390:77;;;;;;;;11989:19:15;;;12033:2;12024:12;;12017:28;12070:2;12061:12;;11979:100;9390:77:14;;;;;;;;;;;;;9380:88;;;;;;9372:97;;:107;;;;:::i;:::-;9348:132;;9491:19;2953:2;9549:7;9558:16;9575:32;9598:8;9575:22;:32::i;:::-;9558:50;;;;;;-1:-1:-1;;;9558:50:14;;;;;;;;;;;;;;;;;9532:77;;;;;;;;11989:19:15;;;12033:2;12024:12;;12017:28;12070:2;12061:12;;11979:100;9532:77:14;;;;;;;;;;;;;9522:88;;;;;;9514:97;;:107;;;;:::i;:::-;9491:131;;9635:17;9655:11;:9;:11::i;:::-;9635:31;;9695:9;9683:8;:21;9679:1491;;9766:10;9777:5;9783:11;9777:18;;;;;-1:-1:-1;;;9777:18:14;;;;;;;;;;;;;;;;;;;;;;;;;;9766:30;;;;;-1:-1:-1;;;9766:30:14;;;;;;;;;;9816:15;9832:6;9839:8;9832:16;;;;;-1:-1:-1;;;9832:16:14;;;;;;;;;;;;;;;;;;;;;;;;;;9816:33;;;;;-1:-1:-1;;;9816:33:14;;;;;;;;;;9869:12;9882:5;9888:13;9882:20;;;;;-1:-1:-1;;;9882:20:14;;;;;;;;;;;;;;;;;;;;;;;;;;9869:34;;;;;-1:-1:-1;;;9869:34:14;;;;;;;;;;9923:9;9933:5;9939:10;9933:17;;;;;-1:-1:-1;;;9933:17:14;;;;;;;;;;;;;;;;;;;;;;;;;;9923:28;;;;;-1:-1:-1;;;9923:28:14;;;;;;;;;;9971:11;9983:5;9989:12;9983:19;;;;;-1:-1:-1;;;9983:19:14;;;;;;;;;;;;;;;;;;;;;;;;;;9971:32;;;;;-1:-1:-1;;;9971:32:14;;;;;;;;;;10023:10;10034:5;10040:11;10034:18;;;;;-1:-1:-1;;;10034:18:14;;;;;;;;;;;;;;;;;;;;;;;;;;10023:30;;;;;-1:-1:-1;;;10023:30:14;;;;;;;;;;9735:331;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;9721:346;;;;;;;;;;;;;;;8341:2836;;;:::o;9679:1491::-;10101:9;10089:8;:21;10085:1085;;10172:10;10183:5;10189:11;10183:18;;;;;-1:-1:-1;;;10183:18:14;;;;;;;;;;;;;;;;;;;;;;;;;;10172:30;;;;;-1:-1:-1;;;10172:30:14;;;;;;;;;;10222:15;10238:6;10245:8;10238:16;;;;;-1:-1:-1;;;10238:16:14;;;;;;;;;;;;;;;;;;;;;;;;;;10222:33;;;;;-1:-1:-1;;;10222:33:14;;;;;;;;;;10275:12;10288:5;10294:13;10288:20;;;;;-1:-1:-1;;;10288:20:14;;;;;;;;;;;;;;;;;;;;;;;;;;10275:34;;;;;-1:-1:-1;;;10275:34:14;;;;;;;;;;10329:9;10339:5;10345:10;10339:17;;;;;-1:-1:-1;;;10339:17:14;;;;;;;;;;;;;;;;;;;;;;;;;;10329:28;;;;;-1:-1:-1;;;10329:28:14;;;;;;;;;;10377:11;10389:5;10395:12;10389:19;;;;;-1:-1:-1;;;10389:19:14;;;;;;;;;;;;;;;;;;;;;;;;;;10377:32;;;;;-1:-1:-1;;;10377:32:14;;;;;;;;;;10141:281;;;;;;;;;;;;:::i;10085:1085::-;10457:9;10445:8;:21;10441:729;;10528:10;10539:5;10545:11;10539:18;;;;;-1:-1:-1;;;10539:18:14;;;;;;;;;;;;;;;;;;;;;;;;;;10528:30;;;;;-1:-1:-1;;;10528:30:14;;;;;;;;;;10578:15;10594:6;10601:8;10594:16;;;;;-1:-1:-1;;;10594:16:14;;;;;;;;;;;;;;;;;;;;;;;;;;10578:33;;;;;-1:-1:-1;;;10578:33:14;;;;;;;;;;10631:12;10644:5;10650:13;10644:20;;;;;-1:-1:-1;;;10644:20:14;;;;;;;;;;;;;;;;;;;;;;;;;;10631:34;;;;;-1:-1:-1;;;10631:34:14;;;;;;;;;;10685:9;10695:5;10701:10;10695:17;;;;;-1:-1:-1;;;10695:17:14;;;;;;;;;;;;;;;;;;;;;;;;;;10685:28;;;;;-1:-1:-1;;;10685:28:14;;;;;;;;;;10497:229;;;;;;;;;;;:::i;10441:729::-;10761:9;10749:8;:21;10745:425;;10832:10;10843:5;10849:11;10843:18;;;;;-1:-1:-1;;;10843:18:14;;;;;;;;;;;;;;;;;;;;;;;;;;10832:30;;;;;-1:-1:-1;;;10832:30:14;;;;;;;;;;10882:15;10898:6;10905:8;10898:16;;;;;-1:-1:-1;;;10898:16:14;;;;;;;;;;;;;;;;;;;;;;;;;;10882:33;;;;;-1:-1:-1;;;10882:33:14;;;;;;;;;;10935:12;10948:5;10954:13;10948:20;;;;;-1:-1:-1;;;10948:20:14;;;;;;;;;;;;;;;;;;;;;;;;;;10935:34;;;;;-1:-1:-1;;;10935:34:14;;;;;;;;;;10801:181;;;;;;;;;;:::i;10745:425::-;11061:10;11072:5;11078:11;11072:18;;;;;-1:-1:-1;;;11072:18:14;;;;;;;;;;;;;;;;;;;;;;;;;;11061:30;;;;;-1:-1:-1;;;11061:30:14;;;;;;;;;;11111:15;11127:6;11134:8;11127:16;;;;;-1:-1:-1;;;11127:16:14;;;;;;;;;;;;;;;;;;;;;;;;;;11111:33;;;;;-1:-1:-1;;;11111:33:14;;;;;;;;;;11030:127;;;;;;;;;:::i;5145:151:3:-;5249:39;5266:4;5272:2;5276:7;5249:39;;;;;;;;;;;;:16;:39::i;3893:99:14:-;;;;;;;;;;;3677:90;;;;;;;;;;;1780:233:4;1855:7;1891:30;1678:10;:17;;1590:113;1891:30;1883:5;:38;1875:95;;;;-1:-1:-1;;;1875:95:4;;23453:2:15;1875:95:4;;;23435:21:15;23492:2;23472:18;;;23465:30;23531:34;23511:18;;;23504:62;-1:-1:-1;;;23582:18:15;;;23575:42;23634:19;;1875:95:4;23425:234:15;1875:95:4;1988:10;1999:5;1988:17;;;;;;-1:-1:-1;;;1988:17:4;;;;;;;;;;;;;;;;;1981:24;;1780:233;;;:::o;2113:239:3:-;2185:7;2221:16;;;:7;:16;;;;;;-1:-1:-1;;;;;2221:16:3;2256:19;2248:73;;;;-1:-1:-1;;;2248:73:3;;18820:2:15;2248:73:3;;;18802:21:15;18859:2;18839:18;;;18832:30;18898:34;18878:18;;;18871:62;-1:-1:-1;;;18949:18:15;;;18942:39;18998:19;;2248:73:3;18792:231:15;1794:113:14;785:6;;-1:-1:-1;;;;;785:6:14;681:10:1;932:23:14;924:68;;;;-1:-1:-1;;;924:68:14;;;;;;;:::i;:::-;1870:17:::1;:29:::0;;-1:-1:-1;;;;;;1870:29:14::1;-1:-1:-1::0;;;;;1870:29:14;;;::::1;::::0;;;::::1;::::0;;1794:113::o;4001:61::-;;;;;;;:::i;3460:106::-;;;;;;;;;;;1843:208:3;1915:7;-1:-1:-1;;;;;1943:19:3;;1935:74;;;;-1:-1:-1;;;1935:74:3;;18409:2:15;1935:74:3;;;18391:21:15;18448:2;18428:18;;;18421:30;18487:34;18467:18;;;18460:62;-1:-1:-1;;;18538:18:15;;;18531:40;18588:19;;1935:74:3;18381:232:15;1935:74:3;-1:-1:-1;;;;;;2027:16:3;;;;;:9;:16;;;;;;;1843:208::o;3171:85:14:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;4859:98::-;4926:6;4933:13;;4901:7;;4926:6;4933:15;;4947:1;;4933:15;:::i;:::-;4926:23;;;;;;-1:-1:-1;;;4926:23:14;;;;;;;;;;;;;;;;;4919:30;;4859:98;:::o;8129:200::-;785:6;;-1:-1:-1;;;;;785:6:14;681:10:1;1977:23:14;;:61;;-1:-1:-1;1757:17:14;;-1:-1:-1;;;;;1757:17:14;681:10:1;2004:34:14;1977:61;1969:122;;;;-1:-1:-1;;;1969:122:14;;;;;;;:::i;:::-;8233:30:::1;::::0;;;:16:::1;:30;::::0;;;;;::::1;;:39;8225:48;;;::::0;::::1;;8284:30;::::0;;;:16:::1;:30;::::0;;;;:37;;-1:-1:-1;;8284:37:14::1;8317:4;8284:37;::::0;;8129:200::o;2588:104:3:-;2644:13;2677:7;2670:14;;;;;:::i;6943:92:14:-;785:6;;-1:-1:-1;;;;;785:6:14;681:10:1;932:23:14;924:68;;;;-1:-1:-1;;;924:68:14;;;;;;;:::i;:::-;7013:14;;::::1;::::0;:7:::1;::::0;:14:::1;::::0;::::1;::::0;::::1;:::i;4172:295:3:-:0;-1:-1:-1;;;;;4275:24:3;;681:10:1;4275:24:3;;4267:62;;;;-1:-1:-1;;;4267:62:3;;16095:2:15;4267:62:3;;;16077:21:15;16134:2;16114:18;;;16107:30;16173:27;16153:18;;;16146:55;16218:18;;4267:62:3;16067:175:15;4267:62:3;681:10:1;4342:32:3;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;4342:42:3;;;;;;;;;;;;:53;;-1:-1:-1;;4342:53:3;;;;;;;;;;4411:48;;13268:41:15;;;4342:42:3;;681:10:1;4411:48:3;;13241:18:15;4411:48:3;;;;;;;4172:295;;:::o;4141:62:14:-;;;;;;;;;;;;;;;;:::i;6476:204::-;785:6;;-1:-1:-1;;;;;785:6:14;681:10:1;932:23:14;924:68;;;;-1:-1:-1;;;924:68:14;;;;;;;:::i;:::-;6533:11:::1;::::0;::::1;;:20;6525:53;;;::::0;-1:-1:-1;;;6525:53:14;;24214:2:15;6525:53:14::1;::::0;::::1;24196:21:15::0;24253:2;24233:18;;;24226:30;-1:-1:-1;;;24272:18:15;;;24265:50;24332:18;;6525:53:14::1;24186:170:15::0;6525:53:14::1;6595:11;:18:::0;;-1:-1:-1;;6595:18:14::1;6609:4;6595:18;::::0;;6641:31:::1;2800:6;6641:15;:31;:::i;:::-;6622:16;:50:::0;6476:204::o;5367:285:3:-;5499:41;681:10:1;5532:7:3;5499:18;:41::i;:::-;5491:103;;;;-1:-1:-1;;;5491:103:3;;;;;;;:::i;:::-;5605:39;5619:4;5625:2;5629:7;5638:5;5605:13;:39::i;:::-;5367:285;;;;:::o;3079:85:14:-;;;;;;;;;;;11252:1184;7184:4:3;7208:16;;;:7;:16;;;;;;11325:13:14;;-1:-1:-1;;;;;7208:16:3;11351:78:14;;;;-1:-1:-1;;;11351:78:14;;19591:2:15;11351:78:14;;;19573:21:15;19630:2;19610:18;;;19603:30;19669:34;19649:18;;;19642:62;-1:-1:-1;;;19720:18:15;;;19713:47;19777:19;;11351:78:14;19563:239:15;11351:78:14;11450:18;11471:10;:8;:10::i;:::-;11450:31;;11492:22;11517:14;:12;:14::i;:::-;11492:39;;11552:26;11581:29;11602:7;11581:20;:29::i;:::-;11552:58;;11621:22;11646:27;:68;11698:12;11682:30;;;;;;11674:39;;11646:68;;;;;;;;;;;11621:93;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11739:14;;11757:1;11739:19;11735:664;;;11842:4;11848:12;11867:18;:7;:16;:18::i;:::-;11825:61;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;11811:76;;;;;;11252:1184;;;:::o;11735:664::-;11909:14;;11927:1;11909:19;11905:494;;;12015:22;;12011:236;;12094:4;12100:12;12119:18;:7;:16;:18::i;12011:236::-;12211:8;12221;12194:36;;;;;;;;;:::i;11905:494::-;12268:14;;12286:1;12268:19;12264:135;;;12367:8;12377;12350:36;;;;;;;;;:::i;12264:135::-;-1:-1:-1;;12419:9:14;;;;;;;;;-1:-1:-1;12419:9:14;;;11252:1184;-1:-1:-1;;;;11252:1184:14:o;7613:128::-;785:6;;-1:-1:-1;;;;;785:6:14;681:10:1;932:23:14;924:68;;;;-1:-1:-1;;;924:68:14;;;;;;;:::i;:::-;7681:12:::1;::::0;::::1;;:21;7673:30;;;::::0;::::1;;7714:12;:19:::0;;-1:-1:-1;;7714:19:14::1;7729:4;7714:19;::::0;;7613:128::o;3263:86::-;;;;;;;;;;;13677:583;13757:11;;13731:7;;13757:11;;:50;;;;;13791:16;;13772:15;:35;;13757:50;13749:96;;;;-1:-1:-1;;;13749:96:14;;21884:2:15;13749:96:14;;;21866:21:15;21923:2;21903:18;;;21896:30;21962:34;21942:18;;;21935:62;-1:-1:-1;;;22013:18:15;;;22006:31;22054:19;;13749:96:14;21856:223:15;13749:96:14;13862:12;;2425:4;;13862:23;;13879:5;13862:16;:23::i;:::-;:37;;13854:68;;;;-1:-1:-1;;;13854:68:14;;22286:2:15;13854:68:14;;;22268:21:15;22325:2;22305:18;;;22298:30;-1:-1:-1;;;22344:18:15;;;22337:48;22402:18;;13854:68:14;22258:168:15;13854:68:14;2482:1;13939:5;:22;;13931:48;;;;-1:-1:-1;;;13931:48:14;;20422:2:15;13931:48:14;;;20404:21:15;20461:2;20441:18;;;20434:30;-1:-1:-1;;;20480:18:15;;;20473:43;20533:18;;13931:48:14;20394:163:15;13931:48:14;14009:20;:5;2532:12;14009:9;:20::i;:::-;13996:9;:33;13988:77;;;;-1:-1:-1;;;13988:77:14;;16866:2:15;13988:77:14;;;16848:21:15;16905:2;16885:18;;;16878:30;16944:33;16924:18;;;16917:61;16995:18;;13988:77:14;16838:181:15;13988:77:14;14097:12;;:23;;14114:5;14097:16;:23::i;:::-;14082:12;:38;14129:15;14147:23;14152:10;14164:5;14147:4;:23::i;:::-;14184:37;;;25066:25:15;;;25122:2;25107:18;;25100:34;;;14129:41:14;;-1:-1:-1;14194:10:14;;14184:37;;25039:18:15;14184:37:14;;;;;;;14245:7;13677:583;-1:-1:-1;;13677:583:14:o;13229:414::-;785:6;;13325:7;;-1:-1:-1;;;;;785:6:14;681:10:1;1977:23:14;;:61;;-1:-1:-1;1757:17:14;;-1:-1:-1;;;;;1757:17:14;681:10:1;2004:34:14;1977:61;1969:122;;;;-1:-1:-1;;;1969:122:14;;;;;;;:::i;:::-;13351:21:::1;::::0;2378:3:::1;::::0;13351:32:::1;::::0;13377:5;13351:25:::1;:32::i;:::-;:56;;13343:89;;;::::0;-1:-1:-1;;;13343:89:14;;24563:2:15;13343:89:14::1;::::0;::::1;24545:21:15::0;24602:2;24582:18;;;24575:30;-1:-1:-1;;;24621:18:15;;;24614:50;24681:18;;13343:89:14::1;24535:170:15::0;13343:89:14::1;13473:21;::::0;:32:::1;::::0;13499:5;13473:25:::1;:32::i;:::-;13449:21;:56:::0;13514:15:::1;13532:19;13537:6:::0;13545:5;13532:4:::1;:19::i;:::-;13565:39;::::0;;25066:25:15;;;25122:2;25107:18;;25100:34;;;13514:37:14;;-1:-1:-1;13577:10:14::1;::::0;13565:39:::1;::::0;25039:18:15;13565:39:14::1;;;;;;;13628:7:::0;13229:414;-1:-1:-1;;;13229:414:14:o;4069:65::-;;;;;;;:::i;4544:29::-;;;;;;;;;;;;1020:244;785:6;;-1:-1:-1;;;;;785:6:14;681:10:1;932:23:14;924:68;;;;-1:-1:-1;;;924:68:14;;;;;;;:::i;:::-;-1:-1:-1;;;;;1109:22:14;::::1;1101:73;;;::::0;-1:-1:-1;;;1101:73:14;;14926:2:15;1101:73:14::1;::::0;::::1;14908:21:15::0;14965:2;14945:18;;;14938:30;15004:34;14984:18;;;14977:62;-1:-1:-1;;;15055:18:15;;;15048:36;15101:19;;1101:73:14::1;14898:228:15::0;1101:73:14::1;1211:6;::::0;1190:38:::1;::::0;-1:-1:-1;;;;;1190:38:14;;::::1;::::0;1211:6:::1;::::0;1190:38:::1;::::0;1211:6:::1;::::0;1190:38:::1;1239:6;:17:::0;;-1:-1:-1;;;;;;1239:17:14::1;-1:-1:-1::0;;;;;1239:17:14;;;::::1;::::0;;;::::1;::::0;;1020:244::o;1487:292:3:-;1589:4;-1:-1:-1;;;;;;1613:40:3;;-1:-1:-1;;;1613:40:3;;:105;;-1:-1:-1;;;;;;;1670:48:3;;-1:-1:-1;;;1670:48:3;1613:105;:158;;;-1:-1:-1;;;;;;;;;;896:40:2;;;1735:36:3;787:157:2;2763:98:12;2821:7;2848:5;2852:1;2848;:5;:::i;:::-;2841:12;2763:98;-1:-1:-1;;;2763:98:12:o;5336:173:14:-;5410:6;:26;;;;;;;;;;;;;;5445:16;:56;;;;;;;-1:-1:-1;5445:56:14;5475:24;;5445:56;;;;;5336:173::o;10996:174:3:-;11071:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;11071:29:3;-1:-1:-1;;;;;11071:29:3;;;;;;;;:24;;11125:23;11071:24;11125:14;:23::i;:::-;-1:-1:-1;;;;;11116:46:3;;;;;;;;;;;10996:174;;:::o;7413:348::-;7506:4;7208:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7208:16:3;7523:73;;;;-1:-1:-1;;;7523:73:3;;17226:2:15;7523:73:3;;;17208:21:15;17265:2;17245:18;;;17238:30;17304:34;17284:18;;;17277:62;-1:-1:-1;;;17355:18:15;;;17348:42;17407:19;;7523:73:3;17198:234:15;7523:73:3;7607:13;7623:23;7638:7;7623:14;:23::i;:::-;7607:39;;7676:5;-1:-1:-1;;;;;7665:16:3;:7;-1:-1:-1;;;;;7665:16:3;;:51;;;;7709:7;-1:-1:-1;;;;;7685:31:3;:20;7697:7;7685:11;:20::i;:::-;-1:-1:-1;;;;;7685:31:3;;7665:51;:87;;;-1:-1:-1;;;;;;4659:25:3;;;4635:4;4659:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;7720:32;7657:96;7413:348;-1:-1:-1;;;;7413:348:3:o;10334:544::-;10459:4;-1:-1:-1;;;;;10432:31:3;:23;10447:7;10432:14;:23::i;:::-;-1:-1:-1;;;;;10432:31:3;;10424:85;;;;-1:-1:-1;;;10424:85:3;;21474:2:15;10424:85:3;;;21456:21:15;21513:2;21493:18;;;21486:30;21552:34;21532:18;;;21525:62;-1:-1:-1;;;21603:18:15;;;21596:39;21652:19;;10424:85:3;21446:231:15;10424:85:3;-1:-1:-1;;;;;10528:16:3;;10520:65;;;;-1:-1:-1;;;10520:65:3;;15690:2:15;10520:65:3;;;15672:21:15;15729:2;15709:18;;;15702:30;15768:34;15748:18;;;15741:62;-1:-1:-1;;;15819:18:15;;;15812:34;15863:19;;10520:65:3;15662:226:15;10520:65:3;10598:39;10619:4;10625:2;10629:7;10598:20;:39::i;:::-;10702:29;10719:1;10723:7;10702:8;:29::i;:::-;-1:-1:-1;;;;;10744:15:3;;;;;;:9;:15;;;;;:20;;10763:1;;10744:15;:20;;10763:1;;10744:20;:::i;:::-;;;;-1:-1:-1;;;;;;;10775:13:3;;;;;;:9;:13;;;;;:18;;10792:1;;10775:13;:18;;10792:1;;10775:18;:::i;:::-;;;;-1:-1:-1;;10804:16:3;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;10804:21:3;-1:-1:-1;;;;;10804:21:3;;;;;;;;;10843:27;;10804:16;;10843:27;;;;;;;10334:544;;;:::o;6534:272::-;6648:28;6658:4;6664:2;6668:7;6648:9;:28::i;:::-;6695:48;6718:4;6724:2;6728:7;6737:5;6695:22;:48::i;:::-;6687:111;;;;-1:-1:-1;;;6687:111:3;;;;;;;:::i;6720:100:14:-;6772:13;6805:7;6798:14;;;;;:::i;6832:99::-;6879:13;6912:11;6905:18;;;;;:::i;284:723:13:-;340:13;561:10;557:53;;-1:-1:-1;;588:10:13;;;;;;;;;;;;-1:-1:-1;;;588:10:13;;;;;284:723::o;557:53::-;635:5;620:12;676:78;683:9;;676:78;;709:8;;;;:::i;:::-;;-1:-1:-1;732:10:13;;-1:-1:-1;740:2:13;732:10;;:::i;:::-;;;676:78;;;764:19;796:6;786:17;;;;;;-1:-1:-1;;;786:17:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;786:17:13;;764:39;;814:154;821:10;;814:154;;848:11;858:1;848:11;;:::i;:::-;;-1:-1:-1;917:10:13;925:2;917:5;:10;:::i;:::-;904:24;;:2;:24;:::i;:::-;891:39;;874:6;881;874:14;;;;;;-1:-1:-1;;;874:14:13;;;;;;;;;;;;:56;-1:-1:-1;;;;;874:56:13;;;;;;;;-1:-1:-1;945:11:13;954:2;945:11;;:::i;:::-;;;814:154;;3501:98:12;3559:7;3586:5;3590:1;3586;:5;:::i;12478:710:14:-;12540:7;2320:4;12566:21;12581:5;12566:10;;:14;;:21;;;;:::i;:::-;:39;;12558:71;;;;-1:-1:-1;;;12558:71:14;;23866:2:15;12558:71:14;;;23848:21:15;23905:2;23885:18;;;23878:30;-1:-1:-1;;;23924:18:15;;;23917:49;23983:18;;12558:71:14;23838:169:15;12558:71:14;-1:-1:-1;;;;;12646:20:14;;12638:53;;;;-1:-1:-1;;;12638:53:14;;21125:2:15;12638:53:14;;;21107:21:15;21164:2;21144:18;;;21137:30;-1:-1:-1;;;21183:18:15;;;21176:50;21243:18;;12638:53:14;21097:170:15;12638:53:14;12716:1;12708:5;:9;12700:38;;;;-1:-1:-1;;;12700:38:14;;17639:2:15;12700:38:14;;;17621:21:15;17678:2;17658:18;;;17651:30;-1:-1:-1;;;17697:18:15;;;17690:46;17753:18;;12700:38:14;17611:166:15;12700:38:14;12773:10;;12755:15;12800:236;12824:5;12820:1;:9;12800:236;;;12864:10;;7184:4:3;7208:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7208:16:3;:30;12847:53:14;;;;-1:-1:-1;;;12847:53:14;;13746:2:15;12847:53:14;;;13728:21:15;13785:2;13765:18;;;13758:30;-1:-1:-1;;;13804:18:15;;;13797:50;13864:18;;12847:53:14;13718:170:15;12847:53:14;12911:25;12917:6;12925:10;;12911:5;:25::i;:::-;12987:16;13002:1;12987:12;:16;:::i;:::-;12973:10;;;12947:37;;;;:25;:37;;;;;:56;;;;13014:12;;;;;;:::i;:::-;;;;;;12831:3;;;;;:::i;:::-;;;;12800:236;;;-1:-1:-1;13070:16:14;13085:1;13070:12;:16;:::i;:::-;13056:11;:9;:11::i;:::-;:30;13052:98;;;13099:41;13123:16;13138:1;13123:12;:16;:::i;:::-;13099:23;:41::i;2626:555:4:-;-1:-1:-1;;;;;2798:18:4;;2794:187;;2833:40;2865:7;4008:10;:17;;3981:24;;;;:15;:24;;;;;:44;;;4036:24;;;;;;;;;;;;3904:164;2833:40;2794:187;;;2903:2;-1:-1:-1;;;;;2895:10:4;:4;-1:-1:-1;;;;;2895:10:4;;2891:90;;2922:47;2955:4;2961:7;2922:32;:47::i;:::-;-1:-1:-1;;;;;2995:16:4;;2991:183;;3028:45;3065:7;3028:36;:45::i;2991:183::-;3101:4;-1:-1:-1;;;;;3095:10:4;:2;-1:-1:-1;;;;;3095:10:4;;3091:83;;3122:40;3150:2;3154:7;3122:27;:40::i;11735:843:3:-;11856:4;-1:-1:-1;;;;;11882:13:3;;1110:20:0;1149:8;11878:693:3;;11918:72;;-1:-1:-1;;;11918:72:3;;-1:-1:-1;;;;;11918:36:3;;;;;:72;;681:10:1;;11969:4:3;;11975:7;;11984:5;;11918:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11918:72:3;;;;;;;;-1:-1:-1;;11918:72:3;;;;;;;;;;;;:::i;:::-;;;11914:602;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12164:13:3;;12160:341;;12207:60;;-1:-1:-1;;;12207:60:3;;;;;;;:::i;12160:341::-;12451:6;12445:13;12436:6;12432:2;12428:15;12421:38;11914:602;-1:-1:-1;;;;;;12041:55:3;-1:-1:-1;;;12041:55:3;;-1:-1:-1;12034:62:3;;11878:693;-1:-1:-1;12555:4:3;11735:843;;;;;;:::o;9026:382::-;-1:-1:-1;;;;;9106:16:3;;9098:61;;;;-1:-1:-1;;;9098:61:3;;19230:2:15;9098:61:3;;;19212:21:15;;;19249:18;;;19242:30;19308:34;19288:18;;;19281:62;19360:18;;9098:61:3;19202:182:15;9098:61:3;7184:4;7208:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7208:16:3;:30;9170:58;;;;-1:-1:-1;;;9170:58:3;;15333:2:15;9170:58:3;;;15315:21:15;15372:2;15352:18;;;15345:30;15411;15391:18;;;15384:58;15459:18;;9170:58:3;15305:178:15;9170:58:3;9241:45;9270:1;9274:2;9278:7;9241:20;:45::i;:::-;-1:-1:-1;;;;;9299:13:3;;;;;;:9;:13;;;;;:18;;9316:1;;9299:13;:18;;9316:1;;9299:18;:::i;:::-;;;;-1:-1:-1;;9328:16:3;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9328:21:3;-1:-1:-1;;;;;9328:21:3;;;;;;;;9367:33;;9328:16;;;9367:33;;9328:16;;9367:33;9026:382;;:::o;4695:988:4:-;4961:22;5011:1;4986:22;5003:4;4986:16;:22::i;:::-;:26;;;;:::i;:::-;5023:18;5044:26;;;:17;:26;;;;;;4961:51;;-1:-1:-1;5177:28:4;;;5173:328;;-1:-1:-1;;;;;5244:18:4;;5222:19;5244:18;;;:12;:18;;;;;;;;:34;;;;;;;;;5295:30;;;;;;:44;;;5412:30;;:17;:30;;;;;:43;;;5173:328;-1:-1:-1;5597:26:4;;;;:17;:26;;;;;;;;5590:33;;;-1:-1:-1;;;;;5641:18:4;;;;;:12;:18;;;;;:34;;;;;;;5634:41;4695:988::o;5978:1079::-;6256:10;:17;6231:22;;6256:21;;6276:1;;6256:21;:::i;:::-;6288:18;6309:24;;;:15;:24;;;;;;6682:10;:26;;6231:46;;-1:-1:-1;6309:24:4;;6231:46;;6682:26;;;;-1:-1:-1;;;6682:26:4;;;;;;;;;;;;;;;;;6660:48;;6746:11;6721:10;6732;6721:22;;;;;;-1:-1:-1;;;6721:22:4;;;;;;;;;;;;;;;;;;;;:36;;;;6826:28;;;:15;:28;;;;;;;:41;;;6998:24;;;;;6991:31;7033:10;:16;;;;;-1:-1:-1;;;7033:16:4;;;;;;;;;;;;;;;;;;;;;;;;;;5978:1079;;;;:::o;3482:221::-;3567:14;3584:20;3601:2;3584:16;:20::i;:::-;-1:-1:-1;;;;;3615:16:4;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;3660:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;3482:221:4:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:15;78:5;108:18;149:2;141:6;138:14;135:2;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:15;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:2;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:2;;;532:1;529;522:12;491:2;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;88:557;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:15;;757:42;;747:2;;813:1;810;803:12;747:2;699:124;;;:::o;828:229::-;871:5;924:3;917:4;909:6;905:17;901:27;891:2;;946:5;939;932:20;891:2;972:79;1047:3;1038:6;1025:20;1018:4;1010:6;1006:17;972:79;:::i;1062:196::-;1121:6;1174:2;1162:9;1153:7;1149:23;1145:32;1142:2;;;1195:6;1187;1180:22;1142:2;1223:29;1242:9;1223:29;:::i;1263:270::-;1331:6;1339;1392:2;1380:9;1371:7;1367:23;1363:32;1360:2;;;1413:6;1405;1398:22;1360:2;1441:29;1460:9;1441:29;:::i;:::-;1431:39;;1489:38;1523:2;1512:9;1508:18;1489:38;:::i;:::-;1479:48;;1350:183;;;;;:::o;1538:338::-;1615:6;1623;1631;1684:2;1672:9;1663:7;1659:23;1655:32;1652:2;;;1705:6;1697;1690:22;1652:2;1733:29;1752:9;1733:29;:::i;:::-;1723:39;;1781:38;1815:2;1804:9;1800:18;1781:38;:::i;:::-;1771:48;;1866:2;1855:9;1851:18;1838:32;1828:42;;1642:234;;;;;:::o;1881:696::-;1976:6;1984;1992;2000;2053:3;2041:9;2032:7;2028:23;2024:33;2021:2;;;2075:6;2067;2060:22;2021:2;2103:29;2122:9;2103:29;:::i;:::-;2093:39;;2151:38;2185:2;2174:9;2170:18;2151:38;:::i;:::-;2141:48;;2236:2;2225:9;2221:18;2208:32;2198:42;;2291:2;2280:9;2276:18;2263:32;2318:18;2310:6;2307:30;2304:2;;;2355:6;2347;2340:22;2304:2;2383:22;;2436:4;2428:13;;2424:27;-1:-1:-1;2414:2:15;;2470:6;2462;2455:22;2414:2;2498:73;2563:7;2558:2;2545:16;2540:2;2536;2532:11;2498:73;:::i;:::-;2488:83;;;2011:566;;;;;;;:::o;2582:367::-;2647:6;2655;2708:2;2696:9;2687:7;2683:23;2679:32;2676:2;;;2729:6;2721;2714:22;2676:2;2757:29;2776:9;2757:29;:::i;:::-;2747:39;;2836:2;2825:9;2821:18;2808:32;2883:5;2876:13;2869:21;2862:5;2859:32;2849:2;;2910:6;2902;2895:22;2849:2;2938:5;2928:15;;;2666:283;;;;;:::o;2954:264::-;3022:6;3030;3083:2;3071:9;3062:7;3058:23;3054:32;3051:2;;;3104:6;3096;3089:22;3051:2;3132:29;3151:9;3132:29;:::i;:::-;3122:39;3208:2;3193:18;;;;3180:32;;-1:-1:-1;;;3041:177:15:o;3223:255::-;3281:6;3334:2;3322:9;3313:7;3309:23;3305:32;3302:2;;;3355:6;3347;3340:22;3302:2;3399:9;3386:23;3418:30;3442:5;3418:30;:::i;3483:259::-;3552:6;3605:2;3593:9;3584:7;3580:23;3576:32;3573:2;;;3626:6;3618;3611:22;3573:2;3663:9;3657:16;3682:30;3706:5;3682:30;:::i;3747:342::-;3816:6;3869:2;3857:9;3848:7;3844:23;3840:32;3837:2;;;3890:6;3882;3875:22;3837:2;3935:9;3922:23;3968:18;3960:6;3957:30;3954:2;;;4005:6;3997;3990:22;3954:2;4033:50;4075:7;4066:6;4055:9;4051:22;4033:50;:::i;4094:190::-;4153:6;4206:2;4194:9;4185:7;4181:23;4177:32;4174:2;;;4227:6;4219;4212:22;4174:2;-1:-1:-1;4255:23:15;;4164:120;-1:-1:-1;4164:120:15:o;4289:410::-;4367:6;4375;4428:2;4416:9;4407:7;4403:23;4399:32;4396:2;;;4449:6;4441;4434:22;4396:2;4490:9;4477:23;4467:33;;4551:2;4540:9;4536:18;4523:32;4578:18;4570:6;4567:30;4564:2;;;4615:6;4607;4600:22;4564:2;4643:50;4685:7;4676:6;4665:9;4661:22;4643:50;:::i;:::-;4633:60;;;4386:313;;;;;:::o;4704:257::-;4745:3;4783:5;4777:12;4810:6;4805:3;4798:19;4826:63;4882:6;4875:4;4870:3;4866:14;4859:4;4852:5;4848:16;4826:63;:::i;:::-;4943:2;4922:15;-1:-1:-1;;4918:29:15;4909:39;;;;4950:4;4905:50;;4753:208;-1:-1:-1;;4753:208:15:o;4966:979::-;5051:12;;5016:3;;5108:1;5128:18;;;;5181;;;;5208:2;;5262:4;5254:6;5250:17;5240:27;;5208:2;5288;5336;5328:6;5325:14;5305:18;5302:38;5299:2;;;-1:-1:-1;;;5363:33:15;;5419:4;5416:1;5409:15;5449:4;5370:3;5437:17;5299:2;5480:18;5507:104;;;;5625:1;5620:319;;;;5473:466;;5507:104;-1:-1:-1;;5540:24:15;;5528:37;;5585:16;;;;-1:-1:-1;5507:104:15;;5620:319;25381:4;25400:17;;;25450:4;25434:21;;5714:1;5728:165;5742:6;5739:1;5736:13;5728:165;;;5820:14;;5807:11;;;5800:35;5863:16;;;;5757:10;;5728:165;;;5732:3;;5922:6;5917:3;5913:16;5906:23;;5473:466;;;;;;;5024:921;;;;:::o;5950:470::-;6129:3;6167:6;6161:13;6183:53;6229:6;6224:3;6217:4;6209:6;6205:17;6183:53;:::i;:::-;6299:13;;6258:16;;;;6321:57;6299:13;6258:16;6355:4;6343:17;;6321:57;:::i;:::-;6394:20;;6137:283;-1:-1:-1;;;;6137:283:15:o;6425:808::-;6753:3;6791:6;6785:13;6807:53;6853:6;6848:3;6841:4;6833:6;6829:17;6807:53;:::i;:::-;6923:13;;6882:16;;;;6945:57;6923:13;6882:16;6979:4;6967:17;;6945:57;:::i;:::-;-1:-1:-1;;;7024:20:15;;7053:18;;;7096:13;;7118:65;7096:13;7170:1;7159:13;;7152:4;7140:17;;7118:65;:::i;:::-;7203:20;7225:1;7199:28;;6761:472;-1:-1:-1;;;;;6761:472:15:o;7238:431::-;7512:3;7540:38;7574:3;7566:6;7540:38;:::i;:::-;-1:-1:-1;;;7594:2:15;7587:15;7618:45;7660:1;7656:2;7652:10;7644:6;7618:45;:::i;:::-;7611:52;7520:149;-1:-1:-1;;;;;7520:149:15:o;7674:685::-;8094:3;8122:38;8156:3;8148:6;8122:38;:::i;:::-;-1:-1:-1;;;8202:2:15;8198;8191:14;8224:45;8266:1;8262:2;8258:10;8250:6;8224:45;:::i;:::-;8278:14;;;8214:55;-1:-1:-1;8308:45:15;8350:1;8342:10;;8334:6;8308:45;:::i;:::-;8301:52;8102:257;-1:-1:-1;;;;;;8102:257:15:o;8364:918::-;8930:3;8958:38;8992:3;8984:6;8958:38;:::i;:::-;-1:-1:-1;;;9038:2:15;9034;9027:14;9060:45;9102:1;9098:2;9094:10;9086:6;9060:45;:::i;:::-;9050:55;;9125:2;9121;9114:14;9147:45;9189:1;9185:2;9181:10;9173:6;9147:45;:::i;:::-;9201:14;;;9137:55;-1:-1:-1;9231:45:15;9273:1;9265:10;;9257:6;9231:45;:::i;:::-;9224:52;8938:344;-1:-1:-1;;;;;;;8938:344:15:o;9287:1151::-;9999:3;10027:38;10061:3;10053:6;10027:38;:::i;:::-;-1:-1:-1;;;10107:2:15;10103;10096:14;10129:45;10171:1;10167:2;10163:10;10155:6;10129:45;:::i;:::-;10119:55;;10194:2;10190;10183:14;10216:45;10258:1;10254:2;10250:10;10242:6;10216:45;:::i;:::-;10206:55;;10281:2;10277;10270:14;10303:45;10345:1;10341:2;10337:10;10329:6;10303:45;:::i;:::-;10357:14;;;10293:55;-1:-1:-1;10387:45:15;10429:1;10421:10;;10413:6;10387:45;:::i;:::-;10380:52;10007:431;-1:-1:-1;;;;;;;;10007:431:15:o;10443:1384::-;11301:3;11329:38;11363:3;11355:6;11329:38;:::i;:::-;-1:-1:-1;;;11409:2:15;11405;11398:14;11431:45;11473:1;11469:2;11465:10;11457:6;11431:45;:::i;:::-;11421:55;;11496:2;11492;11485:14;11518:45;11560:1;11556:2;11552:10;11544:6;11518:45;:::i;:::-;11508:55;;11583:2;11579;11572:14;11605:45;11647:1;11643:2;11639:10;11631:6;11605:45;:::i;:::-;11595:55;;11670:2;11666;11659:14;11692:45;11734:1;11730:2;11726:10;11718:6;11692:45;:::i;:::-;11746:14;;;11682:55;-1:-1:-1;11776:45:15;11818:1;11810:10;;11802:6;11776:45;:::i;:::-;11769:52;11309:518;-1:-1:-1;;;;;;;;;11309:518:15:o;12635:488::-;-1:-1:-1;;;;;12904:15:15;;;12886:34;;12956:15;;12951:2;12936:18;;12929:43;13003:2;12988:18;;12981:34;;;13051:3;13046:2;13031:18;;13024:31;;;12829:4;;13072:45;;13097:19;;13089:6;13072:45;:::i;13320:219::-;13469:2;13458:9;13451:21;13432:4;13489:44;13529:2;13518:9;13514:18;13506:6;13489:44;:::i;14305:414::-;14507:2;14489:21;;;14546:2;14526:18;;;14519:30;14585:34;14580:2;14565:18;;14558:62;-1:-1:-1;;;14651:2:15;14636:18;;14629:48;14709:3;14694:19;;14479:240::o;16247:412::-;16449:2;16431:21;;;16488:2;16468:18;;;16461:30;16527:34;16522:2;16507:18;;16500:62;-1:-1:-1;;;16593:2:15;16578:18;;16571:46;16649:3;16634:19;;16421:238::o;20562:356::-;20764:2;20746:21;;;20783:18;;;20776:30;20842:34;20837:2;20822:18;;20815:62;20909:2;20894:18;;20736:182::o;22833:413::-;23035:2;23017:21;;;23074:2;23054:18;;;23047:30;23113:34;23108:2;23093:18;;23086:62;-1:-1:-1;;;23179:2:15;23164:18;;23157:47;23236:3;23221:19;;23007:239::o;25466:128::-;25506:3;25537:1;25533:6;25530:1;25527:13;25524:2;;;25543:18;;:::i;:::-;-1:-1:-1;25579:9:15;;25514:80::o;25599:120::-;25639:1;25665;25655:2;;25670:18;;:::i;:::-;-1:-1:-1;25704:9:15;;25645:74::o;25724:168::-;25764:7;25830:1;25826;25822:6;25818:14;25815:1;25812:21;25807:1;25800:9;25793:17;25789:45;25786:2;;;25837:18;;:::i;:::-;-1:-1:-1;25877:9:15;;25776:116::o;25897:125::-;25937:4;25965:1;25962;25959:8;25956:2;;;25970:18;;:::i;:::-;-1:-1:-1;26007:9:15;;25946:76::o;26027:258::-;26099:1;26109:113;26123:6;26120:1;26117:13;26109:113;;;26199:11;;;26193:18;26180:11;;;26173:39;26145:2;26138:10;26109:113;;;26240:6;26237:1;26234:13;26231:2;;;-1:-1:-1;;26275:1:15;26257:16;;26250:27;26080:205::o;26290:380::-;26369:1;26365:12;;;;26412;;;26433:2;;26487:4;26479:6;26475:17;26465:27;;26433:2;26540;26532:6;26529:14;26509:18;26506:38;26503:2;;;26586:10;26581:3;26577:20;26574:1;26567:31;26621:4;26618:1;26611:15;26649:4;26646:1;26639:15;26503:2;;26345:325;;;:::o;26675:135::-;26714:3;-1:-1:-1;;26735:17:15;;26732:2;;;26755:18;;:::i;:::-;-1:-1:-1;26802:1:15;26791:13;;26722:88::o;26815:112::-;26847:1;26873;26863:2;;26878:18;;:::i;:::-;-1:-1:-1;26912:9:15;;26853:74::o;26932:127::-;26993:10;26988:3;26984:20;26981:1;26974:31;27024:4;27021:1;27014:15;27048:4;27045:1;27038:15;27064:127;27125:10;27120:3;27116:20;27113:1;27106:31;27156:4;27153:1;27146:15;27180:4;27177:1;27170:15;27196:127;27257:10;27252:3;27248:20;27245:1;27238:31;27288:4;27285:1;27278:15;27312:4;27309:1;27302:15;27328:131;-1:-1:-1;;;;;;27402:32:15;;27392:43;;27382:2;;27449:1;27446;27439:12
Swarm Source
ipfs://a4906f4c4bf49d40f680f77adda622bf593e365b80a5558ec0b7c98733e23c10
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.