Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
4,444 INK
Holders
347
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
50 INKLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
INKredibleSquids
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 5000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // Author: Pagzi Tech Inc. | 2022 // INKredible Squids - INK | 2022 pragma solidity >=0.8.0 <0.9.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "./ERC721Enumerable.sol"; contract INKredibleSquids is ERC721Enumerable, Ownable { //allowlist settings bytes32 public merkleRoot = 0x833b756abf46fe3ac2fa8ba3ff171fed8d5eeebe4c47613f83f39654ee588655; mapping(address => uint256) public claimed; //sale settings uint256 public cost = 0.03 ether; uint256 public costPre = 0.02 ether; uint256 public maxSupply = 4444; uint256 public maxMint = 10; uint256 public maxMintPre = 4; //backend settings string public baseURI; address internal founders = 0x1CB4d13641A4532baf2cF8A0836c848535364A94; address internal immutable pagzidev = 0xF4617b57ad853f4Bc2Ce3f06C0D74958c240633c; mapping(address => bool) public projectProxy; //date variables uint256 public publicDate = 1651266000; uint256 public preDate = 1651309200; //mint passes/claims address public proxyAddress = 0xa5409ec958C83C3f309868babACA7c86DCB077c1; //royalty settings uint256 public royaltyFee = 7500; modifier checkLimit(uint256 _mintAmount) { require(_mintAmount > 0 && _mintAmount <= maxMint, "Invalid mint amount!"); _; } modifier checkLimitPre(uint256 _mintAmount) { require(_mintAmount > 0 && _mintAmount <= maxMintPre, "Invalid mint amount!"); _; } modifier checkDate() { require((publicDate < block.timestamp),"Public sale is not yet!"); _; } modifier checkDatePre() { require((preDate > block.timestamp),"Presale is over!"); _; } modifier checkPrice(uint256 _mintAmount) { require(msg.value == cost * _mintAmount, "Insufficient funds!"); _; } modifier checkPricePre(uint256 _mintAmount) { require(msg.value == costPre * _mintAmount, "Insufficient funds!"); _; } constructor() ERC721("INKredible Squids", "INK") { baseURI = "https://inkrediblesquidsnft.nftapi.art/meta/"; for (uint256 i = 1; i < 41; i++) { _mint(founders, i); } } // external function mint(uint256 count) external payable checkLimit(count) checkPrice(count) checkDate{ uint256 totalSupply = _owners.length; require(totalSupply + count <= maxSupply , "Max supply reached!"); for(uint256 i = 1; i <= count; i++) { _mint(msg.sender, totalSupply + i); } } function mintPresale(uint256 count, bytes32[] calldata _merkleProof) external payable checkLimitPre(count) checkPricePre(count) checkDatePre { // Verify allowlist requirements uint256 claims = claimed[msg.sender]; require((claims + count) <= (maxMintPre), "Address has no allowance!"); bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), "Invalid merkle proof!"); uint256 totalSupply = _owners.length; require(totalSupply + count <= maxSupply , "Max supply reached!"); for(uint256 i = 1; i <= count; i++) { _mint(msg.sender, totalSupply + i); } claimed[msg.sender] = claims + count; } //only owner function gift(uint256[] calldata quantity, address[] calldata recipient) external onlyOwner{ require(quantity.length == recipient.length, "Invalid data" ); uint256 totalQuantity; uint256 totalSupply = _owners.length; for(uint256 i = 0; i < quantity.length; ++i){ totalQuantity += quantity[i]; } require(totalSupply + totalQuantity + 1 <= maxSupply, "No supply!" ); for(uint256 i = 0; i < recipient.length; ++i){ for(uint256 j = 1; j <= quantity[i]; ++j){ _mint(recipient[i], totalSupply + j); } totalSupply = totalSupply + quantity[i]; } delete totalSupply; delete totalQuantity; } function setSupply(uint256 _supply) external onlyOwner { maxSupply = _supply; } function setCost(uint256 _cost) external onlyOwner { cost = _cost; } function setCostPre(uint256 _costPre) external onlyOwner { costPre = _costPre; } function setPublicDate(uint256 _publicDate) external onlyOwner { publicDate = _publicDate; } function setPreDate(uint256 _preDate) external onlyOwner { preDate = _preDate; } function setDates(uint256 _publicDate, uint256 _preDate) external onlyOwner { publicDate = _publicDate; preDate = _preDate; } function setBaseURI(string memory _baseURI) public onlyOwner { baseURI = _baseURI; } function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner { merkleRoot = _merkleRoot; } function switchProxy(address _proxyAddress) public onlyOwner { projectProxy[_proxyAddress] = !projectProxy[_proxyAddress]; } function setProxy(address _proxyAddress) external onlyOwner { proxyAddress = _proxyAddress; } function tokenURI(uint256 _tokenId) public view override returns (string memory) { require(_exists(_tokenId), "Token does not exist."); return string(abi.encodePacked(baseURI, Strings.toString(_tokenId))); } function burn(uint256 tokenId) public { require(_isApprovedOrOwner(_msgSender(), tokenId), "Not approved to burn."); _burn(tokenId); } function tokensOfOwner(address _owner) public view returns (uint256[] memory) { uint256 tokenCount = balanceOf(_owner); if (tokenCount == 0) return new uint256[](0); uint256[] memory tokensId = new uint256[](tokenCount); uint256 j = 0; for(uint256 i; i < _owners.length; i++ ){ if(_owner == _owners[i]){ tokensId[j] = i + 1; j++; } if(j == tokenCount) return tokensId; } return tokensId; } function batchTransferFrom(address _from, address _to, uint256[] memory _tokenIds) public { for (uint256 i = 0; i < _tokenIds.length; i++) { transferFrom(_from, _to, _tokenIds[i]); } } function batchSafeTransferFrom(address _from, address _to, uint256[] memory _tokenIds, bytes memory data_) public { for (uint256 i = 0; i < _tokenIds.length; i++) { safeTransferFrom(_from, _to, _tokenIds[i], data_); } } function isOwnerOf(address account, uint256[] calldata _tokenIds) external view returns (bool){ for(uint256 i; i < _tokenIds.length; ++i ){ if(_owners[_tokenIds[i]] != account) return false; } return true; } function isApprovedForAll(address _owner, address operator) public view override(IERC721,ERC721) returns (bool) { //Free listing on OpenSea by granting access to their proxy wallet. This can be removed in case of a breach on OS. OpenSeaProxyRegistry proxyRegistry = OpenSeaProxyRegistry(proxyAddress); if (address(proxyRegistry.proxies(_owner)) == operator || projectProxy[operator]) return true; return super.isApprovedForAll(_owner, operator); } //ERC-2981 Royalty Implementation function setRoyalty(address _royaltyAddr, uint256 _royaltyFee) public onlyOwner { require(_royaltyFee < 10001, "ERC-2981: Royalty too high!"); founders = _royaltyAddr; royaltyFee = _royaltyFee; } function royaltyInfo(uint256, uint256 value) external view returns (address receiver, uint256 royaltyAmount){ require(royaltyFee > 0, "ERC-2981: Royalty not set!"); return (founders, (value * royaltyFee) / 10000); } function _mint(address to, uint256 tokenId) internal virtual override { _owners.push(to); emit Transfer(address(0), to, tokenId); } function withdraw() public onlyOwner { uint256 balance = address(this).balance; payable(pagzidev).transfer((balance * 200) / 1000); payable(founders).transfer((balance * 800) / 1000); } } contract OwnableDelegateProxy { } contract OpenSeaProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; }
// SPDX-License-Identifier: MIT // Author: Pagzi Tech Inc. | 2022 pragma solidity >=0.8.0 <0.9.0; import "./ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/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 but rips out the core of the gas-wasting processing that comes from OpenZeppelin. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || interfaceId == 0xe8a3d485 /* contractURI() */ || interfaceId == 0x2a55205a /* ERC-2981 royaltyInfo() */ || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _owners.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < _owners.length, "ERC721Enumerable: global index out of bounds"); return index + 1; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256 tokenId) { require(index < balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); uint count; for(uint i; i < _owners.length; i++){ if(owner == _owners[i]){ if(count == index) return i+1; else count++; } } revert("ERC721Enumerable: owner index out of bounds"); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ 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 Returns the rebuilt hash obtained by traversing a Merklee 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++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } return computedHash; } }
// SPDX-License-Identifier: MIT 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() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // Author: Pagzi Tech Inc. | 2022 pragma solidity >=0.8.0 <0.9.0; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "./Address.sol"; abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; string private _name; string private _symbol; // Mapping from token ID to owner address address[] internal _owners; mapping(uint256 => address) private _tokenApprovals; 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 (uint) { require(owner != address(0), "ERC721: balance query for the zero address"); uint count; for( uint i; i < _owners.length; ++i ){ if( owner == _owners[i] ) ++count; } return count; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId - 1]; require( owner != address(0), "ERC721: owner query for nonexistent token" ); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require( _exists(tokenId), "ERC721: approved query for nonexistent token" ); return _tokenApprovals[tokenId - 1]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved" ); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved" ); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return tokenId < (_owners.length + 1) && _owners[tokenId - 1] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require( _exists(tokenId), "ERC721: operator query for nonexistent token" ); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _owners.push(to); emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. TODO: Real burn, drop from owners array! * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _owners[tokenId - 1] = address(0); emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require( ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own" ); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _owners[tokenId - 1] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId - 1] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received( _msgSender(), from, tokenId, _data ) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert( "ERC721: transfer to non ERC721Receiver implementer" ); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.6; library Address { function isContract(address account) internal view returns (bool) { uint size; assembly { size := extcodesize(account) } return size > 0; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; 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`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @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); }
{ "optimizer": { "enabled": true, "runs": 5000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"bytes","name":"data_","type":"bytes"}],"name":"batchSafeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"batchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"costPre","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"quantity","type":"uint256[]"},{"internalType":"address[]","name":"recipient","type":"address[]"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"isOwnerOf","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintPre","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mintPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"projectProxy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"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":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_costPre","type":"uint256"}],"name":"setCostPre","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicDate","type":"uint256"},{"internalType":"uint256","name":"_preDate","type":"uint256"}],"name":"setDates","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_preDate","type":"uint256"}],"name":"setPreDate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyAddress","type":"address"}],"name":"setProxy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicDate","type":"uint256"}],"name":"setPublicDate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_royaltyAddr","type":"address"},{"internalType":"uint256","name":"_royaltyFee","type":"uint256"}],"name":"setRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"setSupply","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":[{"internalType":"address","name":"_proxyAddress","type":"address"}],"name":"switchProxy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","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":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040527f833b756abf46fe3ac2fa8ba3ff171fed8d5eeebe4c47613f83f39654ee588655600655666a94d74f43000060085566470de4df82000060095561115c600a908155600b556004600c55600e80546001600160a01b0319908116731cb4d13641a4532baf2cf8a0836c848535364a941790915573f4617b57ad853f4bc2ce3f06c0d74958c240633c60805263626c51d060105563626cfa906011556012805490911673a5409ec958c83c3f309868babaca7c86dcb077c1179055611d4c601355348015620000d157600080fd5b506040805180820182526011815270494e4b72656469626c652053717569647360781b602080830191825283518085019094526003845262494e4b60e81b90840152815191929162000126916000916200029d565b5080516200013c9060019060208401906200029d565b5050506200015962000153620001cb60201b60201c565b620001cf565b6040518060600160405280602c815260200162003d90602c913980516200018991600d916020909101906200029d565b5060015b6029811015620001c457600e54620001af906001600160a01b03168262000221565b80620001bb8162000343565b9150506200018d565b50620003a7565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054620002ab906200036b565b90600052602060002090601f016020900481019282620002cf57600085556200031a565b82601f10620002ea57805160ff19168380011785556200031a565b828001600101855582156200031a579182015b828111156200031a578251825591602001919060010190620002fd565b50620003289291506200032c565b5090565b5b808211156200032857600081556001016200032d565b6000600182016200036457634e487b7160e01b600052601160045260246000fd5b5060010190565b600181811c908216806200038057607f821691505b602082108103620003a157634e487b7160e01b600052602260045260246000fd5b50919050565b6080516139cd620003c360003960006114d601526139cd6000f3fe60806040526004361061034a5760003560e01c80635bab26e2116101bb57806397107d6d116100f7578063c884ef8311610095578063e985e9c51161006f578063e985e9c51461094a578063ea9d6d291461096a578063f2fde38b1461098a578063f3993d11146109aa57600080fd5b8063c884ef83146108e7578063d5abeb0114610914578063dedf141e1461092a57600080fd5b8063b88d4fde116100d1578063b88d4fde14610871578063b8997a9714610891578063bae3aaa6146108a7578063c87b56dd146108c757600080fd5b806397107d6d1461081e578063a0712d681461083e578063a22cb4651461085157600080fd5b80637cb647591161016457806389a1f66f1161013e57806389a1f66f146107ab5780638da5cb5b146107cb57806395d89b41146107e957806396ea3a47146107fe57600080fd5b80637cb64759146107485780638462151c14610768578063858feced1461079557600080fd5b806370a082311161019557806370a08231146106fd578063715018a61461071d5780637501f7411461073257600080fd5b80635bab26e2146106985780636352211e146106c85780636c0360eb146106e857600080fd5b80632eb4a7ab1161028a57806344a0d68a116102335780634f6ccce71161020d5780634f6ccce71461062257806351463d5b1461064257806355f804b3146106585780635a4fee301461067857600080fd5b806344a0d68a146105cc5780634bfb8ed3146105ec5780634d44660c1461060257600080fd5b80633ccfd60b116102645780633ccfd60b1461057757806342842e0e1461058c57806342966c68146105ac57600080fd5b80632eb4a7ab146105215780632f745c59146105375780633b4c4b251461055757600080fd5b806310fd332b116102f757806323b872dd116102d157806323b872dd1461048257806323f5c02d146104a2578063245cad7a146104c25780632a55205a146104e257600080fd5b806310fd332b1461043757806313faede61461045757806318160ddd1461046d57600080fd5b8063095ea7b311610328578063095ea7b3146103de5780630c0a6b5e14610400578063108ce0a21461041357600080fd5b806301ffc9a71461034f57806306fdde0314610384578063081812fc146103a6575b600080fd5b34801561035b57600080fd5b5061036f61036a366004613063565b6109ca565b60405190151581526020015b60405180910390f35b34801561039057600080fd5b50610399610abe565b60405161037b91906130d8565b3480156103b257600080fd5b506103c66103c13660046130eb565b610b50565b6040516001600160a01b03909116815260200161037b565b3480156103ea57600080fd5b506103fe6103f9366004613119565b610c01565b005b6103fe61040e36600461318a565b610d32565b34801561041f57600080fd5b5061042960115481565b60405190815260200161037b565b34801561044357600080fd5b506103fe610452366004613119565b611035565b34801561046357600080fd5b5061042960085481565b34801561047957600080fd5b50600254610429565b34801561048e57600080fd5b506103fe61049d3660046131d6565b611113565b3480156104ae57600080fd5b506012546103c6906001600160a01b031681565b3480156104ce57600080fd5b506103fe6104dd366004613217565b61119b565b3480156104ee57600080fd5b506105026104fd366004613234565b61121e565b604080516001600160a01b03909316835260208301919091520161037b565b34801561052d57600080fd5b5061042960065481565b34801561054357600080fd5b50610429610552366004613119565b6112a9565b34801561056357600080fd5b506103fe6105723660046130eb565b611412565b34801561058357600080fd5b506103fe611471565b34801561059857600080fd5b506103fe6105a73660046131d6565b61158e565b3480156105b857600080fd5b506103fe6105c73660046130eb565b6115a9565b3480156105d857600080fd5b506103fe6105e73660046130eb565b61160a565b3480156105f857600080fd5b5061042960095481565b34801561060e57600080fd5b5061036f61061d366004613256565b611669565b34801561062e57600080fd5b5061042961063d3660046130eb565b6116eb565b34801561064e57600080fd5b5061042960105481565b34801561066457600080fd5b506103fe61067336600461334a565b611770565b34801561068457600080fd5b506103fe610693366004613433565b6117dd565b3480156106a457600080fd5b5061036f6106b3366004613217565b600f6020526000908152604090205460ff1681565b3480156106d457600080fd5b506103c66106e33660046130eb565b611827565b3480156106f457600080fd5b506103996118d1565b34801561070957600080fd5b50610429610718366004613217565b61195f565b34801561072957600080fd5b506103fe611a40565b34801561073e57600080fd5b50610429600b5481565b34801561075457600080fd5b506103fe6107633660046130eb565b611aa6565b34801561077457600080fd5b50610788610783366004613217565b611b05565b60405161037b91906134bc565b3480156107a157600080fd5b50610429600c5481565b3480156107b757600080fd5b506103fe6107c63660046130eb565b611c20565b3480156107d757600080fd5b506005546001600160a01b03166103c6565b3480156107f557600080fd5b50610399611c7f565b34801561080a57600080fd5b506103fe610819366004613500565b611c8e565b34801561082a57600080fd5b506103fe610839366004613217565b611e95565b6103fe61084c3660046130eb565b611f1e565b34801561085d57600080fd5b506103fe61086c36600461356c565b6120b3565b34801561087d57600080fd5b506103fe61088c3660046135aa565b612177565b34801561089d57600080fd5b5061042960135481565b3480156108b357600080fd5b506103fe6108c23660046130eb565b612205565b3480156108d357600080fd5b506103996108e23660046130eb565b612264565b3480156108f357600080fd5b50610429610902366004613217565b60076020526000908152604090205481565b34801561092057600080fd5b50610429600a5481565b34801561093657600080fd5b506103fe610945366004613234565b6122ed565b34801561095657600080fd5b5061036f61096536600461360a565b612352565b34801561097657600080fd5b506103fe6109853660046130eb565b61244f565b34801561099657600080fd5b506103fe6109a5366004613217565b6124ae565b3480156109b657600080fd5b506103fe6109c5366004613638565b61258d565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d63000000000000000000000000000000000000000000000000000000001480610a5d57507fe8a3d485000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b80610aa957507f2a55205a000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b80610ab85750610ab8826125cf565b92915050565b606060008054610acd9061369a565b80601f0160208091040260200160405190810160405280929190818152602001828054610af99061369a565b8015610b465780601f10610b1b57610100808354040283529160200191610b46565b820191906000526020600020905b815481529060010190602001808311610b2957829003601f168201915b5050505050905090565b6000610b5b826126b2565b610bd25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b60036000610be160018561371c565b81526020810191909152604001600020546001600160a01b031692915050565b6000610c0c82611827565b9050806001600160a01b0316836001600160a01b031603610c955760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610bc9565b336001600160a01b0382161480610cb15750610cb18133612352565b610d235760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610bc9565b610d2d8383612708565b505050565b82600081118015610d455750600c548111155b610d915760405162461bcd60e51b815260206004820152601460248201527f496e76616c6964206d696e7420616d6f756e74210000000000000000000000006044820152606401610bc9565b8380600954610da09190613733565b3414610dee5760405162461bcd60e51b815260206004820152601360248201527f496e73756666696369656e742066756e647321000000000000000000000000006044820152606401610bc9565b4260115411610e3f5760405162461bcd60e51b815260206004820152601060248201527f50726573616c65206973206f76657221000000000000000000000000000000006044820152606401610bc9565b33600090815260076020526040902054600c54610e5c8783613770565b1115610eaa5760405162461bcd60e51b815260206004820152601960248201527f4164647265737320686173206e6f20616c6c6f77616e636521000000000000006044820152606401610bc9565b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b166020820152600090603401604051602081830303815290604052805190602001209050610f37868680806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506006549150849050612795565b610f835760405162461bcd60e51b815260206004820152601560248201527f496e76616c6964206d65726b6c652070726f6f662100000000000000000000006044820152606401610bc9565b600254600a54610f938983613770565b1115610fe15760405162461bcd60e51b815260206004820152601360248201527f4d617820737570706c79207265616368656421000000000000000000000000006044820152606401610bc9565b60015b88811161101057610ffe33610ff98385613770565b6127ab565b8061100881613788565b915050610fe4565b5061101b8884613770565b336000908152600760205260409020555050505050505050565b6005546001600160a01b0316331461108f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bc9565b61271181106110e05760405162461bcd60e51b815260206004820152601b60248201527f4552432d323938313a20526f79616c747920746f6f20686967682100000000006044820152606401610bc9565b600e805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b039390931692909217909155601355565b61111e335b82612834565b6111905760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610bc9565b610d2d838383612907565b6005546001600160a01b031633146111f55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bc9565b6001600160a01b03166000908152600f60205260409020805460ff19811660ff90911615179055565b6000806000601354116112735760405162461bcd60e51b815260206004820152601a60248201527f4552432d323938313a20526f79616c7479206e6f7420736574210000000000006044820152606401610bc9565b600e546013546001600160a01b0390911690612710906112939086613733565b61129d91906137ef565b915091505b9250929050565b60006112b48361195f565b82106113285760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610bc9565b6000805b6002548110156113a3576002818154811061134957611349613803565b6000918252602090912001546001600160a01b0390811690861603611391578382036113835761137a816001613770565b92505050610ab8565b8161138d81613788565b9250505b8061139b81613788565b91505061132c565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610bc9565b6005546001600160a01b0316331461146c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bc9565b600a55565b6005546001600160a01b031633146114cb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bc9565b476001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166108fc6103e86115078460c8613733565b61151191906137ef565b6040518115909202916000818181858888f19350505050158015611539573d6000803e3d6000fd5b50600e546001600160a01b03166108fc6103e861155884610320613733565b61156291906137ef565b6040518115909202916000818181858888f1935050505015801561158a573d6000803e3d6000fd5b5050565b610d2d83838360405180602001604052806000815250612177565b6115b233611118565b6115fe5760405162461bcd60e51b815260206004820152601560248201527f4e6f7420617070726f76656420746f206275726e2e00000000000000000000006044820152606401610bc9565b61160781612aa1565b50565b6005546001600160a01b031633146116645760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bc9565b600855565b6000805b828110156116de57846001600160a01b0316600285858481811061169357611693613803565b90506020020135815481106116aa576116aa613803565b6000918252602090912001546001600160a01b0316146116ce5760009150506116e4565b6116d781613788565b905061166d565b50600190505b9392505050565b60025460009082106117655760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610bc9565b610ab8826001613770565b6005546001600160a01b031633146117ca5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bc9565b805161158a90600d906020840190612f9c565b60005b82518110156118205761180e858585848151811061180057611800613803565b602002602001015185612177565b8061181881613788565b9150506117e0565b5050505050565b600080600261183760018561371c565b8154811061184757611847613803565b6000918252602090912001546001600160a01b0316905080610ab85760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610bc9565b600d80546118de9061369a565b80601f016020809104026020016040519081016040528092919081815260200182805461190a9061369a565b80156119575780601f1061192c57610100808354040283529160200191611957565b820191906000526020600020905b81548152906001019060200180831161193a57829003601f168201915b505050505081565b60006001600160a01b0382166119dd5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610bc9565b6000805b600254811015611a3957600281815481106119fe576119fe613803565b6000918252602090912001546001600160a01b0390811690851603611a2957611a2682613788565b91505b611a3281613788565b90506119e1565b5092915050565b6005546001600160a01b03163314611a9a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bc9565b611aa46000612b3a565b565b6005546001600160a01b03163314611b005760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bc9565b600655565b60606000611b128361195f565b905080600003611b365760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff811115611b5157611b51613292565b604051908082528060200260200182016040528015611b7a578160200160208202803683370190505b5090506000805b600254811015611c165760028181548110611b9e57611b9e613803565b6000918252602090912001546001600160a01b0390811690871603611bf357611bc8816001613770565b838381518110611bda57611bda613803565b602090810291909101015281611bef81613788565b9250505b838203611c04575090949350505050565b80611c0e81613788565b915050611b81565b5090949350505050565b6005546001600160a01b03163314611c7a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bc9565b601155565b606060018054610acd9061369a565b6005546001600160a01b03163314611ce85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bc9565b828114611d375760405162461bcd60e51b815260206004820152600c60248201527f496e76616c6964206461746100000000000000000000000000000000000000006044820152606401610bc9565b600254600090815b85811015611d7d57868682818110611d5957611d59613803565b9050602002013583611d6b9190613770565b9250611d7681613788565b9050611d3f565b50600a54611d8b8383613770565b611d96906001613770565b1115611de45760405162461bcd60e51b815260206004820152600a60248201527f4e6f20737570706c7921000000000000000000000000000000000000000000006044820152606401610bc9565b60005b83811015611e8c5760015b878783818110611e0457611e04613803565b905060200201358111611e5557611e45868684818110611e2657611e26613803565b9050602002016020810190611e3b9190613217565b610ff98386613770565b611e4e81613788565b9050611df2565b50868682818110611e6857611e68613803565b9050602002013582611e7a9190613770565b9150611e8581613788565b9050611de7565b50505050505050565b6005546001600160a01b03163314611eef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bc9565b6012805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b80600081118015611f315750600b548111155b611f7d5760405162461bcd60e51b815260206004820152601460248201527f496e76616c6964206d696e7420616d6f756e74210000000000000000000000006044820152606401610bc9565b8180600854611f8c9190613733565b3414611fda5760405162461bcd60e51b815260206004820152601360248201527f496e73756666696369656e742066756e647321000000000000000000000000006044820152606401610bc9565b426010541061202b5760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206973206e6f7420796574210000000000000000006044820152606401610bc9565b600254600a5461203b8583613770565b11156120895760405162461bcd60e51b815260206004820152601360248201527f4d617820737570706c79207265616368656421000000000000000000000000006044820152606401610bc9565b60015b848111611820576120a133610ff98385613770565b806120ab81613788565b91505061208c565b336001600160a01b0383160361210b5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610bc9565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6121813383612834565b6121f35760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610bc9565b6121ff84848484612b99565b50505050565b6005546001600160a01b0316331461225f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bc9565b600955565b606061226f826126b2565b6122bb5760405162461bcd60e51b815260206004820152601560248201527f546f6b656e20646f6573206e6f742065786973742e00000000000000000000006044820152606401610bc9565b600d6122c683612c22565b6040516020016122d792919061384e565b6040516020818303038152906040529050919050565b6005546001600160a01b031633146123475760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bc9565b601091909155601155565b6012546040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b03848116600483015260009281169190841690829063c455279190602401602060405180830381865afa1580156123bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123e1919061390d565b6001600160a01b0316148061240e57506001600160a01b0383166000908152600f602052604090205460ff165b1561241d576001915050610ab8565b6001600160a01b0380851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b6005546001600160a01b031633146124a95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bc9565b601055565b6005546001600160a01b031633146125085760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bc9565b6001600160a01b0381166125845760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610bc9565b61160781612b3a565b60005b81518110156121ff576125bd84848484815181106125b0576125b0613803565b6020026020010151611113565b806125c781613788565b915050612590565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061266257507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610ab857507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610ab8565b6002546000906126c3906001613770565b82108015610ab85750600060026126db60018561371c565b815481106126eb576126eb613803565b6000918252602090912001546001600160a01b0316141592915050565b816003600061271860018561371c565b81526020810191909152604001600020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b039283161790558190831661275c82611827565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000826127a28584612d57565b14949350505050565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600061283f826126b2565b6128b15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610bc9565b60006128bc83611827565b9050806001600160a01b0316846001600160a01b031614806128f75750836001600160a01b03166128ec84610b50565b6001600160a01b0316145b8061244757506124478185612352565b826001600160a01b031661291a82611827565b6001600160a01b0316146129965760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610bc9565b6001600160a01b038216612a115760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610bc9565b612a1c600082612708565b816002612a2a60018461371c565b81548110612a3a57612a3a613803565b60009182526020822001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b6000612aac82611827565b9050612ab9600083612708565b60006002612ac860018561371c565b81548110612ad857612ad8613803565b60009182526020822001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0393841617905560405184928416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612ba4848484612907565b612bb084848484612dfb565b6121ff5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610bc9565b606081600003612c6557505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612c8f5780612c7981613788565b9150612c889050600a836137ef565b9150612c69565b60008167ffffffffffffffff811115612caa57612caa613292565b6040519080825280601f01601f191660200182016040528015612cd4576020820181803683370190505b5090505b841561244757612ce960018361371c565b9150612cf6600a8661392a565b612d01906030613770565b60f81b818381518110612d1657612d16613803565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612d50600a866137ef565b9450612cd8565b600081815b8451811015611b2e576000858281518110612d7957612d79613803565b60200260200101519050808311612dbb576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612de8565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080612df381613788565b915050612d5c565b60006001600160a01b0384163b15612f91576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a0290612e5890339089908890889060040161393e565b6020604051808303816000875af1925050508015612e93575060408051601f3d908101601f19168201909252612e909181019061397a565b60015b612f46573d808015612ec1576040519150601f19603f3d011682016040523d82523d6000602084013e612ec6565b606091505b508051600003612f3e5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610bc9565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050612447565b506001949350505050565b828054612fa89061369a565b90600052602060002090601f016020900481019282612fca5760008555613010565b82601f10612fe357805160ff1916838001178555613010565b82800160010185558215613010579182015b82811115613010578251825591602001919060010190612ff5565b5061301c929150613020565b5090565b5b8082111561301c5760008155600101613021565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461160757600080fd5b60006020828403121561307557600080fd5b81356116e481613035565b60005b8381101561309b578181015183820152602001613083565b838111156121ff5750506000910152565b600081518084526130c4816020860160208601613080565b601f01601f19169290920160200192915050565b6020815260006116e460208301846130ac565b6000602082840312156130fd57600080fd5b5035919050565b6001600160a01b038116811461160757600080fd5b6000806040838503121561312c57600080fd5b823561313781613104565b946020939093013593505050565b60008083601f84011261315757600080fd5b50813567ffffffffffffffff81111561316f57600080fd5b6020830191508360208260051b85010111156112a257600080fd5b60008060006040848603121561319f57600080fd5b83359250602084013567ffffffffffffffff8111156131bd57600080fd5b6131c986828701613145565b9497909650939450505050565b6000806000606084860312156131eb57600080fd5b83356131f681613104565b9250602084013561320681613104565b929592945050506040919091013590565b60006020828403121561322957600080fd5b81356116e481613104565b6000806040838503121561324757600080fd5b50508035926020909101359150565b60008060006040848603121561326b57600080fd5b833561327681613104565b9250602084013567ffffffffffffffff8111156131bd57600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156132ea576132ea613292565b604052919050565b600067ffffffffffffffff83111561330c5761330c613292565b61331f6020601f19601f860116016132c1565b905082815283838301111561333357600080fd5b828260208301376000602084830101529392505050565b60006020828403121561335c57600080fd5b813567ffffffffffffffff81111561337357600080fd5b8201601f8101841361338457600080fd5b612447848235602084016132f2565b600082601f8301126133a457600080fd5b8135602067ffffffffffffffff8211156133c0576133c0613292565b8160051b6133cf8282016132c1565b92835284810182019282810190878511156133e957600080fd5b83870192505b84831015613408578235825291830191908301906133ef565b979650505050505050565b600082601f83011261342457600080fd5b6116e4838335602085016132f2565b6000806000806080858703121561344957600080fd5b843561345481613104565b9350602085013561346481613104565b9250604085013567ffffffffffffffff8082111561348157600080fd5b61348d88838901613393565b935060608701359150808211156134a357600080fd5b506134b087828801613413565b91505092959194509250565b6020808252825182820181905260009190848201906040850190845b818110156134f4578351835292840192918401916001016134d8565b50909695505050505050565b6000806000806040858703121561351657600080fd5b843567ffffffffffffffff8082111561352e57600080fd5b61353a88838901613145565b9096509450602087013591508082111561355357600080fd5b5061356087828801613145565b95989497509550505050565b6000806040838503121561357f57600080fd5b823561358a81613104565b91506020830135801515811461359f57600080fd5b809150509250929050565b600080600080608085870312156135c057600080fd5b84356135cb81613104565b935060208501356135db81613104565b925060408501359150606085013567ffffffffffffffff8111156135fe57600080fd5b6134b087828801613413565b6000806040838503121561361d57600080fd5b823561362881613104565b9150602083013561359f81613104565b60008060006060848603121561364d57600080fd5b833561365881613104565b9250602084013561366881613104565b9150604084013567ffffffffffffffff81111561368457600080fd5b61369086828701613393565b9150509250925092565b600181811c908216806136ae57607f821691505b6020821081036136e7577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008282101561372e5761372e6136ed565b500390565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561376b5761376b6136ed565b500290565b60008219821115613783576137836136ed565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036137b9576137b96136ed565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000826137fe576137fe6137c0565b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008151613844818560208601613080565b9290920192915050565b600080845481600182811c91508083168061386a57607f831692505b602080841082036138a2577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b8180156138b657600181146138c7576138f4565b60ff198616895284890196506138f4565b60008b81526020902060005b868110156138ec5781548b8201529085019083016138d3565b505084890196505b5050505050506139048185613832565b95945050505050565b60006020828403121561391f57600080fd5b81516116e481613104565b600082613939576139396137c0565b500690565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261397060808301846130ac565b9695505050505050565b60006020828403121561398c57600080fd5b81516116e48161303556fea264697066735822122040df610a31cb745d6a17ad8f164854f236e680082e50bbeaf6324dc935bdfd2264736f6c634300080d003368747470733a2f2f696e6b72656469626c657371756964736e66742e6e66746170692e6172742f6d6574612f
Deployed Bytecode
0x60806040526004361061034a5760003560e01c80635bab26e2116101bb57806397107d6d116100f7578063c884ef8311610095578063e985e9c51161006f578063e985e9c51461094a578063ea9d6d291461096a578063f2fde38b1461098a578063f3993d11146109aa57600080fd5b8063c884ef83146108e7578063d5abeb0114610914578063dedf141e1461092a57600080fd5b8063b88d4fde116100d1578063b88d4fde14610871578063b8997a9714610891578063bae3aaa6146108a7578063c87b56dd146108c757600080fd5b806397107d6d1461081e578063a0712d681461083e578063a22cb4651461085157600080fd5b80637cb647591161016457806389a1f66f1161013e57806389a1f66f146107ab5780638da5cb5b146107cb57806395d89b41146107e957806396ea3a47146107fe57600080fd5b80637cb64759146107485780638462151c14610768578063858feced1461079557600080fd5b806370a082311161019557806370a08231146106fd578063715018a61461071d5780637501f7411461073257600080fd5b80635bab26e2146106985780636352211e146106c85780636c0360eb146106e857600080fd5b80632eb4a7ab1161028a57806344a0d68a116102335780634f6ccce71161020d5780634f6ccce71461062257806351463d5b1461064257806355f804b3146106585780635a4fee301461067857600080fd5b806344a0d68a146105cc5780634bfb8ed3146105ec5780634d44660c1461060257600080fd5b80633ccfd60b116102645780633ccfd60b1461057757806342842e0e1461058c57806342966c68146105ac57600080fd5b80632eb4a7ab146105215780632f745c59146105375780633b4c4b251461055757600080fd5b806310fd332b116102f757806323b872dd116102d157806323b872dd1461048257806323f5c02d146104a2578063245cad7a146104c25780632a55205a146104e257600080fd5b806310fd332b1461043757806313faede61461045757806318160ddd1461046d57600080fd5b8063095ea7b311610328578063095ea7b3146103de5780630c0a6b5e14610400578063108ce0a21461041357600080fd5b806301ffc9a71461034f57806306fdde0314610384578063081812fc146103a6575b600080fd5b34801561035b57600080fd5b5061036f61036a366004613063565b6109ca565b60405190151581526020015b60405180910390f35b34801561039057600080fd5b50610399610abe565b60405161037b91906130d8565b3480156103b257600080fd5b506103c66103c13660046130eb565b610b50565b6040516001600160a01b03909116815260200161037b565b3480156103ea57600080fd5b506103fe6103f9366004613119565b610c01565b005b6103fe61040e36600461318a565b610d32565b34801561041f57600080fd5b5061042960115481565b60405190815260200161037b565b34801561044357600080fd5b506103fe610452366004613119565b611035565b34801561046357600080fd5b5061042960085481565b34801561047957600080fd5b50600254610429565b34801561048e57600080fd5b506103fe61049d3660046131d6565b611113565b3480156104ae57600080fd5b506012546103c6906001600160a01b031681565b3480156104ce57600080fd5b506103fe6104dd366004613217565b61119b565b3480156104ee57600080fd5b506105026104fd366004613234565b61121e565b604080516001600160a01b03909316835260208301919091520161037b565b34801561052d57600080fd5b5061042960065481565b34801561054357600080fd5b50610429610552366004613119565b6112a9565b34801561056357600080fd5b506103fe6105723660046130eb565b611412565b34801561058357600080fd5b506103fe611471565b34801561059857600080fd5b506103fe6105a73660046131d6565b61158e565b3480156105b857600080fd5b506103fe6105c73660046130eb565b6115a9565b3480156105d857600080fd5b506103fe6105e73660046130eb565b61160a565b3480156105f857600080fd5b5061042960095481565b34801561060e57600080fd5b5061036f61061d366004613256565b611669565b34801561062e57600080fd5b5061042961063d3660046130eb565b6116eb565b34801561064e57600080fd5b5061042960105481565b34801561066457600080fd5b506103fe61067336600461334a565b611770565b34801561068457600080fd5b506103fe610693366004613433565b6117dd565b3480156106a457600080fd5b5061036f6106b3366004613217565b600f6020526000908152604090205460ff1681565b3480156106d457600080fd5b506103c66106e33660046130eb565b611827565b3480156106f457600080fd5b506103996118d1565b34801561070957600080fd5b50610429610718366004613217565b61195f565b34801561072957600080fd5b506103fe611a40565b34801561073e57600080fd5b50610429600b5481565b34801561075457600080fd5b506103fe6107633660046130eb565b611aa6565b34801561077457600080fd5b50610788610783366004613217565b611b05565b60405161037b91906134bc565b3480156107a157600080fd5b50610429600c5481565b3480156107b757600080fd5b506103fe6107c63660046130eb565b611c20565b3480156107d757600080fd5b506005546001600160a01b03166103c6565b3480156107f557600080fd5b50610399611c7f565b34801561080a57600080fd5b506103fe610819366004613500565b611c8e565b34801561082a57600080fd5b506103fe610839366004613217565b611e95565b6103fe61084c3660046130eb565b611f1e565b34801561085d57600080fd5b506103fe61086c36600461356c565b6120b3565b34801561087d57600080fd5b506103fe61088c3660046135aa565b612177565b34801561089d57600080fd5b5061042960135481565b3480156108b357600080fd5b506103fe6108c23660046130eb565b612205565b3480156108d357600080fd5b506103996108e23660046130eb565b612264565b3480156108f357600080fd5b50610429610902366004613217565b60076020526000908152604090205481565b34801561092057600080fd5b50610429600a5481565b34801561093657600080fd5b506103fe610945366004613234565b6122ed565b34801561095657600080fd5b5061036f61096536600461360a565b612352565b34801561097657600080fd5b506103fe6109853660046130eb565b61244f565b34801561099657600080fd5b506103fe6109a5366004613217565b6124ae565b3480156109b657600080fd5b506103fe6109c5366004613638565b61258d565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d63000000000000000000000000000000000000000000000000000000001480610a5d57507fe8a3d485000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b80610aa957507f2a55205a000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b80610ab85750610ab8826125cf565b92915050565b606060008054610acd9061369a565b80601f0160208091040260200160405190810160405280929190818152602001828054610af99061369a565b8015610b465780601f10610b1b57610100808354040283529160200191610b46565b820191906000526020600020905b815481529060010190602001808311610b2957829003601f168201915b5050505050905090565b6000610b5b826126b2565b610bd25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b60036000610be160018561371c565b81526020810191909152604001600020546001600160a01b031692915050565b6000610c0c82611827565b9050806001600160a01b0316836001600160a01b031603610c955760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610bc9565b336001600160a01b0382161480610cb15750610cb18133612352565b610d235760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610bc9565b610d2d8383612708565b505050565b82600081118015610d455750600c548111155b610d915760405162461bcd60e51b815260206004820152601460248201527f496e76616c6964206d696e7420616d6f756e74210000000000000000000000006044820152606401610bc9565b8380600954610da09190613733565b3414610dee5760405162461bcd60e51b815260206004820152601360248201527f496e73756666696369656e742066756e647321000000000000000000000000006044820152606401610bc9565b4260115411610e3f5760405162461bcd60e51b815260206004820152601060248201527f50726573616c65206973206f76657221000000000000000000000000000000006044820152606401610bc9565b33600090815260076020526040902054600c54610e5c8783613770565b1115610eaa5760405162461bcd60e51b815260206004820152601960248201527f4164647265737320686173206e6f20616c6c6f77616e636521000000000000006044820152606401610bc9565b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b166020820152600090603401604051602081830303815290604052805190602001209050610f37868680806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506006549150849050612795565b610f835760405162461bcd60e51b815260206004820152601560248201527f496e76616c6964206d65726b6c652070726f6f662100000000000000000000006044820152606401610bc9565b600254600a54610f938983613770565b1115610fe15760405162461bcd60e51b815260206004820152601360248201527f4d617820737570706c79207265616368656421000000000000000000000000006044820152606401610bc9565b60015b88811161101057610ffe33610ff98385613770565b6127ab565b8061100881613788565b915050610fe4565b5061101b8884613770565b336000908152600760205260409020555050505050505050565b6005546001600160a01b0316331461108f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bc9565b61271181106110e05760405162461bcd60e51b815260206004820152601b60248201527f4552432d323938313a20526f79616c747920746f6f20686967682100000000006044820152606401610bc9565b600e805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b039390931692909217909155601355565b61111e335b82612834565b6111905760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610bc9565b610d2d838383612907565b6005546001600160a01b031633146111f55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bc9565b6001600160a01b03166000908152600f60205260409020805460ff19811660ff90911615179055565b6000806000601354116112735760405162461bcd60e51b815260206004820152601a60248201527f4552432d323938313a20526f79616c7479206e6f7420736574210000000000006044820152606401610bc9565b600e546013546001600160a01b0390911690612710906112939086613733565b61129d91906137ef565b915091505b9250929050565b60006112b48361195f565b82106113285760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610bc9565b6000805b6002548110156113a3576002818154811061134957611349613803565b6000918252602090912001546001600160a01b0390811690861603611391578382036113835761137a816001613770565b92505050610ab8565b8161138d81613788565b9250505b8061139b81613788565b91505061132c565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610bc9565b6005546001600160a01b0316331461146c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bc9565b600a55565b6005546001600160a01b031633146114cb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bc9565b476001600160a01b037f000000000000000000000000f4617b57ad853f4bc2ce3f06c0d74958c240633c166108fc6103e86115078460c8613733565b61151191906137ef565b6040518115909202916000818181858888f19350505050158015611539573d6000803e3d6000fd5b50600e546001600160a01b03166108fc6103e861155884610320613733565b61156291906137ef565b6040518115909202916000818181858888f1935050505015801561158a573d6000803e3d6000fd5b5050565b610d2d83838360405180602001604052806000815250612177565b6115b233611118565b6115fe5760405162461bcd60e51b815260206004820152601560248201527f4e6f7420617070726f76656420746f206275726e2e00000000000000000000006044820152606401610bc9565b61160781612aa1565b50565b6005546001600160a01b031633146116645760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bc9565b600855565b6000805b828110156116de57846001600160a01b0316600285858481811061169357611693613803565b90506020020135815481106116aa576116aa613803565b6000918252602090912001546001600160a01b0316146116ce5760009150506116e4565b6116d781613788565b905061166d565b50600190505b9392505050565b60025460009082106117655760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610bc9565b610ab8826001613770565b6005546001600160a01b031633146117ca5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bc9565b805161158a90600d906020840190612f9c565b60005b82518110156118205761180e858585848151811061180057611800613803565b602002602001015185612177565b8061181881613788565b9150506117e0565b5050505050565b600080600261183760018561371c565b8154811061184757611847613803565b6000918252602090912001546001600160a01b0316905080610ab85760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610bc9565b600d80546118de9061369a565b80601f016020809104026020016040519081016040528092919081815260200182805461190a9061369a565b80156119575780601f1061192c57610100808354040283529160200191611957565b820191906000526020600020905b81548152906001019060200180831161193a57829003601f168201915b505050505081565b60006001600160a01b0382166119dd5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610bc9565b6000805b600254811015611a3957600281815481106119fe576119fe613803565b6000918252602090912001546001600160a01b0390811690851603611a2957611a2682613788565b91505b611a3281613788565b90506119e1565b5092915050565b6005546001600160a01b03163314611a9a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bc9565b611aa46000612b3a565b565b6005546001600160a01b03163314611b005760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bc9565b600655565b60606000611b128361195f565b905080600003611b365760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff811115611b5157611b51613292565b604051908082528060200260200182016040528015611b7a578160200160208202803683370190505b5090506000805b600254811015611c165760028181548110611b9e57611b9e613803565b6000918252602090912001546001600160a01b0390811690871603611bf357611bc8816001613770565b838381518110611bda57611bda613803565b602090810291909101015281611bef81613788565b9250505b838203611c04575090949350505050565b80611c0e81613788565b915050611b81565b5090949350505050565b6005546001600160a01b03163314611c7a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bc9565b601155565b606060018054610acd9061369a565b6005546001600160a01b03163314611ce85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bc9565b828114611d375760405162461bcd60e51b815260206004820152600c60248201527f496e76616c6964206461746100000000000000000000000000000000000000006044820152606401610bc9565b600254600090815b85811015611d7d57868682818110611d5957611d59613803565b9050602002013583611d6b9190613770565b9250611d7681613788565b9050611d3f565b50600a54611d8b8383613770565b611d96906001613770565b1115611de45760405162461bcd60e51b815260206004820152600a60248201527f4e6f20737570706c7921000000000000000000000000000000000000000000006044820152606401610bc9565b60005b83811015611e8c5760015b878783818110611e0457611e04613803565b905060200201358111611e5557611e45868684818110611e2657611e26613803565b9050602002016020810190611e3b9190613217565b610ff98386613770565b611e4e81613788565b9050611df2565b50868682818110611e6857611e68613803565b9050602002013582611e7a9190613770565b9150611e8581613788565b9050611de7565b50505050505050565b6005546001600160a01b03163314611eef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bc9565b6012805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b80600081118015611f315750600b548111155b611f7d5760405162461bcd60e51b815260206004820152601460248201527f496e76616c6964206d696e7420616d6f756e74210000000000000000000000006044820152606401610bc9565b8180600854611f8c9190613733565b3414611fda5760405162461bcd60e51b815260206004820152601360248201527f496e73756666696369656e742066756e647321000000000000000000000000006044820152606401610bc9565b426010541061202b5760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206973206e6f7420796574210000000000000000006044820152606401610bc9565b600254600a5461203b8583613770565b11156120895760405162461bcd60e51b815260206004820152601360248201527f4d617820737570706c79207265616368656421000000000000000000000000006044820152606401610bc9565b60015b848111611820576120a133610ff98385613770565b806120ab81613788565b91505061208c565b336001600160a01b0383160361210b5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610bc9565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6121813383612834565b6121f35760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610bc9565b6121ff84848484612b99565b50505050565b6005546001600160a01b0316331461225f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bc9565b600955565b606061226f826126b2565b6122bb5760405162461bcd60e51b815260206004820152601560248201527f546f6b656e20646f6573206e6f742065786973742e00000000000000000000006044820152606401610bc9565b600d6122c683612c22565b6040516020016122d792919061384e565b6040516020818303038152906040529050919050565b6005546001600160a01b031633146123475760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bc9565b601091909155601155565b6012546040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b03848116600483015260009281169190841690829063c455279190602401602060405180830381865afa1580156123bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123e1919061390d565b6001600160a01b0316148061240e57506001600160a01b0383166000908152600f602052604090205460ff165b1561241d576001915050610ab8565b6001600160a01b0380851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b6005546001600160a01b031633146124a95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bc9565b601055565b6005546001600160a01b031633146125085760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bc9565b6001600160a01b0381166125845760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610bc9565b61160781612b3a565b60005b81518110156121ff576125bd84848484815181106125b0576125b0613803565b6020026020010151611113565b806125c781613788565b915050612590565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061266257507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610ab857507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610ab8565b6002546000906126c3906001613770565b82108015610ab85750600060026126db60018561371c565b815481106126eb576126eb613803565b6000918252602090912001546001600160a01b0316141592915050565b816003600061271860018561371c565b81526020810191909152604001600020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b039283161790558190831661275c82611827565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000826127a28584612d57565b14949350505050565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600061283f826126b2565b6128b15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610bc9565b60006128bc83611827565b9050806001600160a01b0316846001600160a01b031614806128f75750836001600160a01b03166128ec84610b50565b6001600160a01b0316145b8061244757506124478185612352565b826001600160a01b031661291a82611827565b6001600160a01b0316146129965760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610bc9565b6001600160a01b038216612a115760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610bc9565b612a1c600082612708565b816002612a2a60018461371c565b81548110612a3a57612a3a613803565b60009182526020822001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b6000612aac82611827565b9050612ab9600083612708565b60006002612ac860018561371c565b81548110612ad857612ad8613803565b60009182526020822001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0393841617905560405184928416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612ba4848484612907565b612bb084848484612dfb565b6121ff5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610bc9565b606081600003612c6557505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612c8f5780612c7981613788565b9150612c889050600a836137ef565b9150612c69565b60008167ffffffffffffffff811115612caa57612caa613292565b6040519080825280601f01601f191660200182016040528015612cd4576020820181803683370190505b5090505b841561244757612ce960018361371c565b9150612cf6600a8661392a565b612d01906030613770565b60f81b818381518110612d1657612d16613803565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612d50600a866137ef565b9450612cd8565b600081815b8451811015611b2e576000858281518110612d7957612d79613803565b60200260200101519050808311612dbb576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612de8565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080612df381613788565b915050612d5c565b60006001600160a01b0384163b15612f91576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a0290612e5890339089908890889060040161393e565b6020604051808303816000875af1925050508015612e93575060408051601f3d908101601f19168201909252612e909181019061397a565b60015b612f46573d808015612ec1576040519150601f19603f3d011682016040523d82523d6000602084013e612ec6565b606091505b508051600003612f3e5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610bc9565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050612447565b506001949350505050565b828054612fa89061369a565b90600052602060002090601f016020900481019282612fca5760008555613010565b82601f10612fe357805160ff1916838001178555613010565b82800160010185558215613010579182015b82811115613010578251825591602001919060010190612ff5565b5061301c929150613020565b5090565b5b8082111561301c5760008155600101613021565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461160757600080fd5b60006020828403121561307557600080fd5b81356116e481613035565b60005b8381101561309b578181015183820152602001613083565b838111156121ff5750506000910152565b600081518084526130c4816020860160208601613080565b601f01601f19169290920160200192915050565b6020815260006116e460208301846130ac565b6000602082840312156130fd57600080fd5b5035919050565b6001600160a01b038116811461160757600080fd5b6000806040838503121561312c57600080fd5b823561313781613104565b946020939093013593505050565b60008083601f84011261315757600080fd5b50813567ffffffffffffffff81111561316f57600080fd5b6020830191508360208260051b85010111156112a257600080fd5b60008060006040848603121561319f57600080fd5b83359250602084013567ffffffffffffffff8111156131bd57600080fd5b6131c986828701613145565b9497909650939450505050565b6000806000606084860312156131eb57600080fd5b83356131f681613104565b9250602084013561320681613104565b929592945050506040919091013590565b60006020828403121561322957600080fd5b81356116e481613104565b6000806040838503121561324757600080fd5b50508035926020909101359150565b60008060006040848603121561326b57600080fd5b833561327681613104565b9250602084013567ffffffffffffffff8111156131bd57600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156132ea576132ea613292565b604052919050565b600067ffffffffffffffff83111561330c5761330c613292565b61331f6020601f19601f860116016132c1565b905082815283838301111561333357600080fd5b828260208301376000602084830101529392505050565b60006020828403121561335c57600080fd5b813567ffffffffffffffff81111561337357600080fd5b8201601f8101841361338457600080fd5b612447848235602084016132f2565b600082601f8301126133a457600080fd5b8135602067ffffffffffffffff8211156133c0576133c0613292565b8160051b6133cf8282016132c1565b92835284810182019282810190878511156133e957600080fd5b83870192505b84831015613408578235825291830191908301906133ef565b979650505050505050565b600082601f83011261342457600080fd5b6116e4838335602085016132f2565b6000806000806080858703121561344957600080fd5b843561345481613104565b9350602085013561346481613104565b9250604085013567ffffffffffffffff8082111561348157600080fd5b61348d88838901613393565b935060608701359150808211156134a357600080fd5b506134b087828801613413565b91505092959194509250565b6020808252825182820181905260009190848201906040850190845b818110156134f4578351835292840192918401916001016134d8565b50909695505050505050565b6000806000806040858703121561351657600080fd5b843567ffffffffffffffff8082111561352e57600080fd5b61353a88838901613145565b9096509450602087013591508082111561355357600080fd5b5061356087828801613145565b95989497509550505050565b6000806040838503121561357f57600080fd5b823561358a81613104565b91506020830135801515811461359f57600080fd5b809150509250929050565b600080600080608085870312156135c057600080fd5b84356135cb81613104565b935060208501356135db81613104565b925060408501359150606085013567ffffffffffffffff8111156135fe57600080fd5b6134b087828801613413565b6000806040838503121561361d57600080fd5b823561362881613104565b9150602083013561359f81613104565b60008060006060848603121561364d57600080fd5b833561365881613104565b9250602084013561366881613104565b9150604084013567ffffffffffffffff81111561368457600080fd5b61369086828701613393565b9150509250925092565b600181811c908216806136ae57607f821691505b6020821081036136e7577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008282101561372e5761372e6136ed565b500390565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561376b5761376b6136ed565b500290565b60008219821115613783576137836136ed565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036137b9576137b96136ed565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000826137fe576137fe6137c0565b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008151613844818560208601613080565b9290920192915050565b600080845481600182811c91508083168061386a57607f831692505b602080841082036138a2577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b8180156138b657600181146138c7576138f4565b60ff198616895284890196506138f4565b60008b81526020902060005b868110156138ec5781548b8201529085019083016138d3565b505084890196505b5050505050506139048185613832565b95945050505050565b60006020828403121561391f57600080fd5b81516116e481613104565b600082613939576139396137c0565b500690565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261397060808301846130ac565b9695505050505050565b60006020828403121561398c57600080fd5b81516116e48161303556fea264697066735822122040df610a31cb745d6a17ad8f164854f236e680082e50bbeaf6324dc935bdfd2264736f6c634300080d0033
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.