ERC-721
Overview
Max Total Supply
440 ELARHUMANS
Holders
164
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 ELARHUMANSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ElariumHumansNFT
Compiler Version
v0.8.1+commit.df193b15
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//Contract based on [https://docs.openzeppelin.com/contracts/3.x/erc721](https://docs.openzeppelin.com/contracts/3.x/erc721) // SPDX-License-Identifier: MIT pragma solidity ^0.8.1; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "./ERC721A.sol"; // import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; contract ElariumHumansNFT is Ownable, ERC721A, ReentrancyGuard { string public PROVENANCE; bool public saleIsActive = false; string private _baseURIextended; string public baseExtension = ""; // Variables controling wheather the NFTs are revealed or not. bool public revealed = false; string public notRevealedUri; bool public isAllowListActive = false; uint256 public constant MAX_SUPPLY = 9066; uint256 private partialSupply = 4000; uint256 public maxPublicMint = 1; uint256 private pricePerToken = 0.06 ether; mapping(address => uint8) private _allowList; // constructor() ERC721("ElariumHumansNFT", "ELARIUMHUMANSNFT") {} constructor( string memory _name, string memory _symbol, string memory _initBaseURI, string memory _initNotRevealedUri, uint256 maxBatchSize_, uint256 collectionSize_ ) ERC721A(_name, _symbol, maxBatchSize_, collectionSize_) { maxPublicMint = maxBatchSize_; setBaseURI(_initBaseURI); setNotRevealedURI(_initNotRevealedUri); } function setIsAllowListActive(bool _isAllowListActive) external onlyOwner { isAllowListActive = _isAllowListActive; } function setAllowList(address[] calldata addresses, uint8 numAllowedToMint) external onlyOwner { for (uint256 i = 0; i < addresses.length; i++) { _allowList[addresses[i]] = numAllowedToMint; } } function numAvailableToMint(address addr) external view returns (uint8) { return _allowList[addr]; } // Function used to update the baseURI and reveal NFTs function reveal() public onlyOwner { revealed = true; } // Function used to update the maxPublicMint function setMaxPublicMint(uint256 n) public onlyOwner { maxPublicMint = n; } // Function used to update the partialSupply function setPartialSupply(uint256 newSupply) public onlyOwner { partialSupply = newSupply; } function getPartialSupply() public view returns (uint256){ return partialSupply; } // Function used to update the pricePerToken function setPricePerToken(uint256 newPrice) public onlyOwner { pricePerToken = newPrice; } function getPricePerToken() public view returns (uint256){ return pricePerToken; } // Function used to return tokenURI based on the reveal status function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); if(revealed == false) { return notRevealedUri; } // string memory currentBaseURI = _baseURI(); return string(super.tokenURI(tokenId)); } /** * Mints NFT on private sale */ function mintAllowList(uint8 numberOfTokens) external payable { uint256 ts = totalSupply(); require(isAllowListActive, "Allow list is not active"); require(numberOfTokens <= _allowList[msg.sender], "Exceeded max available to purchase"); require(ts + numberOfTokens <= partialSupply, "Purchase would exceed partial supply tokens"); require(ts + numberOfTokens <= MAX_SUPPLY, "Purchase would exceed max supply of tokens"); require(pricePerToken * numberOfTokens <= msg.value, "Ether value sent is not correct"); _allowList[msg.sender] -= numberOfTokens; _safeMint(msg.sender, numberOfTokens); } function setBaseURI(string memory baseURI_) public onlyOwner { _baseURIextended = baseURI_; } function _baseURI() internal view virtual override returns (string memory) { return _baseURIextended; } function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner { notRevealedUri = _notRevealedURI; } function setBaseExtension(string memory _newBaseExtension) public onlyOwner { baseExtension = _newBaseExtension; } /* * Set provenance once it's calculated */ function setProvenance(string memory provenance) public onlyOwner { PROVENANCE = provenance; } /* * Function used to mint a reserve supply of NFTS to the owner of the contract */ function reserve(uint256 n) public onlyOwner { uint supply = totalSupply(); require(supply + n < MAX_SUPPLY, "Not enough NFTs available"); _safeMint(msg.sender, n); } /* * Function to change the state of the sale from active to inactive and vice-versa */ function setSaleState(bool newState) public onlyOwner { saleIsActive = newState; } /** * Mints NFT on public sale */ function mint(uint numberOfTokens) public payable { uint256 ts = totalSupply(); uint256 walletBalance = numberMinted(msg.sender); require(saleIsActive, "Sale must be active to mint tokens"); require(numberOfTokens <= maxPublicMint, "Exceeded max token purchase"); require(walletBalance + numberOfTokens <= maxPublicMint, "Can not mint this many"); require(ts + numberOfTokens <= partialSupply, "Purchase would exceed partial supply tokens"); require(ts + numberOfTokens <= MAX_SUPPLY, "Purchase would exceed max supply of tokens"); require(pricePerToken * numberOfTokens <= msg.value, "Ether value sent is not correct"); _safeMint(msg.sender, numberOfTokens); } /* * Function responsible for withdrawal of funds from the contract */ function withdraw() public onlyOwner { uint balance = address(this).balance; payable(msg.sender).transfer(balance); } // ERC721A functions function setOwnersExplicit(uint256 quantity) external onlyOwner nonReentrant { _setOwnersExplicit(quantity); } function numberMinted(address owner) public view returns (uint256) { return _numberMinted(owner); } function getOwnershipData(uint256 tokenId) external view returns (TokenOwnership memory) { return ownershipOf(tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (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: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); 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) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public 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 owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); 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: transfer caller is not owner nor 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: transfer caller is not owner nor 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 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 _owners[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) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, 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); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @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); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {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 a {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 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 { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// 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 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..). * * Assumes the number of issuable tokens (collection size) is capped and fits in a uint128. * * Does not support burning tokens to address(0). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; struct TokenOwnership { address addr; uint64 startTimestamp; } struct AddressData { uint128 balance; uint128 numberMinted; } uint256 private currentIndex = 0; uint256 internal immutable collectionSize; uint256 internal immutable maxBatchSize; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) private _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev * `maxBatchSize` refers to how much a minter can mint at a time. * `collectionSize_` refers to how many tokens are in the collection. */ constructor( string memory name_, string memory symbol_, uint256 maxBatchSize_, uint256 collectionSize_ ) { require( collectionSize_ > 0, "ERC721A: collection must have a nonzero supply" ); require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero"); _name = name_; _symbol = symbol_; maxBatchSize = maxBatchSize_; collectionSize = collectionSize_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { return currentIndex; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view override returns (uint256) { require(index < totalSupply(), "ERC721A: global index out of bounds"); return index; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(collectionSize). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { require(index < balanceOf(owner), "ERC721A: owner index out of bounds"); uint256 numMintedSoFar = totalSupply(); uint256 tokenIdsIdx = 0; address currOwnershipAddr = address(0); for (uint256 i = 0; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } revert("ERC721A: unable to get token of owner by index"); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { require(owner != address(0), "ERC721A: balance query for the zero address"); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { require( owner != address(0), "ERC721A: number minted query for the zero address" ); return uint256(_addressData[owner].numberMinted); } function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { require(_exists(tokenId), "ERC721A: owner query for nonexistent token"); uint256 lowestTokenToCheck; if (tokenId >= maxBatchSize) { lowestTokenToCheck = tokenId - maxBatchSize + 1; } for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) { TokenOwnership memory ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } revert("ERC721A: unable to determine the owner of token"); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); require(to != owner, "ERC721A: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721A: approve caller is not owner nor approved for all" ); _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { require(_exists(tokenId), "ERC721A: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { require(operator != _msgSender(), "ERC721A: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public override { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "ERC721A: transfer to non ERC721Receiver implementer" ); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return tokenId < currentIndex; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ""); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - there must be `quantity` tokens remaining unminted in the total collection. * - `to` cannot be the zero address. * - `quantity` cannot be larger than the max batch size. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = currentIndex; require(to != address(0), "ERC721A: mint to the zero address"); // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering. require(!_exists(startTokenId), "ERC721A: token already minted"); require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high"); _beforeTokenTransfers(address(0), to, startTokenId, quantity); AddressData memory addressData = _addressData[to]; _addressData[to] = AddressData( addressData.balance + uint128(quantity), addressData.numberMinted + uint128(quantity) ); _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp)); uint256 updatedIndex = startTokenId; for (uint256 i = 0; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); require( _checkOnERC721Received(address(0), to, updatedIndex, _data), "ERC721A: transfer to non ERC721Receiver implementer" ); updatedIndex++; } currentIndex = updatedIndex; _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || getApproved(tokenId) == _msgSender() || isApprovedForAll(prevOwnership.addr, _msgSender())); require( isApprovedOrOwner, "ERC721A: transfer caller is not owner nor approved" ); require( prevOwnership.addr == from, "ERC721A: transfer from incorrect owner" ); require(to != address(0), "ERC721A: transfer to the zero address"); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp)); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { if (_exists(nextTokenId)) { _ownerships[nextTokenId] = TokenOwnership( prevOwnership.addr, prevOwnership.startTimestamp ); } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } uint256 public nextOwnerToExplicitlySet = 0; /** * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf(). */ function _setOwnersExplicit(uint256 quantity) internal { uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet; require(quantity > 0, "quantity must be nonzero"); uint256 endIndex = oldNextOwnerToSet + quantity - 1; if (endIndex > collectionSize - 1) { endIndex = collectionSize - 1; } // We know if the last one in the group exists, all in the group exist, due to serial ordering. require(_exists(endIndex), "not enough minted yet for this cleanup"); for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) { if (_ownerships[i].addr == address(0)) { TokenOwnership memory ownership = ownershipOf(i); _ownerships[i] = TokenOwnership( ownership.addr, ownership.startTimestamp ); } } nextOwnerToExplicitlySet = endIndex + 1; } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721A: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// 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.5.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 functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // 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/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.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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"string","name":"_initNotRevealedUri","type":"string"},{"internalType":"uint256","name":"maxBatchSize_","type":"uint256"},{"internalType":"uint256","name":"collectionSize_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"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":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getOwnershipData","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"}],"internalType":"struct ERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPartialSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPricePerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isAllowListActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"maxPublicMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint8","name":"numberOfTokens","type":"uint8"}],"name":"mintAllowList","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"numAvailableToMint","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"n","type":"uint256"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint8","name":"numAllowedToMint","type":"uint8"}],"name":"setAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isAllowListActive","type":"bool"}],"name":"setIsAllowListActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"n","type":"uint256"}],"name":"setMaxPublicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"setOwnersExplicit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"setPartialSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPricePerToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenance","type":"string"}],"name":"setProvenance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newState","type":"bool"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c0604052600060015560006008556000600b60006101000a81548160ff02191690831515021790555060405180602001604052806000815250600d9080519060200190620000509291906200044e565b506000600e60006101000a81548160ff0219169083151502179055506000601060006101000a81548160ff021916908315150217905550610fa0601155600160125566d529ae9e860000601355348015620000aa57600080fd5b506040516200685c3803806200685c8339818101604052810190620000d0919062000587565b85858383620000f4620000e86200020360201b60201c565b6200020b60201b60201c565b600081116200013a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000131906200073a565b60405180910390fd5b6000821162000180576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200017790620006f6565b60405180910390fd5b8360029080519060200190620001989291906200044e565b508260039080519060200190620001b19291906200044e565b508160a08181525050806080818152505050505050600160098190555081601281905550620001e684620002cf60201b60201c565b620001f7836200037a60201b60201c565b505050505050620009c8565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002df6200020360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003056200042560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200035e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003559062000718565b60405180910390fd5b80600c9080519060200190620003769291906200044e565b5050565b6200038a6200020360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003b06200042560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000409576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004009062000718565b60405180910390fd5b80600f9080519060200190620004219291906200044e565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200045c906200080c565b90600052602060002090601f016020900481019282620004805760008555620004cc565b82601f106200049b57805160ff1916838001178555620004cc565b82800160010185558215620004cc579182015b82811115620004cb578251825591602001919060010190620004ae565b5b509050620004db9190620004df565b5090565b5b80821115620004fa576000816000905550600101620004e0565b5090565b6000620005156200050f8462000785565b6200075c565b9050828152602081018484840111156200052e57600080fd5b6200053b848285620007d6565b509392505050565b600082601f8301126200055557600080fd5b815162000567848260208601620004fe565b91505092915050565b6000815190506200058181620009ae565b92915050565b60008060008060008060c08789031215620005a157600080fd5b600087015167ffffffffffffffff811115620005bc57600080fd5b620005ca89828a0162000543565b965050602087015167ffffffffffffffff811115620005e857600080fd5b620005f689828a0162000543565b955050604087015167ffffffffffffffff8111156200061457600080fd5b6200062289828a0162000543565b945050606087015167ffffffffffffffff8111156200064057600080fd5b6200064e89828a0162000543565b93505060806200066189828a0162000570565b92505060a06200067489828a0162000570565b9150509295509295509295565b600062000690602783620007bb565b91506200069d82620008e7565b604082019050919050565b6000620006b7602083620007bb565b9150620006c48262000936565b602082019050919050565b6000620006de602e83620007bb565b9150620006eb826200095f565b604082019050919050565b60006020820190508181036000830152620007118162000681565b9050919050565b600060208201905081810360008301526200073381620006a8565b9050919050565b600060208201905081810360008301526200075581620006cf565b9050919050565b6000620007686200077b565b905062000776828262000842565b919050565b6000604051905090565b600067ffffffffffffffff821115620007a357620007a2620008a7565b5b620007ae82620008d6565b9050602081019050919050565b600082825260208201905092915050565b6000819050919050565b60005b83811015620007f6578082015181840152602081019050620007d9565b8381111562000806576000848401525b50505050565b600060028204905060018216806200082557607f821691505b602082108114156200083c576200083b62000878565b5b50919050565b6200084d82620008d6565b810181811067ffffffffffffffff821117156200086f576200086e620008a7565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455243373231413a206d61782062617463682073697a65206d7573742062652060008201527f6e6f6e7a65726f00000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060008201527f6e6f6e7a65726f20737570706c79000000000000000000000000000000000000602082015250565b620009b981620007cc565b8114620009c557600080fd5b50565b60805160a051615e5962000a03600039600081816132390152818161326201526138bf015260008181612fc10152612ff50152615e596000f3fe6080604052600436106102ae5760003560e01c8063718bc4af11610175578063c6682862116100dc578063dc33e68111610095578063eb8d24441161006f578063eb8d244414610a90578063f2c4ce1e14610abb578063f2fde38b14610ae4578063ffe630b514610b0d576102ae565b8063dc33e681146109fa578063ddff5b1c14610a37578063e985e9c514610a53576102ae565b8063c6682862146108e8578063c87b56dd14610913578063ca1e973814610950578063cabadaa01461097b578063d7224ba0146109a6578063da3ef23f146109d1576102ae565b8063a0712d681161012e578063a0712d68146107fd578063a22cb46514610819578063a475b5dd14610842578063b88d4fde14610859578063c04a283614610882578063c4e37095146108bf576102ae565b8063718bc4af146106ef578063819b25ba146107185780638295784d146107415780638da5cb5b1461076a5780639231ab2a1461079557806395d89b41146107d2576102ae565b806332cb6b0c1161021957806355f804b3116101d257806355f804b3146105df57806359aae0ae146106085780636352211e146106335780636373a6b11461067057806370a082311461069b578063715018a6146106d8576102ae565b806332cb6b0c146104e357806333bbcc791461050e5780633ccfd60b1461053757806342842e0e1461054e5780634f6ccce71461057757806351830227146105b4576102ae565b806323b872dd1161026b57806323b872dd146103d7578063270ab52c1461040057806329fc6bae146104295780632bf2762f146104545780632d20fb601461047d5780632f745c59146104a6576102ae565b806301ffc9a7146102b357806306fdde03146102f0578063081812fc1461031b578063081c8c4414610358578063095ea7b31461038357806318160ddd146103ac575b600080fd5b3480156102bf57600080fd5b506102da60048036038101906102d591906143dc565b610b36565b6040516102e79190614afb565b60405180910390f35b3480156102fc57600080fd5b50610305610c80565b6040516103129190614b16565b60405180910390f35b34801561032757600080fd5b50610342600480360381019061033d919061446f565b610d12565b60405161034f9190614a94565b60405180910390f35b34801561036457600080fd5b5061036d610d97565b60405161037a9190614b16565b60405180910390f35b34801561038f57600080fd5b506103aa60048036038101906103a5919061431f565b610e25565b005b3480156103b857600080fd5b506103c1610f3e565b6040516103ce9190614f73565b60405180910390f35b3480156103e357600080fd5b506103fe60048036038101906103f99190614219565b610f48565b005b34801561040c57600080fd5b506104276004803603810190610422919061446f565b610f58565b005b34801561043557600080fd5b5061043e610fde565b60405161044b9190614afb565b60405180910390f35b34801561046057600080fd5b5061047b6004803603810190610476919061446f565b610ff1565b005b34801561048957600080fd5b506104a4600480360381019061049f919061446f565b611077565b005b3480156104b257600080fd5b506104cd60048036038101906104c8919061431f565b611155565b6040516104da9190614f73565b60405180910390f35b3480156104ef57600080fd5b506104f8611353565b6040516105059190614f73565b60405180910390f35b34801561051a57600080fd5b506105356004803603810190610530919061446f565b611359565b005b34801561054357600080fd5b5061054c6113df565b005b34801561055a57600080fd5b5061057560048036038101906105709190614219565b6114aa565b005b34801561058357600080fd5b5061059e6004803603810190610599919061446f565b6114ca565b6040516105ab9190614f73565b60405180910390f35b3480156105c057600080fd5b506105c961151d565b6040516105d69190614afb565b60405180910390f35b3480156105eb57600080fd5b506106066004803603810190610601919061442e565b611530565b005b34801561061457600080fd5b5061061d6115c6565b60405161062a9190614f73565b60405180910390f35b34801561063f57600080fd5b5061065a6004803603810190610655919061446f565b6115d0565b6040516106679190614a94565b60405180910390f35b34801561067c57600080fd5b506106856115e6565b6040516106929190614b16565b60405180910390f35b3480156106a757600080fd5b506106c260048036038101906106bd91906141b4565b611674565b6040516106cf9190614f73565b60405180910390f35b3480156106e457600080fd5b506106ed61175d565b005b3480156106fb57600080fd5b50610716600480360381019061071191906143b3565b6117e5565b005b34801561072457600080fd5b5061073f600480360381019061073a919061446f565b61187e565b005b34801561074d57600080fd5b506107686004803603810190610763919061435b565b611963565b005b34801561077657600080fd5b5061077f611aab565b60405161078c9190614a94565b60405180910390f35b3480156107a157600080fd5b506107bc60048036038101906107b7919061446f565b611ad4565b6040516107c99190614f58565b60405180910390f35b3480156107de57600080fd5b506107e7611aec565b6040516107f49190614b16565b60405180910390f35b6108176004803603810190610812919061446f565b611b7e565b005b34801561082557600080fd5b50610840600480360381019061083b91906142e3565b611d7a565b005b34801561084e57600080fd5b50610857611efb565b005b34801561086557600080fd5b50610880600480360381019061087b9190614268565b611f94565b005b34801561088e57600080fd5b506108a960048036038101906108a491906141b4565b611ff0565b6040516108b69190614f8e565b60405180910390f35b3480156108cb57600080fd5b506108e660048036038101906108e191906143b3565b612046565b005b3480156108f457600080fd5b506108fd6120df565b60405161090a9190614b16565b60405180910390f35b34801561091f57600080fd5b5061093a6004803603810190610935919061446f565b61216d565b6040516109479190614b16565b60405180910390f35b34801561095c57600080fd5b50610965612276565b6040516109729190614f73565b60405180910390f35b34801561098757600080fd5b50610990612280565b60405161099d9190614f73565b60405180910390f35b3480156109b257600080fd5b506109bb612286565b6040516109c89190614f73565b60405180910390f35b3480156109dd57600080fd5b506109f860048036038101906109f3919061442e565b61228c565b005b348015610a0657600080fd5b50610a216004803603810190610a1c91906141b4565b612322565b604051610a2e9190614f73565b60405180910390f35b610a516004803603810190610a4c9190614498565b612334565b005b348015610a5f57600080fd5b50610a7a6004803603810190610a7591906141dd565b6125a1565b604051610a879190614afb565b60405180910390f35b348015610a9c57600080fd5b50610aa5612635565b604051610ab29190614afb565b60405180910390f35b348015610ac757600080fd5b50610ae26004803603810190610add919061442e565b612648565b005b348015610af057600080fd5b50610b0b6004803603810190610b0691906141b4565b6126de565b005b348015610b1957600080fd5b50610b346004803603810190610b2f919061442e565b6127d6565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c0157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c6957507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c795750610c788261286c565b5b9050919050565b606060028054610c8f90615353565b80601f0160208091040260200160405190810160405280929190818152602001828054610cbb90615353565b8015610d085780601f10610cdd57610100808354040283529160200191610d08565b820191906000526020600020905b815481529060010190602001808311610ceb57829003601f168201915b5050505050905090565b6000610d1d826128d6565b610d5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5390614f18565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600f8054610da490615353565b80601f0160208091040260200160405190810160405280929190818152602001828054610dd090615353565b8015610e1d5780601f10610df257610100808354040283529160200191610e1d565b820191906000526020600020905b815481529060010190602001808311610e0057829003601f168201915b505050505081565b6000610e30826115d0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ea1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9890614df8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ec06128e4565b73ffffffffffffffffffffffffffffffffffffffff161480610eef5750610eee81610ee96128e4565b6125a1565b5b610f2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2590614c38565b60405180910390fd5b610f398383836128ec565b505050565b6000600154905090565b610f5383838361299e565b505050565b610f606128e4565b73ffffffffffffffffffffffffffffffffffffffff16610f7e611aab565b73ffffffffffffffffffffffffffffffffffffffff1614610fd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcb90614cf8565b60405180910390fd5b8060128190555050565b601060009054906101000a900460ff1681565b610ff96128e4565b73ffffffffffffffffffffffffffffffffffffffff16611017611aab565b73ffffffffffffffffffffffffffffffffffffffff161461106d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106490614cf8565b60405180910390fd5b8060138190555050565b61107f6128e4565b73ffffffffffffffffffffffffffffffffffffffff1661109d611aab565b73ffffffffffffffffffffffffffffffffffffffff16146110f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ea90614cf8565b60405180910390fd5b60026009541415611139576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113090614ed8565b60405180910390fd5b600260098190555061114a81612f57565b600160098190555050565b600061116083611674565b82106111a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119890614b38565b60405180910390fd5b60006111ab610f3e565b905060008060005b83811015611311576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146112a557806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156112fd57868414156112ee57819550505050505061134d565b83806112f9906153b6565b9450505b508080611309906153b6565b9150506111b3565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134490614e78565b60405180910390fd5b92915050565b61236a81565b6113616128e4565b73ffffffffffffffffffffffffffffffffffffffff1661137f611aab565b73ffffffffffffffffffffffffffffffffffffffff16146113d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113cc90614cf8565b60405180910390fd5b8060118190555050565b6113e76128e4565b73ffffffffffffffffffffffffffffffffffffffff16611405611aab565b73ffffffffffffffffffffffffffffffffffffffff161461145b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145290614cf8565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156114a6573d6000803e3d6000fd5b5050565b6114c583838360405180602001604052806000815250611f94565b505050565b60006114d4610f3e565b8210611515576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150c90614bb8565b60405180910390fd5b819050919050565b600e60009054906101000a900460ff1681565b6115386128e4565b73ffffffffffffffffffffffffffffffffffffffff16611556611aab565b73ffffffffffffffffffffffffffffffffffffffff16146115ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a390614cf8565b60405180910390fd5b80600c90805190602001906115c2929190613f3f565b5050565b6000601154905090565b60006115db826131e5565b600001519050919050565b600a80546115f390615353565b80601f016020809104026020016040519081016040528092919081815260200182805461161f90615353565b801561166c5780601f106116415761010080835404028352916020019161166c565b820191906000526020600020905b81548152906001019060200180831161164f57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116dc90614cb8565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b6117656128e4565b73ffffffffffffffffffffffffffffffffffffffff16611783611aab565b73ffffffffffffffffffffffffffffffffffffffff16146117d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d090614cf8565b60405180910390fd5b6117e360006133e8565b565b6117ed6128e4565b73ffffffffffffffffffffffffffffffffffffffff1661180b611aab565b73ffffffffffffffffffffffffffffffffffffffff1614611861576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185890614cf8565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b6118866128e4565b73ffffffffffffffffffffffffffffffffffffffff166118a4611aab565b73ffffffffffffffffffffffffffffffffffffffff16146118fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f190614cf8565b60405180910390fd5b6000611904610f3e565b905061236a828261191591906150b9565b10611955576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194c90614d78565b60405180910390fd5b61195f33836134ac565b5050565b61196b6128e4565b73ffffffffffffffffffffffffffffffffffffffff16611989611aab565b73ffffffffffffffffffffffffffffffffffffffff16146119df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d690614cf8565b60405180910390fd5b60005b83839050811015611aa5578160146000868685818110611a2b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611a4091906141b4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff1602179055508080611a9d906153b6565b9150506119e2565b50505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611adc613fc5565b611ae5826131e5565b9050919050565b606060038054611afb90615353565b80601f0160208091040260200160405190810160405280929190818152602001828054611b2790615353565b8015611b745780601f10611b4957610100808354040283529160200191611b74565b820191906000526020600020905b815481529060010190602001808311611b5757829003601f168201915b5050505050905090565b6000611b88610f3e565b90506000611b9533612322565b9050600b60009054906101000a900460ff16611be6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdd90614d98565b60405180910390fd5b601254831115611c2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2290614db8565b60405180910390fd5b6012548382611c3a91906150b9565b1115611c7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7290614c98565b60405180910390fd5b6011548383611c8a91906150b9565b1115611ccb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc290614b98565b60405180910390fd5b61236a8383611cda91906150b9565b1115611d1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1290614c78565b60405180910390fd5b3483601354611d2a9190615140565b1115611d6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6290614c18565b60405180910390fd5b611d7533846134ac565b505050565b611d826128e4565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de790614d38565b60405180910390fd5b8060076000611dfd6128e4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611eaa6128e4565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611eef9190614afb565b60405180910390a35050565b611f036128e4565b73ffffffffffffffffffffffffffffffffffffffff16611f21611aab565b73ffffffffffffffffffffffffffffffffffffffff1614611f77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6e90614cf8565b60405180910390fd5b6001600e60006101000a81548160ff021916908315150217905550565b611f9f84848461299e565b611fab848484846134ca565b611fea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe190614e18565b60405180910390fd5b50505050565b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b61204e6128e4565b73ffffffffffffffffffffffffffffffffffffffff1661206c611aab565b73ffffffffffffffffffffffffffffffffffffffff16146120c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b990614cf8565b60405180910390fd5b80600b60006101000a81548160ff02191690831515021790555050565b600d80546120ec90615353565b80601f016020809104026020016040519081016040528092919081815260200182805461211890615353565b80156121655780601f1061213a57610100808354040283529160200191612165565b820191906000526020600020905b81548152906001019060200180831161214857829003601f168201915b505050505081565b6060612178826128d6565b6121b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ae90614d18565b60405180910390fd5b60001515600e60009054906101000a900460ff161515141561226557600f80546121e090615353565b80601f016020809104026020016040519081016040528092919081815260200182805461220c90615353565b80156122595780601f1061222e57610100808354040283529160200191612259565b820191906000526020600020905b81548152906001019060200180831161223c57829003601f168201915b50505050509050612271565b61226e82613661565b90505b919050565b6000601354905090565b60125481565b60085481565b6122946128e4565b73ffffffffffffffffffffffffffffffffffffffff166122b2611aab565b73ffffffffffffffffffffffffffffffffffffffff1614612308576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ff90614cf8565b60405180910390fd5b80600d908051906020019061231e929190613f3f565b5050565b600061232d82613708565b9050919050565b600061233e610f3e565b9050601060009054906101000a900460ff1661238f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238690614eb8565b60405180910390fd5b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660ff168260ff161115612424576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241b90614dd8565b60405180910390fd5b6011548260ff168261243691906150b9565b1115612477576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246e90614b98565b60405180910390fd5b61236a8260ff168261248991906150b9565b11156124ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c190614c78565b60405180910390fd5b348260ff166013546124dc9190615140565b111561251d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251490614c18565b60405180910390fd5b81601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff166125789190615202565b92506101000a81548160ff021916908360ff16021790555061259d338360ff166134ac565b5050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600b60009054906101000a900460ff1681565b6126506128e4565b73ffffffffffffffffffffffffffffffffffffffff1661266e611aab565b73ffffffffffffffffffffffffffffffffffffffff16146126c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126bb90614cf8565b60405180910390fd5b80600f90805190602001906126da929190613f3f565b5050565b6126e66128e4565b73ffffffffffffffffffffffffffffffffffffffff16612704611aab565b73ffffffffffffffffffffffffffffffffffffffff161461275a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275190614cf8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156127ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c190614b58565b60405180910390fd5b6127d3816133e8565b50565b6127de6128e4565b73ffffffffffffffffffffffffffffffffffffffff166127fc611aab565b73ffffffffffffffffffffffffffffffffffffffff1614612852576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284990614cf8565b60405180910390fd5b80600a9080519060200190612868929190613f3f565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600060015482109050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006129a9826131e5565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166129d06128e4565b73ffffffffffffffffffffffffffffffffffffffff161480612a2c57506129f56128e4565b73ffffffffffffffffffffffffffffffffffffffff16612a1484610d12565b73ffffffffffffffffffffffffffffffffffffffff16145b80612a485750612a478260000151612a426128e4565b6125a1565b5b905080612a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8190614d58565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612afc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af390614cd8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612b6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6390614bd8565b60405180910390fd5b612b7985858560016137f1565b612b8960008484600001516128ec565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612bf7919061519a565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612c9b9190615073565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050506000600184612da191906150b9565b9050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612ee757612e17816128d6565b15612ee6576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506004600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612f4f86868660016137f7565b505050505050565b6000600854905060008211612fa1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f9890614c58565b60405180910390fd5b600060018383612fb191906150b9565b612fbb91906151ce565b905060017f0000000000000000000000000000000000000000000000000000000000000000612fea91906151ce565b8111156130215760017f000000000000000000000000000000000000000000000000000000000000000061301e91906151ce565b90505b61302a816128d6565b613069576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161306090614e98565b60405180910390fd5b60008290505b8181116131cc57600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156131b95760006130ec826131e5565b90506040518060400160405280826000015173ffffffffffffffffffffffffffffffffffffffff168152602001826020015167ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050505b80806131c4906153b6565b91505061306f565b506001816131da91906150b9565b600881905550505050565b6131ed613fc5565b6131f6826128d6565b613235576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161322c90614b78565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000083106132995760017f00000000000000000000000000000000000000000000000000000000000000008461328c91906151ce565b61329691906150b9565b90505b60008390505b8181106133a7576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614613393578093505050506133e3565b50808061339f90615329565b91505061329f565b506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133da90614ef8565b60405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6134c68282604051806020016040528060008152506137fd565b5050565b60006134eb8473ffffffffffffffffffffffffffffffffffffffff16613cdd565b15613654578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026135146128e4565b8786866040518563ffffffff1660e01b81526004016135369493929190614aaf565b602060405180830381600087803b15801561355057600080fd5b505af192505050801561358157506040513d601f19601f8201168201806040525081019061357e9190614405565b60015b613604573d80600081146135b1576040519150601f19603f3d011682016040523d82523d6000602084013e6135b6565b606091505b506000815114156135fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135f390614e18565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613659565b600190505b949350505050565b606061366c826128d6565b6136ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136a290614d18565b60405180910390fd5b60006136b5613d00565b905060008151116136d55760405180602001604052806000815250613700565b806136df84613d92565b6040516020016136f0929190614a70565b6040516020818303038152906040525b915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613779576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161377090614bf8565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b50505050565b50505050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613874576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161386b90614e58565b60405180910390fd5b61387d816128d6565b156138bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138b490614e38565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000831115613920576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161391790614f38565b60405180910390fd5b61392d60008583866137f1565b6000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168152505090506040518060400160405280858360000151613a2a9190615073565b6fffffffffffffffffffffffffffffffff168152602001858360200151613a519190615073565b6fffffffffffffffffffffffffffffffff16815250600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b85811015613cc057818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613c6060008884886134ca565b613c9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c9690614e18565b60405180910390fd5b8180613caa906153b6565b9250508080613cb8906153b6565b915050613bef565b5080600181905550613cd560008785886137f7565b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060600c8054613d0f90615353565b80601f0160208091040260200160405190810160405280929190818152602001828054613d3b90615353565b8015613d885780601f10613d5d57610100808354040283529160200191613d88565b820191906000526020600020905b815481529060010190602001808311613d6b57829003601f168201915b5050505050905090565b60606000821415613dda576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613f3a565b600082905060005b60008214613e0c578080613df5906153b6565b915050600a82613e05919061510f565b9150613de2565b60008167ffffffffffffffff811115613e4e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613e805781602001600182028036833780820191505090505b5090505b60008514613f3357600182613e9991906151ce565b9150600a85613ea891906153ff565b6030613eb491906150b9565b60f81b818381518110613ef0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613f2c919061510f565b9450613e84565b8093505050505b919050565b828054613f4b90615353565b90600052602060002090601f016020900481019282613f6d5760008555613fb4565b82601f10613f8657805160ff1916838001178555613fb4565b82800160010185558215613fb4579182015b82811115613fb3578251825591602001919060010190613f98565b5b509050613fc19190613fff565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115614018576000816000905550600101614000565b5090565b600061402f61402a84614fce565b614fa9565b90508281526020810184848401111561404757600080fd5b6140528482856152e7565b509392505050565b600061406d61406884614fff565b614fa9565b90508281526020810184848401111561408557600080fd5b6140908482856152e7565b509392505050565b6000813590506140a781615db0565b92915050565b60008083601f8401126140bf57600080fd5b8235905067ffffffffffffffff8111156140d857600080fd5b6020830191508360208202830111156140f057600080fd5b9250929050565b60008135905061410681615dc7565b92915050565b60008135905061411b81615dde565b92915050565b60008151905061413081615dde565b92915050565b600082601f83011261414757600080fd5b813561415784826020860161401c565b91505092915050565b600082601f83011261417157600080fd5b813561418184826020860161405a565b91505092915050565b60008135905061419981615df5565b92915050565b6000813590506141ae81615e0c565b92915050565b6000602082840312156141c657600080fd5b60006141d484828501614098565b91505092915050565b600080604083850312156141f057600080fd5b60006141fe85828601614098565b925050602061420f85828601614098565b9150509250929050565b60008060006060848603121561422e57600080fd5b600061423c86828701614098565b935050602061424d86828701614098565b925050604061425e8682870161418a565b9150509250925092565b6000806000806080858703121561427e57600080fd5b600061428c87828801614098565b945050602061429d87828801614098565b93505060406142ae8782880161418a565b925050606085013567ffffffffffffffff8111156142cb57600080fd5b6142d787828801614136565b91505092959194509250565b600080604083850312156142f657600080fd5b600061430485828601614098565b9250506020614315858286016140f7565b9150509250929050565b6000806040838503121561433257600080fd5b600061434085828601614098565b92505060206143518582860161418a565b9150509250929050565b60008060006040848603121561437057600080fd5b600084013567ffffffffffffffff81111561438a57600080fd5b614396868287016140ad565b935093505060206143a98682870161419f565b9150509250925092565b6000602082840312156143c557600080fd5b60006143d3848285016140f7565b91505092915050565b6000602082840312156143ee57600080fd5b60006143fc8482850161410c565b91505092915050565b60006020828403121561441757600080fd5b600061442584828501614121565b91505092915050565b60006020828403121561444057600080fd5b600082013567ffffffffffffffff81111561445a57600080fd5b61446684828501614160565b91505092915050565b60006020828403121561448157600080fd5b600061448f8482850161418a565b91505092915050565b6000602082840312156144aa57600080fd5b60006144b88482850161419f565b91505092915050565b6144ca81615236565b82525050565b6144d981615236565b82525050565b6144e881615248565b82525050565b60006144f982615030565b6145038185615046565b93506145138185602086016152f6565b61451c816154ec565b840191505092915050565b60006145328261503b565b61453c8185615057565b935061454c8185602086016152f6565b614555816154ec565b840191505092915050565b600061456b8261503b565b6145758185615068565b93506145858185602086016152f6565b80840191505092915050565b600061459e602283615057565b91506145a9826154fd565b604082019050919050565b60006145c1602683615057565b91506145cc8261554c565b604082019050919050565b60006145e4602a83615057565b91506145ef8261559b565b604082019050919050565b6000614607602b83615057565b9150614612826155ea565b604082019050919050565b600061462a602383615057565b915061463582615639565b604082019050919050565b600061464d602583615057565b915061465882615688565b604082019050919050565b6000614670603183615057565b915061467b826156d7565b604082019050919050565b6000614693601f83615057565b915061469e82615726565b602082019050919050565b60006146b6603983615057565b91506146c18261574f565b604082019050919050565b60006146d9601883615057565b91506146e48261579e565b602082019050919050565b60006146fc602a83615057565b9150614707826157c7565b604082019050919050565b600061471f601683615057565b915061472a82615816565b602082019050919050565b6000614742602b83615057565b915061474d8261583f565b604082019050919050565b6000614765602683615057565b91506147708261588e565b604082019050919050565b6000614788602083615057565b9150614793826158dd565b602082019050919050565b60006147ab602f83615057565b91506147b682615906565b604082019050919050565b60006147ce601a83615057565b91506147d982615955565b602082019050919050565b60006147f1603283615057565b91506147fc8261597e565b604082019050919050565b6000614814601983615057565b915061481f826159cd565b602082019050919050565b6000614837602283615057565b9150614842826159f6565b604082019050919050565b600061485a601b83615057565b915061486582615a45565b602082019050919050565b600061487d602283615057565b915061488882615a6e565b604082019050919050565b60006148a0602283615057565b91506148ab82615abd565b604082019050919050565b60006148c3603383615057565b91506148ce82615b0c565b604082019050919050565b60006148e6601d83615057565b91506148f182615b5b565b602082019050919050565b6000614909602183615057565b915061491482615b84565b604082019050919050565b600061492c602e83615057565b915061493782615bd3565b604082019050919050565b600061494f602683615057565b915061495a82615c22565b604082019050919050565b6000614972601883615057565b915061497d82615c71565b602082019050919050565b6000614995601f83615057565b91506149a082615c9a565b602082019050919050565b60006149b8602f83615057565b91506149c382615cc3565b604082019050919050565b60006149db602d83615057565b91506149e682615d12565b604082019050919050565b60006149fe602283615057565b9150614a0982615d61565b604082019050919050565b604082016000820151614a2a60008501826144c1565b506020820151614a3d6020850182614a52565b50505050565b614a4c816152bc565b82525050565b614a5b816152c6565b82525050565b614a6a816152da565b82525050565b6000614a7c8285614560565b9150614a888284614560565b91508190509392505050565b6000602082019050614aa960008301846144d0565b92915050565b6000608082019050614ac460008301876144d0565b614ad160208301866144d0565b614ade6040830185614a43565b8181036060830152614af081846144ee565b905095945050505050565b6000602082019050614b1060008301846144df565b92915050565b60006020820190508181036000830152614b308184614527565b905092915050565b60006020820190508181036000830152614b5181614591565b9050919050565b60006020820190508181036000830152614b71816145b4565b9050919050565b60006020820190508181036000830152614b91816145d7565b9050919050565b60006020820190508181036000830152614bb1816145fa565b9050919050565b60006020820190508181036000830152614bd18161461d565b9050919050565b60006020820190508181036000830152614bf181614640565b9050919050565b60006020820190508181036000830152614c1181614663565b9050919050565b60006020820190508181036000830152614c3181614686565b9050919050565b60006020820190508181036000830152614c51816146a9565b9050919050565b60006020820190508181036000830152614c71816146cc565b9050919050565b60006020820190508181036000830152614c91816146ef565b9050919050565b60006020820190508181036000830152614cb181614712565b9050919050565b60006020820190508181036000830152614cd181614735565b9050919050565b60006020820190508181036000830152614cf181614758565b9050919050565b60006020820190508181036000830152614d118161477b565b9050919050565b60006020820190508181036000830152614d318161479e565b9050919050565b60006020820190508181036000830152614d51816147c1565b9050919050565b60006020820190508181036000830152614d71816147e4565b9050919050565b60006020820190508181036000830152614d9181614807565b9050919050565b60006020820190508181036000830152614db18161482a565b9050919050565b60006020820190508181036000830152614dd18161484d565b9050919050565b60006020820190508181036000830152614df181614870565b9050919050565b60006020820190508181036000830152614e1181614893565b9050919050565b60006020820190508181036000830152614e31816148b6565b9050919050565b60006020820190508181036000830152614e51816148d9565b9050919050565b60006020820190508181036000830152614e71816148fc565b9050919050565b60006020820190508181036000830152614e918161491f565b9050919050565b60006020820190508181036000830152614eb181614942565b9050919050565b60006020820190508181036000830152614ed181614965565b9050919050565b60006020820190508181036000830152614ef181614988565b9050919050565b60006020820190508181036000830152614f11816149ab565b9050919050565b60006020820190508181036000830152614f31816149ce565b9050919050565b60006020820190508181036000830152614f51816149f1565b9050919050565b6000604082019050614f6d6000830184614a14565b92915050565b6000602082019050614f886000830184614a43565b92915050565b6000602082019050614fa36000830184614a61565b92915050565b6000614fb3614fc4565b9050614fbf8282615385565b919050565b6000604051905090565b600067ffffffffffffffff821115614fe957614fe86154bd565b5b614ff2826154ec565b9050602081019050919050565b600067ffffffffffffffff82111561501a576150196154bd565b5b615023826154ec565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061507e82615280565b915061508983615280565b9250826fffffffffffffffffffffffffffffffff038211156150ae576150ad615430565b5b828201905092915050565b60006150c4826152bc565b91506150cf836152bc565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561510457615103615430565b5b828201905092915050565b600061511a826152bc565b9150615125836152bc565b9250826151355761513461545f565b5b828204905092915050565b600061514b826152bc565b9150615156836152bc565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561518f5761518e615430565b5b828202905092915050565b60006151a582615280565b91506151b083615280565b9250828210156151c3576151c2615430565b5b828203905092915050565b60006151d9826152bc565b91506151e4836152bc565b9250828210156151f7576151f6615430565b5b828203905092915050565b600061520d826152da565b9150615218836152da565b92508282101561522b5761522a615430565b5b828203905092915050565b60006152418261529c565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156153145780820151818401526020810190506152f9565b83811115615323576000848401525b50505050565b6000615334826152bc565b9150600082141561534857615347615430565b5b600182039050919050565b6000600282049050600182168061536b57607f821691505b6020821081141561537f5761537e61548e565b5b50919050565b61538e826154ec565b810181811067ffffffffffffffff821117156153ad576153ac6154bd565b5b80604052505050565b60006153c1826152bc565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156153f4576153f3615430565b5b600182019050919050565b600061540a826152bc565b9150615415836152bc565b9250826154255761542461545f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564207061727469616c20737560008201527f70706c7920746f6b656e73000000000000000000000000000000000000000000602082015250565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a206e756d626572206d696e74656420717565727920666f7260008201527f20746865207a65726f2061646472657373000000000000000000000000000000602082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b7f7175616e74697479206d757374206265206e6f6e7a65726f0000000000000000600082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f6620746f6b656e7300000000000000000000000000000000000000000000602082015250565b7f43616e206e6f74206d696e742074686973206d616e7900000000000000000000600082015250565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f4e6f7420656e6f756768204e46547320617661696c61626c6500000000000000600082015250565b7f53616c65206d7573742062652061637469766520746f206d696e7420746f6b6560008201527f6e73000000000000000000000000000000000000000000000000000000000000602082015250565b7f4578636565646564206d617820746f6b656e2070757263686173650000000000600082015250565b7f4578636565646564206d617820617661696c61626c6520746f2070757263686160008201527f7365000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b7f455243373231413a20746f6b656e20616c7265616479206d696e746564000000600082015250565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b7f6e6f7420656e6f756768206d696e7465642079657420666f722074686973206360008201527f6c65616e75700000000000000000000000000000000000000000000000000000602082015250565b7f416c6c6f77206c697374206973206e6f74206163746976650000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b7f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960008201527f6768000000000000000000000000000000000000000000000000000000000000602082015250565b615db981615236565b8114615dc457600080fd5b50565b615dd081615248565b8114615ddb57600080fd5b50565b615de781615254565b8114615df257600080fd5b50565b615dfe816152bc565b8114615e0957600080fd5b50565b615e15816152da565b8114615e2057600080fd5b5056fea26469706673582212202ef40b9810f45c028171c206b264f33008c78d200c423b369b62b03043688d6b64736f6c6343000801003300000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000236a000000000000000000000000000000000000000000000000000000000000000f456c617269756d3a2048756d616e730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a454c415248554d414e53000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005c68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d505a43734558623639756b65344b7577537448474e5533754d48767258613639384333737965564d4479746b2f68696464656e2e6a736f6e00000000
Deployed Bytecode
0x6080604052600436106102ae5760003560e01c8063718bc4af11610175578063c6682862116100dc578063dc33e68111610095578063eb8d24441161006f578063eb8d244414610a90578063f2c4ce1e14610abb578063f2fde38b14610ae4578063ffe630b514610b0d576102ae565b8063dc33e681146109fa578063ddff5b1c14610a37578063e985e9c514610a53576102ae565b8063c6682862146108e8578063c87b56dd14610913578063ca1e973814610950578063cabadaa01461097b578063d7224ba0146109a6578063da3ef23f146109d1576102ae565b8063a0712d681161012e578063a0712d68146107fd578063a22cb46514610819578063a475b5dd14610842578063b88d4fde14610859578063c04a283614610882578063c4e37095146108bf576102ae565b8063718bc4af146106ef578063819b25ba146107185780638295784d146107415780638da5cb5b1461076a5780639231ab2a1461079557806395d89b41146107d2576102ae565b806332cb6b0c1161021957806355f804b3116101d257806355f804b3146105df57806359aae0ae146106085780636352211e146106335780636373a6b11461067057806370a082311461069b578063715018a6146106d8576102ae565b806332cb6b0c146104e357806333bbcc791461050e5780633ccfd60b1461053757806342842e0e1461054e5780634f6ccce71461057757806351830227146105b4576102ae565b806323b872dd1161026b57806323b872dd146103d7578063270ab52c1461040057806329fc6bae146104295780632bf2762f146104545780632d20fb601461047d5780632f745c59146104a6576102ae565b806301ffc9a7146102b357806306fdde03146102f0578063081812fc1461031b578063081c8c4414610358578063095ea7b31461038357806318160ddd146103ac575b600080fd5b3480156102bf57600080fd5b506102da60048036038101906102d591906143dc565b610b36565b6040516102e79190614afb565b60405180910390f35b3480156102fc57600080fd5b50610305610c80565b6040516103129190614b16565b60405180910390f35b34801561032757600080fd5b50610342600480360381019061033d919061446f565b610d12565b60405161034f9190614a94565b60405180910390f35b34801561036457600080fd5b5061036d610d97565b60405161037a9190614b16565b60405180910390f35b34801561038f57600080fd5b506103aa60048036038101906103a5919061431f565b610e25565b005b3480156103b857600080fd5b506103c1610f3e565b6040516103ce9190614f73565b60405180910390f35b3480156103e357600080fd5b506103fe60048036038101906103f99190614219565b610f48565b005b34801561040c57600080fd5b506104276004803603810190610422919061446f565b610f58565b005b34801561043557600080fd5b5061043e610fde565b60405161044b9190614afb565b60405180910390f35b34801561046057600080fd5b5061047b6004803603810190610476919061446f565b610ff1565b005b34801561048957600080fd5b506104a4600480360381019061049f919061446f565b611077565b005b3480156104b257600080fd5b506104cd60048036038101906104c8919061431f565b611155565b6040516104da9190614f73565b60405180910390f35b3480156104ef57600080fd5b506104f8611353565b6040516105059190614f73565b60405180910390f35b34801561051a57600080fd5b506105356004803603810190610530919061446f565b611359565b005b34801561054357600080fd5b5061054c6113df565b005b34801561055a57600080fd5b5061057560048036038101906105709190614219565b6114aa565b005b34801561058357600080fd5b5061059e6004803603810190610599919061446f565b6114ca565b6040516105ab9190614f73565b60405180910390f35b3480156105c057600080fd5b506105c961151d565b6040516105d69190614afb565b60405180910390f35b3480156105eb57600080fd5b506106066004803603810190610601919061442e565b611530565b005b34801561061457600080fd5b5061061d6115c6565b60405161062a9190614f73565b60405180910390f35b34801561063f57600080fd5b5061065a6004803603810190610655919061446f565b6115d0565b6040516106679190614a94565b60405180910390f35b34801561067c57600080fd5b506106856115e6565b6040516106929190614b16565b60405180910390f35b3480156106a757600080fd5b506106c260048036038101906106bd91906141b4565b611674565b6040516106cf9190614f73565b60405180910390f35b3480156106e457600080fd5b506106ed61175d565b005b3480156106fb57600080fd5b50610716600480360381019061071191906143b3565b6117e5565b005b34801561072457600080fd5b5061073f600480360381019061073a919061446f565b61187e565b005b34801561074d57600080fd5b506107686004803603810190610763919061435b565b611963565b005b34801561077657600080fd5b5061077f611aab565b60405161078c9190614a94565b60405180910390f35b3480156107a157600080fd5b506107bc60048036038101906107b7919061446f565b611ad4565b6040516107c99190614f58565b60405180910390f35b3480156107de57600080fd5b506107e7611aec565b6040516107f49190614b16565b60405180910390f35b6108176004803603810190610812919061446f565b611b7e565b005b34801561082557600080fd5b50610840600480360381019061083b91906142e3565b611d7a565b005b34801561084e57600080fd5b50610857611efb565b005b34801561086557600080fd5b50610880600480360381019061087b9190614268565b611f94565b005b34801561088e57600080fd5b506108a960048036038101906108a491906141b4565b611ff0565b6040516108b69190614f8e565b60405180910390f35b3480156108cb57600080fd5b506108e660048036038101906108e191906143b3565b612046565b005b3480156108f457600080fd5b506108fd6120df565b60405161090a9190614b16565b60405180910390f35b34801561091f57600080fd5b5061093a6004803603810190610935919061446f565b61216d565b6040516109479190614b16565b60405180910390f35b34801561095c57600080fd5b50610965612276565b6040516109729190614f73565b60405180910390f35b34801561098757600080fd5b50610990612280565b60405161099d9190614f73565b60405180910390f35b3480156109b257600080fd5b506109bb612286565b6040516109c89190614f73565b60405180910390f35b3480156109dd57600080fd5b506109f860048036038101906109f3919061442e565b61228c565b005b348015610a0657600080fd5b50610a216004803603810190610a1c91906141b4565b612322565b604051610a2e9190614f73565b60405180910390f35b610a516004803603810190610a4c9190614498565b612334565b005b348015610a5f57600080fd5b50610a7a6004803603810190610a7591906141dd565b6125a1565b604051610a879190614afb565b60405180910390f35b348015610a9c57600080fd5b50610aa5612635565b604051610ab29190614afb565b60405180910390f35b348015610ac757600080fd5b50610ae26004803603810190610add919061442e565b612648565b005b348015610af057600080fd5b50610b0b6004803603810190610b0691906141b4565b6126de565b005b348015610b1957600080fd5b50610b346004803603810190610b2f919061442e565b6127d6565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c0157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c6957507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c795750610c788261286c565b5b9050919050565b606060028054610c8f90615353565b80601f0160208091040260200160405190810160405280929190818152602001828054610cbb90615353565b8015610d085780601f10610cdd57610100808354040283529160200191610d08565b820191906000526020600020905b815481529060010190602001808311610ceb57829003601f168201915b5050505050905090565b6000610d1d826128d6565b610d5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5390614f18565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600f8054610da490615353565b80601f0160208091040260200160405190810160405280929190818152602001828054610dd090615353565b8015610e1d5780601f10610df257610100808354040283529160200191610e1d565b820191906000526020600020905b815481529060010190602001808311610e0057829003601f168201915b505050505081565b6000610e30826115d0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ea1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9890614df8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ec06128e4565b73ffffffffffffffffffffffffffffffffffffffff161480610eef5750610eee81610ee96128e4565b6125a1565b5b610f2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2590614c38565b60405180910390fd5b610f398383836128ec565b505050565b6000600154905090565b610f5383838361299e565b505050565b610f606128e4565b73ffffffffffffffffffffffffffffffffffffffff16610f7e611aab565b73ffffffffffffffffffffffffffffffffffffffff1614610fd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcb90614cf8565b60405180910390fd5b8060128190555050565b601060009054906101000a900460ff1681565b610ff96128e4565b73ffffffffffffffffffffffffffffffffffffffff16611017611aab565b73ffffffffffffffffffffffffffffffffffffffff161461106d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106490614cf8565b60405180910390fd5b8060138190555050565b61107f6128e4565b73ffffffffffffffffffffffffffffffffffffffff1661109d611aab565b73ffffffffffffffffffffffffffffffffffffffff16146110f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ea90614cf8565b60405180910390fd5b60026009541415611139576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113090614ed8565b60405180910390fd5b600260098190555061114a81612f57565b600160098190555050565b600061116083611674565b82106111a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119890614b38565b60405180910390fd5b60006111ab610f3e565b905060008060005b83811015611311576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146112a557806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156112fd57868414156112ee57819550505050505061134d565b83806112f9906153b6565b9450505b508080611309906153b6565b9150506111b3565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134490614e78565b60405180910390fd5b92915050565b61236a81565b6113616128e4565b73ffffffffffffffffffffffffffffffffffffffff1661137f611aab565b73ffffffffffffffffffffffffffffffffffffffff16146113d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113cc90614cf8565b60405180910390fd5b8060118190555050565b6113e76128e4565b73ffffffffffffffffffffffffffffffffffffffff16611405611aab565b73ffffffffffffffffffffffffffffffffffffffff161461145b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145290614cf8565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156114a6573d6000803e3d6000fd5b5050565b6114c583838360405180602001604052806000815250611f94565b505050565b60006114d4610f3e565b8210611515576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150c90614bb8565b60405180910390fd5b819050919050565b600e60009054906101000a900460ff1681565b6115386128e4565b73ffffffffffffffffffffffffffffffffffffffff16611556611aab565b73ffffffffffffffffffffffffffffffffffffffff16146115ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a390614cf8565b60405180910390fd5b80600c90805190602001906115c2929190613f3f565b5050565b6000601154905090565b60006115db826131e5565b600001519050919050565b600a80546115f390615353565b80601f016020809104026020016040519081016040528092919081815260200182805461161f90615353565b801561166c5780601f106116415761010080835404028352916020019161166c565b820191906000526020600020905b81548152906001019060200180831161164f57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116dc90614cb8565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b6117656128e4565b73ffffffffffffffffffffffffffffffffffffffff16611783611aab565b73ffffffffffffffffffffffffffffffffffffffff16146117d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d090614cf8565b60405180910390fd5b6117e360006133e8565b565b6117ed6128e4565b73ffffffffffffffffffffffffffffffffffffffff1661180b611aab565b73ffffffffffffffffffffffffffffffffffffffff1614611861576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185890614cf8565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b6118866128e4565b73ffffffffffffffffffffffffffffffffffffffff166118a4611aab565b73ffffffffffffffffffffffffffffffffffffffff16146118fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f190614cf8565b60405180910390fd5b6000611904610f3e565b905061236a828261191591906150b9565b10611955576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194c90614d78565b60405180910390fd5b61195f33836134ac565b5050565b61196b6128e4565b73ffffffffffffffffffffffffffffffffffffffff16611989611aab565b73ffffffffffffffffffffffffffffffffffffffff16146119df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d690614cf8565b60405180910390fd5b60005b83839050811015611aa5578160146000868685818110611a2b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611a4091906141b4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff1602179055508080611a9d906153b6565b9150506119e2565b50505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611adc613fc5565b611ae5826131e5565b9050919050565b606060038054611afb90615353565b80601f0160208091040260200160405190810160405280929190818152602001828054611b2790615353565b8015611b745780601f10611b4957610100808354040283529160200191611b74565b820191906000526020600020905b815481529060010190602001808311611b5757829003601f168201915b5050505050905090565b6000611b88610f3e565b90506000611b9533612322565b9050600b60009054906101000a900460ff16611be6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdd90614d98565b60405180910390fd5b601254831115611c2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2290614db8565b60405180910390fd5b6012548382611c3a91906150b9565b1115611c7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7290614c98565b60405180910390fd5b6011548383611c8a91906150b9565b1115611ccb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc290614b98565b60405180910390fd5b61236a8383611cda91906150b9565b1115611d1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1290614c78565b60405180910390fd5b3483601354611d2a9190615140565b1115611d6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6290614c18565b60405180910390fd5b611d7533846134ac565b505050565b611d826128e4565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de790614d38565b60405180910390fd5b8060076000611dfd6128e4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611eaa6128e4565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611eef9190614afb565b60405180910390a35050565b611f036128e4565b73ffffffffffffffffffffffffffffffffffffffff16611f21611aab565b73ffffffffffffffffffffffffffffffffffffffff1614611f77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6e90614cf8565b60405180910390fd5b6001600e60006101000a81548160ff021916908315150217905550565b611f9f84848461299e565b611fab848484846134ca565b611fea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe190614e18565b60405180910390fd5b50505050565b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b61204e6128e4565b73ffffffffffffffffffffffffffffffffffffffff1661206c611aab565b73ffffffffffffffffffffffffffffffffffffffff16146120c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b990614cf8565b60405180910390fd5b80600b60006101000a81548160ff02191690831515021790555050565b600d80546120ec90615353565b80601f016020809104026020016040519081016040528092919081815260200182805461211890615353565b80156121655780601f1061213a57610100808354040283529160200191612165565b820191906000526020600020905b81548152906001019060200180831161214857829003601f168201915b505050505081565b6060612178826128d6565b6121b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ae90614d18565b60405180910390fd5b60001515600e60009054906101000a900460ff161515141561226557600f80546121e090615353565b80601f016020809104026020016040519081016040528092919081815260200182805461220c90615353565b80156122595780601f1061222e57610100808354040283529160200191612259565b820191906000526020600020905b81548152906001019060200180831161223c57829003601f168201915b50505050509050612271565b61226e82613661565b90505b919050565b6000601354905090565b60125481565b60085481565b6122946128e4565b73ffffffffffffffffffffffffffffffffffffffff166122b2611aab565b73ffffffffffffffffffffffffffffffffffffffff1614612308576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ff90614cf8565b60405180910390fd5b80600d908051906020019061231e929190613f3f565b5050565b600061232d82613708565b9050919050565b600061233e610f3e565b9050601060009054906101000a900460ff1661238f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238690614eb8565b60405180910390fd5b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660ff168260ff161115612424576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241b90614dd8565b60405180910390fd5b6011548260ff168261243691906150b9565b1115612477576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246e90614b98565b60405180910390fd5b61236a8260ff168261248991906150b9565b11156124ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c190614c78565b60405180910390fd5b348260ff166013546124dc9190615140565b111561251d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251490614c18565b60405180910390fd5b81601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff166125789190615202565b92506101000a81548160ff021916908360ff16021790555061259d338360ff166134ac565b5050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600b60009054906101000a900460ff1681565b6126506128e4565b73ffffffffffffffffffffffffffffffffffffffff1661266e611aab565b73ffffffffffffffffffffffffffffffffffffffff16146126c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126bb90614cf8565b60405180910390fd5b80600f90805190602001906126da929190613f3f565b5050565b6126e66128e4565b73ffffffffffffffffffffffffffffffffffffffff16612704611aab565b73ffffffffffffffffffffffffffffffffffffffff161461275a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275190614cf8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156127ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c190614b58565b60405180910390fd5b6127d3816133e8565b50565b6127de6128e4565b73ffffffffffffffffffffffffffffffffffffffff166127fc611aab565b73ffffffffffffffffffffffffffffffffffffffff1614612852576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284990614cf8565b60405180910390fd5b80600a9080519060200190612868929190613f3f565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600060015482109050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006129a9826131e5565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166129d06128e4565b73ffffffffffffffffffffffffffffffffffffffff161480612a2c57506129f56128e4565b73ffffffffffffffffffffffffffffffffffffffff16612a1484610d12565b73ffffffffffffffffffffffffffffffffffffffff16145b80612a485750612a478260000151612a426128e4565b6125a1565b5b905080612a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8190614d58565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612afc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af390614cd8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612b6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6390614bd8565b60405180910390fd5b612b7985858560016137f1565b612b8960008484600001516128ec565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612bf7919061519a565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612c9b9190615073565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050506000600184612da191906150b9565b9050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612ee757612e17816128d6565b15612ee6576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506004600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612f4f86868660016137f7565b505050505050565b6000600854905060008211612fa1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f9890614c58565b60405180910390fd5b600060018383612fb191906150b9565b612fbb91906151ce565b905060017f000000000000000000000000000000000000000000000000000000000000236a612fea91906151ce565b8111156130215760017f000000000000000000000000000000000000000000000000000000000000236a61301e91906151ce565b90505b61302a816128d6565b613069576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161306090614e98565b60405180910390fd5b60008290505b8181116131cc57600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156131b95760006130ec826131e5565b90506040518060400160405280826000015173ffffffffffffffffffffffffffffffffffffffff168152602001826020015167ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050505b80806131c4906153b6565b91505061306f565b506001816131da91906150b9565b600881905550505050565b6131ed613fc5565b6131f6826128d6565b613235576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161322c90614b78565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000a83106132995760017f000000000000000000000000000000000000000000000000000000000000000a8461328c91906151ce565b61329691906150b9565b90505b60008390505b8181106133a7576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614613393578093505050506133e3565b50808061339f90615329565b91505061329f565b506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133da90614ef8565b60405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6134c68282604051806020016040528060008152506137fd565b5050565b60006134eb8473ffffffffffffffffffffffffffffffffffffffff16613cdd565b15613654578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026135146128e4565b8786866040518563ffffffff1660e01b81526004016135369493929190614aaf565b602060405180830381600087803b15801561355057600080fd5b505af192505050801561358157506040513d601f19601f8201168201806040525081019061357e9190614405565b60015b613604573d80600081146135b1576040519150601f19603f3d011682016040523d82523d6000602084013e6135b6565b606091505b506000815114156135fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135f390614e18565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613659565b600190505b949350505050565b606061366c826128d6565b6136ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136a290614d18565b60405180910390fd5b60006136b5613d00565b905060008151116136d55760405180602001604052806000815250613700565b806136df84613d92565b6040516020016136f0929190614a70565b6040516020818303038152906040525b915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613779576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161377090614bf8565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b50505050565b50505050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613874576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161386b90614e58565b60405180910390fd5b61387d816128d6565b156138bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138b490614e38565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000a831115613920576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161391790614f38565b60405180910390fd5b61392d60008583866137f1565b6000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168152505090506040518060400160405280858360000151613a2a9190615073565b6fffffffffffffffffffffffffffffffff168152602001858360200151613a519190615073565b6fffffffffffffffffffffffffffffffff16815250600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b85811015613cc057818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613c6060008884886134ca565b613c9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c9690614e18565b60405180910390fd5b8180613caa906153b6565b9250508080613cb8906153b6565b915050613bef565b5080600181905550613cd560008785886137f7565b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060600c8054613d0f90615353565b80601f0160208091040260200160405190810160405280929190818152602001828054613d3b90615353565b8015613d885780601f10613d5d57610100808354040283529160200191613d88565b820191906000526020600020905b815481529060010190602001808311613d6b57829003601f168201915b5050505050905090565b60606000821415613dda576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613f3a565b600082905060005b60008214613e0c578080613df5906153b6565b915050600a82613e05919061510f565b9150613de2565b60008167ffffffffffffffff811115613e4e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613e805781602001600182028036833780820191505090505b5090505b60008514613f3357600182613e9991906151ce565b9150600a85613ea891906153ff565b6030613eb491906150b9565b60f81b818381518110613ef0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613f2c919061510f565b9450613e84565b8093505050505b919050565b828054613f4b90615353565b90600052602060002090601f016020900481019282613f6d5760008555613fb4565b82601f10613f8657805160ff1916838001178555613fb4565b82800160010185558215613fb4579182015b82811115613fb3578251825591602001919060010190613f98565b5b509050613fc19190613fff565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115614018576000816000905550600101614000565b5090565b600061402f61402a84614fce565b614fa9565b90508281526020810184848401111561404757600080fd5b6140528482856152e7565b509392505050565b600061406d61406884614fff565b614fa9565b90508281526020810184848401111561408557600080fd5b6140908482856152e7565b509392505050565b6000813590506140a781615db0565b92915050565b60008083601f8401126140bf57600080fd5b8235905067ffffffffffffffff8111156140d857600080fd5b6020830191508360208202830111156140f057600080fd5b9250929050565b60008135905061410681615dc7565b92915050565b60008135905061411b81615dde565b92915050565b60008151905061413081615dde565b92915050565b600082601f83011261414757600080fd5b813561415784826020860161401c565b91505092915050565b600082601f83011261417157600080fd5b813561418184826020860161405a565b91505092915050565b60008135905061419981615df5565b92915050565b6000813590506141ae81615e0c565b92915050565b6000602082840312156141c657600080fd5b60006141d484828501614098565b91505092915050565b600080604083850312156141f057600080fd5b60006141fe85828601614098565b925050602061420f85828601614098565b9150509250929050565b60008060006060848603121561422e57600080fd5b600061423c86828701614098565b935050602061424d86828701614098565b925050604061425e8682870161418a565b9150509250925092565b6000806000806080858703121561427e57600080fd5b600061428c87828801614098565b945050602061429d87828801614098565b93505060406142ae8782880161418a565b925050606085013567ffffffffffffffff8111156142cb57600080fd5b6142d787828801614136565b91505092959194509250565b600080604083850312156142f657600080fd5b600061430485828601614098565b9250506020614315858286016140f7565b9150509250929050565b6000806040838503121561433257600080fd5b600061434085828601614098565b92505060206143518582860161418a565b9150509250929050565b60008060006040848603121561437057600080fd5b600084013567ffffffffffffffff81111561438a57600080fd5b614396868287016140ad565b935093505060206143a98682870161419f565b9150509250925092565b6000602082840312156143c557600080fd5b60006143d3848285016140f7565b91505092915050565b6000602082840312156143ee57600080fd5b60006143fc8482850161410c565b91505092915050565b60006020828403121561441757600080fd5b600061442584828501614121565b91505092915050565b60006020828403121561444057600080fd5b600082013567ffffffffffffffff81111561445a57600080fd5b61446684828501614160565b91505092915050565b60006020828403121561448157600080fd5b600061448f8482850161418a565b91505092915050565b6000602082840312156144aa57600080fd5b60006144b88482850161419f565b91505092915050565b6144ca81615236565b82525050565b6144d981615236565b82525050565b6144e881615248565b82525050565b60006144f982615030565b6145038185615046565b93506145138185602086016152f6565b61451c816154ec565b840191505092915050565b60006145328261503b565b61453c8185615057565b935061454c8185602086016152f6565b614555816154ec565b840191505092915050565b600061456b8261503b565b6145758185615068565b93506145858185602086016152f6565b80840191505092915050565b600061459e602283615057565b91506145a9826154fd565b604082019050919050565b60006145c1602683615057565b91506145cc8261554c565b604082019050919050565b60006145e4602a83615057565b91506145ef8261559b565b604082019050919050565b6000614607602b83615057565b9150614612826155ea565b604082019050919050565b600061462a602383615057565b915061463582615639565b604082019050919050565b600061464d602583615057565b915061465882615688565b604082019050919050565b6000614670603183615057565b915061467b826156d7565b604082019050919050565b6000614693601f83615057565b915061469e82615726565b602082019050919050565b60006146b6603983615057565b91506146c18261574f565b604082019050919050565b60006146d9601883615057565b91506146e48261579e565b602082019050919050565b60006146fc602a83615057565b9150614707826157c7565b604082019050919050565b600061471f601683615057565b915061472a82615816565b602082019050919050565b6000614742602b83615057565b915061474d8261583f565b604082019050919050565b6000614765602683615057565b91506147708261588e565b604082019050919050565b6000614788602083615057565b9150614793826158dd565b602082019050919050565b60006147ab602f83615057565b91506147b682615906565b604082019050919050565b60006147ce601a83615057565b91506147d982615955565b602082019050919050565b60006147f1603283615057565b91506147fc8261597e565b604082019050919050565b6000614814601983615057565b915061481f826159cd565b602082019050919050565b6000614837602283615057565b9150614842826159f6565b604082019050919050565b600061485a601b83615057565b915061486582615a45565b602082019050919050565b600061487d602283615057565b915061488882615a6e565b604082019050919050565b60006148a0602283615057565b91506148ab82615abd565b604082019050919050565b60006148c3603383615057565b91506148ce82615b0c565b604082019050919050565b60006148e6601d83615057565b91506148f182615b5b565b602082019050919050565b6000614909602183615057565b915061491482615b84565b604082019050919050565b600061492c602e83615057565b915061493782615bd3565b604082019050919050565b600061494f602683615057565b915061495a82615c22565b604082019050919050565b6000614972601883615057565b915061497d82615c71565b602082019050919050565b6000614995601f83615057565b91506149a082615c9a565b602082019050919050565b60006149b8602f83615057565b91506149c382615cc3565b604082019050919050565b60006149db602d83615057565b91506149e682615d12565b604082019050919050565b60006149fe602283615057565b9150614a0982615d61565b604082019050919050565b604082016000820151614a2a60008501826144c1565b506020820151614a3d6020850182614a52565b50505050565b614a4c816152bc565b82525050565b614a5b816152c6565b82525050565b614a6a816152da565b82525050565b6000614a7c8285614560565b9150614a888284614560565b91508190509392505050565b6000602082019050614aa960008301846144d0565b92915050565b6000608082019050614ac460008301876144d0565b614ad160208301866144d0565b614ade6040830185614a43565b8181036060830152614af081846144ee565b905095945050505050565b6000602082019050614b1060008301846144df565b92915050565b60006020820190508181036000830152614b308184614527565b905092915050565b60006020820190508181036000830152614b5181614591565b9050919050565b60006020820190508181036000830152614b71816145b4565b9050919050565b60006020820190508181036000830152614b91816145d7565b9050919050565b60006020820190508181036000830152614bb1816145fa565b9050919050565b60006020820190508181036000830152614bd18161461d565b9050919050565b60006020820190508181036000830152614bf181614640565b9050919050565b60006020820190508181036000830152614c1181614663565b9050919050565b60006020820190508181036000830152614c3181614686565b9050919050565b60006020820190508181036000830152614c51816146a9565b9050919050565b60006020820190508181036000830152614c71816146cc565b9050919050565b60006020820190508181036000830152614c91816146ef565b9050919050565b60006020820190508181036000830152614cb181614712565b9050919050565b60006020820190508181036000830152614cd181614735565b9050919050565b60006020820190508181036000830152614cf181614758565b9050919050565b60006020820190508181036000830152614d118161477b565b9050919050565b60006020820190508181036000830152614d318161479e565b9050919050565b60006020820190508181036000830152614d51816147c1565b9050919050565b60006020820190508181036000830152614d71816147e4565b9050919050565b60006020820190508181036000830152614d9181614807565b9050919050565b60006020820190508181036000830152614db18161482a565b9050919050565b60006020820190508181036000830152614dd18161484d565b9050919050565b60006020820190508181036000830152614df181614870565b9050919050565b60006020820190508181036000830152614e1181614893565b9050919050565b60006020820190508181036000830152614e31816148b6565b9050919050565b60006020820190508181036000830152614e51816148d9565b9050919050565b60006020820190508181036000830152614e71816148fc565b9050919050565b60006020820190508181036000830152614e918161491f565b9050919050565b60006020820190508181036000830152614eb181614942565b9050919050565b60006020820190508181036000830152614ed181614965565b9050919050565b60006020820190508181036000830152614ef181614988565b9050919050565b60006020820190508181036000830152614f11816149ab565b9050919050565b60006020820190508181036000830152614f31816149ce565b9050919050565b60006020820190508181036000830152614f51816149f1565b9050919050565b6000604082019050614f6d6000830184614a14565b92915050565b6000602082019050614f886000830184614a43565b92915050565b6000602082019050614fa36000830184614a61565b92915050565b6000614fb3614fc4565b9050614fbf8282615385565b919050565b6000604051905090565b600067ffffffffffffffff821115614fe957614fe86154bd565b5b614ff2826154ec565b9050602081019050919050565b600067ffffffffffffffff82111561501a576150196154bd565b5b615023826154ec565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061507e82615280565b915061508983615280565b9250826fffffffffffffffffffffffffffffffff038211156150ae576150ad615430565b5b828201905092915050565b60006150c4826152bc565b91506150cf836152bc565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561510457615103615430565b5b828201905092915050565b600061511a826152bc565b9150615125836152bc565b9250826151355761513461545f565b5b828204905092915050565b600061514b826152bc565b9150615156836152bc565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561518f5761518e615430565b5b828202905092915050565b60006151a582615280565b91506151b083615280565b9250828210156151c3576151c2615430565b5b828203905092915050565b60006151d9826152bc565b91506151e4836152bc565b9250828210156151f7576151f6615430565b5b828203905092915050565b600061520d826152da565b9150615218836152da565b92508282101561522b5761522a615430565b5b828203905092915050565b60006152418261529c565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156153145780820151818401526020810190506152f9565b83811115615323576000848401525b50505050565b6000615334826152bc565b9150600082141561534857615347615430565b5b600182039050919050565b6000600282049050600182168061536b57607f821691505b6020821081141561537f5761537e61548e565b5b50919050565b61538e826154ec565b810181811067ffffffffffffffff821117156153ad576153ac6154bd565b5b80604052505050565b60006153c1826152bc565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156153f4576153f3615430565b5b600182019050919050565b600061540a826152bc565b9150615415836152bc565b9250826154255761542461545f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564207061727469616c20737560008201527f70706c7920746f6b656e73000000000000000000000000000000000000000000602082015250565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a206e756d626572206d696e74656420717565727920666f7260008201527f20746865207a65726f2061646472657373000000000000000000000000000000602082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b7f7175616e74697479206d757374206265206e6f6e7a65726f0000000000000000600082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f6620746f6b656e7300000000000000000000000000000000000000000000602082015250565b7f43616e206e6f74206d696e742074686973206d616e7900000000000000000000600082015250565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f4e6f7420656e6f756768204e46547320617661696c61626c6500000000000000600082015250565b7f53616c65206d7573742062652061637469766520746f206d696e7420746f6b6560008201527f6e73000000000000000000000000000000000000000000000000000000000000602082015250565b7f4578636565646564206d617820746f6b656e2070757263686173650000000000600082015250565b7f4578636565646564206d617820617661696c61626c6520746f2070757263686160008201527f7365000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b7f455243373231413a20746f6b656e20616c7265616479206d696e746564000000600082015250565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b7f6e6f7420656e6f756768206d696e7465642079657420666f722074686973206360008201527f6c65616e75700000000000000000000000000000000000000000000000000000602082015250565b7f416c6c6f77206c697374206973206e6f74206163746976650000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b7f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960008201527f6768000000000000000000000000000000000000000000000000000000000000602082015250565b615db981615236565b8114615dc457600080fd5b50565b615dd081615248565b8114615ddb57600080fd5b50565b615de781615254565b8114615df257600080fd5b50565b615dfe816152bc565b8114615e0957600080fd5b50565b615e15816152da565b8114615e2057600080fd5b5056fea26469706673582212202ef40b9810f45c028171c206b264f33008c78d200c423b369b62b03043688d6b64736f6c63430008010033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000236a000000000000000000000000000000000000000000000000000000000000000f456c617269756d3a2048756d616e730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a454c415248554d414e53000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005c68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d505a43734558623639756b65344b7577537448474e5533754d48767258613639384333737965564d4479746b2f68696464656e2e6a736f6e00000000
-----Decoded View---------------
Arg [0] : _name (string): Elarium: Humans
Arg [1] : _symbol (string): ELARHUMANS
Arg [2] : _initBaseURI (string):
Arg [3] : _initNotRevealedUri (string): https://gateway.pinata.cloud/ipfs/QmPZCsEXb69uke4KuwStHGNU3uMHvrXa698C3syeVMDytk/hidden.json
Arg [4] : maxBatchSize_ (uint256): 10
Arg [5] : collectionSize_ (uint256): 9066
-----Encoded View---------------
15 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [5] : 000000000000000000000000000000000000000000000000000000000000236a
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [7] : 456c617269756d3a2048756d616e730000000000000000000000000000000000
Arg [8] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [9] : 454c415248554d414e5300000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [11] : 000000000000000000000000000000000000000000000000000000000000005c
Arg [12] : 68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066
Arg [13] : 732f516d505a43734558623639756b65344b7577537448474e5533754d487672
Arg [14] : 58613639384333737965564d4479746b2f68696464656e2e6a736f6e00000000
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.