ERC-721
Overview
Max Total Supply
1,105 TS
Holders
190
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 TSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ToonSocietyMain
Compiler Version
v0.8.9+commit.e5eed63a
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.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract ToonSocietyMain is ERC721Enumerable, Ownable { using Counters for Counters.Counter; using SafeMath for uint256; Counters.Counter private _tokenIds; //metadata info string public baseURI; string public baseExtension = ".json"; //string public notRevealedURI; string public mycontractURI; //Collection Description uint256 public whitelistCost = 0.06 ether; uint256 public publicSaleCost = 0.09 ether; uint256 public maxSupply = 4444; //Number of NFTs in collection uint256 public maxMintAmount = 9; //Maximum number of nfts that can be minted per transaction uint256 public nftPerAddressLimit = 9; //Maxmimum number of nfts per Wallet uint96 royaltyBasis; bool public paused = false; bool public revealed = false; bool public onlyWhitelisted = true; address royaltyAddress; bytes32 public whitelistRoot; //merkle tree root for whitelist verification mapping(address => uint256) public freeMintAddresses; mapping(address => uint256) public addressMintedBalance; constructor(string memory _name, string memory _symbol, string memory _initBaseURI, //string memory _initNotRevealedUri, uint96 _royaltyBasis, string memory _contractURI, bytes32 _whitelistRoot) ERC721(_name, _symbol) { setBaseURI(_initBaseURI); //setNotRevealedURI(_initNotRevealedUri); royaltyAddress = owner(); royaltyBasis = _royaltyBasis; mycontractURI = _contractURI; whitelistRoot = _whitelistRoot; } // internal function _baseURI() internal view virtual override returns (string memory) { return baseURI; } // function _notRevealedURI() internal view virtual returns (string memory) { // return notRevealedURI; // } function mint(uint256 _mintAmount, bytes32[] calldata _merkleProof) public payable { require(!paused, "the contract is paused"); uint256 supply = totalSupply(); require(_mintAmount > 0, "need to mint at least 1 NFT"); require(supply + _mintAmount <= maxSupply, "max NFT limit exceeded"); if (msg.sender != owner()) { require(_mintAmount <= maxMintAmount, "max mint amount per session exceeded"); require(addressMintedBalance[msg.sender] + _mintAmount <= nftPerAddressLimit, "max NFT per address exceeded"); if(onlyWhitelisted) { //whitelist Sale require(MerkleProof.verify(_merkleProof, whitelistRoot, keccak256(abi.encodePacked(msg.sender))), "Wallet is not whitelisted"); require(msg.value >= whitelistCost * _mintAmount, "insufficient funds"); } else{ //public Sale require(msg.value >= publicSaleCost * _mintAmount, "insufficient funds"); } } for (uint256 i = 1; i <= _mintAmount; i++) { addressMintedBalance[msg.sender]++; _safeMint(msg.sender, supply + i); } } function freeMint(uint256 _mintAmount) public { require(!paused, "the contract is paused"); require(!onlyWhitelisted, "Presale only"); uint256 supply = totalSupply(); require(_mintAmount > 0, "need to mint at least 1 NFT"); require(supply + _mintAmount <= maxSupply, "max NFT limit exceeded"); require(_mintAmount <= freeMintAddresses[msg.sender], "Unsufficient free mints available"); for (uint256 i = 1; i <= _mintAmount; i++) { freeMintAddresses[msg.sender]--; addressMintedBalance[msg.sender]++; _safeMint(msg.sender, supply + i); } } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory tokenIds = new uint256[](ownerTokenCount); for (uint256 i; i < ownerTokenCount; i++) { tokenIds[i] = tokenOfOwnerByIndex(_owner, i); } return tokenIds; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); // if(!revealed) { // string memory currentNotRevealedURI = _notRevealedURI(); // return bytes(currentNotRevealedURI).length > 0 // ? string(abi.encodePacked(currentNotRevealedURI, Strings.toString(tokenId), baseExtension)) // : ""; // } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, Strings.toString(tokenId), baseExtension)) : ""; } function contractURI() public view returns (string memory) { return string(abi.encodePacked(mycontractURI)); } function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view returns (address receiver, uint256 royaltyAmount){ return (royaltyAddress, _salePrice.mul(royaltyBasis).div(10000)); } function supportsInterface(bytes4 interfaceId) public view override(ERC721Enumerable) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || interfaceId == 0xe8a3d485 /* contractURI() */ || interfaceId == 0x2a55205a /* ERC-2981 royaltyInfo() */ || super.supportsInterface(interfaceId); } //only owner // function reveal() public onlyOwner { // revealed = true; // } function setRoyaltyInfo(address _receiver, uint96 _royaltyBasis) public onlyOwner { royaltyAddress = _receiver; royaltyBasis = _royaltyBasis; } function setContractURI(string calldata _contractURI) public onlyOwner { mycontractURI = _contractURI; } function setNftPerAddressLimit(uint256 _limit) public onlyOwner { nftPerAddressLimit = _limit; } function setWhitelistCost(uint256 _whitelistCost) public onlyOwner { whitelistCost = _whitelistCost; } function setPublicCost(uint256 _publicCost) public onlyOwner { publicSaleCost = _publicCost; } function setmaxMintAmount(uint8 _newmaxMintAmount) public onlyOwner { maxMintAmount = _newmaxMintAmount; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setBaseExtension(string memory _newBaseExtension) public onlyOwner { baseExtension = _newBaseExtension; } // function setNotRevealedURI(string memory _notRevealedUri) public onlyOwner { // notRevealedURI = _notRevealedUri; // } function pause(bool _state) public onlyOwner { paused = _state; } function setOnlyWhitelisted(bool _onlyWhitelist) public onlyOwner { onlyWhitelisted = _onlyWhitelist; } function setWhitelistRoot(bytes32 _whitelistRoot) public onlyOwner{ whitelistRoot = _whitelistRoot; } function addUsersToFreeMint(address[] memory _users, uint256[] memory _mintAmt) public onlyOwner { for(uint256 i=0;i<_users.length;i++) freeMintAddresses[_users[i]] = _mintAmt[i]; } function withdraw() public payable onlyOwner { // ============================================================================= (bool os, ) = payable(owner()).call{value: address(this).balance}(""); require(os); // ============================================================================= } }
// 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 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev 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` cannot be the zero address. * - `to` cannot be the zero address. * * 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 override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // 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 (token/ERC721/extensions/ERC721URIStorage.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @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 override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// 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/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.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":"uint96","name":"_royaltyBasis","type":"uint96"},{"internalType":"string","name":"_contractURI","type":"string"},{"internalType":"bytes32","name":"_whitelistRoot","type":"bytes32"}],"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":[{"internalType":"address[]","name":"_users","type":"address[]"},{"internalType":"uint256[]","name":"_mintAmt","type":"uint256[]"}],"name":"addUsersToFreeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeMintAddresses","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mycontractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftPerAddressLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onlyWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_contractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setNftPerAddressLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_onlyWhitelist","type":"bool"}],"name":"setOnlyWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicCost","type":"uint256"}],"name":"setPublicCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_royaltyBasis","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_whitelistCost","type":"uint256"}],"name":"setWhitelistCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_whitelistRoot","type":"bytes32"}],"name":"setWhitelistRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_newmaxMintAmount","type":"uint8"}],"name":"setmaxMintAmount","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":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60806040526040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600d908051906020019062000051929190620003b4565b5066d529ae9e860000600f5567013fbe85edc9000060105561115c6011556009601255600960135560006014600c6101000a81548160ff02191690831515021790555060006014600d6101000a81548160ff02191690831515021790555060016014600e6101000a81548160ff021916908315150217905550348015620000d757600080fd5b50604051620066a0380380620066a08339818101604052810190620000fd919062000685565b8585816000908051906020019062000117929190620003b4565b50806001908051906020019062000130929190620003b4565b50505062000153620001476200021160201b60201c565b6200021960201b60201c565b6200016484620002df60201b60201c565b620001746200038a60201b60201c565b601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082601460006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555081600e9080519060200190620001fd929190620003b4565b508060168190555050505050505062000885565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002ef6200021160201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003156200038a60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200036e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200036590620007fe565b60405180910390fd5b80600c908051906020019062000386929190620003b4565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620003c2906200084f565b90600052602060002090601f016020900481019282620003e6576000855562000432565b82601f106200040157805160ff191683800117855562000432565b8280016001018555821562000432579182015b828111156200043157825182559160200191906001019062000414565b5b50905062000441919062000445565b5090565b5b808211156200046057600081600090555060010162000446565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620004cd8262000482565b810181811067ffffffffffffffff82111715620004ef57620004ee62000493565b5b80604052505050565b60006200050462000464565b9050620005128282620004c2565b919050565b600067ffffffffffffffff82111562000535576200053462000493565b5b620005408262000482565b9050602081019050919050565b60005b838110156200056d57808201518184015260208101905062000550565b838111156200057d576000848401525b50505050565b60006200059a620005948462000517565b620004f8565b905082815260208101848484011115620005b957620005b86200047d565b5b620005c68482856200054d565b509392505050565b600082601f830112620005e657620005e562000478565b5b8151620005f884826020860162000583565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b620006248162000601565b81146200063057600080fd5b50565b600081519050620006448162000619565b92915050565b6000819050919050565b6200065f816200064a565b81146200066b57600080fd5b50565b6000815190506200067f8162000654565b92915050565b60008060008060008060c08789031215620006a557620006a46200046e565b5b600087015167ffffffffffffffff811115620006c657620006c562000473565b5b620006d489828a01620005ce565b965050602087015167ffffffffffffffff811115620006f857620006f762000473565b5b6200070689828a01620005ce565b955050604087015167ffffffffffffffff8111156200072a576200072962000473565b5b6200073889828a01620005ce565b94505060606200074b89828a0162000633565b935050608087015167ffffffffffffffff8111156200076f576200076e62000473565b5b6200077d89828a01620005ce565b92505060a06200079089828a016200066e565b9150509295509295509295565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000620007e66020836200079d565b9150620007f382620007ae565b602082019050919050565b600060208201905081810360008301526200081981620007d7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200086857607f821691505b602082108114156200087f576200087e62000820565b5b50919050565b615e0b80620008956000396000f3fe6080604052600436106102e45760003560e01c8063639d7e1111610190578063ba7d2c76116100dc578063da3ef23f11610095578063e985e9c51161006f578063e985e9c514610b31578063f2fde38b14610b6e578063f5aa406d14610b97578063f8f53e6f14610bc0576102e4565b8063da3ef23f14610ab2578063e7b99ec714610adb578063e8a3d48514610b06576102e4565b8063ba7d2c76146109a2578063c6682862146109cd578063c87b56dd146109f8578063d0eb26b014610a35578063d49479eb14610a5e578063d5abeb0114610a87576102e4565b80638da5cb5b116101495780639c70b512116101235780639c70b51214610909578063a22cb46514610934578063b88d4fde1461095d578063ba41b0c614610986576102e4565b80638da5cb5b1461088a578063938e3d7b146108b557806395d89b41146108de576102e4565b8063639d7e111461078e5780636c0360eb146107b957806370a08231146107e4578063715018a6146108215780637c928fe914610838578063811d243714610861576102e4565b80632ef54bb91161024f578063438b63001161020857806351830227116101e257806351830227146106d257806355f804b3146106fd5780635c975abb146107265780636352211e14610751576102e4565b8063438b63001461062d578063453afb0f1461066a5780634f6ccce714610695576102e4565b80632ef54bb9146105405780632f745c5914610569578063386bfc98146105a65780633c952764146105d15780633ccfd60b146105fa57806342842e0e14610604576102e4565b8063095ea7b3116102a1578063095ea7b31461041d57806318160ddd1461044657806318cae26914610471578063239c70ae146104ae57806323b872dd146104d95780632a55205a14610502576102e4565b806301fab91a146102e957806301ffc9a71461032657806302329a291461036357806302fa7c471461038c57806306fdde03146103b5578063081812fc146103e0575b600080fd5b3480156102f557600080fd5b50610310600480360381019061030b9190613e0e565b610be9565b60405161031d9190613e54565b60405180910390f35b34801561033257600080fd5b5061034d60048036038101906103489190613ec7565b610c01565b60405161035a9190613f0f565b60405180910390f35b34801561036f57600080fd5b5061038a60048036038101906103859190613f56565b610cdb565b005b34801561039857600080fd5b506103b360048036038101906103ae9190613fc7565b610d74565b005b3480156103c157600080fd5b506103ca610e66565b6040516103d791906140a0565b60405180910390f35b3480156103ec57600080fd5b50610407600480360381019061040291906140ee565b610ef8565b604051610414919061412a565b60405180910390f35b34801561042957600080fd5b50610444600480360381019061043f9190614145565b610f7d565b005b34801561045257600080fd5b5061045b611095565b6040516104689190613e54565b60405180910390f35b34801561047d57600080fd5b5061049860048036038101906104939190613e0e565b6110a2565b6040516104a59190613e54565b60405180910390f35b3480156104ba57600080fd5b506104c36110ba565b6040516104d09190613e54565b60405180910390f35b3480156104e557600080fd5b5061050060048036038101906104fb9190614185565b6110c0565b005b34801561050e57600080fd5b50610529600480360381019061052491906141d8565b611120565b604051610537929190614218565b60405180910390f35b34801561054c57600080fd5b506105676004803603810190610562919061444c565b6111a0565b005b34801561057557600080fd5b50610590600480360381019061058b9190614145565b6112b8565b60405161059d9190613e54565b60405180910390f35b3480156105b257600080fd5b506105bb61135d565b6040516105c891906144dd565b60405180910390f35b3480156105dd57600080fd5b506105f860048036038101906105f39190613f56565b611363565b005b6106026113fc565b005b34801561061057600080fd5b5061062b60048036038101906106269190614185565b6114f8565b005b34801561063957600080fd5b50610654600480360381019061064f9190613e0e565b611518565b60405161066191906145b6565b60405180910390f35b34801561067657600080fd5b5061067f6115c6565b60405161068c9190613e54565b60405180910390f35b3480156106a157600080fd5b506106bc60048036038101906106b791906140ee565b6115cc565b6040516106c99190613e54565b60405180910390f35b3480156106de57600080fd5b506106e761163d565b6040516106f49190613f0f565b60405180910390f35b34801561070957600080fd5b50610724600480360381019061071f919061468d565b611650565b005b34801561073257600080fd5b5061073b6116e6565b6040516107489190613f0f565b60405180910390f35b34801561075d57600080fd5b50610778600480360381019061077391906140ee565b6116f9565b604051610785919061412a565b60405180910390f35b34801561079a57600080fd5b506107a36117ab565b6040516107b091906140a0565b60405180910390f35b3480156107c557600080fd5b506107ce611839565b6040516107db91906140a0565b60405180910390f35b3480156107f057600080fd5b5061080b60048036038101906108069190613e0e565b6118c7565b6040516108189190613e54565b60405180910390f35b34801561082d57600080fd5b5061083661197f565b005b34801561084457600080fd5b5061085f600480360381019061085a91906140ee565b611a07565b005b34801561086d57600080fd5b50610888600480360381019061088391906140ee565b611cad565b005b34801561089657600080fd5b5061089f611d33565b6040516108ac919061412a565b60405180910390f35b3480156108c157600080fd5b506108dc60048036038101906108d79190614731565b611d5d565b005b3480156108ea57600080fd5b506108f3611def565b60405161090091906140a0565b60405180910390f35b34801561091557600080fd5b5061091e611e81565b60405161092b9190613f0f565b60405180910390f35b34801561094057600080fd5b5061095b6004803603810190610956919061477e565b611e94565b005b34801561096957600080fd5b50610984600480360381019061097f919061485f565b611eaa565b005b6109a0600480360381019061099b9190614938565b611f0c565b005b3480156109ae57600080fd5b506109b761230a565b6040516109c49190613e54565b60405180910390f35b3480156109d957600080fd5b506109e2612310565b6040516109ef91906140a0565b60405180910390f35b348015610a0457600080fd5b50610a1f6004803603810190610a1a91906140ee565b61239e565b604051610a2c91906140a0565b60405180910390f35b348015610a4157600080fd5b50610a5c6004803603810190610a5791906140ee565b612448565b005b348015610a6a57600080fd5b50610a856004803603810190610a8091906140ee565b6124ce565b005b348015610a9357600080fd5b50610a9c612554565b604051610aa99190613e54565b60405180910390f35b348015610abe57600080fd5b50610ad96004803603810190610ad4919061468d565b61255a565b005b348015610ae757600080fd5b50610af06125f0565b604051610afd9190613e54565b60405180910390f35b348015610b1257600080fd5b50610b1b6125f6565b604051610b2891906140a0565b60405180910390f35b348015610b3d57600080fd5b50610b586004803603810190610b539190614998565b61261e565b604051610b659190613f0f565b60405180910390f35b348015610b7a57600080fd5b50610b956004803603810190610b909190613e0e565b6126b2565b005b348015610ba357600080fd5b50610bbe6004803603810190610bb99190614a04565b6127aa565b005b348015610bcc57600080fd5b50610be76004803603810190610be29190614a6a565b612830565b005b60176020528060005260406000206000915090505481565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c94575063e8a3d48560e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cc45750632a55205a60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cd45750610cd3826128b9565b5b9050919050565b610ce3612933565b73ffffffffffffffffffffffffffffffffffffffff16610d01611d33565b73ffffffffffffffffffffffffffffffffffffffff1614610d57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4e90614ae3565b60405180910390fd5b806014600c6101000a81548160ff02191690831515021790555050565b610d7c612933565b73ffffffffffffffffffffffffffffffffffffffff16610d9a611d33565b73ffffffffffffffffffffffffffffffffffffffff1614610df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de790614ae3565b60405180910390fd5b81601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601460006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055505050565b606060008054610e7590614b32565b80601f0160208091040260200160405190810160405280929190818152602001828054610ea190614b32565b8015610eee5780601f10610ec357610100808354040283529160200191610eee565b820191906000526020600020905b815481529060010190602001808311610ed157829003601f168201915b5050505050905090565b6000610f038261293b565b610f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3990614bd6565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610f88826116f9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ff9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff090614c68565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16611018612933565b73ffffffffffffffffffffffffffffffffffffffff161480611047575061104681611041612933565b61261e565b5b611086576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107d90614cfa565b60405180910390fd5b61109083836129a7565b505050565b6000600880549050905090565b60186020528060005260406000206000915090505481565b60125481565b6110d16110cb612933565b82612a60565b611110576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110790614d8c565b60405180910390fd5b61111b838383612b3e565b505050565b600080601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611195612710611187601460009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1687612da590919063ffffffff16565b612dbb90919063ffffffff16565b915091509250929050565b6111a8612933565b73ffffffffffffffffffffffffffffffffffffffff166111c6611d33565b73ffffffffffffffffffffffffffffffffffffffff161461121c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121390614ae3565b60405180910390fd5b60005b82518110156112b35781818151811061123b5761123a614dac565b5b60200260200101516017600085848151811061125a57611259614dac565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080806112ab90614e0a565b91505061121f565b505050565b60006112c3836118c7565b8210611304576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112fb90614ec5565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60165481565b61136b612933565b73ffffffffffffffffffffffffffffffffffffffff16611389611d33565b73ffffffffffffffffffffffffffffffffffffffff16146113df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d690614ae3565b60405180910390fd5b806014600e6101000a81548160ff02191690831515021790555050565b611404612933565b73ffffffffffffffffffffffffffffffffffffffff16611422611d33565b73ffffffffffffffffffffffffffffffffffffffff1614611478576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146f90614ae3565b60405180910390fd5b6000611482611d33565b73ffffffffffffffffffffffffffffffffffffffff16476040516114a590614f16565b60006040518083038185875af1925050503d80600081146114e2576040519150601f19603f3d011682016040523d82523d6000602084013e6114e7565b606091505b50509050806114f557600080fd5b50565b61151383838360405180602001604052806000815250611eaa565b505050565b60606000611525836118c7565b905060008167ffffffffffffffff81111561154357611542614246565b5b6040519080825280602002602001820160405280156115715781602001602082028036833780820191505090505b50905060005b828110156115bb5761158985826112b8565b82828151811061159c5761159b614dac565b5b60200260200101818152505080806115b390614e0a565b915050611577565b508092505050919050565b60105481565b60006115d6611095565b8210611617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160e90614f9d565b60405180910390fd5b6008828154811061162b5761162a614dac565b5b90600052602060002001549050919050565b6014600d9054906101000a900460ff1681565b611658612933565b73ffffffffffffffffffffffffffffffffffffffff16611676611d33565b73ffffffffffffffffffffffffffffffffffffffff16146116cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c390614ae3565b60405180910390fd5b80600c90805190602001906116e2929190613c73565b5050565b6014600c9054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117999061502f565b60405180910390fd5b80915050919050565b600e80546117b890614b32565b80601f01602080910402602001604051908101604052809291908181526020018280546117e490614b32565b80156118315780601f1061180657610100808354040283529160200191611831565b820191906000526020600020905b81548152906001019060200180831161181457829003601f168201915b505050505081565b600c805461184690614b32565b80601f016020809104026020016040519081016040528092919081815260200182805461187290614b32565b80156118bf5780601f10611894576101008083540402835291602001916118bf565b820191906000526020600020905b8154815290600101906020018083116118a257829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611938576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192f906150c1565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611987612933565b73ffffffffffffffffffffffffffffffffffffffff166119a5611d33565b73ffffffffffffffffffffffffffffffffffffffff16146119fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f290614ae3565b60405180910390fd5b611a056000612dd1565b565b6014600c9054906101000a900460ff1615611a57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4e9061512d565b60405180910390fd5b6014600e9054906101000a900460ff1615611aa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9e90615199565b60405180910390fd5b6000611ab1611095565b905060008211611af6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aed90615205565b60405180910390fd5b6011548282611b059190615225565b1115611b46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3d906152c7565b60405180910390fd5b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054821115611bc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bbf90615359565b60405180910390fd5b6000600190505b828111611ca857601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190611c2690615379565b9190505550601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190611c7b90614e0a565b9190505550611c95338284611c909190615225565b612e97565b8080611ca090614e0a565b915050611bcf565b505050565b611cb5612933565b73ffffffffffffffffffffffffffffffffffffffff16611cd3611d33565b73ffffffffffffffffffffffffffffffffffffffff1614611d29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2090614ae3565b60405180910390fd5b8060108190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611d65612933565b73ffffffffffffffffffffffffffffffffffffffff16611d83611d33565b73ffffffffffffffffffffffffffffffffffffffff1614611dd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd090614ae3565b60405180910390fd5b8181600e9190611dea929190613cf9565b505050565b606060018054611dfe90614b32565b80601f0160208091040260200160405190810160405280929190818152602001828054611e2a90614b32565b8015611e775780601f10611e4c57610100808354040283529160200191611e77565b820191906000526020600020905b815481529060010190602001808311611e5a57829003601f168201915b5050505050905090565b6014600e9054906101000a900460ff1681565b611ea6611e9f612933565b8383612eb5565b5050565b611ebb611eb5612933565b83612a60565b611efa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef190614d8c565b60405180910390fd5b611f0684848484613022565b50505050565b6014600c9054906101000a900460ff1615611f5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f539061512d565b60405180910390fd5b6000611f66611095565b905060008411611fab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa290615205565b60405180910390fd5b6011548482611fba9190615225565b1115611ffb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff2906152c7565b60405180910390fd5b612003611d33565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146122785760125484111561207a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207190615415565b60405180910390fd5b60135484601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120c89190615225565b1115612109576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210090615481565b60405180910390fd5b6014600e9054906101000a900460ff161561222657612192838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506016543360405160200161217791906154e9565b6040516020818303038152906040528051906020012061307e565b6121d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c890615550565b60405180910390fd5b83600f546121df9190615570565b341015612221576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221890615616565b60405180910390fd5b612277565b836010546122349190615570565b341015612276576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226d90615616565b60405180910390fd5b5b5b6000600190505b84811161230357601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906122d690614e0a565b91905055506122f03382846122eb9190615225565b612e97565b80806122fb90614e0a565b91505061227f565b5050505050565b60135481565b600d805461231d90614b32565b80601f016020809104026020016040519081016040528092919081815260200182805461234990614b32565b80156123965780601f1061236b57610100808354040283529160200191612396565b820191906000526020600020905b81548152906001019060200180831161237957829003601f168201915b505050505081565b60606123a98261293b565b6123e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123df906156a8565b60405180910390fd5b60006123f2613095565b905060008151116124125760405180602001604052806000815250612440565b8061241c84613127565b600d60405160200161243093929190615798565b6040516020818303038152906040525b915050919050565b612450612933565b73ffffffffffffffffffffffffffffffffffffffff1661246e611d33565b73ffffffffffffffffffffffffffffffffffffffff16146124c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124bb90614ae3565b60405180910390fd5b8060138190555050565b6124d6612933565b73ffffffffffffffffffffffffffffffffffffffff166124f4611d33565b73ffffffffffffffffffffffffffffffffffffffff161461254a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254190614ae3565b60405180910390fd5b80600f8190555050565b60115481565b612562612933565b73ffffffffffffffffffffffffffffffffffffffff16612580611d33565b73ffffffffffffffffffffffffffffffffffffffff16146125d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125cd90614ae3565b60405180910390fd5b80600d90805190602001906125ec929190613c73565b5050565b600f5481565b6060600e60405160200161260a91906157c9565b604051602081830303815290604052905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6126ba612933565b73ffffffffffffffffffffffffffffffffffffffff166126d8611d33565b73ffffffffffffffffffffffffffffffffffffffff161461272e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272590614ae3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561279e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279590615852565b60405180910390fd5b6127a781612dd1565b50565b6127b2612933565b73ffffffffffffffffffffffffffffffffffffffff166127d0611d33565b73ffffffffffffffffffffffffffffffffffffffff1614612826576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281d90614ae3565b60405180910390fd5b8060168190555050565b612838612933565b73ffffffffffffffffffffffffffffffffffffffff16612856611d33565b73ffffffffffffffffffffffffffffffffffffffff16146128ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128a390614ae3565b60405180910390fd5b8060ff1660128190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061292c575061292b82613288565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612a1a836116f9565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612a6b8261293b565b612aaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa1906158e4565b60405180910390fd5b6000612ab5836116f9565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612b2457508373ffffffffffffffffffffffffffffffffffffffff16612b0c84610ef8565b73ffffffffffffffffffffffffffffffffffffffff16145b80612b355750612b34818561261e565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612b5e826116f9565b73ffffffffffffffffffffffffffffffffffffffff1614612bb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bab90615976565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c1b90615a08565b60405180910390fd5b612c2f83838361336a565b612c3a6000826129a7565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c8a9190615a28565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ce19190615225565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612da083838361347e565b505050565b60008183612db39190615570565b905092915050565b60008183612dc99190615a8b565b905092915050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612eb1828260405180602001604052806000815250613483565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612f24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1b90615b08565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516130159190613f0f565b60405180910390a3505050565b61302d848484612b3e565b613039848484846134de565b613078576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161306f90615b9a565b60405180910390fd5b50505050565b60008261308b8584613675565b1490509392505050565b6060600c80546130a490614b32565b80601f01602080910402602001604051908101604052809291908181526020018280546130d090614b32565b801561311d5780601f106130f25761010080835404028352916020019161311d565b820191906000526020600020905b81548152906001019060200180831161310057829003601f168201915b5050505050905090565b6060600082141561316f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613283565b600082905060005b600082146131a157808061318a90614e0a565b915050600a8261319a9190615a8b565b9150613177565b60008167ffffffffffffffff8111156131bd576131bc614246565b5b6040519080825280601f01601f1916602001820160405280156131ef5781602001600182028036833780820191505090505b5090505b6000851461327c576001826132089190615a28565b9150600a856132179190615bba565b60306132239190615225565b60f81b81838151811061323957613238614dac565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856132759190615a8b565b94506131f3565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061335357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806133635750613362826136ea565b5b9050919050565b613375838383613754565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156133b8576133b381613759565b6133f7565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146133f6576133f583826137a2565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561343a576134358161390f565b613479565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146134785761347782826139e0565b5b5b505050565b505050565b61348d8383613a5f565b61349a60008484846134de565b6134d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134d090615b9a565b60405180910390fd5b505050565b60006134ff8473ffffffffffffffffffffffffffffffffffffffff16613c39565b15613668578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613528612933565b8786866040518563ffffffff1660e01b815260040161354a9493929190615c40565b602060405180830381600087803b15801561356457600080fd5b505af192505050801561359557506040513d601f19601f820116820180604052508101906135929190615ca1565b60015b613618573d80600081146135c5576040519150601f19603f3d011682016040523d82523d6000602084013e6135ca565b606091505b50600081511415613610576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161360790615b9a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061366d565b600190505b949350505050565b60008082905060005b84518110156136df57600085828151811061369c5761369b614dac565b5b602002602001015190508083116136be576136b78382613c5c565b92506136cb565b6136c88184613c5c565b92505b5080806136d790614e0a565b91505061367e565b508091505092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016137af846118c7565b6137b99190615a28565b905060006007600084815260200190815260200160002054905081811461389e576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506139239190615a28565b905060006009600084815260200190815260200160002054905060006008838154811061395357613952614dac565b5b90600052602060002001549050806008838154811061397557613974614dac565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806139c4576139c3615cce565b5b6001900381819060005260206000200160009055905550505050565b60006139eb836118c7565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613acf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ac690615d49565b60405180910390fd5b613ad88161293b565b15613b18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b0f90615db5565b60405180910390fd5b613b246000838361336a565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613b749190615225565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613c356000838361347e565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b828054613c7f90614b32565b90600052602060002090601f016020900481019282613ca15760008555613ce8565b82601f10613cba57805160ff1916838001178555613ce8565b82800160010185558215613ce8579182015b82811115613ce7578251825591602001919060010190613ccc565b5b509050613cf59190613d7f565b5090565b828054613d0590614b32565b90600052602060002090601f016020900481019282613d275760008555613d6e565b82601f10613d4057803560ff1916838001178555613d6e565b82800160010185558215613d6e579182015b82811115613d6d578235825591602001919060010190613d52565b5b509050613d7b9190613d7f565b5090565b5b80821115613d98576000816000905550600101613d80565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613ddb82613db0565b9050919050565b613deb81613dd0565b8114613df657600080fd5b50565b600081359050613e0881613de2565b92915050565b600060208284031215613e2457613e23613da6565b5b6000613e3284828501613df9565b91505092915050565b6000819050919050565b613e4e81613e3b565b82525050565b6000602082019050613e696000830184613e45565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613ea481613e6f565b8114613eaf57600080fd5b50565b600081359050613ec181613e9b565b92915050565b600060208284031215613edd57613edc613da6565b5b6000613eeb84828501613eb2565b91505092915050565b60008115159050919050565b613f0981613ef4565b82525050565b6000602082019050613f246000830184613f00565b92915050565b613f3381613ef4565b8114613f3e57600080fd5b50565b600081359050613f5081613f2a565b92915050565b600060208284031215613f6c57613f6b613da6565b5b6000613f7a84828501613f41565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b613fa481613f83565b8114613faf57600080fd5b50565b600081359050613fc181613f9b565b92915050565b60008060408385031215613fde57613fdd613da6565b5b6000613fec85828601613df9565b9250506020613ffd85828601613fb2565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b83811015614041578082015181840152602081019050614026565b83811115614050576000848401525b50505050565b6000601f19601f8301169050919050565b600061407282614007565b61407c8185614012565b935061408c818560208601614023565b61409581614056565b840191505092915050565b600060208201905081810360008301526140ba8184614067565b905092915050565b6140cb81613e3b565b81146140d657600080fd5b50565b6000813590506140e8816140c2565b92915050565b60006020828403121561410457614103613da6565b5b6000614112848285016140d9565b91505092915050565b61412481613dd0565b82525050565b600060208201905061413f600083018461411b565b92915050565b6000806040838503121561415c5761415b613da6565b5b600061416a85828601613df9565b925050602061417b858286016140d9565b9150509250929050565b60008060006060848603121561419e5761419d613da6565b5b60006141ac86828701613df9565b93505060206141bd86828701613df9565b92505060406141ce868287016140d9565b9150509250925092565b600080604083850312156141ef576141ee613da6565b5b60006141fd858286016140d9565b925050602061420e858286016140d9565b9150509250929050565b600060408201905061422d600083018561411b565b61423a6020830184613e45565b9392505050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61427e82614056565b810181811067ffffffffffffffff8211171561429d5761429c614246565b5b80604052505050565b60006142b0613d9c565b90506142bc8282614275565b919050565b600067ffffffffffffffff8211156142dc576142db614246565b5b602082029050602081019050919050565b600080fd5b6000614305614300846142c1565b6142a6565b90508083825260208201905060208402830185811115614328576143276142ed565b5b835b81811015614351578061433d8882613df9565b84526020840193505060208101905061432a565b5050509392505050565b600082601f8301126143705761436f614241565b5b81356143808482602086016142f2565b91505092915050565b600067ffffffffffffffff8211156143a4576143a3614246565b5b602082029050602081019050919050565b60006143c86143c384614389565b6142a6565b905080838252602082019050602084028301858111156143eb576143ea6142ed565b5b835b81811015614414578061440088826140d9565b8452602084019350506020810190506143ed565b5050509392505050565b600082601f83011261443357614432614241565b5b81356144438482602086016143b5565b91505092915050565b6000806040838503121561446357614462613da6565b5b600083013567ffffffffffffffff81111561448157614480613dab565b5b61448d8582860161435b565b925050602083013567ffffffffffffffff8111156144ae576144ad613dab565b5b6144ba8582860161441e565b9150509250929050565b6000819050919050565b6144d7816144c4565b82525050565b60006020820190506144f260008301846144ce565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61452d81613e3b565b82525050565b600061453f8383614524565b60208301905092915050565b6000602082019050919050565b6000614563826144f8565b61456d8185614503565b935061457883614514565b8060005b838110156145a95781516145908882614533565b975061459b8361454b565b92505060018101905061457c565b5085935050505092915050565b600060208201905081810360008301526145d08184614558565b905092915050565b600080fd5b600067ffffffffffffffff8211156145f8576145f7614246565b5b61460182614056565b9050602081019050919050565b82818337600083830152505050565b600061463061462b846145dd565b6142a6565b90508281526020810184848401111561464c5761464b6145d8565b5b61465784828561460e565b509392505050565b600082601f83011261467457614673614241565b5b813561468484826020860161461d565b91505092915050565b6000602082840312156146a3576146a2613da6565b5b600082013567ffffffffffffffff8111156146c1576146c0613dab565b5b6146cd8482850161465f565b91505092915050565b600080fd5b60008083601f8401126146f1576146f0614241565b5b8235905067ffffffffffffffff81111561470e5761470d6146d6565b5b60208301915083600182028301111561472a576147296142ed565b5b9250929050565b6000806020838503121561474857614747613da6565b5b600083013567ffffffffffffffff81111561476657614765613dab565b5b614772858286016146db565b92509250509250929050565b6000806040838503121561479557614794613da6565b5b60006147a385828601613df9565b92505060206147b485828601613f41565b9150509250929050565b600067ffffffffffffffff8211156147d9576147d8614246565b5b6147e282614056565b9050602081019050919050565b60006148026147fd846147be565b6142a6565b90508281526020810184848401111561481e5761481d6145d8565b5b61482984828561460e565b509392505050565b600082601f83011261484657614845614241565b5b81356148568482602086016147ef565b91505092915050565b6000806000806080858703121561487957614878613da6565b5b600061488787828801613df9565b945050602061489887828801613df9565b93505060406148a9878288016140d9565b925050606085013567ffffffffffffffff8111156148ca576148c9613dab565b5b6148d687828801614831565b91505092959194509250565b60008083601f8401126148f8576148f7614241565b5b8235905067ffffffffffffffff811115614915576149146146d6565b5b602083019150836020820283011115614931576149306142ed565b5b9250929050565b60008060006040848603121561495157614950613da6565b5b600061495f868287016140d9565b935050602084013567ffffffffffffffff8111156149805761497f613dab565b5b61498c868287016148e2565b92509250509250925092565b600080604083850312156149af576149ae613da6565b5b60006149bd85828601613df9565b92505060206149ce85828601613df9565b9150509250929050565b6149e1816144c4565b81146149ec57600080fd5b50565b6000813590506149fe816149d8565b92915050565b600060208284031215614a1a57614a19613da6565b5b6000614a28848285016149ef565b91505092915050565b600060ff82169050919050565b614a4781614a31565b8114614a5257600080fd5b50565b600081359050614a6481614a3e565b92915050565b600060208284031215614a8057614a7f613da6565b5b6000614a8e84828501614a55565b91505092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614acd602083614012565b9150614ad882614a97565b602082019050919050565b60006020820190508181036000830152614afc81614ac0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614b4a57607f821691505b60208210811415614b5e57614b5d614b03565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614bc0602c83614012565b9150614bcb82614b64565b604082019050919050565b60006020820190508181036000830152614bef81614bb3565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614c52602183614012565b9150614c5d82614bf6565b604082019050919050565b60006020820190508181036000830152614c8181614c45565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614ce4603883614012565b9150614cef82614c88565b604082019050919050565b60006020820190508181036000830152614d1381614cd7565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614d76603183614012565b9150614d8182614d1a565b604082019050919050565b60006020820190508181036000830152614da581614d69565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614e1582613e3b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614e4857614e47614ddb565b5b600182019050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614eaf602b83614012565b9150614eba82614e53565b604082019050919050565b60006020820190508181036000830152614ede81614ea2565b9050919050565b600081905092915050565b50565b6000614f00600083614ee5565b9150614f0b82614ef0565b600082019050919050565b6000614f2182614ef3565b9150819050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614f87602c83614012565b9150614f9282614f2b565b604082019050919050565b60006020820190508181036000830152614fb681614f7a565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000615019602983614012565b915061502482614fbd565b604082019050919050565b600060208201905081810360008301526150488161500c565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006150ab602a83614012565b91506150b68261504f565b604082019050919050565b600060208201905081810360008301526150da8161509e565b9050919050565b7f74686520636f6e74726163742069732070617573656400000000000000000000600082015250565b6000615117601683614012565b9150615122826150e1565b602082019050919050565b600060208201905081810360008301526151468161510a565b9050919050565b7f50726573616c65206f6e6c790000000000000000000000000000000000000000600082015250565b6000615183600c83614012565b915061518e8261514d565b602082019050919050565b600060208201905081810360008301526151b281615176565b9050919050565b7f6e65656420746f206d696e74206174206c656173742031204e46540000000000600082015250565b60006151ef601b83614012565b91506151fa826151b9565b602082019050919050565b6000602082019050818103600083015261521e816151e2565b9050919050565b600061523082613e3b565b915061523b83613e3b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156152705761526f614ddb565b5b828201905092915050565b7f6d6178204e4654206c696d697420657863656564656400000000000000000000600082015250565b60006152b1601683614012565b91506152bc8261527b565b602082019050919050565b600060208201905081810360008301526152e0816152a4565b9050919050565b7f556e73756666696369656e742066726565206d696e747320617661696c61626c60008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b6000615343602183614012565b915061534e826152e7565b604082019050919050565b6000602082019050818103600083015261537281615336565b9050919050565b600061538482613e3b565b9150600082141561539857615397614ddb565b5b600182039050919050565b7f6d6178206d696e7420616d6f756e74207065722073657373696f6e206578636560008201527f6564656400000000000000000000000000000000000000000000000000000000602082015250565b60006153ff602483614012565b915061540a826153a3565b604082019050919050565b6000602082019050818103600083015261542e816153f2565b9050919050565b7f6d6178204e465420706572206164647265737320657863656564656400000000600082015250565b600061546b601c83614012565b915061547682615435565b602082019050919050565b6000602082019050818103600083015261549a8161545e565b9050919050565b60008160601b9050919050565b60006154b9826154a1565b9050919050565b60006154cb826154ae565b9050919050565b6154e36154de82613dd0565b6154c0565b82525050565b60006154f582846154d2565b60148201915081905092915050565b7f57616c6c6574206973206e6f742077686974656c697374656400000000000000600082015250565b600061553a601983614012565b915061554582615504565b602082019050919050565b600060208201905081810360008301526155698161552d565b9050919050565b600061557b82613e3b565b915061558683613e3b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156155bf576155be614ddb565b5b828202905092915050565b7f696e73756666696369656e742066756e64730000000000000000000000000000600082015250565b6000615600601283614012565b915061560b826155ca565b602082019050919050565b6000602082019050818103600083015261562f816155f3565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615692602f83614012565b915061569d82615636565b604082019050919050565b600060208201905081810360008301526156c181615685565b9050919050565b600081905092915050565b60006156de82614007565b6156e881856156c8565b93506156f8818560208601614023565b80840191505092915050565b60008190508160005260206000209050919050565b6000815461572681614b32565b61573081866156c8565b9450600182166000811461574b576001811461575c5761578f565b60ff1983168652818601935061578f565b61576585615704565b60005b8381101561578757815481890152600182019150602081019050615768565b838801955050505b50505092915050565b60006157a482866156d3565b91506157b082856156d3565b91506157bc8284615719565b9150819050949350505050565b60006157d58284615719565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061583c602683614012565b9150615847826157e0565b604082019050919050565b6000602082019050818103600083015261586b8161582f565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006158ce602c83614012565b91506158d982615872565b604082019050919050565b600060208201905081810360008301526158fd816158c1565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000615960602583614012565b915061596b82615904565b604082019050919050565b6000602082019050818103600083015261598f81615953565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006159f2602483614012565b91506159fd82615996565b604082019050919050565b60006020820190508181036000830152615a21816159e5565b9050919050565b6000615a3382613e3b565b9150615a3e83613e3b565b925082821015615a5157615a50614ddb565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000615a9682613e3b565b9150615aa183613e3b565b925082615ab157615ab0615a5c565b5b828204905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615af2601983614012565b9150615afd82615abc565b602082019050919050565b60006020820190508181036000830152615b2181615ae5565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615b84603283614012565b9150615b8f82615b28565b604082019050919050565b60006020820190508181036000830152615bb381615b77565b9050919050565b6000615bc582613e3b565b9150615bd083613e3b565b925082615be057615bdf615a5c565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000615c1282615beb565b615c1c8185615bf6565b9350615c2c818560208601614023565b615c3581614056565b840191505092915050565b6000608082019050615c55600083018761411b565b615c62602083018661411b565b615c6f6040830185613e45565b8181036060830152615c818184615c07565b905095945050505050565b600081519050615c9b81613e9b565b92915050565b600060208284031215615cb757615cb6613da6565b5b6000615cc584828501615c8c565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615d33602083614012565b9150615d3e82615cfd565b602082019050919050565b60006020820190508181036000830152615d6281615d26565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615d9f601c83614012565b9150615daa82615d69565b602082019050919050565b60006020820190508181036000830152615dce81615d92565b905091905056fea264697066735822122025bed1585549d9e8e23b3cadc6acc5267a313828fe7dbddd1302127fec4ccadd64736f6c6343000809003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000001c084e36d4b376526ce988db9acbadc7361ba8ca8888fb5d5372fe423c7c93a57c7000000000000000000000000000000000000000000000000000000000000000d546f6f6e7320536f63696574790000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000025453000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004e68747470733a2f2f74732e6d7970696e6174612e636c6f75642f697066732f516d5a47784e33636b43325568444a59546b50717844786b367931554e455350556750635a7265667967636555642f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d68747470733a2f2f74732e6d7970696e6174612e636c6f75642f697066732f516d665431776e5071314243373376513151376d6b6155366838434655513273464b695057327478565144724d6500000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102e45760003560e01c8063639d7e1111610190578063ba7d2c76116100dc578063da3ef23f11610095578063e985e9c51161006f578063e985e9c514610b31578063f2fde38b14610b6e578063f5aa406d14610b97578063f8f53e6f14610bc0576102e4565b8063da3ef23f14610ab2578063e7b99ec714610adb578063e8a3d48514610b06576102e4565b8063ba7d2c76146109a2578063c6682862146109cd578063c87b56dd146109f8578063d0eb26b014610a35578063d49479eb14610a5e578063d5abeb0114610a87576102e4565b80638da5cb5b116101495780639c70b512116101235780639c70b51214610909578063a22cb46514610934578063b88d4fde1461095d578063ba41b0c614610986576102e4565b80638da5cb5b1461088a578063938e3d7b146108b557806395d89b41146108de576102e4565b8063639d7e111461078e5780636c0360eb146107b957806370a08231146107e4578063715018a6146108215780637c928fe914610838578063811d243714610861576102e4565b80632ef54bb91161024f578063438b63001161020857806351830227116101e257806351830227146106d257806355f804b3146106fd5780635c975abb146107265780636352211e14610751576102e4565b8063438b63001461062d578063453afb0f1461066a5780634f6ccce714610695576102e4565b80632ef54bb9146105405780632f745c5914610569578063386bfc98146105a65780633c952764146105d15780633ccfd60b146105fa57806342842e0e14610604576102e4565b8063095ea7b3116102a1578063095ea7b31461041d57806318160ddd1461044657806318cae26914610471578063239c70ae146104ae57806323b872dd146104d95780632a55205a14610502576102e4565b806301fab91a146102e957806301ffc9a71461032657806302329a291461036357806302fa7c471461038c57806306fdde03146103b5578063081812fc146103e0575b600080fd5b3480156102f557600080fd5b50610310600480360381019061030b9190613e0e565b610be9565b60405161031d9190613e54565b60405180910390f35b34801561033257600080fd5b5061034d60048036038101906103489190613ec7565b610c01565b60405161035a9190613f0f565b60405180910390f35b34801561036f57600080fd5b5061038a60048036038101906103859190613f56565b610cdb565b005b34801561039857600080fd5b506103b360048036038101906103ae9190613fc7565b610d74565b005b3480156103c157600080fd5b506103ca610e66565b6040516103d791906140a0565b60405180910390f35b3480156103ec57600080fd5b50610407600480360381019061040291906140ee565b610ef8565b604051610414919061412a565b60405180910390f35b34801561042957600080fd5b50610444600480360381019061043f9190614145565b610f7d565b005b34801561045257600080fd5b5061045b611095565b6040516104689190613e54565b60405180910390f35b34801561047d57600080fd5b5061049860048036038101906104939190613e0e565b6110a2565b6040516104a59190613e54565b60405180910390f35b3480156104ba57600080fd5b506104c36110ba565b6040516104d09190613e54565b60405180910390f35b3480156104e557600080fd5b5061050060048036038101906104fb9190614185565b6110c0565b005b34801561050e57600080fd5b50610529600480360381019061052491906141d8565b611120565b604051610537929190614218565b60405180910390f35b34801561054c57600080fd5b506105676004803603810190610562919061444c565b6111a0565b005b34801561057557600080fd5b50610590600480360381019061058b9190614145565b6112b8565b60405161059d9190613e54565b60405180910390f35b3480156105b257600080fd5b506105bb61135d565b6040516105c891906144dd565b60405180910390f35b3480156105dd57600080fd5b506105f860048036038101906105f39190613f56565b611363565b005b6106026113fc565b005b34801561061057600080fd5b5061062b60048036038101906106269190614185565b6114f8565b005b34801561063957600080fd5b50610654600480360381019061064f9190613e0e565b611518565b60405161066191906145b6565b60405180910390f35b34801561067657600080fd5b5061067f6115c6565b60405161068c9190613e54565b60405180910390f35b3480156106a157600080fd5b506106bc60048036038101906106b791906140ee565b6115cc565b6040516106c99190613e54565b60405180910390f35b3480156106de57600080fd5b506106e761163d565b6040516106f49190613f0f565b60405180910390f35b34801561070957600080fd5b50610724600480360381019061071f919061468d565b611650565b005b34801561073257600080fd5b5061073b6116e6565b6040516107489190613f0f565b60405180910390f35b34801561075d57600080fd5b50610778600480360381019061077391906140ee565b6116f9565b604051610785919061412a565b60405180910390f35b34801561079a57600080fd5b506107a36117ab565b6040516107b091906140a0565b60405180910390f35b3480156107c557600080fd5b506107ce611839565b6040516107db91906140a0565b60405180910390f35b3480156107f057600080fd5b5061080b60048036038101906108069190613e0e565b6118c7565b6040516108189190613e54565b60405180910390f35b34801561082d57600080fd5b5061083661197f565b005b34801561084457600080fd5b5061085f600480360381019061085a91906140ee565b611a07565b005b34801561086d57600080fd5b50610888600480360381019061088391906140ee565b611cad565b005b34801561089657600080fd5b5061089f611d33565b6040516108ac919061412a565b60405180910390f35b3480156108c157600080fd5b506108dc60048036038101906108d79190614731565b611d5d565b005b3480156108ea57600080fd5b506108f3611def565b60405161090091906140a0565b60405180910390f35b34801561091557600080fd5b5061091e611e81565b60405161092b9190613f0f565b60405180910390f35b34801561094057600080fd5b5061095b6004803603810190610956919061477e565b611e94565b005b34801561096957600080fd5b50610984600480360381019061097f919061485f565b611eaa565b005b6109a0600480360381019061099b9190614938565b611f0c565b005b3480156109ae57600080fd5b506109b761230a565b6040516109c49190613e54565b60405180910390f35b3480156109d957600080fd5b506109e2612310565b6040516109ef91906140a0565b60405180910390f35b348015610a0457600080fd5b50610a1f6004803603810190610a1a91906140ee565b61239e565b604051610a2c91906140a0565b60405180910390f35b348015610a4157600080fd5b50610a5c6004803603810190610a5791906140ee565b612448565b005b348015610a6a57600080fd5b50610a856004803603810190610a8091906140ee565b6124ce565b005b348015610a9357600080fd5b50610a9c612554565b604051610aa99190613e54565b60405180910390f35b348015610abe57600080fd5b50610ad96004803603810190610ad4919061468d565b61255a565b005b348015610ae757600080fd5b50610af06125f0565b604051610afd9190613e54565b60405180910390f35b348015610b1257600080fd5b50610b1b6125f6565b604051610b2891906140a0565b60405180910390f35b348015610b3d57600080fd5b50610b586004803603810190610b539190614998565b61261e565b604051610b659190613f0f565b60405180910390f35b348015610b7a57600080fd5b50610b956004803603810190610b909190613e0e565b6126b2565b005b348015610ba357600080fd5b50610bbe6004803603810190610bb99190614a04565b6127aa565b005b348015610bcc57600080fd5b50610be76004803603810190610be29190614a6a565b612830565b005b60176020528060005260406000206000915090505481565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c94575063e8a3d48560e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cc45750632a55205a60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cd45750610cd3826128b9565b5b9050919050565b610ce3612933565b73ffffffffffffffffffffffffffffffffffffffff16610d01611d33565b73ffffffffffffffffffffffffffffffffffffffff1614610d57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4e90614ae3565b60405180910390fd5b806014600c6101000a81548160ff02191690831515021790555050565b610d7c612933565b73ffffffffffffffffffffffffffffffffffffffff16610d9a611d33565b73ffffffffffffffffffffffffffffffffffffffff1614610df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de790614ae3565b60405180910390fd5b81601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601460006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055505050565b606060008054610e7590614b32565b80601f0160208091040260200160405190810160405280929190818152602001828054610ea190614b32565b8015610eee5780601f10610ec357610100808354040283529160200191610eee565b820191906000526020600020905b815481529060010190602001808311610ed157829003601f168201915b5050505050905090565b6000610f038261293b565b610f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3990614bd6565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610f88826116f9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ff9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff090614c68565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16611018612933565b73ffffffffffffffffffffffffffffffffffffffff161480611047575061104681611041612933565b61261e565b5b611086576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107d90614cfa565b60405180910390fd5b61109083836129a7565b505050565b6000600880549050905090565b60186020528060005260406000206000915090505481565b60125481565b6110d16110cb612933565b82612a60565b611110576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110790614d8c565b60405180910390fd5b61111b838383612b3e565b505050565b600080601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611195612710611187601460009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1687612da590919063ffffffff16565b612dbb90919063ffffffff16565b915091509250929050565b6111a8612933565b73ffffffffffffffffffffffffffffffffffffffff166111c6611d33565b73ffffffffffffffffffffffffffffffffffffffff161461121c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121390614ae3565b60405180910390fd5b60005b82518110156112b35781818151811061123b5761123a614dac565b5b60200260200101516017600085848151811061125a57611259614dac565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080806112ab90614e0a565b91505061121f565b505050565b60006112c3836118c7565b8210611304576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112fb90614ec5565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60165481565b61136b612933565b73ffffffffffffffffffffffffffffffffffffffff16611389611d33565b73ffffffffffffffffffffffffffffffffffffffff16146113df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d690614ae3565b60405180910390fd5b806014600e6101000a81548160ff02191690831515021790555050565b611404612933565b73ffffffffffffffffffffffffffffffffffffffff16611422611d33565b73ffffffffffffffffffffffffffffffffffffffff1614611478576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146f90614ae3565b60405180910390fd5b6000611482611d33565b73ffffffffffffffffffffffffffffffffffffffff16476040516114a590614f16565b60006040518083038185875af1925050503d80600081146114e2576040519150601f19603f3d011682016040523d82523d6000602084013e6114e7565b606091505b50509050806114f557600080fd5b50565b61151383838360405180602001604052806000815250611eaa565b505050565b60606000611525836118c7565b905060008167ffffffffffffffff81111561154357611542614246565b5b6040519080825280602002602001820160405280156115715781602001602082028036833780820191505090505b50905060005b828110156115bb5761158985826112b8565b82828151811061159c5761159b614dac565b5b60200260200101818152505080806115b390614e0a565b915050611577565b508092505050919050565b60105481565b60006115d6611095565b8210611617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160e90614f9d565b60405180910390fd5b6008828154811061162b5761162a614dac565b5b90600052602060002001549050919050565b6014600d9054906101000a900460ff1681565b611658612933565b73ffffffffffffffffffffffffffffffffffffffff16611676611d33565b73ffffffffffffffffffffffffffffffffffffffff16146116cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c390614ae3565b60405180910390fd5b80600c90805190602001906116e2929190613c73565b5050565b6014600c9054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117999061502f565b60405180910390fd5b80915050919050565b600e80546117b890614b32565b80601f01602080910402602001604051908101604052809291908181526020018280546117e490614b32565b80156118315780601f1061180657610100808354040283529160200191611831565b820191906000526020600020905b81548152906001019060200180831161181457829003601f168201915b505050505081565b600c805461184690614b32565b80601f016020809104026020016040519081016040528092919081815260200182805461187290614b32565b80156118bf5780601f10611894576101008083540402835291602001916118bf565b820191906000526020600020905b8154815290600101906020018083116118a257829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611938576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192f906150c1565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611987612933565b73ffffffffffffffffffffffffffffffffffffffff166119a5611d33565b73ffffffffffffffffffffffffffffffffffffffff16146119fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f290614ae3565b60405180910390fd5b611a056000612dd1565b565b6014600c9054906101000a900460ff1615611a57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4e9061512d565b60405180910390fd5b6014600e9054906101000a900460ff1615611aa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9e90615199565b60405180910390fd5b6000611ab1611095565b905060008211611af6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aed90615205565b60405180910390fd5b6011548282611b059190615225565b1115611b46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3d906152c7565b60405180910390fd5b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054821115611bc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bbf90615359565b60405180910390fd5b6000600190505b828111611ca857601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190611c2690615379565b9190505550601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190611c7b90614e0a565b9190505550611c95338284611c909190615225565b612e97565b8080611ca090614e0a565b915050611bcf565b505050565b611cb5612933565b73ffffffffffffffffffffffffffffffffffffffff16611cd3611d33565b73ffffffffffffffffffffffffffffffffffffffff1614611d29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2090614ae3565b60405180910390fd5b8060108190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611d65612933565b73ffffffffffffffffffffffffffffffffffffffff16611d83611d33565b73ffffffffffffffffffffffffffffffffffffffff1614611dd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd090614ae3565b60405180910390fd5b8181600e9190611dea929190613cf9565b505050565b606060018054611dfe90614b32565b80601f0160208091040260200160405190810160405280929190818152602001828054611e2a90614b32565b8015611e775780601f10611e4c57610100808354040283529160200191611e77565b820191906000526020600020905b815481529060010190602001808311611e5a57829003601f168201915b5050505050905090565b6014600e9054906101000a900460ff1681565b611ea6611e9f612933565b8383612eb5565b5050565b611ebb611eb5612933565b83612a60565b611efa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef190614d8c565b60405180910390fd5b611f0684848484613022565b50505050565b6014600c9054906101000a900460ff1615611f5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f539061512d565b60405180910390fd5b6000611f66611095565b905060008411611fab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa290615205565b60405180910390fd5b6011548482611fba9190615225565b1115611ffb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff2906152c7565b60405180910390fd5b612003611d33565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146122785760125484111561207a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207190615415565b60405180910390fd5b60135484601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120c89190615225565b1115612109576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210090615481565b60405180910390fd5b6014600e9054906101000a900460ff161561222657612192838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506016543360405160200161217791906154e9565b6040516020818303038152906040528051906020012061307e565b6121d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c890615550565b60405180910390fd5b83600f546121df9190615570565b341015612221576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221890615616565b60405180910390fd5b612277565b836010546122349190615570565b341015612276576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226d90615616565b60405180910390fd5b5b5b6000600190505b84811161230357601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906122d690614e0a565b91905055506122f03382846122eb9190615225565b612e97565b80806122fb90614e0a565b91505061227f565b5050505050565b60135481565b600d805461231d90614b32565b80601f016020809104026020016040519081016040528092919081815260200182805461234990614b32565b80156123965780601f1061236b57610100808354040283529160200191612396565b820191906000526020600020905b81548152906001019060200180831161237957829003601f168201915b505050505081565b60606123a98261293b565b6123e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123df906156a8565b60405180910390fd5b60006123f2613095565b905060008151116124125760405180602001604052806000815250612440565b8061241c84613127565b600d60405160200161243093929190615798565b6040516020818303038152906040525b915050919050565b612450612933565b73ffffffffffffffffffffffffffffffffffffffff1661246e611d33565b73ffffffffffffffffffffffffffffffffffffffff16146124c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124bb90614ae3565b60405180910390fd5b8060138190555050565b6124d6612933565b73ffffffffffffffffffffffffffffffffffffffff166124f4611d33565b73ffffffffffffffffffffffffffffffffffffffff161461254a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254190614ae3565b60405180910390fd5b80600f8190555050565b60115481565b612562612933565b73ffffffffffffffffffffffffffffffffffffffff16612580611d33565b73ffffffffffffffffffffffffffffffffffffffff16146125d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125cd90614ae3565b60405180910390fd5b80600d90805190602001906125ec929190613c73565b5050565b600f5481565b6060600e60405160200161260a91906157c9565b604051602081830303815290604052905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6126ba612933565b73ffffffffffffffffffffffffffffffffffffffff166126d8611d33565b73ffffffffffffffffffffffffffffffffffffffff161461272e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272590614ae3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561279e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279590615852565b60405180910390fd5b6127a781612dd1565b50565b6127b2612933565b73ffffffffffffffffffffffffffffffffffffffff166127d0611d33565b73ffffffffffffffffffffffffffffffffffffffff1614612826576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281d90614ae3565b60405180910390fd5b8060168190555050565b612838612933565b73ffffffffffffffffffffffffffffffffffffffff16612856611d33565b73ffffffffffffffffffffffffffffffffffffffff16146128ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128a390614ae3565b60405180910390fd5b8060ff1660128190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061292c575061292b82613288565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612a1a836116f9565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612a6b8261293b565b612aaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa1906158e4565b60405180910390fd5b6000612ab5836116f9565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612b2457508373ffffffffffffffffffffffffffffffffffffffff16612b0c84610ef8565b73ffffffffffffffffffffffffffffffffffffffff16145b80612b355750612b34818561261e565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612b5e826116f9565b73ffffffffffffffffffffffffffffffffffffffff1614612bb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bab90615976565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c1b90615a08565b60405180910390fd5b612c2f83838361336a565b612c3a6000826129a7565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c8a9190615a28565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ce19190615225565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612da083838361347e565b505050565b60008183612db39190615570565b905092915050565b60008183612dc99190615a8b565b905092915050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612eb1828260405180602001604052806000815250613483565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612f24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1b90615b08565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516130159190613f0f565b60405180910390a3505050565b61302d848484612b3e565b613039848484846134de565b613078576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161306f90615b9a565b60405180910390fd5b50505050565b60008261308b8584613675565b1490509392505050565b6060600c80546130a490614b32565b80601f01602080910402602001604051908101604052809291908181526020018280546130d090614b32565b801561311d5780601f106130f25761010080835404028352916020019161311d565b820191906000526020600020905b81548152906001019060200180831161310057829003601f168201915b5050505050905090565b6060600082141561316f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613283565b600082905060005b600082146131a157808061318a90614e0a565b915050600a8261319a9190615a8b565b9150613177565b60008167ffffffffffffffff8111156131bd576131bc614246565b5b6040519080825280601f01601f1916602001820160405280156131ef5781602001600182028036833780820191505090505b5090505b6000851461327c576001826132089190615a28565b9150600a856132179190615bba565b60306132239190615225565b60f81b81838151811061323957613238614dac565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856132759190615a8b565b94506131f3565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061335357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806133635750613362826136ea565b5b9050919050565b613375838383613754565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156133b8576133b381613759565b6133f7565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146133f6576133f583826137a2565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561343a576134358161390f565b613479565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146134785761347782826139e0565b5b5b505050565b505050565b61348d8383613a5f565b61349a60008484846134de565b6134d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134d090615b9a565b60405180910390fd5b505050565b60006134ff8473ffffffffffffffffffffffffffffffffffffffff16613c39565b15613668578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613528612933565b8786866040518563ffffffff1660e01b815260040161354a9493929190615c40565b602060405180830381600087803b15801561356457600080fd5b505af192505050801561359557506040513d601f19601f820116820180604052508101906135929190615ca1565b60015b613618573d80600081146135c5576040519150601f19603f3d011682016040523d82523d6000602084013e6135ca565b606091505b50600081511415613610576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161360790615b9a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061366d565b600190505b949350505050565b60008082905060005b84518110156136df57600085828151811061369c5761369b614dac565b5b602002602001015190508083116136be576136b78382613c5c565b92506136cb565b6136c88184613c5c565b92505b5080806136d790614e0a565b91505061367e565b508091505092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016137af846118c7565b6137b99190615a28565b905060006007600084815260200190815260200160002054905081811461389e576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506139239190615a28565b905060006009600084815260200190815260200160002054905060006008838154811061395357613952614dac565b5b90600052602060002001549050806008838154811061397557613974614dac565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806139c4576139c3615cce565b5b6001900381819060005260206000200160009055905550505050565b60006139eb836118c7565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613acf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ac690615d49565b60405180910390fd5b613ad88161293b565b15613b18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b0f90615db5565b60405180910390fd5b613b246000838361336a565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613b749190615225565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613c356000838361347e565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b828054613c7f90614b32565b90600052602060002090601f016020900481019282613ca15760008555613ce8565b82601f10613cba57805160ff1916838001178555613ce8565b82800160010185558215613ce8579182015b82811115613ce7578251825591602001919060010190613ccc565b5b509050613cf59190613d7f565b5090565b828054613d0590614b32565b90600052602060002090601f016020900481019282613d275760008555613d6e565b82601f10613d4057803560ff1916838001178555613d6e565b82800160010185558215613d6e579182015b82811115613d6d578235825591602001919060010190613d52565b5b509050613d7b9190613d7f565b5090565b5b80821115613d98576000816000905550600101613d80565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613ddb82613db0565b9050919050565b613deb81613dd0565b8114613df657600080fd5b50565b600081359050613e0881613de2565b92915050565b600060208284031215613e2457613e23613da6565b5b6000613e3284828501613df9565b91505092915050565b6000819050919050565b613e4e81613e3b565b82525050565b6000602082019050613e696000830184613e45565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613ea481613e6f565b8114613eaf57600080fd5b50565b600081359050613ec181613e9b565b92915050565b600060208284031215613edd57613edc613da6565b5b6000613eeb84828501613eb2565b91505092915050565b60008115159050919050565b613f0981613ef4565b82525050565b6000602082019050613f246000830184613f00565b92915050565b613f3381613ef4565b8114613f3e57600080fd5b50565b600081359050613f5081613f2a565b92915050565b600060208284031215613f6c57613f6b613da6565b5b6000613f7a84828501613f41565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b613fa481613f83565b8114613faf57600080fd5b50565b600081359050613fc181613f9b565b92915050565b60008060408385031215613fde57613fdd613da6565b5b6000613fec85828601613df9565b9250506020613ffd85828601613fb2565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b83811015614041578082015181840152602081019050614026565b83811115614050576000848401525b50505050565b6000601f19601f8301169050919050565b600061407282614007565b61407c8185614012565b935061408c818560208601614023565b61409581614056565b840191505092915050565b600060208201905081810360008301526140ba8184614067565b905092915050565b6140cb81613e3b565b81146140d657600080fd5b50565b6000813590506140e8816140c2565b92915050565b60006020828403121561410457614103613da6565b5b6000614112848285016140d9565b91505092915050565b61412481613dd0565b82525050565b600060208201905061413f600083018461411b565b92915050565b6000806040838503121561415c5761415b613da6565b5b600061416a85828601613df9565b925050602061417b858286016140d9565b9150509250929050565b60008060006060848603121561419e5761419d613da6565b5b60006141ac86828701613df9565b93505060206141bd86828701613df9565b92505060406141ce868287016140d9565b9150509250925092565b600080604083850312156141ef576141ee613da6565b5b60006141fd858286016140d9565b925050602061420e858286016140d9565b9150509250929050565b600060408201905061422d600083018561411b565b61423a6020830184613e45565b9392505050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61427e82614056565b810181811067ffffffffffffffff8211171561429d5761429c614246565b5b80604052505050565b60006142b0613d9c565b90506142bc8282614275565b919050565b600067ffffffffffffffff8211156142dc576142db614246565b5b602082029050602081019050919050565b600080fd5b6000614305614300846142c1565b6142a6565b90508083825260208201905060208402830185811115614328576143276142ed565b5b835b81811015614351578061433d8882613df9565b84526020840193505060208101905061432a565b5050509392505050565b600082601f8301126143705761436f614241565b5b81356143808482602086016142f2565b91505092915050565b600067ffffffffffffffff8211156143a4576143a3614246565b5b602082029050602081019050919050565b60006143c86143c384614389565b6142a6565b905080838252602082019050602084028301858111156143eb576143ea6142ed565b5b835b81811015614414578061440088826140d9565b8452602084019350506020810190506143ed565b5050509392505050565b600082601f83011261443357614432614241565b5b81356144438482602086016143b5565b91505092915050565b6000806040838503121561446357614462613da6565b5b600083013567ffffffffffffffff81111561448157614480613dab565b5b61448d8582860161435b565b925050602083013567ffffffffffffffff8111156144ae576144ad613dab565b5b6144ba8582860161441e565b9150509250929050565b6000819050919050565b6144d7816144c4565b82525050565b60006020820190506144f260008301846144ce565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61452d81613e3b565b82525050565b600061453f8383614524565b60208301905092915050565b6000602082019050919050565b6000614563826144f8565b61456d8185614503565b935061457883614514565b8060005b838110156145a95781516145908882614533565b975061459b8361454b565b92505060018101905061457c565b5085935050505092915050565b600060208201905081810360008301526145d08184614558565b905092915050565b600080fd5b600067ffffffffffffffff8211156145f8576145f7614246565b5b61460182614056565b9050602081019050919050565b82818337600083830152505050565b600061463061462b846145dd565b6142a6565b90508281526020810184848401111561464c5761464b6145d8565b5b61465784828561460e565b509392505050565b600082601f83011261467457614673614241565b5b813561468484826020860161461d565b91505092915050565b6000602082840312156146a3576146a2613da6565b5b600082013567ffffffffffffffff8111156146c1576146c0613dab565b5b6146cd8482850161465f565b91505092915050565b600080fd5b60008083601f8401126146f1576146f0614241565b5b8235905067ffffffffffffffff81111561470e5761470d6146d6565b5b60208301915083600182028301111561472a576147296142ed565b5b9250929050565b6000806020838503121561474857614747613da6565b5b600083013567ffffffffffffffff81111561476657614765613dab565b5b614772858286016146db565b92509250509250929050565b6000806040838503121561479557614794613da6565b5b60006147a385828601613df9565b92505060206147b485828601613f41565b9150509250929050565b600067ffffffffffffffff8211156147d9576147d8614246565b5b6147e282614056565b9050602081019050919050565b60006148026147fd846147be565b6142a6565b90508281526020810184848401111561481e5761481d6145d8565b5b61482984828561460e565b509392505050565b600082601f83011261484657614845614241565b5b81356148568482602086016147ef565b91505092915050565b6000806000806080858703121561487957614878613da6565b5b600061488787828801613df9565b945050602061489887828801613df9565b93505060406148a9878288016140d9565b925050606085013567ffffffffffffffff8111156148ca576148c9613dab565b5b6148d687828801614831565b91505092959194509250565b60008083601f8401126148f8576148f7614241565b5b8235905067ffffffffffffffff811115614915576149146146d6565b5b602083019150836020820283011115614931576149306142ed565b5b9250929050565b60008060006040848603121561495157614950613da6565b5b600061495f868287016140d9565b935050602084013567ffffffffffffffff8111156149805761497f613dab565b5b61498c868287016148e2565b92509250509250925092565b600080604083850312156149af576149ae613da6565b5b60006149bd85828601613df9565b92505060206149ce85828601613df9565b9150509250929050565b6149e1816144c4565b81146149ec57600080fd5b50565b6000813590506149fe816149d8565b92915050565b600060208284031215614a1a57614a19613da6565b5b6000614a28848285016149ef565b91505092915050565b600060ff82169050919050565b614a4781614a31565b8114614a5257600080fd5b50565b600081359050614a6481614a3e565b92915050565b600060208284031215614a8057614a7f613da6565b5b6000614a8e84828501614a55565b91505092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614acd602083614012565b9150614ad882614a97565b602082019050919050565b60006020820190508181036000830152614afc81614ac0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614b4a57607f821691505b60208210811415614b5e57614b5d614b03565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614bc0602c83614012565b9150614bcb82614b64565b604082019050919050565b60006020820190508181036000830152614bef81614bb3565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614c52602183614012565b9150614c5d82614bf6565b604082019050919050565b60006020820190508181036000830152614c8181614c45565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614ce4603883614012565b9150614cef82614c88565b604082019050919050565b60006020820190508181036000830152614d1381614cd7565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614d76603183614012565b9150614d8182614d1a565b604082019050919050565b60006020820190508181036000830152614da581614d69565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614e1582613e3b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614e4857614e47614ddb565b5b600182019050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614eaf602b83614012565b9150614eba82614e53565b604082019050919050565b60006020820190508181036000830152614ede81614ea2565b9050919050565b600081905092915050565b50565b6000614f00600083614ee5565b9150614f0b82614ef0565b600082019050919050565b6000614f2182614ef3565b9150819050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614f87602c83614012565b9150614f9282614f2b565b604082019050919050565b60006020820190508181036000830152614fb681614f7a565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000615019602983614012565b915061502482614fbd565b604082019050919050565b600060208201905081810360008301526150488161500c565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006150ab602a83614012565b91506150b68261504f565b604082019050919050565b600060208201905081810360008301526150da8161509e565b9050919050565b7f74686520636f6e74726163742069732070617573656400000000000000000000600082015250565b6000615117601683614012565b9150615122826150e1565b602082019050919050565b600060208201905081810360008301526151468161510a565b9050919050565b7f50726573616c65206f6e6c790000000000000000000000000000000000000000600082015250565b6000615183600c83614012565b915061518e8261514d565b602082019050919050565b600060208201905081810360008301526151b281615176565b9050919050565b7f6e65656420746f206d696e74206174206c656173742031204e46540000000000600082015250565b60006151ef601b83614012565b91506151fa826151b9565b602082019050919050565b6000602082019050818103600083015261521e816151e2565b9050919050565b600061523082613e3b565b915061523b83613e3b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156152705761526f614ddb565b5b828201905092915050565b7f6d6178204e4654206c696d697420657863656564656400000000000000000000600082015250565b60006152b1601683614012565b91506152bc8261527b565b602082019050919050565b600060208201905081810360008301526152e0816152a4565b9050919050565b7f556e73756666696369656e742066726565206d696e747320617661696c61626c60008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b6000615343602183614012565b915061534e826152e7565b604082019050919050565b6000602082019050818103600083015261537281615336565b9050919050565b600061538482613e3b565b9150600082141561539857615397614ddb565b5b600182039050919050565b7f6d6178206d696e7420616d6f756e74207065722073657373696f6e206578636560008201527f6564656400000000000000000000000000000000000000000000000000000000602082015250565b60006153ff602483614012565b915061540a826153a3565b604082019050919050565b6000602082019050818103600083015261542e816153f2565b9050919050565b7f6d6178204e465420706572206164647265737320657863656564656400000000600082015250565b600061546b601c83614012565b915061547682615435565b602082019050919050565b6000602082019050818103600083015261549a8161545e565b9050919050565b60008160601b9050919050565b60006154b9826154a1565b9050919050565b60006154cb826154ae565b9050919050565b6154e36154de82613dd0565b6154c0565b82525050565b60006154f582846154d2565b60148201915081905092915050565b7f57616c6c6574206973206e6f742077686974656c697374656400000000000000600082015250565b600061553a601983614012565b915061554582615504565b602082019050919050565b600060208201905081810360008301526155698161552d565b9050919050565b600061557b82613e3b565b915061558683613e3b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156155bf576155be614ddb565b5b828202905092915050565b7f696e73756666696369656e742066756e64730000000000000000000000000000600082015250565b6000615600601283614012565b915061560b826155ca565b602082019050919050565b6000602082019050818103600083015261562f816155f3565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615692602f83614012565b915061569d82615636565b604082019050919050565b600060208201905081810360008301526156c181615685565b9050919050565b600081905092915050565b60006156de82614007565b6156e881856156c8565b93506156f8818560208601614023565b80840191505092915050565b60008190508160005260206000209050919050565b6000815461572681614b32565b61573081866156c8565b9450600182166000811461574b576001811461575c5761578f565b60ff1983168652818601935061578f565b61576585615704565b60005b8381101561578757815481890152600182019150602081019050615768565b838801955050505b50505092915050565b60006157a482866156d3565b91506157b082856156d3565b91506157bc8284615719565b9150819050949350505050565b60006157d58284615719565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061583c602683614012565b9150615847826157e0565b604082019050919050565b6000602082019050818103600083015261586b8161582f565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006158ce602c83614012565b91506158d982615872565b604082019050919050565b600060208201905081810360008301526158fd816158c1565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000615960602583614012565b915061596b82615904565b604082019050919050565b6000602082019050818103600083015261598f81615953565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006159f2602483614012565b91506159fd82615996565b604082019050919050565b60006020820190508181036000830152615a21816159e5565b9050919050565b6000615a3382613e3b565b9150615a3e83613e3b565b925082821015615a5157615a50614ddb565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000615a9682613e3b565b9150615aa183613e3b565b925082615ab157615ab0615a5c565b5b828204905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615af2601983614012565b9150615afd82615abc565b602082019050919050565b60006020820190508181036000830152615b2181615ae5565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615b84603283614012565b9150615b8f82615b28565b604082019050919050565b60006020820190508181036000830152615bb381615b77565b9050919050565b6000615bc582613e3b565b9150615bd083613e3b565b925082615be057615bdf615a5c565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000615c1282615beb565b615c1c8185615bf6565b9350615c2c818560208601614023565b615c3581614056565b840191505092915050565b6000608082019050615c55600083018761411b565b615c62602083018661411b565b615c6f6040830185613e45565b8181036060830152615c818184615c07565b905095945050505050565b600081519050615c9b81613e9b565b92915050565b600060208284031215615cb757615cb6613da6565b5b6000615cc584828501615c8c565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615d33602083614012565b9150615d3e82615cfd565b602082019050919050565b60006020820190508181036000830152615d6281615d26565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615d9f601c83614012565b9150615daa82615d69565b602082019050919050565b60006020820190508181036000830152615dce81615d92565b905091905056fea264697066735822122025bed1585549d9e8e23b3cadc6acc5267a313828fe7dbddd1302127fec4ccadd64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000001c084e36d4b376526ce988db9acbadc7361ba8ca8888fb5d5372fe423c7c93a57c7000000000000000000000000000000000000000000000000000000000000000d546f6f6e7320536f63696574790000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000025453000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004e68747470733a2f2f74732e6d7970696e6174612e636c6f75642f697066732f516d5a47784e33636b43325568444a59546b50717844786b367931554e455350556750635a7265667967636555642f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d68747470733a2f2f74732e6d7970696e6174612e636c6f75642f697066732f516d665431776e5071314243373376513151376d6b6155366838434655513273464b695057327478565144724d6500000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Toons Society
Arg [1] : _symbol (string): TS
Arg [2] : _initBaseURI (string): https://ts.mypinata.cloud/ipfs/QmZGxN3ckC2UhDJYTkPqxDxk6y1UNESPUgPcZrefygceUd/
Arg [3] : _royaltyBasis (uint96): 500
Arg [4] : _contractURI (string): https://ts.mypinata.cloud/ipfs/QmfT1wnPq1BC73vQ1Q7mkaU6h8CFUQ2sFKiPW2txVQDrMe
Arg [5] : _whitelistRoot (bytes32): 0x84e36d4b376526ce988db9acbadc7361ba8ca8888fb5d5372fe423c7c93a57c7
-----Encoded View---------------
18 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [3] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [4] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [5] : 84e36d4b376526ce988db9acbadc7361ba8ca8888fb5d5372fe423c7c93a57c7
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [7] : 546f6f6e7320536f636965747900000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [9] : 5453000000000000000000000000000000000000000000000000000000000000
Arg [10] : 000000000000000000000000000000000000000000000000000000000000004e
Arg [11] : 68747470733a2f2f74732e6d7970696e6174612e636c6f75642f697066732f51
Arg [12] : 6d5a47784e33636b43325568444a59546b50717844786b367931554e45535055
Arg [13] : 6750635a7265667967636555642f000000000000000000000000000000000000
Arg [14] : 000000000000000000000000000000000000000000000000000000000000004d
Arg [15] : 68747470733a2f2f74732e6d7970696e6174612e636c6f75642f697066732f51
Arg [16] : 6d665431776e5071314243373376513151376d6b615536683843465551327346
Arg [17] : 4b695057327478565144724d6500000000000000000000000000000000000000
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.