Overview
TokenID
475
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Trippyfuru
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity >=0.4.22 <0.9.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; contract OwnableDelegateProxy {} contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; } contract Trippyfuru is Ownable, ERC721 { uint256 public constant TOTAL_MAX_QTY = 5555; uint256 public constant FREE_MINT_MAX_QTY = 500; uint256 public constant PAID_MINT_MAX_QTY = 5054; uint256 public constant TOTAL_MINT_MAX_QTY = FREE_MINT_MAX_QTY + PAID_MINT_MAX_QTY; uint256 public constant GIFT_MAX_QTY = 1; uint256 public constant PRICE = 0.028 ether; uint256 public constant MAX_QTY_PER_WALLET = 20; string private _tokenBaseURI; uint256 public maxFreeQtyPerWallet = 0; uint256 public mintedQty = 0; uint256 public giftedQty = 0; mapping(address => uint256) public minterToTokenQty; address proxyRegistryAddress; address teamAddress; constructor() ERC721("Trippyfuru", "TRIPPYFURU") {} function totalSupply() public view returns (uint256) { return mintedQty + giftedQty; } function setTeamAddress(address _address) external { teamAddress = _address; } function mint(uint256 _mintQty) external payable { // free if (mintedQty < FREE_MINT_MAX_QTY) { require(mintedQty + _mintQty <= FREE_MINT_MAX_QTY, "MAXL"); require( minterToTokenQty[msg.sender] + _mintQty <= maxFreeQtyPerWallet, "MAXF" ); } //paid else { require(mintedQty + _mintQty <= TOTAL_MINT_MAX_QTY, "MAXL"); require( minterToTokenQty[msg.sender] + _mintQty <= MAX_QTY_PER_WALLET, "MAXP" ); require(msg.value >= PRICE * _mintQty, "SETH"); } uint256 totalSupplyBefore = totalSupply(); mintedQty += _mintQty; minterToTokenQty[msg.sender] += _mintQty; for (uint256 i = 0; i < _mintQty; i++) { _mint(msg.sender, ++totalSupplyBefore); } } function gift(address[] calldata receivers) external onlyOwner { require(giftedQty + receivers.length <= GIFT_MAX_QTY, "MAXG"); uint256 totalSupplyBefore = totalSupply(); giftedQty += receivers.length; for (uint256 i = 0; i < receivers.length; i++) { _mint(receivers[i], ++totalSupplyBefore); } } function withdrawAll() external onlyOwner { require(address(this).balance > 0, "ZERO"); require(teamAddress != address(0), "TEAM"); payable(teamAddress).transfer(address(this).balance * 875 / 1000); payable(msg.sender).transfer(address(this).balance); } function setMaxFreeQtyPerTx(uint256 _maxQtyPerTx) external onlyOwner { maxFreeQtyPerWallet = _maxQtyPerTx; } // rinkeby: 0xf57b2c51ded3a29e6891aba85459d600256cf317 // mainnet: 0xa5409ec958c83c3f309868babaca7c86dcb077c1 function setProxyRegistryAddress(address proxyAddress) external onlyOwner { proxyRegistryAddress = proxyAddress; } function isApprovedForAll(address owner, address operator) public view override returns (bool) { ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress); if (address(proxyRegistry.proxies(owner)) == operator) { return true; } return super.isApprovedForAll(owner, operator); } function setBaseURI(string calldata URI) external onlyOwner { _tokenBaseURI = URI; } function _baseURI() internal view override(ERC721) returns (string memory) { return _tokenBaseURI; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Address.sol"; import "../utils/Context.sol"; import "../utils/math/SafeMath.sol"; /** * @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. */ contract PaymentSplitter is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(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; /** * @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 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 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 = (totalReceived * _shares[account]) / _totalShares - _released[account]; require(payment != 0, "PaymentSplitter: account is not due payment"); _released[account] = _released[account] + payment; _totalReleased = _totalReleased + payment; Address.sendValue(account, payment); emit PaymentReleased(account, payment); } /** * @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_); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"FREE_MINT_MAX_QTY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GIFT_MAX_QTY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_QTY_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAID_MINT_MAX_QTY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_MAX_QTY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_MINT_MAX_QTY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"receivers","type":"address[]"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"giftedQty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreeQtyPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintQty","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintedQty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minterToTokenQty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxQtyPerTx","type":"uint256"}],"name":"setMaxFreeQtyPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"proxyAddress","type":"address"}],"name":"setProxyRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setTeamAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600060085560006009556000600a553480156200002057600080fd5b506040518060400160405280600a8152602001695472697070796675727560b01b8152506040518060400160405280600a8152602001695452495050594655525560b01b815250620000816200007b620000b560201b60201c565b620000b9565b81516200009690600190602085019062000109565b508051620000ac90600290602084019062000109565b505050620001ec565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200011790620001af565b90600052602060002090601f0160209004810192826200013b576000855562000186565b82601f106200015657805160ff191683800117855562000186565b8280016001018555821562000186579182015b828111156200018657825182559160200191906001019062000169565b506200019492915062000198565b5090565b5b8082111562000194576000815560010162000199565b600181811c90821680620001c457607f821691505b60208210811415620001e657634e487b7160e01b600052602260045260246000fd5b50919050565b61203b80620001fc6000396000f3fe6080604052600436106102045760003560e01c8063853828b611610118578063a22cb465116100a0578063d26ea6c01161006f578063d26ea6c0146105aa578063dee816e6146105ca578063e351da4c146105e0578063e985e9c5146105f5578063f2fde38b1461061557600080fd5b8063a22cb46514610534578063b88d4fde14610554578063bd34fc5714610574578063c87b56dd1461058a57600080fd5b8063918ce432116100e7578063918ce432146104ca57806395d89b41146104e0578063966784ec146104f55780639a525d9c1461050b578063a0712d681461052157600080fd5b8063853828b61461044f57806388aadd41146104645780638d859f3e146104915780638da5cb5b146104ac57600080fd5b80633f5632b01161019b5780636352211e1161016a5780636352211e1461039d5780636690864e146103bd57806370a08231146103fa578063715018a61461041a578063738a92e81461042f57600080fd5b80633f5632b01461033257806342842e0e1461034857806355f804b3146103685780635f7172021461038857600080fd5b8063163e1e61116101d7578063163e1e61146102ba57806318160ddd146102da57806323b872dd146102fd5780633354fe341461031d57600080fd5b806301ffc9a71461020957806306fdde031461023e578063081812fc14610260578063095ea7b314610298575b600080fd5b34801561021557600080fd5b50610229610224366004611a02565b610635565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b50610253610687565b6040516102359190611a77565b34801561026c57600080fd5b5061028061027b366004611a8a565b610719565b6040516001600160a01b039091168152602001610235565b3480156102a457600080fd5b506102b86102b3366004611ab8565b6107b3565b005b3480156102c657600080fd5b506102b86102d5366004611ae4565b6108c9565b3480156102e657600080fd5b506102ef6109c0565b604051908152602001610235565b34801561030957600080fd5b506102b8610318366004611b59565b6109d7565b34801561032957600080fd5b506102ef600181565b34801561033e57600080fd5b506102ef60095481565b34801561035457600080fd5b506102b8610363366004611b59565b610a08565b34801561037457600080fd5b506102b8610383366004611b9a565b610a23565b34801561039457600080fd5b506102ef610a59565b3480156103a957600080fd5b506102806103b8366004611a8a565b610a6a565b3480156103c957600080fd5b506102b86103d8366004611bfa565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b34801561040657600080fd5b506102ef610415366004611bfa565b610ae1565b34801561042657600080fd5b506102b8610b68565b34801561043b57600080fd5b506102b861044a366004611a8a565b610b9e565b34801561045b57600080fd5b506102b8610bcd565b34801561047057600080fd5b506102ef61047f366004611bfa565b600b6020526000908152604090205481565b34801561049d57600080fd5b506102ef666379da05b6000081565b3480156104b857600080fd5b506000546001600160a01b0316610280565b3480156104d657600080fd5b506102ef6113be81565b3480156104ec57600080fd5b50610253610cf1565b34801561050157600080fd5b506102ef60085481565b34801561051757600080fd5b506102ef6101f481565b6102b861052f366004611a8a565b610d00565b34801561054057600080fd5b506102b861054f366004611c17565b610f11565b34801561056057600080fd5b506102b861056f366004611c6b565b610fd6565b34801561058057600080fd5b506102ef600a5481565b34801561059657600080fd5b506102536105a5366004611a8a565b611008565b3480156105b657600080fd5b506102b86105c5366004611bfa565b6110e3565b3480156105d657600080fd5b506102ef6115b381565b3480156105ec57600080fd5b506102ef601481565b34801561060157600080fd5b50610229610610366004611d4b565b61112f565b34801561062157600080fd5b506102b8610630366004611bfa565b6111ff565b60006001600160e01b031982166380ac58cd60e01b148061066657506001600160e01b03198216635b5e139f60e01b145b8061068157506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606001805461069690611d79565b80601f01602080910402602001604051908101604052809291908181526020018280546106c290611d79565b801561070f5780601f106106e45761010080835404028352916020019161070f565b820191906000526020600020905b8154815290600101906020018083116106f257829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b03166107975760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b60006107be82610a6a565b9050806001600160a01b0316836001600160a01b0316141561082c5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161078e565b336001600160a01b03821614806108485750610848813361112f565b6108ba5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161078e565b6108c48383611297565b505050565b6000546001600160a01b031633146108f35760405162461bcd60e51b815260040161078e90611db4565b600a54600190610904908390611dff565b111561093b5760405162461bcd60e51b815260040161078e906020808252600490820152634d41584760e01b604082015260600190565b60006109456109c0565b905082829050600a600082825461095c9190611dff565b90915550600090505b828110156109ba576109a884848381811061098257610982611e17565b90506020020160208101906109979190611bfa565b6109a084611e2d565b935083611305565b806109b281611e2d565b915050610965565b50505050565b6000600a546009546109d29190611dff565b905090565b6109e13382611447565b6109fd5760405162461bcd60e51b815260040161078e90611e48565b6108c4838383611516565b6108c483838360405180602001604052806000815250610fd6565b6000546001600160a01b03163314610a4d5760405162461bcd60e51b815260040161078e90611db4565b6108c460078383611953565b610a676113be6101f4611dff565b81565b6000818152600360205260408120546001600160a01b0316806106815760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161078e565b60006001600160a01b038216610b4c5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161078e565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b03163314610b925760405162461bcd60e51b815260040161078e90611db4565b610b9c60006116b6565b565b6000546001600160a01b03163314610bc85760405162461bcd60e51b815260040161078e90611db4565b600855565b6000546001600160a01b03163314610bf75760405162461bcd60e51b815260040161078e90611db4565b60004711610c305760405162461bcd60e51b815260040161078e906020808252600490820152635a45524f60e01b604082015260600190565b600d546001600160a01b0316610c715760405162461bcd60e51b815260040161078e906020808252600490820152635445414d60e01b604082015260600190565b600d546001600160a01b03166108fc6103e8610c8f4761036b611e99565b610c999190611ece565b6040518115909202916000818181858888f19350505050158015610cc1573d6000803e3d6000fd5b5060405133904780156108fc02916000818181858888f19350505050158015610cee573d6000803e3d6000fd5b50565b60606002805461069690611d79565b6101f46009541015610dae576101f481600954610d1d9190611dff565b1115610d545760405162461bcd60e51b815260040161078e906020808252600490820152631350561360e21b604082015260600190565b600854336000908152600b6020526040902054610d72908390611dff565b1115610da95760405162461bcd60e51b815260040161078e9060208082526004908201526326a0ac2360e11b604082015260600190565b610e9f565b610dbc6113be6101f4611dff565b81600954610dca9190611dff565b1115610e015760405162461bcd60e51b815260040161078e906020808252600490820152631350561360e21b604082015260600190565b336000908152600b6020526040902054601490610e1f908390611dff565b1115610e565760405162461bcd60e51b815260040161078e9060208082526004908201526304d4158560e41b604082015260600190565b610e6781666379da05b60000611e99565b341015610e9f5760405162461bcd60e51b815260040161078e906020808252600490820152630a68aa8960e31b604082015260600190565b6000610ea96109c0565b90508160096000828254610ebd9190611dff565b9091555050336000908152600b602052604081208054849290610ee1908490611dff565b90915550600090505b828110156108c457610eff336109a084611e2d565b80610f0981611e2d565b915050610eea565b6001600160a01b038216331415610f6a5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161078e565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610fe03383611447565b610ffc5760405162461bcd60e51b815260040161078e90611e48565b6109ba84848484611706565b6000818152600360205260409020546060906001600160a01b03166110875760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161078e565b6000611091611739565b905060008151116110b157604051806020016040528060008152506110dc565b806110bb84611748565b6040516020016110cc929190611ee2565b6040516020818303038152906040525b9392505050565b6000546001600160a01b0316331461110d5760405162461bcd60e51b815260040161078e90611db4565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b600c5460405163c455279160e01b81526001600160a01b03848116600483015260009281169190841690829063c45527919060240160206040518083038186803b15801561117c57600080fd5b505afa158015611190573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b49190611f11565b6001600160a01b031614156111cd576001915050610681565b6001600160a01b0380851660009081526006602090815260408083209387168352929052205460ff165b949350505050565b6000546001600160a01b031633146112295760405162461bcd60e51b815260040161078e90611db4565b6001600160a01b03811661128e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161078e565b610cee816116b6565b600081815260056020526040902080546001600160a01b0319166001600160a01b03841690811790915581906112cc82610a6a565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600160a01b03821661135b5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161078e565b6000818152600360205260409020546001600160a01b0316156113c05760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161078e565b6001600160a01b03821660009081526004602052604081208054600192906113e9908490611dff565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000818152600360205260408120546001600160a01b03166114c05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161078e565b60006114cb83610a6a565b9050806001600160a01b0316846001600160a01b031614806115065750836001600160a01b03166114fb84610719565b6001600160a01b0316145b806111f757506111f7818561112f565b826001600160a01b031661152982610a6a565b6001600160a01b0316146115915760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161078e565b6001600160a01b0382166115f35760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161078e565b6115fe600082611297565b6001600160a01b0383166000908152600460205260408120805460019290611627908490611f2e565b90915550506001600160a01b0382166000908152600460205260408120805460019290611655908490611dff565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b611711848484611516565b61171d84848484611846565b6109ba5760405162461bcd60e51b815260040161078e90611f45565b60606007805461069690611d79565b60608161176c5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611796578061178081611e2d565b915061178f9050600a83611ece565b9150611770565b60008167ffffffffffffffff8111156117b1576117b1611c55565b6040519080825280601f01601f1916602001820160405280156117db576020820181803683370190505b5090505b84156111f7576117f0600183611f2e565b91506117fd600a86611f97565b611808906030611dff565b60f81b81838151811061181d5761181d611e17565b60200101906001600160f81b031916908160001a90535061183f600a86611ece565b94506117df565b60006001600160a01b0384163b1561194857604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061188a903390899088908890600401611fab565b602060405180830381600087803b1580156118a457600080fd5b505af19250505080156118d4575060408051601f3d908101601f191682019092526118d191810190611fe8565b60015b61192e573d808015611902576040519150601f19603f3d011682016040523d82523d6000602084013e611907565b606091505b5080516119265760405162461bcd60e51b815260040161078e90611f45565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506111f7565b506001949350505050565b82805461195f90611d79565b90600052602060002090601f01602090048101928261198157600085556119c7565b82601f1061199a5782800160ff198235161785556119c7565b828001600101855582156119c7579182015b828111156119c75782358255916020019190600101906119ac565b506119d39291506119d7565b5090565b5b808211156119d357600081556001016119d8565b6001600160e01b031981168114610cee57600080fd5b600060208284031215611a1457600080fd5b81356110dc816119ec565b60005b83811015611a3a578181015183820152602001611a22565b838111156109ba5750506000910152565b60008151808452611a63816020860160208601611a1f565b601f01601f19169290920160200192915050565b6020815260006110dc6020830184611a4b565b600060208284031215611a9c57600080fd5b5035919050565b6001600160a01b0381168114610cee57600080fd5b60008060408385031215611acb57600080fd5b8235611ad681611aa3565b946020939093013593505050565b60008060208385031215611af757600080fd5b823567ffffffffffffffff80821115611b0f57600080fd5b818501915085601f830112611b2357600080fd5b813581811115611b3257600080fd5b8660208260051b8501011115611b4757600080fd5b60209290920196919550909350505050565b600080600060608486031215611b6e57600080fd5b8335611b7981611aa3565b92506020840135611b8981611aa3565b929592945050506040919091013590565b60008060208385031215611bad57600080fd5b823567ffffffffffffffff80821115611bc557600080fd5b818501915085601f830112611bd957600080fd5b813581811115611be857600080fd5b866020828501011115611b4757600080fd5b600060208284031215611c0c57600080fd5b81356110dc81611aa3565b60008060408385031215611c2a57600080fd5b8235611c3581611aa3565b915060208301358015158114611c4a57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611c8157600080fd5b8435611c8c81611aa3565b93506020850135611c9c81611aa3565b925060408501359150606085013567ffffffffffffffff80821115611cc057600080fd5b818701915087601f830112611cd457600080fd5b813581811115611ce657611ce6611c55565b604051601f8201601f19908116603f01168101908382118183101715611d0e57611d0e611c55565b816040528281528a6020848701011115611d2757600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611d5e57600080fd5b8235611d6981611aa3565b91506020830135611c4a81611aa3565b600181811c90821680611d8d57607f821691505b60208210811415611dae57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115611e1257611e12611de9565b500190565b634e487b7160e01b600052603260045260246000fd5b6000600019821415611e4157611e41611de9565b5060010190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000816000190483118215151615611eb357611eb3611de9565b500290565b634e487b7160e01b600052601260045260246000fd5b600082611edd57611edd611eb8565b500490565b60008351611ef4818460208801611a1f565b835190830190611f08818360208801611a1f565b01949350505050565b600060208284031215611f2357600080fd5b81516110dc81611aa3565b600082821015611f4057611f40611de9565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600082611fa657611fa6611eb8565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611fde90830184611a4b565b9695505050505050565b600060208284031215611ffa57600080fd5b81516110dc816119ec56fea2646970667358221220fab67cbc9a77641c99d12d45da6abb8b05dc38e43704ccd3b85a1fa98aad50c064736f6c63430008090033
Deployed Bytecode
0x6080604052600436106102045760003560e01c8063853828b611610118578063a22cb465116100a0578063d26ea6c01161006f578063d26ea6c0146105aa578063dee816e6146105ca578063e351da4c146105e0578063e985e9c5146105f5578063f2fde38b1461061557600080fd5b8063a22cb46514610534578063b88d4fde14610554578063bd34fc5714610574578063c87b56dd1461058a57600080fd5b8063918ce432116100e7578063918ce432146104ca57806395d89b41146104e0578063966784ec146104f55780639a525d9c1461050b578063a0712d681461052157600080fd5b8063853828b61461044f57806388aadd41146104645780638d859f3e146104915780638da5cb5b146104ac57600080fd5b80633f5632b01161019b5780636352211e1161016a5780636352211e1461039d5780636690864e146103bd57806370a08231146103fa578063715018a61461041a578063738a92e81461042f57600080fd5b80633f5632b01461033257806342842e0e1461034857806355f804b3146103685780635f7172021461038857600080fd5b8063163e1e61116101d7578063163e1e61146102ba57806318160ddd146102da57806323b872dd146102fd5780633354fe341461031d57600080fd5b806301ffc9a71461020957806306fdde031461023e578063081812fc14610260578063095ea7b314610298575b600080fd5b34801561021557600080fd5b50610229610224366004611a02565b610635565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b50610253610687565b6040516102359190611a77565b34801561026c57600080fd5b5061028061027b366004611a8a565b610719565b6040516001600160a01b039091168152602001610235565b3480156102a457600080fd5b506102b86102b3366004611ab8565b6107b3565b005b3480156102c657600080fd5b506102b86102d5366004611ae4565b6108c9565b3480156102e657600080fd5b506102ef6109c0565b604051908152602001610235565b34801561030957600080fd5b506102b8610318366004611b59565b6109d7565b34801561032957600080fd5b506102ef600181565b34801561033e57600080fd5b506102ef60095481565b34801561035457600080fd5b506102b8610363366004611b59565b610a08565b34801561037457600080fd5b506102b8610383366004611b9a565b610a23565b34801561039457600080fd5b506102ef610a59565b3480156103a957600080fd5b506102806103b8366004611a8a565b610a6a565b3480156103c957600080fd5b506102b86103d8366004611bfa565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b34801561040657600080fd5b506102ef610415366004611bfa565b610ae1565b34801561042657600080fd5b506102b8610b68565b34801561043b57600080fd5b506102b861044a366004611a8a565b610b9e565b34801561045b57600080fd5b506102b8610bcd565b34801561047057600080fd5b506102ef61047f366004611bfa565b600b6020526000908152604090205481565b34801561049d57600080fd5b506102ef666379da05b6000081565b3480156104b857600080fd5b506000546001600160a01b0316610280565b3480156104d657600080fd5b506102ef6113be81565b3480156104ec57600080fd5b50610253610cf1565b34801561050157600080fd5b506102ef60085481565b34801561051757600080fd5b506102ef6101f481565b6102b861052f366004611a8a565b610d00565b34801561054057600080fd5b506102b861054f366004611c17565b610f11565b34801561056057600080fd5b506102b861056f366004611c6b565b610fd6565b34801561058057600080fd5b506102ef600a5481565b34801561059657600080fd5b506102536105a5366004611a8a565b611008565b3480156105b657600080fd5b506102b86105c5366004611bfa565b6110e3565b3480156105d657600080fd5b506102ef6115b381565b3480156105ec57600080fd5b506102ef601481565b34801561060157600080fd5b50610229610610366004611d4b565b61112f565b34801561062157600080fd5b506102b8610630366004611bfa565b6111ff565b60006001600160e01b031982166380ac58cd60e01b148061066657506001600160e01b03198216635b5e139f60e01b145b8061068157506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606001805461069690611d79565b80601f01602080910402602001604051908101604052809291908181526020018280546106c290611d79565b801561070f5780601f106106e45761010080835404028352916020019161070f565b820191906000526020600020905b8154815290600101906020018083116106f257829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b03166107975760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b60006107be82610a6a565b9050806001600160a01b0316836001600160a01b0316141561082c5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161078e565b336001600160a01b03821614806108485750610848813361112f565b6108ba5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161078e565b6108c48383611297565b505050565b6000546001600160a01b031633146108f35760405162461bcd60e51b815260040161078e90611db4565b600a54600190610904908390611dff565b111561093b5760405162461bcd60e51b815260040161078e906020808252600490820152634d41584760e01b604082015260600190565b60006109456109c0565b905082829050600a600082825461095c9190611dff565b90915550600090505b828110156109ba576109a884848381811061098257610982611e17565b90506020020160208101906109979190611bfa565b6109a084611e2d565b935083611305565b806109b281611e2d565b915050610965565b50505050565b6000600a546009546109d29190611dff565b905090565b6109e13382611447565b6109fd5760405162461bcd60e51b815260040161078e90611e48565b6108c4838383611516565b6108c483838360405180602001604052806000815250610fd6565b6000546001600160a01b03163314610a4d5760405162461bcd60e51b815260040161078e90611db4565b6108c460078383611953565b610a676113be6101f4611dff565b81565b6000818152600360205260408120546001600160a01b0316806106815760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161078e565b60006001600160a01b038216610b4c5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161078e565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b03163314610b925760405162461bcd60e51b815260040161078e90611db4565b610b9c60006116b6565b565b6000546001600160a01b03163314610bc85760405162461bcd60e51b815260040161078e90611db4565b600855565b6000546001600160a01b03163314610bf75760405162461bcd60e51b815260040161078e90611db4565b60004711610c305760405162461bcd60e51b815260040161078e906020808252600490820152635a45524f60e01b604082015260600190565b600d546001600160a01b0316610c715760405162461bcd60e51b815260040161078e906020808252600490820152635445414d60e01b604082015260600190565b600d546001600160a01b03166108fc6103e8610c8f4761036b611e99565b610c999190611ece565b6040518115909202916000818181858888f19350505050158015610cc1573d6000803e3d6000fd5b5060405133904780156108fc02916000818181858888f19350505050158015610cee573d6000803e3d6000fd5b50565b60606002805461069690611d79565b6101f46009541015610dae576101f481600954610d1d9190611dff565b1115610d545760405162461bcd60e51b815260040161078e906020808252600490820152631350561360e21b604082015260600190565b600854336000908152600b6020526040902054610d72908390611dff565b1115610da95760405162461bcd60e51b815260040161078e9060208082526004908201526326a0ac2360e11b604082015260600190565b610e9f565b610dbc6113be6101f4611dff565b81600954610dca9190611dff565b1115610e015760405162461bcd60e51b815260040161078e906020808252600490820152631350561360e21b604082015260600190565b336000908152600b6020526040902054601490610e1f908390611dff565b1115610e565760405162461bcd60e51b815260040161078e9060208082526004908201526304d4158560e41b604082015260600190565b610e6781666379da05b60000611e99565b341015610e9f5760405162461bcd60e51b815260040161078e906020808252600490820152630a68aa8960e31b604082015260600190565b6000610ea96109c0565b90508160096000828254610ebd9190611dff565b9091555050336000908152600b602052604081208054849290610ee1908490611dff565b90915550600090505b828110156108c457610eff336109a084611e2d565b80610f0981611e2d565b915050610eea565b6001600160a01b038216331415610f6a5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161078e565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610fe03383611447565b610ffc5760405162461bcd60e51b815260040161078e90611e48565b6109ba84848484611706565b6000818152600360205260409020546060906001600160a01b03166110875760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161078e565b6000611091611739565b905060008151116110b157604051806020016040528060008152506110dc565b806110bb84611748565b6040516020016110cc929190611ee2565b6040516020818303038152906040525b9392505050565b6000546001600160a01b0316331461110d5760405162461bcd60e51b815260040161078e90611db4565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b600c5460405163c455279160e01b81526001600160a01b03848116600483015260009281169190841690829063c45527919060240160206040518083038186803b15801561117c57600080fd5b505afa158015611190573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b49190611f11565b6001600160a01b031614156111cd576001915050610681565b6001600160a01b0380851660009081526006602090815260408083209387168352929052205460ff165b949350505050565b6000546001600160a01b031633146112295760405162461bcd60e51b815260040161078e90611db4565b6001600160a01b03811661128e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161078e565b610cee816116b6565b600081815260056020526040902080546001600160a01b0319166001600160a01b03841690811790915581906112cc82610a6a565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600160a01b03821661135b5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161078e565b6000818152600360205260409020546001600160a01b0316156113c05760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161078e565b6001600160a01b03821660009081526004602052604081208054600192906113e9908490611dff565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000818152600360205260408120546001600160a01b03166114c05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161078e565b60006114cb83610a6a565b9050806001600160a01b0316846001600160a01b031614806115065750836001600160a01b03166114fb84610719565b6001600160a01b0316145b806111f757506111f7818561112f565b826001600160a01b031661152982610a6a565b6001600160a01b0316146115915760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161078e565b6001600160a01b0382166115f35760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161078e565b6115fe600082611297565b6001600160a01b0383166000908152600460205260408120805460019290611627908490611f2e565b90915550506001600160a01b0382166000908152600460205260408120805460019290611655908490611dff565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b611711848484611516565b61171d84848484611846565b6109ba5760405162461bcd60e51b815260040161078e90611f45565b60606007805461069690611d79565b60608161176c5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611796578061178081611e2d565b915061178f9050600a83611ece565b9150611770565b60008167ffffffffffffffff8111156117b1576117b1611c55565b6040519080825280601f01601f1916602001820160405280156117db576020820181803683370190505b5090505b84156111f7576117f0600183611f2e565b91506117fd600a86611f97565b611808906030611dff565b60f81b81838151811061181d5761181d611e17565b60200101906001600160f81b031916908160001a90535061183f600a86611ece565b94506117df565b60006001600160a01b0384163b1561194857604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061188a903390899088908890600401611fab565b602060405180830381600087803b1580156118a457600080fd5b505af19250505080156118d4575060408051601f3d908101601f191682019092526118d191810190611fe8565b60015b61192e573d808015611902576040519150601f19603f3d011682016040523d82523d6000602084013e611907565b606091505b5080516119265760405162461bcd60e51b815260040161078e90611f45565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506111f7565b506001949350505050565b82805461195f90611d79565b90600052602060002090601f01602090048101928261198157600085556119c7565b82601f1061199a5782800160ff198235161785556119c7565b828001600101855582156119c7579182015b828111156119c75782358255916020019190600101906119ac565b506119d39291506119d7565b5090565b5b808211156119d357600081556001016119d8565b6001600160e01b031981168114610cee57600080fd5b600060208284031215611a1457600080fd5b81356110dc816119ec565b60005b83811015611a3a578181015183820152602001611a22565b838111156109ba5750506000910152565b60008151808452611a63816020860160208601611a1f565b601f01601f19169290920160200192915050565b6020815260006110dc6020830184611a4b565b600060208284031215611a9c57600080fd5b5035919050565b6001600160a01b0381168114610cee57600080fd5b60008060408385031215611acb57600080fd5b8235611ad681611aa3565b946020939093013593505050565b60008060208385031215611af757600080fd5b823567ffffffffffffffff80821115611b0f57600080fd5b818501915085601f830112611b2357600080fd5b813581811115611b3257600080fd5b8660208260051b8501011115611b4757600080fd5b60209290920196919550909350505050565b600080600060608486031215611b6e57600080fd5b8335611b7981611aa3565b92506020840135611b8981611aa3565b929592945050506040919091013590565b60008060208385031215611bad57600080fd5b823567ffffffffffffffff80821115611bc557600080fd5b818501915085601f830112611bd957600080fd5b813581811115611be857600080fd5b866020828501011115611b4757600080fd5b600060208284031215611c0c57600080fd5b81356110dc81611aa3565b60008060408385031215611c2a57600080fd5b8235611c3581611aa3565b915060208301358015158114611c4a57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611c8157600080fd5b8435611c8c81611aa3565b93506020850135611c9c81611aa3565b925060408501359150606085013567ffffffffffffffff80821115611cc057600080fd5b818701915087601f830112611cd457600080fd5b813581811115611ce657611ce6611c55565b604051601f8201601f19908116603f01168101908382118183101715611d0e57611d0e611c55565b816040528281528a6020848701011115611d2757600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611d5e57600080fd5b8235611d6981611aa3565b91506020830135611c4a81611aa3565b600181811c90821680611d8d57607f821691505b60208210811415611dae57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115611e1257611e12611de9565b500190565b634e487b7160e01b600052603260045260246000fd5b6000600019821415611e4157611e41611de9565b5060010190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000816000190483118215151615611eb357611eb3611de9565b500290565b634e487b7160e01b600052601260045260246000fd5b600082611edd57611edd611eb8565b500490565b60008351611ef4818460208801611a1f565b835190830190611f08818360208801611a1f565b01949350505050565b600060208284031215611f2357600080fd5b81516110dc81611aa3565b600082821015611f4057611f40611de9565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600082611fa657611fa6611eb8565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611fde90830184611a4b565b9695505050505050565b600060208284031215611ffa57600080fd5b81516110dc816119ec56fea2646970667358221220fab67cbc9a77641c99d12d45da6abb8b05dc38e43704ccd3b85a1fa98aad50c064736f6c63430008090033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.