More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 488 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Safe Transfer Fr... | 20214134 | 99 days ago | IN | 0 ETH | 0.00079642 | ||||
Set Approval For... | 20212022 | 99 days ago | IN | 0 ETH | 0.00043628 | ||||
Set Approval For... | 19980375 | 131 days ago | IN | 0 ETH | 0.00032741 | ||||
Set Approval For... | 19890034 | 144 days ago | IN | 0 ETH | 0.0002859 | ||||
Safe Transfer Fr... | 19846915 | 150 days ago | IN | 0 ETH | 0.00046998 | ||||
Set Approval For... | 19751648 | 163 days ago | IN | 0 ETH | 0.00019671 | ||||
Set Approval For... | 19670473 | 175 days ago | IN | 0 ETH | 0.00037386 | ||||
Safe Transfer Fr... | 19670455 | 175 days ago | IN | 0 ETH | 0.00078706 | ||||
Set Approval For... | 19533875 | 194 days ago | IN | 0 ETH | 0.00250154 | ||||
Set Approval For... | 19515847 | 197 days ago | IN | 0 ETH | 0.00089452 | ||||
Set Approval For... | 19393300 | 214 days ago | IN | 0 ETH | 0.00169296 | ||||
Safe Transfer Fr... | 19174420 | 244 days ago | IN | 0 ETH | 0.00217005 | ||||
Safe Transfer Fr... | 19000973 | 269 days ago | IN | 0 ETH | 0.001338 | ||||
Set Approval For... | 18646308 | 318 days ago | IN | 0 ETH | 0.00043589 | ||||
Set Approval For... | 18231621 | 376 days ago | IN | 0 ETH | 0.00036274 | ||||
Set Approval For... | 17964337 | 414 days ago | IN | 0 ETH | 0.00217568 | ||||
Set Approval For... | 17847221 | 430 days ago | IN | 0 ETH | 0.00037059 | ||||
Set Approval For... | 17847218 | 430 days ago | IN | 0 ETH | 0.00065991 | ||||
Set Approval For... | 17625925 | 461 days ago | IN | 0 ETH | 0.00209836 | ||||
Set Approval For... | 17591723 | 466 days ago | IN | 0 ETH | 0.00086256 | ||||
Safe Transfer Fr... | 17591654 | 466 days ago | IN | 0 ETH | 0.00181235 | ||||
Safe Transfer Fr... | 17591599 | 466 days ago | IN | 0 ETH | 0.00189461 | ||||
Set Approval For... | 17509685 | 478 days ago | IN | 0 ETH | 0.00059503 | ||||
Set Approval For... | 17505383 | 478 days ago | IN | 0 ETH | 0.00068078 | ||||
Set Approval For... | 17473218 | 483 days ago | IN | 0 ETH | 0.00073876 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
Token
Compiler Version
v0.8.2+commit.661d1103
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ERC721Tradable.sol"; /** * @title The Mike Tyson NFT Collection by Cory Van Lew * An NFT powered by Ether Cards - https://ether.cards */ contract Token is ERC721Tradable { string _tokenURI = "https://client-metadata.ether.cards/api/tyson/"; string _contractURI = "https://client-metadata.ether.cards/api/tyson/contract"; uint256 public HG2G = 42; constructor(address _proxyRegistryAddress) ERC721Tradable("The Mike Tyson NFT Collection by Cory Van Lew", "TYSON", _proxyRegistryAddress) {} function baseTokenURI() override public view returns (string memory) { return _tokenURI; } function setTokenURI(string memory _uri) external onlyOwner { _tokenURI = _uri; } function contractURI() public view returns (string memory) { return _contractURI; } function setContractURI(string memory _uri) external onlyOwner { _contractURI = _uri; } }
// 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/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "./common/meta-transactions/ContentMixin.sol"; import "./common/meta-transactions/NativeMetaTransaction.sol"; contract OwnableDelegateProxy {} contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; } /** * @title ERC721Tradable * ERC721Tradable - ERC721 contract that whitelists a trading address, and has minting functionality. */ abstract contract ERC721Tradable is ContextMixin, ERC721Enumerable, NativeMetaTransaction, Ownable { using SafeMath for uint256; address proxyRegistryAddress; mapping (address => bool) operators; mapping (uint256 => uint256) tokenToSeries; struct Series { string name; string baseURI; uint256 start; uint256 current; uint256 supply; } Series[] collections; event NewCollection(uint256 collection_id,string name,string baseURI,uint256 start,uint256 supply); constructor( string memory _name, string memory _symbol, address _proxyRegistryAddress ) ERC721(_name, _symbol) { proxyRegistryAddress = _proxyRegistryAddress; _initializeEIP712(_name); } modifier ownerOrOperator() { require(msgSender() == owner() || operators[msgSender()],"caller is neither the owner nor the operator"); _; } function setOperator(address _operator, bool status) external onlyOwner { if (status) { operators[_operator] = status; } else { delete operators[_operator]; } } function addSeries( string[] memory _names, string[] memory baseURIs, uint256[] memory _starts, uint256[] memory _supplys ) external onlyOwner { require (_names.length == baseURIs.length, "len 1 & 2 not equal"); require (_names.length == _starts.length, "len 1 & 3 not equal"); require (_names.length == _supplys.length, "len 1 & 4 not equal"); for (uint j = 0; j < _names.length; j++){ collections.push(Series(_names[j],baseURIs[j],_starts[j],0, _supplys[j])); emit NewCollection(collections.length-1,_names[j],baseURIs[j],_starts[j], _supplys[j]); } } /** * @dev Mints a token to an address with a tokenURI. * @param _to address of the future owner of the token */ function preMintTo(address _to, uint256[] memory _seriesz) public ownerOrOperator { for (uint j = 0; j < _seriesz.length; j++){ uint256 collection = _seriesz[j]; require(collection < collections.length, "Invalid Collection"); uint256 newTokenId = _getNextTokenId(collection); _mint(_to, newTokenId); tokenToSeries[newTokenId] = collection; } } /** * @dev Mints a token to an address with a tokenURI. * @param _to address of the future owner of the token */ function mintTo(address _to, uint256 collection) public ownerOrOperator { require(collection < collections.length, "Invalid Collection"); uint256 newTokenId = _getNextTokenId(collection); _mint(_to, newTokenId); tokenToSeries[newTokenId] = collection; } function privateMint(address _to, uint256 collection) public onlyOwner { require(collections[collection].supply == 250,"Wrong collection"); for (uint i = 0; i < 25; i++) { uint256 newTokenId = _getNextTokenId(collection); _mint(_to, newTokenId); tokenToSeries[newTokenId] = collection; } } /** * @dev calculates the next token ID based on value of _currentTokenId * @return uint256 for the next token ID */ function _getNextTokenId(uint256 collection) private returns (uint256) { Series storage coll = collections[collection]; uint pointer = coll.current++; require(pointer < coll.supply, "No tokens available"); uint256 reply = coll.start + pointer; return reply; } /** * @dev increments the value of _currentTokenId */ function baseTokenURI() virtual public view returns (string memory); function seriesURI(uint256 collection) public view returns (string memory) { require(collection < collections.length, "Invalid Collection"); return collections[collection].baseURI; } function seriesStart(uint256 collection) internal view returns (uint256) { require(collection < collections.length, "Invalid Collection"); return collections[collection].start; } function seriesName(uint256 collection) public view returns (string memory) { require(collection < collections.length, "Invalid Collection"); return collections[collection].name; } function tokenURI(uint256 _tokenId) override public view returns (string memory) { require(_exists(_tokenId),"Token does not exist"); uint256 collection = tokenToSeries[_tokenId]; uint256 adjustedID = _tokenId - seriesStart(collection)+1; return string(abi.encodePacked(baseTokenURI(),seriesURI(collection),"/", Strings.toString(adjustedID))); } function numSeries() external view returns (uint256) { return collections.length; } function available(uint256 collectionId) external view returns (uint256) { require(collectionId < collections.length, "Invalid Collection"); Series memory coll = collections[collectionId]; return coll.supply - coll.current; } /** * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings. */ function isApprovedForAll(address _owner, address operator) override public view returns (bool) { // Whitelist OpenSea proxy contract for easy trading. ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress); if (address(proxyRegistry.proxies(_owner)) == operator) { return true; } return super.isApprovedForAll(_owner, operator); } /** * This is used instead of msg.sender as transactions won't be sent by the original token owner, but by OpenSea. */ function _msgSender() internal override view returns (address sender) { return ContextMixin.msgSender(); } }
// SPDX-License-Identifier: MIT 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 { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public 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); } /** * @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); } /** * @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 of token that is not own"); 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); } /** * @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 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 {} }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; abstract contract ContextMixin { function msgSender() internal view returns (address payable sender) { if (msg.sender == address(this)) { bytes memory array = msg.data; uint256 index = msg.data.length; assembly { // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those. sender := and( mload(add(array, index)), 0xffffffffffffffffffffffffffffffffffffffff ) } } else { sender = payable(msg.sender); } return sender; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {SafeMath} from "@openzeppelin/contracts/utils/math/SafeMath.sol"; import {EIP712Base} from "./EIP712Base.sol"; contract NativeMetaTransaction is EIP712Base { using SafeMath for uint256; bytes32 private constant META_TRANSACTION_TYPEHASH = keccak256( bytes( "MetaTransaction(uint256 nonce,address from,bytes functionSignature)" ) ); event MetaTransactionExecuted( address userAddress, address payable relayerAddress, bytes functionSignature ); mapping(address => uint256) nonces; /* * Meta transaction structure. * No point of including value field here as if user is doing value transfer then he has the funds to pay for gas * He should call the desired function directly in that case. */ struct MetaTransaction { uint256 nonce; address from; bytes functionSignature; } function executeMetaTransaction( address userAddress, bytes memory functionSignature, bytes32 sigR, bytes32 sigS, uint8 sigV ) public payable returns (bytes memory) { MetaTransaction memory metaTx = MetaTransaction({ nonce: nonces[userAddress], from: userAddress, functionSignature: functionSignature }); require( verify(userAddress, metaTx, sigR, sigS, sigV), "Signer and signature do not match" ); // increase nonce for user (to avoid re-use) nonces[userAddress] = nonces[userAddress].add(1); emit MetaTransactionExecuted( userAddress, payable(msg.sender), functionSignature ); // Append userAddress and relayer address at the end to extract it from calling context (bool success, bytes memory returnData) = address(this).call( abi.encodePacked(functionSignature, userAddress) ); require(success, "Function call not successful"); return returnData; } function hashMetaTransaction(MetaTransaction memory metaTx) internal pure returns (bytes32) { return keccak256( abi.encode( META_TRANSACTION_TYPEHASH, metaTx.nonce, metaTx.from, keccak256(metaTx.functionSignature) ) ); } function getNonce(address user) public view returns (uint256 nonce) { nonce = nonces[user]; } function verify( address signer, MetaTransaction memory metaTx, bytes32 sigR, bytes32 sigS, uint8 sigV ) internal view returns (bool) { require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER"); return signer == ecrecover( toTypedMessageHash(hashMetaTransaction(metaTx)), sigV, sigR, sigS ); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {Initializable} from "./Initializable.sol"; contract EIP712Base is Initializable { struct EIP712Domain { string name; string version; address verifyingContract; bytes32 salt; } string constant public ERC712_VERSION = "1"; bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256( bytes( "EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)" ) ); bytes32 internal domainSeperator; // supposed to be called once while initializing. // one of the contracts that inherits this contract follows proxy pattern // so it is not possible to do this in a constructor function _initializeEIP712( string memory name ) internal initializer { _setDomainSeperator(name); } function _setDomainSeperator(string memory name) internal { domainSeperator = keccak256( abi.encode( EIP712_DOMAIN_TYPEHASH, keccak256(bytes(name)), keccak256(bytes(ERC712_VERSION)), address(this), bytes32(getChainId()) ) ); } function getDomainSeperator() public view returns (bytes32) { return domainSeperator; } function getChainId() public view returns (uint256) { uint256 id; assembly { id := chainid() } return id; } /** * Accept message hash and returns hash message in EIP712 compatible form * So that it can be used to recover signer from signature signed using EIP712 formatted data * https://eips.ethereum.org/EIPS/eip-712 * "\\x19" makes the encoding deterministic * "\\x01" is the version byte to make it compatible to EIP-191 */ function toTypedMessageHash(bytes32 messageHash) internal view returns (bytes32) { return keccak256( abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash) ); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract Initializable { bool inited = false; modifier initializer() { require(!inited, "already inited"); _; inited = true; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"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":false,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"collection_id","type":"uint256"},{"indexed":false,"internalType":"string","name":"name","type":"string"},{"indexed":false,"internalType":"string","name":"baseURI","type":"string"},{"indexed":false,"internalType":"uint256","name":"start","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"supply","type":"uint256"}],"name":"NewCollection","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"HG2G","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string[]","name":"_names","type":"string[]"},{"internalType":"string[]","name":"baseURIs","type":"string[]"},{"internalType":"uint256[]","name":"_starts","type":"uint256[]"},{"internalType":"uint256[]","name":"_supplys","type":"uint256[]"}],"name":"addSeries","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"collectionId","type":"uint256"}],"name":"available","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","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":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeperator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"collection","type":"uint256"}],"name":"mintTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numSeries","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_seriesz","type":"uint256[]"}],"name":"preMintTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"collection","type":"uint256"}],"name":"privateMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"collection","type":"uint256"}],"name":"seriesName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"collection","type":"uint256"}],"name":"seriesURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"setOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setTokenURI","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"}]
Contract Creation Code
60806040526000600a60006101000a81548160ff0219169083151502179055506040518060600160405280602e8152602001620065d2602e9139601290805190602001906200005092919062000491565b506040518060600160405280603681526020016200659c60369139601390805190602001906200008292919062000491565b50602a6014553480156200009557600080fd5b506040516200662d3803806200662d8339818101604052810190620000bb919062000558565b6040518060600160405280602d815260200162006600602d91396040518060400160405280600581526020017f5459534f4e00000000000000000000000000000000000000000000000000000081525082828281600090805190602001906200012692919062000491565b5080600190805190602001906200013f92919062000491565b5050506200016262000156620001be60201b60201c565b620001da60201b60201c565b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620001b483620002a060201b60201c565b5050505062000743565b6000620001d56200032260201b620028bb1760201c565b905090565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600a60009054906101000a900460ff1615620002f3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002ea906200062a565b60405180910390fd5b6200030481620003d560201b60201c565b6001600a60006101000a81548160ff02191690831515021790555050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415620003ce57600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff818301511692505050620003d2565b3390505b90565b6040518060800160405280604f81526020016200654d604f91398051906020012081805190602001206040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525080519060200120306200044c6200048460201b60201c565b60001b60405160200162000465959493929190620005cd565b60405160208183030381529060405280519060200120600b8190555050565b6000804690508091505090565b8280546200049f906200069b565b90600052602060002090601f016020900481019282620004c357600085556200050f565b82601f10620004de57805160ff19168380011785556200050f565b828001600101855582156200050f579182015b828111156200050e578251825591602001919060010190620004f1565b5b5090506200051e919062000522565b5090565b5b808211156200053d57600081600090555060010162000523565b5090565b600081519050620005528162000729565b92915050565b6000602082840312156200056b57600080fd5b60006200057b8482850162000541565b91505092915050565b6200058f816200065d565b82525050565b620005a08162000671565b82525050565b6000620005b5600e836200064c565b9150620005c28262000700565b602082019050919050565b600060a082019050620005e4600083018862000595565b620005f3602083018762000595565b62000602604083018662000595565b62000611606083018562000584565b62000620608083018462000595565b9695505050505050565b600060208201905081810360008301526200064581620005a6565b9050919050565b600082825260208201905092915050565b60006200066a826200067b565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006002820490506001821680620006b457607f821691505b60208210811415620006cb57620006ca620006d1565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f616c726561647920696e69746564000000000000000000000000000000000000600082015250565b62000734816200065d565b81146200074057600080fd5b50565b615dfa80620007536000396000f3fe6080604052600436106102255760003560e01c806370a0823111610123578063b6b55d4f116100ab578063dd1ae6231161006f578063dd1ae62314610858578063e0df5b6f14610881578063e8a3d485146108aa578063e985e9c5146108d5578063f2fde38b1461091257610225565b8063b6b55d4f14610773578063b88d4fde1461079e578063be62b3c1146107c7578063c87b56dd146107f0578063d547cfb71461082d57610225565b806395bb874f116100f257806395bb874f1461068e57806395d89b41146106b757806396e494e8146106e2578063a074300f1461071f578063a22cb4651461074a57610225565b806370a08231146105e6578063715018a6146106235780638da5cb5b1461063a578063938e3d7b1461066557610225565b80632d0335ab116101b15780634f6ccce7116101755780634f6ccce7146104c9578063558a72971461050657806357c1941b1461052f5780636352211e1461056c5780636c38af18146105a957610225565b80632d0335ab146103d25780632f745c591461040f5780633408e4701461044c57806342842e0e14610477578063449a52f8146104a057610225565b80630c53c51c116101f85780630c53c51c146102f85780630f7e59701461032857806318160ddd1461035357806320379ee51461037e57806323b872dd146103a957610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063095ea7b3146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190614442565b61093b565b60405161025e9190614bf4565b60405180910390f35b34801561027357600080fd5b5061027c6109b5565b6040516102899190614cd6565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b491906144fe565b610a47565b6040516102c69190614b4f565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f19190614343565b610acc565b005b610312600480360381019061030d91906142b4565b610be4565b60405161031f9190614cb4565b60405180910390f35b34801561033457600080fd5b5061033d610e56565b60405161034a9190614cd6565b60405180910390f35b34801561035f57600080fd5b50610368610e8f565b6040516103759190615078565b60405180910390f35b34801561038a57600080fd5b50610393610e9c565b6040516103a09190614c0f565b60405180910390f35b3480156103b557600080fd5b506103d060048036038101906103cb919061415a565b610ea6565b005b3480156103de57600080fd5b506103f960048036038101906103f491906140f5565b610f06565b6040516104069190615078565b60405180910390f35b34801561041b57600080fd5b5061043660048036038101906104319190614343565b610f4f565b6040516104439190615078565b60405180910390f35b34801561045857600080fd5b50610461610ff4565b60405161046e9190615078565b60405180910390f35b34801561048357600080fd5b5061049e6004803603810190610499919061415a565b611001565b005b3480156104ac57600080fd5b506104c760048036038101906104c29190614343565b611021565b005b3480156104d557600080fd5b506104f060048036038101906104eb91906144fe565b611173565b6040516104fd9190615078565b60405180910390f35b34801561051257600080fd5b5061052d60048036038101906105289190614278565b61120a565b005b34801561053b57600080fd5b50610556600480360381019061055191906144fe565b61133c565b6040516105639190614cd6565b60405180910390f35b34801561057857600080fd5b50610593600480360381019061058e91906144fe565b611460565b6040516105a09190614b4f565b60405180910390f35b3480156105b557600080fd5b506105d060048036038101906105cb91906144fe565b611512565b6040516105dd9190614cd6565b60405180910390f35b3480156105f257600080fd5b5061060d600480360381019061060891906140f5565b611636565b60405161061a9190615078565b60405180910390f35b34801561062f57600080fd5b506106386116ee565b005b34801561064657600080fd5b5061064f611776565b60405161065c9190614b4f565b60405180910390f35b34801561067157600080fd5b5061068c600480360381019061068791906144bd565b6117a0565b005b34801561069a57600080fd5b506106b560048036038101906106b0919061437f565b611836565b005b3480156106c357600080fd5b506106cc611ca1565b6040516106d99190614cd6565b60405180910390f35b3480156106ee57600080fd5b50610709600480360381019061070491906144fe565b611d33565b6040516107169190615078565b60405180910390f35b34801561072b57600080fd5b50610734611f31565b6040516107419190615078565b60405180910390f35b34801561075657600080fd5b50610771600480360381019061076c9190614278565b611f37565b005b34801561077f57600080fd5b506107886120b8565b6040516107959190615078565b60405180910390f35b3480156107aa57600080fd5b506107c560048036038101906107c091906141a9565b6120c5565b005b3480156107d357600080fd5b506107ee60048036038101906107e99190614343565b612127565b005b3480156107fc57600080fd5b50610817600480360381019061081291906144fe565b612285565b6040516108249190614cd6565b60405180910390f35b34801561083957600080fd5b5061084261234f565b60405161084f9190614cd6565b60405180910390f35b34801561086457600080fd5b5061087f600480360381019061087a9190614224565b6123e1565b005b34801561088d57600080fd5b506108a860048036038101906108a391906144bd565b612599565b005b3480156108b657600080fd5b506108bf61262f565b6040516108cc9190614cd6565b60405180910390f35b3480156108e157600080fd5b506108fc60048036038101906108f7919061411e565b6126c1565b6040516109099190614bf4565b60405180910390f35b34801561091e57600080fd5b50610939600480360381019061093491906140f5565b6127c3565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109ae57506109ad8261296c565b5b9050919050565b6060600080546109c4906153cd565b80601f01602080910402602001604051908101604052809291908181526020018280546109f0906153cd565b8015610a3d5780601f10610a1257610100808354040283529160200191610a3d565b820191906000526020600020905b815481529060010190602001808311610a2057829003601f168201915b5050505050905090565b6000610a5282612a4e565b610a91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8890614f38565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ad782611460565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3f90614fd8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b67612aba565b73ffffffffffffffffffffffffffffffffffffffff161480610b965750610b9581610b90612aba565b6126c1565b5b610bd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bcc90614eb8565b60405180910390fd5b610bdf8383612ac9565b505050565b606060006040518060600160405280600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff168152602001878152509050610c678782878787612b82565b610ca6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9d90614f98565b60405180910390fd5b610cf96001600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612c8b90919063ffffffff16565b600c60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051610d6f93929190614b6a565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a604051602001610da4929190614ab4565b604051602081830303815290604052604051610dc09190614a9d565b6000604051808303816000865af19150503d8060008114610dfd576040519150601f19603f3d011682016040523d82523d6000602084013e610e02565b606091505b509150915081610e47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3e90614db8565b60405180910390fd5b80935050505095945050505050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b6000600880549050905090565b6000600b54905090565b610eb7610eb1612aba565b82612ca1565b610ef6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eed90615018565b60405180910390fd5b610f01838383612d7f565b505050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000610f5a83611636565b8210610f9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9290614d58565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000804690508091505090565b61101c838383604051806020016040528060008152506120c5565b505050565b611029611776565b73ffffffffffffffffffffffffffffffffffffffff166110476128bb565b73ffffffffffffffffffffffffffffffffffffffff1614806110b95750600f60006110706128bb565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6110f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ef90614cf8565b60405180910390fd5b601180549050811061113f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113690614ff8565b60405180910390fd5b600061114a82612fdb565b905061115683826130aa565b816010600083815260200190815260200160002081905550505050565b600061117d610e8f565b82106111be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b590615038565b60405180910390fd5b600882815481106111f8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b611212612aba565b73ffffffffffffffffffffffffffffffffffffffff16611230611776565b73ffffffffffffffffffffffffffffffffffffffff1614611286576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127d90614f58565b60405180910390fd5b80156112e85780600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611338565b600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff02191690555b5050565b60606011805490508210611385576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137c90614ff8565b60405180910390fd5b601182815481106113bf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906005020160000180546113db906153cd565b80601f0160208091040260200160405190810160405280929190818152602001828054611407906153cd565b80156114545780601f1061142957610100808354040283529160200191611454565b820191906000526020600020905b81548152906001019060200180831161143757829003601f168201915b50505050509050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611509576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150090614ef8565b60405180910390fd5b80915050919050565b6060601180549050821061155b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155290614ff8565b60405180910390fd5b60118281548110611595577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906005020160010180546115b1906153cd565b80601f01602080910402602001604051908101604052809291908181526020018280546115dd906153cd565b801561162a5780601f106115ff5761010080835404028352916020019161162a565b820191906000526020600020905b81548152906001019060200180831161160d57829003601f168201915b50505050509050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169e90614ed8565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6116f6612aba565b73ffffffffffffffffffffffffffffffffffffffff16611714611776565b73ffffffffffffffffffffffffffffffffffffffff161461176a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176190614f58565b60405180910390fd5b6117746000613278565b565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6117a8612aba565b73ffffffffffffffffffffffffffffffffffffffff166117c6611776565b73ffffffffffffffffffffffffffffffffffffffff161461181c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181390614f58565b60405180910390fd5b8060139080519060200190611832929190613dbd565b5050565b61183e612aba565b73ffffffffffffffffffffffffffffffffffffffff1661185c611776565b73ffffffffffffffffffffffffffffffffffffffff16146118b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a990614f58565b60405180910390fd5b82518451146118f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ed90614d18565b60405180910390fd5b815184511461193a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193190614d38565b60405180910390fd5b805184511461197e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197590615058565b60405180910390fd5b60005b8451811015611c9a5760116040518060a001604052808784815181106119d0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518152602001868481518110611a16577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518152602001858481518110611a5c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200160008152602001848481518110611aa9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015181525090806001815401808255809150506001900390600052602060002090600502016000909190919091506000820151816000019080519060200190611af9929190613dbd565b506020820151816001019080519060200190611b16929190613dbd565b5060408201518160020155606082015181600301556080820151816004015550507f506707f7f60de37b0b8ed64c63718d55ffa27621d55b1170a78d83177e630b366001601180549050611b6a91906152a8565b868381518110611ba3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151868481518110611be4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151868581518110611c25577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151868681518110611c66577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151604051611c7f959493929190615093565b60405180910390a18080611c9290615430565b915050611981565b5050505050565b606060018054611cb0906153cd565b80601f0160208091040260200160405190810160405280929190818152602001828054611cdc906153cd565b8015611d295780601f10611cfe57610100808354040283529160200191611d29565b820191906000526020600020905b815481529060010190602001808311611d0c57829003601f168201915b5050505050905090565b60006011805490508210611d7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7390614ff8565b60405180910390fd5b600060118381548110611db8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600502016040518060a0016040529081600082018054611de1906153cd565b80601f0160208091040260200160405190810160405280929190818152602001828054611e0d906153cd565b8015611e5a5780601f10611e2f57610100808354040283529160200191611e5a565b820191906000526020600020905b815481529060010190602001808311611e3d57829003601f168201915b50505050508152602001600182018054611e73906153cd565b80601f0160208091040260200160405190810160405280929190818152602001828054611e9f906153cd565b8015611eec5780601f10611ec157610100808354040283529160200191611eec565b820191906000526020600020905b815481529060010190602001808311611ecf57829003601f168201915b505050505081526020016002820154815260200160038201548152602001600482015481525050905080606001518160800151611f2991906152a8565b915050919050565b60145481565b611f3f612aba565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa490614e18565b60405180910390fd5b8060056000611fba612aba565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612067612aba565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120ac9190614bf4565b60405180910390a35050565b6000601180549050905090565b6120d66120d0612aba565b83612ca1565b612115576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210c90615018565b60405180910390fd5b6121218484848461333e565b50505050565b61212f612aba565b73ffffffffffffffffffffffffffffffffffffffff1661214d611776565b73ffffffffffffffffffffffffffffffffffffffff16146121a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219a90614f58565b60405180910390fd5b60fa601182815481106121df577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600502016004015414612231576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222890614e38565b60405180910390fd5b60005b601981101561228057600061224883612fdb565b905061225484826130aa565b82601060008381526020019081526020016000208190555050808061227890615430565b915050612234565b505050565b606061229082612a4e565b6122cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c690614e58565b60405180910390fd5b600060106000848152602001908152602001600020549050600060016122f48361339a565b856122ff91906152a8565b6123099190615221565b905061231361234f565b61231c83611512565b61232583613436565b60405160200161233793929190614adc565b60405160208183030381529060405292505050919050565b60606012805461235e906153cd565b80601f016020809104026020016040519081016040528092919081815260200182805461238a906153cd565b80156123d75780601f106123ac576101008083540402835291602001916123d7565b820191906000526020600020905b8154815290600101906020018083116123ba57829003601f168201915b5050505050905090565b6123e9611776565b73ffffffffffffffffffffffffffffffffffffffff166124076128bb565b73ffffffffffffffffffffffffffffffffffffffff1614806124795750600f60006124306128bb565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6124b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124af90614cf8565b60405180910390fd5b60005b81518110156125945760008282815181106124ff577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506011805490508110612550576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254790614ff8565b60405180910390fd5b600061255b82612fdb565b905061256785826130aa565b8160106000838152602001908152602001600020819055505050808061258c90615430565b9150506124bb565b505050565b6125a1612aba565b73ffffffffffffffffffffffffffffffffffffffff166125bf611776565b73ffffffffffffffffffffffffffffffffffffffff1614612615576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260c90614f58565b60405180910390fd5b806012908051906020019061262b929190613dbd565b5050565b60606013805461263e906153cd565b80601f016020809104026020016040519081016040528092919081815260200182805461266a906153cd565b80156126b75780601f1061268c576101008083540402835291602001916126b7565b820191906000526020600020905b81548152906001019060200180831161269a57829003601f168201915b5050505050905090565b600080600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016127399190614b4f565b60206040518083038186803b15801561275157600080fd5b505afa158015612765573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127899190614494565b73ffffffffffffffffffffffffffffffffffffffff1614156127af5760019150506127bd565b6127b984846135e3565b9150505b92915050565b6127cb612aba565b73ffffffffffffffffffffffffffffffffffffffff166127e9611776565b73ffffffffffffffffffffffffffffffffffffffff161461283f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283690614f58565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156128af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128a690614d98565b60405180910390fd5b6128b881613278565b50565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561296557600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff818301511692505050612969565b3390505b90565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a3757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612a475750612a4682613677565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6000612ac46128bb565b905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612b3c83611460565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161415612bf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bea90614e98565b60405180910390fd5b6001612c06612c01876136e1565b613749565b83868660405160008152602001604052604051612c269493929190614c6f565b6020604051602081039080840390855afa158015612c48573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b60008183612c999190615221565b905092915050565b6000612cac82612a4e565b612ceb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce290614e78565b60405180910390fd5b6000612cf683611460565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612d6557508373ffffffffffffffffffffffffffffffffffffffff16612d4d84610a47565b73ffffffffffffffffffffffffffffffffffffffff16145b80612d765750612d7581856126c1565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612d9f82611460565b73ffffffffffffffffffffffffffffffffffffffff1614612df5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dec90614f78565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5c90614df8565b60405180910390fd5b612e70838383613782565b612e7b600082612ac9565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ecb91906152a8565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f229190615221565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008060118381548110613018577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600502019050600081600301600081548092919061303f90615430565b9190505590508160040154811061308b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161308290614fb8565b60405180910390fd5b600081836002015461309d9190615221565b9050809350505050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561311a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161311190614f18565b60405180910390fd5b61312381612a4e565b15613163576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161315a90614dd8565b60405180910390fd5b61316f60008383613782565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131bf9190615221565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613349848484612d7f565b61335584848484613896565b613394576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161338b90614d78565b60405180910390fd5b50505050565b600060118054905082106133e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133da90614ff8565b60405180910390fd5b6011828154811061341d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060050201600201549050919050565b6060600082141561347e576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506135de565b600082905060005b600082146134b057808061349990615430565b915050600a826134a99190615277565b9150613486565b60008167ffffffffffffffff8111156134f2577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156135245781602001600182028036833780820191505090505b5090505b600085146135d75760018261353d91906152a8565b9150600a8561354c91906154a7565b60306135589190615221565b60f81b818381518110613594577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856135d09190615277565b9450613528565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000604051806080016040528060438152602001615d8260439139805190602001208260000151836020015184604001518051906020012060405160200161372c9493929190614c2a565b604051602081830303815290604052805190602001209050919050565b6000613753610e9c565b82604051602001613765929190614b18565b604051602081830303815290604052805190602001209050919050565b61378d838383613a2d565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156137d0576137cb81613a32565b61380f565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461380e5761380d8382613a7b565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156138525761384d81613be8565b613891565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146138905761388f8282613d2b565b5b5b505050565b60006138b78473ffffffffffffffffffffffffffffffffffffffff16613daa565b15613a20578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026138e0612aba565b8786866040518563ffffffff1660e01b81526004016139029493929190614ba8565b602060405180830381600087803b15801561391c57600080fd5b505af192505050801561394d57506040513d601f19601f8201168201806040525081019061394a919061446b565b60015b6139d0573d806000811461397d576040519150601f19603f3d011682016040523d82523d6000602084013e613982565b606091505b506000815114156139c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139bf90614d78565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613a25565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613a8884611636565b613a9291906152a8565b9050600060076000848152602001908152602001600020549050818114613b77576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613bfc91906152a8565b9050600060096000848152602001908152602001600020549050600060088381548110613c52577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613c9a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613d0f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613d3683611636565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b828054613dc9906153cd565b90600052602060002090601f016020900481019282613deb5760008555613e32565b82601f10613e0457805160ff1916838001178555613e32565b82800160010185558215613e32579182015b82811115613e31578251825591602001919060010190613e16565b5b509050613e3f9190613e43565b5090565b5b80821115613e5c576000816000905550600101613e44565b5090565b6000613e73613e6e84615119565b6150f4565b9050808382526020820190508260005b85811015613eb35781358501613e9988826140a1565b845260208401935060208301925050600181019050613e83565b5050509392505050565b6000613ed0613ecb84615145565b6150f4565b90508083825260208201905082856020860282011115613eef57600080fd5b60005b85811015613f1f5781613f0588826140cb565b845260208401935060208301925050600181019050613ef2565b5050509392505050565b6000613f3c613f3784615171565b6150f4565b905082815260208101848484011115613f5457600080fd5b613f5f84828561538b565b509392505050565b6000613f7a613f75846151a2565b6150f4565b905082815260208101848484011115613f9257600080fd5b613f9d84828561538b565b509392505050565b600081359050613fb481615ce0565b92915050565b600082601f830112613fcb57600080fd5b8135613fdb848260208601613e60565b91505092915050565b600082601f830112613ff557600080fd5b8135614005848260208601613ebd565b91505092915050565b60008135905061401d81615cf7565b92915050565b60008135905061403281615d0e565b92915050565b60008135905061404781615d25565b92915050565b60008151905061405c81615d25565b92915050565b600082601f83011261407357600080fd5b8135614083848260208601613f29565b91505092915050565b60008151905061409b81615d3c565b92915050565b600082601f8301126140b257600080fd5b81356140c2848260208601613f67565b91505092915050565b6000813590506140da81615d53565b92915050565b6000813590506140ef81615d6a565b92915050565b60006020828403121561410757600080fd5b600061411584828501613fa5565b91505092915050565b6000806040838503121561413157600080fd5b600061413f85828601613fa5565b925050602061415085828601613fa5565b9150509250929050565b60008060006060848603121561416f57600080fd5b600061417d86828701613fa5565b935050602061418e86828701613fa5565b925050604061419f868287016140cb565b9150509250925092565b600080600080608085870312156141bf57600080fd5b60006141cd87828801613fa5565b94505060206141de87828801613fa5565b93505060406141ef878288016140cb565b925050606085013567ffffffffffffffff81111561420c57600080fd5b61421887828801614062565b91505092959194509250565b6000806040838503121561423757600080fd5b600061424585828601613fa5565b925050602083013567ffffffffffffffff81111561426257600080fd5b61426e85828601613fe4565b9150509250929050565b6000806040838503121561428b57600080fd5b600061429985828601613fa5565b92505060206142aa8582860161400e565b9150509250929050565b600080600080600060a086880312156142cc57600080fd5b60006142da88828901613fa5565b955050602086013567ffffffffffffffff8111156142f757600080fd5b61430388828901614062565b945050604061431488828901614023565b935050606061432588828901614023565b9250506080614336888289016140e0565b9150509295509295909350565b6000806040838503121561435657600080fd5b600061436485828601613fa5565b9250506020614375858286016140cb565b9150509250929050565b6000806000806080858703121561439557600080fd5b600085013567ffffffffffffffff8111156143af57600080fd5b6143bb87828801613fba565b945050602085013567ffffffffffffffff8111156143d857600080fd5b6143e487828801613fba565b935050604085013567ffffffffffffffff81111561440157600080fd5b61440d87828801613fe4565b925050606085013567ffffffffffffffff81111561442a57600080fd5b61443687828801613fe4565b91505092959194509250565b60006020828403121561445457600080fd5b600061446284828501614038565b91505092915050565b60006020828403121561447d57600080fd5b600061448b8482850161404d565b91505092915050565b6000602082840312156144a657600080fd5b60006144b48482850161408c565b91505092915050565b6000602082840312156144cf57600080fd5b600082013567ffffffffffffffff8111156144e957600080fd5b6144f5848285016140a1565b91505092915050565b60006020828403121561451057600080fd5b600061451e848285016140cb565b91505092915050565b614530816152ee565b82525050565b61453f816152dc565b82525050565b614556614551826152dc565b615479565b82525050565b61456581615300565b82525050565b6145748161530c565b82525050565b61458b6145868261530c565b61548b565b82525050565b600061459c826151d3565b6145a681856151e9565b93506145b681856020860161539a565b6145bf81615594565b840191505092915050565b60006145d5826151d3565b6145df81856151fa565b93506145ef81856020860161539a565b80840191505092915050565b6000614606826151de565b6146108185615205565b935061462081856020860161539a565b61462981615594565b840191505092915050565b600061463f826151de565b6146498185615216565b935061465981856020860161539a565b80840191505092915050565b6000614672602c83615205565b915061467d826155b2565b604082019050919050565b6000614695601383615205565b91506146a082615601565b602082019050919050565b60006146b8601383615205565b91506146c38261562a565b602082019050919050565b60006146db602b83615205565b91506146e682615653565b604082019050919050565b60006146fe603283615205565b9150614709826156a2565b604082019050919050565b6000614721602683615205565b915061472c826156f1565b604082019050919050565b6000614744601c83615205565b915061474f82615740565b602082019050919050565b6000614767601c83615205565b915061477282615769565b602082019050919050565b600061478a600283615216565b915061479582615792565b600282019050919050565b60006147ad602483615205565b91506147b8826157bb565b604082019050919050565b60006147d0601983615205565b91506147db8261580a565b602082019050919050565b60006147f3601083615205565b91506147fe82615833565b602082019050919050565b6000614816601483615205565b91506148218261585c565b602082019050919050565b6000614839602c83615205565b915061484482615885565b604082019050919050565b600061485c602583615205565b9150614867826158d4565b604082019050919050565b600061487f603883615205565b915061488a82615923565b604082019050919050565b60006148a2602a83615205565b91506148ad82615972565b604082019050919050565b60006148c5602983615205565b91506148d0826159c1565b604082019050919050565b60006148e8602083615205565b91506148f382615a10565b602082019050919050565b600061490b602c83615205565b915061491682615a39565b604082019050919050565b600061492e602083615205565b915061493982615a88565b602082019050919050565b6000614951602983615205565b915061495c82615ab1565b604082019050919050565b6000614974602183615205565b915061497f82615b00565b604082019050919050565b6000614997601383615205565b91506149a282615b4f565b602082019050919050565b60006149ba602183615205565b91506149c582615b78565b604082019050919050565b60006149dd601283615205565b91506149e882615bc7565b602082019050919050565b6000614a00603183615205565b9150614a0b82615bf0565b604082019050919050565b6000614a23602c83615205565b9150614a2e82615c3f565b604082019050919050565b6000614a46601383615205565b9150614a5182615c8e565b602082019050919050565b6000614a69600183615216565b9150614a7482615cb7565b600182019050919050565b614a8881615374565b82525050565b614a978161537e565b82525050565b6000614aa982846145ca565b915081905092915050565b6000614ac082856145ca565b9150614acc8284614545565b6014820191508190509392505050565b6000614ae88286614634565b9150614af48285614634565b9150614aff82614a5c565b9150614b0b8284614634565b9150819050949350505050565b6000614b238261477d565b9150614b2f828561457a565b602082019150614b3f828461457a565b6020820191508190509392505050565b6000602082019050614b646000830184614536565b92915050565b6000606082019050614b7f6000830186614536565b614b8c6020830185614527565b8181036040830152614b9e8184614591565b9050949350505050565b6000608082019050614bbd6000830187614536565b614bca6020830186614536565b614bd76040830185614a7f565b8181036060830152614be98184614591565b905095945050505050565b6000602082019050614c09600083018461455c565b92915050565b6000602082019050614c24600083018461456b565b92915050565b6000608082019050614c3f600083018761456b565b614c4c6020830186614a7f565b614c596040830185614536565b614c66606083018461456b565b95945050505050565b6000608082019050614c84600083018761456b565b614c916020830186614a8e565b614c9e604083018561456b565b614cab606083018461456b565b95945050505050565b60006020820190508181036000830152614cce8184614591565b905092915050565b60006020820190508181036000830152614cf081846145fb565b905092915050565b60006020820190508181036000830152614d1181614665565b9050919050565b60006020820190508181036000830152614d3181614688565b9050919050565b60006020820190508181036000830152614d51816146ab565b9050919050565b60006020820190508181036000830152614d71816146ce565b9050919050565b60006020820190508181036000830152614d91816146f1565b9050919050565b60006020820190508181036000830152614db181614714565b9050919050565b60006020820190508181036000830152614dd181614737565b9050919050565b60006020820190508181036000830152614df18161475a565b9050919050565b60006020820190508181036000830152614e11816147a0565b9050919050565b60006020820190508181036000830152614e31816147c3565b9050919050565b60006020820190508181036000830152614e51816147e6565b9050919050565b60006020820190508181036000830152614e7181614809565b9050919050565b60006020820190508181036000830152614e918161482c565b9050919050565b60006020820190508181036000830152614eb18161484f565b9050919050565b60006020820190508181036000830152614ed181614872565b9050919050565b60006020820190508181036000830152614ef181614895565b9050919050565b60006020820190508181036000830152614f11816148b8565b9050919050565b60006020820190508181036000830152614f31816148db565b9050919050565b60006020820190508181036000830152614f51816148fe565b9050919050565b60006020820190508181036000830152614f7181614921565b9050919050565b60006020820190508181036000830152614f9181614944565b9050919050565b60006020820190508181036000830152614fb181614967565b9050919050565b60006020820190508181036000830152614fd18161498a565b9050919050565b60006020820190508181036000830152614ff1816149ad565b9050919050565b60006020820190508181036000830152615011816149d0565b9050919050565b60006020820190508181036000830152615031816149f3565b9050919050565b6000602082019050818103600083015261505181614a16565b9050919050565b6000602082019050818103600083015261507181614a39565b9050919050565b600060208201905061508d6000830184614a7f565b92915050565b600060a0820190506150a86000830188614a7f565b81810360208301526150ba81876145fb565b905081810360408301526150ce81866145fb565b90506150dd6060830185614a7f565b6150ea6080830184614a7f565b9695505050505050565b60006150fe61510f565b905061510a82826153ff565b919050565b6000604051905090565b600067ffffffffffffffff82111561513457615133615565565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156151605761515f615565565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561518c5761518b615565565b5b61519582615594565b9050602081019050919050565b600067ffffffffffffffff8211156151bd576151bc615565565b5b6151c682615594565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061522c82615374565b915061523783615374565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561526c5761526b6154d8565b5b828201905092915050565b600061528282615374565b915061528d83615374565b92508261529d5761529c615507565b5b828204905092915050565b60006152b382615374565b91506152be83615374565b9250828210156152d1576152d06154d8565b5b828203905092915050565b60006152e782615354565b9050919050565b60006152f982615354565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061534d826152dc565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156153b857808201518184015260208101905061539d565b838111156153c7576000848401525b50505050565b600060028204905060018216806153e557607f821691505b602082108114156153f9576153f8615536565b5b50919050565b61540882615594565b810181811067ffffffffffffffff8211171561542757615426615565565b5b80604052505050565b600061543b82615374565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561546e5761546d6154d8565b5b600182019050919050565b600061548482615495565b9050919050565b6000819050919050565b60006154a0826155a5565b9050919050565b60006154b282615374565b91506154bd83615374565b9250826154cd576154cc615507565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f63616c6c6572206973206e65697468657220746865206f776e6572206e6f722060008201527f746865206f70657261746f720000000000000000000000000000000000000000602082015250565b7f6c656e203120262032206e6f7420657175616c00000000000000000000000000600082015250565b7f6c656e203120262033206e6f7420657175616c00000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f57726f6e6720636f6c6c656374696f6e00000000000000000000000000000000600082015250565b7f546f6b656e20646f6573206e6f74206578697374000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008201527f49474e4552000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008201527f6800000000000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f20746f6b656e7320617661696c61626c6500000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f496e76616c696420436f6c6c656374696f6e0000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f6c656e203120262034206e6f7420657175616c00000000000000000000000000600082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b615ce9816152dc565b8114615cf457600080fd5b50565b615d0081615300565b8114615d0b57600080fd5b50565b615d178161530c565b8114615d2257600080fd5b50565b615d2e81615316565b8114615d3957600080fd5b50565b615d4581615342565b8114615d5057600080fd5b50565b615d5c81615374565b8114615d6757600080fd5b50565b615d738161537e565b8114615d7e57600080fd5b5056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a2646970667358221220da87e0a97ef89bd1e91b15e730c4231532acd5374dd8a6e704c09bc068439a5564736f6c63430008020033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c742968747470733a2f2f636c69656e742d6d657461646174612e65746865722e63617264732f6170692f7479736f6e2f636f6e747261637468747470733a2f2f636c69656e742d6d657461646174612e65746865722e63617264732f6170692f7479736f6e2f546865204d696b65205479736f6e204e465420436f6c6c656374696f6e20627920436f72792056616e204c6577000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Deployed Bytecode
0x6080604052600436106102255760003560e01c806370a0823111610123578063b6b55d4f116100ab578063dd1ae6231161006f578063dd1ae62314610858578063e0df5b6f14610881578063e8a3d485146108aa578063e985e9c5146108d5578063f2fde38b1461091257610225565b8063b6b55d4f14610773578063b88d4fde1461079e578063be62b3c1146107c7578063c87b56dd146107f0578063d547cfb71461082d57610225565b806395bb874f116100f257806395bb874f1461068e57806395d89b41146106b757806396e494e8146106e2578063a074300f1461071f578063a22cb4651461074a57610225565b806370a08231146105e6578063715018a6146106235780638da5cb5b1461063a578063938e3d7b1461066557610225565b80632d0335ab116101b15780634f6ccce7116101755780634f6ccce7146104c9578063558a72971461050657806357c1941b1461052f5780636352211e1461056c5780636c38af18146105a957610225565b80632d0335ab146103d25780632f745c591461040f5780633408e4701461044c57806342842e0e14610477578063449a52f8146104a057610225565b80630c53c51c116101f85780630c53c51c146102f85780630f7e59701461032857806318160ddd1461035357806320379ee51461037e57806323b872dd146103a957610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063095ea7b3146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190614442565b61093b565b60405161025e9190614bf4565b60405180910390f35b34801561027357600080fd5b5061027c6109b5565b6040516102899190614cd6565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b491906144fe565b610a47565b6040516102c69190614b4f565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f19190614343565b610acc565b005b610312600480360381019061030d91906142b4565b610be4565b60405161031f9190614cb4565b60405180910390f35b34801561033457600080fd5b5061033d610e56565b60405161034a9190614cd6565b60405180910390f35b34801561035f57600080fd5b50610368610e8f565b6040516103759190615078565b60405180910390f35b34801561038a57600080fd5b50610393610e9c565b6040516103a09190614c0f565b60405180910390f35b3480156103b557600080fd5b506103d060048036038101906103cb919061415a565b610ea6565b005b3480156103de57600080fd5b506103f960048036038101906103f491906140f5565b610f06565b6040516104069190615078565b60405180910390f35b34801561041b57600080fd5b5061043660048036038101906104319190614343565b610f4f565b6040516104439190615078565b60405180910390f35b34801561045857600080fd5b50610461610ff4565b60405161046e9190615078565b60405180910390f35b34801561048357600080fd5b5061049e6004803603810190610499919061415a565b611001565b005b3480156104ac57600080fd5b506104c760048036038101906104c29190614343565b611021565b005b3480156104d557600080fd5b506104f060048036038101906104eb91906144fe565b611173565b6040516104fd9190615078565b60405180910390f35b34801561051257600080fd5b5061052d60048036038101906105289190614278565b61120a565b005b34801561053b57600080fd5b50610556600480360381019061055191906144fe565b61133c565b6040516105639190614cd6565b60405180910390f35b34801561057857600080fd5b50610593600480360381019061058e91906144fe565b611460565b6040516105a09190614b4f565b60405180910390f35b3480156105b557600080fd5b506105d060048036038101906105cb91906144fe565b611512565b6040516105dd9190614cd6565b60405180910390f35b3480156105f257600080fd5b5061060d600480360381019061060891906140f5565b611636565b60405161061a9190615078565b60405180910390f35b34801561062f57600080fd5b506106386116ee565b005b34801561064657600080fd5b5061064f611776565b60405161065c9190614b4f565b60405180910390f35b34801561067157600080fd5b5061068c600480360381019061068791906144bd565b6117a0565b005b34801561069a57600080fd5b506106b560048036038101906106b0919061437f565b611836565b005b3480156106c357600080fd5b506106cc611ca1565b6040516106d99190614cd6565b60405180910390f35b3480156106ee57600080fd5b50610709600480360381019061070491906144fe565b611d33565b6040516107169190615078565b60405180910390f35b34801561072b57600080fd5b50610734611f31565b6040516107419190615078565b60405180910390f35b34801561075657600080fd5b50610771600480360381019061076c9190614278565b611f37565b005b34801561077f57600080fd5b506107886120b8565b6040516107959190615078565b60405180910390f35b3480156107aa57600080fd5b506107c560048036038101906107c091906141a9565b6120c5565b005b3480156107d357600080fd5b506107ee60048036038101906107e99190614343565b612127565b005b3480156107fc57600080fd5b50610817600480360381019061081291906144fe565b612285565b6040516108249190614cd6565b60405180910390f35b34801561083957600080fd5b5061084261234f565b60405161084f9190614cd6565b60405180910390f35b34801561086457600080fd5b5061087f600480360381019061087a9190614224565b6123e1565b005b34801561088d57600080fd5b506108a860048036038101906108a391906144bd565b612599565b005b3480156108b657600080fd5b506108bf61262f565b6040516108cc9190614cd6565b60405180910390f35b3480156108e157600080fd5b506108fc60048036038101906108f7919061411e565b6126c1565b6040516109099190614bf4565b60405180910390f35b34801561091e57600080fd5b50610939600480360381019061093491906140f5565b6127c3565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109ae57506109ad8261296c565b5b9050919050565b6060600080546109c4906153cd565b80601f01602080910402602001604051908101604052809291908181526020018280546109f0906153cd565b8015610a3d5780601f10610a1257610100808354040283529160200191610a3d565b820191906000526020600020905b815481529060010190602001808311610a2057829003601f168201915b5050505050905090565b6000610a5282612a4e565b610a91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8890614f38565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ad782611460565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3f90614fd8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b67612aba565b73ffffffffffffffffffffffffffffffffffffffff161480610b965750610b9581610b90612aba565b6126c1565b5b610bd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bcc90614eb8565b60405180910390fd5b610bdf8383612ac9565b505050565b606060006040518060600160405280600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff168152602001878152509050610c678782878787612b82565b610ca6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9d90614f98565b60405180910390fd5b610cf96001600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612c8b90919063ffffffff16565b600c60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051610d6f93929190614b6a565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a604051602001610da4929190614ab4565b604051602081830303815290604052604051610dc09190614a9d565b6000604051808303816000865af19150503d8060008114610dfd576040519150601f19603f3d011682016040523d82523d6000602084013e610e02565b606091505b509150915081610e47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3e90614db8565b60405180910390fd5b80935050505095945050505050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b6000600880549050905090565b6000600b54905090565b610eb7610eb1612aba565b82612ca1565b610ef6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eed90615018565b60405180910390fd5b610f01838383612d7f565b505050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000610f5a83611636565b8210610f9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9290614d58565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000804690508091505090565b61101c838383604051806020016040528060008152506120c5565b505050565b611029611776565b73ffffffffffffffffffffffffffffffffffffffff166110476128bb565b73ffffffffffffffffffffffffffffffffffffffff1614806110b95750600f60006110706128bb565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6110f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ef90614cf8565b60405180910390fd5b601180549050811061113f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113690614ff8565b60405180910390fd5b600061114a82612fdb565b905061115683826130aa565b816010600083815260200190815260200160002081905550505050565b600061117d610e8f565b82106111be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b590615038565b60405180910390fd5b600882815481106111f8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b611212612aba565b73ffffffffffffffffffffffffffffffffffffffff16611230611776565b73ffffffffffffffffffffffffffffffffffffffff1614611286576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127d90614f58565b60405180910390fd5b80156112e85780600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611338565b600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff02191690555b5050565b60606011805490508210611385576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137c90614ff8565b60405180910390fd5b601182815481106113bf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906005020160000180546113db906153cd565b80601f0160208091040260200160405190810160405280929190818152602001828054611407906153cd565b80156114545780601f1061142957610100808354040283529160200191611454565b820191906000526020600020905b81548152906001019060200180831161143757829003601f168201915b50505050509050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611509576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150090614ef8565b60405180910390fd5b80915050919050565b6060601180549050821061155b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155290614ff8565b60405180910390fd5b60118281548110611595577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906005020160010180546115b1906153cd565b80601f01602080910402602001604051908101604052809291908181526020018280546115dd906153cd565b801561162a5780601f106115ff5761010080835404028352916020019161162a565b820191906000526020600020905b81548152906001019060200180831161160d57829003601f168201915b50505050509050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169e90614ed8565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6116f6612aba565b73ffffffffffffffffffffffffffffffffffffffff16611714611776565b73ffffffffffffffffffffffffffffffffffffffff161461176a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176190614f58565b60405180910390fd5b6117746000613278565b565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6117a8612aba565b73ffffffffffffffffffffffffffffffffffffffff166117c6611776565b73ffffffffffffffffffffffffffffffffffffffff161461181c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181390614f58565b60405180910390fd5b8060139080519060200190611832929190613dbd565b5050565b61183e612aba565b73ffffffffffffffffffffffffffffffffffffffff1661185c611776565b73ffffffffffffffffffffffffffffffffffffffff16146118b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a990614f58565b60405180910390fd5b82518451146118f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ed90614d18565b60405180910390fd5b815184511461193a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193190614d38565b60405180910390fd5b805184511461197e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197590615058565b60405180910390fd5b60005b8451811015611c9a5760116040518060a001604052808784815181106119d0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518152602001868481518110611a16577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518152602001858481518110611a5c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200160008152602001848481518110611aa9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015181525090806001815401808255809150506001900390600052602060002090600502016000909190919091506000820151816000019080519060200190611af9929190613dbd565b506020820151816001019080519060200190611b16929190613dbd565b5060408201518160020155606082015181600301556080820151816004015550507f506707f7f60de37b0b8ed64c63718d55ffa27621d55b1170a78d83177e630b366001601180549050611b6a91906152a8565b868381518110611ba3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151868481518110611be4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151868581518110611c25577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151868681518110611c66577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151604051611c7f959493929190615093565b60405180910390a18080611c9290615430565b915050611981565b5050505050565b606060018054611cb0906153cd565b80601f0160208091040260200160405190810160405280929190818152602001828054611cdc906153cd565b8015611d295780601f10611cfe57610100808354040283529160200191611d29565b820191906000526020600020905b815481529060010190602001808311611d0c57829003601f168201915b5050505050905090565b60006011805490508210611d7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7390614ff8565b60405180910390fd5b600060118381548110611db8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600502016040518060a0016040529081600082018054611de1906153cd565b80601f0160208091040260200160405190810160405280929190818152602001828054611e0d906153cd565b8015611e5a5780601f10611e2f57610100808354040283529160200191611e5a565b820191906000526020600020905b815481529060010190602001808311611e3d57829003601f168201915b50505050508152602001600182018054611e73906153cd565b80601f0160208091040260200160405190810160405280929190818152602001828054611e9f906153cd565b8015611eec5780601f10611ec157610100808354040283529160200191611eec565b820191906000526020600020905b815481529060010190602001808311611ecf57829003601f168201915b505050505081526020016002820154815260200160038201548152602001600482015481525050905080606001518160800151611f2991906152a8565b915050919050565b60145481565b611f3f612aba565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa490614e18565b60405180910390fd5b8060056000611fba612aba565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612067612aba565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120ac9190614bf4565b60405180910390a35050565b6000601180549050905090565b6120d66120d0612aba565b83612ca1565b612115576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210c90615018565b60405180910390fd5b6121218484848461333e565b50505050565b61212f612aba565b73ffffffffffffffffffffffffffffffffffffffff1661214d611776565b73ffffffffffffffffffffffffffffffffffffffff16146121a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219a90614f58565b60405180910390fd5b60fa601182815481106121df577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600502016004015414612231576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222890614e38565b60405180910390fd5b60005b601981101561228057600061224883612fdb565b905061225484826130aa565b82601060008381526020019081526020016000208190555050808061227890615430565b915050612234565b505050565b606061229082612a4e565b6122cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c690614e58565b60405180910390fd5b600060106000848152602001908152602001600020549050600060016122f48361339a565b856122ff91906152a8565b6123099190615221565b905061231361234f565b61231c83611512565b61232583613436565b60405160200161233793929190614adc565b60405160208183030381529060405292505050919050565b60606012805461235e906153cd565b80601f016020809104026020016040519081016040528092919081815260200182805461238a906153cd565b80156123d75780601f106123ac576101008083540402835291602001916123d7565b820191906000526020600020905b8154815290600101906020018083116123ba57829003601f168201915b5050505050905090565b6123e9611776565b73ffffffffffffffffffffffffffffffffffffffff166124076128bb565b73ffffffffffffffffffffffffffffffffffffffff1614806124795750600f60006124306128bb565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6124b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124af90614cf8565b60405180910390fd5b60005b81518110156125945760008282815181106124ff577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506011805490508110612550576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254790614ff8565b60405180910390fd5b600061255b82612fdb565b905061256785826130aa565b8160106000838152602001908152602001600020819055505050808061258c90615430565b9150506124bb565b505050565b6125a1612aba565b73ffffffffffffffffffffffffffffffffffffffff166125bf611776565b73ffffffffffffffffffffffffffffffffffffffff1614612615576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260c90614f58565b60405180910390fd5b806012908051906020019061262b929190613dbd565b5050565b60606013805461263e906153cd565b80601f016020809104026020016040519081016040528092919081815260200182805461266a906153cd565b80156126b75780601f1061268c576101008083540402835291602001916126b7565b820191906000526020600020905b81548152906001019060200180831161269a57829003601f168201915b5050505050905090565b600080600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016127399190614b4f565b60206040518083038186803b15801561275157600080fd5b505afa158015612765573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127899190614494565b73ffffffffffffffffffffffffffffffffffffffff1614156127af5760019150506127bd565b6127b984846135e3565b9150505b92915050565b6127cb612aba565b73ffffffffffffffffffffffffffffffffffffffff166127e9611776565b73ffffffffffffffffffffffffffffffffffffffff161461283f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283690614f58565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156128af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128a690614d98565b60405180910390fd5b6128b881613278565b50565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561296557600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff818301511692505050612969565b3390505b90565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a3757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612a475750612a4682613677565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6000612ac46128bb565b905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612b3c83611460565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161415612bf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bea90614e98565b60405180910390fd5b6001612c06612c01876136e1565b613749565b83868660405160008152602001604052604051612c269493929190614c6f565b6020604051602081039080840390855afa158015612c48573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b60008183612c999190615221565b905092915050565b6000612cac82612a4e565b612ceb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce290614e78565b60405180910390fd5b6000612cf683611460565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612d6557508373ffffffffffffffffffffffffffffffffffffffff16612d4d84610a47565b73ffffffffffffffffffffffffffffffffffffffff16145b80612d765750612d7581856126c1565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612d9f82611460565b73ffffffffffffffffffffffffffffffffffffffff1614612df5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dec90614f78565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5c90614df8565b60405180910390fd5b612e70838383613782565b612e7b600082612ac9565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ecb91906152a8565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f229190615221565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008060118381548110613018577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600502019050600081600301600081548092919061303f90615430565b9190505590508160040154811061308b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161308290614fb8565b60405180910390fd5b600081836002015461309d9190615221565b9050809350505050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561311a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161311190614f18565b60405180910390fd5b61312381612a4e565b15613163576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161315a90614dd8565b60405180910390fd5b61316f60008383613782565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131bf9190615221565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613349848484612d7f565b61335584848484613896565b613394576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161338b90614d78565b60405180910390fd5b50505050565b600060118054905082106133e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133da90614ff8565b60405180910390fd5b6011828154811061341d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060050201600201549050919050565b6060600082141561347e576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506135de565b600082905060005b600082146134b057808061349990615430565b915050600a826134a99190615277565b9150613486565b60008167ffffffffffffffff8111156134f2577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156135245781602001600182028036833780820191505090505b5090505b600085146135d75760018261353d91906152a8565b9150600a8561354c91906154a7565b60306135589190615221565b60f81b818381518110613594577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856135d09190615277565b9450613528565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000604051806080016040528060438152602001615d8260439139805190602001208260000151836020015184604001518051906020012060405160200161372c9493929190614c2a565b604051602081830303815290604052805190602001209050919050565b6000613753610e9c565b82604051602001613765929190614b18565b604051602081830303815290604052805190602001209050919050565b61378d838383613a2d565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156137d0576137cb81613a32565b61380f565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461380e5761380d8382613a7b565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156138525761384d81613be8565b613891565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146138905761388f8282613d2b565b5b5b505050565b60006138b78473ffffffffffffffffffffffffffffffffffffffff16613daa565b15613a20578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026138e0612aba565b8786866040518563ffffffff1660e01b81526004016139029493929190614ba8565b602060405180830381600087803b15801561391c57600080fd5b505af192505050801561394d57506040513d601f19601f8201168201806040525081019061394a919061446b565b60015b6139d0573d806000811461397d576040519150601f19603f3d011682016040523d82523d6000602084013e613982565b606091505b506000815114156139c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139bf90614d78565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613a25565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613a8884611636565b613a9291906152a8565b9050600060076000848152602001908152602001600020549050818114613b77576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613bfc91906152a8565b9050600060096000848152602001908152602001600020549050600060088381548110613c52577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613c9a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613d0f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613d3683611636565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b828054613dc9906153cd565b90600052602060002090601f016020900481019282613deb5760008555613e32565b82601f10613e0457805160ff1916838001178555613e32565b82800160010185558215613e32579182015b82811115613e31578251825591602001919060010190613e16565b5b509050613e3f9190613e43565b5090565b5b80821115613e5c576000816000905550600101613e44565b5090565b6000613e73613e6e84615119565b6150f4565b9050808382526020820190508260005b85811015613eb35781358501613e9988826140a1565b845260208401935060208301925050600181019050613e83565b5050509392505050565b6000613ed0613ecb84615145565b6150f4565b90508083825260208201905082856020860282011115613eef57600080fd5b60005b85811015613f1f5781613f0588826140cb565b845260208401935060208301925050600181019050613ef2565b5050509392505050565b6000613f3c613f3784615171565b6150f4565b905082815260208101848484011115613f5457600080fd5b613f5f84828561538b565b509392505050565b6000613f7a613f75846151a2565b6150f4565b905082815260208101848484011115613f9257600080fd5b613f9d84828561538b565b509392505050565b600081359050613fb481615ce0565b92915050565b600082601f830112613fcb57600080fd5b8135613fdb848260208601613e60565b91505092915050565b600082601f830112613ff557600080fd5b8135614005848260208601613ebd565b91505092915050565b60008135905061401d81615cf7565b92915050565b60008135905061403281615d0e565b92915050565b60008135905061404781615d25565b92915050565b60008151905061405c81615d25565b92915050565b600082601f83011261407357600080fd5b8135614083848260208601613f29565b91505092915050565b60008151905061409b81615d3c565b92915050565b600082601f8301126140b257600080fd5b81356140c2848260208601613f67565b91505092915050565b6000813590506140da81615d53565b92915050565b6000813590506140ef81615d6a565b92915050565b60006020828403121561410757600080fd5b600061411584828501613fa5565b91505092915050565b6000806040838503121561413157600080fd5b600061413f85828601613fa5565b925050602061415085828601613fa5565b9150509250929050565b60008060006060848603121561416f57600080fd5b600061417d86828701613fa5565b935050602061418e86828701613fa5565b925050604061419f868287016140cb565b9150509250925092565b600080600080608085870312156141bf57600080fd5b60006141cd87828801613fa5565b94505060206141de87828801613fa5565b93505060406141ef878288016140cb565b925050606085013567ffffffffffffffff81111561420c57600080fd5b61421887828801614062565b91505092959194509250565b6000806040838503121561423757600080fd5b600061424585828601613fa5565b925050602083013567ffffffffffffffff81111561426257600080fd5b61426e85828601613fe4565b9150509250929050565b6000806040838503121561428b57600080fd5b600061429985828601613fa5565b92505060206142aa8582860161400e565b9150509250929050565b600080600080600060a086880312156142cc57600080fd5b60006142da88828901613fa5565b955050602086013567ffffffffffffffff8111156142f757600080fd5b61430388828901614062565b945050604061431488828901614023565b935050606061432588828901614023565b9250506080614336888289016140e0565b9150509295509295909350565b6000806040838503121561435657600080fd5b600061436485828601613fa5565b9250506020614375858286016140cb565b9150509250929050565b6000806000806080858703121561439557600080fd5b600085013567ffffffffffffffff8111156143af57600080fd5b6143bb87828801613fba565b945050602085013567ffffffffffffffff8111156143d857600080fd5b6143e487828801613fba565b935050604085013567ffffffffffffffff81111561440157600080fd5b61440d87828801613fe4565b925050606085013567ffffffffffffffff81111561442a57600080fd5b61443687828801613fe4565b91505092959194509250565b60006020828403121561445457600080fd5b600061446284828501614038565b91505092915050565b60006020828403121561447d57600080fd5b600061448b8482850161404d565b91505092915050565b6000602082840312156144a657600080fd5b60006144b48482850161408c565b91505092915050565b6000602082840312156144cf57600080fd5b600082013567ffffffffffffffff8111156144e957600080fd5b6144f5848285016140a1565b91505092915050565b60006020828403121561451057600080fd5b600061451e848285016140cb565b91505092915050565b614530816152ee565b82525050565b61453f816152dc565b82525050565b614556614551826152dc565b615479565b82525050565b61456581615300565b82525050565b6145748161530c565b82525050565b61458b6145868261530c565b61548b565b82525050565b600061459c826151d3565b6145a681856151e9565b93506145b681856020860161539a565b6145bf81615594565b840191505092915050565b60006145d5826151d3565b6145df81856151fa565b93506145ef81856020860161539a565b80840191505092915050565b6000614606826151de565b6146108185615205565b935061462081856020860161539a565b61462981615594565b840191505092915050565b600061463f826151de565b6146498185615216565b935061465981856020860161539a565b80840191505092915050565b6000614672602c83615205565b915061467d826155b2565b604082019050919050565b6000614695601383615205565b91506146a082615601565b602082019050919050565b60006146b8601383615205565b91506146c38261562a565b602082019050919050565b60006146db602b83615205565b91506146e682615653565b604082019050919050565b60006146fe603283615205565b9150614709826156a2565b604082019050919050565b6000614721602683615205565b915061472c826156f1565b604082019050919050565b6000614744601c83615205565b915061474f82615740565b602082019050919050565b6000614767601c83615205565b915061477282615769565b602082019050919050565b600061478a600283615216565b915061479582615792565b600282019050919050565b60006147ad602483615205565b91506147b8826157bb565b604082019050919050565b60006147d0601983615205565b91506147db8261580a565b602082019050919050565b60006147f3601083615205565b91506147fe82615833565b602082019050919050565b6000614816601483615205565b91506148218261585c565b602082019050919050565b6000614839602c83615205565b915061484482615885565b604082019050919050565b600061485c602583615205565b9150614867826158d4565b604082019050919050565b600061487f603883615205565b915061488a82615923565b604082019050919050565b60006148a2602a83615205565b91506148ad82615972565b604082019050919050565b60006148c5602983615205565b91506148d0826159c1565b604082019050919050565b60006148e8602083615205565b91506148f382615a10565b602082019050919050565b600061490b602c83615205565b915061491682615a39565b604082019050919050565b600061492e602083615205565b915061493982615a88565b602082019050919050565b6000614951602983615205565b915061495c82615ab1565b604082019050919050565b6000614974602183615205565b915061497f82615b00565b604082019050919050565b6000614997601383615205565b91506149a282615b4f565b602082019050919050565b60006149ba602183615205565b91506149c582615b78565b604082019050919050565b60006149dd601283615205565b91506149e882615bc7565b602082019050919050565b6000614a00603183615205565b9150614a0b82615bf0565b604082019050919050565b6000614a23602c83615205565b9150614a2e82615c3f565b604082019050919050565b6000614a46601383615205565b9150614a5182615c8e565b602082019050919050565b6000614a69600183615216565b9150614a7482615cb7565b600182019050919050565b614a8881615374565b82525050565b614a978161537e565b82525050565b6000614aa982846145ca565b915081905092915050565b6000614ac082856145ca565b9150614acc8284614545565b6014820191508190509392505050565b6000614ae88286614634565b9150614af48285614634565b9150614aff82614a5c565b9150614b0b8284614634565b9150819050949350505050565b6000614b238261477d565b9150614b2f828561457a565b602082019150614b3f828461457a565b6020820191508190509392505050565b6000602082019050614b646000830184614536565b92915050565b6000606082019050614b7f6000830186614536565b614b8c6020830185614527565b8181036040830152614b9e8184614591565b9050949350505050565b6000608082019050614bbd6000830187614536565b614bca6020830186614536565b614bd76040830185614a7f565b8181036060830152614be98184614591565b905095945050505050565b6000602082019050614c09600083018461455c565b92915050565b6000602082019050614c24600083018461456b565b92915050565b6000608082019050614c3f600083018761456b565b614c4c6020830186614a7f565b614c596040830185614536565b614c66606083018461456b565b95945050505050565b6000608082019050614c84600083018761456b565b614c916020830186614a8e565b614c9e604083018561456b565b614cab606083018461456b565b95945050505050565b60006020820190508181036000830152614cce8184614591565b905092915050565b60006020820190508181036000830152614cf081846145fb565b905092915050565b60006020820190508181036000830152614d1181614665565b9050919050565b60006020820190508181036000830152614d3181614688565b9050919050565b60006020820190508181036000830152614d51816146ab565b9050919050565b60006020820190508181036000830152614d71816146ce565b9050919050565b60006020820190508181036000830152614d91816146f1565b9050919050565b60006020820190508181036000830152614db181614714565b9050919050565b60006020820190508181036000830152614dd181614737565b9050919050565b60006020820190508181036000830152614df18161475a565b9050919050565b60006020820190508181036000830152614e11816147a0565b9050919050565b60006020820190508181036000830152614e31816147c3565b9050919050565b60006020820190508181036000830152614e51816147e6565b9050919050565b60006020820190508181036000830152614e7181614809565b9050919050565b60006020820190508181036000830152614e918161482c565b9050919050565b60006020820190508181036000830152614eb18161484f565b9050919050565b60006020820190508181036000830152614ed181614872565b9050919050565b60006020820190508181036000830152614ef181614895565b9050919050565b60006020820190508181036000830152614f11816148b8565b9050919050565b60006020820190508181036000830152614f31816148db565b9050919050565b60006020820190508181036000830152614f51816148fe565b9050919050565b60006020820190508181036000830152614f7181614921565b9050919050565b60006020820190508181036000830152614f9181614944565b9050919050565b60006020820190508181036000830152614fb181614967565b9050919050565b60006020820190508181036000830152614fd18161498a565b9050919050565b60006020820190508181036000830152614ff1816149ad565b9050919050565b60006020820190508181036000830152615011816149d0565b9050919050565b60006020820190508181036000830152615031816149f3565b9050919050565b6000602082019050818103600083015261505181614a16565b9050919050565b6000602082019050818103600083015261507181614a39565b9050919050565b600060208201905061508d6000830184614a7f565b92915050565b600060a0820190506150a86000830188614a7f565b81810360208301526150ba81876145fb565b905081810360408301526150ce81866145fb565b90506150dd6060830185614a7f565b6150ea6080830184614a7f565b9695505050505050565b60006150fe61510f565b905061510a82826153ff565b919050565b6000604051905090565b600067ffffffffffffffff82111561513457615133615565565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156151605761515f615565565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561518c5761518b615565565b5b61519582615594565b9050602081019050919050565b600067ffffffffffffffff8211156151bd576151bc615565565b5b6151c682615594565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061522c82615374565b915061523783615374565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561526c5761526b6154d8565b5b828201905092915050565b600061528282615374565b915061528d83615374565b92508261529d5761529c615507565b5b828204905092915050565b60006152b382615374565b91506152be83615374565b9250828210156152d1576152d06154d8565b5b828203905092915050565b60006152e782615354565b9050919050565b60006152f982615354565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061534d826152dc565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156153b857808201518184015260208101905061539d565b838111156153c7576000848401525b50505050565b600060028204905060018216806153e557607f821691505b602082108114156153f9576153f8615536565b5b50919050565b61540882615594565b810181811067ffffffffffffffff8211171561542757615426615565565b5b80604052505050565b600061543b82615374565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561546e5761546d6154d8565b5b600182019050919050565b600061548482615495565b9050919050565b6000819050919050565b60006154a0826155a5565b9050919050565b60006154b282615374565b91506154bd83615374565b9250826154cd576154cc615507565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f63616c6c6572206973206e65697468657220746865206f776e6572206e6f722060008201527f746865206f70657261746f720000000000000000000000000000000000000000602082015250565b7f6c656e203120262032206e6f7420657175616c00000000000000000000000000600082015250565b7f6c656e203120262033206e6f7420657175616c00000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f57726f6e6720636f6c6c656374696f6e00000000000000000000000000000000600082015250565b7f546f6b656e20646f6573206e6f74206578697374000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008201527f49474e4552000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008201527f6800000000000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f20746f6b656e7320617661696c61626c6500000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f496e76616c696420436f6c6c656374696f6e0000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f6c656e203120262034206e6f7420657175616c00000000000000000000000000600082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b615ce9816152dc565b8114615cf457600080fd5b50565b615d0081615300565b8114615d0b57600080fd5b50565b615d178161530c565b8114615d2257600080fd5b50565b615d2e81615316565b8114615d3957600080fd5b50565b615d4581615342565b8114615d5057600080fd5b50565b615d5c81615374565b8114615d6757600080fd5b50565b615d738161537e565b8114615d7e57600080fd5b5056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a2646970667358221220da87e0a97ef89bd1e91b15e730c4231532acd5374dd8a6e704c09bc068439a5564736f6c63430008020033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
-----Decoded View---------------
Arg [0] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Loading...
Loading
Loading...
Loading
OVERVIEW
The Mike Tyson NFT Collection is a limited-edition series of NFTs that celebrates the iconic life and legacy of the Baddest Man on the Planet, Mike Tyson. Each NFT is a unique collaboration between Mike Tyson and emerging artist Cory Van Lew.Multichain Portfolio | 27 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.