Feature Tip: Add private address tag to any address under My Name Tag !
Overview
TokenID
132
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
OfficialWelcomeBackTrump
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // @cryptoconner simple but effective. //1 billion = 1eth mintPrice for gwei denomented price import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract OfficialWelcomeBackTrump is ERC721, Ownable { using Strings for uint256; using Counters for Counters.Counter; Counters.Counter private _supply; string private baseURI; string private baseExt = ".json"; bool public revealed = false; string private notRevealedUri; // Total supply uint256 public constant MAX_SUPPLY = 1000; // Whitelist mint constants bool public wlMintActive = false; uint256 private constant WL_MAX_PER_WALLET = 45; // 2/wallet (uses < to save gas) //uint256 private constant WL_MINT_PRICE = 0.05 ether; mapping(address => bool) private whitelists; // Public mint constants bool public pubMintActive = false; uint256 private constant PUB_MAX_PER_WALLET = 45; // 3/wallet (uses < to save gas) //uint256 private constant PUB_MINT_PRICE = 0.065 ether; bool private _locked = false; // for re-entrancy guard uint256 public WL_MINT_PRICE; uint256 public PUB_MINT_PRICE; // Initializes the contract by setting a `name` and a `symbol` constructor(string memory _initBaseURI, string memory _initNotRevealedUri, uint256 PUB_PRICE, uint256 WL_PRICE) ERC721("OfficialWelcomeBackTrump", "WBT") { setBaseURI(_initBaseURI); setNotRevealedURI(_initNotRevealedUri); setWlPrice(WL_PRICE); setPrice(PUB_PRICE); _supply.increment(); } // Whitelist mint function whitelistMint(uint256 _quantity) external payable nonReentrant { require(wlMintActive, "Whitelist sale is closed at the moment."); address _to = msg.sender; require(_quantity > 0 && (balanceOf(_to) + _quantity) < WL_MAX_PER_WALLET, "Invalid mint quantity."); require(whitelists[_to], "You're not whitelisted."); require(msg.value >= (WL_MINT_PRICE * _quantity), "Not enough ETH."); mint(_to, _quantity); } // Public mint function publicMint(uint256 _quantity) external payable nonReentrant { require(pubMintActive, "Public sale is closed at the moment."); address _to = msg.sender; require(_quantity > 0 && (balanceOf(_to) + _quantity) < PUB_MAX_PER_WALLET, "Invalid mint quantity."); require(msg.value >= (PUB_MINT_PRICE * _quantity), "Not enough ETH."); mint(_to, _quantity); } /** * Airdrop for promotions & collaborations * You can remove this block if you don't need it */ function airDropMint(address _to, uint256 _quantity) external onlyOwner { require(_quantity > 0, "Invalid mint quantity."); mint(_to, _quantity); } // Mint an NFT function mint(address _to, uint256 _quantity) private { /** * To save gas, since we know _quantity won't underflow / overflow * Checks are performed in caller functions / methods */ unchecked { require((_quantity + _supply.current()) <= MAX_SUPPLY, "Max supply exceeded."); for (uint256 i = 0; i < _quantity; i++) { _safeMint(_to, _supply.current()); _supply.increment(); } } } // Toggle whitelist sales activity function toggleWlMintActive() public onlyOwner { wlMintActive = !wlMintActive; } // Toggle public sales activity function togglePubMintActive() public onlyOwner { pubMintActive = !pubMintActive; } // Set whitelist function toggleWhitelist(address _address) public onlyOwner { whitelists[_address] = !whitelists[_address]; } // Get total supply function totalSupply() public view returns (uint256) { return _supply.current(); } function setWlPrice(uint256 WL_PRICE) public onlyOwner { WL_MINT_PRICE = WL_PRICE * 1e9; } function setPrice(uint256 PUB_PRICE) public onlyOwner { PUB_MINT_PRICE = PUB_PRICE * 1e9; } // Get whitelist function isWhitelisted(address _address) public view returns (bool) { return whitelists[_address]; } // Base URI function _baseURI() internal view virtual override returns (string memory) { return baseURI; } // Set base URI function setBaseURI(string memory _newBaseURI) public { baseURI = _newBaseURI; } // Get metadata URI function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token."); if (revealed == false) { return notRevealedUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), baseExt)) : ""; } // Activate reveal function setReveal() public onlyOwner { revealed = true; } // Set not revealed URI function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner { notRevealedUri = _notRevealedURI; } // Withdraw balance function withdraw() external onlyOwner { // Transfer the remaining balance to the owner // Do not remove this line, else you won't be able to withdraw the funds (bool sent, ) = payable(owner()).call{ value: address(this).balance }(""); require(sent, "Failed to withdraw Ether."); } // Receive any funds sent to the contract receive() external payable {} // Reentrancy guard modifier modifier nonReentrant() { require(!_locked, "No re-entrant call."); _locked = true; _; _locked = false; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); 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: invalid token ID"); 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) { _requireMinted(tokenId); 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 overridden 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 token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token 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: caller is not token 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) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * 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; /** * @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 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 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 the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"string","name":"_initNotRevealedUri","type":"string"},{"internalType":"uint256","name":"PUB_PRICE","type":"uint256"},{"internalType":"uint256","name":"WL_PRICE","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUB_MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WL_MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"airDropMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isWhitelisted","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":"pubMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"PUB_PRICE","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"WL_PRICE","type":"uint256"}],"name":"setWlPrice","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":"togglePubMintActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"toggleWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleWlMintActive","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":"_quantity","type":"uint256"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wlMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600990805190602001906200005192919062000453565b506000600a60006101000a81548160ff0219169083151502179055506000600c60006101000a81548160ff0219169083151502179055506000600e60006101000a81548160ff0219169083151502179055506000600e60016101000a81548160ff021916908315150217905550348015620000cb57600080fd5b5060405162004694380380620046948339818101604052810190620000f1919062000598565b6040518060400160405280601881526020017f4f6666696369616c57656c636f6d654261636b5472756d7000000000000000008152506040518060400160405280600381526020017f574254000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200017592919062000453565b5080600190805190602001906200018e92919062000453565b505050620001b1620001a56200021660201b60201c565b6200021e60201b60201c565b620001c284620002e460201b60201c565b620001d3836200030060201b60201c565b620001e4816200032c60201b60201c565b620001f5826200035760201b60201c565b6200020c60076200038260201b620017c71760201c565b5050505062000903565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8060089080519060200190620002fc92919062000453565b5050565b620003106200039860201b60201c565b80600b90805190602001906200032892919062000453565b5050565b6200033c6200039860201b60201c565b633b9aca00816200034e919062000701565b600f8190555050565b620003676200039860201b60201c565b633b9aca008162000379919062000701565b60108190555050565b6001816000016000828254019250508190555050565b620003a86200021660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003ce6200042960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000427576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200041e906200066f565b60405180910390fd5b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200046190620007a2565b90600052602060002090601f016020900481019282620004855760008555620004d1565b82601f10620004a057805160ff1916838001178555620004d1565b82800160010185558215620004d1579182015b82811115620004d0578251825591602001919060010190620004b3565b5b509050620004e09190620004e4565b5090565b5b80821115620004ff576000816000905550600101620004e5565b5090565b60006200051a6200051484620006ba565b62000691565b905082815260208101848484011115620005395762000538620008a0565b5b620005468482856200076c565b509392505050565b600082601f8301126200056657620005656200089b565b5b81516200057884826020860162000503565b91505092915050565b6000815190506200059281620008e9565b92915050565b60008060008060808587031215620005b557620005b4620008aa565b5b600085015167ffffffffffffffff811115620005d657620005d5620008a5565b5b620005e4878288016200054e565b945050602085015167ffffffffffffffff811115620006085762000607620008a5565b5b62000616878288016200054e565b9350506040620006298782880162000581565b92505060606200063c8782880162000581565b91505092959194509250565b600062000657602083620006f0565b91506200066482620008c0565b602082019050919050565b600060208201905081810360008301526200068a8162000648565b9050919050565b60006200069d620006b0565b9050620006ab8282620007d8565b919050565b6000604051905090565b600067ffffffffffffffff821115620006d857620006d76200086c565b5b620006e382620008af565b9050602081019050919050565b600082825260208201905092915050565b60006200070e8262000762565b91506200071b8362000762565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156200075757620007566200080e565b5b828202905092915050565b6000819050919050565b60005b838110156200078c5780820151818401526020810190506200076f565b838111156200079c576000848401525b50505050565b60006002820490506001821680620007bb57607f821691505b60208210811415620007d257620007d16200083d565b5b50919050565b620007e382620008af565b810181811067ffffffffffffffff821117156200080557620008046200086c565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b620008f48162000762565b81146200090057600080fd5b50565b613d8180620009136000396000f3fe6080604052600436106102135760003560e01c806370a082311161011857806392b9b5fb116100a0578063b88d4fde1161006f578063b88d4fde1461071a578063c87b56dd14610743578063e985e9c514610780578063f2c4ce1e146107bd578063f2fde38b146107e65761021a565b806392b9b5fb1461069857806395d89b41146106af57806398360231146106da578063a22cb465146106f15761021a565b8063868ff4a2116100e7578063868ff4a2146105d457806388089f0b146105f05780638da5cb5b1461061b5780638dd07d0f1461064657806391b7f5ed1461066f5761021a565b806370a0823114610540578063715018a61461057d57806375a1ed081461059457806376645315146105bd5761021a565b806339393ac91161019b57806351222f331161016a57806351222f3314610459578063518302271461048457806355f804b3146104af5780636352211e146104d85780636eb48bcb146105155761021a565b806339393ac9146103b35780633af32abf146103dc5780633ccfd60b1461041957806342842e0e146104305761021a565b8063095ea7b3116101e2578063095ea7b3146102ef57806318160ddd1461031857806323b872dd146103435780632db115441461036c57806332cb6b0c146103885761021a565b806301ffc9a71461021f57806306fdde031461025c57806307b575d014610287578063081812fc146102b25761021a565b3661021a57005b600080fd5b34801561022b57600080fd5b5061024660048036038101906102419190612a19565b61080f565b604051610253919061300a565b60405180910390f35b34801561026857600080fd5b506102716108f1565b60405161027e9190613025565b60405180910390f35b34801561029357600080fd5b5061029c610983565b6040516102a99190613307565b60405180910390f35b3480156102be57600080fd5b506102d960048036038101906102d49190612abc565b610989565b6040516102e69190612fa3565b60405180910390f35b3480156102fb57600080fd5b50610316600480360381019061031191906129d9565b6109cf565b005b34801561032457600080fd5b5061032d610ae7565b60405161033a9190613307565b60405180910390f35b34801561034f57600080fd5b5061036a600480360381019061036591906128c3565b610af8565b005b61038660048036038101906103819190612abc565b610b58565b005b34801561039457600080fd5b5061039d610cf2565b6040516103aa9190613307565b60405180910390f35b3480156103bf57600080fd5b506103da60048036038101906103d59190612856565b610cf8565b005b3480156103e857600080fd5b5061040360048036038101906103fe9190612856565b610da7565b604051610410919061300a565b60405180910390f35b34801561042557600080fd5b5061042e610dfd565b005b34801561043c57600080fd5b50610457600480360381019061045291906128c3565b610ebb565b005b34801561046557600080fd5b5061046e610edb565b60405161047b919061300a565b60405180910390f35b34801561049057600080fd5b50610499610eee565b6040516104a6919061300a565b60405180910390f35b3480156104bb57600080fd5b506104d660048036038101906104d19190612a73565b610f01565b005b3480156104e457600080fd5b506104ff60048036038101906104fa9190612abc565b610f1b565b60405161050c9190612fa3565b60405180910390f35b34801561052157600080fd5b5061052a610fcd565b604051610537919061300a565b60405180910390f35b34801561054c57600080fd5b5061056760048036038101906105629190612856565b610fe0565b6040516105749190613307565b60405180910390f35b34801561058957600080fd5b50610592611098565b005b3480156105a057600080fd5b506105bb60048036038101906105b691906129d9565b6110ac565b005b3480156105c957600080fd5b506105d2611105565b005b6105ee60048036038101906105e99190612abc565b61112a565b005b3480156105fc57600080fd5b50610605611350565b6040516106129190613307565b60405180910390f35b34801561062757600080fd5b50610630611356565b60405161063d9190612fa3565b60405180910390f35b34801561065257600080fd5b5061066d60048036038101906106689190612abc565b611380565b005b34801561067b57600080fd5b5061069660048036038101906106919190612abc565b6113a1565b005b3480156106a457600080fd5b506106ad6113c2565b005b3480156106bb57600080fd5b506106c46113f6565b6040516106d19190613025565b60405180910390f35b3480156106e657600080fd5b506106ef611488565b005b3480156106fd57600080fd5b5061071860048036038101906107139190612999565b6114bc565b005b34801561072657600080fd5b50610741600480360381019061073c9190612916565b6114d2565b005b34801561074f57600080fd5b5061076a60048036038101906107659190612abc565b611534565b6040516107779190613025565b60405180910390f35b34801561078c57600080fd5b506107a760048036038101906107a29190612883565b61168d565b6040516107b4919061300a565b60405180910390f35b3480156107c957600080fd5b506107e460048036038101906107df9190612a73565b611721565b005b3480156107f257600080fd5b5061080d60048036038101906108089190612856565b611743565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108da57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108ea57506108e9826117dd565b5b9050919050565b606060008054610900906135d7565b80601f016020809104026020016040519081016040528092919081815260200182805461092c906135d7565b80156109795780601f1061094e57610100808354040283529160200191610979565b820191906000526020600020905b81548152906001019060200180831161095c57829003601f168201915b5050505050905090565b60105481565b600061099482611847565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109da82610f1b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4290613247565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a6a611892565b73ffffffffffffffffffffffffffffffffffffffff161480610a995750610a9881610a93611892565b61168d565b5b610ad8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610acf90613147565b60405180910390fd5b610ae2838361189a565b505050565b6000610af36007611953565b905090565b610b09610b03611892565b82611961565b610b48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3f906132a7565b60405180910390fd5b610b538383836119f6565b505050565b600e60019054906101000a900460ff1615610ba8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9f906131e7565b60405180910390fd5b6001600e60016101000a81548160ff021916908315150217905550600e60009054906101000a900460ff16610c12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0990613287565b60405180910390fd5b6000339050600082118015610c3a5750602d82610c2e83610fe0565b610c38919061340c565b105b610c79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7090613267565b60405180910390fd5b81601054610c879190613493565b341015610cc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc090613227565b60405180910390fd5b610cd38183611c5d565b506000600e60016101000a81548160ff02191690831515021790555050565b6103e881565b610d00611ce7565b600d60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b610e05611ce7565b6000610e0f611356565b73ffffffffffffffffffffffffffffffffffffffff1647604051610e3290612f8e565b60006040518083038185875af1925050503d8060008114610e6f576040519150601f19603f3d011682016040523d82523d6000602084013e610e74565b606091505b5050905080610eb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eaf90613207565b60405180910390fd5b50565b610ed6838383604051806020016040528060008152506114d2565b505050565b600c60009054906101000a900460ff1681565b600a60009054906101000a900460ff1681565b8060089080519060200190610f1792919061266a565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbb906131c7565b60405180910390fd5b80915050919050565b600e60009054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611051576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104890613127565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6110a0611ce7565b6110aa6000611d65565b565b6110b4611ce7565b600081116110f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ee90613267565b60405180910390fd5b6111018282611c5d565b5050565b61110d611ce7565b6001600a60006101000a81548160ff021916908315150217905550565b600e60019054906101000a900460ff161561117a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611171906131e7565b60405180910390fd5b6001600e60016101000a81548160ff021916908315150217905550600c60009054906101000a900460ff166111e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111db906131a7565b60405180910390fd5b600033905060008211801561120c5750602d8261120083610fe0565b61120a919061340c565b105b61124b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124290613267565b60405180910390fd5b600d60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166112d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ce90613107565b60405180910390fd5b81600f546112e59190613493565b341015611327576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131e90613227565b60405180910390fd5b6113318183611c5d565b506000600e60016101000a81548160ff02191690831515021790555050565b600f5481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611388611ce7565b633b9aca00816113989190613493565b600f8190555050565b6113a9611ce7565b633b9aca00816113b99190613493565b60108190555050565b6113ca611ce7565b600c60009054906101000a900460ff1615600c60006101000a81548160ff021916908315150217905550565b606060018054611405906135d7565b80601f0160208091040260200160405190810160405280929190818152602001828054611431906135d7565b801561147e5780601f106114535761010080835404028352916020019161147e565b820191906000526020600020905b81548152906001019060200180831161146157829003601f168201915b5050505050905090565b611490611ce7565b600e60009054906101000a900460ff1615600e60006101000a81548160ff021916908315150217905550565b6114ce6114c7611892565b8383611e2b565b5050565b6114e36114dd611892565b83611961565b611522576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611519906132a7565b60405180910390fd5b61152e84848484611f98565b50505050565b606061153f82611ff4565b61157e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611575906132c7565b60405180910390fd5b60001515600a60009054906101000a900460ff161515141561162c57600b80546115a7906135d7565b80601f01602080910402602001604051908101604052809291908181526020018280546115d3906135d7565b80156116205780601f106115f557610100808354040283529160200191611620565b820191906000526020600020905b81548152906001019060200180831161160357829003601f168201915b50505050509050611688565b6000611636612060565b905060008151116116565760405180602001604052806000815250611684565b80611660846120f2565b600960405160200161167493929190612f5d565b6040516020818303038152906040525b9150505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611729611ce7565b80600b908051906020019061173f92919061266a565b5050565b61174b611ce7565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b290613067565b60405180910390fd5b6117c481611d65565b50565b6001816000016000828254019250508190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61185081611ff4565b61188f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611886906131c7565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661190d83610f1b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b60008061196d83610f1b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806119af57506119ae818561168d565b5b806119ed57508373ffffffffffffffffffffffffffffffffffffffff166119d584610989565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611a1682610f1b565b73ffffffffffffffffffffffffffffffffffffffff1614611a6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6390613087565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611adc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad3906130c7565b60405180910390fd5b611ae7838383612253565b611af260008261189a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b4291906134ed565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b99919061340c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611c58838383612258565b505050565b6103e8611c6a6007611953565b82011115611cad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca4906132e7565b60405180910390fd5b60005b81811015611ce257611ccb83611cc66007611953565b61225d565b611cd560076117c7565b8080600101915050611cb0565b505050565b611cef611892565b73ffffffffffffffffffffffffffffffffffffffff16611d0d611356565b73ffffffffffffffffffffffffffffffffffffffff1614611d63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5a90613187565b60405180910390fd5b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e91906130e7565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f8b919061300a565b60405180910390a3505050565b611fa38484846119f6565b611faf8484848461227b565b611fee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe590613047565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60606008805461206f906135d7565b80601f016020809104026020016040519081016040528092919081815260200182805461209b906135d7565b80156120e85780601f106120bd576101008083540402835291602001916120e8565b820191906000526020600020905b8154815290600101906020018083116120cb57829003601f168201915b5050505050905090565b6060600082141561213a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061224e565b600082905060005b6000821461216c5780806121559061363a565b915050600a826121659190613462565b9150612142565b60008167ffffffffffffffff81111561218857612187613770565b5b6040519080825280601f01601f1916602001820160405280156121ba5781602001600182028036833780820191505090505b5090505b60008514612247576001826121d391906134ed565b9150600a856121e29190613683565b60306121ee919061340c565b60f81b81838151811061220457612203613741565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856122409190613462565b94506121be565b8093505050505b919050565b505050565b505050565b612277828260405180602001604052806000815250612412565b5050565b600061229c8473ffffffffffffffffffffffffffffffffffffffff1661246d565b15612405578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026122c5611892565b8786866040518563ffffffff1660e01b81526004016122e79493929190612fbe565b602060405180830381600087803b15801561230157600080fd5b505af192505050801561233257506040513d601f19601f8201168201806040525081019061232f9190612a46565b60015b6123b5573d8060008114612362576040519150601f19603f3d011682016040523d82523d6000602084013e612367565b606091505b506000815114156123ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a490613047565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061240a565b600190505b949350505050565b61241c8383612490565b612429600084848461227b565b612468576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245f90613047565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612500576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f790613167565b60405180910390fd5b61250981611ff4565b15612549576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612540906130a7565b60405180910390fd5b61255560008383612253565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125a5919061340c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461266660008383612258565b5050565b828054612676906135d7565b90600052602060002090601f01602090048101928261269857600085556126df565b82601f106126b157805160ff19168380011785556126df565b828001600101855582156126df579182015b828111156126de5782518255916020019190600101906126c3565b5b5090506126ec91906126f0565b5090565b5b808211156127095760008160009055506001016126f1565b5090565b600061272061271b84613347565b613322565b90508281526020810184848401111561273c5761273b6137a4565b5b612747848285613595565b509392505050565b600061276261275d84613378565b613322565b90508281526020810184848401111561277e5761277d6137a4565b5b612789848285613595565b509392505050565b6000813590506127a081613cef565b92915050565b6000813590506127b581613d06565b92915050565b6000813590506127ca81613d1d565b92915050565b6000815190506127df81613d1d565b92915050565b600082601f8301126127fa576127f961379f565b5b813561280a84826020860161270d565b91505092915050565b600082601f8301126128285761282761379f565b5b813561283884826020860161274f565b91505092915050565b60008135905061285081613d34565b92915050565b60006020828403121561286c5761286b6137ae565b5b600061287a84828501612791565b91505092915050565b6000806040838503121561289a576128996137ae565b5b60006128a885828601612791565b92505060206128b985828601612791565b9150509250929050565b6000806000606084860312156128dc576128db6137ae565b5b60006128ea86828701612791565b93505060206128fb86828701612791565b925050604061290c86828701612841565b9150509250925092565b600080600080608085870312156129305761292f6137ae565b5b600061293e87828801612791565b945050602061294f87828801612791565b935050604061296087828801612841565b925050606085013567ffffffffffffffff811115612981576129806137a9565b5b61298d878288016127e5565b91505092959194509250565b600080604083850312156129b0576129af6137ae565b5b60006129be85828601612791565b92505060206129cf858286016127a6565b9150509250929050565b600080604083850312156129f0576129ef6137ae565b5b60006129fe85828601612791565b9250506020612a0f85828601612841565b9150509250929050565b600060208284031215612a2f57612a2e6137ae565b5b6000612a3d848285016127bb565b91505092915050565b600060208284031215612a5c57612a5b6137ae565b5b6000612a6a848285016127d0565b91505092915050565b600060208284031215612a8957612a886137ae565b5b600082013567ffffffffffffffff811115612aa757612aa66137a9565b5b612ab384828501612813565b91505092915050565b600060208284031215612ad257612ad16137ae565b5b6000612ae084828501612841565b91505092915050565b612af281613521565b82525050565b612b0181613533565b82525050565b6000612b12826133be565b612b1c81856133d4565b9350612b2c8185602086016135a4565b612b35816137b3565b840191505092915050565b6000612b4b826133c9565b612b5581856133f0565b9350612b658185602086016135a4565b612b6e816137b3565b840191505092915050565b6000612b84826133c9565b612b8e8185613401565b9350612b9e8185602086016135a4565b80840191505092915050565b60008154612bb7816135d7565b612bc18186613401565b94506001821660008114612bdc5760018114612bed57612c20565b60ff19831686528186019350612c20565b612bf6856133a9565b60005b83811015612c1857815481890152600182019150602081019050612bf9565b838801955050505b50505092915050565b6000612c366032836133f0565b9150612c41826137c4565b604082019050919050565b6000612c596026836133f0565b9150612c6482613813565b604082019050919050565b6000612c7c6025836133f0565b9150612c8782613862565b604082019050919050565b6000612c9f601c836133f0565b9150612caa826138b1565b602082019050919050565b6000612cc26024836133f0565b9150612ccd826138da565b604082019050919050565b6000612ce56019836133f0565b9150612cf082613929565b602082019050919050565b6000612d086017836133f0565b9150612d1382613952565b602082019050919050565b6000612d2b6029836133f0565b9150612d368261397b565b604082019050919050565b6000612d4e603e836133f0565b9150612d59826139ca565b604082019050919050565b6000612d716020836133f0565b9150612d7c82613a19565b602082019050919050565b6000612d946020836133f0565b9150612d9f82613a42565b602082019050919050565b6000612db76027836133f0565b9150612dc282613a6b565b604082019050919050565b6000612dda6018836133f0565b9150612de582613aba565b602082019050919050565b6000612dfd6013836133f0565b9150612e0882613ae3565b602082019050919050565b6000612e206019836133f0565b9150612e2b82613b0c565b602082019050919050565b6000612e43600f836133f0565b9150612e4e82613b35565b602082019050919050565b6000612e666021836133f0565b9150612e7182613b5e565b604082019050919050565b6000612e896000836133e5565b9150612e9482613bad565b600082019050919050565b6000612eac6016836133f0565b9150612eb782613bb0565b602082019050919050565b6000612ecf6024836133f0565b9150612eda82613bd9565b604082019050919050565b6000612ef2602e836133f0565b9150612efd82613c28565b604082019050919050565b6000612f156030836133f0565b9150612f2082613c77565b604082019050919050565b6000612f386014836133f0565b9150612f4382613cc6565b602082019050919050565b612f578161358b565b82525050565b6000612f698286612b79565b9150612f758285612b79565b9150612f818284612baa565b9150819050949350505050565b6000612f9982612e7c565b9150819050919050565b6000602082019050612fb86000830184612ae9565b92915050565b6000608082019050612fd36000830187612ae9565b612fe06020830186612ae9565b612fed6040830185612f4e565b8181036060830152612fff8184612b07565b905095945050505050565b600060208201905061301f6000830184612af8565b92915050565b6000602082019050818103600083015261303f8184612b40565b905092915050565b6000602082019050818103600083015261306081612c29565b9050919050565b6000602082019050818103600083015261308081612c4c565b9050919050565b600060208201905081810360008301526130a081612c6f565b9050919050565b600060208201905081810360008301526130c081612c92565b9050919050565b600060208201905081810360008301526130e081612cb5565b9050919050565b6000602082019050818103600083015261310081612cd8565b9050919050565b6000602082019050818103600083015261312081612cfb565b9050919050565b6000602082019050818103600083015261314081612d1e565b9050919050565b6000602082019050818103600083015261316081612d41565b9050919050565b6000602082019050818103600083015261318081612d64565b9050919050565b600060208201905081810360008301526131a081612d87565b9050919050565b600060208201905081810360008301526131c081612daa565b9050919050565b600060208201905081810360008301526131e081612dcd565b9050919050565b6000602082019050818103600083015261320081612df0565b9050919050565b6000602082019050818103600083015261322081612e13565b9050919050565b6000602082019050818103600083015261324081612e36565b9050919050565b6000602082019050818103600083015261326081612e59565b9050919050565b6000602082019050818103600083015261328081612e9f565b9050919050565b600060208201905081810360008301526132a081612ec2565b9050919050565b600060208201905081810360008301526132c081612ee5565b9050919050565b600060208201905081810360008301526132e081612f08565b9050919050565b6000602082019050818103600083015261330081612f2b565b9050919050565b600060208201905061331c6000830184612f4e565b92915050565b600061332c61333d565b90506133388282613609565b919050565b6000604051905090565b600067ffffffffffffffff82111561336257613361613770565b5b61336b826137b3565b9050602081019050919050565b600067ffffffffffffffff82111561339357613392613770565b5b61339c826137b3565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006134178261358b565b91506134228361358b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613457576134566136b4565b5b828201905092915050565b600061346d8261358b565b91506134788361358b565b925082613488576134876136e3565b5b828204905092915050565b600061349e8261358b565b91506134a98361358b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156134e2576134e16136b4565b5b828202905092915050565b60006134f88261358b565b91506135038361358b565b925082821015613516576135156136b4565b5b828203905092915050565b600061352c8261356b565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156135c25780820151818401526020810190506135a7565b838111156135d1576000848401525b50505050565b600060028204905060018216806135ef57607f821691505b6020821081141561360357613602613712565b5b50919050565b613612826137b3565b810181811067ffffffffffffffff8211171561363157613630613770565b5b80604052505050565b60006136458261358b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613678576136776136b4565b5b600182019050919050565b600061368e8261358b565b91506136998361358b565b9250826136a9576136a86136e3565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f596f75277265206e6f742077686974656c69737465642e000000000000000000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f57686974656c6973742073616c6520697320636c6f736564206174207468652060008201527f6d6f6d656e742e00000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4e6f2072652d656e7472616e742063616c6c2e00000000000000000000000000600082015250565b7f4661696c656420746f2077697468647261772045746865722e00000000000000600082015250565b7f4e6f7420656e6f756768204554482e0000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f496e76616c6964206d696e74207175616e746974792e00000000000000000000600082015250565b7f5075626c69632073616c6520697320636c6f73656420617420746865206d6f6d60008201527f656e742e00000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e2e00000000000000000000000000000000602082015250565b7f4d617820737570706c792065786365656465642e000000000000000000000000600082015250565b613cf881613521565b8114613d0357600080fd5b50565b613d0f81613533565b8114613d1a57600080fd5b50565b613d268161353f565b8114613d3157600080fd5b50565b613d3d8161358b565b8114613d4857600080fd5b5056fea2646970667358221220719e992cdf11f677b94c33f450f76ac5b8d0bb4238590e5eaf5a093502a1060c64736f6c63430008070033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000001312d000000000000000000000000000000000000000000000000000000000001312d00000000000000000000000000000000000000000000000000000000000000005268747470733a2f2f697066732e696f2f697066732f516d576e39637972583956716a647456417354345a47584c636f6e59505855345779386b6670757044436f3833762f7472756d706d657461646174612f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005268747470733a2f2f697066732e696f2f697066732f516d576e39637972583956716a647456417354345a47584c636f6e59505855345779386b6670757044436f3833762f7472756d706d657461646174612f0000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102135760003560e01c806370a082311161011857806392b9b5fb116100a0578063b88d4fde1161006f578063b88d4fde1461071a578063c87b56dd14610743578063e985e9c514610780578063f2c4ce1e146107bd578063f2fde38b146107e65761021a565b806392b9b5fb1461069857806395d89b41146106af57806398360231146106da578063a22cb465146106f15761021a565b8063868ff4a2116100e7578063868ff4a2146105d457806388089f0b146105f05780638da5cb5b1461061b5780638dd07d0f1461064657806391b7f5ed1461066f5761021a565b806370a0823114610540578063715018a61461057d57806375a1ed081461059457806376645315146105bd5761021a565b806339393ac91161019b57806351222f331161016a57806351222f3314610459578063518302271461048457806355f804b3146104af5780636352211e146104d85780636eb48bcb146105155761021a565b806339393ac9146103b35780633af32abf146103dc5780633ccfd60b1461041957806342842e0e146104305761021a565b8063095ea7b3116101e2578063095ea7b3146102ef57806318160ddd1461031857806323b872dd146103435780632db115441461036c57806332cb6b0c146103885761021a565b806301ffc9a71461021f57806306fdde031461025c57806307b575d014610287578063081812fc146102b25761021a565b3661021a57005b600080fd5b34801561022b57600080fd5b5061024660048036038101906102419190612a19565b61080f565b604051610253919061300a565b60405180910390f35b34801561026857600080fd5b506102716108f1565b60405161027e9190613025565b60405180910390f35b34801561029357600080fd5b5061029c610983565b6040516102a99190613307565b60405180910390f35b3480156102be57600080fd5b506102d960048036038101906102d49190612abc565b610989565b6040516102e69190612fa3565b60405180910390f35b3480156102fb57600080fd5b50610316600480360381019061031191906129d9565b6109cf565b005b34801561032457600080fd5b5061032d610ae7565b60405161033a9190613307565b60405180910390f35b34801561034f57600080fd5b5061036a600480360381019061036591906128c3565b610af8565b005b61038660048036038101906103819190612abc565b610b58565b005b34801561039457600080fd5b5061039d610cf2565b6040516103aa9190613307565b60405180910390f35b3480156103bf57600080fd5b506103da60048036038101906103d59190612856565b610cf8565b005b3480156103e857600080fd5b5061040360048036038101906103fe9190612856565b610da7565b604051610410919061300a565b60405180910390f35b34801561042557600080fd5b5061042e610dfd565b005b34801561043c57600080fd5b50610457600480360381019061045291906128c3565b610ebb565b005b34801561046557600080fd5b5061046e610edb565b60405161047b919061300a565b60405180910390f35b34801561049057600080fd5b50610499610eee565b6040516104a6919061300a565b60405180910390f35b3480156104bb57600080fd5b506104d660048036038101906104d19190612a73565b610f01565b005b3480156104e457600080fd5b506104ff60048036038101906104fa9190612abc565b610f1b565b60405161050c9190612fa3565b60405180910390f35b34801561052157600080fd5b5061052a610fcd565b604051610537919061300a565b60405180910390f35b34801561054c57600080fd5b5061056760048036038101906105629190612856565b610fe0565b6040516105749190613307565b60405180910390f35b34801561058957600080fd5b50610592611098565b005b3480156105a057600080fd5b506105bb60048036038101906105b691906129d9565b6110ac565b005b3480156105c957600080fd5b506105d2611105565b005b6105ee60048036038101906105e99190612abc565b61112a565b005b3480156105fc57600080fd5b50610605611350565b6040516106129190613307565b60405180910390f35b34801561062757600080fd5b50610630611356565b60405161063d9190612fa3565b60405180910390f35b34801561065257600080fd5b5061066d60048036038101906106689190612abc565b611380565b005b34801561067b57600080fd5b5061069660048036038101906106919190612abc565b6113a1565b005b3480156106a457600080fd5b506106ad6113c2565b005b3480156106bb57600080fd5b506106c46113f6565b6040516106d19190613025565b60405180910390f35b3480156106e657600080fd5b506106ef611488565b005b3480156106fd57600080fd5b5061071860048036038101906107139190612999565b6114bc565b005b34801561072657600080fd5b50610741600480360381019061073c9190612916565b6114d2565b005b34801561074f57600080fd5b5061076a60048036038101906107659190612abc565b611534565b6040516107779190613025565b60405180910390f35b34801561078c57600080fd5b506107a760048036038101906107a29190612883565b61168d565b6040516107b4919061300a565b60405180910390f35b3480156107c957600080fd5b506107e460048036038101906107df9190612a73565b611721565b005b3480156107f257600080fd5b5061080d60048036038101906108089190612856565b611743565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108da57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108ea57506108e9826117dd565b5b9050919050565b606060008054610900906135d7565b80601f016020809104026020016040519081016040528092919081815260200182805461092c906135d7565b80156109795780601f1061094e57610100808354040283529160200191610979565b820191906000526020600020905b81548152906001019060200180831161095c57829003601f168201915b5050505050905090565b60105481565b600061099482611847565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109da82610f1b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4290613247565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a6a611892565b73ffffffffffffffffffffffffffffffffffffffff161480610a995750610a9881610a93611892565b61168d565b5b610ad8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610acf90613147565b60405180910390fd5b610ae2838361189a565b505050565b6000610af36007611953565b905090565b610b09610b03611892565b82611961565b610b48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3f906132a7565b60405180910390fd5b610b538383836119f6565b505050565b600e60019054906101000a900460ff1615610ba8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9f906131e7565b60405180910390fd5b6001600e60016101000a81548160ff021916908315150217905550600e60009054906101000a900460ff16610c12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0990613287565b60405180910390fd5b6000339050600082118015610c3a5750602d82610c2e83610fe0565b610c38919061340c565b105b610c79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7090613267565b60405180910390fd5b81601054610c879190613493565b341015610cc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc090613227565b60405180910390fd5b610cd38183611c5d565b506000600e60016101000a81548160ff02191690831515021790555050565b6103e881565b610d00611ce7565b600d60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b610e05611ce7565b6000610e0f611356565b73ffffffffffffffffffffffffffffffffffffffff1647604051610e3290612f8e565b60006040518083038185875af1925050503d8060008114610e6f576040519150601f19603f3d011682016040523d82523d6000602084013e610e74565b606091505b5050905080610eb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eaf90613207565b60405180910390fd5b50565b610ed6838383604051806020016040528060008152506114d2565b505050565b600c60009054906101000a900460ff1681565b600a60009054906101000a900460ff1681565b8060089080519060200190610f1792919061266a565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbb906131c7565b60405180910390fd5b80915050919050565b600e60009054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611051576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104890613127565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6110a0611ce7565b6110aa6000611d65565b565b6110b4611ce7565b600081116110f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ee90613267565b60405180910390fd5b6111018282611c5d565b5050565b61110d611ce7565b6001600a60006101000a81548160ff021916908315150217905550565b600e60019054906101000a900460ff161561117a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611171906131e7565b60405180910390fd5b6001600e60016101000a81548160ff021916908315150217905550600c60009054906101000a900460ff166111e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111db906131a7565b60405180910390fd5b600033905060008211801561120c5750602d8261120083610fe0565b61120a919061340c565b105b61124b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124290613267565b60405180910390fd5b600d60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166112d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ce90613107565b60405180910390fd5b81600f546112e59190613493565b341015611327576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131e90613227565b60405180910390fd5b6113318183611c5d565b506000600e60016101000a81548160ff02191690831515021790555050565b600f5481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611388611ce7565b633b9aca00816113989190613493565b600f8190555050565b6113a9611ce7565b633b9aca00816113b99190613493565b60108190555050565b6113ca611ce7565b600c60009054906101000a900460ff1615600c60006101000a81548160ff021916908315150217905550565b606060018054611405906135d7565b80601f0160208091040260200160405190810160405280929190818152602001828054611431906135d7565b801561147e5780601f106114535761010080835404028352916020019161147e565b820191906000526020600020905b81548152906001019060200180831161146157829003601f168201915b5050505050905090565b611490611ce7565b600e60009054906101000a900460ff1615600e60006101000a81548160ff021916908315150217905550565b6114ce6114c7611892565b8383611e2b565b5050565b6114e36114dd611892565b83611961565b611522576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611519906132a7565b60405180910390fd5b61152e84848484611f98565b50505050565b606061153f82611ff4565b61157e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611575906132c7565b60405180910390fd5b60001515600a60009054906101000a900460ff161515141561162c57600b80546115a7906135d7565b80601f01602080910402602001604051908101604052809291908181526020018280546115d3906135d7565b80156116205780601f106115f557610100808354040283529160200191611620565b820191906000526020600020905b81548152906001019060200180831161160357829003601f168201915b50505050509050611688565b6000611636612060565b905060008151116116565760405180602001604052806000815250611684565b80611660846120f2565b600960405160200161167493929190612f5d565b6040516020818303038152906040525b9150505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611729611ce7565b80600b908051906020019061173f92919061266a565b5050565b61174b611ce7565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b290613067565b60405180910390fd5b6117c481611d65565b50565b6001816000016000828254019250508190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61185081611ff4565b61188f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611886906131c7565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661190d83610f1b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b60008061196d83610f1b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806119af57506119ae818561168d565b5b806119ed57508373ffffffffffffffffffffffffffffffffffffffff166119d584610989565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611a1682610f1b565b73ffffffffffffffffffffffffffffffffffffffff1614611a6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6390613087565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611adc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad3906130c7565b60405180910390fd5b611ae7838383612253565b611af260008261189a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b4291906134ed565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b99919061340c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611c58838383612258565b505050565b6103e8611c6a6007611953565b82011115611cad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca4906132e7565b60405180910390fd5b60005b81811015611ce257611ccb83611cc66007611953565b61225d565b611cd560076117c7565b8080600101915050611cb0565b505050565b611cef611892565b73ffffffffffffffffffffffffffffffffffffffff16611d0d611356565b73ffffffffffffffffffffffffffffffffffffffff1614611d63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5a90613187565b60405180910390fd5b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e91906130e7565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f8b919061300a565b60405180910390a3505050565b611fa38484846119f6565b611faf8484848461227b565b611fee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe590613047565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60606008805461206f906135d7565b80601f016020809104026020016040519081016040528092919081815260200182805461209b906135d7565b80156120e85780601f106120bd576101008083540402835291602001916120e8565b820191906000526020600020905b8154815290600101906020018083116120cb57829003601f168201915b5050505050905090565b6060600082141561213a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061224e565b600082905060005b6000821461216c5780806121559061363a565b915050600a826121659190613462565b9150612142565b60008167ffffffffffffffff81111561218857612187613770565b5b6040519080825280601f01601f1916602001820160405280156121ba5781602001600182028036833780820191505090505b5090505b60008514612247576001826121d391906134ed565b9150600a856121e29190613683565b60306121ee919061340c565b60f81b81838151811061220457612203613741565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856122409190613462565b94506121be565b8093505050505b919050565b505050565b505050565b612277828260405180602001604052806000815250612412565b5050565b600061229c8473ffffffffffffffffffffffffffffffffffffffff1661246d565b15612405578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026122c5611892565b8786866040518563ffffffff1660e01b81526004016122e79493929190612fbe565b602060405180830381600087803b15801561230157600080fd5b505af192505050801561233257506040513d601f19601f8201168201806040525081019061232f9190612a46565b60015b6123b5573d8060008114612362576040519150601f19603f3d011682016040523d82523d6000602084013e612367565b606091505b506000815114156123ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a490613047565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061240a565b600190505b949350505050565b61241c8383612490565b612429600084848461227b565b612468576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245f90613047565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612500576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f790613167565b60405180910390fd5b61250981611ff4565b15612549576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612540906130a7565b60405180910390fd5b61255560008383612253565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125a5919061340c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461266660008383612258565b5050565b828054612676906135d7565b90600052602060002090601f01602090048101928261269857600085556126df565b82601f106126b157805160ff19168380011785556126df565b828001600101855582156126df579182015b828111156126de5782518255916020019190600101906126c3565b5b5090506126ec91906126f0565b5090565b5b808211156127095760008160009055506001016126f1565b5090565b600061272061271b84613347565b613322565b90508281526020810184848401111561273c5761273b6137a4565b5b612747848285613595565b509392505050565b600061276261275d84613378565b613322565b90508281526020810184848401111561277e5761277d6137a4565b5b612789848285613595565b509392505050565b6000813590506127a081613cef565b92915050565b6000813590506127b581613d06565b92915050565b6000813590506127ca81613d1d565b92915050565b6000815190506127df81613d1d565b92915050565b600082601f8301126127fa576127f961379f565b5b813561280a84826020860161270d565b91505092915050565b600082601f8301126128285761282761379f565b5b813561283884826020860161274f565b91505092915050565b60008135905061285081613d34565b92915050565b60006020828403121561286c5761286b6137ae565b5b600061287a84828501612791565b91505092915050565b6000806040838503121561289a576128996137ae565b5b60006128a885828601612791565b92505060206128b985828601612791565b9150509250929050565b6000806000606084860312156128dc576128db6137ae565b5b60006128ea86828701612791565b93505060206128fb86828701612791565b925050604061290c86828701612841565b9150509250925092565b600080600080608085870312156129305761292f6137ae565b5b600061293e87828801612791565b945050602061294f87828801612791565b935050604061296087828801612841565b925050606085013567ffffffffffffffff811115612981576129806137a9565b5b61298d878288016127e5565b91505092959194509250565b600080604083850312156129b0576129af6137ae565b5b60006129be85828601612791565b92505060206129cf858286016127a6565b9150509250929050565b600080604083850312156129f0576129ef6137ae565b5b60006129fe85828601612791565b9250506020612a0f85828601612841565b9150509250929050565b600060208284031215612a2f57612a2e6137ae565b5b6000612a3d848285016127bb565b91505092915050565b600060208284031215612a5c57612a5b6137ae565b5b6000612a6a848285016127d0565b91505092915050565b600060208284031215612a8957612a886137ae565b5b600082013567ffffffffffffffff811115612aa757612aa66137a9565b5b612ab384828501612813565b91505092915050565b600060208284031215612ad257612ad16137ae565b5b6000612ae084828501612841565b91505092915050565b612af281613521565b82525050565b612b0181613533565b82525050565b6000612b12826133be565b612b1c81856133d4565b9350612b2c8185602086016135a4565b612b35816137b3565b840191505092915050565b6000612b4b826133c9565b612b5581856133f0565b9350612b658185602086016135a4565b612b6e816137b3565b840191505092915050565b6000612b84826133c9565b612b8e8185613401565b9350612b9e8185602086016135a4565b80840191505092915050565b60008154612bb7816135d7565b612bc18186613401565b94506001821660008114612bdc5760018114612bed57612c20565b60ff19831686528186019350612c20565b612bf6856133a9565b60005b83811015612c1857815481890152600182019150602081019050612bf9565b838801955050505b50505092915050565b6000612c366032836133f0565b9150612c41826137c4565b604082019050919050565b6000612c596026836133f0565b9150612c6482613813565b604082019050919050565b6000612c7c6025836133f0565b9150612c8782613862565b604082019050919050565b6000612c9f601c836133f0565b9150612caa826138b1565b602082019050919050565b6000612cc26024836133f0565b9150612ccd826138da565b604082019050919050565b6000612ce56019836133f0565b9150612cf082613929565b602082019050919050565b6000612d086017836133f0565b9150612d1382613952565b602082019050919050565b6000612d2b6029836133f0565b9150612d368261397b565b604082019050919050565b6000612d4e603e836133f0565b9150612d59826139ca565b604082019050919050565b6000612d716020836133f0565b9150612d7c82613a19565b602082019050919050565b6000612d946020836133f0565b9150612d9f82613a42565b602082019050919050565b6000612db76027836133f0565b9150612dc282613a6b565b604082019050919050565b6000612dda6018836133f0565b9150612de582613aba565b602082019050919050565b6000612dfd6013836133f0565b9150612e0882613ae3565b602082019050919050565b6000612e206019836133f0565b9150612e2b82613b0c565b602082019050919050565b6000612e43600f836133f0565b9150612e4e82613b35565b602082019050919050565b6000612e666021836133f0565b9150612e7182613b5e565b604082019050919050565b6000612e896000836133e5565b9150612e9482613bad565b600082019050919050565b6000612eac6016836133f0565b9150612eb782613bb0565b602082019050919050565b6000612ecf6024836133f0565b9150612eda82613bd9565b604082019050919050565b6000612ef2602e836133f0565b9150612efd82613c28565b604082019050919050565b6000612f156030836133f0565b9150612f2082613c77565b604082019050919050565b6000612f386014836133f0565b9150612f4382613cc6565b602082019050919050565b612f578161358b565b82525050565b6000612f698286612b79565b9150612f758285612b79565b9150612f818284612baa565b9150819050949350505050565b6000612f9982612e7c565b9150819050919050565b6000602082019050612fb86000830184612ae9565b92915050565b6000608082019050612fd36000830187612ae9565b612fe06020830186612ae9565b612fed6040830185612f4e565b8181036060830152612fff8184612b07565b905095945050505050565b600060208201905061301f6000830184612af8565b92915050565b6000602082019050818103600083015261303f8184612b40565b905092915050565b6000602082019050818103600083015261306081612c29565b9050919050565b6000602082019050818103600083015261308081612c4c565b9050919050565b600060208201905081810360008301526130a081612c6f565b9050919050565b600060208201905081810360008301526130c081612c92565b9050919050565b600060208201905081810360008301526130e081612cb5565b9050919050565b6000602082019050818103600083015261310081612cd8565b9050919050565b6000602082019050818103600083015261312081612cfb565b9050919050565b6000602082019050818103600083015261314081612d1e565b9050919050565b6000602082019050818103600083015261316081612d41565b9050919050565b6000602082019050818103600083015261318081612d64565b9050919050565b600060208201905081810360008301526131a081612d87565b9050919050565b600060208201905081810360008301526131c081612daa565b9050919050565b600060208201905081810360008301526131e081612dcd565b9050919050565b6000602082019050818103600083015261320081612df0565b9050919050565b6000602082019050818103600083015261322081612e13565b9050919050565b6000602082019050818103600083015261324081612e36565b9050919050565b6000602082019050818103600083015261326081612e59565b9050919050565b6000602082019050818103600083015261328081612e9f565b9050919050565b600060208201905081810360008301526132a081612ec2565b9050919050565b600060208201905081810360008301526132c081612ee5565b9050919050565b600060208201905081810360008301526132e081612f08565b9050919050565b6000602082019050818103600083015261330081612f2b565b9050919050565b600060208201905061331c6000830184612f4e565b92915050565b600061332c61333d565b90506133388282613609565b919050565b6000604051905090565b600067ffffffffffffffff82111561336257613361613770565b5b61336b826137b3565b9050602081019050919050565b600067ffffffffffffffff82111561339357613392613770565b5b61339c826137b3565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006134178261358b565b91506134228361358b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613457576134566136b4565b5b828201905092915050565b600061346d8261358b565b91506134788361358b565b925082613488576134876136e3565b5b828204905092915050565b600061349e8261358b565b91506134a98361358b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156134e2576134e16136b4565b5b828202905092915050565b60006134f88261358b565b91506135038361358b565b925082821015613516576135156136b4565b5b828203905092915050565b600061352c8261356b565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156135c25780820151818401526020810190506135a7565b838111156135d1576000848401525b50505050565b600060028204905060018216806135ef57607f821691505b6020821081141561360357613602613712565b5b50919050565b613612826137b3565b810181811067ffffffffffffffff8211171561363157613630613770565b5b80604052505050565b60006136458261358b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613678576136776136b4565b5b600182019050919050565b600061368e8261358b565b91506136998361358b565b9250826136a9576136a86136e3565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f596f75277265206e6f742077686974656c69737465642e000000000000000000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f57686974656c6973742073616c6520697320636c6f736564206174207468652060008201527f6d6f6d656e742e00000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4e6f2072652d656e7472616e742063616c6c2e00000000000000000000000000600082015250565b7f4661696c656420746f2077697468647261772045746865722e00000000000000600082015250565b7f4e6f7420656e6f756768204554482e0000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f496e76616c6964206d696e74207175616e746974792e00000000000000000000600082015250565b7f5075626c69632073616c6520697320636c6f73656420617420746865206d6f6d60008201527f656e742e00000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e2e00000000000000000000000000000000602082015250565b7f4d617820737570706c792065786365656465642e000000000000000000000000600082015250565b613cf881613521565b8114613d0357600080fd5b50565b613d0f81613533565b8114613d1a57600080fd5b50565b613d268161353f565b8114613d3157600080fd5b50565b613d3d8161358b565b8114613d4857600080fd5b5056fea2646970667358221220719e992cdf11f677b94c33f450f76ac5b8d0bb4238590e5eaf5a093502a1060c64736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000001312d000000000000000000000000000000000000000000000000000000000001312d00000000000000000000000000000000000000000000000000000000000000005268747470733a2f2f697066732e696f2f697066732f516d576e39637972583956716a647456417354345a47584c636f6e59505855345779386b6670757044436f3833762f7472756d706d657461646174612f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005268747470733a2f2f697066732e696f2f697066732f516d576e39637972583956716a647456417354345a47584c636f6e59505855345779386b6670757044436f3833762f7472756d706d657461646174612f0000000000000000000000000000
-----Decoded View---------------
Arg [0] : _initBaseURI (string): https://ipfs.io/ipfs/QmWn9cyrX9VqjdtVAsT4ZGXLconYPXU4Wy8kfpupDCo83v/trumpmetadata/
Arg [1] : _initNotRevealedUri (string): https://ipfs.io/ipfs/QmWn9cyrX9VqjdtVAsT4ZGXLconYPXU4Wy8kfpupDCo83v/trumpmetadata/
Arg [2] : PUB_PRICE (uint256): 20000000
Arg [3] : WL_PRICE (uint256): 20000000
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000001312d00
Arg [3] : 0000000000000000000000000000000000000000000000000000000001312d00
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000052
Arg [5] : 68747470733a2f2f697066732e696f2f697066732f516d576e39637972583956
Arg [6] : 716a647456417354345a47584c636f6e59505855345779386b6670757044436f
Arg [7] : 3833762f7472756d706d657461646174612f0000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000052
Arg [9] : 68747470733a2f2f697066732e696f2f697066732f516d576e39637972583956
Arg [10] : 716a647456417354345a47584c636f6e59505855345779386b6670757044436f
Arg [11] : 3833762f7472756d706d657461646174612f0000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ 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.