Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
151 OTAKU
Holders
111
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
7 OTAKULoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Otaku
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "./Pausable.sol"; import "./ERC721A.sol"; contract Otaku is ERC721A, Pausable, PaymentSplitter { struct PresaleConfig { uint256 startTime; uint256 duration; uint256 maxCount; } struct SaleConfig { uint256 startTime; uint256 maxCount; } uint256 public maxGiftSupply; uint256 public giftCount; uint256 public price; bool private isPresale; string public baseURI; PresaleConfig public presaleConfig; SaleConfig public saleConfig; uint256[] private _teamShares = [2, 20, 78]; address[] private _team = [ 0x80B08457d05C19FC061e3a0454EF38DebE247Eb2, 0xfE10502945D0BaDB57C9Ab9db6fB8A2F7301d183, 0xA93f35732D02A59c490d6c88b5011451Dae60130 ]; mapping(address => bool) private _presaleList; mapping(address => uint256) public _presaleClaimed; constructor( uint256 _maxBatchSize, uint256 _maxTotalSupply, uint256 _maxGiftSupply ) ERC721A("Otaku", "OTAKU", _maxBatchSize, _maxTotalSupply) PaymentSplitter(_team, _teamShares) { require( ((_maxGiftSupply <= _maxTotalSupply) && (_maxBatchSize <= _maxTotalSupply)), "Otaku Klub: larger collection size needed" ); maxGiftSupply = _maxGiftSupply; } function setBaseURI(string calldata _tokenBaseURI) external onlyOwner { baseURI = _tokenBaseURI; } function setmaxGiftSupply(uint256 _maxGiftSupply) external onlyOwner { require (_maxGiftSupply> giftCount, "Otaku Klub: the new amount must be higher"); maxGiftSupply = _maxGiftSupply; } function _baseURI() internal view override returns (string memory) { return baseURI; } function addToPresaleList(address[] calldata _addresses) external onlyOwner { for (uint256 ind = 0; ind < _addresses.length; ind++) { require( _addresses[ind] != address(0), "Otaku Klub: Can't add a zero address" ); if (_presaleList[_addresses[ind]] == false) { _presaleList[_addresses[ind]] = true; } } } function isOnPresaleList(address _address) external view returns (bool) { return _presaleList[_address]; } function removeFromPresaleList(address[] calldata _addresses) external onlyOwner { for (uint256 ind = 0; ind < _addresses.length; ind++) { require( _addresses[ind] != address(0), "Otaku Klub: Can't remove a zero address" ); if (_presaleList[_addresses[ind]] == true) { _presaleList[_addresses[ind]] = false; } } } function setUpPresale(uint256 _duration, uint256 _maxCount ) external onlyOwner { require( _duration > 0, "Otaku Klub: presale duration is zero" ); require(_maxCount <= maxBatchSize , "Otaku Klub: maxCount is higher than maxBatchSize " ); uint256 _startTime = block.timestamp; presaleConfig = PresaleConfig(_startTime, _duration, _maxCount); } function setUpSale(uint256 _maxCount ) external onlyOwner { require(_maxCount <= maxBatchSize , "Otaku Klub: maxCount is higher than maxBatchSize " ); PresaleConfig memory _presaleConfig = presaleConfig; uint256 _presaleEndTime = _presaleConfig.startTime + _presaleConfig.duration; require( block.timestamp > _presaleEndTime, "Otaku Klub: Sale not started" ); uint256 _startTime = block.timestamp; saleConfig = SaleConfig(_startTime, _maxCount); } function setPrice( uint256 _price) external onlyOwner { price = _price; } function setIsPresale(bool _isPresale) external onlyOwner { isPresale = _isPresale; } function giftMint(uint256 _amount) external onlyOwner whenNotPaused { require( (totalSupply() + _amount <= collectionSize), "Otaku Klub: max total sypply is exceeded" ); require( giftCount + _amount <= maxGiftSupply, "Otaku Klub: max gift supply is exceeded" ); _safeMint(msg.sender, _amount); giftCount = giftCount + _amount; } function presaleMint(uint256 _amount) internal { PresaleConfig memory _presaleConfig = presaleConfig; require( _presaleConfig.startTime > 0, "Otaku Klub: Presale must be active" ); require( block.timestamp >= _presaleConfig.startTime, "Otaku Klub: Presale not started" ); require( block.timestamp <= _presaleConfig.startTime + _presaleConfig.duration, "Otaku Klub: Presale is ended" ); if (isPresale){ require( _presaleList[msg.sender] == true, "Otaku Klub: Caller is not on the presale list" ); } require( _presaleClaimed[msg.sender] + _amount <= _presaleConfig.maxCount, "Otaku Klub: max count per transaction is exceeded" ); require( (totalSupply() + _amount <= collectionSize), "Otaku Klub: max total sypply is exceeded" ); require( price * _amount <= msg.value, "Otaku Klub: Ether value sent is not correct" ); _safeMint(msg.sender, _amount); _presaleClaimed[msg.sender] = _presaleClaimed[msg.sender] + _amount; } function saleMint(uint256 _amount) internal { SaleConfig memory _saleConfig = saleConfig; require(_amount > 0, "Otaku Klub: zero amount"); require(_saleConfig.startTime > 0, "Otaku Klub: sale is not active"); require( block.timestamp >= _saleConfig.startTime, "Otaku Klub: sale not started" ); require( _amount <= _saleConfig.maxCount, "Otaku Klub: max count per transaction is exceeded" ); require( (totalSupply() + _amount <= collectionSize), "Otaku Klub: max total sypply is exceeded" ); require( price * _amount <= msg.value, "Otaku Klub: Ether value sent is not correct" ); _safeMint(msg.sender, _amount); } function mainMint(uint256 _amount) external payable whenNotPaused { require( block.timestamp > presaleConfig.startTime, "Otaku Klub: presale not started" ); if ( block.timestamp <= (presaleConfig.startTime + presaleConfig.duration) ) { presaleMint(_amount); } else { saleMint(_amount); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Address.sol"; import "../utils/Context.sol"; import "../utils/math/SafeMath.sol"; /** * @title PaymentSplitter * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware * that the Ether will be split in this way, since it is handled transparently by the contract. * * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim * an amount proportional to the percentage of total shares they were assigned. * * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release} * function. */ contract PaymentSplitter is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(address to, uint256 amount); event PaymentReceived(address from, uint256 amount); uint256 private _totalShares; uint256 private _totalReleased; mapping(address => uint256) private _shares; mapping(address => uint256) private _released; address[] private _payees; /** * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at * the matching position in the `shares` array. * * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no * duplicates in `payees`. */ constructor(address[] memory payees, uint256[] memory shares_) payable { require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch"); require(payees.length > 0, "PaymentSplitter: no payees"); for (uint256 i = 0; i < payees.length; i++) { _addPayee(payees[i], shares_[i]); } } /** * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the * reliability of the events, and not the actual splitting of Ether. * * To learn more about this see the Solidity documentation for * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback * functions]. */ receive() external payable virtual { emit PaymentReceived(_msgSender(), msg.value); } /** * @dev Getter for the total shares held by payees. */ function totalShares() public view returns (uint256) { return _totalShares; } /** * @dev Getter for the total amount of Ether already released. */ function totalReleased() public view returns (uint256) { return _totalReleased; } /** * @dev Getter for the amount of shares held by an account. */ function shares(address account) public view returns (uint256) { return _shares[account]; } /** * @dev Getter for the amount of Ether already released to a payee. */ function released(address account) public view returns (uint256) { return _released[account]; } /** * @dev Getter for the address of the payee number `index`. */ function payee(uint256 index) public view returns (address) { return _payees[index]; } /** * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the * total shares and their previous withdrawals. */ function release(address payable account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 totalReceived = address(this).balance + _totalReleased; uint256 payment = (totalReceived * _shares[account]) / _totalShares - _released[account]; require(payment != 0, "PaymentSplitter: account is not due payment"); _released[account] = _released[account] + payment; _totalReleased = _totalReleased + payment; Address.sendValue(account, payment); emit PaymentReleased(account, payment); } /** * @dev Add a new payee to the contract. * @param account The address of the payee to add. * @param shares_ The number of shares owned by the payee. */ function _addPayee(address account, uint256 shares_) private { require(account != address(0), "PaymentSplitter: account is the zero address"); require(shares_ > 0, "PaymentSplitter: shares are 0"); require(_shares[account] == 0, "PaymentSplitter: account already has shares"); _payees.push(account); _shares[account] = shares_; _totalShares = _totalShares + shares_; emit PayeeAdded(account, shares_); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; /** * @title Pausable * @dev Base contract which allows children to implement an emergency stop mechanism. */ contract Pausable is Ownable { event Pause(); event Unpause(); bool public paused = false; /** * @dev Modifier to make a function callable only when the contract is not paused. */ modifier whenNotPaused() { require(!paused, "Transaction is not available"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. */ modifier whenPaused() { require(paused, "Transaction is available"); _; } /** * @dev called by the owner to pause, triggers stopped state */ function pause() public onlyOwner whenNotPaused { paused = true; emit Pause(); } /** * @dev called by the owner to unpause, returns to normal state */ function unpause() public onlyOwner whenPaused { paused = false; emit Unpause(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..). * * Assumes the number of issuable tokens (collection size) is capped and fits in a uint128. * * Does not support burning tokens to address(0). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable, Ownable { using Address for address; using Strings for uint256; struct TokenOwnership { address addr; uint64 startTimestamp; } struct AddressData { uint128 balance; uint128 numberMinted; } uint256 private currentIndex = 0; uint256 public collectionSize; uint256 internal immutable maxBatchSize; // 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 ownershipOf implementation for details. mapping(uint256 => TokenOwnership) private _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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; /** * @dev * `maxBatchSize` refers to how much a minter can mint at a time. * `collectionSize_` refers to how many tokens are in the collection. */ constructor( string memory name_, string memory symbol_, uint256 maxBatchSize_, uint256 collectionSize_ ) { require( collectionSize_ > 0, "ERC721B: collection must have a nonzero supply" ); require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero"); _name = name_; _symbol = symbol_; maxBatchSize = maxBatchSize_; collectionSize = collectionSize_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { return currentIndex; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view override returns (uint256) { require(index < totalSupply(), "ERC721A: global index out of bounds"); return index; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(collectionSize). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { require(index < balanceOf(owner), "ERC721A: owner index out of bounds"); uint256 numMintedSoFar = totalSupply(); uint256 tokenIdsIdx = 0; address currOwnershipAddr = address(0); for (uint256 i = 0; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } revert("ERC721A: unable to get token of owner by index"); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { require( owner != address(0), "ERC721A: balance query for the zero address" ); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { require( owner != address(0), "ERC721A: number minted query for the zero address" ); return uint256(_addressData[owner].numberMinted); } function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { require(_exists(tokenId), "ERC721A: owner query for nonexistent token"); uint256 lowestTokenToCheck; if (tokenId >= maxBatchSize) { lowestTokenToCheck = tokenId - maxBatchSize + 1; } for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) { TokenOwnership memory ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } revert("ERC721A: unable to determine the owner of token"); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @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) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); require(to != owner, "ERC721A: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721A: approve caller is not owner nor approved for all" ); _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { require( _exists(tokenId), "ERC721A: approved query for nonexistent token" ); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { require(operator != _msgSender(), "ERC721A: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public override { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "ERC721A: transfer to non ERC721Receiver implementer" ); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return tokenId < currentIndex; } function setCollectionSize(uint256 _collectionSize) external onlyOwner { require (_collectionSize > totalSupply(), "Otaku Klub: the new amount must be higher"); collectionSize = _collectionSize; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ""); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - there must be `quantity` tokens remaining unminted in the total collection. * - `to` cannot be the zero address. * - `quantity` cannot be larger than the max batch size. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = currentIndex; require(to != address(0), "ERC721A: mint to the zero address"); // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering. require(!_exists(startTokenId), "ERC721A: token already minted"); require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high"); _beforeTokenTransfers(address(0), to, startTokenId, quantity); AddressData memory addressData = _addressData[to]; _addressData[to] = AddressData( addressData.balance + uint128(quantity), addressData.numberMinted + uint128(quantity) ); _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp)); uint256 updatedIndex = startTokenId; for (uint256 i = 0; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); require( _checkOnERC721Received(address(0), to, updatedIndex, _data), "ERC721A: transfer to non ERC721Receiver implementer" ); updatedIndex++; } currentIndex = updatedIndex; _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || getApproved(tokenId) == _msgSender() || isApprovedForAll(prevOwnership.addr, _msgSender())); require( isApprovedOrOwner, "ERC721A: transfer caller is not owner nor approved" ); require( prevOwnership.addr == from, "ERC721A: transfer from incorrect owner" ); require(to != address(0), "ERC721A: transfer to the zero address"); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp)); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { if (_exists(nextTokenId)) { _ownerships[nextTokenId] = TokenOwnership( prevOwnership.addr, prevOwnership.startTimestamp ); } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } uint256 public nextOwnerToExplicitlySet = 0; /** * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf(). */ function _setOwnersExplicit(uint256 quantity) internal { uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet; require(quantity > 0, "quantity must be nonzero"); uint256 endIndex = oldNextOwnerToSet + quantity - 1; if (endIndex > collectionSize - 1) { endIndex = collectionSize - 1; } // We know if the last one in the group exists, all in the group exist, due to serial ordering. require(_exists(endIndex), "not enough minted yet for this cleanup"); for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) { if (_ownerships[i].addr == address(0)) { TokenOwnership memory ownership = ownershipOf(i); _ownerships[i] = TokenOwnership( ownership.addr, ownership.startTimestamp ); } } nextOwnerToExplicitlySet = endIndex + 1; } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a 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 _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received( _msgSender(), from, tokenId, _data ) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert( "ERC721A: transfer to non ERC721Receiver implementer" ); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * * 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`. */ /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721A: operator query for nonexistent token"); address owner = ERC721A.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } 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. * * 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` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT 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 no longer needed starting with Solidity 0.8. 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 substraction 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 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() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @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`, 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 Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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 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); /** * @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; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface 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); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"_maxBatchSize","type":"uint256"},{"internalType":"uint256","name":"_maxTotalSupply","type":"uint256"},{"internalType":"uint256","name":"_maxGiftSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","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"},{"anonymous":false,"inputs":[],"name":"Unpause","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_presaleClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"addToPresaleList","outputs":[],"stateMutability":"nonpayable","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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"giftCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"giftMint","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":[{"internalType":"address","name":"_address","type":"address"}],"name":"isOnPresaleList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mainMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"maxGiftSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleConfig","outputs":[{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"uint256","name":"maxCount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"removeFromPresaleList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleConfig","outputs":[{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"maxCount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_collectionSize","type":"uint256"}],"name":"setCollectionSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPresale","type":"bool"}],"name":"setIsPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_duration","type":"uint256"},{"internalType":"uint256","name":"_maxCount","type":"uint256"}],"name":"setUpPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxCount","type":"uint256"}],"name":"setUpSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxGiftSupply","type":"uint256"}],"name":"setmaxGiftSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60006001819055600955600a805460ff19169055610100604052600260a0908152601460c052604e60e0526200003a90601a906003620004f2565b50604080516060810182527380b08457d05c19fc061e3a0454ef38debe247eb2815273fe10502945d0badb57c9ab9db6fb8a2f7301d183602082015273a93f35732d02a59c490d6c88b5011451dae6013091810191909152620000a290601b90600362000547565b50348015620000b057600080fd5b506040516200443238038062004432833981016040819052620000d39162000633565b601b8054806020026020016040519081016040528092919081815260200182805480156200012b57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116200010c575b5050505050601a8054806020026020016040519081016040528092919081815260200182805480156200017e57602002820191906000526020600020905b81548152602001906001019080831162000169575b5050505050604051806040016040528060058152602001644f74616b7560d81b815250604051806040016040528060058152602001644f54414b5560d81b8152508686620001db620001d56200036c60201b60201c565b62000370565b60008111620002075760405162461bcd60e51b8152600401620001fe906200067a565b60405180910390fd5b600082116200022a5760405162461bcd60e51b8152600401620001fe9062000714565b83516200023f9060039060208701906200059f565b508251620002559060049060208601906200059f565b5060809190915260025550508051825114620002855760405162461bcd60e51b8152600401620001fe90620007a4565b6000825111620002a95760405162461bcd60e51b8152600401620001fe9062000841565b60005b82518110156200032d5762000318838281518110620002db57634e487b7160e01b600052603260045260246000fd5b60200260200101518383815181106200030457634e487b7160e01b600052603260045260246000fd5b6020026020010151620003c060201b60201c565b80620003248162000907565b915050620002ac565b505050818111158015620003415750818311155b620003605760405162461bcd60e51b8152600401620001fe906200075b565b601055506200093b9050565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620003e95760405162461bcd60e51b8152600401620001fe90620006c8565b600081116200040c5760405162461bcd60e51b8152600401620001fe9062000878565b6001600160a01b0382166000908152600d602052604090205415620004455760405162461bcd60e51b8152600401620001fe90620007f6565b600f8054600181019091557f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac8020180546001600160a01b0319166001600160a01b0384169081179091556000908152600d60205260409020819055600b54620004af908290620008af565b600b556040517f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac90620004e6908490849062000661565b60405180910390a15050565b82805482825590600052602060002090810192821562000535579160200282015b8281111562000535578251829060ff1690559160200191906001019062000513565b50620005439291506200061c565b5090565b82805482825590600052602060002090810192821562000535579160200282015b828111156200053557825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000568565b828054620005ad90620008ca565b90600052602060002090601f016020900481019282620005d1576000855562000535565b82601f10620005ec57805160ff191683800117855562000535565b8280016001018555821562000535579182015b8281111562000535578251825591602001919060010190620005ff565b5b808211156200054357600081556001016200061d565b60008060006060848603121562000648578283fd5b8351925060208401519150604084015190509250925092565b6001600160a01b03929092168252602082015260400190565b6020808252602e908201527f455243373231423a20636f6c6c656374696f6e206d757374206861766520612060408201526d6e6f6e7a65726f20737570706c7960901b606082015260800190565b6020808252602c908201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060408201526b7a65726f206164647265737360a01b606082015260800190565b60208082526027908201527f455243373231413a206d61782062617463682073697a65206d757374206265206040820152666e6f6e7a65726f60c81b606082015260800190565b60208082526029908201527f4f74616b75204b6c75623a206c617267657220636f6c6c656374696f6e2073696040820152681e99481b995959195960ba1b606082015260800190565b60208082526032908201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726040820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960408201526a206861732073686172657360a81b606082015260800190565b6020808252601a908201527f5061796d656e7453706c69747465723a206e6f20706179656573000000000000604082015260600190565b6020808252601d908201527f5061796d656e7453706c69747465723a20736861726573206172652030000000604082015260600190565b60008219821115620008c557620008c562000925565b500190565b600281046001821680620008df57607f821691505b602082108114156200090157634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156200091e576200091e62000925565b5060010190565b634e487b7160e01b600052601160045260246000fd5b608051613abf6200097360003960008181610c3101528181610e7b01528181611eca01528181611ef401526125610152613abf6000f3fe6080604052600436106102b25760003560e01c80638456cb5911610175578063b88d4fde116100dc578063e2b4db9711610095578063ed7003741161006f578063ed7003741461083b578063f2fde38b14610850578063f578d9df14610870578063fd88fa6914610883576102f9565b8063e2b4db97146107e6578063e33b7de314610806578063e985e9c51461081b576102f9565b8063b88d4fde14610731578063bfc1773314610751578063c87b56dd14610771578063ce7c2ac214610791578063d7224ba0146107b1578063de00a68b146107c6576102f9565b806395d89b411161012e57806395d89b41146106875780639852595c1461069c578063a035b1fe146106bc578063a22cb465146106d1578063aca8ffe7146106f1578063b179e06014610711576102f9565b80638456cb59146105da5780638b83209b146105ef5780638cc4de191461060f5780638da5cb5b1461062f57806390aa0b0f1461064457806391b7f5ed14610667576102f9565b806342842e0e116102195780636352211e116101d25780636352211e146105305780636c0360eb146105505780636eb4e0131461056557806370a0823114610585578063715018a6146105a55780637204a3c9146105ba576102f9565b806342842e0e1461049157806345c0f533146104b15780634f6ccce7146104c657806355f804b3146104e65780635c975abb146105065780635edbc28c1461051b576102f9565b80631fc574fa1161026b5780631fc574fa146103e757806323b872dd146104075780632f745c59146104275780633a98ef39146104475780633f4ba83a1461045c578063422bafd114610471576102f9565b806301ffc9a7146102fe57806306fdde0314610334578063081812fc14610356578063095ea7b31461038357806318160ddd146103a557806319165587146103c7576102f9565b366102f9577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7706102e06108a7565b346040516102ef929190612bca565b60405180910390a1005b600080fd5b34801561030a57600080fd5b5061031e610319366004612a8c565b6108ab565b60405161032b9190612c20565b60405180910390f35b34801561034057600080fd5b5061034961090e565b60405161032b9190612c2b565b34801561036257600080fd5b50610376610371366004612b1f565b6109a0565b60405161032b9190612bb6565b34801561038f57600080fd5b506103a361039e3660046129d8565b6109ec565b005b3480156103b157600080fd5b506103ba610a85565b60405161032b9190613896565b3480156103d357600080fd5b506103a36103e2366004612840565b610a8b565b3480156103f357600080fd5b506103a3610402366004612b37565b610bd0565b34801561041357600080fd5b506103a3610422366004612894565b610c97565b34801561043357600080fd5b506103ba6104423660046129d8565b610ca2565b34801561045357600080fd5b506103ba610d9e565b34801561046857600080fd5b506103a3610da4565b34801561047d57600080fd5b506103a361048c366004612b1f565b610e3a565b34801561049d57600080fd5b506103a36104ac366004612894565b610f2d565b3480156104bd57600080fd5b506103ba610f48565b3480156104d257600080fd5b506103ba6104e1366004612b1f565b610f4e565b3480156104f257600080fd5b506103a3610501366004612ac4565b610f7a565b34801561051257600080fd5b5061031e610fc5565b34801561052757600080fd5b506103ba610fce565b34801561053c57600080fd5b5061037661054b366004612b1f565b610fd4565b34801561055c57600080fd5b50610349610fe6565b34801561057157600080fd5b506103a3610580366004612b1f565b611074565b34801561059157600080fd5b506103ba6105a0366004612840565b6110d9565b3480156105b157600080fd5b506103a3611126565b3480156105c657600080fd5b506103a36105d5366004612a03565b611171565b3480156105e657600080fd5b506103a36112e9565b3480156105fb57600080fd5b5061037661060a366004612b1f565b611383565b34801561061b57600080fd5b506103ba61062a366004612840565b6113c1565b34801561063b57600080fd5b506103766113d3565b34801561065057600080fd5b506106596113e2565b60405161032b92919061389f565b34801561067357600080fd5b506103a3610682366004612b1f565b6113eb565b34801561069357600080fd5b5061034961142f565b3480156106a857600080fd5b506103ba6106b7366004612840565b61143e565b3480156106c857600080fd5b506103ba611459565b3480156106dd57600080fd5b506103a36106ec3660046129a4565b61145f565b3480156106fd57600080fd5b506103a361070c366004612b1f565b61152d565b34801561071d57600080fd5b506103a361072c366004612a03565b611597565b34801561073d57600080fd5b506103a361074c3660046128d4565b611715565b34801561075d57600080fd5b506103a361076c366004612a72565b61174e565b34801561077d57600080fd5b5061034961078c366004612b1f565b6117a0565b34801561079d57600080fd5b506103ba6107ac366004612840565b611823565b3480156107bd57600080fd5b506103ba61183e565b3480156107d257600080fd5b5061031e6107e1366004612840565b611844565b3480156107f257600080fd5b506103a3610801366004612b1f565b611862565b34801561081257600080fd5b506103ba611945565b34801561082757600080fd5b5061031e61083636600461285c565b61194b565b34801561084757600080fd5b506103ba611979565b34801561085c57600080fd5b506103a361086b366004612840565b61197f565b6103a361087e366004612b1f565b6119f0565b34801561088f57600080fd5b50610898611a61565b60405161032b939291906138ad565b3390565b60006001600160e01b031982166380ac58cd60e01b14806108dc57506001600160e01b03198216635b5e139f60e01b145b806108f757506001600160e01b0319821663780e9d6360e01b145b80610906575061090682611a6d565b90505b919050565b60606003805461091d906139b2565b80601f0160208091040260200160405190810160405280929190818152602001828054610949906139b2565b80156109965780601f1061096b57610100808354040283529160200191610996565b820191906000526020600020905b81548152906001019060200180831161097957829003601f168201915b5050505050905090565b60006109ab82611a86565b6109d05760405162461bcd60e51b81526004016109c7906137bf565b60405180910390fd5b506000908152600760205260409020546001600160a01b031690565b60006109f782610fd4565b9050806001600160a01b0316836001600160a01b03161415610a2b5760405162461bcd60e51b81526004016109c7906133e8565b806001600160a01b0316610a3d6108a7565b6001600160a01b03161480610a595750610a59816108366108a7565b610a755760405162461bcd60e51b81526004016109c7906130d4565b610a80838383611a8d565b505050565b60015490565b6001600160a01b0381166000908152600d6020526040902054610ac05760405162461bcd60e51b81526004016109c790612e5b565b6000600c5447610ad091906138e5565b6001600160a01b0383166000908152600e6020908152604080832054600b54600d909352908320549394509192610b079085613911565b610b1191906138fd565b610b1b9190613958565b905080610b3a5760405162461bcd60e51b81526004016109c79061300b565b6001600160a01b0383166000908152600e6020526040902054610b5e9082906138e5565b6001600160a01b0384166000908152600e6020526040902055600c54610b859082906138e5565b600c55610b928382611ae9565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051610bc3929190612bca565b60405180910390a1505050565b610bd86108a7565b6001600160a01b0316610be96113d3565b6001600160a01b031614610c0f5760405162461bcd60e51b81526004016109c79061328a565b60008211610c2f5760405162461bcd60e51b81526004016109c790612ea1565b7f0000000000000000000000000000000000000000000000000000000000000000811115610c6f5760405162461bcd60e51b81526004016109c790613397565b6040805160608101825242808252602082018590529101829052601555601691909155601755565b610a80838383611b85565b6000610cad836110d9565b8210610ccb5760405162461bcd60e51b81526004016109c790612c3e565b6000610cd5610a85565b905060008060005b83811015610d7f576000818152600560209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610d3057805192505b876001600160a01b0316836001600160a01b03161415610d6c5786841415610d5e57509350610d9892505050565b83610d68816139ed565b9450505b5080610d77816139ed565b915050610cdd565b5060405162461bcd60e51b81526004016109c79061363b565b92915050565b600b5490565b610dac6108a7565b6001600160a01b0316610dbd6113d3565b6001600160a01b031614610de35760405162461bcd60e51b81526004016109c79061328a565b600a5460ff16610e055760405162461bcd60e51b81526004016109c79061309d565b600a805460ff191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b610e426108a7565b6001600160a01b0316610e536113d3565b6001600160a01b031614610e795760405162461bcd60e51b81526004016109c79061328a565b7f0000000000000000000000000000000000000000000000000000000000000000811115610eb95760405162461bcd60e51b81526004016109c790613397565b6040805160608101825260155480825260165460208301819052601754938301939093529091600091610eec91906138e5565b9050804211610f0d5760405162461bcd60e51b81526004016109c790613788565b505060408051808201909152428082526020909101829052601855601955565b610a8083838360405180602001604052806000815250611715565b60025481565b6000610f58610a85565b8210610f765760405162461bcd60e51b81526004016109c790612e18565b5090565b610f826108a7565b6001600160a01b0316610f936113d3565b6001600160a01b031614610fb95760405162461bcd60e51b81526004016109c79061328a565b610a8060148383612784565b600a5460ff1681565b60105481565b6000610fdf82611e99565b5192915050565b60148054610ff3906139b2565b80601f016020809104026020016040519081016040528092919081815260200182805461101f906139b2565b801561106c5780601f106110415761010080835404028352916020019161106c565b820191906000526020600020905b81548152906001019060200180831161104f57829003601f168201915b505050505081565b61107c6108a7565b6001600160a01b031661108d6113d3565b6001600160a01b0316146110b35760405162461bcd60e51b81526004016109c79061328a565b60115481116110d45760405162461bcd60e51b81526004016109c79061356d565b601055565b60006001600160a01b0382166111015760405162461bcd60e51b81526004016109c790613178565b506001600160a01b03166000908152600660205260409020546001600160801b031690565b61112e6108a7565b6001600160a01b031661113f6113d3565b6001600160a01b0316146111655760405162461bcd60e51b81526004016109c79061328a565b61116f6000611fac565b565b6111796108a7565b6001600160a01b031661118a6113d3565b6001600160a01b0316146111b05760405162461bcd60e51b81526004016109c79061328a565b60005b81811015610a805760008383838181106111dd57634e487b7160e01b600052603260045260246000fd5b90506020020160208101906111f29190612840565b6001600160a01b031614156112195760405162461bcd60e51b81526004016109c7906135f7565b601c600084848481811061123d57634e487b7160e01b600052603260045260246000fd5b90506020020160208101906112529190612840565b6001600160a01b0316815260208101919091526040016000205460ff166112d7576001601c600085858581811061129957634e487b7160e01b600052603260045260246000fd5b90506020020160208101906112ae9190612840565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790555b806112e1816139ed565b9150506111b3565b6112f16108a7565b6001600160a01b03166113026113d3565b6001600160a01b0316146113285760405162461bcd60e51b81526004016109c79061328a565b600a5460ff161561134b5760405162461bcd60e51b81526004016109c790613702565b600a805460ff191660011790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b6000600f82815481106113a657634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031692915050565b601d6020526000908152604090205481565b6000546001600160a01b031690565b60185460195482565b6113f36108a7565b6001600160a01b03166114046113d3565b6001600160a01b03161461142a5760405162461bcd60e51b81526004016109c79061328a565b601255565b60606004805461091d906139b2565b6001600160a01b03166000908152600e602052604090205490565b60125481565b6114676108a7565b6001600160a01b0316826001600160a01b031614156114985760405162461bcd60e51b81526004016109c79061330e565b80600860006114a56108a7565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556114e96108a7565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516115219190612c20565b60405180910390a35050565b6115356108a7565b6001600160a01b03166115466113d3565b6001600160a01b03161461156c5760405162461bcd60e51b81526004016109c79061328a565b611574610a85565b81116115925760405162461bcd60e51b81526004016109c79061356d565b600255565b61159f6108a7565b6001600160a01b03166115b06113d3565b6001600160a01b0316146115d65760405162461bcd60e51b81526004016109c79061328a565b60005b81811015610a8057600083838381811061160357634e487b7160e01b600052603260045260246000fd5b90506020020160208101906116189190612840565b6001600160a01b0316141561163f5760405162461bcd60e51b81526004016109c790613131565b601c600084848481811061166357634e487b7160e01b600052603260045260246000fd5b90506020020160208101906116789190612840565b6001600160a01b0316815260208101919091526040016000205460ff16151560011415611703576000601c60008585858181106116c557634e487b7160e01b600052603260045260246000fd5b90506020020160208101906116da9190612840565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790555b8061170d816139ed565b9150506115d9565b611720848484611b85565b61172c84848484611ffc565b6117485760405162461bcd60e51b81526004016109c790613498565b50505050565b6117566108a7565b6001600160a01b03166117676113d3565b6001600160a01b03161461178d5760405162461bcd60e51b81526004016109c79061328a565b6013805460ff1916911515919091179055565b60606117ab82611a86565b6117c75760405162461bcd60e51b81526004016109c7906132bf565b60006117d1612118565b905060008151116117f1576040518060200160405280600081525061181c565b806117fb84612127565b60405160200161180c929190612b84565b6040516020818303038152906040525b9392505050565b6001600160a01b03166000908152600d602052604090205490565b60095481565b6001600160a01b03166000908152601c602052604090205460ff1690565b61186a6108a7565b6001600160a01b031661187b6113d3565b6001600160a01b0316146118a15760405162461bcd60e51b81526004016109c79061328a565b600a5460ff16156118c45760405162461bcd60e51b81526004016109c790613702565b600254816118d0610a85565b6118da91906138e5565b11156118f85760405162461bcd60e51b81526004016109c7906131c3565b6010548160115461190991906138e5565b11156119275760405162461bcd60e51b81526004016109c790613056565b6119313382612242565b8060115461193f91906138e5565b60115550565b600c5490565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b60115481565b6119876108a7565b6001600160a01b03166119986113d3565b6001600160a01b0316146119be5760405162461bcd60e51b81526004016109c79061328a565b6001600160a01b0381166119e45760405162461bcd60e51b81526004016109c790612d08565b6119ed81611fac565b50565b600a5460ff1615611a135760405162461bcd60e51b81526004016109c790613702565b6015544211611a345760405162461bcd60e51b81526004016109c790612c80565b601654601554611a4491906138e5565b4211611a5857611a5381612260565b6119ed565b6119ed81612408565b60155460165460175483565b6001600160e01b031981166301ffc9a760e01b14919050565b6001541190565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b80471015611b095760405162461bcd60e51b81526004016109c790612fd4565b6000826001600160a01b031682604051611b2290612bb3565b60006040518083038185875af1925050503d8060008114611b5f576040519150601f19603f3d011682016040523d82523d6000602084013e611b64565b606091505b5050905080610a805760405162461bcd60e51b81526004016109c790612f77565b6000611b9082611e99565b9050600081600001516001600160a01b0316611baa6108a7565b6001600160a01b03161480611bdf5750611bc26108a7565b6001600160a01b0316611bd4846109a0565b6001600160a01b0316145b80611bf357508151611bf3906108366108a7565b905080611c125760405162461bcd60e51b81526004016109c790613345565b846001600160a01b031682600001516001600160a01b031614611c475760405162461bcd60e51b81526004016109c790613244565b6001600160a01b038416611c6d5760405162461bcd60e51b81526004016109c790612ee5565b611c7a8585856001611748565b611c8a6000848460000151611a8d565b6001600160a01b0385166000908152600660205260408120805460019290611cbc9084906001600160801b0316613930565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b03861660009081526006602052604081208054600194509092611d08918591166138c3565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808716825267ffffffffffffffff428116602080850191825260008981526005909152948520935184549151909216600160a01b0267ffffffffffffffff60a01b19929093166001600160a01b03199091161716179055611d9e8460016138e5565b6000818152600560205260409020549091506001600160a01b0316611e4357611dc681611a86565b15611e435760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff90811682850190815260008781526005909352949091209251835494516001600160a01b031990951692169190911767ffffffffffffffff60a01b1916600160a01b93909116929092029190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611e918686866001611748565b505050505050565b611ea1612804565b611eaa82611a86565b611ec65760405162461bcd60e51b81526004016109c790612d4e565b60007f00000000000000000000000000000000000000000000000000000000000000008310611f2757611f197f000000000000000000000000000000000000000000000000000000000000000084613958565b611f249060016138e5565b90505b825b818110611f93576000818152600560209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215611f80579250610909915050565b5080611f8b8161399b565b915050611f29565b5060405162461bcd60e51b81526004016109c790613739565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000612010846001600160a01b031661250a565b1561210c57836001600160a01b031663150b7a0261202c6108a7565b8786866040518563ffffffff1660e01b815260040161204e9493929190612be3565b602060405180830381600087803b15801561206857600080fd5b505af1925050508015612098575060408051601f3d908101601f1916820190925261209591810190612aa8565b60015b6120f2573d8080156120c6576040519150601f19603f3d011682016040523d82523d6000602084013e6120cb565b606091505b5080516120ea5760405162461bcd60e51b81526004016109c790613498565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612110565b5060015b949350505050565b60606014805461091d906139b2565b60608161214c57506040805180820190915260018152600360fc1b6020820152610909565b8160005b81156121765780612160816139ed565b915061216f9050600a836138fd565b9150612150565b60008167ffffffffffffffff81111561219f57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156121c9576020820181803683370190505b5090505b8415612110576121de600183613958565b91506121eb600a86613a08565b6121f69060306138e5565b60f81b81838151811061221957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061223b600a866138fd565b94506121cd565b61225c828260405180602001604052806000815250612510565b5050565b604080516060810182526015548082526016546020830152601754928201929092529061229f5760405162461bcd60e51b81526004016109c7906136c0565b80514210156122c05760405162461bcd60e51b81526004016109c79061320d565b602081015181516122d191906138e5565b4211156122f05760405162461bcd60e51b81526004016109c790613461565b60135460ff161561232f57336000908152601c602052604090205460ff16151560011461232f5760405162461bcd60e51b81526004016109c790612f2a565b604080820151336000908152601d60205291909120546123509084906138e5565b111561236e5760405162461bcd60e51b81526004016109c790612cb7565b6002548261237a610a85565b61238491906138e5565b11156123a25760405162461bcd60e51b81526004016109c790612d98565b34826012546123b19190613911565b11156123cf5760405162461bcd60e51b81526004016109c790613522565b6123d93383612242565b336000908152601d60205260409020546123f49083906138e5565b336000908152601d60205260409020555050565b60408051808201909152601854815260195460208201528161243c5760405162461bcd60e51b81526004016109c790613689565b805161245a5760405162461bcd60e51b81526004016109c790612de1565b805142101561247b5760405162461bcd60e51b81526004016109c79061342a565b806020015182111561249f5760405162461bcd60e51b81526004016109c790612cb7565b600254826124ab610a85565b6124b591906138e5565b11156124d35760405162461bcd60e51b81526004016109c79061380c565b34826012546124e29190613911565b11156125005760405162461bcd60e51b81526004016109c790613522565b61225c3383612242565b3b151590565b6001546001600160a01b0384166125395760405162461bcd60e51b81526004016109c7906135b6565b61254281611a86565b1561255f5760405162461bcd60e51b81526004016109c7906134eb565b7f000000000000000000000000000000000000000000000000000000000000000083111561259f5760405162461bcd60e51b81526004016109c790613854565b6125ac6000858386611748565b6001600160a01b0384166000908152600660209081526040918290208251808401845290546001600160801b038082168352600160801b90910416918101919091528151808301909252805190919081906126089087906138c3565b6001600160801b0316815260200185836020015161262691906138c3565b6001600160801b039081169091526001600160a01b03808816600081815260066020908152604080832087518154988401518816600160801b029088166fffffffffffffffffffffffffffffffff1990991698909817909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528883526005909552948120915182549451909516600160a01b0267ffffffffffffffff60a01b19959093166001600160a01b031990941693909317939093161790915582905b858110156127715760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46127356000888488611ffc565b6127515760405162461bcd60e51b81526004016109c790613498565b8161275b816139ed565b9250508080612769906139ed565b9150506126e8565b506001819055611e916000878588611748565b828054612790906139b2565b90600052602060002090601f0160209004810192826127b257600085556127f8565b82601f106127cb5782800160ff198235161785556127f8565b828001600101855582156127f8579182015b828111156127f85782358255916020019190600101906127dd565b50610f7692915061281b565b604080518082019091526000808252602082015290565b5b80821115610f76576000815560010161281c565b8035801515811461090957600080fd5b600060208284031215612851578081fd5b813561181c81613a5e565b6000806040838503121561286e578081fd5b823561287981613a5e565b9150602083013561288981613a5e565b809150509250929050565b6000806000606084860312156128a8578081fd5b83356128b381613a5e565b925060208401356128c381613a5e565b929592945050506040919091013590565b600080600080608085870312156128e9578081fd5b84356128f481613a5e565b935060208581013561290581613a5e565b935060408601359250606086013567ffffffffffffffff80821115612928578384fd5b818801915088601f83011261293b578384fd5b81358181111561294d5761294d613a48565b604051601f8201601f191681018501838111828210171561297057612970613a48565b60405281815283820185018b1015612986578586fd5b81858501868301379081019093019390935250939692955090935050565b600080604083850312156129b6578182fd5b82356129c181613a5e565b91506129cf60208401612830565b90509250929050565b600080604083850312156129ea578182fd5b82356129f581613a5e565b946020939093013593505050565b60008060208385031215612a15578182fd5b823567ffffffffffffffff80821115612a2c578384fd5b818501915085601f830112612a3f578384fd5b813581811115612a4d578485fd5b8660208083028501011115612a60578485fd5b60209290920196919550909350505050565b600060208284031215612a83578081fd5b61181c82612830565b600060208284031215612a9d578081fd5b813561181c81613a73565b600060208284031215612ab9578081fd5b815161181c81613a73565b60008060208385031215612ad6578182fd5b823567ffffffffffffffff80821115612aed578384fd5b818501915085601f830112612b00578384fd5b813581811115612b0e578485fd5b866020828501011115612a60578485fd5b600060208284031215612b30578081fd5b5035919050565b60008060408385031215612b49578182fd5b50508035926020909101359150565b60008151808452612b7081602086016020860161396f565b601f01601f19169290920160200192915050565b60008351612b9681846020880161396f565b835190830190612baa81836020880161396f565b01949350505050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c1690830184612b58565b9695505050505050565b901515815260200190565b60006020825261181c6020830184612b58565b60208082526022908201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b6020808252601f908201527f4f74616b75204b6c75623a2070726573616c65206e6f74207374617274656400604082015260600190565b60208082526031908201527f4f74616b75204b6c75623a206d617820636f756e7420706572207472616e736160408201527018dd1a5bdb881a5cc8195e18d959591959607a1b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252602a908201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736040820152693a32b73a103a37b5b2b760b11b606082015260800190565b60208082526029908201527f4f74616b75204b6c75623a20206d617820746f74616c20737970706c7920697360408201526808195e18d95959195960ba1b606082015260800190565b6020808252601e908201527f4f74616b75204b6c75623a2073616c65206973206e6f74206163746976650000604082015260600190565b60208082526023908201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756040820152626e647360e81b606082015260800190565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b60208082526024908201527f4f74616b75204b6c75623a2070726573616c65206475726174696f6e206973206040820152637a65726f60e01b606082015260800190565b60208082526025908201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602d908201527f4f74616b75204b6c75623a2043616c6c6572206973206e6f74206f6e2074686560408201526c081c1c995cd85b19481b1a5cdd609a1b606082015260800190565b6020808252603a908201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260408201527f6563697069656e74206d61792068617665207265766572746564000000000000606082015260800190565b6020808252601d908201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604082015260600190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b60208082526027908201527f4f74616b75204b6c75623a206d6178206769667420737570706c7920697320656040820152661e18d95959195960ca1b606082015260800190565b60208082526018908201527f5472616e73616374696f6e20697320617661696c61626c650000000000000000604082015260600190565b60208082526039908201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000606082015260800190565b60208082526027908201527f4f74616b75204b6c75623a2043616e27742072656d6f76652061207a65726f206040820152666164647265737360c81b606082015260800190565b6020808252602b908201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60408201526a65726f206164647265737360a81b606082015260800190565b6020808252602a908201527f4f74616b75204b6c75623a20206d617820746f74616c20737970706c792020696040820152691cc8195e18d95959195960b21b606082015260800190565b6020808252601f908201527f4f74616b75204b6c75623a2050726573616c65206e6f74207374617274656400604082015260600190565b60208082526026908201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746040820152651037bbb732b960d11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b6020808252601a908201527f455243373231413a20617070726f766520746f2063616c6c6572000000000000604082015260600190565b60208082526032908201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b60208082526031908201527f4f74616b75204b6c75623a206d6178436f756e7420697320686967686572207460408201527003430b71036b0bc2130ba31b429b4bd329607d1b606082015260800190565b60208082526022908201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60408201526132b960f11b606082015260800190565b6020808252601c908201527f4f74616b75204b6c75623a2073616c65206e6f74207374617274656400000000604082015260600190565b6020808252601c908201527f4f74616b75204b6c75623a2050726573616c6520697320656e64656400000000604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6020808252601d908201527f455243373231413a20746f6b656e20616c7265616479206d696e746564000000604082015260600190565b6020808252602b908201527f4f74616b75204b6c75623a2045746865722076616c75652073656e742069732060408201526a1b9bdd0818dbdc9c9958dd60aa1b606082015260800190565b60208082526029908201527f4f74616b75204b6c75623a20746865206e657720616d6f756e74206d757374206040820152683132903434b3b432b960b91b606082015260800190565b60208082526021908201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526024908201527f4f74616b75204b6c75623a2043616e2774206164642061207a65726f206164646040820152637265737360e01b606082015260800190565b6020808252602e908201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060408201526d0deeedccae440c4f240d2dcc8caf60931b606082015260800190565b60208082526017908201527f4f74616b75204b6c75623a207a65726f20616d6f756e74000000000000000000604082015260600190565b60208082526022908201527f4f74616b75204b6c75623a2050726573616c65206d7573742062652061637469604082015261766560f01b606082015260800190565b6020808252601c908201527f5472616e73616374696f6e206973206e6f7420617661696c61626c6500000000604082015260600190565b6020808252602f908201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560408201526e1037bbb732b91037b3103a37b5b2b760891b606082015260800190565b6020808252601c908201527f4f74616b75204b6c75623a2053616c65206e6f74207374617274656400000000604082015260600190565b6020808252602d908201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560408201526c3c34b9ba32b73a103a37b5b2b760991b606082015260800190565b60208082526028908201527f4f74616b75204b6c75623a206d617820746f74616c20737970706c7920697320604082015267195e18d95959195960c21b606082015260800190565b60208082526022908201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696040820152610ced60f31b606082015260800190565b90815260200190565b918252602082015260400190565b9283526020830191909152604082015260600190565b60006001600160801b03808316818516808303821115612baa57612baa613a1c565b600082198211156138f8576138f8613a1c565b500190565b60008261390c5761390c613a32565b500490565b600081600019048311821515161561392b5761392b613a1c565b500290565b60006001600160801b038381169083168181101561395057613950613a1c565b039392505050565b60008282101561396a5761396a613a1c565b500390565b60005b8381101561398a578181015183820152602001613972565b838111156117485750506000910152565b6000816139aa576139aa613a1c565b506000190190565b6002810460018216806139c657607f821691505b602082108114156139e757634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613a0157613a01613a1c565b5060010190565b600082613a1757613a17613a32565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146119ed57600080fd5b6001600160e01b0319811681146119ed57600080fdfea2646970667358221220f8bf6a669a3cce4d23496d499de6e399af767f278fff5637ec53aec81a18eb3f64736f6c6343000800003300000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000309000000000000000000000000000000000000000000000000000000000000001e
Deployed Bytecode
0x6080604052600436106102b25760003560e01c80638456cb5911610175578063b88d4fde116100dc578063e2b4db9711610095578063ed7003741161006f578063ed7003741461083b578063f2fde38b14610850578063f578d9df14610870578063fd88fa6914610883576102f9565b8063e2b4db97146107e6578063e33b7de314610806578063e985e9c51461081b576102f9565b8063b88d4fde14610731578063bfc1773314610751578063c87b56dd14610771578063ce7c2ac214610791578063d7224ba0146107b1578063de00a68b146107c6576102f9565b806395d89b411161012e57806395d89b41146106875780639852595c1461069c578063a035b1fe146106bc578063a22cb465146106d1578063aca8ffe7146106f1578063b179e06014610711576102f9565b80638456cb59146105da5780638b83209b146105ef5780638cc4de191461060f5780638da5cb5b1461062f57806390aa0b0f1461064457806391b7f5ed14610667576102f9565b806342842e0e116102195780636352211e116101d25780636352211e146105305780636c0360eb146105505780636eb4e0131461056557806370a0823114610585578063715018a6146105a55780637204a3c9146105ba576102f9565b806342842e0e1461049157806345c0f533146104b15780634f6ccce7146104c657806355f804b3146104e65780635c975abb146105065780635edbc28c1461051b576102f9565b80631fc574fa1161026b5780631fc574fa146103e757806323b872dd146104075780632f745c59146104275780633a98ef39146104475780633f4ba83a1461045c578063422bafd114610471576102f9565b806301ffc9a7146102fe57806306fdde0314610334578063081812fc14610356578063095ea7b31461038357806318160ddd146103a557806319165587146103c7576102f9565b366102f9577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7706102e06108a7565b346040516102ef929190612bca565b60405180910390a1005b600080fd5b34801561030a57600080fd5b5061031e610319366004612a8c565b6108ab565b60405161032b9190612c20565b60405180910390f35b34801561034057600080fd5b5061034961090e565b60405161032b9190612c2b565b34801561036257600080fd5b50610376610371366004612b1f565b6109a0565b60405161032b9190612bb6565b34801561038f57600080fd5b506103a361039e3660046129d8565b6109ec565b005b3480156103b157600080fd5b506103ba610a85565b60405161032b9190613896565b3480156103d357600080fd5b506103a36103e2366004612840565b610a8b565b3480156103f357600080fd5b506103a3610402366004612b37565b610bd0565b34801561041357600080fd5b506103a3610422366004612894565b610c97565b34801561043357600080fd5b506103ba6104423660046129d8565b610ca2565b34801561045357600080fd5b506103ba610d9e565b34801561046857600080fd5b506103a3610da4565b34801561047d57600080fd5b506103a361048c366004612b1f565b610e3a565b34801561049d57600080fd5b506103a36104ac366004612894565b610f2d565b3480156104bd57600080fd5b506103ba610f48565b3480156104d257600080fd5b506103ba6104e1366004612b1f565b610f4e565b3480156104f257600080fd5b506103a3610501366004612ac4565b610f7a565b34801561051257600080fd5b5061031e610fc5565b34801561052757600080fd5b506103ba610fce565b34801561053c57600080fd5b5061037661054b366004612b1f565b610fd4565b34801561055c57600080fd5b50610349610fe6565b34801561057157600080fd5b506103a3610580366004612b1f565b611074565b34801561059157600080fd5b506103ba6105a0366004612840565b6110d9565b3480156105b157600080fd5b506103a3611126565b3480156105c657600080fd5b506103a36105d5366004612a03565b611171565b3480156105e657600080fd5b506103a36112e9565b3480156105fb57600080fd5b5061037661060a366004612b1f565b611383565b34801561061b57600080fd5b506103ba61062a366004612840565b6113c1565b34801561063b57600080fd5b506103766113d3565b34801561065057600080fd5b506106596113e2565b60405161032b92919061389f565b34801561067357600080fd5b506103a3610682366004612b1f565b6113eb565b34801561069357600080fd5b5061034961142f565b3480156106a857600080fd5b506103ba6106b7366004612840565b61143e565b3480156106c857600080fd5b506103ba611459565b3480156106dd57600080fd5b506103a36106ec3660046129a4565b61145f565b3480156106fd57600080fd5b506103a361070c366004612b1f565b61152d565b34801561071d57600080fd5b506103a361072c366004612a03565b611597565b34801561073d57600080fd5b506103a361074c3660046128d4565b611715565b34801561075d57600080fd5b506103a361076c366004612a72565b61174e565b34801561077d57600080fd5b5061034961078c366004612b1f565b6117a0565b34801561079d57600080fd5b506103ba6107ac366004612840565b611823565b3480156107bd57600080fd5b506103ba61183e565b3480156107d257600080fd5b5061031e6107e1366004612840565b611844565b3480156107f257600080fd5b506103a3610801366004612b1f565b611862565b34801561081257600080fd5b506103ba611945565b34801561082757600080fd5b5061031e61083636600461285c565b61194b565b34801561084757600080fd5b506103ba611979565b34801561085c57600080fd5b506103a361086b366004612840565b61197f565b6103a361087e366004612b1f565b6119f0565b34801561088f57600080fd5b50610898611a61565b60405161032b939291906138ad565b3390565b60006001600160e01b031982166380ac58cd60e01b14806108dc57506001600160e01b03198216635b5e139f60e01b145b806108f757506001600160e01b0319821663780e9d6360e01b145b80610906575061090682611a6d565b90505b919050565b60606003805461091d906139b2565b80601f0160208091040260200160405190810160405280929190818152602001828054610949906139b2565b80156109965780601f1061096b57610100808354040283529160200191610996565b820191906000526020600020905b81548152906001019060200180831161097957829003601f168201915b5050505050905090565b60006109ab82611a86565b6109d05760405162461bcd60e51b81526004016109c7906137bf565b60405180910390fd5b506000908152600760205260409020546001600160a01b031690565b60006109f782610fd4565b9050806001600160a01b0316836001600160a01b03161415610a2b5760405162461bcd60e51b81526004016109c7906133e8565b806001600160a01b0316610a3d6108a7565b6001600160a01b03161480610a595750610a59816108366108a7565b610a755760405162461bcd60e51b81526004016109c7906130d4565b610a80838383611a8d565b505050565b60015490565b6001600160a01b0381166000908152600d6020526040902054610ac05760405162461bcd60e51b81526004016109c790612e5b565b6000600c5447610ad091906138e5565b6001600160a01b0383166000908152600e6020908152604080832054600b54600d909352908320549394509192610b079085613911565b610b1191906138fd565b610b1b9190613958565b905080610b3a5760405162461bcd60e51b81526004016109c79061300b565b6001600160a01b0383166000908152600e6020526040902054610b5e9082906138e5565b6001600160a01b0384166000908152600e6020526040902055600c54610b859082906138e5565b600c55610b928382611ae9565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051610bc3929190612bca565b60405180910390a1505050565b610bd86108a7565b6001600160a01b0316610be96113d3565b6001600160a01b031614610c0f5760405162461bcd60e51b81526004016109c79061328a565b60008211610c2f5760405162461bcd60e51b81526004016109c790612ea1565b7f0000000000000000000000000000000000000000000000000000000000000064811115610c6f5760405162461bcd60e51b81526004016109c790613397565b6040805160608101825242808252602082018590529101829052601555601691909155601755565b610a80838383611b85565b6000610cad836110d9565b8210610ccb5760405162461bcd60e51b81526004016109c790612c3e565b6000610cd5610a85565b905060008060005b83811015610d7f576000818152600560209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610d3057805192505b876001600160a01b0316836001600160a01b03161415610d6c5786841415610d5e57509350610d9892505050565b83610d68816139ed565b9450505b5080610d77816139ed565b915050610cdd565b5060405162461bcd60e51b81526004016109c79061363b565b92915050565b600b5490565b610dac6108a7565b6001600160a01b0316610dbd6113d3565b6001600160a01b031614610de35760405162461bcd60e51b81526004016109c79061328a565b600a5460ff16610e055760405162461bcd60e51b81526004016109c79061309d565b600a805460ff191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b610e426108a7565b6001600160a01b0316610e536113d3565b6001600160a01b031614610e795760405162461bcd60e51b81526004016109c79061328a565b7f0000000000000000000000000000000000000000000000000000000000000064811115610eb95760405162461bcd60e51b81526004016109c790613397565b6040805160608101825260155480825260165460208301819052601754938301939093529091600091610eec91906138e5565b9050804211610f0d5760405162461bcd60e51b81526004016109c790613788565b505060408051808201909152428082526020909101829052601855601955565b610a8083838360405180602001604052806000815250611715565b60025481565b6000610f58610a85565b8210610f765760405162461bcd60e51b81526004016109c790612e18565b5090565b610f826108a7565b6001600160a01b0316610f936113d3565b6001600160a01b031614610fb95760405162461bcd60e51b81526004016109c79061328a565b610a8060148383612784565b600a5460ff1681565b60105481565b6000610fdf82611e99565b5192915050565b60148054610ff3906139b2565b80601f016020809104026020016040519081016040528092919081815260200182805461101f906139b2565b801561106c5780601f106110415761010080835404028352916020019161106c565b820191906000526020600020905b81548152906001019060200180831161104f57829003601f168201915b505050505081565b61107c6108a7565b6001600160a01b031661108d6113d3565b6001600160a01b0316146110b35760405162461bcd60e51b81526004016109c79061328a565b60115481116110d45760405162461bcd60e51b81526004016109c79061356d565b601055565b60006001600160a01b0382166111015760405162461bcd60e51b81526004016109c790613178565b506001600160a01b03166000908152600660205260409020546001600160801b031690565b61112e6108a7565b6001600160a01b031661113f6113d3565b6001600160a01b0316146111655760405162461bcd60e51b81526004016109c79061328a565b61116f6000611fac565b565b6111796108a7565b6001600160a01b031661118a6113d3565b6001600160a01b0316146111b05760405162461bcd60e51b81526004016109c79061328a565b60005b81811015610a805760008383838181106111dd57634e487b7160e01b600052603260045260246000fd5b90506020020160208101906111f29190612840565b6001600160a01b031614156112195760405162461bcd60e51b81526004016109c7906135f7565b601c600084848481811061123d57634e487b7160e01b600052603260045260246000fd5b90506020020160208101906112529190612840565b6001600160a01b0316815260208101919091526040016000205460ff166112d7576001601c600085858581811061129957634e487b7160e01b600052603260045260246000fd5b90506020020160208101906112ae9190612840565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790555b806112e1816139ed565b9150506111b3565b6112f16108a7565b6001600160a01b03166113026113d3565b6001600160a01b0316146113285760405162461bcd60e51b81526004016109c79061328a565b600a5460ff161561134b5760405162461bcd60e51b81526004016109c790613702565b600a805460ff191660011790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b6000600f82815481106113a657634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031692915050565b601d6020526000908152604090205481565b6000546001600160a01b031690565b60185460195482565b6113f36108a7565b6001600160a01b03166114046113d3565b6001600160a01b03161461142a5760405162461bcd60e51b81526004016109c79061328a565b601255565b60606004805461091d906139b2565b6001600160a01b03166000908152600e602052604090205490565b60125481565b6114676108a7565b6001600160a01b0316826001600160a01b031614156114985760405162461bcd60e51b81526004016109c79061330e565b80600860006114a56108a7565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556114e96108a7565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516115219190612c20565b60405180910390a35050565b6115356108a7565b6001600160a01b03166115466113d3565b6001600160a01b03161461156c5760405162461bcd60e51b81526004016109c79061328a565b611574610a85565b81116115925760405162461bcd60e51b81526004016109c79061356d565b600255565b61159f6108a7565b6001600160a01b03166115b06113d3565b6001600160a01b0316146115d65760405162461bcd60e51b81526004016109c79061328a565b60005b81811015610a8057600083838381811061160357634e487b7160e01b600052603260045260246000fd5b90506020020160208101906116189190612840565b6001600160a01b0316141561163f5760405162461bcd60e51b81526004016109c790613131565b601c600084848481811061166357634e487b7160e01b600052603260045260246000fd5b90506020020160208101906116789190612840565b6001600160a01b0316815260208101919091526040016000205460ff16151560011415611703576000601c60008585858181106116c557634e487b7160e01b600052603260045260246000fd5b90506020020160208101906116da9190612840565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790555b8061170d816139ed565b9150506115d9565b611720848484611b85565b61172c84848484611ffc565b6117485760405162461bcd60e51b81526004016109c790613498565b50505050565b6117566108a7565b6001600160a01b03166117676113d3565b6001600160a01b03161461178d5760405162461bcd60e51b81526004016109c79061328a565b6013805460ff1916911515919091179055565b60606117ab82611a86565b6117c75760405162461bcd60e51b81526004016109c7906132bf565b60006117d1612118565b905060008151116117f1576040518060200160405280600081525061181c565b806117fb84612127565b60405160200161180c929190612b84565b6040516020818303038152906040525b9392505050565b6001600160a01b03166000908152600d602052604090205490565b60095481565b6001600160a01b03166000908152601c602052604090205460ff1690565b61186a6108a7565b6001600160a01b031661187b6113d3565b6001600160a01b0316146118a15760405162461bcd60e51b81526004016109c79061328a565b600a5460ff16156118c45760405162461bcd60e51b81526004016109c790613702565b600254816118d0610a85565b6118da91906138e5565b11156118f85760405162461bcd60e51b81526004016109c7906131c3565b6010548160115461190991906138e5565b11156119275760405162461bcd60e51b81526004016109c790613056565b6119313382612242565b8060115461193f91906138e5565b60115550565b600c5490565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b60115481565b6119876108a7565b6001600160a01b03166119986113d3565b6001600160a01b0316146119be5760405162461bcd60e51b81526004016109c79061328a565b6001600160a01b0381166119e45760405162461bcd60e51b81526004016109c790612d08565b6119ed81611fac565b50565b600a5460ff1615611a135760405162461bcd60e51b81526004016109c790613702565b6015544211611a345760405162461bcd60e51b81526004016109c790612c80565b601654601554611a4491906138e5565b4211611a5857611a5381612260565b6119ed565b6119ed81612408565b60155460165460175483565b6001600160e01b031981166301ffc9a760e01b14919050565b6001541190565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b80471015611b095760405162461bcd60e51b81526004016109c790612fd4565b6000826001600160a01b031682604051611b2290612bb3565b60006040518083038185875af1925050503d8060008114611b5f576040519150601f19603f3d011682016040523d82523d6000602084013e611b64565b606091505b5050905080610a805760405162461bcd60e51b81526004016109c790612f77565b6000611b9082611e99565b9050600081600001516001600160a01b0316611baa6108a7565b6001600160a01b03161480611bdf5750611bc26108a7565b6001600160a01b0316611bd4846109a0565b6001600160a01b0316145b80611bf357508151611bf3906108366108a7565b905080611c125760405162461bcd60e51b81526004016109c790613345565b846001600160a01b031682600001516001600160a01b031614611c475760405162461bcd60e51b81526004016109c790613244565b6001600160a01b038416611c6d5760405162461bcd60e51b81526004016109c790612ee5565b611c7a8585856001611748565b611c8a6000848460000151611a8d565b6001600160a01b0385166000908152600660205260408120805460019290611cbc9084906001600160801b0316613930565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b03861660009081526006602052604081208054600194509092611d08918591166138c3565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808716825267ffffffffffffffff428116602080850191825260008981526005909152948520935184549151909216600160a01b0267ffffffffffffffff60a01b19929093166001600160a01b03199091161716179055611d9e8460016138e5565b6000818152600560205260409020549091506001600160a01b0316611e4357611dc681611a86565b15611e435760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff90811682850190815260008781526005909352949091209251835494516001600160a01b031990951692169190911767ffffffffffffffff60a01b1916600160a01b93909116929092029190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611e918686866001611748565b505050505050565b611ea1612804565b611eaa82611a86565b611ec65760405162461bcd60e51b81526004016109c790612d4e565b60007f00000000000000000000000000000000000000000000000000000000000000648310611f2757611f197f000000000000000000000000000000000000000000000000000000000000006484613958565b611f249060016138e5565b90505b825b818110611f93576000818152600560209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215611f80579250610909915050565b5080611f8b8161399b565b915050611f29565b5060405162461bcd60e51b81526004016109c790613739565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000612010846001600160a01b031661250a565b1561210c57836001600160a01b031663150b7a0261202c6108a7565b8786866040518563ffffffff1660e01b815260040161204e9493929190612be3565b602060405180830381600087803b15801561206857600080fd5b505af1925050508015612098575060408051601f3d908101601f1916820190925261209591810190612aa8565b60015b6120f2573d8080156120c6576040519150601f19603f3d011682016040523d82523d6000602084013e6120cb565b606091505b5080516120ea5760405162461bcd60e51b81526004016109c790613498565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612110565b5060015b949350505050565b60606014805461091d906139b2565b60608161214c57506040805180820190915260018152600360fc1b6020820152610909565b8160005b81156121765780612160816139ed565b915061216f9050600a836138fd565b9150612150565b60008167ffffffffffffffff81111561219f57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156121c9576020820181803683370190505b5090505b8415612110576121de600183613958565b91506121eb600a86613a08565b6121f69060306138e5565b60f81b81838151811061221957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061223b600a866138fd565b94506121cd565b61225c828260405180602001604052806000815250612510565b5050565b604080516060810182526015548082526016546020830152601754928201929092529061229f5760405162461bcd60e51b81526004016109c7906136c0565b80514210156122c05760405162461bcd60e51b81526004016109c79061320d565b602081015181516122d191906138e5565b4211156122f05760405162461bcd60e51b81526004016109c790613461565b60135460ff161561232f57336000908152601c602052604090205460ff16151560011461232f5760405162461bcd60e51b81526004016109c790612f2a565b604080820151336000908152601d60205291909120546123509084906138e5565b111561236e5760405162461bcd60e51b81526004016109c790612cb7565b6002548261237a610a85565b61238491906138e5565b11156123a25760405162461bcd60e51b81526004016109c790612d98565b34826012546123b19190613911565b11156123cf5760405162461bcd60e51b81526004016109c790613522565b6123d93383612242565b336000908152601d60205260409020546123f49083906138e5565b336000908152601d60205260409020555050565b60408051808201909152601854815260195460208201528161243c5760405162461bcd60e51b81526004016109c790613689565b805161245a5760405162461bcd60e51b81526004016109c790612de1565b805142101561247b5760405162461bcd60e51b81526004016109c79061342a565b806020015182111561249f5760405162461bcd60e51b81526004016109c790612cb7565b600254826124ab610a85565b6124b591906138e5565b11156124d35760405162461bcd60e51b81526004016109c79061380c565b34826012546124e29190613911565b11156125005760405162461bcd60e51b81526004016109c790613522565b61225c3383612242565b3b151590565b6001546001600160a01b0384166125395760405162461bcd60e51b81526004016109c7906135b6565b61254281611a86565b1561255f5760405162461bcd60e51b81526004016109c7906134eb565b7f000000000000000000000000000000000000000000000000000000000000006483111561259f5760405162461bcd60e51b81526004016109c790613854565b6125ac6000858386611748565b6001600160a01b0384166000908152600660209081526040918290208251808401845290546001600160801b038082168352600160801b90910416918101919091528151808301909252805190919081906126089087906138c3565b6001600160801b0316815260200185836020015161262691906138c3565b6001600160801b039081169091526001600160a01b03808816600081815260066020908152604080832087518154988401518816600160801b029088166fffffffffffffffffffffffffffffffff1990991698909817909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528883526005909552948120915182549451909516600160a01b0267ffffffffffffffff60a01b19959093166001600160a01b031990941693909317939093161790915582905b858110156127715760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46127356000888488611ffc565b6127515760405162461bcd60e51b81526004016109c790613498565b8161275b816139ed565b9250508080612769906139ed565b9150506126e8565b506001819055611e916000878588611748565b828054612790906139b2565b90600052602060002090601f0160209004810192826127b257600085556127f8565b82601f106127cb5782800160ff198235161785556127f8565b828001600101855582156127f8579182015b828111156127f85782358255916020019190600101906127dd565b50610f7692915061281b565b604080518082019091526000808252602082015290565b5b80821115610f76576000815560010161281c565b8035801515811461090957600080fd5b600060208284031215612851578081fd5b813561181c81613a5e565b6000806040838503121561286e578081fd5b823561287981613a5e565b9150602083013561288981613a5e565b809150509250929050565b6000806000606084860312156128a8578081fd5b83356128b381613a5e565b925060208401356128c381613a5e565b929592945050506040919091013590565b600080600080608085870312156128e9578081fd5b84356128f481613a5e565b935060208581013561290581613a5e565b935060408601359250606086013567ffffffffffffffff80821115612928578384fd5b818801915088601f83011261293b578384fd5b81358181111561294d5761294d613a48565b604051601f8201601f191681018501838111828210171561297057612970613a48565b60405281815283820185018b1015612986578586fd5b81858501868301379081019093019390935250939692955090935050565b600080604083850312156129b6578182fd5b82356129c181613a5e565b91506129cf60208401612830565b90509250929050565b600080604083850312156129ea578182fd5b82356129f581613a5e565b946020939093013593505050565b60008060208385031215612a15578182fd5b823567ffffffffffffffff80821115612a2c578384fd5b818501915085601f830112612a3f578384fd5b813581811115612a4d578485fd5b8660208083028501011115612a60578485fd5b60209290920196919550909350505050565b600060208284031215612a83578081fd5b61181c82612830565b600060208284031215612a9d578081fd5b813561181c81613a73565b600060208284031215612ab9578081fd5b815161181c81613a73565b60008060208385031215612ad6578182fd5b823567ffffffffffffffff80821115612aed578384fd5b818501915085601f830112612b00578384fd5b813581811115612b0e578485fd5b866020828501011115612a60578485fd5b600060208284031215612b30578081fd5b5035919050565b60008060408385031215612b49578182fd5b50508035926020909101359150565b60008151808452612b7081602086016020860161396f565b601f01601f19169290920160200192915050565b60008351612b9681846020880161396f565b835190830190612baa81836020880161396f565b01949350505050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c1690830184612b58565b9695505050505050565b901515815260200190565b60006020825261181c6020830184612b58565b60208082526022908201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b6020808252601f908201527f4f74616b75204b6c75623a2070726573616c65206e6f74207374617274656400604082015260600190565b60208082526031908201527f4f74616b75204b6c75623a206d617820636f756e7420706572207472616e736160408201527018dd1a5bdb881a5cc8195e18d959591959607a1b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252602a908201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736040820152693a32b73a103a37b5b2b760b11b606082015260800190565b60208082526029908201527f4f74616b75204b6c75623a20206d617820746f74616c20737970706c7920697360408201526808195e18d95959195960ba1b606082015260800190565b6020808252601e908201527f4f74616b75204b6c75623a2073616c65206973206e6f74206163746976650000604082015260600190565b60208082526023908201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756040820152626e647360e81b606082015260800190565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b60208082526024908201527f4f74616b75204b6c75623a2070726573616c65206475726174696f6e206973206040820152637a65726f60e01b606082015260800190565b60208082526025908201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602d908201527f4f74616b75204b6c75623a2043616c6c6572206973206e6f74206f6e2074686560408201526c081c1c995cd85b19481b1a5cdd609a1b606082015260800190565b6020808252603a908201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260408201527f6563697069656e74206d61792068617665207265766572746564000000000000606082015260800190565b6020808252601d908201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604082015260600190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b60208082526027908201527f4f74616b75204b6c75623a206d6178206769667420737570706c7920697320656040820152661e18d95959195960ca1b606082015260800190565b60208082526018908201527f5472616e73616374696f6e20697320617661696c61626c650000000000000000604082015260600190565b60208082526039908201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000606082015260800190565b60208082526027908201527f4f74616b75204b6c75623a2043616e27742072656d6f76652061207a65726f206040820152666164647265737360c81b606082015260800190565b6020808252602b908201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60408201526a65726f206164647265737360a81b606082015260800190565b6020808252602a908201527f4f74616b75204b6c75623a20206d617820746f74616c20737970706c792020696040820152691cc8195e18d95959195960b21b606082015260800190565b6020808252601f908201527f4f74616b75204b6c75623a2050726573616c65206e6f74207374617274656400604082015260600190565b60208082526026908201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746040820152651037bbb732b960d11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b6020808252601a908201527f455243373231413a20617070726f766520746f2063616c6c6572000000000000604082015260600190565b60208082526032908201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b60208082526031908201527f4f74616b75204b6c75623a206d6178436f756e7420697320686967686572207460408201527003430b71036b0bc2130ba31b429b4bd329607d1b606082015260800190565b60208082526022908201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60408201526132b960f11b606082015260800190565b6020808252601c908201527f4f74616b75204b6c75623a2073616c65206e6f74207374617274656400000000604082015260600190565b6020808252601c908201527f4f74616b75204b6c75623a2050726573616c6520697320656e64656400000000604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6020808252601d908201527f455243373231413a20746f6b656e20616c7265616479206d696e746564000000604082015260600190565b6020808252602b908201527f4f74616b75204b6c75623a2045746865722076616c75652073656e742069732060408201526a1b9bdd0818dbdc9c9958dd60aa1b606082015260800190565b60208082526029908201527f4f74616b75204b6c75623a20746865206e657720616d6f756e74206d757374206040820152683132903434b3b432b960b91b606082015260800190565b60208082526021908201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526024908201527f4f74616b75204b6c75623a2043616e2774206164642061207a65726f206164646040820152637265737360e01b606082015260800190565b6020808252602e908201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060408201526d0deeedccae440c4f240d2dcc8caf60931b606082015260800190565b60208082526017908201527f4f74616b75204b6c75623a207a65726f20616d6f756e74000000000000000000604082015260600190565b60208082526022908201527f4f74616b75204b6c75623a2050726573616c65206d7573742062652061637469604082015261766560f01b606082015260800190565b6020808252601c908201527f5472616e73616374696f6e206973206e6f7420617661696c61626c6500000000604082015260600190565b6020808252602f908201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560408201526e1037bbb732b91037b3103a37b5b2b760891b606082015260800190565b6020808252601c908201527f4f74616b75204b6c75623a2053616c65206e6f74207374617274656400000000604082015260600190565b6020808252602d908201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560408201526c3c34b9ba32b73a103a37b5b2b760991b606082015260800190565b60208082526028908201527f4f74616b75204b6c75623a206d617820746f74616c20737970706c7920697320604082015267195e18d95959195960c21b606082015260800190565b60208082526022908201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696040820152610ced60f31b606082015260800190565b90815260200190565b918252602082015260400190565b9283526020830191909152604082015260600190565b60006001600160801b03808316818516808303821115612baa57612baa613a1c565b600082198211156138f8576138f8613a1c565b500190565b60008261390c5761390c613a32565b500490565b600081600019048311821515161561392b5761392b613a1c565b500290565b60006001600160801b038381169083168181101561395057613950613a1c565b039392505050565b60008282101561396a5761396a613a1c565b500390565b60005b8381101561398a578181015183820152602001613972565b838111156117485750506000910152565b6000816139aa576139aa613a1c565b506000190190565b6002810460018216806139c657607f821691505b602082108114156139e757634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613a0157613a01613a1c565b5060010190565b600082613a1757613a17613a32565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146119ed57600080fd5b6001600160e01b0319811681146119ed57600080fdfea2646970667358221220f8bf6a669a3cce4d23496d499de6e399af767f278fff5637ec53aec81a18eb3f64736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000309000000000000000000000000000000000000000000000000000000000000001e
-----Decoded View---------------
Arg [0] : _maxBatchSize (uint256): 100
Arg [1] : _maxTotalSupply (uint256): 777
Arg [2] : _maxGiftSupply (uint256): 30
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000309
Arg [2] : 000000000000000000000000000000000000000000000000000000000000001e
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.