ERC-721
NFT
Overview
Max Total Supply
0 REN
Holders
3,113
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 RENLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Rengoku
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/Address.sol"; contract Rengoku is ERC721, Ownable { using Counters for Counters.Counter; using SafeMath for uint256; using Address for *; Counters.Counter private _tokenIds; Counters.Counter private _reservedIds; address private _owner1; address private _owner2; uint256 public tokenPrice = .08787 ether; // uint16 public maxPurchaseable = 7; uint16 public constant MAX_SUPPLY = 8787; bool public saleIsActive = true; uint256 public saleStartDate; uint256 public preSaleStartDate; bytes32 private immutable whitelistRoot; mapping(address => uint256) public addressToNumTokensOwned; mapping(uint256 => uint256) private claimedBitMap; string private _baseTokenURI = "https://rengoku-nft.s3.amazonaws.com/"; constructor( uint256 saleStart, uint256 _preSaleStartDate, bytes32 _whitelistRoot, address owner1, address owner2 ) ERC721("Rengoku", "REN") { saleStartDate = saleStart; // just a default date preSaleStartDate = _preSaleStartDate; whitelistRoot = _whitelistRoot; _owner1 = owner1; _owner2 = owner2; } function mintWhitelist( uint256 index, bytes32[] calldata merkleProof, uint256 amountReserved, uint256 amountToBuy ) external payable { require(saleIsActive, "Not active"); require(block.timestamp >= preSaleStartDate, "Presale must be active"); require( !isClaimed(index), "You have already minted your alloted amount" ); bytes32 node = keccak256( abi.encodePacked(index, msg.sender, amountReserved) ); require( MerkleProof.verify(merkleProof, whitelistRoot, node), "MerkleDistributor: Invalid proof." ); if (amountReserved == 1) { require( block.timestamp - preSaleStartDate > 1 days, "phase 2 sale not active yet" ); } require( block.timestamp < preSaleStartDate + 2 days, "Presale has ended" ); address account = msg.sender; uint256 newMinted = addressToNumTokensOwned[account] + amountToBuy; require(newMinted <= amountReserved, "User attempting to buy too many"); if (addressToNumTokensOwned[account] == amountReserved) { _setClaimed(index); } _runMint(account, amountToBuy); } // /** // * Public Sale // */ function mint(uint256 numberOfTokens) external payable { require(block.timestamp >= saleStartDate, "Sale not yet active"); require( numberOfTokens != 0 && numberOfTokens <= maxPurchaseable, "0/limit" ); require(saleIsActive, "Sale not activated"); _runMint(msg.sender, numberOfTokens); } function _runMint(address account, uint256 amountToBuy) private { uint256 totalCost = amountToBuy.mul(tokenPrice); require(totalCost <= msg.value, "Not enough Ether sent for purchase"); require( _tokenIds.current() + amountToBuy <= MAX_SUPPLY, "not enough supply of tokens" ); require( addressToNumTokensOwned[account] + amountToBuy <= maxPurchaseable, "mint limit reached" ); addressToNumTokensOwned[account] += amountToBuy; for (uint256 i = 0; i < amountToBuy; i++) { require( _tokenIds.current() + 1 <= MAX_SUPPLY, "Token supply limit reach" ); _tokenIds.increment(); uint256 newItemId = _tokenIds.current(); _mint(account, newItemId); } } function tokenURI(uint256 tokenId) public view virtual override(ERC721) returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string( abi.encodePacked( baseURI, "rengoku-", Strings.toString(tokenId), "-nft.json" ) ) : ""; } function isClaimed(uint256 index) public view returns (bool) { uint256 claimedWordIndex = index / 256; uint256 claimedBitIndex = index % 256; uint256 claimedWord = claimedBitMap[claimedWordIndex]; uint256 mask = (1 << claimedBitIndex); return claimedWord & mask == mask; } function _setClaimed(uint256 index) private { uint256 claimedWordIndex = index / 256; uint256 claimedBitIndex = index % 256; claimedBitMap[claimedWordIndex] = claimedBitMap[claimedWordIndex] | (1 << claimedBitIndex); } function burnToken(uint256 tokenId) external { require(_exists(tokenId), "token not found"); require( msg.sender == ERC721.ownerOf(tokenId), "must be owner of token" ); _burn(tokenId); } function getPrice(uint256 amountToBuy) public view returns (uint256) { return amountToBuy.mul(tokenPrice); } function withdraw() external onlyOwner { uint256 balance = address(this).balance; Address.sendValue(payable(_owner1), balance / 2); Address.sendValue(payable(_owner2), balance / 2); } function withdrawOwner() external onlyOwner { uint256 balance = address(this).balance; Address.sendValue(payable(msg.sender), balance); } function setSaleActive(bool active) public onlyOwner { saleIsActive = active; } function _baseURI() internal view override returns (string memory) { return _baseTokenURI; } function setBaseURI(string memory newURI) external onlyOwner { _baseTokenURI = newURI; } function setPrice(uint256 newPrice) external onlyOwner { tokenPrice = newPrice; } function setSaleStartDate(uint256 newSaleStartDate) external onlyOwner { saleStartDate = newSaleStartDate; } function setPresaletartDate(uint256 newDate) external onlyOwner { preSaleStartDate = newDate; } function setMaxPurchaseable(uint16 newMax) external onlyOwner { maxPurchaseable = newMax; } function getTime() external view returns (uint256, uint256) { return (block.timestamp, preSaleStartDate); } /** * Reserve some Samurai */ function reserveTokens(uint32 numToReserve) public onlyOwner { uint256 supply = _tokenIds.current(); require( (MAX_SUPPLY - supply) >= numToReserve, "Not enough tokens to reserve" ); for (uint8 i = 0; i < numToReserve; i++) { _tokenIds.increment(); uint256 newItemId = _tokenIds.current(); _mint(msg.sender, newItemId); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // 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 v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } return computedHash; } }
// 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/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // 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 (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/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 (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 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/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" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"saleStart","type":"uint256"},{"internalType":"uint256","name":"_preSaleStartDate","type":"uint256"},{"internalType":"bytes32","name":"_whitelistRoot","type":"bytes32"},{"internalType":"address","name":"owner1","type":"address"},{"internalType":"address","name":"owner2","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressToNumTokensOwned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burnToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountToBuy","type":"uint256"}],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"isClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPurchaseable","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"amountReserved","type":"uint256"},{"internalType":"uint256","name":"amountToBuy","type":"uint256"}],"name":"mintWhitelist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleStartDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"numToReserve","type":"uint32"}],"name":"reserveTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleStartDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"newMax","type":"uint16"}],"name":"setMaxPurchaseable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newDate","type":"uint256"}],"name":"setPresaletartDate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"active","type":"bool"}],"name":"setSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSaleStartDate","type":"uint256"}],"name":"setSaleStartDate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawOwner","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040526701382d4ca869e000600b556007600c60006101000a81548161ffff021916908361ffff1602179055506001600c60026101000a81548160ff0219169083151502179055506040518060600160405280602581526020016200564360259139601190805190602001906200007a929190620002df565b503480156200008857600080fd5b5060405162005668380380620056688339818101604052810190620000ae9190620003d4565b6040518060400160405280600781526020017f52656e676f6b75000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f52454e0000000000000000000000000000000000000000000000000000000000815250816000908051906020019062000132929190620002df565b5080600190805190602001906200014b929190620002df565b5050506200016e620001626200021160201b60201c565b6200021960201b60201c565b84600d8190555083600e81905550826080818152505081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050505062000551565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002ed906200049e565b90600052602060002090601f0160209004810192826200031157600085556200035d565b82601f106200032c57805160ff19168380011785556200035d565b828001600101855582156200035d579182015b828111156200035c5782518255916020019190600101906200033f565b5b5090506200036c919062000370565b5090565b5b808211156200038b57600081600090555060010162000371565b5090565b600081519050620003a08162000503565b92915050565b600081519050620003b7816200051d565b92915050565b600081519050620003ce8162000537565b92915050565b600080600080600060a08688031215620003ed57600080fd5b6000620003fd88828901620003bd565b95505060206200041088828901620003bd565b94505060406200042388828901620003a6565b935050606062000436888289016200038f565b925050608062000449888289016200038f565b9150509295509295909350565b6000620004638262000474565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006002820490506001821680620004b757607f821691505b60208210811415620004ce57620004cd620004d4565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6200050e8162000456565b81146200051a57600080fd5b50565b62000528816200046a565b81146200053457600080fd5b50565b620005428162000494565b81146200054e57600080fd5b50565b6080516150d66200056d600039600061181f01526150d66000f3fe6080604052600436106102255760003560e01c80637ff9b59611610123578063b88d4fde116100ab578063e8cc00ad1161006f578063e8cc00ad146107e6578063e985e9c5146107fd578063eac3c1ff1461083a578063eb8d244414610865578063f2fde38b1461089057610225565b8063b88d4fde146106fe578063c87b56dd14610727578063d15a652f14610764578063dbcbb1dc14610780578063e7572230146107a957610225565b806391b7f5ed116100f257806391b7f5ed1461062857806395d89b41146106515780639e34070f1461067c578063a0712d68146106b9578063a22cb465146106d557610225565b80637ff9b5961461057e578063841718a6146105a95780638973123c146105d25780638da5cb5b146105fd57610225565b806340317c4a116101b15780636352211e116101755780636352211e1461049b57806370a08231146104d8578063715018a6146105155780637b47ec1a1461052c5780637ff081a21461055557610225565b806340317c4a146103c957806342842e0e146103f25780635055225f1461041b578063557ed1ba1461044657806355f804b31461047257610225565b80630f33454b116101f85780630f33454b146102f857806323b872dd1461032157806332cb6b0c1461034a578063372b7c08146103755780633ccfd60b146103b257610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063095ea7b3146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c91906134d9565b6108b9565b60405161025e9190613ddc565b60405180910390f35b34801561027357600080fd5b5061027c61099b565b6040516102899190613df7565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b49190613595565b610a2d565b6040516102c69190613d75565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f19190613474565b610ab2565b005b34801561030457600080fd5b5061031f600480360381019061031a9190613595565b610bca565b005b34801561032d57600080fd5b506103486004803603810190610343919061336e565b610c50565b005b34801561035657600080fd5b5061035f610cb0565b60405161036c9190614279565b60405180910390f35b34801561038157600080fd5b5061039c60048036038101906103979190613309565b610cb6565b6040516103a99190614294565b60405180910390f35b3480156103be57600080fd5b506103c7610cce565b005b3480156103d557600080fd5b506103f060048036038101906103eb919061356c565b610dc2565b005b3480156103fe57600080fd5b506104196004803603810190610414919061336e565b610e5e565b005b34801561042757600080fd5b50610430610e7e565b60405161043d9190614294565b60405180910390f35b34801561045257600080fd5b5061045b610e84565b6040516104699291906142af565b60405180910390f35b34801561047e57600080fd5b506104996004803603810190610494919061352b565b610e93565b005b3480156104a757600080fd5b506104c260048036038101906104bd9190613595565b610f29565b6040516104cf9190613d75565b60405180910390f35b3480156104e457600080fd5b506104ff60048036038101906104fa9190613309565b610fdb565b60405161050c9190614294565b60405180910390f35b34801561052157600080fd5b5061052a611093565b005b34801561053857600080fd5b50610553600480360381019061054e9190613595565b61111b565b005b34801561056157600080fd5b5061057c60048036038101906105779190613595565b6111e5565b005b34801561058a57600080fd5b5061059361126b565b6040516105a09190614294565b60405180910390f35b3480156105b557600080fd5b506105d060048036038101906105cb91906134b0565b611271565b005b3480156105de57600080fd5b506105e761130a565b6040516105f49190614294565b60405180910390f35b34801561060957600080fd5b50610612611310565b60405161061f9190613d75565b60405180910390f35b34801561063457600080fd5b5061064f600480360381019061064a9190613595565b61133a565b005b34801561065d57600080fd5b506106666113c0565b6040516106739190613df7565b60405180910390f35b34801561068857600080fd5b506106a3600480360381019061069e9190613595565b611452565b6040516106b09190613ddc565b60405180910390f35b6106d360048036038101906106ce9190613595565b6114a8565b005b3480156106e157600080fd5b506106fc60048036038101906106f79190613438565b6115ad565b005b34801561070a57600080fd5b50610725600480360381019061072091906133bd565b6115c3565b005b34801561073357600080fd5b5061074e60048036038101906107499190613595565b611625565b60405161075b9190613df7565b60405180910390f35b61077e600480360381019061077991906135be565b6116cc565b005b34801561078c57600080fd5b506107a760048036038101906107a2919061363e565b611a2d565b005b3480156107b557600080fd5b506107d060048036038101906107cb9190613595565b611b60565b6040516107dd9190614294565b60405180910390f35b3480156107f257600080fd5b506107fb611b7e565b005b34801561080957600080fd5b50610824600480360381019061081f9190613332565b611c0c565b6040516108319190613ddc565b60405180910390f35b34801561084657600080fd5b5061084f611ca0565b60405161085c9190614279565b60405180910390f35b34801561087157600080fd5b5061087a611cb4565b6040516108879190613ddc565b60405180910390f35b34801561089c57600080fd5b506108b760048036038101906108b29190613309565b611cc7565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061098457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610994575061099382611dbf565b5b9050919050565b6060600080546109aa906145ad565b80601f01602080910402602001604051908101604052809291908181526020018280546109d6906145ad565b8015610a235780601f106109f857610100808354040283529160200191610a23565b820191906000526020600020905b815481529060010190602001808311610a0657829003601f168201915b5050505050905090565b6000610a3882611e29565b610a77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6e90614099565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610abd82610f29565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b25906141d9565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b4d611e95565b73ffffffffffffffffffffffffffffffffffffffff161480610b7c5750610b7b81610b76611e95565b611c0c565b5b610bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb290613ff9565b60405180910390fd5b610bc58383611e9d565b505050565b610bd2611e95565b73ffffffffffffffffffffffffffffffffffffffff16610bf0611310565b73ffffffffffffffffffffffffffffffffffffffff1614610c46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3d906140d9565b60405180910390fd5b80600e8190555050565b610c61610c5b611e95565b82611f56565b610ca0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9790614219565b60405180910390fd5b610cab838383612034565b505050565b61225381565b600f6020528060005260406000206000915090505481565b610cd6611e95565b73ffffffffffffffffffffffffffffffffffffffff16610cf4611310565b73ffffffffffffffffffffffffffffffffffffffff1614610d4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d41906140d9565b60405180910390fd5b6000479050610d87600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600283610d829190614403565b612290565b610dbf600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600283610dba9190614403565b612290565b50565b610dca611e95565b73ffffffffffffffffffffffffffffffffffffffff16610de8611310565b73ffffffffffffffffffffffffffffffffffffffff1614610e3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e35906140d9565b60405180910390fd5b80600c60006101000a81548161ffff021916908361ffff16021790555050565b610e79838383604051806020016040528060008152506115c3565b505050565b600e5481565b60008042600e54915091509091565b610e9b611e95565b73ffffffffffffffffffffffffffffffffffffffff16610eb9611310565b73ffffffffffffffffffffffffffffffffffffffff1614610f0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f06906140d9565b60405180910390fd5b8060119080519060200190610f259291906130b9565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc990614039565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561104c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104390614019565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61109b611e95565b73ffffffffffffffffffffffffffffffffffffffff166110b9611310565b73ffffffffffffffffffffffffffffffffffffffff161461110f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611106906140d9565b60405180910390fd5b6111196000612384565b565b61112481611e29565b611163576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115a906140b9565b60405180910390fd5b61116c81610f29565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146111d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d090614159565b60405180910390fd5b6111e28161244a565b50565b6111ed611e95565b73ffffffffffffffffffffffffffffffffffffffff1661120b611310565b73ffffffffffffffffffffffffffffffffffffffff1614611261576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611258906140d9565b60405180910390fd5b80600d8190555050565b600b5481565b611279611e95565b73ffffffffffffffffffffffffffffffffffffffff16611297611310565b73ffffffffffffffffffffffffffffffffffffffff16146112ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e4906140d9565b60405180910390fd5b80600c60026101000a81548160ff02191690831515021790555050565b600d5481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611342611e95565b73ffffffffffffffffffffffffffffffffffffffff16611360611310565b73ffffffffffffffffffffffffffffffffffffffff16146113b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ad906140d9565b60405180910390fd5b80600b8190555050565b6060600180546113cf906145ad565b80601f01602080910402602001604051908101604052809291908181526020018280546113fb906145ad565b80156114485780601f1061141d57610100808354040283529160200191611448565b820191906000526020600020905b81548152906001019060200180831161142b57829003601f168201915b5050505050905090565b600080610100836114639190614403565b905060006101008461147591906146bb565b90506000601060008481526020019081526020016000205490506000826001901b90508081831614945050505050919050565b600d544210156114ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e490613fb9565b60405180910390fd5b600081141580156115125750600c60009054906101000a900461ffff1661ffff168111155b611551576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154890613e39565b60405180910390fd5b600c60029054906101000a900460ff166115a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159790614259565b60405180910390fd5b6115aa338261255b565b50565b6115bf6115b8611e95565b83836127b0565b5050565b6115d46115ce611e95565b83611f56565b611613576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160a90614219565b60405180910390fd5b61161f8484848461291d565b50505050565b606061163082611e29565b61166f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166690614199565b60405180910390fd5b6000611679612979565b9050600081511161169957604051806020016040528060008152506116c4565b806116a384612a0b565b6040516020016116b4929190613ce9565b6040516020818303038152906040525b915050919050565b600c60029054906101000a900460ff1661171b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171290613f19565b60405180910390fd5b600e54421015611760576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611757906140f9565b60405180910390fd5b61176985611452565b156117a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a090614239565b60405180910390fd5b60008533846040516020016117c093929190613d38565b604051602081830303815290604052805190602001209050611844858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050507f000000000000000000000000000000000000000000000000000000000000000083612bb8565b611883576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187a90613fd9565b60405180910390fd5b60018314156118df5762015180600e544261189e919061448e565b116118de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d590613ef9565b60405180910390fd5b5b6202a300600e546118f091906143ad565b4210611931576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192890613e19565b60405180910390fd5b6000339050600083600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461198391906143ad565b9050848111156119c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119bf90613f59565b60405180910390fd5b84600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415611a1957611a1888612bcf565b5b611a23828561255b565b5050505050505050565b611a35611e95565b73ffffffffffffffffffffffffffffffffffffffff16611a53611310565b73ffffffffffffffffffffffffffffffffffffffff1614611aa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa0906140d9565b60405180910390fd5b6000611ab56007612c29565b90508163ffffffff168161225361ffff16611ad0919061448e565b1015611b11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0890614119565b60405180910390fd5b60005b8263ffffffff168160ff161015611b5b57611b2f6007612c37565b6000611b3b6007612c29565b9050611b473382612c4d565b508080611b5390614659565b915050611b14565b505050565b6000611b77600b5483612e1b90919063ffffffff16565b9050919050565b611b86611e95565b73ffffffffffffffffffffffffffffffffffffffff16611ba4611310565b73ffffffffffffffffffffffffffffffffffffffff1614611bfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf1906140d9565b60405180910390fd5b6000479050611c093382612290565b50565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c60009054906101000a900461ffff1681565b600c60029054906101000a900460ff1681565b611ccf611e95565b73ffffffffffffffffffffffffffffffffffffffff16611ced611310565b73ffffffffffffffffffffffffffffffffffffffff1614611d43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3a906140d9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611db3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611daa90613e79565b60405180910390fd5b611dbc81612384565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f1083610f29565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611f6182611e29565b611fa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9790613f99565b60405180910390fd5b6000611fab83610f29565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061201a57508373ffffffffffffffffffffffffffffffffffffffff1661200284610a2d565b73ffffffffffffffffffffffffffffffffffffffff16145b8061202b575061202a8185611c0c565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661205482610f29565b73ffffffffffffffffffffffffffffffffffffffff16146120aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a190614179565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561211a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211190613eb9565b60405180910390fd5b612125838383612e31565b612130600082611e9d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612180919061448e565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121d791906143ad565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b804710156122d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ca90613f79565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516122f990613d23565b60006040518083038185875af1925050503d8060008114612336576040519150601f19603f3d011682016040523d82523d6000602084013e61233b565b606091505b505090508061237f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237690613f39565b60405180910390fd5b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600061245582610f29565b905061246381600084612e31565b61246e600083611e9d565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124be919061448e565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000612572600b5483612e1b90919063ffffffff16565b9050348111156125b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ae906141f9565b60405180910390fd5b61225361ffff16826125c96007612c29565b6125d391906143ad565b1115612614576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260b906141b9565b60405180910390fd5b600c60009054906101000a900461ffff1661ffff1682600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461267491906143ad565b11156126b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ac90614139565b60405180910390fd5b81600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461270491906143ad565b9250508190555060005b828110156127aa5761225361ffff1660016127296007612c29565b61273391906143ad565b1115612774576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276b90614059565b60405180910390fd5b61277e6007612c37565b600061278a6007612c29565b90506127968582612c4d565b5080806127a290614610565b91505061270e565b50505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561281f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281690613ed9565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516129109190613ddc565b60405180910390a3505050565b612928848484612034565b61293484848484612e36565b612973576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296a90613e59565b60405180910390fd5b50505050565b606060118054612988906145ad565b80601f01602080910402602001604051908101604052809291908181526020018280546129b4906145ad565b8015612a015780601f106129d657610100808354040283529160200191612a01565b820191906000526020600020905b8154815290600101906020018083116129e457829003601f168201915b5050505050905090565b60606000821415612a53576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612bb3565b600082905060005b60008214612a85578080612a6e90614610565b915050600a82612a7e9190614403565b9150612a5b565b60008167ffffffffffffffff811115612ac7577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612af95781602001600182028036833780820191505090505b5090505b60008514612bac57600182612b12919061448e565b9150600a85612b2191906146bb565b6030612b2d91906143ad565b60f81b818381518110612b69577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ba59190614403565b9450612afd565b8093505050505b919050565b600082612bc58584612fcd565b1490509392505050565b600061010082612bdf9190614403565b9050600061010083612bf191906146bb565b9050806001901b6010600084815260200190815260200160002054176010600084815260200190815260200160002081905550505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612cbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb490614079565b60405180910390fd5b612cc681611e29565b15612d06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cfd90613e99565b60405180910390fd5b612d1260008383612e31565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d6291906143ad565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60008183612e299190614434565b905092915050565b505050565b6000612e578473ffffffffffffffffffffffffffffffffffffffff166130a6565b15612fc0578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e80611e95565b8786866040518563ffffffff1660e01b8152600401612ea29493929190613d90565b602060405180830381600087803b158015612ebc57600080fd5b505af1925050508015612eed57506040513d601f19601f82011682018060405250810190612eea9190613502565b60015b612f70573d8060008114612f1d576040519150601f19603f3d011682016040523d82523d6000602084013e612f22565b606091505b50600081511415612f68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5f90613e59565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612fc5565b600190505b949350505050565b60008082905060005b845181101561309b57600085828151811061301a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905080831161305b57828160405160200161303e929190613cbd565b604051602081830303815290604052805190602001209250613087565b808360405160200161306e929190613cbd565b6040516020818303038152906040528051906020012092505b50808061309390614610565b915050612fd6565b508091505092915050565b600080823b905060008111915050919050565b8280546130c5906145ad565b90600052602060002090601f0160209004810192826130e7576000855561312e565b82601f1061310057805160ff191683800117855561312e565b8280016001018555821561312e579182015b8281111561312d578251825591602001919060010190613112565b5b50905061313b919061313f565b5090565b5b80821115613158576000816000905550600101613140565b5090565b600061316f61316a846142fd565b6142d8565b90508281526020810184848401111561318757600080fd5b61319284828561456b565b509392505050565b60006131ad6131a88461432e565b6142d8565b9050828152602081018484840111156131c557600080fd5b6131d084828561456b565b509392505050565b6000813590506131e781615016565b92915050565b60008083601f8401126131ff57600080fd5b8235905067ffffffffffffffff81111561321857600080fd5b60208301915083602082028301111561323057600080fd5b9250929050565b6000813590506132468161502d565b92915050565b60008135905061325b81615044565b92915050565b60008151905061327081615044565b92915050565b600082601f83011261328757600080fd5b813561329784826020860161315c565b91505092915050565b600082601f8301126132b157600080fd5b81356132c184826020860161319a565b91505092915050565b6000813590506132d98161505b565b92915050565b6000813590506132ee81615072565b92915050565b60008135905061330381615089565b92915050565b60006020828403121561331b57600080fd5b6000613329848285016131d8565b91505092915050565b6000806040838503121561334557600080fd5b6000613353858286016131d8565b9250506020613364858286016131d8565b9150509250929050565b60008060006060848603121561338357600080fd5b6000613391868287016131d8565b93505060206133a2868287016131d8565b92505060406133b3868287016132df565b9150509250925092565b600080600080608085870312156133d357600080fd5b60006133e1878288016131d8565b94505060206133f2878288016131d8565b9350506040613403878288016132df565b925050606085013567ffffffffffffffff81111561342057600080fd5b61342c87828801613276565b91505092959194509250565b6000806040838503121561344b57600080fd5b6000613459858286016131d8565b925050602061346a85828601613237565b9150509250929050565b6000806040838503121561348757600080fd5b6000613495858286016131d8565b92505060206134a6858286016132df565b9150509250929050565b6000602082840312156134c257600080fd5b60006134d084828501613237565b91505092915050565b6000602082840312156134eb57600080fd5b60006134f98482850161324c565b91505092915050565b60006020828403121561351457600080fd5b600061352284828501613261565b91505092915050565b60006020828403121561353d57600080fd5b600082013567ffffffffffffffff81111561355757600080fd5b613563848285016132a0565b91505092915050565b60006020828403121561357e57600080fd5b600061358c848285016132ca565b91505092915050565b6000602082840312156135a757600080fd5b60006135b5848285016132df565b91505092915050565b6000806000806000608086880312156135d657600080fd5b60006135e4888289016132df565b955050602086013567ffffffffffffffff81111561360157600080fd5b61360d888289016131ed565b94509450506040613620888289016132df565b9250506060613631888289016132df565b9150509295509295909350565b60006020828403121561365057600080fd5b600061365e848285016132f4565b91505092915050565b613670816144c2565b82525050565b613687613682826144c2565b614683565b82525050565b613696816144d4565b82525050565b6136ad6136a8826144e0565b614695565b82525050565b60006136be8261435f565b6136c88185614375565b93506136d881856020860161457a565b6136e1816147a8565b840191505092915050565b60006136f78261436a565b6137018185614391565b935061371181856020860161457a565b61371a816147a8565b840191505092915050565b60006137308261436a565b61373a81856143a2565b935061374a81856020860161457a565b80840191505092915050565b6000613763601183614391565b915061376e826147c6565b602082019050919050565b6000613786600783614391565b9150613791826147ef565b602082019050919050565b60006137a9603283614391565b91506137b482614818565b604082019050919050565b60006137cc602683614391565b91506137d782614867565b604082019050919050565b60006137ef601c83614391565b91506137fa826148b6565b602082019050919050565b6000613812602483614391565b915061381d826148df565b604082019050919050565b6000613835601983614391565b91506138408261492e565b602082019050919050565b6000613858601b83614391565b915061386382614957565b602082019050919050565b600061387b600a83614391565b915061388682614980565b602082019050919050565b600061389e603a83614391565b91506138a9826149a9565b604082019050919050565b60006138c1601f83614391565b91506138cc826149f8565b602082019050919050565b60006138e4601d83614391565b91506138ef82614a21565b602082019050919050565b6000613907602c83614391565b915061391282614a4a565b604082019050919050565b600061392a601383614391565b915061393582614a99565b602082019050919050565b600061394d602183614391565b915061395882614ac2565b604082019050919050565b6000613970603883614391565b915061397b82614b11565b604082019050919050565b60006139936009836143a2565b915061399e82614b60565b600982019050919050565b60006139b6602a83614391565b91506139c182614b89565b604082019050919050565b60006139d9602983614391565b91506139e482614bd8565b604082019050919050565b60006139fc601883614391565b9150613a0782614c27565b602082019050919050565b6000613a1f602083614391565b9150613a2a82614c50565b602082019050919050565b6000613a42602c83614391565b9150613a4d82614c79565b604082019050919050565b6000613a65600f83614391565b9150613a7082614cc8565b602082019050919050565b6000613a88602083614391565b9150613a9382614cf1565b602082019050919050565b6000613aab601683614391565b9150613ab682614d1a565b602082019050919050565b6000613ace601c83614391565b9150613ad982614d43565b602082019050919050565b6000613af1601283614391565b9150613afc82614d6c565b602082019050919050565b6000613b14601683614391565b9150613b1f82614d95565b602082019050919050565b6000613b37602983614391565b9150613b4282614dbe565b604082019050919050565b6000613b5a602f83614391565b9150613b6582614e0d565b604082019050919050565b6000613b7d601b83614391565b9150613b8882614e5c565b602082019050919050565b6000613ba0602183614391565b9150613bab82614e85565b604082019050919050565b6000613bc3602283614391565b9150613bce82614ed4565b604082019050919050565b6000613be6600083614386565b9150613bf182614f23565b600082019050919050565b6000613c09603183614391565b9150613c1482614f26565b604082019050919050565b6000613c2c602b83614391565b9150613c3782614f75565b604082019050919050565b6000613c4f6008836143a2565b9150613c5a82614fc4565b600882019050919050565b6000613c72601283614391565b9150613c7d82614fed565b602082019050919050565b613c9181614516565b82525050565b613ca081614544565b82525050565b613cb7613cb282614544565b6146b1565b82525050565b6000613cc9828561369c565b602082019150613cd9828461369c565b6020820191508190509392505050565b6000613cf58285613725565b9150613d0082613c42565b9150613d0c8284613725565b9150613d1782613986565b91508190509392505050565b6000613d2e82613bd9565b9150819050919050565b6000613d448286613ca6565b602082019150613d548285613676565b601482019150613d648284613ca6565b602082019150819050949350505050565b6000602082019050613d8a6000830184613667565b92915050565b6000608082019050613da56000830187613667565b613db26020830186613667565b613dbf6040830185613c97565b8181036060830152613dd181846136b3565b905095945050505050565b6000602082019050613df1600083018461368d565b92915050565b60006020820190508181036000830152613e1181846136ec565b905092915050565b60006020820190508181036000830152613e3281613756565b9050919050565b60006020820190508181036000830152613e5281613779565b9050919050565b60006020820190508181036000830152613e728161379c565b9050919050565b60006020820190508181036000830152613e92816137bf565b9050919050565b60006020820190508181036000830152613eb2816137e2565b9050919050565b60006020820190508181036000830152613ed281613805565b9050919050565b60006020820190508181036000830152613ef281613828565b9050919050565b60006020820190508181036000830152613f128161384b565b9050919050565b60006020820190508181036000830152613f328161386e565b9050919050565b60006020820190508181036000830152613f5281613891565b9050919050565b60006020820190508181036000830152613f72816138b4565b9050919050565b60006020820190508181036000830152613f92816138d7565b9050919050565b60006020820190508181036000830152613fb2816138fa565b9050919050565b60006020820190508181036000830152613fd28161391d565b9050919050565b60006020820190508181036000830152613ff281613940565b9050919050565b6000602082019050818103600083015261401281613963565b9050919050565b60006020820190508181036000830152614032816139a9565b9050919050565b60006020820190508181036000830152614052816139cc565b9050919050565b60006020820190508181036000830152614072816139ef565b9050919050565b6000602082019050818103600083015261409281613a12565b9050919050565b600060208201905081810360008301526140b281613a35565b9050919050565b600060208201905081810360008301526140d281613a58565b9050919050565b600060208201905081810360008301526140f281613a7b565b9050919050565b6000602082019050818103600083015261411281613a9e565b9050919050565b6000602082019050818103600083015261413281613ac1565b9050919050565b6000602082019050818103600083015261415281613ae4565b9050919050565b6000602082019050818103600083015261417281613b07565b9050919050565b6000602082019050818103600083015261419281613b2a565b9050919050565b600060208201905081810360008301526141b281613b4d565b9050919050565b600060208201905081810360008301526141d281613b70565b9050919050565b600060208201905081810360008301526141f281613b93565b9050919050565b6000602082019050818103600083015261421281613bb6565b9050919050565b6000602082019050818103600083015261423281613bfc565b9050919050565b6000602082019050818103600083015261425281613c1f565b9050919050565b6000602082019050818103600083015261427281613c65565b9050919050565b600060208201905061428e6000830184613c88565b92915050565b60006020820190506142a96000830184613c97565b92915050565b60006040820190506142c46000830185613c97565b6142d16020830184613c97565b9392505050565b60006142e26142f3565b90506142ee82826145df565b919050565b6000604051905090565b600067ffffffffffffffff82111561431857614317614779565b5b614321826147a8565b9050602081019050919050565b600067ffffffffffffffff82111561434957614348614779565b5b614352826147a8565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006143b882614544565b91506143c383614544565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156143f8576143f76146ec565b5b828201905092915050565b600061440e82614544565b915061441983614544565b9250826144295761442861471b565b5b828204905092915050565b600061443f82614544565b915061444a83614544565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614483576144826146ec565b5b828202905092915050565b600061449982614544565b91506144a483614544565b9250828210156144b7576144b66146ec565b5b828203905092915050565b60006144cd82614524565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561459857808201518184015260208101905061457d565b838111156145a7576000848401525b50505050565b600060028204905060018216806145c557607f821691505b602082108114156145d9576145d861474a565b5b50919050565b6145e8826147a8565b810181811067ffffffffffffffff8211171561460757614606614779565b5b80604052505050565b600061461b82614544565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561464e5761464d6146ec565b5b600182019050919050565b60006146648261455e565b915060ff821415614678576146776146ec565b5b600182019050919050565b600061468e8261469f565b9050919050565b6000819050919050565b60006146aa826147b9565b9050919050565b6000819050919050565b60006146c682614544565b91506146d183614544565b9250826146e1576146e061471b565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f50726573616c652068617320656e646564000000000000000000000000000000600082015250565b7f302f6c696d697400000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f706861736520322073616c65206e6f7420616374697665207965740000000000600082015250565b7f4e6f742061637469766500000000000000000000000000000000000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f5573657220617474656d7074696e6720746f2062757920746f6f206d616e7900600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f53616c65206e6f74207965742061637469766500000000000000000000000000600082015250565b7f4d65726b6c654469737472696275746f723a20496e76616c69642070726f6f6660008201527f2e00000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f2d6e66742e6a736f6e0000000000000000000000000000000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f546f6b656e20737570706c79206c696d69742072656163680000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f746f6b656e206e6f7420666f756e640000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f50726573616c65206d7573742062652061637469766500000000000000000000600082015250565b7f4e6f7420656e6f75676820746f6b656e7320746f207265736572766500000000600082015250565b7f6d696e74206c696d697420726561636865640000000000000000000000000000600082015250565b7f6d757374206265206f776e6572206f6620746f6b656e00000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f6e6f7420656e6f75676820737570706c79206f6620746f6b656e730000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f7567682045746865722073656e7420666f722070757263686160008201527f7365000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f596f75206861766520616c7265616479206d696e74656420796f757220616c6c60008201527f6f74656420616d6f756e74000000000000000000000000000000000000000000602082015250565b7f72656e676f6b752d000000000000000000000000000000000000000000000000600082015250565b7f53616c65206e6f74206163746976617465640000000000000000000000000000600082015250565b61501f816144c2565b811461502a57600080fd5b50565b615036816144d4565b811461504157600080fd5b50565b61504d816144ea565b811461505857600080fd5b50565b61506481614516565b811461506f57600080fd5b50565b61507b81614544565b811461508657600080fd5b50565b6150928161454e565b811461509d57600080fd5b5056fea2646970667358221220d97b202a2447ca31e3921180505169242ea21106a0c74a1624f91deb5d68bdb964736f6c6343000804003368747470733a2f2f72656e676f6b752d6e66742e73332e616d617a6f6e6177732e636f6d2f0000000000000000000000000000000000000000000000000000000061e5bcb00000000000000000000000000000000000000000000000000000000061e319b0827986308f6e52c28d5cf3cddafb9aeb1eb72da6aa489c8bd7ee7ca146ba51ef00000000000000000000000040d4886f2772352da2a13508767476f33140e8b7000000000000000000000000a06fe02d5ecbebb8006be8dad0868ea8e5620e25
Deployed Bytecode
0x6080604052600436106102255760003560e01c80637ff9b59611610123578063b88d4fde116100ab578063e8cc00ad1161006f578063e8cc00ad146107e6578063e985e9c5146107fd578063eac3c1ff1461083a578063eb8d244414610865578063f2fde38b1461089057610225565b8063b88d4fde146106fe578063c87b56dd14610727578063d15a652f14610764578063dbcbb1dc14610780578063e7572230146107a957610225565b806391b7f5ed116100f257806391b7f5ed1461062857806395d89b41146106515780639e34070f1461067c578063a0712d68146106b9578063a22cb465146106d557610225565b80637ff9b5961461057e578063841718a6146105a95780638973123c146105d25780638da5cb5b146105fd57610225565b806340317c4a116101b15780636352211e116101755780636352211e1461049b57806370a08231146104d8578063715018a6146105155780637b47ec1a1461052c5780637ff081a21461055557610225565b806340317c4a146103c957806342842e0e146103f25780635055225f1461041b578063557ed1ba1461044657806355f804b31461047257610225565b80630f33454b116101f85780630f33454b146102f857806323b872dd1461032157806332cb6b0c1461034a578063372b7c08146103755780633ccfd60b146103b257610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063095ea7b3146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c91906134d9565b6108b9565b60405161025e9190613ddc565b60405180910390f35b34801561027357600080fd5b5061027c61099b565b6040516102899190613df7565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b49190613595565b610a2d565b6040516102c69190613d75565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f19190613474565b610ab2565b005b34801561030457600080fd5b5061031f600480360381019061031a9190613595565b610bca565b005b34801561032d57600080fd5b506103486004803603810190610343919061336e565b610c50565b005b34801561035657600080fd5b5061035f610cb0565b60405161036c9190614279565b60405180910390f35b34801561038157600080fd5b5061039c60048036038101906103979190613309565b610cb6565b6040516103a99190614294565b60405180910390f35b3480156103be57600080fd5b506103c7610cce565b005b3480156103d557600080fd5b506103f060048036038101906103eb919061356c565b610dc2565b005b3480156103fe57600080fd5b506104196004803603810190610414919061336e565b610e5e565b005b34801561042757600080fd5b50610430610e7e565b60405161043d9190614294565b60405180910390f35b34801561045257600080fd5b5061045b610e84565b6040516104699291906142af565b60405180910390f35b34801561047e57600080fd5b506104996004803603810190610494919061352b565b610e93565b005b3480156104a757600080fd5b506104c260048036038101906104bd9190613595565b610f29565b6040516104cf9190613d75565b60405180910390f35b3480156104e457600080fd5b506104ff60048036038101906104fa9190613309565b610fdb565b60405161050c9190614294565b60405180910390f35b34801561052157600080fd5b5061052a611093565b005b34801561053857600080fd5b50610553600480360381019061054e9190613595565b61111b565b005b34801561056157600080fd5b5061057c60048036038101906105779190613595565b6111e5565b005b34801561058a57600080fd5b5061059361126b565b6040516105a09190614294565b60405180910390f35b3480156105b557600080fd5b506105d060048036038101906105cb91906134b0565b611271565b005b3480156105de57600080fd5b506105e761130a565b6040516105f49190614294565b60405180910390f35b34801561060957600080fd5b50610612611310565b60405161061f9190613d75565b60405180910390f35b34801561063457600080fd5b5061064f600480360381019061064a9190613595565b61133a565b005b34801561065d57600080fd5b506106666113c0565b6040516106739190613df7565b60405180910390f35b34801561068857600080fd5b506106a3600480360381019061069e9190613595565b611452565b6040516106b09190613ddc565b60405180910390f35b6106d360048036038101906106ce9190613595565b6114a8565b005b3480156106e157600080fd5b506106fc60048036038101906106f79190613438565b6115ad565b005b34801561070a57600080fd5b50610725600480360381019061072091906133bd565b6115c3565b005b34801561073357600080fd5b5061074e60048036038101906107499190613595565b611625565b60405161075b9190613df7565b60405180910390f35b61077e600480360381019061077991906135be565b6116cc565b005b34801561078c57600080fd5b506107a760048036038101906107a2919061363e565b611a2d565b005b3480156107b557600080fd5b506107d060048036038101906107cb9190613595565b611b60565b6040516107dd9190614294565b60405180910390f35b3480156107f257600080fd5b506107fb611b7e565b005b34801561080957600080fd5b50610824600480360381019061081f9190613332565b611c0c565b6040516108319190613ddc565b60405180910390f35b34801561084657600080fd5b5061084f611ca0565b60405161085c9190614279565b60405180910390f35b34801561087157600080fd5b5061087a611cb4565b6040516108879190613ddc565b60405180910390f35b34801561089c57600080fd5b506108b760048036038101906108b29190613309565b611cc7565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061098457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610994575061099382611dbf565b5b9050919050565b6060600080546109aa906145ad565b80601f01602080910402602001604051908101604052809291908181526020018280546109d6906145ad565b8015610a235780601f106109f857610100808354040283529160200191610a23565b820191906000526020600020905b815481529060010190602001808311610a0657829003601f168201915b5050505050905090565b6000610a3882611e29565b610a77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6e90614099565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610abd82610f29565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b25906141d9565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b4d611e95565b73ffffffffffffffffffffffffffffffffffffffff161480610b7c5750610b7b81610b76611e95565b611c0c565b5b610bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb290613ff9565b60405180910390fd5b610bc58383611e9d565b505050565b610bd2611e95565b73ffffffffffffffffffffffffffffffffffffffff16610bf0611310565b73ffffffffffffffffffffffffffffffffffffffff1614610c46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3d906140d9565b60405180910390fd5b80600e8190555050565b610c61610c5b611e95565b82611f56565b610ca0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9790614219565b60405180910390fd5b610cab838383612034565b505050565b61225381565b600f6020528060005260406000206000915090505481565b610cd6611e95565b73ffffffffffffffffffffffffffffffffffffffff16610cf4611310565b73ffffffffffffffffffffffffffffffffffffffff1614610d4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d41906140d9565b60405180910390fd5b6000479050610d87600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600283610d829190614403565b612290565b610dbf600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600283610dba9190614403565b612290565b50565b610dca611e95565b73ffffffffffffffffffffffffffffffffffffffff16610de8611310565b73ffffffffffffffffffffffffffffffffffffffff1614610e3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e35906140d9565b60405180910390fd5b80600c60006101000a81548161ffff021916908361ffff16021790555050565b610e79838383604051806020016040528060008152506115c3565b505050565b600e5481565b60008042600e54915091509091565b610e9b611e95565b73ffffffffffffffffffffffffffffffffffffffff16610eb9611310565b73ffffffffffffffffffffffffffffffffffffffff1614610f0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f06906140d9565b60405180910390fd5b8060119080519060200190610f259291906130b9565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc990614039565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561104c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104390614019565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61109b611e95565b73ffffffffffffffffffffffffffffffffffffffff166110b9611310565b73ffffffffffffffffffffffffffffffffffffffff161461110f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611106906140d9565b60405180910390fd5b6111196000612384565b565b61112481611e29565b611163576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115a906140b9565b60405180910390fd5b61116c81610f29565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146111d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d090614159565b60405180910390fd5b6111e28161244a565b50565b6111ed611e95565b73ffffffffffffffffffffffffffffffffffffffff1661120b611310565b73ffffffffffffffffffffffffffffffffffffffff1614611261576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611258906140d9565b60405180910390fd5b80600d8190555050565b600b5481565b611279611e95565b73ffffffffffffffffffffffffffffffffffffffff16611297611310565b73ffffffffffffffffffffffffffffffffffffffff16146112ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e4906140d9565b60405180910390fd5b80600c60026101000a81548160ff02191690831515021790555050565b600d5481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611342611e95565b73ffffffffffffffffffffffffffffffffffffffff16611360611310565b73ffffffffffffffffffffffffffffffffffffffff16146113b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ad906140d9565b60405180910390fd5b80600b8190555050565b6060600180546113cf906145ad565b80601f01602080910402602001604051908101604052809291908181526020018280546113fb906145ad565b80156114485780601f1061141d57610100808354040283529160200191611448565b820191906000526020600020905b81548152906001019060200180831161142b57829003601f168201915b5050505050905090565b600080610100836114639190614403565b905060006101008461147591906146bb565b90506000601060008481526020019081526020016000205490506000826001901b90508081831614945050505050919050565b600d544210156114ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e490613fb9565b60405180910390fd5b600081141580156115125750600c60009054906101000a900461ffff1661ffff168111155b611551576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154890613e39565b60405180910390fd5b600c60029054906101000a900460ff166115a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159790614259565b60405180910390fd5b6115aa338261255b565b50565b6115bf6115b8611e95565b83836127b0565b5050565b6115d46115ce611e95565b83611f56565b611613576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160a90614219565b60405180910390fd5b61161f8484848461291d565b50505050565b606061163082611e29565b61166f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166690614199565b60405180910390fd5b6000611679612979565b9050600081511161169957604051806020016040528060008152506116c4565b806116a384612a0b565b6040516020016116b4929190613ce9565b6040516020818303038152906040525b915050919050565b600c60029054906101000a900460ff1661171b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171290613f19565b60405180910390fd5b600e54421015611760576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611757906140f9565b60405180910390fd5b61176985611452565b156117a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a090614239565b60405180910390fd5b60008533846040516020016117c093929190613d38565b604051602081830303815290604052805190602001209050611844858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050507f827986308f6e52c28d5cf3cddafb9aeb1eb72da6aa489c8bd7ee7ca146ba51ef83612bb8565b611883576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187a90613fd9565b60405180910390fd5b60018314156118df5762015180600e544261189e919061448e565b116118de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d590613ef9565b60405180910390fd5b5b6202a300600e546118f091906143ad565b4210611931576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192890613e19565b60405180910390fd5b6000339050600083600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461198391906143ad565b9050848111156119c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119bf90613f59565b60405180910390fd5b84600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415611a1957611a1888612bcf565b5b611a23828561255b565b5050505050505050565b611a35611e95565b73ffffffffffffffffffffffffffffffffffffffff16611a53611310565b73ffffffffffffffffffffffffffffffffffffffff1614611aa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa0906140d9565b60405180910390fd5b6000611ab56007612c29565b90508163ffffffff168161225361ffff16611ad0919061448e565b1015611b11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0890614119565b60405180910390fd5b60005b8263ffffffff168160ff161015611b5b57611b2f6007612c37565b6000611b3b6007612c29565b9050611b473382612c4d565b508080611b5390614659565b915050611b14565b505050565b6000611b77600b5483612e1b90919063ffffffff16565b9050919050565b611b86611e95565b73ffffffffffffffffffffffffffffffffffffffff16611ba4611310565b73ffffffffffffffffffffffffffffffffffffffff1614611bfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf1906140d9565b60405180910390fd5b6000479050611c093382612290565b50565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c60009054906101000a900461ffff1681565b600c60029054906101000a900460ff1681565b611ccf611e95565b73ffffffffffffffffffffffffffffffffffffffff16611ced611310565b73ffffffffffffffffffffffffffffffffffffffff1614611d43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3a906140d9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611db3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611daa90613e79565b60405180910390fd5b611dbc81612384565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f1083610f29565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611f6182611e29565b611fa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9790613f99565b60405180910390fd5b6000611fab83610f29565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061201a57508373ffffffffffffffffffffffffffffffffffffffff1661200284610a2d565b73ffffffffffffffffffffffffffffffffffffffff16145b8061202b575061202a8185611c0c565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661205482610f29565b73ffffffffffffffffffffffffffffffffffffffff16146120aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a190614179565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561211a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211190613eb9565b60405180910390fd5b612125838383612e31565b612130600082611e9d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612180919061448e565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121d791906143ad565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b804710156122d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ca90613f79565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516122f990613d23565b60006040518083038185875af1925050503d8060008114612336576040519150601f19603f3d011682016040523d82523d6000602084013e61233b565b606091505b505090508061237f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237690613f39565b60405180910390fd5b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600061245582610f29565b905061246381600084612e31565b61246e600083611e9d565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124be919061448e565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000612572600b5483612e1b90919063ffffffff16565b9050348111156125b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ae906141f9565b60405180910390fd5b61225361ffff16826125c96007612c29565b6125d391906143ad565b1115612614576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260b906141b9565b60405180910390fd5b600c60009054906101000a900461ffff1661ffff1682600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461267491906143ad565b11156126b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ac90614139565b60405180910390fd5b81600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461270491906143ad565b9250508190555060005b828110156127aa5761225361ffff1660016127296007612c29565b61273391906143ad565b1115612774576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276b90614059565b60405180910390fd5b61277e6007612c37565b600061278a6007612c29565b90506127968582612c4d565b5080806127a290614610565b91505061270e565b50505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561281f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281690613ed9565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516129109190613ddc565b60405180910390a3505050565b612928848484612034565b61293484848484612e36565b612973576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296a90613e59565b60405180910390fd5b50505050565b606060118054612988906145ad565b80601f01602080910402602001604051908101604052809291908181526020018280546129b4906145ad565b8015612a015780601f106129d657610100808354040283529160200191612a01565b820191906000526020600020905b8154815290600101906020018083116129e457829003601f168201915b5050505050905090565b60606000821415612a53576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612bb3565b600082905060005b60008214612a85578080612a6e90614610565b915050600a82612a7e9190614403565b9150612a5b565b60008167ffffffffffffffff811115612ac7577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612af95781602001600182028036833780820191505090505b5090505b60008514612bac57600182612b12919061448e565b9150600a85612b2191906146bb565b6030612b2d91906143ad565b60f81b818381518110612b69577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ba59190614403565b9450612afd565b8093505050505b919050565b600082612bc58584612fcd565b1490509392505050565b600061010082612bdf9190614403565b9050600061010083612bf191906146bb565b9050806001901b6010600084815260200190815260200160002054176010600084815260200190815260200160002081905550505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612cbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb490614079565b60405180910390fd5b612cc681611e29565b15612d06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cfd90613e99565b60405180910390fd5b612d1260008383612e31565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d6291906143ad565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60008183612e299190614434565b905092915050565b505050565b6000612e578473ffffffffffffffffffffffffffffffffffffffff166130a6565b15612fc0578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e80611e95565b8786866040518563ffffffff1660e01b8152600401612ea29493929190613d90565b602060405180830381600087803b158015612ebc57600080fd5b505af1925050508015612eed57506040513d601f19601f82011682018060405250810190612eea9190613502565b60015b612f70573d8060008114612f1d576040519150601f19603f3d011682016040523d82523d6000602084013e612f22565b606091505b50600081511415612f68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5f90613e59565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612fc5565b600190505b949350505050565b60008082905060005b845181101561309b57600085828151811061301a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905080831161305b57828160405160200161303e929190613cbd565b604051602081830303815290604052805190602001209250613087565b808360405160200161306e929190613cbd565b6040516020818303038152906040528051906020012092505b50808061309390614610565b915050612fd6565b508091505092915050565b600080823b905060008111915050919050565b8280546130c5906145ad565b90600052602060002090601f0160209004810192826130e7576000855561312e565b82601f1061310057805160ff191683800117855561312e565b8280016001018555821561312e579182015b8281111561312d578251825591602001919060010190613112565b5b50905061313b919061313f565b5090565b5b80821115613158576000816000905550600101613140565b5090565b600061316f61316a846142fd565b6142d8565b90508281526020810184848401111561318757600080fd5b61319284828561456b565b509392505050565b60006131ad6131a88461432e565b6142d8565b9050828152602081018484840111156131c557600080fd5b6131d084828561456b565b509392505050565b6000813590506131e781615016565b92915050565b60008083601f8401126131ff57600080fd5b8235905067ffffffffffffffff81111561321857600080fd5b60208301915083602082028301111561323057600080fd5b9250929050565b6000813590506132468161502d565b92915050565b60008135905061325b81615044565b92915050565b60008151905061327081615044565b92915050565b600082601f83011261328757600080fd5b813561329784826020860161315c565b91505092915050565b600082601f8301126132b157600080fd5b81356132c184826020860161319a565b91505092915050565b6000813590506132d98161505b565b92915050565b6000813590506132ee81615072565b92915050565b60008135905061330381615089565b92915050565b60006020828403121561331b57600080fd5b6000613329848285016131d8565b91505092915050565b6000806040838503121561334557600080fd5b6000613353858286016131d8565b9250506020613364858286016131d8565b9150509250929050565b60008060006060848603121561338357600080fd5b6000613391868287016131d8565b93505060206133a2868287016131d8565b92505060406133b3868287016132df565b9150509250925092565b600080600080608085870312156133d357600080fd5b60006133e1878288016131d8565b94505060206133f2878288016131d8565b9350506040613403878288016132df565b925050606085013567ffffffffffffffff81111561342057600080fd5b61342c87828801613276565b91505092959194509250565b6000806040838503121561344b57600080fd5b6000613459858286016131d8565b925050602061346a85828601613237565b9150509250929050565b6000806040838503121561348757600080fd5b6000613495858286016131d8565b92505060206134a6858286016132df565b9150509250929050565b6000602082840312156134c257600080fd5b60006134d084828501613237565b91505092915050565b6000602082840312156134eb57600080fd5b60006134f98482850161324c565b91505092915050565b60006020828403121561351457600080fd5b600061352284828501613261565b91505092915050565b60006020828403121561353d57600080fd5b600082013567ffffffffffffffff81111561355757600080fd5b613563848285016132a0565b91505092915050565b60006020828403121561357e57600080fd5b600061358c848285016132ca565b91505092915050565b6000602082840312156135a757600080fd5b60006135b5848285016132df565b91505092915050565b6000806000806000608086880312156135d657600080fd5b60006135e4888289016132df565b955050602086013567ffffffffffffffff81111561360157600080fd5b61360d888289016131ed565b94509450506040613620888289016132df565b9250506060613631888289016132df565b9150509295509295909350565b60006020828403121561365057600080fd5b600061365e848285016132f4565b91505092915050565b613670816144c2565b82525050565b613687613682826144c2565b614683565b82525050565b613696816144d4565b82525050565b6136ad6136a8826144e0565b614695565b82525050565b60006136be8261435f565b6136c88185614375565b93506136d881856020860161457a565b6136e1816147a8565b840191505092915050565b60006136f78261436a565b6137018185614391565b935061371181856020860161457a565b61371a816147a8565b840191505092915050565b60006137308261436a565b61373a81856143a2565b935061374a81856020860161457a565b80840191505092915050565b6000613763601183614391565b915061376e826147c6565b602082019050919050565b6000613786600783614391565b9150613791826147ef565b602082019050919050565b60006137a9603283614391565b91506137b482614818565b604082019050919050565b60006137cc602683614391565b91506137d782614867565b604082019050919050565b60006137ef601c83614391565b91506137fa826148b6565b602082019050919050565b6000613812602483614391565b915061381d826148df565b604082019050919050565b6000613835601983614391565b91506138408261492e565b602082019050919050565b6000613858601b83614391565b915061386382614957565b602082019050919050565b600061387b600a83614391565b915061388682614980565b602082019050919050565b600061389e603a83614391565b91506138a9826149a9565b604082019050919050565b60006138c1601f83614391565b91506138cc826149f8565b602082019050919050565b60006138e4601d83614391565b91506138ef82614a21565b602082019050919050565b6000613907602c83614391565b915061391282614a4a565b604082019050919050565b600061392a601383614391565b915061393582614a99565b602082019050919050565b600061394d602183614391565b915061395882614ac2565b604082019050919050565b6000613970603883614391565b915061397b82614b11565b604082019050919050565b60006139936009836143a2565b915061399e82614b60565b600982019050919050565b60006139b6602a83614391565b91506139c182614b89565b604082019050919050565b60006139d9602983614391565b91506139e482614bd8565b604082019050919050565b60006139fc601883614391565b9150613a0782614c27565b602082019050919050565b6000613a1f602083614391565b9150613a2a82614c50565b602082019050919050565b6000613a42602c83614391565b9150613a4d82614c79565b604082019050919050565b6000613a65600f83614391565b9150613a7082614cc8565b602082019050919050565b6000613a88602083614391565b9150613a9382614cf1565b602082019050919050565b6000613aab601683614391565b9150613ab682614d1a565b602082019050919050565b6000613ace601c83614391565b9150613ad982614d43565b602082019050919050565b6000613af1601283614391565b9150613afc82614d6c565b602082019050919050565b6000613b14601683614391565b9150613b1f82614d95565b602082019050919050565b6000613b37602983614391565b9150613b4282614dbe565b604082019050919050565b6000613b5a602f83614391565b9150613b6582614e0d565b604082019050919050565b6000613b7d601b83614391565b9150613b8882614e5c565b602082019050919050565b6000613ba0602183614391565b9150613bab82614e85565b604082019050919050565b6000613bc3602283614391565b9150613bce82614ed4565b604082019050919050565b6000613be6600083614386565b9150613bf182614f23565b600082019050919050565b6000613c09603183614391565b9150613c1482614f26565b604082019050919050565b6000613c2c602b83614391565b9150613c3782614f75565b604082019050919050565b6000613c4f6008836143a2565b9150613c5a82614fc4565b600882019050919050565b6000613c72601283614391565b9150613c7d82614fed565b602082019050919050565b613c9181614516565b82525050565b613ca081614544565b82525050565b613cb7613cb282614544565b6146b1565b82525050565b6000613cc9828561369c565b602082019150613cd9828461369c565b6020820191508190509392505050565b6000613cf58285613725565b9150613d0082613c42565b9150613d0c8284613725565b9150613d1782613986565b91508190509392505050565b6000613d2e82613bd9565b9150819050919050565b6000613d448286613ca6565b602082019150613d548285613676565b601482019150613d648284613ca6565b602082019150819050949350505050565b6000602082019050613d8a6000830184613667565b92915050565b6000608082019050613da56000830187613667565b613db26020830186613667565b613dbf6040830185613c97565b8181036060830152613dd181846136b3565b905095945050505050565b6000602082019050613df1600083018461368d565b92915050565b60006020820190508181036000830152613e1181846136ec565b905092915050565b60006020820190508181036000830152613e3281613756565b9050919050565b60006020820190508181036000830152613e5281613779565b9050919050565b60006020820190508181036000830152613e728161379c565b9050919050565b60006020820190508181036000830152613e92816137bf565b9050919050565b60006020820190508181036000830152613eb2816137e2565b9050919050565b60006020820190508181036000830152613ed281613805565b9050919050565b60006020820190508181036000830152613ef281613828565b9050919050565b60006020820190508181036000830152613f128161384b565b9050919050565b60006020820190508181036000830152613f328161386e565b9050919050565b60006020820190508181036000830152613f5281613891565b9050919050565b60006020820190508181036000830152613f72816138b4565b9050919050565b60006020820190508181036000830152613f92816138d7565b9050919050565b60006020820190508181036000830152613fb2816138fa565b9050919050565b60006020820190508181036000830152613fd28161391d565b9050919050565b60006020820190508181036000830152613ff281613940565b9050919050565b6000602082019050818103600083015261401281613963565b9050919050565b60006020820190508181036000830152614032816139a9565b9050919050565b60006020820190508181036000830152614052816139cc565b9050919050565b60006020820190508181036000830152614072816139ef565b9050919050565b6000602082019050818103600083015261409281613a12565b9050919050565b600060208201905081810360008301526140b281613a35565b9050919050565b600060208201905081810360008301526140d281613a58565b9050919050565b600060208201905081810360008301526140f281613a7b565b9050919050565b6000602082019050818103600083015261411281613a9e565b9050919050565b6000602082019050818103600083015261413281613ac1565b9050919050565b6000602082019050818103600083015261415281613ae4565b9050919050565b6000602082019050818103600083015261417281613b07565b9050919050565b6000602082019050818103600083015261419281613b2a565b9050919050565b600060208201905081810360008301526141b281613b4d565b9050919050565b600060208201905081810360008301526141d281613b70565b9050919050565b600060208201905081810360008301526141f281613b93565b9050919050565b6000602082019050818103600083015261421281613bb6565b9050919050565b6000602082019050818103600083015261423281613bfc565b9050919050565b6000602082019050818103600083015261425281613c1f565b9050919050565b6000602082019050818103600083015261427281613c65565b9050919050565b600060208201905061428e6000830184613c88565b92915050565b60006020820190506142a96000830184613c97565b92915050565b60006040820190506142c46000830185613c97565b6142d16020830184613c97565b9392505050565b60006142e26142f3565b90506142ee82826145df565b919050565b6000604051905090565b600067ffffffffffffffff82111561431857614317614779565b5b614321826147a8565b9050602081019050919050565b600067ffffffffffffffff82111561434957614348614779565b5b614352826147a8565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006143b882614544565b91506143c383614544565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156143f8576143f76146ec565b5b828201905092915050565b600061440e82614544565b915061441983614544565b9250826144295761442861471b565b5b828204905092915050565b600061443f82614544565b915061444a83614544565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614483576144826146ec565b5b828202905092915050565b600061449982614544565b91506144a483614544565b9250828210156144b7576144b66146ec565b5b828203905092915050565b60006144cd82614524565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561459857808201518184015260208101905061457d565b838111156145a7576000848401525b50505050565b600060028204905060018216806145c557607f821691505b602082108114156145d9576145d861474a565b5b50919050565b6145e8826147a8565b810181811067ffffffffffffffff8211171561460757614606614779565b5b80604052505050565b600061461b82614544565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561464e5761464d6146ec565b5b600182019050919050565b60006146648261455e565b915060ff821415614678576146776146ec565b5b600182019050919050565b600061468e8261469f565b9050919050565b6000819050919050565b60006146aa826147b9565b9050919050565b6000819050919050565b60006146c682614544565b91506146d183614544565b9250826146e1576146e061471b565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f50726573616c652068617320656e646564000000000000000000000000000000600082015250565b7f302f6c696d697400000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f706861736520322073616c65206e6f7420616374697665207965740000000000600082015250565b7f4e6f742061637469766500000000000000000000000000000000000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f5573657220617474656d7074696e6720746f2062757920746f6f206d616e7900600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f53616c65206e6f74207965742061637469766500000000000000000000000000600082015250565b7f4d65726b6c654469737472696275746f723a20496e76616c69642070726f6f6660008201527f2e00000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f2d6e66742e6a736f6e0000000000000000000000000000000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f546f6b656e20737570706c79206c696d69742072656163680000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f746f6b656e206e6f7420666f756e640000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f50726573616c65206d7573742062652061637469766500000000000000000000600082015250565b7f4e6f7420656e6f75676820746f6b656e7320746f207265736572766500000000600082015250565b7f6d696e74206c696d697420726561636865640000000000000000000000000000600082015250565b7f6d757374206265206f776e6572206f6620746f6b656e00000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f6e6f7420656e6f75676820737570706c79206f6620746f6b656e730000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f7567682045746865722073656e7420666f722070757263686160008201527f7365000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f596f75206861766520616c7265616479206d696e74656420796f757220616c6c60008201527f6f74656420616d6f756e74000000000000000000000000000000000000000000602082015250565b7f72656e676f6b752d000000000000000000000000000000000000000000000000600082015250565b7f53616c65206e6f74206163746976617465640000000000000000000000000000600082015250565b61501f816144c2565b811461502a57600080fd5b50565b615036816144d4565b811461504157600080fd5b50565b61504d816144ea565b811461505857600080fd5b50565b61506481614516565b811461506f57600080fd5b50565b61507b81614544565b811461508657600080fd5b50565b6150928161454e565b811461509d57600080fd5b5056fea2646970667358221220d97b202a2447ca31e3921180505169242ea21106a0c74a1624f91deb5d68bdb964736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000061e5bcb00000000000000000000000000000000000000000000000000000000061e319b0827986308f6e52c28d5cf3cddafb9aeb1eb72da6aa489c8bd7ee7ca146ba51ef00000000000000000000000040d4886f2772352da2a13508767476f33140e8b7000000000000000000000000a06fe02d5ecbebb8006be8dad0868ea8e5620e25
-----Decoded View---------------
Arg [0] : saleStart (uint256): 1642446000
Arg [1] : _preSaleStartDate (uint256): 1642273200
Arg [2] : _whitelistRoot (bytes32): 0x827986308f6e52c28d5cf3cddafb9aeb1eb72da6aa489c8bd7ee7ca146ba51ef
Arg [3] : owner1 (address): 0x40D4886f2772352da2a13508767476f33140e8B7
Arg [4] : owner2 (address): 0xa06FE02D5EcBeBb8006Be8DaD0868Ea8E5620e25
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000061e5bcb0
Arg [1] : 0000000000000000000000000000000000000000000000000000000061e319b0
Arg [2] : 827986308f6e52c28d5cf3cddafb9aeb1eb72da6aa489c8bd7ee7ca146ba51ef
Arg [3] : 00000000000000000000000040d4886f2772352da2a13508767476f33140e8b7
Arg [4] : 000000000000000000000000a06fe02d5ecbebb8006be8dad0868ea8e5620e25
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.