Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
906 GPARTY
Holders
155
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 GPARTYLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
goblinparty
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.4; import "./ERC721A.sol"; import "./Ownable.sol"; contract goblinparty is ERC721A, Ownable { uint256 MAX_MINTS = 20; // uint256 MAX_FREEMINTS = 6; uint256 MAX_SUPPLY = 2222; uint256 MAX_PUBLIC = 1800; mapping(address => uint8) private _freeList; bool public freeSaleOpen = true; bool public mintingOpen = true; bool public isRevealed = false; bool public discountActive = true; uint256 public mintRate = 0.035 ether; uint256 private buy3 = 94; uint256 private buy5 = 89; uint256 private buy7 = 84; uint256 private buy10 = 79; string public baseURI = ""; constructor() ERC721A("goblinparty.wtf", "GPARTY") {} function mint(uint256 quantity) external payable { uint256 finalprice = (mintRate*quantity); require(mintingOpen, "Publicsale closed"); require(quantity + _numberMinted(msg.sender) <= MAX_MINTS, "Exceeded the limit"); require(totalSupply() + quantity <= MAX_PUBLIC, "Exceeded the public allocation limit"); require(totalSupply() + quantity <= MAX_SUPPLY, "Not enough tokens left"); if (discountActive) { if (quantity >= 3) { finalprice = finalprice * (buy3/100); } else if (quantity >= 5) { finalprice = finalprice * (buy5/100); } else if (quantity >= 7) { finalprice = finalprice * (buy7/100); } else if (quantity == 10) { finalprice = finalprice * (buy10/100); } } require(msg.value >= (finalprice), "Not enough ether sent"); _safeMint(msg.sender, quantity); } function freeMint(uint256 quantity) external payable { require(freeSaleOpen, "Free mint closed"); require(quantity + _numberMinted(msg.sender) <= MAX_FREEMINTS, "Exceeded the limit"); require(totalSupply() + quantity <= MAX_SUPPLY, "Not enough tokens left"); require(quantity + _numberMinted(msg.sender) <= _freeList[msg.sender], "You are trying to buy more then you can claim. Please fix the amount"); _safeMint(msg.sender, quantity); } function doReveal(string calldata setURI) public onlyOwner() { isRevealed = true; baseURI= setURI; } function unReveal(string calldata setURI) public onlyOwner() { isRevealed = false; baseURI= setURI; } function mintTo(uint256 quantity,address to) public onlyOwner { require(totalSupply() + quantity <= MAX_SUPPLY, "Not enough tokens left"); _safeMint(to, quantity); } function claimableMints(address checkAdress) external returns (uint256) { return _freeList[checkAdress] - _numberMinted(checkAdress); } function checkMinted(address checkAdress) external returns (uint256) { return _numberMinted(checkAdress); } function burn(uint256 tokenId) public onlyOwner { _burn(tokenId, false); } function setFreeList(address[] calldata addresses, uint8 numAllowedToMint) external onlyOwner { for (uint256 i = 0; i < addresses.length; i++) { _freeList[addresses[i]] = numAllowedToMint; } } function withdraw() external payable onlyOwner { payable(owner()).transfer(address(this).balance); } function _baseURI() internal view override returns (string memory) { return baseURI; } function setBaseURI(string calldata setURI) external onlyOwner() { baseURI= setURI; } function openMinting() public onlyOwner { mintingOpen = true; } function openFreeSale() public onlyOwner { freeSaleOpen = true; } function stopMinting() public onlyOwner { mintingOpen = false; } function stopFreeSale() public onlyOwner { freeSaleOpen = false; } function setMintRate(uint256 _mintRate) public onlyOwner { mintRate = _mintRate; } function setDiscountActive() public onlyOwner { discountActive = true; } function setDiscountInactive() public onlyOwner { discountActive = false; } function set_MAX_MINTS(uint256 _amount) public onlyOwner { MAX_MINTS = _amount; } function set_MAX_FREEMINTS(uint256 _amount) public onlyOwner { MAX_FREEMINTS = _amount; } function set_MAX_PUBLIC(uint256 _amount) public onlyOwner { MAX_PUBLIC = _amount; } function set_MAX_SUPPLY(uint256 _amount) public onlyOwner { MAX_SUPPLY = _amount; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "./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 (to == owner) revert ApprovalToCurrentOwner(); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = _currentIndex; if (_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 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.code.length != 0) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex < end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (_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 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); 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 // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // IERC165 // ============================== /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================== // IERC721 // ============================== /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================== // IERC721Metadata // ============================== /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
{ "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":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"checkAdress","type":"address"}],"name":"checkMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"checkAdress","type":"address"}],"name":"claimableMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"discountActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"setURI","type":"string"}],"name":"doReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"freeMint","outputs":[],"stateMutability":"payable","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":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"mintTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintingOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openFreeSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"openMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"setURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setDiscountActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setDiscountInactive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint8","name":"numAllowedToMint","type":"uint8"}],"name":"setFreeList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintRate","type":"uint256"}],"name":"setMintRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"set_MAX_FREEMINTS","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"set_MAX_MINTS","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"set_MAX_PUBLIC","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"set_MAX_SUPPLY","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopFreeSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"string","name":"setURI","type":"string"}],"name":"unReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
608060405260146009556006600a556108ae600b55610708600c556001600e60006101000a81548160ff0219169083151502179055506001600e60016101000a81548160ff0219169083151502179055506000600e60026101000a81548160ff0219169083151502179055506001600e60036101000a81548160ff021916908315150217905550667c585087238000600f55605e60105560596011556054601255604f6013556040518060200160405280600081525060149080519060200190620000cc9291906200028a565b50348015620000da57600080fd5b506040518060400160405280600f81526020017f676f626c696e70617274792e77746600000000000000000000000000000000008152506040518060400160405280600681526020017f475041525459000000000000000000000000000000000000000000000000000081525081600290805190602001906200015f9291906200028a565b508060039080519060200190620001789291906200028a565b5062000189620001b760201b60201c565b6000819055505050620001b1620001a5620001bc60201b60201c565b620001c460201b60201c565b6200039f565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805462000298906200033a565b90600052602060002090601f016020900481019282620002bc576000855562000308565b82601f10620002d757805160ff191683800117855562000308565b8280016001018555821562000308579182015b8281111562000307578251825591602001919060010190620002ea565b5b5090506200031791906200031b565b5090565b5b80821115620003365760008160009055506001016200031c565b5090565b600060028204905060018216806200035357607f821691505b602082108114156200036a576200036962000370565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6142f880620003af6000396000f3fe6080604052600436106102725760003560e01c806373b9f33a1161014f578063b88d4fde116100c1578063dbe2193f1161007a578063dbe2193f146108af578063e985e9c5146108d8578063f2fd59cc14610915578063f2fde38b1461092c578063f92ad0d914610955578063fa8e2b421461098057610272565b8063b88d4fde146107b3578063c16ca953146107dc578063c87b56dd146107f3578063c8b5ddfb14610830578063ca0dcf1614610859578063cbc70d411461088457610272565b806395d89b411161011357806395d89b41146106c8578063a0712d68146106f3578063a22cb4651461070f578063a5ad64b714610738578063af1f092114610761578063b723b34e1461078a57610272565b806373b9f33a146106165780637c928fe91461062d5780638da5cb5b146106495780638f4bb4971461067457806390d0f9511461069f57610272565b806342842e0e116101e857806367d74782116101ac57806367d747821461052c5780636ba9fd38146105435780636c0360eb1461055a5780636c3023941461058557806370a08231146105c2578063715018a6146105ff57610272565b806342842e0e1461044957806342966c681461047257806354214f691461049b57806355f804b3146104c65780636352211e146104ef57610272565b80630d252dc11161023a5780630d252dc11461036e57806318160ddd146103ab5780631d59592e146103d657806323b872dd146103ff5780633ccfd60b146104285780633e3e0b121461043257610272565b806301ffc9a71461027757806306fdde03146102b4578063081812fc146102df578063095ea7b31461031c5780630b701c4a14610345575b600080fd5b34801561028357600080fd5b5061029e600480360381019061029991906136ed565b6109a9565b6040516102ab9190613a97565b60405180910390f35b3480156102c057600080fd5b506102c9610a3b565b6040516102d69190613ab2565b60405180910390f35b3480156102eb57600080fd5b5061030660048036038101906103019190613794565b610acd565b6040516103139190613a30565b60405180910390f35b34801561032857600080fd5b50610343600480360381019061033e919061364d565b610b49565b005b34801561035157600080fd5b5061036c60048036038101906103679190613794565b610cf0565b005b34801561037a57600080fd5b50610395600480360381019061039091906134ca565b610d76565b6040516103a29190613bf4565b60405180910390f35b3480156103b757600080fd5b506103c0610de2565b6040516103cd9190613bf4565b60405180910390f35b3480156103e257600080fd5b506103fd60048036038101906103f8919061368d565b610df9565b005b34801561040b57600080fd5b5061042660048036038101906104219190613537565b610f1b565b005b610430610f2b565b005b34801561043e57600080fd5b50610447610ff7565b005b34801561045557600080fd5b50610470600480360381019061046b9190613537565b611090565b005b34801561047e57600080fd5b5061049960048036038101906104949190613794565b6110b0565b005b3480156104a757600080fd5b506104b061113a565b6040516104bd9190613a97565b60405180910390f35b3480156104d257600080fd5b506104ed60048036038101906104e89190613747565b61114d565b005b3480156104fb57600080fd5b5061051660048036038101906105119190613794565b6111df565b6040516105239190613a30565b60405180910390f35b34801561053857600080fd5b506105416111f1565b005b34801561054f57600080fd5b5061055861128a565b005b34801561056657600080fd5b5061056f611323565b60405161057c9190613ab2565b60405180910390f35b34801561059157600080fd5b506105ac60048036038101906105a791906134ca565b6113b1565b6040516105b99190613bf4565b60405180910390f35b3480156105ce57600080fd5b506105e960048036038101906105e491906134ca565b6113c3565b6040516105f69190613bf4565b60405180910390f35b34801561060b57600080fd5b50610614611458565b005b34801561062257600080fd5b5061062b6114e0565b005b61064760048036038101906106429190613794565b611579565b005b34801561065557600080fd5b5061065e611729565b60405161066b9190613a30565b60405180910390f35b34801561068057600080fd5b50610689611753565b6040516106969190613a97565b60405180910390f35b3480156106ab57600080fd5b506106c660048036038101906106c19190613794565b611766565b005b3480156106d457600080fd5b506106dd6117ec565b6040516106ea9190613ab2565b60405180910390f35b61070d60048036038101906107089190613794565b61187e565b005b34801561071b57600080fd5b506107366004803603810190610731919061360d565b611af0565b005b34801561074457600080fd5b5061075f600480360381019061075a9190613747565b611c68565b005b34801561076d57600080fd5b5061078860048036038101906107839190613794565b611d15565b005b34801561079657600080fd5b506107b160048036038101906107ac91906137c1565b611d9b565b005b3480156107bf57600080fd5b506107da60048036038101906107d5919061358a565b611e7c565b005b3480156107e857600080fd5b506107f1611eef565b005b3480156107ff57600080fd5b5061081a60048036038101906108159190613794565b611f88565b6040516108279190613ab2565b60405180910390f35b34801561083c57600080fd5b5061085760048036038101906108529190613747565b612027565b005b34801561086557600080fd5b5061086e6120d4565b60405161087b9190613bf4565b60405180910390f35b34801561089057600080fd5b506108996120da565b6040516108a69190613a97565b60405180910390f35b3480156108bb57600080fd5b506108d660048036038101906108d19190613794565b6120ed565b005b3480156108e457600080fd5b506108ff60048036038101906108fa91906134f7565b612173565b60405161090c9190613a97565b60405180910390f35b34801561092157600080fd5b5061092a612207565b005b34801561093857600080fd5b50610953600480360381019061094e91906134ca565b6122a0565b005b34801561096157600080fd5b5061096a612398565b6040516109779190613a97565b60405180910390f35b34801561098c57600080fd5b506109a760048036038101906109a29190613794565b6123ab565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a0457506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a345750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610a4a90613e80565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7690613e80565b8015610ac35780601f10610a9857610100808354040283529160200191610ac3565b820191906000526020600020905b815481529060010190602001808311610aa657829003601f168201915b5050505050905090565b6000610ad882612431565b610b0e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b5482612490565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bbc576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bdb61255e565b73ffffffffffffffffffffffffffffffffffffffff1614610c3e57610c0781610c0261255e565b612173565b610c3d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610cf8612566565b73ffffffffffffffffffffffffffffffffffffffff16610d16611729565b73ffffffffffffffffffffffffffffffffffffffff1614610d6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6390613b94565b60405180910390fd5b80600a8190555050565b6000610d818261256e565b600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660ff16610ddb9190613d89565b9050919050565b6000610dec6125c5565b6001546000540303905090565b610e01612566565b73ffffffffffffffffffffffffffffffffffffffff16610e1f611729565b73ffffffffffffffffffffffffffffffffffffffff1614610e75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6c90613b94565b60405180910390fd5b60005b83839050811015610f155781600d6000868685818110610e9b57610e9a613fb9565b5b9050602002016020810190610eb091906134ca565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff1602179055508080610f0d90613ee3565b915050610e78565b50505050565b610f268383836125ca565b505050565b610f33612566565b73ffffffffffffffffffffffffffffffffffffffff16610f51611729565b73ffffffffffffffffffffffffffffffffffffffff1614610fa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9e90613b94565b60405180910390fd5b610faf611729565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610ff4573d6000803e3d6000fd5b50565b610fff612566565b73ffffffffffffffffffffffffffffffffffffffff1661101d611729565b73ffffffffffffffffffffffffffffffffffffffff1614611073576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106a90613b94565b60405180910390fd5b6000600e60016101000a81548160ff021916908315150217905550565b6110ab83838360405180602001604052806000815250611e7c565b505050565b6110b8612566565b73ffffffffffffffffffffffffffffffffffffffff166110d6611729565b73ffffffffffffffffffffffffffffffffffffffff161461112c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112390613b94565b60405180910390fd5b611137816000612992565b50565b600e60029054906101000a900460ff1681565b611155612566565b73ffffffffffffffffffffffffffffffffffffffff16611173611729565b73ffffffffffffffffffffffffffffffffffffffff16146111c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c090613b94565b60405180910390fd5b8181601491906111da92919061328d565b505050565b60006111ea82612490565b9050919050565b6111f9612566565b73ffffffffffffffffffffffffffffffffffffffff16611217611729565b73ffffffffffffffffffffffffffffffffffffffff161461126d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126490613b94565b60405180910390fd5b6001600e60036101000a81548160ff021916908315150217905550565b611292612566565b73ffffffffffffffffffffffffffffffffffffffff166112b0611729565b73ffffffffffffffffffffffffffffffffffffffff1614611306576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112fd90613b94565b60405180910390fd5b6001600e60016101000a81548160ff021916908315150217905550565b6014805461133090613e80565b80601f016020809104026020016040519081016040528092919081815260200182805461135c90613e80565b80156113a95780601f1061137e576101008083540402835291602001916113a9565b820191906000526020600020905b81548152906001019060200180831161138c57829003601f168201915b505050505081565b60006113bc8261256e565b9050919050565b6000806113cf83612cac565b1415611407576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611460612566565b73ffffffffffffffffffffffffffffffffffffffff1661147e611729565b73ffffffffffffffffffffffffffffffffffffffff16146114d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114cb90613b94565b60405180910390fd5b6114de6000612cb6565b565b6114e8612566565b73ffffffffffffffffffffffffffffffffffffffff16611506611729565b73ffffffffffffffffffffffffffffffffffffffff161461155c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155390613b94565b60405180910390fd5b6000600e60006101000a81548160ff021916908315150217905550565b600e60009054906101000a900460ff166115c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bf90613bb4565b60405180910390fd5b600a546115d43361256e565b826115df9190613ca8565b1115611620576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161790613b34565b60405180910390fd5b600b548161162c610de2565b6116369190613ca8565b1115611677576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166e90613b54565b60405180910390fd5b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660ff166116d03361256e565b826116db9190613ca8565b111561171c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171390613b74565b60405180910390fd5b6117263382612d7c565b50565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600e60019054906101000a900460ff1681565b61176e612566565b73ffffffffffffffffffffffffffffffffffffffff1661178c611729565b73ffffffffffffffffffffffffffffffffffffffff16146117e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d990613b94565b60405180910390fd5b8060098190555050565b6060600380546117fb90613e80565b80601f016020809104026020016040519081016040528092919081815260200182805461182790613e80565b80156118745780601f1061184957610100808354040283529160200191611874565b820191906000526020600020905b81548152906001019060200180831161185757829003601f168201915b5050505050905090565b600081600f5461188e9190613d2f565b9050600e60019054906101000a900460ff166118df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d690613b14565b60405180910390fd5b6009546118eb3361256e565b836118f69190613ca8565b1115611937576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192e90613b34565b60405180910390fd5b600c5482611943610de2565b61194d9190613ca8565b111561198e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198590613ad4565b60405180910390fd5b600b548261199a610de2565b6119a49190613ca8565b11156119e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119dc90613b54565b60405180910390fd5b600e60039054906101000a900460ff1615611a9f5760038210611a23576064601054611a119190613cfe565b81611a1c9190613d2f565b9050611a9e565b60058210611a4c576064601154611a3a9190613cfe565b81611a459190613d2f565b9050611a9d565b60078210611a75576064601254611a639190613cfe565b81611a6e9190613d2f565b9050611a9c565b600a821415611a9b576064601354611a8d9190613cfe565b81611a989190613d2f565b90505b5b5b5b5b80341015611ae2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad990613bd4565b60405180910390fd5b611aec3383612d7c565b5050565b611af861255e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b5d576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611b6a61255e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c1761255e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c5c9190613a97565b60405180910390a35050565b611c70612566565b73ffffffffffffffffffffffffffffffffffffffff16611c8e611729565b73ffffffffffffffffffffffffffffffffffffffff1614611ce4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cdb90613b94565b60405180910390fd5b6001600e60026101000a81548160ff021916908315150217905550818160149190611d1092919061328d565b505050565b611d1d612566565b73ffffffffffffffffffffffffffffffffffffffff16611d3b611729565b73ffffffffffffffffffffffffffffffffffffffff1614611d91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8890613b94565b60405180910390fd5b80600b8190555050565b611da3612566565b73ffffffffffffffffffffffffffffffffffffffff16611dc1611729565b73ffffffffffffffffffffffffffffffffffffffff1614611e17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0e90613b94565b60405180910390fd5b600b5482611e23610de2565b611e2d9190613ca8565b1115611e6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6590613b54565b60405180910390fd5b611e788183612d7c565b5050565b611e878484846125ca565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611ee957611eb284848484612d9a565b611ee8576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b611ef7612566565b73ffffffffffffffffffffffffffffffffffffffff16611f15611729565b73ffffffffffffffffffffffffffffffffffffffff1614611f6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6290613b94565b60405180910390fd5b6000600e60036101000a81548160ff021916908315150217905550565b6060611f9382612431565b611fc9576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611fd3612efa565b9050600081511415611ff4576040518060200160405280600081525061201f565b80611ffe84612f8c565b60405160200161200f929190613a0c565b6040516020818303038152906040525b915050919050565b61202f612566565b73ffffffffffffffffffffffffffffffffffffffff1661204d611729565b73ffffffffffffffffffffffffffffffffffffffff16146120a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209a90613b94565b60405180910390fd5b6000600e60026101000a81548160ff0219169083151502179055508181601491906120cf92919061328d565b505050565b600f5481565b600e60039054906101000a900460ff1681565b6120f5612566565b73ffffffffffffffffffffffffffffffffffffffff16612113611729565b73ffffffffffffffffffffffffffffffffffffffff1614612169576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216090613b94565b60405180910390fd5b80600f8190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61220f612566565b73ffffffffffffffffffffffffffffffffffffffff1661222d611729565b73ffffffffffffffffffffffffffffffffffffffff1614612283576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227a90613b94565b60405180910390fd5b6001600e60006101000a81548160ff021916908315150217905550565b6122a8612566565b73ffffffffffffffffffffffffffffffffffffffff166122c6611729565b73ffffffffffffffffffffffffffffffffffffffff161461231c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231390613b94565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561238c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238390613af4565b60405180910390fd5b61239581612cb6565b50565b600e60009054906101000a900460ff1681565b6123b3612566565b73ffffffffffffffffffffffffffffffffffffffff166123d1611729565b73ffffffffffffffffffffffffffffffffffffffff1614612427576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241e90613b94565b60405180910390fd5b80600c8190555050565b60008161243c6125c5565b1115801561244b575060005482105b8015612489575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b6000808290508061249f6125c5565b11612527576000548110156125265760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612524575b600081141561251a5760046000836001900393508381526020019081526020016000205490506124ef565b8092505050612559565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600033905090565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b600090565b60006125d582612490565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461263c576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006006600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008573ffffffffffffffffffffffffffffffffffffffff1661269561255e565b73ffffffffffffffffffffffffffffffffffffffff1614806126c457506126c3866126be61255e565b612173565b5b8061270157506126d261255e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b90508061273a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061274586612cac565b141561277d576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61278a8686866001612fe6565b600061279583612cac565b146127d1576006600085815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b61289887612cac565b1717600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416141561292257600060018501905060006004600083815260200190815260200160002054141561292057600054811461291f578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461298a8686866001612fec565b505050505050565b600061299d83612490565b9050600081905060006006600086815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508315612aaa5760008273ffffffffffffffffffffffffffffffffffffffff16612a0361255e565b73ffffffffffffffffffffffffffffffffffffffff161480612a325750612a3183612a2c61255e565b612173565b5b80612a6f5750612a4061255e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b905080612aa8576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b612ab8826000876001612fe6565b6000612ac382612cac565b14612aff576006600086815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555b600160806001901b03600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055507c02000000000000000000000000000000000000000000000000000000007c010000000000000000000000000000000000000000000000000000000060a042901b612b9e85612cac565b171717600460008781526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415612c29576000600186019050600060046000838152602001908152602001600020541415612c27576000548114612c26578360046000838152602001908152602001600020819055505b5b505b84600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c93826000876001612fec565b6001600081548092919060010191905055505050505050565b6000819050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612d96828260405180602001604052806000815250612ff2565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612dc061255e565b8786866040518563ffffffff1660e01b8152600401612de29493929190613a4b565b602060405180830381600087803b158015612dfc57600080fd5b505af1925050508015612e2d57506040513d601f19601f82011682018060405250810190612e2a919061371a565b60015b612ea7573d8060008114612e5d576040519150601f19603f3d011682016040523d82523d6000602084013e612e62565b606091505b50600081511415612e9f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060148054612f0990613e80565b80601f0160208091040260200160405190810160405280929190818152602001828054612f3590613e80565b8015612f825780601f10612f5757610100808354040283529160200191612f82565b820191906000526020600020905b815481529060010190602001808311612f6557829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b8015612fd257600183039250600a81066030018353600a81049050612fb2565b508181036020830392508083525050919050565b50505050565b50505050565b600080549050600061300385612cac565b141561303b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000831415613076576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6130836000858386612fe6565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e16130e860018514613283565b901b60a042901b6130f886612cac565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b146131fc575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46131ac6000878480600101955087612d9a565b6131e2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821061313d5782600054146131f757600080fd5b613267565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106131fd575b81600081905550505061327d6000858386612fec565b50505050565b6000819050919050565b82805461329990613e80565b90600052602060002090601f0160209004810192826132bb5760008555613302565b82601f106132d457803560ff1916838001178555613302565b82800160010185558215613302579182015b828111156133015782358255916020019190600101906132e6565b5b50905061330f9190613313565b5090565b5b8082111561332c576000816000905550600101613314565b5090565b600061334361333e84613c34565b613c0f565b90508281526020810184848401111561335f5761335e614026565b5b61336a848285613e3e565b509392505050565b6000813590506133818161424f565b92915050565b60008083601f84011261339d5761339c61401c565b5b8235905067ffffffffffffffff8111156133ba576133b9614017565b5b6020830191508360208202830111156133d6576133d5614021565b5b9250929050565b6000813590506133ec81614266565b92915050565b6000813590506134018161427d565b92915050565b6000815190506134168161427d565b92915050565b600082601f8301126134315761343061401c565b5b8135613441848260208601613330565b91505092915050565b60008083601f8401126134605761345f61401c565b5b8235905067ffffffffffffffff81111561347d5761347c614017565b5b60208301915083600182028301111561349957613498614021565b5b9250929050565b6000813590506134af81614294565b92915050565b6000813590506134c4816142ab565b92915050565b6000602082840312156134e0576134df614030565b5b60006134ee84828501613372565b91505092915050565b6000806040838503121561350e5761350d614030565b5b600061351c85828601613372565b925050602061352d85828601613372565b9150509250929050565b6000806000606084860312156135505761354f614030565b5b600061355e86828701613372565b935050602061356f86828701613372565b9250506040613580868287016134a0565b9150509250925092565b600080600080608085870312156135a4576135a3614030565b5b60006135b287828801613372565b94505060206135c387828801613372565b93505060406135d4878288016134a0565b925050606085013567ffffffffffffffff8111156135f5576135f461402b565b5b6136018782880161341c565b91505092959194509250565b6000806040838503121561362457613623614030565b5b600061363285828601613372565b9250506020613643858286016133dd565b9150509250929050565b6000806040838503121561366457613663614030565b5b600061367285828601613372565b9250506020613683858286016134a0565b9150509250929050565b6000806000604084860312156136a6576136a5614030565b5b600084013567ffffffffffffffff8111156136c4576136c361402b565b5b6136d086828701613387565b935093505060206136e3868287016134b5565b9150509250925092565b60006020828403121561370357613702614030565b5b6000613711848285016133f2565b91505092915050565b6000602082840312156137305761372f614030565b5b600061373e84828501613407565b91505092915050565b6000806020838503121561375e5761375d614030565b5b600083013567ffffffffffffffff81111561377c5761377b61402b565b5b6137888582860161344a565b92509250509250929050565b6000602082840312156137aa576137a9614030565b5b60006137b8848285016134a0565b91505092915050565b600080604083850312156137d8576137d7614030565b5b60006137e6858286016134a0565b92505060206137f785828601613372565b9150509250929050565b61380a81613dbd565b82525050565b61381981613dcf565b82525050565b600061382a82613c65565b6138348185613c7b565b9350613844818560208601613e4d565b61384d81614035565b840191505092915050565b600061386382613c70565b61386d8185613c8c565b935061387d818560208601613e4d565b61388681614035565b840191505092915050565b600061389c82613c70565b6138a68185613c9d565b93506138b6818560208601613e4d565b80840191505092915050565b60006138cf602483613c8c565b91506138da82614046565b604082019050919050565b60006138f2602683613c8c565b91506138fd82614095565b604082019050919050565b6000613915601183613c8c565b9150613920826140e4565b602082019050919050565b6000613938601283613c8c565b91506139438261410d565b602082019050919050565b600061395b601683613c8c565b915061396682614136565b602082019050919050565b600061397e604483613c8c565b91506139898261415f565b606082019050919050565b60006139a1602083613c8c565b91506139ac826141d4565b602082019050919050565b60006139c4601083613c8c565b91506139cf826141fd565b602082019050919050565b60006139e7601583613c8c565b91506139f282614226565b602082019050919050565b613a0681613e27565b82525050565b6000613a188285613891565b9150613a248284613891565b91508190509392505050565b6000602082019050613a456000830184613801565b92915050565b6000608082019050613a606000830187613801565b613a6d6020830186613801565b613a7a60408301856139fd565b8181036060830152613a8c818461381f565b905095945050505050565b6000602082019050613aac6000830184613810565b92915050565b60006020820190508181036000830152613acc8184613858565b905092915050565b60006020820190508181036000830152613aed816138c2565b9050919050565b60006020820190508181036000830152613b0d816138e5565b9050919050565b60006020820190508181036000830152613b2d81613908565b9050919050565b60006020820190508181036000830152613b4d8161392b565b9050919050565b60006020820190508181036000830152613b6d8161394e565b9050919050565b60006020820190508181036000830152613b8d81613971565b9050919050565b60006020820190508181036000830152613bad81613994565b9050919050565b60006020820190508181036000830152613bcd816139b7565b9050919050565b60006020820190508181036000830152613bed816139da565b9050919050565b6000602082019050613c0960008301846139fd565b92915050565b6000613c19613c2a565b9050613c258282613eb2565b919050565b6000604051905090565b600067ffffffffffffffff821115613c4f57613c4e613fe8565b5b613c5882614035565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613cb382613e27565b9150613cbe83613e27565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613cf357613cf2613f2c565b5b828201905092915050565b6000613d0982613e27565b9150613d1483613e27565b925082613d2457613d23613f5b565b5b828204905092915050565b6000613d3a82613e27565b9150613d4583613e27565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613d7e57613d7d613f2c565b5b828202905092915050565b6000613d9482613e27565b9150613d9f83613e27565b925082821015613db257613db1613f2c565b5b828203905092915050565b6000613dc882613e07565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015613e6b578082015181840152602081019050613e50565b83811115613e7a576000848401525b50505050565b60006002820490506001821680613e9857607f821691505b60208210811415613eac57613eab613f8a565b5b50919050565b613ebb82614035565b810181811067ffffffffffffffff82111715613eda57613ed9613fe8565b5b80604052505050565b6000613eee82613e27565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613f2157613f20613f2c565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f457863656564656420746865207075626c696320616c6c6f636174696f6e206c60008201527f696d697400000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5075626c696373616c6520636c6f736564000000000000000000000000000000600082015250565b7f457863656564656420746865206c696d69740000000000000000000000000000600082015250565b7f4e6f7420656e6f75676820746f6b656e73206c65667400000000000000000000600082015250565b7f596f752061726520747279696e6720746f20627579206d6f7265207468656e2060008201527f796f752063616e20636c61696d2e20506c65617365206669782074686520616d60208201527f6f756e7400000000000000000000000000000000000000000000000000000000604082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f46726565206d696e7420636c6f73656400000000000000000000000000000000600082015250565b7f4e6f7420656e6f7567682065746865722073656e740000000000000000000000600082015250565b61425881613dbd565b811461426357600080fd5b50565b61426f81613dcf565b811461427a57600080fd5b50565b61428681613ddb565b811461429157600080fd5b50565b61429d81613e27565b81146142a857600080fd5b50565b6142b481613e31565b81146142bf57600080fd5b5056fea2646970667358221220296e9e28d379512206c49a14bff617dbf72fbf4f8761b0e47ab0ffb2d1c22f2f64736f6c63430008070033
Deployed Bytecode
0x6080604052600436106102725760003560e01c806373b9f33a1161014f578063b88d4fde116100c1578063dbe2193f1161007a578063dbe2193f146108af578063e985e9c5146108d8578063f2fd59cc14610915578063f2fde38b1461092c578063f92ad0d914610955578063fa8e2b421461098057610272565b8063b88d4fde146107b3578063c16ca953146107dc578063c87b56dd146107f3578063c8b5ddfb14610830578063ca0dcf1614610859578063cbc70d411461088457610272565b806395d89b411161011357806395d89b41146106c8578063a0712d68146106f3578063a22cb4651461070f578063a5ad64b714610738578063af1f092114610761578063b723b34e1461078a57610272565b806373b9f33a146106165780637c928fe91461062d5780638da5cb5b146106495780638f4bb4971461067457806390d0f9511461069f57610272565b806342842e0e116101e857806367d74782116101ac57806367d747821461052c5780636ba9fd38146105435780636c0360eb1461055a5780636c3023941461058557806370a08231146105c2578063715018a6146105ff57610272565b806342842e0e1461044957806342966c681461047257806354214f691461049b57806355f804b3146104c65780636352211e146104ef57610272565b80630d252dc11161023a5780630d252dc11461036e57806318160ddd146103ab5780631d59592e146103d657806323b872dd146103ff5780633ccfd60b146104285780633e3e0b121461043257610272565b806301ffc9a71461027757806306fdde03146102b4578063081812fc146102df578063095ea7b31461031c5780630b701c4a14610345575b600080fd5b34801561028357600080fd5b5061029e600480360381019061029991906136ed565b6109a9565b6040516102ab9190613a97565b60405180910390f35b3480156102c057600080fd5b506102c9610a3b565b6040516102d69190613ab2565b60405180910390f35b3480156102eb57600080fd5b5061030660048036038101906103019190613794565b610acd565b6040516103139190613a30565b60405180910390f35b34801561032857600080fd5b50610343600480360381019061033e919061364d565b610b49565b005b34801561035157600080fd5b5061036c60048036038101906103679190613794565b610cf0565b005b34801561037a57600080fd5b50610395600480360381019061039091906134ca565b610d76565b6040516103a29190613bf4565b60405180910390f35b3480156103b757600080fd5b506103c0610de2565b6040516103cd9190613bf4565b60405180910390f35b3480156103e257600080fd5b506103fd60048036038101906103f8919061368d565b610df9565b005b34801561040b57600080fd5b5061042660048036038101906104219190613537565b610f1b565b005b610430610f2b565b005b34801561043e57600080fd5b50610447610ff7565b005b34801561045557600080fd5b50610470600480360381019061046b9190613537565b611090565b005b34801561047e57600080fd5b5061049960048036038101906104949190613794565b6110b0565b005b3480156104a757600080fd5b506104b061113a565b6040516104bd9190613a97565b60405180910390f35b3480156104d257600080fd5b506104ed60048036038101906104e89190613747565b61114d565b005b3480156104fb57600080fd5b5061051660048036038101906105119190613794565b6111df565b6040516105239190613a30565b60405180910390f35b34801561053857600080fd5b506105416111f1565b005b34801561054f57600080fd5b5061055861128a565b005b34801561056657600080fd5b5061056f611323565b60405161057c9190613ab2565b60405180910390f35b34801561059157600080fd5b506105ac60048036038101906105a791906134ca565b6113b1565b6040516105b99190613bf4565b60405180910390f35b3480156105ce57600080fd5b506105e960048036038101906105e491906134ca565b6113c3565b6040516105f69190613bf4565b60405180910390f35b34801561060b57600080fd5b50610614611458565b005b34801561062257600080fd5b5061062b6114e0565b005b61064760048036038101906106429190613794565b611579565b005b34801561065557600080fd5b5061065e611729565b60405161066b9190613a30565b60405180910390f35b34801561068057600080fd5b50610689611753565b6040516106969190613a97565b60405180910390f35b3480156106ab57600080fd5b506106c660048036038101906106c19190613794565b611766565b005b3480156106d457600080fd5b506106dd6117ec565b6040516106ea9190613ab2565b60405180910390f35b61070d60048036038101906107089190613794565b61187e565b005b34801561071b57600080fd5b506107366004803603810190610731919061360d565b611af0565b005b34801561074457600080fd5b5061075f600480360381019061075a9190613747565b611c68565b005b34801561076d57600080fd5b5061078860048036038101906107839190613794565b611d15565b005b34801561079657600080fd5b506107b160048036038101906107ac91906137c1565b611d9b565b005b3480156107bf57600080fd5b506107da60048036038101906107d5919061358a565b611e7c565b005b3480156107e857600080fd5b506107f1611eef565b005b3480156107ff57600080fd5b5061081a60048036038101906108159190613794565b611f88565b6040516108279190613ab2565b60405180910390f35b34801561083c57600080fd5b5061085760048036038101906108529190613747565b612027565b005b34801561086557600080fd5b5061086e6120d4565b60405161087b9190613bf4565b60405180910390f35b34801561089057600080fd5b506108996120da565b6040516108a69190613a97565b60405180910390f35b3480156108bb57600080fd5b506108d660048036038101906108d19190613794565b6120ed565b005b3480156108e457600080fd5b506108ff60048036038101906108fa91906134f7565b612173565b60405161090c9190613a97565b60405180910390f35b34801561092157600080fd5b5061092a612207565b005b34801561093857600080fd5b50610953600480360381019061094e91906134ca565b6122a0565b005b34801561096157600080fd5b5061096a612398565b6040516109779190613a97565b60405180910390f35b34801561098c57600080fd5b506109a760048036038101906109a29190613794565b6123ab565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a0457506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a345750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610a4a90613e80565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7690613e80565b8015610ac35780601f10610a9857610100808354040283529160200191610ac3565b820191906000526020600020905b815481529060010190602001808311610aa657829003601f168201915b5050505050905090565b6000610ad882612431565b610b0e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b5482612490565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bbc576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bdb61255e565b73ffffffffffffffffffffffffffffffffffffffff1614610c3e57610c0781610c0261255e565b612173565b610c3d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610cf8612566565b73ffffffffffffffffffffffffffffffffffffffff16610d16611729565b73ffffffffffffffffffffffffffffffffffffffff1614610d6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6390613b94565b60405180910390fd5b80600a8190555050565b6000610d818261256e565b600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660ff16610ddb9190613d89565b9050919050565b6000610dec6125c5565b6001546000540303905090565b610e01612566565b73ffffffffffffffffffffffffffffffffffffffff16610e1f611729565b73ffffffffffffffffffffffffffffffffffffffff1614610e75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6c90613b94565b60405180910390fd5b60005b83839050811015610f155781600d6000868685818110610e9b57610e9a613fb9565b5b9050602002016020810190610eb091906134ca565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff1602179055508080610f0d90613ee3565b915050610e78565b50505050565b610f268383836125ca565b505050565b610f33612566565b73ffffffffffffffffffffffffffffffffffffffff16610f51611729565b73ffffffffffffffffffffffffffffffffffffffff1614610fa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9e90613b94565b60405180910390fd5b610faf611729565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610ff4573d6000803e3d6000fd5b50565b610fff612566565b73ffffffffffffffffffffffffffffffffffffffff1661101d611729565b73ffffffffffffffffffffffffffffffffffffffff1614611073576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106a90613b94565b60405180910390fd5b6000600e60016101000a81548160ff021916908315150217905550565b6110ab83838360405180602001604052806000815250611e7c565b505050565b6110b8612566565b73ffffffffffffffffffffffffffffffffffffffff166110d6611729565b73ffffffffffffffffffffffffffffffffffffffff161461112c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112390613b94565b60405180910390fd5b611137816000612992565b50565b600e60029054906101000a900460ff1681565b611155612566565b73ffffffffffffffffffffffffffffffffffffffff16611173611729565b73ffffffffffffffffffffffffffffffffffffffff16146111c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c090613b94565b60405180910390fd5b8181601491906111da92919061328d565b505050565b60006111ea82612490565b9050919050565b6111f9612566565b73ffffffffffffffffffffffffffffffffffffffff16611217611729565b73ffffffffffffffffffffffffffffffffffffffff161461126d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126490613b94565b60405180910390fd5b6001600e60036101000a81548160ff021916908315150217905550565b611292612566565b73ffffffffffffffffffffffffffffffffffffffff166112b0611729565b73ffffffffffffffffffffffffffffffffffffffff1614611306576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112fd90613b94565b60405180910390fd5b6001600e60016101000a81548160ff021916908315150217905550565b6014805461133090613e80565b80601f016020809104026020016040519081016040528092919081815260200182805461135c90613e80565b80156113a95780601f1061137e576101008083540402835291602001916113a9565b820191906000526020600020905b81548152906001019060200180831161138c57829003601f168201915b505050505081565b60006113bc8261256e565b9050919050565b6000806113cf83612cac565b1415611407576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611460612566565b73ffffffffffffffffffffffffffffffffffffffff1661147e611729565b73ffffffffffffffffffffffffffffffffffffffff16146114d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114cb90613b94565b60405180910390fd5b6114de6000612cb6565b565b6114e8612566565b73ffffffffffffffffffffffffffffffffffffffff16611506611729565b73ffffffffffffffffffffffffffffffffffffffff161461155c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155390613b94565b60405180910390fd5b6000600e60006101000a81548160ff021916908315150217905550565b600e60009054906101000a900460ff166115c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bf90613bb4565b60405180910390fd5b600a546115d43361256e565b826115df9190613ca8565b1115611620576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161790613b34565b60405180910390fd5b600b548161162c610de2565b6116369190613ca8565b1115611677576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166e90613b54565b60405180910390fd5b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660ff166116d03361256e565b826116db9190613ca8565b111561171c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171390613b74565b60405180910390fd5b6117263382612d7c565b50565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600e60019054906101000a900460ff1681565b61176e612566565b73ffffffffffffffffffffffffffffffffffffffff1661178c611729565b73ffffffffffffffffffffffffffffffffffffffff16146117e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d990613b94565b60405180910390fd5b8060098190555050565b6060600380546117fb90613e80565b80601f016020809104026020016040519081016040528092919081815260200182805461182790613e80565b80156118745780601f1061184957610100808354040283529160200191611874565b820191906000526020600020905b81548152906001019060200180831161185757829003601f168201915b5050505050905090565b600081600f5461188e9190613d2f565b9050600e60019054906101000a900460ff166118df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d690613b14565b60405180910390fd5b6009546118eb3361256e565b836118f69190613ca8565b1115611937576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192e90613b34565b60405180910390fd5b600c5482611943610de2565b61194d9190613ca8565b111561198e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198590613ad4565b60405180910390fd5b600b548261199a610de2565b6119a49190613ca8565b11156119e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119dc90613b54565b60405180910390fd5b600e60039054906101000a900460ff1615611a9f5760038210611a23576064601054611a119190613cfe565b81611a1c9190613d2f565b9050611a9e565b60058210611a4c576064601154611a3a9190613cfe565b81611a459190613d2f565b9050611a9d565b60078210611a75576064601254611a639190613cfe565b81611a6e9190613d2f565b9050611a9c565b600a821415611a9b576064601354611a8d9190613cfe565b81611a989190613d2f565b90505b5b5b5b5b80341015611ae2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad990613bd4565b60405180910390fd5b611aec3383612d7c565b5050565b611af861255e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b5d576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611b6a61255e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c1761255e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c5c9190613a97565b60405180910390a35050565b611c70612566565b73ffffffffffffffffffffffffffffffffffffffff16611c8e611729565b73ffffffffffffffffffffffffffffffffffffffff1614611ce4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cdb90613b94565b60405180910390fd5b6001600e60026101000a81548160ff021916908315150217905550818160149190611d1092919061328d565b505050565b611d1d612566565b73ffffffffffffffffffffffffffffffffffffffff16611d3b611729565b73ffffffffffffffffffffffffffffffffffffffff1614611d91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8890613b94565b60405180910390fd5b80600b8190555050565b611da3612566565b73ffffffffffffffffffffffffffffffffffffffff16611dc1611729565b73ffffffffffffffffffffffffffffffffffffffff1614611e17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0e90613b94565b60405180910390fd5b600b5482611e23610de2565b611e2d9190613ca8565b1115611e6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6590613b54565b60405180910390fd5b611e788183612d7c565b5050565b611e878484846125ca565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611ee957611eb284848484612d9a565b611ee8576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b611ef7612566565b73ffffffffffffffffffffffffffffffffffffffff16611f15611729565b73ffffffffffffffffffffffffffffffffffffffff1614611f6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6290613b94565b60405180910390fd5b6000600e60036101000a81548160ff021916908315150217905550565b6060611f9382612431565b611fc9576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611fd3612efa565b9050600081511415611ff4576040518060200160405280600081525061201f565b80611ffe84612f8c565b60405160200161200f929190613a0c565b6040516020818303038152906040525b915050919050565b61202f612566565b73ffffffffffffffffffffffffffffffffffffffff1661204d611729565b73ffffffffffffffffffffffffffffffffffffffff16146120a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209a90613b94565b60405180910390fd5b6000600e60026101000a81548160ff0219169083151502179055508181601491906120cf92919061328d565b505050565b600f5481565b600e60039054906101000a900460ff1681565b6120f5612566565b73ffffffffffffffffffffffffffffffffffffffff16612113611729565b73ffffffffffffffffffffffffffffffffffffffff1614612169576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216090613b94565b60405180910390fd5b80600f8190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61220f612566565b73ffffffffffffffffffffffffffffffffffffffff1661222d611729565b73ffffffffffffffffffffffffffffffffffffffff1614612283576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227a90613b94565b60405180910390fd5b6001600e60006101000a81548160ff021916908315150217905550565b6122a8612566565b73ffffffffffffffffffffffffffffffffffffffff166122c6611729565b73ffffffffffffffffffffffffffffffffffffffff161461231c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231390613b94565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561238c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238390613af4565b60405180910390fd5b61239581612cb6565b50565b600e60009054906101000a900460ff1681565b6123b3612566565b73ffffffffffffffffffffffffffffffffffffffff166123d1611729565b73ffffffffffffffffffffffffffffffffffffffff1614612427576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241e90613b94565b60405180910390fd5b80600c8190555050565b60008161243c6125c5565b1115801561244b575060005482105b8015612489575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b6000808290508061249f6125c5565b11612527576000548110156125265760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612524575b600081141561251a5760046000836001900393508381526020019081526020016000205490506124ef565b8092505050612559565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600033905090565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b600090565b60006125d582612490565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461263c576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006006600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008573ffffffffffffffffffffffffffffffffffffffff1661269561255e565b73ffffffffffffffffffffffffffffffffffffffff1614806126c457506126c3866126be61255e565b612173565b5b8061270157506126d261255e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b90508061273a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061274586612cac565b141561277d576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61278a8686866001612fe6565b600061279583612cac565b146127d1576006600085815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b61289887612cac565b1717600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416141561292257600060018501905060006004600083815260200190815260200160002054141561292057600054811461291f578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461298a8686866001612fec565b505050505050565b600061299d83612490565b9050600081905060006006600086815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508315612aaa5760008273ffffffffffffffffffffffffffffffffffffffff16612a0361255e565b73ffffffffffffffffffffffffffffffffffffffff161480612a325750612a3183612a2c61255e565b612173565b5b80612a6f5750612a4061255e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b905080612aa8576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b612ab8826000876001612fe6565b6000612ac382612cac565b14612aff576006600086815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555b600160806001901b03600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055507c02000000000000000000000000000000000000000000000000000000007c010000000000000000000000000000000000000000000000000000000060a042901b612b9e85612cac565b171717600460008781526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415612c29576000600186019050600060046000838152602001908152602001600020541415612c27576000548114612c26578360046000838152602001908152602001600020819055505b5b505b84600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c93826000876001612fec565b6001600081548092919060010191905055505050505050565b6000819050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612d96828260405180602001604052806000815250612ff2565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612dc061255e565b8786866040518563ffffffff1660e01b8152600401612de29493929190613a4b565b602060405180830381600087803b158015612dfc57600080fd5b505af1925050508015612e2d57506040513d601f19601f82011682018060405250810190612e2a919061371a565b60015b612ea7573d8060008114612e5d576040519150601f19603f3d011682016040523d82523d6000602084013e612e62565b606091505b50600081511415612e9f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060148054612f0990613e80565b80601f0160208091040260200160405190810160405280929190818152602001828054612f3590613e80565b8015612f825780601f10612f5757610100808354040283529160200191612f82565b820191906000526020600020905b815481529060010190602001808311612f6557829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b8015612fd257600183039250600a81066030018353600a81049050612fb2565b508181036020830392508083525050919050565b50505050565b50505050565b600080549050600061300385612cac565b141561303b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000831415613076576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6130836000858386612fe6565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e16130e860018514613283565b901b60a042901b6130f886612cac565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b146131fc575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46131ac6000878480600101955087612d9a565b6131e2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821061313d5782600054146131f757600080fd5b613267565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106131fd575b81600081905550505061327d6000858386612fec565b50505050565b6000819050919050565b82805461329990613e80565b90600052602060002090601f0160209004810192826132bb5760008555613302565b82601f106132d457803560ff1916838001178555613302565b82800160010185558215613302579182015b828111156133015782358255916020019190600101906132e6565b5b50905061330f9190613313565b5090565b5b8082111561332c576000816000905550600101613314565b5090565b600061334361333e84613c34565b613c0f565b90508281526020810184848401111561335f5761335e614026565b5b61336a848285613e3e565b509392505050565b6000813590506133818161424f565b92915050565b60008083601f84011261339d5761339c61401c565b5b8235905067ffffffffffffffff8111156133ba576133b9614017565b5b6020830191508360208202830111156133d6576133d5614021565b5b9250929050565b6000813590506133ec81614266565b92915050565b6000813590506134018161427d565b92915050565b6000815190506134168161427d565b92915050565b600082601f8301126134315761343061401c565b5b8135613441848260208601613330565b91505092915050565b60008083601f8401126134605761345f61401c565b5b8235905067ffffffffffffffff81111561347d5761347c614017565b5b60208301915083600182028301111561349957613498614021565b5b9250929050565b6000813590506134af81614294565b92915050565b6000813590506134c4816142ab565b92915050565b6000602082840312156134e0576134df614030565b5b60006134ee84828501613372565b91505092915050565b6000806040838503121561350e5761350d614030565b5b600061351c85828601613372565b925050602061352d85828601613372565b9150509250929050565b6000806000606084860312156135505761354f614030565b5b600061355e86828701613372565b935050602061356f86828701613372565b9250506040613580868287016134a0565b9150509250925092565b600080600080608085870312156135a4576135a3614030565b5b60006135b287828801613372565b94505060206135c387828801613372565b93505060406135d4878288016134a0565b925050606085013567ffffffffffffffff8111156135f5576135f461402b565b5b6136018782880161341c565b91505092959194509250565b6000806040838503121561362457613623614030565b5b600061363285828601613372565b9250506020613643858286016133dd565b9150509250929050565b6000806040838503121561366457613663614030565b5b600061367285828601613372565b9250506020613683858286016134a0565b9150509250929050565b6000806000604084860312156136a6576136a5614030565b5b600084013567ffffffffffffffff8111156136c4576136c361402b565b5b6136d086828701613387565b935093505060206136e3868287016134b5565b9150509250925092565b60006020828403121561370357613702614030565b5b6000613711848285016133f2565b91505092915050565b6000602082840312156137305761372f614030565b5b600061373e84828501613407565b91505092915050565b6000806020838503121561375e5761375d614030565b5b600083013567ffffffffffffffff81111561377c5761377b61402b565b5b6137888582860161344a565b92509250509250929050565b6000602082840312156137aa576137a9614030565b5b60006137b8848285016134a0565b91505092915050565b600080604083850312156137d8576137d7614030565b5b60006137e6858286016134a0565b92505060206137f785828601613372565b9150509250929050565b61380a81613dbd565b82525050565b61381981613dcf565b82525050565b600061382a82613c65565b6138348185613c7b565b9350613844818560208601613e4d565b61384d81614035565b840191505092915050565b600061386382613c70565b61386d8185613c8c565b935061387d818560208601613e4d565b61388681614035565b840191505092915050565b600061389c82613c70565b6138a68185613c9d565b93506138b6818560208601613e4d565b80840191505092915050565b60006138cf602483613c8c565b91506138da82614046565b604082019050919050565b60006138f2602683613c8c565b91506138fd82614095565b604082019050919050565b6000613915601183613c8c565b9150613920826140e4565b602082019050919050565b6000613938601283613c8c565b91506139438261410d565b602082019050919050565b600061395b601683613c8c565b915061396682614136565b602082019050919050565b600061397e604483613c8c565b91506139898261415f565b606082019050919050565b60006139a1602083613c8c565b91506139ac826141d4565b602082019050919050565b60006139c4601083613c8c565b91506139cf826141fd565b602082019050919050565b60006139e7601583613c8c565b91506139f282614226565b602082019050919050565b613a0681613e27565b82525050565b6000613a188285613891565b9150613a248284613891565b91508190509392505050565b6000602082019050613a456000830184613801565b92915050565b6000608082019050613a606000830187613801565b613a6d6020830186613801565b613a7a60408301856139fd565b8181036060830152613a8c818461381f565b905095945050505050565b6000602082019050613aac6000830184613810565b92915050565b60006020820190508181036000830152613acc8184613858565b905092915050565b60006020820190508181036000830152613aed816138c2565b9050919050565b60006020820190508181036000830152613b0d816138e5565b9050919050565b60006020820190508181036000830152613b2d81613908565b9050919050565b60006020820190508181036000830152613b4d8161392b565b9050919050565b60006020820190508181036000830152613b6d8161394e565b9050919050565b60006020820190508181036000830152613b8d81613971565b9050919050565b60006020820190508181036000830152613bad81613994565b9050919050565b60006020820190508181036000830152613bcd816139b7565b9050919050565b60006020820190508181036000830152613bed816139da565b9050919050565b6000602082019050613c0960008301846139fd565b92915050565b6000613c19613c2a565b9050613c258282613eb2565b919050565b6000604051905090565b600067ffffffffffffffff821115613c4f57613c4e613fe8565b5b613c5882614035565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613cb382613e27565b9150613cbe83613e27565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613cf357613cf2613f2c565b5b828201905092915050565b6000613d0982613e27565b9150613d1483613e27565b925082613d2457613d23613f5b565b5b828204905092915050565b6000613d3a82613e27565b9150613d4583613e27565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613d7e57613d7d613f2c565b5b828202905092915050565b6000613d9482613e27565b9150613d9f83613e27565b925082821015613db257613db1613f2c565b5b828203905092915050565b6000613dc882613e07565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015613e6b578082015181840152602081019050613e50565b83811115613e7a576000848401525b50505050565b60006002820490506001821680613e9857607f821691505b60208210811415613eac57613eab613f8a565b5b50919050565b613ebb82614035565b810181811067ffffffffffffffff82111715613eda57613ed9613fe8565b5b80604052505050565b6000613eee82613e27565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613f2157613f20613f2c565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f457863656564656420746865207075626c696320616c6c6f636174696f6e206c60008201527f696d697400000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5075626c696373616c6520636c6f736564000000000000000000000000000000600082015250565b7f457863656564656420746865206c696d69740000000000000000000000000000600082015250565b7f4e6f7420656e6f75676820746f6b656e73206c65667400000000000000000000600082015250565b7f596f752061726520747279696e6720746f20627579206d6f7265207468656e2060008201527f796f752063616e20636c61696d2e20506c65617365206669782074686520616d60208201527f6f756e7400000000000000000000000000000000000000000000000000000000604082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f46726565206d696e7420636c6f73656400000000000000000000000000000000600082015250565b7f4e6f7420656e6f7567682065746865722073656e740000000000000000000000600082015250565b61425881613dbd565b811461426357600080fd5b50565b61426f81613dcf565b811461427a57600080fd5b50565b61428681613ddb565b811461429157600080fd5b50565b61429d81613e27565b81146142a857600080fd5b50565b6142b481613e31565b81146142bf57600080fd5b5056fea2646970667358221220296e9e28d379512206c49a14bff617dbf72fbf4f8761b0e47ab0ffb2d1c22f2f64736f6c63430008070033
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.