ERC-721
Overview
Max Total Supply
1,111 AIDRAGON
Holders
560
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 AIDRAGONLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
AiDragons
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; contract AiDragons is ERC721A, Ownable { using SafeMath for uint256; bool public isMintActive = false; uint256 public price = 0.1 ether; uint256 public maxSupply = 1111; uint256 public maxMintsPerTx = 20; uint256 public maxMintsTotal = 20; string internal _baseTokenURI; bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a; uint256 private _royaltyAmount = 1000; // 10% // Team Addresses address public a1 = 0x4f1ABBABF5ad8D10D9F70f948389220Cd2f4E1df; address public a2 = 0x2fCe8DEAb97C3eC61f6707C174670EfbE243eBFd; address public a3 = 0xce08cF4505306A3848814bfb639bD6FE421d3034; address public a4 = 0xca34072FE89563cc1af5a0DacAaDbEDC250950a5; address public a5 = 0x6b1451Cd703F82ebb4c8898C8CFC8c4173689992; address public a6 = 0x0f375cAAD3b434C3CD509f8b1f539c169Ec9583e; address public a7 = 0x58a4e27004b940d4Db4716Bdb72005785afb7D5c; address public a8 = 0x9De89422AA486f9Cb30aA308DE9642B5BDe9AD1E; address public a9 = 0x26A427500e5cb29DAA3eA1ef781021a00eAfa626; // Project Wallet address public aMulti = 0x2bb93997e9981452D0D8f19b332c2500344358fA; struct Whitelist { bool isActive; uint256 price; uint256 maxMints; bytes32 merkleRoot; } Whitelist[] internal _whitelists; mapping(uint256 => mapping(address => uint256)) internal _whitelistsMints; constructor(string memory baseTokenURI) ERC721A("AiDragons", "AIDRAGON") { _baseTokenURI = baseTokenURI; } //---------------------------------------- // Mint / Ownership (public) //---------------------------------------- function tokensOf(address _owner) public view returns (uint256[] memory) { uint256[] memory tokens = new uint256[](balanceOf(_owner)); uint256 ctr = 0; for (uint256 i = 0; i < totalSupply(); i++) { if (ownerOf(i) == _owner) { tokens[ctr] = i; ctr++; } } return tokens; } function numberMintedOf(address _owner) public view returns (uint256) { return _numberMinted(_owner); } function mint(uint256 qty) external payable { require(isMintActive, "Mint isn't active"); require(_numberMinted(msg.sender) + qty <= maxMintsTotal, "Exceeds mint limit"); require(qty <= maxMintsPerTx && qty > 0, "Qty of mints not allowed"); require(qty + totalSupply() <= maxSupply, "Exceeds total supply"); require(msg.value == price * qty, "Invalid value"); _safeMint(msg.sender, qty); } function mintWhitelist(uint256 whitelistIndex, uint256 qty, bytes32[] calldata merkleProof) external payable { Whitelist memory wl = _whitelists[whitelistIndex]; require(wl.isActive, "Whitelist isn't active"); require(_numberMinted(msg.sender) + qty <= maxMintsTotal, "Exceeds mint limit"); require(qty <= maxMintsPerTx && qty > 0, "Qty of mints not allowed"); require(qty + totalSupply() <= maxSupply, "Exceeds total supply"); require(msg.value == wl.price * qty, "Invalid value"); require(_whitelistsMints[whitelistIndex][msg.sender] + qty <= wl.maxMints, "Exceeds whitelist mint limit"); require(MerkleProof.verify( merkleProof, wl.merkleRoot, keccak256(abi.encodePacked(msg.sender)) ), "Criteria not on the whitelist"); _safeMint(msg.sender, qty); _whitelistsMints[whitelistIndex][msg.sender] += qty; } //---------------------------------------- // Whitelist (public) //---------------------------------------- function whitelists() public view returns (Whitelist[] memory) { return _whitelists; } function whitelistMintsOf(uint256 whitelistIndex, address minterAddress) public view returns (uint256) { return _whitelistsMints[whitelistIndex][minterAddress]; } function whitelistValidateMerkleProof(uint256 whitelistIndex, address minterAddress, bytes32[] calldata merkleProof) public view returns (bool) { Whitelist memory wl = _whitelists[whitelistIndex]; return MerkleProof.verify( merkleProof, wl.merkleRoot, keccak256(abi.encodePacked(minterAddress)) ); } //---------------------------------------- // Royalty (public) //---------------------------------------- function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view returns (address receiver, uint256 royaltyAmount) { return (aMulti, ((_salePrice * _royaltyAmount) / 10000)); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A) returns (bool) { if (interfaceId == _INTERFACE_ID_ERC2981) { return true; } return super.supportsInterface(interfaceId); } //---------------------------------------- // Misc (owner) //---------------------------------------- function getBaseTokenURI() public view onlyOwner returns (string memory) { return _baseTokenURI; } function setBaseTokenURI(string calldata uri) external onlyOwner { _baseTokenURI = uri; } function setPrice(uint256 newPrice) external onlyOwner { price = newPrice; } function setMaxSupply(uint256 newSupply) external onlyOwner { maxSupply = newSupply; } function toggleMintActive() external onlyOwner { isMintActive = !isMintActive; } function setMaxMintsPerTx(uint256 newMax) external onlyOwner { maxMintsPerTx = newMax; } function setMaxMintsTotal(uint256 newMax) external onlyOwner { maxMintsTotal = newMax; } // Mint function giveaway(address[] calldata adds, uint256 qty) external onlyOwner { uint256 minted = totalSupply(); require((adds.length * qty) + minted <= maxSupply, "Value exceeds total supply"); for (uint256 i = 0; i < adds.length; i++) { _safeMint(adds[i], qty); } } // Whitelist function whitelistCreate(bool isActive, uint256 whitelistPrice, uint256 whitelistMaxMints, bytes32 merkleRoot) external onlyOwner { Whitelist storage whitelist = _whitelists.push(); whitelist.isActive = isActive; whitelist.price = whitelistPrice; whitelist.maxMints = whitelistMaxMints; whitelist.merkleRoot = merkleRoot; } function whitelistToggleActive(uint256 whitelistIndex) external onlyOwner { _whitelists[whitelistIndex].isActive = !_whitelists[whitelistIndex].isActive; } function whitelistSetPrice(uint256 whitelistIndex, uint256 newPrice) external onlyOwner { _whitelists[whitelistIndex].price = newPrice; } function whitelistSetMaxMints(uint256 whitelistIndex, uint256 maxMints) external onlyOwner { _whitelists[whitelistIndex].maxMints = maxMints; } function whitelistSetMerkleRoot(uint256 whitelistIndex, bytes32 merkleRoot) external onlyOwner { _whitelists[whitelistIndex].merkleRoot = merkleRoot; } // Withdraw function withdrawTeam() public onlyOwner { uint256 balance = address(this).balance; require(balance > 0); _widthdraw(a1, balance.mul(5).div(100)); _widthdraw(a2, balance.mul(4).div(100)); _widthdraw(a3, balance.mul(5).div(100)); _widthdraw(a4, balance.mul(4).div(100)); _widthdraw(a5, balance.mul(4).div(100)); _widthdraw(a6, balance.mul(2).div(100)); _widthdraw(a7, balance.mul(2).div(100)); _widthdraw(a8, balance.mul(2).div(100)); _widthdraw(a9, balance.mul(2).div(100)); _widthdraw(aMulti, address(this).balance); } function emergencyWithdraw() public onlyOwner { uint256 balance = address(this).balance; require(balance > 0); payable(aMulti).transfer(balance); } //---------------------------------------- // Internal //---------------------------------------- function _baseURI() internal view override returns (string memory) { return _baseTokenURI; } function _widthdraw(address _address, uint256 _amount) private { (bool success, ) = _address.call{value: _amount}(""); require(success, "Transfer failed."); } }
// 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 virtual 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 virtual 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 virtual 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 virtual 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 virtual 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 virtual 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 virtual 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 virtual 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 virtual { 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 virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { 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 virtual 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 virtual 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 virtual 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 virtual 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 virtual 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 virtual { _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 virtual { _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 virtual { 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 virtual { 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 virtual { 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 virtual returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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 Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { 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 (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof} * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// 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.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"baseTokenURI","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":[],"name":"a1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"a2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"a3","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"a4","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"a5","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"a6","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"a7","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"a8","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"a9","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"aMulti","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"adds","type":"address[]"},{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"giveaway","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":"isMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintsPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintsTotal","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":"qty","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"whitelistIndex","type":"uint256"},{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintWhitelist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"numberMintedOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"setMaxMintsPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"setMaxMintsTotal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleMintActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOf","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isActive","type":"bool"},{"internalType":"uint256","name":"whitelistPrice","type":"uint256"},{"internalType":"uint256","name":"whitelistMaxMints","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"whitelistCreate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"whitelistIndex","type":"uint256"},{"internalType":"address","name":"minterAddress","type":"address"}],"name":"whitelistMintsOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"whitelistIndex","type":"uint256"},{"internalType":"uint256","name":"maxMints","type":"uint256"}],"name":"whitelistSetMaxMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"whitelistIndex","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"whitelistSetMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"whitelistIndex","type":"uint256"},{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"whitelistSetPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"whitelistIndex","type":"uint256"}],"name":"whitelistToggleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"whitelistIndex","type":"uint256"},{"internalType":"address","name":"minterAddress","type":"address"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"whitelistValidateMerkleProof","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelists","outputs":[{"components":[{"internalType":"bool","name":"isActive","type":"bool"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"maxMints","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"internalType":"struct AiDragons.Whitelist[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawTeam","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600860146101000a81548160ff02191690831515021790555067016345785d8a0000600955610457600a556014600b556014600c556103e8600e55734f1abbabf5ad8d10d9f70f948389220cd2f4e1df600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550732fce8deab97c3ec61f6707c174670efbe243ebfd601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073ce08cf4505306a3848814bfb639bd6fe421d3034601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073ca34072fe89563cc1af5a0dacaadbedc250950a5601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550736b1451cd703f82ebb4c8898c8cfc8c4173689992601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550730f375caad3b434c3cd509f8b1f539c169ec9583e601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507358a4e27004b940d4db4716bdb72005785afb7d5c601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550739de89422aa486f9cb30aa308de9642b5bde9ad1e601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507326a427500e5cb29daa3ea1ef781021a00eafa626601760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550732bb93997e9981452d0d8f19b332c2500344358fa601860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550348015620003a057600080fd5b50604051620053bd380380620053bd8339818101604052810190620003c69190620006b1565b6040518060400160405280600981526020017f4169447261676f6e7300000000000000000000000000000000000000000000008152506040518060400160405280600881526020017f4149445241474f4e00000000000000000000000000000000000000000000000081525081600290805190602001906200044a9291906200058f565b508060039080519060200190620004639291906200058f565b5062000474620004bc60201b60201c565b60008190555050506200049c62000490620004c160201b60201c565b620004c960201b60201c565b80600d9080519060200190620004b49291906200058f565b505062000866565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200059d906200078b565b90600052602060002090601f016020900481019282620005c157600085556200060d565b82601f10620005dc57805160ff19168380011785556200060d565b828001600101855582156200060d579182015b828111156200060c578251825591602001919060010190620005ef565b5b5090506200061c919062000620565b5090565b5b808211156200063b57600081600090555060010162000621565b5090565b60006200065662000650846200071f565b620006f6565b9050828152602081018484840111156200066f57600080fd5b6200067c84828562000755565b509392505050565b600082601f8301126200069657600080fd5b8151620006a88482602086016200063f565b91505092915050565b600060208284031215620006c457600080fd5b600082015167ffffffffffffffff811115620006df57600080fd5b620006ed8482850162000684565b91505092915050565b60006200070262000715565b9050620007108282620007c1565b919050565b6000604051905090565b600067ffffffffffffffff8211156200073d576200073c62000826565b5b620007488262000855565b9050602081019050919050565b60005b838110156200077557808201518184015260208101905062000758565b8381111562000785576000848401525b50505050565b60006002820490506001821680620007a457607f821691505b60208210811415620007bb57620007ba620007f7565b5b50919050565b620007cc8262000855565b810181811067ffffffffffffffff82111715620007ee57620007ed62000826565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b614b4780620008766000396000f3fe6080604052600436106103505760003560e01c80638da5cb5b116101c6578063c87b56dd116100f7578063e985e9c511610095578063ee65212b1161006f578063ee65212b14610c21578063f2fde38b14610c4c578063f74ea41814610c75578063f7cf512214610ca057610350565b8063e985e9c514610b8b578063ee2f4a7414610bc8578063ee49382414610c0557610350565b8063d5abeb01116100d1578063d5abeb0114610af5578063d94025e514610b20578063db2e21bc14610b49578063dc30158b14610b6057610350565b8063c87b56dd14610a78578063d02c2bf214610ab5578063d4d8b39214610acc57610350565b8063a0712d6811610164578063b88d4fde1161013e578063b88d4fde146109e4578063bb51f32d14610a0d578063bc0f7bb414610a24578063bdc32be014610a4d57610350565b8063a0712d6814610974578063a22cb46514610990578063a48caeaa146109b957610350565b806395d89b41116101a057806395d89b41146108b6578063969e9d0c146108e15780639e13b64f1461090c578063a035b1fe1461094957610350565b80638da5cb5b1461083757806391b7f5ed146108625780639426eef81461088b57610350565b80635a3f2672116102a05780636ad847ff1161023e57806370a082311161021857806370a082311461077d578063715018a6146107ba5780637c0ea805146107d1578063891dd3fb146107fa57610350565b80636ad847ff146107005780636efc76eb1461072b5780636f8b44b01461075457610350565b80635e2d5fb51161027a5780635e2d5fb514610644578063615db6e11461066f5780636352211e1461069a57806365517ed7146106d757610350565b80635a3f2672146105b15780635b92ac0d146105ee5780635e048cc91461061957610350565b806318160ddd1161030d57806330176e13116102e757806330176e131461050957806342842e0e14610532578063475053801461055b578063511d4b0b1461058657610350565b806318160ddd1461047757806323b872dd146104a25780632a55205a146104cb57610350565b806301ffc9a71461035557806306fdde0314610392578063081812fc146103bd578063095ea7b3146103fa578063119552a114610423578063174da4a21461044e575b600080fd5b34801561036157600080fd5b5061037c60048036038101906103779190613ac0565b610cc9565b6040516103899190614250565b60405180910390f35b34801561039e57600080fd5b506103a7610d32565b6040516103b4919061426b565b60405180910390f35b3480156103c957600080fd5b506103e460048036038101906103df9190613b57565b610dc4565b6040516103f1919061417c565b60405180910390f35b34801561040657600080fd5b50610421600480360381019061041c91906139c9565b610e40565b005b34801561042f57600080fd5b50610438610f81565b604051610445919061417c565b60405180910390f35b34801561045a57600080fd5b5061047560048036038101906104709190613b57565b610fa7565b005b34801561048357600080fd5b5061048c610fb9565b604051610499919061440d565b60405180910390f35b3480156104ae57600080fd5b506104c960048036038101906104c491906138c3565b610fd0565b005b3480156104d757600080fd5b506104f260048036038101906104ed9190613c64565b6112f5565b6040516105009291906141e3565b60405180910390f35b34801561051557600080fd5b50610530600480360381019061052b9190613b12565b611341565b005b34801561053e57600080fd5b50610559600480360381019061055491906138c3565b61135f565b005b34801561056757600080fd5b5061057061137f565b60405161057d919061417c565b60405180910390f35b34801561059257600080fd5b5061059b6113a5565b6040516105a8919061440d565b60405180910390f35b3480156105bd57600080fd5b506105d860048036038101906105d3919061385e565b6113ab565b6040516105e5919061422e565b60405180910390f35b3480156105fa57600080fd5b506106036114ea565b6040516106109190614250565b60405180910390f35b34801561062557600080fd5b5061062e6114fd565b60405161063b919061417c565b60405180910390f35b34801561065057600080fd5b50610659611523565b604051610666919061420c565b60405180910390f35b34801561067b57600080fd5b506106846115bb565b604051610691919061417c565b60405180910390f35b3480156106a657600080fd5b506106c160048036038101906106bc9190613b57565b6115e1565b6040516106ce919061417c565b60405180910390f35b3480156106e357600080fd5b506106fe60048036038101906106f99190613a5d565b6115f3565b005b34801561070c57600080fd5b5061071561165d565b604051610722919061417c565b60405180910390f35b34801561073757600080fd5b50610752600480360381019061074d9190613c28565b611683565b005b34801561076057600080fd5b5061077b60048036038101906107769190613b57565b6116df565b005b34801561078957600080fd5b506107a4600480360381019061079f919061385e565b6116f1565b6040516107b1919061440d565b60405180910390f35b3480156107c657600080fd5b506107cf6117aa565b005b3480156107dd57600080fd5b506107f860048036038101906107f39190613c64565b6117be565b005b34801561080657600080fd5b50610821600480360381019061081c9190613bbc565b61181a565b60405161082e9190614250565b60405180910390f35b34801561084357600080fd5b5061084c61192c565b604051610859919061417c565b60405180910390f35b34801561086e57600080fd5b5061088960048036038101906108849190613b57565b611956565b005b34801561089757600080fd5b506108a0611968565b6040516108ad919061417c565b60405180910390f35b3480156108c257600080fd5b506108cb61198e565b6040516108d8919061426b565b60405180910390f35b3480156108ed57600080fd5b506108f6611a20565b604051610903919061417c565b60405180910390f35b34801561091857600080fd5b50610933600480360381019061092e919061385e565b611a46565b604051610940919061440d565b60405180910390f35b34801561095557600080fd5b5061095e611a58565b60405161096b919061440d565b60405180910390f35b61098e60048036038101906109899190613b57565b611a5e565b005b34801561099c57600080fd5b506109b760048036038101906109b2919061398d565b611c09565b005b3480156109c557600080fd5b506109ce611d81565b6040516109db919061417c565b60405180910390f35b3480156109f057600080fd5b50610a0b6004803603810190610a069190613912565b611da7565b005b348015610a1957600080fd5b50610a22611e1a565b005b348015610a3057600080fd5b50610a4b6004803603810190610a469190613b57565b612145565b005b348015610a5957600080fd5b50610a62612157565b604051610a6f919061426b565b60405180910390f35b348015610a8457600080fd5b50610a9f6004803603810190610a9a9190613b57565b6121f1565b604051610aac919061426b565b60405180910390f35b348015610ac157600080fd5b50610aca612290565b005b348015610ad857600080fd5b50610af36004803603810190610aee9190613a05565b6122c4565b005b348015610b0157600080fd5b50610b0a6123b5565b604051610b17919061440d565b60405180910390f35b348015610b2c57600080fd5b50610b476004803603810190610b429190613b57565b6123bb565b005b348015610b5557600080fd5b50610b5e612482565b005b348015610b6c57600080fd5b50610b75612508565b604051610b82919061440d565b60405180910390f35b348015610b9757600080fd5b50610bb26004803603810190610bad9190613887565b61250e565b604051610bbf9190614250565b60405180910390f35b348015610bd457600080fd5b50610bef6004803603810190610bea9190613b80565b6125a2565b604051610bfc919061440d565b60405180910390f35b610c1f6004803603810190610c1a9190613ca0565b6125fd565b005b348015610c2d57600080fd5b50610c366129f1565b604051610c43919061417c565b60405180910390f35b348015610c5857600080fd5b50610c736004803603810190610c6e919061385e565b612a17565b005b348015610c8157600080fd5b50610c8a612a9b565b604051610c97919061417c565b60405180910390f35b348015610cac57600080fd5b50610cc76004803603810190610cc29190613c64565b612ac1565b005b6000632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415610d215760019050610d2d565b610d2a82612b1d565b90505b919050565b606060028054610d41906146df565b80601f0160208091040260200160405190810160405280929190818152602001828054610d6d906146df565b8015610dba5780601f10610d8f57610100808354040283529160200191610dba565b820191906000526020600020905b815481529060010190602001808311610d9d57829003601f168201915b5050505050905090565b6000610dcf82612baf565b610e05576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610e4b826115e1565b90508073ffffffffffffffffffffffffffffffffffffffff16610e6c612c0e565b73ffffffffffffffffffffffffffffffffffffffff1614610ecf57610e9881610e93612c0e565b61250e565b610ece576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610faf612c16565b80600b8190555050565b6000610fc3612c94565b6001546000540303905090565b6000610fdb82612c99565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611042576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061104e84612d67565b91509150611064818761105f612c0e565b612d89565b6110b05761107986611074612c0e565b61250e565b6110af576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611117576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111248686866001612dcd565b801561112f57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506111fd856111d9888887612dd3565b7c020000000000000000000000000000000000000000000000000000000017612dfb565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415611285576000600185019050600060046000838152602001908152602001600020541415611283576000548114611282578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46112ed8686866001612e26565b505050505050565b600080601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710600e548561132c91906145c5565b6113369190614594565b915091509250929050565b611349612c16565b8181600d919061135a9291906135f7565b505050565b61137a83838360405180602001604052806000815250611da7565b505050565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c5481565b606060006113b8836116f1565b67ffffffffffffffff8111156113f7577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156114255781602001602082028036833780820191505090505b5090506000805b611434610fb9565b8110156114df578473ffffffffffffffffffffffffffffffffffffffff1661145b826115e1565b73ffffffffffffffffffffffffffffffffffffffff1614156114cc57808383815181106114b1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505081806114c890614742565b9250505b80806114d790614742565b91505061142c565b508192505050919050565b600860149054906101000a900460ff1681565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606019805480602002602001604051908101604052809291908181526020016000905b828210156115b257838290600052602060002090600402016040518060800160405290816000820160009054906101000a900460ff16151515158152602001600182015481526020016002820154815260200160038201548152505081526020019060010190611547565b50505050905090565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006115ec82612c99565b9050919050565b6115fb612c16565b600060196001816001815401808255809150500390600052602060002090600402019050848160000160006101000a81548160ff0219169083151502179055508381600101819055508281600201819055508181600301819055505050505050565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61168b612c16565b80601983815481106116c6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060040201600301819055505050565b6116e7612c16565b80600a8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611759576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6117b2612c16565b6117bc6000612e2c565b565b6117c6612c16565b8060198381548110611801577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060040201600101819055505050565b60008060198681548110611857577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600402016040518060800160405290816000820160009054906101000a900460ff1615151515815260200160018201548152602001600282015481526020016003820154815250509050611921848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508260600151876040516020016119069190614128565b60405160208183030381529060405280519060200120612ef2565b915050949350505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61195e612c16565b8060098190555050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606003805461199d906146df565b80601f01602080910402602001604051908101604052809291908181526020018280546119c9906146df565b8015611a165780601f106119eb57610100808354040283529160200191611a16565b820191906000526020600020905b8154815290600101906020018083116119f957829003601f168201915b5050505050905090565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000611a5182612f09565b9050919050565b60095481565b600860149054906101000a900460ff16611aad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa4906143ed565b60405180910390fd5b600c5481611aba33612f09565b611ac4919061453e565b1115611b05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611afc9061428d565b60405180910390fd5b600b548111158015611b175750600081115b611b56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4d906142ed565b60405180910390fd5b600a54611b61610fb9565b82611b6c919061453e565b1115611bad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba4906142cd565b60405180910390fd5b80600954611bbb91906145c5565b3414611bfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf39061436d565b60405180910390fd5b611c063382612f60565b50565b611c11612c0e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c76576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611c83612c0e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d30612c0e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d759190614250565b60405180910390a35050565b601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611db2848484610fd0565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611e1457611ddd84848484612f7e565b611e13576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b611e22612c16565b600047905060008111611e3457600080fd5b611e86600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611e816064611e736005866130de90919063ffffffff16565b6130f490919063ffffffff16565b61310a565b611ed8601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611ed36064611ec56004866130de90919063ffffffff16565b6130f490919063ffffffff16565b61310a565b611f2a601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611f256064611f176005866130de90919063ffffffff16565b6130f490919063ffffffff16565b61310a565b611f7c601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611f776064611f696004866130de90919063ffffffff16565b6130f490919063ffffffff16565b61310a565b611fce601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611fc96064611fbb6004866130de90919063ffffffff16565b6130f490919063ffffffff16565b61310a565b612020601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661201b606461200d6002866130de90919063ffffffff16565b6130f490919063ffffffff16565b61310a565b612072601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661206d606461205f6002866130de90919063ffffffff16565b6130f490919063ffffffff16565b61310a565b6120c4601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166120bf60646120b16002866130de90919063ffffffff16565b6130f490919063ffffffff16565b61310a565b612116601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661211160646121036002866130de90919063ffffffff16565b6130f490919063ffffffff16565b61310a565b612142601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff164761310a565b50565b61214d612c16565b80600c8190555050565b6060612161612c16565b600d805461216e906146df565b80601f016020809104026020016040519081016040528092919081815260200182805461219a906146df565b80156121e75780601f106121bc576101008083540402835291602001916121e7565b820191906000526020600020905b8154815290600101906020018083116121ca57829003601f168201915b5050505050905090565b60606121fc82612baf565b612232576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061223c6131bb565b905060008151141561225d5760405180602001604052806000815250612288565b806122678461324d565b604051602001612278929190614143565b6040516020818303038152906040525b915050919050565b612298612c16565b600860149054906101000a900460ff1615600860146101000a81548160ff021916908315150217905550565b6122cc612c16565b60006122d6610fb9565b9050600a548183868690506122eb91906145c5565b6122f5919061453e565b1115612336576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232d9061438d565b60405180910390fd5b60005b848490508110156123ae5761239b858583818110612380577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190612395919061385e565b84612f60565b80806123a690614742565b915050612339565b5050505050565b600a5481565b6123c3612c16565b601981815481106123fd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906004020160000160009054906101000a900460ff161560198281548110612457577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906004020160000160006101000a81548160ff02191690831515021790555050565b61248a612c16565b60004790506000811161249c57600080fd5b601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015612504573d6000803e3d6000fd5b5050565b600b5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000601a600084815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600060198581548110612639577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600402016040518060800160405290816000820160009054906101000a900460ff161515151581526020016001820154815260200160028201548152602001600382015481525050905080600001516126d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126c89061430d565b60405180910390fd5b600c54846126de33612f09565b6126e8919061453e565b1115612729576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127209061428d565b60405180910390fd5b600b54841115801561273b5750600084115b61277a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612771906142ed565b60405180910390fd5b600a54612785610fb9565b85612790919061453e565b11156127d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c8906142cd565b60405180910390fd5b8381602001516127e191906145c5565b3414612822576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128199061436d565b60405180910390fd5b806040015184601a600088815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612883919061453e565b11156128c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128bb906143cd565b60405180910390fd5b61293a838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505082606001513360405160200161291f9190614128565b60405160208183030381529060405280519060200120612ef2565b612979576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129709061432d565b60405180910390fd5b6129833385612f60565b83601a600087815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129e3919061453e565b925050819055505050505050565b601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b612a1f612c16565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612a8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a86906142ad565b60405180910390fd5b612a9881612e2c565b50565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b612ac9612c16565b8060198381548110612b04577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060040201600201819055505050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612b7857506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612ba85750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600081612bba612c94565b11158015612bc9575060005482105b8015612c07575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b612c1e6132a7565b73ffffffffffffffffffffffffffffffffffffffff16612c3c61192c565b73ffffffffffffffffffffffffffffffffffffffff1614612c92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c899061434d565b60405180910390fd5b565b600090565b60008082905080612ca8612c94565b11612d3057600054811015612d2f5760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612d2d575b6000811415612d23576004600083600190039350838152602001908152602001600020549050612cf8565b8092505050612d62565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612dea8686846132af565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600082612eff85846132b8565b1490509392505050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b612f7a828260405180602001604052806000815250613334565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612fa4612c0e565b8786866040518563ffffffff1660e01b8152600401612fc69493929190614197565b602060405180830381600087803b158015612fe057600080fd5b505af192505050801561301157506040513d601f19601f8201168201806040525081019061300e9190613ae9565b60015b61308b573d8060008114613041576040519150601f19603f3d011682016040523d82523d6000602084013e613046565b606091505b50600081511415613083576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600081836130ec91906145c5565b905092915050565b600081836131029190614594565b905092915050565b60008273ffffffffffffffffffffffffffffffffffffffff168260405161313090614167565b60006040518083038185875af1925050503d806000811461316d576040519150601f19603f3d011682016040523d82523d6000602084013e613172565b606091505b50509050806131b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131ad906143ad565b60405180910390fd5b505050565b6060600d80546131ca906146df565b80601f01602080910402602001604051908101604052809291908181526020018280546131f6906146df565b80156132435780601f1061321857610100808354040283529160200191613243565b820191906000526020600020905b81548152906001019060200180831161322657829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b801561329357600183039250600a81066030018353600a81049050613273565b508181036020830392508083525050919050565b600033905090565b60009392505050565b60008082905060005b84518110156133295761331482868381518110613307577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516133d1565b9150808061332190614742565b9150506132c1565b508091505092915050565b61333e83836133fc565b60008373ffffffffffffffffffffffffffffffffffffffff163b146133cc57600080549050600083820390505b61337e6000868380600101945086612f7e565b6133b4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061336b5781600054146133c957600080fd5b50505b505050565b60008183106133e9576133e482846135d0565b6133f4565b6133f383836135d0565b5b905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613469576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008214156134a4576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6134b16000848385612dcd565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550613528836135196000866000612dd3565b613522856135e7565b17612dfb565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821061354c578060008190555050506135cb6000848385612e26565b505050565b600082600052816020526040600020905092915050565b60006001821460e11b9050919050565b828054613603906146df565b90600052602060002090601f016020900481019282613625576000855561366c565b82601f1061363e57803560ff191683800117855561366c565b8280016001018555821561366c579182015b8281111561366b578235825591602001919060010190613650565b5b509050613679919061367d565b5090565b5b8082111561369657600081600090555060010161367e565b5090565b60006136ad6136a88461444d565b614428565b9050828152602081018484840111156136c557600080fd5b6136d084828561469d565b509392505050565b6000813590506136e781614a9e565b92915050565b60008083601f8401126136ff57600080fd5b8235905067ffffffffffffffff81111561371857600080fd5b60208301915083602082028301111561373057600080fd5b9250929050565b60008083601f84011261374957600080fd5b8235905067ffffffffffffffff81111561376257600080fd5b60208301915083602082028301111561377a57600080fd5b9250929050565b60008135905061379081614ab5565b92915050565b6000813590506137a581614acc565b92915050565b6000813590506137ba81614ae3565b92915050565b6000815190506137cf81614ae3565b92915050565b600082601f8301126137e657600080fd5b81356137f684826020860161369a565b91505092915050565b60008083601f84011261381157600080fd5b8235905067ffffffffffffffff81111561382a57600080fd5b60208301915083600182028301111561384257600080fd5b9250929050565b60008135905061385881614afa565b92915050565b60006020828403121561387057600080fd5b600061387e848285016136d8565b91505092915050565b6000806040838503121561389a57600080fd5b60006138a8858286016136d8565b92505060206138b9858286016136d8565b9150509250929050565b6000806000606084860312156138d857600080fd5b60006138e6868287016136d8565b93505060206138f7868287016136d8565b925050604061390886828701613849565b9150509250925092565b6000806000806080858703121561392857600080fd5b6000613936878288016136d8565b9450506020613947878288016136d8565b935050604061395887828801613849565b925050606085013567ffffffffffffffff81111561397557600080fd5b613981878288016137d5565b91505092959194509250565b600080604083850312156139a057600080fd5b60006139ae858286016136d8565b92505060206139bf85828601613781565b9150509250929050565b600080604083850312156139dc57600080fd5b60006139ea858286016136d8565b92505060206139fb85828601613849565b9150509250929050565b600080600060408486031215613a1a57600080fd5b600084013567ffffffffffffffff811115613a3457600080fd5b613a40868287016136ed565b93509350506020613a5386828701613849565b9150509250925092565b60008060008060808587031215613a7357600080fd5b6000613a8187828801613781565b9450506020613a9287828801613849565b9350506040613aa387828801613849565b9250506060613ab487828801613796565b91505092959194509250565b600060208284031215613ad257600080fd5b6000613ae0848285016137ab565b91505092915050565b600060208284031215613afb57600080fd5b6000613b09848285016137c0565b91505092915050565b60008060208385031215613b2557600080fd5b600083013567ffffffffffffffff811115613b3f57600080fd5b613b4b858286016137ff565b92509250509250929050565b600060208284031215613b6957600080fd5b6000613b7784828501613849565b91505092915050565b60008060408385031215613b9357600080fd5b6000613ba185828601613849565b9250506020613bb2858286016136d8565b9150509250929050565b60008060008060608587031215613bd257600080fd5b6000613be087828801613849565b9450506020613bf1878288016136d8565b935050604085013567ffffffffffffffff811115613c0e57600080fd5b613c1a87828801613737565b925092505092959194509250565b60008060408385031215613c3b57600080fd5b6000613c4985828601613849565b9250506020613c5a85828601613796565b9150509250929050565b60008060408385031215613c7757600080fd5b6000613c8585828601613849565b9250506020613c9685828601613849565b9150509250929050565b60008060008060608587031215613cb657600080fd5b6000613cc487828801613849565b9450506020613cd587828801613849565b935050604085013567ffffffffffffffff811115613cf257600080fd5b613cfe87828801613737565b925092505092959194509250565b6000613d1883836140b5565b60808301905092915050565b6000613d30838361410a565b60208301905092915050565b613d458161461f565b82525050565b613d5c613d578261461f565b61478b565b82525050565b6000613d6d8261449e565b613d7781856144e4565b9350613d828361447e565b8060005b83811015613db3578151613d9a8882613d0c565b9750613da5836144ca565b925050600181019050613d86565b5085935050505092915050565b6000613dcb826144a9565b613dd581856144f5565b9350613de08361448e565b8060005b83811015613e11578151613df88882613d24565b9750613e03836144d7565b925050600181019050613de4565b5085935050505092915050565b613e2781614631565b82525050565b613e3681614631565b82525050565b613e458161463d565b82525050565b6000613e56826144b4565b613e608185614506565b9350613e708185602086016146ac565b613e798161486b565b840191505092915050565b6000613e8f826144bf565b613e998185614522565b9350613ea98185602086016146ac565b613eb28161486b565b840191505092915050565b6000613ec8826144bf565b613ed28185614533565b9350613ee28185602086016146ac565b80840191505092915050565b6000613efb601283614522565b9150613f0682614889565b602082019050919050565b6000613f1e602683614522565b9150613f29826148b2565b604082019050919050565b6000613f41601483614522565b9150613f4c82614901565b602082019050919050565b6000613f64601883614522565b9150613f6f8261492a565b602082019050919050565b6000613f87601683614522565b9150613f9282614953565b602082019050919050565b6000613faa601d83614522565b9150613fb58261497c565b602082019050919050565b6000613fcd602083614522565b9150613fd8826149a5565b602082019050919050565b6000613ff0600d83614522565b9150613ffb826149ce565b602082019050919050565b6000614013601a83614522565b915061401e826149f7565b602082019050919050565b6000614036600083614517565b915061404182614a20565b600082019050919050565b6000614059601083614522565b915061406482614a23565b602082019050919050565b600061407c601c83614522565b915061408782614a4c565b602082019050919050565b600061409f601183614522565b91506140aa82614a75565b602082019050919050565b6080820160008201516140cb6000850182613e1e565b5060208201516140de602085018261410a565b5060408201516140f1604085018261410a565b5060608201516141046060850182613e3c565b50505050565b61411381614693565b82525050565b61412281614693565b82525050565b60006141348284613d4b565b60148201915081905092915050565b600061414f8285613ebd565b915061415b8284613ebd565b91508190509392505050565b600061417282614029565b9150819050919050565b60006020820190506141916000830184613d3c565b92915050565b60006080820190506141ac6000830187613d3c565b6141b96020830186613d3c565b6141c66040830185614119565b81810360608301526141d88184613e4b565b905095945050505050565b60006040820190506141f86000830185613d3c565b6142056020830184614119565b9392505050565b600060208201905081810360008301526142268184613d62565b905092915050565b600060208201905081810360008301526142488184613dc0565b905092915050565b60006020820190506142656000830184613e2d565b92915050565b600060208201905081810360008301526142858184613e84565b905092915050565b600060208201905081810360008301526142a681613eee565b9050919050565b600060208201905081810360008301526142c681613f11565b9050919050565b600060208201905081810360008301526142e681613f34565b9050919050565b6000602082019050818103600083015261430681613f57565b9050919050565b6000602082019050818103600083015261432681613f7a565b9050919050565b6000602082019050818103600083015261434681613f9d565b9050919050565b6000602082019050818103600083015261436681613fc0565b9050919050565b6000602082019050818103600083015261438681613fe3565b9050919050565b600060208201905081810360008301526143a681614006565b9050919050565b600060208201905081810360008301526143c68161404c565b9050919050565b600060208201905081810360008301526143e68161406f565b9050919050565b6000602082019050818103600083015261440681614092565b9050919050565b60006020820190506144226000830184614119565b92915050565b6000614432614443565b905061443e8282614711565b919050565b6000604051905090565b600067ffffffffffffffff8211156144685761446761483c565b5b6144718261486b565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061454982614693565b915061455483614693565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614589576145886147af565b5b828201905092915050565b600061459f82614693565b91506145aa83614693565b9250826145ba576145b96147de565b5b828204905092915050565b60006145d082614693565b91506145db83614693565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614614576146136147af565b5b828202905092915050565b600061462a82614673565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156146ca5780820151818401526020810190506146af565b838111156146d9576000848401525b50505050565b600060028204905060018216806146f757607f821691505b6020821081141561470b5761470a61480d565b5b50919050565b61471a8261486b565b810181811067ffffffffffffffff821117156147395761473861483c565b5b80604052505050565b600061474d82614693565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156147805761477f6147af565b5b600182019050919050565b60006147968261479d565b9050919050565b60006147a88261487c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45786365656473206d696e74206c696d69740000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4578636565647320746f74616c20737570706c79000000000000000000000000600082015250565b7f517479206f66206d696e7473206e6f7420616c6c6f7765640000000000000000600082015250565b7f57686974656c6973742069736e27742061637469766500000000000000000000600082015250565b7f4372697465726961206e6f74206f6e207468652077686974656c697374000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f496e76616c69642076616c756500000000000000000000000000000000000000600082015250565b7f56616c7565206578636565647320746f74616c20737570706c79000000000000600082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f457863656564732077686974656c697374206d696e74206c696d697400000000600082015250565b7f4d696e742069736e277420616374697665000000000000000000000000000000600082015250565b614aa78161461f565b8114614ab257600080fd5b50565b614abe81614631565b8114614ac957600080fd5b50565b614ad58161463d565b8114614ae057600080fd5b50565b614aec81614647565b8114614af757600080fd5b50565b614b0381614693565b8114614b0e57600080fd5b5056fea264697066735822122059a573d42413083e09518597d9ff6e9c4c0a2100847f2b2287b009df5f24d7e364736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106103505760003560e01c80638da5cb5b116101c6578063c87b56dd116100f7578063e985e9c511610095578063ee65212b1161006f578063ee65212b14610c21578063f2fde38b14610c4c578063f74ea41814610c75578063f7cf512214610ca057610350565b8063e985e9c514610b8b578063ee2f4a7414610bc8578063ee49382414610c0557610350565b8063d5abeb01116100d1578063d5abeb0114610af5578063d94025e514610b20578063db2e21bc14610b49578063dc30158b14610b6057610350565b8063c87b56dd14610a78578063d02c2bf214610ab5578063d4d8b39214610acc57610350565b8063a0712d6811610164578063b88d4fde1161013e578063b88d4fde146109e4578063bb51f32d14610a0d578063bc0f7bb414610a24578063bdc32be014610a4d57610350565b8063a0712d6814610974578063a22cb46514610990578063a48caeaa146109b957610350565b806395d89b41116101a057806395d89b41146108b6578063969e9d0c146108e15780639e13b64f1461090c578063a035b1fe1461094957610350565b80638da5cb5b1461083757806391b7f5ed146108625780639426eef81461088b57610350565b80635a3f2672116102a05780636ad847ff1161023e57806370a082311161021857806370a082311461077d578063715018a6146107ba5780637c0ea805146107d1578063891dd3fb146107fa57610350565b80636ad847ff146107005780636efc76eb1461072b5780636f8b44b01461075457610350565b80635e2d5fb51161027a5780635e2d5fb514610644578063615db6e11461066f5780636352211e1461069a57806365517ed7146106d757610350565b80635a3f2672146105b15780635b92ac0d146105ee5780635e048cc91461061957610350565b806318160ddd1161030d57806330176e13116102e757806330176e131461050957806342842e0e14610532578063475053801461055b578063511d4b0b1461058657610350565b806318160ddd1461047757806323b872dd146104a25780632a55205a146104cb57610350565b806301ffc9a71461035557806306fdde0314610392578063081812fc146103bd578063095ea7b3146103fa578063119552a114610423578063174da4a21461044e575b600080fd5b34801561036157600080fd5b5061037c60048036038101906103779190613ac0565b610cc9565b6040516103899190614250565b60405180910390f35b34801561039e57600080fd5b506103a7610d32565b6040516103b4919061426b565b60405180910390f35b3480156103c957600080fd5b506103e460048036038101906103df9190613b57565b610dc4565b6040516103f1919061417c565b60405180910390f35b34801561040657600080fd5b50610421600480360381019061041c91906139c9565b610e40565b005b34801561042f57600080fd5b50610438610f81565b604051610445919061417c565b60405180910390f35b34801561045a57600080fd5b5061047560048036038101906104709190613b57565b610fa7565b005b34801561048357600080fd5b5061048c610fb9565b604051610499919061440d565b60405180910390f35b3480156104ae57600080fd5b506104c960048036038101906104c491906138c3565b610fd0565b005b3480156104d757600080fd5b506104f260048036038101906104ed9190613c64565b6112f5565b6040516105009291906141e3565b60405180910390f35b34801561051557600080fd5b50610530600480360381019061052b9190613b12565b611341565b005b34801561053e57600080fd5b50610559600480360381019061055491906138c3565b61135f565b005b34801561056757600080fd5b5061057061137f565b60405161057d919061417c565b60405180910390f35b34801561059257600080fd5b5061059b6113a5565b6040516105a8919061440d565b60405180910390f35b3480156105bd57600080fd5b506105d860048036038101906105d3919061385e565b6113ab565b6040516105e5919061422e565b60405180910390f35b3480156105fa57600080fd5b506106036114ea565b6040516106109190614250565b60405180910390f35b34801561062557600080fd5b5061062e6114fd565b60405161063b919061417c565b60405180910390f35b34801561065057600080fd5b50610659611523565b604051610666919061420c565b60405180910390f35b34801561067b57600080fd5b506106846115bb565b604051610691919061417c565b60405180910390f35b3480156106a657600080fd5b506106c160048036038101906106bc9190613b57565b6115e1565b6040516106ce919061417c565b60405180910390f35b3480156106e357600080fd5b506106fe60048036038101906106f99190613a5d565b6115f3565b005b34801561070c57600080fd5b5061071561165d565b604051610722919061417c565b60405180910390f35b34801561073757600080fd5b50610752600480360381019061074d9190613c28565b611683565b005b34801561076057600080fd5b5061077b60048036038101906107769190613b57565b6116df565b005b34801561078957600080fd5b506107a4600480360381019061079f919061385e565b6116f1565b6040516107b1919061440d565b60405180910390f35b3480156107c657600080fd5b506107cf6117aa565b005b3480156107dd57600080fd5b506107f860048036038101906107f39190613c64565b6117be565b005b34801561080657600080fd5b50610821600480360381019061081c9190613bbc565b61181a565b60405161082e9190614250565b60405180910390f35b34801561084357600080fd5b5061084c61192c565b604051610859919061417c565b60405180910390f35b34801561086e57600080fd5b5061088960048036038101906108849190613b57565b611956565b005b34801561089757600080fd5b506108a0611968565b6040516108ad919061417c565b60405180910390f35b3480156108c257600080fd5b506108cb61198e565b6040516108d8919061426b565b60405180910390f35b3480156108ed57600080fd5b506108f6611a20565b604051610903919061417c565b60405180910390f35b34801561091857600080fd5b50610933600480360381019061092e919061385e565b611a46565b604051610940919061440d565b60405180910390f35b34801561095557600080fd5b5061095e611a58565b60405161096b919061440d565b60405180910390f35b61098e60048036038101906109899190613b57565b611a5e565b005b34801561099c57600080fd5b506109b760048036038101906109b2919061398d565b611c09565b005b3480156109c557600080fd5b506109ce611d81565b6040516109db919061417c565b60405180910390f35b3480156109f057600080fd5b50610a0b6004803603810190610a069190613912565b611da7565b005b348015610a1957600080fd5b50610a22611e1a565b005b348015610a3057600080fd5b50610a4b6004803603810190610a469190613b57565b612145565b005b348015610a5957600080fd5b50610a62612157565b604051610a6f919061426b565b60405180910390f35b348015610a8457600080fd5b50610a9f6004803603810190610a9a9190613b57565b6121f1565b604051610aac919061426b565b60405180910390f35b348015610ac157600080fd5b50610aca612290565b005b348015610ad857600080fd5b50610af36004803603810190610aee9190613a05565b6122c4565b005b348015610b0157600080fd5b50610b0a6123b5565b604051610b17919061440d565b60405180910390f35b348015610b2c57600080fd5b50610b476004803603810190610b429190613b57565b6123bb565b005b348015610b5557600080fd5b50610b5e612482565b005b348015610b6c57600080fd5b50610b75612508565b604051610b82919061440d565b60405180910390f35b348015610b9757600080fd5b50610bb26004803603810190610bad9190613887565b61250e565b604051610bbf9190614250565b60405180910390f35b348015610bd457600080fd5b50610bef6004803603810190610bea9190613b80565b6125a2565b604051610bfc919061440d565b60405180910390f35b610c1f6004803603810190610c1a9190613ca0565b6125fd565b005b348015610c2d57600080fd5b50610c366129f1565b604051610c43919061417c565b60405180910390f35b348015610c5857600080fd5b50610c736004803603810190610c6e919061385e565b612a17565b005b348015610c8157600080fd5b50610c8a612a9b565b604051610c97919061417c565b60405180910390f35b348015610cac57600080fd5b50610cc76004803603810190610cc29190613c64565b612ac1565b005b6000632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415610d215760019050610d2d565b610d2a82612b1d565b90505b919050565b606060028054610d41906146df565b80601f0160208091040260200160405190810160405280929190818152602001828054610d6d906146df565b8015610dba5780601f10610d8f57610100808354040283529160200191610dba565b820191906000526020600020905b815481529060010190602001808311610d9d57829003601f168201915b5050505050905090565b6000610dcf82612baf565b610e05576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610e4b826115e1565b90508073ffffffffffffffffffffffffffffffffffffffff16610e6c612c0e565b73ffffffffffffffffffffffffffffffffffffffff1614610ecf57610e9881610e93612c0e565b61250e565b610ece576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610faf612c16565b80600b8190555050565b6000610fc3612c94565b6001546000540303905090565b6000610fdb82612c99565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611042576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061104e84612d67565b91509150611064818761105f612c0e565b612d89565b6110b05761107986611074612c0e565b61250e565b6110af576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611117576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111248686866001612dcd565b801561112f57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506111fd856111d9888887612dd3565b7c020000000000000000000000000000000000000000000000000000000017612dfb565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415611285576000600185019050600060046000838152602001908152602001600020541415611283576000548114611282578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46112ed8686866001612e26565b505050505050565b600080601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710600e548561132c91906145c5565b6113369190614594565b915091509250929050565b611349612c16565b8181600d919061135a9291906135f7565b505050565b61137a83838360405180602001604052806000815250611da7565b505050565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c5481565b606060006113b8836116f1565b67ffffffffffffffff8111156113f7577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156114255781602001602082028036833780820191505090505b5090506000805b611434610fb9565b8110156114df578473ffffffffffffffffffffffffffffffffffffffff1661145b826115e1565b73ffffffffffffffffffffffffffffffffffffffff1614156114cc57808383815181106114b1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505081806114c890614742565b9250505b80806114d790614742565b91505061142c565b508192505050919050565b600860149054906101000a900460ff1681565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606019805480602002602001604051908101604052809291908181526020016000905b828210156115b257838290600052602060002090600402016040518060800160405290816000820160009054906101000a900460ff16151515158152602001600182015481526020016002820154815260200160038201548152505081526020019060010190611547565b50505050905090565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006115ec82612c99565b9050919050565b6115fb612c16565b600060196001816001815401808255809150500390600052602060002090600402019050848160000160006101000a81548160ff0219169083151502179055508381600101819055508281600201819055508181600301819055505050505050565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61168b612c16565b80601983815481106116c6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060040201600301819055505050565b6116e7612c16565b80600a8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611759576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6117b2612c16565b6117bc6000612e2c565b565b6117c6612c16565b8060198381548110611801577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060040201600101819055505050565b60008060198681548110611857577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600402016040518060800160405290816000820160009054906101000a900460ff1615151515815260200160018201548152602001600282015481526020016003820154815250509050611921848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508260600151876040516020016119069190614128565b60405160208183030381529060405280519060200120612ef2565b915050949350505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61195e612c16565b8060098190555050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606003805461199d906146df565b80601f01602080910402602001604051908101604052809291908181526020018280546119c9906146df565b8015611a165780601f106119eb57610100808354040283529160200191611a16565b820191906000526020600020905b8154815290600101906020018083116119f957829003601f168201915b5050505050905090565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000611a5182612f09565b9050919050565b60095481565b600860149054906101000a900460ff16611aad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa4906143ed565b60405180910390fd5b600c5481611aba33612f09565b611ac4919061453e565b1115611b05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611afc9061428d565b60405180910390fd5b600b548111158015611b175750600081115b611b56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4d906142ed565b60405180910390fd5b600a54611b61610fb9565b82611b6c919061453e565b1115611bad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba4906142cd565b60405180910390fd5b80600954611bbb91906145c5565b3414611bfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf39061436d565b60405180910390fd5b611c063382612f60565b50565b611c11612c0e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c76576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611c83612c0e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d30612c0e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d759190614250565b60405180910390a35050565b601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611db2848484610fd0565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611e1457611ddd84848484612f7e565b611e13576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b611e22612c16565b600047905060008111611e3457600080fd5b611e86600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611e816064611e736005866130de90919063ffffffff16565b6130f490919063ffffffff16565b61310a565b611ed8601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611ed36064611ec56004866130de90919063ffffffff16565b6130f490919063ffffffff16565b61310a565b611f2a601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611f256064611f176005866130de90919063ffffffff16565b6130f490919063ffffffff16565b61310a565b611f7c601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611f776064611f696004866130de90919063ffffffff16565b6130f490919063ffffffff16565b61310a565b611fce601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611fc96064611fbb6004866130de90919063ffffffff16565b6130f490919063ffffffff16565b61310a565b612020601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661201b606461200d6002866130de90919063ffffffff16565b6130f490919063ffffffff16565b61310a565b612072601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661206d606461205f6002866130de90919063ffffffff16565b6130f490919063ffffffff16565b61310a565b6120c4601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166120bf60646120b16002866130de90919063ffffffff16565b6130f490919063ffffffff16565b61310a565b612116601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661211160646121036002866130de90919063ffffffff16565b6130f490919063ffffffff16565b61310a565b612142601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff164761310a565b50565b61214d612c16565b80600c8190555050565b6060612161612c16565b600d805461216e906146df565b80601f016020809104026020016040519081016040528092919081815260200182805461219a906146df565b80156121e75780601f106121bc576101008083540402835291602001916121e7565b820191906000526020600020905b8154815290600101906020018083116121ca57829003601f168201915b5050505050905090565b60606121fc82612baf565b612232576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061223c6131bb565b905060008151141561225d5760405180602001604052806000815250612288565b806122678461324d565b604051602001612278929190614143565b6040516020818303038152906040525b915050919050565b612298612c16565b600860149054906101000a900460ff1615600860146101000a81548160ff021916908315150217905550565b6122cc612c16565b60006122d6610fb9565b9050600a548183868690506122eb91906145c5565b6122f5919061453e565b1115612336576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232d9061438d565b60405180910390fd5b60005b848490508110156123ae5761239b858583818110612380577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190612395919061385e565b84612f60565b80806123a690614742565b915050612339565b5050505050565b600a5481565b6123c3612c16565b601981815481106123fd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906004020160000160009054906101000a900460ff161560198281548110612457577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906004020160000160006101000a81548160ff02191690831515021790555050565b61248a612c16565b60004790506000811161249c57600080fd5b601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015612504573d6000803e3d6000fd5b5050565b600b5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000601a600084815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600060198581548110612639577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600402016040518060800160405290816000820160009054906101000a900460ff161515151581526020016001820154815260200160028201548152602001600382015481525050905080600001516126d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126c89061430d565b60405180910390fd5b600c54846126de33612f09565b6126e8919061453e565b1115612729576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127209061428d565b60405180910390fd5b600b54841115801561273b5750600084115b61277a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612771906142ed565b60405180910390fd5b600a54612785610fb9565b85612790919061453e565b11156127d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c8906142cd565b60405180910390fd5b8381602001516127e191906145c5565b3414612822576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128199061436d565b60405180910390fd5b806040015184601a600088815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612883919061453e565b11156128c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128bb906143cd565b60405180910390fd5b61293a838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505082606001513360405160200161291f9190614128565b60405160208183030381529060405280519060200120612ef2565b612979576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129709061432d565b60405180910390fd5b6129833385612f60565b83601a600087815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129e3919061453e565b925050819055505050505050565b601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b612a1f612c16565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612a8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a86906142ad565b60405180910390fd5b612a9881612e2c565b50565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b612ac9612c16565b8060198381548110612b04577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060040201600201819055505050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612b7857506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612ba85750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600081612bba612c94565b11158015612bc9575060005482105b8015612c07575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b612c1e6132a7565b73ffffffffffffffffffffffffffffffffffffffff16612c3c61192c565b73ffffffffffffffffffffffffffffffffffffffff1614612c92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c899061434d565b60405180910390fd5b565b600090565b60008082905080612ca8612c94565b11612d3057600054811015612d2f5760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612d2d575b6000811415612d23576004600083600190039350838152602001908152602001600020549050612cf8565b8092505050612d62565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612dea8686846132af565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600082612eff85846132b8565b1490509392505050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b612f7a828260405180602001604052806000815250613334565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612fa4612c0e565b8786866040518563ffffffff1660e01b8152600401612fc69493929190614197565b602060405180830381600087803b158015612fe057600080fd5b505af192505050801561301157506040513d601f19601f8201168201806040525081019061300e9190613ae9565b60015b61308b573d8060008114613041576040519150601f19603f3d011682016040523d82523d6000602084013e613046565b606091505b50600081511415613083576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600081836130ec91906145c5565b905092915050565b600081836131029190614594565b905092915050565b60008273ffffffffffffffffffffffffffffffffffffffff168260405161313090614167565b60006040518083038185875af1925050503d806000811461316d576040519150601f19603f3d011682016040523d82523d6000602084013e613172565b606091505b50509050806131b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131ad906143ad565b60405180910390fd5b505050565b6060600d80546131ca906146df565b80601f01602080910402602001604051908101604052809291908181526020018280546131f6906146df565b80156132435780601f1061321857610100808354040283529160200191613243565b820191906000526020600020905b81548152906001019060200180831161322657829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b801561329357600183039250600a81066030018353600a81049050613273565b508181036020830392508083525050919050565b600033905090565b60009392505050565b60008082905060005b84518110156133295761331482868381518110613307577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516133d1565b9150808061332190614742565b9150506132c1565b508091505092915050565b61333e83836133fc565b60008373ffffffffffffffffffffffffffffffffffffffff163b146133cc57600080549050600083820390505b61337e6000868380600101945086612f7e565b6133b4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061336b5781600054146133c957600080fd5b50505b505050565b60008183106133e9576133e482846135d0565b6133f4565b6133f383836135d0565b5b905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613469576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008214156134a4576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6134b16000848385612dcd565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550613528836135196000866000612dd3565b613522856135e7565b17612dfb565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821061354c578060008190555050506135cb6000848385612e26565b505050565b600082600052816020526040600020905092915050565b60006001821460e11b9050919050565b828054613603906146df565b90600052602060002090601f016020900481019282613625576000855561366c565b82601f1061363e57803560ff191683800117855561366c565b8280016001018555821561366c579182015b8281111561366b578235825591602001919060010190613650565b5b509050613679919061367d565b5090565b5b8082111561369657600081600090555060010161367e565b5090565b60006136ad6136a88461444d565b614428565b9050828152602081018484840111156136c557600080fd5b6136d084828561469d565b509392505050565b6000813590506136e781614a9e565b92915050565b60008083601f8401126136ff57600080fd5b8235905067ffffffffffffffff81111561371857600080fd5b60208301915083602082028301111561373057600080fd5b9250929050565b60008083601f84011261374957600080fd5b8235905067ffffffffffffffff81111561376257600080fd5b60208301915083602082028301111561377a57600080fd5b9250929050565b60008135905061379081614ab5565b92915050565b6000813590506137a581614acc565b92915050565b6000813590506137ba81614ae3565b92915050565b6000815190506137cf81614ae3565b92915050565b600082601f8301126137e657600080fd5b81356137f684826020860161369a565b91505092915050565b60008083601f84011261381157600080fd5b8235905067ffffffffffffffff81111561382a57600080fd5b60208301915083600182028301111561384257600080fd5b9250929050565b60008135905061385881614afa565b92915050565b60006020828403121561387057600080fd5b600061387e848285016136d8565b91505092915050565b6000806040838503121561389a57600080fd5b60006138a8858286016136d8565b92505060206138b9858286016136d8565b9150509250929050565b6000806000606084860312156138d857600080fd5b60006138e6868287016136d8565b93505060206138f7868287016136d8565b925050604061390886828701613849565b9150509250925092565b6000806000806080858703121561392857600080fd5b6000613936878288016136d8565b9450506020613947878288016136d8565b935050604061395887828801613849565b925050606085013567ffffffffffffffff81111561397557600080fd5b613981878288016137d5565b91505092959194509250565b600080604083850312156139a057600080fd5b60006139ae858286016136d8565b92505060206139bf85828601613781565b9150509250929050565b600080604083850312156139dc57600080fd5b60006139ea858286016136d8565b92505060206139fb85828601613849565b9150509250929050565b600080600060408486031215613a1a57600080fd5b600084013567ffffffffffffffff811115613a3457600080fd5b613a40868287016136ed565b93509350506020613a5386828701613849565b9150509250925092565b60008060008060808587031215613a7357600080fd5b6000613a8187828801613781565b9450506020613a9287828801613849565b9350506040613aa387828801613849565b9250506060613ab487828801613796565b91505092959194509250565b600060208284031215613ad257600080fd5b6000613ae0848285016137ab565b91505092915050565b600060208284031215613afb57600080fd5b6000613b09848285016137c0565b91505092915050565b60008060208385031215613b2557600080fd5b600083013567ffffffffffffffff811115613b3f57600080fd5b613b4b858286016137ff565b92509250509250929050565b600060208284031215613b6957600080fd5b6000613b7784828501613849565b91505092915050565b60008060408385031215613b9357600080fd5b6000613ba185828601613849565b9250506020613bb2858286016136d8565b9150509250929050565b60008060008060608587031215613bd257600080fd5b6000613be087828801613849565b9450506020613bf1878288016136d8565b935050604085013567ffffffffffffffff811115613c0e57600080fd5b613c1a87828801613737565b925092505092959194509250565b60008060408385031215613c3b57600080fd5b6000613c4985828601613849565b9250506020613c5a85828601613796565b9150509250929050565b60008060408385031215613c7757600080fd5b6000613c8585828601613849565b9250506020613c9685828601613849565b9150509250929050565b60008060008060608587031215613cb657600080fd5b6000613cc487828801613849565b9450506020613cd587828801613849565b935050604085013567ffffffffffffffff811115613cf257600080fd5b613cfe87828801613737565b925092505092959194509250565b6000613d1883836140b5565b60808301905092915050565b6000613d30838361410a565b60208301905092915050565b613d458161461f565b82525050565b613d5c613d578261461f565b61478b565b82525050565b6000613d6d8261449e565b613d7781856144e4565b9350613d828361447e565b8060005b83811015613db3578151613d9a8882613d0c565b9750613da5836144ca565b925050600181019050613d86565b5085935050505092915050565b6000613dcb826144a9565b613dd581856144f5565b9350613de08361448e565b8060005b83811015613e11578151613df88882613d24565b9750613e03836144d7565b925050600181019050613de4565b5085935050505092915050565b613e2781614631565b82525050565b613e3681614631565b82525050565b613e458161463d565b82525050565b6000613e56826144b4565b613e608185614506565b9350613e708185602086016146ac565b613e798161486b565b840191505092915050565b6000613e8f826144bf565b613e998185614522565b9350613ea98185602086016146ac565b613eb28161486b565b840191505092915050565b6000613ec8826144bf565b613ed28185614533565b9350613ee28185602086016146ac565b80840191505092915050565b6000613efb601283614522565b9150613f0682614889565b602082019050919050565b6000613f1e602683614522565b9150613f29826148b2565b604082019050919050565b6000613f41601483614522565b9150613f4c82614901565b602082019050919050565b6000613f64601883614522565b9150613f6f8261492a565b602082019050919050565b6000613f87601683614522565b9150613f9282614953565b602082019050919050565b6000613faa601d83614522565b9150613fb58261497c565b602082019050919050565b6000613fcd602083614522565b9150613fd8826149a5565b602082019050919050565b6000613ff0600d83614522565b9150613ffb826149ce565b602082019050919050565b6000614013601a83614522565b915061401e826149f7565b602082019050919050565b6000614036600083614517565b915061404182614a20565b600082019050919050565b6000614059601083614522565b915061406482614a23565b602082019050919050565b600061407c601c83614522565b915061408782614a4c565b602082019050919050565b600061409f601183614522565b91506140aa82614a75565b602082019050919050565b6080820160008201516140cb6000850182613e1e565b5060208201516140de602085018261410a565b5060408201516140f1604085018261410a565b5060608201516141046060850182613e3c565b50505050565b61411381614693565b82525050565b61412281614693565b82525050565b60006141348284613d4b565b60148201915081905092915050565b600061414f8285613ebd565b915061415b8284613ebd565b91508190509392505050565b600061417282614029565b9150819050919050565b60006020820190506141916000830184613d3c565b92915050565b60006080820190506141ac6000830187613d3c565b6141b96020830186613d3c565b6141c66040830185614119565b81810360608301526141d88184613e4b565b905095945050505050565b60006040820190506141f86000830185613d3c565b6142056020830184614119565b9392505050565b600060208201905081810360008301526142268184613d62565b905092915050565b600060208201905081810360008301526142488184613dc0565b905092915050565b60006020820190506142656000830184613e2d565b92915050565b600060208201905081810360008301526142858184613e84565b905092915050565b600060208201905081810360008301526142a681613eee565b9050919050565b600060208201905081810360008301526142c681613f11565b9050919050565b600060208201905081810360008301526142e681613f34565b9050919050565b6000602082019050818103600083015261430681613f57565b9050919050565b6000602082019050818103600083015261432681613f7a565b9050919050565b6000602082019050818103600083015261434681613f9d565b9050919050565b6000602082019050818103600083015261436681613fc0565b9050919050565b6000602082019050818103600083015261438681613fe3565b9050919050565b600060208201905081810360008301526143a681614006565b9050919050565b600060208201905081810360008301526143c68161404c565b9050919050565b600060208201905081810360008301526143e68161406f565b9050919050565b6000602082019050818103600083015261440681614092565b9050919050565b60006020820190506144226000830184614119565b92915050565b6000614432614443565b905061443e8282614711565b919050565b6000604051905090565b600067ffffffffffffffff8211156144685761446761483c565b5b6144718261486b565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061454982614693565b915061455483614693565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614589576145886147af565b5b828201905092915050565b600061459f82614693565b91506145aa83614693565b9250826145ba576145b96147de565b5b828204905092915050565b60006145d082614693565b91506145db83614693565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614614576146136147af565b5b828202905092915050565b600061462a82614673565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156146ca5780820151818401526020810190506146af565b838111156146d9576000848401525b50505050565b600060028204905060018216806146f757607f821691505b6020821081141561470b5761470a61480d565b5b50919050565b61471a8261486b565b810181811067ffffffffffffffff821117156147395761473861483c565b5b80604052505050565b600061474d82614693565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156147805761477f6147af565b5b600182019050919050565b60006147968261479d565b9050919050565b60006147a88261487c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45786365656473206d696e74206c696d69740000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4578636565647320746f74616c20737570706c79000000000000000000000000600082015250565b7f517479206f66206d696e7473206e6f7420616c6c6f7765640000000000000000600082015250565b7f57686974656c6973742069736e27742061637469766500000000000000000000600082015250565b7f4372697465726961206e6f74206f6e207468652077686974656c697374000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f496e76616c69642076616c756500000000000000000000000000000000000000600082015250565b7f56616c7565206578636565647320746f74616c20737570706c79000000000000600082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f457863656564732077686974656c697374206d696e74206c696d697400000000600082015250565b7f4d696e742069736e277420616374697665000000000000000000000000000000600082015250565b614aa78161461f565b8114614ab257600080fd5b50565b614abe81614631565b8114614ac957600080fd5b50565b614ad58161463d565b8114614ae057600080fd5b50565b614aec81614647565b8114614af757600080fd5b50565b614b0381614693565b8114614b0e57600080fd5b5056fea264697066735822122059a573d42413083e09518597d9ff6e9c4c0a2100847f2b2287b009df5f24d7e364736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : baseTokenURI (string):
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000
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.