Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
209 GEOS
Holders
78
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 GEOSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Genegeosis
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "./ERC721Tradable.sol"; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // // // // `-+gggggggggg/- -ggG/ // // .gGGGgg/---:+gGGg :Ggg/ // // +gGGG: :gG `.` // // /GGGG- :g // // GGGGg `ggggggGg:.gggGGGgGGGGg/ :gG930GGg` :gGGggGGGgGG+ :gGgggGGg` /gGggggGGg+ :gGgggGG ggGGGg :GGgggG: // // GGGGg .gGg:--gGGg./GGGGg:-gGGGg gGGg---gGGg-GGGg -GGGG-`gGGg---gGGg gGGG- gGGGg /GGg. gg -gGGGg gGGg /g- // // gGGGg .SiggiEggertssonggggg` gGGG/ :GGGG .Genegeosis+:GGGg `GGGg .GGGggggggg+:GGGg gGGG:-GGGGgg: /GGGg GGGGgg/` // // -GGGGg GGGGg gGGg gGGG/ :GGGG :GGG+ +gGGg+gGGg. :GGG+ +GGGg gGGG/ -ggGGGGg` /GGGg `gGGGGGg/ // // :gGGGg` gGGGg gGGGg- `:g. gGGG/ :GGGG `gGGg+. .+g +GGgggg+-. `gGGg+. .+g`gGGg` gGGG`-g.`:gGGG+ /GGGg g/ .+gGGg // // `ggGGgg+/::/CLIPg` `gGGVQganGg.+GGGGg//gGGGg+.-GGGGggggg: GGGGgggggggg`-GGGGggggg: .gGGg/-:gGGg` /Gg:-/GGG.:gGGGg:`gg+-:gGG+ // // `./gggggggggg/- -ggggg+. .ggggggg+gggggg- `/ggggg:` :GGgGgggGGGGg `/ggggg:` -gggggg+. `gggggg/` ggggggg`/g2021g. // // /gGg.`````gGG: // // /gGG/--:/ggg/ // // .+gggggg+-` By Siggi Eggertsson // // // // // //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// contract Genegeosis is ERC721Tradable { address public artistWallet; address public devWallet; uint256 public MAX_ITEMS = 930; uint256 public price = 0.1 ether; uint256 public devSplit = 10; // percent string public baseUri; bool public locked = true; constructor (string memory _baseUri, address _artistWallet, address _devWallet, address _proxyRegistryAddress) ERC721Tradable("Genegeosis", "GEOS", _proxyRegistryAddress) { baseUri = _baseUri; artistWallet = _artistWallet; devWallet = _devWallet; } /////////////////////////////////////////////////////////////////////////// // External functions /////////////////////////////////////////////////////////////////////////// function mint() external payable { uint256 supply = totalSupply(); require(!locked, 'Not unlocked yet.'); require(supply + 1 <= MAX_ITEMS, 'Sold out!'); require(price == msg.value, 'Price must be equal to the price.'); require(balanceOf(msg.sender) + 1 <= 93, 'There is a minting limit of 93 per wallet.'); _safeMint(msg.sender, supply + 1); paymentForward(); } function mintMany(uint256 _amount) external payable { uint256 supply = totalSupply(); require(!locked, 'Not unlocked yet.'); require(supply + _amount <= MAX_ITEMS, 'Sold out!'); require(price * _amount == msg.value, 'Price must be equal to the price.'); require(_amount <= 20, 'You cannot mint more than 20 tokens at once.'); require(balanceOf(msg.sender) + _amount <= 93, 'There is a minting limit of 93 per wallet.'); for (uint256 i = 1; i <= _amount; i++) { _safeMint(msg.sender, supply + i); } paymentForward(); } function ownerMintTo(address _to) external onlyOwner { uint256 supply = totalSupply(); require(supply + 1 <= MAX_ITEMS, 'Sold out!'); _mint(_to, supply + 1); } function ownerMintManyTo(address _to, uint256 _amount) external onlyOwner { uint256 supply = totalSupply(); require(supply + _amount <= MAX_ITEMS, 'Sold out!'); require(_amount <= 20, 'You cannot mint more than 20 tokens at once.'); for (uint256 i = 1; i <= _amount; i++) { _mint(_to, supply + i); } } /////////////////////////////////////////////////////////////////////////// // Public functions /////////////////////////////////////////////////////////////////////////// function setLocked() public onlyOwner { require(!locked, 'Contract is already locked'); locked = true; } function setUnlocked() public onlyOwner { require(locked, 'Contract is already unlocked'); locked = false; } function exists(uint256 _tokenId) public view returns (bool) { return _exists(_tokenId); } function getPrice() public view returns (uint256) { return price; } function baseTokenURI() override public view returns (string memory) { return baseUri; } function setArtistWallet(address _artistWallet) public onlyOwner { artistWallet = _artistWallet; } function setDevWallet(address _devWallet) public onlyOwner { devWallet = _devWallet; } function setDevSplit(uint256 newDevSplit) public onlyOwner { devSplit = newDevSplit; } function setPrice(uint256 newPrice) public onlyOwner { price = newPrice; } function setBaseUri(string memory _baseUri) public onlyOwner { baseUri = _baseUri; } function contractURI() public view returns (string memory) { return string(abi.encodePacked(baseTokenURI(), "contract")); } /////////////////////////////////////////////////////////////////////////// // Internal functions /////////////////////////////////////////////////////////////////////////// function paymentForward() internal { uint256 _splitDev = msg.value * devSplit / 100; uint256 _splitArtist = msg.value - _splitDev; sendViaCall(payable(devWallet), _splitDev); sendViaCall(payable(artistWallet), _splitArtist); } function sendViaCall(address payable _to, uint256 _value) internal { (bool sent, bytes memory data) = _to.call{value: _value}(""); require(sent, "Failed to send ETH"); } }
// 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; constructor( string memory _name, string memory _symbol, address _proxyRegistryAddress ) ERC721(_name, _symbol) { proxyRegistryAddress = _proxyRegistryAddress; _initializeEIP712(_name); } function baseTokenURI() virtual public view returns (string memory); function tokenURI(uint256 _tokenId) override public view returns (string memory) { return string(abi.encodePacked(baseTokenURI(), Strings.toString(_tokenId))); } /** * 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", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"},{"internalType":"address","name":"_artistWallet","type":"address"},{"internalType":"address","name":"_devWallet","type":"address"},{"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":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":"MAX_ITEMS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"artistWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"baseUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devSplit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"locked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintMany","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"ownerMintManyTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"ownerMintTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_artistWallet","type":"address"}],"name":"setArtistWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newDevSplit","type":"uint256"}],"name":"setDevSplit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devWallet","type":"address"}],"name":"setDevWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setLocked","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setUnlocked","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
60806040526000600a60006101000a81548160ff0219169083151502179055506103a260115567016345785d8a0000601255600a6013556001601560006101000a81548160ff0219169083151502179055503480156200005e57600080fd5b50604051620062913803806200629183398181016040528101906200008491906200064d565b6040518060400160405280600a81526020017f47656e6567656f736973000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f47454f530000000000000000000000000000000000000000000000000000000081525082828281600090805190602001906200010b92919062000514565b5080600190805190602001906200012492919062000514565b505050620001476200013b6200024160201b60201c565b6200025d60201b60201c565b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000199836200032360201b60201c565b5050508360149080519060200190620001b492919062000514565b5082600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050506200099c565b600062000258620003a560201b6200250d1760201c565b905090565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600a60009054906101000a900460ff161562000376576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200036d9062000778565b60405180910390fd5b62000387816200045860201b60201c565b6001600a60006101000a81548160ff02191690831515021790555050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156200045157600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff81830151169250505062000455565b3390505b90565b6040518060800160405280604f815260200162006242604f91398051906020012081805190602001206040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152508051906020012030620004cf6200050760201b60201c565b60001b604051602001620004e89594939291906200071b565b60405160208183030381529060405280519060200120600b8190555050565b6000804690508091505090565b82805462000522906200087e565b90600052602060002090601f01602090048101928262000546576000855562000592565b82601f106200056157805160ff191683800117855562000592565b8280016001018555821562000592579182015b828111156200059157825182559160200191906001019062000574565b5b509050620005a19190620005a5565b5090565b5b80821115620005c0576000816000905550600101620005a6565b5090565b6000620005db620005d584620007c3565b6200079a565b905082815260208101848484011115620005f457600080fd5b6200060184828562000848565b509392505050565b6000815190506200061a8162000982565b92915050565b600082601f8301126200063257600080fd5b815162000644848260208601620005c4565b91505092915050565b600080600080608085870312156200066457600080fd5b600085015167ffffffffffffffff8111156200067f57600080fd5b6200068d8782880162000620565b9450506020620006a08782880162000609565b9350506040620006b38782880162000609565b9250506060620006c68782880162000609565b91505092959194509250565b620006dd816200080a565b82525050565b620006ee816200081e565b82525050565b600062000703600e83620007f9565b9150620007108262000959565b602082019050919050565b600060a082019050620007326000830188620006e3565b620007416020830187620006e3565b620007506040830186620006e3565b6200075f6060830185620006d2565b6200076e6080830184620006e3565b9695505050505050565b600060208201905081810360008301526200079381620006f4565b9050919050565b6000620007a6620007b9565b9050620007b48282620008b4565b919050565b6000604051905090565b600067ffffffffffffffff821115620007e157620007e062000919565b5b620007ec8262000948565b9050602081019050919050565b600082825260208201905092915050565b6000620008178262000828565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b83811015620008685780820151818401526020810190506200084b565b8381111562000878576000848401525b50505050565b600060028204905060018216806200089757607f821691505b60208210811415620008ae57620008ad620008ea565b5b50919050565b620008bf8262000948565b810181811067ffffffffffffffff82111715620008e157620008e062000919565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f616c726561647920696e69746564000000000000000000000000000000000000600082015250565b6200098d816200080a565b81146200099957600080fd5b50565b61589680620009ac6000396000f3fe60806040526004361061027d5760003560e01c806370a082311161014f578063a0bcfc7f116100c1578063cf3090121161007a578063cf3090121461095f578063d547cfb71461098a578063e8a3d485146109b5578063e985e9c5146109e0578063f2fde38b14610a1d578063fce57fd914610a465761027d565b8063a0bcfc7f14610853578063a22cb4651461087c578063a3342fba146108a5578063b88d4fde146108d0578063bb699852146108f9578063c87b56dd146109225761027d565b80638ea5220f116101135780638ea5220f1461075357806391b7f5ed1461077e57806395d89b41146107a757806398d5fdca146107d25780639abc8320146107fd578063a035b1fe146108285761027d565b806370a0823114610694578063715018a6146106d15780638b1e263c146106e85780638c6e9fc4146107115780638da5cb5b146107285761027d565b806320379ee5116101f357806342842e0e116101ac57806342842e0e146105605780634f558e79146105895780634f6ccce7146105c657806357d4c4ee146106035780636352211e1461062e5780636d591d4f1461066b5761027d565b806320379ee51461043c57806323b872dd146104675780632d0335ab146104905780632f745c59146104cd5780633408e4701461050a5780633d907840146105355761027d565b80630c53c51c116102455780630c53c51c1461036c5780630f7e59701461039c57806310c1952f146103c75780631249c58b146103de57806318160ddd146103e85780631f53ac02146104135761027d565b806301ffc9a714610282578063059513a6146102bf57806306fdde03146102db578063081812fc14610306578063095ea7b314610343575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a49190613eac565b610a6f565b6040516102b691906146a0565b60405180910390f35b6102d960048036038101906102d49190613f68565b610ae9565b005b3480156102e757600080fd5b506102f0610cc2565b6040516102fd9190614782565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190613f68565b610d54565b60405161033a91906145fb565b60405180910390f35b34801561034f57600080fd5b5061036a60048036038101906103659190613e70565b610dd9565b005b61038660048036038101906103819190613de1565b610ef1565b6040516103939190614760565b60405180910390f35b3480156103a857600080fd5b506103b1611163565b6040516103be9190614782565b60405180910390f35b3480156103d357600080fd5b506103dc61119c565b005b6103e6611285565b005b3480156103f457600080fd5b506103fd6113ef565b60405161040a9190614b24565b60405180910390f35b34801561041f57600080fd5b5061043a60048036038101906104359190613c76565b6113fc565b005b34801561044857600080fd5b506104516114bc565b60405161045e91906146bb565b60405180910390f35b34801561047357600080fd5b5061048e60048036038101906104899190613cdb565b6114c6565b005b34801561049c57600080fd5b506104b760048036038101906104b29190613c76565b611526565b6040516104c49190614b24565b60405180910390f35b3480156104d957600080fd5b506104f460048036038101906104ef9190613e70565b61156f565b6040516105019190614b24565b60405180910390f35b34801561051657600080fd5b5061051f611614565b60405161052c9190614b24565b60405180910390f35b34801561054157600080fd5b5061054a611621565b6040516105579190614b24565b60405180910390f35b34801561056c57600080fd5b5061058760048036038101906105829190613cdb565b611627565b005b34801561059557600080fd5b506105b060048036038101906105ab9190613f68565b611647565b6040516105bd91906146a0565b60405180910390f35b3480156105d257600080fd5b506105ed60048036038101906105e89190613f68565b611659565b6040516105fa9190614b24565b60405180910390f35b34801561060f57600080fd5b506106186116f0565b6040516106259190614b24565b60405180910390f35b34801561063a57600080fd5b5061065560048036038101906106509190613f68565b6116f6565b60405161066291906145fb565b60405180910390f35b34801561067757600080fd5b50610692600480360381019061068d9190613e70565b6117a8565b005b3480156106a057600080fd5b506106bb60048036038101906106b69190613c76565b611900565b6040516106c89190614b24565b60405180910390f35b3480156106dd57600080fd5b506106e66119b8565b005b3480156106f457600080fd5b5061070f600480360381019061070a9190613f68565b611a40565b005b34801561071d57600080fd5b50610726611ac6565b005b34801561073457600080fd5b5061073d611bae565b60405161074a91906145fb565b60405180910390f35b34801561075f57600080fd5b50610768611bd8565b60405161077591906145fb565b60405180910390f35b34801561078a57600080fd5b506107a560048036038101906107a09190613f68565b611bfe565b005b3480156107b357600080fd5b506107bc611c84565b6040516107c99190614782565b60405180910390f35b3480156107de57600080fd5b506107e7611d16565b6040516107f49190614b24565b60405180910390f35b34801561080957600080fd5b50610812611d20565b60405161081f9190614782565b60405180910390f35b34801561083457600080fd5b5061083d611dae565b60405161084a9190614b24565b60405180910390f35b34801561085f57600080fd5b5061087a60048036038101906108759190613f27565b611db4565b005b34801561088857600080fd5b506108a3600480360381019061089e9190613da5565b611e4a565b005b3480156108b157600080fd5b506108ba611fcb565b6040516108c791906145fb565b60405180910390f35b3480156108dc57600080fd5b506108f760048036038101906108f29190613d2a565b611ff1565b005b34801561090557600080fd5b50610920600480360381019061091b9190613c76565b612053565b005b34801561092e57600080fd5b5061094960048036038101906109449190613f68565b612146565b6040516109569190614782565b60405180910390f35b34801561096b57600080fd5b50610974612180565b60405161098191906146a0565b60405180910390f35b34801561099657600080fd5b5061099f612193565b6040516109ac9190614782565b60405180910390f35b3480156109c157600080fd5b506109ca612225565b6040516109d79190614782565b60405180910390f35b3480156109ec57600080fd5b50610a076004803603810190610a029190613c9f565b612253565b604051610a1491906146a0565b60405180910390f35b348015610a2957600080fd5b50610a446004803603810190610a3f9190613c76565b612355565b005b348015610a5257600080fd5b50610a6d6004803603810190610a689190613c76565b61244d565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ae25750610ae1826125be565b5b9050919050565b6000610af36113ef565b9050601560009054906101000a900460ff1615610b45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3c906147a4565b60405180910390fd5b6011548282610b549190614c14565b1115610b95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8c90614b04565b60405180910390fd5b3482601254610ba49190614c9b565b14610be4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bdb90614964565b60405180910390fd5b6014821115610c28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1f90614924565b60405180910390fd5b605d82610c3433611900565b610c3e9190614c14565b1115610c7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c76906147c4565b60405180910390fd5b6000600190505b828111610cb557610ca2338284610c9d9190614c14565b6126a0565b8080610cad90614e7d565b915050610c86565b50610cbe6126be565b5050565b606060008054610cd190614e1a565b80601f0160208091040260200160405190810160405280929190818152602001828054610cfd90614e1a565b8015610d4a5780601f10610d1f57610100808354040283529160200191610d4a565b820191906000526020600020905b815481529060010190602001808311610d2d57829003601f168201915b5050505050905090565b6000610d5f82612748565b610d9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9590614a04565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610de4826116f6565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4c90614aa4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e746127b4565b73ffffffffffffffffffffffffffffffffffffffff161480610ea35750610ea281610e9d6127b4565b612253565b5b610ee2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed990614984565b60405180910390fd5b610eec83836127c3565b505050565b606060006040518060600160405280600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff168152602001878152509050610f74878287878761287c565b610fb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610faa90614a84565b60405180910390fd5b6110066001600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461298590919063ffffffff16565b600c60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b87338860405161107c93929190614616565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a6040516020016110b1929190614541565b6040516020818303038152906040526040516110cd919061452a565b6000604051808303816000865af19150503d806000811461110a576040519150601f19603f3d011682016040523d82523d6000602084013e61110f565b606091505b509150915081611154576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114b90614844565b60405180910390fd5b80935050505095945050505050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b6111a46127b4565b73ffffffffffffffffffffffffffffffffffffffff166111c2611bae565b73ffffffffffffffffffffffffffffffffffffffff1614611218576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120f90614a24565b60405180910390fd5b601560009054906101000a900460ff1615611268576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125f906148e4565b60405180910390fd5b6001601560006101000a81548160ff021916908315150217905550565b600061128f6113ef565b9050601560009054906101000a900460ff16156112e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d8906147a4565b60405180910390fd5b6011546001826112f19190614c14565b1115611332576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132990614b04565b60405180910390fd5b3460125414611376576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136d90614964565b60405180910390fd5b605d600161138333611900565b61138d9190614c14565b11156113ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c5906147c4565b60405180910390fd5b6113e4336001836113df9190614c14565b6126a0565b6113ec6126be565b50565b6000600880549050905090565b6114046127b4565b73ffffffffffffffffffffffffffffffffffffffff16611422611bae565b73ffffffffffffffffffffffffffffffffffffffff1614611478576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146f90614a24565b60405180910390fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600b54905090565b6114d76114d16127b4565b8261299b565b611516576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150d90614ac4565b60405180910390fd5b611521838383612a79565b505050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600061157a83611900565b82106115bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b2906147e4565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000804690508091505090565b60135481565b61164283838360405180602001604052806000815250611ff1565b505050565b600061165282612748565b9050919050565b60006116636113ef565b82106116a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169b90614ae4565b60405180910390fd5b600882815481106116de577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b60115481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561179f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611796906149c4565b60405180910390fd5b80915050919050565b6117b06127b4565b73ffffffffffffffffffffffffffffffffffffffff166117ce611bae565b73ffffffffffffffffffffffffffffffffffffffff1614611824576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181b90614a24565b60405180910390fd5b600061182e6113ef565b9050601154828261183f9190614c14565b1115611880576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187790614b04565b60405180910390fd5b60148211156118c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118bb90614924565b60405180910390fd5b6000600190505b8281116118fa576118e78482846118e29190614c14565b612cd5565b80806118f290614e7d565b9150506118cb565b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611971576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611968906149a4565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6119c06127b4565b73ffffffffffffffffffffffffffffffffffffffff166119de611bae565b73ffffffffffffffffffffffffffffffffffffffff1614611a34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2b90614a24565b60405180910390fd5b611a3e6000612ea3565b565b611a486127b4565b73ffffffffffffffffffffffffffffffffffffffff16611a66611bae565b73ffffffffffffffffffffffffffffffffffffffff1614611abc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab390614a24565b60405180910390fd5b8060138190555050565b611ace6127b4565b73ffffffffffffffffffffffffffffffffffffffff16611aec611bae565b73ffffffffffffffffffffffffffffffffffffffff1614611b42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3990614a24565b60405180910390fd5b601560009054906101000a900460ff16611b91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8890614944565b60405180910390fd5b6000601560006101000a81548160ff021916908315150217905550565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611c066127b4565b73ffffffffffffffffffffffffffffffffffffffff16611c24611bae565b73ffffffffffffffffffffffffffffffffffffffff1614611c7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7190614a24565b60405180910390fd5b8060128190555050565b606060018054611c9390614e1a565b80601f0160208091040260200160405190810160405280929190818152602001828054611cbf90614e1a565b8015611d0c5780601f10611ce157610100808354040283529160200191611d0c565b820191906000526020600020905b815481529060010190602001808311611cef57829003601f168201915b5050505050905090565b6000601254905090565b60148054611d2d90614e1a565b80601f0160208091040260200160405190810160405280929190818152602001828054611d5990614e1a565b8015611da65780601f10611d7b57610100808354040283529160200191611da6565b820191906000526020600020905b815481529060010190602001808311611d8957829003601f168201915b505050505081565b60125481565b611dbc6127b4565b73ffffffffffffffffffffffffffffffffffffffff16611dda611bae565b73ffffffffffffffffffffffffffffffffffffffff1614611e30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2790614a24565b60405180910390fd5b8060149080519060200190611e46929190613a5b565b5050565b611e526127b4565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ec0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb7906148a4565b60405180910390fd5b8060056000611ecd6127b4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f7a6127b4565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611fbf91906146a0565b60405180910390a35050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b612002611ffc6127b4565b8361299b565b612041576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203890614ac4565b60405180910390fd5b61204d84848484612f69565b50505050565b61205b6127b4565b73ffffffffffffffffffffffffffffffffffffffff16612079611bae565b73ffffffffffffffffffffffffffffffffffffffff16146120cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c690614a24565b60405180910390fd5b60006120d96113ef565b90506011546001826120eb9190614c14565b111561212c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212390614b04565b60405180910390fd5b6121428260018361213d9190614c14565b612cd5565b5050565b6060612150612193565b61215983612fc5565b60405160200161216a929190614569565b6040516020818303038152906040529050919050565b601560009054906101000a900460ff1681565b6060601480546121a290614e1a565b80601f01602080910402602001604051908101604052809291908181526020018280546121ce90614e1a565b801561221b5780601f106121f05761010080835404028352916020019161221b565b820191906000526020600020905b8154815290600101906020018083116121fe57829003601f168201915b5050505050905090565b606061222f612193565b60405160200161223f919061458d565b604051602081830303815290604052905090565b600080600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016122cb91906145fb565b60206040518083038186803b1580156122e357600080fd5b505afa1580156122f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061231b9190613efe565b73ffffffffffffffffffffffffffffffffffffffff16141561234157600191505061234f565b61234b8484613172565b9150505b92915050565b61235d6127b4565b73ffffffffffffffffffffffffffffffffffffffff1661237b611bae565b73ffffffffffffffffffffffffffffffffffffffff16146123d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c890614a24565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612441576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243890614824565b60405180910390fd5b61244a81612ea3565b50565b6124556127b4565b73ffffffffffffffffffffffffffffffffffffffff16612473611bae565b73ffffffffffffffffffffffffffffffffffffffff16146124c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c090614a24565b60405180910390fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156125b757600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff8183015116925050506125bb565b3390505b90565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061268957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612699575061269882613206565b5b9050919050565b6126ba828260405180602001604052806000815250613270565b5050565b60006064601354346126d09190614c9b565b6126da9190614c6a565b9050600081346126ea9190614cf5565b9050612718601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836132cb565b612744600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826132cb565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60006127be61250d565b905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612836836116f6565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614156128ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e490614904565b60405180910390fd5b60016129006128fb8761337f565b6133e7565b83868660405160008152602001604052604051612920949392919061471b565b6020604051602081039080840390855afa158015612942573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b600081836129939190614c14565b905092915050565b60006129a682612748565b6129e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129dc906148c4565b60405180910390fd5b60006129f0836116f6565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612a5f57508373ffffffffffffffffffffffffffffffffffffffff16612a4784610d54565b73ffffffffffffffffffffffffffffffffffffffff16145b80612a705750612a6f8185612253565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612a99826116f6565b73ffffffffffffffffffffffffffffffffffffffff1614612aef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae690614a44565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5690614884565b60405180910390fd5b612b6a838383613420565b612b756000826127c3565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bc59190614cf5565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c1c9190614c14565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d3c906149e4565b60405180910390fd5b612d4e81612748565b15612d8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d8590614864565b60405180910390fd5b612d9a60008383613420565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612dea9190614c14565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612f74848484612a79565b612f8084848484613534565b612fbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fb690614804565b60405180910390fd5b50505050565b6060600082141561300d576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061316d565b600082905060005b6000821461303f57808061302890614e7d565b915050600a826130389190614c6a565b9150613015565b60008167ffffffffffffffff811115613081577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156130b35781602001600182028036833780820191505090505b5090505b60008514613166576001826130cc9190614cf5565b9150600a856130db9190614ef4565b60306130e79190614c14565b60f81b818381518110613123577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561315f9190614c6a565b94506130b7565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61327a8383612cd5565b6132876000848484613534565b6132c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132bd90614804565b60405180910390fd5b505050565b6000808373ffffffffffffffffffffffffffffffffffffffff16836040516132f2906145e6565b60006040518083038185875af1925050503d806000811461332f576040519150601f19603f3d011682016040523d82523d6000602084013e613334565b606091505b509150915081613379576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161337090614a64565b60405180910390fd5b50505050565b600060405180608001604052806043815260200161581e6043913980519060200120826000015183602001518460400151805190602001206040516020016133ca94939291906146d6565b604051602081830303815290604052805190602001209050919050565b60006133f16114bc565b826040516020016134039291906145af565b604051602081830303815290604052805190602001209050919050565b61342b8383836136cb565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561346e57613469816136d0565b6134ad565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146134ac576134ab8382613719565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156134f0576134eb81613886565b61352f565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461352e5761352d82826139c9565b5b5b505050565b60006135558473ffffffffffffffffffffffffffffffffffffffff16613a48565b156136be578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261357e6127b4565b8786866040518563ffffffff1660e01b81526004016135a09493929190614654565b602060405180830381600087803b1580156135ba57600080fd5b505af19250505080156135eb57506040513d601f19601f820116820180604052508101906135e89190613ed5565b60015b61366e573d806000811461361b576040519150601f19603f3d011682016040523d82523d6000602084013e613620565b606091505b50600081511415613666576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161365d90614804565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506136c3565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161372684611900565b6137309190614cf5565b9050600060076000848152602001908152602001600020549050818114613815576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061389a9190614cf5565b90506000600960008481526020019081526020016000205490506000600883815481106138f0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613938577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806139ad577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006139d483611900565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b828054613a6790614e1a565b90600052602060002090601f016020900481019282613a895760008555613ad0565b82601f10613aa257805160ff1916838001178555613ad0565b82800160010185558215613ad0579182015b82811115613acf578251825591602001919060010190613ab4565b5b509050613add9190613ae1565b5090565b5b80821115613afa576000816000905550600101613ae2565b5090565b6000613b11613b0c84614b64565b614b3f565b905082815260208101848484011115613b2957600080fd5b613b34848285614dd8565b509392505050565b6000613b4f613b4a84614b95565b614b3f565b905082815260208101848484011115613b6757600080fd5b613b72848285614dd8565b509392505050565b600081359050613b898161577c565b92915050565b600081359050613b9e81615793565b92915050565b600081359050613bb3816157aa565b92915050565b600081359050613bc8816157c1565b92915050565b600081519050613bdd816157c1565b92915050565b600082601f830112613bf457600080fd5b8135613c04848260208601613afe565b91505092915050565b600081519050613c1c816157d8565b92915050565b600082601f830112613c3357600080fd5b8135613c43848260208601613b3c565b91505092915050565b600081359050613c5b816157ef565b92915050565b600081359050613c7081615806565b92915050565b600060208284031215613c8857600080fd5b6000613c9684828501613b7a565b91505092915050565b60008060408385031215613cb257600080fd5b6000613cc085828601613b7a565b9250506020613cd185828601613b7a565b9150509250929050565b600080600060608486031215613cf057600080fd5b6000613cfe86828701613b7a565b9350506020613d0f86828701613b7a565b9250506040613d2086828701613c4c565b9150509250925092565b60008060008060808587031215613d4057600080fd5b6000613d4e87828801613b7a565b9450506020613d5f87828801613b7a565b9350506040613d7087828801613c4c565b925050606085013567ffffffffffffffff811115613d8d57600080fd5b613d9987828801613be3565b91505092959194509250565b60008060408385031215613db857600080fd5b6000613dc685828601613b7a565b9250506020613dd785828601613b8f565b9150509250929050565b600080600080600060a08688031215613df957600080fd5b6000613e0788828901613b7a565b955050602086013567ffffffffffffffff811115613e2457600080fd5b613e3088828901613be3565b9450506040613e4188828901613ba4565b9350506060613e5288828901613ba4565b9250506080613e6388828901613c61565b9150509295509295909350565b60008060408385031215613e8357600080fd5b6000613e9185828601613b7a565b9250506020613ea285828601613c4c565b9150509250929050565b600060208284031215613ebe57600080fd5b6000613ecc84828501613bb9565b91505092915050565b600060208284031215613ee757600080fd5b6000613ef584828501613bce565b91505092915050565b600060208284031215613f1057600080fd5b6000613f1e84828501613c0d565b91505092915050565b600060208284031215613f3957600080fd5b600082013567ffffffffffffffff811115613f5357600080fd5b613f5f84828501613c22565b91505092915050565b600060208284031215613f7a57600080fd5b6000613f8884828501613c4c565b91505092915050565b613f9a81614d3b565b82525050565b613fa981614d29565b82525050565b613fc0613fbb82614d29565b614ec6565b82525050565b613fcf81614d4d565b82525050565b613fde81614d59565b82525050565b613ff5613ff082614d59565b614ed8565b82525050565b600061400682614bc6565b6140108185614bdc565b9350614020818560208601614de7565b61402981614fe1565b840191505092915050565b600061403f82614bc6565b6140498185614bed565b9350614059818560208601614de7565b80840191505092915050565b600061407082614bd1565b61407a8185614bf8565b935061408a818560208601614de7565b61409381614fe1565b840191505092915050565b60006140a982614bd1565b6140b38185614c09565b93506140c3818560208601614de7565b80840191505092915050565b60006140dc601183614bf8565b91506140e782614fff565b602082019050919050565b60006140ff602a83614bf8565b915061410a82615028565b604082019050919050565b6000614122602b83614bf8565b915061412d82615077565b604082019050919050565b6000614145603283614bf8565b9150614150826150c6565b604082019050919050565b6000614168602683614bf8565b915061417382615115565b604082019050919050565b600061418b601c83614bf8565b915061419682615164565b602082019050919050565b60006141ae601c83614bf8565b91506141b98261518d565b602082019050919050565b60006141d1600283614c09565b91506141dc826151b6565b600282019050919050565b60006141f4602483614bf8565b91506141ff826151df565b604082019050919050565b6000614217601983614bf8565b91506142228261522e565b602082019050919050565b600061423a602c83614bf8565b915061424582615257565b604082019050919050565b600061425d601a83614bf8565b9150614268826152a6565b602082019050919050565b6000614280602583614bf8565b915061428b826152cf565b604082019050919050565b60006142a3602c83614bf8565b91506142ae8261531e565b604082019050919050565b60006142c6601c83614bf8565b91506142d18261536d565b602082019050919050565b60006142e9602183614bf8565b91506142f482615396565b604082019050919050565b600061430c603883614bf8565b9150614317826153e5565b604082019050919050565b600061432f602a83614bf8565b915061433a82615434565b604082019050919050565b6000614352602983614bf8565b915061435d82615483565b604082019050919050565b6000614375600883614c09565b9150614380826154d2565b600882019050919050565b6000614398602083614bf8565b91506143a3826154fb565b602082019050919050565b60006143bb602c83614bf8565b91506143c682615524565b604082019050919050565b60006143de602083614bf8565b91506143e982615573565b602082019050919050565b6000614401602983614bf8565b915061440c8261559c565b604082019050919050565b6000614424601283614bf8565b915061442f826155eb565b602082019050919050565b6000614447602183614bf8565b915061445282615614565b604082019050919050565b600061446a602183614bf8565b915061447582615663565b604082019050919050565b600061448d600083614bed565b9150614498826156b2565b600082019050919050565b60006144b0603183614bf8565b91506144bb826156b5565b604082019050919050565b60006144d3602c83614bf8565b91506144de82615704565b604082019050919050565b60006144f6600983614bf8565b915061450182615753565b602082019050919050565b61451581614dc1565b82525050565b61452481614dcb565b82525050565b60006145368284614034565b915081905092915050565b600061454d8285614034565b91506145598284613faf565b6014820191508190509392505050565b6000614575828561409e565b9150614581828461409e565b91508190509392505050565b6000614599828461409e565b91506145a482614368565b915081905092915050565b60006145ba826141c4565b91506145c68285613fe4565b6020820191506145d68284613fe4565b6020820191508190509392505050565b60006145f182614480565b9150819050919050565b60006020820190506146106000830184613fa0565b92915050565b600060608201905061462b6000830186613fa0565b6146386020830185613f91565b818103604083015261464a8184613ffb565b9050949350505050565b60006080820190506146696000830187613fa0565b6146766020830186613fa0565b614683604083018561450c565b81810360608301526146958184613ffb565b905095945050505050565b60006020820190506146b56000830184613fc6565b92915050565b60006020820190506146d06000830184613fd5565b92915050565b60006080820190506146eb6000830187613fd5565b6146f8602083018661450c565b6147056040830185613fa0565b6147126060830184613fd5565b95945050505050565b60006080820190506147306000830187613fd5565b61473d602083018661451b565b61474a6040830185613fd5565b6147576060830184613fd5565b95945050505050565b6000602082019050818103600083015261477a8184613ffb565b905092915050565b6000602082019050818103600083015261479c8184614065565b905092915050565b600060208201905081810360008301526147bd816140cf565b9050919050565b600060208201905081810360008301526147dd816140f2565b9050919050565b600060208201905081810360008301526147fd81614115565b9050919050565b6000602082019050818103600083015261481d81614138565b9050919050565b6000602082019050818103600083015261483d8161415b565b9050919050565b6000602082019050818103600083015261485d8161417e565b9050919050565b6000602082019050818103600083015261487d816141a1565b9050919050565b6000602082019050818103600083015261489d816141e7565b9050919050565b600060208201905081810360008301526148bd8161420a565b9050919050565b600060208201905081810360008301526148dd8161422d565b9050919050565b600060208201905081810360008301526148fd81614250565b9050919050565b6000602082019050818103600083015261491d81614273565b9050919050565b6000602082019050818103600083015261493d81614296565b9050919050565b6000602082019050818103600083015261495d816142b9565b9050919050565b6000602082019050818103600083015261497d816142dc565b9050919050565b6000602082019050818103600083015261499d816142ff565b9050919050565b600060208201905081810360008301526149bd81614322565b9050919050565b600060208201905081810360008301526149dd81614345565b9050919050565b600060208201905081810360008301526149fd8161438b565b9050919050565b60006020820190508181036000830152614a1d816143ae565b9050919050565b60006020820190508181036000830152614a3d816143d1565b9050919050565b60006020820190508181036000830152614a5d816143f4565b9050919050565b60006020820190508181036000830152614a7d81614417565b9050919050565b60006020820190508181036000830152614a9d8161443a565b9050919050565b60006020820190508181036000830152614abd8161445d565b9050919050565b60006020820190508181036000830152614add816144a3565b9050919050565b60006020820190508181036000830152614afd816144c6565b9050919050565b60006020820190508181036000830152614b1d816144e9565b9050919050565b6000602082019050614b39600083018461450c565b92915050565b6000614b49614b5a565b9050614b558282614e4c565b919050565b6000604051905090565b600067ffffffffffffffff821115614b7f57614b7e614fb2565b5b614b8882614fe1565b9050602081019050919050565b600067ffffffffffffffff821115614bb057614baf614fb2565b5b614bb982614fe1565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614c1f82614dc1565b9150614c2a83614dc1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614c5f57614c5e614f25565b5b828201905092915050565b6000614c7582614dc1565b9150614c8083614dc1565b925082614c9057614c8f614f54565b5b828204905092915050565b6000614ca682614dc1565b9150614cb183614dc1565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614cea57614ce9614f25565b5b828202905092915050565b6000614d0082614dc1565b9150614d0b83614dc1565b925082821015614d1e57614d1d614f25565b5b828203905092915050565b6000614d3482614da1565b9050919050565b6000614d4682614da1565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000614d9a82614d29565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614e05578082015181840152602081019050614dea565b83811115614e14576000848401525b50505050565b60006002820490506001821680614e3257607f821691505b60208210811415614e4657614e45614f83565b5b50919050565b614e5582614fe1565b810181811067ffffffffffffffff82111715614e7457614e73614fb2565b5b80604052505050565b6000614e8882614dc1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614ebb57614eba614f25565b5b600182019050919050565b6000614ed182614ee2565b9050919050565b6000819050919050565b6000614eed82614ff2565b9050919050565b6000614eff82614dc1565b9150614f0a83614dc1565b925082614f1a57614f19614f54565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4e6f7420756e6c6f636b6564207965742e000000000000000000000000000000600082015250565b7f54686572652069732061206d696e74696e67206c696d6974206f66203933207060008201527f65722077616c6c65742e00000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f436f6e747261637420697320616c7265616479206c6f636b6564000000000000600082015250565b7f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008201527f49474e4552000000000000000000000000000000000000000000000000000000602082015250565b7f596f752063616e6e6f74206d696e74206d6f7265207468616e20323020746f6b60008201527f656e73206174206f6e63652e0000000000000000000000000000000000000000602082015250565b7f436f6e747261637420697320616c726561647920756e6c6f636b656400000000600082015250565b7f5072696365206d75737420626520657175616c20746f2074686520707269636560008201527f2e00000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f636f6e7472616374000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4661696c656420746f2073656e64204554480000000000000000000000000000600082015250565b7f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008201527f6800000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f536f6c64206f7574210000000000000000000000000000000000000000000000600082015250565b61578581614d29565b811461579057600080fd5b50565b61579c81614d4d565b81146157a757600080fd5b50565b6157b381614d59565b81146157be57600080fd5b50565b6157ca81614d63565b81146157d557600080fd5b50565b6157e181614d8f565b81146157ec57600080fd5b50565b6157f881614dc1565b811461580357600080fd5b50565b61580f81614dcb565b811461581a57600080fd5b5056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a26469706673582212200c941fed26202fce7fe2141ee4f77c0bfa94b705e47431481aee475cda8e4ccf64736f6c63430008040033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c742900000000000000000000000000000000000000000000000000000000000000800000000000000000000000009b7fb8cf7cb02e83cf6a79b436bad724d38a9cc400000000000000000000000045c6e938f173f6c40d5de54cafac2002d67e409b000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c10000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d626a6a45344d33667a7533596a7335313338626e53565063703556653834625172314573474d5a73574655752f00000000000000000000
Deployed Bytecode
0x60806040526004361061027d5760003560e01c806370a082311161014f578063a0bcfc7f116100c1578063cf3090121161007a578063cf3090121461095f578063d547cfb71461098a578063e8a3d485146109b5578063e985e9c5146109e0578063f2fde38b14610a1d578063fce57fd914610a465761027d565b8063a0bcfc7f14610853578063a22cb4651461087c578063a3342fba146108a5578063b88d4fde146108d0578063bb699852146108f9578063c87b56dd146109225761027d565b80638ea5220f116101135780638ea5220f1461075357806391b7f5ed1461077e57806395d89b41146107a757806398d5fdca146107d25780639abc8320146107fd578063a035b1fe146108285761027d565b806370a0823114610694578063715018a6146106d15780638b1e263c146106e85780638c6e9fc4146107115780638da5cb5b146107285761027d565b806320379ee5116101f357806342842e0e116101ac57806342842e0e146105605780634f558e79146105895780634f6ccce7146105c657806357d4c4ee146106035780636352211e1461062e5780636d591d4f1461066b5761027d565b806320379ee51461043c57806323b872dd146104675780632d0335ab146104905780632f745c59146104cd5780633408e4701461050a5780633d907840146105355761027d565b80630c53c51c116102455780630c53c51c1461036c5780630f7e59701461039c57806310c1952f146103c75780631249c58b146103de57806318160ddd146103e85780631f53ac02146104135761027d565b806301ffc9a714610282578063059513a6146102bf57806306fdde03146102db578063081812fc14610306578063095ea7b314610343575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a49190613eac565b610a6f565b6040516102b691906146a0565b60405180910390f35b6102d960048036038101906102d49190613f68565b610ae9565b005b3480156102e757600080fd5b506102f0610cc2565b6040516102fd9190614782565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190613f68565b610d54565b60405161033a91906145fb565b60405180910390f35b34801561034f57600080fd5b5061036a60048036038101906103659190613e70565b610dd9565b005b61038660048036038101906103819190613de1565b610ef1565b6040516103939190614760565b60405180910390f35b3480156103a857600080fd5b506103b1611163565b6040516103be9190614782565b60405180910390f35b3480156103d357600080fd5b506103dc61119c565b005b6103e6611285565b005b3480156103f457600080fd5b506103fd6113ef565b60405161040a9190614b24565b60405180910390f35b34801561041f57600080fd5b5061043a60048036038101906104359190613c76565b6113fc565b005b34801561044857600080fd5b506104516114bc565b60405161045e91906146bb565b60405180910390f35b34801561047357600080fd5b5061048e60048036038101906104899190613cdb565b6114c6565b005b34801561049c57600080fd5b506104b760048036038101906104b29190613c76565b611526565b6040516104c49190614b24565b60405180910390f35b3480156104d957600080fd5b506104f460048036038101906104ef9190613e70565b61156f565b6040516105019190614b24565b60405180910390f35b34801561051657600080fd5b5061051f611614565b60405161052c9190614b24565b60405180910390f35b34801561054157600080fd5b5061054a611621565b6040516105579190614b24565b60405180910390f35b34801561056c57600080fd5b5061058760048036038101906105829190613cdb565b611627565b005b34801561059557600080fd5b506105b060048036038101906105ab9190613f68565b611647565b6040516105bd91906146a0565b60405180910390f35b3480156105d257600080fd5b506105ed60048036038101906105e89190613f68565b611659565b6040516105fa9190614b24565b60405180910390f35b34801561060f57600080fd5b506106186116f0565b6040516106259190614b24565b60405180910390f35b34801561063a57600080fd5b5061065560048036038101906106509190613f68565b6116f6565b60405161066291906145fb565b60405180910390f35b34801561067757600080fd5b50610692600480360381019061068d9190613e70565b6117a8565b005b3480156106a057600080fd5b506106bb60048036038101906106b69190613c76565b611900565b6040516106c89190614b24565b60405180910390f35b3480156106dd57600080fd5b506106e66119b8565b005b3480156106f457600080fd5b5061070f600480360381019061070a9190613f68565b611a40565b005b34801561071d57600080fd5b50610726611ac6565b005b34801561073457600080fd5b5061073d611bae565b60405161074a91906145fb565b60405180910390f35b34801561075f57600080fd5b50610768611bd8565b60405161077591906145fb565b60405180910390f35b34801561078a57600080fd5b506107a560048036038101906107a09190613f68565b611bfe565b005b3480156107b357600080fd5b506107bc611c84565b6040516107c99190614782565b60405180910390f35b3480156107de57600080fd5b506107e7611d16565b6040516107f49190614b24565b60405180910390f35b34801561080957600080fd5b50610812611d20565b60405161081f9190614782565b60405180910390f35b34801561083457600080fd5b5061083d611dae565b60405161084a9190614b24565b60405180910390f35b34801561085f57600080fd5b5061087a60048036038101906108759190613f27565b611db4565b005b34801561088857600080fd5b506108a3600480360381019061089e9190613da5565b611e4a565b005b3480156108b157600080fd5b506108ba611fcb565b6040516108c791906145fb565b60405180910390f35b3480156108dc57600080fd5b506108f760048036038101906108f29190613d2a565b611ff1565b005b34801561090557600080fd5b50610920600480360381019061091b9190613c76565b612053565b005b34801561092e57600080fd5b5061094960048036038101906109449190613f68565b612146565b6040516109569190614782565b60405180910390f35b34801561096b57600080fd5b50610974612180565b60405161098191906146a0565b60405180910390f35b34801561099657600080fd5b5061099f612193565b6040516109ac9190614782565b60405180910390f35b3480156109c157600080fd5b506109ca612225565b6040516109d79190614782565b60405180910390f35b3480156109ec57600080fd5b50610a076004803603810190610a029190613c9f565b612253565b604051610a1491906146a0565b60405180910390f35b348015610a2957600080fd5b50610a446004803603810190610a3f9190613c76565b612355565b005b348015610a5257600080fd5b50610a6d6004803603810190610a689190613c76565b61244d565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ae25750610ae1826125be565b5b9050919050565b6000610af36113ef565b9050601560009054906101000a900460ff1615610b45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3c906147a4565b60405180910390fd5b6011548282610b549190614c14565b1115610b95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8c90614b04565b60405180910390fd5b3482601254610ba49190614c9b565b14610be4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bdb90614964565b60405180910390fd5b6014821115610c28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1f90614924565b60405180910390fd5b605d82610c3433611900565b610c3e9190614c14565b1115610c7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c76906147c4565b60405180910390fd5b6000600190505b828111610cb557610ca2338284610c9d9190614c14565b6126a0565b8080610cad90614e7d565b915050610c86565b50610cbe6126be565b5050565b606060008054610cd190614e1a565b80601f0160208091040260200160405190810160405280929190818152602001828054610cfd90614e1a565b8015610d4a5780601f10610d1f57610100808354040283529160200191610d4a565b820191906000526020600020905b815481529060010190602001808311610d2d57829003601f168201915b5050505050905090565b6000610d5f82612748565b610d9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9590614a04565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610de4826116f6565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4c90614aa4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e746127b4565b73ffffffffffffffffffffffffffffffffffffffff161480610ea35750610ea281610e9d6127b4565b612253565b5b610ee2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed990614984565b60405180910390fd5b610eec83836127c3565b505050565b606060006040518060600160405280600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff168152602001878152509050610f74878287878761287c565b610fb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610faa90614a84565b60405180910390fd5b6110066001600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461298590919063ffffffff16565b600c60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b87338860405161107c93929190614616565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a6040516020016110b1929190614541565b6040516020818303038152906040526040516110cd919061452a565b6000604051808303816000865af19150503d806000811461110a576040519150601f19603f3d011682016040523d82523d6000602084013e61110f565b606091505b509150915081611154576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114b90614844565b60405180910390fd5b80935050505095945050505050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b6111a46127b4565b73ffffffffffffffffffffffffffffffffffffffff166111c2611bae565b73ffffffffffffffffffffffffffffffffffffffff1614611218576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120f90614a24565b60405180910390fd5b601560009054906101000a900460ff1615611268576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125f906148e4565b60405180910390fd5b6001601560006101000a81548160ff021916908315150217905550565b600061128f6113ef565b9050601560009054906101000a900460ff16156112e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d8906147a4565b60405180910390fd5b6011546001826112f19190614c14565b1115611332576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132990614b04565b60405180910390fd5b3460125414611376576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136d90614964565b60405180910390fd5b605d600161138333611900565b61138d9190614c14565b11156113ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c5906147c4565b60405180910390fd5b6113e4336001836113df9190614c14565b6126a0565b6113ec6126be565b50565b6000600880549050905090565b6114046127b4565b73ffffffffffffffffffffffffffffffffffffffff16611422611bae565b73ffffffffffffffffffffffffffffffffffffffff1614611478576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146f90614a24565b60405180910390fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600b54905090565b6114d76114d16127b4565b8261299b565b611516576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150d90614ac4565b60405180910390fd5b611521838383612a79565b505050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600061157a83611900565b82106115bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b2906147e4565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000804690508091505090565b60135481565b61164283838360405180602001604052806000815250611ff1565b505050565b600061165282612748565b9050919050565b60006116636113ef565b82106116a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169b90614ae4565b60405180910390fd5b600882815481106116de577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b60115481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561179f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611796906149c4565b60405180910390fd5b80915050919050565b6117b06127b4565b73ffffffffffffffffffffffffffffffffffffffff166117ce611bae565b73ffffffffffffffffffffffffffffffffffffffff1614611824576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181b90614a24565b60405180910390fd5b600061182e6113ef565b9050601154828261183f9190614c14565b1115611880576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187790614b04565b60405180910390fd5b60148211156118c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118bb90614924565b60405180910390fd5b6000600190505b8281116118fa576118e78482846118e29190614c14565b612cd5565b80806118f290614e7d565b9150506118cb565b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611971576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611968906149a4565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6119c06127b4565b73ffffffffffffffffffffffffffffffffffffffff166119de611bae565b73ffffffffffffffffffffffffffffffffffffffff1614611a34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2b90614a24565b60405180910390fd5b611a3e6000612ea3565b565b611a486127b4565b73ffffffffffffffffffffffffffffffffffffffff16611a66611bae565b73ffffffffffffffffffffffffffffffffffffffff1614611abc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab390614a24565b60405180910390fd5b8060138190555050565b611ace6127b4565b73ffffffffffffffffffffffffffffffffffffffff16611aec611bae565b73ffffffffffffffffffffffffffffffffffffffff1614611b42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3990614a24565b60405180910390fd5b601560009054906101000a900460ff16611b91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8890614944565b60405180910390fd5b6000601560006101000a81548160ff021916908315150217905550565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611c066127b4565b73ffffffffffffffffffffffffffffffffffffffff16611c24611bae565b73ffffffffffffffffffffffffffffffffffffffff1614611c7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7190614a24565b60405180910390fd5b8060128190555050565b606060018054611c9390614e1a565b80601f0160208091040260200160405190810160405280929190818152602001828054611cbf90614e1a565b8015611d0c5780601f10611ce157610100808354040283529160200191611d0c565b820191906000526020600020905b815481529060010190602001808311611cef57829003601f168201915b5050505050905090565b6000601254905090565b60148054611d2d90614e1a565b80601f0160208091040260200160405190810160405280929190818152602001828054611d5990614e1a565b8015611da65780601f10611d7b57610100808354040283529160200191611da6565b820191906000526020600020905b815481529060010190602001808311611d8957829003601f168201915b505050505081565b60125481565b611dbc6127b4565b73ffffffffffffffffffffffffffffffffffffffff16611dda611bae565b73ffffffffffffffffffffffffffffffffffffffff1614611e30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2790614a24565b60405180910390fd5b8060149080519060200190611e46929190613a5b565b5050565b611e526127b4565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ec0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb7906148a4565b60405180910390fd5b8060056000611ecd6127b4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f7a6127b4565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611fbf91906146a0565b60405180910390a35050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b612002611ffc6127b4565b8361299b565b612041576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203890614ac4565b60405180910390fd5b61204d84848484612f69565b50505050565b61205b6127b4565b73ffffffffffffffffffffffffffffffffffffffff16612079611bae565b73ffffffffffffffffffffffffffffffffffffffff16146120cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c690614a24565b60405180910390fd5b60006120d96113ef565b90506011546001826120eb9190614c14565b111561212c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212390614b04565b60405180910390fd5b6121428260018361213d9190614c14565b612cd5565b5050565b6060612150612193565b61215983612fc5565b60405160200161216a929190614569565b6040516020818303038152906040529050919050565b601560009054906101000a900460ff1681565b6060601480546121a290614e1a565b80601f01602080910402602001604051908101604052809291908181526020018280546121ce90614e1a565b801561221b5780601f106121f05761010080835404028352916020019161221b565b820191906000526020600020905b8154815290600101906020018083116121fe57829003601f168201915b5050505050905090565b606061222f612193565b60405160200161223f919061458d565b604051602081830303815290604052905090565b600080600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016122cb91906145fb565b60206040518083038186803b1580156122e357600080fd5b505afa1580156122f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061231b9190613efe565b73ffffffffffffffffffffffffffffffffffffffff16141561234157600191505061234f565b61234b8484613172565b9150505b92915050565b61235d6127b4565b73ffffffffffffffffffffffffffffffffffffffff1661237b611bae565b73ffffffffffffffffffffffffffffffffffffffff16146123d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c890614a24565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612441576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243890614824565b60405180910390fd5b61244a81612ea3565b50565b6124556127b4565b73ffffffffffffffffffffffffffffffffffffffff16612473611bae565b73ffffffffffffffffffffffffffffffffffffffff16146124c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c090614a24565b60405180910390fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156125b757600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff8183015116925050506125bb565b3390505b90565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061268957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612699575061269882613206565b5b9050919050565b6126ba828260405180602001604052806000815250613270565b5050565b60006064601354346126d09190614c9b565b6126da9190614c6a565b9050600081346126ea9190614cf5565b9050612718601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836132cb565b612744600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826132cb565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60006127be61250d565b905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612836836116f6565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614156128ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e490614904565b60405180910390fd5b60016129006128fb8761337f565b6133e7565b83868660405160008152602001604052604051612920949392919061471b565b6020604051602081039080840390855afa158015612942573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b600081836129939190614c14565b905092915050565b60006129a682612748565b6129e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129dc906148c4565b60405180910390fd5b60006129f0836116f6565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612a5f57508373ffffffffffffffffffffffffffffffffffffffff16612a4784610d54565b73ffffffffffffffffffffffffffffffffffffffff16145b80612a705750612a6f8185612253565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612a99826116f6565b73ffffffffffffffffffffffffffffffffffffffff1614612aef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae690614a44565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5690614884565b60405180910390fd5b612b6a838383613420565b612b756000826127c3565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bc59190614cf5565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c1c9190614c14565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d3c906149e4565b60405180910390fd5b612d4e81612748565b15612d8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d8590614864565b60405180910390fd5b612d9a60008383613420565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612dea9190614c14565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612f74848484612a79565b612f8084848484613534565b612fbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fb690614804565b60405180910390fd5b50505050565b6060600082141561300d576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061316d565b600082905060005b6000821461303f57808061302890614e7d565b915050600a826130389190614c6a565b9150613015565b60008167ffffffffffffffff811115613081577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156130b35781602001600182028036833780820191505090505b5090505b60008514613166576001826130cc9190614cf5565b9150600a856130db9190614ef4565b60306130e79190614c14565b60f81b818381518110613123577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561315f9190614c6a565b94506130b7565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61327a8383612cd5565b6132876000848484613534565b6132c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132bd90614804565b60405180910390fd5b505050565b6000808373ffffffffffffffffffffffffffffffffffffffff16836040516132f2906145e6565b60006040518083038185875af1925050503d806000811461332f576040519150601f19603f3d011682016040523d82523d6000602084013e613334565b606091505b509150915081613379576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161337090614a64565b60405180910390fd5b50505050565b600060405180608001604052806043815260200161581e6043913980519060200120826000015183602001518460400151805190602001206040516020016133ca94939291906146d6565b604051602081830303815290604052805190602001209050919050565b60006133f16114bc565b826040516020016134039291906145af565b604051602081830303815290604052805190602001209050919050565b61342b8383836136cb565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561346e57613469816136d0565b6134ad565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146134ac576134ab8382613719565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156134f0576134eb81613886565b61352f565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461352e5761352d82826139c9565b5b5b505050565b60006135558473ffffffffffffffffffffffffffffffffffffffff16613a48565b156136be578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261357e6127b4565b8786866040518563ffffffff1660e01b81526004016135a09493929190614654565b602060405180830381600087803b1580156135ba57600080fd5b505af19250505080156135eb57506040513d601f19601f820116820180604052508101906135e89190613ed5565b60015b61366e573d806000811461361b576040519150601f19603f3d011682016040523d82523d6000602084013e613620565b606091505b50600081511415613666576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161365d90614804565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506136c3565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161372684611900565b6137309190614cf5565b9050600060076000848152602001908152602001600020549050818114613815576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061389a9190614cf5565b90506000600960008481526020019081526020016000205490506000600883815481106138f0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613938577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806139ad577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006139d483611900565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b828054613a6790614e1a565b90600052602060002090601f016020900481019282613a895760008555613ad0565b82601f10613aa257805160ff1916838001178555613ad0565b82800160010185558215613ad0579182015b82811115613acf578251825591602001919060010190613ab4565b5b509050613add9190613ae1565b5090565b5b80821115613afa576000816000905550600101613ae2565b5090565b6000613b11613b0c84614b64565b614b3f565b905082815260208101848484011115613b2957600080fd5b613b34848285614dd8565b509392505050565b6000613b4f613b4a84614b95565b614b3f565b905082815260208101848484011115613b6757600080fd5b613b72848285614dd8565b509392505050565b600081359050613b898161577c565b92915050565b600081359050613b9e81615793565b92915050565b600081359050613bb3816157aa565b92915050565b600081359050613bc8816157c1565b92915050565b600081519050613bdd816157c1565b92915050565b600082601f830112613bf457600080fd5b8135613c04848260208601613afe565b91505092915050565b600081519050613c1c816157d8565b92915050565b600082601f830112613c3357600080fd5b8135613c43848260208601613b3c565b91505092915050565b600081359050613c5b816157ef565b92915050565b600081359050613c7081615806565b92915050565b600060208284031215613c8857600080fd5b6000613c9684828501613b7a565b91505092915050565b60008060408385031215613cb257600080fd5b6000613cc085828601613b7a565b9250506020613cd185828601613b7a565b9150509250929050565b600080600060608486031215613cf057600080fd5b6000613cfe86828701613b7a565b9350506020613d0f86828701613b7a565b9250506040613d2086828701613c4c565b9150509250925092565b60008060008060808587031215613d4057600080fd5b6000613d4e87828801613b7a565b9450506020613d5f87828801613b7a565b9350506040613d7087828801613c4c565b925050606085013567ffffffffffffffff811115613d8d57600080fd5b613d9987828801613be3565b91505092959194509250565b60008060408385031215613db857600080fd5b6000613dc685828601613b7a565b9250506020613dd785828601613b8f565b9150509250929050565b600080600080600060a08688031215613df957600080fd5b6000613e0788828901613b7a565b955050602086013567ffffffffffffffff811115613e2457600080fd5b613e3088828901613be3565b9450506040613e4188828901613ba4565b9350506060613e5288828901613ba4565b9250506080613e6388828901613c61565b9150509295509295909350565b60008060408385031215613e8357600080fd5b6000613e9185828601613b7a565b9250506020613ea285828601613c4c565b9150509250929050565b600060208284031215613ebe57600080fd5b6000613ecc84828501613bb9565b91505092915050565b600060208284031215613ee757600080fd5b6000613ef584828501613bce565b91505092915050565b600060208284031215613f1057600080fd5b6000613f1e84828501613c0d565b91505092915050565b600060208284031215613f3957600080fd5b600082013567ffffffffffffffff811115613f5357600080fd5b613f5f84828501613c22565b91505092915050565b600060208284031215613f7a57600080fd5b6000613f8884828501613c4c565b91505092915050565b613f9a81614d3b565b82525050565b613fa981614d29565b82525050565b613fc0613fbb82614d29565b614ec6565b82525050565b613fcf81614d4d565b82525050565b613fde81614d59565b82525050565b613ff5613ff082614d59565b614ed8565b82525050565b600061400682614bc6565b6140108185614bdc565b9350614020818560208601614de7565b61402981614fe1565b840191505092915050565b600061403f82614bc6565b6140498185614bed565b9350614059818560208601614de7565b80840191505092915050565b600061407082614bd1565b61407a8185614bf8565b935061408a818560208601614de7565b61409381614fe1565b840191505092915050565b60006140a982614bd1565b6140b38185614c09565b93506140c3818560208601614de7565b80840191505092915050565b60006140dc601183614bf8565b91506140e782614fff565b602082019050919050565b60006140ff602a83614bf8565b915061410a82615028565b604082019050919050565b6000614122602b83614bf8565b915061412d82615077565b604082019050919050565b6000614145603283614bf8565b9150614150826150c6565b604082019050919050565b6000614168602683614bf8565b915061417382615115565b604082019050919050565b600061418b601c83614bf8565b915061419682615164565b602082019050919050565b60006141ae601c83614bf8565b91506141b98261518d565b602082019050919050565b60006141d1600283614c09565b91506141dc826151b6565b600282019050919050565b60006141f4602483614bf8565b91506141ff826151df565b604082019050919050565b6000614217601983614bf8565b91506142228261522e565b602082019050919050565b600061423a602c83614bf8565b915061424582615257565b604082019050919050565b600061425d601a83614bf8565b9150614268826152a6565b602082019050919050565b6000614280602583614bf8565b915061428b826152cf565b604082019050919050565b60006142a3602c83614bf8565b91506142ae8261531e565b604082019050919050565b60006142c6601c83614bf8565b91506142d18261536d565b602082019050919050565b60006142e9602183614bf8565b91506142f482615396565b604082019050919050565b600061430c603883614bf8565b9150614317826153e5565b604082019050919050565b600061432f602a83614bf8565b915061433a82615434565b604082019050919050565b6000614352602983614bf8565b915061435d82615483565b604082019050919050565b6000614375600883614c09565b9150614380826154d2565b600882019050919050565b6000614398602083614bf8565b91506143a3826154fb565b602082019050919050565b60006143bb602c83614bf8565b91506143c682615524565b604082019050919050565b60006143de602083614bf8565b91506143e982615573565b602082019050919050565b6000614401602983614bf8565b915061440c8261559c565b604082019050919050565b6000614424601283614bf8565b915061442f826155eb565b602082019050919050565b6000614447602183614bf8565b915061445282615614565b604082019050919050565b600061446a602183614bf8565b915061447582615663565b604082019050919050565b600061448d600083614bed565b9150614498826156b2565b600082019050919050565b60006144b0603183614bf8565b91506144bb826156b5565b604082019050919050565b60006144d3602c83614bf8565b91506144de82615704565b604082019050919050565b60006144f6600983614bf8565b915061450182615753565b602082019050919050565b61451581614dc1565b82525050565b61452481614dcb565b82525050565b60006145368284614034565b915081905092915050565b600061454d8285614034565b91506145598284613faf565b6014820191508190509392505050565b6000614575828561409e565b9150614581828461409e565b91508190509392505050565b6000614599828461409e565b91506145a482614368565b915081905092915050565b60006145ba826141c4565b91506145c68285613fe4565b6020820191506145d68284613fe4565b6020820191508190509392505050565b60006145f182614480565b9150819050919050565b60006020820190506146106000830184613fa0565b92915050565b600060608201905061462b6000830186613fa0565b6146386020830185613f91565b818103604083015261464a8184613ffb565b9050949350505050565b60006080820190506146696000830187613fa0565b6146766020830186613fa0565b614683604083018561450c565b81810360608301526146958184613ffb565b905095945050505050565b60006020820190506146b56000830184613fc6565b92915050565b60006020820190506146d06000830184613fd5565b92915050565b60006080820190506146eb6000830187613fd5565b6146f8602083018661450c565b6147056040830185613fa0565b6147126060830184613fd5565b95945050505050565b60006080820190506147306000830187613fd5565b61473d602083018661451b565b61474a6040830185613fd5565b6147576060830184613fd5565b95945050505050565b6000602082019050818103600083015261477a8184613ffb565b905092915050565b6000602082019050818103600083015261479c8184614065565b905092915050565b600060208201905081810360008301526147bd816140cf565b9050919050565b600060208201905081810360008301526147dd816140f2565b9050919050565b600060208201905081810360008301526147fd81614115565b9050919050565b6000602082019050818103600083015261481d81614138565b9050919050565b6000602082019050818103600083015261483d8161415b565b9050919050565b6000602082019050818103600083015261485d8161417e565b9050919050565b6000602082019050818103600083015261487d816141a1565b9050919050565b6000602082019050818103600083015261489d816141e7565b9050919050565b600060208201905081810360008301526148bd8161420a565b9050919050565b600060208201905081810360008301526148dd8161422d565b9050919050565b600060208201905081810360008301526148fd81614250565b9050919050565b6000602082019050818103600083015261491d81614273565b9050919050565b6000602082019050818103600083015261493d81614296565b9050919050565b6000602082019050818103600083015261495d816142b9565b9050919050565b6000602082019050818103600083015261497d816142dc565b9050919050565b6000602082019050818103600083015261499d816142ff565b9050919050565b600060208201905081810360008301526149bd81614322565b9050919050565b600060208201905081810360008301526149dd81614345565b9050919050565b600060208201905081810360008301526149fd8161438b565b9050919050565b60006020820190508181036000830152614a1d816143ae565b9050919050565b60006020820190508181036000830152614a3d816143d1565b9050919050565b60006020820190508181036000830152614a5d816143f4565b9050919050565b60006020820190508181036000830152614a7d81614417565b9050919050565b60006020820190508181036000830152614a9d8161443a565b9050919050565b60006020820190508181036000830152614abd8161445d565b9050919050565b60006020820190508181036000830152614add816144a3565b9050919050565b60006020820190508181036000830152614afd816144c6565b9050919050565b60006020820190508181036000830152614b1d816144e9565b9050919050565b6000602082019050614b39600083018461450c565b92915050565b6000614b49614b5a565b9050614b558282614e4c565b919050565b6000604051905090565b600067ffffffffffffffff821115614b7f57614b7e614fb2565b5b614b8882614fe1565b9050602081019050919050565b600067ffffffffffffffff821115614bb057614baf614fb2565b5b614bb982614fe1565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614c1f82614dc1565b9150614c2a83614dc1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614c5f57614c5e614f25565b5b828201905092915050565b6000614c7582614dc1565b9150614c8083614dc1565b925082614c9057614c8f614f54565b5b828204905092915050565b6000614ca682614dc1565b9150614cb183614dc1565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614cea57614ce9614f25565b5b828202905092915050565b6000614d0082614dc1565b9150614d0b83614dc1565b925082821015614d1e57614d1d614f25565b5b828203905092915050565b6000614d3482614da1565b9050919050565b6000614d4682614da1565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000614d9a82614d29565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614e05578082015181840152602081019050614dea565b83811115614e14576000848401525b50505050565b60006002820490506001821680614e3257607f821691505b60208210811415614e4657614e45614f83565b5b50919050565b614e5582614fe1565b810181811067ffffffffffffffff82111715614e7457614e73614fb2565b5b80604052505050565b6000614e8882614dc1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614ebb57614eba614f25565b5b600182019050919050565b6000614ed182614ee2565b9050919050565b6000819050919050565b6000614eed82614ff2565b9050919050565b6000614eff82614dc1565b9150614f0a83614dc1565b925082614f1a57614f19614f54565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4e6f7420756e6c6f636b6564207965742e000000000000000000000000000000600082015250565b7f54686572652069732061206d696e74696e67206c696d6974206f66203933207060008201527f65722077616c6c65742e00000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f436f6e747261637420697320616c7265616479206c6f636b6564000000000000600082015250565b7f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008201527f49474e4552000000000000000000000000000000000000000000000000000000602082015250565b7f596f752063616e6e6f74206d696e74206d6f7265207468616e20323020746f6b60008201527f656e73206174206f6e63652e0000000000000000000000000000000000000000602082015250565b7f436f6e747261637420697320616c726561647920756e6c6f636b656400000000600082015250565b7f5072696365206d75737420626520657175616c20746f2074686520707269636560008201527f2e00000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f636f6e7472616374000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4661696c656420746f2073656e64204554480000000000000000000000000000600082015250565b7f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008201527f6800000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f536f6c64206f7574210000000000000000000000000000000000000000000000600082015250565b61578581614d29565b811461579057600080fd5b50565b61579c81614d4d565b81146157a757600080fd5b50565b6157b381614d59565b81146157be57600080fd5b50565b6157ca81614d63565b81146157d557600080fd5b50565b6157e181614d8f565b81146157ec57600080fd5b50565b6157f881614dc1565b811461580357600080fd5b50565b61580f81614dcb565b811461581a57600080fd5b5056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a26469706673582212200c941fed26202fce7fe2141ee4f77c0bfa94b705e47431481aee475cda8e4ccf64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000800000000000000000000000009b7fb8cf7cb02e83cf6a79b436bad724d38a9cc400000000000000000000000045c6e938f173f6c40d5de54cafac2002d67e409b000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c10000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d626a6a45344d33667a7533596a7335313338626e53565063703556653834625172314573474d5a73574655752f00000000000000000000
-----Decoded View---------------
Arg [0] : _baseUri (string): ipfs://QmbjjE4M3fzu3Yjs5138bnSVPcp5Ve84bQr1EsGMZsWFUu/
Arg [1] : _artistWallet (address): 0x9B7FB8cf7cB02e83cf6a79b436bAD724D38A9cC4
Arg [2] : _devWallet (address): 0x45c6e938F173F6C40d5De54cafAC2002D67E409B
Arg [3] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 0000000000000000000000009b7fb8cf7cb02e83cf6a79b436bad724d38a9cc4
Arg [2] : 00000000000000000000000045c6e938f173f6c40d5de54cafac2002d67e409b
Arg [3] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [5] : 697066733a2f2f516d626a6a45344d33667a7533596a7335313338626e535650
Arg [6] : 63703556653834625172314573474d5a73574655752f00000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.