ERC-721
Overview
Max Total Supply
236 INTERFERENCE
Holders
105
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 INTERFERENCELoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TonicContract
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT pragma solidity ^0.8.17; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Royalty.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "operator-filter-registry/src/DefaultOperatorFilterer.sol"; contract TonicContract is ERC721, ERC721Enumerable, Ownable, ERC721Royalty, DefaultOperatorFilterer { event ApprovedMinter(address indexed _minter); event RevokedMinter(address indexed _minter); event SeederStatusChanged(address indexed _seeder, bool indexed _authStatus); using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; string public uriPrefix; string public contractURI; string public projectCode; string private _name; string private _symbol; uint public maxSupply; uint public startsAt; uint public startPrice; uint public floorPrice; uint public halfLifeIncrement; uint public secsBetweenLinearDecay; mapping (address => bool) public approvedToMint; mapping (address => bool) public approvedToSeed; mapping(uint => string) tokenSeedMap; constructor (uint _startsAt, string memory _uriPrefix, string memory _contractURI) ERC721 ("Interference by Phaust", "INTERFERENCE") { _name = ERC721. name () ; _symbol = ERC721. symbol(); startsAt = _startsAt; uriPrefix = _uriPrefix; contractURI = _contractURI; maxSupply = 236; startPrice = 0.5 ether; floorPrice = 0.1 ether; halfLifeIncrement = 1200 ; secsBetweenLinearDecay = 150; } function setName(string calldata __name) public onlyOwner { _name = __name; } function setSymbol(string calldata __symbol) public onlyOwner { _symbol = __symbol; } function name() public view virtual override returns (string memory) { return _name; } function symbol() public view virtual override returns (string memory) { return _symbol; } function priceAt(uint timestamp) public view returns(uint){ uint elapsed = timestamp - startsAt; uint half_life_period = elapsed / halfLifeIncrement; if(half_life_period > 20) return floorPrice; uint half_life_price = startPrice / (2 ** half_life_period); uint linear_period = elapsed % halfLifeIncrement / secsBetweenLinearDecay; uint linear_discount = (half_life_price / 2) * secsBetweenLinearDecay * linear_period / halfLifeIncrement; uint current_price = half_life_price - linear_discount; return Math.max(floorPrice,current_price); } function price() public view returns(uint){ if(block.timestamp < startsAt) return startPrice; return priceAt(block.timestamp); } function remainingSupply() public view returns(uint) { uint256 tokenId = _tokenIdCounter.current(); return Math.max(0, maxSupply-tokenId); } function safeMint(address _to, uint quantity) private { for (uint i = 0; i < quantity; i++) { uint256 tokenId = _tokenIdCounter.current(); _tokenIdCounter.increment(); _safeMint(_to, tokenId); } } function publicMint(address _to, uint quantity) external payable { require(approvedToMint[msg.sender], "unauthorized"); require(msg.value >= floorPrice * quantity, "Minimum price not met"); require(remainingSupply() >= quantity, "Collection is sold out"); safeMint(_to, quantity); } function adminMint(address _to, uint quantity) external onlyOwner { require(remainingSupply() >= quantity, "Collection is sold out"); safeMint(_to, quantity); } function getClaimIneligibilityReason() external view returns (string memory) { if (remainingSupply() < 1) { return "Not enough supply"; } return ""; } function authorizeMinter(address _wallet) external onlyOwner { approvedToMint[_wallet]=true; emit ApprovedMinter(_wallet); } function revokeMinter(address _wallet) external onlyOwner { approvedToMint[_wallet]=false; emit RevokedMinter(_wallet); } function setSeederStatus(address _wallet, bool _approvedStatus) external onlyOwner { approvedToSeed[_wallet] = _approvedStatus; emit SeederStatusChanged(_wallet, _approvedStatus); } function setSeeds(uint[] calldata tokenIds, string[] calldata seeds) external { require(approvedToSeed[msg.sender], "unauthorized"); require(tokenIds.length == seeds.length, "tokenIds and seeds must be the same length"); for (uint i = 0; i < tokenIds.length; i++) { tokenSeedMap[tokenIds[i]] = seeds[i]; } } function getSeed(uint tokenId) external view returns (string memory) { require(_exists(tokenId),"query for nonexistent token"); return tokenSeedMap[tokenId]; } function setProjectCode(string calldata _projectCode) external { require(approvedToSeed[msg.sender], "unauthorized"); projectCode = _projectCode; } /* * Set secondary market royalties using the EIP2981 standard * Royalties will be sent to the supplied `reciever` address * The royalty is calcuated feeNumerator / 10000 * A 5% royalty, would use a feeNumerator of 500 (500/10000=.05) */ function setRoyalties(address reciever, uint96 feeNumerator) external onlyOwner { _setDefaultRoyalty(reciever, feeNumerator); } function setHalfLifeIncrement(uint256 _halfLifeIncrement) public onlyOwner { halfLifeIncrement = _halfLifeIncrement; } function setSecsBetweenLinearDecay(uint256 _secsBetweenLinearDecay) public onlyOwner { secsBetweenLinearDecay = _secsBetweenLinearDecay; } function setStartsAt(uint256 _startsAt) public onlyOwner { startsAt = _startsAt; } function setStartPrice(uint _startPrice) public onlyOwner { startPrice = _startPrice; } function setFloorPrice(uint _floorPrice) public onlyOwner { floorPrice = _floorPrice; } function setMaxSupply(uint _maxSupply) public onlyOwner { maxSupply = _maxSupply; } function setUriPrefix(string memory _prefix) public onlyOwner { uriPrefix = _prefix; } function setContractURI(string memory _contractURI) public onlyOwner { contractURI = _contractURI; } function withdraw(address payable _to) external onlyOwner { (bool success, ) = _to.call{value: address(this).balance}(""); require(success, "failure"); } function tokenURI(uint256 _tokenId) public view virtual override (ERC721) returns (string memory) { require(_exists(_tokenId),"query for nonexistent token"); return string.concat(uriPrefix,Strings.toString(_tokenId)); } // The following functions are overrides required by Solidity. function _beforeTokenTransfer(address from, address to, uint256 tokenId, uint256 batchSize) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId, batchSize); } function _burn(uint256 tokenId) internal override(ERC721,ERC721Royalty) { super._burn(tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable, ERC721Royalty) returns (bool) { return super.supportsInterface(interfaceId); } // The following functions are required by OpenSea Operator Filter (https://github.com/ProjectOpenSea/operator-filter-registry) function setApprovalForAll(address operator, bool approved) public override(ERC721,IERC721) onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public override(ERC721,IERC721) onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom(address from, address to, uint256 tokenId) public override(ERC721,IERC721) onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public override(ERC721,IERC721) onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override(ERC721,IERC721) onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "../../interfaces/IERC2981.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.2) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // 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 Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @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 || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _ownerOf(tokenId); require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @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) { _requireMinted(tokenId); 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 overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner or approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_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 virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _safeTransfer(from, to, tokenId, data); } /** * @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. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @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`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _ownerOf(tokenId) != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId, 1); // Check that tokenId was not minted by `_beforeTokenTransfer` hook require(!_exists(tokenId), "ERC721: token already minted"); unchecked { // Will not overflow unless all 2**256 token ids are minted to the same owner. // Given that tokens are minted one by one, it is impossible in practice that // this ever happens. Might change if we allow batch minting. // The ERC fails to describe this case. _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId, 1); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721.ownerOf(tokenId); // Clear approvals delete _tokenApprovals[tokenId]; unchecked { // Cannot overflow, as that would require more tokens to be burned/transferred // out than the owner initially received through minting and transferring in. _balances[owner] -= 1; } delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId, 1); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * 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 ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId, 1); // Check that tokenId was not transferred by `_beforeTokenTransfer` hook require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; unchecked { // `_balances[from]` cannot overflow for the same reason as described in `_burn`: // `from`'s balance is the number of token held, which is at least one before the current // transfer. // `_balances[to]` could overflow in the conditions described in `_mint`. That would require // all 2**256 token ids to be minted, which in practice is impossible. _balances[from] -= 1; _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @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.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`. * - When `from` is zero, the tokens will be minted for `to`. * - When `to` is zero, ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`. * - When `from` is zero, the tokens were minted for `to`. * - When `to` is zero, ``from``'s tokens were burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} /** * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override. * * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such * that `ownerOf(tokenId)` is `a`. */ // solhint-disable-next-line func-name-mixedcase function __unsafe_increaseBalance(address account, uint256 amount) internal { _balances[account] += amount; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev See {ERC721-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual override { super._beforeTokenTransfer(from, to, firstTokenId, batchSize); if (batchSize > 1) { // Will only trigger during construction. Batch transferring (minting) is not available afterwards. revert("ERC721Enumerable: consecutive transfers not supported"); } uint256 tokenId = firstTokenId; if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Royalty.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../common/ERC2981.sol"; import "../../../utils/introspection/ERC165.sol"; /** * @dev Extension of ERC721 with the ERC2981 NFT Royalty Standard, a standardized way to retrieve royalty payment * information. * * Royalty information can be specified globally for all token ids via {ERC2981-_setDefaultRoyalty}, and/or individually for * specific token ids via {ERC2981-_setTokenRoyalty}. The latter takes precedence over the first. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC721Royalty is ERC2981, ERC721 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC2981) returns (bool) { return super.supportsInterface(interfaceId); } /** * @dev See {ERC721-_burn}. This override additionally clears the royalty information for the token. */ function _burn(uint256 tokenId) internal virtual override { super._burn(tokenId); _resetTokenRoyalty(tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) 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); /** * @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 // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) 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 // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) 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`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must 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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) 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 `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 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 functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or 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 { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // 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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) 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 // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @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] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {OperatorFilterer} from "./OperatorFilterer.sol"; import {CANONICAL_CORI_SUBSCRIPTION} from "./lib/Constants.sol"; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. * @dev Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { /// @dev The constructor that is called when the contract is being deployed. constructor() OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; interface IOperatorFilterRegistry { /** * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns * true if supplied registrant address is not registered. */ function isOperatorAllowed(address registrant, address operator) external view returns (bool); /** * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner. */ function register(address registrant) external; /** * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes. */ function registerAndSubscribe(address registrant, address subscription) external; /** * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another * address without subscribing. */ function registerAndCopyEntries(address registrant, address registrantToCopy) external; /** * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner. * Note that this does not remove any filtered addresses or codeHashes. * Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes. */ function unregister(address addr) external; /** * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered. */ function updateOperator(address registrant, address operator, bool filtered) external; /** * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates. */ function updateOperators(address registrant, address[] calldata operators, bool filtered) external; /** * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered. */ function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; /** * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates. */ function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; /** * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous * subscription if present. * Note that accounts with subscriptions may go on to subscribe to other accounts - in this case, * subscriptions will not be forwarded. Instead the former subscription's existing entries will still be * used. */ function subscribe(address registrant, address registrantToSubscribe) external; /** * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes. */ function unsubscribe(address registrant, bool copyExistingEntries) external; /** * @notice Get the subscription address of a given registrant, if any. */ function subscriptionOf(address addr) external returns (address registrant); /** * @notice Get the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscribers(address registrant) external returns (address[] memory); /** * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscriberAt(address registrant, uint256 index) external returns (address); /** * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr. */ function copyEntriesOf(address registrant, address registrantToCopy) external; /** * @notice Returns true if operator is filtered by a given address or its subscription. */ function isOperatorFiltered(address registrant, address operator) external returns (bool); /** * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription. */ function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); /** * @notice Returns true if a codeHash is filtered by a given address or its subscription. */ function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); /** * @notice Returns a list of filtered operators for a given address or its subscription. */ function filteredOperators(address addr) external returns (address[] memory); /** * @notice Returns the set of filtered codeHashes for a given address or its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashes(address addr) external returns (bytes32[] memory); /** * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredOperatorAt(address registrant, uint256 index) external returns (address); /** * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); /** * @notice Returns true if an address has registered */ function isRegistered(address addr) external returns (bool); /** * @dev Convenience method to compute the code hash of an arbitrary contract */ function codeHashOf(address addr) external returns (bytes32); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E; address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6;
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; import {CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS} from "./lib/Constants.sol"; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. * Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract OperatorFilterer { /// @dev Emitted when an operator is not allowed. error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS); /// @dev The constructor that is called when the contract is being deployed. constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } /** * @dev A helper function to check if an operator is allowed. */ modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } /** * @dev A helper function to check if an operator approval is allowed. */ modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } /** * @dev A helper function to check if an operator is allowed. */ function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { // under normal circumstances, this function will revert rather than return false, but inheriting contracts // may specify their own OperatorFilterRegistry implementations, which may behave differently if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"_startsAt","type":"uint256"},{"internalType":"string","name":"_uriPrefix","type":"string"},{"internalType":"string","name":"_contractURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_minter","type":"address"}],"name":"ApprovedMinter","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_minter","type":"address"}],"name":"RevokedMinter","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_seeder","type":"address"},{"indexed":true,"internalType":"bool","name":"_authStatus","type":"bool"}],"name":"SeederStatusChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"approvedToMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"approvedToSeed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"authorizeMinter","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":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"floorPrice","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":"getClaimIneligibilityReason","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getSeed","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"halfLifeIncrement","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","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":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"priceAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"projectCode","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"remainingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"revokeMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"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":"secsBetweenLinearDecay","outputs":[{"internalType":"uint256","name":"","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":"_contractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_floorPrice","type":"uint256"}],"name":"setFloorPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_halfLifeIncrement","type":"uint256"}],"name":"setHalfLifeIncrement","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"__name","type":"string"}],"name":"setName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_projectCode","type":"string"}],"name":"setProjectCode","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"reciever","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_secsBetweenLinearDecay","type":"uint256"}],"name":"setSecsBetweenLinearDecay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"bool","name":"_approvedStatus","type":"bool"}],"name":"setSeederStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"string[]","name":"seeds","type":"string[]"}],"name":"setSeeds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startPrice","type":"uint256"}],"name":"setStartPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startsAt","type":"uint256"}],"name":"setStartsAt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"__symbol","type":"string"}],"name":"setSymbol","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_prefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startsAt","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":"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":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162006a0438038062006a0483398181016040528101906200003791906200077e565b733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280601681526020017f496e746572666572656e636520627920506861757374000000000000000000008152506040518060400160405280600c81526020017f494e544552464552454e434500000000000000000000000000000000000000008152508160029081620000cb919062000a59565b508060039081620000dd919062000a59565b50505062000100620000f4620003ae60201b60201c565b620003b660201b60201c565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115620002f5578015620001bb576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b81526004016200018192919062000b85565b600060405180830381600087803b1580156200019c57600080fd5b505af1158015620001b1573d6000803e3d6000fd5b50505050620002f4565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161462000275576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b81526004016200023b92919062000b85565b600060405180830381600087803b1580156200025657600080fd5b505af11580156200026b573d6000803e3d6000fd5b50505050620002f3565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b8152600401620002be919062000bb2565b600060405180830381600087803b158015620002d957600080fd5b505af1158015620002ee573d6000803e3d6000fd5b505050505b5b5b50506200030c6200047c60201b620021f51760201c565b601190816200031c919062000a59565b50620003326200051660201b620022871760201c565b6012908162000342919062000a59565b508260148190555081600e90816200035b919062000a59565b5080600f90816200036d919062000a59565b5060ec6013819055506706f05b59d3b2000060158190555067016345785d8a00006016819055506104b0601781905550609660188190555050505062000bcf565b600033905090565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6060600280546200048d9062000852565b80601f0160208091040260200160405190810160405280929190818152602001828054620004bb9062000852565b80156200050c5780601f10620004e0576101008083540402835291602001916200050c565b820191906000526020600020905b815481529060010190602001808311620004ee57829003601f168201915b5050505050905090565b606060038054620005279062000852565b80601f0160208091040260200160405190810160405280929190818152602001828054620005559062000852565b8015620005a65780601f106200057a57610100808354040283529160200191620005a6565b820191906000526020600020905b8154815290600101906020018083116200058857829003601f168201915b5050505050905090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b620005d981620005c4565b8114620005e557600080fd5b50565b600081519050620005f981620005ce565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620006548262000609565b810181811067ffffffffffffffff821117156200067657620006756200061a565b5b80604052505050565b60006200068b620005b0565b905062000699828262000649565b919050565b600067ffffffffffffffff821115620006bc57620006bb6200061a565b5b620006c78262000609565b9050602081019050919050565b60005b83811015620006f4578082015181840152602081019050620006d7565b60008484015250505050565b60006200071762000711846200069e565b6200067f565b90508281526020810184848401111562000736576200073562000604565b5b62000743848285620006d4565b509392505050565b600082601f830112620007635762000762620005ff565b5b81516200077584826020860162000700565b91505092915050565b6000806000606084860312156200079a5762000799620005ba565b5b6000620007aa86828701620005e8565b935050602084015167ffffffffffffffff811115620007ce57620007cd620005bf565b5b620007dc868287016200074b565b925050604084015167ffffffffffffffff8111156200080057620007ff620005bf565b5b6200080e868287016200074b565b9150509250925092565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200086b57607f821691505b60208210810362000881576200088062000823565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620008eb7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620008ac565b620008f78683620008ac565b95508019841693508086168417925050509392505050565b6000819050919050565b60006200093a620009346200092e84620005c4565b6200090f565b620005c4565b9050919050565b6000819050919050565b620009568362000919565b6200096e620009658262000941565b848454620008b9565b825550505050565b600090565b6200098562000976565b620009928184846200094b565b505050565b5b81811015620009ba57620009ae6000826200097b565b60018101905062000998565b5050565b601f82111562000a0957620009d38162000887565b620009de846200089c565b81016020851015620009ee578190505b62000a06620009fd856200089c565b83018262000997565b50505b505050565b600082821c905092915050565b600062000a2e6000198460080262000a0e565b1980831691505092915050565b600062000a49838362000a1b565b9150826002028217905092915050565b62000a648262000818565b67ffffffffffffffff81111562000a805762000a7f6200061a565b5b62000a8c825462000852565b62000a99828285620009be565b600060209050601f83116001811462000ad1576000841562000abc578287015190505b62000ac8858262000a3b565b86555062000b38565b601f19841662000ae18662000887565b60005b8281101562000b0b5784890151825560018201915060208501945060208101905062000ae4565b8683101562000b2b578489015162000b27601f89168262000a1b565b8355505b6001600288020188555050505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000b6d8262000b40565b9050919050565b62000b7f8162000b60565b82525050565b600060408201905062000b9c600083018562000b74565b62000bab602083018462000b74565b9392505050565b600060208201905062000bc9600083018462000b74565b92915050565b615e258062000bdf6000396000f3fe60806040526004361061036b5760003560e01c80637ec4a659116101c6578063c47f0027116100f7578063e0d4ea3711610095578063e985e9c51161006f578063e985e9c514610cb4578063ee948c4014610cf1578063f1a9af8914610d1c578063f2fde38b14610d475761036b565b8063e0d4ea3714610c23578063e58306f914610c60578063e8a3d48514610c895761036b565b8063cfbd4885116100d1578063cfbd488514610b79578063d595370c14610ba2578063d5abeb0114610bcd578063da0239a614610bf85761036b565b8063c47f002714610af7578063c87b56dd14610b20578063ce6df2b914610b5d5761036b565b8063a22cb46511610164578063b84c82461161013e578063b84c824614610a53578063b88d4fde14610a7c578063bf5fc2ee14610aa5578063c21b471b14610ace5761036b565b8063a22cb465146109d6578063a3c2c5c3146109ff578063af46868214610a285761036b565b8063938e3d7b116101a0578063938e3d7b1461091a57806395d89b41146109435780639dab20541461096e578063a035b1fe146109ab5761036b565b80637ec4a6591461089b5780638da5cb5b146108c45780639363c812146108ef5761036b565b80633d05829d116102a05780635c27100f1161023e57806365a02b651161021857806365a02b65146107f55780636f8b44b01461081e57806370a0823114610847578063715018a6146108845761036b565b80635c27100f1461076257806362b99ad41461078d5780636352211e146107b85761036b565b806342842e0e1161027a57806342842e0e146106aa57806345dc60c0146106d35780634f6ccce7146106fc57806351cff8d9146107395761036b565b80633d05829d1461062d5780633f8e19b81461065657806341f434341461067f5761036b565b806311a939631161030d57806323b872dd116102e757806323b872dd1461054c5780632a55205a146105755780632f745c59146105b35780632fe549e1146105f05761036b565b806311a93963146104cf57806317d86154146104f857806318160ddd146105215761036b565b8063095ea7b311610349578063095ea7b31461041557806309aacd081461043e5780630b9c6ced1461047b5780630c984832146104a65761036b565b806301ffc9a71461037057806306fdde03146103ad578063081812fc146103d8575b600080fd5b34801561037c57600080fd5b5061039760048036038101906103929190613e0b565b610d70565b6040516103a49190613e53565b60405180910390f35b3480156103b957600080fd5b506103c2610d82565b6040516103cf9190613efe565b60405180910390f35b3480156103e457600080fd5b506103ff60048036038101906103fa9190613f56565b610e14565b60405161040c9190613fc4565b60405180910390f35b34801561042157600080fd5b5061043c6004803603810190610437919061400b565b610e5a565b005b34801561044a57600080fd5b506104656004803603810190610460919061404b565b610e73565b6040516104729190613e53565b60405180910390f35b34801561048757600080fd5b50610490610e93565b60405161049d9190613efe565b60405180910390f35b3480156104b257600080fd5b506104cd60048036038101906104c8919061404b565b610f21565b005b3480156104db57600080fd5b506104f660048036038101906104f19190613f56565b610fc7565b005b34801561050457600080fd5b5061051f600480360381019061051a9190613f56565b610fd9565b005b34801561052d57600080fd5b50610536610feb565b6040516105439190614087565b60405180910390f35b34801561055857600080fd5b50610573600480360381019061056e91906140a2565b610ff8565b005b34801561058157600080fd5b5061059c600480360381019061059791906140f5565b611047565b6040516105aa929190614135565b60405180910390f35b3480156105bf57600080fd5b506105da60048036038101906105d5919061400b565b611231565b6040516105e79190614087565b60405180910390f35b3480156105fc57600080fd5b506106176004803603810190610612919061404b565b6112d6565b6040516106249190613e53565b60405180910390f35b34801561063957600080fd5b50610654600480360381019061064f9190613f56565b6112f6565b005b34801561066257600080fd5b5061067d60048036038101906106789190614219565b611308565b005b34801561068b57600080fd5b50610694611463565b6040516106a191906142f9565b60405180910390f35b3480156106b657600080fd5b506106d160048036038101906106cc91906140a2565b611475565b005b3480156106df57600080fd5b506106fa60048036038101906106f5919061436a565b6114c4565b005b34801561070857600080fd5b50610723600480360381019061071e9190613f56565b611566565b6040516107309190614087565b60405180910390f35b34801561074557600080fd5b50610760600480360381019061075b91906143f5565b6115d7565b005b34801561076e57600080fd5b5061077761168f565b6040516107849190614087565b60405180910390f35b34801561079957600080fd5b506107a2611695565b6040516107af9190613efe565b60405180910390f35b3480156107c457600080fd5b506107df60048036038101906107da9190613f56565b611723565b6040516107ec9190613fc4565b60405180910390f35b34801561080157600080fd5b5061081c60048036038101906108179190613f56565b6117a9565b005b34801561082a57600080fd5b5061084560048036038101906108409190613f56565b6117bb565b005b34801561085357600080fd5b5061086e6004803603810190610869919061404b565b6117cd565b60405161087b9190614087565b60405180910390f35b34801561089057600080fd5b50610899611884565b005b3480156108a757600080fd5b506108c260048036038101906108bd9190614552565b611898565b005b3480156108d057600080fd5b506108d96118b3565b6040516108e69190613fc4565b60405180910390f35b3480156108fb57600080fd5b506109046118dd565b6040516109119190614087565b60405180910390f35b34801561092657600080fd5b50610941600480360381019061093c9190614552565b6118e3565b005b34801561094f57600080fd5b506109586118fe565b6040516109659190613efe565b60405180910390f35b34801561097a57600080fd5b5061099560048036038101906109909190613f56565b611990565b6040516109a29190614087565b60405180910390f35b3480156109b757600080fd5b506109c0611a67565b6040516109cd9190614087565b60405180910390f35b3480156109e257600080fd5b506109fd60048036038101906109f891906145c7565b611a8c565b005b348015610a0b57600080fd5b50610a266004803603810190610a2191906145c7565b611aa5565b005b348015610a3457600080fd5b50610a3d611b4e565b604051610a4a9190614087565b60405180910390f35b348015610a5f57600080fd5b50610a7a6004803603810190610a75919061436a565b611b54565b005b348015610a8857600080fd5b50610aa36004803603810190610a9e91906146a8565b611b72565b005b348015610ab157600080fd5b50610acc6004803603810190610ac79190613f56565b611bc3565b005b348015610ada57600080fd5b50610af56004803603810190610af0919061476f565b611bd5565b005b348015610b0357600080fd5b50610b1e6004803603810190610b19919061436a565b611beb565b005b348015610b2c57600080fd5b50610b476004803603810190610b429190613f56565b611c09565b604051610b549190613efe565b60405180910390f35b610b776004803603810190610b72919061400b565b611c85565b005b348015610b8557600080fd5b50610ba06004803603810190610b9b919061404b565b611db9565b005b348015610bae57600080fd5b50610bb7611e5f565b604051610bc49190614087565b60405180910390f35b348015610bd957600080fd5b50610be2611e65565b604051610bef9190614087565b60405180910390f35b348015610c0457600080fd5b50610c0d611e6b565b604051610c1a9190614087565b60405180910390f35b348015610c2f57600080fd5b50610c4a6004803603810190610c459190613f56565b611e98565b604051610c579190613efe565b60405180910390f35b348015610c6c57600080fd5b50610c876004803603810190610c82919061400b565b611f85565b005b348015610c9557600080fd5b50610c9e611fe5565b604051610cab9190613efe565b60405180910390f35b348015610cc057600080fd5b50610cdb6004803603810190610cd691906147af565b612073565b604051610ce89190613e53565b60405180910390f35b348015610cfd57600080fd5b50610d06612107565b604051610d139190613efe565b60405180910390f35b348015610d2857600080fd5b50610d3161216c565b604051610d3e9190614087565b60405180910390f35b348015610d5357600080fd5b50610d6e6004803603810190610d69919061404b565b612172565b005b6000610d7b82612319565b9050919050565b606060118054610d919061481e565b80601f0160208091040260200160405190810160405280929190818152602001828054610dbd9061481e565b8015610e0a5780601f10610ddf57610100808354040283529160200191610e0a565b820191906000526020600020905b815481529060010190602001808311610ded57829003601f168201915b5050505050905090565b6000610e1f8261232b565b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610e6481612376565b610e6e8383612473565b505050565b601a6020528060005260406000206000915054906101000a900460ff1681565b60108054610ea09061481e565b80601f0160208091040260200160405190810160405280929190818152602001828054610ecc9061481e565b8015610f195780601f10610eee57610100808354040283529160200191610f19565b820191906000526020600020905b815481529060010190602001808311610efc57829003601f168201915b505050505081565b610f2961258a565b6001601960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f47832ac497f485ee699e2d5493b0c49bfc5171587baea9dec6ae8ef434e8b69660405160405180910390a250565b610fcf61258a565b8060188190555050565b610fe161258a565b8060158190555050565b6000600a80549050905090565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146110365761103533612376565b5b611041848484612608565b50505050565b6000806000600160008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16036111dc5760006040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b60006111e6612668565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686611212919061487e565b61121c91906148ef565b90508160000151819350935050509250929050565b600061123c836117cd565b821061127d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127490614992565b60405180910390fd5b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60196020528060005260406000206000915054906101000a900460ff1681565b6112fe61258a565b8060168190555050565b601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611394576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138b906149fe565b60405180910390fd5b8181905084849050146113dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d390614a90565b60405180910390fd5b60005b8484905081101561145c578282828181106113fd576113fc614ab0565b5b905060200281019061140f9190614aee565b601b600088888681811061142657611425614ab0565b5b9050602002013581526020019081526020016000209182611448929190614cfe565b50808061145490614dce565b9150506113df565b5050505050565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146114b3576114b233612376565b5b6114be848484612672565b50505050565b601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611550576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611547906149fe565b60405180910390fd5b818160109182611561929190614cfe565b505050565b6000611570610feb565b82106115b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a890614e88565b60405180910390fd5b600a82815481106115c5576115c4614ab0565b5b90600052602060002001549050919050565b6115df61258a565b60008173ffffffffffffffffffffffffffffffffffffffff164760405161160590614ed9565b60006040518083038185875af1925050503d8060008114611642576040519150601f19603f3d011682016040523d82523d6000602084013e611647565b606091505b505090508061168b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168290614f3a565b60405180910390fd5b5050565b60175481565b600e80546116a29061481e565b80601f01602080910402602001604051908101604052809291908181526020018280546116ce9061481e565b801561171b5780601f106116f05761010080835404028352916020019161171b565b820191906000526020600020905b8154815290600101906020018083116116fe57829003601f168201915b505050505081565b60008061172f83612692565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036117a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179790614fa6565b60405180910390fd5b80915050919050565b6117b161258a565b8060178190555050565b6117c361258a565b8060138190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361183d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183490615038565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61188c61258a565b61189660006126cf565b565b6118a061258a565b80600e90816118af9190615058565b5050565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60165481565b6118eb61258a565b80600f90816118fa9190615058565b5050565b60606012805461190d9061481e565b80601f01602080910402602001604051908101604052809291908181526020018280546119399061481e565b80156119865780601f1061195b57610100808354040283529160200191611986565b820191906000526020600020905b81548152906001019060200180831161196957829003601f168201915b5050505050905090565b600080601454836119a1919061512a565b90506000601754826119b391906148ef565b905060148111156119ca5760165492505050611a62565b60008160026119d99190615291565b6015546119e691906148ef565b90506000601854601754856119fb91906152dc565b611a0591906148ef565b9050600060175482601854600286611a1d91906148ef565b611a27919061487e565b611a31919061487e565b611a3b91906148ef565b905060008184611a4b919061512a565b9050611a5960165482612795565b96505050505050505b919050565b6000601454421015611a7d576015549050611a89565b611a8642611990565b90505b90565b81611a9681612376565b611aa083836127ae565b505050565b611aad61258a565b80601a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508015158273ffffffffffffffffffffffffffffffffffffffff167f896310b4eb544d86d38a8b59543c0b967bd38bba941a2a925b035c5988d9ffbd60405160405180910390a35050565b60145481565b611b5c61258a565b818160129182611b6d929190614cfe565b505050565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611bb057611baf33612376565b5b611bbc858585856127c4565b5050505050565b611bcb61258a565b8060148190555050565b611bdd61258a565b611be78282612826565b5050565b611bf361258a565b818160119182611c04929190614cfe565b505050565b6060611c14826129ba565b611c53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4a90615359565b60405180910390fd5b600e611c5e836129fb565b604051602001611c6f929190615438565b6040516020818303038152906040529050919050565b601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611d11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d08906149fe565b60405180910390fd5b80601654611d1f919061487e565b341015611d61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d58906154a8565b60405180910390fd5b80611d6a611e6b565b1015611dab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da290615514565b60405180910390fd5b611db58282612ac9565b5050565b611dc161258a565b6000601960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f8e768d7a5530d1f68e76ded405597f5ab4e340da31733f8704353e0b62b911f860405160405180910390a250565b60185481565b60135481565b600080611e78600d612b0f565b9050611e92600082601354611e8d919061512a565b612795565b91505090565b6060611ea3826129ba565b611ee2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed990615359565b60405180910390fd5b601b60008381526020019081526020016000208054611f009061481e565b80601f0160208091040260200160405190810160405280929190818152602001828054611f2c9061481e565b8015611f795780601f10611f4e57610100808354040283529160200191611f79565b820191906000526020600020905b815481529060010190602001808311611f5c57829003601f168201915b50505050509050919050565b611f8d61258a565b80611f96611e6b565b1015611fd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fce90615514565b60405180910390fd5b611fe18282612ac9565b5050565b600f8054611ff29061481e565b80601f016020809104026020016040519081016040528092919081815260200182805461201e9061481e565b801561206b5780601f106120405761010080835404028352916020019161206b565b820191906000526020600020905b81548152906001019060200180831161204e57829003601f168201915b505050505081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606001612113611e6b565b1015612156576040518060400160405280601181526020017f4e6f7420656e6f75676820737570706c790000000000000000000000000000008152509050612169565b6040518060200160405280600081525090505b90565b60155481565b61217a61258a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036121e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e0906155a6565b60405180910390fd5b6121f2816126cf565b50565b6060600280546122049061481e565b80601f01602080910402602001604051908101604052809291908181526020018280546122309061481e565b801561227d5780601f106122525761010080835404028352916020019161227d565b820191906000526020600020905b81548152906001019060200180831161226057829003601f168201915b5050505050905090565b6060600380546122969061481e565b80601f01602080910402602001604051908101604052809291908181526020018280546122c29061481e565b801561230f5780601f106122e45761010080835404028352916020019161230f565b820191906000526020600020905b8154815290600101906020018083116122f257829003601f168201915b5050505050905090565b600061232482612b1d565b9050919050565b612334816129ba565b612373576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236a90614fa6565b60405180910390fd5b50565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115612470576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016123ed9291906155c6565b602060405180830381865afa15801561240a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061242e9190615604565b61246f57806040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016124669190613fc4565b60405180910390fd5b5b50565b600061247e82611723565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036124ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e5906156a3565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661250d612b97565b73ffffffffffffffffffffffffffffffffffffffff16148061253c575061253b81612536612b97565b612073565b5b61257b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257290615735565b60405180910390fd5b6125858383612b9f565b505050565b612592612b97565b73ffffffffffffffffffffffffffffffffffffffff166125b06118b3565b73ffffffffffffffffffffffffffffffffffffffff1614612606576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125fd906157a1565b60405180910390fd5b565b612619612613612b97565b82612c58565b612658576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264f90615833565b60405180910390fd5b612663838383612ced565b505050565b6000612710905090565b61268d83838360405180602001604052806000815250611b72565b505050565b60006004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183116127a457816127a6565b825b905092915050565b6127c06127b9612b97565b8383612fe6565b5050565b6127d56127cf612b97565b83612c58565b612814576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280b90615833565b60405180910390fd5b61282084848484613152565b50505050565b61282e612668565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111561288c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612883906158c5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036128fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f290615931565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506000808201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b60008073ffffffffffffffffffffffffffffffffffffffff166129dc83612692565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b606060006001612a0a846131ae565b01905060008167ffffffffffffffff811115612a2957612a28614427565b5b6040519080825280601f01601f191660200182016040528015612a5b5781602001600182028036833780820191505090505b509050600082602001820190505b600115612abe578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581612ab257612ab16148c0565b5b04945060008503612a69575b819350505050919050565b60005b81811015612b0a576000612ae0600d612b0f565b9050612aec600d613301565b612af68482613317565b508080612b0290614dce565b915050612acc565b505050565b600081600001549050919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612b905750612b8f82613335565b5b9050919050565b600033905090565b816006600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612c1283611723565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080612c6483611723565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612ca65750612ca58185612073565b5b80612ce457508373ffffffffffffffffffffffffffffffffffffffff16612ccc84610e14565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612d0d82611723565b73ffffffffffffffffffffffffffffffffffffffff1614612d63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5a906159c3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612dd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dc990615a55565b60405180910390fd5b612ddf8383836001613417565b8273ffffffffffffffffffffffffffffffffffffffff16612dff82611723565b73ffffffffffffffffffffffffffffffffffffffff1614612e55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4c906159c3565b60405180910390fd5b6006600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612fe18383836001613429565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603613054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161304b90615ac1565b60405180910390fd5b80600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516131459190613e53565b60405180910390a3505050565b61315d848484612ced565b6131698484848461342f565b6131a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161319f90615b53565b60405180910390fd5b50505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000831061320c577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381613202576132016148c0565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310613249576d04ee2d6d415b85acef8100000000838161323f5761323e6148c0565b5b0492506020810190505b662386f26fc10000831061327857662386f26fc10000838161326e5761326d6148c0565b5b0492506010810190505b6305f5e10083106132a1576305f5e1008381613297576132966148c0565b5b0492506008810190505b61271083106132c65761271083816132bc576132bb6148c0565b5b0492506004810190505b606483106132e957606483816132df576132de6148c0565b5b0492506002810190505b600a83106132f8576001810190505b80915050919050565b6001816000016000828254019250508190555050565b6133318282604051806020016040528060008152506135b6565b5050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061340057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613410575061340f82613611565b5b9050919050565b6134238484848461368b565b50505050565b50505050565b60006134508473ffffffffffffffffffffffffffffffffffffffff166137e9565b156135a9578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613479612b97565b8786866040518563ffffffff1660e01b815260040161349b9493929190615bc8565b6020604051808303816000875af19250505080156134d757506040513d601f19601f820116820180604052508101906134d49190615c29565b60015b613559573d8060008114613507576040519150601f19603f3d011682016040523d82523d6000602084013e61350c565b606091505b506000815103613551576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161354890615b53565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506135ae565b600190505b949350505050565b6135c0838361380c565b6135cd600084848461342f565b61360c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161360390615b53565b60405180910390fd5b505050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480613684575061368382613a29565b5b9050919050565b61369784848484613a93565b60018111156136db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136d290615cc8565b60405180910390fd5b6000829050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036137225761371d81613a99565b613761565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16146137605761375f8582613ae2565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036137a35761379e81613c4f565b6137e2565b8473ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146137e1576137e08482613d20565b5b5b5050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361387b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161387290615d34565b60405180910390fd5b613884816129ba565b156138c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138bb90615da0565b60405180910390fd5b6138d2600083836001613417565b6138db816129ba565b1561391b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161391290615da0565b60405180910390fd5b6001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613a25600083836001613429565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b50505050565b600a80549050600b600083815260200190815260200160002081905550600a81908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613aef846117cd565b613af9919061512a565b9050600060096000848152602001908152602001600020549050818114613bde576000600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816009600083815260200190815260200160002081905550505b6009600084815260200190815260200160002060009055600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600a80549050613c63919061512a565b90506000600b60008481526020019081526020016000205490506000600a8381548110613c9357613c92614ab0565b5b9060005260206000200154905080600a8381548110613cb557613cb4614ab0565b5b906000526020600020018190555081600b600083815260200190815260200160002081905550600b600085815260200190815260200160002060009055600a805480613d0457613d03615dc0565b5b6001900381819060005260206000200160009055905550505050565b6000613d2b836117cd565b905081600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806009600084815260200190815260200160002081905550505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613de881613db3565b8114613df357600080fd5b50565b600081359050613e0581613ddf565b92915050565b600060208284031215613e2157613e20613da9565b5b6000613e2f84828501613df6565b91505092915050565b60008115159050919050565b613e4d81613e38565b82525050565b6000602082019050613e686000830184613e44565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613ea8578082015181840152602081019050613e8d565b60008484015250505050565b6000601f19601f8301169050919050565b6000613ed082613e6e565b613eda8185613e79565b9350613eea818560208601613e8a565b613ef381613eb4565b840191505092915050565b60006020820190508181036000830152613f188184613ec5565b905092915050565b6000819050919050565b613f3381613f20565b8114613f3e57600080fd5b50565b600081359050613f5081613f2a565b92915050565b600060208284031215613f6c57613f6b613da9565b5b6000613f7a84828501613f41565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613fae82613f83565b9050919050565b613fbe81613fa3565b82525050565b6000602082019050613fd96000830184613fb5565b92915050565b613fe881613fa3565b8114613ff357600080fd5b50565b60008135905061400581613fdf565b92915050565b6000806040838503121561402257614021613da9565b5b600061403085828601613ff6565b925050602061404185828601613f41565b9150509250929050565b60006020828403121561406157614060613da9565b5b600061406f84828501613ff6565b91505092915050565b61408181613f20565b82525050565b600060208201905061409c6000830184614078565b92915050565b6000806000606084860312156140bb576140ba613da9565b5b60006140c986828701613ff6565b93505060206140da86828701613ff6565b92505060406140eb86828701613f41565b9150509250925092565b6000806040838503121561410c5761410b613da9565b5b600061411a85828601613f41565b925050602061412b85828601613f41565b9150509250929050565b600060408201905061414a6000830185613fb5565b6141576020830184614078565b9392505050565b600080fd5b600080fd5b600080fd5b60008083601f8401126141835761418261415e565b5b8235905067ffffffffffffffff8111156141a05761419f614163565b5b6020830191508360208202830111156141bc576141bb614168565b5b9250929050565b60008083601f8401126141d9576141d861415e565b5b8235905067ffffffffffffffff8111156141f6576141f5614163565b5b60208301915083602082028301111561421257614211614168565b5b9250929050565b6000806000806040858703121561423357614232613da9565b5b600085013567ffffffffffffffff81111561425157614250613dae565b5b61425d8782880161416d565b9450945050602085013567ffffffffffffffff8111156142805761427f613dae565b5b61428c878288016141c3565b925092505092959194509250565b6000819050919050565b60006142bf6142ba6142b584613f83565b61429a565b613f83565b9050919050565b60006142d1826142a4565b9050919050565b60006142e3826142c6565b9050919050565b6142f3816142d8565b82525050565b600060208201905061430e60008301846142ea565b92915050565b60008083601f84011261432a5761432961415e565b5b8235905067ffffffffffffffff81111561434757614346614163565b5b60208301915083600182028301111561436357614362614168565b5b9250929050565b6000806020838503121561438157614380613da9565b5b600083013567ffffffffffffffff81111561439f5761439e613dae565b5b6143ab85828601614314565b92509250509250929050565b60006143c282613f83565b9050919050565b6143d2816143b7565b81146143dd57600080fd5b50565b6000813590506143ef816143c9565b92915050565b60006020828403121561440b5761440a613da9565b5b6000614419848285016143e0565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61445f82613eb4565b810181811067ffffffffffffffff8211171561447e5761447d614427565b5b80604052505050565b6000614491613d9f565b905061449d8282614456565b919050565b600067ffffffffffffffff8211156144bd576144bc614427565b5b6144c682613eb4565b9050602081019050919050565b82818337600083830152505050565b60006144f56144f0846144a2565b614487565b90508281526020810184848401111561451157614510614422565b5b61451c8482856144d3565b509392505050565b600082601f8301126145395761453861415e565b5b81356145498482602086016144e2565b91505092915050565b60006020828403121561456857614567613da9565b5b600082013567ffffffffffffffff81111561458657614585613dae565b5b61459284828501614524565b91505092915050565b6145a481613e38565b81146145af57600080fd5b50565b6000813590506145c18161459b565b92915050565b600080604083850312156145de576145dd613da9565b5b60006145ec85828601613ff6565b92505060206145fd858286016145b2565b9150509250929050565b600067ffffffffffffffff82111561462257614621614427565b5b61462b82613eb4565b9050602081019050919050565b600061464b61464684614607565b614487565b90508281526020810184848401111561466757614666614422565b5b6146728482856144d3565b509392505050565b600082601f83011261468f5761468e61415e565b5b813561469f848260208601614638565b91505092915050565b600080600080608085870312156146c2576146c1613da9565b5b60006146d087828801613ff6565b94505060206146e187828801613ff6565b93505060406146f287828801613f41565b925050606085013567ffffffffffffffff81111561471357614712613dae565b5b61471f8782880161467a565b91505092959194509250565b60006bffffffffffffffffffffffff82169050919050565b61474c8161472b565b811461475757600080fd5b50565b60008135905061476981614743565b92915050565b6000806040838503121561478657614785613da9565b5b600061479485828601613ff6565b92505060206147a58582860161475a565b9150509250929050565b600080604083850312156147c6576147c5613da9565b5b60006147d485828601613ff6565b92505060206147e585828601613ff6565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061483657607f821691505b602082108103614849576148486147ef565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061488982613f20565b915061489483613f20565b92508282026148a281613f20565b915082820484148315176148b9576148b861484f565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006148fa82613f20565b915061490583613f20565b925082614915576149146148c0565b5b828204905092915050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b600061497c602b83613e79565b915061498782614920565b604082019050919050565b600060208201905081810360008301526149ab8161496f565b9050919050565b7f756e617574686f72697a65640000000000000000000000000000000000000000600082015250565b60006149e8600c83613e79565b91506149f3826149b2565b602082019050919050565b60006020820190508181036000830152614a17816149db565b9050919050565b7f746f6b656e49647320616e64207365656473206d75737420626520746865207360008201527f616d65206c656e67746800000000000000000000000000000000000000000000602082015250565b6000614a7a602a83613e79565b9150614a8582614a1e565b604082019050919050565b60006020820190508181036000830152614aa981614a6d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b60008083356001602003843603038112614b0b57614b0a614adf565b5b80840192508235915067ffffffffffffffff821115614b2d57614b2c614ae4565b5b602083019250600182023603831315614b4957614b48614ae9565b5b509250929050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302614bbe7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614b81565b614bc88683614b81565b95508019841693508086168417925050509392505050565b6000614bfb614bf6614bf184613f20565b61429a565b613f20565b9050919050565b6000819050919050565b614c1583614be0565b614c29614c2182614c02565b848454614b8e565b825550505050565b600090565b614c3e614c31565b614c49818484614c0c565b505050565b5b81811015614c6d57614c62600082614c36565b600181019050614c4f565b5050565b601f821115614cb257614c8381614b5c565b614c8c84614b71565b81016020851015614c9b578190505b614caf614ca785614b71565b830182614c4e565b50505b505050565b600082821c905092915050565b6000614cd560001984600802614cb7565b1980831691505092915050565b6000614cee8383614cc4565b9150826002028217905092915050565b614d088383614b51565b67ffffffffffffffff811115614d2157614d20614427565b5b614d2b825461481e565b614d36828285614c71565b6000601f831160018114614d655760008415614d53578287013590505b614d5d8582614ce2565b865550614dc5565b601f198416614d7386614b5c565b60005b82811015614d9b57848901358255600182019150602085019450602081019050614d76565b86831015614db85784890135614db4601f891682614cc4565b8355505b6001600288020188555050505b50505050505050565b6000614dd982613f20565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614e0b57614e0a61484f565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614e72602c83613e79565b9150614e7d82614e16565b604082019050919050565b60006020820190508181036000830152614ea181614e65565b9050919050565b600081905092915050565b50565b6000614ec3600083614ea8565b9150614ece82614eb3565b600082019050919050565b6000614ee482614eb6565b9150819050919050565b7f6661696c75726500000000000000000000000000000000000000000000000000600082015250565b6000614f24600783613e79565b9150614f2f82614eee565b602082019050919050565b60006020820190508181036000830152614f5381614f17565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000614f90601883613e79565b9150614f9b82614f5a565b602082019050919050565b60006020820190508181036000830152614fbf81614f83565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000615022602983613e79565b915061502d82614fc6565b604082019050919050565b6000602082019050818103600083015261505181615015565b9050919050565b61506182613e6e565b67ffffffffffffffff81111561507a57615079614427565b5b615084825461481e565b61508f828285614c71565b600060209050601f8311600181146150c257600084156150b0578287015190505b6150ba8582614ce2565b865550615122565b601f1984166150d086614b5c565b60005b828110156150f8578489015182556001820191506020850194506020810190506150d3565b868310156151155784890151615111601f891682614cc4565b8355505b6001600288020188555050505b505050505050565b600061513582613f20565b915061514083613f20565b92508282039050818111156151585761515761484f565b5b92915050565b60008160011c9050919050565b6000808291508390505b60018511156151b5578086048111156151915761519061484f565b5b60018516156151a05780820291505b80810290506151ae8561515e565b9450615175565b94509492505050565b6000826151ce576001905061528a565b816151dc576000905061528a565b81600181146151f257600281146151fc5761522b565b600191505061528a565b60ff84111561520e5761520d61484f565b5b8360020a9150848211156152255761522461484f565b5b5061528a565b5060208310610133831016604e8410600b84101617156152605782820a90508381111561525b5761525a61484f565b5b61528a565b61526d848484600161516b565b925090508184048111156152845761528361484f565b5b81810290505b9392505050565b600061529c82613f20565b91506152a783613f20565b92506152d47fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846151be565b905092915050565b60006152e782613f20565b91506152f283613f20565b925082615302576153016148c0565b5b828206905092915050565b7f717565727920666f72206e6f6e6578697374656e7420746f6b656e0000000000600082015250565b6000615343601b83613e79565b915061534e8261530d565b602082019050919050565b6000602082019050818103600083015261537281615336565b9050919050565b600081905092915050565b600081546153918161481e565b61539b8186615379565b945060018216600081146153b657600181146153cb576153fe565b60ff19831686528115158202860193506153fe565b6153d485614b5c565b60005b838110156153f6578154818901526001820191506020810190506153d7565b838801955050505b50505092915050565b600061541282613e6e565b61541c8185615379565b935061542c818560208601613e8a565b80840191505092915050565b60006154448285615384565b91506154508284615407565b91508190509392505050565b7f4d696e696d756d207072696365206e6f74206d65740000000000000000000000600082015250565b6000615492601583613e79565b915061549d8261545c565b602082019050919050565b600060208201905081810360008301526154c181615485565b9050919050565b7f436f6c6c656374696f6e20697320736f6c64206f757400000000000000000000600082015250565b60006154fe601683613e79565b9150615509826154c8565b602082019050919050565b6000602082019050818103600083015261552d816154f1565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615590602683613e79565b915061559b82615534565b604082019050919050565b600060208201905081810360008301526155bf81615583565b9050919050565b60006040820190506155db6000830185613fb5565b6155e86020830184613fb5565b9392505050565b6000815190506155fe8161459b565b92915050565b60006020828403121561561a57615619613da9565b5b6000615628848285016155ef565b91505092915050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061568d602183613e79565b915061569882615631565b604082019050919050565b600060208201905081810360008301526156bc81615680565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b600061571f603d83613e79565b915061572a826156c3565b604082019050919050565b6000602082019050818103600083015261574e81615712565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061578b602083613e79565b915061579682615755565b602082019050919050565b600060208201905081810360008301526157ba8161577e565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b600061581d602d83613e79565b9150615828826157c1565b604082019050919050565b6000602082019050818103600083015261584c81615810565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b60006158af602a83613e79565b91506158ba82615853565b604082019050919050565b600060208201905081810360008301526158de816158a2565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600061591b601983613e79565b9150615926826158e5565b602082019050919050565b6000602082019050818103600083015261594a8161590e565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006159ad602583613e79565b91506159b882615951565b604082019050919050565b600060208201905081810360008301526159dc816159a0565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615a3f602483613e79565b9150615a4a826159e3565b604082019050919050565b60006020820190508181036000830152615a6e81615a32565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615aab601983613e79565b9150615ab682615a75565b602082019050919050565b60006020820190508181036000830152615ada81615a9e565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615b3d603283613e79565b9150615b4882615ae1565b604082019050919050565b60006020820190508181036000830152615b6c81615b30565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615b9a82615b73565b615ba48185615b7e565b9350615bb4818560208601613e8a565b615bbd81613eb4565b840191505092915050565b6000608082019050615bdd6000830187613fb5565b615bea6020830186613fb5565b615bf76040830185614078565b8181036060830152615c098184615b8f565b905095945050505050565b600081519050615c2381613ddf565b92915050565b600060208284031215615c3f57615c3e613da9565b5b6000615c4d84828501615c14565b91505092915050565b7f455243373231456e756d657261626c653a20636f6e736563757469766520747260008201527f616e7366657273206e6f7420737570706f727465640000000000000000000000602082015250565b6000615cb2603583613e79565b9150615cbd82615c56565b604082019050919050565b60006020820190508181036000830152615ce181615ca5565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615d1e602083613e79565b9150615d2982615ce8565b602082019050919050565b60006020820190508181036000830152615d4d81615d11565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615d8a601c83613e79565b9150615d9582615d54565b602082019050919050565b60006020820190508181036000830152615db981615d7d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea264697066735822122029f47d2a9b12e72973cdb1e039d50897f1cc2118958853b41bd8a1466287ef1b64736f6c634300081100330000000000000000000000000000000000000000000000000000000064b93de0000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000003746261000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000037462610000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061036b5760003560e01c80637ec4a659116101c6578063c47f0027116100f7578063e0d4ea3711610095578063e985e9c51161006f578063e985e9c514610cb4578063ee948c4014610cf1578063f1a9af8914610d1c578063f2fde38b14610d475761036b565b8063e0d4ea3714610c23578063e58306f914610c60578063e8a3d48514610c895761036b565b8063cfbd4885116100d1578063cfbd488514610b79578063d595370c14610ba2578063d5abeb0114610bcd578063da0239a614610bf85761036b565b8063c47f002714610af7578063c87b56dd14610b20578063ce6df2b914610b5d5761036b565b8063a22cb46511610164578063b84c82461161013e578063b84c824614610a53578063b88d4fde14610a7c578063bf5fc2ee14610aa5578063c21b471b14610ace5761036b565b8063a22cb465146109d6578063a3c2c5c3146109ff578063af46868214610a285761036b565b8063938e3d7b116101a0578063938e3d7b1461091a57806395d89b41146109435780639dab20541461096e578063a035b1fe146109ab5761036b565b80637ec4a6591461089b5780638da5cb5b146108c45780639363c812146108ef5761036b565b80633d05829d116102a05780635c27100f1161023e57806365a02b651161021857806365a02b65146107f55780636f8b44b01461081e57806370a0823114610847578063715018a6146108845761036b565b80635c27100f1461076257806362b99ad41461078d5780636352211e146107b85761036b565b806342842e0e1161027a57806342842e0e146106aa57806345dc60c0146106d35780634f6ccce7146106fc57806351cff8d9146107395761036b565b80633d05829d1461062d5780633f8e19b81461065657806341f434341461067f5761036b565b806311a939631161030d57806323b872dd116102e757806323b872dd1461054c5780632a55205a146105755780632f745c59146105b35780632fe549e1146105f05761036b565b806311a93963146104cf57806317d86154146104f857806318160ddd146105215761036b565b8063095ea7b311610349578063095ea7b31461041557806309aacd081461043e5780630b9c6ced1461047b5780630c984832146104a65761036b565b806301ffc9a71461037057806306fdde03146103ad578063081812fc146103d8575b600080fd5b34801561037c57600080fd5b5061039760048036038101906103929190613e0b565b610d70565b6040516103a49190613e53565b60405180910390f35b3480156103b957600080fd5b506103c2610d82565b6040516103cf9190613efe565b60405180910390f35b3480156103e457600080fd5b506103ff60048036038101906103fa9190613f56565b610e14565b60405161040c9190613fc4565b60405180910390f35b34801561042157600080fd5b5061043c6004803603810190610437919061400b565b610e5a565b005b34801561044a57600080fd5b506104656004803603810190610460919061404b565b610e73565b6040516104729190613e53565b60405180910390f35b34801561048757600080fd5b50610490610e93565b60405161049d9190613efe565b60405180910390f35b3480156104b257600080fd5b506104cd60048036038101906104c8919061404b565b610f21565b005b3480156104db57600080fd5b506104f660048036038101906104f19190613f56565b610fc7565b005b34801561050457600080fd5b5061051f600480360381019061051a9190613f56565b610fd9565b005b34801561052d57600080fd5b50610536610feb565b6040516105439190614087565b60405180910390f35b34801561055857600080fd5b50610573600480360381019061056e91906140a2565b610ff8565b005b34801561058157600080fd5b5061059c600480360381019061059791906140f5565b611047565b6040516105aa929190614135565b60405180910390f35b3480156105bf57600080fd5b506105da60048036038101906105d5919061400b565b611231565b6040516105e79190614087565b60405180910390f35b3480156105fc57600080fd5b506106176004803603810190610612919061404b565b6112d6565b6040516106249190613e53565b60405180910390f35b34801561063957600080fd5b50610654600480360381019061064f9190613f56565b6112f6565b005b34801561066257600080fd5b5061067d60048036038101906106789190614219565b611308565b005b34801561068b57600080fd5b50610694611463565b6040516106a191906142f9565b60405180910390f35b3480156106b657600080fd5b506106d160048036038101906106cc91906140a2565b611475565b005b3480156106df57600080fd5b506106fa60048036038101906106f5919061436a565b6114c4565b005b34801561070857600080fd5b50610723600480360381019061071e9190613f56565b611566565b6040516107309190614087565b60405180910390f35b34801561074557600080fd5b50610760600480360381019061075b91906143f5565b6115d7565b005b34801561076e57600080fd5b5061077761168f565b6040516107849190614087565b60405180910390f35b34801561079957600080fd5b506107a2611695565b6040516107af9190613efe565b60405180910390f35b3480156107c457600080fd5b506107df60048036038101906107da9190613f56565b611723565b6040516107ec9190613fc4565b60405180910390f35b34801561080157600080fd5b5061081c60048036038101906108179190613f56565b6117a9565b005b34801561082a57600080fd5b5061084560048036038101906108409190613f56565b6117bb565b005b34801561085357600080fd5b5061086e6004803603810190610869919061404b565b6117cd565b60405161087b9190614087565b60405180910390f35b34801561089057600080fd5b50610899611884565b005b3480156108a757600080fd5b506108c260048036038101906108bd9190614552565b611898565b005b3480156108d057600080fd5b506108d96118b3565b6040516108e69190613fc4565b60405180910390f35b3480156108fb57600080fd5b506109046118dd565b6040516109119190614087565b60405180910390f35b34801561092657600080fd5b50610941600480360381019061093c9190614552565b6118e3565b005b34801561094f57600080fd5b506109586118fe565b6040516109659190613efe565b60405180910390f35b34801561097a57600080fd5b5061099560048036038101906109909190613f56565b611990565b6040516109a29190614087565b60405180910390f35b3480156109b757600080fd5b506109c0611a67565b6040516109cd9190614087565b60405180910390f35b3480156109e257600080fd5b506109fd60048036038101906109f891906145c7565b611a8c565b005b348015610a0b57600080fd5b50610a266004803603810190610a2191906145c7565b611aa5565b005b348015610a3457600080fd5b50610a3d611b4e565b604051610a4a9190614087565b60405180910390f35b348015610a5f57600080fd5b50610a7a6004803603810190610a75919061436a565b611b54565b005b348015610a8857600080fd5b50610aa36004803603810190610a9e91906146a8565b611b72565b005b348015610ab157600080fd5b50610acc6004803603810190610ac79190613f56565b611bc3565b005b348015610ada57600080fd5b50610af56004803603810190610af0919061476f565b611bd5565b005b348015610b0357600080fd5b50610b1e6004803603810190610b19919061436a565b611beb565b005b348015610b2c57600080fd5b50610b476004803603810190610b429190613f56565b611c09565b604051610b549190613efe565b60405180910390f35b610b776004803603810190610b72919061400b565b611c85565b005b348015610b8557600080fd5b50610ba06004803603810190610b9b919061404b565b611db9565b005b348015610bae57600080fd5b50610bb7611e5f565b604051610bc49190614087565b60405180910390f35b348015610bd957600080fd5b50610be2611e65565b604051610bef9190614087565b60405180910390f35b348015610c0457600080fd5b50610c0d611e6b565b604051610c1a9190614087565b60405180910390f35b348015610c2f57600080fd5b50610c4a6004803603810190610c459190613f56565b611e98565b604051610c579190613efe565b60405180910390f35b348015610c6c57600080fd5b50610c876004803603810190610c82919061400b565b611f85565b005b348015610c9557600080fd5b50610c9e611fe5565b604051610cab9190613efe565b60405180910390f35b348015610cc057600080fd5b50610cdb6004803603810190610cd691906147af565b612073565b604051610ce89190613e53565b60405180910390f35b348015610cfd57600080fd5b50610d06612107565b604051610d139190613efe565b60405180910390f35b348015610d2857600080fd5b50610d3161216c565b604051610d3e9190614087565b60405180910390f35b348015610d5357600080fd5b50610d6e6004803603810190610d69919061404b565b612172565b005b6000610d7b82612319565b9050919050565b606060118054610d919061481e565b80601f0160208091040260200160405190810160405280929190818152602001828054610dbd9061481e565b8015610e0a5780601f10610ddf57610100808354040283529160200191610e0a565b820191906000526020600020905b815481529060010190602001808311610ded57829003601f168201915b5050505050905090565b6000610e1f8261232b565b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610e6481612376565b610e6e8383612473565b505050565b601a6020528060005260406000206000915054906101000a900460ff1681565b60108054610ea09061481e565b80601f0160208091040260200160405190810160405280929190818152602001828054610ecc9061481e565b8015610f195780601f10610eee57610100808354040283529160200191610f19565b820191906000526020600020905b815481529060010190602001808311610efc57829003601f168201915b505050505081565b610f2961258a565b6001601960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f47832ac497f485ee699e2d5493b0c49bfc5171587baea9dec6ae8ef434e8b69660405160405180910390a250565b610fcf61258a565b8060188190555050565b610fe161258a565b8060158190555050565b6000600a80549050905090565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146110365761103533612376565b5b611041848484612608565b50505050565b6000806000600160008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16036111dc5760006040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b60006111e6612668565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686611212919061487e565b61121c91906148ef565b90508160000151819350935050509250929050565b600061123c836117cd565b821061127d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127490614992565b60405180910390fd5b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60196020528060005260406000206000915054906101000a900460ff1681565b6112fe61258a565b8060168190555050565b601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611394576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138b906149fe565b60405180910390fd5b8181905084849050146113dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d390614a90565b60405180910390fd5b60005b8484905081101561145c578282828181106113fd576113fc614ab0565b5b905060200281019061140f9190614aee565b601b600088888681811061142657611425614ab0565b5b9050602002013581526020019081526020016000209182611448929190614cfe565b50808061145490614dce565b9150506113df565b5050505050565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146114b3576114b233612376565b5b6114be848484612672565b50505050565b601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611550576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611547906149fe565b60405180910390fd5b818160109182611561929190614cfe565b505050565b6000611570610feb565b82106115b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a890614e88565b60405180910390fd5b600a82815481106115c5576115c4614ab0565b5b90600052602060002001549050919050565b6115df61258a565b60008173ffffffffffffffffffffffffffffffffffffffff164760405161160590614ed9565b60006040518083038185875af1925050503d8060008114611642576040519150601f19603f3d011682016040523d82523d6000602084013e611647565b606091505b505090508061168b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168290614f3a565b60405180910390fd5b5050565b60175481565b600e80546116a29061481e565b80601f01602080910402602001604051908101604052809291908181526020018280546116ce9061481e565b801561171b5780601f106116f05761010080835404028352916020019161171b565b820191906000526020600020905b8154815290600101906020018083116116fe57829003601f168201915b505050505081565b60008061172f83612692565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036117a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179790614fa6565b60405180910390fd5b80915050919050565b6117b161258a565b8060178190555050565b6117c361258a565b8060138190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361183d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183490615038565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61188c61258a565b61189660006126cf565b565b6118a061258a565b80600e90816118af9190615058565b5050565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60165481565b6118eb61258a565b80600f90816118fa9190615058565b5050565b60606012805461190d9061481e565b80601f01602080910402602001604051908101604052809291908181526020018280546119399061481e565b80156119865780601f1061195b57610100808354040283529160200191611986565b820191906000526020600020905b81548152906001019060200180831161196957829003601f168201915b5050505050905090565b600080601454836119a1919061512a565b90506000601754826119b391906148ef565b905060148111156119ca5760165492505050611a62565b60008160026119d99190615291565b6015546119e691906148ef565b90506000601854601754856119fb91906152dc565b611a0591906148ef565b9050600060175482601854600286611a1d91906148ef565b611a27919061487e565b611a31919061487e565b611a3b91906148ef565b905060008184611a4b919061512a565b9050611a5960165482612795565b96505050505050505b919050565b6000601454421015611a7d576015549050611a89565b611a8642611990565b90505b90565b81611a9681612376565b611aa083836127ae565b505050565b611aad61258a565b80601a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508015158273ffffffffffffffffffffffffffffffffffffffff167f896310b4eb544d86d38a8b59543c0b967bd38bba941a2a925b035c5988d9ffbd60405160405180910390a35050565b60145481565b611b5c61258a565b818160129182611b6d929190614cfe565b505050565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611bb057611baf33612376565b5b611bbc858585856127c4565b5050505050565b611bcb61258a565b8060148190555050565b611bdd61258a565b611be78282612826565b5050565b611bf361258a565b818160119182611c04929190614cfe565b505050565b6060611c14826129ba565b611c53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4a90615359565b60405180910390fd5b600e611c5e836129fb565b604051602001611c6f929190615438565b6040516020818303038152906040529050919050565b601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611d11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d08906149fe565b60405180910390fd5b80601654611d1f919061487e565b341015611d61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d58906154a8565b60405180910390fd5b80611d6a611e6b565b1015611dab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da290615514565b60405180910390fd5b611db58282612ac9565b5050565b611dc161258a565b6000601960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f8e768d7a5530d1f68e76ded405597f5ab4e340da31733f8704353e0b62b911f860405160405180910390a250565b60185481565b60135481565b600080611e78600d612b0f565b9050611e92600082601354611e8d919061512a565b612795565b91505090565b6060611ea3826129ba565b611ee2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed990615359565b60405180910390fd5b601b60008381526020019081526020016000208054611f009061481e565b80601f0160208091040260200160405190810160405280929190818152602001828054611f2c9061481e565b8015611f795780601f10611f4e57610100808354040283529160200191611f79565b820191906000526020600020905b815481529060010190602001808311611f5c57829003601f168201915b50505050509050919050565b611f8d61258a565b80611f96611e6b565b1015611fd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fce90615514565b60405180910390fd5b611fe18282612ac9565b5050565b600f8054611ff29061481e565b80601f016020809104026020016040519081016040528092919081815260200182805461201e9061481e565b801561206b5780601f106120405761010080835404028352916020019161206b565b820191906000526020600020905b81548152906001019060200180831161204e57829003601f168201915b505050505081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606001612113611e6b565b1015612156576040518060400160405280601181526020017f4e6f7420656e6f75676820737570706c790000000000000000000000000000008152509050612169565b6040518060200160405280600081525090505b90565b60155481565b61217a61258a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036121e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e0906155a6565b60405180910390fd5b6121f2816126cf565b50565b6060600280546122049061481e565b80601f01602080910402602001604051908101604052809291908181526020018280546122309061481e565b801561227d5780601f106122525761010080835404028352916020019161227d565b820191906000526020600020905b81548152906001019060200180831161226057829003601f168201915b5050505050905090565b6060600380546122969061481e565b80601f01602080910402602001604051908101604052809291908181526020018280546122c29061481e565b801561230f5780601f106122e45761010080835404028352916020019161230f565b820191906000526020600020905b8154815290600101906020018083116122f257829003601f168201915b5050505050905090565b600061232482612b1d565b9050919050565b612334816129ba565b612373576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236a90614fa6565b60405180910390fd5b50565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115612470576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016123ed9291906155c6565b602060405180830381865afa15801561240a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061242e9190615604565b61246f57806040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016124669190613fc4565b60405180910390fd5b5b50565b600061247e82611723565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036124ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e5906156a3565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661250d612b97565b73ffffffffffffffffffffffffffffffffffffffff16148061253c575061253b81612536612b97565b612073565b5b61257b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257290615735565b60405180910390fd5b6125858383612b9f565b505050565b612592612b97565b73ffffffffffffffffffffffffffffffffffffffff166125b06118b3565b73ffffffffffffffffffffffffffffffffffffffff1614612606576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125fd906157a1565b60405180910390fd5b565b612619612613612b97565b82612c58565b612658576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264f90615833565b60405180910390fd5b612663838383612ced565b505050565b6000612710905090565b61268d83838360405180602001604052806000815250611b72565b505050565b60006004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183116127a457816127a6565b825b905092915050565b6127c06127b9612b97565b8383612fe6565b5050565b6127d56127cf612b97565b83612c58565b612814576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280b90615833565b60405180910390fd5b61282084848484613152565b50505050565b61282e612668565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111561288c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612883906158c5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036128fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f290615931565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506000808201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b60008073ffffffffffffffffffffffffffffffffffffffff166129dc83612692565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b606060006001612a0a846131ae565b01905060008167ffffffffffffffff811115612a2957612a28614427565b5b6040519080825280601f01601f191660200182016040528015612a5b5781602001600182028036833780820191505090505b509050600082602001820190505b600115612abe578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581612ab257612ab16148c0565b5b04945060008503612a69575b819350505050919050565b60005b81811015612b0a576000612ae0600d612b0f565b9050612aec600d613301565b612af68482613317565b508080612b0290614dce565b915050612acc565b505050565b600081600001549050919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612b905750612b8f82613335565b5b9050919050565b600033905090565b816006600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612c1283611723565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080612c6483611723565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612ca65750612ca58185612073565b5b80612ce457508373ffffffffffffffffffffffffffffffffffffffff16612ccc84610e14565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612d0d82611723565b73ffffffffffffffffffffffffffffffffffffffff1614612d63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5a906159c3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612dd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dc990615a55565b60405180910390fd5b612ddf8383836001613417565b8273ffffffffffffffffffffffffffffffffffffffff16612dff82611723565b73ffffffffffffffffffffffffffffffffffffffff1614612e55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4c906159c3565b60405180910390fd5b6006600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612fe18383836001613429565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603613054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161304b90615ac1565b60405180910390fd5b80600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516131459190613e53565b60405180910390a3505050565b61315d848484612ced565b6131698484848461342f565b6131a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161319f90615b53565b60405180910390fd5b50505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000831061320c577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381613202576132016148c0565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310613249576d04ee2d6d415b85acef8100000000838161323f5761323e6148c0565b5b0492506020810190505b662386f26fc10000831061327857662386f26fc10000838161326e5761326d6148c0565b5b0492506010810190505b6305f5e10083106132a1576305f5e1008381613297576132966148c0565b5b0492506008810190505b61271083106132c65761271083816132bc576132bb6148c0565b5b0492506004810190505b606483106132e957606483816132df576132de6148c0565b5b0492506002810190505b600a83106132f8576001810190505b80915050919050565b6001816000016000828254019250508190555050565b6133318282604051806020016040528060008152506135b6565b5050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061340057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613410575061340f82613611565b5b9050919050565b6134238484848461368b565b50505050565b50505050565b60006134508473ffffffffffffffffffffffffffffffffffffffff166137e9565b156135a9578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613479612b97565b8786866040518563ffffffff1660e01b815260040161349b9493929190615bc8565b6020604051808303816000875af19250505080156134d757506040513d601f19601f820116820180604052508101906134d49190615c29565b60015b613559573d8060008114613507576040519150601f19603f3d011682016040523d82523d6000602084013e61350c565b606091505b506000815103613551576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161354890615b53565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506135ae565b600190505b949350505050565b6135c0838361380c565b6135cd600084848461342f565b61360c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161360390615b53565b60405180910390fd5b505050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480613684575061368382613a29565b5b9050919050565b61369784848484613a93565b60018111156136db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136d290615cc8565b60405180910390fd5b6000829050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036137225761371d81613a99565b613761565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16146137605761375f8582613ae2565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036137a35761379e81613c4f565b6137e2565b8473ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146137e1576137e08482613d20565b5b5b5050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361387b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161387290615d34565b60405180910390fd5b613884816129ba565b156138c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138bb90615da0565b60405180910390fd5b6138d2600083836001613417565b6138db816129ba565b1561391b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161391290615da0565b60405180910390fd5b6001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613a25600083836001613429565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b50505050565b600a80549050600b600083815260200190815260200160002081905550600a81908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613aef846117cd565b613af9919061512a565b9050600060096000848152602001908152602001600020549050818114613bde576000600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816009600083815260200190815260200160002081905550505b6009600084815260200190815260200160002060009055600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600a80549050613c63919061512a565b90506000600b60008481526020019081526020016000205490506000600a8381548110613c9357613c92614ab0565b5b9060005260206000200154905080600a8381548110613cb557613cb4614ab0565b5b906000526020600020018190555081600b600083815260200190815260200160002081905550600b600085815260200190815260200160002060009055600a805480613d0457613d03615dc0565b5b6001900381819060005260206000200160009055905550505050565b6000613d2b836117cd565b905081600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806009600084815260200190815260200160002081905550505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613de881613db3565b8114613df357600080fd5b50565b600081359050613e0581613ddf565b92915050565b600060208284031215613e2157613e20613da9565b5b6000613e2f84828501613df6565b91505092915050565b60008115159050919050565b613e4d81613e38565b82525050565b6000602082019050613e686000830184613e44565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613ea8578082015181840152602081019050613e8d565b60008484015250505050565b6000601f19601f8301169050919050565b6000613ed082613e6e565b613eda8185613e79565b9350613eea818560208601613e8a565b613ef381613eb4565b840191505092915050565b60006020820190508181036000830152613f188184613ec5565b905092915050565b6000819050919050565b613f3381613f20565b8114613f3e57600080fd5b50565b600081359050613f5081613f2a565b92915050565b600060208284031215613f6c57613f6b613da9565b5b6000613f7a84828501613f41565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613fae82613f83565b9050919050565b613fbe81613fa3565b82525050565b6000602082019050613fd96000830184613fb5565b92915050565b613fe881613fa3565b8114613ff357600080fd5b50565b60008135905061400581613fdf565b92915050565b6000806040838503121561402257614021613da9565b5b600061403085828601613ff6565b925050602061404185828601613f41565b9150509250929050565b60006020828403121561406157614060613da9565b5b600061406f84828501613ff6565b91505092915050565b61408181613f20565b82525050565b600060208201905061409c6000830184614078565b92915050565b6000806000606084860312156140bb576140ba613da9565b5b60006140c986828701613ff6565b93505060206140da86828701613ff6565b92505060406140eb86828701613f41565b9150509250925092565b6000806040838503121561410c5761410b613da9565b5b600061411a85828601613f41565b925050602061412b85828601613f41565b9150509250929050565b600060408201905061414a6000830185613fb5565b6141576020830184614078565b9392505050565b600080fd5b600080fd5b600080fd5b60008083601f8401126141835761418261415e565b5b8235905067ffffffffffffffff8111156141a05761419f614163565b5b6020830191508360208202830111156141bc576141bb614168565b5b9250929050565b60008083601f8401126141d9576141d861415e565b5b8235905067ffffffffffffffff8111156141f6576141f5614163565b5b60208301915083602082028301111561421257614211614168565b5b9250929050565b6000806000806040858703121561423357614232613da9565b5b600085013567ffffffffffffffff81111561425157614250613dae565b5b61425d8782880161416d565b9450945050602085013567ffffffffffffffff8111156142805761427f613dae565b5b61428c878288016141c3565b925092505092959194509250565b6000819050919050565b60006142bf6142ba6142b584613f83565b61429a565b613f83565b9050919050565b60006142d1826142a4565b9050919050565b60006142e3826142c6565b9050919050565b6142f3816142d8565b82525050565b600060208201905061430e60008301846142ea565b92915050565b60008083601f84011261432a5761432961415e565b5b8235905067ffffffffffffffff81111561434757614346614163565b5b60208301915083600182028301111561436357614362614168565b5b9250929050565b6000806020838503121561438157614380613da9565b5b600083013567ffffffffffffffff81111561439f5761439e613dae565b5b6143ab85828601614314565b92509250509250929050565b60006143c282613f83565b9050919050565b6143d2816143b7565b81146143dd57600080fd5b50565b6000813590506143ef816143c9565b92915050565b60006020828403121561440b5761440a613da9565b5b6000614419848285016143e0565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61445f82613eb4565b810181811067ffffffffffffffff8211171561447e5761447d614427565b5b80604052505050565b6000614491613d9f565b905061449d8282614456565b919050565b600067ffffffffffffffff8211156144bd576144bc614427565b5b6144c682613eb4565b9050602081019050919050565b82818337600083830152505050565b60006144f56144f0846144a2565b614487565b90508281526020810184848401111561451157614510614422565b5b61451c8482856144d3565b509392505050565b600082601f8301126145395761453861415e565b5b81356145498482602086016144e2565b91505092915050565b60006020828403121561456857614567613da9565b5b600082013567ffffffffffffffff81111561458657614585613dae565b5b61459284828501614524565b91505092915050565b6145a481613e38565b81146145af57600080fd5b50565b6000813590506145c18161459b565b92915050565b600080604083850312156145de576145dd613da9565b5b60006145ec85828601613ff6565b92505060206145fd858286016145b2565b9150509250929050565b600067ffffffffffffffff82111561462257614621614427565b5b61462b82613eb4565b9050602081019050919050565b600061464b61464684614607565b614487565b90508281526020810184848401111561466757614666614422565b5b6146728482856144d3565b509392505050565b600082601f83011261468f5761468e61415e565b5b813561469f848260208601614638565b91505092915050565b600080600080608085870312156146c2576146c1613da9565b5b60006146d087828801613ff6565b94505060206146e187828801613ff6565b93505060406146f287828801613f41565b925050606085013567ffffffffffffffff81111561471357614712613dae565b5b61471f8782880161467a565b91505092959194509250565b60006bffffffffffffffffffffffff82169050919050565b61474c8161472b565b811461475757600080fd5b50565b60008135905061476981614743565b92915050565b6000806040838503121561478657614785613da9565b5b600061479485828601613ff6565b92505060206147a58582860161475a565b9150509250929050565b600080604083850312156147c6576147c5613da9565b5b60006147d485828601613ff6565b92505060206147e585828601613ff6565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061483657607f821691505b602082108103614849576148486147ef565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061488982613f20565b915061489483613f20565b92508282026148a281613f20565b915082820484148315176148b9576148b861484f565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006148fa82613f20565b915061490583613f20565b925082614915576149146148c0565b5b828204905092915050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b600061497c602b83613e79565b915061498782614920565b604082019050919050565b600060208201905081810360008301526149ab8161496f565b9050919050565b7f756e617574686f72697a65640000000000000000000000000000000000000000600082015250565b60006149e8600c83613e79565b91506149f3826149b2565b602082019050919050565b60006020820190508181036000830152614a17816149db565b9050919050565b7f746f6b656e49647320616e64207365656473206d75737420626520746865207360008201527f616d65206c656e67746800000000000000000000000000000000000000000000602082015250565b6000614a7a602a83613e79565b9150614a8582614a1e565b604082019050919050565b60006020820190508181036000830152614aa981614a6d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b60008083356001602003843603038112614b0b57614b0a614adf565b5b80840192508235915067ffffffffffffffff821115614b2d57614b2c614ae4565b5b602083019250600182023603831315614b4957614b48614ae9565b5b509250929050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302614bbe7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614b81565b614bc88683614b81565b95508019841693508086168417925050509392505050565b6000614bfb614bf6614bf184613f20565b61429a565b613f20565b9050919050565b6000819050919050565b614c1583614be0565b614c29614c2182614c02565b848454614b8e565b825550505050565b600090565b614c3e614c31565b614c49818484614c0c565b505050565b5b81811015614c6d57614c62600082614c36565b600181019050614c4f565b5050565b601f821115614cb257614c8381614b5c565b614c8c84614b71565b81016020851015614c9b578190505b614caf614ca785614b71565b830182614c4e565b50505b505050565b600082821c905092915050565b6000614cd560001984600802614cb7565b1980831691505092915050565b6000614cee8383614cc4565b9150826002028217905092915050565b614d088383614b51565b67ffffffffffffffff811115614d2157614d20614427565b5b614d2b825461481e565b614d36828285614c71565b6000601f831160018114614d655760008415614d53578287013590505b614d5d8582614ce2565b865550614dc5565b601f198416614d7386614b5c565b60005b82811015614d9b57848901358255600182019150602085019450602081019050614d76565b86831015614db85784890135614db4601f891682614cc4565b8355505b6001600288020188555050505b50505050505050565b6000614dd982613f20565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614e0b57614e0a61484f565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614e72602c83613e79565b9150614e7d82614e16565b604082019050919050565b60006020820190508181036000830152614ea181614e65565b9050919050565b600081905092915050565b50565b6000614ec3600083614ea8565b9150614ece82614eb3565b600082019050919050565b6000614ee482614eb6565b9150819050919050565b7f6661696c75726500000000000000000000000000000000000000000000000000600082015250565b6000614f24600783613e79565b9150614f2f82614eee565b602082019050919050565b60006020820190508181036000830152614f5381614f17565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000614f90601883613e79565b9150614f9b82614f5a565b602082019050919050565b60006020820190508181036000830152614fbf81614f83565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000615022602983613e79565b915061502d82614fc6565b604082019050919050565b6000602082019050818103600083015261505181615015565b9050919050565b61506182613e6e565b67ffffffffffffffff81111561507a57615079614427565b5b615084825461481e565b61508f828285614c71565b600060209050601f8311600181146150c257600084156150b0578287015190505b6150ba8582614ce2565b865550615122565b601f1984166150d086614b5c565b60005b828110156150f8578489015182556001820191506020850194506020810190506150d3565b868310156151155784890151615111601f891682614cc4565b8355505b6001600288020188555050505b505050505050565b600061513582613f20565b915061514083613f20565b92508282039050818111156151585761515761484f565b5b92915050565b60008160011c9050919050565b6000808291508390505b60018511156151b5578086048111156151915761519061484f565b5b60018516156151a05780820291505b80810290506151ae8561515e565b9450615175565b94509492505050565b6000826151ce576001905061528a565b816151dc576000905061528a565b81600181146151f257600281146151fc5761522b565b600191505061528a565b60ff84111561520e5761520d61484f565b5b8360020a9150848211156152255761522461484f565b5b5061528a565b5060208310610133831016604e8410600b84101617156152605782820a90508381111561525b5761525a61484f565b5b61528a565b61526d848484600161516b565b925090508184048111156152845761528361484f565b5b81810290505b9392505050565b600061529c82613f20565b91506152a783613f20565b92506152d47fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846151be565b905092915050565b60006152e782613f20565b91506152f283613f20565b925082615302576153016148c0565b5b828206905092915050565b7f717565727920666f72206e6f6e6578697374656e7420746f6b656e0000000000600082015250565b6000615343601b83613e79565b915061534e8261530d565b602082019050919050565b6000602082019050818103600083015261537281615336565b9050919050565b600081905092915050565b600081546153918161481e565b61539b8186615379565b945060018216600081146153b657600181146153cb576153fe565b60ff19831686528115158202860193506153fe565b6153d485614b5c565b60005b838110156153f6578154818901526001820191506020810190506153d7565b838801955050505b50505092915050565b600061541282613e6e565b61541c8185615379565b935061542c818560208601613e8a565b80840191505092915050565b60006154448285615384565b91506154508284615407565b91508190509392505050565b7f4d696e696d756d207072696365206e6f74206d65740000000000000000000000600082015250565b6000615492601583613e79565b915061549d8261545c565b602082019050919050565b600060208201905081810360008301526154c181615485565b9050919050565b7f436f6c6c656374696f6e20697320736f6c64206f757400000000000000000000600082015250565b60006154fe601683613e79565b9150615509826154c8565b602082019050919050565b6000602082019050818103600083015261552d816154f1565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615590602683613e79565b915061559b82615534565b604082019050919050565b600060208201905081810360008301526155bf81615583565b9050919050565b60006040820190506155db6000830185613fb5565b6155e86020830184613fb5565b9392505050565b6000815190506155fe8161459b565b92915050565b60006020828403121561561a57615619613da9565b5b6000615628848285016155ef565b91505092915050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061568d602183613e79565b915061569882615631565b604082019050919050565b600060208201905081810360008301526156bc81615680565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b600061571f603d83613e79565b915061572a826156c3565b604082019050919050565b6000602082019050818103600083015261574e81615712565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061578b602083613e79565b915061579682615755565b602082019050919050565b600060208201905081810360008301526157ba8161577e565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b600061581d602d83613e79565b9150615828826157c1565b604082019050919050565b6000602082019050818103600083015261584c81615810565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b60006158af602a83613e79565b91506158ba82615853565b604082019050919050565b600060208201905081810360008301526158de816158a2565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600061591b601983613e79565b9150615926826158e5565b602082019050919050565b6000602082019050818103600083015261594a8161590e565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006159ad602583613e79565b91506159b882615951565b604082019050919050565b600060208201905081810360008301526159dc816159a0565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615a3f602483613e79565b9150615a4a826159e3565b604082019050919050565b60006020820190508181036000830152615a6e81615a32565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615aab601983613e79565b9150615ab682615a75565b602082019050919050565b60006020820190508181036000830152615ada81615a9e565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615b3d603283613e79565b9150615b4882615ae1565b604082019050919050565b60006020820190508181036000830152615b6c81615b30565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615b9a82615b73565b615ba48185615b7e565b9350615bb4818560208601613e8a565b615bbd81613eb4565b840191505092915050565b6000608082019050615bdd6000830187613fb5565b615bea6020830186613fb5565b615bf76040830185614078565b8181036060830152615c098184615b8f565b905095945050505050565b600081519050615c2381613ddf565b92915050565b600060208284031215615c3f57615c3e613da9565b5b6000615c4d84828501615c14565b91505092915050565b7f455243373231456e756d657261626c653a20636f6e736563757469766520747260008201527f616e7366657273206e6f7420737570706f727465640000000000000000000000602082015250565b6000615cb2603583613e79565b9150615cbd82615c56565b604082019050919050565b60006020820190508181036000830152615ce181615ca5565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615d1e602083613e79565b9150615d2982615ce8565b602082019050919050565b60006020820190508181036000830152615d4d81615d11565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615d8a601c83613e79565b9150615d9582615d54565b602082019050919050565b60006020820190508181036000830152615db981615d7d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea264697066735822122029f47d2a9b12e72973cdb1e039d50897f1cc2118958853b41bd8a1466287ef1b64736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000064b93de0000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000003746261000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000037462610000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _startsAt (uint256): 1689861600
Arg [1] : _uriPrefix (string): tba
Arg [2] : _contractURI (string): tba
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000064b93de0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [4] : 7462610000000000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 7462610000000000000000000000000000000000000000000000000000000000
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.