ERC-721
Overview
Max Total Supply
3,333 H4C
Holders
1,297
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
0 H4CLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
H4C
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract H4C is ERC721Enumerable, Ownable { uint256 public constant MAX_SUPPLY = 3333; uint256 public constant MAX_MINT_PUBLIC = 2; uint256 public constant H4C_LIST_PRICE = 0.015 ether; uint256 public constant PUBLIC_SALE_PRICE = 0.025 ether; uint32 public h4cListStartTime = 1671454800; uint32 public h4cListEndTime = 1671465600; bytes32 public h4cOgListRoot; bytes32 public h4cListRoot; bool public teamMinted; mapping(address => uint256) public h4cMintedByAddress; mapping(address => bool) public h4cListMinted; uint256 private h4cListMintedTotal; string private _baseTokenURI = "https://h4c.mypinata.cloud/ipfs/QmV3JPpV6kKZJUQifdnefVuhA4H5FWbavXTR5GADGVWW1o/"; constructor() ERC721("H4C", "H4C") {} function setH4cOgListRoot(uint256 root) external onlyOwner { h4cOgListRoot = bytes32(root); } function setH4cListRoot(uint256 root) external onlyOwner { h4cListRoot = bytes32(root); } function ogPresaleMint(bytes32[] memory h4cListProof) external payable { require( block.timestamp >= h4cListStartTime && block.timestamp < h4cListEndTime, "Sale not active" ); require(!h4cListMinted[msg.sender], "Already minted"); bytes32 h4cListLeaf = keccak256(abi.encodePacked(msg.sender)); require( MerkleProof.verify(h4cListProof, h4cOgListRoot, h4cListLeaf), "Not whitelisted" ); require(msg.value == H4C_LIST_PRICE, "Insufficient payment"); h4cListMinted[msg.sender] = true; uint256 tokenId = totalSupply() + 1; _safeMint(msg.sender, tokenId); } function presaleMint(bytes32[] memory h4cListProof) external payable { require( block.timestamp >= h4cListStartTime && block.timestamp < h4cListEndTime, "Sale not active" ); require(!h4cListMinted[msg.sender], "Already minted"); bytes32 h4cListLeaf = keccak256(abi.encodePacked(msg.sender)); require( MerkleProof.verify(h4cListProof, h4cListRoot, h4cListLeaf), "Not whitelisted" ); require(h4cListMintedTotal <= 1500, "Whitelist sold out"); require(msg.value == H4C_LIST_PRICE, "Insufficient payment"); h4cListMinted[msg.sender] = true; ++h4cListMintedTotal; uint256 tokenId = totalSupply() + 1; _safeMint(msg.sender, tokenId); } function publicSaleMint(uint256 quantity) external payable { uint256 ts = totalSupply(); if (ts < 2053) { require(block.timestamp >= h4cListEndTime, "Sale not active"); } require(ts + quantity <= MAX_SUPPLY, "Sold out"); require( h4cMintedByAddress[msg.sender] + quantity <= MAX_MINT_PUBLIC, "No more than two during public" ); require( msg.value == PUBLIC_SALE_PRICE * quantity, "Insufficient payment" ); h4cMintedByAddress[msg.sender] += quantity; for (uint256 i = 1; i <= quantity; i++) { uint256 tokenId = ts + i; _safeMint(msg.sender, tokenId); } } function setPresale(uint32 start, uint32 end) external onlyOwner { h4cListStartTime = start; h4cListEndTime = end; } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function setBaseURI(string calldata baseURI) external onlyOwner { _baseTokenURI = baseURI; } function teamMint(address h4cVault) external onlyOwner { require(!teamMinted, "Already done"); teamMinted = true; for (uint256 i = 1; i <= 25; i++) { _safeMint(h4cVault, i); } } function withdraw() external onlyOwner { uint balance = address(this).balance; payable(msg.sender).transfer(balance); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ 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() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol) 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 See {ERC721-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual override { super._beforeTokenTransfer(from, to, firstTokenId, batchSize); if (batchSize > 1) { // Will only trigger during construction. Batch transferring (minting) is not available afterwards. revert("ERC721Enumerable: consecutive transfers not supported"); } uint256 tokenId = firstTokenId; 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 // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) 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); /** * @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 // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _ownerOf(tokenId); require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner or approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or 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 the owner of the `tokenId`. Does NOT revert if token doesn't exist */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @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 _ownerOf(tokenId) != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId, 1); // Check that tokenId was not minted by `_beforeTokenTransfer` hook require(!_exists(tokenId), "ERC721: token already minted"); unchecked { // Will not overflow unless all 2**256 token ids are minted to the same owner. // Given that tokens are minted one by one, it is impossible in practice that // this ever happens. Might change if we allow batch minting. // The ERC fails to describe this case. _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId, 1); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721.ownerOf(tokenId); // Clear approvals delete _tokenApprovals[tokenId]; unchecked { // Cannot overflow, as that would require more tokens to be burned/transferred // out than the owner initially received through minting and transferring in. _balances[owner] -= 1; } delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId, 1); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId, 1); // Check that tokenId was not transferred by `_beforeTokenTransfer` hook require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; unchecked { // `_balances[from]` cannot overflow for the same reason as described in `_burn`: // `from`'s balance is the number of token held, which is at least one before the current // transfer. // `_balances[to]` could overflow in the conditions described in `_mint`. That would require // all 2**256 token ids to be minted, which in practice is impossible. _balances[from] -= 1; _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`. * - When `from` is zero, the tokens will be minted for `to`. * - When `to` is zero, ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256, /* firstTokenId */ uint256 batchSize ) internal virtual { if (batchSize > 1) { if (from != address(0)) { _balances[from] -= batchSize; } if (to != address(0)) { _balances[to] += batchSize; } } } /** * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`. * - When `from` is zero, the tokens were minted for `to`. * - When `to` is zero, ``from``'s tokens were burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @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] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } }
{ "optimizer": { "enabled": true, "runs": 500 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"H4C_LIST_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_PUBLIC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_SALE_PRICE","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"h4cListEndTime","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"h4cListMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"h4cListRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"h4cListStartTime","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"h4cMintedByAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"h4cOgListRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"h4cListProof","type":"bytes32[]"}],"name":"ogPresaleMint","outputs":[],"stateMutability":"payable","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":"bytes32[]","name":"h4cListProof","type":"bytes32[]"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"root","type":"uint256"}],"name":"setH4cListRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"root","type":"uint256"}],"name":"setH4cOgListRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"start","type":"uint32"},{"internalType":"uint32","name":"end","type":"uint32"}],"name":"setPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"h4cVault","type":"address"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"teamMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
600a8054600160a01b600160e01b03191667063a08a8063a060560a41b179055610100604052604f60808181529062002b5860a03980516200004a9160119160209091019062000126565b503480156200005857600080fd5b5060408051808201825260038082526248344360e81b602080840182815285518087019096529285528401528151919291620000979160009162000126565b508051620000ad90600190602084019062000126565b505050620000ca620000c4620000d060201b60201c565b620000d4565b62000209565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200013490620001cc565b90600052602060002090601f016020900481019282620001585760008555620001a3565b82601f106200017357805160ff1916838001178555620001a3565b82800160010185558215620001a3579182015b82811115620001a357825182559160200191906001019062000186565b50620001b1929150620001b5565b5090565b5b80821115620001b15760008155600101620001b6565b600181811c90821680620001e157607f821691505b602082108114156200020357634e487b7160e01b600052602260045260246000fd5b50919050565b61293f80620002196000396000f3fe6080604052600436106102305760003560e01c806370a082311161012e578063b88d4fde116100ab578063e985e9c51161006f578063e985e9c514610677578063ebaeb76f146106c0578063edc0c72c146106e0578063f2fde38b146106f3578063faec9f501461071357600080fd5b8063b88d4fde146105de578063c87b56dd146105fe578063cdce5b621461061e578063d9d4f71714610639578063e8b5498d1461065d57600080fd5b806390be099f116100f257806390be099f1461054657806395d89b4114610576578063a22cb4651461058b578063b3ab66b0146105ab578063b6a1dba1146105be57600080fd5b806370a08231146104a6578063715018a6146104c657806374653dfb146104db5780638da5cb5b146105085780638ee9a14f1461052657600080fd5b80633bc18ec8116101bc57806355f804b31161018057806355f804b3146103f857806360e40f031461041857806363172ac1146104385780636352211e1461044d5780636ef136ba1461046d57600080fd5b80633bc18ec81461037a5780633ccfd60b1461038d578063417b8e05146103a257806342842e0e146103b85780634f6ccce7146103d857600080fd5b8063095ea7b311610203578063095ea7b3146102ed57806318160ddd1461030f57806323b872dd146103245780632f745c591461034457806332cb6b0c1461036457600080fd5b806301ffc9a71461023557806306fdde031461026a57806307e89ec01461028c578063081812fc146102b5575b600080fd5b34801561024157600080fd5b50610255610250366004612601565b610729565b60405190151581526020015b60405180910390f35b34801561027657600080fd5b5061027f610754565b6040516102619190612787565b34801561029857600080fd5b506102a76658d15e1762800081565b604051908152602001610261565b3480156102c157600080fd5b506102d56102d03660046126ad565b6107e6565b6040516001600160a01b039091168152602001610261565b3480156102f957600080fd5b5061030d61030836600461252a565b61080d565b005b34801561031b57600080fd5b506008546102a7565b34801561033057600080fd5b5061030d61033f3660046123f2565b610928565b34801561035057600080fd5b506102a761035f36600461252a565b61099f565b34801561037057600080fd5b506102a7610d0581565b61030d610388366004612554565b610a35565b34801561039957600080fd5b5061030d610bfc565b3480156103ae57600080fd5b506102a7600c5481565b3480156103c457600080fd5b5061030d6103d33660046123f2565b610c37565b3480156103e457600080fd5b506102a76103f33660046126ad565b610c52565b34801561040457600080fd5b5061030d61041336600461263b565b610ce5565b34801561042457600080fd5b5061030d6104333660046126ad565b610cf9565b34801561044457600080fd5b506102a7600281565b34801561045957600080fd5b506102d56104683660046126ad565b610d06565b34801561047957600080fd5b50600a5461049190600160c01b900463ffffffff1681565b60405163ffffffff9091168152602001610261565b3480156104b257600080fd5b506102a76104c13660046123a4565b610d6b565b3480156104d257600080fd5b5061030d610df1565b3480156104e757600080fd5b506102a76104f63660046123a4565b600e6020526000908152604090205481565b34801561051457600080fd5b50600a546001600160a01b03166102d5565b34801561053257600080fd5b5061030d6105413660046126c6565b610e05565b34801561055257600080fd5b506102556105613660046123a4565b600f6020526000908152604090205460ff1681565b34801561058257600080fd5b5061027f610e61565b34801561059757600080fd5b5061030d6105a63660046124ee565b610e70565b61030d6105b93660046126ad565b610e7b565b3480156105ca57600080fd5b5061030d6105d93660046123a4565b611045565b3480156105ea57600080fd5b5061030d6105f936600461242e565b6110c4565b34801561060a57600080fd5b5061027f6106193660046126ad565b611142565b34801561062a57600080fd5b506102a766354a6ba7a1800081565b34801561064557600080fd5b50600a5461049190600160a01b900463ffffffff1681565b34801561066957600080fd5b50600d546102559060ff1681565b34801561068357600080fd5b506102556106923660046123bf565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106cc57600080fd5b5061030d6106db3660046126ad565b6111a9565b61030d6106ee366004612554565b6111b6565b3480156106ff57600080fd5b5061030d61070e3660046123a4565b6113d0565b34801561071f57600080fd5b506102a7600b5481565b60006001600160e01b0319821663780e9d6360e01b148061074e575061074e82611449565b92915050565b60606000805461076390612845565b80601f016020809104026020016040519081016040528092919081815260200182805461078f90612845565b80156107dc5780601f106107b1576101008083540402835291602001916107dc565b820191906000526020600020905b8154815290600101906020018083116107bf57829003601f168201915b5050505050905090565b60006107f182611499565b506000908152600460205260409020546001600160a01b031690565b600061081882610d06565b9050806001600160a01b0316836001600160a01b0316141561088b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806108a757506108a78133610692565b6109195760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610882565b61092383836114fd565b505050565b610932338261156b565b6109945760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526c1c881bdc88185c1c1c9bdd9959609a1b6064820152608401610882565b6109238383836115ea565b60006109aa83610d6b565b8210610a0c5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610882565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a54600160a01b900463ffffffff164210801590610a625750600a54600160c01b900463ffffffff1642105b610aa05760405162461bcd60e51b815260206004820152600f60248201526e53616c65206e6f742061637469766560881b6044820152606401610882565b336000908152600f602052604090205460ff1615610af15760405162461bcd60e51b815260206004820152600e60248201526d105b1c9958591e481b5a5b9d195960921b6044820152606401610882565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050610b3782600b54836117d7565b610b755760405162461bcd60e51b815260206004820152600f60248201526e139bdd081dda1a5d195b1a5cdd1959608a1b6044820152606401610882565b66354a6ba7a180003414610bc25760405162461bcd60e51b8152602060048201526014602482015273125b9cdd59999a58da595b9d081c185e5b595b9d60621b6044820152606401610882565b336000908152600f60205260408120805460ff19166001179055610be560085490565b610bf09060016127cb565b905061092333826117ed565b610c04611807565b6040514790339082156108fc029083906000818181858888f19350505050158015610c33573d6000803e3d6000fd5b5050565b610923838383604051806020016040528060008152506110c4565b6000610c5d60085490565b8210610cc05760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610882565b60088281548110610cd357610cd36128c7565b90600052602060002001549050919050565b610ced611807565b610923601183836122db565b610d01611807565b600c55565b6000818152600260205260408120546001600160a01b03168061074e5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610882565b60006001600160a01b038216610dd55760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610882565b506001600160a01b031660009081526003602052604090205490565b610df9611807565b610e036000611861565b565b610e0d611807565b600a80547fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff16600160a01b63ffffffff9485160263ffffffff60c01b191617600160c01b9290931691909102919091179055565b60606001805461076390612845565b610c333383836118b3565b6000610e8660085490565b9050610805811015610ee357600a54600160c01b900463ffffffff16421015610ee35760405162461bcd60e51b815260206004820152600f60248201526e53616c65206e6f742061637469766560881b6044820152606401610882565b610d05610ef083836127cb565b1115610f295760405162461bcd60e51b815260206004820152600860248201526714dbdb19081bdd5d60c21b6044820152606401610882565b336000908152600e6020526040902054600290610f479084906127cb565b1115610f955760405162461bcd60e51b815260206004820152601e60248201527f4e6f206d6f7265207468616e2074776f20647572696e67207075626c696300006044820152606401610882565b610fa6826658d15e176280006127e3565b3414610feb5760405162461bcd60e51b8152602060048201526014602482015273125b9cdd59999a58da595b9d081c185e5b595b9d60621b6044820152606401610882565b336000908152600e60205260408120805484929061100a9084906127cb565b90915550600190505b82811161092357600061102682846127cb565b905061103233826117ed565b508061103d81612880565b915050611013565b61104d611807565b600d5460ff161561108f5760405162461bcd60e51b815260206004820152600c60248201526b416c726561647920646f6e6560a01b6044820152606401610882565b600d805460ff191660019081179091555b60198111610c33576110b282826117ed565b806110bc81612880565b9150506110a0565b6110ce338361156b565b6111305760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526c1c881bdc88185c1c1c9bdd9959609a1b6064820152608401610882565b61113c84848484611982565b50505050565b606061114d82611499565b6000611157611a00565b9050600081511161117757604051806020016040528060008152506111a2565b8061118184611a0f565b60405160200161119292919061271c565b6040516020818303038152906040525b9392505050565b6111b1611807565b600b55565b600a54600160a01b900463ffffffff1642108015906111e35750600a54600160c01b900463ffffffff1642105b6112215760405162461bcd60e51b815260206004820152600f60248201526e53616c65206e6f742061637469766560881b6044820152606401610882565b336000908152600f602052604090205460ff16156112725760405162461bcd60e51b815260206004820152600e60248201526d105b1c9958591e481b5a5b9d195960921b6044820152606401610882565b6040516bffffffffffffffffffffffff193360601b1660208201526000906034016040516020818303038152906040528051906020012090506112b882600c54836117d7565b6112f65760405162461bcd60e51b815260206004820152600f60248201526e139bdd081dda1a5d195b1a5cdd1959608a1b6044820152606401610882565b6105dc601054111561134a5760405162461bcd60e51b815260206004820152601260248201527f57686974656c69737420736f6c64206f757400000000000000000000000000006044820152606401610882565b66354a6ba7a1800034146113975760405162461bcd60e51b8152602060048201526014602482015273125b9cdd59999a58da595b9d081c185e5b595b9d60621b6044820152606401610882565b336000908152600f60205260408120805460ff19166001179055601080549091906113c190612880565b909155506000610be560085490565b6113d8611807565b6001600160a01b03811661143d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610882565b61144681611861565b50565b60006001600160e01b031982166380ac58cd60e01b148061147a57506001600160e01b03198216635b5e139f60e01b145b8061074e57506301ffc9a760e01b6001600160e01b031983161461074e565b6000818152600260205260409020546001600160a01b03166114465760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610882565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061153282610d06565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061157783610d06565b9050806001600160a01b0316846001600160a01b031614806115be57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806115e25750836001600160a01b03166115d7846107e6565b6001600160a01b0316145b949350505050565b826001600160a01b03166115fd82610d06565b6001600160a01b0316146116615760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610882565b6001600160a01b0382166116c35760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610882565b6116d08383836001611ab9565b826001600160a01b03166116e382610d06565b6001600160a01b0316146117475760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610882565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000826117e48584611c01565b14949350505050565b610c33828260405180602001604052806000815250611c46565b600a546001600160a01b03163314610e035760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610882565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156119155760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610882565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61198d8484846115ea565b61199984848484611cc4565b61113c5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610882565b60606011805461076390612845565b60606000611a1c83611e1c565b600101905060008167ffffffffffffffff811115611a3c57611a3c6128dd565b6040519080825280601f01601f191660200182016040528015611a66576020820181803683370190505b5090508181016020015b600019017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8504945084611aac57611ab1565b611a70565b509392505050565b611ac584848484611efe565b6001811115611b3c5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e736563757469766520747260448201527f616e7366657273206e6f7420737570706f7274656400000000000000000000006064820152608401610882565b816001600160a01b038516611b9857611b9381600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611bbb565b836001600160a01b0316856001600160a01b031614611bbb57611bbb8582611f86565b6001600160a01b038416611bd757611bd281612023565b611bfa565b846001600160a01b0316846001600160a01b031614611bfa57611bfa84826120d2565b5050505050565b600081815b8451811015611ab157611c3282868381518110611c2557611c256128c7565b6020026020010151612116565b915080611c3e81612880565b915050611c06565b611c508383612142565b611c5d6000848484611cc4565b6109235760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610882565b60006001600160a01b0384163b15611e1157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611d0890339089908890889060040161274b565b602060405180830381600087803b158015611d2257600080fd5b505af1925050508015611d52575060408051601f3d908101601f19168201909252611d4f9181019061261e565b60015b611df7573d808015611d80576040519150601f19603f3d011682016040523d82523d6000602084013e611d85565b606091505b508051611def5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610882565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506115e2565b506001949350505050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611e65577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310611e91576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611eaf57662386f26fc10000830492506010015b6305f5e1008310611ec7576305f5e100830492506008015b6127108310611edb57612710830492506004015b60648310611eed576064830492506002015b600a831061074e5760010192915050565b600181111561113c576001600160a01b03841615611f44576001600160a01b03841660009081526003602052604081208054839290611f3e908490612802565b90915550505b6001600160a01b0383161561113c576001600160a01b03831660009081526003602052604081208054839290611f7b9084906127cb565b909155505050505050565b60006001611f9384610d6b565b611f9d9190612802565b600083815260076020526040902054909150808214611ff0576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061203590600190612802565b6000838152600960205260408120546008805493945090928490811061205d5761205d6128c7565b90600052602060002001549050806008838154811061207e5761207e6128c7565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806120b6576120b66128b1565b6001900381819060005260206000200160009055905550505050565b60006120dd83610d6b565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60008183106121325760008281526020849052604090206111a2565b5060009182526020526040902090565b6001600160a01b0382166121985760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610882565b6000818152600260205260409020546001600160a01b0316156121fd5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610882565b61220b600083836001611ab9565b6000818152600260205260409020546001600160a01b0316156122705760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610882565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546122e790612845565b90600052602060002090601f016020900481019282612309576000855561234f565b82601f106123225782800160ff1982351617855561234f565b8280016001018555821561234f579182015b8281111561234f578235825591602001919060010190612334565b5061235b92915061235f565b5090565b5b8082111561235b5760008155600101612360565b80356001600160a01b038116811461238b57600080fd5b919050565b803563ffffffff8116811461238b57600080fd5b6000602082840312156123b657600080fd5b6111a282612374565b600080604083850312156123d257600080fd5b6123db83612374565b91506123e960208401612374565b90509250929050565b60008060006060848603121561240757600080fd5b61241084612374565b925061241e60208501612374565b9150604084013590509250925092565b6000806000806080858703121561244457600080fd5b61244d85612374565b9350602061245c818701612374565b935060408601359250606086013567ffffffffffffffff8082111561248057600080fd5b818801915088601f83011261249457600080fd5b8135818111156124a6576124a66128dd565b6124b8601f8201601f1916850161279a565b915080825289848285010111156124ce57600080fd5b808484018584013760008482840101525080935050505092959194509250565b6000806040838503121561250157600080fd5b61250a83612374565b91506020830135801515811461251f57600080fd5b809150509250929050565b6000806040838503121561253d57600080fd5b61254683612374565b946020939093013593505050565b6000602080838503121561256757600080fd5b823567ffffffffffffffff8082111561257f57600080fd5b818501915085601f83011261259357600080fd5b8135818111156125a5576125a56128dd565b8060051b91506125b684830161279a565b8181528481019084860184860187018a10156125d157600080fd5b600095505b838610156125f45780358352600195909501949186019186016125d6565b5098975050505050505050565b60006020828403121561261357600080fd5b81356111a2816128f3565b60006020828403121561263057600080fd5b81516111a2816128f3565b6000806020838503121561264e57600080fd5b823567ffffffffffffffff8082111561266657600080fd5b818501915085601f83011261267a57600080fd5b81358181111561268957600080fd5b86602082850101111561269b57600080fd5b60209290920196919550909350505050565b6000602082840312156126bf57600080fd5b5035919050565b600080604083850312156126d957600080fd5b6126e283612390565b91506123e960208401612390565b60008151808452612708816020860160208601612819565b601f01601f19169290920160200192915050565b6000835161272e818460208801612819565b835190830190612742818360208801612819565b01949350505050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261277d60808301846126f0565b9695505050505050565b6020815260006111a260208301846126f0565b604051601f8201601f1916810167ffffffffffffffff811182821017156127c3576127c36128dd565b604052919050565b600082198211156127de576127de61289b565b500190565b60008160001904831182151516156127fd576127fd61289b565b500290565b6000828210156128145761281461289b565b500390565b60005b8381101561283457818101518382015260200161281c565b8381111561113c5750506000910152565b600181811c9082168061285957607f821691505b6020821081141561287a57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156128945761289461289b565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461144657600080fdfea26469706673582212202343e31c8042c353a426a2f290f319267ff010a35454058ff5dd19cd5089a92964736f6c6343000807003368747470733a2f2f6834632e6d7970696e6174612e636c6f75642f697066732f516d56334a507056366b4b5a4a55516966646e65665675684134483546576261765854523547414447565757316f2f
Deployed Bytecode
0x6080604052600436106102305760003560e01c806370a082311161012e578063b88d4fde116100ab578063e985e9c51161006f578063e985e9c514610677578063ebaeb76f146106c0578063edc0c72c146106e0578063f2fde38b146106f3578063faec9f501461071357600080fd5b8063b88d4fde146105de578063c87b56dd146105fe578063cdce5b621461061e578063d9d4f71714610639578063e8b5498d1461065d57600080fd5b806390be099f116100f257806390be099f1461054657806395d89b4114610576578063a22cb4651461058b578063b3ab66b0146105ab578063b6a1dba1146105be57600080fd5b806370a08231146104a6578063715018a6146104c657806374653dfb146104db5780638da5cb5b146105085780638ee9a14f1461052657600080fd5b80633bc18ec8116101bc57806355f804b31161018057806355f804b3146103f857806360e40f031461041857806363172ac1146104385780636352211e1461044d5780636ef136ba1461046d57600080fd5b80633bc18ec81461037a5780633ccfd60b1461038d578063417b8e05146103a257806342842e0e146103b85780634f6ccce7146103d857600080fd5b8063095ea7b311610203578063095ea7b3146102ed57806318160ddd1461030f57806323b872dd146103245780632f745c591461034457806332cb6b0c1461036457600080fd5b806301ffc9a71461023557806306fdde031461026a57806307e89ec01461028c578063081812fc146102b5575b600080fd5b34801561024157600080fd5b50610255610250366004612601565b610729565b60405190151581526020015b60405180910390f35b34801561027657600080fd5b5061027f610754565b6040516102619190612787565b34801561029857600080fd5b506102a76658d15e1762800081565b604051908152602001610261565b3480156102c157600080fd5b506102d56102d03660046126ad565b6107e6565b6040516001600160a01b039091168152602001610261565b3480156102f957600080fd5b5061030d61030836600461252a565b61080d565b005b34801561031b57600080fd5b506008546102a7565b34801561033057600080fd5b5061030d61033f3660046123f2565b610928565b34801561035057600080fd5b506102a761035f36600461252a565b61099f565b34801561037057600080fd5b506102a7610d0581565b61030d610388366004612554565b610a35565b34801561039957600080fd5b5061030d610bfc565b3480156103ae57600080fd5b506102a7600c5481565b3480156103c457600080fd5b5061030d6103d33660046123f2565b610c37565b3480156103e457600080fd5b506102a76103f33660046126ad565b610c52565b34801561040457600080fd5b5061030d61041336600461263b565b610ce5565b34801561042457600080fd5b5061030d6104333660046126ad565b610cf9565b34801561044457600080fd5b506102a7600281565b34801561045957600080fd5b506102d56104683660046126ad565b610d06565b34801561047957600080fd5b50600a5461049190600160c01b900463ffffffff1681565b60405163ffffffff9091168152602001610261565b3480156104b257600080fd5b506102a76104c13660046123a4565b610d6b565b3480156104d257600080fd5b5061030d610df1565b3480156104e757600080fd5b506102a76104f63660046123a4565b600e6020526000908152604090205481565b34801561051457600080fd5b50600a546001600160a01b03166102d5565b34801561053257600080fd5b5061030d6105413660046126c6565b610e05565b34801561055257600080fd5b506102556105613660046123a4565b600f6020526000908152604090205460ff1681565b34801561058257600080fd5b5061027f610e61565b34801561059757600080fd5b5061030d6105a63660046124ee565b610e70565b61030d6105b93660046126ad565b610e7b565b3480156105ca57600080fd5b5061030d6105d93660046123a4565b611045565b3480156105ea57600080fd5b5061030d6105f936600461242e565b6110c4565b34801561060a57600080fd5b5061027f6106193660046126ad565b611142565b34801561062a57600080fd5b506102a766354a6ba7a1800081565b34801561064557600080fd5b50600a5461049190600160a01b900463ffffffff1681565b34801561066957600080fd5b50600d546102559060ff1681565b34801561068357600080fd5b506102556106923660046123bf565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106cc57600080fd5b5061030d6106db3660046126ad565b6111a9565b61030d6106ee366004612554565b6111b6565b3480156106ff57600080fd5b5061030d61070e3660046123a4565b6113d0565b34801561071f57600080fd5b506102a7600b5481565b60006001600160e01b0319821663780e9d6360e01b148061074e575061074e82611449565b92915050565b60606000805461076390612845565b80601f016020809104026020016040519081016040528092919081815260200182805461078f90612845565b80156107dc5780601f106107b1576101008083540402835291602001916107dc565b820191906000526020600020905b8154815290600101906020018083116107bf57829003601f168201915b5050505050905090565b60006107f182611499565b506000908152600460205260409020546001600160a01b031690565b600061081882610d06565b9050806001600160a01b0316836001600160a01b0316141561088b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806108a757506108a78133610692565b6109195760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610882565b61092383836114fd565b505050565b610932338261156b565b6109945760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526c1c881bdc88185c1c1c9bdd9959609a1b6064820152608401610882565b6109238383836115ea565b60006109aa83610d6b565b8210610a0c5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610882565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a54600160a01b900463ffffffff164210801590610a625750600a54600160c01b900463ffffffff1642105b610aa05760405162461bcd60e51b815260206004820152600f60248201526e53616c65206e6f742061637469766560881b6044820152606401610882565b336000908152600f602052604090205460ff1615610af15760405162461bcd60e51b815260206004820152600e60248201526d105b1c9958591e481b5a5b9d195960921b6044820152606401610882565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050610b3782600b54836117d7565b610b755760405162461bcd60e51b815260206004820152600f60248201526e139bdd081dda1a5d195b1a5cdd1959608a1b6044820152606401610882565b66354a6ba7a180003414610bc25760405162461bcd60e51b8152602060048201526014602482015273125b9cdd59999a58da595b9d081c185e5b595b9d60621b6044820152606401610882565b336000908152600f60205260408120805460ff19166001179055610be560085490565b610bf09060016127cb565b905061092333826117ed565b610c04611807565b6040514790339082156108fc029083906000818181858888f19350505050158015610c33573d6000803e3d6000fd5b5050565b610923838383604051806020016040528060008152506110c4565b6000610c5d60085490565b8210610cc05760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610882565b60088281548110610cd357610cd36128c7565b90600052602060002001549050919050565b610ced611807565b610923601183836122db565b610d01611807565b600c55565b6000818152600260205260408120546001600160a01b03168061074e5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610882565b60006001600160a01b038216610dd55760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610882565b506001600160a01b031660009081526003602052604090205490565b610df9611807565b610e036000611861565b565b610e0d611807565b600a80547fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff16600160a01b63ffffffff9485160263ffffffff60c01b191617600160c01b9290931691909102919091179055565b60606001805461076390612845565b610c333383836118b3565b6000610e8660085490565b9050610805811015610ee357600a54600160c01b900463ffffffff16421015610ee35760405162461bcd60e51b815260206004820152600f60248201526e53616c65206e6f742061637469766560881b6044820152606401610882565b610d05610ef083836127cb565b1115610f295760405162461bcd60e51b815260206004820152600860248201526714dbdb19081bdd5d60c21b6044820152606401610882565b336000908152600e6020526040902054600290610f479084906127cb565b1115610f955760405162461bcd60e51b815260206004820152601e60248201527f4e6f206d6f7265207468616e2074776f20647572696e67207075626c696300006044820152606401610882565b610fa6826658d15e176280006127e3565b3414610feb5760405162461bcd60e51b8152602060048201526014602482015273125b9cdd59999a58da595b9d081c185e5b595b9d60621b6044820152606401610882565b336000908152600e60205260408120805484929061100a9084906127cb565b90915550600190505b82811161092357600061102682846127cb565b905061103233826117ed565b508061103d81612880565b915050611013565b61104d611807565b600d5460ff161561108f5760405162461bcd60e51b815260206004820152600c60248201526b416c726561647920646f6e6560a01b6044820152606401610882565b600d805460ff191660019081179091555b60198111610c33576110b282826117ed565b806110bc81612880565b9150506110a0565b6110ce338361156b565b6111305760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526c1c881bdc88185c1c1c9bdd9959609a1b6064820152608401610882565b61113c84848484611982565b50505050565b606061114d82611499565b6000611157611a00565b9050600081511161117757604051806020016040528060008152506111a2565b8061118184611a0f565b60405160200161119292919061271c565b6040516020818303038152906040525b9392505050565b6111b1611807565b600b55565b600a54600160a01b900463ffffffff1642108015906111e35750600a54600160c01b900463ffffffff1642105b6112215760405162461bcd60e51b815260206004820152600f60248201526e53616c65206e6f742061637469766560881b6044820152606401610882565b336000908152600f602052604090205460ff16156112725760405162461bcd60e51b815260206004820152600e60248201526d105b1c9958591e481b5a5b9d195960921b6044820152606401610882565b6040516bffffffffffffffffffffffff193360601b1660208201526000906034016040516020818303038152906040528051906020012090506112b882600c54836117d7565b6112f65760405162461bcd60e51b815260206004820152600f60248201526e139bdd081dda1a5d195b1a5cdd1959608a1b6044820152606401610882565b6105dc601054111561134a5760405162461bcd60e51b815260206004820152601260248201527f57686974656c69737420736f6c64206f757400000000000000000000000000006044820152606401610882565b66354a6ba7a1800034146113975760405162461bcd60e51b8152602060048201526014602482015273125b9cdd59999a58da595b9d081c185e5b595b9d60621b6044820152606401610882565b336000908152600f60205260408120805460ff19166001179055601080549091906113c190612880565b909155506000610be560085490565b6113d8611807565b6001600160a01b03811661143d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610882565b61144681611861565b50565b60006001600160e01b031982166380ac58cd60e01b148061147a57506001600160e01b03198216635b5e139f60e01b145b8061074e57506301ffc9a760e01b6001600160e01b031983161461074e565b6000818152600260205260409020546001600160a01b03166114465760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610882565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061153282610d06565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061157783610d06565b9050806001600160a01b0316846001600160a01b031614806115be57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806115e25750836001600160a01b03166115d7846107e6565b6001600160a01b0316145b949350505050565b826001600160a01b03166115fd82610d06565b6001600160a01b0316146116615760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610882565b6001600160a01b0382166116c35760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610882565b6116d08383836001611ab9565b826001600160a01b03166116e382610d06565b6001600160a01b0316146117475760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610882565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000826117e48584611c01565b14949350505050565b610c33828260405180602001604052806000815250611c46565b600a546001600160a01b03163314610e035760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610882565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156119155760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610882565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61198d8484846115ea565b61199984848484611cc4565b61113c5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610882565b60606011805461076390612845565b60606000611a1c83611e1c565b600101905060008167ffffffffffffffff811115611a3c57611a3c6128dd565b6040519080825280601f01601f191660200182016040528015611a66576020820181803683370190505b5090508181016020015b600019017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8504945084611aac57611ab1565b611a70565b509392505050565b611ac584848484611efe565b6001811115611b3c5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e736563757469766520747260448201527f616e7366657273206e6f7420737570706f7274656400000000000000000000006064820152608401610882565b816001600160a01b038516611b9857611b9381600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611bbb565b836001600160a01b0316856001600160a01b031614611bbb57611bbb8582611f86565b6001600160a01b038416611bd757611bd281612023565b611bfa565b846001600160a01b0316846001600160a01b031614611bfa57611bfa84826120d2565b5050505050565b600081815b8451811015611ab157611c3282868381518110611c2557611c256128c7565b6020026020010151612116565b915080611c3e81612880565b915050611c06565b611c508383612142565b611c5d6000848484611cc4565b6109235760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610882565b60006001600160a01b0384163b15611e1157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611d0890339089908890889060040161274b565b602060405180830381600087803b158015611d2257600080fd5b505af1925050508015611d52575060408051601f3d908101601f19168201909252611d4f9181019061261e565b60015b611df7573d808015611d80576040519150601f19603f3d011682016040523d82523d6000602084013e611d85565b606091505b508051611def5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610882565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506115e2565b506001949350505050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611e65577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310611e91576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611eaf57662386f26fc10000830492506010015b6305f5e1008310611ec7576305f5e100830492506008015b6127108310611edb57612710830492506004015b60648310611eed576064830492506002015b600a831061074e5760010192915050565b600181111561113c576001600160a01b03841615611f44576001600160a01b03841660009081526003602052604081208054839290611f3e908490612802565b90915550505b6001600160a01b0383161561113c576001600160a01b03831660009081526003602052604081208054839290611f7b9084906127cb565b909155505050505050565b60006001611f9384610d6b565b611f9d9190612802565b600083815260076020526040902054909150808214611ff0576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061203590600190612802565b6000838152600960205260408120546008805493945090928490811061205d5761205d6128c7565b90600052602060002001549050806008838154811061207e5761207e6128c7565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806120b6576120b66128b1565b6001900381819060005260206000200160009055905550505050565b60006120dd83610d6b565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60008183106121325760008281526020849052604090206111a2565b5060009182526020526040902090565b6001600160a01b0382166121985760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610882565b6000818152600260205260409020546001600160a01b0316156121fd5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610882565b61220b600083836001611ab9565b6000818152600260205260409020546001600160a01b0316156122705760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610882565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546122e790612845565b90600052602060002090601f016020900481019282612309576000855561234f565b82601f106123225782800160ff1982351617855561234f565b8280016001018555821561234f579182015b8281111561234f578235825591602001919060010190612334565b5061235b92915061235f565b5090565b5b8082111561235b5760008155600101612360565b80356001600160a01b038116811461238b57600080fd5b919050565b803563ffffffff8116811461238b57600080fd5b6000602082840312156123b657600080fd5b6111a282612374565b600080604083850312156123d257600080fd5b6123db83612374565b91506123e960208401612374565b90509250929050565b60008060006060848603121561240757600080fd5b61241084612374565b925061241e60208501612374565b9150604084013590509250925092565b6000806000806080858703121561244457600080fd5b61244d85612374565b9350602061245c818701612374565b935060408601359250606086013567ffffffffffffffff8082111561248057600080fd5b818801915088601f83011261249457600080fd5b8135818111156124a6576124a66128dd565b6124b8601f8201601f1916850161279a565b915080825289848285010111156124ce57600080fd5b808484018584013760008482840101525080935050505092959194509250565b6000806040838503121561250157600080fd5b61250a83612374565b91506020830135801515811461251f57600080fd5b809150509250929050565b6000806040838503121561253d57600080fd5b61254683612374565b946020939093013593505050565b6000602080838503121561256757600080fd5b823567ffffffffffffffff8082111561257f57600080fd5b818501915085601f83011261259357600080fd5b8135818111156125a5576125a56128dd565b8060051b91506125b684830161279a565b8181528481019084860184860187018a10156125d157600080fd5b600095505b838610156125f45780358352600195909501949186019186016125d6565b5098975050505050505050565b60006020828403121561261357600080fd5b81356111a2816128f3565b60006020828403121561263057600080fd5b81516111a2816128f3565b6000806020838503121561264e57600080fd5b823567ffffffffffffffff8082111561266657600080fd5b818501915085601f83011261267a57600080fd5b81358181111561268957600080fd5b86602082850101111561269b57600080fd5b60209290920196919550909350505050565b6000602082840312156126bf57600080fd5b5035919050565b600080604083850312156126d957600080fd5b6126e283612390565b91506123e960208401612390565b60008151808452612708816020860160208601612819565b601f01601f19169290920160200192915050565b6000835161272e818460208801612819565b835190830190612742818360208801612819565b01949350505050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261277d60808301846126f0565b9695505050505050565b6020815260006111a260208301846126f0565b604051601f8201601f1916810167ffffffffffffffff811182821017156127c3576127c36128dd565b604052919050565b600082198211156127de576127de61289b565b500190565b60008160001904831182151516156127fd576127fd61289b565b500290565b6000828210156128145761281461289b565b500390565b60005b8381101561283457818101518382015260200161281c565b8381111561113c5750506000910152565b600181811c9082168061285957607f821691505b6020821081141561287a57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156128945761289461289b565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461144657600080fdfea26469706673582212202343e31c8042c353a426a2f290f319267ff010a35454058ff5dd19cd5089a92964736f6c63430008070033
Deployed Bytecode Sourcemap
260:3974:14:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1005:222:4;;;;;;;;;;-1:-1:-1;1005:222:4;;;;;:::i;:::-;;:::i;:::-;;;7160:14:15;;7153:22;7135:41;;7123:2;7108:18;1005:222:4;;;;;;;;2471:98:1;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;462:55:14:-;;;;;;;;;;;;506:11;462:55;;;;;7333:25:15;;;7321:2;7306:18;462:55:14;7187:177:15;3935:167:1;;;;;;;;;;-1:-1:-1;3935:167:1;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6412:55:15;;;6394:74;;6382:2;6367:18;3935:167:1;6248:226:15;3468:406:1;;;;;;;;;;-1:-1:-1;3468:406:1;;;;;:::i;:::-;;:::i;:::-;;1630:111:4;;;;;;;;;;-1:-1:-1;1717:10:4;:17;1630:111;;4612:326:1;;;;;;;;;;-1:-1:-1;4612:326:1;;;;;:::i;:::-;;:::i;1306:253:4:-;;;;;;;;;;-1:-1:-1;1306:253:4;;;;;:::i;:::-;;:::i;308:41:14:-;;;;;;;;;;;;345:4;308:41;;1252:700;;;;;;:::i;:::-;;:::i;4093:139::-;;;;;;;;;;;;;:::i;655:26::-;;;;;;;;;;;;;;;;5004:179:1;;;;;;;;;;-1:-1:-1;5004:179:1;;;;;:::i;:::-;;:::i;1813:230:4:-;;;;;;;;;;-1:-1:-1;1813:230:4;;;;;:::i;:::-;;:::i;3752:104:14:-;;;;;;;;;;-1:-1:-1;3752:104:14;;;;;:::i;:::-;;:::i;1145:101::-;;;;;;;;;;-1:-1:-1;1145:101:14;;;;;:::i;:::-;;:::i;355:43::-;;;;;;;;;;;;397:1;355:43;;2190:219:1;;;;;;;;;;-1:-1:-1;2190:219:1;;;;;:::i;:::-;;:::i;573:41:14:-;;;;;;;;;;-1:-1:-1;573:41:14;;;;-1:-1:-1;;;573:41:14;;;;;;;;;17038:10:15;17026:23;;;17008:42;;16996:2;16981:18;573:41:14;16864:192:15;1929:204:1;;;;;;;;;;-1:-1:-1;1929:204:1;;;;;:::i;:::-;;:::i;1831:101:0:-;;;;;;;;;;;;;:::i;717:53:14:-;;;;;;;;;;-1:-1:-1;717:53:14;;;;;:::i;:::-;;;;;;;;;;;;;;1201:85:0;;;;;;;;;;-1:-1:-1;1273:6:0;;-1:-1:-1;;;;;1273:6:0;1201:85;;3492:136:14;;;;;;;;;;-1:-1:-1;3492:136:14;;;;;:::i;:::-;;:::i;776:45::-;;;;;;;;;;-1:-1:-1;776:45:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;2633:102:1;;;;;;;;;;;;;:::i;4169:153::-;;;;;;;;;;-1:-1:-1;4169:153:1;;;;;:::i;:::-;;:::i;2757:729:14:-;;;;;;:::i;:::-;;:::i;3862:225::-;;;;;;;;;;-1:-1:-1;3862:225:14;;;;;:::i;:::-;;:::i;5249:314:1:-;;;;;;;;;;-1:-1:-1;5249:314:1;;;;;:::i;:::-;;:::i;2801:276::-;;;;;;;;;;-1:-1:-1;2801:276:1;;;;;:::i;:::-;;:::i;404:52:14:-;;;;;;;;;;;;445:11;404:52;;524:43;;;;;;;;;;-1:-1:-1;524:43:14;;;;-1:-1:-1;;;524:43:14;;;;;;687:22;;;;;;;;;;-1:-1:-1;687:22:14;;;;;;;;4388:162:1;;;;;;;;;;-1:-1:-1;4388:162:1;;;;;:::i;:::-;-1:-1:-1;;;;;4508:25:1;;;4485:4;4508:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4388:162;1034:105:14;;;;;;;;;;-1:-1:-1;1034:105:14;;;;;:::i;:::-;;:::i;1958:793::-;;;;;;:::i;:::-;;:::i;2081:198:0:-;;;;;;;;;;-1:-1:-1;2081:198:0;;;;;:::i;:::-;;:::i;621:28:14:-;;;;;;;;;;;;;;;;1005:222:4;1107:4;-1:-1:-1;;;;;;1130:50:4;;-1:-1:-1;;;1130:50:4;;:90;;;1184:36;1208:11;1184:23;:36::i;:::-;1123:97;1005:222;-1:-1:-1;;1005:222:4:o;2471:98:1:-;2525:13;2557:5;2550:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2471:98;:::o;3935:167::-;4011:7;4030:23;4045:7;4030:14;:23::i;:::-;-1:-1:-1;4071:24:1;;;;:15;:24;;;;;;-1:-1:-1;;;;;4071:24:1;;3935:167::o;3468:406::-;3548:13;3564:23;3579:7;3564:14;:23::i;:::-;3548:39;;3611:5;-1:-1:-1;;;;;3605:11:1;:2;-1:-1:-1;;;;;3605:11:1;;;3597:57;;;;-1:-1:-1;;;3597:57:1;;14540:2:15;3597:57:1;;;14522:21:15;14579:2;14559:18;;;14552:30;14618:34;14598:18;;;14591:62;-1:-1:-1;;;14669:18:15;;;14662:31;14710:19;;3597:57:1;;;;;;;;;719:10:8;-1:-1:-1;;;;;3686:21:1;;;;:62;;-1:-1:-1;3711:37:1;3728:5;719:10:8;4388:162:1;:::i;3711:37::-;3665:170;;;;-1:-1:-1;;;3665:170:1;;15283:2:15;3665:170:1;;;15265:21:15;15322:2;15302:18;;;15295:30;15361:34;15341:18;;;15334:62;15432:31;15412:18;;;15405:59;15481:19;;3665:170:1;15081:425:15;3665:170:1;3846:21;3855:2;3859:7;3846:8;:21::i;:::-;3538:336;3468:406;;:::o;4612:326::-;4801:41;719:10:8;4834:7:1;4801:18;:41::i;:::-;4793:99;;;;-1:-1:-1;;;4793:99:1;;8138:2:15;4793:99:1;;;8120:21:15;8177:2;8157:18;;;8150:30;8216:34;8196:18;;;8189:62;-1:-1:-1;;;8267:18:15;;;8260:43;8320:19;;4793:99:1;7936:409:15;4793:99:1;4903:28;4913:4;4919:2;4923:7;4903:9;:28::i;1306:253:4:-;1403:7;1438:23;1455:5;1438:16;:23::i;:::-;1430:5;:31;1422:87;;;;-1:-1:-1;;;1422:87:4;;8552:2:15;1422:87:4;;;8534:21:15;8591:2;8571:18;;;8564:30;8630:34;8610:18;;;8603:62;-1:-1:-1;;;8681:18:15;;;8674:41;8732:19;;1422:87:4;8350:407:15;1422:87:4;-1:-1:-1;;;;;;1526:19:4;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;1306:253::o;1252:700:14:-;1373:16;;-1:-1:-1;;;1373:16:14;;;;1354:15;:35;;;;:87;;-1:-1:-1;1427:14:14;;-1:-1:-1;;;1427:14:14;;;;1409:15;:32;1354:87;1333:149;;;;-1:-1:-1;;;1333:149:14;;11659:2:15;1333:149:14;;;11641:21:15;11698:2;11678:18;;;11671:30;-1:-1:-1;;;11717:18:15;;;11710:45;11772:18;;1333:149:14;11457:339:15;1333:149:14;1515:10;1501:25;;;;:13;:25;;;;;;;;1500:26;1492:53;;;;-1:-1:-1;;;1492:53:14;;7795:2:15;1492:53:14;;;7777:21:15;7834:2;7814:18;;;7807:30;-1:-1:-1;;;7853:18:15;;;7846:44;7907:18;;1492:53:14;7593:338:15;1492:53:14;1587:28;;-1:-1:-1;;1604:10:14;5688:2:15;5684:15;5680:53;1587:28:14;;;5668:66:15;1555:19:14;;5750:12:15;;1587:28:14;;;;;;;;;;;;1577:39;;;;;;1555:61;;1647:60;1666:12;1680:13;;1695:11;1647:18;:60::i;:::-;1626:122;;;;-1:-1:-1;;;1626:122:14;;12413:2:15;1626:122:14;;;12395:21:15;12452:2;12432:18;;;12425:30;-1:-1:-1;;;12471:18:15;;;12464:45;12526:18;;1626:122:14;12211:339:15;1626:122:14;445:11;1766:9;:27;1758:60;;;;-1:-1:-1;;;1758:60:14;;13477:2:15;1758:60:14;;;13459:21:15;13516:2;13496:18;;;13489:30;-1:-1:-1;;;13535:18:15;;;13528:50;13595:18;;1758:60:14;13275:344:15;1758:60:14;1842:10;1828:25;;;;:13;:25;;;;;:32;;-1:-1:-1;;1828:32:14;1856:4;1828:32;;;1888:13;1717:10:4;:17;;1630:111;1888:13:14;:17;;1904:1;1888:17;:::i;:::-;1870:35;;1915:30;1925:10;1937:7;1915:9;:30::i;4093:139::-;1094:13:0;:11;:13::i;:::-;4188:37:14::1;::::0;4157:21:::1;::::0;4196:10:::1;::::0;4188:37;::::1;;;::::0;4157:21;;4142:12:::1;4188:37:::0;4142:12;4188:37;4157:21;4196:10;4188:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;4132:100;4093:139::o:0;5004:179:1:-;5137:39;5154:4;5160:2;5164:7;5137:39;;;;;;;;;;;;:16;:39::i;1813:230:4:-;1888:7;1923:30;1717:10;:17;;1630:111;1923:30;1915:5;:38;1907:95;;;;-1:-1:-1;;;1907:95:4;;16049:2:15;1907:95:4;;;16031:21:15;16088:2;16068:18;;;16061:30;16127:34;16107:18;;;16100:62;-1:-1:-1;;;16178:18:15;;;16171:42;16230:19;;1907:95:4;15847:408:15;1907:95:4;2019:10;2030:5;2019:17;;;;;;;;:::i;:::-;;;;;;;;;2012:24;;1813:230;;;:::o;3752:104:14:-;1094:13:0;:11;:13::i;:::-;3826:23:14::1;:13;3842:7:::0;;3826:23:::1;:::i;1145:101::-:0;1094:13:0;:11;:13::i;:::-;1212:11:14::1;:27:::0;1145:101::o;2190:219:1:-;2262:7;6930:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6930:16:1;;2324:56;;;;-1:-1:-1;;;2324:56:1;;14187:2:15;2324:56:1;;;14169:21:15;14226:2;14206:18;;;14199:30;14265:26;14245:18;;;14238:54;14309:18;;2324:56:1;13985:348:15;1929:204:1;2001:7;-1:-1:-1;;;;;2028:19:1;;2020:73;;;;-1:-1:-1;;;2020:73:1;;12003:2:15;2020:73:1;;;11985:21:15;12042:2;12022:18;;;12015:30;12081:34;12061:18;;;12054:62;-1:-1:-1;;;12132:18:15;;;12125:39;12181:19;;2020:73:1;11801:405:15;2020:73:1;-1:-1:-1;;;;;;2110:16:1;;;;;:9;:16;;;;;;;1929:204::o;1831:101:0:-;1094:13;:11;:13::i;:::-;1895:30:::1;1922:1;1895:18;:30::i;:::-;1831:101::o:0;3492:136:14:-;1094:13:0;:11;:13::i;:::-;3567:16:14::1;:24:::0;;3601:20;;-1:-1:-1;;;3567:24:14::1;::::0;;::::1;;-1:-1:-1::0;;;;3601:20:14;;-1:-1:-1;;;3601:20:14;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;3492:136::o;2633:102:1:-;2689:13;2721:7;2714:14;;;;;:::i;4169:153::-;4263:52;719:10:8;4296:8:1;4306;4263:18;:52::i;2757:729:14:-;2826:10;2839:13;1717:10:4;:17;;1630:111;2839:13:14;2826:26;;2871:4;2866:2;:9;2862:101;;;2918:14;;-1:-1:-1;;;2918:14:14;;;;2899:15;:33;;2891:61;;;;-1:-1:-1;;;2891:61:14;;11659:2:15;2891:61:14;;;11641:21:15;11698:2;11678:18;;;11671:30;-1:-1:-1;;;11717:18:15;;;11710:45;11772:18;;2891:61:14;11457:339:15;2891:61:14;345:4;2980:13;2985:8;2980:2;:13;:::i;:::-;:27;;2972:48;;;;-1:-1:-1;;;2972:48:14;;15713:2:15;2972:48:14;;;15695:21:15;15752:1;15732:18;;;15725:29;-1:-1:-1;;;15770:18:15;;;15763:38;15818:18;;2972:48:14;15511:331:15;2972:48:14;3070:10;3051:30;;;;:18;:30;;;;;;397:1;;3051:41;;3084:8;;3051:41;:::i;:::-;:60;;3030:137;;;;-1:-1:-1;;;3030:137:14;;12757:2:15;3030:137:14;;;12739:21:15;12796:2;12776:18;;;12769:30;12835:32;12815:18;;;12808:60;12885:18;;3030:137:14;12555:354:15;3030:137:14;3211:28;3231:8;506:11;3211:28;:::i;:::-;3198:9;:41;3177:108;;;;-1:-1:-1;;;3177:108:14;;13477:2:15;3177:108:14;;;13459:21:15;13516:2;13496:18;;;13489:30;-1:-1:-1;;;13535:18:15;;;13528:50;13595:18;;3177:108:14;13275:344:15;3177:108:14;3314:10;3295:30;;;;:18;:30;;;;;:42;;3329:8;;3295:30;:42;;3329:8;;3295:42;:::i;:::-;;;;-1:-1:-1;3364:1:14;;-1:-1:-1;3347:133:14;3372:8;3367:1;:13;3347:133;;3401:15;3419:6;3424:1;3419:2;:6;:::i;:::-;3401:24;;3439:30;3449:10;3461:7;3439:9;:30::i;:::-;-1:-1:-1;3382:3:14;;;;:::i;:::-;;;;3347:133;;3862:225;1094:13:0;:11;:13::i;:::-;3936:10:14::1;::::0;::::1;;3935:11;3927:36;;;::::0;-1:-1:-1;;;3927:36:14;;14942:2:15;3927:36:14::1;::::0;::::1;14924:21:15::0;14981:2;14961:18;;;14954:30;-1:-1:-1;;;15000:18:15;;;14993:42;15052:18;;3927:36:14::1;14740:336:15::0;3927:36:14::1;3973:10;:17:::0;;-1:-1:-1;;3973:17:14::1;3986:4;3973:17:::0;;::::1;::::0;;;4000:81:::1;4025:2;4020:1;:7;4000:81;;4048:22;4058:8;4068:1;4048:9;:22::i;:::-;4029:3:::0;::::1;::::0;::::1;:::i;:::-;;;;4000:81;;5249:314:1::0;5417:41;719:10:8;5450:7:1;5417:18;:41::i;:::-;5409:99;;;;-1:-1:-1;;;5409:99:1;;8138:2:15;5409:99:1;;;8120:21:15;8177:2;8157:18;;;8150:30;8216:34;8196:18;;;8189:62;-1:-1:-1;;;8267:18:15;;;8260:43;8320:19;;5409:99:1;7936:409:15;5409:99:1;5518:38;5532:4;5538:2;5542:7;5551:4;5518:13;:38::i;:::-;5249:314;;;;:::o;2801:276::-;2874:13;2899:23;2914:7;2899:14;:23::i;:::-;2933:21;2957:10;:8;:10::i;:::-;2933:34;;3008:1;2990:7;2984:21;:25;:86;;;;;;;;;;;;;;;;;3036:7;3045:18;:7;:16;:18::i;:::-;3019:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;2984:86;2977:93;2801:276;-1:-1:-1;;;2801:276:1:o;1034:105:14:-;1094:13:0;:11;:13::i;:::-;1103::14::1;:29:::0;1034:105::o;1958:793::-;2077:16;;-1:-1:-1;;;2077:16:14;;;;2058:15;:35;;;;:87;;-1:-1:-1;2131:14:14;;-1:-1:-1;;;2131:14:14;;;;2113:15;:32;2058:87;2037:149;;;;-1:-1:-1;;;2037:149:14;;11659:2:15;2037:149:14;;;11641:21:15;11698:2;11678:18;;;11671:30;-1:-1:-1;;;11717:18:15;;;11710:45;11772:18;;2037:149:14;11457:339:15;2037:149:14;2219:10;2205:25;;;;:13;:25;;;;;;;;2204:26;2196:53;;;;-1:-1:-1;;;2196:53:14;;7795:2:15;2196:53:14;;;7777:21:15;7834:2;7814:18;;;7807:30;-1:-1:-1;;;7853:18:15;;;7846:44;7907:18;;2196:53:14;7593:338:15;2196:53:14;2291:28;;-1:-1:-1;;2308:10:14;5688:2:15;5684:15;5680:53;2291:28:14;;;5668:66:15;2259:19:14;;5750:12:15;;2291:28:14;;;;;;;;;;;;2281:39;;;;;;2259:61;;2351:58;2370:12;2384:11;;2397;2351:18;:58::i;:::-;2330:120;;;;-1:-1:-1;;;2330:120:14;;12413:2:15;2330:120:14;;;12395:21:15;12452:2;12432:18;;;12425:30;-1:-1:-1;;;12471:18:15;;;12464:45;12526:18;;2330:120:14;12211:339:15;2330:120:14;2490:4;2468:18;;:26;;2460:57;;;;-1:-1:-1;;;2460:57:14;;10553:2:15;2460:57:14;;;10535:21:15;10592:2;10572:18;;;10565:30;10631:20;10611:18;;;10604:48;10669:18;;2460:57:14;10351:342:15;2460:57:14;445:11;2535:9;:27;2527:60;;;;-1:-1:-1;;;2527:60:14;;13477:2:15;2527:60:14;;;13459:21:15;13516:2;13496:18;;;13489:30;-1:-1:-1;;;13535:18:15;;;13528:50;13595:18;;2527:60:14;13275:344:15;2527:60:14;2611:10;2597:25;;;;:13;:25;;;;;:32;;-1:-1:-1;;2597:32:14;2625:4;2597:32;;;2641:18;2639:20;;2641:18;;2597:25;2639:20;;;:::i;:::-;;;;-1:-1:-1;2669:15:14;2687:13;1717:10:4;:17;;1630:111;2081:198:0;1094:13;:11;:13::i;:::-;-1:-1:-1;;;;;2169:22:0;::::1;2161:73;;;::::0;-1:-1:-1;;;2161:73:0;;9383:2:15;2161:73:0::1;::::0;::::1;9365:21:15::0;9422:2;9402:18;;;9395:30;9461:34;9441:18;;;9434:62;-1:-1:-1;;;9512:18:15;;;9505:36;9558:19;;2161:73:0::1;9181:402:15::0;2161:73:0::1;2244:28;2263:8;2244:18;:28::i;:::-;2081:198:::0;:::o;1570:300:1:-;1672:4;-1:-1:-1;;;;;;1707:40:1;;-1:-1:-1;;;1707:40:1;;:104;;-1:-1:-1;;;;;;;1763:48:1;;-1:-1:-1;;;1763:48:1;1707:104;:156;;;-1:-1:-1;;;;;;;;;;937:40:11;;;1827:36:1;829:155:11;13466:133:1;7321:4;6930:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6930:16:1;13539:53;;;;-1:-1:-1;;;13539:53:1;;14187:2:15;13539:53:1;;;14169:21:15;14226:2;14206:18;;;14199:30;14265:26;14245:18;;;14238:54;14309:18;;13539:53:1;13985:348:15;12768:171:1;12842:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;12842:29:1;-1:-1:-1;;;;;12842:29:1;;;;;;;;:24;;12895:23;12842:24;12895:14;:23::i;:::-;-1:-1:-1;;;;;12886:46:1;;;;;;;;;;;12768:171;;:::o;7540:261::-;7633:4;7649:13;7665:23;7680:7;7665:14;:23::i;:::-;7649:39;;7717:5;-1:-1:-1;;;;;7706:16:1;:7;-1:-1:-1;;;;;7706:16:1;;:52;;;-1:-1:-1;;;;;;4508:25:1;;;4485:4;4508:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;7726:32;7706:87;;;;7786:7;-1:-1:-1;;;;;7762:31:1;:20;7774:7;7762:11;:20::i;:::-;-1:-1:-1;;;;;7762:31:1;;7706:87;7698:96;7540:261;-1:-1:-1;;;;7540:261:1:o;11423:1233::-;11577:4;-1:-1:-1;;;;;11550:31:1;:23;11565:7;11550:14;:23::i;:::-;-1:-1:-1;;;;;11550:31:1;;11542:81;;;;-1:-1:-1;;;11542:81:1;;9790:2:15;11542:81:1;;;9772:21:15;9829:2;9809:18;;;9802:30;9868:34;9848:18;;;9841:62;-1:-1:-1;;;9919:18:15;;;9912:35;9964:19;;11542:81:1;9588:401:15;11542:81:1;-1:-1:-1;;;;;11641:16:1;;11633:65;;;;-1:-1:-1;;;11633:65:1;;10900:2:15;11633:65:1;;;10882:21:15;10939:2;10919:18;;;10912:30;10978:34;10958:18;;;10951:62;-1:-1:-1;;;11029:18:15;;;11022:34;11073:19;;11633:65:1;10698:400:15;11633:65:1;11709:42;11730:4;11736:2;11740:7;11749:1;11709:20;:42::i;:::-;11878:4;-1:-1:-1;;;;;11851:31:1;:23;11866:7;11851:14;:23::i;:::-;-1:-1:-1;;;;;11851:31:1;;11843:81;;;;-1:-1:-1;;;11843:81:1;;9790:2:15;11843:81:1;;;9772:21:15;9829:2;9809:18;;;9802:30;9868:34;9848:18;;;9841:62;-1:-1:-1;;;9919:18:15;;;9912:35;9964:19;;11843:81:1;9588:401:15;11843:81:1;11993:24;;;;:15;:24;;;;;;;;11986:31;;-1:-1:-1;;;;;;11986:31:1;;;;;;-1:-1:-1;;;;;12461:15:1;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;12461:20:1;;;12495:13;;;;;;;;;:18;;11986:31;12495:18;;;12533:16;;;:7;:16;;;;;;:21;;;;;;;;;;12570:27;;12009:7;;12570:27;;;3538:336;3468:406;;:::o;1156:184:10:-;1277:4;1329;1300:25;1313:5;1320:4;1300:12;:25::i;:::-;:33;;1156:184;-1:-1:-1;;;;1156:184:10:o;8131:108:1:-;8206:26;8216:2;8220:7;8206:26;;;;;;;;;;;;:9;:26::i;1359:130:0:-;1273:6;;-1:-1:-1;;;;;1273:6:0;719:10:8;1422:23:0;1414:68;;;;-1:-1:-1;;;1414:68:0;;13826:2:15;1414:68:0;;;13808:21:15;;;13845:18;;;13838:30;13904:34;13884:18;;;13877:62;13956:18;;1414:68:0;13624:356:15;2433:187:0;2525:6;;;-1:-1:-1;;;;;2541:17:0;;;-1:-1:-1;;;;;;2541:17:0;;;;;;;2573:40;;2525:6;;;2541:17;2525:6;;2573:40;;2506:16;;2573:40;2496:124;2433:187;:::o;13075:307:1:-;13225:8;-1:-1:-1;;;;;13216:17:1;:5;-1:-1:-1;;;;;13216:17:1;;;13208:55;;;;-1:-1:-1;;;13208:55:1;;11305:2:15;13208:55:1;;;11287:21:15;11344:2;11324:18;;;11317:30;11383:27;11363:18;;;11356:55;11428:18;;13208:55:1;11103:349:15;13208:55:1;-1:-1:-1;;;;;13273:25:1;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;13273:46:1;;;;;;;;;;13334:41;;7135::15;;;13334::1;;7108:18:15;13334:41:1;;;;;;;13075:307;;;:::o;6424:305::-;6574:28;6584:4;6590:2;6594:7;6574:9;:28::i;:::-;6620:47;6643:4;6649:2;6653:7;6662:4;6620:22;:47::i;:::-;6612:110;;;;-1:-1:-1;;;6612:110:1;;8964:2:15;6612:110:1;;;8946:21:15;9003:2;8983:18;;;8976:30;9042:34;9022:18;;;9015:62;-1:-1:-1;;;9093:18:15;;;9086:48;9151:19;;6612:110:1;8762:414:15;3634:112:14;3694:13;3726;3719:20;;;;;:::i;415:696:9:-;471:13;520:14;537:17;548:5;537:10;:17::i;:::-;557:1;537:21;520:38;;572:20;606:6;595:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;595:18:9;-1:-1:-1;572:41:9;-1:-1:-1;733:28:9;;;749:2;733:28;788:280;-1:-1:-1;;819:5:9;958:8;953:2;942:14;;937:30;819:5;924:44;1012:2;1003:11;;;-1:-1:-1;1036:10:9;1032:21;;1048:5;;1032:21;788:280;;;-1:-1:-1;1088:6:9;415:696;-1:-1:-1;;;415:696:9:o;2112:890:4:-;2283:61;2310:4;2316:2;2320:12;2334:9;2283:26;:61::i;:::-;2371:1;2359:9;:13;2355:219;;;2500:63;;-1:-1:-1;;;2500:63:4;;16462:2:15;2500:63:4;;;16444:21:15;16501:2;16481:18;;;16474:30;16540:34;16520:18;;;16513:62;16611:23;16591:18;;;16584:51;16652:19;;2500:63:4;16260:417:15;2355:219:4;2602:12;-1:-1:-1;;;;;2629:18:4;;2625:183;;2663:40;2695:7;3811:10;:17;;3784:24;;;;:15;:24;;;;;:44;;;3838:24;;;;;;;;;;;;3708:161;2663:40;2625:183;;;2732:2;-1:-1:-1;;;;;2724:10:4;:4;-1:-1:-1;;;;;2724:10:4;;2720:88;;2750:47;2783:4;2789:7;2750:32;:47::i;:::-;-1:-1:-1;;;;;2821:16:4;;2817:179;;2853:45;2890:7;2853:36;:45::i;:::-;2817:179;;;2925:4;-1:-1:-1;;;;;2919:10:4;:2;-1:-1:-1;;;;;2919:10:4;;2915:81;;2945:40;2973:2;2977:7;2945:27;:40::i;:::-;2273:729;2112:890;;;;:::o;1994:290:10:-;2077:7;2119:4;2077:7;2133:116;2157:5;:12;2153:1;:16;2133:116;;;2205:33;2215:12;2229:5;2235:1;2229:8;;;;;;;;:::i;:::-;;;;;;;2205:9;:33::i;:::-;2190:48;-1:-1:-1;2171:3:10;;;;:::i;:::-;;;;2133:116;;8460:309:1;8584:18;8590:2;8594:7;8584:5;:18::i;:::-;8633:53;8664:1;8668:2;8672:7;8681:4;8633:22;:53::i;:::-;8612:150;;;;-1:-1:-1;;;8612:150:1;;8964:2:15;8612:150:1;;;8946:21:15;9003:2;8983:18;;;8976:30;9042:34;9022:18;;;9015:62;-1:-1:-1;;;9093:18:15;;;9086:48;9151:19;;8612:150:1;8762:414:15;14151:831:1;14300:4;-1:-1:-1;;;;;14320:13:1;;1465:19:7;:23;14316:660:1;;14355:71;;-1:-1:-1;;;14355:71:1;;-1:-1:-1;;;;;14355:36:1;;;;;:71;;719:10:8;;14406:4:1;;14412:7;;14421:4;;14355:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14355:71:1;;;;;;;;-1:-1:-1;;14355:71:1;;;;;;;;;;;;:::i;:::-;;;14351:573;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14593:13:1;;14589:321;;14635:60;;-1:-1:-1;;;14635:60:1;;8964:2:15;14635:60:1;;;8946:21:15;9003:2;8983:18;;;8976:30;9042:34;9022:18;;;9015:62;-1:-1:-1;;;9093:18:15;;;9086:48;9151:19;;14635:60:1;8762:414:15;14589:321:1;14862:6;14856:13;14847:6;14843:2;14839:15;14832:38;14351:573;-1:-1:-1;;;;;;14476:51:1;-1:-1:-1;;;14476:51:1;;-1:-1:-1;14469:58:1;;14316:660;-1:-1:-1;14961:4:1;14151:831;;;;;;:::o;9889:890:13:-;9942:7;;10026:6;10017:15;;10013:99;;10061:6;10052:15;;;-1:-1:-1;10095:2:13;10085:12;10013:99;10138:6;10129:5;:15;10125:99;;10173:6;10164:15;;;-1:-1:-1;10207:2:13;10197:12;10125:99;10250:6;10241:5;:15;10237:99;;10285:6;10276:15;;;-1:-1:-1;10319:2:13;10309:12;10237:99;10362:5;10353;:14;10349:96;;10396:5;10387:14;;;-1:-1:-1;10429:1:13;10419:11;10349:96;10471:5;10462;:14;10458:96;;10505:5;10496:14;;;-1:-1:-1;10538:1:13;10528:11;10458:96;10580:5;10571;:14;10567:96;;10614:5;10605:14;;;-1:-1:-1;10647:1:13;10637:11;10567:96;10689:5;10680;:14;10676:64;;10724:1;10714:11;10766:6;9889:890;-1:-1:-1;;9889:890:13:o;15698:396:1:-;15882:1;15870:9;:13;15866:222;;;-1:-1:-1;;;;;15903:18:1;;;15899:85;;-1:-1:-1;;;;;15941:15:1;;;;;;:9;:15;;;;;:28;;15960:9;;15941:15;:28;;15960:9;;15941:28;:::i;:::-;;;;-1:-1:-1;;15899:85:1;-1:-1:-1;;;;;16001:16:1;;;15997:81;;-1:-1:-1;;;;;16037:13:1;;;;;;:9;:13;;;;;:26;;16054:9;;16037:13;:26;;16054:9;;16037:26;:::i;:::-;;;;-1:-1:-1;;15698:396:1;;;;:::o;4486:970:4:-;4748:22;4798:1;4773:22;4790:4;4773:16;:22::i;:::-;:26;;;;:::i;:::-;4809:18;4830:26;;;:17;:26;;;;;;4748:51;;-1:-1:-1;4960:28:4;;;4956:323;;-1:-1:-1;;;;;5026:18:4;;5004:19;5026:18;;;:12;:18;;;;;;;;:34;;;;;;;;;5075:30;;;;;;:44;;;5191:30;;:17;:30;;;;;:43;;;4956:323;-1:-1:-1;5372:26:4;;;;:17;:26;;;;;;;;5365:33;;;-1:-1:-1;;;;;5415:18:4;;;;;:12;:18;;;;;:34;;;;;;;5408:41;4486:970::o;5744:1061::-;6018:10;:17;5993:22;;6018:21;;6038:1;;6018:21;:::i;:::-;6049:18;6070:24;;;:15;:24;;;;;;6438:10;:26;;5993:46;;-1:-1:-1;6070:24:4;;5993:46;;6438:26;;;;;;:::i;:::-;;;;;;;;;6416:48;;6500:11;6475:10;6486;6475:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;6579:28;;;:15;:28;;;;;;;:41;;;6748:24;;;;;6741:31;6782:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;5815:990;;;5744:1061;:::o;3296:217::-;3380:14;3397:20;3414:2;3397:16;:20::i;:::-;-1:-1:-1;;;;;3427:16:4;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;3471:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;3296:217:4:o;8879:147:10:-;8942:7;8972:1;8968;:5;:51;;9100:13;9191:15;;;9226:4;9219:15;;;9272:4;9256:21;;8968:51;;;-1:-1:-1;9100:13:10;9191:15;;;9226:4;9219:15;9272:4;9256:21;;;8879:147::o;9091:920:1:-;-1:-1:-1;;;;;9170:16:1;;9162:61;;;;-1:-1:-1;;;9162:61:1;;13116:2:15;9162:61:1;;;13098:21:15;;;13135:18;;;13128:30;13194:34;13174:18;;;13167:62;13246:18;;9162:61:1;12914:356:15;9162:61:1;7321:4;6930:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6930:16:1;7344:31;9233:58;;;;-1:-1:-1;;;9233:58:1;;10196:2:15;9233:58:1;;;10178:21:15;10235:2;10215:18;;;10208:30;10274;10254:18;;;10247:58;10322:18;;9233:58:1;9994:352:15;9233:58:1;9302:48;9331:1;9335:2;9339:7;9348:1;9302:20;:48::i;:::-;7321:4;6930:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6930:16:1;7344:31;9437:58;;;;-1:-1:-1;;;9437:58:1;;10196:2:15;9437:58:1;;;10178:21:15;10235:2;10215:18;;;10208:30;10274;10254:18;;;10247:58;10322:18;;9437:58:1;9994:352:15;9437:58:1;-1:-1:-1;;;;;9837:13:1;;;;;;:9;:13;;;;;;;;:18;;9854:1;9837:18;;;9876:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9876:21:1;;;;;9913:33;9884:7;;9837:13;;9913:33;;9837:13;;9913:33;4188:37:14::1;4132:100;4093:139::o:0;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:196:15;82:20;;-1:-1:-1;;;;;131:54:15;;121:65;;111:93;;200:1;197;190:12;111:93;14:196;;;:::o;215:163::-;282:20;;342:10;331:22;;321:33;;311:61;;368:1;365;358:12;383:186;442:6;495:2;483:9;474:7;470:23;466:32;463:52;;;511:1;508;501:12;463:52;534:29;553:9;534:29;:::i;574:260::-;642:6;650;703:2;691:9;682:7;678:23;674:32;671:52;;;719:1;716;709:12;671:52;742:29;761:9;742:29;:::i;:::-;732:39;;790:38;824:2;813:9;809:18;790:38;:::i;:::-;780:48;;574:260;;;;;:::o;839:328::-;916:6;924;932;985:2;973:9;964:7;960:23;956:32;953:52;;;1001:1;998;991:12;953:52;1024:29;1043:9;1024:29;:::i;:::-;1014:39;;1072:38;1106:2;1095:9;1091:18;1072:38;:::i;:::-;1062:48;;1157:2;1146:9;1142:18;1129:32;1119:42;;839:328;;;;;:::o;1172:980::-;1267:6;1275;1283;1291;1344:3;1332:9;1323:7;1319:23;1315:33;1312:53;;;1361:1;1358;1351:12;1312:53;1384:29;1403:9;1384:29;:::i;:::-;1374:39;;1432:2;1453:38;1487:2;1476:9;1472:18;1453:38;:::i;:::-;1443:48;;1538:2;1527:9;1523:18;1510:32;1500:42;;1593:2;1582:9;1578:18;1565:32;1616:18;1657:2;1649:6;1646:14;1643:34;;;1673:1;1670;1663:12;1643:34;1711:6;1700:9;1696:22;1686:32;;1756:7;1749:4;1745:2;1741:13;1737:27;1727:55;;1778:1;1775;1768:12;1727:55;1814:2;1801:16;1836:2;1832;1829:10;1826:36;;;1842:18;;:::i;:::-;1884:53;1927:2;1908:13;;-1:-1:-1;;1904:27:15;1900:36;;1884:53;:::i;:::-;1871:66;;1960:2;1953:5;1946:17;2000:7;1995:2;1990;1986;1982:11;1978:20;1975:33;1972:53;;;2021:1;2018;2011:12;1972:53;2076:2;2071;2067;2063:11;2058:2;2051:5;2047:14;2034:45;2120:1;2115:2;2110;2103:5;2099:14;2095:23;2088:34;;2141:5;2131:15;;;;;1172:980;;;;;;;:::o;2157:347::-;2222:6;2230;2283:2;2271:9;2262:7;2258:23;2254:32;2251:52;;;2299:1;2296;2289:12;2251:52;2322:29;2341:9;2322:29;:::i;:::-;2312:39;;2401:2;2390:9;2386:18;2373:32;2448:5;2441:13;2434:21;2427:5;2424:32;2414:60;;2470:1;2467;2460:12;2414:60;2493:5;2483:15;;;2157:347;;;;;:::o;2509:254::-;2577:6;2585;2638:2;2626:9;2617:7;2613:23;2609:32;2606:52;;;2654:1;2651;2644:12;2606:52;2677:29;2696:9;2677:29;:::i;:::-;2667:39;2753:2;2738:18;;;;2725:32;;-1:-1:-1;;;2509:254:15:o;2768:957::-;2852:6;2883:2;2926;2914:9;2905:7;2901:23;2897:32;2894:52;;;2942:1;2939;2932:12;2894:52;2982:9;2969:23;3011:18;3052:2;3044:6;3041:14;3038:34;;;3068:1;3065;3058:12;3038:34;3106:6;3095:9;3091:22;3081:32;;3151:7;3144:4;3140:2;3136:13;3132:27;3122:55;;3173:1;3170;3163:12;3122:55;3209:2;3196:16;3231:2;3227;3224:10;3221:36;;;3237:18;;:::i;:::-;3283:2;3280:1;3276:10;3266:20;;3306:28;3330:2;3326;3322:11;3306:28;:::i;:::-;3368:15;;;3399:12;;;;3431:11;;;3461;;;3457:20;;3454:33;-1:-1:-1;3451:53:15;;;3500:1;3497;3490:12;3451:53;3522:1;3513:10;;3532:163;3546:2;3543:1;3540:9;3532:163;;;3603:17;;3591:30;;3564:1;3557:9;;;;;3641:12;;;;3673;;3532:163;;;-1:-1:-1;3714:5:15;2768:957;-1:-1:-1;;;;;;;;2768:957:15:o;3730:245::-;3788:6;3841:2;3829:9;3820:7;3816:23;3812:32;3809:52;;;3857:1;3854;3847:12;3809:52;3896:9;3883:23;3915:30;3939:5;3915:30;:::i;3980:249::-;4049:6;4102:2;4090:9;4081:7;4077:23;4073:32;4070:52;;;4118:1;4115;4108:12;4070:52;4150:9;4144:16;4169:30;4193:5;4169:30;:::i;4234:592::-;4305:6;4313;4366:2;4354:9;4345:7;4341:23;4337:32;4334:52;;;4382:1;4379;4372:12;4334:52;4422:9;4409:23;4451:18;4492:2;4484:6;4481:14;4478:34;;;4508:1;4505;4498:12;4478:34;4546:6;4535:9;4531:22;4521:32;;4591:7;4584:4;4580:2;4576:13;4572:27;4562:55;;4613:1;4610;4603:12;4562:55;4653:2;4640:16;4679:2;4671:6;4668:14;4665:34;;;4695:1;4692;4685:12;4665:34;4740:7;4735:2;4726:6;4722:2;4718:15;4714:24;4711:37;4708:57;;;4761:1;4758;4751:12;4708:57;4792:2;4784:11;;;;;4814:6;;-1:-1:-1;4234:592:15;;-1:-1:-1;;;;4234:592:15:o;4831:180::-;4890:6;4943:2;4931:9;4922:7;4918:23;4914:32;4911:52;;;4959:1;4956;4949:12;4911:52;-1:-1:-1;4982:23:15;;4831:180;-1:-1:-1;4831:180:15:o;5016:256::-;5082:6;5090;5143:2;5131:9;5122:7;5118:23;5114:32;5111:52;;;5159:1;5156;5149:12;5111:52;5182:28;5200:9;5182:28;:::i;:::-;5172:38;;5229:37;5262:2;5251:9;5247:18;5229:37;:::i;5277:257::-;5318:3;5356:5;5350:12;5383:6;5378:3;5371:19;5399:63;5455:6;5448:4;5443:3;5439:14;5432:4;5425:5;5421:16;5399:63;:::i;:::-;5516:2;5495:15;-1:-1:-1;;5491:29:15;5482:39;;;;5523:4;5478:50;;5277:257;-1:-1:-1;;5277:257:15:o;5773:470::-;5952:3;5990:6;5984:13;6006:53;6052:6;6047:3;6040:4;6032:6;6028:17;6006:53;:::i;:::-;6122:13;;6081:16;;;;6144:57;6122:13;6081:16;6178:4;6166:17;;6144:57;:::i;:::-;6217:20;;5773:470;-1:-1:-1;;;;5773:470:15:o;6479:511::-;6673:4;-1:-1:-1;;;;;6783:2:15;6775:6;6771:15;6760:9;6753:34;6835:2;6827:6;6823:15;6818:2;6807:9;6803:18;6796:43;;6875:6;6870:2;6859:9;6855:18;6848:34;6918:3;6913:2;6902:9;6898:18;6891:31;6939:45;6979:3;6968:9;6964:19;6956:6;6939:45;:::i;:::-;6931:53;6479:511;-1:-1:-1;;;;;;6479:511:15:o;7369:219::-;7518:2;7507:9;7500:21;7481:4;7538:44;7578:2;7567:9;7563:18;7555:6;7538:44;:::i;17061:275::-;17132:2;17126:9;17197:2;17178:13;;-1:-1:-1;;17174:27:15;17162:40;;17232:18;17217:34;;17253:22;;;17214:62;17211:88;;;17279:18;;:::i;:::-;17315:2;17308:22;17061:275;;-1:-1:-1;17061:275:15:o;17341:128::-;17381:3;17412:1;17408:6;17405:1;17402:13;17399:39;;;17418:18;;:::i;:::-;-1:-1:-1;17454:9:15;;17341:128::o;17474:168::-;17514:7;17580:1;17576;17572:6;17568:14;17565:1;17562:21;17557:1;17550:9;17543:17;17539:45;17536:71;;;17587:18;;:::i;:::-;-1:-1:-1;17627:9:15;;17474:168::o;17647:125::-;17687:4;17715:1;17712;17709:8;17706:34;;;17720:18;;:::i;:::-;-1:-1:-1;17757:9:15;;17647:125::o;17777:258::-;17849:1;17859:113;17873:6;17870:1;17867:13;17859:113;;;17949:11;;;17943:18;17930:11;;;17923:39;17895:2;17888:10;17859:113;;;17990:6;17987:1;17984:13;17981:48;;;-1:-1:-1;;18025:1:15;18007:16;;18000:27;17777:258::o;18040:380::-;18119:1;18115:12;;;;18162;;;18183:61;;18237:4;18229:6;18225:17;18215:27;;18183:61;18290:2;18282:6;18279:14;18259:18;18256:38;18253:161;;;18336:10;18331:3;18327:20;18324:1;18317:31;18371:4;18368:1;18361:15;18399:4;18396:1;18389:15;18253:161;;18040:380;;;:::o;18425:135::-;18464:3;-1:-1:-1;;18485:17:15;;18482:43;;;18505:18;;:::i;:::-;-1:-1:-1;18552:1:15;18541:13;;18425:135::o;18565:127::-;18626:10;18621:3;18617:20;18614:1;18607:31;18657:4;18654:1;18647:15;18681:4;18678:1;18671:15;18829:127;18890:10;18885:3;18881:20;18878:1;18871:31;18921:4;18918:1;18911:15;18945:4;18942:1;18935:15;18961:127;19022:10;19017:3;19013:20;19010:1;19003:31;19053:4;19050:1;19043:15;19077:4;19074:1;19067:15;19093:127;19154:10;19149:3;19145:20;19142:1;19135:31;19185:4;19182:1;19175:15;19209:4;19206:1;19199:15;19225:131;-1:-1:-1;;;;;;19299:32:15;;19289:43;;19279:71;;19346:1;19343;19336:12
Swarm Source
ipfs://2343e31c8042c353a426a2f290f319267ff010a35454058ff5dd19cd5089a929
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.