Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
0 BLUES
Holders
201
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 BLUESLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Blues
Compiler Version
v0.8.2+commit.661d1103
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED // File: @openzeppelin/contracts/utils/introspection/IERC165.sol pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol // File: @openzeppelin/contracts/utils/introspection/ERC165.sol pragma solidity ^0.8.0; /** * @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; } } // File: @openzeppelin/contracts/utils/Strings.sol pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require( address(this).balance >= amount, "Address: insufficient balance" ); (bool success, ) = recipient.call{value: amount}(""); require( success, "Address: unable to send value, recipient may have reverted" ); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue( target, data, value, "Address: low-level call with value failed" ); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require( address(this).balance >= value, "Address: insufficient balance for call" ); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}( data ); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall( target, data, "Address: low-level static call failed" ); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall( target, data, "Address: low-level delegate call failed" ); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/Context.sol pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol pragma solidity ^0.8.0; 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; } pragma solidity ^0.8.0; 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); } contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require( owner != address(0), "ERC721: balance query for the zero address" ); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require( owner != address(0), "ERC721: owner query for nonexistent token" ); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require( _exists(tokenId), "ERC721: approved query for nonexistent token" ); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved" ); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved" ); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require( _exists(tokenId), "ERC721: operator query for nonexistent token" ); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require( ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner" ); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received( _msgSender(), from, tokenId, _data ) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert( "ERC721: transfer to non ERC721Receiver implementer" ); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // File: @openzeppelin/contracts/access/Ownable.sol pragma solidity ^0.8.0; /** * @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); } } /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } contract SignatureVerifier { function getMessageHash(string memory _addr) internal pure returns (bytes32) { return keccak256(abi.encodePacked(_addr)); } function getEthSignedMessageHash(bytes32 _messageHash) internal pure returns (bytes32) { return keccak256( abi.encodePacked( "\x19Ethereum Signed Message:\n32", _messageHash ) ); } function verify( string memory _addr, bytes memory signature, address signer ) public pure returns (bool) { bytes32 messageHash = getMessageHash(_addr); bytes32 ethSignedMessageHash = getEthSignedMessageHash(messageHash); return recoverSigner(ethSignedMessageHash, signature) == signer; } function recoverSigner( bytes32 _ethSignedMessageHash, bytes memory _signature ) public pure returns (address) { (bytes32 r, bytes32 s, uint8 v) = splitSignature(_signature); return ecrecover(_ethSignedMessageHash, v, r, s); } function splitSignature(bytes memory sig) internal pure returns ( bytes32 r, bytes32 s, uint8 v ) { require(sig.length == 65, "invalid signature length"); assembly { r := mload(add(sig, 32)) s := mload(add(sig, 64)) v := byte(0, mload(add(sig, 96))) } } } library OpenSeaGasFreeListing { /** @notice Returns whether the operator is an OpenSea proxy for the owner, thus allowing it to list without the token owner paying gas. @dev ERC{721,1155}.isApprovedForAll should be overriden to also check if this function returns true. */ function isApprovedForAll(address owner, address operator) internal view returns (bool) { ProxyRegistry registry; assembly { switch chainid() case 1 { // mainnet registry := 0xa5409ec958c83c3f309868babaca7c86dcb077c1 } case 4 { // rinkeby registry := 0xf57b2c51ded3a29e6891aba85459d600256cf317 } } return address(registry) != address(0) && address(registry.proxies(owner)) == operator; } } contract OwnableDelegateProxy {} contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; } pragma solidity ^0.8.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn( token, abi.encodeWithSelector(token.transfer.selector, to, value) ); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn( token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value) ); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn( token, abi.encodeWithSelector(token.approve.selector, spender, value) ); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn( token, abi.encodeWithSelector( token.approve.selector, spender, newAllowance ) ); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require( oldAllowance >= value, "SafeERC20: decreased allowance below zero" ); uint256 newAllowance = oldAllowance - value; _callOptionalReturn( token, abi.encodeWithSelector( token.approve.selector, spender, newAllowance ) ); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall( data, "SafeERC20: low-level call failed" ); if (returndata.length > 0) { // Return data is optional require( abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed" ); } } } /** * @title PaymentSplitter * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware * that the Ether will be split in this way, since it is handled transparently by the contract. * * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim * an amount proportional to the percentage of total shares they were assigned. * * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release} * function. * * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you * to run tests before sending real value to this contract. */ contract PaymentSplitter is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(address to, uint256 amount); event ERC20PaymentReleased( IERC20 indexed token, address to, uint256 amount ); event PaymentReceived(address from, uint256 amount); uint256 private _totalShares; uint256 private _totalReleased; mapping(address => uint256) private _shares; mapping(address => uint256) private _released; address[] private _payees; mapping(IERC20 => uint256) private _erc20TotalReleased; mapping(IERC20 => mapping(address => uint256)) private _erc20Released; /** * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at * the matching position in the `shares` array. * * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no * duplicates in `payees`. */ constructor(address[] memory payees, uint256[] memory shares_) payable { require( payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch" ); require(payees.length > 0, "PaymentSplitter: no payees"); for (uint256 i = 0; i < payees.length; i++) { _addPayee(payees[i], shares_[i]); } } /** * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the * reliability of the events, and not the actual splitting of Ether. * * To learn more about this see the Solidity documentation for * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback * functions]. */ receive() external payable virtual { emit PaymentReceived(_msgSender(), msg.value); } /** * @dev Getter for the total shares held by payees. */ function totalShares() public view returns (uint256) { return _totalShares; } /** * @dev Getter for the total amount of Ether already released. */ function totalReleased() public view returns (uint256) { return _totalReleased; } /** * @dev Getter for the total amount of `token` already released. `token` should be the address of an IERC20 * contract. */ function totalReleased(IERC20 token) public view returns (uint256) { return _erc20TotalReleased[token]; } /** * @dev Getter for the amount of shares held by an account. */ function shares(address account) public view returns (uint256) { return _shares[account]; } /** * @dev Getter for the amount of Ether already released to a payee. */ function released(address account) public view returns (uint256) { return _released[account]; } /** * @dev Getter for the amount of `token` tokens already released to a payee. `token` should be the address of an * IERC20 contract. */ function released(IERC20 token, address account) public view returns (uint256) { return _erc20Released[token][account]; } /** * @dev Getter for the address of the payee number `index`. */ function payee(uint256 index) public view returns (address) { return _payees[index]; } /** * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the * total shares and their previous withdrawals. */ function release(address payable account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 totalReceived = address(this).balance + totalReleased(); uint256 payment = _pendingPayment( account, totalReceived, released(account) ); require(payment != 0, "PaymentSplitter: account is not due payment"); _released[account] += payment; _totalReleased += payment; Address.sendValue(account, payment); emit PaymentReleased(account, payment); } /** * @dev Triggers a transfer to `account` of the amount of `token` tokens they are owed, according to their * percentage of the total shares and their previous withdrawals. `token` must be the address of an IERC20 * contract. */ function release(IERC20 token, address account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token); uint256 payment = _pendingPayment( account, totalReceived, released(token, account) ); require(payment != 0, "PaymentSplitter: account is not due payment"); _erc20Released[token][account] += payment; _erc20TotalReleased[token] += payment; SafeERC20.safeTransfer(token, account, payment); emit ERC20PaymentReleased(token, account, payment); } /** * @dev internal logic for computing the pending payment of an `account` given the token historical balances and * already released amounts. */ function _pendingPayment( address account, uint256 totalReceived, uint256 alreadyReleased ) private view returns (uint256) { return (totalReceived * _shares[account]) / _totalShares - alreadyReleased; } /** * @dev Add a new payee to the contract. * @param account The address of the payee to add. * @param shares_ The number of shares owned by the payee. */ function _addPayee(address account, uint256 shares_) private { require( account != address(0), "PaymentSplitter: account is the zero address" ); require(shares_ > 0, "PaymentSplitter: shares are 0"); require( _shares[account] == 0, "PaymentSplitter: account already has shares" ); _payees.push(account); _shares[account] = shares_; _totalShares = _totalShares + shares_; emit PayeeAdded(account, shares_); } } /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval( address indexed owner, address indexed spender, uint256 value ); } pragma solidity ^0.8.0; contract Blues is ERC721, Ownable, ReentrancyGuard, SignatureVerifier, PaymentSplitter { using Strings for uint256; using Address for address; event BlueMinted(address, uint256); bool isRevealed; bool publicMintActive; bool bluelistMintActive; bool OGMintActive; bool airDropActive; bool legendaryClaimActive; bool teamClaimed; uint8 privateSupplyCounter; //to keep track of the 16 1/1 uint16 maxPublicSupply = 5555; // the maximum to be minted for the 3 mint functions. uint16 privateSupply = 5571; // 5555 + 16 1/1 can only be access with the legendryClaim function. uint16 supply = 0; uint64 constant cost = 0.075 ether; uint64 constant costPublic = 0.1 ether; address public blueSigner = 0x0AAE60864364185522D75D48225c2dD736A27eF7; address public OGSigner = 0xf50CF980c0c4dd156E8041f0922F564969483F08; address public claimableSigner = 0x8f9E9Bb83647dA5c2B5CA9E331c1D1c6d5Bf68e2; address public legendarySigner = 0x440794f649Adb8E091BC3399449DA05CF42B447f; string constant baseExtension = ".json"; string public baseURI; string public notRevealedUri; mapping(address => uint256) public blueListMintLedger; mapping(address => uint256) public OGMintLedger; mapping(address => uint256) public publicMintLedger; mapping(address => bool) public legendaryLedger; mapping(address => bool) public airdropLedger; mapping(address => uint16[]) public ownersLedger; constructor( string memory _name, string memory _symbol, address[] memory _payees, uint256[] memory _shares ) ERC721(_name, _symbol) PaymentSplitter(_payees, _shares) {} // internal function _baseURI() internal view virtual override returns (string memory) { return baseURI; } fallback() external payable {} /* ------- Minting functions start ------- */ function mint(uint256 amount) external payable nonReentrant { require(publicMintActive, "mint is not active"); require(msg.sender == tx.origin); require(publicMintLedger[msg.sender] + amount <= 3, "only 3 mints"); require(supply + amount <= maxPublicSupply, "limit reached"); require(msg.value >= costPublic * amount); for (uint256 i = 0; i < amount; i++) { _safeMint(msg.sender, ++supply); ownersLedger[msg.sender].push(supply); emit BlueMinted(msg.sender, supply); } publicMintLedger[msg.sender] += amount; } function bluelistMint( string calldata addr, bytes calldata sig, uint256 amount ) external payable nonReentrant { require(bluelistMintActive, "bluelist mint not active"); bool verificaiton = verify(addr, sig, blueSigner); require(verificaiton, "You're not bluelisted"); require(msg.sender == tx.origin); require(blueListMintLedger[msg.sender] + amount <= 2, "only 2 mints"); require(supply + amount <= maxPublicSupply); require(msg.value >= cost * amount); for (uint256 i = 0; i < amount; i++) { _safeMint(msg.sender, ++supply); ownersLedger[msg.sender].push(supply); // wirting to the mapping emit BlueMinted(msg.sender, supply); } blueListMintLedger[msg.sender] += amount; } function OGMint( string calldata addr, bytes calldata sig, uint256 amount ) external payable nonReentrant { require(OGMintActive, "OG mint not active"); bool verificaiton = verify(addr, sig, OGSigner); require(verificaiton, "You're not an OG"); require(msg.sender == tx.origin); require(OGMintLedger[msg.sender] + amount <= 3, "only 3 mints"); require(supply + amount <= maxPublicSupply); require(msg.value >= cost * amount); for (uint256 i; i < amount; i++) { _safeMint(msg.sender, ++supply); ownersLedger[msg.sender].push(supply); emit BlueMinted(msg.sender, supply); } OGMintLedger[msg.sender] += amount; } /* ------- Minting Functions end ------- */ /* ------- normal claim and legendry claim starts ------- */ function legendaryClaim( string calldata addr, bytes calldata sig, uint256 tokenID ) external payable nonReentrant { require(legendaryClaimActive, "Legendry claim not active"); require(!_exists(tokenID), "this token is already claimed"); bool verificaiton = verify(addr, sig, legendarySigner); //verifying against the public address require(verificaiton, "Invalid Signature"); require(msg.sender == tx.origin); require(legendaryLedger[msg.sender] == false, "already claimed"); require(tokenID > 5555 && tokenID <= privateSupply, "invalid token ID"); _safeMint(msg.sender, tokenID); ++privateSupplyCounter; legendaryLedger[msg.sender] = true; ownersLedger[msg.sender].push(uint16(tokenID)); emit BlueMinted(msg.sender, tokenID); } function claimAirdrop(string calldata addr, bytes calldata sig) external payable nonReentrant { require(airDropActive, "You cannot claim now"); bool verificaiton = verify(addr, sig, claimableSigner); //verifying against the public address require(verificaiton, "Invalid Signature"); require(msg.sender == tx.origin); require(airdropLedger[msg.sender] == false, "already claimed"); require(supply + 1 <= maxPublicSupply, "limit reached"); _safeMint(msg.sender, ++supply); ownersLedger[msg.sender].push(supply); // writing the token ID airdropLedger[msg.sender] = true; emit BlueMinted(msg.sender, supply); } /* ------- normal claim and legendry claim ends ------- */ /* ------- Airdrop function starts ----- */ function teamAirdrop( uint256[] calldata quantity, address[] calldata recipient ) external onlyOwner { require( quantity.length == recipient.length, "Quantity length is not equal to recipients" ); require(!teamClaimed, "team already claimed"); teamClaimed = true; uint256 totalQuantity; for (uint256 i; i < quantity.length; ++i) { totalQuantity += quantity[i]; } require( supply + totalQuantity <= maxPublicSupply, "Max supply reached" ); delete totalQuantity; for (uint256 i; i < recipient.length; ++i) { for (uint256 j; j < quantity[i]; ++j) { _safeMint(recipient[i], ++supply); ownersLedger[recipient[i]].push(supply); emit BlueMinted(recipient[i], supply); } } } /* ------- Airdrop function ends ----- */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId)); if (isRevealed == true) { string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string( abi.encodePacked( currentBaseURI, tokenId.toString(), baseExtension ) ) : ""; } else return notRevealedUri; } function totalMintedPublicSupply() external view returns (uint16) { return supply; } function totalMintedSupply() external view returns (uint16) { return supply + privateSupplyCounter; } function setOGMintState(bool _state) external onlyOwner { OGMintActive = _state; } function setBluelistMintState(bool _state) external onlyOwner { bluelistMintActive = _state; } function setPublicMintState(bool _state) external onlyOwner { publicMintActive = _state; } function setIsRevealed(bool _state) external onlyOwner { isRevealed = _state; } function setAirdropActive(bool _state) external onlyOwner { airDropActive = _state; } function setLegendaryActive(bool _state) external onlyOwner { legendaryClaimActive = _state; } function setNotRevealedURI(string memory _notRevealedURI) external onlyOwner { notRevealedUri = _notRevealedURI; } function setBaseURI(string memory _newBaseURI) external onlyOwner { baseURI = _newBaseURI; } function setBlueSigner(address signer) external onlyOwner { blueSigner = signer; } function setOGSigner(address signer) external onlyOwner { OGSigner = signer; } function setLegendarySigner(address signer) external onlyOwner { legendarySigner = signer; } function setClaimableSigner(address signer) external onlyOwner { claimableSigner = signer; } function isApprovedForAll(address owner, address operator) public view override returns (bool) { return OpenSeaGasFreeListing.isApprovedForAll(owner, operator) || super.isApprovedForAll(owner, operator); } function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._afterTokenTransfer(from, to, tokenId); if (from != address(0)) { ownersLedger[to].push(uint16(tokenId)); if (ownersLedger[from].length == 1) { ownersLedger[from].pop(); return; } uint256 length = ownersLedger[from].length; for (uint256 i; i < length; i++) { if (ownersLedger[from][i] == tokenId) { ownersLedger[from][i] = uint16( ownersLedger[from][length - 1] ); ownersLedger[from].pop(); return; } } } } function getOwnerLedger(address addr) external view returns (uint16[] memory) { return ownersLedger[addr]; } function emergencyWithdraw() external payable onlyOwner { // Release all the funds to the community DAO wallet. (bool hs, ) = payable(0x36C75D6f4B411787965769D4c24f838c035364B6).call{ value: address(this).balance }(""); require(hs); } }
{ "optimizer": { "enabled": true, "runs": 1000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address[]","name":"_payees","type":"address[]"},{"internalType":"uint256[]","name":"_shares","type":"uint256[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"","type":"address"},{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"BlueMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20PaymentReleased","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":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","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":[{"internalType":"string","name":"addr","type":"string"},{"internalType":"bytes","name":"sig","type":"bytes"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"OGMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"OGMintLedger","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OGSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"airdropLedger","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"blueListMintLedger","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blueSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"addr","type":"string"},{"internalType":"bytes","name":"sig","type":"bytes"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"bluelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"string","name":"addr","type":"string"},{"internalType":"bytes","name":"sig","type":"bytes"}],"name":"claimAirdrop","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"claimableSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"payable","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":"addr","type":"address"}],"name":"getOwnerLedger","outputs":[{"internalType":"uint16[]","name":"","type":"uint16[]"}],"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":"string","name":"addr","type":"string"},{"internalType":"bytes","name":"sig","type":"bytes"},{"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"legendaryClaim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"legendaryLedger","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"legendarySigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","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":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"ownersLedger","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicMintLedger","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_ethSignedMessageHash","type":"bytes32"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"recoverSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"_state","type":"bool"}],"name":"setAirdropActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"name":"setBlueSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setBluelistMintState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"name":"setClaimableSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setIsRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setLegendaryActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"name":"setLegendarySigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setOGMintState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"name":"setOGSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPublicMintState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"quantity","type":"uint256[]"},{"internalType":"address[]","name":"recipient","type":"address[]"}],"name":"teamAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMintedPublicSupply","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMintedSupply","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_addr","type":"string"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"address","name":"signer","type":"address"}],"name":"verify","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052600f805461ffff60401b19166915b300000000000000001761ffff60501b19166b15c3000000000000000000001761ffff60601b1916905560108054730aae60864364185522d75d48225c2dd736a27ef76001600160a01b0319918216179091556011805473f50cf980c0c4dd156e8041f0922f564969483f0890831617905560128054738f9e9bb83647da5c2b5ca9e331c1d1c6d5bf68e29083161790556013805473440794f649adb8e091bc3399449da05cf42b447f9216919091179055348015620000d157600080fd5b50604051620057e3380380620057e3833981016040819052620000f4916200068d565b81818585816000908051906020019062000110929190620004e2565b50805162000126906001906020840190620004e2565b505050620001436200013d6200029e60201b60201c565b620002a2565b60016007558051825114620001ba5760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b60008251116200020d5760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f207061796565730000000000006044820152606401620001b1565b60005b825181101562000291576200027c8382815181106200023f57634e487b7160e01b600052603260045260246000fd5b60200260200101518383815181106200026857634e487b7160e01b600052603260045260246000fd5b6020026020010151620002f460201b60201c565b80620002888162000861565b91505062000210565b50505050505050620008ab565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620003615760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b6064820152608401620001b1565b60008111620003b35760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a207368617265732061726520300000006044820152606401620001b1565b6001600160a01b0382166000908152600a6020526040902054156200042f5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b6064820152608401620001b1565b600c8054600181019091557fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c70180546001600160a01b0319166001600160a01b0384169081179091556000908152600a602052604090208190556008546200049990829062000809565b600855604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b828054620004f09062000824565b90600052602060002090601f0160209004810192826200051457600085556200055f565b82601f106200052f57805160ff19168380011785556200055f565b828001600101855582156200055f579182015b828111156200055f57825182559160200191906001019062000542565b506200056d92915062000571565b5090565b5b808211156200056d576000815560010162000572565b600082601f83011262000599578081fd5b81516020620005b2620005ac83620007e3565b620007b0565b8281528181019085830183850287018401881015620005cf578586fd5b855b85811015620005ef57815184529284019290840190600101620005d1565b5090979650505050505050565b600082601f8301126200060d578081fd5b81516001600160401b0381111562000629576200062962000895565b60206200063f601f8301601f19168201620007b0565b828152858284870101111562000653578384fd5b835b838110156200067257858101830151828201840152820162000655565b838111156200068357848385840101525b5095945050505050565b60008060008060808587031215620006a3578384fd5b84516001600160401b0380821115620006ba578586fd5b620006c888838901620005fc565b9550602091508187015181811115620006df578586fd5b620006ed89828a01620005fc565b95505060408701518181111562000702578485fd5b8701601f8101891362000713578485fd5b805162000724620005ac82620007e3565b81815284810190838601868402850187018d101562000741578889fd5b8894505b838510156200077a5780516001600160a01b03811681146200076557898afd5b83526001949094019391860191860162000745565b5060608b015190975094505050508082111562000795578283fd5b50620007a48782880162000588565b91505092959194509250565b604051601f8201601f191681016001600160401b0381118282101715620007db57620007db62000895565b604052919050565b60006001600160401b03821115620007ff57620007ff62000895565b5060209081020190565b600082198211156200081f576200081f6200087f565b500190565b6002810460018216806200083957607f821691505b602082108114156200085b57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156200087857620008786200087f565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b614f2880620008bb6000396000f3fe6080604052600436106103a65760003560e01c8063879fbedf116101e7578063aed0d0db1161010d578063e33b7de3116100a0578063f17da4fa1161006f578063f17da4fa14610b83578063f238bfac14610ba3578063f2c4ce1e14610bb6578063f2fde38b14610bd6576103ef565b8063e33b7de314610afe578063e985e9c514610b13578063ed74561c14610b33578063ee30c60914610b53576103ef565b8063c9deca68116100dc578063c9deca6814610a6a578063ce7c2ac214610a8a578063d79779b214610ac0578063db2e21bc14610af6576103ef565b8063aed0d0db146109ea578063b88d4fde14610a0a578063c13df04c14610a2a578063c87b56dd14610a4a576103ef565b806398500c6111610185578063a22cb46511610154578063a22cb4651461095d578063a25619ee1461097d578063a3df34801461099d578063a4a24411146109bd576103ef565b806398500c61146108d45780639852595c146108e7578063a03f3c931461091d578063a0712d681461094a576103ef565b80638da5cb5b116101c15780638da5cb5b1461086e5780638e1c2cd61461088c57806395d89b411461089f57806397aba7f9146108b4576103ef565b8063879fbedf146108015780638b83209b146108215780638c3e948f14610841576103ef565b806348b75044116102cc57806368eee6d91161026a578063715018a611610239578063715018a61461077c578063722972ed146107915780637885d90b146107b15780637b5777a7146107d1576103ef565b806368eee6d9146107135780636c0360eb146107265780636f1514171461073b57806370a082311461075c576103ef565b80635ccd4816116102a65780635ccd48161461068b578063601e2603146106ab5780636352211e146106d357806366d7e6e7146106f3576103ef565b806348b750441461062b57806349a5980a1461064b57806355f804b31461066b576103ef565b80631916558711610344578063386d48d311610313578063386d48d3146105905780633a98ef39146105b0578063406072a9146105c557806342842e0e1461060b576103ef565b806319165587146104f55780631ac0ba13146105155780632220ab5e1461055057806323b872dd14610570576103ef565b8063081812fc11610380578063081812fc14610468578063081c8c44146104a0578063095ea7b3146104b5578063151064e0146104d5576103ef565b806301ffc9a7146103f15780630676c2171461042657806306fdde0314610446576103ef565b366103ef577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b005b3480156103fd57600080fd5b5061041161040c3660046149c9565b610bf6565b60405190151581526020015b60405180910390f35b34801561043257600080fd5b506103ef61044136600461478d565b610c95565b34801561045257600080fd5b5061045b610d04565b60405161041d9190614ce4565b34801561047457600080fd5b50610488610483366004614ba5565b610d96565b6040516001600160a01b03909116815260200161041d565b3480156104ac57600080fd5b5061045b610e2b565b3480156104c157600080fd5b506103ef6104d03660046148b8565b610eb9565b3480156104e157600080fd5b506103ef6104f03660046148e3565b610feb565b34801561050157600080fd5b506103ef61051036600461478d565b6113dd565b34801561052157600080fd5b5061054261053036600461478d565b60166020526000908152604090205481565b60405190815260200161041d565b34801561055c57600080fd5b50601354610488906001600160a01b031681565b34801561057c57600080fd5b506103ef61058b3660046147e1565b61158e565b34801561059c57600080fd5b506103ef6105ab36600461494c565b611615565b3480156105bc57600080fd5b50600854610542565b3480156105d157600080fd5b506105426105e0366004614a01565b6001600160a01b039182166000908152600e6020908152604080832093909416825291909152205490565b34801561061757600080fd5b506103ef6106263660046147e1565b611679565b34801561063757600080fd5b506103ef610646366004614a01565b611694565b34801561065757600080fd5b506103ef61066636600461494c565b611918565b34801561067757600080fd5b506103ef610686366004614afd565b611973565b34801561069757600080fd5b506104116106a6366004614b30565b6119d2565b3480156106b757600080fd5b506106c0611a17565b60405161ffff909116815260200161041d565b3480156106df57600080fd5b506104886106ee366004614ba5565b611a45565b3480156106ff57600080fd5b50601254610488906001600160a01b031681565b6103ef610721366004614a8c565b611ad0565b34801561073257600080fd5b5061045b611e76565b34801561074757600080fd5b506106c0600f54600160601b900461ffff1690565b34801561076857600080fd5b5061054261077736600461478d565b611e83565b34801561078857600080fd5b506103ef611f1d565b34801561079d57600080fd5b506103ef6107ac36600461494c565b611f71565b3480156107bd57600080fd5b506103ef6107cc36600461494c565b611fd7565b3480156107dd57600080fd5b506104116107ec36600461478d565b60196020526000908152604090205460ff1681565b34801561080d57600080fd5b506103ef61081c36600461494c565b612041565b34801561082d57600080fd5b5061048861083c366004614ba5565b6120a3565b34801561084d57600080fd5b5061086161085c36600461478d565b6120e1565b60405161041d9190614c9c565b34801561087a57600080fd5b506006546001600160a01b0316610488565b6103ef61089a366004614a8c565b612175565b3480156108ab57600080fd5b5061045b6124bb565b3480156108c057600080fd5b506104886108cf366004614984565b6124ca565b6103ef6108e2366004614a8c565b612549565b3480156108f357600080fd5b5061054261090236600461478d565b6001600160a01b03166000908152600b602052604090205490565b34801561092957600080fd5b5061054261093836600461478d565b60176020526000908152604090205481565b6103ef610958366004614ba5565b61286d565b34801561096957600080fd5b506103ef61097836600461488b565b612afe565b34801561098957600080fd5b506103ef61099836600461478d565b612b09565b3480156109a957600080fd5b506106c06109b83660046148b8565b612b73565b3480156109c957600080fd5b506105426109d836600461478d565b60186020526000908152604090205481565b3480156109f657600080fd5b506103ef610a0536600461478d565b612bba565b348015610a1657600080fd5b506103ef610a25366004614821565b612c24565b348015610a3657600080fd5b506103ef610a4536600461494c565b612cb2565b348015610a5657600080fd5b5061045b610a65366004614ba5565b612d1a565b348015610a7657600080fd5b50601054610488906001600160a01b031681565b348015610a9657600080fd5b50610542610aa536600461478d565b6001600160a01b03166000908152600a602052604090205490565b348015610acc57600080fd5b50610542610adb36600461478d565b6001600160a01b03166000908152600d602052604090205490565b6103ef612e74565b348015610b0a57600080fd5b50600954610542565b348015610b1f57600080fd5b50610411610b2e3660046147a9565b612f28565b348015610b3f57600080fd5b506103ef610b4e36600461478d565b612f68565b348015610b5f57600080fd5b50610411610b6e36600461478d565b601a6020526000908152604090205460ff1681565b348015610b8f57600080fd5b50601154610488906001600160a01b031681565b6103ef610bb1366004614a2f565b612fd2565b348015610bc257600080fd5b506103ef610bd1366004614afd565b6132f9565b348015610be257600080fd5b506103ef610bf136600461478d565b613354565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480610c5957506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610c8d57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b90505b919050565b6006546001600160a01b03163314610ce25760405162461bcd60e51b81526020600482018190526024820152600080516020614ed383398151915260448201526064015b60405180910390fd5b601380546001600160a01b0319166001600160a01b0392909216919091179055565b606060008054610d1390614dab565b80601f0160208091040260200160405190810160405280929190818152602001828054610d3f90614dab565b8015610d8c5780601f10610d6157610100808354040283529160200191610d8c565b820191906000526020600020905b815481529060010190602001808311610d6f57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610e0f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610cd9565b506000908152600460205260409020546001600160a01b031690565b60158054610e3890614dab565b80601f0160208091040260200160405190810160405280929190818152602001828054610e6490614dab565b8015610eb15780601f10610e8657610100808354040283529160200191610eb1565b820191906000526020600020905b815481529060010190602001808311610e9457829003601f168201915b505050505081565b6000610ec482611a45565b9050806001600160a01b0316836001600160a01b03161415610f4e5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610cd9565b336001600160a01b0382161480610f6a5750610f6a8133610b2e565b610fdc5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610cd9565b610fe68383613421565b505050565b6006546001600160a01b031633146110335760405162461bcd60e51b81526020600482018190526024820152600080516020614ed38339815191526044820152606401610cd9565b8281146110a85760405162461bcd60e51b815260206004820152602a60248201527f5175616e74697479206c656e677468206973206e6f7420657175616c20746f2060448201527f726563697069656e7473000000000000000000000000000000000000000000006064820152608401610cd9565b600f546601000000000000900460ff16156111055760405162461bcd60e51b815260206004820152601460248201527f7465616d20616c726561647920636c61696d65640000000000000000000000006044820152606401610cd9565b600f805466ff000000000000191666010000000000001790556000805b8481101561116e5785858281811061114a57634e487b7160e01b600052603260045260246000fd5b905060200201358261115c9190614d1d565b915061116781614e08565b9050611122565b50600f5461ffff680100000000000000008204811691611197918491600160601b900416614d1d565b11156111e55760405162461bcd60e51b815260206004820152601260248201527f4d617820737570706c79207265616368656400000000000000000000000000006044820152606401610cd9565b506000805b828110156113d55760005b86868381811061121557634e487b7160e01b600052603260045260246000fd5b905060200201358110156113c45761129885858481811061124657634e487b7160e01b600052603260045260246000fd5b905060200201602081019061125b919061478d565b600f8054600c9061127690600160601b900461ffff16614de6565b91906101000a81548161ffff021916908361ffff160217905561ffff1661348f565b601b60008686858181106112bc57634e487b7160e01b600052603260045260246000fd5b90506020020160208101906112d1919061478d565b6001600160a01b031681526020808201929092526040016000908120600f805482546001810184559284529390922060108204018054600292909316919091026101000a61ffff600160601b909404841681029302199091169190911790557fc50f9a23f4642743435ff109e073e0ae71bd529d23e2aac62dc4b66ff7edd55e85858481811061137157634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611386919061478d565b600f54604080516001600160a01b039093168352600160601b90910461ffff1660208301520160405180910390a16113bd81614e08565b90506111f5565b506113ce81614e08565b90506111ea565b505050505050565b6001600160a01b0381166000908152600a60205260409020546114515760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b6064820152608401610cd9565b600061145c60095490565b6114669047614d1d565b90506000611493838361148e866001600160a01b03166000908152600b602052604090205490565b6134a9565b9050806114f65760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401610cd9565b6001600160a01b0383166000908152600b60205260408120805483929061151e908490614d1d565b9250508190555080600960008282546115379190614d1d565b90915550611547905083826134ef565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b6115983382613608565b61160a5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610cd9565b610fe68383836136d7565b6006546001600160a01b0316331461165d5760405162461bcd60e51b81526020600482018190526024820152600080516020614ed38339815191526044820152606401610cd9565b600f8054911515620100000262ff000019909216919091179055565b610fe683838360405180602001604052806000815250612c24565b6001600160a01b0381166000908152600a60205260409020546117085760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b6064820152608401610cd9565b6001600160a01b0382166000908152600d60205260408120546040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b038516906370a082319060240160206040518083038186803b15801561177957600080fd5b505afa15801561178d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117b19190614bbd565b6117bb9190614d1d565b905060006117f4838361148e87876001600160a01b039182166000908152600e6020908152604080832093909416825291909152205490565b9050806118575760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401610cd9565b6001600160a01b038085166000908152600e602090815260408083209387168352929052908120805483929061188e908490614d1d565b90915550506001600160a01b0384166000908152600d6020526040812080548392906118bb908490614d1d565b909155506118cc90508484836138aa565b604080516001600160a01b038581168252602082018490528616917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a250505050565b6006546001600160a01b031633146119605760405162461bcd60e51b81526020600482018190526024820152600080516020614ed38339815191526044820152606401610cd9565b600f805460ff1916911515919091179055565b6006546001600160a01b031633146119bb5760405162461bcd60e51b81526020600482018190526024820152600080516020614ed38339815191526044820152606401610cd9565b80516119ce9060149060208401906145e4565b5050565b6000806119de8561392a565b905060006119eb8261395a565b9050836001600160a01b0316611a0182876124ca565b6001600160a01b031614925050505b9392505050565b600f54600090611a4090670100000000000000810460ff1690600160601b900461ffff16614cf7565b905090565b6000818152600260205260408120546001600160a01b031680610c8d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610cd9565b60026007541415611b235760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610cd9565b6002600755600f5465010000000000900460ff16611b835760405162461bcd60e51b815260206004820152601960248201527f4c6567656e64727920636c61696d206e6f7420616374697665000000000000006044820152606401610cd9565b6000818152600260205260409020546001600160a01b031615611be85760405162461bcd60e51b815260206004820152601d60248201527f7468697320746f6b656e20697320616c726561647920636c61696d65640000006044820152606401610cd9565b6000611c6a86868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881529250889150879081908401838280828437600092019190915250506013546001600160a01b031691506119d29050565b905080611cb95760405162461bcd60e51b815260206004820152601160248201527f496e76616c6964205369676e61747572650000000000000000000000000000006044820152606401610cd9565b333214611cc557600080fd5b3360009081526019602052604090205460ff1615611d255760405162461bcd60e51b815260206004820152600f60248201527f616c726561647920636c61696d656400000000000000000000000000000000006044820152606401610cd9565b6115b382118015611d4a5750600f546a0100000000000000000000900461ffff168211155b611d965760405162461bcd60e51b815260206004820152601060248201527f696e76616c696420746f6b656e204944000000000000000000000000000000006044820152606401610cd9565b611da0338361348f565b600f8054600790611dbe90670100000000000000900460ff16614e23565b825461010092830a60ff81810219909216929091160217909155336000818152601960209081526040808320805460ff19166001908117909155601b83528184208054918201815584529282902060108404018054600f90941660020290950a61ffff81810219909416938816029290921790935580519182529181018490527fc50f9a23f4642743435ff109e073e0ae71bd529d23e2aac62dc4b66ff7edd55e910160405180910390a15050600160075550505050565b60148054610e3890614dab565b60006001600160a01b038216611f015760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610cd9565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314611f655760405162461bcd60e51b81526020600482018190526024820152600080516020614ed38339815191526044820152606401610cd9565b611f6f6000613995565b565b6006546001600160a01b03163314611fb95760405162461bcd60e51b81526020600482018190526024820152600080516020614ed38339815191526044820152606401610cd9565b600f805491151563010000000263ff00000019909216919091179055565b6006546001600160a01b0316331461201f5760405162461bcd60e51b81526020600482018190526024820152600080516020614ed38339815191526044820152606401610cd9565b600f8054911515650100000000000265ff000000000019909216919091179055565b6006546001600160a01b031633146120895760405162461bcd60e51b81526020600482018190526024820152600080516020614ed38339815191526044820152606401610cd9565b600f80549115156101000261ff0019909216919091179055565b6000600c82815481106120c657634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031692915050565b6001600160a01b0381166000908152601b602090815260409182902080548351818402810184019094528084526060939283018282801561216957602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff16815260200190600201906020826001010492830192600103820291508084116121305790505b50505050509050919050565b600260075414156121c85760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610cd9565b6002600755600f5462010000900460ff166122255760405162461bcd60e51b815260206004820152601860248201527f626c75656c697374206d696e74206e6f742061637469766500000000000000006044820152606401610cd9565b60006122a786868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881529250889150879081908401838280828437600092019190915250506010546001600160a01b031691506119d29050565b9050806122f65760405162461bcd60e51b815260206004820152601560248201527f596f75277265206e6f7420626c75656c697374656400000000000000000000006044820152606401610cd9565b33321461230257600080fd5b33600090815260166020526040902054600290612320908490614d1d565b111561236e5760405162461bcd60e51b815260206004820152600c60248201527f6f6e6c792032206d696e747300000000000000000000000000000000000000006044820152606401610cd9565b600f5461ffff680100000000000000008204811691612396918591600160601b900416614d1d565b11156123a157600080fd5b6123b38267010a741a46278000614d49565b3410156123bf57600080fd5b60005b82811015612489576123ea33600f600c81819054906101000a900461ffff1661127690614de6565b336000818152601b60209081526040808320600f80548254600181018455928652948490206010830401805461ffff9383166002026101000a84810219909116600160601b97889004851690910217905554825195865293909304909216908301527fc50f9a23f4642743435ff109e073e0ae71bd529d23e2aac62dc4b66ff7edd55e910160405180910390a18061248181614e08565b9150506123c2565b5033600090815260166020526040812080548492906124a9908490614d1d565b90915550506001600755505050505050565b606060018054610d1390614dab565b6000806000806124d9856139e7565b6040805160008152602081018083528b905260ff8316918101919091526060810184905260808101839052929550909350915060019060a0016020604051602081039080840390855afa158015612534573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b6002600754141561259c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610cd9565b6002600755600f546301000000900460ff166125fa5760405162461bcd60e51b815260206004820152601260248201527f4f47206d696e74206e6f742061637469766500000000000000000000000000006044820152606401610cd9565b600061267c86868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881529250889150879081908401838280828437600092019190915250506011546001600160a01b031691506119d29050565b9050806126cb5760405162461bcd60e51b815260206004820152601060248201527f596f75277265206e6f7420616e204f47000000000000000000000000000000006044820152606401610cd9565b3332146126d757600080fd5b336000908152601760205260409020546003906126f5908490614d1d565b11156127325760405162461bcd60e51b815260206004820152600c60248201526b6f6e6c792033206d696e747360a01b6044820152606401610cd9565b600f5461ffff68010000000000000000820481169161275a918591600160601b900416614d1d565b111561276557600080fd5b6127778267010a741a46278000614d49565b34101561278357600080fd5b60005b8281101561284d576127ae33600f600c81819054906101000a900461ffff1661127690614de6565b336000818152601b60209081526040808320600f80548254600181018455928652948490206010830401805461ffff9383166002026101000a84810219909116600160601b97889004851690910217905554825195865293909304909216908301527fc50f9a23f4642743435ff109e073e0ae71bd529d23e2aac62dc4b66ff7edd55e910160405180910390a18061284581614e08565b915050612786565b5033600090815260176020526040812080548492906124a9908490614d1d565b600260075414156128c05760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610cd9565b6002600755600f54610100900460ff1661291c5760405162461bcd60e51b815260206004820152601260248201527f6d696e74206973206e6f742061637469766500000000000000000000000000006044820152606401610cd9565b33321461292857600080fd5b33600090815260186020526040902054600390612946908390614d1d565b11156129835760405162461bcd60e51b815260206004820152600c60248201526b6f6e6c792033206d696e747360a01b6044820152606401610cd9565b600f5461ffff6801000000000000000082048116916129ab918491600160601b900416614d1d565b11156129e95760405162461bcd60e51b815260206004820152600d60248201526c1b1a5b5a5d081c995858da1959609a1b6044820152606401610cd9565b6129fb8167016345785d8a0000614d49565b341015612a0757600080fd5b60005b81811015612ad157612a3233600f600c81819054906101000a900461ffff1661127690614de6565b336000818152601b60209081526040808320600f80548254600181018455928652948490206010830401805461ffff9383166002026101000a84810219909116600160601b97889004851690910217905554825195865293909304909216908301527fc50f9a23f4642743435ff109e073e0ae71bd529d23e2aac62dc4b66ff7edd55e910160405180910390a180612ac981614e08565b915050612a0a565b503360009081526018602052604081208054839290612af1908490614d1d565b9091555050600160075550565b6119ce338383613a5b565b6006546001600160a01b03163314612b515760405162461bcd60e51b81526020600482018190526024820152600080516020614ed38339815191526044820152606401610cd9565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b601b6020528160005260406000208181548110612b8f57600080fd5b9060005260206000209060109182820401919006600202915091509054906101000a900461ffff1681565b6006546001600160a01b03163314612c025760405162461bcd60e51b81526020600482018190526024820152600080516020614ed38339815191526044820152606401610cd9565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b612c2e3383613608565b612ca05760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610cd9565b612cac84848484613b2a565b50505050565b6006546001600160a01b03163314612cfa5760405162461bcd60e51b81526020600482018190526024820152600080516020614ed38339815191526044820152606401610cd9565b600f80549115156401000000000264ff0000000019909216919091179055565b6000818152600260205260409020546060906001600160a01b0316612d3e57600080fd5b600f5460ff16151560011415612de2576000612d58613ba8565b90506000815111612d785760405180602001604052806000815250612dda565b80612d8284613bb7565b6040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250604051602001612dca93929190614c1d565b6040516020818303038152906040525b915050610c90565b60158054612def90614dab565b80601f0160208091040260200160405190810160405280929190818152602001828054612e1b90614dab565b8015612e685780601f10612e3d57610100808354040283529160200191612e68565b820191906000526020600020905b815481529060010190602001808311612e4b57829003601f168201915b50505050509050610c90565b6006546001600160a01b03163314612ebc5760405162461bcd60e51b81526020600482018190526024820152600080516020614ed38339815191526044820152606401610cd9565b6040516000907336c75d6f4b411787965769d4c24f838c035364b69047908381818185875af1925050503d8060008114612f12576040519150601f19603f3d011682016040523d82523d6000602084013e612f17565b606091505b5050905080612f2557600080fd5b50565b6000612f348383613d06565b80611a1057506001600160a01b0380841660009081526005602090815260408083209386168352929052205460ff16611a10565b6006546001600160a01b03163314612fb05760405162461bcd60e51b81526020600482018190526024820152600080516020614ed38339815191526044820152606401610cd9565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b600260075414156130255760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610cd9565b6002600755600f54640100000000900460ff166130845760405162461bcd60e51b815260206004820152601460248201527f596f752063616e6e6f7420636c61696d206e6f770000000000000000000000006044820152606401610cd9565b600061310685858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f89018190048102820181019092528781529250879150869081908401838280828437600092019190915250506012546001600160a01b031691506119d29050565b9050806131555760405162461bcd60e51b815260206004820152601160248201527f496e76616c6964205369676e61747572650000000000000000000000000000006044820152606401610cd9565b33321461316157600080fd5b336000908152601a602052604090205460ff16156131c15760405162461bcd60e51b815260206004820152600f60248201527f616c726561647920636c61696d656400000000000000000000000000000000006044820152606401610cd9565b600f5461ffff6801000000000000000082048116916131ea91600160601b909104166001614cf7565b61ffff16111561322c5760405162461bcd60e51b815260206004820152600d60248201526c1b1a5b5a5d081c995858da1959609a1b6044820152606401610cd9565b61324c33600f600c81819054906101000a900461ffff1661127690614de6565b336000818152601b60209081526040808320600f80548254600180820185559387528587206010820401805461ffff9285166002026101000a83810219909116600160601b948590048416909102179055878752601a865295849020805460ff191690931790925554825195865204909216908301527fc50f9a23f4642743435ff109e073e0ae71bd529d23e2aac62dc4b66ff7edd55e910160405180910390a150506001600755505050565b6006546001600160a01b031633146133415760405162461bcd60e51b81526020600482018190526024820152600080516020614ed38339815191526044820152606401610cd9565b80516119ce9060159060208401906145e4565b6006546001600160a01b0316331461339c5760405162461bcd60e51b81526020600482018190526024820152600080516020614ed38339815191526044820152606401610cd9565b6001600160a01b0381166134185760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610cd9565b612f2581613995565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061345682611a45565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6119ce828260405180602001604052806000815250613e10565b6008546001600160a01b0384166000908152600a6020526040812054909183916134d39086614d49565b6134dd9190614d35565b6134e79190614d68565b949350505050565b8047101561353f5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610cd9565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461358c576040519150601f19603f3d011682016040523d82523d6000602084013e613591565b606091505b5050905080610fe65760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610cd9565b6000818152600260205260408120546001600160a01b03166136815760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610cd9565b600061368c83611a45565b9050806001600160a01b0316846001600160a01b031614806136c75750836001600160a01b03166136bc84610d96565b6001600160a01b0316145b806134e757506134e78185612f28565b826001600160a01b03166136ea82611a45565b6001600160a01b0316146137665760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610cd9565b6001600160a01b0382166137e15760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610cd9565b6137ec600082613421565b6001600160a01b0383166000908152600360205260408120805460019290613815908490614d68565b90915550506001600160a01b0382166000908152600360205260408120805460019290613843908490614d1d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4610fe6838383613e8e565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610fe6908490614152565b60008160405160200161393d9190614c01565b604051602081830303815290604052805190602001209050919050565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c0161393d565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008060008351604114613a3d5760405162461bcd60e51b815260206004820152601860248201527f696e76616c6964207369676e6174757265206c656e67746800000000000000006044820152606401610cd9565b50505060208101516040820151606090920151909260009190911a90565b816001600160a01b0316836001600160a01b03161415613abd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610cd9565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b613b358484846136d7565b613b4184848484614237565b612cac5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610cd9565b606060148054610d1390614dab565b606081613bf8575060408051808201909152600181527f30000000000000000000000000000000000000000000000000000000000000006020820152610c90565b8160005b8115613c225780613c0c81614e08565b9150613c1b9050600a83614d35565b9150613bfc565b60008167ffffffffffffffff811115613c4b57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613c75576020820181803683370190505b5090505b84156134e757613c8a600183614d68565b9150613c97600a86614e43565b613ca2906030614d1d565b60f81b818381518110613cc557634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613cff600a86614d35565b9450613c79565b6000804660018114613d1f5760048114613d3b57613d53565b73a5409ec958c83c3f309868babaca7c86dcb077c19150613d53565b73f57b2c51ded3a29e6891aba85459d600256cf31791505b506001600160a01b038116158015906134e757506040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b038581166004830152808516919083169063c45527919060240160206040518083038186803b158015613dc657600080fd5b505afa158015613dda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613dfe9190614a13565b6001600160a01b031614949350505050565b613e1a838361438f565b613e276000848484614237565b610fe65760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610cd9565b6001600160a01b03831615610fe6576001600160a01b038281166000908152601b6020908152604080832080546001808201835591855292842060108404018054600f9094166002026101000a61ffff8181021990951694881602939093179092559286168252919020541415613f65576001600160a01b0383166000908152601b60205260409020805480613f3457634e487b7160e01b600052603160045260246000fd5b600082815260209020601060001990920191820401805461ffff6002600f8516026101000a02191690559055610fe6565b6001600160a01b0383166000908152601b6020526040812054905b8181101561414b576001600160a01b0385166000908152601b60205260409020805484919083908110613fc357634e487b7160e01b600052603260045260246000fd5b60009182526020909120601082040154600f9091166002026101000a900461ffff161415614139576001600160a01b0385166000908152601b6020526040902061400e600184614d68565b8154811061402c57634e487b7160e01b600052603260045260246000fd5b90600052602060002090601091828204019190066002029054906101000a900461ffff16601b6000876001600160a01b03166001600160a01b03168152602001908152602001600020828154811061409457634e487b7160e01b600052603260045260246000fd5b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff160217905550601b6000866001600160a01b03166001600160a01b0316815260200190815260200160002080548061410557634e487b7160e01b600052603160045260246000fd5b600082815260209020601060001990920191820401805461ffff6002600f8516026101000a0219169055905550610fe69050565b8061414381614e08565b915050613f80565b5050505050565b60006141a7826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166144d99092919063ffffffff16565b805190915015610fe657808060200190518101906141c59190614968565b610fe65760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610cd9565b60006001600160a01b0384163b1561438457604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061427b903390899088908890600401614c60565b602060405180830381600087803b15801561429557600080fd5b505af19250505080156142c5575060408051601f3d908101601f191682019092526142c2918101906149e5565b60015b61436a573d8080156142f3576040519150601f19603f3d011682016040523d82523d6000602084013e6142f8565b606091505b5080516143625760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610cd9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506134e7565b506001949350505050565b6001600160a01b0382166143e55760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610cd9565b6000818152600260205260409020546001600160a01b03161561444a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610cd9565b6001600160a01b0382166000908152600360205260408120805460019290614473908490614d1d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46119ce60008383613e8e565b60606134e7848460008585843b6145325760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610cd9565b600080866001600160a01b0316858760405161454e9190614c01565b60006040518083038185875af1925050503d806000811461458b576040519150601f19603f3d011682016040523d82523d6000602084013e614590565b606091505b50915091506145a08282866145ab565b979650505050505050565b606083156145ba575081611a10565b8251156145ca5782518084602001fd5b8160405162461bcd60e51b8152600401610cd99190614ce4565b8280546145f090614dab565b90600052602060002090601f0160209004810192826146125760008555614658565b82601f1061462b57805160ff1916838001178555614658565b82800160010185558215614658579182015b8281111561465857825182559160200191906001019061463d565b50614664929150614668565b5090565b5b808211156146645760008155600101614669565b60008083601f84011261468e578182fd5b50813567ffffffffffffffff8111156146a5578182fd5b60208301915083602080830285010111156146bf57600080fd5b9250929050565b60008083601f8401126146d7578182fd5b50813567ffffffffffffffff8111156146ee578182fd5b6020830191508360208285010111156146bf57600080fd5b600082601f830112614716578081fd5b813567ffffffffffffffff8082111561473157614731614e83565b604051601f8301601f19908116603f0116810190828211818310171561475957614759614e83565b81604052838152866020858801011115614771578485fd5b8360208701602083013792830160200193909352509392505050565b60006020828403121561479e578081fd5b8135611a1081614e99565b600080604083850312156147bb578081fd5b82356147c681614e99565b915060208301356147d681614e99565b809150509250929050565b6000806000606084860312156147f5578081fd5b833561480081614e99565b9250602084013561481081614e99565b929592945050506040919091013590565b60008060008060808587031215614836578081fd5b843561484181614e99565b9350602085013561485181614e99565b925060408501359150606085013567ffffffffffffffff811115614873578182fd5b61487f87828801614706565b91505092959194509250565b6000806040838503121561489d578182fd5b82356148a881614e99565b915060208301356147d681614eae565b600080604083850312156148ca578182fd5b82356148d581614e99565b946020939093013593505050565b600080600080604085870312156148f8578182fd5b843567ffffffffffffffff8082111561490f578384fd5b61491b8883890161467d565b90965094506020870135915080821115614933578384fd5b506149408782880161467d565b95989497509550505050565b60006020828403121561495d578081fd5b8135611a1081614eae565b600060208284031215614979578081fd5b8151611a1081614eae565b60008060408385031215614996578182fd5b82359150602083013567ffffffffffffffff8111156149b3578182fd5b6149bf85828601614706565b9150509250929050565b6000602082840312156149da578081fd5b8135611a1081614ebc565b6000602082840312156149f6578081fd5b8151611a1081614ebc565b600080604083850312156147bb578182fd5b600060208284031215614a24578081fd5b8151611a1081614e99565b60008060008060408587031215614a44578182fd5b843567ffffffffffffffff80821115614a5b578384fd5b614a67888389016146c6565b90965094506020870135915080821115614a7f578384fd5b50614940878288016146c6565b600080600080600060608688031215614aa3578283fd5b853567ffffffffffffffff80821115614aba578485fd5b614ac689838a016146c6565b90975095506020880135915080821115614ade578485fd5b50614aeb888289016146c6565b96999598509660400135949350505050565b600060208284031215614b0e578081fd5b813567ffffffffffffffff811115614b24578182fd5b6134e784828501614706565b600080600060608486031215614b44578081fd5b833567ffffffffffffffff80821115614b5b578283fd5b614b6787838801614706565b94506020860135915080821115614b7c578283fd5b50614b8986828701614706565b9250506040840135614b9a81614e99565b809150509250925092565b600060208284031215614bb6578081fd5b5035919050565b600060208284031215614bce578081fd5b5051919050565b60008151808452614bed816020860160208601614d7f565b601f01601f19169290920160200192915050565b60008251614c13818460208701614d7f565b9190910192915050565b60008451614c2f818460208901614d7f565b845190830190614c43818360208901614d7f565b8451910190614c56818360208801614d7f565b0195945050505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152614c926080830184614bd5565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015614cd857835161ffff1683529284019291840191600101614cb8565b50909695505050505050565b600060208252611a106020830184614bd5565b600061ffff808316818516808303821115614d1457614d14614e57565b01949350505050565b60008219821115614d3057614d30614e57565b500190565b600082614d4457614d44614e6d565b500490565b6000816000190483118215151615614d6357614d63614e57565b500290565b600082821015614d7a57614d7a614e57565b500390565b60005b83811015614d9a578181015183820152602001614d82565b83811115612cac5750506000910152565b600281046001821680614dbf57607f821691505b60208210811415614de057634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff80831681811415614dfe57614dfe614e57565b6001019392505050565b6000600019821415614e1c57614e1c614e57565b5060010190565b600060ff821660ff811415614e3a57614e3a614e57565b60010192915050565b600082614e5257614e52614e6d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114612f2557600080fd5b8015158114612f2557600080fd5b6001600160e01b031981168114612f2557600080fdfe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220bd78d22d9c5826982e95171bb88be7a70ab783f2a28b6483eb5817725ef2d2d864736f6c63430008020033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002200000000000000000000000000000000000000000000000000000000000000005426c7565730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005424c554553000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000036c75d6f4b411787965769d4c24f838c035364b6000000000000000000000000226705fdf7c0e118f4dbaf8063026ee2fc2a17a3000000000000000000000000008182461790dd50f1680deadb476790ed35f0460000000000000000000000007d43fe4a7f0dfcec5c2d2902561f4903b99651a80000000000000000000000008b1507236662c79fb799dd6275cc947ca45f86e400000000000000000000000045718988490bdcb3a32c7f1a9d5c13b5047284010000000000000000000000000dff09a6733a12366236e62111a4ce93c475db78000000000000000000000000570148c93822dd8b24d68ab26e5677ceb0ae131d000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000003520000000000000000000000000000000000000000000000000000000000000021000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000019000000000000000000000000000000000000000000000000000000000000000f000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000001
Deployed Bytecode
0x6080604052600436106103a65760003560e01c8063879fbedf116101e7578063aed0d0db1161010d578063e33b7de3116100a0578063f17da4fa1161006f578063f17da4fa14610b83578063f238bfac14610ba3578063f2c4ce1e14610bb6578063f2fde38b14610bd6576103ef565b8063e33b7de314610afe578063e985e9c514610b13578063ed74561c14610b33578063ee30c60914610b53576103ef565b8063c9deca68116100dc578063c9deca6814610a6a578063ce7c2ac214610a8a578063d79779b214610ac0578063db2e21bc14610af6576103ef565b8063aed0d0db146109ea578063b88d4fde14610a0a578063c13df04c14610a2a578063c87b56dd14610a4a576103ef565b806398500c6111610185578063a22cb46511610154578063a22cb4651461095d578063a25619ee1461097d578063a3df34801461099d578063a4a24411146109bd576103ef565b806398500c61146108d45780639852595c146108e7578063a03f3c931461091d578063a0712d681461094a576103ef565b80638da5cb5b116101c15780638da5cb5b1461086e5780638e1c2cd61461088c57806395d89b411461089f57806397aba7f9146108b4576103ef565b8063879fbedf146108015780638b83209b146108215780638c3e948f14610841576103ef565b806348b75044116102cc57806368eee6d91161026a578063715018a611610239578063715018a61461077c578063722972ed146107915780637885d90b146107b15780637b5777a7146107d1576103ef565b806368eee6d9146107135780636c0360eb146107265780636f1514171461073b57806370a082311461075c576103ef565b80635ccd4816116102a65780635ccd48161461068b578063601e2603146106ab5780636352211e146106d357806366d7e6e7146106f3576103ef565b806348b750441461062b57806349a5980a1461064b57806355f804b31461066b576103ef565b80631916558711610344578063386d48d311610313578063386d48d3146105905780633a98ef39146105b0578063406072a9146105c557806342842e0e1461060b576103ef565b806319165587146104f55780631ac0ba13146105155780632220ab5e1461055057806323b872dd14610570576103ef565b8063081812fc11610380578063081812fc14610468578063081c8c44146104a0578063095ea7b3146104b5578063151064e0146104d5576103ef565b806301ffc9a7146103f15780630676c2171461042657806306fdde0314610446576103ef565b366103ef577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b005b3480156103fd57600080fd5b5061041161040c3660046149c9565b610bf6565b60405190151581526020015b60405180910390f35b34801561043257600080fd5b506103ef61044136600461478d565b610c95565b34801561045257600080fd5b5061045b610d04565b60405161041d9190614ce4565b34801561047457600080fd5b50610488610483366004614ba5565b610d96565b6040516001600160a01b03909116815260200161041d565b3480156104ac57600080fd5b5061045b610e2b565b3480156104c157600080fd5b506103ef6104d03660046148b8565b610eb9565b3480156104e157600080fd5b506103ef6104f03660046148e3565b610feb565b34801561050157600080fd5b506103ef61051036600461478d565b6113dd565b34801561052157600080fd5b5061054261053036600461478d565b60166020526000908152604090205481565b60405190815260200161041d565b34801561055c57600080fd5b50601354610488906001600160a01b031681565b34801561057c57600080fd5b506103ef61058b3660046147e1565b61158e565b34801561059c57600080fd5b506103ef6105ab36600461494c565b611615565b3480156105bc57600080fd5b50600854610542565b3480156105d157600080fd5b506105426105e0366004614a01565b6001600160a01b039182166000908152600e6020908152604080832093909416825291909152205490565b34801561061757600080fd5b506103ef6106263660046147e1565b611679565b34801561063757600080fd5b506103ef610646366004614a01565b611694565b34801561065757600080fd5b506103ef61066636600461494c565b611918565b34801561067757600080fd5b506103ef610686366004614afd565b611973565b34801561069757600080fd5b506104116106a6366004614b30565b6119d2565b3480156106b757600080fd5b506106c0611a17565b60405161ffff909116815260200161041d565b3480156106df57600080fd5b506104886106ee366004614ba5565b611a45565b3480156106ff57600080fd5b50601254610488906001600160a01b031681565b6103ef610721366004614a8c565b611ad0565b34801561073257600080fd5b5061045b611e76565b34801561074757600080fd5b506106c0600f54600160601b900461ffff1690565b34801561076857600080fd5b5061054261077736600461478d565b611e83565b34801561078857600080fd5b506103ef611f1d565b34801561079d57600080fd5b506103ef6107ac36600461494c565b611f71565b3480156107bd57600080fd5b506103ef6107cc36600461494c565b611fd7565b3480156107dd57600080fd5b506104116107ec36600461478d565b60196020526000908152604090205460ff1681565b34801561080d57600080fd5b506103ef61081c36600461494c565b612041565b34801561082d57600080fd5b5061048861083c366004614ba5565b6120a3565b34801561084d57600080fd5b5061086161085c36600461478d565b6120e1565b60405161041d9190614c9c565b34801561087a57600080fd5b506006546001600160a01b0316610488565b6103ef61089a366004614a8c565b612175565b3480156108ab57600080fd5b5061045b6124bb565b3480156108c057600080fd5b506104886108cf366004614984565b6124ca565b6103ef6108e2366004614a8c565b612549565b3480156108f357600080fd5b5061054261090236600461478d565b6001600160a01b03166000908152600b602052604090205490565b34801561092957600080fd5b5061054261093836600461478d565b60176020526000908152604090205481565b6103ef610958366004614ba5565b61286d565b34801561096957600080fd5b506103ef61097836600461488b565b612afe565b34801561098957600080fd5b506103ef61099836600461478d565b612b09565b3480156109a957600080fd5b506106c06109b83660046148b8565b612b73565b3480156109c957600080fd5b506105426109d836600461478d565b60186020526000908152604090205481565b3480156109f657600080fd5b506103ef610a0536600461478d565b612bba565b348015610a1657600080fd5b506103ef610a25366004614821565b612c24565b348015610a3657600080fd5b506103ef610a4536600461494c565b612cb2565b348015610a5657600080fd5b5061045b610a65366004614ba5565b612d1a565b348015610a7657600080fd5b50601054610488906001600160a01b031681565b348015610a9657600080fd5b50610542610aa536600461478d565b6001600160a01b03166000908152600a602052604090205490565b348015610acc57600080fd5b50610542610adb36600461478d565b6001600160a01b03166000908152600d602052604090205490565b6103ef612e74565b348015610b0a57600080fd5b50600954610542565b348015610b1f57600080fd5b50610411610b2e3660046147a9565b612f28565b348015610b3f57600080fd5b506103ef610b4e36600461478d565b612f68565b348015610b5f57600080fd5b50610411610b6e36600461478d565b601a6020526000908152604090205460ff1681565b348015610b8f57600080fd5b50601154610488906001600160a01b031681565b6103ef610bb1366004614a2f565b612fd2565b348015610bc257600080fd5b506103ef610bd1366004614afd565b6132f9565b348015610be257600080fd5b506103ef610bf136600461478d565b613354565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480610c5957506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610c8d57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b90505b919050565b6006546001600160a01b03163314610ce25760405162461bcd60e51b81526020600482018190526024820152600080516020614ed383398151915260448201526064015b60405180910390fd5b601380546001600160a01b0319166001600160a01b0392909216919091179055565b606060008054610d1390614dab565b80601f0160208091040260200160405190810160405280929190818152602001828054610d3f90614dab565b8015610d8c5780601f10610d6157610100808354040283529160200191610d8c565b820191906000526020600020905b815481529060010190602001808311610d6f57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610e0f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610cd9565b506000908152600460205260409020546001600160a01b031690565b60158054610e3890614dab565b80601f0160208091040260200160405190810160405280929190818152602001828054610e6490614dab565b8015610eb15780601f10610e8657610100808354040283529160200191610eb1565b820191906000526020600020905b815481529060010190602001808311610e9457829003601f168201915b505050505081565b6000610ec482611a45565b9050806001600160a01b0316836001600160a01b03161415610f4e5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610cd9565b336001600160a01b0382161480610f6a5750610f6a8133610b2e565b610fdc5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610cd9565b610fe68383613421565b505050565b6006546001600160a01b031633146110335760405162461bcd60e51b81526020600482018190526024820152600080516020614ed38339815191526044820152606401610cd9565b8281146110a85760405162461bcd60e51b815260206004820152602a60248201527f5175616e74697479206c656e677468206973206e6f7420657175616c20746f2060448201527f726563697069656e7473000000000000000000000000000000000000000000006064820152608401610cd9565b600f546601000000000000900460ff16156111055760405162461bcd60e51b815260206004820152601460248201527f7465616d20616c726561647920636c61696d65640000000000000000000000006044820152606401610cd9565b600f805466ff000000000000191666010000000000001790556000805b8481101561116e5785858281811061114a57634e487b7160e01b600052603260045260246000fd5b905060200201358261115c9190614d1d565b915061116781614e08565b9050611122565b50600f5461ffff680100000000000000008204811691611197918491600160601b900416614d1d565b11156111e55760405162461bcd60e51b815260206004820152601260248201527f4d617820737570706c79207265616368656400000000000000000000000000006044820152606401610cd9565b506000805b828110156113d55760005b86868381811061121557634e487b7160e01b600052603260045260246000fd5b905060200201358110156113c45761129885858481811061124657634e487b7160e01b600052603260045260246000fd5b905060200201602081019061125b919061478d565b600f8054600c9061127690600160601b900461ffff16614de6565b91906101000a81548161ffff021916908361ffff160217905561ffff1661348f565b601b60008686858181106112bc57634e487b7160e01b600052603260045260246000fd5b90506020020160208101906112d1919061478d565b6001600160a01b031681526020808201929092526040016000908120600f805482546001810184559284529390922060108204018054600292909316919091026101000a61ffff600160601b909404841681029302199091169190911790557fc50f9a23f4642743435ff109e073e0ae71bd529d23e2aac62dc4b66ff7edd55e85858481811061137157634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611386919061478d565b600f54604080516001600160a01b039093168352600160601b90910461ffff1660208301520160405180910390a16113bd81614e08565b90506111f5565b506113ce81614e08565b90506111ea565b505050505050565b6001600160a01b0381166000908152600a60205260409020546114515760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b6064820152608401610cd9565b600061145c60095490565b6114669047614d1d565b90506000611493838361148e866001600160a01b03166000908152600b602052604090205490565b6134a9565b9050806114f65760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401610cd9565b6001600160a01b0383166000908152600b60205260408120805483929061151e908490614d1d565b9250508190555080600960008282546115379190614d1d565b90915550611547905083826134ef565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b6115983382613608565b61160a5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610cd9565b610fe68383836136d7565b6006546001600160a01b0316331461165d5760405162461bcd60e51b81526020600482018190526024820152600080516020614ed38339815191526044820152606401610cd9565b600f8054911515620100000262ff000019909216919091179055565b610fe683838360405180602001604052806000815250612c24565b6001600160a01b0381166000908152600a60205260409020546117085760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b6064820152608401610cd9565b6001600160a01b0382166000908152600d60205260408120546040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b038516906370a082319060240160206040518083038186803b15801561177957600080fd5b505afa15801561178d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117b19190614bbd565b6117bb9190614d1d565b905060006117f4838361148e87876001600160a01b039182166000908152600e6020908152604080832093909416825291909152205490565b9050806118575760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401610cd9565b6001600160a01b038085166000908152600e602090815260408083209387168352929052908120805483929061188e908490614d1d565b90915550506001600160a01b0384166000908152600d6020526040812080548392906118bb908490614d1d565b909155506118cc90508484836138aa565b604080516001600160a01b038581168252602082018490528616917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a250505050565b6006546001600160a01b031633146119605760405162461bcd60e51b81526020600482018190526024820152600080516020614ed38339815191526044820152606401610cd9565b600f805460ff1916911515919091179055565b6006546001600160a01b031633146119bb5760405162461bcd60e51b81526020600482018190526024820152600080516020614ed38339815191526044820152606401610cd9565b80516119ce9060149060208401906145e4565b5050565b6000806119de8561392a565b905060006119eb8261395a565b9050836001600160a01b0316611a0182876124ca565b6001600160a01b031614925050505b9392505050565b600f54600090611a4090670100000000000000810460ff1690600160601b900461ffff16614cf7565b905090565b6000818152600260205260408120546001600160a01b031680610c8d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610cd9565b60026007541415611b235760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610cd9565b6002600755600f5465010000000000900460ff16611b835760405162461bcd60e51b815260206004820152601960248201527f4c6567656e64727920636c61696d206e6f7420616374697665000000000000006044820152606401610cd9565b6000818152600260205260409020546001600160a01b031615611be85760405162461bcd60e51b815260206004820152601d60248201527f7468697320746f6b656e20697320616c726561647920636c61696d65640000006044820152606401610cd9565b6000611c6a86868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881529250889150879081908401838280828437600092019190915250506013546001600160a01b031691506119d29050565b905080611cb95760405162461bcd60e51b815260206004820152601160248201527f496e76616c6964205369676e61747572650000000000000000000000000000006044820152606401610cd9565b333214611cc557600080fd5b3360009081526019602052604090205460ff1615611d255760405162461bcd60e51b815260206004820152600f60248201527f616c726561647920636c61696d656400000000000000000000000000000000006044820152606401610cd9565b6115b382118015611d4a5750600f546a0100000000000000000000900461ffff168211155b611d965760405162461bcd60e51b815260206004820152601060248201527f696e76616c696420746f6b656e204944000000000000000000000000000000006044820152606401610cd9565b611da0338361348f565b600f8054600790611dbe90670100000000000000900460ff16614e23565b825461010092830a60ff81810219909216929091160217909155336000818152601960209081526040808320805460ff19166001908117909155601b83528184208054918201815584529282902060108404018054600f90941660020290950a61ffff81810219909416938816029290921790935580519182529181018490527fc50f9a23f4642743435ff109e073e0ae71bd529d23e2aac62dc4b66ff7edd55e910160405180910390a15050600160075550505050565b60148054610e3890614dab565b60006001600160a01b038216611f015760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610cd9565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314611f655760405162461bcd60e51b81526020600482018190526024820152600080516020614ed38339815191526044820152606401610cd9565b611f6f6000613995565b565b6006546001600160a01b03163314611fb95760405162461bcd60e51b81526020600482018190526024820152600080516020614ed38339815191526044820152606401610cd9565b600f805491151563010000000263ff00000019909216919091179055565b6006546001600160a01b0316331461201f5760405162461bcd60e51b81526020600482018190526024820152600080516020614ed38339815191526044820152606401610cd9565b600f8054911515650100000000000265ff000000000019909216919091179055565b6006546001600160a01b031633146120895760405162461bcd60e51b81526020600482018190526024820152600080516020614ed38339815191526044820152606401610cd9565b600f80549115156101000261ff0019909216919091179055565b6000600c82815481106120c657634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031692915050565b6001600160a01b0381166000908152601b602090815260409182902080548351818402810184019094528084526060939283018282801561216957602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff16815260200190600201906020826001010492830192600103820291508084116121305790505b50505050509050919050565b600260075414156121c85760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610cd9565b6002600755600f5462010000900460ff166122255760405162461bcd60e51b815260206004820152601860248201527f626c75656c697374206d696e74206e6f742061637469766500000000000000006044820152606401610cd9565b60006122a786868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881529250889150879081908401838280828437600092019190915250506010546001600160a01b031691506119d29050565b9050806122f65760405162461bcd60e51b815260206004820152601560248201527f596f75277265206e6f7420626c75656c697374656400000000000000000000006044820152606401610cd9565b33321461230257600080fd5b33600090815260166020526040902054600290612320908490614d1d565b111561236e5760405162461bcd60e51b815260206004820152600c60248201527f6f6e6c792032206d696e747300000000000000000000000000000000000000006044820152606401610cd9565b600f5461ffff680100000000000000008204811691612396918591600160601b900416614d1d565b11156123a157600080fd5b6123b38267010a741a46278000614d49565b3410156123bf57600080fd5b60005b82811015612489576123ea33600f600c81819054906101000a900461ffff1661127690614de6565b336000818152601b60209081526040808320600f80548254600181018455928652948490206010830401805461ffff9383166002026101000a84810219909116600160601b97889004851690910217905554825195865293909304909216908301527fc50f9a23f4642743435ff109e073e0ae71bd529d23e2aac62dc4b66ff7edd55e910160405180910390a18061248181614e08565b9150506123c2565b5033600090815260166020526040812080548492906124a9908490614d1d565b90915550506001600755505050505050565b606060018054610d1390614dab565b6000806000806124d9856139e7565b6040805160008152602081018083528b905260ff8316918101919091526060810184905260808101839052929550909350915060019060a0016020604051602081039080840390855afa158015612534573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b6002600754141561259c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610cd9565b6002600755600f546301000000900460ff166125fa5760405162461bcd60e51b815260206004820152601260248201527f4f47206d696e74206e6f742061637469766500000000000000000000000000006044820152606401610cd9565b600061267c86868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881529250889150879081908401838280828437600092019190915250506011546001600160a01b031691506119d29050565b9050806126cb5760405162461bcd60e51b815260206004820152601060248201527f596f75277265206e6f7420616e204f47000000000000000000000000000000006044820152606401610cd9565b3332146126d757600080fd5b336000908152601760205260409020546003906126f5908490614d1d565b11156127325760405162461bcd60e51b815260206004820152600c60248201526b6f6e6c792033206d696e747360a01b6044820152606401610cd9565b600f5461ffff68010000000000000000820481169161275a918591600160601b900416614d1d565b111561276557600080fd5b6127778267010a741a46278000614d49565b34101561278357600080fd5b60005b8281101561284d576127ae33600f600c81819054906101000a900461ffff1661127690614de6565b336000818152601b60209081526040808320600f80548254600181018455928652948490206010830401805461ffff9383166002026101000a84810219909116600160601b97889004851690910217905554825195865293909304909216908301527fc50f9a23f4642743435ff109e073e0ae71bd529d23e2aac62dc4b66ff7edd55e910160405180910390a18061284581614e08565b915050612786565b5033600090815260176020526040812080548492906124a9908490614d1d565b600260075414156128c05760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610cd9565b6002600755600f54610100900460ff1661291c5760405162461bcd60e51b815260206004820152601260248201527f6d696e74206973206e6f742061637469766500000000000000000000000000006044820152606401610cd9565b33321461292857600080fd5b33600090815260186020526040902054600390612946908390614d1d565b11156129835760405162461bcd60e51b815260206004820152600c60248201526b6f6e6c792033206d696e747360a01b6044820152606401610cd9565b600f5461ffff6801000000000000000082048116916129ab918491600160601b900416614d1d565b11156129e95760405162461bcd60e51b815260206004820152600d60248201526c1b1a5b5a5d081c995858da1959609a1b6044820152606401610cd9565b6129fb8167016345785d8a0000614d49565b341015612a0757600080fd5b60005b81811015612ad157612a3233600f600c81819054906101000a900461ffff1661127690614de6565b336000818152601b60209081526040808320600f80548254600181018455928652948490206010830401805461ffff9383166002026101000a84810219909116600160601b97889004851690910217905554825195865293909304909216908301527fc50f9a23f4642743435ff109e073e0ae71bd529d23e2aac62dc4b66ff7edd55e910160405180910390a180612ac981614e08565b915050612a0a565b503360009081526018602052604081208054839290612af1908490614d1d565b9091555050600160075550565b6119ce338383613a5b565b6006546001600160a01b03163314612b515760405162461bcd60e51b81526020600482018190526024820152600080516020614ed38339815191526044820152606401610cd9565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b601b6020528160005260406000208181548110612b8f57600080fd5b9060005260206000209060109182820401919006600202915091509054906101000a900461ffff1681565b6006546001600160a01b03163314612c025760405162461bcd60e51b81526020600482018190526024820152600080516020614ed38339815191526044820152606401610cd9565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b612c2e3383613608565b612ca05760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610cd9565b612cac84848484613b2a565b50505050565b6006546001600160a01b03163314612cfa5760405162461bcd60e51b81526020600482018190526024820152600080516020614ed38339815191526044820152606401610cd9565b600f80549115156401000000000264ff0000000019909216919091179055565b6000818152600260205260409020546060906001600160a01b0316612d3e57600080fd5b600f5460ff16151560011415612de2576000612d58613ba8565b90506000815111612d785760405180602001604052806000815250612dda565b80612d8284613bb7565b6040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250604051602001612dca93929190614c1d565b6040516020818303038152906040525b915050610c90565b60158054612def90614dab565b80601f0160208091040260200160405190810160405280929190818152602001828054612e1b90614dab565b8015612e685780601f10612e3d57610100808354040283529160200191612e68565b820191906000526020600020905b815481529060010190602001808311612e4b57829003601f168201915b50505050509050610c90565b6006546001600160a01b03163314612ebc5760405162461bcd60e51b81526020600482018190526024820152600080516020614ed38339815191526044820152606401610cd9565b6040516000907336c75d6f4b411787965769d4c24f838c035364b69047908381818185875af1925050503d8060008114612f12576040519150601f19603f3d011682016040523d82523d6000602084013e612f17565b606091505b5050905080612f2557600080fd5b50565b6000612f348383613d06565b80611a1057506001600160a01b0380841660009081526005602090815260408083209386168352929052205460ff16611a10565b6006546001600160a01b03163314612fb05760405162461bcd60e51b81526020600482018190526024820152600080516020614ed38339815191526044820152606401610cd9565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b600260075414156130255760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610cd9565b6002600755600f54640100000000900460ff166130845760405162461bcd60e51b815260206004820152601460248201527f596f752063616e6e6f7420636c61696d206e6f770000000000000000000000006044820152606401610cd9565b600061310685858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f89018190048102820181019092528781529250879150869081908401838280828437600092019190915250506012546001600160a01b031691506119d29050565b9050806131555760405162461bcd60e51b815260206004820152601160248201527f496e76616c6964205369676e61747572650000000000000000000000000000006044820152606401610cd9565b33321461316157600080fd5b336000908152601a602052604090205460ff16156131c15760405162461bcd60e51b815260206004820152600f60248201527f616c726561647920636c61696d656400000000000000000000000000000000006044820152606401610cd9565b600f5461ffff6801000000000000000082048116916131ea91600160601b909104166001614cf7565b61ffff16111561322c5760405162461bcd60e51b815260206004820152600d60248201526c1b1a5b5a5d081c995858da1959609a1b6044820152606401610cd9565b61324c33600f600c81819054906101000a900461ffff1661127690614de6565b336000818152601b60209081526040808320600f80548254600180820185559387528587206010820401805461ffff9285166002026101000a83810219909116600160601b948590048416909102179055878752601a865295849020805460ff191690931790925554825195865204909216908301527fc50f9a23f4642743435ff109e073e0ae71bd529d23e2aac62dc4b66ff7edd55e910160405180910390a150506001600755505050565b6006546001600160a01b031633146133415760405162461bcd60e51b81526020600482018190526024820152600080516020614ed38339815191526044820152606401610cd9565b80516119ce9060159060208401906145e4565b6006546001600160a01b0316331461339c5760405162461bcd60e51b81526020600482018190526024820152600080516020614ed38339815191526044820152606401610cd9565b6001600160a01b0381166134185760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610cd9565b612f2581613995565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061345682611a45565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6119ce828260405180602001604052806000815250613e10565b6008546001600160a01b0384166000908152600a6020526040812054909183916134d39086614d49565b6134dd9190614d35565b6134e79190614d68565b949350505050565b8047101561353f5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610cd9565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461358c576040519150601f19603f3d011682016040523d82523d6000602084013e613591565b606091505b5050905080610fe65760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610cd9565b6000818152600260205260408120546001600160a01b03166136815760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610cd9565b600061368c83611a45565b9050806001600160a01b0316846001600160a01b031614806136c75750836001600160a01b03166136bc84610d96565b6001600160a01b0316145b806134e757506134e78185612f28565b826001600160a01b03166136ea82611a45565b6001600160a01b0316146137665760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610cd9565b6001600160a01b0382166137e15760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610cd9565b6137ec600082613421565b6001600160a01b0383166000908152600360205260408120805460019290613815908490614d68565b90915550506001600160a01b0382166000908152600360205260408120805460019290613843908490614d1d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4610fe6838383613e8e565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610fe6908490614152565b60008160405160200161393d9190614c01565b604051602081830303815290604052805190602001209050919050565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c0161393d565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008060008351604114613a3d5760405162461bcd60e51b815260206004820152601860248201527f696e76616c6964207369676e6174757265206c656e67746800000000000000006044820152606401610cd9565b50505060208101516040820151606090920151909260009190911a90565b816001600160a01b0316836001600160a01b03161415613abd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610cd9565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b613b358484846136d7565b613b4184848484614237565b612cac5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610cd9565b606060148054610d1390614dab565b606081613bf8575060408051808201909152600181527f30000000000000000000000000000000000000000000000000000000000000006020820152610c90565b8160005b8115613c225780613c0c81614e08565b9150613c1b9050600a83614d35565b9150613bfc565b60008167ffffffffffffffff811115613c4b57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613c75576020820181803683370190505b5090505b84156134e757613c8a600183614d68565b9150613c97600a86614e43565b613ca2906030614d1d565b60f81b818381518110613cc557634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613cff600a86614d35565b9450613c79565b6000804660018114613d1f5760048114613d3b57613d53565b73a5409ec958c83c3f309868babaca7c86dcb077c19150613d53565b73f57b2c51ded3a29e6891aba85459d600256cf31791505b506001600160a01b038116158015906134e757506040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b038581166004830152808516919083169063c45527919060240160206040518083038186803b158015613dc657600080fd5b505afa158015613dda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613dfe9190614a13565b6001600160a01b031614949350505050565b613e1a838361438f565b613e276000848484614237565b610fe65760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610cd9565b6001600160a01b03831615610fe6576001600160a01b038281166000908152601b6020908152604080832080546001808201835591855292842060108404018054600f9094166002026101000a61ffff8181021990951694881602939093179092559286168252919020541415613f65576001600160a01b0383166000908152601b60205260409020805480613f3457634e487b7160e01b600052603160045260246000fd5b600082815260209020601060001990920191820401805461ffff6002600f8516026101000a02191690559055610fe6565b6001600160a01b0383166000908152601b6020526040812054905b8181101561414b576001600160a01b0385166000908152601b60205260409020805484919083908110613fc357634e487b7160e01b600052603260045260246000fd5b60009182526020909120601082040154600f9091166002026101000a900461ffff161415614139576001600160a01b0385166000908152601b6020526040902061400e600184614d68565b8154811061402c57634e487b7160e01b600052603260045260246000fd5b90600052602060002090601091828204019190066002029054906101000a900461ffff16601b6000876001600160a01b03166001600160a01b03168152602001908152602001600020828154811061409457634e487b7160e01b600052603260045260246000fd5b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff160217905550601b6000866001600160a01b03166001600160a01b0316815260200190815260200160002080548061410557634e487b7160e01b600052603160045260246000fd5b600082815260209020601060001990920191820401805461ffff6002600f8516026101000a0219169055905550610fe69050565b8061414381614e08565b915050613f80565b5050505050565b60006141a7826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166144d99092919063ffffffff16565b805190915015610fe657808060200190518101906141c59190614968565b610fe65760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610cd9565b60006001600160a01b0384163b1561438457604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061427b903390899088908890600401614c60565b602060405180830381600087803b15801561429557600080fd5b505af19250505080156142c5575060408051601f3d908101601f191682019092526142c2918101906149e5565b60015b61436a573d8080156142f3576040519150601f19603f3d011682016040523d82523d6000602084013e6142f8565b606091505b5080516143625760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610cd9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506134e7565b506001949350505050565b6001600160a01b0382166143e55760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610cd9565b6000818152600260205260409020546001600160a01b03161561444a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610cd9565b6001600160a01b0382166000908152600360205260408120805460019290614473908490614d1d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46119ce60008383613e8e565b60606134e7848460008585843b6145325760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610cd9565b600080866001600160a01b0316858760405161454e9190614c01565b60006040518083038185875af1925050503d806000811461458b576040519150601f19603f3d011682016040523d82523d6000602084013e614590565b606091505b50915091506145a08282866145ab565b979650505050505050565b606083156145ba575081611a10565b8251156145ca5782518084602001fd5b8160405162461bcd60e51b8152600401610cd99190614ce4565b8280546145f090614dab565b90600052602060002090601f0160209004810192826146125760008555614658565b82601f1061462b57805160ff1916838001178555614658565b82800160010185558215614658579182015b8281111561465857825182559160200191906001019061463d565b50614664929150614668565b5090565b5b808211156146645760008155600101614669565b60008083601f84011261468e578182fd5b50813567ffffffffffffffff8111156146a5578182fd5b60208301915083602080830285010111156146bf57600080fd5b9250929050565b60008083601f8401126146d7578182fd5b50813567ffffffffffffffff8111156146ee578182fd5b6020830191508360208285010111156146bf57600080fd5b600082601f830112614716578081fd5b813567ffffffffffffffff8082111561473157614731614e83565b604051601f8301601f19908116603f0116810190828211818310171561475957614759614e83565b81604052838152866020858801011115614771578485fd5b8360208701602083013792830160200193909352509392505050565b60006020828403121561479e578081fd5b8135611a1081614e99565b600080604083850312156147bb578081fd5b82356147c681614e99565b915060208301356147d681614e99565b809150509250929050565b6000806000606084860312156147f5578081fd5b833561480081614e99565b9250602084013561481081614e99565b929592945050506040919091013590565b60008060008060808587031215614836578081fd5b843561484181614e99565b9350602085013561485181614e99565b925060408501359150606085013567ffffffffffffffff811115614873578182fd5b61487f87828801614706565b91505092959194509250565b6000806040838503121561489d578182fd5b82356148a881614e99565b915060208301356147d681614eae565b600080604083850312156148ca578182fd5b82356148d581614e99565b946020939093013593505050565b600080600080604085870312156148f8578182fd5b843567ffffffffffffffff8082111561490f578384fd5b61491b8883890161467d565b90965094506020870135915080821115614933578384fd5b506149408782880161467d565b95989497509550505050565b60006020828403121561495d578081fd5b8135611a1081614eae565b600060208284031215614979578081fd5b8151611a1081614eae565b60008060408385031215614996578182fd5b82359150602083013567ffffffffffffffff8111156149b3578182fd5b6149bf85828601614706565b9150509250929050565b6000602082840312156149da578081fd5b8135611a1081614ebc565b6000602082840312156149f6578081fd5b8151611a1081614ebc565b600080604083850312156147bb578182fd5b600060208284031215614a24578081fd5b8151611a1081614e99565b60008060008060408587031215614a44578182fd5b843567ffffffffffffffff80821115614a5b578384fd5b614a67888389016146c6565b90965094506020870135915080821115614a7f578384fd5b50614940878288016146c6565b600080600080600060608688031215614aa3578283fd5b853567ffffffffffffffff80821115614aba578485fd5b614ac689838a016146c6565b90975095506020880135915080821115614ade578485fd5b50614aeb888289016146c6565b96999598509660400135949350505050565b600060208284031215614b0e578081fd5b813567ffffffffffffffff811115614b24578182fd5b6134e784828501614706565b600080600060608486031215614b44578081fd5b833567ffffffffffffffff80821115614b5b578283fd5b614b6787838801614706565b94506020860135915080821115614b7c578283fd5b50614b8986828701614706565b9250506040840135614b9a81614e99565b809150509250925092565b600060208284031215614bb6578081fd5b5035919050565b600060208284031215614bce578081fd5b5051919050565b60008151808452614bed816020860160208601614d7f565b601f01601f19169290920160200192915050565b60008251614c13818460208701614d7f565b9190910192915050565b60008451614c2f818460208901614d7f565b845190830190614c43818360208901614d7f565b8451910190614c56818360208801614d7f565b0195945050505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152614c926080830184614bd5565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015614cd857835161ffff1683529284019291840191600101614cb8565b50909695505050505050565b600060208252611a106020830184614bd5565b600061ffff808316818516808303821115614d1457614d14614e57565b01949350505050565b60008219821115614d3057614d30614e57565b500190565b600082614d4457614d44614e6d565b500490565b6000816000190483118215151615614d6357614d63614e57565b500290565b600082821015614d7a57614d7a614e57565b500390565b60005b83811015614d9a578181015183820152602001614d82565b83811115612cac5750506000910152565b600281046001821680614dbf57607f821691505b60208210811415614de057634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff80831681811415614dfe57614dfe614e57565b6001019392505050565b6000600019821415614e1c57614e1c614e57565b5060010190565b600060ff821660ff811415614e3a57614e3a614e57565b60010192915050565b600082614e5257614e52614e6d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114612f2557600080fd5b8015158114612f2557600080fd5b6001600160e01b031981168114612f2557600080fdfe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220bd78d22d9c5826982e95171bb88be7a70ab783f2a28b6483eb5817725ef2d2d864736f6c63430008020033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002200000000000000000000000000000000000000000000000000000000000000005426c7565730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005424c554553000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000036c75d6f4b411787965769d4c24f838c035364b6000000000000000000000000226705fdf7c0e118f4dbaf8063026ee2fc2a17a3000000000000000000000000008182461790dd50f1680deadb476790ed35f0460000000000000000000000007d43fe4a7f0dfcec5c2d2902561f4903b99651a80000000000000000000000008b1507236662c79fb799dd6275cc947ca45f86e400000000000000000000000045718988490bdcb3a32c7f1a9d5c13b5047284010000000000000000000000000dff09a6733a12366236e62111a4ce93c475db78000000000000000000000000570148c93822dd8b24d68ab26e5677ceb0ae131d000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000003520000000000000000000000000000000000000000000000000000000000000021000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000019000000000000000000000000000000000000000000000000000000000000000f000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000001
-----Decoded View---------------
Arg [0] : _name (string): Blues
Arg [1] : _symbol (string): BLUES
Arg [2] : _payees (address[]): 0x36C75D6f4B411787965769D4c24f838c035364B6,0x226705FdF7C0e118f4DbAf8063026EE2Fc2A17A3,0x008182461790dd50F1680deAdB476790ED35f046,0x7d43Fe4a7F0DFCec5C2D2902561F4903b99651a8,0x8B1507236662c79Fb799DD6275Cc947ca45F86e4,0x45718988490bDCb3a32c7F1a9D5c13B504728401,0x0DFf09A6733a12366236E62111a4cE93c475Db78,0x570148C93822Dd8b24D68AB26E5677ceB0ae131d
Arg [3] : _shares (uint256[]): 850,33,33,33,25,15,10,1
-----Encoded View---------------
26 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [5] : 426c756573000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 424c554553000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [9] : 00000000000000000000000036c75d6f4b411787965769d4c24f838c035364b6
Arg [10] : 000000000000000000000000226705fdf7c0e118f4dbaf8063026ee2fc2a17a3
Arg [11] : 000000000000000000000000008182461790dd50f1680deadb476790ed35f046
Arg [12] : 0000000000000000000000007d43fe4a7f0dfcec5c2d2902561f4903b99651a8
Arg [13] : 0000000000000000000000008b1507236662c79fb799dd6275cc947ca45f86e4
Arg [14] : 00000000000000000000000045718988490bdcb3a32c7f1a9d5c13b504728401
Arg [15] : 0000000000000000000000000dff09a6733a12366236e62111a4ce93c475db78
Arg [16] : 000000000000000000000000570148c93822dd8b24d68ab26e5677ceb0ae131d
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000352
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000021
Arg [20] : 0000000000000000000000000000000000000000000000000000000000000021
Arg [21] : 0000000000000000000000000000000000000000000000000000000000000021
Arg [22] : 0000000000000000000000000000000000000000000000000000000000000019
Arg [23] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [24] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [25] : 0000000000000000000000000000000000000000000000000000000000000001
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.