ERC-721
Overview
Max Total Supply
985 UM
Holders
381
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 UMLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
UntamedMatriarchs
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; /************************ * @author: squeebo_nft * ************************/ import "./Blimpie/Delegated.sol"; import "./Blimpie/ERC721EnumerableLite.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; interface IERC721Proxy{ function balanceOf( address owner ) external view returns ( uint ); function ownerOf( uint tokenId ) external view returns ( address owner ); function walletOfOwner( address owner ) external view returns ( uint[] calldata ); } interface GFInterface { function groupBalances(uint id, address owner) external view returns (uint); } contract UntamedMatriarchs is Delegated, ERC721EnumerableLite { using Strings for uint; uint public MAX_ORDER = 20; uint public MAX_SUPPLY = 7000; address public GF_CONTRACT = 0x8744C9F3C2DCA15b306fEFCB1175Ecb22Ecbe01F; address public UE_CONTRACT = 0x613E5136a22206837D12eF7A85f7de2825De1334; address public UC_CONTRACT = 0x7870cc63b6B1AF0AED0D6Dd7c1eFB39300b773eB; uint public basePrice = 0.030 ether; uint public discPrice = 0.035 ether; uint public fullPrice = 0.040 ether; bool public isPaidsaleActive; bool public isWhitelistActive; bool public isUntamedActive; mapping( uint => bool ) public isUsedUE; mapping( uint => bool ) public isUsedUC; mapping( address => uint ) public wlClaim; string private _tokenURIPrefix = ''; string private _tokenURISuffix = ''; constructor() Delegated() ERC721B( "Untamed Matriarchs", "UM", 0 ){ } //external fallback() external payable {} receive() external payable {} function tokenURI(uint tokenId) external view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); return string(abi.encodePacked(_tokenURIPrefix, tokenId.toString(), _tokenURISuffix)); } /** * (1) Phase 1: Public Sale **/ function mint( uint quantity ) external payable{ require( isPaidsaleActive, "Paid sale is not active" ); require( quantity <= MAX_ORDER, "Order too big" ); uint supply = totalSupply(); require( supply + quantity <= MAX_SUPPLY, "Order exceeds supply" ); uint grapes; uint elephants = _countElephants( msg.sender ); if( elephants < 10 ){ grapes = _countGrapes( msg.sender ); } uint price = fullPrice; if( elephants >= 10 || grapes >= 5 ) price = basePrice; else if( elephants > 0 || grapes > 0 ) price = discPrice; require( msg.value >= price * quantity, "Ether sent is not correct" ); for(uint i; i < quantity; ++i){ _safeMint( msg.sender, supply++, "" ); } } /** * (2) Phase 2: Whitelist Claim **/ function whitelistClaim( uint quantity ) external { require( isWhitelistActive, "Free claims are not active" ); require( quantity <= wlClaim[ msg.sender ], "Whitelist expended" ); uint supply = totalSupply(); require( supply + quantity <= MAX_SUPPLY, "Order exceeds supply" ); wlClaim[ msg.sender ] -= quantity; for(uint i; i < quantity; ++i){ _safeMint( msg.sender, supply++, "" ); } } /** * (3) Phase 3: Untamed Claim **/ function untamedClaim( uint quantity, uint[] calldata ueTokens, uint[] calldata ucTokens ) external{ require( isUntamedActive, "Presale is not active" ); require( quantity <= ueTokens.length / 2, "Not enough Elephants (A)" ); require( quantity <= ucTokens.length, "Not enough Companions (A)" ); uint supply = totalSupply(); require( supply + quantity <= MAX_SUPPLY, "Order exceeds supply" ); _requireUeIntersection( ueTokens, quantity * 2 ); _requireUcIntersection( ucTokens, quantity ); for(uint i; i < quantity; ++i){ _safeMint( msg.sender, supply++, "" ); } } //delegated function mintTo(address[] calldata recipient, uint[] calldata quantity) external payable onlyDelegates { require(quantity.length == recipient.length, "Must provide equal quantities and recipients" ); uint totalQuantity; for(uint i; i < quantity.length; ++i){ totalQuantity += quantity[i]; } uint supply = totalSupply(); require( totalQuantity + supply <= MAX_SUPPLY, "Mint/order exceeds supply" ); for(uint i; i < recipient.length; ++i){ for(uint j; j < quantity[i]; ++j){ _safeMint( recipient[i], supply++, "" ); } } } function setActive( bool paidsaleActive, bool whitelistActive, bool untamedActive ) external onlyDelegates{ require( isPaidsaleActive != paidsaleActive || isWhitelistActive != whitelistActive || isUntamedActive != untamedActive, "New values match old" ); isPaidsaleActive = paidsaleActive; isWhitelistActive = whitelistActive; isUntamedActive = untamedActive; } function setBaseURI(string calldata newBaseURI, string calldata newSuffix) external onlyDelegates{ _tokenURIPrefix = newBaseURI; _tokenURISuffix = newSuffix; } function setContracts( address gfAddress, address ueAddress, address ucAddress ) external onlyDelegates { require( GF_CONTRACT != gfAddress || UE_CONTRACT != ueAddress || UC_CONTRACT != ucAddress, "New values match old" ); GF_CONTRACT = gfAddress; UE_CONTRACT = ueAddress; UC_CONTRACT = ucAddress; } function setMax(uint maxOrder, uint maxSupply) external onlyOwner{ require( MAX_ORDER != maxOrder || MAX_SUPPLY != maxSupply, "New value matches old" ); require(maxSupply >= totalSupply(), "Specified supply is lower than current balance" ); MAX_ORDER = maxOrder; MAX_SUPPLY = maxSupply; } function setPrices( uint basePrice_, uint discPrice_, uint fullPrice_ ) external onlyDelegates { require( basePrice != basePrice_ || discPrice != discPrice_ || fullPrice != fullPrice_, "New values match old" ); basePrice = basePrice_; discPrice = discPrice_; fullPrice = fullPrice_; } function setWhitelist( address[] calldata wallets, uint[] calldata quantities ) external onlyDelegates { require(wallets.length > 0, "Must provide at least 1 wallet"); require(wallets.length == quantities.length, "Must provide equal wallets and quantities"); for( uint i; i < wallets.length; ++i ){ wlClaim[ wallets[i] ] = quantities[ i ]; } } //onlyOwner function withdraw() external { require(address(this).balance >= 0, "No funds available"); Address.sendValue(payable(owner()), address(this).balance); } //private function _countElephants( address account ) private view returns( uint ){ return IERC721Proxy( UE_CONTRACT ).balanceOf( account ); } function _countGrapes( address account ) private view returns( uint ){ return GFInterface( GF_CONTRACT ).groupBalances( 1, account ); } function _requireUcIntersection(uint[] memory needles, uint needed) private { uint needle; IERC721Proxy ucProxy = IERC721Proxy( UC_CONTRACT ); uint[] memory ucWallet = ucProxy.walletOfOwner( msg.sender ); for(uint i; i < needles.length; ++i ){ needle = needles[i]; if( isUsedUC[ needle ] ) continue; bool found; for(uint j; j < ucWallet.length; ++j ){ if( isUsedUC[ ucWallet[j] ] ) continue; if( needle == ucWallet[j] ){ found = true; isUsedUC[ needle ] = true; if( --needed == 0 ) return; else break; } } if( !found && needle < 7500 ){ try ucProxy.ownerOf( needle ) returns( address ){} catch{ isUsedUC[ needle ] = true; if( --needed == 0 ) return; } } } revert( "Not enough Companions (B)" ); } function _requireUeIntersection(uint[] memory needles, uint needed) private { uint needle; uint[] memory ucWallet = IERC721Proxy( UE_CONTRACT ).walletOfOwner( msg.sender ); for(uint i; i < needles.length; ++i ){ needle = needles[i]; if( isUsedUE[ needle ] ) continue; for(uint j; j < ucWallet.length; ++j ){ if( isUsedUE[ ucWallet[j] ] ) continue; if( needle == ucWallet[j] ){ isUsedUE[ needle ] = true; if( --needed == 0 ) return; else break; } } } revert( "Not enough Elephants (B)" ); } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; interface IBatch { function isOwnerOf( address account, uint[] calldata tokenIds ) external view returns( bool ); function transferBatch( address from, address to, uint[] calldata tokenIds, bytes calldata data ) external; function walletOfOwner( address account ) external view returns( uint[] memory ); }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; /**************************************** * @author: squeebo_nft * **************************************** * Blimpie-ERC721 provides low-gas * * mints + transfers * ****************************************/ import "./ERC721B.sol"; import "./IBatch.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; abstract contract ERC721EnumerableLite is ERC721B, IBatch, IERC721Enumerable { function isOwnerOf( address account, uint[] calldata tokenIds ) external view virtual override returns( bool ){ for(uint i; i < tokenIds.length; ++i ){ if( _owners[ tokenIds[i] ] != account ) return false; } return true; } function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721B) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } function tokenOfOwnerByIndex(address owner, uint index) public view override returns (uint tokenId) { uint count; for( uint i; i < _owners.length; ++i ){ if( owner == _owners[i] ){ if( count == index ) return i; else ++count; } } require(false, "ERC721Enumerable: owner index out of bounds"); } function tokenByIndex(uint index) external view virtual override returns (uint) { require(index < totalSupply(), "ERC721Enumerable: global index out of bounds"); return index; } function totalSupply() public view virtual override( ERC721B, IERC721Enumerable ) returns (uint) { return _owners.length - _offset; } function transferBatch( address from, address to, uint[] calldata tokenIds, bytes calldata data ) external override{ for(uint i; i < tokenIds.length; ++i ){ safeTransferFrom( from, to, tokenIds[i], data ); } } function walletOfOwner( address account ) external view override returns( uint[] memory ){ uint quantity = balanceOf( account ); uint[] memory wallet = new uint[]( quantity ); for( uint i; i < quantity; ++i ){ wallet[i] = tokenOfOwnerByIndex( account, i ); } return wallet; } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; /**************************************** * @author: squeebo_nft * * @team: GoldenX * **************************************** * Blimpie-ERC721 provides low-gas * * mints + transfers * ****************************************/ import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; abstract contract ERC721B is Context, ERC165, IERC721, IERC721Metadata { using Address for address; string private _name; string private _symbol; uint internal _offset; address[] internal _owners; mapping(uint => address) internal _tokenApprovals; mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_, uint offset) { _name = name_; _symbol = symbol_; _offset = offset; for(uint i; i < _offset; ++i ){ _owners.push(address(0)); } } //public function balanceOf(address owner) public view virtual override returns (uint) { require(owner != address(0), "ERC721: balance query for the zero address"); uint count; for( uint i; i < _owners.length; ++i ){ if( owner == _owners[i] ) ++count; } return count; } function name() external view virtual override returns (string memory) { return _name; } function ownerOf(uint tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } function symbol() external view virtual override returns (string memory) { return _symbol; } function totalSupply() public view virtual returns (uint) { return _owners.length - _offset; } function approve(address to, uint tokenId) external virtual override { address owner = ERC721B.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); } function getApproved(uint tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } function setApprovalForAll(address operator, bool approved) external virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } function transferFrom( address from, address to, uint 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); } function safeTransferFrom( address from, address to, uint tokenId ) external virtual override { safeTransferFrom(from, to, tokenId, ""); } function safeTransferFrom( address from, address to, uint tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } //internal function _approve(address to, uint tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721B.ownerOf(tokenId), to, tokenId); } function _beforeTokenTransfer( address from, address to, uint tokenId ) internal virtual {} function _burn(uint tokenId) internal virtual { address owner = ERC721B.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _owners[tokenId] = address(0); emit Transfer(owner, address(0), tokenId); } function _checkOnERC721Received( address from, address to, uint 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; } } function _exists(uint tokenId) internal view virtual returns (bool) { return tokenId < _owners.length && _owners[tokenId] != address(0); } function _isApprovedOrOwner(address spender, uint tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721B.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } function _mint(address to, uint 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); _owners.push(to); emit Transfer(address(0), to, tokenId); } function _next() internal view virtual returns( uint ){ return _owners.length; } function _safeMint(address to, uint tokenId) internal virtual { _safeMint(to, tokenId, ""); } function _safeMint( address to, uint tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } function _safeTransfer( address from, address to, uint tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } function _transfer( address from, address to, uint tokenId ) internal virtual { require(ERC721B.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); _owners[tokenId] = to; emit Transfer(from, to, tokenId); } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; /*********************** * @author: squeebo_nft * ************************/ import "@openzeppelin/contracts/access/Ownable.sol"; contract Delegated is Ownable{ mapping(address => bool) internal _delegates; constructor(){ _delegates[owner()] = true; } modifier onlyDelegates { require(_delegates[msg.sender], "Invalid delegate" ); _; } //onlyOwner function isDelegate( address addr ) external view onlyOwner returns ( bool ){ return _delegates[addr]; } function setDelegate( address addr, bool isDelegate_ ) external onlyOwner{ _delegates[addr] = isDelegate_; } function transferOwnership(address newOwner) public virtual override onlyOwner { _delegates[newOwner] = true; super.transferOwnership( newOwner ); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"GF_CONTRACT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_ORDER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UC_CONTRACT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UE_CONTRACT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"basePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"discPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fullPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isDelegate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"isOwnerOf","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPaidsaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isUntamedActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"isUsedUC","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"isUsedUE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isWhitelistActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipient","type":"address[]"},{"internalType":"uint256[]","name":"quantity","type":"uint256[]"}],"name":"mintTo","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"paidsaleActive","type":"bool"},{"internalType":"bool","name":"whitelistActive","type":"bool"},{"internalType":"bool","name":"untamedActive","type":"bool"}],"name":"setActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"},{"internalType":"string","name":"newSuffix","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"gfAddress","type":"address"},{"internalType":"address","name":"ueAddress","type":"address"},{"internalType":"address","name":"ucAddress","type":"address"}],"name":"setContracts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"isDelegate_","type":"bool"}],"name":"setDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxOrder","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"setMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"basePrice_","type":"uint256"},{"internalType":"uint256","name":"discPrice_","type":"uint256"},{"internalType":"uint256","name":"fullPrice_","type":"uint256"}],"name":"setPrices","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"wallets","type":"address[]"},{"internalType":"uint256[]","name":"quantities","type":"uint256[]"}],"name":"setWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"transferBatch","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":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256[]","name":"ueTokens","type":"uint256[]"},{"internalType":"uint256[]","name":"ucTokens","type":"uint256[]"}],"name":"untamedClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"whitelistClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"wlClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60146008819055611b58600955600a80546001600160a01b0319908116738744c9f3c2dca15b306fefcb1175ecb22ecbe01f17909155600b8054821673613e5136a22206837d12ef7a85f7de2825de1334179055600c8054909116737870cc63b6b1af0aed0d6dd7c1efb39300b773eb179055666a94d74f430000600d55667c585087238000600e55668e1bc9bf040000600f5560a0604081905260006080819052620000ae92919062000271565b50604080516020810191829052600090819052620000cf9160159162000271565b50348015620000dd57600080fd5b5060405180604001604052806012815260200171556e74616d6564204d61747269617263687360701b81525060405180604001604052806002815260200161554d60f01b8152506000620001406200013a6200021d60201b60201c565b62000221565b6001806000620001586000546001600160a01b031690565b6001600160a01b03168152602080820192909252604001600020805460ff191692151592909217909155835162000196916002919086019062000271565b508151620001ac90600390602085019062000271565b50600481905560005b6004548110156200021357600580546001810182556000919091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b03191690556200020b8162000317565b9050620001b5565b505050506200037e565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200027f9062000341565b90600052602060002090601f016020900481019282620002a35760008555620002ee565b82601f10620002be57805160ff1916838001178555620002ee565b82800160010185558215620002ee579182015b82811115620002ee578251825591602001919060010190620002d1565b50620002fc92915062000300565b5090565b5b80821115620002fc576000815560010162000301565b60006000198214156200033a57634e487b7160e01b600052601160045260246000fd5b5060010190565b600181811c908216806200035657607f821691505b602082108114156200037857634e487b7160e01b600052602260045260246000fd5b50919050565b61382f806200038e6000396000f3fe6080604052600436106102975760003560e01c80635d0713d411610166578063a88fe42d116100d3578063d1b5b7bb1161008f578063ec15a8901161006c578063ec15a89014610869578063edd634b814610889578063f013e0e11461089f578063f2fde38b146108bf57005b8063d1b5b7bb146107ea578063d492a0191461080a578063e985e9c51461082057005b8063a88fe42d14610734578063b3066d4914610754578063b534a5c414610774578063b88d4fde14610794578063c7876ea4146107b4578063c87b56dd146107ca57005b8063715018a611610122578063715018a6146106995780638da5cb5b146106ae57806395d89b41146106cc5780639b11d888146106e1578063a0712d6814610701578063a22cb4651461071457005b80635d0713d4146105ec57806362cff5c11461060c5780636352211e146106265780636790a9de1461064657806369add11d1461066657806370a082311461067957005b806333221d61116102045780634a994eef116101c05780634a994eef146105375780634d44660c146105575780634f6ccce7146105775780634ff855ca1461059757806350c5a00c146105b7578063524513d6146105cd57005b806333221d61146104685780633b91ceef146104885780633ccfd60b146104a857806342842e0e146104bd5780634337bb26146104dd578063438b63001461050a57005b806318160ddd1161025357806318160ddd1461039f57806322a27441146103c257806323b872dd146103f257806326719e98146104125780632f745c591461043257806332cb6b0c1461045257005b806301ffc9a7146102a057806306fdde03146102d557806307779627146102f7578063081812fc14610317578063095ea7b31461034f5780630ffcdd7f1461036f57005b3661029e57005b005b3480156102ac57600080fd5b506102c06102bb366004612ccc565b6108df565b60405190151581526020015b60405180910390f35b3480156102e157600080fd5b506102ea61090a565b6040516102cc9190612d41565b34801561030357600080fd5b506102c0610312366004612d69565b61099c565b34801561032357600080fd5b50610337610332366004612d86565b6109f3565b6040516001600160a01b0390911681526020016102cc565b34801561035b57600080fd5b5061029e61036a366004612d9f565b610a7b565b34801561037b57600080fd5b506102c061038a366004612d86565b60116020526000908152604090205460ff1681565b3480156103ab57600080fd5b506103b4610b91565b6040519081526020016102cc565b3480156103ce57600080fd5b506102c06103dd366004612d86565b60126020526000908152604090205460ff1681565b3480156103fe57600080fd5b5061029e61040d366004612dcb565b610ba8565b34801561041e57600080fd5b506010546102c09062010000900460ff1681565b34801561043e57600080fd5b506103b461044d366004612d9f565b610bd9565b34801561045e57600080fd5b506103b460095481565b34801561047457600080fd5b5061029e610483366004612e58565b610ca5565b34801561049457600080fd5b5061029e6104a3366004612ed2565b610ea7565b3480156104b457600080fd5b5061029e610fa1565b3480156104c957600080fd5b5061029e6104d8366004612dcb565b610fbe565b3480156104e957600080fd5b506103b46104f8366004612d69565b60136020526000908152604090205481565b34801561051657600080fd5b5061052a610525366004612d69565b610fd9565b6040516102cc9190612ef4565b34801561054357600080fd5b5061029e610552366004612f48565b611079565b34801561056357600080fd5b506102c0610572366004612f7d565b6110ce565b34801561058357600080fd5b506103b4610592366004612d86565b611150565b3480156105a357600080fd5b5061029e6105b2366004612fd2565b6111c1565b3480156105c357600080fd5b506103b460085481565b3480156105d957600080fd5b506010546102c090610100900460ff1681565b3480156105f857600080fd5b50600b54610337906001600160a01b031681565b34801561061857600080fd5b506010546102c09060ff1681565b34801561063257600080fd5b50610337610641366004612d86565b611287565b34801561065257600080fd5b5061029e610661366004613057565b611313565b61029e6106743660046130c3565b611362565b34801561068557600080fd5b506103b4610694366004612d69565b61153a565b3480156106a557600080fd5b5061029e611608565b3480156106ba57600080fd5b506000546001600160a01b0316610337565b3480156106d857600080fd5b506102ea61163c565b3480156106ed57600080fd5b50600c54610337906001600160a01b031681565b61029e61070f366004612d86565b61164b565b34801561072057600080fd5b5061029e61072f366004612f48565b611816565b34801561074057600080fd5b5061029e61074f366004613123565b6118db565b34801561076057600080fd5b5061029e61076f36600461314f565b611954565b34801561078057600080fd5b5061029e61078f36600461319a565b611a22565b3480156107a057600080fd5b5061029e6107af366004613276565b611a97565b3480156107c057600080fd5b506103b4600d5481565b3480156107d657600080fd5b506102ea6107e5366004612d86565b611acf565b3480156107f657600080fd5b50600a54610337906001600160a01b031681565b34801561081657600080fd5b506103b4600e5481565b34801561082c57600080fd5b506102c061083b36600461333a565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561087557600080fd5b5061029e610884366004612d86565b611b73565b34801561089557600080fd5b506103b4600f5481565b3480156108ab57600080fd5b5061029e6108ba3660046130c3565b611ca4565b3480156108cb57600080fd5b5061029e6108da366004612d69565b611dfa565b60006001600160e01b0319821663780e9d6360e01b1480610904575061090482611e56565b92915050565b60606002805461091990613373565b80601f016020809104026020016040519081016040528092919081815260200182805461094590613373565b80156109925780601f1061096757610100808354040283529160200191610992565b820191906000526020600020905b81548152906001019060200180831161097557829003601f168201915b5050505050905090565b600080546001600160a01b031633146109d05760405162461bcd60e51b81526004016109c7906133ae565b60405180910390fd5b506001600160a01b03811660009081526001602052604090205460ff165b919050565b60006109fe82611ea6565b610a5f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109c7565b506000908152600660205260409020546001600160a01b031690565b6000610a8682611287565b9050806001600160a01b0316836001600160a01b03161415610af45760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016109c7565b336001600160a01b0382161480610b105750610b10813361083b565b610b825760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109c7565b610b8c8383611ef0565b505050565b600454600554600091610ba3916133f9565b905090565b610bb23382611f5e565b610bce5760405162461bcd60e51b81526004016109c790613410565b610b8c838383612048565b60008060005b600554811015610c485760058181548110610bfc57610bfc613461565b6000918252602090912001546001600160a01b0386811691161415610c385783821415610c2c5791506109049050565b610c3582613477565b91505b610c4181613477565b9050610bdf565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016109c7565b60105462010000900460ff16610cf55760405162461bcd60e51b815260206004820152601560248201527450726573616c65206973206e6f742061637469766560581b60448201526064016109c7565b610d006002846134a8565b851115610d4f5760405162461bcd60e51b815260206004820152601860248201527f4e6f7420656e6f75676820456c657068616e747320284129000000000000000060448201526064016109c7565b80851115610d9f5760405162461bcd60e51b815260206004820152601960248201527f4e6f7420656e6f75676820436f6d70616e696f6e73202841290000000000000060448201526064016109c7565b6000610da9610b91565b600954909150610db987836134bc565b1115610dd75760405162461bcd60e51b81526004016109c7906134d4565b610e20858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250610e1b92508a915060029050613502565b61219e565b610e5e8383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508a925061236a915050565b60005b86811015610e9e57610e8e3383610e7781613477565b9450604051806020016040528060008152506125f1565b610e9781613477565b9050610e61565b50505050505050565b6000546001600160a01b03163314610ed15760405162461bcd60e51b81526004016109c7906133ae565b81600854141580610ee457508060095414155b610f285760405162461bcd60e51b815260206004820152601560248201527413995dc81d985b1d59481b585d18da195cc81bdb19605a1b60448201526064016109c7565b610f30610b91565b811015610f965760405162461bcd60e51b815260206004820152602e60248201527f53706563696669656420737570706c79206973206c6f776572207468616e206360448201526d757272656e742062616c616e636560901b60648201526084016109c7565b600891909155600955565b610fbc610fb66000546001600160a01b031690565b47612624565b565b610b8c83838360405180602001604052806000815250611a97565b60606000610fe68361153a565b905060008167ffffffffffffffff8111156110035761100361322f565b60405190808252806020026020018201604052801561102c578160200160208202803683370190505b50905060005b82811015611071576110448582610bd9565b82828151811061105657611056613461565b602090810291909101015261106a81613477565b9050611032565b509392505050565b6000546001600160a01b031633146110a35760405162461bcd60e51b81526004016109c7906133ae565b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b6000805b8281101561114357846001600160a01b031660058585848181106110f8576110f8613461565b905060200201358154811061110f5761110f613461565b6000918252602090912001546001600160a01b031614611133576000915050611149565b61113c81613477565b90506110d2565b50600190505b9392505050565b600061115a610b91565b82106111bd5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016109c7565b5090565b3360009081526001602052604090205460ff166111f05760405162461bcd60e51b81526004016109c790613521565b60105460ff161515831515141580611217575060105460ff61010090910416151582151514155b80611232575060105460ff6201000090910416151581151514155b61124e5760405162461bcd60e51b81526004016109c79061354b565b6010805461ffff191693151561ff00191693909317610100921515929092029190911762ff000019166201000091151591909102179055565b6000806005838154811061129d5761129d613461565b6000918252602090912001546001600160a01b03169050806109045760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016109c7565b3360009081526001602052604090205460ff166113425760405162461bcd60e51b81526004016109c790613521565b61134e60148585612c26565b5061135b60158383612c26565b5050505050565b3360009081526001602052604090205460ff166113915760405162461bcd60e51b81526004016109c790613521565b8083146113f55760405162461bcd60e51b815260206004820152602c60248201527f4d7573742070726f7669646520657175616c207175616e74697469657320616e60448201526b6420726563697069656e747360a01b60648201526084016109c7565b6000805b828110156114375783838281811061141357611413613461565b905060200201358261142591906134bc565b915061143081613477565b90506113f9565b506000611442610b91565b60095490915061145282846134bc565b11156114a05760405162461bcd60e51b815260206004820152601960248201527f4d696e742f6f72646572206578636565647320737570706c790000000000000060448201526064016109c7565b60005b85811015610e9e5760005b8585838181106114c0576114c0613461565b90506020020135811015611529576115198888848181106114e3576114e3613461565b90506020020160208101906114f89190612d69565b8461150281613477565b9550604051806020016040528060008152506125f1565b61152281613477565b90506114ae565b5061153381613477565b90506114a3565b60006001600160a01b0382166115a55760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016109c7565b6000805b60055481101561160157600581815481106115c6576115c6613461565b6000918252602090912001546001600160a01b03858116911614156115f1576115ee82613477565b91505b6115fa81613477565b90506115a9565b5092915050565b6000546001600160a01b031633146116325760405162461bcd60e51b81526004016109c7906133ae565b610fbc600061273d565b60606003805461091990613373565b60105460ff1661169d5760405162461bcd60e51b815260206004820152601760248201527f506169642073616c65206973206e6f742061637469766500000000000000000060448201526064016109c7565b6008548111156116df5760405162461bcd60e51b815260206004820152600d60248201526c4f7264657220746f6f2062696760981b60448201526064016109c7565b60006116e9610b91565b6009549091506116f983836134bc565b11156117175760405162461bcd60e51b81526004016109c7906134d4565b6000806117233361278d565b9050600a81101561173a57611737336127fd565b91505b600f54600a8210158061174e575060058310155b1561175c5750600d54611775565b600082118061176b5750600083115b156117755750600e545b61177f8582613502565b3410156117ce5760405162461bcd60e51b815260206004820152601960248201527f45746865722073656e74206973206e6f7420636f72726563740000000000000060448201526064016109c7565b60005b8581101561180e576117fe33866117e781613477565b9750604051806020016040528060008152506125f1565b61180781613477565b90506117d1565b505050505050565b6001600160a01b03821633141561186f5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109c7565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b3360009081526001602052604090205460ff1661190a5760405162461bcd60e51b81526004016109c790613521565b82600d5414158061191d575081600e5414155b8061192a575080600f5414155b6119465760405162461bcd60e51b81526004016109c79061354b565b600d92909255600e55600f55565b3360009081526001602052604090205460ff166119835760405162461bcd60e51b81526004016109c790613521565b600a546001600160a01b0384811691161415806119ae5750600b546001600160a01b03838116911614155b806119c75750600c546001600160a01b03828116911614155b6119e35760405162461bcd60e51b81526004016109c79061354b565b600a80546001600160a01b039485166001600160a01b031991821617909155600b805493851693821693909317909255600c8054919093169116179055565b60005b83811015610e9e57611a878787878785818110611a4457611a44613461565b9050602002013586868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611a9792505050565b611a9081613477565b9050611a25565b611aa13383611f5e565b611abd5760405162461bcd60e51b81526004016109c790613410565b611ac984848484612837565b50505050565b6060611ada82611ea6565b611b3e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109c7565b6014611b498361286a565b6015604051602001611b5d93929190613613565b6040516020818303038152906040529050919050565b601054610100900460ff16611bca5760405162461bcd60e51b815260206004820152601a60248201527f4672656520636c61696d7320617265206e6f742061637469766500000000000060448201526064016109c7565b33600090815260136020526040902054811115611c1e5760405162461bcd60e51b815260206004820152601260248201527115da1a5d195b1a5cdd08195e1c195b99195960721b60448201526064016109c7565b6000611c28610b91565b600954909150611c3883836134bc565b1115611c565760405162461bcd60e51b81526004016109c7906134d4565b3360009081526013602052604081208054849290611c759084906133f9565b90915550600090505b82811015610b8c57611c943383610e7781613477565b611c9d81613477565b9050611c7e565b3360009081526001602052604090205460ff16611cd35760405162461bcd60e51b81526004016109c790613521565b82611d205760405162461bcd60e51b815260206004820152601e60248201527f4d7573742070726f76696465206174206c6561737420312077616c6c6574000060448201526064016109c7565b828114611d815760405162461bcd60e51b815260206004820152602960248201527f4d7573742070726f7669646520657175616c2077616c6c65747320616e64207160448201526875616e74697469657360b81b60648201526084016109c7565b60005b8381101561135b57828282818110611d9e57611d9e613461565b9050602002013560136000878785818110611dbb57611dbb613461565b9050602002016020810190611dd09190612d69565b6001600160a01b03168152602081019190915260400160002055611df381613477565b9050611d84565b6000546001600160a01b03163314611e245760405162461bcd60e51b81526004016109c7906133ae565b6001600160a01b0381166000908152600160208190526040909120805460ff19169091179055611e5381612968565b50565b60006001600160e01b031982166380ac58cd60e01b1480611e8757506001600160e01b03198216635b5e139f60e01b145b8061090457506301ffc9a760e01b6001600160e01b0319831614610904565b60055460009082108015610904575060006001600160a01b031660058381548110611ed357611ed3613461565b6000918252602090912001546001600160a01b0316141592915050565b600081815260066020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611f2582611287565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611f6982611ea6565b611fca5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109c7565b6000611fd583611287565b9050806001600160a01b0316846001600160a01b031614806120105750836001600160a01b0316612005846109f3565b6001600160a01b0316145b8061204057506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661205b82611287565b6001600160a01b0316146120c35760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016109c7565b6001600160a01b0382166121255760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109c7565b612130600082611ef0565b816005828154811061214457612144613461565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600b5460405162438b6360e81b815233600482015260009182916001600160a01b039091169063438b630090602401600060405180830381865afa1580156121ea573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526122129190810190613646565b905060005b84518110156123215784818151811061223257612232613461565b6020908102919091018101516000818152601190925260409091205490935060ff161561225e57612311565b60005b825181101561230f576011600084838151811061228057612280613461565b60209081029190910181015182528101919091526040016000205460ff16156122a8576122ff565b8281815181106122ba576122ba613461565b60200260200101518414156122ff576000848152601160205260409020805460ff191660011790556122eb856136ec565b9450846122fa57505050505050565b61230f565b61230881613477565b9050612261565b505b61231a81613477565b9050612217565b5060405162461bcd60e51b815260206004820152601860248201527f4e6f7420656e6f75676820456c657068616e747320284229000000000000000060448201526064016109c7565b600c5460405162438b6360e81b81523360048201526000916001600160a01b0316908290829063438b630090602401600060405180830381865afa1580156123b6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526123de9190810190613646565b905060005b85518110156125a8578581815181106123fe576123fe613461565b6020908102919091018101516000818152601290925260409091205490945060ff161561242a57612598565b6000805b83518110156124e3576012600085838151811061244d5761244d613461565b60209081029190910181015182528101919091526040016000205460ff1615612475576124d3565b83818151811061248757612487613461565b60200260200101518614156124d3576000868152601260205260409020805460ff1916600190811790915591506124bd876136ec565b9650866124ce575050505050505050565b6124e3565b6124dc81613477565b905061242e565b50801580156124f35750611d4c85105b15612596576040516331a9108f60e11b8152600481018690526001600160a01b03851690636352211e90602401602060405180830381865afa925050508015612559575060408051601f3d908101601f1916820190925261255691810190613703565b60015b612594576000858152601260205260409020805460ff1916600117905561257f866136ec565b95508561258f5750505050505050565b612596565b505b505b6125a181613477565b90506123e3565b5060405162461bcd60e51b815260206004820152601960248201527f4e6f7420656e6f75676820436f6d70616e696f6e73202842290000000000000060448201526064016109c7565b6125fb8383612a00565b6126086000848484612b28565b610b8c5760405162461bcd60e51b81526004016109c790613720565b804710156126745760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016109c7565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146126c1576040519150601f19603f3d011682016040523d82523d6000602084013e6126c6565b606091505b5050905080610b8c5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016109c7565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600b546040516370a0823160e01b81526001600160a01b03838116600483015260009216906370a08231906024015b602060405180830381865afa1580156127d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109049190613772565b600a5460405163558e156160e01b8152600160048201526001600160a01b038381166024830152600092169063558e1561906044016127bc565b612842848484612048565b61284e84848484612b28565b611ac95760405162461bcd60e51b81526004016109c790613720565b60608161288e5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156128b857806128a281613477565b91506128b19050600a836134a8565b9150612892565b60008167ffffffffffffffff8111156128d3576128d361322f565b6040519080825280601f01601f1916602001820160405280156128fd576020820181803683370190505b5090505b8415612040576129126001836133f9565b915061291f600a8661378b565b61292a9060306134bc565b60f81b81838151811061293f5761293f613461565b60200101906001600160f81b031916908160001a905350612961600a866134a8565b9450612901565b6000546001600160a01b031633146129925760405162461bcd60e51b81526004016109c7906133ae565b6001600160a01b0381166129f75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109c7565b611e538161273d565b6001600160a01b038216612a565760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109c7565b612a5f81611ea6565b15612aac5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109c7565b6005805460018101825560009182527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b15612c1b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612b6c90339089908890889060040161379f565b6020604051808303816000875af1925050508015612ba7575060408051601f3d908101601f19168201909252612ba4918101906137dc565b60015b612c01573d808015612bd5576040519150601f19603f3d011682016040523d82523d6000602084013e612bda565b606091505b508051612bf95760405162461bcd60e51b81526004016109c790613720565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612040565b506001949350505050565b828054612c3290613373565b90600052602060002090601f016020900481019282612c545760008555612c9a565b82601f10612c6d5782800160ff19823516178555612c9a565b82800160010185558215612c9a579182015b82811115612c9a578235825591602001919060010190612c7f565b506111bd9291505b808211156111bd5760008155600101612ca2565b6001600160e01b031981168114611e5357600080fd5b600060208284031215612cde57600080fd5b813561114981612cb6565b60005b83811015612d04578181015183820152602001612cec565b83811115611ac95750506000910152565b60008151808452612d2d816020860160208601612ce9565b601f01601f19169290920160200192915050565b6020815260006111496020830184612d15565b6001600160a01b0381168114611e5357600080fd5b600060208284031215612d7b57600080fd5b813561114981612d54565b600060208284031215612d9857600080fd5b5035919050565b60008060408385031215612db257600080fd5b8235612dbd81612d54565b946020939093013593505050565b600080600060608486031215612de057600080fd5b8335612deb81612d54565b92506020840135612dfb81612d54565b929592945050506040919091013590565b60008083601f840112612e1e57600080fd5b50813567ffffffffffffffff811115612e3657600080fd5b6020830191508360208260051b8501011115612e5157600080fd5b9250929050565b600080600080600060608688031215612e7057600080fd5b85359450602086013567ffffffffffffffff80821115612e8f57600080fd5b612e9b89838a01612e0c565b90965094506040880135915080821115612eb457600080fd5b50612ec188828901612e0c565b969995985093965092949392505050565b60008060408385031215612ee557600080fd5b50508035926020909101359150565b6020808252825182820181905260009190848201906040850190845b81811015612f2c57835183529284019291840191600101612f10565b50909695505050505050565b803580151581146109ee57600080fd5b60008060408385031215612f5b57600080fd5b8235612f6681612d54565b9150612f7460208401612f38565b90509250929050565b600080600060408486031215612f9257600080fd5b8335612f9d81612d54565b9250602084013567ffffffffffffffff811115612fb957600080fd5b612fc586828701612e0c565b9497909650939450505050565b600080600060608486031215612fe757600080fd5b612ff084612f38565b9250612ffe60208501612f38565b915061300c60408501612f38565b90509250925092565b60008083601f84011261302757600080fd5b50813567ffffffffffffffff81111561303f57600080fd5b602083019150836020828501011115612e5157600080fd5b6000806000806040858703121561306d57600080fd5b843567ffffffffffffffff8082111561308557600080fd5b61309188838901613015565b909650945060208701359150808211156130aa57600080fd5b506130b787828801613015565b95989497509550505050565b600080600080604085870312156130d957600080fd5b843567ffffffffffffffff808211156130f157600080fd5b6130fd88838901612e0c565b9096509450602087013591508082111561311657600080fd5b506130b787828801612e0c565b60008060006060848603121561313857600080fd5b505081359360208301359350604090920135919050565b60008060006060848603121561316457600080fd5b833561316f81612d54565b9250602084013561317f81612d54565b9150604084013561318f81612d54565b809150509250925092565b600080600080600080608087890312156131b357600080fd5b86356131be81612d54565b955060208701356131ce81612d54565b9450604087013567ffffffffffffffff808211156131eb57600080fd5b6131f78a838b01612e0c565b9096509450606089013591508082111561321057600080fd5b5061321d89828a01613015565b979a9699509497509295939492505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561326e5761326e61322f565b604052919050565b6000806000806080858703121561328c57600080fd5b843561329781612d54565b93506020858101356132a881612d54565b935060408601359250606086013567ffffffffffffffff808211156132cc57600080fd5b818801915088601f8301126132e057600080fd5b8135818111156132f2576132f261322f565b613304601f8201601f19168501613245565b9150808252898482850101111561331a57600080fd5b808484018584013760008482840101525080935050505092959194509250565b6000806040838503121561334d57600080fd5b823561335881612d54565b9150602083013561336881612d54565b809150509250929050565b600181811c9082168061338757607f821691505b602082108114156133a857634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008282101561340b5761340b6133e3565b500390565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b600060001982141561348b5761348b6133e3565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826134b7576134b7613492565b500490565b600082198211156134cf576134cf6133e3565b500190565b6020808252601490820152734f72646572206578636565647320737570706c7960601b604082015260600190565b600081600019048311821515161561351c5761351c6133e3565b500290565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b60208082526014908201527313995dc81d985b1d595cc81b585d18da081bdb1960621b604082015260600190565b8054600090600181811c908083168061359357607f831692505b60208084108214156135b557634e487b7160e01b600052602260045260246000fd5b8180156135c957600181146135da57613607565b60ff19861689528489019650613607565b60008881526020902060005b868110156135ff5781548b8201529085019083016135e6565b505084890196505b50505050505092915050565b600061361f8286613579565b845161362f818360208901612ce9565b61363b81830186613579565b979650505050505050565b6000602080838503121561365957600080fd5b825167ffffffffffffffff8082111561367157600080fd5b818501915085601f83011261368557600080fd5b8151818111156136975761369761322f565b8060051b91506136a8848301613245565b81815291830184019184810190888411156136c257600080fd5b938501935b838510156136e0578451825293850193908501906136c7565b98975050505050505050565b6000816136fb576136fb6133e3565b506000190190565b60006020828403121561371557600080fd5b815161114981612d54565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60006020828403121561378457600080fd5b5051919050565b60008261379a5761379a613492565b500690565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906137d290830184612d15565b9695505050505050565b6000602082840312156137ee57600080fd5b815161114981612cb656fea2646970667358221220d10449969e5031b3041442390a89bb76f3b6813a0785afcf840df71f52d661a664736f6c634300080a0033
Deployed Bytecode
0x6080604052600436106102975760003560e01c80635d0713d411610166578063a88fe42d116100d3578063d1b5b7bb1161008f578063ec15a8901161006c578063ec15a89014610869578063edd634b814610889578063f013e0e11461089f578063f2fde38b146108bf57005b8063d1b5b7bb146107ea578063d492a0191461080a578063e985e9c51461082057005b8063a88fe42d14610734578063b3066d4914610754578063b534a5c414610774578063b88d4fde14610794578063c7876ea4146107b4578063c87b56dd146107ca57005b8063715018a611610122578063715018a6146106995780638da5cb5b146106ae57806395d89b41146106cc5780639b11d888146106e1578063a0712d6814610701578063a22cb4651461071457005b80635d0713d4146105ec57806362cff5c11461060c5780636352211e146106265780636790a9de1461064657806369add11d1461066657806370a082311461067957005b806333221d61116102045780634a994eef116101c05780634a994eef146105375780634d44660c146105575780634f6ccce7146105775780634ff855ca1461059757806350c5a00c146105b7578063524513d6146105cd57005b806333221d61146104685780633b91ceef146104885780633ccfd60b146104a857806342842e0e146104bd5780634337bb26146104dd578063438b63001461050a57005b806318160ddd1161025357806318160ddd1461039f57806322a27441146103c257806323b872dd146103f257806326719e98146104125780632f745c591461043257806332cb6b0c1461045257005b806301ffc9a7146102a057806306fdde03146102d557806307779627146102f7578063081812fc14610317578063095ea7b31461034f5780630ffcdd7f1461036f57005b3661029e57005b005b3480156102ac57600080fd5b506102c06102bb366004612ccc565b6108df565b60405190151581526020015b60405180910390f35b3480156102e157600080fd5b506102ea61090a565b6040516102cc9190612d41565b34801561030357600080fd5b506102c0610312366004612d69565b61099c565b34801561032357600080fd5b50610337610332366004612d86565b6109f3565b6040516001600160a01b0390911681526020016102cc565b34801561035b57600080fd5b5061029e61036a366004612d9f565b610a7b565b34801561037b57600080fd5b506102c061038a366004612d86565b60116020526000908152604090205460ff1681565b3480156103ab57600080fd5b506103b4610b91565b6040519081526020016102cc565b3480156103ce57600080fd5b506102c06103dd366004612d86565b60126020526000908152604090205460ff1681565b3480156103fe57600080fd5b5061029e61040d366004612dcb565b610ba8565b34801561041e57600080fd5b506010546102c09062010000900460ff1681565b34801561043e57600080fd5b506103b461044d366004612d9f565b610bd9565b34801561045e57600080fd5b506103b460095481565b34801561047457600080fd5b5061029e610483366004612e58565b610ca5565b34801561049457600080fd5b5061029e6104a3366004612ed2565b610ea7565b3480156104b457600080fd5b5061029e610fa1565b3480156104c957600080fd5b5061029e6104d8366004612dcb565b610fbe565b3480156104e957600080fd5b506103b46104f8366004612d69565b60136020526000908152604090205481565b34801561051657600080fd5b5061052a610525366004612d69565b610fd9565b6040516102cc9190612ef4565b34801561054357600080fd5b5061029e610552366004612f48565b611079565b34801561056357600080fd5b506102c0610572366004612f7d565b6110ce565b34801561058357600080fd5b506103b4610592366004612d86565b611150565b3480156105a357600080fd5b5061029e6105b2366004612fd2565b6111c1565b3480156105c357600080fd5b506103b460085481565b3480156105d957600080fd5b506010546102c090610100900460ff1681565b3480156105f857600080fd5b50600b54610337906001600160a01b031681565b34801561061857600080fd5b506010546102c09060ff1681565b34801561063257600080fd5b50610337610641366004612d86565b611287565b34801561065257600080fd5b5061029e610661366004613057565b611313565b61029e6106743660046130c3565b611362565b34801561068557600080fd5b506103b4610694366004612d69565b61153a565b3480156106a557600080fd5b5061029e611608565b3480156106ba57600080fd5b506000546001600160a01b0316610337565b3480156106d857600080fd5b506102ea61163c565b3480156106ed57600080fd5b50600c54610337906001600160a01b031681565b61029e61070f366004612d86565b61164b565b34801561072057600080fd5b5061029e61072f366004612f48565b611816565b34801561074057600080fd5b5061029e61074f366004613123565b6118db565b34801561076057600080fd5b5061029e61076f36600461314f565b611954565b34801561078057600080fd5b5061029e61078f36600461319a565b611a22565b3480156107a057600080fd5b5061029e6107af366004613276565b611a97565b3480156107c057600080fd5b506103b4600d5481565b3480156107d657600080fd5b506102ea6107e5366004612d86565b611acf565b3480156107f657600080fd5b50600a54610337906001600160a01b031681565b34801561081657600080fd5b506103b4600e5481565b34801561082c57600080fd5b506102c061083b36600461333a565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561087557600080fd5b5061029e610884366004612d86565b611b73565b34801561089557600080fd5b506103b4600f5481565b3480156108ab57600080fd5b5061029e6108ba3660046130c3565b611ca4565b3480156108cb57600080fd5b5061029e6108da366004612d69565b611dfa565b60006001600160e01b0319821663780e9d6360e01b1480610904575061090482611e56565b92915050565b60606002805461091990613373565b80601f016020809104026020016040519081016040528092919081815260200182805461094590613373565b80156109925780601f1061096757610100808354040283529160200191610992565b820191906000526020600020905b81548152906001019060200180831161097557829003601f168201915b5050505050905090565b600080546001600160a01b031633146109d05760405162461bcd60e51b81526004016109c7906133ae565b60405180910390fd5b506001600160a01b03811660009081526001602052604090205460ff165b919050565b60006109fe82611ea6565b610a5f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109c7565b506000908152600660205260409020546001600160a01b031690565b6000610a8682611287565b9050806001600160a01b0316836001600160a01b03161415610af45760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016109c7565b336001600160a01b0382161480610b105750610b10813361083b565b610b825760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109c7565b610b8c8383611ef0565b505050565b600454600554600091610ba3916133f9565b905090565b610bb23382611f5e565b610bce5760405162461bcd60e51b81526004016109c790613410565b610b8c838383612048565b60008060005b600554811015610c485760058181548110610bfc57610bfc613461565b6000918252602090912001546001600160a01b0386811691161415610c385783821415610c2c5791506109049050565b610c3582613477565b91505b610c4181613477565b9050610bdf565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016109c7565b60105462010000900460ff16610cf55760405162461bcd60e51b815260206004820152601560248201527450726573616c65206973206e6f742061637469766560581b60448201526064016109c7565b610d006002846134a8565b851115610d4f5760405162461bcd60e51b815260206004820152601860248201527f4e6f7420656e6f75676820456c657068616e747320284129000000000000000060448201526064016109c7565b80851115610d9f5760405162461bcd60e51b815260206004820152601960248201527f4e6f7420656e6f75676820436f6d70616e696f6e73202841290000000000000060448201526064016109c7565b6000610da9610b91565b600954909150610db987836134bc565b1115610dd75760405162461bcd60e51b81526004016109c7906134d4565b610e20858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250610e1b92508a915060029050613502565b61219e565b610e5e8383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508a925061236a915050565b60005b86811015610e9e57610e8e3383610e7781613477565b9450604051806020016040528060008152506125f1565b610e9781613477565b9050610e61565b50505050505050565b6000546001600160a01b03163314610ed15760405162461bcd60e51b81526004016109c7906133ae565b81600854141580610ee457508060095414155b610f285760405162461bcd60e51b815260206004820152601560248201527413995dc81d985b1d59481b585d18da195cc81bdb19605a1b60448201526064016109c7565b610f30610b91565b811015610f965760405162461bcd60e51b815260206004820152602e60248201527f53706563696669656420737570706c79206973206c6f776572207468616e206360448201526d757272656e742062616c616e636560901b60648201526084016109c7565b600891909155600955565b610fbc610fb66000546001600160a01b031690565b47612624565b565b610b8c83838360405180602001604052806000815250611a97565b60606000610fe68361153a565b905060008167ffffffffffffffff8111156110035761100361322f565b60405190808252806020026020018201604052801561102c578160200160208202803683370190505b50905060005b82811015611071576110448582610bd9565b82828151811061105657611056613461565b602090810291909101015261106a81613477565b9050611032565b509392505050565b6000546001600160a01b031633146110a35760405162461bcd60e51b81526004016109c7906133ae565b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b6000805b8281101561114357846001600160a01b031660058585848181106110f8576110f8613461565b905060200201358154811061110f5761110f613461565b6000918252602090912001546001600160a01b031614611133576000915050611149565b61113c81613477565b90506110d2565b50600190505b9392505050565b600061115a610b91565b82106111bd5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016109c7565b5090565b3360009081526001602052604090205460ff166111f05760405162461bcd60e51b81526004016109c790613521565b60105460ff161515831515141580611217575060105460ff61010090910416151582151514155b80611232575060105460ff6201000090910416151581151514155b61124e5760405162461bcd60e51b81526004016109c79061354b565b6010805461ffff191693151561ff00191693909317610100921515929092029190911762ff000019166201000091151591909102179055565b6000806005838154811061129d5761129d613461565b6000918252602090912001546001600160a01b03169050806109045760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016109c7565b3360009081526001602052604090205460ff166113425760405162461bcd60e51b81526004016109c790613521565b61134e60148585612c26565b5061135b60158383612c26565b5050505050565b3360009081526001602052604090205460ff166113915760405162461bcd60e51b81526004016109c790613521565b8083146113f55760405162461bcd60e51b815260206004820152602c60248201527f4d7573742070726f7669646520657175616c207175616e74697469657320616e60448201526b6420726563697069656e747360a01b60648201526084016109c7565b6000805b828110156114375783838281811061141357611413613461565b905060200201358261142591906134bc565b915061143081613477565b90506113f9565b506000611442610b91565b60095490915061145282846134bc565b11156114a05760405162461bcd60e51b815260206004820152601960248201527f4d696e742f6f72646572206578636565647320737570706c790000000000000060448201526064016109c7565b60005b85811015610e9e5760005b8585838181106114c0576114c0613461565b90506020020135811015611529576115198888848181106114e3576114e3613461565b90506020020160208101906114f89190612d69565b8461150281613477565b9550604051806020016040528060008152506125f1565b61152281613477565b90506114ae565b5061153381613477565b90506114a3565b60006001600160a01b0382166115a55760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016109c7565b6000805b60055481101561160157600581815481106115c6576115c6613461565b6000918252602090912001546001600160a01b03858116911614156115f1576115ee82613477565b91505b6115fa81613477565b90506115a9565b5092915050565b6000546001600160a01b031633146116325760405162461bcd60e51b81526004016109c7906133ae565b610fbc600061273d565b60606003805461091990613373565b60105460ff1661169d5760405162461bcd60e51b815260206004820152601760248201527f506169642073616c65206973206e6f742061637469766500000000000000000060448201526064016109c7565b6008548111156116df5760405162461bcd60e51b815260206004820152600d60248201526c4f7264657220746f6f2062696760981b60448201526064016109c7565b60006116e9610b91565b6009549091506116f983836134bc565b11156117175760405162461bcd60e51b81526004016109c7906134d4565b6000806117233361278d565b9050600a81101561173a57611737336127fd565b91505b600f54600a8210158061174e575060058310155b1561175c5750600d54611775565b600082118061176b5750600083115b156117755750600e545b61177f8582613502565b3410156117ce5760405162461bcd60e51b815260206004820152601960248201527f45746865722073656e74206973206e6f7420636f72726563740000000000000060448201526064016109c7565b60005b8581101561180e576117fe33866117e781613477565b9750604051806020016040528060008152506125f1565b61180781613477565b90506117d1565b505050505050565b6001600160a01b03821633141561186f5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109c7565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b3360009081526001602052604090205460ff1661190a5760405162461bcd60e51b81526004016109c790613521565b82600d5414158061191d575081600e5414155b8061192a575080600f5414155b6119465760405162461bcd60e51b81526004016109c79061354b565b600d92909255600e55600f55565b3360009081526001602052604090205460ff166119835760405162461bcd60e51b81526004016109c790613521565b600a546001600160a01b0384811691161415806119ae5750600b546001600160a01b03838116911614155b806119c75750600c546001600160a01b03828116911614155b6119e35760405162461bcd60e51b81526004016109c79061354b565b600a80546001600160a01b039485166001600160a01b031991821617909155600b805493851693821693909317909255600c8054919093169116179055565b60005b83811015610e9e57611a878787878785818110611a4457611a44613461565b9050602002013586868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611a9792505050565b611a9081613477565b9050611a25565b611aa13383611f5e565b611abd5760405162461bcd60e51b81526004016109c790613410565b611ac984848484612837565b50505050565b6060611ada82611ea6565b611b3e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109c7565b6014611b498361286a565b6015604051602001611b5d93929190613613565b6040516020818303038152906040529050919050565b601054610100900460ff16611bca5760405162461bcd60e51b815260206004820152601a60248201527f4672656520636c61696d7320617265206e6f742061637469766500000000000060448201526064016109c7565b33600090815260136020526040902054811115611c1e5760405162461bcd60e51b815260206004820152601260248201527115da1a5d195b1a5cdd08195e1c195b99195960721b60448201526064016109c7565b6000611c28610b91565b600954909150611c3883836134bc565b1115611c565760405162461bcd60e51b81526004016109c7906134d4565b3360009081526013602052604081208054849290611c759084906133f9565b90915550600090505b82811015610b8c57611c943383610e7781613477565b611c9d81613477565b9050611c7e565b3360009081526001602052604090205460ff16611cd35760405162461bcd60e51b81526004016109c790613521565b82611d205760405162461bcd60e51b815260206004820152601e60248201527f4d7573742070726f76696465206174206c6561737420312077616c6c6574000060448201526064016109c7565b828114611d815760405162461bcd60e51b815260206004820152602960248201527f4d7573742070726f7669646520657175616c2077616c6c65747320616e64207160448201526875616e74697469657360b81b60648201526084016109c7565b60005b8381101561135b57828282818110611d9e57611d9e613461565b9050602002013560136000878785818110611dbb57611dbb613461565b9050602002016020810190611dd09190612d69565b6001600160a01b03168152602081019190915260400160002055611df381613477565b9050611d84565b6000546001600160a01b03163314611e245760405162461bcd60e51b81526004016109c7906133ae565b6001600160a01b0381166000908152600160208190526040909120805460ff19169091179055611e5381612968565b50565b60006001600160e01b031982166380ac58cd60e01b1480611e8757506001600160e01b03198216635b5e139f60e01b145b8061090457506301ffc9a760e01b6001600160e01b0319831614610904565b60055460009082108015610904575060006001600160a01b031660058381548110611ed357611ed3613461565b6000918252602090912001546001600160a01b0316141592915050565b600081815260066020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611f2582611287565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611f6982611ea6565b611fca5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109c7565b6000611fd583611287565b9050806001600160a01b0316846001600160a01b031614806120105750836001600160a01b0316612005846109f3565b6001600160a01b0316145b8061204057506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661205b82611287565b6001600160a01b0316146120c35760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016109c7565b6001600160a01b0382166121255760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109c7565b612130600082611ef0565b816005828154811061214457612144613461565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600b5460405162438b6360e81b815233600482015260009182916001600160a01b039091169063438b630090602401600060405180830381865afa1580156121ea573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526122129190810190613646565b905060005b84518110156123215784818151811061223257612232613461565b6020908102919091018101516000818152601190925260409091205490935060ff161561225e57612311565b60005b825181101561230f576011600084838151811061228057612280613461565b60209081029190910181015182528101919091526040016000205460ff16156122a8576122ff565b8281815181106122ba576122ba613461565b60200260200101518414156122ff576000848152601160205260409020805460ff191660011790556122eb856136ec565b9450846122fa57505050505050565b61230f565b61230881613477565b9050612261565b505b61231a81613477565b9050612217565b5060405162461bcd60e51b815260206004820152601860248201527f4e6f7420656e6f75676820456c657068616e747320284229000000000000000060448201526064016109c7565b600c5460405162438b6360e81b81523360048201526000916001600160a01b0316908290829063438b630090602401600060405180830381865afa1580156123b6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526123de9190810190613646565b905060005b85518110156125a8578581815181106123fe576123fe613461565b6020908102919091018101516000818152601290925260409091205490945060ff161561242a57612598565b6000805b83518110156124e3576012600085838151811061244d5761244d613461565b60209081029190910181015182528101919091526040016000205460ff1615612475576124d3565b83818151811061248757612487613461565b60200260200101518614156124d3576000868152601260205260409020805460ff1916600190811790915591506124bd876136ec565b9650866124ce575050505050505050565b6124e3565b6124dc81613477565b905061242e565b50801580156124f35750611d4c85105b15612596576040516331a9108f60e11b8152600481018690526001600160a01b03851690636352211e90602401602060405180830381865afa925050508015612559575060408051601f3d908101601f1916820190925261255691810190613703565b60015b612594576000858152601260205260409020805460ff1916600117905561257f866136ec565b95508561258f5750505050505050565b612596565b505b505b6125a181613477565b90506123e3565b5060405162461bcd60e51b815260206004820152601960248201527f4e6f7420656e6f75676820436f6d70616e696f6e73202842290000000000000060448201526064016109c7565b6125fb8383612a00565b6126086000848484612b28565b610b8c5760405162461bcd60e51b81526004016109c790613720565b804710156126745760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016109c7565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146126c1576040519150601f19603f3d011682016040523d82523d6000602084013e6126c6565b606091505b5050905080610b8c5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016109c7565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600b546040516370a0823160e01b81526001600160a01b03838116600483015260009216906370a08231906024015b602060405180830381865afa1580156127d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109049190613772565b600a5460405163558e156160e01b8152600160048201526001600160a01b038381166024830152600092169063558e1561906044016127bc565b612842848484612048565b61284e84848484612b28565b611ac95760405162461bcd60e51b81526004016109c790613720565b60608161288e5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156128b857806128a281613477565b91506128b19050600a836134a8565b9150612892565b60008167ffffffffffffffff8111156128d3576128d361322f565b6040519080825280601f01601f1916602001820160405280156128fd576020820181803683370190505b5090505b8415612040576129126001836133f9565b915061291f600a8661378b565b61292a9060306134bc565b60f81b81838151811061293f5761293f613461565b60200101906001600160f81b031916908160001a905350612961600a866134a8565b9450612901565b6000546001600160a01b031633146129925760405162461bcd60e51b81526004016109c7906133ae565b6001600160a01b0381166129f75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109c7565b611e538161273d565b6001600160a01b038216612a565760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109c7565b612a5f81611ea6565b15612aac5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109c7565b6005805460018101825560009182527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b15612c1b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612b6c90339089908890889060040161379f565b6020604051808303816000875af1925050508015612ba7575060408051601f3d908101601f19168201909252612ba4918101906137dc565b60015b612c01573d808015612bd5576040519150601f19603f3d011682016040523d82523d6000602084013e612bda565b606091505b508051612bf95760405162461bcd60e51b81526004016109c790613720565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612040565b506001949350505050565b828054612c3290613373565b90600052602060002090601f016020900481019282612c545760008555612c9a565b82601f10612c6d5782800160ff19823516178555612c9a565b82800160010185558215612c9a579182015b82811115612c9a578235825591602001919060010190612c7f565b506111bd9291505b808211156111bd5760008155600101612ca2565b6001600160e01b031981168114611e5357600080fd5b600060208284031215612cde57600080fd5b813561114981612cb6565b60005b83811015612d04578181015183820152602001612cec565b83811115611ac95750506000910152565b60008151808452612d2d816020860160208601612ce9565b601f01601f19169290920160200192915050565b6020815260006111496020830184612d15565b6001600160a01b0381168114611e5357600080fd5b600060208284031215612d7b57600080fd5b813561114981612d54565b600060208284031215612d9857600080fd5b5035919050565b60008060408385031215612db257600080fd5b8235612dbd81612d54565b946020939093013593505050565b600080600060608486031215612de057600080fd5b8335612deb81612d54565b92506020840135612dfb81612d54565b929592945050506040919091013590565b60008083601f840112612e1e57600080fd5b50813567ffffffffffffffff811115612e3657600080fd5b6020830191508360208260051b8501011115612e5157600080fd5b9250929050565b600080600080600060608688031215612e7057600080fd5b85359450602086013567ffffffffffffffff80821115612e8f57600080fd5b612e9b89838a01612e0c565b90965094506040880135915080821115612eb457600080fd5b50612ec188828901612e0c565b969995985093965092949392505050565b60008060408385031215612ee557600080fd5b50508035926020909101359150565b6020808252825182820181905260009190848201906040850190845b81811015612f2c57835183529284019291840191600101612f10565b50909695505050505050565b803580151581146109ee57600080fd5b60008060408385031215612f5b57600080fd5b8235612f6681612d54565b9150612f7460208401612f38565b90509250929050565b600080600060408486031215612f9257600080fd5b8335612f9d81612d54565b9250602084013567ffffffffffffffff811115612fb957600080fd5b612fc586828701612e0c565b9497909650939450505050565b600080600060608486031215612fe757600080fd5b612ff084612f38565b9250612ffe60208501612f38565b915061300c60408501612f38565b90509250925092565b60008083601f84011261302757600080fd5b50813567ffffffffffffffff81111561303f57600080fd5b602083019150836020828501011115612e5157600080fd5b6000806000806040858703121561306d57600080fd5b843567ffffffffffffffff8082111561308557600080fd5b61309188838901613015565b909650945060208701359150808211156130aa57600080fd5b506130b787828801613015565b95989497509550505050565b600080600080604085870312156130d957600080fd5b843567ffffffffffffffff808211156130f157600080fd5b6130fd88838901612e0c565b9096509450602087013591508082111561311657600080fd5b506130b787828801612e0c565b60008060006060848603121561313857600080fd5b505081359360208301359350604090920135919050565b60008060006060848603121561316457600080fd5b833561316f81612d54565b9250602084013561317f81612d54565b9150604084013561318f81612d54565b809150509250925092565b600080600080600080608087890312156131b357600080fd5b86356131be81612d54565b955060208701356131ce81612d54565b9450604087013567ffffffffffffffff808211156131eb57600080fd5b6131f78a838b01612e0c565b9096509450606089013591508082111561321057600080fd5b5061321d89828a01613015565b979a9699509497509295939492505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561326e5761326e61322f565b604052919050565b6000806000806080858703121561328c57600080fd5b843561329781612d54565b93506020858101356132a881612d54565b935060408601359250606086013567ffffffffffffffff808211156132cc57600080fd5b818801915088601f8301126132e057600080fd5b8135818111156132f2576132f261322f565b613304601f8201601f19168501613245565b9150808252898482850101111561331a57600080fd5b808484018584013760008482840101525080935050505092959194509250565b6000806040838503121561334d57600080fd5b823561335881612d54565b9150602083013561336881612d54565b809150509250929050565b600181811c9082168061338757607f821691505b602082108114156133a857634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008282101561340b5761340b6133e3565b500390565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b600060001982141561348b5761348b6133e3565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826134b7576134b7613492565b500490565b600082198211156134cf576134cf6133e3565b500190565b6020808252601490820152734f72646572206578636565647320737570706c7960601b604082015260600190565b600081600019048311821515161561351c5761351c6133e3565b500290565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b60208082526014908201527313995dc81d985b1d595cc81b585d18da081bdb1960621b604082015260600190565b8054600090600181811c908083168061359357607f831692505b60208084108214156135b557634e487b7160e01b600052602260045260246000fd5b8180156135c957600181146135da57613607565b60ff19861689528489019650613607565b60008881526020902060005b868110156135ff5781548b8201529085019083016135e6565b505084890196505b50505050505092915050565b600061361f8286613579565b845161362f818360208901612ce9565b61363b81830186613579565b979650505050505050565b6000602080838503121561365957600080fd5b825167ffffffffffffffff8082111561367157600080fd5b818501915085601f83011261368557600080fd5b8151818111156136975761369761322f565b8060051b91506136a8848301613245565b81815291830184019184810190888411156136c257600080fd5b938501935b838510156136e0578451825293850193908501906136c7565b98975050505050505050565b6000816136fb576136fb6133e3565b506000190190565b60006020828403121561371557600080fd5b815161114981612d54565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60006020828403121561378457600080fd5b5051919050565b60008261379a5761379a613492565b500690565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906137d290830184612d15565b9695505050505050565b6000602082840312156137ee57600080fd5b815161114981612cb656fea2646970667358221220d10449969e5031b3041442390a89bb76f3b6813a0785afcf840df71f52d661a664736f6c634300080a0033
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.