Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 186 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 16368685 | 715 days ago | IN | 0 ETH | 0.00077023 | ||||
Withdraw | 16361480 | 716 days ago | IN | 0 ETH | 0.00057071 | ||||
Set Approval For... | 16266343 | 730 days ago | IN | 0 ETH | 0.00057134 | ||||
Set Approval For... | 16266198 | 730 days ago | IN | 0 ETH | 0.0005873 | ||||
Set Approval For... | 15557558 | 829 days ago | IN | 0 ETH | 0.00019899 | ||||
Set Approval For... | 15459233 | 844 days ago | IN | 0 ETH | 0.00078451 | ||||
Set Approval For... | 15241368 | 879 days ago | IN | 0 ETH | 0.00033173 | ||||
Set Approval For... | 15094810 | 901 days ago | IN | 0 ETH | 0.00062286 | ||||
Set Approval For... | 14801130 | 951 days ago | IN | 0 ETH | 0.00095859 | ||||
Set Approval For... | 14795099 | 952 days ago | IN | 0 ETH | 0.00140711 | ||||
Set Approval For... | 14574970 | 987 days ago | IN | 0 ETH | 0.00181189 | ||||
Set Approval For... | 14565699 | 988 days ago | IN | 0 ETH | 0.00318765 | ||||
Set Approval For... | 14561882 | 989 days ago | IN | 0 ETH | 0.00171942 | ||||
Set Approval For... | 14561863 | 989 days ago | IN | 0 ETH | 0.00157819 | ||||
Set Approval For... | 14561819 | 989 days ago | IN | 0 ETH | 0.00195354 | ||||
Set Approval For... | 14561814 | 989 days ago | IN | 0 ETH | 0.00207674 | ||||
Set Approval For... | 14561805 | 989 days ago | IN | 0 ETH | 0.00227723 | ||||
Set Approval For... | 14561803 | 989 days ago | IN | 0 ETH | 0.00182392 | ||||
Set Approval For... | 14561801 | 989 days ago | IN | 0 ETH | 0.00162867 | ||||
Set Approval For... | 14561797 | 989 days ago | IN | 0 ETH | 0.00197101 | ||||
Set Approval For... | 14561789 | 989 days ago | IN | 0 ETH | 0.00183901 | ||||
Set Approval For... | 14561781 | 989 days ago | IN | 0 ETH | 0.00162614 | ||||
Set Approval For... | 14561780 | 989 days ago | IN | 0 ETH | 0.00163978 | ||||
Set Approval For... | 14561775 | 989 days ago | IN | 0 ETH | 0.00180643 | ||||
Set Approval For... | 14561774 | 989 days ago | IN | 0 ETH | 0.00175663 |
Loading...
Loading
Contract Name:
NRDNM2
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.4; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./ERC721A.sol"; // IMPORTANT: _burn() must never be called contract NRDNM2 is ERC721A, Ownable { using Strings for uint256; uint immutable public startSaleTimestamp; uint public constant TOKEN_LIMIT = 250; uint public mintPrice = 0.05 ether; string public baseURI; bool public revealed = false; bool public finalized = false; constructor(string memory _baseURI) ERC721A("NRDNM 2.0", "NRDNM2") { baseURI = _baseURI; startSaleTimestamp = block.timestamp; } /** Once finality reached, baseURI & reveal flag are locked. **/ function setParams(string memory newBaseURI, bool _reveal) external onlyOwner { require(finalized == false, "Finality reached."); baseURI = newBaseURI; revealed = _reveal; } function setPrice(uint _newPrice) external onlyOwner { mintPrice = _newPrice; } /** Lock permanently, once **/ function lockFinal(bool _final) external onlyOwner { require(finalized == false, "Finality reached."); finalized = _final; } function mintFromSale(uint amount) public payable { require(block.timestamp > startSaleTimestamp, "Public sale hasn't started yet"); require(amount <= 5, "Up to 5 tokens can be minted at once"); uint cost; unchecked { cost = amount * mintPrice; } require(msg.value == cost, "wrong payment"); _mint(msg.sender, amount, '', false); require(totalSupply() <= TOKEN_LIMIT, "limit reached"); } /** * Contract balance payout to team via owner withdrawal */ function withdraw(address payable assistant) external onlyOwner { uint fifteenPercent = (address(this).balance/20) * 3; (bool success, ) = assistant.call{value: fifteenPercent}(""); //15% cut to assistant require(success, "Failed to send Ether"); payable(msg.sender).transfer(address(this).balance); //Remainder to owner } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); //Before reveal, return baseURI for placeholder if (revealed == false) return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI)) : ''; else return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString(), '.json')) : ''; } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs // Fork of ERC721A.sol (it's not the same one as on npm package erc721a because this one has extension methods removed) pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintedQueryForZeroAddress(); error BurnedQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerIndexOutOfBounds(); error OwnerQueryForNonexistentToken(); error TokenIndexOutOfBounds(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex times unchecked { return _currentIndex - _burnCounter; } } /** * @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 override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { if (owner == address(0)) revert MintedQueryForZeroAddress(); return uint256(_addressData[owner].numberMinted); } function _numberBurned(address owner) internal view returns (uint256) { if (owner == address(0)) revert BurnedQueryForZeroAddress(); return uint256(_addressData[owner].numberBurned); } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @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) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _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 { _transfer(from, to, tokenId); if (!_checkOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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`), */ function _exists(uint256 tokenId) internal view returns (bool) { return tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; for (uint256 i; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); if (safe && !_checkOnERC721Received(address(0), to, updatedIndex, _data)) { revert TransferToNonERC721ReceiverImplementer(); } updatedIndex++; } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || isApprovedForAll(prevOwnership.addr, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId].addr = to; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @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 { TokenOwnership memory prevOwnership = ownershipOf(tokenId); _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[prevOwnership.addr].balance -= 1; _addressData[prevOwnership.addr].numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. _ownerships[tokenId].addr = prevOwnership.addr; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); _ownerships[tokenId].burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(prevOwnership.addr, address(0), tokenId); _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * 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, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// 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 v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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":"_baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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":"TOKEN_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"finalized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"bool","name":"_final","type":"bool"}],"name":"lockFinal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintFromSale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"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"},{"internalType":"bool","name":"_reveal","type":"bool"}],"name":"setParams","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSaleTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"assistant","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a060405266b1a2bc2ec500006009556000600b60006101000a81548160ff0219169083151502179055506000600b60016101000a81548160ff0219169083151502179055503480156200005257600080fd5b5060405162003d1f38038062003d1f83398181016040528101906200007891906200035c565b6040518060400160405280600981526020017f4e52444e4d20322e3000000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f4e52444e4d3200000000000000000000000000000000000000000000000000008152508160029080519060200190620000fc9291906200022e565b508060039080519060200190620001159291906200022e565b505050620001386200012c6200016060201b60201c565b6200016860201b60201c565b80600a9080519060200190620001509291906200022e565b5042608081815250505062000531565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200023c9062000442565b90600052602060002090601f016020900481019282620002605760008555620002ac565b82601f106200027b57805160ff1916838001178555620002ac565b82800160010185558215620002ac579182015b82811115620002ab5782518255916020019190600101906200028e565b5b509050620002bb9190620002bf565b5090565b5b80821115620002da576000816000905550600101620002c0565b5090565b6000620002f5620002ef84620003d6565b620003ad565b90508281526020810184848401111562000314576200031362000511565b5b620003218482856200040c565b509392505050565b600082601f8301126200034157620003406200050c565b5b815162000353848260208601620002de565b91505092915050565b6000602082840312156200037557620003746200051b565b5b600082015167ffffffffffffffff81111562000396576200039562000516565b5b620003a48482850162000329565b91505092915050565b6000620003b9620003cc565b9050620003c7828262000478565b919050565b6000604051905090565b600067ffffffffffffffff821115620003f457620003f3620004dd565b5b620003ff8262000520565b9050602081019050919050565b60005b838110156200042c5780820151818401526020810190506200040f565b838111156200043c576000848401525b50505050565b600060028204905060018216806200045b57607f821691505b60208210811415620004725762000471620004ae565b5b50919050565b620004838262000520565b810181811067ffffffffffffffff82111715620004a557620004a4620004dd565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b6080516137cb6200055460003960008181611447015261156301526137cb6000f3fe6080604052600436106101b75760003560e01c80636c0360eb116100ec578063b3f05b971161008a578063e985e9c511610064578063e985e9c5146105f8578063ed3d161d14610635578063f2fde38b14610660578063f8b4d98114610689576101b7565b8063b3f05b9714610567578063b88d4fde14610592578063c87b56dd146105bb576101b7565b80638da5cb5b116100c65780638da5cb5b146104bf57806391b7f5ed146104ea57806395d89b4114610513578063a22cb4651461053e576101b7565b80636c0360eb1461044057806370a082311461046b578063715018a6146104a8576101b7565b806323b872dd116101595780635183022711610133578063518302271461038457806351cff8d9146103af5780636352211e146103d85780636817c76c14610415576101b7565b806323b872dd146103095780633071dbd41461033257806342842e0e1461035b576101b7565b8063081812fc11610195578063081812fc1461024f578063095ea7b31461028c57806318033eac146102b557806318160ddd146102de576101b7565b806301ffc9a7146101bc578063031bd4c4146101f957806306fdde0314610224575b600080fd5b3480156101c857600080fd5b506101e360048036038101906101de9190612b04565b6106a5565b6040516101f09190612f56565b60405180910390f35b34801561020557600080fd5b5061020e610787565b60405161021b9190613093565b60405180910390f35b34801561023057600080fd5b5061023961078c565b6040516102469190612f71565b60405180910390f35b34801561025b57600080fd5b5061027660048036038101906102719190612bba565b61081e565b6040516102839190612eef565b60405180910390f35b34801561029857600080fd5b506102b360048036038101906102ae9190612a97565b61089a565b005b3480156102c157600080fd5b506102dc60048036038101906102d79190612ad7565b6109a5565b005b3480156102ea57600080fd5b506102f3610a94565b6040516103009190613093565b60405180910390f35b34801561031557600080fd5b50610330600480360381019061032b9190612981565b610aa2565b005b34801561033e57600080fd5b5061035960048036038101906103549190612b5e565b610ab2565b005b34801561036757600080fd5b50610382600480360381019061037d9190612981565b610bb9565b005b34801561039057600080fd5b50610399610bd9565b6040516103a69190612f56565b60405180910390f35b3480156103bb57600080fd5b506103d660048036038101906103d19190612914565b610bec565b005b3480156103e457600080fd5b506103ff60048036038101906103fa9190612bba565b610d7d565b60405161040c9190612eef565b60405180910390f35b34801561042157600080fd5b5061042a610d93565b6040516104379190613093565b60405180910390f35b34801561044c57600080fd5b50610455610d99565b6040516104629190612f71565b60405180910390f35b34801561047757600080fd5b50610492600480360381019061048d91906128e7565b610e27565b60405161049f9190613093565b60405180910390f35b3480156104b457600080fd5b506104bd610ef7565b005b3480156104cb57600080fd5b506104d4610f7f565b6040516104e19190612eef565b60405180910390f35b3480156104f657600080fd5b50610511600480360381019061050c9190612bba565b610fa9565b005b34801561051f57600080fd5b5061052861102f565b6040516105359190612f71565b60405180910390f35b34801561054a57600080fd5b5061056560048036038101906105609190612a57565b6110c1565b005b34801561057357600080fd5b5061057c611239565b6040516105899190612f56565b60405180910390f35b34801561059e57600080fd5b506105b960048036038101906105b491906129d4565b61124c565b005b3480156105c757600080fd5b506105e260048036038101906105dd9190612bba565b61129f565b6040516105ef9190612f71565b60405180910390f35b34801561060457600080fd5b5061061f600480360381019061061a9190612941565b6113b1565b60405161062c9190612f56565b60405180910390f35b34801561064157600080fd5b5061064a611445565b6040516106579190613093565b60405180910390f35b34801561066c57600080fd5b50610687600480360381019061068291906128e7565b611469565b005b6106a3600480360381019061069e9190612bba565b611561565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061077057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610780575061077f826116bd565b5b9050919050565b60fa81565b60606002805461079b90613375565b80601f01602080910402602001604051908101604052809291908181526020018280546107c790613375565b80156108145780601f106107e957610100808354040283529160200191610814565b820191906000526020600020905b8154815290600101906020018083116107f757829003601f168201915b5050505050905090565b600061082982611727565b61085f576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108a582610d7d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561090d576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661092c611761565b73ffffffffffffffffffffffffffffffffffffffff161415801561095e575061095c81610957611761565b6113b1565b155b15610995576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6109a0838383611769565b505050565b6109ad611761565b73ffffffffffffffffffffffffffffffffffffffff166109cb610f7f565b73ffffffffffffffffffffffffffffffffffffffff1614610a21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1890613053565b60405180910390fd5b60001515600b60019054906101000a900460ff16151514610a77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6e90613033565b60405180910390fd5b80600b60016101000a81548160ff02191690831515021790555050565b600060015460005403905090565b610aad83838361181b565b505050565b610aba611761565b73ffffffffffffffffffffffffffffffffffffffff16610ad8610f7f565b73ffffffffffffffffffffffffffffffffffffffff1614610b2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2590613053565b60405180910390fd5b60001515600b60019054906101000a900460ff16151514610b84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7b90613033565b60405180910390fd5b81600a9080519060200190610b9a9291906126a3565b5080600b60006101000a81548160ff0219169083151502179055505050565b610bd48383836040518060200160405280600081525061124c565b505050565b600b60009054906101000a900460ff1681565b610bf4611761565b73ffffffffffffffffffffffffffffffffffffffff16610c12610f7f565b73ffffffffffffffffffffffffffffffffffffffff1614610c68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5f90613053565b60405180910390fd5b60006003601447610c7991906131ee565b610c83919061321f565b905060008273ffffffffffffffffffffffffffffffffffffffff1682604051610cab90612eda565b60006040518083038185875af1925050503d8060008114610ce8576040519150601f19603f3d011682016040523d82523d6000602084013e610ced565b606091505b5050905080610d31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2890612ff3565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610d77573d6000803e3d6000fd5b50505050565b6000610d8882611d0c565b600001519050919050565b60095481565b600a8054610da690613375565b80601f0160208091040260200160405190810160405280929190818152602001828054610dd290613375565b8015610e1f5780601f10610df457610100808354040283529160200191610e1f565b820191906000526020600020905b815481529060010190602001808311610e0257829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e8f576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b610eff611761565b73ffffffffffffffffffffffffffffffffffffffff16610f1d610f7f565b73ffffffffffffffffffffffffffffffffffffffff1614610f73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6a90613053565b60405180910390fd5b610f7d6000611f88565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610fb1611761565b73ffffffffffffffffffffffffffffffffffffffff16610fcf610f7f565b73ffffffffffffffffffffffffffffffffffffffff1614611025576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101c90613053565b60405180910390fd5b8060098190555050565b60606003805461103e90613375565b80601f016020809104026020016040519081016040528092919081815260200182805461106a90613375565b80156110b75780601f1061108c576101008083540402835291602001916110b7565b820191906000526020600020905b81548152906001019060200180831161109a57829003601f168201915b5050505050905090565b6110c9611761565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561112e576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061113b611761565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166111e8611761565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161122d9190612f56565b60405180910390a35050565b600b60019054906101000a900460ff1681565b61125784848461181b565b6112638484848461204e565b611299576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60606112aa82611727565b6112e0576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60001515600b60009054906101000a900460ff1615151415611351576000600a805461130b90613375565b90501415611328576040518060200160405280600081525061134a565b600a60405160200161133a9190612e94565b6040516020818303038152906040525b90506113ac565b6000600a805461136090613375565b9050141561137d57604051806020016040528060008152506113a9565b600a611388836121dc565b604051602001611399929190612eab565b6040516020818303038152906040525b90505b919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b611471611761565b73ffffffffffffffffffffffffffffffffffffffff1661148f610f7f565b73ffffffffffffffffffffffffffffffffffffffff16146114e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114dc90613053565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611555576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154c90612fb3565b60405180910390fd5b61155e81611f88565b50565b7f000000000000000000000000000000000000000000000000000000000000000042116115c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ba90613073565b60405180910390fd5b6005811115611607576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fe90612f93565b60405180910390fd5b600060095482029050803414611652576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164990612fd3565b60405180910390fd5b61166e338360405180602001604052806000815250600061233d565b60fa611678610a94565b11156116b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b090613013565b60405180910390fd5b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600080548210801561175a575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061182682611d0c565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661184d611761565b73ffffffffffffffffffffffffffffffffffffffff161480611880575061187f826000015161187a611761565b6113b1565b5b806118c5575061188e611761565b73ffffffffffffffffffffffffffffffffffffffff166118ad8461081e565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806118fe576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611967576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156119ce576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6119db8585856001612674565b6119eb6000848460000151611769565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611c9c57600054811015611c9b5782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611d05858585600161267a565b5050505050565b611d14612729565b6000829050600054811015611f51576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151611f4f57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611e33578092505050611f83565b5b600115611f4e57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611f49578092505050611f83565b611e34565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600061206f8473ffffffffffffffffffffffffffffffffffffffff16612680565b156121cf578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612098611761565b8786866040518563ffffffff1660e01b81526004016120ba9493929190612f0a565b602060405180830381600087803b1580156120d457600080fd5b505af192505050801561210557506040513d601f19601f820116820180604052508101906121029190612b31565b60015b61217f573d8060008114612135576040519150601f19603f3d011682016040523d82523d6000602084013e61213a565b606091505b50600081511415612177576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506121d4565b600190505b949350505050565b60606000821415612224576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612338565b600082905060005b6000821461225657808061223f906133d8565b915050600a8261224f91906131ee565b915061222c565b60008167ffffffffffffffff8111156122725761227161350e565b5b6040519080825280601f01601f1916602001820160405280156122a45781602001600182028036833780820191505090505b5090505b60008514612331576001826122bd9190613279565b9150600a856122cc9190613421565b60306122d89190613198565b60f81b8183815181106122ee576122ed6134df565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561232a91906131ee565b94506122a8565b8093505050505b919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156123aa576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156123e5576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123f26000868387612674565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b8581101561265757818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a483801561260b5750612609600088848861204e565b155b15612642576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81806001019250508080600101915050612590565b50806000819055505061266d600086838761267a565b5050505050565b50505050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546126af90613375565b90600052602060002090601f0160209004810192826126d15760008555612718565b82601f106126ea57805160ff1916838001178555612718565b82800160010185558215612718579182015b828111156127175782518255916020019190600101906126fc565b5b509050612725919061276c565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561278557600081600090555060010161276d565b5090565b600061279c612797846130d3565b6130ae565b9050828152602081018484840111156127b8576127b7613542565b5b6127c3848285613333565b509392505050565b60006127de6127d984613104565b6130ae565b9050828152602081018484840111156127fa576127f9613542565b5b612805848285613333565b509392505050565b60008135905061281c81613722565b92915050565b60008135905061283181613739565b92915050565b60008135905061284681613750565b92915050565b60008135905061285b81613767565b92915050565b60008151905061287081613767565b92915050565b600082601f83011261288b5761288a61353d565b5b813561289b848260208601612789565b91505092915050565b600082601f8301126128b9576128b861353d565b5b81356128c98482602086016127cb565b91505092915050565b6000813590506128e18161377e565b92915050565b6000602082840312156128fd576128fc61354c565b5b600061290b8482850161280d565b91505092915050565b60006020828403121561292a5761292961354c565b5b600061293884828501612822565b91505092915050565b600080604083850312156129585761295761354c565b5b60006129668582860161280d565b92505060206129778582860161280d565b9150509250929050565b60008060006060848603121561299a5761299961354c565b5b60006129a88682870161280d565b93505060206129b98682870161280d565b92505060406129ca868287016128d2565b9150509250925092565b600080600080608085870312156129ee576129ed61354c565b5b60006129fc8782880161280d565b9450506020612a0d8782880161280d565b9350506040612a1e878288016128d2565b925050606085013567ffffffffffffffff811115612a3f57612a3e613547565b5b612a4b87828801612876565b91505092959194509250565b60008060408385031215612a6e57612a6d61354c565b5b6000612a7c8582860161280d565b9250506020612a8d85828601612837565b9150509250929050565b60008060408385031215612aae57612aad61354c565b5b6000612abc8582860161280d565b9250506020612acd858286016128d2565b9150509250929050565b600060208284031215612aed57612aec61354c565b5b6000612afb84828501612837565b91505092915050565b600060208284031215612b1a57612b1961354c565b5b6000612b288482850161284c565b91505092915050565b600060208284031215612b4757612b4661354c565b5b6000612b5584828501612861565b91505092915050565b60008060408385031215612b7557612b7461354c565b5b600083013567ffffffffffffffff811115612b9357612b92613547565b5b612b9f858286016128a4565b9250506020612bb085828601612837565b9150509250929050565b600060208284031215612bd057612bcf61354c565b5b6000612bde848285016128d2565b91505092915050565b612bf0816132ad565b82525050565b612bff816132d1565b82525050565b6000612c108261314a565b612c1a8185613160565b9350612c2a818560208601613342565b612c3381613551565b840191505092915050565b6000612c4982613155565b612c53818561317c565b9350612c63818560208601613342565b612c6c81613551565b840191505092915050565b6000612c8282613155565b612c8c818561318d565b9350612c9c818560208601613342565b80840191505092915050565b60008154612cb581613375565b612cbf818661318d565b94506001821660008114612cda5760018114612ceb57612d1e565b60ff19831686528186019350612d1e565b612cf485613135565b60005b83811015612d1657815481890152600182019150602081019050612cf7565b838801955050505b50505092915050565b6000612d3460248361317c565b9150612d3f82613562565b604082019050919050565b6000612d5760268361317c565b9150612d62826135b1565b604082019050919050565b6000612d7a600d8361317c565b9150612d8582613600565b602082019050919050565b6000612d9d60148361317c565b9150612da882613629565b602082019050919050565b6000612dc0600d8361317c565b9150612dcb82613652565b602082019050919050565b6000612de360058361318d565b9150612dee8261367b565b600582019050919050565b6000612e0660118361317c565b9150612e11826136a4565b602082019050919050565b6000612e2960208361317c565b9150612e34826136cd565b602082019050919050565b6000612e4c600083613171565b9150612e57826136f6565b600082019050919050565b6000612e6f601e8361317c565b9150612e7a826136f9565b602082019050919050565b612e8e81613329565b82525050565b6000612ea08284612ca8565b915081905092915050565b6000612eb78285612ca8565b9150612ec38284612c77565b9150612ece82612dd6565b91508190509392505050565b6000612ee582612e3f565b9150819050919050565b6000602082019050612f046000830184612be7565b92915050565b6000608082019050612f1f6000830187612be7565b612f2c6020830186612be7565b612f396040830185612e85565b8181036060830152612f4b8184612c05565b905095945050505050565b6000602082019050612f6b6000830184612bf6565b92915050565b60006020820190508181036000830152612f8b8184612c3e565b905092915050565b60006020820190508181036000830152612fac81612d27565b9050919050565b60006020820190508181036000830152612fcc81612d4a565b9050919050565b60006020820190508181036000830152612fec81612d6d565b9050919050565b6000602082019050818103600083015261300c81612d90565b9050919050565b6000602082019050818103600083015261302c81612db3565b9050919050565b6000602082019050818103600083015261304c81612df9565b9050919050565b6000602082019050818103600083015261306c81612e1c565b9050919050565b6000602082019050818103600083015261308c81612e62565b9050919050565b60006020820190506130a86000830184612e85565b92915050565b60006130b86130c9565b90506130c482826133a7565b919050565b6000604051905090565b600067ffffffffffffffff8211156130ee576130ed61350e565b5b6130f782613551565b9050602081019050919050565b600067ffffffffffffffff82111561311f5761311e61350e565b5b61312882613551565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006131a382613329565b91506131ae83613329565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156131e3576131e2613452565b5b828201905092915050565b60006131f982613329565b915061320483613329565b92508261321457613213613481565b5b828204905092915050565b600061322a82613329565b915061323583613329565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561326e5761326d613452565b5b828202905092915050565b600061328482613329565b915061328f83613329565b9250828210156132a2576132a1613452565b5b828203905092915050565b60006132b882613309565b9050919050565b60006132ca82613309565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613360578082015181840152602081019050613345565b8381111561336f576000848401525b50505050565b6000600282049050600182168061338d57607f821691505b602082108114156133a1576133a06134b0565b5b50919050565b6133b082613551565b810181811067ffffffffffffffff821117156133cf576133ce61350e565b5b80604052505050565b60006133e382613329565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561341657613415613452565b5b600182019050919050565b600061342c82613329565b915061343783613329565b92508261344757613446613481565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f557020746f203520746f6b656e732063616e206265206d696e7465642061742060008201527f6f6e636500000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f77726f6e67207061796d656e7400000000000000000000000000000000000000600082015250565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b7f6c696d6974207265616368656400000000000000000000000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f46696e616c69747920726561636865642e000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b50565b7f5075626c69632073616c65206861736e27742073746172746564207965740000600082015250565b61372b816132ad565b811461373657600080fd5b50565b613742816132bf565b811461374d57600080fd5b50565b613759816132d1565b811461376457600080fd5b50565b613770816132dd565b811461377b57600080fd5b50565b61378781613329565b811461379257600080fd5b5056fea26469706673582212206b5ed232c4e100349bc02c7d2fc164f7fda9f68094490f76008e69f4cf0d25b064736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000043697066733a2f2f6261666b7265696670657135726b37356f79356f64757a63666533697664366c6f6e6b7161757437627678676564633633737432336a75703768692f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101b75760003560e01c80636c0360eb116100ec578063b3f05b971161008a578063e985e9c511610064578063e985e9c5146105f8578063ed3d161d14610635578063f2fde38b14610660578063f8b4d98114610689576101b7565b8063b3f05b9714610567578063b88d4fde14610592578063c87b56dd146105bb576101b7565b80638da5cb5b116100c65780638da5cb5b146104bf57806391b7f5ed146104ea57806395d89b4114610513578063a22cb4651461053e576101b7565b80636c0360eb1461044057806370a082311461046b578063715018a6146104a8576101b7565b806323b872dd116101595780635183022711610133578063518302271461038457806351cff8d9146103af5780636352211e146103d85780636817c76c14610415576101b7565b806323b872dd146103095780633071dbd41461033257806342842e0e1461035b576101b7565b8063081812fc11610195578063081812fc1461024f578063095ea7b31461028c57806318033eac146102b557806318160ddd146102de576101b7565b806301ffc9a7146101bc578063031bd4c4146101f957806306fdde0314610224575b600080fd5b3480156101c857600080fd5b506101e360048036038101906101de9190612b04565b6106a5565b6040516101f09190612f56565b60405180910390f35b34801561020557600080fd5b5061020e610787565b60405161021b9190613093565b60405180910390f35b34801561023057600080fd5b5061023961078c565b6040516102469190612f71565b60405180910390f35b34801561025b57600080fd5b5061027660048036038101906102719190612bba565b61081e565b6040516102839190612eef565b60405180910390f35b34801561029857600080fd5b506102b360048036038101906102ae9190612a97565b61089a565b005b3480156102c157600080fd5b506102dc60048036038101906102d79190612ad7565b6109a5565b005b3480156102ea57600080fd5b506102f3610a94565b6040516103009190613093565b60405180910390f35b34801561031557600080fd5b50610330600480360381019061032b9190612981565b610aa2565b005b34801561033e57600080fd5b5061035960048036038101906103549190612b5e565b610ab2565b005b34801561036757600080fd5b50610382600480360381019061037d9190612981565b610bb9565b005b34801561039057600080fd5b50610399610bd9565b6040516103a69190612f56565b60405180910390f35b3480156103bb57600080fd5b506103d660048036038101906103d19190612914565b610bec565b005b3480156103e457600080fd5b506103ff60048036038101906103fa9190612bba565b610d7d565b60405161040c9190612eef565b60405180910390f35b34801561042157600080fd5b5061042a610d93565b6040516104379190613093565b60405180910390f35b34801561044c57600080fd5b50610455610d99565b6040516104629190612f71565b60405180910390f35b34801561047757600080fd5b50610492600480360381019061048d91906128e7565b610e27565b60405161049f9190613093565b60405180910390f35b3480156104b457600080fd5b506104bd610ef7565b005b3480156104cb57600080fd5b506104d4610f7f565b6040516104e19190612eef565b60405180910390f35b3480156104f657600080fd5b50610511600480360381019061050c9190612bba565b610fa9565b005b34801561051f57600080fd5b5061052861102f565b6040516105359190612f71565b60405180910390f35b34801561054a57600080fd5b5061056560048036038101906105609190612a57565b6110c1565b005b34801561057357600080fd5b5061057c611239565b6040516105899190612f56565b60405180910390f35b34801561059e57600080fd5b506105b960048036038101906105b491906129d4565b61124c565b005b3480156105c757600080fd5b506105e260048036038101906105dd9190612bba565b61129f565b6040516105ef9190612f71565b60405180910390f35b34801561060457600080fd5b5061061f600480360381019061061a9190612941565b6113b1565b60405161062c9190612f56565b60405180910390f35b34801561064157600080fd5b5061064a611445565b6040516106579190613093565b60405180910390f35b34801561066c57600080fd5b50610687600480360381019061068291906128e7565b611469565b005b6106a3600480360381019061069e9190612bba565b611561565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061077057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610780575061077f826116bd565b5b9050919050565b60fa81565b60606002805461079b90613375565b80601f01602080910402602001604051908101604052809291908181526020018280546107c790613375565b80156108145780601f106107e957610100808354040283529160200191610814565b820191906000526020600020905b8154815290600101906020018083116107f757829003601f168201915b5050505050905090565b600061082982611727565b61085f576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108a582610d7d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561090d576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661092c611761565b73ffffffffffffffffffffffffffffffffffffffff161415801561095e575061095c81610957611761565b6113b1565b155b15610995576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6109a0838383611769565b505050565b6109ad611761565b73ffffffffffffffffffffffffffffffffffffffff166109cb610f7f565b73ffffffffffffffffffffffffffffffffffffffff1614610a21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1890613053565b60405180910390fd5b60001515600b60019054906101000a900460ff16151514610a77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6e90613033565b60405180910390fd5b80600b60016101000a81548160ff02191690831515021790555050565b600060015460005403905090565b610aad83838361181b565b505050565b610aba611761565b73ffffffffffffffffffffffffffffffffffffffff16610ad8610f7f565b73ffffffffffffffffffffffffffffffffffffffff1614610b2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2590613053565b60405180910390fd5b60001515600b60019054906101000a900460ff16151514610b84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7b90613033565b60405180910390fd5b81600a9080519060200190610b9a9291906126a3565b5080600b60006101000a81548160ff0219169083151502179055505050565b610bd48383836040518060200160405280600081525061124c565b505050565b600b60009054906101000a900460ff1681565b610bf4611761565b73ffffffffffffffffffffffffffffffffffffffff16610c12610f7f565b73ffffffffffffffffffffffffffffffffffffffff1614610c68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5f90613053565b60405180910390fd5b60006003601447610c7991906131ee565b610c83919061321f565b905060008273ffffffffffffffffffffffffffffffffffffffff1682604051610cab90612eda565b60006040518083038185875af1925050503d8060008114610ce8576040519150601f19603f3d011682016040523d82523d6000602084013e610ced565b606091505b5050905080610d31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2890612ff3565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610d77573d6000803e3d6000fd5b50505050565b6000610d8882611d0c565b600001519050919050565b60095481565b600a8054610da690613375565b80601f0160208091040260200160405190810160405280929190818152602001828054610dd290613375565b8015610e1f5780601f10610df457610100808354040283529160200191610e1f565b820191906000526020600020905b815481529060010190602001808311610e0257829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e8f576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b610eff611761565b73ffffffffffffffffffffffffffffffffffffffff16610f1d610f7f565b73ffffffffffffffffffffffffffffffffffffffff1614610f73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6a90613053565b60405180910390fd5b610f7d6000611f88565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610fb1611761565b73ffffffffffffffffffffffffffffffffffffffff16610fcf610f7f565b73ffffffffffffffffffffffffffffffffffffffff1614611025576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101c90613053565b60405180910390fd5b8060098190555050565b60606003805461103e90613375565b80601f016020809104026020016040519081016040528092919081815260200182805461106a90613375565b80156110b75780601f1061108c576101008083540402835291602001916110b7565b820191906000526020600020905b81548152906001019060200180831161109a57829003601f168201915b5050505050905090565b6110c9611761565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561112e576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061113b611761565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166111e8611761565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161122d9190612f56565b60405180910390a35050565b600b60019054906101000a900460ff1681565b61125784848461181b565b6112638484848461204e565b611299576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60606112aa82611727565b6112e0576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60001515600b60009054906101000a900460ff1615151415611351576000600a805461130b90613375565b90501415611328576040518060200160405280600081525061134a565b600a60405160200161133a9190612e94565b6040516020818303038152906040525b90506113ac565b6000600a805461136090613375565b9050141561137d57604051806020016040528060008152506113a9565b600a611388836121dc565b604051602001611399929190612eab565b6040516020818303038152906040525b90505b919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7f00000000000000000000000000000000000000000000000000000000622e275c81565b611471611761565b73ffffffffffffffffffffffffffffffffffffffff1661148f610f7f565b73ffffffffffffffffffffffffffffffffffffffff16146114e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114dc90613053565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611555576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154c90612fb3565b60405180910390fd5b61155e81611f88565b50565b7f00000000000000000000000000000000000000000000000000000000622e275c42116115c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ba90613073565b60405180910390fd5b6005811115611607576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fe90612f93565b60405180910390fd5b600060095482029050803414611652576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164990612fd3565b60405180910390fd5b61166e338360405180602001604052806000815250600061233d565b60fa611678610a94565b11156116b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b090613013565b60405180910390fd5b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600080548210801561175a575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061182682611d0c565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661184d611761565b73ffffffffffffffffffffffffffffffffffffffff161480611880575061187f826000015161187a611761565b6113b1565b5b806118c5575061188e611761565b73ffffffffffffffffffffffffffffffffffffffff166118ad8461081e565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806118fe576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611967576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156119ce576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6119db8585856001612674565b6119eb6000848460000151611769565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611c9c57600054811015611c9b5782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611d05858585600161267a565b5050505050565b611d14612729565b6000829050600054811015611f51576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151611f4f57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611e33578092505050611f83565b5b600115611f4e57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611f49578092505050611f83565b611e34565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600061206f8473ffffffffffffffffffffffffffffffffffffffff16612680565b156121cf578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612098611761565b8786866040518563ffffffff1660e01b81526004016120ba9493929190612f0a565b602060405180830381600087803b1580156120d457600080fd5b505af192505050801561210557506040513d601f19601f820116820180604052508101906121029190612b31565b60015b61217f573d8060008114612135576040519150601f19603f3d011682016040523d82523d6000602084013e61213a565b606091505b50600081511415612177576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506121d4565b600190505b949350505050565b60606000821415612224576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612338565b600082905060005b6000821461225657808061223f906133d8565b915050600a8261224f91906131ee565b915061222c565b60008167ffffffffffffffff8111156122725761227161350e565b5b6040519080825280601f01601f1916602001820160405280156122a45781602001600182028036833780820191505090505b5090505b60008514612331576001826122bd9190613279565b9150600a856122cc9190613421565b60306122d89190613198565b60f81b8183815181106122ee576122ed6134df565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561232a91906131ee565b94506122a8565b8093505050505b919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156123aa576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156123e5576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123f26000868387612674565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b8581101561265757818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a483801561260b5750612609600088848861204e565b155b15612642576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81806001019250508080600101915050612590565b50806000819055505061266d600086838761267a565b5050505050565b50505050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546126af90613375565b90600052602060002090601f0160209004810192826126d15760008555612718565b82601f106126ea57805160ff1916838001178555612718565b82800160010185558215612718579182015b828111156127175782518255916020019190600101906126fc565b5b509050612725919061276c565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561278557600081600090555060010161276d565b5090565b600061279c612797846130d3565b6130ae565b9050828152602081018484840111156127b8576127b7613542565b5b6127c3848285613333565b509392505050565b60006127de6127d984613104565b6130ae565b9050828152602081018484840111156127fa576127f9613542565b5b612805848285613333565b509392505050565b60008135905061281c81613722565b92915050565b60008135905061283181613739565b92915050565b60008135905061284681613750565b92915050565b60008135905061285b81613767565b92915050565b60008151905061287081613767565b92915050565b600082601f83011261288b5761288a61353d565b5b813561289b848260208601612789565b91505092915050565b600082601f8301126128b9576128b861353d565b5b81356128c98482602086016127cb565b91505092915050565b6000813590506128e18161377e565b92915050565b6000602082840312156128fd576128fc61354c565b5b600061290b8482850161280d565b91505092915050565b60006020828403121561292a5761292961354c565b5b600061293884828501612822565b91505092915050565b600080604083850312156129585761295761354c565b5b60006129668582860161280d565b92505060206129778582860161280d565b9150509250929050565b60008060006060848603121561299a5761299961354c565b5b60006129a88682870161280d565b93505060206129b98682870161280d565b92505060406129ca868287016128d2565b9150509250925092565b600080600080608085870312156129ee576129ed61354c565b5b60006129fc8782880161280d565b9450506020612a0d8782880161280d565b9350506040612a1e878288016128d2565b925050606085013567ffffffffffffffff811115612a3f57612a3e613547565b5b612a4b87828801612876565b91505092959194509250565b60008060408385031215612a6e57612a6d61354c565b5b6000612a7c8582860161280d565b9250506020612a8d85828601612837565b9150509250929050565b60008060408385031215612aae57612aad61354c565b5b6000612abc8582860161280d565b9250506020612acd858286016128d2565b9150509250929050565b600060208284031215612aed57612aec61354c565b5b6000612afb84828501612837565b91505092915050565b600060208284031215612b1a57612b1961354c565b5b6000612b288482850161284c565b91505092915050565b600060208284031215612b4757612b4661354c565b5b6000612b5584828501612861565b91505092915050565b60008060408385031215612b7557612b7461354c565b5b600083013567ffffffffffffffff811115612b9357612b92613547565b5b612b9f858286016128a4565b9250506020612bb085828601612837565b9150509250929050565b600060208284031215612bd057612bcf61354c565b5b6000612bde848285016128d2565b91505092915050565b612bf0816132ad565b82525050565b612bff816132d1565b82525050565b6000612c108261314a565b612c1a8185613160565b9350612c2a818560208601613342565b612c3381613551565b840191505092915050565b6000612c4982613155565b612c53818561317c565b9350612c63818560208601613342565b612c6c81613551565b840191505092915050565b6000612c8282613155565b612c8c818561318d565b9350612c9c818560208601613342565b80840191505092915050565b60008154612cb581613375565b612cbf818661318d565b94506001821660008114612cda5760018114612ceb57612d1e565b60ff19831686528186019350612d1e565b612cf485613135565b60005b83811015612d1657815481890152600182019150602081019050612cf7565b838801955050505b50505092915050565b6000612d3460248361317c565b9150612d3f82613562565b604082019050919050565b6000612d5760268361317c565b9150612d62826135b1565b604082019050919050565b6000612d7a600d8361317c565b9150612d8582613600565b602082019050919050565b6000612d9d60148361317c565b9150612da882613629565b602082019050919050565b6000612dc0600d8361317c565b9150612dcb82613652565b602082019050919050565b6000612de360058361318d565b9150612dee8261367b565b600582019050919050565b6000612e0660118361317c565b9150612e11826136a4565b602082019050919050565b6000612e2960208361317c565b9150612e34826136cd565b602082019050919050565b6000612e4c600083613171565b9150612e57826136f6565b600082019050919050565b6000612e6f601e8361317c565b9150612e7a826136f9565b602082019050919050565b612e8e81613329565b82525050565b6000612ea08284612ca8565b915081905092915050565b6000612eb78285612ca8565b9150612ec38284612c77565b9150612ece82612dd6565b91508190509392505050565b6000612ee582612e3f565b9150819050919050565b6000602082019050612f046000830184612be7565b92915050565b6000608082019050612f1f6000830187612be7565b612f2c6020830186612be7565b612f396040830185612e85565b8181036060830152612f4b8184612c05565b905095945050505050565b6000602082019050612f6b6000830184612bf6565b92915050565b60006020820190508181036000830152612f8b8184612c3e565b905092915050565b60006020820190508181036000830152612fac81612d27565b9050919050565b60006020820190508181036000830152612fcc81612d4a565b9050919050565b60006020820190508181036000830152612fec81612d6d565b9050919050565b6000602082019050818103600083015261300c81612d90565b9050919050565b6000602082019050818103600083015261302c81612db3565b9050919050565b6000602082019050818103600083015261304c81612df9565b9050919050565b6000602082019050818103600083015261306c81612e1c565b9050919050565b6000602082019050818103600083015261308c81612e62565b9050919050565b60006020820190506130a86000830184612e85565b92915050565b60006130b86130c9565b90506130c482826133a7565b919050565b6000604051905090565b600067ffffffffffffffff8211156130ee576130ed61350e565b5b6130f782613551565b9050602081019050919050565b600067ffffffffffffffff82111561311f5761311e61350e565b5b61312882613551565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006131a382613329565b91506131ae83613329565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156131e3576131e2613452565b5b828201905092915050565b60006131f982613329565b915061320483613329565b92508261321457613213613481565b5b828204905092915050565b600061322a82613329565b915061323583613329565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561326e5761326d613452565b5b828202905092915050565b600061328482613329565b915061328f83613329565b9250828210156132a2576132a1613452565b5b828203905092915050565b60006132b882613309565b9050919050565b60006132ca82613309565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613360578082015181840152602081019050613345565b8381111561336f576000848401525b50505050565b6000600282049050600182168061338d57607f821691505b602082108114156133a1576133a06134b0565b5b50919050565b6133b082613551565b810181811067ffffffffffffffff821117156133cf576133ce61350e565b5b80604052505050565b60006133e382613329565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561341657613415613452565b5b600182019050919050565b600061342c82613329565b915061343783613329565b92508261344757613446613481565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f557020746f203520746f6b656e732063616e206265206d696e7465642061742060008201527f6f6e636500000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f77726f6e67207061796d656e7400000000000000000000000000000000000000600082015250565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b7f6c696d6974207265616368656400000000000000000000000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f46696e616c69747920726561636865642e000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b50565b7f5075626c69632073616c65206861736e27742073746172746564207965740000600082015250565b61372b816132ad565b811461373657600080fd5b50565b613742816132bf565b811461374d57600080fd5b50565b613759816132d1565b811461376457600080fd5b50565b613770816132dd565b811461377b57600080fd5b50565b61378781613329565b811461379257600080fd5b5056fea26469706673582212206b5ed232c4e100349bc02c7d2fc164f7fda9f68094490f76008e69f4cf0d25b064736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000043697066733a2f2f6261666b7265696670657135726b37356f79356f64757a63666533697664366c6f6e6b7161757437627678676564633633737432336a75703768692f0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _baseURI (string): ipfs://bafkreifpeq5rk75oy5oduzcfe3ivd6lonkqaut7bvxgedc63st23jup7hi/
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [2] : 697066733a2f2f6261666b7265696670657135726b37356f79356f64757a6366
Arg [3] : 6533697664366c6f6e6b7161757437627678676564633633737432336a757037
Arg [4] : 68692f0000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.