More Info
Private Name Tags
ContractCreator:
TokenTracker
Sponsored
Latest 25 from a total of 3,731 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 54517233 | 18 days ago | IN | 0 MATIC | 0.00343666 | ||||
Set Approval For... | 54195366 | 26 days ago | IN | 0 MATIC | 0.00113445 | ||||
Set Approval For... | 54195362 | 26 days ago | IN | 0 MATIC | 0.00109671 | ||||
Set Approval For... | 53501826 | 44 days ago | IN | 0 MATIC | 0.00130779 | ||||
Set Approval For... | 52890343 | 59 days ago | IN | 0 MATIC | 0.00511447 | ||||
Set Approval For... | 52858668 | 60 days ago | IN | 0 MATIC | 0.00089823 | ||||
Set Approval For... | 52764024 | 63 days ago | IN | 0 MATIC | 0.00173856 | ||||
Set Approval For... | 52321037 | 74 days ago | IN | 0 MATIC | 0.00139968 | ||||
Set Approval For... | 52028581 | 82 days ago | IN | 0 MATIC | 0.00083185 | ||||
Set Approval For... | 51925641 | 85 days ago | IN | 0 MATIC | 0.00257639 | ||||
Set Approval For... | 51450458 | 97 days ago | IN | 0 MATIC | 0.0022385 | ||||
Set Approval For... | 50224941 | 128 days ago | IN | 0 MATIC | 0.0008064 | ||||
Set Approval For... | 49787788 | 139 days ago | IN | 0 MATIC | 0.005686 | ||||
Set Approval For... | 48799902 | 164 days ago | IN | 0 MATIC | 0.00118791 | ||||
Set Approval For... | 48266289 | 178 days ago | IN | 0 MATIC | 0.00231667 | ||||
Set Approval For... | 48103099 | 182 days ago | IN | 0 MATIC | 0.00179761 | ||||
Set Approval For... | 48061459 | 183 days ago | IN | 0 MATIC | 0.00170603 | ||||
Set Approval For... | 46723962 | 217 days ago | IN | 0 MATIC | 0.00402268 | ||||
Set Approval For... | 46641198 | 219 days ago | IN | 0 MATIC | 0.00362502 | ||||
Set Approval For... | 46639330 | 219 days ago | IN | 0 MATIC | 0.00224034 | ||||
Set Approval For... | 46622637 | 219 days ago | IN | 0 MATIC | 0.00231685 | ||||
Set Approval For... | 45841907 | 239 days ago | IN | 0 MATIC | 0.00201401 | ||||
Set Approval For... | 44848609 | 264 days ago | IN | 0 MATIC | 0.00268001 | ||||
Set Approval For... | 44645493 | 269 days ago | IN | 0 MATIC | 0.00356002 | ||||
Set Approval For... | 44452066 | 274 days ago | IN | 0 MATIC | 0.00426347 |
Loading...
Loading
Contract Name:
pGoldHunter
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract pGoldHunter is ERC721, Ownable { string private _apiURI = "https://gold-hunt.herokuapp.com/token/"; constructor(string memory name, string memory tokenName) ERC721(name, tokenName) {} function mintMany(address _targetOwner, uint16[] calldata ids) external onlyOwner { for(uint16 i = 0; i < ids.length; i++) { _safeMint(_targetOwner, ids[i]); } } function mintRange(address _targetOwner, uint16 inclStartId, uint16 inclEndId) external onlyOwner { for(uint16 i = inclStartId; i <= inclEndId; i++) { _safeMint(_targetOwner, i); } } function setBaseURI(string memory uri) external onlyOwner { _apiURI = uri; } function _baseURI() internal view override returns (string memory) { return _apiURI; // this _apiURI is our mutable api } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"tokenName","type":"string"}],"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":[{"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":[{"internalType":"address","name":"_targetOwner","type":"address"},{"internalType":"uint16[]","name":"ids","type":"uint16[]"}],"name":"mintMany","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_targetOwner","type":"address"},{"internalType":"uint16","name":"inclStartId","type":"uint16"},{"internalType":"uint16","name":"inclEndId","type":"uint16"}],"name":"mintRange","outputs":[],"stateMutability":"nonpayable","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":"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":[{"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"}]
Contract Creation Code
6080604052604051806060016040528060268152602001620035fc60269139600790805190602001906200003592919062000195565b503480156200004357600080fd5b5060405162003622380380620036228339818101604052810190620000699190620003e2565b818181600090805190602001906200008392919062000195565b5080600190805190602001906200009c92919062000195565b505050620000bf620000b3620000c760201b60201c565b620000cf60201b60201c565b5050620004cc565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001a39062000496565b90600052602060002090601f016020900481019282620001c7576000855562000213565b82601f10620001e257805160ff191683800117855562000213565b8280016001018555821562000213579182015b8281111562000212578251825591602001919060010190620001f5565b5b50905062000222919062000226565b5090565b5b808211156200024157600081600090555060010162000227565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620002ae8262000263565b810181811067ffffffffffffffff82111715620002d057620002cf62000274565b5b80604052505050565b6000620002e562000245565b9050620002f38282620002a3565b919050565b600067ffffffffffffffff82111562000316576200031562000274565b5b620003218262000263565b9050602081019050919050565b60005b838110156200034e57808201518184015260208101905062000331565b838111156200035e576000848401525b50505050565b60006200037b6200037584620002f8565b620002d9565b9050828152602081018484840111156200039a57620003996200025e565b5b620003a78482856200032e565b509392505050565b600082601f830112620003c757620003c662000259565b5b8151620003d984826020860162000364565b91505092915050565b60008060408385031215620003fc57620003fb6200024f565b5b600083015167ffffffffffffffff8111156200041d576200041c62000254565b5b6200042b85828601620003af565b925050602083015167ffffffffffffffff8111156200044f576200044e62000254565b5b6200045d85828601620003af565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620004af57607f821691505b60208210811415620004c657620004c562000467565b5b50919050565b61312080620004dc6000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c806370a08231116100ad578063b88d4fde11610071578063b88d4fde146102f2578063c768da841461030e578063c87b56dd1461032a578063e985e9c51461035a578063f2fde38b1461038a57610121565b806370a0823114610260578063715018a6146102905780638da5cb5b1461029a57806395d89b41146102b8578063a22cb465146102d657610121565b806323b872dd116100f457806323b872dd146101c05780633cb9edce146101dc57806342842e0e146101f857806355f804b3146102145780636352211e1461023057610121565b806301ffc9a71461012657806306fdde0314610156578063081812fc14610174578063095ea7b3146101a4575b600080fd5b610140600480360381019061013b9190611d16565b6103a6565b60405161014d9190611d5e565b60405180910390f35b61015e610488565b60405161016b9190611e12565b60405180910390f35b61018e60048036038101906101899190611e6a565b61051a565b60405161019b9190611ed8565b60405180910390f35b6101be60048036038101906101b99190611f1f565b61059f565b005b6101da60048036038101906101d59190611f5f565b6106b7565b005b6101f660048036038101906101f19190612017565b610717565b005b610212600480360381019061020d9190611f5f565b6107f7565b005b61022e600480360381019061022991906121a7565b610817565b005b61024a60048036038101906102459190611e6a565b6108ad565b6040516102579190611ed8565b60405180910390f35b61027a600480360381019061027591906121f0565b61095f565b604051610287919061222c565b60405180910390f35b610298610a17565b005b6102a2610a9f565b6040516102af9190611ed8565b60405180910390f35b6102c0610ac9565b6040516102cd9190611e12565b60405180910390f35b6102f060048036038101906102eb9190612273565b610b5b565b005b61030c60048036038101906103079190612354565b610b71565b005b61032860048036038101906103239190612411565b610bd3565b005b610344600480360381019061033f9190611e6a565b610c8b565b6040516103519190611e12565b60405180910390f35b610374600480360381019061036f9190612464565b610d32565b6040516103819190611d5e565b60405180910390f35b6103a4600480360381019061039f91906121f0565b610dc6565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061047157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610481575061048082610ebe565b5b9050919050565b606060008054610497906124d3565b80601f01602080910402602001604051908101604052809291908181526020018280546104c3906124d3565b80156105105780601f106104e557610100808354040283529160200191610510565b820191906000526020600020905b8154815290600101906020018083116104f357829003601f168201915b5050505050905090565b600061052582610f28565b610564576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161055b90612577565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006105aa826108ad565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561061b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061290612609565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661063a610f94565b73ffffffffffffffffffffffffffffffffffffffff161480610669575061066881610663610f94565b610d32565b5b6106a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069f9061269b565b60405180910390fd5b6106b28383610f9c565b505050565b6106c86106c2610f94565b82611055565b610707576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106fe9061272d565b60405180910390fd5b610712838383611133565b505050565b61071f610f94565b73ffffffffffffffffffffffffffffffffffffffff1661073d610a9f565b73ffffffffffffffffffffffffffffffffffffffff1614610793576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078a90612799565b60405180910390fd5b60005b828290508161ffff1610156107f1576107de8484848461ffff168181106107c0576107bf6127b9565b5b90506020020160208101906107d591906127e8565b61ffff1661138f565b80806107e990612844565b915050610796565b50505050565b61081283838360405180602001604052806000815250610b71565b505050565b61081f610f94565b73ffffffffffffffffffffffffffffffffffffffff1661083d610a9f565b73ffffffffffffffffffffffffffffffffffffffff1614610893576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088a90612799565b60405180910390fd5b80600790805190602001906108a9929190611c07565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610956576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094d906128e1565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156109d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c790612973565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610a1f610f94565b73ffffffffffffffffffffffffffffffffffffffff16610a3d610a9f565b73ffffffffffffffffffffffffffffffffffffffff1614610a93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8a90612799565b60405180910390fd5b610a9d60006113ad565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610ad8906124d3565b80601f0160208091040260200160405190810160405280929190818152602001828054610b04906124d3565b8015610b515780601f10610b2657610100808354040283529160200191610b51565b820191906000526020600020905b815481529060010190602001808311610b3457829003601f168201915b5050505050905090565b610b6d610b66610f94565b8383611473565b5050565b610b82610b7c610f94565b83611055565b610bc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb89061272d565b60405180910390fd5b610bcd848484846115e0565b50505050565b610bdb610f94565b73ffffffffffffffffffffffffffffffffffffffff16610bf9610a9f565b73ffffffffffffffffffffffffffffffffffffffff1614610c4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4690612799565b60405180910390fd5b60008290505b8161ffff168161ffff1611610c8557610c72848261ffff1661138f565b8080610c7d90612844565b915050610c55565b50505050565b6060610c9682610f28565b610cd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ccc90612a05565b60405180910390fd5b6000610cdf61163c565b90506000815111610cff5760405180602001604052806000815250610d2a565b80610d09846116ce565b604051602001610d1a929190612a61565b6040516020818303038152906040525b915050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610dce610f94565b73ffffffffffffffffffffffffffffffffffffffff16610dec610a9f565b73ffffffffffffffffffffffffffffffffffffffff1614610e42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3990612799565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610eb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea990612af7565b60405180910390fd5b610ebb816113ad565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661100f836108ad565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061106082610f28565b61109f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109690612b89565b60405180910390fd5b60006110aa836108ad565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061111957508373ffffffffffffffffffffffffffffffffffffffff166111018461051a565b73ffffffffffffffffffffffffffffffffffffffff16145b8061112a57506111298185610d32565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611153826108ad565b73ffffffffffffffffffffffffffffffffffffffff16146111a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a090612c1b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611219576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121090612cad565b60405180910390fd5b61122483838361182f565b61122f600082610f9c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461127f9190612ccd565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112d69190612d01565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6113a9828260405180602001604052806000815250611834565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156114e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d990612da3565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516115d39190611d5e565b60405180910390a3505050565b6115eb848484611133565b6115f78484848461188f565b611636576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162d90612e35565b60405180910390fd5b50505050565b60606007805461164b906124d3565b80601f0160208091040260200160405190810160405280929190818152602001828054611677906124d3565b80156116c45780601f10611699576101008083540402835291602001916116c4565b820191906000526020600020905b8154815290600101906020018083116116a757829003601f168201915b5050505050905090565b60606000821415611716576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061182a565b600082905060005b6000821461174857808061173190612e55565b915050600a826117419190612ecd565b915061171e565b60008167ffffffffffffffff8111156117645761176361207c565b5b6040519080825280601f01601f1916602001820160405280156117965781602001600182028036833780820191505090505b5090505b60008514611823576001826117af9190612ccd565b9150600a856117be9190612efe565b60306117ca9190612d01565b60f81b8183815181106117e0576117df6127b9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561181c9190612ecd565b945061179a565b8093505050505b919050565b505050565b61183e8383611a26565b61184b600084848461188f565b61188a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188190612e35565b60405180910390fd5b505050565b60006118b08473ffffffffffffffffffffffffffffffffffffffff16611bf4565b15611a19578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026118d9610f94565b8786866040518563ffffffff1660e01b81526004016118fb9493929190612f84565b602060405180830381600087803b15801561191557600080fd5b505af192505050801561194657506040513d601f19601f820116820180604052508101906119439190612fe5565b60015b6119c9573d8060008114611976576040519150601f19603f3d011682016040523d82523d6000602084013e61197b565b606091505b506000815114156119c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b890612e35565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611a1e565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8d9061305e565b60405180910390fd5b611a9f81610f28565b15611adf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad6906130ca565b60405180910390fd5b611aeb6000838361182f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b3b9190612d01565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054611c13906124d3565b90600052602060002090601f016020900481019282611c355760008555611c7c565b82601f10611c4e57805160ff1916838001178555611c7c565b82800160010185558215611c7c579182015b82811115611c7b578251825591602001919060010190611c60565b5b509050611c899190611c8d565b5090565b5b80821115611ca6576000816000905550600101611c8e565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611cf381611cbe565b8114611cfe57600080fd5b50565b600081359050611d1081611cea565b92915050565b600060208284031215611d2c57611d2b611cb4565b5b6000611d3a84828501611d01565b91505092915050565b60008115159050919050565b611d5881611d43565b82525050565b6000602082019050611d736000830184611d4f565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611db3578082015181840152602081019050611d98565b83811115611dc2576000848401525b50505050565b6000601f19601f8301169050919050565b6000611de482611d79565b611dee8185611d84565b9350611dfe818560208601611d95565b611e0781611dc8565b840191505092915050565b60006020820190508181036000830152611e2c8184611dd9565b905092915050565b6000819050919050565b611e4781611e34565b8114611e5257600080fd5b50565b600081359050611e6481611e3e565b92915050565b600060208284031215611e8057611e7f611cb4565b5b6000611e8e84828501611e55565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611ec282611e97565b9050919050565b611ed281611eb7565b82525050565b6000602082019050611eed6000830184611ec9565b92915050565b611efc81611eb7565b8114611f0757600080fd5b50565b600081359050611f1981611ef3565b92915050565b60008060408385031215611f3657611f35611cb4565b5b6000611f4485828601611f0a565b9250506020611f5585828601611e55565b9150509250929050565b600080600060608486031215611f7857611f77611cb4565b5b6000611f8686828701611f0a565b9350506020611f9786828701611f0a565b9250506040611fa886828701611e55565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f840112611fd757611fd6611fb2565b5b8235905067ffffffffffffffff811115611ff457611ff3611fb7565b5b6020830191508360208202830111156120105761200f611fbc565b5b9250929050565b6000806000604084860312156120305761202f611cb4565b5b600061203e86828701611f0a565b935050602084013567ffffffffffffffff81111561205f5761205e611cb9565b5b61206b86828701611fc1565b92509250509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6120b482611dc8565b810181811067ffffffffffffffff821117156120d3576120d261207c565b5b80604052505050565b60006120e6611caa565b90506120f282826120ab565b919050565b600067ffffffffffffffff8211156121125761211161207c565b5b61211b82611dc8565b9050602081019050919050565b82818337600083830152505050565b600061214a612145846120f7565b6120dc565b90508281526020810184848401111561216657612165612077565b5b612171848285612128565b509392505050565b600082601f83011261218e5761218d611fb2565b5b813561219e848260208601612137565b91505092915050565b6000602082840312156121bd576121bc611cb4565b5b600082013567ffffffffffffffff8111156121db576121da611cb9565b5b6121e784828501612179565b91505092915050565b60006020828403121561220657612205611cb4565b5b600061221484828501611f0a565b91505092915050565b61222681611e34565b82525050565b6000602082019050612241600083018461221d565b92915050565b61225081611d43565b811461225b57600080fd5b50565b60008135905061226d81612247565b92915050565b6000806040838503121561228a57612289611cb4565b5b600061229885828601611f0a565b92505060206122a98582860161225e565b9150509250929050565b600067ffffffffffffffff8211156122ce576122cd61207c565b5b6122d782611dc8565b9050602081019050919050565b60006122f76122f2846122b3565b6120dc565b90508281526020810184848401111561231357612312612077565b5b61231e848285612128565b509392505050565b600082601f83011261233b5761233a611fb2565b5b813561234b8482602086016122e4565b91505092915050565b6000806000806080858703121561236e5761236d611cb4565b5b600061237c87828801611f0a565b945050602061238d87828801611f0a565b935050604061239e87828801611e55565b925050606085013567ffffffffffffffff8111156123bf576123be611cb9565b5b6123cb87828801612326565b91505092959194509250565b600061ffff82169050919050565b6123ee816123d7565b81146123f957600080fd5b50565b60008135905061240b816123e5565b92915050565b60008060006060848603121561242a57612429611cb4565b5b600061243886828701611f0a565b9350506020612449868287016123fc565b925050604061245a868287016123fc565b9150509250925092565b6000806040838503121561247b5761247a611cb4565b5b600061248985828601611f0a565b925050602061249a85828601611f0a565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806124eb57607f821691505b602082108114156124ff576124fe6124a4565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000612561602c83611d84565b915061256c82612505565b604082019050919050565b6000602082019050818103600083015261259081612554565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006125f3602183611d84565b91506125fe82612597565b604082019050919050565b60006020820190508181036000830152612622816125e6565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000612685603883611d84565b915061269082612629565b604082019050919050565b600060208201905081810360008301526126b481612678565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000612717603183611d84565b9150612722826126bb565b604082019050919050565b600060208201905081810360008301526127468161270a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612783602083611d84565b915061278e8261274d565b602082019050919050565b600060208201905081810360008301526127b281612776565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000602082840312156127fe576127fd611cb4565b5b600061280c848285016123fc565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061284f826123d7565b915061ffff82141561286457612863612815565b5b600182019050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006128cb602983611d84565b91506128d68261286f565b604082019050919050565b600060208201905081810360008301526128fa816128be565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b600061295d602a83611d84565b915061296882612901565b604082019050919050565b6000602082019050818103600083015261298c81612950565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006129ef602f83611d84565b91506129fa82612993565b604082019050919050565b60006020820190508181036000830152612a1e816129e2565b9050919050565b600081905092915050565b6000612a3b82611d79565b612a458185612a25565b9350612a55818560208601611d95565b80840191505092915050565b6000612a6d8285612a30565b9150612a798284612a30565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612ae1602683611d84565b9150612aec82612a85565b604082019050919050565b60006020820190508181036000830152612b1081612ad4565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000612b73602c83611d84565b9150612b7e82612b17565b604082019050919050565b60006020820190508181036000830152612ba281612b66565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000612c05602983611d84565b9150612c1082612ba9565b604082019050919050565b60006020820190508181036000830152612c3481612bf8565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612c97602483611d84565b9150612ca282612c3b565b604082019050919050565b60006020820190508181036000830152612cc681612c8a565b9050919050565b6000612cd882611e34565b9150612ce383611e34565b925082821015612cf657612cf5612815565b5b828203905092915050565b6000612d0c82611e34565b9150612d1783611e34565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612d4c57612d4b612815565b5b828201905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000612d8d601983611d84565b9150612d9882612d57565b602082019050919050565b60006020820190508181036000830152612dbc81612d80565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000612e1f603283611d84565b9150612e2a82612dc3565b604082019050919050565b60006020820190508181036000830152612e4e81612e12565b9050919050565b6000612e6082611e34565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612e9357612e92612815565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612ed882611e34565b9150612ee383611e34565b925082612ef357612ef2612e9e565b5b828204905092915050565b6000612f0982611e34565b9150612f1483611e34565b925082612f2457612f23612e9e565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000612f5682612f2f565b612f608185612f3a565b9350612f70818560208601611d95565b612f7981611dc8565b840191505092915050565b6000608082019050612f996000830187611ec9565b612fa66020830186611ec9565b612fb3604083018561221d565b8181036060830152612fc58184612f4b565b905095945050505050565b600081519050612fdf81611cea565b92915050565b600060208284031215612ffb57612ffa611cb4565b5b600061300984828501612fd0565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000613048602083611d84565b915061305382613012565b602082019050919050565b600060208201905081810360008301526130778161303b565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006130b4601c83611d84565b91506130bf8261307e565b602082019050919050565b600060208201905081810360008301526130e3816130a7565b905091905056fea26469706673582212200ce3fb1ba06f294d8c54984f51eb0c55aaad150cdcfdbdf8c48056d05d74cedd64736f6c6343000809003368747470733a2f2f676f6c642d68756e742e6865726f6b756170702e636f6d2f746f6b656e2f00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000b70476f6c6448756e746572000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000670474f4c44480000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101215760003560e01c806370a08231116100ad578063b88d4fde11610071578063b88d4fde146102f2578063c768da841461030e578063c87b56dd1461032a578063e985e9c51461035a578063f2fde38b1461038a57610121565b806370a0823114610260578063715018a6146102905780638da5cb5b1461029a57806395d89b41146102b8578063a22cb465146102d657610121565b806323b872dd116100f457806323b872dd146101c05780633cb9edce146101dc57806342842e0e146101f857806355f804b3146102145780636352211e1461023057610121565b806301ffc9a71461012657806306fdde0314610156578063081812fc14610174578063095ea7b3146101a4575b600080fd5b610140600480360381019061013b9190611d16565b6103a6565b60405161014d9190611d5e565b60405180910390f35b61015e610488565b60405161016b9190611e12565b60405180910390f35b61018e60048036038101906101899190611e6a565b61051a565b60405161019b9190611ed8565b60405180910390f35b6101be60048036038101906101b99190611f1f565b61059f565b005b6101da60048036038101906101d59190611f5f565b6106b7565b005b6101f660048036038101906101f19190612017565b610717565b005b610212600480360381019061020d9190611f5f565b6107f7565b005b61022e600480360381019061022991906121a7565b610817565b005b61024a60048036038101906102459190611e6a565b6108ad565b6040516102579190611ed8565b60405180910390f35b61027a600480360381019061027591906121f0565b61095f565b604051610287919061222c565b60405180910390f35b610298610a17565b005b6102a2610a9f565b6040516102af9190611ed8565b60405180910390f35b6102c0610ac9565b6040516102cd9190611e12565b60405180910390f35b6102f060048036038101906102eb9190612273565b610b5b565b005b61030c60048036038101906103079190612354565b610b71565b005b61032860048036038101906103239190612411565b610bd3565b005b610344600480360381019061033f9190611e6a565b610c8b565b6040516103519190611e12565b60405180910390f35b610374600480360381019061036f9190612464565b610d32565b6040516103819190611d5e565b60405180910390f35b6103a4600480360381019061039f91906121f0565b610dc6565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061047157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610481575061048082610ebe565b5b9050919050565b606060008054610497906124d3565b80601f01602080910402602001604051908101604052809291908181526020018280546104c3906124d3565b80156105105780601f106104e557610100808354040283529160200191610510565b820191906000526020600020905b8154815290600101906020018083116104f357829003601f168201915b5050505050905090565b600061052582610f28565b610564576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161055b90612577565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006105aa826108ad565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561061b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061290612609565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661063a610f94565b73ffffffffffffffffffffffffffffffffffffffff161480610669575061066881610663610f94565b610d32565b5b6106a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069f9061269b565b60405180910390fd5b6106b28383610f9c565b505050565b6106c86106c2610f94565b82611055565b610707576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106fe9061272d565b60405180910390fd5b610712838383611133565b505050565b61071f610f94565b73ffffffffffffffffffffffffffffffffffffffff1661073d610a9f565b73ffffffffffffffffffffffffffffffffffffffff1614610793576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078a90612799565b60405180910390fd5b60005b828290508161ffff1610156107f1576107de8484848461ffff168181106107c0576107bf6127b9565b5b90506020020160208101906107d591906127e8565b61ffff1661138f565b80806107e990612844565b915050610796565b50505050565b61081283838360405180602001604052806000815250610b71565b505050565b61081f610f94565b73ffffffffffffffffffffffffffffffffffffffff1661083d610a9f565b73ffffffffffffffffffffffffffffffffffffffff1614610893576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088a90612799565b60405180910390fd5b80600790805190602001906108a9929190611c07565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610956576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094d906128e1565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156109d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c790612973565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610a1f610f94565b73ffffffffffffffffffffffffffffffffffffffff16610a3d610a9f565b73ffffffffffffffffffffffffffffffffffffffff1614610a93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8a90612799565b60405180910390fd5b610a9d60006113ad565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610ad8906124d3565b80601f0160208091040260200160405190810160405280929190818152602001828054610b04906124d3565b8015610b515780601f10610b2657610100808354040283529160200191610b51565b820191906000526020600020905b815481529060010190602001808311610b3457829003601f168201915b5050505050905090565b610b6d610b66610f94565b8383611473565b5050565b610b82610b7c610f94565b83611055565b610bc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb89061272d565b60405180910390fd5b610bcd848484846115e0565b50505050565b610bdb610f94565b73ffffffffffffffffffffffffffffffffffffffff16610bf9610a9f565b73ffffffffffffffffffffffffffffffffffffffff1614610c4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4690612799565b60405180910390fd5b60008290505b8161ffff168161ffff1611610c8557610c72848261ffff1661138f565b8080610c7d90612844565b915050610c55565b50505050565b6060610c9682610f28565b610cd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ccc90612a05565b60405180910390fd5b6000610cdf61163c565b90506000815111610cff5760405180602001604052806000815250610d2a565b80610d09846116ce565b604051602001610d1a929190612a61565b6040516020818303038152906040525b915050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610dce610f94565b73ffffffffffffffffffffffffffffffffffffffff16610dec610a9f565b73ffffffffffffffffffffffffffffffffffffffff1614610e42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3990612799565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610eb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea990612af7565b60405180910390fd5b610ebb816113ad565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661100f836108ad565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061106082610f28565b61109f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109690612b89565b60405180910390fd5b60006110aa836108ad565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061111957508373ffffffffffffffffffffffffffffffffffffffff166111018461051a565b73ffffffffffffffffffffffffffffffffffffffff16145b8061112a57506111298185610d32565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611153826108ad565b73ffffffffffffffffffffffffffffffffffffffff16146111a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a090612c1b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611219576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121090612cad565b60405180910390fd5b61122483838361182f565b61122f600082610f9c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461127f9190612ccd565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112d69190612d01565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6113a9828260405180602001604052806000815250611834565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156114e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d990612da3565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516115d39190611d5e565b60405180910390a3505050565b6115eb848484611133565b6115f78484848461188f565b611636576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162d90612e35565b60405180910390fd5b50505050565b60606007805461164b906124d3565b80601f0160208091040260200160405190810160405280929190818152602001828054611677906124d3565b80156116c45780601f10611699576101008083540402835291602001916116c4565b820191906000526020600020905b8154815290600101906020018083116116a757829003601f168201915b5050505050905090565b60606000821415611716576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061182a565b600082905060005b6000821461174857808061173190612e55565b915050600a826117419190612ecd565b915061171e565b60008167ffffffffffffffff8111156117645761176361207c565b5b6040519080825280601f01601f1916602001820160405280156117965781602001600182028036833780820191505090505b5090505b60008514611823576001826117af9190612ccd565b9150600a856117be9190612efe565b60306117ca9190612d01565b60f81b8183815181106117e0576117df6127b9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561181c9190612ecd565b945061179a565b8093505050505b919050565b505050565b61183e8383611a26565b61184b600084848461188f565b61188a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188190612e35565b60405180910390fd5b505050565b60006118b08473ffffffffffffffffffffffffffffffffffffffff16611bf4565b15611a19578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026118d9610f94565b8786866040518563ffffffff1660e01b81526004016118fb9493929190612f84565b602060405180830381600087803b15801561191557600080fd5b505af192505050801561194657506040513d601f19601f820116820180604052508101906119439190612fe5565b60015b6119c9573d8060008114611976576040519150601f19603f3d011682016040523d82523d6000602084013e61197b565b606091505b506000815114156119c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b890612e35565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611a1e565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8d9061305e565b60405180910390fd5b611a9f81610f28565b15611adf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad6906130ca565b60405180910390fd5b611aeb6000838361182f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b3b9190612d01565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054611c13906124d3565b90600052602060002090601f016020900481019282611c355760008555611c7c565b82601f10611c4e57805160ff1916838001178555611c7c565b82800160010185558215611c7c579182015b82811115611c7b578251825591602001919060010190611c60565b5b509050611c899190611c8d565b5090565b5b80821115611ca6576000816000905550600101611c8e565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611cf381611cbe565b8114611cfe57600080fd5b50565b600081359050611d1081611cea565b92915050565b600060208284031215611d2c57611d2b611cb4565b5b6000611d3a84828501611d01565b91505092915050565b60008115159050919050565b611d5881611d43565b82525050565b6000602082019050611d736000830184611d4f565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611db3578082015181840152602081019050611d98565b83811115611dc2576000848401525b50505050565b6000601f19601f8301169050919050565b6000611de482611d79565b611dee8185611d84565b9350611dfe818560208601611d95565b611e0781611dc8565b840191505092915050565b60006020820190508181036000830152611e2c8184611dd9565b905092915050565b6000819050919050565b611e4781611e34565b8114611e5257600080fd5b50565b600081359050611e6481611e3e565b92915050565b600060208284031215611e8057611e7f611cb4565b5b6000611e8e84828501611e55565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611ec282611e97565b9050919050565b611ed281611eb7565b82525050565b6000602082019050611eed6000830184611ec9565b92915050565b611efc81611eb7565b8114611f0757600080fd5b50565b600081359050611f1981611ef3565b92915050565b60008060408385031215611f3657611f35611cb4565b5b6000611f4485828601611f0a565b9250506020611f5585828601611e55565b9150509250929050565b600080600060608486031215611f7857611f77611cb4565b5b6000611f8686828701611f0a565b9350506020611f9786828701611f0a565b9250506040611fa886828701611e55565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f840112611fd757611fd6611fb2565b5b8235905067ffffffffffffffff811115611ff457611ff3611fb7565b5b6020830191508360208202830111156120105761200f611fbc565b5b9250929050565b6000806000604084860312156120305761202f611cb4565b5b600061203e86828701611f0a565b935050602084013567ffffffffffffffff81111561205f5761205e611cb9565b5b61206b86828701611fc1565b92509250509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6120b482611dc8565b810181811067ffffffffffffffff821117156120d3576120d261207c565b5b80604052505050565b60006120e6611caa565b90506120f282826120ab565b919050565b600067ffffffffffffffff8211156121125761211161207c565b5b61211b82611dc8565b9050602081019050919050565b82818337600083830152505050565b600061214a612145846120f7565b6120dc565b90508281526020810184848401111561216657612165612077565b5b612171848285612128565b509392505050565b600082601f83011261218e5761218d611fb2565b5b813561219e848260208601612137565b91505092915050565b6000602082840312156121bd576121bc611cb4565b5b600082013567ffffffffffffffff8111156121db576121da611cb9565b5b6121e784828501612179565b91505092915050565b60006020828403121561220657612205611cb4565b5b600061221484828501611f0a565b91505092915050565b61222681611e34565b82525050565b6000602082019050612241600083018461221d565b92915050565b61225081611d43565b811461225b57600080fd5b50565b60008135905061226d81612247565b92915050565b6000806040838503121561228a57612289611cb4565b5b600061229885828601611f0a565b92505060206122a98582860161225e565b9150509250929050565b600067ffffffffffffffff8211156122ce576122cd61207c565b5b6122d782611dc8565b9050602081019050919050565b60006122f76122f2846122b3565b6120dc565b90508281526020810184848401111561231357612312612077565b5b61231e848285612128565b509392505050565b600082601f83011261233b5761233a611fb2565b5b813561234b8482602086016122e4565b91505092915050565b6000806000806080858703121561236e5761236d611cb4565b5b600061237c87828801611f0a565b945050602061238d87828801611f0a565b935050604061239e87828801611e55565b925050606085013567ffffffffffffffff8111156123bf576123be611cb9565b5b6123cb87828801612326565b91505092959194509250565b600061ffff82169050919050565b6123ee816123d7565b81146123f957600080fd5b50565b60008135905061240b816123e5565b92915050565b60008060006060848603121561242a57612429611cb4565b5b600061243886828701611f0a565b9350506020612449868287016123fc565b925050604061245a868287016123fc565b9150509250925092565b6000806040838503121561247b5761247a611cb4565b5b600061248985828601611f0a565b925050602061249a85828601611f0a565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806124eb57607f821691505b602082108114156124ff576124fe6124a4565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000612561602c83611d84565b915061256c82612505565b604082019050919050565b6000602082019050818103600083015261259081612554565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006125f3602183611d84565b91506125fe82612597565b604082019050919050565b60006020820190508181036000830152612622816125e6565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000612685603883611d84565b915061269082612629565b604082019050919050565b600060208201905081810360008301526126b481612678565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000612717603183611d84565b9150612722826126bb565b604082019050919050565b600060208201905081810360008301526127468161270a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612783602083611d84565b915061278e8261274d565b602082019050919050565b600060208201905081810360008301526127b281612776565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000602082840312156127fe576127fd611cb4565b5b600061280c848285016123fc565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061284f826123d7565b915061ffff82141561286457612863612815565b5b600182019050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006128cb602983611d84565b91506128d68261286f565b604082019050919050565b600060208201905081810360008301526128fa816128be565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b600061295d602a83611d84565b915061296882612901565b604082019050919050565b6000602082019050818103600083015261298c81612950565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006129ef602f83611d84565b91506129fa82612993565b604082019050919050565b60006020820190508181036000830152612a1e816129e2565b9050919050565b600081905092915050565b6000612a3b82611d79565b612a458185612a25565b9350612a55818560208601611d95565b80840191505092915050565b6000612a6d8285612a30565b9150612a798284612a30565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612ae1602683611d84565b9150612aec82612a85565b604082019050919050565b60006020820190508181036000830152612b1081612ad4565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000612b73602c83611d84565b9150612b7e82612b17565b604082019050919050565b60006020820190508181036000830152612ba281612b66565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000612c05602983611d84565b9150612c1082612ba9565b604082019050919050565b60006020820190508181036000830152612c3481612bf8565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612c97602483611d84565b9150612ca282612c3b565b604082019050919050565b60006020820190508181036000830152612cc681612c8a565b9050919050565b6000612cd882611e34565b9150612ce383611e34565b925082821015612cf657612cf5612815565b5b828203905092915050565b6000612d0c82611e34565b9150612d1783611e34565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612d4c57612d4b612815565b5b828201905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000612d8d601983611d84565b9150612d9882612d57565b602082019050919050565b60006020820190508181036000830152612dbc81612d80565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000612e1f603283611d84565b9150612e2a82612dc3565b604082019050919050565b60006020820190508181036000830152612e4e81612e12565b9050919050565b6000612e6082611e34565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612e9357612e92612815565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612ed882611e34565b9150612ee383611e34565b925082612ef357612ef2612e9e565b5b828204905092915050565b6000612f0982611e34565b9150612f1483611e34565b925082612f2457612f23612e9e565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000612f5682612f2f565b612f608185612f3a565b9350612f70818560208601611d95565b612f7981611dc8565b840191505092915050565b6000608082019050612f996000830187611ec9565b612fa66020830186611ec9565b612fb3604083018561221d565b8181036060830152612fc58184612f4b565b905095945050505050565b600081519050612fdf81611cea565b92915050565b600060208284031215612ffb57612ffa611cb4565b5b600061300984828501612fd0565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000613048602083611d84565b915061305382613012565b602082019050919050565b600060208201905081810360008301526130778161303b565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006130b4601c83611d84565b91506130bf8261307e565b602082019050919050565b600060208201905081810360008301526130e3816130a7565b905091905056fea26469706673582212200ce3fb1ba06f294d8c54984f51eb0c55aaad150cdcfdbdf8c48056d05d74cedd64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000b70476f6c6448756e746572000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000670474f4c44480000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): pGoldHunter
Arg [1] : tokenName (string): pGOLDH
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [3] : 70476f6c6448756e746572000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [5] : 70474f4c44480000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.