Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
NFT
Overview
Max Total Supply
400 MIGHTY
Holders
151
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 MIGHTYLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MightyHercules
Compiler Version
v0.8.12+commit.f00d7308
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; contract MightyHercules is ERC721A, Ownable, ReentrancyGuard { bytes32 public merkleRoot = 0x99a4cd11e9c964ed088884af8d0764e58e1256078ab26fbeb4ec2a8d0925fa4e; enum salesStatuses { PASSIVE, PRE_SALE, PUBLIC_SALE } uint256 public maxSupply = 10050; uint256 public cost = 0.15 ether; salesStatuses public salesStatus = salesStatuses.PASSIVE; bool public paused = false; bool public mintClosed = false; string public baseURI; uint256 internal constant giftLimit = 200; uint256 internal giftUsed = 0; address private wallet1 = 0x71F3606B5450950b5eE6E2177d1227049ed83ab7; address private wallet2 = 0x94b212894f4Fa0939bA33C7F30A785531ec23a8D; address private wallet3 = 0x18471A3664794E50F448b408503A4b59BBa2E0fa; address private wallet4 = 0x169fDD54bA38FD2575E61aB8939849BfF00e5Fe6; address private wallet5 = 0xBB34d08c67373e54F066E6e7e6c77846fF7D2714; mapping(address => bool) public projectProxy; address public proxyAddress = 0xa5409ec958C83C3f309868babACA7c86DCB077c1; constructor() ERC721A("Mighty Hercules", "MIGHTY") { baseURI = "https://cdn.mightyhercules.io/meta-data/"; } modifier mintChecker(uint256 _qty) { require(!mintClosed, "Mint is closed!"); require(!paused, "Sale is paused!"); require(_qty > 0, "Invalid mint amount!"); require(_qty <= 50, "Invalid mint amount!"); require(_totalMinted() + _qty <= maxSupply, "Max supply exceeded!"); _; } function mint(uint256 _qty) external payable nonReentrant mintChecker(_qty) { require(salesStatus == salesStatuses.PUBLIC_SALE, "Public sale is not active!"); require(msg.value >= cost * _qty, "Insufficient funds!"); _safeMint(msg.sender, _qty); } function preMint(uint256 _qty, bytes32[] calldata _merkleProof) external payable nonReentrant mintChecker(_qty) { require(salesStatus == salesStatuses.PRE_SALE, "PreSale is not active!"); require(msg.value >= cost * _qty, "Insufficient funds!"); bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), "You are not in whitelist"); _safeMint(msg.sender, _qty); delete leaf; } function _startTokenId() internal pure override returns (uint256) { return 1; } function collectorMint(address[] calldata _addresses, uint256[] calldata _quantities) external onlyOwner { require(_quantities.length == _addresses.length, "Provide quantities and recipients" ); uint256 bulkQty = 0; for(uint i = 0; i < _quantities.length; ++i){ bulkQty += _quantities[i]; } require(giftUsed + bulkQty <= giftLimit, "Max gift limit reached"); require(_totalMinted() + bulkQty <= maxSupply, "Max supply exceeded!"); for(uint i = 0; i < _quantities.length; ++i){ _safeMint(_addresses[i], _quantities[i]); } giftUsed += bulkQty; delete bulkQty; } function withdraw() public onlyOwner { uint256 balance = address(this).balance; payable(wallet1).transfer((balance * 42) / 100); payable(wallet2).transfer((balance * 24) / 100); payable(wallet3).transfer((balance * 24) / 100); payable(wallet4).transfer((balance * 5) / 100); payable(wallet5).transfer((balance * 5) / 100); } function tokenURI(uint256 _tokenId) public view override returns (string memory) { require(_exists(_tokenId), "Token does not exist."); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(_tokenId), ".json")) : ''; } function setBaseUri(string calldata _baseUri) external onlyOwner { baseURI = _baseUri; } function setSaleStatus(salesStatuses _salesStatus) external onlyOwner { salesStatus = _salesStatus; } function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner { merkleRoot = _merkleRoot; } function isApprovedForAll(address _owner, address operator) public view override 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); } function switchProxy(address _proxyAddress) public onlyOwner { projectProxy[_proxyAddress] = !projectProxy[_proxyAddress]; } function setProxy(address _proxyAddress) external onlyOwner { proxyAddress = _proxyAddress; } function getSaleStatus() public view returns (salesStatuses) { return salesStatus; } function tokensOfOwner(address owner) external view returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } function setPaused(bool _paused) public onlyOwner { paused = _paused; } function closeMint() public onlyOwner { require(salesStatus == salesStatuses.PUBLIC_SALE, "The sale status must be public"); mintClosed = true; } } contract OwnableDelegateProxy { } contract OpenSeaProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // 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); // ============================== // IERC721 // ============================== /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must 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 Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================== // IERC721Metadata // ============================== /** * @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 // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The tokenId of the next token to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> BITPOS_AUX); } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; assembly { // Cast aux without masking. auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Casts the address to uint256 without masking. */ function _addressToUint256(address value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev Casts the boolean to uint256 without branching. */ function _boolToUint256(bool value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = address(uint160(_packedOwnershipOf(tokenId))); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), 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 { _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 { _transfer(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.code.length != 0) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex < end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) private { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); if (approvalCheck) { bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _addressToUint256(from) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_BURNED | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * 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, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (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. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ 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 Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev 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 { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "london", "libraries": {}, "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"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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":[],"name":"closeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint256[]","name":"_quantities","type":"uint256[]"}],"name":"collectorMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSaleStatus","outputs":[{"internalType":"enum MightyHercules.salesStatuses","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"_qty","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintClosed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_qty","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"preMint","outputs":[],"stateMutability":"payable","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"salesStatus","outputs":[{"internalType":"enum MightyHercules.salesStatuses","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_paused","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyAddress","type":"address"}],"name":"setProxy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum MightyHercules.salesStatuses","name":"_salesStatus","type":"uint8"}],"name":"setSaleStatus","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":"_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
60806040527f99a4cd11e9c964ed088884af8d0764e58e1256078ab26fbeb4ec2a8d0925fa4e60001b600a55612742600b55670214e8348c4f0000600c556000600d60006101000a81548160ff021916908360028111156200006657620000656200054f565b5b02179055506000600d60016101000a81548160ff0219169083151502179055506000600d60026101000a81548160ff0219169083151502179055506000600f557371f3606b5450950b5ee6e2177d1227049ed83ab7601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507394b212894f4fa0939ba33c7f30a785531ec23a8d601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507318471a3664794e50f448b408503a4b59bba2e0fa601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073169fdd54ba38fd2575e61ab8939849bff00e5fe6601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073bb34d08c67373e54f066e6e7e6c77846ff7d2714601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073a5409ec958c83c3f309868babaca7c86dcb077c1601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550348015620002b157600080fd5b506040518060400160405280600f81526020017f4d69676874792048657263756c657300000000000000000000000000000000008152506040518060400160405280600681526020017f4d494748545900000000000000000000000000000000000000000000000000008152508160029080519060200190620003369291906200049f565b5080600390805190602001906200034f9291906200049f565b5062000360620003c860201b60201c565b6000819055505050620003886200037c620003d160201b60201c565b620003d960201b60201c565b60016009819055506040518060600160405280602881526020016200506d60289139600e9080519060200190620003c19291906200049f565b50620005e3565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620004ad90620005ad565b90600052602060002090601f016020900481019282620004d157600085556200051d565b82601f10620004ec57805160ff19168380011785556200051d565b828001600101855582156200051d579182015b828111156200051c578251825591602001919060010190620004ff565b5b5090506200052c919062000530565b5090565b5b808211156200054b57600081600090555060010162000531565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620005c657607f821691505b60208210811415620005dd57620005dc6200057e565b5b50919050565b614a7a80620005f36000396000f3fe6080604052600436106102305760003560e01c806364f101f01161012e57806397107d6d116100ab578063c87b56dd1161006f578063c87b56dd146107e5578063d5abeb0114610822578063d663d3701461084d578063e985e9c514610878578063f2fde38b146108b557610230565b806397107d6d14610725578063a0712d681461074e578063a0bcfc7f1461076a578063a22cb46514610793578063b88d4fde146107bc57610230565b80637cb64759116100f25780637cb647591461063e5780638462151c146106675780638c3c4b34146106a45780638da5cb5b146106cf57806395d89b41146106fa57610230565b806364f101f01461057f5780636c0360eb1461059657806370a08231146105c1578063715018a6146105fe5780637212a4231461061557610230565b8063245cad7a116101bc5780634891ad88116101805780634891ad88146104955780635a546223146104be5780635bab26e2146104da5780635c975abb146105175780636352211e1461054257610230565b8063245cad7a146103d65780632eb4a7ab146103ff57806337d2047b1461042a5780633ccfd60b1461045557806342842e0e1461046c57610230565b806313faede61161020357806313faede61461030357806316c38b3c1461032e57806318160ddd1461035757806323b872dd1461038257806323f5c02d146103ab57610230565b806301ffc9a71461023557806306fdde0314610272578063081812fc1461029d578063095ea7b3146102da575b600080fd5b34801561024157600080fd5b5061025c6004803603810190610257919061342b565b6108de565b6040516102699190613473565b60405180910390f35b34801561027e57600080fd5b50610287610970565b6040516102949190613527565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf919061357f565b610a02565b6040516102d191906135ed565b60405180910390f35b3480156102e657600080fd5b5061030160048036038101906102fc9190613634565b610a7e565b005b34801561030f57600080fd5b50610318610c25565b6040516103259190613683565b60405180910390f35b34801561033a57600080fd5b50610355600480360381019061035091906136ca565b610c2b565b005b34801561036357600080fd5b5061036c610cc4565b6040516103799190613683565b60405180910390f35b34801561038e57600080fd5b506103a960048036038101906103a491906136f7565b610cdb565b005b3480156103b757600080fd5b506103c0610ceb565b6040516103cd91906135ed565b60405180910390f35b3480156103e257600080fd5b506103fd60048036038101906103f8919061374a565b610d11565b005b34801561040b57600080fd5b50610414610e34565b6040516104219190613790565b60405180910390f35b34801561043657600080fd5b5061043f610e3a565b60405161044c9190613822565b60405180910390f35b34801561046157600080fd5b5061046a610e4d565b005b34801561047857600080fd5b50610493600480360381019061048e91906136f7565b611156565b005b3480156104a157600080fd5b506104bc60048036038101906104b79190613862565b611176565b005b6104d860048036038101906104d391906138f4565b61121f565b005b3480156104e657600080fd5b5061050160048036038101906104fc919061374a565b611587565b60405161050e9190613473565b60405180910390f35b34801561052357600080fd5b5061052c6115a7565b6040516105399190613473565b60405180910390f35b34801561054e57600080fd5b506105696004803603810190610564919061357f565b6115ba565b60405161057691906135ed565b60405180910390f35b34801561058b57600080fd5b506105946115cc565b005b3480156105a257600080fd5b506105ab6116da565b6040516105b89190613527565b60405180910390f35b3480156105cd57600080fd5b506105e860048036038101906105e3919061374a565b611768565b6040516105f59190613683565b60405180910390f35b34801561060a57600080fd5b50610613611821565b005b34801561062157600080fd5b5061063c60048036038101906106379190613a00565b6118a9565b005b34801561064a57600080fd5b5061066560048036038101906106609190613aad565b611aeb565b005b34801561067357600080fd5b5061068e6004803603810190610689919061374a565b611b71565b60405161069b9190613b98565b60405180910390f35b3480156106b057600080fd5b506106b9611cbb565b6040516106c69190613822565b60405180910390f35b3480156106db57600080fd5b506106e4611cd2565b6040516106f191906135ed565b60405180910390f35b34801561070657600080fd5b5061070f611cfc565b60405161071c9190613527565b60405180910390f35b34801561073157600080fd5b5061074c6004803603810190610747919061374a565b611d8e565b005b6107686004803603810190610763919061357f565b611e4e565b005b34801561077657600080fd5b50610791600480360381019061078c9190613c10565b6120f6565b005b34801561079f57600080fd5b506107ba60048036038101906107b59190613c5d565b612188565b005b3480156107c857600080fd5b506107e360048036038101906107de9190613dcd565b612300565b005b3480156107f157600080fd5b5061080c6004803603810190610807919061357f565b612373565b6040516108199190613527565b60405180910390f35b34801561082e57600080fd5b5061083761241c565b6040516108449190613683565b60405180910390f35b34801561085957600080fd5b50610862612422565b60405161086f9190613473565b60405180910390f35b34801561088457600080fd5b5061089f600480360381019061089a9190613e50565b612435565b6040516108ac9190613473565b60405180910390f35b3480156108c157600080fd5b506108dc60048036038101906108d7919061374a565b61257c565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061093957506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109695750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461097f90613ebf565b80601f01602080910402602001604051908101604052809291908181526020018280546109ab90613ebf565b80156109f85780601f106109cd576101008083540402835291602001916109f8565b820191906000526020600020905b8154815290600101906020018083116109db57829003601f168201915b5050505050905090565b6000610a0d82612674565b610a43576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a89826126d3565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610af1576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b106127a1565b73ffffffffffffffffffffffffffffffffffffffff1614610b7357610b3c81610b376127a1565b612435565b610b72576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600c5481565b610c336127a9565b73ffffffffffffffffffffffffffffffffffffffff16610c51611cd2565b73ffffffffffffffffffffffffffffffffffffffff1614610ca7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9e90613f3d565b60405180910390fd5b80600d60016101000a81548160ff02191690831515021790555050565b6000610cce6127b1565b6001546000540303905090565b610ce68383836127ba565b505050565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610d196127a9565b73ffffffffffffffffffffffffffffffffffffffff16610d37611cd2565b73ffffffffffffffffffffffffffffffffffffffff1614610d8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8490613f3d565b60405180910390fd5b601560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600a5481565b600d60009054906101000a900460ff1681565b610e556127a9565b73ffffffffffffffffffffffffffffffffffffffff16610e73611cd2565b73ffffffffffffffffffffffffffffffffffffffff1614610ec9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec090613f3d565b60405180910390fd5b6000479050601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6064602a84610f199190613f8c565b610f239190614015565b9081150290604051600060405180830381858888f19350505050158015610f4e573d6000803e3d6000fd5b50601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6064601884610f9a9190613f8c565b610fa49190614015565b9081150290604051600060405180830381858888f19350505050158015610fcf573d6000803e3d6000fd5b50601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc606460188461101b9190613f8c565b6110259190614015565b9081150290604051600060405180830381858888f19350505050158015611050573d6000803e3d6000fd5b50601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc606460058461109c9190613f8c565b6110a69190614015565b9081150290604051600060405180830381858888f193505050501580156110d1573d6000803e3d6000fd5b50601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc606460058461111d9190613f8c565b6111279190614015565b9081150290604051600060405180830381858888f19350505050158015611152573d6000803e3d6000fd5b5050565b61117183838360405180602001604052806000815250612300565b505050565b61117e6127a9565b73ffffffffffffffffffffffffffffffffffffffff1661119c611cd2565b73ffffffffffffffffffffffffffffffffffffffff16146111f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e990613f3d565b60405180910390fd5b80600d60006101000a81548160ff02191690836002811115611217576112166137ab565b5b021790555050565b60026009541415611265576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125c90614092565b60405180910390fd5b600260098190555082600d60029054906101000a900460ff16156112be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b5906140fe565b60405180910390fd5b600d60019054906101000a900460ff161561130e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113059061416a565b60405180910390fd5b60008111611351576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611348906141d6565b60405180910390fd5b6032811115611395576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138c906141d6565b60405180910390fd5b600b54816113a1612b64565b6113ab91906141f6565b11156113ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e390614298565b60405180910390fd5b60016002811115611400576113ff6137ab565b5b600d60009054906101000a900460ff166002811115611422576114216137ab565b5b14611462576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145990614304565b60405180910390fd5b83600c546114709190613f8c565b3410156114b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a990614370565b60405180910390fd5b6000336040516020016114c591906143d8565b60405160208183030381529060405280519060200120905061152b848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600a5483612b77565b61156a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115619061443f565b60405180910390fd5b6115743386612b8e565b6000905050506001600981905550505050565b60156020528060005260406000206000915054906101000a900460ff1681565b600d60019054906101000a900460ff1681565b60006115c5826126d3565b9050919050565b6115d46127a9565b73ffffffffffffffffffffffffffffffffffffffff166115f2611cd2565b73ffffffffffffffffffffffffffffffffffffffff1614611648576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163f90613f3d565b60405180910390fd5b60028081111561165b5761165a6137ab565b5b600d60009054906101000a900460ff16600281111561167d5761167c6137ab565b5b146116bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b4906144ab565b60405180910390fd5b6001600d60026101000a81548160ff021916908315150217905550565b600e80546116e790613ebf565b80601f016020809104026020016040519081016040528092919081815260200182805461171390613ebf565b80156117605780601f1061173557610100808354040283529160200191611760565b820191906000526020600020905b81548152906001019060200180831161174357829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117d0576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6118296127a9565b73ffffffffffffffffffffffffffffffffffffffff16611847611cd2565b73ffffffffffffffffffffffffffffffffffffffff161461189d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189490613f3d565b60405180910390fd5b6118a76000612bac565b565b6118b16127a9565b73ffffffffffffffffffffffffffffffffffffffff166118cf611cd2565b73ffffffffffffffffffffffffffffffffffffffff1614611925576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191c90613f3d565b60405180910390fd5b83839050828290501461196d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119649061453d565b60405180910390fd5b6000805b838390508110156119b45783838281811061198f5761198e61455d565b5b90506020020135826119a191906141f6565b9150806119ad9061458c565b9050611971565b5060c881600f546119c591906141f6565b1115611a06576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fd90614621565b60405180910390fd5b600b5481611a12612b64565b611a1c91906141f6565b1115611a5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5490614298565b60405180910390fd5b60005b83839050811015611ac657611ab5868683818110611a8157611a8061455d565b5b9050602002016020810190611a96919061374a565b858584818110611aa957611aa861455d565b5b90506020020135612b8e565b80611abf9061458c565b9050611a60565b5080600f6000828254611ad991906141f6565b92505081905550600090505050505050565b611af36127a9565b73ffffffffffffffffffffffffffffffffffffffff16611b11611cd2565b73ffffffffffffffffffffffffffffffffffffffff1614611b67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5e90613f3d565b60405180910390fd5b80600a8190555050565b60606000806000611b8185611768565b905060008167ffffffffffffffff811115611b9f57611b9e613ca2565b5b604051908082528060200260200182016040528015611bcd5781602001602082028036833780820191505090505b509050611bd86132d9565b6000611be26127b1565b90505b838614611cad57611bf581612c72565b9150816040015115611c0657611ca2565b600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611c4657816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611ca15780838780600101985081518110611c9457611c9361455d565b5b6020026020010181815250505b5b806001019050611be5565b508195505050505050919050565b6000600d60009054906101000a900460ff16905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611d0b90613ebf565b80601f0160208091040260200160405190810160405280929190818152602001828054611d3790613ebf565b8015611d845780601f10611d5957610100808354040283529160200191611d84565b820191906000526020600020905b815481529060010190602001808311611d6757829003601f168201915b5050505050905090565b611d966127a9565b73ffffffffffffffffffffffffffffffffffffffff16611db4611cd2565b73ffffffffffffffffffffffffffffffffffffffff1614611e0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0190613f3d565b60405180910390fd5b80601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60026009541415611e94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8b90614092565b60405180910390fd5b600260098190555080600d60029054906101000a900460ff1615611eed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee4906140fe565b60405180910390fd5b600d60019054906101000a900460ff1615611f3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f349061416a565b60405180910390fd5b60008111611f80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f77906141d6565b60405180910390fd5b6032811115611fc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbb906141d6565b60405180910390fd5b600b5481611fd0612b64565b611fda91906141f6565b111561201b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201290614298565b60405180910390fd5b60028081111561202e5761202d6137ab565b5b600d60009054906101000a900460ff1660028111156120505761204f6137ab565b5b14612090576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120879061468d565b60405180910390fd5b81600c5461209e9190613f8c565b3410156120e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d790614370565b60405180910390fd5b6120ea3383612b8e565b50600160098190555050565b6120fe6127a9565b73ffffffffffffffffffffffffffffffffffffffff1661211c611cd2565b73ffffffffffffffffffffffffffffffffffffffff1614612172576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216990613f3d565b60405180910390fd5b8181600e919061218392919061331c565b505050565b6121906127a1565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121f5576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006122026127a1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166122af6127a1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122f49190613473565b60405180910390a35050565b61230b8484846127ba565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461236d5761233684848484612c9d565b61236c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b606061237e82612674565b6123bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b4906146f9565b60405180910390fd5b6000600e80546123cc90613ebf565b905014156123e95760405180602001604052806000815250612415565b600e6123f483612dee565b604051602001612405929190614835565b6040516020818303038152906040525b9050919050565b600b5481565b600d60029054906101000a900460ff1681565b600080601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016124ad91906135ed565b602060405180830381865afa1580156124ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124ee91906148a2565b73ffffffffffffffffffffffffffffffffffffffff1614806125595750601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b15612568576001915050612576565b6125728484612e48565b9150505b92915050565b6125846127a9565b73ffffffffffffffffffffffffffffffffffffffff166125a2611cd2565b73ffffffffffffffffffffffffffffffffffffffff16146125f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ef90613f3d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612668576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265f90614941565b60405180910390fd5b61267181612bac565b50565b60008161267f6127b1565b1115801561268e575060005482105b80156126cc575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600080829050806126e26127b1565b1161276a576000548110156127695760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612767575b600081141561275d576004600083600190039350838152602001908152602001600020549050612732565b809250505061279c565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600033905090565b60006001905090565b60006127c5826126d3565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461282c576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff1661284d6127a1565b73ffffffffffffffffffffffffffffffffffffffff16148061287c575061287b856128766127a1565b612435565b5b806128c1575061288a6127a1565b73ffffffffffffffffffffffffffffffffffffffff166128a984610a02565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806128fa576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612961576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61296e8585856001612edc565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b612a6b86612ee2565b1717600460008581526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000083161415612af5576000600184019050600060046000838152602001908152602001600020541415612af3576000548114612af2578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612b5d8585856001612eec565b5050505050565b6000612b6e6127b1565b60005403905090565b600082612b848584612ef2565b1490509392505050565b612ba8828260405180602001604052806000815250612f67565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612c7a6132d9565b612c96600460008481526020019081526020016000205461321c565b9050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612cc36127a1565b8786866040518563ffffffff1660e01b8152600401612ce594939291906149b6565b6020604051808303816000875af1925050508015612d2157506040513d601f19601f82011682018060405250810190612d1e9190614a17565b60015b612d9b573d8060008114612d51576040519150601f19603f3d011682016040523d82523d6000602084013e612d56565b606091505b50600081511415612d93576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b8015612e3457600183039250600a81066030018353600a81049050612e14565b508181036020830392508083525050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b50505050565b6000819050919050565b50505050565b60008082905060005b8451811015612f5c576000858281518110612f1957612f1861455d565b5b60200260200101519050808311612f3b57612f3483826132b8565b9250612f48565b612f4581846132b8565b92505b508080612f549061458c565b915050612efb565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612fd4576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600083141561300f576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61301c6000858386612edc565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1613081600185146132cf565b901b60a042901b61309186612ee2565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b14613195575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46131456000878480600101955087612c9d565b61317b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082106130d657826000541461319057600080fd5b613200565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613196575b8160008190555050506132166000858386612eec565b50505050565b6132246132d9565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c010000000000000000000000000000000000000000000000000000000083161415816040019015159081151581525050919050565b600082600052816020526040600020905092915050565b6000819050919050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b82805461332890613ebf565b90600052602060002090601f01602090048101928261334a5760008555613391565b82601f1061336357803560ff1916838001178555613391565b82800160010185558215613391579182015b82811115613390578235825591602001919060010190613375565b5b50905061339e91906133a2565b5090565b5b808211156133bb5760008160009055506001016133a3565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613408816133d3565b811461341357600080fd5b50565b600081359050613425816133ff565b92915050565b600060208284031215613441576134406133c9565b5b600061344f84828501613416565b91505092915050565b60008115159050919050565b61346d81613458565b82525050565b60006020820190506134886000830184613464565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156134c85780820151818401526020810190506134ad565b838111156134d7576000848401525b50505050565b6000601f19601f8301169050919050565b60006134f98261348e565b6135038185613499565b93506135138185602086016134aa565b61351c816134dd565b840191505092915050565b6000602082019050818103600083015261354181846134ee565b905092915050565b6000819050919050565b61355c81613549565b811461356757600080fd5b50565b60008135905061357981613553565b92915050565b600060208284031215613595576135946133c9565b5b60006135a38482850161356a565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006135d7826135ac565b9050919050565b6135e7816135cc565b82525050565b600060208201905061360260008301846135de565b92915050565b613611816135cc565b811461361c57600080fd5b50565b60008135905061362e81613608565b92915050565b6000806040838503121561364b5761364a6133c9565b5b60006136598582860161361f565b925050602061366a8582860161356a565b9150509250929050565b61367d81613549565b82525050565b60006020820190506136986000830184613674565b92915050565b6136a781613458565b81146136b257600080fd5b50565b6000813590506136c48161369e565b92915050565b6000602082840312156136e0576136df6133c9565b5b60006136ee848285016136b5565b91505092915050565b6000806000606084860312156137105761370f6133c9565b5b600061371e8682870161361f565b935050602061372f8682870161361f565b92505060406137408682870161356a565b9150509250925092565b6000602082840312156137605761375f6133c9565b5b600061376e8482850161361f565b91505092915050565b6000819050919050565b61378a81613777565b82525050565b60006020820190506137a56000830184613781565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600381106137eb576137ea6137ab565b5b50565b60008190506137fc826137da565b919050565b600061380c826137ee565b9050919050565b61381c81613801565b82525050565b60006020820190506138376000830184613813565b92915050565b6003811061384a57600080fd5b50565b60008135905061385c8161383d565b92915050565b600060208284031215613878576138776133c9565b5b60006138868482850161384d565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126138b4576138b361388f565b5b8235905067ffffffffffffffff8111156138d1576138d0613894565b5b6020830191508360208202830111156138ed576138ec613899565b5b9250929050565b60008060006040848603121561390d5761390c6133c9565b5b600061391b8682870161356a565b935050602084013567ffffffffffffffff81111561393c5761393b6133ce565b5b6139488682870161389e565b92509250509250925092565b60008083601f84011261396a5761396961388f565b5b8235905067ffffffffffffffff81111561398757613986613894565b5b6020830191508360208202830111156139a3576139a2613899565b5b9250929050565b60008083601f8401126139c0576139bf61388f565b5b8235905067ffffffffffffffff8111156139dd576139dc613894565b5b6020830191508360208202830111156139f9576139f8613899565b5b9250929050565b60008060008060408587031215613a1a57613a196133c9565b5b600085013567ffffffffffffffff811115613a3857613a376133ce565b5b613a4487828801613954565b9450945050602085013567ffffffffffffffff811115613a6757613a666133ce565b5b613a73878288016139aa565b925092505092959194509250565b613a8a81613777565b8114613a9557600080fd5b50565b600081359050613aa781613a81565b92915050565b600060208284031215613ac357613ac26133c9565b5b6000613ad184828501613a98565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613b0f81613549565b82525050565b6000613b218383613b06565b60208301905092915050565b6000602082019050919050565b6000613b4582613ada565b613b4f8185613ae5565b9350613b5a83613af6565b8060005b83811015613b8b578151613b728882613b15565b9750613b7d83613b2d565b925050600181019050613b5e565b5085935050505092915050565b60006020820190508181036000830152613bb28184613b3a565b905092915050565b60008083601f840112613bd057613bcf61388f565b5b8235905067ffffffffffffffff811115613bed57613bec613894565b5b602083019150836001820283011115613c0957613c08613899565b5b9250929050565b60008060208385031215613c2757613c266133c9565b5b600083013567ffffffffffffffff811115613c4557613c446133ce565b5b613c5185828601613bba565b92509250509250929050565b60008060408385031215613c7457613c736133c9565b5b6000613c828582860161361f565b9250506020613c93858286016136b5565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613cda826134dd565b810181811067ffffffffffffffff82111715613cf957613cf8613ca2565b5b80604052505050565b6000613d0c6133bf565b9050613d188282613cd1565b919050565b600067ffffffffffffffff821115613d3857613d37613ca2565b5b613d41826134dd565b9050602081019050919050565b82818337600083830152505050565b6000613d70613d6b84613d1d565b613d02565b905082815260208101848484011115613d8c57613d8b613c9d565b5b613d97848285613d4e565b509392505050565b600082601f830112613db457613db361388f565b5b8135613dc4848260208601613d5d565b91505092915050565b60008060008060808587031215613de757613de66133c9565b5b6000613df58782880161361f565b9450506020613e068782880161361f565b9350506040613e178782880161356a565b925050606085013567ffffffffffffffff811115613e3857613e376133ce565b5b613e4487828801613d9f565b91505092959194509250565b60008060408385031215613e6757613e666133c9565b5b6000613e758582860161361f565b9250506020613e868582860161361f565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613ed757607f821691505b60208210811415613eeb57613eea613e90565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613f27602083613499565b9150613f3282613ef1565b602082019050919050565b60006020820190508181036000830152613f5681613f1a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613f9782613549565b9150613fa283613549565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613fdb57613fda613f5d565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061402082613549565b915061402b83613549565b92508261403b5761403a613fe6565b5b828204905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b600061407c601f83613499565b915061408782614046565b602082019050919050565b600060208201905081810360008301526140ab8161406f565b9050919050565b7f4d696e7420697320636c6f736564210000000000000000000000000000000000600082015250565b60006140e8600f83613499565b91506140f3826140b2565b602082019050919050565b60006020820190508181036000830152614117816140db565b9050919050565b7f53616c6520697320706175736564210000000000000000000000000000000000600082015250565b6000614154600f83613499565b915061415f8261411e565b602082019050919050565b6000602082019050818103600083015261418381614147565b9050919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b60006141c0601483613499565b91506141cb8261418a565b602082019050919050565b600060208201905081810360008301526141ef816141b3565b9050919050565b600061420182613549565b915061420c83613549565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561424157614240613f5d565b5b828201905092915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b6000614282601483613499565b915061428d8261424c565b602082019050919050565b600060208201905081810360008301526142b181614275565b9050919050565b7f50726553616c65206973206e6f74206163746976652100000000000000000000600082015250565b60006142ee601683613499565b91506142f9826142b8565b602082019050919050565b6000602082019050818103600083015261431d816142e1565b9050919050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b600061435a601383613499565b915061436582614324565b602082019050919050565b600060208201905081810360008301526143898161434d565b9050919050565b60008160601b9050919050565b60006143a882614390565b9050919050565b60006143ba8261439d565b9050919050565b6143d26143cd826135cc565b6143af565b82525050565b60006143e482846143c1565b60148201915081905092915050565b7f596f7520617265206e6f7420696e2077686974656c6973740000000000000000600082015250565b6000614429601883613499565b9150614434826143f3565b602082019050919050565b600060208201905081810360008301526144588161441c565b9050919050565b7f5468652073616c6520737461747573206d757374206265207075626c69630000600082015250565b6000614495601e83613499565b91506144a08261445f565b602082019050919050565b600060208201905081810360008301526144c481614488565b9050919050565b7f50726f76696465207175616e74697469657320616e6420726563697069656e7460008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614527602183613499565b9150614532826144cb565b604082019050919050565b600060208201905081810360008301526145568161451a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061459782613549565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156145ca576145c9613f5d565b5b600182019050919050565b7f4d61782067696674206c696d6974207265616368656400000000000000000000600082015250565b600061460b601683613499565b9150614616826145d5565b602082019050919050565b6000602082019050818103600083015261463a816145fe565b9050919050565b7f5075626c69632073616c65206973206e6f742061637469766521000000000000600082015250565b6000614677601a83613499565b915061468282614641565b602082019050919050565b600060208201905081810360008301526146a68161466a565b9050919050565b7f546f6b656e20646f6573206e6f742065786973742e0000000000000000000000600082015250565b60006146e3601583613499565b91506146ee826146ad565b602082019050919050565b60006020820190508181036000830152614712816146d6565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461474681613ebf565b6147508186614719565b9450600182166000811461476b576001811461477c576147af565b60ff198316865281860193506147af565b61478585614724565b60005b838110156147a757815481890152600182019150602081019050614788565b838801955050505b50505092915050565b60006147c38261348e565b6147cd8185614719565b93506147dd8185602086016134aa565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b600061481f600583614719565b915061482a826147e9565b600582019050919050565b60006148418285614739565b915061484d82846147b8565b915061485882614812565b91508190509392505050565b600061486f826135cc565b9050919050565b61487f81614864565b811461488a57600080fd5b50565b60008151905061489c81614876565b92915050565b6000602082840312156148b8576148b76133c9565b5b60006148c68482850161488d565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061492b602683613499565b9150614936826148cf565b604082019050919050565b6000602082019050818103600083015261495a8161491e565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061498882614961565b614992818561496c565b93506149a28185602086016134aa565b6149ab816134dd565b840191505092915050565b60006080820190506149cb60008301876135de565b6149d860208301866135de565b6149e56040830185613674565b81810360608301526149f7818461497d565b905095945050505050565b600081519050614a11816133ff565b92915050565b600060208284031215614a2d57614a2c6133c9565b5b6000614a3b84828501614a02565b9150509291505056fea2646970667358221220939ee16337427351688afcb2e9f3ff6f3c0e3410f70f5797427ce55df6eb08ed64736f6c634300080c003368747470733a2f2f63646e2e6d696768747968657263756c65732e696f2f6d6574612d646174612f
Deployed Bytecode
0x6080604052600436106102305760003560e01c806364f101f01161012e57806397107d6d116100ab578063c87b56dd1161006f578063c87b56dd146107e5578063d5abeb0114610822578063d663d3701461084d578063e985e9c514610878578063f2fde38b146108b557610230565b806397107d6d14610725578063a0712d681461074e578063a0bcfc7f1461076a578063a22cb46514610793578063b88d4fde146107bc57610230565b80637cb64759116100f25780637cb647591461063e5780638462151c146106675780638c3c4b34146106a45780638da5cb5b146106cf57806395d89b41146106fa57610230565b806364f101f01461057f5780636c0360eb1461059657806370a08231146105c1578063715018a6146105fe5780637212a4231461061557610230565b8063245cad7a116101bc5780634891ad88116101805780634891ad88146104955780635a546223146104be5780635bab26e2146104da5780635c975abb146105175780636352211e1461054257610230565b8063245cad7a146103d65780632eb4a7ab146103ff57806337d2047b1461042a5780633ccfd60b1461045557806342842e0e1461046c57610230565b806313faede61161020357806313faede61461030357806316c38b3c1461032e57806318160ddd1461035757806323b872dd1461038257806323f5c02d146103ab57610230565b806301ffc9a71461023557806306fdde0314610272578063081812fc1461029d578063095ea7b3146102da575b600080fd5b34801561024157600080fd5b5061025c6004803603810190610257919061342b565b6108de565b6040516102699190613473565b60405180910390f35b34801561027e57600080fd5b50610287610970565b6040516102949190613527565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf919061357f565b610a02565b6040516102d191906135ed565b60405180910390f35b3480156102e657600080fd5b5061030160048036038101906102fc9190613634565b610a7e565b005b34801561030f57600080fd5b50610318610c25565b6040516103259190613683565b60405180910390f35b34801561033a57600080fd5b50610355600480360381019061035091906136ca565b610c2b565b005b34801561036357600080fd5b5061036c610cc4565b6040516103799190613683565b60405180910390f35b34801561038e57600080fd5b506103a960048036038101906103a491906136f7565b610cdb565b005b3480156103b757600080fd5b506103c0610ceb565b6040516103cd91906135ed565b60405180910390f35b3480156103e257600080fd5b506103fd60048036038101906103f8919061374a565b610d11565b005b34801561040b57600080fd5b50610414610e34565b6040516104219190613790565b60405180910390f35b34801561043657600080fd5b5061043f610e3a565b60405161044c9190613822565b60405180910390f35b34801561046157600080fd5b5061046a610e4d565b005b34801561047857600080fd5b50610493600480360381019061048e91906136f7565b611156565b005b3480156104a157600080fd5b506104bc60048036038101906104b79190613862565b611176565b005b6104d860048036038101906104d391906138f4565b61121f565b005b3480156104e657600080fd5b5061050160048036038101906104fc919061374a565b611587565b60405161050e9190613473565b60405180910390f35b34801561052357600080fd5b5061052c6115a7565b6040516105399190613473565b60405180910390f35b34801561054e57600080fd5b506105696004803603810190610564919061357f565b6115ba565b60405161057691906135ed565b60405180910390f35b34801561058b57600080fd5b506105946115cc565b005b3480156105a257600080fd5b506105ab6116da565b6040516105b89190613527565b60405180910390f35b3480156105cd57600080fd5b506105e860048036038101906105e3919061374a565b611768565b6040516105f59190613683565b60405180910390f35b34801561060a57600080fd5b50610613611821565b005b34801561062157600080fd5b5061063c60048036038101906106379190613a00565b6118a9565b005b34801561064a57600080fd5b5061066560048036038101906106609190613aad565b611aeb565b005b34801561067357600080fd5b5061068e6004803603810190610689919061374a565b611b71565b60405161069b9190613b98565b60405180910390f35b3480156106b057600080fd5b506106b9611cbb565b6040516106c69190613822565b60405180910390f35b3480156106db57600080fd5b506106e4611cd2565b6040516106f191906135ed565b60405180910390f35b34801561070657600080fd5b5061070f611cfc565b60405161071c9190613527565b60405180910390f35b34801561073157600080fd5b5061074c6004803603810190610747919061374a565b611d8e565b005b6107686004803603810190610763919061357f565b611e4e565b005b34801561077657600080fd5b50610791600480360381019061078c9190613c10565b6120f6565b005b34801561079f57600080fd5b506107ba60048036038101906107b59190613c5d565b612188565b005b3480156107c857600080fd5b506107e360048036038101906107de9190613dcd565b612300565b005b3480156107f157600080fd5b5061080c6004803603810190610807919061357f565b612373565b6040516108199190613527565b60405180910390f35b34801561082e57600080fd5b5061083761241c565b6040516108449190613683565b60405180910390f35b34801561085957600080fd5b50610862612422565b60405161086f9190613473565b60405180910390f35b34801561088457600080fd5b5061089f600480360381019061089a9190613e50565b612435565b6040516108ac9190613473565b60405180910390f35b3480156108c157600080fd5b506108dc60048036038101906108d7919061374a565b61257c565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061093957506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109695750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461097f90613ebf565b80601f01602080910402602001604051908101604052809291908181526020018280546109ab90613ebf565b80156109f85780601f106109cd576101008083540402835291602001916109f8565b820191906000526020600020905b8154815290600101906020018083116109db57829003601f168201915b5050505050905090565b6000610a0d82612674565b610a43576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a89826126d3565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610af1576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b106127a1565b73ffffffffffffffffffffffffffffffffffffffff1614610b7357610b3c81610b376127a1565b612435565b610b72576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600c5481565b610c336127a9565b73ffffffffffffffffffffffffffffffffffffffff16610c51611cd2565b73ffffffffffffffffffffffffffffffffffffffff1614610ca7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9e90613f3d565b60405180910390fd5b80600d60016101000a81548160ff02191690831515021790555050565b6000610cce6127b1565b6001546000540303905090565b610ce68383836127ba565b505050565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610d196127a9565b73ffffffffffffffffffffffffffffffffffffffff16610d37611cd2565b73ffffffffffffffffffffffffffffffffffffffff1614610d8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8490613f3d565b60405180910390fd5b601560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600a5481565b600d60009054906101000a900460ff1681565b610e556127a9565b73ffffffffffffffffffffffffffffffffffffffff16610e73611cd2565b73ffffffffffffffffffffffffffffffffffffffff1614610ec9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec090613f3d565b60405180910390fd5b6000479050601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6064602a84610f199190613f8c565b610f239190614015565b9081150290604051600060405180830381858888f19350505050158015610f4e573d6000803e3d6000fd5b50601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6064601884610f9a9190613f8c565b610fa49190614015565b9081150290604051600060405180830381858888f19350505050158015610fcf573d6000803e3d6000fd5b50601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc606460188461101b9190613f8c565b6110259190614015565b9081150290604051600060405180830381858888f19350505050158015611050573d6000803e3d6000fd5b50601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc606460058461109c9190613f8c565b6110a69190614015565b9081150290604051600060405180830381858888f193505050501580156110d1573d6000803e3d6000fd5b50601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc606460058461111d9190613f8c565b6111279190614015565b9081150290604051600060405180830381858888f19350505050158015611152573d6000803e3d6000fd5b5050565b61117183838360405180602001604052806000815250612300565b505050565b61117e6127a9565b73ffffffffffffffffffffffffffffffffffffffff1661119c611cd2565b73ffffffffffffffffffffffffffffffffffffffff16146111f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e990613f3d565b60405180910390fd5b80600d60006101000a81548160ff02191690836002811115611217576112166137ab565b5b021790555050565b60026009541415611265576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125c90614092565b60405180910390fd5b600260098190555082600d60029054906101000a900460ff16156112be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b5906140fe565b60405180910390fd5b600d60019054906101000a900460ff161561130e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113059061416a565b60405180910390fd5b60008111611351576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611348906141d6565b60405180910390fd5b6032811115611395576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138c906141d6565b60405180910390fd5b600b54816113a1612b64565b6113ab91906141f6565b11156113ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e390614298565b60405180910390fd5b60016002811115611400576113ff6137ab565b5b600d60009054906101000a900460ff166002811115611422576114216137ab565b5b14611462576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145990614304565b60405180910390fd5b83600c546114709190613f8c565b3410156114b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a990614370565b60405180910390fd5b6000336040516020016114c591906143d8565b60405160208183030381529060405280519060200120905061152b848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600a5483612b77565b61156a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115619061443f565b60405180910390fd5b6115743386612b8e565b6000905050506001600981905550505050565b60156020528060005260406000206000915054906101000a900460ff1681565b600d60019054906101000a900460ff1681565b60006115c5826126d3565b9050919050565b6115d46127a9565b73ffffffffffffffffffffffffffffffffffffffff166115f2611cd2565b73ffffffffffffffffffffffffffffffffffffffff1614611648576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163f90613f3d565b60405180910390fd5b60028081111561165b5761165a6137ab565b5b600d60009054906101000a900460ff16600281111561167d5761167c6137ab565b5b146116bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b4906144ab565b60405180910390fd5b6001600d60026101000a81548160ff021916908315150217905550565b600e80546116e790613ebf565b80601f016020809104026020016040519081016040528092919081815260200182805461171390613ebf565b80156117605780601f1061173557610100808354040283529160200191611760565b820191906000526020600020905b81548152906001019060200180831161174357829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117d0576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6118296127a9565b73ffffffffffffffffffffffffffffffffffffffff16611847611cd2565b73ffffffffffffffffffffffffffffffffffffffff161461189d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189490613f3d565b60405180910390fd5b6118a76000612bac565b565b6118b16127a9565b73ffffffffffffffffffffffffffffffffffffffff166118cf611cd2565b73ffffffffffffffffffffffffffffffffffffffff1614611925576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191c90613f3d565b60405180910390fd5b83839050828290501461196d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119649061453d565b60405180910390fd5b6000805b838390508110156119b45783838281811061198f5761198e61455d565b5b90506020020135826119a191906141f6565b9150806119ad9061458c565b9050611971565b5060c881600f546119c591906141f6565b1115611a06576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fd90614621565b60405180910390fd5b600b5481611a12612b64565b611a1c91906141f6565b1115611a5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5490614298565b60405180910390fd5b60005b83839050811015611ac657611ab5868683818110611a8157611a8061455d565b5b9050602002016020810190611a96919061374a565b858584818110611aa957611aa861455d565b5b90506020020135612b8e565b80611abf9061458c565b9050611a60565b5080600f6000828254611ad991906141f6565b92505081905550600090505050505050565b611af36127a9565b73ffffffffffffffffffffffffffffffffffffffff16611b11611cd2565b73ffffffffffffffffffffffffffffffffffffffff1614611b67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5e90613f3d565b60405180910390fd5b80600a8190555050565b60606000806000611b8185611768565b905060008167ffffffffffffffff811115611b9f57611b9e613ca2565b5b604051908082528060200260200182016040528015611bcd5781602001602082028036833780820191505090505b509050611bd86132d9565b6000611be26127b1565b90505b838614611cad57611bf581612c72565b9150816040015115611c0657611ca2565b600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611c4657816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611ca15780838780600101985081518110611c9457611c9361455d565b5b6020026020010181815250505b5b806001019050611be5565b508195505050505050919050565b6000600d60009054906101000a900460ff16905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611d0b90613ebf565b80601f0160208091040260200160405190810160405280929190818152602001828054611d3790613ebf565b8015611d845780601f10611d5957610100808354040283529160200191611d84565b820191906000526020600020905b815481529060010190602001808311611d6757829003601f168201915b5050505050905090565b611d966127a9565b73ffffffffffffffffffffffffffffffffffffffff16611db4611cd2565b73ffffffffffffffffffffffffffffffffffffffff1614611e0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0190613f3d565b60405180910390fd5b80601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60026009541415611e94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8b90614092565b60405180910390fd5b600260098190555080600d60029054906101000a900460ff1615611eed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee4906140fe565b60405180910390fd5b600d60019054906101000a900460ff1615611f3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f349061416a565b60405180910390fd5b60008111611f80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f77906141d6565b60405180910390fd5b6032811115611fc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbb906141d6565b60405180910390fd5b600b5481611fd0612b64565b611fda91906141f6565b111561201b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201290614298565b60405180910390fd5b60028081111561202e5761202d6137ab565b5b600d60009054906101000a900460ff1660028111156120505761204f6137ab565b5b14612090576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120879061468d565b60405180910390fd5b81600c5461209e9190613f8c565b3410156120e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d790614370565b60405180910390fd5b6120ea3383612b8e565b50600160098190555050565b6120fe6127a9565b73ffffffffffffffffffffffffffffffffffffffff1661211c611cd2565b73ffffffffffffffffffffffffffffffffffffffff1614612172576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216990613f3d565b60405180910390fd5b8181600e919061218392919061331c565b505050565b6121906127a1565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121f5576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006122026127a1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166122af6127a1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122f49190613473565b60405180910390a35050565b61230b8484846127ba565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461236d5761233684848484612c9d565b61236c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b606061237e82612674565b6123bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b4906146f9565b60405180910390fd5b6000600e80546123cc90613ebf565b905014156123e95760405180602001604052806000815250612415565b600e6123f483612dee565b604051602001612405929190614835565b6040516020818303038152906040525b9050919050565b600b5481565b600d60029054906101000a900460ff1681565b600080601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016124ad91906135ed565b602060405180830381865afa1580156124ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124ee91906148a2565b73ffffffffffffffffffffffffffffffffffffffff1614806125595750601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b15612568576001915050612576565b6125728484612e48565b9150505b92915050565b6125846127a9565b73ffffffffffffffffffffffffffffffffffffffff166125a2611cd2565b73ffffffffffffffffffffffffffffffffffffffff16146125f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ef90613f3d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612668576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265f90614941565b60405180910390fd5b61267181612bac565b50565b60008161267f6127b1565b1115801561268e575060005482105b80156126cc575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600080829050806126e26127b1565b1161276a576000548110156127695760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612767575b600081141561275d576004600083600190039350838152602001908152602001600020549050612732565b809250505061279c565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600033905090565b60006001905090565b60006127c5826126d3565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461282c576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff1661284d6127a1565b73ffffffffffffffffffffffffffffffffffffffff16148061287c575061287b856128766127a1565b612435565b5b806128c1575061288a6127a1565b73ffffffffffffffffffffffffffffffffffffffff166128a984610a02565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806128fa576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612961576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61296e8585856001612edc565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b612a6b86612ee2565b1717600460008581526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000083161415612af5576000600184019050600060046000838152602001908152602001600020541415612af3576000548114612af2578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612b5d8585856001612eec565b5050505050565b6000612b6e6127b1565b60005403905090565b600082612b848584612ef2565b1490509392505050565b612ba8828260405180602001604052806000815250612f67565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612c7a6132d9565b612c96600460008481526020019081526020016000205461321c565b9050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612cc36127a1565b8786866040518563ffffffff1660e01b8152600401612ce594939291906149b6565b6020604051808303816000875af1925050508015612d2157506040513d601f19601f82011682018060405250810190612d1e9190614a17565b60015b612d9b573d8060008114612d51576040519150601f19603f3d011682016040523d82523d6000602084013e612d56565b606091505b50600081511415612d93576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b8015612e3457600183039250600a81066030018353600a81049050612e14565b508181036020830392508083525050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b50505050565b6000819050919050565b50505050565b60008082905060005b8451811015612f5c576000858281518110612f1957612f1861455d565b5b60200260200101519050808311612f3b57612f3483826132b8565b9250612f48565b612f4581846132b8565b92505b508080612f549061458c565b915050612efb565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612fd4576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600083141561300f576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61301c6000858386612edc565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1613081600185146132cf565b901b60a042901b61309186612ee2565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b14613195575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46131456000878480600101955087612c9d565b61317b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082106130d657826000541461319057600080fd5b613200565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613196575b8160008190555050506132166000858386612eec565b50505050565b6132246132d9565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c010000000000000000000000000000000000000000000000000000000083161415816040019015159081151581525050919050565b600082600052816020526040600020905092915050565b6000819050919050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b82805461332890613ebf565b90600052602060002090601f01602090048101928261334a5760008555613391565b82601f1061336357803560ff1916838001178555613391565b82800160010185558215613391579182015b82811115613390578235825591602001919060010190613375565b5b50905061339e91906133a2565b5090565b5b808211156133bb5760008160009055506001016133a3565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613408816133d3565b811461341357600080fd5b50565b600081359050613425816133ff565b92915050565b600060208284031215613441576134406133c9565b5b600061344f84828501613416565b91505092915050565b60008115159050919050565b61346d81613458565b82525050565b60006020820190506134886000830184613464565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156134c85780820151818401526020810190506134ad565b838111156134d7576000848401525b50505050565b6000601f19601f8301169050919050565b60006134f98261348e565b6135038185613499565b93506135138185602086016134aa565b61351c816134dd565b840191505092915050565b6000602082019050818103600083015261354181846134ee565b905092915050565b6000819050919050565b61355c81613549565b811461356757600080fd5b50565b60008135905061357981613553565b92915050565b600060208284031215613595576135946133c9565b5b60006135a38482850161356a565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006135d7826135ac565b9050919050565b6135e7816135cc565b82525050565b600060208201905061360260008301846135de565b92915050565b613611816135cc565b811461361c57600080fd5b50565b60008135905061362e81613608565b92915050565b6000806040838503121561364b5761364a6133c9565b5b60006136598582860161361f565b925050602061366a8582860161356a565b9150509250929050565b61367d81613549565b82525050565b60006020820190506136986000830184613674565b92915050565b6136a781613458565b81146136b257600080fd5b50565b6000813590506136c48161369e565b92915050565b6000602082840312156136e0576136df6133c9565b5b60006136ee848285016136b5565b91505092915050565b6000806000606084860312156137105761370f6133c9565b5b600061371e8682870161361f565b935050602061372f8682870161361f565b92505060406137408682870161356a565b9150509250925092565b6000602082840312156137605761375f6133c9565b5b600061376e8482850161361f565b91505092915050565b6000819050919050565b61378a81613777565b82525050565b60006020820190506137a56000830184613781565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600381106137eb576137ea6137ab565b5b50565b60008190506137fc826137da565b919050565b600061380c826137ee565b9050919050565b61381c81613801565b82525050565b60006020820190506138376000830184613813565b92915050565b6003811061384a57600080fd5b50565b60008135905061385c8161383d565b92915050565b600060208284031215613878576138776133c9565b5b60006138868482850161384d565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126138b4576138b361388f565b5b8235905067ffffffffffffffff8111156138d1576138d0613894565b5b6020830191508360208202830111156138ed576138ec613899565b5b9250929050565b60008060006040848603121561390d5761390c6133c9565b5b600061391b8682870161356a565b935050602084013567ffffffffffffffff81111561393c5761393b6133ce565b5b6139488682870161389e565b92509250509250925092565b60008083601f84011261396a5761396961388f565b5b8235905067ffffffffffffffff81111561398757613986613894565b5b6020830191508360208202830111156139a3576139a2613899565b5b9250929050565b60008083601f8401126139c0576139bf61388f565b5b8235905067ffffffffffffffff8111156139dd576139dc613894565b5b6020830191508360208202830111156139f9576139f8613899565b5b9250929050565b60008060008060408587031215613a1a57613a196133c9565b5b600085013567ffffffffffffffff811115613a3857613a376133ce565b5b613a4487828801613954565b9450945050602085013567ffffffffffffffff811115613a6757613a666133ce565b5b613a73878288016139aa565b925092505092959194509250565b613a8a81613777565b8114613a9557600080fd5b50565b600081359050613aa781613a81565b92915050565b600060208284031215613ac357613ac26133c9565b5b6000613ad184828501613a98565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613b0f81613549565b82525050565b6000613b218383613b06565b60208301905092915050565b6000602082019050919050565b6000613b4582613ada565b613b4f8185613ae5565b9350613b5a83613af6565b8060005b83811015613b8b578151613b728882613b15565b9750613b7d83613b2d565b925050600181019050613b5e565b5085935050505092915050565b60006020820190508181036000830152613bb28184613b3a565b905092915050565b60008083601f840112613bd057613bcf61388f565b5b8235905067ffffffffffffffff811115613bed57613bec613894565b5b602083019150836001820283011115613c0957613c08613899565b5b9250929050565b60008060208385031215613c2757613c266133c9565b5b600083013567ffffffffffffffff811115613c4557613c446133ce565b5b613c5185828601613bba565b92509250509250929050565b60008060408385031215613c7457613c736133c9565b5b6000613c828582860161361f565b9250506020613c93858286016136b5565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613cda826134dd565b810181811067ffffffffffffffff82111715613cf957613cf8613ca2565b5b80604052505050565b6000613d0c6133bf565b9050613d188282613cd1565b919050565b600067ffffffffffffffff821115613d3857613d37613ca2565b5b613d41826134dd565b9050602081019050919050565b82818337600083830152505050565b6000613d70613d6b84613d1d565b613d02565b905082815260208101848484011115613d8c57613d8b613c9d565b5b613d97848285613d4e565b509392505050565b600082601f830112613db457613db361388f565b5b8135613dc4848260208601613d5d565b91505092915050565b60008060008060808587031215613de757613de66133c9565b5b6000613df58782880161361f565b9450506020613e068782880161361f565b9350506040613e178782880161356a565b925050606085013567ffffffffffffffff811115613e3857613e376133ce565b5b613e4487828801613d9f565b91505092959194509250565b60008060408385031215613e6757613e666133c9565b5b6000613e758582860161361f565b9250506020613e868582860161361f565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613ed757607f821691505b60208210811415613eeb57613eea613e90565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613f27602083613499565b9150613f3282613ef1565b602082019050919050565b60006020820190508181036000830152613f5681613f1a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613f9782613549565b9150613fa283613549565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613fdb57613fda613f5d565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061402082613549565b915061402b83613549565b92508261403b5761403a613fe6565b5b828204905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b600061407c601f83613499565b915061408782614046565b602082019050919050565b600060208201905081810360008301526140ab8161406f565b9050919050565b7f4d696e7420697320636c6f736564210000000000000000000000000000000000600082015250565b60006140e8600f83613499565b91506140f3826140b2565b602082019050919050565b60006020820190508181036000830152614117816140db565b9050919050565b7f53616c6520697320706175736564210000000000000000000000000000000000600082015250565b6000614154600f83613499565b915061415f8261411e565b602082019050919050565b6000602082019050818103600083015261418381614147565b9050919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b60006141c0601483613499565b91506141cb8261418a565b602082019050919050565b600060208201905081810360008301526141ef816141b3565b9050919050565b600061420182613549565b915061420c83613549565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561424157614240613f5d565b5b828201905092915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b6000614282601483613499565b915061428d8261424c565b602082019050919050565b600060208201905081810360008301526142b181614275565b9050919050565b7f50726553616c65206973206e6f74206163746976652100000000000000000000600082015250565b60006142ee601683613499565b91506142f9826142b8565b602082019050919050565b6000602082019050818103600083015261431d816142e1565b9050919050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b600061435a601383613499565b915061436582614324565b602082019050919050565b600060208201905081810360008301526143898161434d565b9050919050565b60008160601b9050919050565b60006143a882614390565b9050919050565b60006143ba8261439d565b9050919050565b6143d26143cd826135cc565b6143af565b82525050565b60006143e482846143c1565b60148201915081905092915050565b7f596f7520617265206e6f7420696e2077686974656c6973740000000000000000600082015250565b6000614429601883613499565b9150614434826143f3565b602082019050919050565b600060208201905081810360008301526144588161441c565b9050919050565b7f5468652073616c6520737461747573206d757374206265207075626c69630000600082015250565b6000614495601e83613499565b91506144a08261445f565b602082019050919050565b600060208201905081810360008301526144c481614488565b9050919050565b7f50726f76696465207175616e74697469657320616e6420726563697069656e7460008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614527602183613499565b9150614532826144cb565b604082019050919050565b600060208201905081810360008301526145568161451a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061459782613549565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156145ca576145c9613f5d565b5b600182019050919050565b7f4d61782067696674206c696d6974207265616368656400000000000000000000600082015250565b600061460b601683613499565b9150614616826145d5565b602082019050919050565b6000602082019050818103600083015261463a816145fe565b9050919050565b7f5075626c69632073616c65206973206e6f742061637469766521000000000000600082015250565b6000614677601a83613499565b915061468282614641565b602082019050919050565b600060208201905081810360008301526146a68161466a565b9050919050565b7f546f6b656e20646f6573206e6f742065786973742e0000000000000000000000600082015250565b60006146e3601583613499565b91506146ee826146ad565b602082019050919050565b60006020820190508181036000830152614712816146d6565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461474681613ebf565b6147508186614719565b9450600182166000811461476b576001811461477c576147af565b60ff198316865281860193506147af565b61478585614724565b60005b838110156147a757815481890152600182019150602081019050614788565b838801955050505b50505092915050565b60006147c38261348e565b6147cd8185614719565b93506147dd8185602086016134aa565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b600061481f600583614719565b915061482a826147e9565b600582019050919050565b60006148418285614739565b915061484d82846147b8565b915061485882614812565b91508190509392505050565b600061486f826135cc565b9050919050565b61487f81614864565b811461488a57600080fd5b50565b60008151905061489c81614876565b92915050565b6000602082840312156148b8576148b76133c9565b5b60006148c68482850161488d565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061492b602683613499565b9150614936826148cf565b604082019050919050565b6000602082019050818103600083015261495a8161491e565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061498882614961565b614992818561496c565b93506149a28185602086016134aa565b6149ab816134dd565b840191505092915050565b60006080820190506149cb60008301876135de565b6149d860208301866135de565b6149e56040830185613674565b81810360608301526149f7818461497d565b905095945050505050565b600081519050614a11816133ff565b92915050565b600060208284031215614a2d57614a2c6133c9565b5b6000614a3b84828501614a02565b9150509291505056fea2646970667358221220939ee16337427351688afcb2e9f3ff6f3c0e3410f70f5797427ce55df6eb08ed64736f6c634300080c0033
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.