ERC-721
Overview
Max Total Supply
13,155 W3W
Holders
1,704
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
5 W3WLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Web3Warriors
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.....................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...........................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.....*******#######%%%%%%%.....@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@......*******#######%%%%%%%......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@......*******#######%%%%%%%......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@......#######%%%%%%%*******......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@......#######%%%%%%%*/***/*......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@......#######%%%%%%%*******......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@......*******#######%%%%%%%......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@......*******#######%%%%%%%......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@......*******#######%%%%%%%......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@......%%%%%%%*******#######......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@......%%%%%%%*******#######......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@......%%%%%%%*******#######......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@......*******#######%%%%%%%......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@......*******#######%%%%%%%......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@....*******#######%%%%%%%....@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.........................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@&.........@@@@@#............@@@@....@@@@@@@@@....@@@@..........@@@@@@@@..........@@@@@...............@....@@@@@@@@@....@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@...............@@#..............*@@....&@@@@@&....@@@..............@@@&..............@@@...............@@....%@@@@@@....@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@&....@@@@@@@....@@#...*@@@@@@@....@@@....,@@@.....@@@....@@@@@@@@....@@....@@@@@@@@....@@....@@@@@@@@@@@@@@.....@@@,....@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@&....@@@@@@@....@@#...*@@@@@@@....@@@@.....@.....@@@@.....@@@@@@@....@@.....@@@@@@@....@@....@@@@@@@@@@@@@@@.....@.....@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@&....@@@@@@@....@@#...*@@@@@@@....@@@@@/.......%@@@@@@*........@@@@@@@@@,........@@@@@@@@..............@@@@@@#......./@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@&....@@@@@@@....@@#...*@@@@@@@....@@@@@@@.....@@@@@@@@@@@@@........&@@@@@@@@@........@@@@..............@@@@@@@@.....@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@&....@@@@@@@....@@#...*@@@@@@@....@@@@@@@*...(@@@@@@@....@@@@@@&.....@@....@@@@@@#.....@@....@@@@@@@@@@@@@@@@@@(...*@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@&....@@@@@@@....@@#...*@@@@@@@....@@@@@@@*...(@@@@@@@....@@@@@@@@....@@....@@@@@@@@....@@....@@@@@@@@@@@@@@@@@@(...*@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@...............@@#...............@@@@@@@*...(@@@@@@@&..............@@@%..............@@@...............@@@@@@@(...*@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@/.........@@@@@#............@@@@@@@@@@*...(@@@@@@@@@@..........@@@@@@@@..........@@@@@...............@@@@@@@(...*@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...............................................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@....@@..........@@@@....@@@@@@@@@.@@@@@@@@@....@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@....@@.........@@@@@@...@@%...(@@.@@@....@@....@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@....@@.........@@..@@*..@@@@@@@@@....@@@@@.....@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@....@@........@@@@@@@@..@@%....@@.@@@....@@....@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@....@@@@@@@@.@@@....#@@.@@@@@@@@,..@@@@@@@(....@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...............................................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.10; import "./ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; contract Web3Warriors is ERC721A, Ownable, ReentrancyGuard { using Strings for uint256; string public baseURI; string public baseExtension = ".json"; //sale settings uint256 public presaleCost = 0 ether; uint256 public publicMintCost = 0 ether; uint256 public maxSupply = 10000; uint256 public maxMint = 5; bool public status = true; bool public burnStatus = false; //presale settings uint256 public presaleDate = 1657892220; uint256 public publicMintDate = 1658332800; mapping(address => uint256) public presaleWhitelist; constructor( string memory _name, string memory _symbol, string memory _initBaseURI ) ERC721A(_name, _symbol) { setBaseURI(_initBaseURI); } // internal function _baseURI() internal view virtual override returns (string memory) { return baseURI; } // public minting function MintTo(address _sendTo, uint256 _mintAmount) public payable nonReentrant { uint256 s = totalSupply(); require(status, "Off"); require(_mintAmount > 0, "Duh"); require(_mintAmount <= maxMint, "Too many"); require(s + _mintAmount <= maxSupply, "Sorry"); require(msg.value >= publicMintCost * _mintAmount); _safeMint(_sendTo, _mintAmount, ""); delete s; } function mint(uint256 _mintAmount) external payable nonReentrant { require(publicMintDate <= block.timestamp, "Not yet"); uint256 s = totalSupply(); require(status, "Off"); require(_mintAmount > 0, "Duh"); require(_mintAmount <= maxMint, "Too many"); require(s + _mintAmount <= maxSupply, "Sorry"); require(msg.value >= publicMintCost * _mintAmount); _safeMint(msg.sender, _mintAmount, ""); delete s; } function mintPresale(uint256 _mintAmount) external payable { require(presaleDate <= block.timestamp, "Not yet"); require(publicMintDate >= block.timestamp, "Too late"); uint256 s = totalSupply(); uint256 reserve = presaleWhitelist[msg.sender]; require(status, "Off"); require(reserve > 0, "Low reserve"); require(_mintAmount <= reserve, "Try less"); require(s + _mintAmount <= maxSupply, "More than max"); require(presaleCost * _mintAmount == msg.value, "Wrong amount"); presaleWhitelist[msg.sender] = reserve - _mintAmount; delete reserve; _safeMint(msg.sender, _mintAmount, ""); delete s; } function burn(uint256 tokenId) public { require(burnStatus,"Not yet"); _burn(tokenId,true); } // admin minting function gift(uint256[] calldata quantity, address[] calldata recipient) external onlyOwner { require( quantity.length == recipient.length, "Provide quantities and recipients" ); uint256 totalQuantity = 0; uint256 s = totalSupply(); for (uint256 i = 0; i < quantity.length; ++i) { totalQuantity += quantity[i]; } require(s + totalQuantity <= maxSupply, "Too many"); delete totalQuantity; for (uint256 i = 0; i < recipient.length; ++i) { _safeMint(recipient[i], quantity[i], ""); } delete s; } // admin functionality function presaleSet( address[] calldata _addresses, uint256[] calldata _amounts ) external onlyOwner { for (uint256 i; i < _addresses.length; i++) { presaleWhitelist[_addresses[i]] = _amounts[i]; } } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: Nonexistent token"); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, tokenId.toString(),baseExtension)) : ""; } function setPublicMintCost(uint256 _newCost) public onlyOwner { publicMintCost = _newCost; } function setPresaleCost(uint256 _newCost) public onlyOwner { presaleCost = _newCost; } function setPresaleDate(uint256 _date) public onlyOwner { presaleDate = _date; } function setPublicMintDate(uint256 _date) public onlyOwner { publicMintDate = _date; } function setMaxMintAmount(uint256 _newMaxMintAmount) public onlyOwner { maxMint = _newMaxMintAmount; } function setmaxSupply(uint256 _newMaxSupply) public onlyOwner { maxSupply = _newMaxSupply; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setSaleStatus(bool _status) public onlyOwner { status = _status; } function setBurnStatus(bool _status) public onlyOwner { burnStatus = _status; } function withdraw() public payable onlyOwner { (bool success, ) = payable(msg.sender).call{ value: address(this).balance }(""); require(success); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.1.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 bit position of `extraData` in packed ownership. uint256 private constant BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with `_mintERC2309`. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to `_mintERC2309` // is required to cause an overflow, which is unrealistic. uint256 private constant MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // 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` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary 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 auxiliary 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; // Cast `aux` with assembly to avoid redundant masking. assembly { 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; ownership.extraData = uint24(packed >> BITPOS_EXTRA_DATA); } /** * 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 Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, BITMASK_ADDRESS) // `owner | (block.timestamp << BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @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, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << BITPOS_NEXT_INITIALIZED`. result := shl(BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-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 { transferFrom(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. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _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] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 tokenId = startTokenId; uint256 end = startTokenId + quantity; do { emit Transfer(address(0), to, tokenId++); } while (tokenId < end); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _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] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { // Compute the slot. mstore(0x00, tokenId) mstore(0x20, tokenApprovalsPtr.slot) approvedAddressSlot := keccak256(0x00, 0x40) // Load the slot's value from storage. approvedAddress := sload(approvedAddressSlot) } } /** * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`. */ function _isOwnerOrApproved( address approvedAddress, address from, address msgSender ) private pure returns (bool result) { assembly { // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from := and(from, BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, BITMASK_ADDRESS) // `msgSender == from || msgSender == approvedAddress`. result := or(eq(msgSender, from), eq(msgSender, approvedAddress)) } } /** * @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 transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // 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] = _packOwnershipData( to, BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // 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)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // 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] = _packOwnershipData( from, (BITMASK_BURNED | BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // 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 Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << BITPOS_EXTRA_DATA; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * 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 _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @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.0 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev 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 // OpenZeppelin Contracts v4.4.0 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); 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; // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`. uint24 extraData; } /** * @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); // ============================== // IERC2309 // ============================== /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`, * as defined in the ERC2309 standard. See `_mintERC2309` for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","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":"_sendTo","type":"address"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"MintTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnStatus","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":"uint256[]","name":"quantity","type":"uint256[]"},{"internalType":"address[]","name":"recipient","type":"address[]"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mintPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"presaleSet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presaleWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"setBurnStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxMintAmount","type":"uint256"}],"name":"setMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setPresaleCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_date","type":"uint256"}],"name":"setPresaleDate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setPublicMintCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_date","type":"uint256"}],"name":"setPublicMintDate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"setSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxSupply","type":"uint256"}],"name":"setmaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"status","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60806040526040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600b90805190602001906200005192919062000316565b506000600c556000600d55612710600e556005600f556001601060006101000a81548160ff0219169083151502179055506000601060016101000a81548160ff0219169083151502179055506362d16d7c6011556362d82680601255348015620000ba57600080fd5b5060405162004e7a38038062004e7a8339818101604052810190620000e0919062000563565b82828160029080519060200190620000fa92919062000316565b5080600390805190602001906200011392919062000316565b50620001246200016e60201b60201c565b60008190555050506200014c620001406200017360201b60201c565b6200017b60201b60201c565b600160098190555062000165816200024160201b60201c565b50505062000704565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002516200017360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000277620002ec60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002d0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002c7906200067d565b60405180910390fd5b80600a9080519060200190620002e892919062000316565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200032490620006ce565b90600052602060002090601f01602090048101928262000348576000855562000394565b82601f106200036357805160ff191683800117855562000394565b8280016001018555821562000394579182015b828111156200039357825182559160200191906001019062000376565b5b509050620003a39190620003a7565b5090565b5b80821115620003c2576000816000905550600101620003a8565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200042f82620003e4565b810181811067ffffffffffffffff82111715620004515762000450620003f5565b5b80604052505050565b600062000466620003c6565b905062000474828262000424565b919050565b600067ffffffffffffffff821115620004975762000496620003f5565b5b620004a282620003e4565b9050602081019050919050565b60005b83811015620004cf578082015181840152602081019050620004b2565b83811115620004df576000848401525b50505050565b6000620004fc620004f68462000479565b6200045a565b9050828152602081018484840111156200051b576200051a620003df565b5b62000528848285620004af565b509392505050565b600082601f830112620005485762000547620003da565b5b81516200055a848260208601620004e5565b91505092915050565b6000806000606084860312156200057f576200057e620003d0565b5b600084015167ffffffffffffffff811115620005a0576200059f620003d5565b5b620005ae8682870162000530565b935050602084015167ffffffffffffffff811115620005d257620005d1620003d5565b5b620005e08682870162000530565b925050604084015167ffffffffffffffff811115620006045762000603620003d5565b5b620006128682870162000530565b9150509250925092565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000620006656020836200061c565b915062000672826200062d565b602082019050919050565b60006020820190508181036000830152620006988162000656565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620006e757607f821691505b60208210811415620006fe57620006fd6200069f565b5b50919050565b61476680620007146000396000f3fe6080604052600436106102675760003560e01c80637501f74111610144578063a22cb465116100b6578063d5abeb011161007a578063d5abeb01146108b5578063d897833e146108e0578063e985e9c514610909578063eb8835ab14610946578063f2fde38b14610983578063f759867a146109ac57610267565b8063a22cb465146107d0578063b88d4fde146107f9578063c668286214610822578063c87b56dd1461084d578063c889004b1461088a57610267565b80638fdcf942116101085780638fdcf942146106e357806390e0d9921461070c57806395d89b411461073757806396ea3a471461076257806397a2d0eb1461078b578063a0712d68146107b457610267565b80637501f7411461061057806380eae5781461063b57806382b23e88146106645780638c7700671461068d5780638da5cb5b146106b857610267565b80632a23d07d116101dd57806355f804b3116101a157806355f804b3146105025780636352211e1461052b5780636c0360eb1461056857806370a0823114610593578063715018a6146105d0578063732e71ef146105e757610267565b80632a23d07d1461045f5780632ccee9be1461048a5780633ccfd60b146104a657806342842e0e146104b057806342966c68146104d957610267565b8063095ea7b31161022f578063095ea7b31461036557806318160ddd1461038e5780631ee34fab146103b9578063200d2ed2146103e2578063228025e81461040d57806323b872dd1461043657610267565b806301ffc9a71461026c57806306fdde03146102a9578063074a130d146102d4578063081812fc146102ff578063088a4ed01461033c575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e919061339d565b6109c8565b6040516102a091906133e5565b60405180910390f35b3480156102b557600080fd5b506102be610a5a565b6040516102cb9190613499565b60405180910390f35b3480156102e057600080fd5b506102e9610aec565b6040516102f691906134d4565b60405180910390f35b34801561030b57600080fd5b506103266004803603810190610321919061351b565b610af2565b6040516103339190613589565b60405180910390f35b34801561034857600080fd5b50610363600480360381019061035e919061351b565b610b6e565b005b34801561037157600080fd5b5061038c600480360381019061038791906135d0565b610bf4565b005b34801561039a57600080fd5b506103a3610d35565b6040516103b091906134d4565b60405180910390f35b3480156103c557600080fd5b506103e060048036038101906103db919061351b565b610d4c565b005b3480156103ee57600080fd5b506103f7610dd2565b60405161040491906133e5565b60405180910390f35b34801561041957600080fd5b50610434600480360381019061042f919061351b565b610de5565b005b34801561044257600080fd5b5061045d60048036038101906104589190613610565b610e6b565b005b34801561046b57600080fd5b50610474611190565b60405161048191906134d4565b60405180910390f35b6104a4600480360381019061049f91906135d0565b611196565b005b6104ae61135c565b005b3480156104bc57600080fd5b506104d760048036038101906104d29190613610565b611451565b005b3480156104e557600080fd5b5061050060048036038101906104fb919061351b565b611471565b005b34801561050e57600080fd5b5061052960048036038101906105249190613798565b6114ce565b005b34801561053757600080fd5b50610552600480360381019061054d919061351b565b611564565b60405161055f9190613589565b60405180910390f35b34801561057457600080fd5b5061057d611576565b60405161058a9190613499565b60405180910390f35b34801561059f57600080fd5b506105ba60048036038101906105b591906137e1565b611604565b6040516105c791906134d4565b60405180910390f35b3480156105dc57600080fd5b506105e56116bd565b005b3480156105f357600080fd5b5061060e600480360381019061060991906138c4565b611745565b005b34801561061c57600080fd5b5061062561186d565b60405161063291906134d4565b60405180910390f35b34801561064757600080fd5b50610662600480360381019061065d919061351b565b611873565b005b34801561067057600080fd5b5061068b6004803603810190610686919061351b565b6118f9565b005b34801561069957600080fd5b506106a261197f565b6040516106af91906134d4565b60405180910390f35b3480156106c457600080fd5b506106cd611985565b6040516106da9190613589565b60405180910390f35b3480156106ef57600080fd5b5061070a6004803603810190610705919061351b565b6119af565b005b34801561071857600080fd5b50610721611a35565b60405161072e91906133e5565b60405180910390f35b34801561074357600080fd5b5061074c611a48565b6040516107599190613499565b60405180910390f35b34801561076e57600080fd5b5061078960048036038101906107849190613945565b611ada565b005b34801561079757600080fd5b506107b260048036038101906107ad91906139f2565b611ccc565b005b6107ce60048036038101906107c9919061351b565b611d65565b005b3480156107dc57600080fd5b506107f760048036038101906107f29190613a1f565b611f6f565b005b34801561080557600080fd5b50610820600480360381019061081b9190613b00565b6120e7565b005b34801561082e57600080fd5b5061083761215a565b6040516108449190613499565b60405180910390f35b34801561085957600080fd5b50610874600480360381019061086f919061351b565b6121e8565b6040516108819190613499565b60405180910390f35b34801561089657600080fd5b5061089f612292565b6040516108ac91906134d4565b60405180910390f35b3480156108c157600080fd5b506108ca612298565b6040516108d791906134d4565b60405180910390f35b3480156108ec57600080fd5b50610907600480360381019061090291906139f2565b61229e565b005b34801561091557600080fd5b50610930600480360381019061092b9190613b83565b612337565b60405161093d91906133e5565b60405180910390f35b34801561095257600080fd5b5061096d600480360381019061096891906137e1565b6123cb565b60405161097a91906134d4565b60405180910390f35b34801561098f57600080fd5b506109aa60048036038101906109a591906137e1565b6123e3565b005b6109c660048036038101906109c1919061351b565b6124db565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a2357506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a535750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610a6990613bf2565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9590613bf2565b8015610ae25780601f10610ab757610100808354040283529160200191610ae2565b820191906000526020600020905b815481529060010190602001808311610ac557829003601f168201915b5050505050905090565b60125481565b6000610afd8261279f565b610b33576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610b766127fe565b73ffffffffffffffffffffffffffffffffffffffff16610b94611985565b73ffffffffffffffffffffffffffffffffffffffff1614610bea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be190613c70565b60405180910390fd5b80600f8190555050565b6000610bff82611564565b90508073ffffffffffffffffffffffffffffffffffffffff16610c20612806565b73ffffffffffffffffffffffffffffffffffffffff1614610c8357610c4c81610c47612806565b612337565b610c82576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610d3f61280e565b6001546000540303905090565b610d546127fe565b73ffffffffffffffffffffffffffffffffffffffff16610d72611985565b73ffffffffffffffffffffffffffffffffffffffff1614610dc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbf90613c70565b60405180910390fd5b8060128190555050565b601060009054906101000a900460ff1681565b610ded6127fe565b73ffffffffffffffffffffffffffffffffffffffff16610e0b611985565b73ffffffffffffffffffffffffffffffffffffffff1614610e61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5890613c70565b60405180910390fd5b80600e8190555050565b6000610e7682612813565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610edd576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610ee9846128e1565b91509150610eff8187610efa612806565b612903565b610f4b57610f1486610f0f612806565b612337565b610f4a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610fb2576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610fbf8686866001612947565b8015610fca57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506110988561107488888761294d565b7c020000000000000000000000000000000000000000000000000000000017612975565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416141561112057600060018501905060006004600083815260200190815260200160002054141561111e57600054811461111d578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461118886868660016129a0565b505050505050565b600c5481565b600260095414156111dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d390613cdc565b60405180910390fd5b600260098190555060006111ee610d35565b9050601060009054906101000a900460ff1661123f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123690613d48565b60405180910390fd5b60008211611282576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127990613db4565b60405180910390fd5b600f548211156112c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112be90613e20565b60405180910390fd5b600e5482826112d69190613e6f565b1115611317576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130e90613f11565b60405180910390fd5b81600d546113259190613f31565b34101561133157600080fd5b61134b8383604051806020016040528060008152506129a6565b600090505060016009819055505050565b6113646127fe565b73ffffffffffffffffffffffffffffffffffffffff16611382611985565b73ffffffffffffffffffffffffffffffffffffffff16146113d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113cf90613c70565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff16476040516113fe90613fbc565b60006040518083038185875af1925050503d806000811461143b576040519150601f19603f3d011682016040523d82523d6000602084013e611440565b606091505b505090508061144e57600080fd5b50565b61146c838383604051806020016040528060008152506120e7565b505050565b601060019054906101000a900460ff166114c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b79061401d565b60405180910390fd5b6114cb816001612a43565b50565b6114d66127fe565b73ffffffffffffffffffffffffffffffffffffffff166114f4611985565b73ffffffffffffffffffffffffffffffffffffffff161461154a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154190613c70565b60405180910390fd5b80600a908051906020019061156092919061328e565b5050565b600061156f82612813565b9050919050565b600a805461158390613bf2565b80601f01602080910402602001604051908101604052809291908181526020018280546115af90613bf2565b80156115fc5780601f106115d1576101008083540402835291602001916115fc565b820191906000526020600020905b8154815290600101906020018083116115df57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561166c576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6116c56127fe565b73ffffffffffffffffffffffffffffffffffffffff166116e3611985565b73ffffffffffffffffffffffffffffffffffffffff1614611739576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173090613c70565b60405180910390fd5b6117436000612c97565b565b61174d6127fe565b73ffffffffffffffffffffffffffffffffffffffff1661176b611985565b73ffffffffffffffffffffffffffffffffffffffff16146117c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b890613c70565b60405180910390fd5b60005b84849050811015611866578282828181106117e2576117e161403d565b5b9050602002013560136000878785818110611800576117ff61403d565b5b905060200201602081019061181591906137e1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808061185e9061406c565b9150506117c4565b5050505050565b600f5481565b61187b6127fe565b73ffffffffffffffffffffffffffffffffffffffff16611899611985565b73ffffffffffffffffffffffffffffffffffffffff16146118ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e690613c70565b60405180910390fd5b80600d8190555050565b6119016127fe565b73ffffffffffffffffffffffffffffffffffffffff1661191f611985565b73ffffffffffffffffffffffffffffffffffffffff1614611975576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196c90613c70565b60405180910390fd5b8060118190555050565b600d5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6119b76127fe565b73ffffffffffffffffffffffffffffffffffffffff166119d5611985565b73ffffffffffffffffffffffffffffffffffffffff1614611a2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2290613c70565b60405180910390fd5b80600c8190555050565b601060019054906101000a900460ff1681565b606060038054611a5790613bf2565b80601f0160208091040260200160405190810160405280929190818152602001828054611a8390613bf2565b8015611ad05780601f10611aa557610100808354040283529160200191611ad0565b820191906000526020600020905b815481529060010190602001808311611ab357829003601f168201915b5050505050905090565b611ae26127fe565b73ffffffffffffffffffffffffffffffffffffffff16611b00611985565b73ffffffffffffffffffffffffffffffffffffffff1614611b56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4d90613c70565b60405180910390fd5b818190508484905014611b9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9590614127565b60405180910390fd5b600080611ba9610d35565b905060005b86869050811015611bf157868682818110611bcc57611bcb61403d565b5b9050602002013583611bde9190613e6f565b925080611bea9061406c565b9050611bae565b50600e548282611c019190613e6f565b1115611c42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3990613e20565b60405180910390fd5b6000915060005b84849050811015611cbf57611cae858583818110611c6a57611c6961403d565b5b9050602002016020810190611c7f91906137e1565b888884818110611c9257611c9161403d565b5b90506020020135604051806020016040528060008152506129a6565b80611cb89061406c565b9050611c49565b5060009050505050505050565b611cd46127fe565b73ffffffffffffffffffffffffffffffffffffffff16611cf2611985565b73ffffffffffffffffffffffffffffffffffffffff1614611d48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3f90613c70565b60405180910390fd5b80601060016101000a81548160ff02191690831515021790555050565b60026009541415611dab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da290613cdc565b60405180910390fd5b6002600981905550426012541115611df8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611def9061401d565b60405180910390fd5b6000611e02610d35565b9050601060009054906101000a900460ff16611e53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4a90613d48565b60405180910390fd5b60008211611e96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8d90613db4565b60405180910390fd5b600f54821115611edb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed290613e20565b60405180910390fd5b600e548282611eea9190613e6f565b1115611f2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2290613f11565b60405180910390fd5b81600d54611f399190613f31565b341015611f4557600080fd5b611f5f3383604051806020016040528060008152506129a6565b6000905050600160098190555050565b611f77612806565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fdc576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611fe9612806565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612096612806565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120db91906133e5565b60405180910390a35050565b6120f2848484610e6b565b60008373ffffffffffffffffffffffffffffffffffffffff163b146121545761211d84848484612d5d565b612153576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600b805461216790613bf2565b80601f016020809104026020016040519081016040528092919081815260200182805461219390613bf2565b80156121e05780601f106121b5576101008083540402835291602001916121e0565b820191906000526020600020905b8154815290600101906020018083116121c357829003601f168201915b505050505081565b60606121f38261279f565b612232576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612229906141b9565b60405180910390fd5b600061223c612eae565b9050600081511161225c576040518060200160405280600081525061228a565b8061226684612f40565b600b60405160200161227a939291906142a9565b6040516020818303038152906040525b915050919050565b60115481565b600e5481565b6122a66127fe565b73ffffffffffffffffffffffffffffffffffffffff166122c4611985565b73ffffffffffffffffffffffffffffffffffffffff161461231a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231190613c70565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60136020528060005260406000206000915090505481565b6123eb6127fe565b73ffffffffffffffffffffffffffffffffffffffff16612409611985565b73ffffffffffffffffffffffffffffffffffffffff161461245f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245690613c70565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156124cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c69061434c565b60405180910390fd5b6124d881612c97565b50565b426011541115612520576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125179061401d565b60405180910390fd5b426012541015612565576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255c906143b8565b60405180910390fd5b600061256f610d35565b90506000601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050601060009054906101000a900460ff16612604576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125fb90613d48565b60405180910390fd5b60008111612647576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263e90614424565b60405180910390fd5b8083111561268a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268190614490565b60405180910390fd5b600e5483836126999190613e6f565b11156126da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d1906144fc565b60405180910390fd5b3483600c546126e99190613f31565b14612729576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272090614568565b60405180910390fd5b82816127359190614588565b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600090506127963384604051806020016040528060008152506129a6565b60009150505050565b6000816127aa61280e565b111580156127b9575060005482105b80156127f7575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600033905090565b600090565b6000808290508061282261280e565b116128aa576000548110156128a95760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821614156128a7575b600081141561289d576004600083600190039350838152602001908152602001600020549050612872565b80925050506128dc565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86129648686846130a1565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6129b083836130aa565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612a3e57600080549050600083820390505b6129f06000868380600101945086612d5d565b612a26576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106129dd578160005414612a3b57600080fd5b50505b505050565b6000612a4e83612813565b90506000819050600080612a61866128e1565b915091508415612aca57612a7d8184612a78612806565b612903565b612ac957612a9283612a8d612806565b612337565b612ac8576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b612ad8836000886001612947565b8015612ae357600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612b8b83612b488560008861294d565b7c02000000000000000000000000000000000000000000000000000000007c01000000000000000000000000000000000000000000000000000000001717612975565b600460008881526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000085161415612c13576000600187019050600060046000838152602001908152602001600020541415612c11576000548114612c10578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c7d8360008860016129a0565b600160008154809291906001019190505550505050505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d83612806565b8786866040518563ffffffff1660e01b8152600401612da59493929190614611565b6020604051808303816000875af1925050508015612de157506040513d601f19601f82011682018060405250810190612dde9190614672565b60015b612e5b573d8060008114612e11576040519150601f19603f3d011682016040523d82523d6000602084013e612e16565b606091505b50600081511415612e53576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a8054612ebd90613bf2565b80601f0160208091040260200160405190810160405280929190818152602001828054612ee990613bf2565b8015612f365780601f10612f0b57610100808354040283529160200191612f36565b820191906000526020600020905b815481529060010190602001808311612f1957829003601f168201915b5050505050905090565b60606000821415612f88576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061309c565b600082905060005b60008214612fba578080612fa39061406c565b915050600a82612fb391906146ce565b9150612f90565b60008167ffffffffffffffff811115612fd657612fd561366d565b5b6040519080825280601f01601f1916602001820160405280156130085781602001600182028036833780820191505090505b5090505b60008514613095576001826130219190614588565b9150600a8561303091906146ff565b603061303c9190613e6f565b60f81b8183815181106130525761305161403d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561308e91906146ce565b945061300c565b8093505050505b919050565b60009392505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613117576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415613152576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61315f6000848385612947565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506131d6836131c7600086600061294d565b6131d08561327e565b17612975565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106131fa5780600081905550505061327960008483856129a0565b505050565b60006001821460e11b9050919050565b82805461329a90613bf2565b90600052602060002090601f0160209004810192826132bc5760008555613303565b82601f106132d557805160ff1916838001178555613303565b82800160010185558215613303579182015b828111156133025782518255916020019190600101906132e7565b5b5090506133109190613314565b5090565b5b8082111561332d576000816000905550600101613315565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61337a81613345565b811461338557600080fd5b50565b60008135905061339781613371565b92915050565b6000602082840312156133b3576133b261333b565b5b60006133c184828501613388565b91505092915050565b60008115159050919050565b6133df816133ca565b82525050565b60006020820190506133fa60008301846133d6565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561343a57808201518184015260208101905061341f565b83811115613449576000848401525b50505050565b6000601f19601f8301169050919050565b600061346b82613400565b613475818561340b565b935061348581856020860161341c565b61348e8161344f565b840191505092915050565b600060208201905081810360008301526134b38184613460565b905092915050565b6000819050919050565b6134ce816134bb565b82525050565b60006020820190506134e960008301846134c5565b92915050565b6134f8816134bb565b811461350357600080fd5b50565b600081359050613515816134ef565b92915050565b6000602082840312156135315761353061333b565b5b600061353f84828501613506565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061357382613548565b9050919050565b61358381613568565b82525050565b600060208201905061359e600083018461357a565b92915050565b6135ad81613568565b81146135b857600080fd5b50565b6000813590506135ca816135a4565b92915050565b600080604083850312156135e7576135e661333b565b5b60006135f5858286016135bb565b925050602061360685828601613506565b9150509250929050565b6000806000606084860312156136295761362861333b565b5b6000613637868287016135bb565b9350506020613648868287016135bb565b925050604061365986828701613506565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6136a58261344f565b810181811067ffffffffffffffff821117156136c4576136c361366d565b5b80604052505050565b60006136d7613331565b90506136e3828261369c565b919050565b600067ffffffffffffffff8211156137035761370261366d565b5b61370c8261344f565b9050602081019050919050565b82818337600083830152505050565b600061373b613736846136e8565b6136cd565b90508281526020810184848401111561375757613756613668565b5b613762848285613719565b509392505050565b600082601f83011261377f5761377e613663565b5b813561378f848260208601613728565b91505092915050565b6000602082840312156137ae576137ad61333b565b5b600082013567ffffffffffffffff8111156137cc576137cb613340565b5b6137d88482850161376a565b91505092915050565b6000602082840312156137f7576137f661333b565b5b6000613805848285016135bb565b91505092915050565b600080fd5b600080fd5b60008083601f84011261382e5761382d613663565b5b8235905067ffffffffffffffff81111561384b5761384a61380e565b5b60208301915083602082028301111561386757613866613813565b5b9250929050565b60008083601f84011261388457613883613663565b5b8235905067ffffffffffffffff8111156138a1576138a061380e565b5b6020830191508360208202830111156138bd576138bc613813565b5b9250929050565b600080600080604085870312156138de576138dd61333b565b5b600085013567ffffffffffffffff8111156138fc576138fb613340565b5b61390887828801613818565b9450945050602085013567ffffffffffffffff81111561392b5761392a613340565b5b6139378782880161386e565b925092505092959194509250565b6000806000806040858703121561395f5761395e61333b565b5b600085013567ffffffffffffffff81111561397d5761397c613340565b5b6139898782880161386e565b9450945050602085013567ffffffffffffffff8111156139ac576139ab613340565b5b6139b887828801613818565b925092505092959194509250565b6139cf816133ca565b81146139da57600080fd5b50565b6000813590506139ec816139c6565b92915050565b600060208284031215613a0857613a0761333b565b5b6000613a16848285016139dd565b91505092915050565b60008060408385031215613a3657613a3561333b565b5b6000613a44858286016135bb565b9250506020613a55858286016139dd565b9150509250929050565b600067ffffffffffffffff821115613a7a57613a7961366d565b5b613a838261344f565b9050602081019050919050565b6000613aa3613a9e84613a5f565b6136cd565b905082815260208101848484011115613abf57613abe613668565b5b613aca848285613719565b509392505050565b600082601f830112613ae757613ae6613663565b5b8135613af7848260208601613a90565b91505092915050565b60008060008060808587031215613b1a57613b1961333b565b5b6000613b28878288016135bb565b9450506020613b39878288016135bb565b9350506040613b4a87828801613506565b925050606085013567ffffffffffffffff811115613b6b57613b6a613340565b5b613b7787828801613ad2565b91505092959194509250565b60008060408385031215613b9a57613b9961333b565b5b6000613ba8858286016135bb565b9250506020613bb9858286016135bb565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613c0a57607f821691505b60208210811415613c1e57613c1d613bc3565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613c5a60208361340b565b9150613c6582613c24565b602082019050919050565b60006020820190508181036000830152613c8981613c4d565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613cc6601f8361340b565b9150613cd182613c90565b602082019050919050565b60006020820190508181036000830152613cf581613cb9565b9050919050565b7f4f66660000000000000000000000000000000000000000000000000000000000600082015250565b6000613d3260038361340b565b9150613d3d82613cfc565b602082019050919050565b60006020820190508181036000830152613d6181613d25565b9050919050565b7f4475680000000000000000000000000000000000000000000000000000000000600082015250565b6000613d9e60038361340b565b9150613da982613d68565b602082019050919050565b60006020820190508181036000830152613dcd81613d91565b9050919050565b7f546f6f206d616e79000000000000000000000000000000000000000000000000600082015250565b6000613e0a60088361340b565b9150613e1582613dd4565b602082019050919050565b60006020820190508181036000830152613e3981613dfd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613e7a826134bb565b9150613e85836134bb565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613eba57613eb9613e40565b5b828201905092915050565b7f536f727279000000000000000000000000000000000000000000000000000000600082015250565b6000613efb60058361340b565b9150613f0682613ec5565b602082019050919050565b60006020820190508181036000830152613f2a81613eee565b9050919050565b6000613f3c826134bb565b9150613f47836134bb565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613f8057613f7f613e40565b5b828202905092915050565b600081905092915050565b50565b6000613fa6600083613f8b565b9150613fb182613f96565b600082019050919050565b6000613fc782613f99565b9150819050919050565b7f4e6f742079657400000000000000000000000000000000000000000000000000600082015250565b600061400760078361340b565b915061401282613fd1565b602082019050919050565b6000602082019050818103600083015261403681613ffa565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614077826134bb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156140aa576140a9613e40565b5b600182019050919050565b7f50726f76696465207175616e74697469657320616e6420726563697069656e7460008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061411160218361340b565b915061411c826140b5565b604082019050919050565b6000602082019050818103600083015261414081614104565b9050919050565b7f4552433732314d657461646174613a204e6f6e6578697374656e7420746f6b6560008201527f6e00000000000000000000000000000000000000000000000000000000000000602082015250565b60006141a360218361340b565b91506141ae82614147565b604082019050919050565b600060208201905081810360008301526141d281614196565b9050919050565b600081905092915050565b60006141ef82613400565b6141f981856141d9565b935061420981856020860161341c565b80840191505092915050565b60008190508160005260206000209050919050565b6000815461423781613bf2565b61424181866141d9565b9450600182166000811461425c576001811461426d576142a0565b60ff198316865281860193506142a0565b61427685614215565b60005b8381101561429857815481890152600182019150602081019050614279565b838801955050505b50505092915050565b60006142b582866141e4565b91506142c182856141e4565b91506142cd828461422a565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061433660268361340b565b9150614341826142da565b604082019050919050565b6000602082019050818103600083015261436581614329565b9050919050565b7f546f6f206c617465000000000000000000000000000000000000000000000000600082015250565b60006143a260088361340b565b91506143ad8261436c565b602082019050919050565b600060208201905081810360008301526143d181614395565b9050919050565b7f4c6f772072657365727665000000000000000000000000000000000000000000600082015250565b600061440e600b8361340b565b9150614419826143d8565b602082019050919050565b6000602082019050818103600083015261443d81614401565b9050919050565b7f547279206c657373000000000000000000000000000000000000000000000000600082015250565b600061447a60088361340b565b915061448582614444565b602082019050919050565b600060208201905081810360008301526144a98161446d565b9050919050565b7f4d6f7265207468616e206d617800000000000000000000000000000000000000600082015250565b60006144e6600d8361340b565b91506144f1826144b0565b602082019050919050565b60006020820190508181036000830152614515816144d9565b9050919050565b7f57726f6e6720616d6f756e740000000000000000000000000000000000000000600082015250565b6000614552600c8361340b565b915061455d8261451c565b602082019050919050565b6000602082019050818103600083015261458181614545565b9050919050565b6000614593826134bb565b915061459e836134bb565b9250828210156145b1576145b0613e40565b5b828203905092915050565b600081519050919050565b600082825260208201905092915050565b60006145e3826145bc565b6145ed81856145c7565b93506145fd81856020860161341c565b6146068161344f565b840191505092915050565b6000608082019050614626600083018761357a565b614633602083018661357a565b61464060408301856134c5565b818103606083015261465281846145d8565b905095945050505050565b60008151905061466c81613371565b92915050565b6000602082840312156146885761468761333b565b5b60006146968482850161465d565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006146d9826134bb565b91506146e4836134bb565b9250826146f4576146f361469f565b5b828204905092915050565b600061470a826134bb565b9150614715836134bb565b9250826147255761472461469f565b5b82820690509291505056fea2646970667358221220b8cb7ba2999a5670fe9d9a7657b456bbe4426294366d80c2dd0d739063fd622a64736f6c634300080a0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000c5765623357617272696f7273000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035733570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005768747470733a2f2f6f6479737365796c6162732e6d7970696e6174612e636c6f75642f697066732f516d503659563857476b4765715357554c5868335042473478585545714e4447706f4e575979717237584e5468712f000000000000000000
Deployed Bytecode
0x6080604052600436106102675760003560e01c80637501f74111610144578063a22cb465116100b6578063d5abeb011161007a578063d5abeb01146108b5578063d897833e146108e0578063e985e9c514610909578063eb8835ab14610946578063f2fde38b14610983578063f759867a146109ac57610267565b8063a22cb465146107d0578063b88d4fde146107f9578063c668286214610822578063c87b56dd1461084d578063c889004b1461088a57610267565b80638fdcf942116101085780638fdcf942146106e357806390e0d9921461070c57806395d89b411461073757806396ea3a471461076257806397a2d0eb1461078b578063a0712d68146107b457610267565b80637501f7411461061057806380eae5781461063b57806382b23e88146106645780638c7700671461068d5780638da5cb5b146106b857610267565b80632a23d07d116101dd57806355f804b3116101a157806355f804b3146105025780636352211e1461052b5780636c0360eb1461056857806370a0823114610593578063715018a6146105d0578063732e71ef146105e757610267565b80632a23d07d1461045f5780632ccee9be1461048a5780633ccfd60b146104a657806342842e0e146104b057806342966c68146104d957610267565b8063095ea7b31161022f578063095ea7b31461036557806318160ddd1461038e5780631ee34fab146103b9578063200d2ed2146103e2578063228025e81461040d57806323b872dd1461043657610267565b806301ffc9a71461026c57806306fdde03146102a9578063074a130d146102d4578063081812fc146102ff578063088a4ed01461033c575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e919061339d565b6109c8565b6040516102a091906133e5565b60405180910390f35b3480156102b557600080fd5b506102be610a5a565b6040516102cb9190613499565b60405180910390f35b3480156102e057600080fd5b506102e9610aec565b6040516102f691906134d4565b60405180910390f35b34801561030b57600080fd5b506103266004803603810190610321919061351b565b610af2565b6040516103339190613589565b60405180910390f35b34801561034857600080fd5b50610363600480360381019061035e919061351b565b610b6e565b005b34801561037157600080fd5b5061038c600480360381019061038791906135d0565b610bf4565b005b34801561039a57600080fd5b506103a3610d35565b6040516103b091906134d4565b60405180910390f35b3480156103c557600080fd5b506103e060048036038101906103db919061351b565b610d4c565b005b3480156103ee57600080fd5b506103f7610dd2565b60405161040491906133e5565b60405180910390f35b34801561041957600080fd5b50610434600480360381019061042f919061351b565b610de5565b005b34801561044257600080fd5b5061045d60048036038101906104589190613610565b610e6b565b005b34801561046b57600080fd5b50610474611190565b60405161048191906134d4565b60405180910390f35b6104a4600480360381019061049f91906135d0565b611196565b005b6104ae61135c565b005b3480156104bc57600080fd5b506104d760048036038101906104d29190613610565b611451565b005b3480156104e557600080fd5b5061050060048036038101906104fb919061351b565b611471565b005b34801561050e57600080fd5b5061052960048036038101906105249190613798565b6114ce565b005b34801561053757600080fd5b50610552600480360381019061054d919061351b565b611564565b60405161055f9190613589565b60405180910390f35b34801561057457600080fd5b5061057d611576565b60405161058a9190613499565b60405180910390f35b34801561059f57600080fd5b506105ba60048036038101906105b591906137e1565b611604565b6040516105c791906134d4565b60405180910390f35b3480156105dc57600080fd5b506105e56116bd565b005b3480156105f357600080fd5b5061060e600480360381019061060991906138c4565b611745565b005b34801561061c57600080fd5b5061062561186d565b60405161063291906134d4565b60405180910390f35b34801561064757600080fd5b50610662600480360381019061065d919061351b565b611873565b005b34801561067057600080fd5b5061068b6004803603810190610686919061351b565b6118f9565b005b34801561069957600080fd5b506106a261197f565b6040516106af91906134d4565b60405180910390f35b3480156106c457600080fd5b506106cd611985565b6040516106da9190613589565b60405180910390f35b3480156106ef57600080fd5b5061070a6004803603810190610705919061351b565b6119af565b005b34801561071857600080fd5b50610721611a35565b60405161072e91906133e5565b60405180910390f35b34801561074357600080fd5b5061074c611a48565b6040516107599190613499565b60405180910390f35b34801561076e57600080fd5b5061078960048036038101906107849190613945565b611ada565b005b34801561079757600080fd5b506107b260048036038101906107ad91906139f2565b611ccc565b005b6107ce60048036038101906107c9919061351b565b611d65565b005b3480156107dc57600080fd5b506107f760048036038101906107f29190613a1f565b611f6f565b005b34801561080557600080fd5b50610820600480360381019061081b9190613b00565b6120e7565b005b34801561082e57600080fd5b5061083761215a565b6040516108449190613499565b60405180910390f35b34801561085957600080fd5b50610874600480360381019061086f919061351b565b6121e8565b6040516108819190613499565b60405180910390f35b34801561089657600080fd5b5061089f612292565b6040516108ac91906134d4565b60405180910390f35b3480156108c157600080fd5b506108ca612298565b6040516108d791906134d4565b60405180910390f35b3480156108ec57600080fd5b50610907600480360381019061090291906139f2565b61229e565b005b34801561091557600080fd5b50610930600480360381019061092b9190613b83565b612337565b60405161093d91906133e5565b60405180910390f35b34801561095257600080fd5b5061096d600480360381019061096891906137e1565b6123cb565b60405161097a91906134d4565b60405180910390f35b34801561098f57600080fd5b506109aa60048036038101906109a591906137e1565b6123e3565b005b6109c660048036038101906109c1919061351b565b6124db565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a2357506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a535750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610a6990613bf2565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9590613bf2565b8015610ae25780601f10610ab757610100808354040283529160200191610ae2565b820191906000526020600020905b815481529060010190602001808311610ac557829003601f168201915b5050505050905090565b60125481565b6000610afd8261279f565b610b33576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610b766127fe565b73ffffffffffffffffffffffffffffffffffffffff16610b94611985565b73ffffffffffffffffffffffffffffffffffffffff1614610bea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be190613c70565b60405180910390fd5b80600f8190555050565b6000610bff82611564565b90508073ffffffffffffffffffffffffffffffffffffffff16610c20612806565b73ffffffffffffffffffffffffffffffffffffffff1614610c8357610c4c81610c47612806565b612337565b610c82576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610d3f61280e565b6001546000540303905090565b610d546127fe565b73ffffffffffffffffffffffffffffffffffffffff16610d72611985565b73ffffffffffffffffffffffffffffffffffffffff1614610dc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbf90613c70565b60405180910390fd5b8060128190555050565b601060009054906101000a900460ff1681565b610ded6127fe565b73ffffffffffffffffffffffffffffffffffffffff16610e0b611985565b73ffffffffffffffffffffffffffffffffffffffff1614610e61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5890613c70565b60405180910390fd5b80600e8190555050565b6000610e7682612813565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610edd576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610ee9846128e1565b91509150610eff8187610efa612806565b612903565b610f4b57610f1486610f0f612806565b612337565b610f4a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610fb2576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610fbf8686866001612947565b8015610fca57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506110988561107488888761294d565b7c020000000000000000000000000000000000000000000000000000000017612975565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416141561112057600060018501905060006004600083815260200190815260200160002054141561111e57600054811461111d578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461118886868660016129a0565b505050505050565b600c5481565b600260095414156111dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d390613cdc565b60405180910390fd5b600260098190555060006111ee610d35565b9050601060009054906101000a900460ff1661123f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123690613d48565b60405180910390fd5b60008211611282576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127990613db4565b60405180910390fd5b600f548211156112c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112be90613e20565b60405180910390fd5b600e5482826112d69190613e6f565b1115611317576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130e90613f11565b60405180910390fd5b81600d546113259190613f31565b34101561133157600080fd5b61134b8383604051806020016040528060008152506129a6565b600090505060016009819055505050565b6113646127fe565b73ffffffffffffffffffffffffffffffffffffffff16611382611985565b73ffffffffffffffffffffffffffffffffffffffff16146113d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113cf90613c70565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff16476040516113fe90613fbc565b60006040518083038185875af1925050503d806000811461143b576040519150601f19603f3d011682016040523d82523d6000602084013e611440565b606091505b505090508061144e57600080fd5b50565b61146c838383604051806020016040528060008152506120e7565b505050565b601060019054906101000a900460ff166114c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b79061401d565b60405180910390fd5b6114cb816001612a43565b50565b6114d66127fe565b73ffffffffffffffffffffffffffffffffffffffff166114f4611985565b73ffffffffffffffffffffffffffffffffffffffff161461154a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154190613c70565b60405180910390fd5b80600a908051906020019061156092919061328e565b5050565b600061156f82612813565b9050919050565b600a805461158390613bf2565b80601f01602080910402602001604051908101604052809291908181526020018280546115af90613bf2565b80156115fc5780601f106115d1576101008083540402835291602001916115fc565b820191906000526020600020905b8154815290600101906020018083116115df57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561166c576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6116c56127fe565b73ffffffffffffffffffffffffffffffffffffffff166116e3611985565b73ffffffffffffffffffffffffffffffffffffffff1614611739576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173090613c70565b60405180910390fd5b6117436000612c97565b565b61174d6127fe565b73ffffffffffffffffffffffffffffffffffffffff1661176b611985565b73ffffffffffffffffffffffffffffffffffffffff16146117c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b890613c70565b60405180910390fd5b60005b84849050811015611866578282828181106117e2576117e161403d565b5b9050602002013560136000878785818110611800576117ff61403d565b5b905060200201602081019061181591906137e1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808061185e9061406c565b9150506117c4565b5050505050565b600f5481565b61187b6127fe565b73ffffffffffffffffffffffffffffffffffffffff16611899611985565b73ffffffffffffffffffffffffffffffffffffffff16146118ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e690613c70565b60405180910390fd5b80600d8190555050565b6119016127fe565b73ffffffffffffffffffffffffffffffffffffffff1661191f611985565b73ffffffffffffffffffffffffffffffffffffffff1614611975576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196c90613c70565b60405180910390fd5b8060118190555050565b600d5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6119b76127fe565b73ffffffffffffffffffffffffffffffffffffffff166119d5611985565b73ffffffffffffffffffffffffffffffffffffffff1614611a2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2290613c70565b60405180910390fd5b80600c8190555050565b601060019054906101000a900460ff1681565b606060038054611a5790613bf2565b80601f0160208091040260200160405190810160405280929190818152602001828054611a8390613bf2565b8015611ad05780601f10611aa557610100808354040283529160200191611ad0565b820191906000526020600020905b815481529060010190602001808311611ab357829003601f168201915b5050505050905090565b611ae26127fe565b73ffffffffffffffffffffffffffffffffffffffff16611b00611985565b73ffffffffffffffffffffffffffffffffffffffff1614611b56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4d90613c70565b60405180910390fd5b818190508484905014611b9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9590614127565b60405180910390fd5b600080611ba9610d35565b905060005b86869050811015611bf157868682818110611bcc57611bcb61403d565b5b9050602002013583611bde9190613e6f565b925080611bea9061406c565b9050611bae565b50600e548282611c019190613e6f565b1115611c42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3990613e20565b60405180910390fd5b6000915060005b84849050811015611cbf57611cae858583818110611c6a57611c6961403d565b5b9050602002016020810190611c7f91906137e1565b888884818110611c9257611c9161403d565b5b90506020020135604051806020016040528060008152506129a6565b80611cb89061406c565b9050611c49565b5060009050505050505050565b611cd46127fe565b73ffffffffffffffffffffffffffffffffffffffff16611cf2611985565b73ffffffffffffffffffffffffffffffffffffffff1614611d48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3f90613c70565b60405180910390fd5b80601060016101000a81548160ff02191690831515021790555050565b60026009541415611dab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da290613cdc565b60405180910390fd5b6002600981905550426012541115611df8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611def9061401d565b60405180910390fd5b6000611e02610d35565b9050601060009054906101000a900460ff16611e53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4a90613d48565b60405180910390fd5b60008211611e96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8d90613db4565b60405180910390fd5b600f54821115611edb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed290613e20565b60405180910390fd5b600e548282611eea9190613e6f565b1115611f2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2290613f11565b60405180910390fd5b81600d54611f399190613f31565b341015611f4557600080fd5b611f5f3383604051806020016040528060008152506129a6565b6000905050600160098190555050565b611f77612806565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fdc576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611fe9612806565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612096612806565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120db91906133e5565b60405180910390a35050565b6120f2848484610e6b565b60008373ffffffffffffffffffffffffffffffffffffffff163b146121545761211d84848484612d5d565b612153576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600b805461216790613bf2565b80601f016020809104026020016040519081016040528092919081815260200182805461219390613bf2565b80156121e05780601f106121b5576101008083540402835291602001916121e0565b820191906000526020600020905b8154815290600101906020018083116121c357829003601f168201915b505050505081565b60606121f38261279f565b612232576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612229906141b9565b60405180910390fd5b600061223c612eae565b9050600081511161225c576040518060200160405280600081525061228a565b8061226684612f40565b600b60405160200161227a939291906142a9565b6040516020818303038152906040525b915050919050565b60115481565b600e5481565b6122a66127fe565b73ffffffffffffffffffffffffffffffffffffffff166122c4611985565b73ffffffffffffffffffffffffffffffffffffffff161461231a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231190613c70565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60136020528060005260406000206000915090505481565b6123eb6127fe565b73ffffffffffffffffffffffffffffffffffffffff16612409611985565b73ffffffffffffffffffffffffffffffffffffffff161461245f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245690613c70565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156124cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c69061434c565b60405180910390fd5b6124d881612c97565b50565b426011541115612520576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125179061401d565b60405180910390fd5b426012541015612565576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255c906143b8565b60405180910390fd5b600061256f610d35565b90506000601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050601060009054906101000a900460ff16612604576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125fb90613d48565b60405180910390fd5b60008111612647576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263e90614424565b60405180910390fd5b8083111561268a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268190614490565b60405180910390fd5b600e5483836126999190613e6f565b11156126da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d1906144fc565b60405180910390fd5b3483600c546126e99190613f31565b14612729576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272090614568565b60405180910390fd5b82816127359190614588565b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600090506127963384604051806020016040528060008152506129a6565b60009150505050565b6000816127aa61280e565b111580156127b9575060005482105b80156127f7575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600033905090565b600090565b6000808290508061282261280e565b116128aa576000548110156128a95760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821614156128a7575b600081141561289d576004600083600190039350838152602001908152602001600020549050612872565b80925050506128dc565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86129648686846130a1565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6129b083836130aa565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612a3e57600080549050600083820390505b6129f06000868380600101945086612d5d565b612a26576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106129dd578160005414612a3b57600080fd5b50505b505050565b6000612a4e83612813565b90506000819050600080612a61866128e1565b915091508415612aca57612a7d8184612a78612806565b612903565b612ac957612a9283612a8d612806565b612337565b612ac8576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b612ad8836000886001612947565b8015612ae357600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612b8b83612b488560008861294d565b7c02000000000000000000000000000000000000000000000000000000007c01000000000000000000000000000000000000000000000000000000001717612975565b600460008881526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000085161415612c13576000600187019050600060046000838152602001908152602001600020541415612c11576000548114612c10578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c7d8360008860016129a0565b600160008154809291906001019190505550505050505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d83612806565b8786866040518563ffffffff1660e01b8152600401612da59493929190614611565b6020604051808303816000875af1925050508015612de157506040513d601f19601f82011682018060405250810190612dde9190614672565b60015b612e5b573d8060008114612e11576040519150601f19603f3d011682016040523d82523d6000602084013e612e16565b606091505b50600081511415612e53576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a8054612ebd90613bf2565b80601f0160208091040260200160405190810160405280929190818152602001828054612ee990613bf2565b8015612f365780601f10612f0b57610100808354040283529160200191612f36565b820191906000526020600020905b815481529060010190602001808311612f1957829003601f168201915b5050505050905090565b60606000821415612f88576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061309c565b600082905060005b60008214612fba578080612fa39061406c565b915050600a82612fb391906146ce565b9150612f90565b60008167ffffffffffffffff811115612fd657612fd561366d565b5b6040519080825280601f01601f1916602001820160405280156130085781602001600182028036833780820191505090505b5090505b60008514613095576001826130219190614588565b9150600a8561303091906146ff565b603061303c9190613e6f565b60f81b8183815181106130525761305161403d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561308e91906146ce565b945061300c565b8093505050505b919050565b60009392505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613117576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415613152576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61315f6000848385612947565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506131d6836131c7600086600061294d565b6131d08561327e565b17612975565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106131fa5780600081905550505061327960008483856129a0565b505050565b60006001821460e11b9050919050565b82805461329a90613bf2565b90600052602060002090601f0160209004810192826132bc5760008555613303565b82601f106132d557805160ff1916838001178555613303565b82800160010185558215613303579182015b828111156133025782518255916020019190600101906132e7565b5b5090506133109190613314565b5090565b5b8082111561332d576000816000905550600101613315565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61337a81613345565b811461338557600080fd5b50565b60008135905061339781613371565b92915050565b6000602082840312156133b3576133b261333b565b5b60006133c184828501613388565b91505092915050565b60008115159050919050565b6133df816133ca565b82525050565b60006020820190506133fa60008301846133d6565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561343a57808201518184015260208101905061341f565b83811115613449576000848401525b50505050565b6000601f19601f8301169050919050565b600061346b82613400565b613475818561340b565b935061348581856020860161341c565b61348e8161344f565b840191505092915050565b600060208201905081810360008301526134b38184613460565b905092915050565b6000819050919050565b6134ce816134bb565b82525050565b60006020820190506134e960008301846134c5565b92915050565b6134f8816134bb565b811461350357600080fd5b50565b600081359050613515816134ef565b92915050565b6000602082840312156135315761353061333b565b5b600061353f84828501613506565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061357382613548565b9050919050565b61358381613568565b82525050565b600060208201905061359e600083018461357a565b92915050565b6135ad81613568565b81146135b857600080fd5b50565b6000813590506135ca816135a4565b92915050565b600080604083850312156135e7576135e661333b565b5b60006135f5858286016135bb565b925050602061360685828601613506565b9150509250929050565b6000806000606084860312156136295761362861333b565b5b6000613637868287016135bb565b9350506020613648868287016135bb565b925050604061365986828701613506565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6136a58261344f565b810181811067ffffffffffffffff821117156136c4576136c361366d565b5b80604052505050565b60006136d7613331565b90506136e3828261369c565b919050565b600067ffffffffffffffff8211156137035761370261366d565b5b61370c8261344f565b9050602081019050919050565b82818337600083830152505050565b600061373b613736846136e8565b6136cd565b90508281526020810184848401111561375757613756613668565b5b613762848285613719565b509392505050565b600082601f83011261377f5761377e613663565b5b813561378f848260208601613728565b91505092915050565b6000602082840312156137ae576137ad61333b565b5b600082013567ffffffffffffffff8111156137cc576137cb613340565b5b6137d88482850161376a565b91505092915050565b6000602082840312156137f7576137f661333b565b5b6000613805848285016135bb565b91505092915050565b600080fd5b600080fd5b60008083601f84011261382e5761382d613663565b5b8235905067ffffffffffffffff81111561384b5761384a61380e565b5b60208301915083602082028301111561386757613866613813565b5b9250929050565b60008083601f84011261388457613883613663565b5b8235905067ffffffffffffffff8111156138a1576138a061380e565b5b6020830191508360208202830111156138bd576138bc613813565b5b9250929050565b600080600080604085870312156138de576138dd61333b565b5b600085013567ffffffffffffffff8111156138fc576138fb613340565b5b61390887828801613818565b9450945050602085013567ffffffffffffffff81111561392b5761392a613340565b5b6139378782880161386e565b925092505092959194509250565b6000806000806040858703121561395f5761395e61333b565b5b600085013567ffffffffffffffff81111561397d5761397c613340565b5b6139898782880161386e565b9450945050602085013567ffffffffffffffff8111156139ac576139ab613340565b5b6139b887828801613818565b925092505092959194509250565b6139cf816133ca565b81146139da57600080fd5b50565b6000813590506139ec816139c6565b92915050565b600060208284031215613a0857613a0761333b565b5b6000613a16848285016139dd565b91505092915050565b60008060408385031215613a3657613a3561333b565b5b6000613a44858286016135bb565b9250506020613a55858286016139dd565b9150509250929050565b600067ffffffffffffffff821115613a7a57613a7961366d565b5b613a838261344f565b9050602081019050919050565b6000613aa3613a9e84613a5f565b6136cd565b905082815260208101848484011115613abf57613abe613668565b5b613aca848285613719565b509392505050565b600082601f830112613ae757613ae6613663565b5b8135613af7848260208601613a90565b91505092915050565b60008060008060808587031215613b1a57613b1961333b565b5b6000613b28878288016135bb565b9450506020613b39878288016135bb565b9350506040613b4a87828801613506565b925050606085013567ffffffffffffffff811115613b6b57613b6a613340565b5b613b7787828801613ad2565b91505092959194509250565b60008060408385031215613b9a57613b9961333b565b5b6000613ba8858286016135bb565b9250506020613bb9858286016135bb565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613c0a57607f821691505b60208210811415613c1e57613c1d613bc3565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613c5a60208361340b565b9150613c6582613c24565b602082019050919050565b60006020820190508181036000830152613c8981613c4d565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613cc6601f8361340b565b9150613cd182613c90565b602082019050919050565b60006020820190508181036000830152613cf581613cb9565b9050919050565b7f4f66660000000000000000000000000000000000000000000000000000000000600082015250565b6000613d3260038361340b565b9150613d3d82613cfc565b602082019050919050565b60006020820190508181036000830152613d6181613d25565b9050919050565b7f4475680000000000000000000000000000000000000000000000000000000000600082015250565b6000613d9e60038361340b565b9150613da982613d68565b602082019050919050565b60006020820190508181036000830152613dcd81613d91565b9050919050565b7f546f6f206d616e79000000000000000000000000000000000000000000000000600082015250565b6000613e0a60088361340b565b9150613e1582613dd4565b602082019050919050565b60006020820190508181036000830152613e3981613dfd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613e7a826134bb565b9150613e85836134bb565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613eba57613eb9613e40565b5b828201905092915050565b7f536f727279000000000000000000000000000000000000000000000000000000600082015250565b6000613efb60058361340b565b9150613f0682613ec5565b602082019050919050565b60006020820190508181036000830152613f2a81613eee565b9050919050565b6000613f3c826134bb565b9150613f47836134bb565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613f8057613f7f613e40565b5b828202905092915050565b600081905092915050565b50565b6000613fa6600083613f8b565b9150613fb182613f96565b600082019050919050565b6000613fc782613f99565b9150819050919050565b7f4e6f742079657400000000000000000000000000000000000000000000000000600082015250565b600061400760078361340b565b915061401282613fd1565b602082019050919050565b6000602082019050818103600083015261403681613ffa565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614077826134bb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156140aa576140a9613e40565b5b600182019050919050565b7f50726f76696465207175616e74697469657320616e6420726563697069656e7460008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061411160218361340b565b915061411c826140b5565b604082019050919050565b6000602082019050818103600083015261414081614104565b9050919050565b7f4552433732314d657461646174613a204e6f6e6578697374656e7420746f6b6560008201527f6e00000000000000000000000000000000000000000000000000000000000000602082015250565b60006141a360218361340b565b91506141ae82614147565b604082019050919050565b600060208201905081810360008301526141d281614196565b9050919050565b600081905092915050565b60006141ef82613400565b6141f981856141d9565b935061420981856020860161341c565b80840191505092915050565b60008190508160005260206000209050919050565b6000815461423781613bf2565b61424181866141d9565b9450600182166000811461425c576001811461426d576142a0565b60ff198316865281860193506142a0565b61427685614215565b60005b8381101561429857815481890152600182019150602081019050614279565b838801955050505b50505092915050565b60006142b582866141e4565b91506142c182856141e4565b91506142cd828461422a565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061433660268361340b565b9150614341826142da565b604082019050919050565b6000602082019050818103600083015261436581614329565b9050919050565b7f546f6f206c617465000000000000000000000000000000000000000000000000600082015250565b60006143a260088361340b565b91506143ad8261436c565b602082019050919050565b600060208201905081810360008301526143d181614395565b9050919050565b7f4c6f772072657365727665000000000000000000000000000000000000000000600082015250565b600061440e600b8361340b565b9150614419826143d8565b602082019050919050565b6000602082019050818103600083015261443d81614401565b9050919050565b7f547279206c657373000000000000000000000000000000000000000000000000600082015250565b600061447a60088361340b565b915061448582614444565b602082019050919050565b600060208201905081810360008301526144a98161446d565b9050919050565b7f4d6f7265207468616e206d617800000000000000000000000000000000000000600082015250565b60006144e6600d8361340b565b91506144f1826144b0565b602082019050919050565b60006020820190508181036000830152614515816144d9565b9050919050565b7f57726f6e6720616d6f756e740000000000000000000000000000000000000000600082015250565b6000614552600c8361340b565b915061455d8261451c565b602082019050919050565b6000602082019050818103600083015261458181614545565b9050919050565b6000614593826134bb565b915061459e836134bb565b9250828210156145b1576145b0613e40565b5b828203905092915050565b600081519050919050565b600082825260208201905092915050565b60006145e3826145bc565b6145ed81856145c7565b93506145fd81856020860161341c565b6146068161344f565b840191505092915050565b6000608082019050614626600083018761357a565b614633602083018661357a565b61464060408301856134c5565b818103606083015261465281846145d8565b905095945050505050565b60008151905061466c81613371565b92915050565b6000602082840312156146885761468761333b565b5b60006146968482850161465d565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006146d9826134bb565b91506146e4836134bb565b9250826146f4576146f361469f565b5b828204905092915050565b600061470a826134bb565b9150614715836134bb565b9250826147255761472461469f565b5b82820690509291505056fea2646970667358221220b8cb7ba2999a5670fe9d9a7657b456bbe4426294366d80c2dd0d739063fd622a64736f6c634300080a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000c5765623357617272696f7273000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035733570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005768747470733a2f2f6f6479737365796c6162732e6d7970696e6174612e636c6f75642f697066732f516d503659563857476b4765715357554c5868335042473478585545714e4447706f4e575979717237584e5468712f000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Web3Warriors
Arg [1] : _symbol (string): W3W
Arg [2] : _initBaseURI (string): https://odysseylabs.mypinata.cloud/ipfs/QmP6YV8WGkGeqSWULXh3PBG4xXUEqNDGpoNWYyqr7XNThq/
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [4] : 5765623357617272696f72730000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 5733570000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000057
Arg [8] : 68747470733a2f2f6f6479737365796c6162732e6d7970696e6174612e636c6f
Arg [9] : 75642f697066732f516d503659563857476b4765715357554c58683350424734
Arg [10] : 78585545714e4447706f4e575979717237584e5468712f000000000000000000
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.