Polygon Sponsored slots available. Book your slot here!
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 21 from a total of 21 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 37973044 | 701 days ago | IN | 0 POL | 0.00387091 | ||||
Safe Transfer Fr... | 36621039 | 735 days ago | IN | 0 POL | 0.00947745 | ||||
Set Approval For... | 34706913 | 782 days ago | IN | 0 POL | 0.00296919 | ||||
Owner Mint | 34433322 | 788 days ago | IN | 0 POL | 0.23666036 | ||||
Set Price | 33903855 | 801 days ago | IN | 0 POL | 0.00102507 | ||||
Set Discount | 33903827 | 801 days ago | IN | 0 POL | 0.00102936 | ||||
Mint | 22276389 | 1101 days ago | IN | 99 POL | 0.00278979 | ||||
Owner Mint | 22038538 | 1107 days ago | IN | 0 POL | 0.00043533 | ||||
Owner Mint | 22034632 | 1107 days ago | IN | 0 POL | 0.00892124 | ||||
Owner Mint | 22009552 | 1108 days ago | IN | 0 POL | 0.00415056 | ||||
Owner Mint | 22008285 | 1108 days ago | IN | 0 POL | 0.0103044 | ||||
Owner Mint | 22006345 | 1108 days ago | IN | 0 POL | 0.00087067 | ||||
Owner Mint | 22000657 | 1108 days ago | IN | 0 POL | 0.00008706 | ||||
Owner Mint | 22000300 | 1108 days ago | IN | 0 POL | 0.00008706 | ||||
Owner Mint | 21998342 | 1108 days ago | IN | 0 POL | 0.00087055 | ||||
Set Pause | 21997099 | 1108 days ago | IN | 0 POL | 0.00043308 | ||||
Owner Mint | 21887026 | 1111 days ago | IN | 0 POL | 0.01030896 | ||||
Set Discount | 21886957 | 1111 days ago | IN | 0 POL | 0.00283218 | ||||
Set Base URI | 21886806 | 1111 days ago | IN | 0 POL | 0.00275355 | ||||
Set Pause | 21886794 | 1111 days ago | IN | 0 POL | 0.00137949 | ||||
Set Base URI | 21886462 | 1111 days ago | IN | 0 POL | 0.00066564 |
Latest 1 internal transaction
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
22276389 | 1101 days ago | 99 POL |
Loading...
Loading
Contract Name:
HungryMeowPolygon
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import "./HungryMeow.sol"; import "./utils/OpenSeaMetaTransaction.sol"; contract HungryMeowPolygon is HungryMeow, ContextMixin, NativeMetaTransaction { constructor(string memory name_, string memory symbol_, uint maxSupply_, uint reserved_, uint price_, address beneficiary_) HungryMeow(name_, symbol_, maxSupply_, reserved_, price_, beneficiary_) { _setDomainSeperator(name_); } function setDomainSeperator(string memory name_) external onlyOwner { _setDomainSeperator(name_); } /** * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings. */ function isApprovedForAll(address owner_, address operator) override public view returns (bool) { // Whitelist OpenSea proxy contract for easy trading. if (operator == address(0x58807baD0B376efc12F5AD86aAc70E78ed67deaE)) { return true; } return super.isApprovedForAll(owner_, operator); } /** * This is used instead of msg.sender as transactions won't be sent by the original token owner, but by OpenSea. */ function _msgSender() internal override view returns (address sender) { return ContextMixin.msgSender(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; contract Base { uint public maxSupply; uint public reserved; uint public price; address internal beneficiary; }
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "./Base.sol"; contract HungryMeow is Base, Ownable, ERC721 { string private _URI; uint public tokenIds; bool public pause; uint public referralC1; // commission uint public referralC2; // commission for hungry meow owner uint public referralDiscount; // discount for referral program address private issuer; mapping(uint => uint) private _nonce; constructor(string memory name_, string memory symbol_, uint maxSupply_, uint reserved_, uint price_, address beneficiary_) ERC721(name_, symbol_) { maxSupply = maxSupply_; reserved = reserved_; price = price_; beneficiary = beneficiary_; } function _baseURI() internal view virtual override returns (string memory) { return _URI; } function setBaseURI(string calldata uri) external onlyOwner { _URI = uri; } event SetPrice(uint); function setPrice(uint price_) external onlyOwner { require(referralC2 + referralDiscount < price_); emit SetPrice(price_); price = price_; } event SetDiscount(uint, uint, uint); function setDiscount(uint c1, uint c2, uint discount) external onlyOwner { require(c1 <= c2); require(c2 + discount < price); emit SetDiscount(c1, c2, discount); referralC1 = c1; referralC2 = c2; referralDiscount = discount; } function setPause(bool pause_) external onlyOwner { pause = pause_; } function setIssuer(address issuer_) external onlyOwner { issuer = issuer_; } // DO NOT CALL FROM SMART CONTRACT!! function tokensOf(address account) external view returns (uint[] memory) { uint tokenCount = balanceOf(account); if (tokenCount == 0) return new uint[](0); uint[] memory result = new uint[](tokenCount); uint ri = 0; for (uint i = 1; i <= tokenIds; ++i) { if (ownerOf(i) == account) { result[ri] = i; ri++; } } return result; } function contractURI() external pure returns (string memory) { return ""; } function mint(uint count, address account, address referrer) external payable { require(account != referrer, "bad referrer"); require(!pause, "pause"); uint p = price; if (referrer != address(0)) p -= referralDiscount; require(msg.value >= p * count, "bad price"); for (uint i = 0; i < count; ++i) _mint(account); if (referrer != address(0)) { uint c = balanceOf(referrer) == 0 ? referralC1 : referralC2; _sendValue(payable(referrer), c * count); p -= c; } _transferValue(p * count); } function issue(address account, uint count, uint cost, uint nonce, uint expire, bytes32 sigR, bytes32 sigS, uint8 sigV) external payable { require(issuer != address(0), "no issuer"); require(msg.value >= cost, "bad cost"); require(expire >= block.number, "expire"); require(_nonce[nonce] < block.number, "duplicate"); bytes32 h = keccak256(abi.encodePacked(this, account, count, cost, nonce, expire)); require(issuer == ecrecover(h, sigV, sigR, sigS), "bad signature"); _nonce[nonce] = expire; for (uint i = 0; i < count; ++i) _mint(account); } function ownerMint(address[] calldata account) external onlyOwner { for (uint i = 0; i < account.length; ++i) _ownerMint(account[i]); } event TransferValue(uint); function transferValue() external { emit TransferValue(address(this).balance); _transferValue(address(this).balance); } function _ownerMint(address account) internal { require(reserved > 0, "no reserved"); reserved--; _mint(account); } function _mint(address account) internal { require(tokenIds < maxSupply, "no supply"); tokenIds++; _safeMint(account, tokenIds); } function _transferValue(uint amount) internal { _sendValue(payable(beneficiary), amount); } function _sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "unable to send value"); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; /** * https://github.com/maticnetwork/pos-portal/blob/master/contracts/common/ContextMixin.sol */ abstract contract ContextMixin { function msgSender() internal view returns (address payable sender) { if (msg.sender == address(this)) { bytes memory array = msg.data; uint256 index = msg.data.length; assembly { // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those. sender := and( mload(add(array, index)), 0xffffffffffffffffffffffffffffffffffffffff ) } } else { sender = payable(msg.sender); } return sender; } } /** * https://github.com/maticnetwork/pos-portal/blob/master/contracts/common/EIP712Base.sol */ contract EIP712Base { struct EIP712Domain { string name; string version; address verifyingContract; bytes32 salt; } string constant public ERC712_VERSION = "1"; bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256( bytes( "EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)" ) ); bytes32 internal domainSeperator; function _setDomainSeperator(string memory name) internal { domainSeperator = keccak256( abi.encode( EIP712_DOMAIN_TYPEHASH, keccak256(bytes(name)), keccak256(bytes(ERC712_VERSION)), address(this), bytes32(getChainId()) ) ); } function getDomainSeperator() public view returns (bytes32) { return domainSeperator; } function getChainId() public view returns (uint256) { uint256 id; assembly { id := chainid() } return id; } /** * Accept message hash and returns hash message in EIP712 compatible form * So that it can be used to recover signer from signature signed using EIP712 formatted data * https://eips.ethereum.org/EIPS/eip-712 * "\\x19" makes the encoding deterministic * "\\x01" is the version byte to make it compatible to EIP-191 */ function toTypedMessageHash(bytes32 messageHash) internal view returns (bytes32) { return keccak256( abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash) ); } } /** * https://github.com/maticnetwork/pos-portal/blob/master/contracts/common/NativeMetaTransaction.sol */ contract NativeMetaTransaction is EIP712Base { bytes32 private constant META_TRANSACTION_TYPEHASH = keccak256( bytes( "MetaTransaction(uint256 nonce,address from,bytes functionSignature)" ) ); event MetaTransactionExecuted( address userAddress, address payable relayerAddress, bytes functionSignature ); mapping(address => uint256) nonces; /* * Meta transaction structure. * No point of including value field here as if user is doing value transfer then he has the funds to pay for gas * He should call the desired function directly in that case. */ struct MetaTransaction { uint256 nonce; address from; bytes functionSignature; } function executeMetaTransaction( address userAddress, bytes memory functionSignature, bytes32 sigR, bytes32 sigS, uint8 sigV ) public payable returns (bytes memory) { MetaTransaction memory metaTx = MetaTransaction({ nonce: nonces[userAddress], from: userAddress, functionSignature: functionSignature }); require( verify(userAddress, metaTx, sigR, sigS, sigV), "Signer and signature do not match" ); // increase nonce for user (to avoid re-use) nonces[userAddress] = nonces[userAddress] + 1; emit MetaTransactionExecuted( userAddress, payable(msg.sender), functionSignature ); // Append userAddress and relayer address at the end to extract it from calling context (bool success, bytes memory returnData) = address(this).call( abi.encodePacked(functionSignature, userAddress) ); require(success, "Function call not successful"); return returnData; } function hashMetaTransaction(MetaTransaction memory metaTx) internal pure returns (bytes32) { return keccak256( abi.encode( META_TRANSACTION_TYPEHASH, metaTx.nonce, metaTx.from, keccak256(metaTx.functionSignature) ) ); } function getNonce(address user) public view returns (uint256 nonce) { nonce = nonces[user]; } function verify( address signer, MetaTransaction memory metaTx, bytes32 sigR, bytes32 sigS, uint8 sigV ) internal view returns (bool) { require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER"); return signer == ecrecover( toTypedMessageHash(hashMetaTransaction(metaTx)), sigV, sigR, sigS ); } }
{ "evmVersion": "istanbul", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 200 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint256","name":"maxSupply_","type":"uint256"},{"internalType":"uint256","name":"reserved_","type":"uint256"},{"internalType":"uint256","name":"price_","type":"uint256"},{"internalType":"address","name":"beneficiary_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"SetDiscount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"SetPrice","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"TransferValue","type":"event"},{"inputs":[],"name":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeperator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"count","type":"uint256"},{"internalType":"uint256","name":"cost","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expire","type":"uint256"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"issue","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"},{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"referrer","type":"address"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"account","type":"address[]"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"referralC1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"referralC2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"referralDiscount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"c1","type":"uint256"},{"internalType":"uint256","name":"c2","type":"uint256"},{"internalType":"uint256","name":"discount","type":"uint256"}],"name":"setDiscount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"name_","type":"string"}],"name":"setDomainSeperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"issuer_","type":"address"}],"name":"setIssuer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"pause_","type":"bool"}],"name":"setPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price_","type":"uint256"}],"name":"setPrice","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":[],"name":"tokenIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"tokensOf","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferValue","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200336e3803806200336e83398101604081905262000034916200038e565b8585858585858585620000506200004a620000c6565b620000e2565b81516200006590600590602085019062000235565b5080516200007b90600690602084019062000235565b505050600093909355600191909155600255600380546001600160a01b0319166001600160a01b0390921691909117905550620000ba90508662000134565b50505050505062000487565b6000620000dd620001d660201b6200190a1760201c565b905090565b600480546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040518060800160405280604f81526020016200331f604f9139805160209182012082519282019290922060408051808201825260018152603160f81b90840152805180840194909452838101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608401523060808401524660a0808501919091528151808503909101815260c090930190528151910120601355565b6000333014156200022f57600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b03169150620002329050565b50335b90565b828054620002439062000434565b90600052602060002090601f016020900481019282620002675760008555620002b2565b82601f106200028257805160ff1916838001178555620002b2565b82800160010185558215620002b2579182015b82811115620002b257825182559160200191906001019062000295565b50620002c0929150620002c4565b5090565b5b80821115620002c05760008155600101620002c5565b600082601f830112620002ec578081fd5b81516001600160401b038082111562000309576200030962000471565b604051601f8301601f19908116603f0116810190828211818310171562000334576200033462000471565b8160405283815260209250868385880101111562000350578485fd5b8491505b8382101562000373578582018301518183018401529082019062000354565b838211156200038457848385830101525b9695505050505050565b60008060008060008060c08789031215620003a7578182fd5b86516001600160401b0380821115620003be578384fd5b620003cc8a838b01620002db565b97506020890151915080821115620003e2578384fd5b50620003f189828a01620002db565b604089015160608a015160808b015160a08c01519399509197509550935090506001600160a01b038116811462000426578182fd5b809150509295509295509295565b600181811c908216806200044957607f821691505b602082108114156200046b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b612e8880620004976000396000f3fe6080604052600436106102465760003560e01c806370a0823111610139578063b88d4fde116100b6578063d5f87e301161007a578063d5f87e301461067f578063da39b3e71461069f578063e8a3d485146106b2578063e985e9c5146106d3578063f2fde38b146106f3578063fe60d12c1461071357600080fd5b8063b88d4fde146105f3578063bedb86fb14610613578063c87b56dd14610633578063cad6876a14610653578063d5abeb011461066957600080fd5b806391b7f5ed116100fd57806391b7f5ed1461057557806395d89b4114610595578063a035b1fe146105aa578063a22cb465146105c0578063b59e8493146105e057600080fd5b806370a08231146104f2578063714cff5614610512578063715018a6146105285780638456cb591461053d5780638da5cb5b1461055757600080fd5b80632d0335ab116101c757806355f804b31161018b57806355f804b31461044f5780635a3f26721461046f5780636352211e1461049c578063661e3e36146104bc5780636e879e89146104dc57600080fd5b80632d0335ab146103b15780632d9ed8d5146103e75780633408e470146103fc57806342842e0e1461040f57806355cc4e571461042f57600080fd5b80630f7e59701161020e5780630f7e59701461030f57806320379ee51461033c57806321721b171461035b57806323b872dd1461037157806328246da61461039157600080fd5b806301ffc9a71461024b57806306fdde0314610280578063081812fc146102a2578063095ea7b3146102da5780630c53c51c146102fc575b600080fd5b34801561025757600080fd5b5061026b6102663660046128b3565b610729565b60405190151581526020015b60405180910390f35b34801561028c57600080fd5b5061029561077b565b6040516102779190612b6e565b3480156102ae57600080fd5b506102c26102bd36600461298c565b61080d565b6040516001600160a01b039091168152602001610277565b3480156102e657600080fd5b506102fa6102f5366004612794565b6108a7565b005b61029561030a366004612724565b6109cf565b34801561031b57600080fd5b50610295604051806040016040528060018152602001603160f81b81525081565b34801561034857600080fd5b506013545b604051908152602001610277565b34801561036757600080fd5b5061034d60105481565b34801561037d57600080fd5b506102fa61038c36600461265a565b610bb9565b34801561039d57600080fd5b506102fa6103ac366004612946565b610bf1565b3480156103bd57600080fd5b5061034d6103cc36600461260e565b6001600160a01b031660009081526014602052604090205490565b3480156103f357600080fd5b506102fa610c46565b34801561040857600080fd5b504661034d565b34801561041b57600080fd5b506102fa61042a36600461265a565b610c84565b34801561043b57600080fd5b506102fa61044a36600461260e565b610c9f565b34801561045b57600080fd5b506102fa61046a3660046128eb565b610d0a565b34801561047b57600080fd5b5061048f61048a36600461260e565b610d5f565b6040516102779190612b2a565b3480156104a857600080fd5b506102c26104b736600461298c565b610e62565b3480156104c857600080fd5b506102fa6104d7366004612829565b610ed9565b3480156104e857600080fd5b5061034d600f5481565b3480156104fe57600080fd5b5061034d61050d36600461260e565b610f7a565b34801561051e57600080fd5b5061034d600c5481565b34801561053457600080fd5b506102fa611001565b34801561054957600080fd5b50600d5461026b9060ff1681565b34801561056357600080fd5b506004546001600160a01b03166102c2565b34801561058157600080fd5b506102fa61059036600461298c565b611054565b3480156105a157600080fd5b506102956110f0565b3480156105b657600080fd5b5061034d60025481565b3480156105cc57600080fd5b506102fa6105db3660046126fb565b6110ff565b6102fa6105ee3660046127bd565b611201565b3480156105ff57600080fd5b506102fa61060e366004612695565b61144b565b34801561061f57600080fd5b506102fa61062e366004612899565b61148a565b34801561063f57600080fd5b5061029561064e36600461298c565b6114e6565b34801561065f57600080fd5b5061034d600e5481565b34801561067557600080fd5b5061034d60005481565b34801561068b57600080fd5b506102fa61069a3660046129df565b6115c1565b6102fa6106ad3660046129a4565b61167d565b3480156106be57600080fd5b50604080516020810190915260008152610295565b3480156106df57600080fd5b5061026b6106ee366004612628565b6117f5565b3480156106ff57600080fd5b506102fa61070e36600461260e565b611853565b34801561071f57600080fd5b5061034d60015481565b60006001600160e01b031982166380ac58cd60e01b148061075a57506001600160e01b03198216635b5e139f60e01b145b8061077557506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606005805461078a90612cfe565b80601f01602080910402602001604051908101604052809291908181526020018280546107b690612cfe565b80156108035780601f106107d857610100808354040283529160200191610803565b820191906000526020600020905b8154815290600101906020018083116107e657829003601f168201915b5050505050905090565b6000818152600760205260408120546001600160a01b031661088b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600960205260409020546001600160a01b031690565b60006108b282610e62565b9050806001600160a01b0316836001600160a01b031614156109205760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610882565b806001600160a01b0316610932611967565b6001600160a01b0316148061094e575061094e816106ee611967565b6109c05760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610882565b6109ca8383611976565b505050565b60408051606081810183526001600160a01b03881660008181526014602090815290859020548452830152918101869052610a0d87828787876119e4565b610a635760405162461bcd60e51b815260206004820152602160248201527f5369676e657220616e64207369676e617475726520646f206e6f74206d6174636044820152600d60fb1b6064820152608401610882565b6001600160a01b038716600090815260146020526040902054610a87906001612c59565b6001600160a01b0388166000908152601460205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b90610ad790899033908a90612ab8565b60405180910390a1600080306001600160a01b0316888a604051602001610aff929190612a52565b60408051601f1981840301815290829052610b1991612a36565b6000604051808303816000865af19150503d8060008114610b56576040519150601f19603f3d011682016040523d82523d6000602084013e610b5b565b606091505b509150915081610bad5760405162461bcd60e51b815260206004820152601c60248201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c000000006044820152606401610882565b98975050505050505050565b610bca610bc4611967565b82611ad4565b610be65760405162461bcd60e51b815260040161088290612c08565b6109ca838383611bab565b610bf9611967565b6001600160a01b0316610c146004546001600160a01b031690565b6001600160a01b031614610c3a5760405162461bcd60e51b815260040161088290612bd3565b610c4381611d4b565b50565b6040514781527f864472f164add0ead6c860bd04dfc85e66fcbea95e9fd6a565764469bee6c1ab9060200160405180910390a1610c8247611dec565b565b6109ca8383836040518060200160405280600081525061144b565b610ca7611967565b6001600160a01b0316610cc26004546001600160a01b031690565b6001600160a01b031614610ce85760405162461bcd60e51b815260040161088290612bd3565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b610d12611967565b6001600160a01b0316610d2d6004546001600160a01b031690565b6001600160a01b031614610d535760405162461bcd60e51b815260040161088290612bd3565b6109ca600b83836124a3565b60606000610d6c83610f7a565b905080610d89575050604080516000815260208101909152919050565b60008167ffffffffffffffff811115610db257634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610ddb578160200160208202803683370190505b509050600060015b600c548111610e5857856001600160a01b0316610dff82610e62565b6001600160a01b03161415610e485780838381518110610e2f57634e487b7160e01b600052603260045260246000fd5b602090810291909101015281610e4481612d39565b9250505b610e5181612d39565b9050610de3565b5090949350505050565b6000818152600760205260408120546001600160a01b0316806107755760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610882565b610ee1611967565b6001600160a01b0316610efc6004546001600160a01b031690565b6001600160a01b031614610f225760405162461bcd60e51b815260040161088290612bd3565b60005b818110156109ca57610f6a838383818110610f5057634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610f65919061260e565b611e02565b610f7381612d39565b9050610f25565b60006001600160a01b038216610fe55760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610882565b506001600160a01b031660009081526008602052604090205490565b611009611967565b6001600160a01b03166110246004546001600160a01b031690565b6001600160a01b03161461104a5760405162461bcd60e51b815260040161088290612bd3565b610c826000611e60565b61105c611967565b6001600160a01b03166110776004546001600160a01b031690565b6001600160a01b03161461109d5760405162461bcd60e51b815260040161088290612bd3565b80601054600f546110ae9190612c59565b106110b857600080fd5b6040518181527f4f5539c0409dfc4cb06f64cbd31237e1fbfe443f531584bf4dd77ec7fc5ba7b19060200160405180910390a1600255565b60606006805461078a90612cfe565b611107611967565b6001600160a01b0316826001600160a01b031614156111685760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610882565b80600a6000611175611967565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556111b9611967565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516111f5911515815260200190565b60405180910390a35050565b6011546001600160a01b03166112455760405162461bcd60e51b815260206004820152600960248201526837379034b9b9bab2b960b91b6044820152606401610882565b853410156112805760405162461bcd60e51b81526020600482015260086024820152671898590818dbdcdd60c21b6044820152606401610882565b438410156112b95760405162461bcd60e51b815260206004820152600660248201526565787069726560d01b6044820152606401610882565b60008581526012602052604090205443116113025760405162461bcd60e51b81526020600482015260096024820152686475706c696361746560b81b6044820152606401610882565b6040516bffffffffffffffffffffffff1930606090811b821660208401528a901b16603482015260488101889052606881018790526088810186905260a8810185905260009060c80160408051601f1981840301815282825280516020918201206000845290830180835281905260ff8516918301919091526060820186905260808201859052915060019060a0016020604051602081039080840390855afa1580156113b3573d6000803e3d6000fd5b5050604051601f1901516011546001600160a01b03908116911614905061140c5760405162461bcd60e51b815260206004820152600d60248201526c626164207369676e617475726560981b6044820152606401610882565b60008681526012602052604081208690555b8881101561143f5761142f8a611eb2565b61143881612d39565b905061141e565b50505050505050505050565b61145c611456611967565b83611ad4565b6114785760405162461bcd60e51b815260040161088290612c08565b61148484848484611f12565b50505050565b611492611967565b6001600160a01b03166114ad6004546001600160a01b031690565b6001600160a01b0316146114d35760405162461bcd60e51b815260040161088290612bd3565b600d805460ff1916911515919091179055565b6000818152600760205260409020546060906001600160a01b03166115655760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610882565b600061156f611f45565b9050600081511161158f57604051806020016040528060008152506115ba565b8061159984611f54565b6040516020016115aa929190612a89565b6040516020818303038152906040525b9392505050565b6115c9611967565b6001600160a01b03166115e46004546001600160a01b031690565b6001600160a01b03161461160a5760405162461bcd60e51b815260040161088290612bd3565b8183111561161757600080fd5b6002546116248284612c59565b1061162e57600080fd5b60408051848152602081018490529081018290527f8d008727d1579d4d0e36660a83ab4e0878229e8fdc1599c2e9511565b54db3b59060600160405180910390a1600e92909255600f55601055565b806001600160a01b0316826001600160a01b031614156116ce5760405162461bcd60e51b815260206004820152600c60248201526b3130b2103932b332b93932b960a11b6044820152606401610882565b600d5460ff16156117095760405162461bcd60e51b8152602060048201526005602482015264706175736560d81b6044820152606401610882565b6002546001600160a01b0382161561172b576010546117289082612ca4565b90505b6117358482612c85565b3410156117705760405162461bcd60e51b815260206004820152600960248201526862616420707269636560b81b6044820152606401610882565b60005b848110156117945761178484611eb2565b61178d81612d39565b9050611773565b506001600160a01b038216156117e35760006117af83610f7a565b156117bc57600f546117c0565b600e545b90506117d5836117d08784612c85565b61206e565b6117df8183612ca4565b9150505b6114846117f08583612c85565b611dec565b60006001600160a01b0382167358807bad0b376efc12f5ad86aac70e78ed67deae141561182457506001610775565b506001600160a01b039182166000908152600a6020908152604080832093909416825291909152205460ff1690565b61185b611967565b6001600160a01b03166118766004546001600160a01b031690565b6001600160a01b03161461189c5760405162461bcd60e51b815260040161088290612bd3565b6001600160a01b0381166119015760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610882565b610c4381611e60565b60003330141561196157600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031691506119649050565b50335b90565b600061197161190a565b905090565b600081815260096020526040902080546001600160a01b0319166001600160a01b03841690811790915581906119ab82610e62565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006001600160a01b038616611a4a5760405162461bcd60e51b815260206004820152602560248201527f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360448201526424a3a722a960d91b6064820152608401610882565b6001611a5d611a588761214f565b6121cc565b6040805160008152602081018083529290925260ff851690820152606081018690526080810185905260a0016020604051602081039080840390855afa158015611aab573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b6000818152600760205260408120546001600160a01b0316611b4d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610882565b6000611b5883610e62565b9050806001600160a01b0316846001600160a01b03161480611b935750836001600160a01b0316611b888461080d565b6001600160a01b0316145b80611ba35750611ba381856117f5565b949350505050565b826001600160a01b0316611bbe82610e62565b6001600160a01b031614611c265760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610882565b6001600160a01b038216611c885760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610882565b611c93600082611976565b6001600160a01b0383166000908152600860205260408120805460019290611cbc908490612ca4565b90915550506001600160a01b0382166000908152600860205260408120805460019290611cea908490612c59565b909155505060008181526007602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6040518060800160405280604f8152602001612e04604f9139805160209182012082519282019290922060408051808201825260018152603160f81b90840152805180840194909452838101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608401523060808401524660a0808501919091528151808503909101815260c090930190528151910120601355565b600354610c43906001600160a01b03168261206e565b600060015411611e425760405162461bcd60e51b815260206004820152600b60248201526a1b9bc81c995cd95c9d995960aa1b6044820152606401610882565b60018054906000611e5283612ce7565b9190505550610c4381611eb2565b600480546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054600c5410611ef15760405162461bcd60e51b81526020600482015260096024820152686e6f20737570706c7960b81b6044820152606401610882565b600c8054906000611f0183612d39565b9190505550610c4381600c546121fc565b611f1d848484611bab565b611f298484848461221a565b6114845760405162461bcd60e51b815260040161088290612b81565b6060600b805461078a90612cfe565b606081611f785750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611fa25780611f8c81612d39565b9150611f9b9050600a83612c71565b9150611f7c565b60008167ffffffffffffffff811115611fcb57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611ff5576020820181803683370190505b5090505b8415611ba35761200a600183612ca4565b9150612017600a86612d54565b612022906030612c59565b60f81b81838151811061204557634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612067600a86612c71565b9450611ff9565b804710156120b55760405162461bcd60e51b8152602060048201526014602482015273696e73756666696369656e742062616c616e636560601b6044820152606401610882565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612102576040519150601f19603f3d011682016040523d82523d6000602084013e612107565b606091505b50509050806109ca5760405162461bcd60e51b8152602060048201526014602482015273756e61626c6520746f2073656e642076616c756560601b6044820152606401610882565b6000604051806080016040528060438152602001612dc160439139805160209182012083518483015160408087015180519086012090516121af950193845260208401929092526001600160a01b03166040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b60006121d760135490565b60405161190160f01b60208201526022810191909152604281018390526062016121af565b61221682826040518060200160405280600081525061232e565b5050565b60006001600160a01b0384163b1561232357836001600160a01b031663150b7a02612243611967565b8786866040518563ffffffff1660e01b81526004016122659493929190612aed565b602060405180830381600087803b15801561227f57600080fd5b505af19250505080156122af575060408051601f3d908101601f191682019092526122ac918101906128cf565b60015b612309573d8080156122dd576040519150601f19603f3d011682016040523d82523d6000602084013e6122e2565b606091505b5080516123015760405162461bcd60e51b815260040161088290612b81565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611ba3565b506001949350505050565b6123388383612361565b612345600084848461221a565b6109ca5760405162461bcd60e51b815260040161088290612b81565b6001600160a01b0382166123b75760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610882565b6000818152600760205260409020546001600160a01b03161561241c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610882565b6001600160a01b0382166000908152600860205260408120805460019290612445908490612c59565b909155505060008181526007602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546124af90612cfe565b90600052602060002090601f0160209004810192826124d15760008555612517565b82601f106124ea5782800160ff19823516178555612517565b82800160010185558215612517579182015b828111156125175782358255916020019190600101906124fc565b50612523929150612527565b5090565b5b808211156125235760008155600101612528565b600067ffffffffffffffff8084111561255757612557612d94565b604051601f8501601f19908116603f0116810190828211818310171561257f5761257f612d94565b8160405280935085815286868601111561259857600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146125c957600080fd5b919050565b803580151581146125c957600080fd5b600082601f8301126125ee578081fd5b6115ba8383356020850161253c565b803560ff811681146125c957600080fd5b60006020828403121561261f578081fd5b6115ba826125b2565b6000806040838503121561263a578081fd5b612643836125b2565b9150612651602084016125b2565b90509250929050565b60008060006060848603121561266e578081fd5b612677846125b2565b9250612685602085016125b2565b9150604084013590509250925092565b600080600080608085870312156126aa578081fd5b6126b3856125b2565b93506126c1602086016125b2565b925060408501359150606085013567ffffffffffffffff8111156126e3578182fd5b6126ef878288016125de565b91505092959194509250565b6000806040838503121561270d578182fd5b612716836125b2565b9150612651602084016125ce565b600080600080600060a0868803121561273b578081fd5b612744866125b2565b9450602086013567ffffffffffffffff81111561275f578182fd5b61276b888289016125de565b9450506040860135925060608601359150612788608087016125fd565b90509295509295909350565b600080604083850312156127a6578182fd5b6127af836125b2565b946020939093013593505050565b600080600080600080600080610100898b0312156127d9578283fd5b6127e2896125b2565b97506020890135965060408901359550606089013594506080890135935060a0890135925060c0890135915061281a60e08a016125fd565b90509295985092959890939650565b6000806020838503121561283b578182fd5b823567ffffffffffffffff80821115612852578384fd5b818501915085601f830112612865578384fd5b813581811115612873578485fd5b8660208260051b8501011115612887578485fd5b60209290920196919550909350505050565b6000602082840312156128aa578081fd5b6115ba826125ce565b6000602082840312156128c4578081fd5b81356115ba81612daa565b6000602082840312156128e0578081fd5b81516115ba81612daa565b600080602083850312156128fd578182fd5b823567ffffffffffffffff80821115612914578384fd5b818501915085601f830112612927578384fd5b813581811115612935578485fd5b866020828501011115612887578485fd5b600060208284031215612957578081fd5b813567ffffffffffffffff81111561296d578182fd5b8201601f8101841361297d578182fd5b611ba38482356020840161253c565b60006020828403121561299d578081fd5b5035919050565b6000806000606084860312156129b8578081fd5b833592506129c8602085016125b2565b91506129d6604085016125b2565b90509250925092565b6000806000606084860312156129f3578081fd5b505081359360208301359350604090920135919050565b60008151808452612a22816020860160208601612cbb565b601f01601f19169290920160200192915050565b60008251612a48818460208701612cbb565b9190910192915050565b60008351612a64818460208801612cbb565b60609390931b6bffffffffffffffffffffffff19169190920190815260140192915050565b60008351612a9b818460208801612cbb565b835190830190612aaf818360208801612cbb565b01949350505050565b6001600160a01b03848116825283166020820152606060408201819052600090612ae490830184612a0a565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612b2090830184612a0a565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612b6257835183529284019291840191600101612b46565b50909695505050505050565b6020815260006115ba6020830184612a0a565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115612c6c57612c6c612d68565b500190565b600082612c8057612c80612d7e565b500490565b6000816000190483118215151615612c9f57612c9f612d68565b500290565b600082821015612cb657612cb6612d68565b500390565b60005b83811015612cd6578181015183820152602001612cbe565b838111156114845750506000910152565b600081612cf657612cf6612d68565b506000190190565b600181811c90821680612d1257607f821691505b60208210811415612d3357634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612d4d57612d4d612d68565b5060010190565b600082612d6357612d63612d7e565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610c4357600080fdfe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c7429a2646970667358221220984a287ebbda78d908ca9cd1a565c33581bf4c977324cf039bb6329c466f099c64736f6c63430008040033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c742900000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000271000000000000000000000000000000000000000000000000000000000000003e80000000000000000000000000000000000000000000000055de6a779bbac000000000000000000000000000043ecc841d1c44b77156cb7629a8fdaf20c0ea1ba000000000000000000000000000000000000000000000000000000000000000b48756e677279204d656f7700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044d454f5700000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102465760003560e01c806370a0823111610139578063b88d4fde116100b6578063d5f87e301161007a578063d5f87e301461067f578063da39b3e71461069f578063e8a3d485146106b2578063e985e9c5146106d3578063f2fde38b146106f3578063fe60d12c1461071357600080fd5b8063b88d4fde146105f3578063bedb86fb14610613578063c87b56dd14610633578063cad6876a14610653578063d5abeb011461066957600080fd5b806391b7f5ed116100fd57806391b7f5ed1461057557806395d89b4114610595578063a035b1fe146105aa578063a22cb465146105c0578063b59e8493146105e057600080fd5b806370a08231146104f2578063714cff5614610512578063715018a6146105285780638456cb591461053d5780638da5cb5b1461055757600080fd5b80632d0335ab116101c757806355f804b31161018b57806355f804b31461044f5780635a3f26721461046f5780636352211e1461049c578063661e3e36146104bc5780636e879e89146104dc57600080fd5b80632d0335ab146103b15780632d9ed8d5146103e75780633408e470146103fc57806342842e0e1461040f57806355cc4e571461042f57600080fd5b80630f7e59701161020e5780630f7e59701461030f57806320379ee51461033c57806321721b171461035b57806323b872dd1461037157806328246da61461039157600080fd5b806301ffc9a71461024b57806306fdde0314610280578063081812fc146102a2578063095ea7b3146102da5780630c53c51c146102fc575b600080fd5b34801561025757600080fd5b5061026b6102663660046128b3565b610729565b60405190151581526020015b60405180910390f35b34801561028c57600080fd5b5061029561077b565b6040516102779190612b6e565b3480156102ae57600080fd5b506102c26102bd36600461298c565b61080d565b6040516001600160a01b039091168152602001610277565b3480156102e657600080fd5b506102fa6102f5366004612794565b6108a7565b005b61029561030a366004612724565b6109cf565b34801561031b57600080fd5b50610295604051806040016040528060018152602001603160f81b81525081565b34801561034857600080fd5b506013545b604051908152602001610277565b34801561036757600080fd5b5061034d60105481565b34801561037d57600080fd5b506102fa61038c36600461265a565b610bb9565b34801561039d57600080fd5b506102fa6103ac366004612946565b610bf1565b3480156103bd57600080fd5b5061034d6103cc36600461260e565b6001600160a01b031660009081526014602052604090205490565b3480156103f357600080fd5b506102fa610c46565b34801561040857600080fd5b504661034d565b34801561041b57600080fd5b506102fa61042a36600461265a565b610c84565b34801561043b57600080fd5b506102fa61044a36600461260e565b610c9f565b34801561045b57600080fd5b506102fa61046a3660046128eb565b610d0a565b34801561047b57600080fd5b5061048f61048a36600461260e565b610d5f565b6040516102779190612b2a565b3480156104a857600080fd5b506102c26104b736600461298c565b610e62565b3480156104c857600080fd5b506102fa6104d7366004612829565b610ed9565b3480156104e857600080fd5b5061034d600f5481565b3480156104fe57600080fd5b5061034d61050d36600461260e565b610f7a565b34801561051e57600080fd5b5061034d600c5481565b34801561053457600080fd5b506102fa611001565b34801561054957600080fd5b50600d5461026b9060ff1681565b34801561056357600080fd5b506004546001600160a01b03166102c2565b34801561058157600080fd5b506102fa61059036600461298c565b611054565b3480156105a157600080fd5b506102956110f0565b3480156105b657600080fd5b5061034d60025481565b3480156105cc57600080fd5b506102fa6105db3660046126fb565b6110ff565b6102fa6105ee3660046127bd565b611201565b3480156105ff57600080fd5b506102fa61060e366004612695565b61144b565b34801561061f57600080fd5b506102fa61062e366004612899565b61148a565b34801561063f57600080fd5b5061029561064e36600461298c565b6114e6565b34801561065f57600080fd5b5061034d600e5481565b34801561067557600080fd5b5061034d60005481565b34801561068b57600080fd5b506102fa61069a3660046129df565b6115c1565b6102fa6106ad3660046129a4565b61167d565b3480156106be57600080fd5b50604080516020810190915260008152610295565b3480156106df57600080fd5b5061026b6106ee366004612628565b6117f5565b3480156106ff57600080fd5b506102fa61070e36600461260e565b611853565b34801561071f57600080fd5b5061034d60015481565b60006001600160e01b031982166380ac58cd60e01b148061075a57506001600160e01b03198216635b5e139f60e01b145b8061077557506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606005805461078a90612cfe565b80601f01602080910402602001604051908101604052809291908181526020018280546107b690612cfe565b80156108035780601f106107d857610100808354040283529160200191610803565b820191906000526020600020905b8154815290600101906020018083116107e657829003601f168201915b5050505050905090565b6000818152600760205260408120546001600160a01b031661088b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600960205260409020546001600160a01b031690565b60006108b282610e62565b9050806001600160a01b0316836001600160a01b031614156109205760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610882565b806001600160a01b0316610932611967565b6001600160a01b0316148061094e575061094e816106ee611967565b6109c05760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610882565b6109ca8383611976565b505050565b60408051606081810183526001600160a01b03881660008181526014602090815290859020548452830152918101869052610a0d87828787876119e4565b610a635760405162461bcd60e51b815260206004820152602160248201527f5369676e657220616e64207369676e617475726520646f206e6f74206d6174636044820152600d60fb1b6064820152608401610882565b6001600160a01b038716600090815260146020526040902054610a87906001612c59565b6001600160a01b0388166000908152601460205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b90610ad790899033908a90612ab8565b60405180910390a1600080306001600160a01b0316888a604051602001610aff929190612a52565b60408051601f1981840301815290829052610b1991612a36565b6000604051808303816000865af19150503d8060008114610b56576040519150601f19603f3d011682016040523d82523d6000602084013e610b5b565b606091505b509150915081610bad5760405162461bcd60e51b815260206004820152601c60248201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c000000006044820152606401610882565b98975050505050505050565b610bca610bc4611967565b82611ad4565b610be65760405162461bcd60e51b815260040161088290612c08565b6109ca838383611bab565b610bf9611967565b6001600160a01b0316610c146004546001600160a01b031690565b6001600160a01b031614610c3a5760405162461bcd60e51b815260040161088290612bd3565b610c4381611d4b565b50565b6040514781527f864472f164add0ead6c860bd04dfc85e66fcbea95e9fd6a565764469bee6c1ab9060200160405180910390a1610c8247611dec565b565b6109ca8383836040518060200160405280600081525061144b565b610ca7611967565b6001600160a01b0316610cc26004546001600160a01b031690565b6001600160a01b031614610ce85760405162461bcd60e51b815260040161088290612bd3565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b610d12611967565b6001600160a01b0316610d2d6004546001600160a01b031690565b6001600160a01b031614610d535760405162461bcd60e51b815260040161088290612bd3565b6109ca600b83836124a3565b60606000610d6c83610f7a565b905080610d89575050604080516000815260208101909152919050565b60008167ffffffffffffffff811115610db257634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610ddb578160200160208202803683370190505b509050600060015b600c548111610e5857856001600160a01b0316610dff82610e62565b6001600160a01b03161415610e485780838381518110610e2f57634e487b7160e01b600052603260045260246000fd5b602090810291909101015281610e4481612d39565b9250505b610e5181612d39565b9050610de3565b5090949350505050565b6000818152600760205260408120546001600160a01b0316806107755760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610882565b610ee1611967565b6001600160a01b0316610efc6004546001600160a01b031690565b6001600160a01b031614610f225760405162461bcd60e51b815260040161088290612bd3565b60005b818110156109ca57610f6a838383818110610f5057634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610f65919061260e565b611e02565b610f7381612d39565b9050610f25565b60006001600160a01b038216610fe55760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610882565b506001600160a01b031660009081526008602052604090205490565b611009611967565b6001600160a01b03166110246004546001600160a01b031690565b6001600160a01b03161461104a5760405162461bcd60e51b815260040161088290612bd3565b610c826000611e60565b61105c611967565b6001600160a01b03166110776004546001600160a01b031690565b6001600160a01b03161461109d5760405162461bcd60e51b815260040161088290612bd3565b80601054600f546110ae9190612c59565b106110b857600080fd5b6040518181527f4f5539c0409dfc4cb06f64cbd31237e1fbfe443f531584bf4dd77ec7fc5ba7b19060200160405180910390a1600255565b60606006805461078a90612cfe565b611107611967565b6001600160a01b0316826001600160a01b031614156111685760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610882565b80600a6000611175611967565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556111b9611967565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516111f5911515815260200190565b60405180910390a35050565b6011546001600160a01b03166112455760405162461bcd60e51b815260206004820152600960248201526837379034b9b9bab2b960b91b6044820152606401610882565b853410156112805760405162461bcd60e51b81526020600482015260086024820152671898590818dbdcdd60c21b6044820152606401610882565b438410156112b95760405162461bcd60e51b815260206004820152600660248201526565787069726560d01b6044820152606401610882565b60008581526012602052604090205443116113025760405162461bcd60e51b81526020600482015260096024820152686475706c696361746560b81b6044820152606401610882565b6040516bffffffffffffffffffffffff1930606090811b821660208401528a901b16603482015260488101889052606881018790526088810186905260a8810185905260009060c80160408051601f1981840301815282825280516020918201206000845290830180835281905260ff8516918301919091526060820186905260808201859052915060019060a0016020604051602081039080840390855afa1580156113b3573d6000803e3d6000fd5b5050604051601f1901516011546001600160a01b03908116911614905061140c5760405162461bcd60e51b815260206004820152600d60248201526c626164207369676e617475726560981b6044820152606401610882565b60008681526012602052604081208690555b8881101561143f5761142f8a611eb2565b61143881612d39565b905061141e565b50505050505050505050565b61145c611456611967565b83611ad4565b6114785760405162461bcd60e51b815260040161088290612c08565b61148484848484611f12565b50505050565b611492611967565b6001600160a01b03166114ad6004546001600160a01b031690565b6001600160a01b0316146114d35760405162461bcd60e51b815260040161088290612bd3565b600d805460ff1916911515919091179055565b6000818152600760205260409020546060906001600160a01b03166115655760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610882565b600061156f611f45565b9050600081511161158f57604051806020016040528060008152506115ba565b8061159984611f54565b6040516020016115aa929190612a89565b6040516020818303038152906040525b9392505050565b6115c9611967565b6001600160a01b03166115e46004546001600160a01b031690565b6001600160a01b03161461160a5760405162461bcd60e51b815260040161088290612bd3565b8183111561161757600080fd5b6002546116248284612c59565b1061162e57600080fd5b60408051848152602081018490529081018290527f8d008727d1579d4d0e36660a83ab4e0878229e8fdc1599c2e9511565b54db3b59060600160405180910390a1600e92909255600f55601055565b806001600160a01b0316826001600160a01b031614156116ce5760405162461bcd60e51b815260206004820152600c60248201526b3130b2103932b332b93932b960a11b6044820152606401610882565b600d5460ff16156117095760405162461bcd60e51b8152602060048201526005602482015264706175736560d81b6044820152606401610882565b6002546001600160a01b0382161561172b576010546117289082612ca4565b90505b6117358482612c85565b3410156117705760405162461bcd60e51b815260206004820152600960248201526862616420707269636560b81b6044820152606401610882565b60005b848110156117945761178484611eb2565b61178d81612d39565b9050611773565b506001600160a01b038216156117e35760006117af83610f7a565b156117bc57600f546117c0565b600e545b90506117d5836117d08784612c85565b61206e565b6117df8183612ca4565b9150505b6114846117f08583612c85565b611dec565b60006001600160a01b0382167358807bad0b376efc12f5ad86aac70e78ed67deae141561182457506001610775565b506001600160a01b039182166000908152600a6020908152604080832093909416825291909152205460ff1690565b61185b611967565b6001600160a01b03166118766004546001600160a01b031690565b6001600160a01b03161461189c5760405162461bcd60e51b815260040161088290612bd3565b6001600160a01b0381166119015760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610882565b610c4381611e60565b60003330141561196157600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031691506119649050565b50335b90565b600061197161190a565b905090565b600081815260096020526040902080546001600160a01b0319166001600160a01b03841690811790915581906119ab82610e62565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006001600160a01b038616611a4a5760405162461bcd60e51b815260206004820152602560248201527f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360448201526424a3a722a960d91b6064820152608401610882565b6001611a5d611a588761214f565b6121cc565b6040805160008152602081018083529290925260ff851690820152606081018690526080810185905260a0016020604051602081039080840390855afa158015611aab573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b6000818152600760205260408120546001600160a01b0316611b4d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610882565b6000611b5883610e62565b9050806001600160a01b0316846001600160a01b03161480611b935750836001600160a01b0316611b888461080d565b6001600160a01b0316145b80611ba35750611ba381856117f5565b949350505050565b826001600160a01b0316611bbe82610e62565b6001600160a01b031614611c265760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610882565b6001600160a01b038216611c885760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610882565b611c93600082611976565b6001600160a01b0383166000908152600860205260408120805460019290611cbc908490612ca4565b90915550506001600160a01b0382166000908152600860205260408120805460019290611cea908490612c59565b909155505060008181526007602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6040518060800160405280604f8152602001612e04604f9139805160209182012082519282019290922060408051808201825260018152603160f81b90840152805180840194909452838101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608401523060808401524660a0808501919091528151808503909101815260c090930190528151910120601355565b600354610c43906001600160a01b03168261206e565b600060015411611e425760405162461bcd60e51b815260206004820152600b60248201526a1b9bc81c995cd95c9d995960aa1b6044820152606401610882565b60018054906000611e5283612ce7565b9190505550610c4381611eb2565b600480546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054600c5410611ef15760405162461bcd60e51b81526020600482015260096024820152686e6f20737570706c7960b81b6044820152606401610882565b600c8054906000611f0183612d39565b9190505550610c4381600c546121fc565b611f1d848484611bab565b611f298484848461221a565b6114845760405162461bcd60e51b815260040161088290612b81565b6060600b805461078a90612cfe565b606081611f785750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611fa25780611f8c81612d39565b9150611f9b9050600a83612c71565b9150611f7c565b60008167ffffffffffffffff811115611fcb57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611ff5576020820181803683370190505b5090505b8415611ba35761200a600183612ca4565b9150612017600a86612d54565b612022906030612c59565b60f81b81838151811061204557634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612067600a86612c71565b9450611ff9565b804710156120b55760405162461bcd60e51b8152602060048201526014602482015273696e73756666696369656e742062616c616e636560601b6044820152606401610882565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612102576040519150601f19603f3d011682016040523d82523d6000602084013e612107565b606091505b50509050806109ca5760405162461bcd60e51b8152602060048201526014602482015273756e61626c6520746f2073656e642076616c756560601b6044820152606401610882565b6000604051806080016040528060438152602001612dc160439139805160209182012083518483015160408087015180519086012090516121af950193845260208401929092526001600160a01b03166040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b60006121d760135490565b60405161190160f01b60208201526022810191909152604281018390526062016121af565b61221682826040518060200160405280600081525061232e565b5050565b60006001600160a01b0384163b1561232357836001600160a01b031663150b7a02612243611967565b8786866040518563ffffffff1660e01b81526004016122659493929190612aed565b602060405180830381600087803b15801561227f57600080fd5b505af19250505080156122af575060408051601f3d908101601f191682019092526122ac918101906128cf565b60015b612309573d8080156122dd576040519150601f19603f3d011682016040523d82523d6000602084013e6122e2565b606091505b5080516123015760405162461bcd60e51b815260040161088290612b81565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611ba3565b506001949350505050565b6123388383612361565b612345600084848461221a565b6109ca5760405162461bcd60e51b815260040161088290612b81565b6001600160a01b0382166123b75760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610882565b6000818152600760205260409020546001600160a01b03161561241c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610882565b6001600160a01b0382166000908152600860205260408120805460019290612445908490612c59565b909155505060008181526007602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546124af90612cfe565b90600052602060002090601f0160209004810192826124d15760008555612517565b82601f106124ea5782800160ff19823516178555612517565b82800160010185558215612517579182015b828111156125175782358255916020019190600101906124fc565b50612523929150612527565b5090565b5b808211156125235760008155600101612528565b600067ffffffffffffffff8084111561255757612557612d94565b604051601f8501601f19908116603f0116810190828211818310171561257f5761257f612d94565b8160405280935085815286868601111561259857600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146125c957600080fd5b919050565b803580151581146125c957600080fd5b600082601f8301126125ee578081fd5b6115ba8383356020850161253c565b803560ff811681146125c957600080fd5b60006020828403121561261f578081fd5b6115ba826125b2565b6000806040838503121561263a578081fd5b612643836125b2565b9150612651602084016125b2565b90509250929050565b60008060006060848603121561266e578081fd5b612677846125b2565b9250612685602085016125b2565b9150604084013590509250925092565b600080600080608085870312156126aa578081fd5b6126b3856125b2565b93506126c1602086016125b2565b925060408501359150606085013567ffffffffffffffff8111156126e3578182fd5b6126ef878288016125de565b91505092959194509250565b6000806040838503121561270d578182fd5b612716836125b2565b9150612651602084016125ce565b600080600080600060a0868803121561273b578081fd5b612744866125b2565b9450602086013567ffffffffffffffff81111561275f578182fd5b61276b888289016125de565b9450506040860135925060608601359150612788608087016125fd565b90509295509295909350565b600080604083850312156127a6578182fd5b6127af836125b2565b946020939093013593505050565b600080600080600080600080610100898b0312156127d9578283fd5b6127e2896125b2565b97506020890135965060408901359550606089013594506080890135935060a0890135925060c0890135915061281a60e08a016125fd565b90509295985092959890939650565b6000806020838503121561283b578182fd5b823567ffffffffffffffff80821115612852578384fd5b818501915085601f830112612865578384fd5b813581811115612873578485fd5b8660208260051b8501011115612887578485fd5b60209290920196919550909350505050565b6000602082840312156128aa578081fd5b6115ba826125ce565b6000602082840312156128c4578081fd5b81356115ba81612daa565b6000602082840312156128e0578081fd5b81516115ba81612daa565b600080602083850312156128fd578182fd5b823567ffffffffffffffff80821115612914578384fd5b818501915085601f830112612927578384fd5b813581811115612935578485fd5b866020828501011115612887578485fd5b600060208284031215612957578081fd5b813567ffffffffffffffff81111561296d578182fd5b8201601f8101841361297d578182fd5b611ba38482356020840161253c565b60006020828403121561299d578081fd5b5035919050565b6000806000606084860312156129b8578081fd5b833592506129c8602085016125b2565b91506129d6604085016125b2565b90509250925092565b6000806000606084860312156129f3578081fd5b505081359360208301359350604090920135919050565b60008151808452612a22816020860160208601612cbb565b601f01601f19169290920160200192915050565b60008251612a48818460208701612cbb565b9190910192915050565b60008351612a64818460208801612cbb565b60609390931b6bffffffffffffffffffffffff19169190920190815260140192915050565b60008351612a9b818460208801612cbb565b835190830190612aaf818360208801612cbb565b01949350505050565b6001600160a01b03848116825283166020820152606060408201819052600090612ae490830184612a0a565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612b2090830184612a0a565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612b6257835183529284019291840191600101612b46565b50909695505050505050565b6020815260006115ba6020830184612a0a565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115612c6c57612c6c612d68565b500190565b600082612c8057612c80612d7e565b500490565b6000816000190483118215151615612c9f57612c9f612d68565b500290565b600082821015612cb657612cb6612d68565b500390565b60005b83811015612cd6578181015183820152602001612cbe565b838111156114845750506000910152565b600081612cf657612cf6612d68565b506000190190565b600181811c90821680612d1257607f821691505b60208210811415612d3357634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612d4d57612d4d612d68565b5060010190565b600082612d6357612d63612d7e565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610c4357600080fdfe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c7429a2646970667358221220984a287ebbda78d908ca9cd1a565c33581bf4c977324cf039bb6329c466f099c64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000271000000000000000000000000000000000000000000000000000000000000003e80000000000000000000000000000000000000000000000055de6a779bbac000000000000000000000000000043ecc841d1c44b77156cb7629a8fdaf20c0ea1ba000000000000000000000000000000000000000000000000000000000000000b48756e677279204d656f7700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044d454f5700000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): Hungry Meow
Arg [1] : symbol_ (string): MEOW
Arg [2] : maxSupply_ (uint256): 10000
Arg [3] : reserved_ (uint256): 1000
Arg [4] : price_ (uint256): 99000000000000000000
Arg [5] : beneficiary_ (address): 0x43eCC841d1c44b77156cB7629A8Fdaf20c0ea1bA
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [3] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [4] : 0000000000000000000000000000000000000000000000055de6a779bbac0000
Arg [5] : 00000000000000000000000043ecc841d1c44b77156cb7629a8fdaf20c0ea1ba
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [7] : 48756e677279204d656f77000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [9] : 4d454f5700000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ Download: CSV Export ]
[ 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.