Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
13 PEEP
Holders
10
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 PEEPLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
PeepToken
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: MIT /// @title ERC721 Peep Token /// @author @MilkyTasteNFT MilkyTaste:8662 https://milkytaste.xyz /// https://peeps.club /// A diverse and family friendly NFT community pragma solidity ^0.8.0; import './common/ERC721Tradable.sol'; contract PeepToken is ERC721Tradable { using Strings for uint256; using SafeMath for uint256; address public FACTORY; // URIs string private placeholderURI; string private baseURI; uint256 private revealedTo; bool public BURN_ACTIVE = false; uint256 private nextTokenId = 1; uint256 public TOTAL_SUPPLY = 0; mapping(uint256 => string) public curatedURIs; constructor(address proxyRegistryAddress) ERC721Tradable('Peep', 'PEEP', proxyRegistryAddress) { placeholderURI = 'https://peeps.club/metadata/placeholder.json'; } /** * @dev Withdraw funds to owner address. */ function withdraw(address payable withdrawTo) external onlyOwner { uint256 balance = address(this).balance; withdrawTo.transfer(balance); } // // Modifiers // /** * @dev Requires the correct value for the amount provided. */ modifier onlyFactory() { require(msg.sender == FACTORY, 'PeepToken: must be called by factory'); _; } // // URI Methods // /** * @dev Update the placeholder URI */ function setPlaceholderURI(string memory newURI) external onlyOwner { placeholderURI = newURI; } /** * @dev Update the base URI */ function setBaseURI(string memory newURI) external onlyOwner { baseURI = newURI; } /** * @dev Reveal up to the token id provided. * @notice This is exclusive. * @notice This does not affect curated tokens. */ function updateRevealedTo(uint256 newRevealedTo) external onlyOwner { require(newRevealedTo > revealedTo, 'PeepToken: must reveal more'); revealedTo = newRevealedTo; } /** * @dev Update a curated token URI */ function updateCuratedURI(uint256 tokenId, string memory curatedURI) external onlyOwner { require( bytes(curatedURIs[tokenId]).length > 0, 'PeepToken: not a curated token' ); curatedURIs[tokenId] = curatedURI; } /** * @dev See {IERC721Metadata-tokenURI}. * We override this method because it's nice to have a .json file extension. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), 'PeepToken: URI query for nonexistent token'); string memory curatedURI = curatedURIs[tokenId]; if (bytes(curatedURI).length > 0) { return curatedURI; } if (tokenId < revealedTo) { if (bytes(baseURI).length > 0) { return string( abi.encodePacked(baseURI, tokenId.toString(), '.json') ); } } return placeholderURI; } // // Admin management // /** * @dev Set factory */ function setFactory(address newFactory) external onlyOwner { FACTORY = newFactory; } /** * @dev Toggle burn state * @notice Do not enable sale when burn is active */ function toggleBurn() external onlyOwner { BURN_ACTIVE = !BURN_ACTIVE; } // // Minting // /** * @dev Mint a curated token. */ function curatedMint(address addr, string memory curatedURI) external onlyOwner { curatedURIs[nextTokenId] = curatedURI; _safeMint(addr, nextTokenId); nextTokenId = nextTokenId.add(1); TOTAL_SUPPLY = TOTAL_SUPPLY.add(1); } /** * @dev Do the minting here */ function doMint(address addr, uint256 amount) external onlyFactory { for (uint256 i = 0; i < amount; i++) { _safeMint(addr, nextTokenId); nextTokenId = nextTokenId.add(1); } TOTAL_SUPPLY = TOTAL_SUPPLY.add(amount); } // // Burning // /** * @dev Burn token. * Burning does not alter to total available mints. */ function burn(uint256 tokenId) external { require(BURN_ACTIVE, 'PeepToken: burning is disabled'); require( _isApprovedOrOwner(msg.sender, tokenId), 'PeepToken: caller is not owner nor approved' ); _burn(tokenId); TOTAL_SUPPLY = TOTAL_SUPPLY.sub(1); } // // View methods // /** * @dev Return the total supply. */ function totalSupply() external view returns (uint256) { return TOTAL_SUPPLY; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import '@openzeppelin/contracts/token/ERC721/ERC721.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/math/SafeMath.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import './meta-transactions/ContentMixin.sol'; import './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. * @author Opensea. Optimised by MilkyTaste * @dev Updated to use OpenZepplin's ERC721 instead of ERC721Enumerable. * @dev Removed a bunch of unnecessary methods. */ abstract contract ERC721Tradable is ContextMixin, ERC721, NativeMetaTransaction, Ownable { using SafeMath for uint256; address proxyRegistryAddress; uint256 private _currentTokenId = 0; constructor( string memory _name, string memory _symbol, address _proxyRegistryAddress ) ERC721(_name, _symbol) { proxyRegistryAddress = _proxyRegistryAddress; _initializeEIP712(_name); } /** * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings. */ function isApprovedForAll(address owner, address operator) public view override 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 view override 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(to).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 "../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); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private 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 {Initializable} from './Initializable.sol'; contract EIP712Base is Initializable { struct EIP712Domain { string name; string version; address verifyingContract; bytes32 salt; } string public constant ERC712_VERSION = '1'; bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256( bytes( 'EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)' ) ); bytes32 internal domainSeperator; // supposed to be called once while initializing. // one of the contracts that inherits this contract follows proxy pattern // so it is not possible to do this in a constructor function _initializeEIP712(string memory name) internal initializer { _setDomainSeperator(name); } function _setDomainSeperator(string memory name) internal { domainSeperator = keccak256( abi.encode( EIP712_DOMAIN_TYPEHASH, keccak256(bytes(name)), keccak256(bytes(ERC712_VERSION)), address(this), bytes32(getChainId()) ) ); } function getDomainSeperator() public view returns (bytes32) { return domainSeperator; } function getChainId() public view returns (uint256) { uint256 id; assembly { id := chainid() } return id; } /** * Accept message hash and returns hash message in EIP712 compatible form * So that it can be used to recover signer from signature signed using EIP712 formatted data * https://eips.ethereum.org/EIPS/eip-712 * "\\x19" makes the encoding deterministic * "\\x01" is the version byte to make it compatible to EIP-191 */ function toTypedMessageHash(bytes32 messageHash) internal view returns (bytes32) { return keccak256( abi.encodePacked('\x19\x01', getDomainSeperator(), messageHash) ); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract Initializable { bool inited = false; modifier initializer() { require(!inited, 'already inited'); _; inited = true; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"proxyRegistryAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"BURN_ACTIVE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FACTORY","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"string","name":"curatedURI","type":"string"}],"name":"curatedMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"curatedURIs","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"doMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeperator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"string","name":"newURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newFactory","type":"address"}],"name":"setFactory","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"setPlaceholderURI","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":[],"name":"toggleBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"curatedURI","type":"string"}],"name":"updateCuratedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newRevealedTo","type":"uint256"}],"name":"updateRevealedTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"withdrawTo","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600660006101000a81548160ff0219169083151502179055506000600b556000601060006101000a81548160ff021916908315150217905550600160115560006012553480156200005657600080fd5b50604051620055073803806200550783398181016040528101906200007c919062000567565b6040518060400160405280600481526020017f50656570000000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f5045455000000000000000000000000000000000000000000000000000000000815250828282816000908051906020019062000103929190620004a0565b5080600190805190602001906200011c929190620004a0565b5050506200013f62000133620001cd60201b60201c565b620001e960201b60201c565b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200019183620002af60201b60201c565b5050506040518060600160405280602c8152602001620054db602c9139600d9080519060200190620001c5929190620004a0565b505062000752565b6000620001e46200033160201b6200203d1760201c565b905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600660009054906101000a900460ff161562000302576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002f99062000639565b60405180910390fd5b6200031381620003e460201b60201c565b6001600660006101000a81548160ff02191690831515021790555050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415620003dd57600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff818301511692505050620003e1565b3390505b90565b6040518060800160405280604f81526020016200548c604f91398051906020012081805190602001206040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525080519060200120306200045b6200049360201b60201c565b60001b60405160200162000474959493929190620005dc565b6040516020818303038152906040528051906020012060078190555050565b6000804690508091505090565b828054620004ae90620006aa565b90600052602060002090601f016020900481019282620004d257600085556200051e565b82601f10620004ed57805160ff19168380011785556200051e565b828001600101855582156200051e579182015b828111156200051d57825182559160200191906001019062000500565b5b5090506200052d919062000531565b5090565b5b808211156200054c57600081600090555060010162000532565b5090565b600081519050620005618162000738565b92915050565b6000602082840312156200057a57600080fd5b60006200058a8482850162000550565b91505092915050565b6200059e816200066c565b82525050565b620005af8162000680565b82525050565b6000620005c4600e836200065b565b9150620005d1826200070f565b602082019050919050565b600060a082019050620005f36000830188620005a4565b620006026020830187620005a4565b620006116040830186620005a4565b62000620606083018562000593565b6200062f6080830184620005a4565b9695505050505050565b600060208201905081810360008301526200065481620005b5565b9050919050565b600082825260208201905092915050565b600062000679826200068a565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006002820490506001821680620006c357607f821691505b60208210811415620006da57620006d9620006e0565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f616c726561647920696e69746564000000000000000000000000000000000000600082015250565b62000743816200066c565b81146200074f57600080fd5b50565b614d2a80620007626000396000f3fe60806040526004361061020f5760003560e01c80635513fb12116101185780637d10fb25116100a0578063a22cb4651161006f578063a22cb4651461077a578063b88d4fde146107a3578063c87b56dd146107cc578063e985e9c514610809578063f2fde38b146108465761020f565b80637d10fb25146106d05780638da5cb5b146106f9578063902d55a51461072457806395d89b411461074f5761020f565b80636096f7fe116100e75780636096f7fe146105fd5780636352211e1461062857806370a0823114610665578063715018a6146106a2578063778a56ce146106b95761020f565b80635513fb121461055957806355c381c01461058257806355f804b3146105ab5780635bb47808146105d45761020f565b806323b872dd1161019b5780633574a2dd1161016a5780633574a2dd14610478578063413add5e146104a157806342842e0e146104de57806342966c681461050757806351cff8d9146105305761020f565b806323b872dd146103bc5780632d0335ab146103e55780632dd31000146104225780633408e4701461044d5761020f565b80630c53c51c116101e25780630c53c51c146102e25780630f7e59701461031257806318160ddd1461033d5780631fa305231461036857806320379ee5146103915761020f565b806301ffc9a71461021457806306fdde0314610251578063081812fc1461027c578063095ea7b3146102b9575b600080fd5b34801561022057600080fd5b5061023b600480360381019061023691906134e9565b61086f565b6040516102489190613cd5565b60405180910390f35b34801561025d57600080fd5b50610266610951565b6040516102739190613db7565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e91906135a5565b6109e3565b6040516102b09190613c30565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db91906134ad565b610a68565b005b6102fc60048036038101906102f791906133ca565b610b80565b6040516103099190613d95565b60405180910390f35b34801561031e57600080fd5b50610327610df2565b6040516103349190613db7565b60405180910390f35b34801561034957600080fd5b50610352610e2b565b60405161035f91906140d9565b60405180910390f35b34801561037457600080fd5b5061038f600480360381019061038a91906134ad565b610e35565b005b34801561039d57600080fd5b506103a6610f2b565b6040516103b39190613cf0565b60405180910390f35b3480156103c857600080fd5b506103e360048036038101906103de91906132c4565b610f35565b005b3480156103f157600080fd5b5061040c60048036038101906104079190613236565b610f95565b60405161041991906140d9565b60405180910390f35b34801561042e57600080fd5b50610437610fde565b6040516104449190613c30565b60405180910390f35b34801561045957600080fd5b50610462611004565b60405161046f91906140d9565b60405180910390f35b34801561048457600080fd5b5061049f600480360381019061049a9190613564565b611011565b005b3480156104ad57600080fd5b506104c860048036038101906104c391906135a5565b6110a7565b6040516104d59190613db7565b60405180910390f35b3480156104ea57600080fd5b50610505600480360381019061050091906132c4565b611147565b005b34801561051357600080fd5b5061052e600480360381019061052991906135a5565b611167565b005b34801561053c57600080fd5b506105576004803603810190610552919061325f565b611227565b005b34801561056557600080fd5b50610580600480360381019061057b9190613459565b6112f3565b005b34801561058e57600080fd5b506105a960048036038101906105a491906135ce565b6113e1565b005b3480156105b757600080fd5b506105d260048036038101906105cd9190613564565b6114eb565b005b3480156105e057600080fd5b506105fb60048036038101906105f69190613236565b611581565b005b34801561060957600080fd5b50610612611641565b60405161061f9190613cd5565b60405180910390f35b34801561063457600080fd5b5061064f600480360381019061064a91906135a5565b611654565b60405161065c9190613c30565b60405180910390f35b34801561067157600080fd5b5061068c60048036038101906106879190613236565b611706565b60405161069991906140d9565b60405180910390f35b3480156106ae57600080fd5b506106b76117be565b005b3480156106c557600080fd5b506106ce611846565b005b3480156106dc57600080fd5b506106f760048036038101906106f291906135a5565b6118ee565b005b34801561070557600080fd5b5061070e6119b8565b60405161071b9190613c30565b60405180910390f35b34801561073057600080fd5b506107396119e2565b60405161074691906140d9565b60405180910390f35b34801561075b57600080fd5b506107646119e8565b6040516107719190613db7565b60405180910390f35b34801561078657600080fd5b506107a1600480360381019061079c919061338e565b611a7a565b005b3480156107af57600080fd5b506107ca60048036038101906107c59190613313565b611bfb565b005b3480156107d857600080fd5b506107f360048036038101906107ee91906135a5565b611c5d565b6040516108009190613db7565b60405180910390f35b34801561081557600080fd5b50610830600480360381019061082b9190613288565b611e43565b60405161083d9190613cd5565b60405180910390f35b34801561085257600080fd5b5061086d60048036038101906108689190613236565b611f45565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061093a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061094a5750610949826120ee565b5b9050919050565b6060600080546109609061438a565b80601f016020809104026020016040519081016040528092919081815260200182805461098c9061438a565b80156109d95780601f106109ae576101008083540402835291602001916109d9565b820191906000526020600020905b8154815290600101906020018083116109bc57829003601f168201915b5050505050905090565b60006109ee82612158565b610a2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2490613fb9565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a7382611654565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ae4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adb90614059565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b036121c4565b73ffffffffffffffffffffffffffffffffffffffff161480610b325750610b3181610b2c6121c4565b611e43565b5b610b71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6890613f19565b60405180910390fd5b610b7b83836121d3565b505050565b606060006040518060600160405280600860008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff168152602001878152509050610c03878287878761228c565b610c42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3990614019565b60405180910390fd5b610c956001600860008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461239590919063ffffffff16565b600860008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051610d0b93929190613c4b565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a604051602001610d40929190613ba2565b604051602081830303815290604052604051610d5c9190613b8b565b6000604051808303816000865af19150503d8060008114610d99576040519150601f19603f3d011682016040523d82523d6000602084013e610d9e565b606091505b509150915081610de3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dda90613e19565b60405180910390fd5b80935050505095945050505050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b6000601254905090565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ec5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebc90613f79565b60405180910390fd5b60005b81811015610f0b57610edc836011546123ab565b610ef2600160115461239590919063ffffffff16565b6011819055508080610f03906143ed565b915050610ec8565b50610f218160125461239590919063ffffffff16565b6012819055505050565b6000600754905090565b610f46610f406121c4565b826123c9565b610f85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7c90614079565b60405180910390fd5b610f908383836124a7565b505050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000804690508091505090565b6110196121c4565b73ffffffffffffffffffffffffffffffffffffffff166110376119b8565b73ffffffffffffffffffffffffffffffffffffffff161461108d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108490613fd9565b60405180910390fd5b80600d90805190602001906110a3929190613006565b5050565b601360205280600052604060002060009150905080546110c69061438a565b80601f01602080910402602001604051908101604052809291908181526020018280546110f29061438a565b801561113f5780601f106111145761010080835404028352916020019161113f565b820191906000526020600020905b81548152906001019060200180831161112257829003601f168201915b505050505081565b61116283838360405180602001604052806000815250611bfb565b505050565b601060009054906101000a900460ff166111b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ad90614039565b60405180910390fd5b6111c033826123c9565b6111ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f690614099565b60405180910390fd5b61120881612703565b61121e600160125461281490919063ffffffff16565b60128190555050565b61122f6121c4565b73ffffffffffffffffffffffffffffffffffffffff1661124d6119b8565b73ffffffffffffffffffffffffffffffffffffffff16146112a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129a90613fd9565b60405180910390fd5b60004790508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156112ee573d6000803e3d6000fd5b505050565b6112fb6121c4565b73ffffffffffffffffffffffffffffffffffffffff166113196119b8565b73ffffffffffffffffffffffffffffffffffffffff161461136f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136690613fd9565b60405180910390fd5b806013600060115481526020019081526020016000209080519060200190611398929190613006565b506113a5826011546123ab565b6113bb600160115461239590919063ffffffff16565b6011819055506113d7600160125461239590919063ffffffff16565b6012819055505050565b6113e96121c4565b73ffffffffffffffffffffffffffffffffffffffff166114076119b8565b73ffffffffffffffffffffffffffffffffffffffff161461145d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145490613fd9565b60405180910390fd5b600060136000848152602001908152602001600020805461147d9061438a565b9050116114bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b690613eb9565b60405180910390fd5b806013600084815260200190815260200160002090805190602001906114e6929190613006565b505050565b6114f36121c4565b73ffffffffffffffffffffffffffffffffffffffff166115116119b8565b73ffffffffffffffffffffffffffffffffffffffff1614611567576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155e90613fd9565b60405180910390fd5b80600e908051906020019061157d929190613006565b5050565b6115896121c4565b73ffffffffffffffffffffffffffffffffffffffff166115a76119b8565b73ffffffffffffffffffffffffffffffffffffffff16146115fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f490613fd9565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601060009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f490613f59565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611777576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176e90613f39565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6117c66121c4565b73ffffffffffffffffffffffffffffffffffffffff166117e46119b8565b73ffffffffffffffffffffffffffffffffffffffff161461183a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183190613fd9565b60405180910390fd5b611844600061282a565b565b61184e6121c4565b73ffffffffffffffffffffffffffffffffffffffff1661186c6119b8565b73ffffffffffffffffffffffffffffffffffffffff16146118c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b990613fd9565b60405180910390fd5b601060009054906101000a900460ff1615601060006101000a81548160ff021916908315150217905550565b6118f66121c4565b73ffffffffffffffffffffffffffffffffffffffff166119146119b8565b73ffffffffffffffffffffffffffffffffffffffff161461196a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196190613fd9565b60405180910390fd5b600f5481116119ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a5906140b9565b60405180910390fd5b80600f8190555050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60125481565b6060600180546119f79061438a565b80601f0160208091040260200160405190810160405280929190818152602001828054611a239061438a565b8015611a705780601f10611a4557610100808354040283529160200191611a70565b820191906000526020600020905b815481529060010190602001808311611a5357829003601f168201915b5050505050905090565b611a826121c4565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611af0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae790613e79565b60405180910390fd5b8060056000611afd6121c4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611baa6121c4565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611bef9190613cd5565b60405180910390a35050565b611c0c611c066121c4565b836123c9565b611c4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4290614079565b60405180910390fd5b611c57848484846128f0565b50505050565b6060611c6882612158565b611ca7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9e90613ed9565b60405180910390fd5b6000601360008481526020019081526020016000208054611cc79061438a565b80601f0160208091040260200160405190810160405280929190818152602001828054611cf39061438a565b8015611d405780601f10611d1557610100808354040283529160200191611d40565b820191906000526020600020905b815481529060010190602001808311611d2357829003601f168201915b50505050509050600081511115611d5a5780915050611e3e565b600f54831015611daf576000600e8054611d739061438a565b90501115611dae57600e611d868461294c565b604051602001611d97929190613bca565b604051602081830303815290604052915050611e3e565b5b600d8054611dbc9061438a565b80601f0160208091040260200160405190810160405280929190818152602001828054611de89061438a565b8015611e355780601f10611e0a57610100808354040283529160200191611e35565b820191906000526020600020905b815481529060010190602001808311611e1857829003601f168201915b50505050509150505b919050565b600080600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b8152600401611ebb9190613c30565b60206040518083038186803b158015611ed357600080fd5b505afa158015611ee7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f0b919061353b565b73ffffffffffffffffffffffffffffffffffffffff161415611f31576001915050611f3f565b611f3b8484612af9565b9150505b92915050565b611f4d6121c4565b73ffffffffffffffffffffffffffffffffffffffff16611f6b6119b8565b73ffffffffffffffffffffffffffffffffffffffff1614611fc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb890613fd9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612031576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202890613df9565b60405180910390fd5b61203a8161282a565b50565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156120e757600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff8183015116925050506120eb565b3390505b90565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60006121ce61203d565b905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661224683611654565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614156122fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f490613ef9565b60405180910390fd5b600161231061230b87612b8d565b612bf5565b838686604051600081526020016040526040516123309493929190613d50565b6020604051602081039080840390855afa158015612352573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b600081836123a391906141de565b905092915050565b6123c5828260405180602001604052806000815250612c2e565b5050565b60006123d482612158565b612413576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240a90613e99565b60405180910390fd5b600061241e83611654565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061248d57508373ffffffffffffffffffffffffffffffffffffffff16612475846109e3565b73ffffffffffffffffffffffffffffffffffffffff16145b8061249e575061249d8185611e43565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166124c782611654565b73ffffffffffffffffffffffffffffffffffffffff161461251d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251490613ff9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561258d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258490613e59565b60405180910390fd5b612598838383612c89565b6125a36000826121d3565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125f39190614265565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461264a91906141de565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061270e82611654565b905061271c81600084612c89565b6127276000836121d3565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127779190614265565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600081836128229190614265565b905092915050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6128fb8484846124a7565b61290784848484612c8e565b612946576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293d90613dd9565b60405180910390fd5b50505050565b60606000821415612994576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612af4565b600082905060005b600082146129c65780806129af906143ed565b915050600a826129bf9190614234565b915061299c565b60008167ffffffffffffffff811115612a08577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612a3a5781602001600182028036833780820191505090505b5090505b60008514612aed57600182612a539190614265565b9150600a85612a629190614464565b6030612a6e91906141de565b60f81b818381518110612aaa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ae69190614234565b9450612a3e565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000604051806080016040528060438152602001614cb2604391398051906020012082600001518360200151846040015180519060200120604051602001612bd89493929190613d0b565b604051602081830303815290604052805190602001209050919050565b6000612bff610f2b565b82604051602001612c11929190613bf9565b604051602081830303815290604052805190602001209050919050565b612c388383612e25565b612c456000848484612c8e565b612c84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c7b90613dd9565b60405180910390fd5b505050565b505050565b6000612caf8473ffffffffffffffffffffffffffffffffffffffff16612ff3565b15612e18578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612cd86121c4565b8786866040518563ffffffff1660e01b8152600401612cfa9493929190613c89565b602060405180830381600087803b158015612d1457600080fd5b505af1925050508015612d4557506040513d601f19601f82011682018060405250810190612d429190613512565b60015b612dc8573d8060008114612d75576040519150601f19603f3d011682016040523d82523d6000602084013e612d7a565b606091505b50600081511415612dc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db790613dd9565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612e1d565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8c90613f99565b60405180910390fd5b612e9e81612158565b15612ede576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed590613e39565b60405180910390fd5b612eea60008383612c89565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f3a91906141de565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b8280546130129061438a565b90600052602060002090601f016020900481019282613034576000855561307b565b82601f1061304d57805160ff191683800117855561307b565b8280016001018555821561307b579182015b8281111561307a57825182559160200191906001019061305f565b5b509050613088919061308c565b5090565b5b808211156130a557600081600090555060010161308d565b5090565b60006130bc6130b784614119565b6140f4565b9050828152602081018484840111156130d457600080fd5b6130df848285614348565b509392505050565b60006130fa6130f58461414a565b6140f4565b90508281526020810184848401111561311257600080fd5b61311d848285614348565b509392505050565b60008135905061313481614bf9565b92915050565b60008135905061314981614c10565b92915050565b60008135905061315e81614c27565b92915050565b60008135905061317381614c3e565b92915050565b60008135905061318881614c55565b92915050565b60008151905061319d81614c55565b92915050565b600082601f8301126131b457600080fd5b81356131c48482602086016130a9565b91505092915050565b6000815190506131dc81614c6c565b92915050565b600082601f8301126131f357600080fd5b81356132038482602086016130e7565b91505092915050565b60008135905061321b81614c83565b92915050565b60008135905061323081614c9a565b92915050565b60006020828403121561324857600080fd5b600061325684828501613125565b91505092915050565b60006020828403121561327157600080fd5b600061327f8482850161313a565b91505092915050565b6000806040838503121561329b57600080fd5b60006132a985828601613125565b92505060206132ba85828601613125565b9150509250929050565b6000806000606084860312156132d957600080fd5b60006132e786828701613125565b93505060206132f886828701613125565b92505060406133098682870161320c565b9150509250925092565b6000806000806080858703121561332957600080fd5b600061333787828801613125565b945050602061334887828801613125565b93505060406133598782880161320c565b925050606085013567ffffffffffffffff81111561337657600080fd5b613382878288016131a3565b91505092959194509250565b600080604083850312156133a157600080fd5b60006133af85828601613125565b92505060206133c08582860161314f565b9150509250929050565b600080600080600060a086880312156133e257600080fd5b60006133f088828901613125565b955050602086013567ffffffffffffffff81111561340d57600080fd5b613419888289016131a3565b945050604061342a88828901613164565b935050606061343b88828901613164565b925050608061344c88828901613221565b9150509295509295909350565b6000806040838503121561346c57600080fd5b600061347a85828601613125565b925050602083013567ffffffffffffffff81111561349757600080fd5b6134a3858286016131e2565b9150509250929050565b600080604083850312156134c057600080fd5b60006134ce85828601613125565b92505060206134df8582860161320c565b9150509250929050565b6000602082840312156134fb57600080fd5b600061350984828501613179565b91505092915050565b60006020828403121561352457600080fd5b60006135328482850161318e565b91505092915050565b60006020828403121561354d57600080fd5b600061355b848285016131cd565b91505092915050565b60006020828403121561357657600080fd5b600082013567ffffffffffffffff81111561359057600080fd5b61359c848285016131e2565b91505092915050565b6000602082840312156135b757600080fd5b60006135c58482850161320c565b91505092915050565b600080604083850312156135e157600080fd5b60006135ef8582860161320c565b925050602083013567ffffffffffffffff81111561360c57600080fd5b613618858286016131e2565b9150509250929050565b61362b816142ab565b82525050565b61363a81614299565b82525050565b61365161364c82614299565b614436565b82525050565b613660816142bd565b82525050565b61366f816142c9565b82525050565b613686613681826142c9565b614448565b82525050565b600061369782614190565b6136a181856141a6565b93506136b1818560208601614357565b6136ba81614551565b840191505092915050565b60006136d082614190565b6136da81856141b7565b93506136ea818560208601614357565b80840191505092915050565b60006137018261419b565b61370b81856141c2565b935061371b818560208601614357565b61372481614551565b840191505092915050565b600061373a8261419b565b61374481856141d3565b9350613754818560208601614357565b80840191505092915050565b6000815461376d8161438a565b61377781866141d3565b9450600182166000811461379257600181146137a3576137d6565b60ff198316865281860193506137d6565b6137ac8561417b565b60005b838110156137ce578154818901526001820191506020810190506137af565b838801955050505b50505092915050565b60006137ec6032836141c2565b91506137f78261456f565b604082019050919050565b600061380f6026836141c2565b915061381a826145be565b604082019050919050565b6000613832601c836141c2565b915061383d8261460d565b602082019050919050565b6000613855601c836141c2565b915061386082614636565b602082019050919050565b60006138786002836141d3565b91506138838261465f565b600282019050919050565b600061389b6024836141c2565b91506138a682614688565b604082019050919050565b60006138be6019836141c2565b91506138c9826146d7565b602082019050919050565b60006138e1602c836141c2565b91506138ec82614700565b604082019050919050565b6000613904601e836141c2565b915061390f8261474f565b602082019050919050565b6000613927602a836141c2565b915061393282614778565b604082019050919050565b600061394a6025836141c2565b9150613955826147c7565b604082019050919050565b600061396d6038836141c2565b915061397882614816565b604082019050919050565b6000613990602a836141c2565b915061399b82614865565b604082019050919050565b60006139b36029836141c2565b91506139be826148b4565b604082019050919050565b60006139d66024836141c2565b91506139e182614903565b604082019050919050565b60006139f96020836141c2565b9150613a0482614952565b602082019050919050565b6000613a1c602c836141c2565b9150613a278261497b565b604082019050919050565b6000613a3f6005836141d3565b9150613a4a826149ca565b600582019050919050565b6000613a626020836141c2565b9150613a6d826149f3565b602082019050919050565b6000613a856029836141c2565b9150613a9082614a1c565b604082019050919050565b6000613aa86021836141c2565b9150613ab382614a6b565b604082019050919050565b6000613acb601e836141c2565b9150613ad682614aba565b602082019050919050565b6000613aee6021836141c2565b9150613af982614ae3565b604082019050919050565b6000613b116031836141c2565b9150613b1c82614b32565b604082019050919050565b6000613b34602b836141c2565b9150613b3f82614b81565b604082019050919050565b6000613b57601b836141c2565b9150613b6282614bd0565b602082019050919050565b613b7681614331565b82525050565b613b858161433b565b82525050565b6000613b9782846136c5565b915081905092915050565b6000613bae82856136c5565b9150613bba8284613640565b6014820191508190509392505050565b6000613bd68285613760565b9150613be2828461372f565b9150613bed82613a32565b91508190509392505050565b6000613c048261386b565b9150613c108285613675565b602082019150613c208284613675565b6020820191508190509392505050565b6000602082019050613c456000830184613631565b92915050565b6000606082019050613c606000830186613631565b613c6d6020830185613622565b8181036040830152613c7f818461368c565b9050949350505050565b6000608082019050613c9e6000830187613631565b613cab6020830186613631565b613cb86040830185613b6d565b8181036060830152613cca818461368c565b905095945050505050565b6000602082019050613cea6000830184613657565b92915050565b6000602082019050613d056000830184613666565b92915050565b6000608082019050613d206000830187613666565b613d2d6020830186613b6d565b613d3a6040830185613631565b613d476060830184613666565b95945050505050565b6000608082019050613d656000830187613666565b613d726020830186613b7c565b613d7f6040830185613666565b613d8c6060830184613666565b95945050505050565b60006020820190508181036000830152613daf818461368c565b905092915050565b60006020820190508181036000830152613dd181846136f6565b905092915050565b60006020820190508181036000830152613df2816137df565b9050919050565b60006020820190508181036000830152613e1281613802565b9050919050565b60006020820190508181036000830152613e3281613825565b9050919050565b60006020820190508181036000830152613e5281613848565b9050919050565b60006020820190508181036000830152613e728161388e565b9050919050565b60006020820190508181036000830152613e92816138b1565b9050919050565b60006020820190508181036000830152613eb2816138d4565b9050919050565b60006020820190508181036000830152613ed2816138f7565b9050919050565b60006020820190508181036000830152613ef28161391a565b9050919050565b60006020820190508181036000830152613f128161393d565b9050919050565b60006020820190508181036000830152613f3281613960565b9050919050565b60006020820190508181036000830152613f5281613983565b9050919050565b60006020820190508181036000830152613f72816139a6565b9050919050565b60006020820190508181036000830152613f92816139c9565b9050919050565b60006020820190508181036000830152613fb2816139ec565b9050919050565b60006020820190508181036000830152613fd281613a0f565b9050919050565b60006020820190508181036000830152613ff281613a55565b9050919050565b6000602082019050818103600083015261401281613a78565b9050919050565b6000602082019050818103600083015261403281613a9b565b9050919050565b6000602082019050818103600083015261405281613abe565b9050919050565b6000602082019050818103600083015261407281613ae1565b9050919050565b6000602082019050818103600083015261409281613b04565b9050919050565b600060208201905081810360008301526140b281613b27565b9050919050565b600060208201905081810360008301526140d281613b4a565b9050919050565b60006020820190506140ee6000830184613b6d565b92915050565b60006140fe61410f565b905061410a82826143bc565b919050565b6000604051905090565b600067ffffffffffffffff82111561413457614133614522565b5b61413d82614551565b9050602081019050919050565b600067ffffffffffffffff82111561416557614164614522565b5b61416e82614551565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006141e982614331565b91506141f483614331565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561422957614228614495565b5b828201905092915050565b600061423f82614331565b915061424a83614331565b92508261425a576142596144c4565b5b828204905092915050565b600061427082614331565b915061427b83614331565b92508282101561428e5761428d614495565b5b828203905092915050565b60006142a482614311565b9050919050565b60006142b682614311565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061430a82614299565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561437557808201518184015260208101905061435a565b83811115614384576000848401525b50505050565b600060028204905060018216806143a257607f821691505b602082108114156143b6576143b56144f3565b5b50919050565b6143c582614551565b810181811067ffffffffffffffff821117156143e4576143e3614522565b5b80604052505050565b60006143f882614331565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561442b5761442a614495565b5b600182019050919050565b600061444182614452565b9050919050565b6000819050919050565b600061445d82614562565b9050919050565b600061446f82614331565b915061447a83614331565b92508261448a576144896144c4565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f50656570546f6b656e3a206e6f742061206375726174656420746f6b656e0000600082015250565b7f50656570546f6b656e3a2055524920717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b7f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008201527f49474e4552000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f50656570546f6b656e3a206d7573742062652063616c6c65642062792066616360008201527f746f727900000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008201527f6800000000000000000000000000000000000000000000000000000000000000602082015250565b7f50656570546f6b656e3a206275726e696e672069732064697361626c65640000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f50656570546f6b656e3a2063616c6c6572206973206e6f74206f776e6572206e60008201527f6f7220617070726f766564000000000000000000000000000000000000000000602082015250565b7f50656570546f6b656e3a206d7573742072657665616c206d6f72650000000000600082015250565b614c0281614299565b8114614c0d57600080fd5b50565b614c19816142ab565b8114614c2457600080fd5b50565b614c30816142bd565b8114614c3b57600080fd5b50565b614c47816142c9565b8114614c5257600080fd5b50565b614c5e816142d3565b8114614c6957600080fd5b50565b614c75816142ff565b8114614c8057600080fd5b50565b614c8c81614331565b8114614c9757600080fd5b50565b614ca38161433b565b8114614cae57600080fd5b5056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a26469706673582212209c5696654e0a0c128a9c8b53b9ab79f35bbeb737f7cfb4ac559b3f0674a7144764736f6c63430008040033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c742968747470733a2f2f70656570732e636c75622f6d657461646174612f706c616365686f6c6465722e6a736f6e000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Deployed Bytecode
0x60806040526004361061020f5760003560e01c80635513fb12116101185780637d10fb25116100a0578063a22cb4651161006f578063a22cb4651461077a578063b88d4fde146107a3578063c87b56dd146107cc578063e985e9c514610809578063f2fde38b146108465761020f565b80637d10fb25146106d05780638da5cb5b146106f9578063902d55a51461072457806395d89b411461074f5761020f565b80636096f7fe116100e75780636096f7fe146105fd5780636352211e1461062857806370a0823114610665578063715018a6146106a2578063778a56ce146106b95761020f565b80635513fb121461055957806355c381c01461058257806355f804b3146105ab5780635bb47808146105d45761020f565b806323b872dd1161019b5780633574a2dd1161016a5780633574a2dd14610478578063413add5e146104a157806342842e0e146104de57806342966c681461050757806351cff8d9146105305761020f565b806323b872dd146103bc5780632d0335ab146103e55780632dd31000146104225780633408e4701461044d5761020f565b80630c53c51c116101e25780630c53c51c146102e25780630f7e59701461031257806318160ddd1461033d5780631fa305231461036857806320379ee5146103915761020f565b806301ffc9a71461021457806306fdde0314610251578063081812fc1461027c578063095ea7b3146102b9575b600080fd5b34801561022057600080fd5b5061023b600480360381019061023691906134e9565b61086f565b6040516102489190613cd5565b60405180910390f35b34801561025d57600080fd5b50610266610951565b6040516102739190613db7565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e91906135a5565b6109e3565b6040516102b09190613c30565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db91906134ad565b610a68565b005b6102fc60048036038101906102f791906133ca565b610b80565b6040516103099190613d95565b60405180910390f35b34801561031e57600080fd5b50610327610df2565b6040516103349190613db7565b60405180910390f35b34801561034957600080fd5b50610352610e2b565b60405161035f91906140d9565b60405180910390f35b34801561037457600080fd5b5061038f600480360381019061038a91906134ad565b610e35565b005b34801561039d57600080fd5b506103a6610f2b565b6040516103b39190613cf0565b60405180910390f35b3480156103c857600080fd5b506103e360048036038101906103de91906132c4565b610f35565b005b3480156103f157600080fd5b5061040c60048036038101906104079190613236565b610f95565b60405161041991906140d9565b60405180910390f35b34801561042e57600080fd5b50610437610fde565b6040516104449190613c30565b60405180910390f35b34801561045957600080fd5b50610462611004565b60405161046f91906140d9565b60405180910390f35b34801561048457600080fd5b5061049f600480360381019061049a9190613564565b611011565b005b3480156104ad57600080fd5b506104c860048036038101906104c391906135a5565b6110a7565b6040516104d59190613db7565b60405180910390f35b3480156104ea57600080fd5b50610505600480360381019061050091906132c4565b611147565b005b34801561051357600080fd5b5061052e600480360381019061052991906135a5565b611167565b005b34801561053c57600080fd5b506105576004803603810190610552919061325f565b611227565b005b34801561056557600080fd5b50610580600480360381019061057b9190613459565b6112f3565b005b34801561058e57600080fd5b506105a960048036038101906105a491906135ce565b6113e1565b005b3480156105b757600080fd5b506105d260048036038101906105cd9190613564565b6114eb565b005b3480156105e057600080fd5b506105fb60048036038101906105f69190613236565b611581565b005b34801561060957600080fd5b50610612611641565b60405161061f9190613cd5565b60405180910390f35b34801561063457600080fd5b5061064f600480360381019061064a91906135a5565b611654565b60405161065c9190613c30565b60405180910390f35b34801561067157600080fd5b5061068c60048036038101906106879190613236565b611706565b60405161069991906140d9565b60405180910390f35b3480156106ae57600080fd5b506106b76117be565b005b3480156106c557600080fd5b506106ce611846565b005b3480156106dc57600080fd5b506106f760048036038101906106f291906135a5565b6118ee565b005b34801561070557600080fd5b5061070e6119b8565b60405161071b9190613c30565b60405180910390f35b34801561073057600080fd5b506107396119e2565b60405161074691906140d9565b60405180910390f35b34801561075b57600080fd5b506107646119e8565b6040516107719190613db7565b60405180910390f35b34801561078657600080fd5b506107a1600480360381019061079c919061338e565b611a7a565b005b3480156107af57600080fd5b506107ca60048036038101906107c59190613313565b611bfb565b005b3480156107d857600080fd5b506107f360048036038101906107ee91906135a5565b611c5d565b6040516108009190613db7565b60405180910390f35b34801561081557600080fd5b50610830600480360381019061082b9190613288565b611e43565b60405161083d9190613cd5565b60405180910390f35b34801561085257600080fd5b5061086d60048036038101906108689190613236565b611f45565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061093a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061094a5750610949826120ee565b5b9050919050565b6060600080546109609061438a565b80601f016020809104026020016040519081016040528092919081815260200182805461098c9061438a565b80156109d95780601f106109ae576101008083540402835291602001916109d9565b820191906000526020600020905b8154815290600101906020018083116109bc57829003601f168201915b5050505050905090565b60006109ee82612158565b610a2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2490613fb9565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a7382611654565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ae4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adb90614059565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b036121c4565b73ffffffffffffffffffffffffffffffffffffffff161480610b325750610b3181610b2c6121c4565b611e43565b5b610b71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6890613f19565b60405180910390fd5b610b7b83836121d3565b505050565b606060006040518060600160405280600860008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff168152602001878152509050610c03878287878761228c565b610c42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3990614019565b60405180910390fd5b610c956001600860008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461239590919063ffffffff16565b600860008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051610d0b93929190613c4b565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a604051602001610d40929190613ba2565b604051602081830303815290604052604051610d5c9190613b8b565b6000604051808303816000865af19150503d8060008114610d99576040519150601f19603f3d011682016040523d82523d6000602084013e610d9e565b606091505b509150915081610de3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dda90613e19565b60405180910390fd5b80935050505095945050505050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b6000601254905090565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ec5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebc90613f79565b60405180910390fd5b60005b81811015610f0b57610edc836011546123ab565b610ef2600160115461239590919063ffffffff16565b6011819055508080610f03906143ed565b915050610ec8565b50610f218160125461239590919063ffffffff16565b6012819055505050565b6000600754905090565b610f46610f406121c4565b826123c9565b610f85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7c90614079565b60405180910390fd5b610f908383836124a7565b505050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000804690508091505090565b6110196121c4565b73ffffffffffffffffffffffffffffffffffffffff166110376119b8565b73ffffffffffffffffffffffffffffffffffffffff161461108d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108490613fd9565b60405180910390fd5b80600d90805190602001906110a3929190613006565b5050565b601360205280600052604060002060009150905080546110c69061438a565b80601f01602080910402602001604051908101604052809291908181526020018280546110f29061438a565b801561113f5780601f106111145761010080835404028352916020019161113f565b820191906000526020600020905b81548152906001019060200180831161112257829003601f168201915b505050505081565b61116283838360405180602001604052806000815250611bfb565b505050565b601060009054906101000a900460ff166111b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ad90614039565b60405180910390fd5b6111c033826123c9565b6111ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f690614099565b60405180910390fd5b61120881612703565b61121e600160125461281490919063ffffffff16565b60128190555050565b61122f6121c4565b73ffffffffffffffffffffffffffffffffffffffff1661124d6119b8565b73ffffffffffffffffffffffffffffffffffffffff16146112a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129a90613fd9565b60405180910390fd5b60004790508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156112ee573d6000803e3d6000fd5b505050565b6112fb6121c4565b73ffffffffffffffffffffffffffffffffffffffff166113196119b8565b73ffffffffffffffffffffffffffffffffffffffff161461136f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136690613fd9565b60405180910390fd5b806013600060115481526020019081526020016000209080519060200190611398929190613006565b506113a5826011546123ab565b6113bb600160115461239590919063ffffffff16565b6011819055506113d7600160125461239590919063ffffffff16565b6012819055505050565b6113e96121c4565b73ffffffffffffffffffffffffffffffffffffffff166114076119b8565b73ffffffffffffffffffffffffffffffffffffffff161461145d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145490613fd9565b60405180910390fd5b600060136000848152602001908152602001600020805461147d9061438a565b9050116114bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b690613eb9565b60405180910390fd5b806013600084815260200190815260200160002090805190602001906114e6929190613006565b505050565b6114f36121c4565b73ffffffffffffffffffffffffffffffffffffffff166115116119b8565b73ffffffffffffffffffffffffffffffffffffffff1614611567576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155e90613fd9565b60405180910390fd5b80600e908051906020019061157d929190613006565b5050565b6115896121c4565b73ffffffffffffffffffffffffffffffffffffffff166115a76119b8565b73ffffffffffffffffffffffffffffffffffffffff16146115fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f490613fd9565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601060009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f490613f59565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611777576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176e90613f39565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6117c66121c4565b73ffffffffffffffffffffffffffffffffffffffff166117e46119b8565b73ffffffffffffffffffffffffffffffffffffffff161461183a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183190613fd9565b60405180910390fd5b611844600061282a565b565b61184e6121c4565b73ffffffffffffffffffffffffffffffffffffffff1661186c6119b8565b73ffffffffffffffffffffffffffffffffffffffff16146118c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b990613fd9565b60405180910390fd5b601060009054906101000a900460ff1615601060006101000a81548160ff021916908315150217905550565b6118f66121c4565b73ffffffffffffffffffffffffffffffffffffffff166119146119b8565b73ffffffffffffffffffffffffffffffffffffffff161461196a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196190613fd9565b60405180910390fd5b600f5481116119ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a5906140b9565b60405180910390fd5b80600f8190555050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60125481565b6060600180546119f79061438a565b80601f0160208091040260200160405190810160405280929190818152602001828054611a239061438a565b8015611a705780601f10611a4557610100808354040283529160200191611a70565b820191906000526020600020905b815481529060010190602001808311611a5357829003601f168201915b5050505050905090565b611a826121c4565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611af0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae790613e79565b60405180910390fd5b8060056000611afd6121c4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611baa6121c4565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611bef9190613cd5565b60405180910390a35050565b611c0c611c066121c4565b836123c9565b611c4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4290614079565b60405180910390fd5b611c57848484846128f0565b50505050565b6060611c6882612158565b611ca7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9e90613ed9565b60405180910390fd5b6000601360008481526020019081526020016000208054611cc79061438a565b80601f0160208091040260200160405190810160405280929190818152602001828054611cf39061438a565b8015611d405780601f10611d1557610100808354040283529160200191611d40565b820191906000526020600020905b815481529060010190602001808311611d2357829003601f168201915b50505050509050600081511115611d5a5780915050611e3e565b600f54831015611daf576000600e8054611d739061438a565b90501115611dae57600e611d868461294c565b604051602001611d97929190613bca565b604051602081830303815290604052915050611e3e565b5b600d8054611dbc9061438a565b80601f0160208091040260200160405190810160405280929190818152602001828054611de89061438a565b8015611e355780601f10611e0a57610100808354040283529160200191611e35565b820191906000526020600020905b815481529060010190602001808311611e1857829003601f168201915b50505050509150505b919050565b600080600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b8152600401611ebb9190613c30565b60206040518083038186803b158015611ed357600080fd5b505afa158015611ee7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f0b919061353b565b73ffffffffffffffffffffffffffffffffffffffff161415611f31576001915050611f3f565b611f3b8484612af9565b9150505b92915050565b611f4d6121c4565b73ffffffffffffffffffffffffffffffffffffffff16611f6b6119b8565b73ffffffffffffffffffffffffffffffffffffffff1614611fc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb890613fd9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612031576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202890613df9565b60405180910390fd5b61203a8161282a565b50565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156120e757600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff8183015116925050506120eb565b3390505b90565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60006121ce61203d565b905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661224683611654565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614156122fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f490613ef9565b60405180910390fd5b600161231061230b87612b8d565b612bf5565b838686604051600081526020016040526040516123309493929190613d50565b6020604051602081039080840390855afa158015612352573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b600081836123a391906141de565b905092915050565b6123c5828260405180602001604052806000815250612c2e565b5050565b60006123d482612158565b612413576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240a90613e99565b60405180910390fd5b600061241e83611654565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061248d57508373ffffffffffffffffffffffffffffffffffffffff16612475846109e3565b73ffffffffffffffffffffffffffffffffffffffff16145b8061249e575061249d8185611e43565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166124c782611654565b73ffffffffffffffffffffffffffffffffffffffff161461251d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251490613ff9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561258d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258490613e59565b60405180910390fd5b612598838383612c89565b6125a36000826121d3565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125f39190614265565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461264a91906141de565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061270e82611654565b905061271c81600084612c89565b6127276000836121d3565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127779190614265565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600081836128229190614265565b905092915050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6128fb8484846124a7565b61290784848484612c8e565b612946576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293d90613dd9565b60405180910390fd5b50505050565b60606000821415612994576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612af4565b600082905060005b600082146129c65780806129af906143ed565b915050600a826129bf9190614234565b915061299c565b60008167ffffffffffffffff811115612a08577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612a3a5781602001600182028036833780820191505090505b5090505b60008514612aed57600182612a539190614265565b9150600a85612a629190614464565b6030612a6e91906141de565b60f81b818381518110612aaa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ae69190614234565b9450612a3e565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000604051806080016040528060438152602001614cb2604391398051906020012082600001518360200151846040015180519060200120604051602001612bd89493929190613d0b565b604051602081830303815290604052805190602001209050919050565b6000612bff610f2b565b82604051602001612c11929190613bf9565b604051602081830303815290604052805190602001209050919050565b612c388383612e25565b612c456000848484612c8e565b612c84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c7b90613dd9565b60405180910390fd5b505050565b505050565b6000612caf8473ffffffffffffffffffffffffffffffffffffffff16612ff3565b15612e18578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612cd86121c4565b8786866040518563ffffffff1660e01b8152600401612cfa9493929190613c89565b602060405180830381600087803b158015612d1457600080fd5b505af1925050508015612d4557506040513d601f19601f82011682018060405250810190612d429190613512565b60015b612dc8573d8060008114612d75576040519150601f19603f3d011682016040523d82523d6000602084013e612d7a565b606091505b50600081511415612dc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db790613dd9565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612e1d565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8c90613f99565b60405180910390fd5b612e9e81612158565b15612ede576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed590613e39565b60405180910390fd5b612eea60008383612c89565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f3a91906141de565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b8280546130129061438a565b90600052602060002090601f016020900481019282613034576000855561307b565b82601f1061304d57805160ff191683800117855561307b565b8280016001018555821561307b579182015b8281111561307a57825182559160200191906001019061305f565b5b509050613088919061308c565b5090565b5b808211156130a557600081600090555060010161308d565b5090565b60006130bc6130b784614119565b6140f4565b9050828152602081018484840111156130d457600080fd5b6130df848285614348565b509392505050565b60006130fa6130f58461414a565b6140f4565b90508281526020810184848401111561311257600080fd5b61311d848285614348565b509392505050565b60008135905061313481614bf9565b92915050565b60008135905061314981614c10565b92915050565b60008135905061315e81614c27565b92915050565b60008135905061317381614c3e565b92915050565b60008135905061318881614c55565b92915050565b60008151905061319d81614c55565b92915050565b600082601f8301126131b457600080fd5b81356131c48482602086016130a9565b91505092915050565b6000815190506131dc81614c6c565b92915050565b600082601f8301126131f357600080fd5b81356132038482602086016130e7565b91505092915050565b60008135905061321b81614c83565b92915050565b60008135905061323081614c9a565b92915050565b60006020828403121561324857600080fd5b600061325684828501613125565b91505092915050565b60006020828403121561327157600080fd5b600061327f8482850161313a565b91505092915050565b6000806040838503121561329b57600080fd5b60006132a985828601613125565b92505060206132ba85828601613125565b9150509250929050565b6000806000606084860312156132d957600080fd5b60006132e786828701613125565b93505060206132f886828701613125565b92505060406133098682870161320c565b9150509250925092565b6000806000806080858703121561332957600080fd5b600061333787828801613125565b945050602061334887828801613125565b93505060406133598782880161320c565b925050606085013567ffffffffffffffff81111561337657600080fd5b613382878288016131a3565b91505092959194509250565b600080604083850312156133a157600080fd5b60006133af85828601613125565b92505060206133c08582860161314f565b9150509250929050565b600080600080600060a086880312156133e257600080fd5b60006133f088828901613125565b955050602086013567ffffffffffffffff81111561340d57600080fd5b613419888289016131a3565b945050604061342a88828901613164565b935050606061343b88828901613164565b925050608061344c88828901613221565b9150509295509295909350565b6000806040838503121561346c57600080fd5b600061347a85828601613125565b925050602083013567ffffffffffffffff81111561349757600080fd5b6134a3858286016131e2565b9150509250929050565b600080604083850312156134c057600080fd5b60006134ce85828601613125565b92505060206134df8582860161320c565b9150509250929050565b6000602082840312156134fb57600080fd5b600061350984828501613179565b91505092915050565b60006020828403121561352457600080fd5b60006135328482850161318e565b91505092915050565b60006020828403121561354d57600080fd5b600061355b848285016131cd565b91505092915050565b60006020828403121561357657600080fd5b600082013567ffffffffffffffff81111561359057600080fd5b61359c848285016131e2565b91505092915050565b6000602082840312156135b757600080fd5b60006135c58482850161320c565b91505092915050565b600080604083850312156135e157600080fd5b60006135ef8582860161320c565b925050602083013567ffffffffffffffff81111561360c57600080fd5b613618858286016131e2565b9150509250929050565b61362b816142ab565b82525050565b61363a81614299565b82525050565b61365161364c82614299565b614436565b82525050565b613660816142bd565b82525050565b61366f816142c9565b82525050565b613686613681826142c9565b614448565b82525050565b600061369782614190565b6136a181856141a6565b93506136b1818560208601614357565b6136ba81614551565b840191505092915050565b60006136d082614190565b6136da81856141b7565b93506136ea818560208601614357565b80840191505092915050565b60006137018261419b565b61370b81856141c2565b935061371b818560208601614357565b61372481614551565b840191505092915050565b600061373a8261419b565b61374481856141d3565b9350613754818560208601614357565b80840191505092915050565b6000815461376d8161438a565b61377781866141d3565b9450600182166000811461379257600181146137a3576137d6565b60ff198316865281860193506137d6565b6137ac8561417b565b60005b838110156137ce578154818901526001820191506020810190506137af565b838801955050505b50505092915050565b60006137ec6032836141c2565b91506137f78261456f565b604082019050919050565b600061380f6026836141c2565b915061381a826145be565b604082019050919050565b6000613832601c836141c2565b915061383d8261460d565b602082019050919050565b6000613855601c836141c2565b915061386082614636565b602082019050919050565b60006138786002836141d3565b91506138838261465f565b600282019050919050565b600061389b6024836141c2565b91506138a682614688565b604082019050919050565b60006138be6019836141c2565b91506138c9826146d7565b602082019050919050565b60006138e1602c836141c2565b91506138ec82614700565b604082019050919050565b6000613904601e836141c2565b915061390f8261474f565b602082019050919050565b6000613927602a836141c2565b915061393282614778565b604082019050919050565b600061394a6025836141c2565b9150613955826147c7565b604082019050919050565b600061396d6038836141c2565b915061397882614816565b604082019050919050565b6000613990602a836141c2565b915061399b82614865565b604082019050919050565b60006139b36029836141c2565b91506139be826148b4565b604082019050919050565b60006139d66024836141c2565b91506139e182614903565b604082019050919050565b60006139f96020836141c2565b9150613a0482614952565b602082019050919050565b6000613a1c602c836141c2565b9150613a278261497b565b604082019050919050565b6000613a3f6005836141d3565b9150613a4a826149ca565b600582019050919050565b6000613a626020836141c2565b9150613a6d826149f3565b602082019050919050565b6000613a856029836141c2565b9150613a9082614a1c565b604082019050919050565b6000613aa86021836141c2565b9150613ab382614a6b565b604082019050919050565b6000613acb601e836141c2565b9150613ad682614aba565b602082019050919050565b6000613aee6021836141c2565b9150613af982614ae3565b604082019050919050565b6000613b116031836141c2565b9150613b1c82614b32565b604082019050919050565b6000613b34602b836141c2565b9150613b3f82614b81565b604082019050919050565b6000613b57601b836141c2565b9150613b6282614bd0565b602082019050919050565b613b7681614331565b82525050565b613b858161433b565b82525050565b6000613b9782846136c5565b915081905092915050565b6000613bae82856136c5565b9150613bba8284613640565b6014820191508190509392505050565b6000613bd68285613760565b9150613be2828461372f565b9150613bed82613a32565b91508190509392505050565b6000613c048261386b565b9150613c108285613675565b602082019150613c208284613675565b6020820191508190509392505050565b6000602082019050613c456000830184613631565b92915050565b6000606082019050613c606000830186613631565b613c6d6020830185613622565b8181036040830152613c7f818461368c565b9050949350505050565b6000608082019050613c9e6000830187613631565b613cab6020830186613631565b613cb86040830185613b6d565b8181036060830152613cca818461368c565b905095945050505050565b6000602082019050613cea6000830184613657565b92915050565b6000602082019050613d056000830184613666565b92915050565b6000608082019050613d206000830187613666565b613d2d6020830186613b6d565b613d3a6040830185613631565b613d476060830184613666565b95945050505050565b6000608082019050613d656000830187613666565b613d726020830186613b7c565b613d7f6040830185613666565b613d8c6060830184613666565b95945050505050565b60006020820190508181036000830152613daf818461368c565b905092915050565b60006020820190508181036000830152613dd181846136f6565b905092915050565b60006020820190508181036000830152613df2816137df565b9050919050565b60006020820190508181036000830152613e1281613802565b9050919050565b60006020820190508181036000830152613e3281613825565b9050919050565b60006020820190508181036000830152613e5281613848565b9050919050565b60006020820190508181036000830152613e728161388e565b9050919050565b60006020820190508181036000830152613e92816138b1565b9050919050565b60006020820190508181036000830152613eb2816138d4565b9050919050565b60006020820190508181036000830152613ed2816138f7565b9050919050565b60006020820190508181036000830152613ef28161391a565b9050919050565b60006020820190508181036000830152613f128161393d565b9050919050565b60006020820190508181036000830152613f3281613960565b9050919050565b60006020820190508181036000830152613f5281613983565b9050919050565b60006020820190508181036000830152613f72816139a6565b9050919050565b60006020820190508181036000830152613f92816139c9565b9050919050565b60006020820190508181036000830152613fb2816139ec565b9050919050565b60006020820190508181036000830152613fd281613a0f565b9050919050565b60006020820190508181036000830152613ff281613a55565b9050919050565b6000602082019050818103600083015261401281613a78565b9050919050565b6000602082019050818103600083015261403281613a9b565b9050919050565b6000602082019050818103600083015261405281613abe565b9050919050565b6000602082019050818103600083015261407281613ae1565b9050919050565b6000602082019050818103600083015261409281613b04565b9050919050565b600060208201905081810360008301526140b281613b27565b9050919050565b600060208201905081810360008301526140d281613b4a565b9050919050565b60006020820190506140ee6000830184613b6d565b92915050565b60006140fe61410f565b905061410a82826143bc565b919050565b6000604051905090565b600067ffffffffffffffff82111561413457614133614522565b5b61413d82614551565b9050602081019050919050565b600067ffffffffffffffff82111561416557614164614522565b5b61416e82614551565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006141e982614331565b91506141f483614331565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561422957614228614495565b5b828201905092915050565b600061423f82614331565b915061424a83614331565b92508261425a576142596144c4565b5b828204905092915050565b600061427082614331565b915061427b83614331565b92508282101561428e5761428d614495565b5b828203905092915050565b60006142a482614311565b9050919050565b60006142b682614311565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061430a82614299565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561437557808201518184015260208101905061435a565b83811115614384576000848401525b50505050565b600060028204905060018216806143a257607f821691505b602082108114156143b6576143b56144f3565b5b50919050565b6143c582614551565b810181811067ffffffffffffffff821117156143e4576143e3614522565b5b80604052505050565b60006143f882614331565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561442b5761442a614495565b5b600182019050919050565b600061444182614452565b9050919050565b6000819050919050565b600061445d82614562565b9050919050565b600061446f82614331565b915061447a83614331565b92508261448a576144896144c4565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f50656570546f6b656e3a206e6f742061206375726174656420746f6b656e0000600082015250565b7f50656570546f6b656e3a2055524920717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b7f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008201527f49474e4552000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f50656570546f6b656e3a206d7573742062652063616c6c65642062792066616360008201527f746f727900000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008201527f6800000000000000000000000000000000000000000000000000000000000000602082015250565b7f50656570546f6b656e3a206275726e696e672069732064697361626c65640000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f50656570546f6b656e3a2063616c6c6572206973206e6f74206f776e6572206e60008201527f6f7220617070726f766564000000000000000000000000000000000000000000602082015250565b7f50656570546f6b656e3a206d7573742072657665616c206d6f72650000000000600082015250565b614c0281614299565b8114614c0d57600080fd5b50565b614c19816142ab565b8114614c2457600080fd5b50565b614c30816142bd565b8114614c3b57600080fd5b50565b614c47816142c9565b8114614c5257600080fd5b50565b614c5e816142d3565b8114614c6957600080fd5b50565b614c75816142ff565b8114614c8057600080fd5b50565b614c8c81614331565b8114614c9757600080fd5b50565b614ca38161433b565b8114614cae57600080fd5b5056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a26469706673582212209c5696654e0a0c128a9c8b53b9ab79f35bbeb737f7cfb4ac559b3f0674a7144764736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
-----Decoded View---------------
Arg [0] : proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Loading...
Loading
Loading...
Loading
[ 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.