ERC-721
Overview
Max Total Supply
101 DTD
Holders
17
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 DTDLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
downtowndrugons
Compiler Version
v0.8.7+commit.e28d00a7
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 "hardhat/console.sol"; import "https://github.com/chiru-labs/ERC721A/blob/main/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract downtowndrugons is ERC721A, Ownable { modifier callerIsUser() { require(tx.origin == msg.sender, "The caller is another contract"); _; } bool public publicSaleOpen; bool public freeSaleOpen; string public baseURI = "ipfs://QmYfPR2aC574R3Y6XxvkqwiY4VVS6LZfXH4CWsDm36kHoV/"; string public baseExtension = ".json"; uint256 public MAX_FREE_PER_TX = 1; uint256 public MAX_FREE_SUPPLY = 2000; uint256 public MAX_PER_TX = 4; uint256 public MAX_PER_WALLET = 10; uint256 public MAX_SUPPLY = 10000; uint256 public cost = 0.005 ether; mapping(address => bool) public userMintedFree; constructor() ERC721A("Downtown Drugans", "DTD") { publicSaleOpen = false; freeSaleOpen = false; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setBaseExtension(string memory _newBaseExtension) public onlyOwner { baseExtension = _newBaseExtension; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), "ERC721AMetadata: URI query for nonexistent token"); string memory currentBaseURI = _baseURI(); return bytes(baseURI).length > 0 ? string( abi.encodePacked( baseURI, Strings.toString(_tokenId), ".json" ) ) : ""; } function _startTokenId() internal pure override returns (uint) { return 1; } function setCost(uint256 _cost) public onlyOwner { cost = _cost; } function setMAX_SUPPLY(uint256 _MAX_SUPPLY) public onlyOwner { MAX_SUPPLY = _MAX_SUPPLY; } function setMAX_FREE_SUPPLY(uint256 _MAX_FREE_SUPPLY) public onlyOwner { MAX_FREE_SUPPLY = _MAX_FREE_SUPPLY; } function setMAX_PER_WALLET(uint256 _MAX_PER_WALLET) public onlyOwner { MAX_PER_WALLET = _MAX_PER_WALLET; } function setMAX_PER_TX(uint256 _MAX_PER_TX) public onlyOwner { MAX_PER_TX = _MAX_PER_TX; } function togglePublicSale() public onlyOwner { publicSaleOpen = !(publicSaleOpen); } function toggleFreeSale() public onlyOwner { freeSaleOpen = !(freeSaleOpen); } function publicMint(uint256 numOfTokens) external payable callerIsUser { require(publicSaleOpen, "Sale is not active yet"); require(totalSupply() + numOfTokens < MAX_SUPPLY, "Exceed max supply"); require(numOfTokens <= MAX_PER_TX, "Can't claim more in a tx"); require(numberMinted(msg.sender) + numOfTokens <= MAX_PER_WALLET, "Cannot mint this many"); require(msg.value >= cost * numOfTokens, "Insufficient ether provided to mint"); _safeMint(msg.sender, numOfTokens); } function freeMint(uint256 numOfTokens) external callerIsUser { require(freeSaleOpen, "Free Sale is not active yet"); require(!userMintedFree[msg.sender], "User max free limit"); require(totalSupply() + numOfTokens < MAX_FREE_SUPPLY, "Exceed max free supply, use publicMint to mint"); require(numOfTokens <= MAX_FREE_PER_TX, "Can't claim more for free"); userMintedFree[msg.sender] = true; _safeMint(msg.sender, numOfTokens); } function numberMinted(address owner) public view returns (uint256) { return _numberMinted(owner); } function retrieveFunds() public onlyOwner { uint256 balance = accountBalance(); require(balance > 0, "No funds to retrieve"); _withdraw(payable(msg.sender), balance); } function _withdraw(address payable account, uint256 amount) internal { (bool sent, ) = account.call{value: amount}(""); require(sent, "Failed to send Ether"); } function accountBalance() internal view returns(uint256) { return address(this).balance; } function ownerMint(address mintTo, uint256 numOfTokens) external onlyOwner { _safeMint(mintTo, numOfTokens); } function isSaleOpen() public view returns (bool) { return publicSaleOpen; } function isFreeSaleOpen() public view returns (bool) { return freeSaleOpen && totalSupply() < MAX_FREE_SUPPLY; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // 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); } }
// 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 (_addressToUint256(owner) == 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 (_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 for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @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 for each mint. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (_addressToUint256(to) == 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 offset; do { emit Transfer(address(0), to, startTokenId + offset++); } while (offset < quantity); _currentIndex = startTokenId + quantity; } _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(); address approvedAddress = _tokenApprovals[tokenId]; bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || approvedAddress == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (_addressToUint256(to) == 0) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. if (_addressToUint256(approvedAddress) != 0) { 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)); address approvedAddress = _tokenApprovals[tokenId]; if (approvalCheck) { bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || approvedAddress == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. if (_addressToUint256(approvedAddress) != 0) { 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 // 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(); /** * 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 // 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; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "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":"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":[],"name":"MAX_FREE_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FREE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numOfTokens","type":"uint256"}],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeSaleOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isFreeSaleOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSaleOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"mintTo","type":"address"},{"internalType":"uint256","name":"numOfTokens","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numOfTokens","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSaleOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"retrieveFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_MAX_FREE_SUPPLY","type":"uint256"}],"name":"setMAX_FREE_SUPPLY","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_MAX_PER_TX","type":"uint256"}],"name":"setMAX_PER_TX","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_MAX_PER_WALLET","type":"uint256"}],"name":"setMAX_PER_WALLET","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_MAX_SUPPLY","type":"uint256"}],"name":"setMAX_SUPPLY","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleFreeSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userMintedFree","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405260405180606001604052806036815260200162004338603691396009908051906020019062000035929190620002a1565b506040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600a908051906020019062000083929190620002a1565b506001600b556107d0600c556004600d55600a600e55612710600f556611c37937e08000601055348015620000b757600080fd5b506040518060400160405280601081526020017f446f776e746f776e2044727567616e73000000000000000000000000000000008152506040518060400160405280600381526020017f445444000000000000000000000000000000000000000000000000000000000081525081600290805190602001906200013c929190620002a1565b50806003908051906020019062000155929190620002a1565b5062000166620001ca60201b60201c565b60008190555050506200018e62000182620001d360201b60201c565b620001db60201b60201c565b6000600860146101000a81548160ff0219169083151502179055506000600860156101000a81548160ff021916908315150217905550620003b6565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002af9062000351565b90600052602060002090601f016020900481019282620002d357600085556200031f565b82601f10620002ee57805160ff19168380011785556200031f565b828001600101855582156200031f579182015b828111156200031e57825182559160200191906001019062000301565b5b5090506200032e919062000332565b5090565b5b808211156200034d57600081600090555060010162000333565b5090565b600060028204905060018216806200036a57607f821691505b6020821081141562000381576200038062000387565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b613f7280620003c66000396000f3fe6080604052600436106102675760003560e01c8063715018a611610144578063dc33e681116100b6578063f2fde38b1161007a578063f2fde38b146108e7578063f3f56aa514610910578063f43a22dc14610939578063f8c2d89814610964578063f92ad0d91461098d578063f9e23799146109b857610267565b8063dc33e68114610802578063e222c7f91461083f578063e985e9c514610856578063ec9496ba14610893578063ed554ea8146108bc57610267565b8063a22cb46511610108578063a22cb465146106f4578063b88d4fde1461071d578063c668286214610746578063c87b56dd14610771578063ccb22f09146107ae578063da3ef23f146107d957610267565b8063715018a61461064757806377a38c1a1461065e5780637c928fe9146106755780638da5cb5b1461069e57806395d89b41146106c957610267565b806332cb6b0c116101dd57806361b20d8c116101a157806361b20d8c146105255780636352211e1461053c57806364f64076146105795780636a4c0d46146105b65780636c0360eb146105df57806370a082311461060a57610267565b806332cb6b0c1461045657806342842e0e1461048157806344a0d68a146104aa578063484b973c146104d357806355f804b3146104fc57610267565b80630f2cdd6c1161022f5780630f2cdd6c1461036557806313faede61461039057806318160ddd146103bb5780631a081330146103e657806323b872dd146104115780632db115441461043a57610267565b806301ffc9a71461026c57806302ddb65b146102a957806306fdde03146102d4578063081812fc146102ff578063095ea7b31461033c575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190612fbe565b6109e3565b6040516102a091906134db565b60405180910390f35b3480156102b557600080fd5b506102be610a75565b6040516102cb91906136f8565b60405180910390f35b3480156102e057600080fd5b506102e9610a7b565b6040516102f691906134f6565b60405180910390f35b34801561030b57600080fd5b5061032660048036038101906103219190613061565b610b0d565b6040516103339190613474565b60405180910390f35b34801561034857600080fd5b50610363600480360381019061035e9190612f7e565b610b89565b005b34801561037157600080fd5b5061037a610cca565b60405161038791906136f8565b60405180910390f35b34801561039c57600080fd5b506103a5610cd0565b6040516103b291906136f8565b60405180910390f35b3480156103c757600080fd5b506103d0610cd6565b6040516103dd91906136f8565b60405180910390f35b3480156103f257600080fd5b506103fb610ced565b60405161040891906134db565b60405180910390f35b34801561041d57600080fd5b5061043860048036038101906104339190612e68565b610d04565b005b610454600480360381019061044f9190613061565b610d14565b005b34801561046257600080fd5b5061046b610f21565b60405161047891906136f8565b60405180910390f35b34801561048d57600080fd5b506104a860048036038101906104a39190612e68565b610f27565b005b3480156104b657600080fd5b506104d160048036038101906104cc9190613061565b610f47565b005b3480156104df57600080fd5b506104fa60048036038101906104f59190612f7e565b610fcd565b005b34801561050857600080fd5b50610523600480360381019061051e9190613018565b611057565b005b34801561053157600080fd5b5061053a6110ed565b005b34801561054857600080fd5b50610563600480360381019061055e9190613061565b6111c5565b6040516105709190613474565b60405180910390f35b34801561058557600080fd5b506105a0600480360381019061059b9190612dfb565b6111d7565b6040516105ad91906134db565b60405180910390f35b3480156105c257600080fd5b506105dd60048036038101906105d89190613061565b6111f7565b005b3480156105eb57600080fd5b506105f461127d565b60405161060191906134f6565b60405180910390f35b34801561061657600080fd5b50610631600480360381019061062c9190612dfb565b61130b565b60405161063e91906136f8565b60405180910390f35b34801561065357600080fd5b5061065c6113a0565b005b34801561066a57600080fd5b50610673611428565b005b34801561068157600080fd5b5061069c60048036038101906106979190613061565b6114d0565b005b3480156106aa57600080fd5b506106b361171a565b6040516106c09190613474565b60405180910390f35b3480156106d557600080fd5b506106de611744565b6040516106eb91906134f6565b60405180910390f35b34801561070057600080fd5b5061071b60048036038101906107169190612f3e565b6117d6565b005b34801561072957600080fd5b50610744600480360381019061073f9190612ebb565b61194e565b005b34801561075257600080fd5b5061075b6119c1565b60405161076891906134f6565b60405180910390f35b34801561077d57600080fd5b5061079860048036038101906107939190613061565b611a4f565b6040516107a591906134f6565b60405180910390f35b3480156107ba57600080fd5b506107c3611b04565b6040516107d091906136f8565b60405180910390f35b3480156107e557600080fd5b5061080060048036038101906107fb9190613018565b611b0a565b005b34801561080e57600080fd5b5061082960048036038101906108249190612dfb565b611ba0565b60405161083691906136f8565b60405180910390f35b34801561084b57600080fd5b50610854611bb2565b005b34801561086257600080fd5b5061087d60048036038101906108789190612e28565b611c5a565b60405161088a91906134db565b60405180910390f35b34801561089f57600080fd5b506108ba60048036038101906108b59190613061565b611cee565b005b3480156108c857600080fd5b506108d1611d74565b6040516108de91906134db565b60405180910390f35b3480156108f357600080fd5b5061090e60048036038101906109099190612dfb565b611d9f565b005b34801561091c57600080fd5b5061093760048036038101906109329190613061565b611e97565b005b34801561094557600080fd5b5061094e611f1d565b60405161095b91906136f8565b60405180910390f35b34801561097057600080fd5b5061098b60048036038101906109869190613061565b611f23565b005b34801561099957600080fd5b506109a2611fa9565b6040516109af91906134db565b60405180910390f35b3480156109c457600080fd5b506109cd611fbc565b6040516109da91906134db565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a3e57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a6e5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600c5481565b606060028054610a8a906139c8565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab6906139c8565b8015610b035780601f10610ad857610100808354040283529160200191610b03565b820191906000526020600020905b815481529060010190602001808311610ae657829003601f168201915b5050505050905090565b6000610b1882611fcf565b610b4e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b948261202e565b90508073ffffffffffffffffffffffffffffffffffffffff16610bb56120fc565b73ffffffffffffffffffffffffffffffffffffffff1614610c1857610be181610bdc6120fc565b611c5a565b610c17576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600e5481565b60105481565b6000610ce0612104565b6001546000540303905090565b6000600860149054906101000a900460ff16905090565b610d0f83838361210d565b505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610d82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d79906135d8565b60405180910390fd5b600860149054906101000a900460ff16610dd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc890613578565b60405180910390fd5b600f5481610ddd610cd6565b610de791906137fd565b10610e27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1e90613638565b60405180910390fd5b600d54811115610e6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e63906135f8565b60405180910390fd5b600e5481610e7933611ba0565b610e8391906137fd565b1115610ec4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebb90613698565b60405180910390fd5b80601054610ed29190613884565b341015610f14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0b906136d8565b60405180910390fd5b610f1e33826124d5565b50565b600f5481565b610f428383836040518060200160405280600081525061194e565b505050565b610f4f6124f3565b73ffffffffffffffffffffffffffffffffffffffff16610f6d61171a565b73ffffffffffffffffffffffffffffffffffffffff1614610fc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fba90613658565b60405180910390fd5b8060108190555050565b610fd56124f3565b73ffffffffffffffffffffffffffffffffffffffff16610ff361171a565b73ffffffffffffffffffffffffffffffffffffffff1614611049576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104090613658565b60405180910390fd5b61105382826124d5565b5050565b61105f6124f3565b73ffffffffffffffffffffffffffffffffffffffff1661107d61171a565b73ffffffffffffffffffffffffffffffffffffffff16146110d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ca90613658565b60405180910390fd5b80600990805190602001906110e9929190612c0f565b5050565b6110f56124f3565b73ffffffffffffffffffffffffffffffffffffffff1661111361171a565b73ffffffffffffffffffffffffffffffffffffffff1614611169576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116090613658565b60405180910390fd5b60006111736124fb565b9050600081116111b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111af90613618565b60405180910390fd5b6111c23382612503565b50565b60006111d08261202e565b9050919050565b60116020528060005260406000206000915054906101000a900460ff1681565b6111ff6124f3565b73ffffffffffffffffffffffffffffffffffffffff1661121d61171a565b73ffffffffffffffffffffffffffffffffffffffff1614611273576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126a90613658565b60405180910390fd5b80600d8190555050565b6009805461128a906139c8565b80601f01602080910402602001604051908101604052809291908181526020018280546112b6906139c8565b80156113035780601f106112d857610100808354040283529160200191611303565b820191906000526020600020905b8154815290600101906020018083116112e657829003601f168201915b505050505081565b600080611317836125b4565b141561134f576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6113a86124f3565b73ffffffffffffffffffffffffffffffffffffffff166113c661171a565b73ffffffffffffffffffffffffffffffffffffffff161461141c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141390613658565b60405180910390fd5b61142660006125be565b565b6114306124f3565b73ffffffffffffffffffffffffffffffffffffffff1661144e61171a565b73ffffffffffffffffffffffffffffffffffffffff16146114a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149b90613658565b60405180910390fd5b600860159054906101000a900460ff1615600860156101000a81548160ff021916908315150217905550565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461153e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611535906135d8565b60405180910390fd5b600860159054906101000a900460ff1661158d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611584906136b8565b60405180910390fd5b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561161a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161190613678565b60405180910390fd5b600c5481611626610cd6565b61163091906137fd565b10611670576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166790613538565b60405180910390fd5b600b548111156116b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ac906135b8565b60405180910390fd5b6001601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061171733826124d5565b50565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611753906139c8565b80601f016020809104026020016040519081016040528092919081815260200182805461177f906139c8565b80156117cc5780601f106117a1576101008083540402835291602001916117cc565b820191906000526020600020905b8154815290600101906020018083116117af57829003601f168201915b5050505050905090565b6117de6120fc565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611843576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006118506120fc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166118fd6120fc565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161194291906134db565b60405180910390a35050565b61195984848461210d565b60008373ffffffffffffffffffffffffffffffffffffffff163b146119bb5761198484848484612684565b6119ba576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600a80546119ce906139c8565b80601f01602080910402602001604051908101604052809291908181526020018280546119fa906139c8565b8015611a475780601f10611a1c57610100808354040283529160200191611a47565b820191906000526020600020905b815481529060010190602001808311611a2a57829003601f168201915b505050505081565b6060611a5a82611fcf565b611a99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9090613518565b60405180910390fd5b6000611aa36127e4565b9050600060098054611ab4906139c8565b905011611ad05760405180602001604052806000815250611afc565b6009611adb846127fb565b604051602001611aec929190613430565b6040516020818303038152906040525b915050919050565b600b5481565b611b126124f3565b73ffffffffffffffffffffffffffffffffffffffff16611b3061171a565b73ffffffffffffffffffffffffffffffffffffffff1614611b86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7d90613658565b60405180910390fd5b80600a9080519060200190611b9c929190612c0f565b5050565b6000611bab8261295c565b9050919050565b611bba6124f3565b73ffffffffffffffffffffffffffffffffffffffff16611bd861171a565b73ffffffffffffffffffffffffffffffffffffffff1614611c2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2590613658565b60405180910390fd5b600860149054906101000a900460ff1615600860146101000a81548160ff021916908315150217905550565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611cf66124f3565b73ffffffffffffffffffffffffffffffffffffffff16611d1461171a565b73ffffffffffffffffffffffffffffffffffffffff1614611d6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6190613658565b60405180910390fd5b80600f8190555050565b6000600860159054906101000a900460ff168015611d9a5750600c54611d98610cd6565b105b905090565b611da76124f3565b73ffffffffffffffffffffffffffffffffffffffff16611dc561171a565b73ffffffffffffffffffffffffffffffffffffffff1614611e1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1290613658565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8290613558565b60405180910390fd5b611e94816125be565b50565b611e9f6124f3565b73ffffffffffffffffffffffffffffffffffffffff16611ebd61171a565b73ffffffffffffffffffffffffffffffffffffffff1614611f13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0a90613658565b60405180910390fd5b80600e8190555050565b600d5481565b611f2b6124f3565b73ffffffffffffffffffffffffffffffffffffffff16611f4961171a565b73ffffffffffffffffffffffffffffffffffffffff1614611f9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9690613658565b60405180910390fd5b80600c8190555050565b600860159054906101000a900460ff1681565b600860149054906101000a900460ff1681565b600081611fda612104565b11158015611fe9575060005482105b8015612027575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b6000808290508061203d612104565b116120c5576000548110156120c45760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821614156120c2575b60008114156120b857600460008360019003935083815260200190815260200160002054905061208d565b80925050506120f7565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b60006001905090565b60006121188261202e565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461217f576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006006600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008573ffffffffffffffffffffffffffffffffffffffff166121d86120fc565b73ffffffffffffffffffffffffffffffffffffffff1614806122075750612206866122016120fc565b611c5a565b5b8061224457506122156120fc565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b90508061227d576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000612288866125b4565b14156122c0576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6122cd86868660016129b3565b60006122d8836125b4565b14612314576006600085815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b6123db876125b4565b1717600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415612465576000600185019050600060046000838152602001908152602001600020541415612463576000548114612462578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124cd86868660016129b9565b505050505050565b6124ef8282604051806020016040528060008152506129bf565b5050565b600033905090565b600047905090565b60008273ffffffffffffffffffffffffffffffffffffffff16826040516125299061345f565b60006040518083038185875af1925050503d8060008114612566576040519150601f19603f3d011682016040523d82523d6000602084013e61256b565b606091505b50509050806125af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a690613598565b60405180910390fd5b505050565b6000819050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026126aa6120fc565b8786866040518563ffffffff1660e01b81526004016126cc949392919061348f565b602060405180830381600087803b1580156126e657600080fd5b505af192505050801561271757506040513d601f19601f820116820180604052508101906127149190612feb565b60015b612791573d8060008114612747576040519150601f19603f3d011682016040523d82523d6000602084013e61274c565b606091505b50600081511415612789576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060405180602001604052806000815250905090565b60606000821415612843576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612957565b600082905060005b6000821461287557808061285e90613a2b565b915050600a8261286e9190613853565b915061284b565b60008167ffffffffffffffff81111561289157612890613b61565b5b6040519080825280601f01601f1916602001820160405280156128c35781602001600182028036833780820191505090505b5090505b60008514612950576001826128dc91906138de565b9150600a856128eb9190613a74565b60306128f791906137fd565b60f81b81838151811061290d5761290c613b32565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129499190613853565b94506128c7565b8093505050505b919050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b50505050565b50505050565b6129c98383612a5c565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612a5757600080549050600083820390505b612a096000868380600101945086612684565b612a3f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106129f6578160005414612a5457600080fd5b50505b505050565b6000805490506000612a6d846125b4565b1415612aa5576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415612ae0576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612aed60008483856129b3565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1612b5260018414612c05565b901b60a042901b612b62856125b4565b1717600460008381526020019081526020016000208190555060005b8080600101915082018473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4828110612b7e5782820160008190555050612c0060008483856129b9565b505050565b6000819050919050565b828054612c1b906139c8565b90600052602060002090601f016020900481019282612c3d5760008555612c84565b82601f10612c5657805160ff1916838001178555612c84565b82800160010185558215612c84579182015b82811115612c83578251825591602001919060010190612c68565b5b509050612c919190612c95565b5090565b5b80821115612cae576000816000905550600101612c96565b5090565b6000612cc5612cc084613738565b613713565b905082815260208101848484011115612ce157612ce0613b95565b5b612cec848285613986565b509392505050565b6000612d07612d0284613769565b613713565b905082815260208101848484011115612d2357612d22613b95565b5b612d2e848285613986565b509392505050565b600081359050612d4581613ee0565b92915050565b600081359050612d5a81613ef7565b92915050565b600081359050612d6f81613f0e565b92915050565b600081519050612d8481613f0e565b92915050565b600082601f830112612d9f57612d9e613b90565b5b8135612daf848260208601612cb2565b91505092915050565b600082601f830112612dcd57612dcc613b90565b5b8135612ddd848260208601612cf4565b91505092915050565b600081359050612df581613f25565b92915050565b600060208284031215612e1157612e10613b9f565b5b6000612e1f84828501612d36565b91505092915050565b60008060408385031215612e3f57612e3e613b9f565b5b6000612e4d85828601612d36565b9250506020612e5e85828601612d36565b9150509250929050565b600080600060608486031215612e8157612e80613b9f565b5b6000612e8f86828701612d36565b9350506020612ea086828701612d36565b9250506040612eb186828701612de6565b9150509250925092565b60008060008060808587031215612ed557612ed4613b9f565b5b6000612ee387828801612d36565b9450506020612ef487828801612d36565b9350506040612f0587828801612de6565b925050606085013567ffffffffffffffff811115612f2657612f25613b9a565b5b612f3287828801612d8a565b91505092959194509250565b60008060408385031215612f5557612f54613b9f565b5b6000612f6385828601612d36565b9250506020612f7485828601612d4b565b9150509250929050565b60008060408385031215612f9557612f94613b9f565b5b6000612fa385828601612d36565b9250506020612fb485828601612de6565b9150509250929050565b600060208284031215612fd457612fd3613b9f565b5b6000612fe284828501612d60565b91505092915050565b60006020828403121561300157613000613b9f565b5b600061300f84828501612d75565b91505092915050565b60006020828403121561302e5761302d613b9f565b5b600082013567ffffffffffffffff81111561304c5761304b613b9a565b5b61305884828501612db8565b91505092915050565b60006020828403121561307757613076613b9f565b5b600061308584828501612de6565b91505092915050565b61309781613912565b82525050565b6130a681613924565b82525050565b60006130b7826137af565b6130c181856137c5565b93506130d1818560208601613995565b6130da81613ba4565b840191505092915050565b60006130f0826137ba565b6130fa81856137e1565b935061310a818560208601613995565b61311381613ba4565b840191505092915050565b6000613129826137ba565b61313381856137f2565b9350613143818560208601613995565b80840191505092915050565b6000815461315c816139c8565b61316681866137f2565b945060018216600081146131815760018114613192576131c5565b60ff198316865281860193506131c5565b61319b8561379a565b60005b838110156131bd5781548189015260018201915060208101905061319e565b838801955050505b50505092915050565b60006131db6030836137e1565b91506131e682613bb5565b604082019050919050565b60006131fe602e836137e1565b915061320982613c04565b604082019050919050565b60006132216026836137e1565b915061322c82613c53565b604082019050919050565b60006132446016836137e1565b915061324f82613ca2565b602082019050919050565b60006132676014836137e1565b915061327282613ccb565b602082019050919050565b600061328a6019836137e1565b915061329582613cf4565b602082019050919050565b60006132ad601e836137e1565b91506132b882613d1d565b602082019050919050565b60006132d06018836137e1565b91506132db82613d46565b602082019050919050565b60006132f36014836137e1565b91506132fe82613d6f565b602082019050919050565b60006133166011836137e1565b915061332182613d98565b602082019050919050565b60006133396005836137f2565b915061334482613dc1565b600582019050919050565b600061335c6020836137e1565b915061336782613dea565b602082019050919050565b600061337f6013836137e1565b915061338a82613e13565b602082019050919050565b60006133a26015836137e1565b91506133ad82613e3c565b602082019050919050565b60006133c5601b836137e1565b91506133d082613e65565b602082019050919050565b60006133e86000836137d6565b91506133f382613e8e565b600082019050919050565b600061340b6023836137e1565b915061341682613e91565b604082019050919050565b61342a8161397c565b82525050565b600061343c828561314f565b9150613448828461311e565b91506134538261332c565b91508190509392505050565b600061346a826133db565b9150819050919050565b6000602082019050613489600083018461308e565b92915050565b60006080820190506134a4600083018761308e565b6134b1602083018661308e565b6134be6040830185613421565b81810360608301526134d081846130ac565b905095945050505050565b60006020820190506134f0600083018461309d565b92915050565b6000602082019050818103600083015261351081846130e5565b905092915050565b60006020820190508181036000830152613531816131ce565b9050919050565b60006020820190508181036000830152613551816131f1565b9050919050565b6000602082019050818103600083015261357181613214565b9050919050565b6000602082019050818103600083015261359181613237565b9050919050565b600060208201905081810360008301526135b18161325a565b9050919050565b600060208201905081810360008301526135d18161327d565b9050919050565b600060208201905081810360008301526135f1816132a0565b9050919050565b60006020820190508181036000830152613611816132c3565b9050919050565b60006020820190508181036000830152613631816132e6565b9050919050565b6000602082019050818103600083015261365181613309565b9050919050565b600060208201905081810360008301526136718161334f565b9050919050565b6000602082019050818103600083015261369181613372565b9050919050565b600060208201905081810360008301526136b181613395565b9050919050565b600060208201905081810360008301526136d1816133b8565b9050919050565b600060208201905081810360008301526136f1816133fe565b9050919050565b600060208201905061370d6000830184613421565b92915050565b600061371d61372e565b905061372982826139fa565b919050565b6000604051905090565b600067ffffffffffffffff82111561375357613752613b61565b5b61375c82613ba4565b9050602081019050919050565b600067ffffffffffffffff82111561378457613783613b61565b5b61378d82613ba4565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006138088261397c565b91506138138361397c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561384857613847613aa5565b5b828201905092915050565b600061385e8261397c565b91506138698361397c565b92508261387957613878613ad4565b5b828204905092915050565b600061388f8261397c565b915061389a8361397c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156138d3576138d2613aa5565b5b828202905092915050565b60006138e98261397c565b91506138f48361397c565b92508282101561390757613906613aa5565b5b828203905092915050565b600061391d8261395c565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156139b3578082015181840152602081019050613998565b838111156139c2576000848401525b50505050565b600060028204905060018216806139e057607f821691505b602082108114156139f4576139f3613b03565b5b50919050565b613a0382613ba4565b810181811067ffffffffffffffff82111715613a2257613a21613b61565b5b80604052505050565b6000613a368261397c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613a6957613a68613aa5565b5b600182019050919050565b6000613a7f8261397c565b9150613a8a8361397c565b925082613a9a57613a99613ad4565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231414d657461646174613a2055524920717565727920666f72206e60008201527f6f6e6578697374656e7420746f6b656e00000000000000000000000000000000602082015250565b7f457863656564206d6178206672656520737570706c792c20757365207075626c60008201527f69634d696e7420746f206d696e74000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f53616c65206973206e6f74206163746976652079657400000000000000000000600082015250565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b7f43616e277420636c61696d206d6f726520666f72206672656500000000000000600082015250565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b7f43616e277420636c61696d206d6f726520696e20612074780000000000000000600082015250565b7f4e6f2066756e647320746f207265747269657665000000000000000000000000600082015250565b7f457863656564206d617820737570706c79000000000000000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f55736572206d61782066726565206c696d697400000000000000000000000000600082015250565b7f43616e6e6f74206d696e742074686973206d616e790000000000000000000000600082015250565b7f467265652053616c65206973206e6f7420616374697665207965740000000000600082015250565b50565b7f496e73756666696369656e742065746865722070726f766964656420746f206d60008201527f696e740000000000000000000000000000000000000000000000000000000000602082015250565b613ee981613912565b8114613ef457600080fd5b50565b613f0081613924565b8114613f0b57600080fd5b50565b613f1781613930565b8114613f2257600080fd5b50565b613f2e8161397c565b8114613f3957600080fd5b5056fea2646970667358221220da9fca0521e01f9e2f6cb4aa808cb24f1b84afe1e43a57cf9521af6edc23a03264736f6c63430008070033697066733a2f2f516d59665052326143353734523359365878766b7177695934565653364c5a66584834435773446d33366b486f562f
Deployed Bytecode
0x6080604052600436106102675760003560e01c8063715018a611610144578063dc33e681116100b6578063f2fde38b1161007a578063f2fde38b146108e7578063f3f56aa514610910578063f43a22dc14610939578063f8c2d89814610964578063f92ad0d91461098d578063f9e23799146109b857610267565b8063dc33e68114610802578063e222c7f91461083f578063e985e9c514610856578063ec9496ba14610893578063ed554ea8146108bc57610267565b8063a22cb46511610108578063a22cb465146106f4578063b88d4fde1461071d578063c668286214610746578063c87b56dd14610771578063ccb22f09146107ae578063da3ef23f146107d957610267565b8063715018a61461064757806377a38c1a1461065e5780637c928fe9146106755780638da5cb5b1461069e57806395d89b41146106c957610267565b806332cb6b0c116101dd57806361b20d8c116101a157806361b20d8c146105255780636352211e1461053c57806364f64076146105795780636a4c0d46146105b65780636c0360eb146105df57806370a082311461060a57610267565b806332cb6b0c1461045657806342842e0e1461048157806344a0d68a146104aa578063484b973c146104d357806355f804b3146104fc57610267565b80630f2cdd6c1161022f5780630f2cdd6c1461036557806313faede61461039057806318160ddd146103bb5780631a081330146103e657806323b872dd146104115780632db115441461043a57610267565b806301ffc9a71461026c57806302ddb65b146102a957806306fdde03146102d4578063081812fc146102ff578063095ea7b31461033c575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190612fbe565b6109e3565b6040516102a091906134db565b60405180910390f35b3480156102b557600080fd5b506102be610a75565b6040516102cb91906136f8565b60405180910390f35b3480156102e057600080fd5b506102e9610a7b565b6040516102f691906134f6565b60405180910390f35b34801561030b57600080fd5b5061032660048036038101906103219190613061565b610b0d565b6040516103339190613474565b60405180910390f35b34801561034857600080fd5b50610363600480360381019061035e9190612f7e565b610b89565b005b34801561037157600080fd5b5061037a610cca565b60405161038791906136f8565b60405180910390f35b34801561039c57600080fd5b506103a5610cd0565b6040516103b291906136f8565b60405180910390f35b3480156103c757600080fd5b506103d0610cd6565b6040516103dd91906136f8565b60405180910390f35b3480156103f257600080fd5b506103fb610ced565b60405161040891906134db565b60405180910390f35b34801561041d57600080fd5b5061043860048036038101906104339190612e68565b610d04565b005b610454600480360381019061044f9190613061565b610d14565b005b34801561046257600080fd5b5061046b610f21565b60405161047891906136f8565b60405180910390f35b34801561048d57600080fd5b506104a860048036038101906104a39190612e68565b610f27565b005b3480156104b657600080fd5b506104d160048036038101906104cc9190613061565b610f47565b005b3480156104df57600080fd5b506104fa60048036038101906104f59190612f7e565b610fcd565b005b34801561050857600080fd5b50610523600480360381019061051e9190613018565b611057565b005b34801561053157600080fd5b5061053a6110ed565b005b34801561054857600080fd5b50610563600480360381019061055e9190613061565b6111c5565b6040516105709190613474565b60405180910390f35b34801561058557600080fd5b506105a0600480360381019061059b9190612dfb565b6111d7565b6040516105ad91906134db565b60405180910390f35b3480156105c257600080fd5b506105dd60048036038101906105d89190613061565b6111f7565b005b3480156105eb57600080fd5b506105f461127d565b60405161060191906134f6565b60405180910390f35b34801561061657600080fd5b50610631600480360381019061062c9190612dfb565b61130b565b60405161063e91906136f8565b60405180910390f35b34801561065357600080fd5b5061065c6113a0565b005b34801561066a57600080fd5b50610673611428565b005b34801561068157600080fd5b5061069c60048036038101906106979190613061565b6114d0565b005b3480156106aa57600080fd5b506106b361171a565b6040516106c09190613474565b60405180910390f35b3480156106d557600080fd5b506106de611744565b6040516106eb91906134f6565b60405180910390f35b34801561070057600080fd5b5061071b60048036038101906107169190612f3e565b6117d6565b005b34801561072957600080fd5b50610744600480360381019061073f9190612ebb565b61194e565b005b34801561075257600080fd5b5061075b6119c1565b60405161076891906134f6565b60405180910390f35b34801561077d57600080fd5b5061079860048036038101906107939190613061565b611a4f565b6040516107a591906134f6565b60405180910390f35b3480156107ba57600080fd5b506107c3611b04565b6040516107d091906136f8565b60405180910390f35b3480156107e557600080fd5b5061080060048036038101906107fb9190613018565b611b0a565b005b34801561080e57600080fd5b5061082960048036038101906108249190612dfb565b611ba0565b60405161083691906136f8565b60405180910390f35b34801561084b57600080fd5b50610854611bb2565b005b34801561086257600080fd5b5061087d60048036038101906108789190612e28565b611c5a565b60405161088a91906134db565b60405180910390f35b34801561089f57600080fd5b506108ba60048036038101906108b59190613061565b611cee565b005b3480156108c857600080fd5b506108d1611d74565b6040516108de91906134db565b60405180910390f35b3480156108f357600080fd5b5061090e60048036038101906109099190612dfb565b611d9f565b005b34801561091c57600080fd5b5061093760048036038101906109329190613061565b611e97565b005b34801561094557600080fd5b5061094e611f1d565b60405161095b91906136f8565b60405180910390f35b34801561097057600080fd5b5061098b60048036038101906109869190613061565b611f23565b005b34801561099957600080fd5b506109a2611fa9565b6040516109af91906134db565b60405180910390f35b3480156109c457600080fd5b506109cd611fbc565b6040516109da91906134db565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a3e57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a6e5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600c5481565b606060028054610a8a906139c8565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab6906139c8565b8015610b035780601f10610ad857610100808354040283529160200191610b03565b820191906000526020600020905b815481529060010190602001808311610ae657829003601f168201915b5050505050905090565b6000610b1882611fcf565b610b4e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b948261202e565b90508073ffffffffffffffffffffffffffffffffffffffff16610bb56120fc565b73ffffffffffffffffffffffffffffffffffffffff1614610c1857610be181610bdc6120fc565b611c5a565b610c17576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600e5481565b60105481565b6000610ce0612104565b6001546000540303905090565b6000600860149054906101000a900460ff16905090565b610d0f83838361210d565b505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610d82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d79906135d8565b60405180910390fd5b600860149054906101000a900460ff16610dd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc890613578565b60405180910390fd5b600f5481610ddd610cd6565b610de791906137fd565b10610e27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1e90613638565b60405180910390fd5b600d54811115610e6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e63906135f8565b60405180910390fd5b600e5481610e7933611ba0565b610e8391906137fd565b1115610ec4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebb90613698565b60405180910390fd5b80601054610ed29190613884565b341015610f14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0b906136d8565b60405180910390fd5b610f1e33826124d5565b50565b600f5481565b610f428383836040518060200160405280600081525061194e565b505050565b610f4f6124f3565b73ffffffffffffffffffffffffffffffffffffffff16610f6d61171a565b73ffffffffffffffffffffffffffffffffffffffff1614610fc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fba90613658565b60405180910390fd5b8060108190555050565b610fd56124f3565b73ffffffffffffffffffffffffffffffffffffffff16610ff361171a565b73ffffffffffffffffffffffffffffffffffffffff1614611049576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104090613658565b60405180910390fd5b61105382826124d5565b5050565b61105f6124f3565b73ffffffffffffffffffffffffffffffffffffffff1661107d61171a565b73ffffffffffffffffffffffffffffffffffffffff16146110d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ca90613658565b60405180910390fd5b80600990805190602001906110e9929190612c0f565b5050565b6110f56124f3565b73ffffffffffffffffffffffffffffffffffffffff1661111361171a565b73ffffffffffffffffffffffffffffffffffffffff1614611169576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116090613658565b60405180910390fd5b60006111736124fb565b9050600081116111b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111af90613618565b60405180910390fd5b6111c23382612503565b50565b60006111d08261202e565b9050919050565b60116020528060005260406000206000915054906101000a900460ff1681565b6111ff6124f3565b73ffffffffffffffffffffffffffffffffffffffff1661121d61171a565b73ffffffffffffffffffffffffffffffffffffffff1614611273576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126a90613658565b60405180910390fd5b80600d8190555050565b6009805461128a906139c8565b80601f01602080910402602001604051908101604052809291908181526020018280546112b6906139c8565b80156113035780601f106112d857610100808354040283529160200191611303565b820191906000526020600020905b8154815290600101906020018083116112e657829003601f168201915b505050505081565b600080611317836125b4565b141561134f576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6113a86124f3565b73ffffffffffffffffffffffffffffffffffffffff166113c661171a565b73ffffffffffffffffffffffffffffffffffffffff161461141c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141390613658565b60405180910390fd5b61142660006125be565b565b6114306124f3565b73ffffffffffffffffffffffffffffffffffffffff1661144e61171a565b73ffffffffffffffffffffffffffffffffffffffff16146114a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149b90613658565b60405180910390fd5b600860159054906101000a900460ff1615600860156101000a81548160ff021916908315150217905550565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461153e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611535906135d8565b60405180910390fd5b600860159054906101000a900460ff1661158d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611584906136b8565b60405180910390fd5b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561161a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161190613678565b60405180910390fd5b600c5481611626610cd6565b61163091906137fd565b10611670576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166790613538565b60405180910390fd5b600b548111156116b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ac906135b8565b60405180910390fd5b6001601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061171733826124d5565b50565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611753906139c8565b80601f016020809104026020016040519081016040528092919081815260200182805461177f906139c8565b80156117cc5780601f106117a1576101008083540402835291602001916117cc565b820191906000526020600020905b8154815290600101906020018083116117af57829003601f168201915b5050505050905090565b6117de6120fc565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611843576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006118506120fc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166118fd6120fc565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161194291906134db565b60405180910390a35050565b61195984848461210d565b60008373ffffffffffffffffffffffffffffffffffffffff163b146119bb5761198484848484612684565b6119ba576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600a80546119ce906139c8565b80601f01602080910402602001604051908101604052809291908181526020018280546119fa906139c8565b8015611a475780601f10611a1c57610100808354040283529160200191611a47565b820191906000526020600020905b815481529060010190602001808311611a2a57829003601f168201915b505050505081565b6060611a5a82611fcf565b611a99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9090613518565b60405180910390fd5b6000611aa36127e4565b9050600060098054611ab4906139c8565b905011611ad05760405180602001604052806000815250611afc565b6009611adb846127fb565b604051602001611aec929190613430565b6040516020818303038152906040525b915050919050565b600b5481565b611b126124f3565b73ffffffffffffffffffffffffffffffffffffffff16611b3061171a565b73ffffffffffffffffffffffffffffffffffffffff1614611b86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7d90613658565b60405180910390fd5b80600a9080519060200190611b9c929190612c0f565b5050565b6000611bab8261295c565b9050919050565b611bba6124f3565b73ffffffffffffffffffffffffffffffffffffffff16611bd861171a565b73ffffffffffffffffffffffffffffffffffffffff1614611c2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2590613658565b60405180910390fd5b600860149054906101000a900460ff1615600860146101000a81548160ff021916908315150217905550565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611cf66124f3565b73ffffffffffffffffffffffffffffffffffffffff16611d1461171a565b73ffffffffffffffffffffffffffffffffffffffff1614611d6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6190613658565b60405180910390fd5b80600f8190555050565b6000600860159054906101000a900460ff168015611d9a5750600c54611d98610cd6565b105b905090565b611da76124f3565b73ffffffffffffffffffffffffffffffffffffffff16611dc561171a565b73ffffffffffffffffffffffffffffffffffffffff1614611e1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1290613658565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8290613558565b60405180910390fd5b611e94816125be565b50565b611e9f6124f3565b73ffffffffffffffffffffffffffffffffffffffff16611ebd61171a565b73ffffffffffffffffffffffffffffffffffffffff1614611f13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0a90613658565b60405180910390fd5b80600e8190555050565b600d5481565b611f2b6124f3565b73ffffffffffffffffffffffffffffffffffffffff16611f4961171a565b73ffffffffffffffffffffffffffffffffffffffff1614611f9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9690613658565b60405180910390fd5b80600c8190555050565b600860159054906101000a900460ff1681565b600860149054906101000a900460ff1681565b600081611fda612104565b11158015611fe9575060005482105b8015612027575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b6000808290508061203d612104565b116120c5576000548110156120c45760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821614156120c2575b60008114156120b857600460008360019003935083815260200190815260200160002054905061208d565b80925050506120f7565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b60006001905090565b60006121188261202e565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461217f576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006006600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008573ffffffffffffffffffffffffffffffffffffffff166121d86120fc565b73ffffffffffffffffffffffffffffffffffffffff1614806122075750612206866122016120fc565b611c5a565b5b8061224457506122156120fc565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b90508061227d576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000612288866125b4565b14156122c0576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6122cd86868660016129b3565b60006122d8836125b4565b14612314576006600085815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b6123db876125b4565b1717600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415612465576000600185019050600060046000838152602001908152602001600020541415612463576000548114612462578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124cd86868660016129b9565b505050505050565b6124ef8282604051806020016040528060008152506129bf565b5050565b600033905090565b600047905090565b60008273ffffffffffffffffffffffffffffffffffffffff16826040516125299061345f565b60006040518083038185875af1925050503d8060008114612566576040519150601f19603f3d011682016040523d82523d6000602084013e61256b565b606091505b50509050806125af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a690613598565b60405180910390fd5b505050565b6000819050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026126aa6120fc565b8786866040518563ffffffff1660e01b81526004016126cc949392919061348f565b602060405180830381600087803b1580156126e657600080fd5b505af192505050801561271757506040513d601f19601f820116820180604052508101906127149190612feb565b60015b612791573d8060008114612747576040519150601f19603f3d011682016040523d82523d6000602084013e61274c565b606091505b50600081511415612789576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060405180602001604052806000815250905090565b60606000821415612843576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612957565b600082905060005b6000821461287557808061285e90613a2b565b915050600a8261286e9190613853565b915061284b565b60008167ffffffffffffffff81111561289157612890613b61565b5b6040519080825280601f01601f1916602001820160405280156128c35781602001600182028036833780820191505090505b5090505b60008514612950576001826128dc91906138de565b9150600a856128eb9190613a74565b60306128f791906137fd565b60f81b81838151811061290d5761290c613b32565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129499190613853565b94506128c7565b8093505050505b919050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b50505050565b50505050565b6129c98383612a5c565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612a5757600080549050600083820390505b612a096000868380600101945086612684565b612a3f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106129f6578160005414612a5457600080fd5b50505b505050565b6000805490506000612a6d846125b4565b1415612aa5576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415612ae0576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612aed60008483856129b3565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1612b5260018414612c05565b901b60a042901b612b62856125b4565b1717600460008381526020019081526020016000208190555060005b8080600101915082018473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4828110612b7e5782820160008190555050612c0060008483856129b9565b505050565b6000819050919050565b828054612c1b906139c8565b90600052602060002090601f016020900481019282612c3d5760008555612c84565b82601f10612c5657805160ff1916838001178555612c84565b82800160010185558215612c84579182015b82811115612c83578251825591602001919060010190612c68565b5b509050612c919190612c95565b5090565b5b80821115612cae576000816000905550600101612c96565b5090565b6000612cc5612cc084613738565b613713565b905082815260208101848484011115612ce157612ce0613b95565b5b612cec848285613986565b509392505050565b6000612d07612d0284613769565b613713565b905082815260208101848484011115612d2357612d22613b95565b5b612d2e848285613986565b509392505050565b600081359050612d4581613ee0565b92915050565b600081359050612d5a81613ef7565b92915050565b600081359050612d6f81613f0e565b92915050565b600081519050612d8481613f0e565b92915050565b600082601f830112612d9f57612d9e613b90565b5b8135612daf848260208601612cb2565b91505092915050565b600082601f830112612dcd57612dcc613b90565b5b8135612ddd848260208601612cf4565b91505092915050565b600081359050612df581613f25565b92915050565b600060208284031215612e1157612e10613b9f565b5b6000612e1f84828501612d36565b91505092915050565b60008060408385031215612e3f57612e3e613b9f565b5b6000612e4d85828601612d36565b9250506020612e5e85828601612d36565b9150509250929050565b600080600060608486031215612e8157612e80613b9f565b5b6000612e8f86828701612d36565b9350506020612ea086828701612d36565b9250506040612eb186828701612de6565b9150509250925092565b60008060008060808587031215612ed557612ed4613b9f565b5b6000612ee387828801612d36565b9450506020612ef487828801612d36565b9350506040612f0587828801612de6565b925050606085013567ffffffffffffffff811115612f2657612f25613b9a565b5b612f3287828801612d8a565b91505092959194509250565b60008060408385031215612f5557612f54613b9f565b5b6000612f6385828601612d36565b9250506020612f7485828601612d4b565b9150509250929050565b60008060408385031215612f9557612f94613b9f565b5b6000612fa385828601612d36565b9250506020612fb485828601612de6565b9150509250929050565b600060208284031215612fd457612fd3613b9f565b5b6000612fe284828501612d60565b91505092915050565b60006020828403121561300157613000613b9f565b5b600061300f84828501612d75565b91505092915050565b60006020828403121561302e5761302d613b9f565b5b600082013567ffffffffffffffff81111561304c5761304b613b9a565b5b61305884828501612db8565b91505092915050565b60006020828403121561307757613076613b9f565b5b600061308584828501612de6565b91505092915050565b61309781613912565b82525050565b6130a681613924565b82525050565b60006130b7826137af565b6130c181856137c5565b93506130d1818560208601613995565b6130da81613ba4565b840191505092915050565b60006130f0826137ba565b6130fa81856137e1565b935061310a818560208601613995565b61311381613ba4565b840191505092915050565b6000613129826137ba565b61313381856137f2565b9350613143818560208601613995565b80840191505092915050565b6000815461315c816139c8565b61316681866137f2565b945060018216600081146131815760018114613192576131c5565b60ff198316865281860193506131c5565b61319b8561379a565b60005b838110156131bd5781548189015260018201915060208101905061319e565b838801955050505b50505092915050565b60006131db6030836137e1565b91506131e682613bb5565b604082019050919050565b60006131fe602e836137e1565b915061320982613c04565b604082019050919050565b60006132216026836137e1565b915061322c82613c53565b604082019050919050565b60006132446016836137e1565b915061324f82613ca2565b602082019050919050565b60006132676014836137e1565b915061327282613ccb565b602082019050919050565b600061328a6019836137e1565b915061329582613cf4565b602082019050919050565b60006132ad601e836137e1565b91506132b882613d1d565b602082019050919050565b60006132d06018836137e1565b91506132db82613d46565b602082019050919050565b60006132f36014836137e1565b91506132fe82613d6f565b602082019050919050565b60006133166011836137e1565b915061332182613d98565b602082019050919050565b60006133396005836137f2565b915061334482613dc1565b600582019050919050565b600061335c6020836137e1565b915061336782613dea565b602082019050919050565b600061337f6013836137e1565b915061338a82613e13565b602082019050919050565b60006133a26015836137e1565b91506133ad82613e3c565b602082019050919050565b60006133c5601b836137e1565b91506133d082613e65565b602082019050919050565b60006133e86000836137d6565b91506133f382613e8e565b600082019050919050565b600061340b6023836137e1565b915061341682613e91565b604082019050919050565b61342a8161397c565b82525050565b600061343c828561314f565b9150613448828461311e565b91506134538261332c565b91508190509392505050565b600061346a826133db565b9150819050919050565b6000602082019050613489600083018461308e565b92915050565b60006080820190506134a4600083018761308e565b6134b1602083018661308e565b6134be6040830185613421565b81810360608301526134d081846130ac565b905095945050505050565b60006020820190506134f0600083018461309d565b92915050565b6000602082019050818103600083015261351081846130e5565b905092915050565b60006020820190508181036000830152613531816131ce565b9050919050565b60006020820190508181036000830152613551816131f1565b9050919050565b6000602082019050818103600083015261357181613214565b9050919050565b6000602082019050818103600083015261359181613237565b9050919050565b600060208201905081810360008301526135b18161325a565b9050919050565b600060208201905081810360008301526135d18161327d565b9050919050565b600060208201905081810360008301526135f1816132a0565b9050919050565b60006020820190508181036000830152613611816132c3565b9050919050565b60006020820190508181036000830152613631816132e6565b9050919050565b6000602082019050818103600083015261365181613309565b9050919050565b600060208201905081810360008301526136718161334f565b9050919050565b6000602082019050818103600083015261369181613372565b9050919050565b600060208201905081810360008301526136b181613395565b9050919050565b600060208201905081810360008301526136d1816133b8565b9050919050565b600060208201905081810360008301526136f1816133fe565b9050919050565b600060208201905061370d6000830184613421565b92915050565b600061371d61372e565b905061372982826139fa565b919050565b6000604051905090565b600067ffffffffffffffff82111561375357613752613b61565b5b61375c82613ba4565b9050602081019050919050565b600067ffffffffffffffff82111561378457613783613b61565b5b61378d82613ba4565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006138088261397c565b91506138138361397c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561384857613847613aa5565b5b828201905092915050565b600061385e8261397c565b91506138698361397c565b92508261387957613878613ad4565b5b828204905092915050565b600061388f8261397c565b915061389a8361397c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156138d3576138d2613aa5565b5b828202905092915050565b60006138e98261397c565b91506138f48361397c565b92508282101561390757613906613aa5565b5b828203905092915050565b600061391d8261395c565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156139b3578082015181840152602081019050613998565b838111156139c2576000848401525b50505050565b600060028204905060018216806139e057607f821691505b602082108114156139f4576139f3613b03565b5b50919050565b613a0382613ba4565b810181811067ffffffffffffffff82111715613a2257613a21613b61565b5b80604052505050565b6000613a368261397c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613a6957613a68613aa5565b5b600182019050919050565b6000613a7f8261397c565b9150613a8a8361397c565b925082613a9a57613a99613ad4565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231414d657461646174613a2055524920717565727920666f72206e60008201527f6f6e6578697374656e7420746f6b656e00000000000000000000000000000000602082015250565b7f457863656564206d6178206672656520737570706c792c20757365207075626c60008201527f69634d696e7420746f206d696e74000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f53616c65206973206e6f74206163746976652079657400000000000000000000600082015250565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b7f43616e277420636c61696d206d6f726520666f72206672656500000000000000600082015250565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b7f43616e277420636c61696d206d6f726520696e20612074780000000000000000600082015250565b7f4e6f2066756e647320746f207265747269657665000000000000000000000000600082015250565b7f457863656564206d617820737570706c79000000000000000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f55736572206d61782066726565206c696d697400000000000000000000000000600082015250565b7f43616e6e6f74206d696e742074686973206d616e790000000000000000000000600082015250565b7f467265652053616c65206973206e6f7420616374697665207965740000000000600082015250565b50565b7f496e73756666696369656e742065746865722070726f766964656420746f206d60008201527f696e740000000000000000000000000000000000000000000000000000000000602082015250565b613ee981613912565b8114613ef457600080fd5b50565b613f0081613924565b8114613f0b57600080fd5b50565b613f1781613930565b8114613f2257600080fd5b50565b613f2e8161397c565b8114613f3957600080fd5b5056fea2646970667358221220da9fca0521e01f9e2f6cb4aa808cb24f1b84afe1e43a57cf9521af6edc23a03264736f6c63430008070033
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.