ERC-721
Overview
Max Total Supply
2,646 MOONBHIRD
Holders
690
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 MOONBHIRDLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MoonBhirds
Compiler Version
v0.8.13+commit.abaa5c0e
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.8.12; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract MoonBhirds is ERC721, Pausable, Ownable { using Strings for uint256; constructor( ) ERC721("MoonBhirds", "MOONBHIRD") { _prependURI = "ipfs://QmWtuFTVLn88Vu7T5sxaYzRsCDpj4rBxynzDYM179MHJFw/"; _appendURI = ".json"; _price = 0.015 ether; _maxSupply = 10000; _maxTokensPerTransactionPlusOne = 11; safeMint(1); } //MAX PER TRANSACTION__________________________________________________________ uint256 private _maxTokensPerTransactionPlusOne; function maxTokensPerTransaction() public view returns(uint256) { return _maxTokensPerTransactionPlusOne-1; } function setMaxTokensPerTransaction(uint256 _newValue) public onlyOwner { _maxTokensPerTransactionPlusOne = _newValue + 1; } //ID COUNTER___________________________________________________________________ uint256 private _tokenIdCounter; //TOTAL SUPPLY_________________________________________________________________ function totalSupply() public view returns (uint256) { return _tokenIdCounter; } //PRICE________________________________________________________________________ uint256 private _price; function price() public view returns (uint256) { return _price; } //URI_________________________________________________________________________ string private _prependURI; string private _appendURI; function prependURI() public view onlyOwner returns (string memory) { return _prependURI; } function appendURI() public view onlyOwner returns (string memory) { return _appendURI; } function setPrependURI(string memory _newValue) public onlyOwner { _prependURI = _newValue; } function setAppendURI(string memory _newValue) public onlyOwner { _appendURI = _newValue; } function tokenURI(uint256 _id) public view override returns (string memory) { return string(abi.encodePacked(_prependURI, _id.toString(), _appendURI)); } //MAX SUPPLY__________________________________________________________________ uint256 private _maxSupply; function maxSupply() public view returns (uint256) { return _maxSupply; } //PAUSE_______________________________________________________________________ function pause() public { _pause(); } function unpause() public { _unpause(); } //MINT________________________________________________________________________ function safeMint(uint256 _amount) internal { for (uint256 i = 0; i < _amount; i++) { _safeMint(msg.sender, _tokenIdCounter); _tokenIdCounter++; } } function conditionalMint(uint256 _amount, uint256 _i_price) internal { require( _amount < _maxTokensPerTransactionPlusOne, "exceeded the amount of tokens per transaction" ); require( msg.value >= _i_price * _amount, "transaction value is lower than token's price" ); require( _amount + totalSupply() <= _maxSupply, "token max supply overflow" ); safeMint(_amount); } function mint(uint256 _amount)public payable { conditionalMint(_amount, _price); } //THE_GANG____________________________________________________________________ address private _investor = 0x63f19A6B28AAbd200a07a5697adc7eaCB6097B07; address private _master = 0x173797dC6DC5D88F9AA2cA0F6049EadAEfF15E90; address private _dev = 0x23C7c02C417519755b49c2ff57e73ad91645A5e8; modifier onlyGang() { require ( msg.sender == _investor || msg.sender == _master || msg.sender == _dev, "You are not from The Gang" ); _; } function withdraw() public onlyGang { uint256 balance = address(this).balance; uint256 portion = balance/3; payable(_investor).transfer(portion); payable(_master).transfer(portion); payable(_dev).transfer(balance - (portion*2)); } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal override(ERC721) whenNotPaused { super._beforeTokenTransfer(from, to, tokenId); } // The following functions are overrides required by Solidity. function supportsInterface(bytes4 interfaceId) public view override(ERC721) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _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 {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 200 }, "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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"appendURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokensPerTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"prependURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","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":"string","name":"_newValue","type":"string"}],"name":"setAppendURI","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":"uint256","name":"_newValue","type":"uint256"}],"name":"setMaxTokensPerTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newValue","type":"string"}],"name":"setPrependURI","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":"_id","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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600d80546001600160a01b03199081167363f19a6b28aabd200a07a5697adc7eacb6097b0717909155600e8054821673173797dc6dc5d88f9aa2ca0f6049eadaeff15e90179055600f80549091167323c7c02c417519755b49c2ff57e73ad91645a5e81790553480156200007757600080fd5b50604080518082018252600a8152694d6f6f6e42686972647360b01b6020808301918252835180850190945260098452681353d3d3909212549160ba1b908401528151919291620000cb91600091620005eb565b508051620000e1906001906020840190620005eb565b50506006805460ff1916905550620000f93362000181565b604051806060016040528060368152602001620027586036913980516200012991600a91602090910190620005eb565b5060408051808201909152600580825264173539b7b760d91b60209092019182526200015891600b91620005eb565b5066354a6ba7a18000600955612710600c55600b6007556200017b6001620001db565b620007c8565b600680546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60005b818110156200022857620001fb336008546200022c60201b60201c565b600880549060006200020d83620006a7565b919050555080806200021f90620006a7565b915050620001de565b5050565b620002288282604051806020016040528060008152506200024e60201b60201c565b6200025a8383620002ca565b62000269600084848462000420565b620002c55760405162461bcd60e51b815260206004820152603260248201526000805160206200273883398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084015b60405180910390fd5b505050565b6001600160a01b038216620003225760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401620002bc565b6000818152600260205260409020546001600160a01b031615620003895760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401620002bc565b62000397600083836200057c565b6001600160a01b0382166000908152600360205260408120805460019290620003c2908490620006c3565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600062000441846001600160a01b0316620005dc60201b62000d3f1760201c565b156200057057604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906200047b903390899088908890600401620006de565b6020604051808303816000875af1925050508015620004b9575060408051601f3d908101601f19168201909252620004b69181019062000759565b60015b62000555573d808015620004ea576040519150601f19603f3d011682016040523d82523d6000602084013e620004ef565b606091505b5080516000036200054d5760405162461bcd60e51b815260206004820152603260248201526000805160206200273883398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401620002bc565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905062000574565b5060015b949350505050565b60065460ff1615620005c45760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401620002bc565b620002c5838383620002c560201b620007b81760201c565b6001600160a01b03163b151590565b828054620005f9906200078c565b90600052602060002090601f0160209004810192826200061d576000855562000668565b82601f106200063857805160ff191683800117855562000668565b8280016001018555821562000668579182015b82811115620006685782518255916020019190600101906200064b565b50620006769291506200067a565b5090565b5b808211156200067657600081556001016200067b565b634e487b7160e01b600052601160045260246000fd5b600060018201620006bc57620006bc62000691565b5060010190565b60008219821115620006d957620006d962000691565b500190565b600060018060a01b038087168352602081871681850152856040850152608060608501528451915081608085015260005b828110156200072d5785810182015185820160a0015281016200070f565b828111156200074057600060a084870101525b5050601f01601f19169190910160a00195945050505050565b6000602082840312156200076c57600080fd5b81516001600160e01b0319811681146200078557600080fd5b9392505050565b600181811c90821680620007a157607f821691505b602082108103620007c257634e487b7160e01b600052602260045260246000fd5b50919050565b611f6080620007d86000396000f3fe6080604052600436106101cd5760003560e01c80638456cb59116100f7578063b58a7c6811610095578063d923814f11610064578063d923814f146104cd578063e985e9c5146104ed578063f2fde38b14610536578063f85aff941461055657600080fd5b8063b58a7c6814610463578063b88d4fde14610478578063c87b56dd14610498578063d5abeb01146104b857600080fd5b8063a035b1fe116100d1578063a035b1fe14610406578063a0712d681461041b578063a22cb4651461042e578063b3003cdd1461044e57600080fd5b80638456cb59146103b95780638da5cb5b146103ce57806395d89b41146103f157600080fd5b806323b872dd1161016f5780635c975abb1161013e5780635c975abb1461034c5780636352211e1461036457806370a0823114610384578063715018a6146103a457600080fd5b806323b872dd146102e25780633ccfd60b146103025780633f4ba83a1461031757806342842e0e1461032c57600080fd5b8063095ea7b3116101ab578063095ea7b3146102615780631449d3e61461028357806318160ddd146102a35780631ff02eda146102c257600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed36600461191c565b61056b565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c61057c565b6040516101fe9190611998565b34801561023557600080fd5b506102496102443660046119ab565b61060e565b6040516001600160a01b0390911681526020016101fe565b34801561026d57600080fd5b5061028161027c3660046119e0565b6106a8565b005b34801561028f57600080fd5b5061028161029e3660046119ab565b6107bd565b3480156102af57600080fd5b506008545b6040519081526020016101fe565b3480156102ce57600080fd5b506102816102dd366004611a96565b6107fe565b3480156102ee57600080fd5b506102816102fd366004611adf565b610845565b34801561030e57600080fd5b50610281610876565b34801561032357600080fd5b506102816109cb565b34801561033857600080fd5b50610281610347366004611adf565b6109d5565b34801561035857600080fd5b5060065460ff166101f2565b34801561037057600080fd5b5061024961037f3660046119ab565b6109f0565b34801561039057600080fd5b506102b461039f366004611b1b565b610a67565b3480156103b057600080fd5b50610281610aee565b3480156103c557600080fd5b50610281610b28565b3480156103da57600080fd5b5060065461010090046001600160a01b0316610249565b3480156103fd57600080fd5b5061021c610b30565b34801561041257600080fd5b506009546102b4565b6102816104293660046119ab565b610b3f565b34801561043a57600080fd5b50610281610449366004611b36565b610b4e565b34801561045a57600080fd5b5061021c610b59565b34801561046f57600080fd5b5061021c610b99565b34801561048457600080fd5b50610281610493366004611b72565b610bd9565b3480156104a457600080fd5b5061021c6104b33660046119ab565b610c11565b3480156104c457600080fd5b50600c546102b4565b3480156104d957600080fd5b506102816104e8366004611a96565b610c48565b3480156104f957600080fd5b506101f2610508366004611bee565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561054257600080fd5b50610281610551366004611b1b565b610c8b565b34801561056257600080fd5b506102b4610d29565b600061057682610d4e565b92915050565b60606000805461058b90611c21565b80601f01602080910402602001604051908101604052809291908181526020018280546105b790611c21565b80156106045780601f106105d957610100808354040283529160200191610604565b820191906000526020600020905b8154815290600101906020018083116105e757829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661068c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006106b3826109f0565b9050806001600160a01b0316836001600160a01b0316036107205760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610683565b336001600160a01b038216148061073c575061073c8133610508565b6107ae5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610683565b6107b88383610d9e565b505050565b6006546001600160a01b036101009091041633146107ed5760405162461bcd60e51b815260040161068390611c5b565b6107f8816001611ca6565b60075550565b6006546001600160a01b0361010090910416331461082e5760405162461bcd60e51b815260040161068390611c5b565b805161084190600a90602084019061186d565b5050565b61084f3382610e0c565b61086b5760405162461bcd60e51b815260040161068390611cbe565b6107b8838383610f03565b600d546001600160a01b03163314806108995750600e546001600160a01b031633145b806108ae5750600f546001600160a01b031633145b6108fa5760405162461bcd60e51b815260206004820152601960248201527f596f7520617265206e6f742066726f6d205468652047616e67000000000000006044820152606401610683565b476000610908600383611d25565b600d546040519192506001600160a01b03169082156108fc029083906000818181858888f19350505050158015610943573d6000803e3d6000fd5b50600e546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561097e573d6000803e3d6000fd5b50600f546001600160a01b03166108fc610999836002611d39565b6109a39085611d58565b6040518115909202916000818181858888f193505050501580156107b8573d6000803e3d6000fd5b6109d36110aa565b565b6107b883838360405180602001604052806000815250610bd9565b6000818152600260205260408120546001600160a01b0316806105765760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610683565b60006001600160a01b038216610ad25760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610683565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03610100909104163314610b1e5760405162461bcd60e51b815260040161068390611c5b565b6109d3600061113d565b6109d3611197565b60606001805461058b90611c21565b610b4b81600954611212565b50565b61084133838361134f565b6006546060906001600160a01b03610100909104163314610b8c5760405162461bcd60e51b815260040161068390611c5b565b600a805461058b90611c21565b6006546060906001600160a01b03610100909104163314610bcc5760405162461bcd60e51b815260040161068390611c5b565b600b805461058b90611c21565b610be33383610e0c565b610bff5760405162461bcd60e51b815260040161068390611cbe565b610c0b8484848461141d565b50505050565b6060600a610c1e83611450565b600b604051602001610c3293929190611e08565b6040516020818303038152906040529050919050565b6006546001600160a01b03610100909104163314610c785760405162461bcd60e51b815260040161068390611c5b565b805161084190600b90602084019061186d565b6006546001600160a01b03610100909104163314610cbb5760405162461bcd60e51b815260040161068390611c5b565b6001600160a01b038116610d205760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610683565b610b4b8161113d565b60006001600754610d3a9190611d58565b905090565b6001600160a01b03163b151590565b60006001600160e01b031982166380ac58cd60e01b1480610d7f57506001600160e01b03198216635b5e139f60e01b145b8061057657506301ffc9a760e01b6001600160e01b0319831614610576565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610dd3826109f0565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610e855760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610683565b6000610e90836109f0565b9050806001600160a01b0316846001600160a01b03161480610ecb5750836001600160a01b0316610ec08461060e565b6001600160a01b0316145b80610efb57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316610f16826109f0565b6001600160a01b031614610f7a5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610683565b6001600160a01b038216610fdc5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610683565b610fe7838383611551565b610ff2600082610d9e565b6001600160a01b038316600090815260036020526040812080546001929061101b908490611d58565b90915550506001600160a01b0382166000908152600360205260408120805460019290611049908490611ca6565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60065460ff166110f35760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610683565b6006805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600680546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60065460ff16156111dd5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610683565b6006805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586111203390565b60075482106112795760405162461bcd60e51b815260206004820152602d60248201527f65786365656465642074686520616d6f756e74206f6620746f6b656e7320706560448201526c39103a3930b739b0b1ba34b7b760991b6064820152608401610683565b6112838282611d39565b3410156112e85760405162461bcd60e51b815260206004820152602d60248201527f7472616e73616374696f6e2076616c7565206973206c6f776572207468616e2060448201526c746f6b656e277320707269636560981b6064820152608401610683565b600c546008546112f89084611ca6565b11156113465760405162461bcd60e51b815260206004820152601960248201527f746f6b656e206d617820737570706c79206f766572666c6f77000000000000006044820152606401610683565b61084182611597565b816001600160a01b0316836001600160a01b0316036113b05760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610683565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611428848484610f03565b611434848484846115d6565b610c0b5760405162461bcd60e51b815260040161068390611e3b565b6060816000036114775750506040805180820190915260018152600360fc1b602082015290565b8160005b81156114a1578061148b81611e8d565b915061149a9050600a83611d25565b915061147b565b60008167ffffffffffffffff8111156114bc576114bc611a0a565b6040519080825280601f01601f1916602001820160405280156114e6576020820181803683370190505b5090505b8415610efb576114fb600183611d58565b9150611508600a86611ea6565b611513906030611ca6565b60f81b81838151811061152857611528611eba565b60200101906001600160f81b031916908160001a90535061154a600a86611d25565b94506114ea565b60065460ff16156107b85760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610683565b60005b81811015610841576115ae336008546116d7565b600880549060006115be83611e8d565b919050555080806115ce90611e8d565b91505061159a565b60006001600160a01b0384163b156116cc57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061161a903390899088908890600401611ed0565b6020604051808303816000875af1925050508015611655575060408051601f3d908101601f1916820190925261165291810190611f0d565b60015b6116b2573d808015611683576040519150601f19603f3d011682016040523d82523d6000602084013e611688565b606091505b5080516000036116aa5760405162461bcd60e51b815260040161068390611e3b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610efb565b506001949350505050565b6108418282604051806020016040528060008152506116f6838361171f565b61170360008484846115d6565b6107b85760405162461bcd60e51b815260040161068390611e3b565b6001600160a01b0382166117755760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610683565b6000818152600260205260409020546001600160a01b0316156117da5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610683565b6117e660008383611551565b6001600160a01b038216600090815260036020526040812080546001929061180f908490611ca6565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461187990611c21565b90600052602060002090601f01602090048101928261189b57600085556118e1565b82601f106118b457805160ff19168380011785556118e1565b828001600101855582156118e1579182015b828111156118e15782518255916020019190600101906118c6565b506118ed9291506118f1565b5090565b5b808211156118ed57600081556001016118f2565b6001600160e01b031981168114610b4b57600080fd5b60006020828403121561192e57600080fd5b813561193981611906565b9392505050565b60005b8381101561195b578181015183820152602001611943565b83811115610c0b5750506000910152565b60008151808452611984816020860160208601611940565b601f01601f19169290920160200192915050565b602081526000611939602083018461196c565b6000602082840312156119bd57600080fd5b5035919050565b80356001600160a01b03811681146119db57600080fd5b919050565b600080604083850312156119f357600080fd5b6119fc836119c4565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611a3b57611a3b611a0a565b604051601f8501601f19908116603f01168101908282118183101715611a6357611a63611a0a565b81604052809350858152868686011115611a7c57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611aa857600080fd5b813567ffffffffffffffff811115611abf57600080fd5b8201601f81018413611ad057600080fd5b610efb84823560208401611a20565b600080600060608486031215611af457600080fd5b611afd846119c4565b9250611b0b602085016119c4565b9150604084013590509250925092565b600060208284031215611b2d57600080fd5b611939826119c4565b60008060408385031215611b4957600080fd5b611b52836119c4565b915060208301358015158114611b6757600080fd5b809150509250929050565b60008060008060808587031215611b8857600080fd5b611b91856119c4565b9350611b9f602086016119c4565b925060408501359150606085013567ffffffffffffffff811115611bc257600080fd5b8501601f81018713611bd357600080fd5b611be287823560208401611a20565b91505092959194509250565b60008060408385031215611c0157600080fd5b611c0a836119c4565b9150611c18602084016119c4565b90509250929050565b600181811c90821680611c3557607f821691505b602082108103611c5557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115611cb957611cb9611c90565b500190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082611d3457611d34611d0f565b500490565b6000816000190483118215151615611d5357611d53611c90565b500290565b600082821015611d6a57611d6a611c90565b500390565b8054600090600181811c9080831680611d8957607f831692505b60208084108203611daa57634e487b7160e01b600052602260045260246000fd5b818015611dbe5760018114611dcf57611dfc565b60ff19861689528489019650611dfc565b60008881526020902060005b86811015611df45781548b820152908501908301611ddb565b505084890196505b50505050505092915050565b6000611e148286611d6f565b8451611e24818360208901611940565b611e3081830186611d6f565b979650505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600060018201611e9f57611e9f611c90565b5060010190565b600082611eb557611eb5611d0f565b500690565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611f039083018461196c565b9695505050505050565b600060208284031215611f1f57600080fd5b81516119398161190656fea2646970667358221220fa0c8202354fa8ead159b615922ef32fd5dfaeb2a90168254ed6b4251d9110e264736f6c634300080d00334552433732313a207472616e7366657220746f206e6f6e204552433732315265697066733a2f2f516d5774754654564c6e38385675375435737861597a52734344706a34724278796e7a44594d3137394d484a46772f
Deployed Bytecode
0x6080604052600436106101cd5760003560e01c80638456cb59116100f7578063b58a7c6811610095578063d923814f11610064578063d923814f146104cd578063e985e9c5146104ed578063f2fde38b14610536578063f85aff941461055657600080fd5b8063b58a7c6814610463578063b88d4fde14610478578063c87b56dd14610498578063d5abeb01146104b857600080fd5b8063a035b1fe116100d1578063a035b1fe14610406578063a0712d681461041b578063a22cb4651461042e578063b3003cdd1461044e57600080fd5b80638456cb59146103b95780638da5cb5b146103ce57806395d89b41146103f157600080fd5b806323b872dd1161016f5780635c975abb1161013e5780635c975abb1461034c5780636352211e1461036457806370a0823114610384578063715018a6146103a457600080fd5b806323b872dd146102e25780633ccfd60b146103025780633f4ba83a1461031757806342842e0e1461032c57600080fd5b8063095ea7b3116101ab578063095ea7b3146102615780631449d3e61461028357806318160ddd146102a35780631ff02eda146102c257600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed36600461191c565b61056b565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c61057c565b6040516101fe9190611998565b34801561023557600080fd5b506102496102443660046119ab565b61060e565b6040516001600160a01b0390911681526020016101fe565b34801561026d57600080fd5b5061028161027c3660046119e0565b6106a8565b005b34801561028f57600080fd5b5061028161029e3660046119ab565b6107bd565b3480156102af57600080fd5b506008545b6040519081526020016101fe565b3480156102ce57600080fd5b506102816102dd366004611a96565b6107fe565b3480156102ee57600080fd5b506102816102fd366004611adf565b610845565b34801561030e57600080fd5b50610281610876565b34801561032357600080fd5b506102816109cb565b34801561033857600080fd5b50610281610347366004611adf565b6109d5565b34801561035857600080fd5b5060065460ff166101f2565b34801561037057600080fd5b5061024961037f3660046119ab565b6109f0565b34801561039057600080fd5b506102b461039f366004611b1b565b610a67565b3480156103b057600080fd5b50610281610aee565b3480156103c557600080fd5b50610281610b28565b3480156103da57600080fd5b5060065461010090046001600160a01b0316610249565b3480156103fd57600080fd5b5061021c610b30565b34801561041257600080fd5b506009546102b4565b6102816104293660046119ab565b610b3f565b34801561043a57600080fd5b50610281610449366004611b36565b610b4e565b34801561045a57600080fd5b5061021c610b59565b34801561046f57600080fd5b5061021c610b99565b34801561048457600080fd5b50610281610493366004611b72565b610bd9565b3480156104a457600080fd5b5061021c6104b33660046119ab565b610c11565b3480156104c457600080fd5b50600c546102b4565b3480156104d957600080fd5b506102816104e8366004611a96565b610c48565b3480156104f957600080fd5b506101f2610508366004611bee565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561054257600080fd5b50610281610551366004611b1b565b610c8b565b34801561056257600080fd5b506102b4610d29565b600061057682610d4e565b92915050565b60606000805461058b90611c21565b80601f01602080910402602001604051908101604052809291908181526020018280546105b790611c21565b80156106045780601f106105d957610100808354040283529160200191610604565b820191906000526020600020905b8154815290600101906020018083116105e757829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661068c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006106b3826109f0565b9050806001600160a01b0316836001600160a01b0316036107205760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610683565b336001600160a01b038216148061073c575061073c8133610508565b6107ae5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610683565b6107b88383610d9e565b505050565b6006546001600160a01b036101009091041633146107ed5760405162461bcd60e51b815260040161068390611c5b565b6107f8816001611ca6565b60075550565b6006546001600160a01b0361010090910416331461082e5760405162461bcd60e51b815260040161068390611c5b565b805161084190600a90602084019061186d565b5050565b61084f3382610e0c565b61086b5760405162461bcd60e51b815260040161068390611cbe565b6107b8838383610f03565b600d546001600160a01b03163314806108995750600e546001600160a01b031633145b806108ae5750600f546001600160a01b031633145b6108fa5760405162461bcd60e51b815260206004820152601960248201527f596f7520617265206e6f742066726f6d205468652047616e67000000000000006044820152606401610683565b476000610908600383611d25565b600d546040519192506001600160a01b03169082156108fc029083906000818181858888f19350505050158015610943573d6000803e3d6000fd5b50600e546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561097e573d6000803e3d6000fd5b50600f546001600160a01b03166108fc610999836002611d39565b6109a39085611d58565b6040518115909202916000818181858888f193505050501580156107b8573d6000803e3d6000fd5b6109d36110aa565b565b6107b883838360405180602001604052806000815250610bd9565b6000818152600260205260408120546001600160a01b0316806105765760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610683565b60006001600160a01b038216610ad25760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610683565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03610100909104163314610b1e5760405162461bcd60e51b815260040161068390611c5b565b6109d3600061113d565b6109d3611197565b60606001805461058b90611c21565b610b4b81600954611212565b50565b61084133838361134f565b6006546060906001600160a01b03610100909104163314610b8c5760405162461bcd60e51b815260040161068390611c5b565b600a805461058b90611c21565b6006546060906001600160a01b03610100909104163314610bcc5760405162461bcd60e51b815260040161068390611c5b565b600b805461058b90611c21565b610be33383610e0c565b610bff5760405162461bcd60e51b815260040161068390611cbe565b610c0b8484848461141d565b50505050565b6060600a610c1e83611450565b600b604051602001610c3293929190611e08565b6040516020818303038152906040529050919050565b6006546001600160a01b03610100909104163314610c785760405162461bcd60e51b815260040161068390611c5b565b805161084190600b90602084019061186d565b6006546001600160a01b03610100909104163314610cbb5760405162461bcd60e51b815260040161068390611c5b565b6001600160a01b038116610d205760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610683565b610b4b8161113d565b60006001600754610d3a9190611d58565b905090565b6001600160a01b03163b151590565b60006001600160e01b031982166380ac58cd60e01b1480610d7f57506001600160e01b03198216635b5e139f60e01b145b8061057657506301ffc9a760e01b6001600160e01b0319831614610576565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610dd3826109f0565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610e855760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610683565b6000610e90836109f0565b9050806001600160a01b0316846001600160a01b03161480610ecb5750836001600160a01b0316610ec08461060e565b6001600160a01b0316145b80610efb57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316610f16826109f0565b6001600160a01b031614610f7a5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610683565b6001600160a01b038216610fdc5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610683565b610fe7838383611551565b610ff2600082610d9e565b6001600160a01b038316600090815260036020526040812080546001929061101b908490611d58565b90915550506001600160a01b0382166000908152600360205260408120805460019290611049908490611ca6565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60065460ff166110f35760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610683565b6006805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600680546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60065460ff16156111dd5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610683565b6006805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586111203390565b60075482106112795760405162461bcd60e51b815260206004820152602d60248201527f65786365656465642074686520616d6f756e74206f6620746f6b656e7320706560448201526c39103a3930b739b0b1ba34b7b760991b6064820152608401610683565b6112838282611d39565b3410156112e85760405162461bcd60e51b815260206004820152602d60248201527f7472616e73616374696f6e2076616c7565206973206c6f776572207468616e2060448201526c746f6b656e277320707269636560981b6064820152608401610683565b600c546008546112f89084611ca6565b11156113465760405162461bcd60e51b815260206004820152601960248201527f746f6b656e206d617820737570706c79206f766572666c6f77000000000000006044820152606401610683565b61084182611597565b816001600160a01b0316836001600160a01b0316036113b05760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610683565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611428848484610f03565b611434848484846115d6565b610c0b5760405162461bcd60e51b815260040161068390611e3b565b6060816000036114775750506040805180820190915260018152600360fc1b602082015290565b8160005b81156114a1578061148b81611e8d565b915061149a9050600a83611d25565b915061147b565b60008167ffffffffffffffff8111156114bc576114bc611a0a565b6040519080825280601f01601f1916602001820160405280156114e6576020820181803683370190505b5090505b8415610efb576114fb600183611d58565b9150611508600a86611ea6565b611513906030611ca6565b60f81b81838151811061152857611528611eba565b60200101906001600160f81b031916908160001a90535061154a600a86611d25565b94506114ea565b60065460ff16156107b85760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610683565b60005b81811015610841576115ae336008546116d7565b600880549060006115be83611e8d565b919050555080806115ce90611e8d565b91505061159a565b60006001600160a01b0384163b156116cc57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061161a903390899088908890600401611ed0565b6020604051808303816000875af1925050508015611655575060408051601f3d908101601f1916820190925261165291810190611f0d565b60015b6116b2573d808015611683576040519150601f19603f3d011682016040523d82523d6000602084013e611688565b606091505b5080516000036116aa5760405162461bcd60e51b815260040161068390611e3b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610efb565b506001949350505050565b6108418282604051806020016040528060008152506116f6838361171f565b61170360008484846115d6565b6107b85760405162461bcd60e51b815260040161068390611e3b565b6001600160a01b0382166117755760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610683565b6000818152600260205260409020546001600160a01b0316156117da5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610683565b6117e660008383611551565b6001600160a01b038216600090815260036020526040812080546001929061180f908490611ca6565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461187990611c21565b90600052602060002090601f01602090048101928261189b57600085556118e1565b82601f106118b457805160ff19168380011785556118e1565b828001600101855582156118e1579182015b828111156118e15782518255916020019190600101906118c6565b506118ed9291506118f1565b5090565b5b808211156118ed57600081556001016118f2565b6001600160e01b031981168114610b4b57600080fd5b60006020828403121561192e57600080fd5b813561193981611906565b9392505050565b60005b8381101561195b578181015183820152602001611943565b83811115610c0b5750506000910152565b60008151808452611984816020860160208601611940565b601f01601f19169290920160200192915050565b602081526000611939602083018461196c565b6000602082840312156119bd57600080fd5b5035919050565b80356001600160a01b03811681146119db57600080fd5b919050565b600080604083850312156119f357600080fd5b6119fc836119c4565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611a3b57611a3b611a0a565b604051601f8501601f19908116603f01168101908282118183101715611a6357611a63611a0a565b81604052809350858152868686011115611a7c57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611aa857600080fd5b813567ffffffffffffffff811115611abf57600080fd5b8201601f81018413611ad057600080fd5b610efb84823560208401611a20565b600080600060608486031215611af457600080fd5b611afd846119c4565b9250611b0b602085016119c4565b9150604084013590509250925092565b600060208284031215611b2d57600080fd5b611939826119c4565b60008060408385031215611b4957600080fd5b611b52836119c4565b915060208301358015158114611b6757600080fd5b809150509250929050565b60008060008060808587031215611b8857600080fd5b611b91856119c4565b9350611b9f602086016119c4565b925060408501359150606085013567ffffffffffffffff811115611bc257600080fd5b8501601f81018713611bd357600080fd5b611be287823560208401611a20565b91505092959194509250565b60008060408385031215611c0157600080fd5b611c0a836119c4565b9150611c18602084016119c4565b90509250929050565b600181811c90821680611c3557607f821691505b602082108103611c5557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115611cb957611cb9611c90565b500190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082611d3457611d34611d0f565b500490565b6000816000190483118215151615611d5357611d53611c90565b500290565b600082821015611d6a57611d6a611c90565b500390565b8054600090600181811c9080831680611d8957607f831692505b60208084108203611daa57634e487b7160e01b600052602260045260246000fd5b818015611dbe5760018114611dcf57611dfc565b60ff19861689528489019650611dfc565b60008881526020902060005b86811015611df45781548b820152908501908301611ddb565b505084890196505b50505050505092915050565b6000611e148286611d6f565b8451611e24818360208901611940565b611e3081830186611d6f565b979650505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600060018201611e9f57611e9f611c90565b5060010190565b600082611eb557611eb5611d0f565b500690565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611f039083018461196c565b9695505050505050565b600060208284031215611f1f57600080fd5b81516119398161190656fea2646970667358221220fa0c8202354fa8ead159b615922ef32fd5dfaeb2a90168254ed6b4251d9110e264736f6c634300080d0033
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.