Source Code
Overview
ETH Balance
0 ETH
Token Holdings
More Info
ContractCreator
TokenTracker
Multi Chain
Multichain Addresses
1 address found via
Latest 25 from a total of 201 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 8771757 | 176 days 4 hrs ago | IN | 0 ETH | 0.00590346 | ||||
Set Approval For... | 8771754 | 176 days 4 hrs ago | IN | 0 ETH | 0.00577662 | ||||
Set Approval For... | 8771750 | 176 days 4 hrs ago | IN | 0 ETH | 0.00597758 | ||||
Set Approval For... | 8771745 | 176 days 4 hrs ago | IN | 0 ETH | 0.00637362 | ||||
Set Approval For... | 8771737 | 176 days 4 hrs ago | IN | 0 ETH | 0.00623315 | ||||
Set Approval For... | 8771670 | 176 days 5 hrs ago | IN | 0 ETH | 0.00780214 | ||||
Set Approval For... | 8771666 | 176 days 5 hrs ago | IN | 0 ETH | 0.008384 | ||||
Set Approval For... | 8771664 | 176 days 5 hrs ago | IN | 0 ETH | 0.00679901 | ||||
Set Approval For... | 8771660 | 176 days 5 hrs ago | IN | 0 ETH | 0.00678887 | ||||
Set Approval For... | 8771655 | 176 days 5 hrs ago | IN | 0 ETH | 0.00706632 | ||||
Set Approval For... | 8771646 | 176 days 5 hrs ago | IN | 0 ETH | 0.0067258 | ||||
Set Approval For... | 8771642 | 176 days 5 hrs ago | IN | 0 ETH | 0.0076652 | ||||
Set Approval For... | 8771638 | 176 days 5 hrs ago | IN | 0 ETH | 0.00906861 | ||||
Set Approval For... | 8771635 | 176 days 5 hrs ago | IN | 0 ETH | 0.00775245 | ||||
Set Approval For... | 8771632 | 176 days 5 hrs ago | IN | 0 ETH | 0.00647951 | ||||
Set Approval For... | 8771610 | 176 days 5 hrs ago | IN | 0 ETH | 0.00886695 | ||||
Set Approval For... | 8771510 | 176 days 5 hrs ago | IN | 0 ETH | 0.00578622 | ||||
Set Approval For... | 8771506 | 176 days 5 hrs ago | IN | 0 ETH | 0.00603129 | ||||
Set Approval For... | 8771502 | 176 days 5 hrs ago | IN | 0 ETH | 0.00567474 | ||||
Set Approval For... | 8771497 | 176 days 5 hrs ago | IN | 0 ETH | 0.00474275 | ||||
Set Approval For... | 8771493 | 176 days 5 hrs ago | IN | 0 ETH | 0.00433749 | ||||
Set Approval For... | 8771489 | 176 days 5 hrs ago | IN | 0 ETH | 0.00472084 | ||||
Set Approval For... | 8771485 | 176 days 5 hrs ago | IN | 0 ETH | 0.00495844 | ||||
Set Approval For... | 8771481 | 176 days 5 hrs ago | IN | 0 ETH | 0.00488944 | ||||
Set Approval For... | 8771476 | 176 days 6 hrs ago | IN | 0 ETH | 0.00591198 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Txn Hash | Block | From | To | Value | ||
---|---|---|---|---|---|---|
8896189 | 153 days 20 hrs ago | 0 ETH | ||||
8896189 | 153 days 20 hrs ago | 0 ETH | ||||
8896189 | 153 days 20 hrs ago | 0 ETH | ||||
8896189 | 153 days 20 hrs ago | 0 ETH | ||||
8896189 | 153 days 20 hrs ago | 0 ETH | ||||
8896189 | 153 days 20 hrs ago | 0 ETH | ||||
8896189 | 153 days 20 hrs ago | 0 ETH | ||||
8896189 | 153 days 20 hrs ago | 0 ETH | ||||
8896189 | 153 days 20 hrs ago | 0 ETH | ||||
8896189 | 153 days 20 hrs ago | 0 ETH | ||||
8896189 | 153 days 20 hrs ago | 0 ETH | ||||
8896189 | 153 days 20 hrs ago | 0 ETH | ||||
8851074 | 161 days 22 hrs ago | 0 ETH | ||||
8851074 | 161 days 22 hrs ago | 0 ETH | ||||
8851074 | 161 days 22 hrs ago | 0 ETH | ||||
8851074 | 161 days 22 hrs ago | 0 ETH | ||||
8851074 | 161 days 22 hrs ago | 0 ETH | ||||
8851074 | 161 days 22 hrs ago | 0 ETH | ||||
8850989 | 161 days 22 hrs ago | 0 ETH | ||||
8850989 | 161 days 22 hrs ago | 0 ETH | ||||
8850989 | 161 days 22 hrs ago | 0 ETH | ||||
8850989 | 161 days 22 hrs ago | 0 ETH | ||||
8850989 | 161 days 22 hrs ago | 0 ETH | ||||
8850989 | 161 days 22 hrs ago | 0 ETH | ||||
8850989 | 161 days 22 hrs ago | 0 ETH |
Loading...
Loading
Contract Name:
Gowls
Compiler Version
v0.8.14+commit.80d49f37
Optimization Enabled:
Yes with 99999999 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /********************************* * * * 0,0 * * * *********************************/ pragma solidity 0.8.14; import "@openzeppelin/contracts/access/Ownable.sol"; import "../libs/ERC721Enumerable.sol"; import "./IGowlDescriptor.sol"; contract Gowls is ERC721Enumerable, Ownable { event SeedUpdated(uint256 indexed tokenId, uint256 seed); mapping(uint256 => uint256) internal seeds; IGowlDescriptor public descriptor; uint256 public maxSupply = 10000; bool public canUpdateSeed = true; constructor(IGowlDescriptor newDescriptor) ERC721("Gowls", "HOOT") { descriptor = newDescriptor; } function mint(uint32 count) external payable { uint256 nextTokenId = _owners.length; unchecked { require(nextTokenId + count < maxSupply, "Exceeds max supply"); } for (uint32 i; i < count; ) { seeds[nextTokenId] = generateSeed(nextTokenId); _mint(_msgSender(), nextTokenId); unchecked { ++nextTokenId; ++i; } } } function setDescriptor(IGowlDescriptor newDescriptor) external onlyOwner { descriptor = newDescriptor; } function withdraw() external payable onlyOwner { (bool os, ) = payable(owner()).call{ value: address(this).balance }(""); require(os, "failed"); } function updateSeed(uint256 tokenId, uint256 seed) external onlyOwner { require(canUpdateSeed, "Cannot set the seed"); seeds[tokenId] = seed; emit SeedUpdated(tokenId, seed); } function disableSeedUpdate() external onlyOwner { canUpdateSeed = false; } function burn(uint256 tokenId) public { require( _isApprovedOrOwner(_msgSender(), tokenId), "Not approved to burn" ); delete seeds[tokenId]; _burn(tokenId); } function getSeed(uint256 tokenId) public view returns (uint256) { require(_exists(tokenId), "Gowl does not exist"); return seeds[tokenId]; } function tokenURI(uint256 tokenId) public view returns (string memory) { require(_exists(tokenId), "Gowl does not exist"); uint256 seed = seeds[tokenId]; return descriptor.tokenURI(tokenId, seed); } function generateSeed(uint256 tokenId) private view returns (uint256) { uint256 r = random(tokenId); uint256 headSeed = 100 * ((r % 7) + 10) + (((r >> 48) % 20) + 10); uint256 faceSeed = 100 * (((r >> 96) % 6) + 10) + (((r >> 96) % 20) + 10); uint256 bodySeed = 100 * (((r >> 144) % 7) + 10) + (((r >> 144) % 20) + 10); uint256 legsSeed = 100 * (((r >> 192) % 2) + 10) + (((r >> 192) % 20) + 10); return 10000 * (10000 * (10000 * headSeed + faceSeed) + bodySeed) + legsSeed; } function random( uint256 tokenId ) private view returns (uint256 pseudoRandomness) { pseudoRandomness = uint256( keccak256(abi.encodePacked(blockhash(block.number - 1), tokenId)) ); return pseudoRandomness; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.14; library Address { function isContract(address account) internal view returns (bool) { uint size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.14; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "./Address.sol"; abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; string private _name; string private _symbol; address[] internal _owners; mapping(uint256 => address) private _tokenApprovals; mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } function supportsInterface( bytes4 interfaceId ) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } function balanceOf( address owner ) public view virtual override returns (uint256) { require(owner != address(0), "0 address is not a valid owner"); uint256 count; for (uint256 i; i < _owners.length; ) { if (owner == _owners[i]) { unchecked { ++count; } } unchecked { ++i; } } return count; } function ownerOf( uint256 tokenId ) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); return owner; } function name() public view virtual override returns (string memory) { return _name; } function symbol() public view virtual override returns (string memory) { return _symbol; } function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "caller is not owner/approved" ); _approve(to, tokenId); } function getApproved( uint256 tokenId ) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: invalid token ID"); return _tokenApprovals[tokenId]; } function setApprovalForAll( address operator, bool approved ) public virtual override { require(_msgSender() != operator, "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } function isApprovedForAll( address owner, address operator ) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } function transferFrom( address from, address to, uint256 tokenId ) public virtual override { require( _isApprovedOrOwner(_msgSender(), tokenId), "caller is not owner or approved" ); _transfer(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require( _isApprovedOrOwner(_msgSender(), tokenId), "caller is not owner or approved" ); _safeTransfer(from, to, tokenId, data); } function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, data), "transfer to non ERC721Receiver" ); } function _exists(uint256 tokenId) internal view virtual returns (bool) { return tokenId < _owners.length && _owners[tokenId] != address(0); } function _isApprovedOrOwner( address spender, uint256 tokenId ) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } function _mint(address to, uint256 tokenId) internal virtual { require(!_exists(tokenId), "ERC721: token already minted"); _owners.push(to); emit Transfer(address(0), to, tokenId); } function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); delete _tokenApprovals[tokenId]; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } function _transfer( address from, address to, uint256 tokenId ) internal virtual { require( ERC721.ownerOf(tokenId) == from, "transfer from incorrect owner" ); require(to != address(0), "transfer to the zero address"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } 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("transfer to non ERC721Receiver"); } else { // solhint-disable-next-line no-inline-assembly assembly { revert(add(32, reason), mload(reason)) } } } } return true; } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.14; import "./ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { function supportsInterface( bytes4 interfaceId ) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } function totalSupply() public view virtual override returns (uint256) { uint256 count; for (uint256 i; i < _owners.length; ) { if (_owners[i] != address(0)) { unchecked { ++count; } } unchecked { ++i; } } return count; } function tokenByIndex( uint256 index ) public view virtual override returns (uint256 tokenId) { require(index < _owners.length, "global index out of bounds"); return index; } function tokenOfOwnerByIndex( address owner, uint256 index ) public view virtual override returns (uint256 tokenId) { require(index < balanceOf(owner), "owner index out of bounds"); uint256 count; for (uint256 i; i < _owners.length; ) { if (owner == _owners[i]) { if (count == index) return i; else { unchecked { ++count; } } } unchecked { ++i; } } revert("owner index out of bounds"); } }
// SPDX-License-Identifier: MIT /********************************* * * * 0,0 * * * *********************************/ pragma solidity 0.8.14; interface IGowlDescriptor { function tokenURI( uint256 tokenId, uint256 seed ) external view returns (string memory); }
{ "viaIR": true, "optimizer": { "enabled": true, "runs": 99999999 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
[{"inputs":[{"internalType":"contract IGowlDescriptor","name":"newDescriptor","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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"seed","type":"uint256"}],"name":"SeedUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"canUpdateSeed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"descriptor","outputs":[{"internalType":"contract IGowlDescriptor","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableSeedUpdate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getSeed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"count","type":"uint32"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IGowlDescriptor","name":"newDescriptor","type":"address"}],"name":"setDescriptor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","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":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"seed","type":"uint256"}],"name":"updateSeed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
608060405234620001ea5762002b1a80380390816200001e8162000235565b9283928339602092839181010312620001ea57516001600160a01b0381168103620001ea576200004d6200025b565b9164476f776c7360d81b81840152620000656200026c565b631213d3d560e21b8282015283519091906001600160401b038111620001da575b600091620000a0826200009a85546200027d565b620002ba565b80601f8311600114620001465750908083926200012a97620000de9695926200013a575b50508160011b916000199060031b1c19161790556200036e565b620000e93362000470565b620000f5612710600855565b62000108600160ff196009541617600955565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b60405161265b9081620004bf8239f35b015190503880620000c4565b60008052601f198316967f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563929185905b898210620001c1575050918391600193620000de9796956200012a9a10620001a7575b505050811b0190556200036e565b015160001960f88460031b161c1916905538808062000199565b8060018596829496860151815501950193019062000176565b620001e4620001ef565b62000086565b600080fd5b50634e487b7160e01b600052604160045260246000fd5b60408051919082016001600160401b038111838210176200022657604052565b62000230620001ef565b604052565b6040519190601f01601f191682016001600160401b038111838210176200022657604052565b6200026562000206565b9060058252565b6200027662000206565b9060048252565b90600182811c92168015620002af575b60208310146200029957565b634e487b7160e01b600052602260045260246000fd5b91607f16916200028d565b601f8111620002c7575050565b60009081805260208220906020601f850160051c8301941062000307575b601f0160051c01915b828110620002fb57505050565b818155600101620002ee565b9092508290620002e5565b90601f821162000320575050565b60019160009083825260208220906020601f850160051c8301941062000363575b601f0160051c01915b828110620003585750505050565b81815583016200034a565b909250829062000341565b80519091906001600160401b03811162000460575b6001906200039d816200039784546200027d565b62000312565b602080601f8311600114620003db575081929394600092620003cf575b5050600019600383901b1c191690821b179055565b015190503880620003ba565b6001600052601f198316959091907fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6926000905b8882106200044857505083859697106200042e575b505050811b019055565b015160001960f88460031b161c1916905538808062000424565b8087859682949686015181550195019301906200040f565b6200046a620001ef565b62000383565b600580546001600160a01b039283166001600160a01b031982168117909255604051919216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a356fe60806040526004361015610013575b600080fd5b60003560e01c806301b9a3971461025757806301ffc9a71461024e57806306fdde0314610245578063081812fc1461023c578063095ea7b314610233578063176b72b41461022a57806318160ddd1461022157806323b872dd146102185780632f745c591461020f578063303e74df1461020657806333101e1f146101fd5780633bb2c938146101f45780633ccfd60b146101eb57806342842e0e146101e257806342966c68146101d95780634f6ccce7146101d05780636352211e146101c757806370a08231146101be578063715018a6146101b55780638da5cb5b146101ac57806395d89b41146101a3578063a22cb4651461019a578063a71bbebe14610191578063b88d4fde14610188578063c87b56dd1461017f578063d5abeb0114610176578063e0d4ea371461016d578063e985e9c5146101645763f2fde38b1461015c57600080fd5b61000e6116ef565b5061000e61164c565b5061000e6115f5565b5061000e6115b8565b5061000e6114c3565b5061000e611413565b5061000e61123d565b5061000e6110db565b5061000e610ffb565b5061000e610fa8565b5061000e610f01565b5061000e610ebb565b5061000e610e7e565b5061000e610dd8565b5061000e610c67565b5061000e610c1f565b5061000e610b54565b5061000e610ad7565b5061000e610a95565b5061000e610a42565b5061000e6109f0565b5061000e6109c6565b5061000e6108dc565b5061000e6107cf565b5061000e6106a0565b5061000e610645565b5061000e6104ea565b5061000e61033a565b5061000e61027e565b73ffffffffffffffffffffffffffffffffffffffff81160361000e57565b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576004356102ba81610260565b73ffffffffffffffffffffffffffffffffffffffff906102df826005541633146117e3565b167fffffffffffffffffffffffff000000000000000000000000000000000000000060075416176007556000604051f35b7fffffffff0000000000000000000000000000000000000000000000000000000081160361000e57565b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5760207fffffffff0000000000000000000000000000000000000000000000000000000060043561039981610310565b167f780e9d630000000000000000000000000000000000000000000000000000000081149081156103d0575b506040519015158152f35b7f80ac58cd00000000000000000000000000000000000000000000000000000000811491508115610434575b811561040a575b50386103c5565b7f01ffc9a70000000000000000000000000000000000000000000000000000000091501438610403565b7f5b5e139f00000000000000000000000000000000000000000000000000000000811491506103fc565b918091926000905b82821061047e575011610477575050565b6000910152565b91508060209183015181860152018291610466565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f6020936104cf8151809281875287808801910161045e565b0116010190565b9060206104e7928181520190610493565b90565b503461000e576000807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261064257604051908080549060019180831c92808216928315610638575b602092838610851461060b5785885260208801949081156105d15750600114610579575b6105758761056981890382611389565b604051918291826104d6565b0390f35b6000805294509192917f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5635b8386106105c05750505091019050610569826105753880610559565b8054858701529482019481016105a4565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685525050500191506105699050826105753880610559565b6024827f4e487b710000000000000000000000000000000000000000000000000000000081526022600452fd5b93607f1693610535565b80fd5b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576020610682600435611b49565b73ffffffffffffffffffffffffffffffffffffffff60405191168152f35b503461000e5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576004356106dc81610260565b60243573ffffffffffffffffffffffffffffffffffffffff91826106ff83611a82565b16809382161461077157826107269333148015610728575b6107219150611ae4565b611f09565b005b50600052600460205261072161076c6107653360406000209073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b5460ff1690565b610717565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f617070726f76616c20746f2063757272656e74206f776e6572000000000000006044820152fd5b503461000e5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5760043560243561082873ffffffffffffffffffffffffffffffffffffffff6005541633146117e3565b60ff600954161561087e576108797faabfe5e8bccf1a1352f72b557ce580211305c37f88d5783ae467a1ba5e0761e09183600052600660205280604060002055604051918291829190602083019252565b0390a2005b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f43616e6e6f7420736574207468652073656564000000000000000000000000006044820152fd5b503461000e576000807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261064257600280549082805b83811061092757602085604051908152f35b82825273ffffffffffffffffffffffffffffffffffffffff817f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace015416610971575b600101610915565b600190940193610969565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc606091011261000e576004356109b281610260565b906024356109bf81610260565b9060443590565b503461000e576107266109d83661097c565b916109eb6109e68433611cd6565b611b81565b611d71565b503461000e5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576020610a3a600435610a3181610260565b60243590612160565b604051908152f35b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57602073ffffffffffffffffffffffffffffffffffffffff60075416604051908152f35b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57602060ff600954166040519015158152f35b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57610b2a73ffffffffffffffffffffffffffffffffffffffff6005541633146117e3565b600980547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055005b506000807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126106425780808073ffffffffffffffffffffffffffffffffffffffff60055416610ba73382146117e3565b47604051915af1610bb6611fea565b5015610bc157604051f35b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600660248201527f6661696c656400000000000000000000000000000000000000000000000000006044820152fd5b503461000e57610726610c313661097c565b90604051926020840184811067ffffffffffffffff821117610c5a575b60405260008452611be6565b610c62611330565b610c4e565b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57600435610ca48133611cd6565b15610d7a576000908082526006602052816040812055610cc381611a82565b908083526003602052604083207fffffffffffffffffffffffff000000000000000000000000000000000000000090818154169055600254821015610d6d575b817f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace019081541690558273ffffffffffffffffffffffffffffffffffffffff60405193167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8285a4f35b610d756118b7565b610d03565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4e6f7420617070726f76656420746f206275726e0000000000000000000000006044820152fd5b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57600435600254811015610e2057602090604051908152f35b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f676c6f62616c20696e646578206f7574206f6620626f756e64730000000000006044820152fd5b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576020610682600435611a82565b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576020610a3a600435610efc81610260565b61192c565b503461000e576000807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610642576005547fffffffffffffffffffffffff000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff821691610f793384146117e3565b1660055581604051917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08284a3f35b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57602073ffffffffffffffffffffffffffffffffffffffff60055416604051908152f35b503461000e576000807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610642576040519080600190815480831c928082169283156110d1575b602092838610851461060b5785885260208801949081156105d15750600114611078576105758761056981890382611389565b600160005294509192917fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf65b8386106110c05750505091019050610569826105753880610559565b8054858701529482019481016110a4565b93607f1693611045565b503461000e5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5760043561111781610260565b602435801515810361000e5773ffffffffffffffffffffffffffffffffffffffff8216918233146111df578161117d6111ad9233600052600460205260406000209073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b9060ff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0083541691151516179055565b604051901515815233907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190602090a3005b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152fd5b5060207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5760043563ffffffff9081811680910361000e576002549060085481830110156112d2576000915b818484161061129a57005b806112a58592612524565b6112b9826000526006602052604060002090565b556112c4813361228d565b60018091019301169161128f565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f45786365656473206d617820737570706c7900000000000000000000000000006044820152fd5b507f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6060810190811067ffffffffffffffff82111761137c57604052565b611384611330565b604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff82111761137c57604052565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f60209267ffffffffffffffff8111611406575b01160190565b61140e611330565b611400565b503461000e5760807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5760043561144f81610260565b60243561145b81610260565b6064359167ffffffffffffffff831161000e573660238401121561000e57826004013591611488836113ca565b926114966040519485611389565b808452366024828701011161000e5760208160009260246107269801838801378501015260443591611be6565b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5761057560043561150a61150582611c70565b61236e565b80600052600660205260006040812054604473ffffffffffffffffffffffffffffffffffffffff600754169360405194859384927f92cb829d000000000000000000000000000000000000000000000000000000008452600484015260248301525afa9081156115ab575b60009161158a575b50604051918291826104d6565b6115a5913d8091833e61159d8183611389565b8101906123d3565b3861157d565b6115b3611fdd565b611575565b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576020600854604051908152f35b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5760043561163461150582611c70565b60005260066020526020604060002054604051908152f35b503461000e5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57602060ff6116e360043561168f81610260565b73ffffffffffffffffffffffffffffffffffffffff602435916116b183610260565b166000526004845260406000209073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b54166040519015158152f35b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5760043561172b81610260565b73ffffffffffffffffffffffffffffffffffffffff61174f816005541633146117e3565b81161561175f5761072690611848565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152fd5b156117ea57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b6005549073ffffffffffffffffffffffffffffffffffffffff80911691827fffffffffffffffffffffffff0000000000000000000000000000000000000000821617600555167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e06000604051a3565b507f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60025481101561191f575b60026000527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0190600090565b6119276118b7565b6118f2565b73ffffffffffffffffffffffffffffffffffffffff1680156119bf57600254600091825b82811061195d5750505090565b6119a561198c61196c836118e7565b905473ffffffffffffffffffffffffffffffffffffffff9160031b1c1690565b73ffffffffffffffffffffffffffffffffffffffff1690565b82146119b4575b600101611950565b6001909301926119ac565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f302061646472657373206973206e6f7420612076616c6964206f776e657200006044820152fd5b15611a2457565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152fd5b73ffffffffffffffffffffffffffffffffffffffff90600254811015611ad7575b60026000527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0154166104e7811515611a1d565b611adf6118b7565b611aa3565b15611aeb57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f63616c6c6572206973206e6f74206f776e65722f617070726f766564000000006044820152fd5b611b5a611b5582611c70565b611a1d565b600052600360205273ffffffffffffffffffffffffffffffffffffffff6040600020541690565b15611b8857565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f63616c6c6572206973206e6f74206f776e6572206f7220617070726f766564006044820152fd5b90611c0a939291611bfa6109e68433611cd6565b611c05838383611d71565b61201a565b15611c1157565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f7472616e7366657220746f206e6f6e20455243373231526563656976657200006044820152606490fd5b60025481109081611c7f575090565b73ffffffffffffffffffffffffffffffffffffffff9115611cc9575b60026000527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace015416151590565b611cd16118b7565b611c9b565b73ffffffffffffffffffffffffffffffffffffffff80611cf584611a82565b169281831692848414948515611d2b575b50508315611d15575b50505090565b611d2191929350611b49565b1614388080611d0f565b60ff92955090611d6791600052600460205260406000209073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b5416923880611d06565b611d7a83611a82565b73ffffffffffffffffffffffffffffffffffffffff91821691908116829003611eab578216918215611e4d57611e2490611de9611dc1866000526003602052604060002090565b7fffffffffffffffffffffffff00000000000000000000000000000000000000008154169055565b611df2856118e7565b90919082549060031b9173ffffffffffffffffffffffffffffffffffffffff9283811b93849216901b16911916179055565b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6000604051a4565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f7472616e7366657220746f20746865207a65726f2061646472657373000000006044820152fd5b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f7472616e736665722066726f6d20696e636f7272656374206f776e65720000006044820152fd5b81600052600360205260406000209073ffffffffffffffffffffffffffffffffffffffff80911691827fffffffffffffffffffffffff0000000000000000000000000000000000000000825416179055611f6283611a82565b167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256000604051a4565b9081602091031261000e57516104e781610310565b90926104e7949360809373ffffffffffffffffffffffffffffffffffffffff809216845216602083015260408201528160608201520190610493565b506040513d6000823e3d90fd5b3d15612015573d90611ffb826113ca565b916120096040519384611389565b82523d6000602084013e565b606090565b92919091823b61202d5750505050600190565b61208392602092600073ffffffffffffffffffffffffffffffffffffffff6040518097819682957f150b7a02000000000000000000000000000000000000000000000000000000009b8c85523360048601611fa1565b0393165af160009181612130575b5061210a5761209e611fea565b80519081612105576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f7472616e7366657220746f206e6f6e20455243373231526563656976657200006044820152606490fd5b602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000161490565b61215291925060203d8111612159575b61214a8183611389565b810190611f8c565b9038612091565b503d612140565b9061216a8261192c565b81101561222e576000908192600254935b8481106121e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f6f776e657220696e646578206f7574206f6620626f756e6473000000000000006044820152606490fd5b6121f061198c61196c836118e7565b73ffffffffffffffffffffffffffffffffffffffff831614612215575b60010161217b565b9282810361222557505050905090565b6001019261220d565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f6f776e657220696e646578206f7574206f6620626f756e6473000000000000006044820152606490fd5b61229682611c70565b61231057806122d873ffffffffffffffffffffffffffffffffffffffff92611df260025468010000000000000000811015612303575b600181016002556118e7565b1660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef81604051a4565b61230b611330565b6122cc565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152fd5b1561237557565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f476f776c20646f6573206e6f74206578697374000000000000000000000000006044820152fd5b60208183031261000e5780519067ffffffffffffffff821161000e570181601f8201121561000e578051612406816113ca565b926124146040519485611389565b8184526020828401011161000e576104e7916020808501910161045e565b507f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600a907ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff58111612490570190565b612498612432565b0190565b81198111612490570190565b7f028f5c28f5c28f5c28f5c28f5c28f5c28f5c28f5c28f5c28f5c28f5c28f5c28f81116001166124d9575b60640290565b6124e1612432565b6124d3565b7e068db8bac710cb295e9e1b089a027525460aa64c2f837b4a2339c0ebedfa438111600116612517575b6127100290565b61251f612432565b612510565b6104e79060014310612618575b60405160208101917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff430140835260408201526040815261257181611360565b51902061260e6126136125a661259161258c60078606612462565b6124a8565b6125a060148660301c06612462565b9061249c565b9261260e6126136125cf8360601c6125a060146125c861258c60068506612462565b9206612462565b61260e6126086125f08660901c6125a060146125c861258c60078506612462565b9560c01c6125a060146125c861258c60018516612462565b976124e6565b61249c565b6124e6565b612620612432565b61253156fea2646970667358221220fed559d9bc6424151c6d6a2807cdca6d3814b08ec38c9a830a9250ec266294e264736f6c634300080e0033000000000000000000000000ec46240c91a4e51d63252f988d33255f2267411c
Deployed Bytecode
0x60806040526004361015610013575b600080fd5b60003560e01c806301b9a3971461025757806301ffc9a71461024e57806306fdde0314610245578063081812fc1461023c578063095ea7b314610233578063176b72b41461022a57806318160ddd1461022157806323b872dd146102185780632f745c591461020f578063303e74df1461020657806333101e1f146101fd5780633bb2c938146101f45780633ccfd60b146101eb57806342842e0e146101e257806342966c68146101d95780634f6ccce7146101d05780636352211e146101c757806370a08231146101be578063715018a6146101b55780638da5cb5b146101ac57806395d89b41146101a3578063a22cb4651461019a578063a71bbebe14610191578063b88d4fde14610188578063c87b56dd1461017f578063d5abeb0114610176578063e0d4ea371461016d578063e985e9c5146101645763f2fde38b1461015c57600080fd5b61000e6116ef565b5061000e61164c565b5061000e6115f5565b5061000e6115b8565b5061000e6114c3565b5061000e611413565b5061000e61123d565b5061000e6110db565b5061000e610ffb565b5061000e610fa8565b5061000e610f01565b5061000e610ebb565b5061000e610e7e565b5061000e610dd8565b5061000e610c67565b5061000e610c1f565b5061000e610b54565b5061000e610ad7565b5061000e610a95565b5061000e610a42565b5061000e6109f0565b5061000e6109c6565b5061000e6108dc565b5061000e6107cf565b5061000e6106a0565b5061000e610645565b5061000e6104ea565b5061000e61033a565b5061000e61027e565b73ffffffffffffffffffffffffffffffffffffffff81160361000e57565b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576004356102ba81610260565b73ffffffffffffffffffffffffffffffffffffffff906102df826005541633146117e3565b167fffffffffffffffffffffffff000000000000000000000000000000000000000060075416176007556000604051f35b7fffffffff0000000000000000000000000000000000000000000000000000000081160361000e57565b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5760207fffffffff0000000000000000000000000000000000000000000000000000000060043561039981610310565b167f780e9d630000000000000000000000000000000000000000000000000000000081149081156103d0575b506040519015158152f35b7f80ac58cd00000000000000000000000000000000000000000000000000000000811491508115610434575b811561040a575b50386103c5565b7f01ffc9a70000000000000000000000000000000000000000000000000000000091501438610403565b7f5b5e139f00000000000000000000000000000000000000000000000000000000811491506103fc565b918091926000905b82821061047e575011610477575050565b6000910152565b91508060209183015181860152018291610466565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f6020936104cf8151809281875287808801910161045e565b0116010190565b9060206104e7928181520190610493565b90565b503461000e576000807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261064257604051908080549060019180831c92808216928315610638575b602092838610851461060b5785885260208801949081156105d15750600114610579575b6105758761056981890382611389565b604051918291826104d6565b0390f35b6000805294509192917f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5635b8386106105c05750505091019050610569826105753880610559565b8054858701529482019481016105a4565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685525050500191506105699050826105753880610559565b6024827f4e487b710000000000000000000000000000000000000000000000000000000081526022600452fd5b93607f1693610535565b80fd5b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576020610682600435611b49565b73ffffffffffffffffffffffffffffffffffffffff60405191168152f35b503461000e5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576004356106dc81610260565b60243573ffffffffffffffffffffffffffffffffffffffff91826106ff83611a82565b16809382161461077157826107269333148015610728575b6107219150611ae4565b611f09565b005b50600052600460205261072161076c6107653360406000209073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b5460ff1690565b610717565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f617070726f76616c20746f2063757272656e74206f776e6572000000000000006044820152fd5b503461000e5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5760043560243561082873ffffffffffffffffffffffffffffffffffffffff6005541633146117e3565b60ff600954161561087e576108797faabfe5e8bccf1a1352f72b557ce580211305c37f88d5783ae467a1ba5e0761e09183600052600660205280604060002055604051918291829190602083019252565b0390a2005b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f43616e6e6f7420736574207468652073656564000000000000000000000000006044820152fd5b503461000e576000807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261064257600280549082805b83811061092757602085604051908152f35b82825273ffffffffffffffffffffffffffffffffffffffff817f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace015416610971575b600101610915565b600190940193610969565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc606091011261000e576004356109b281610260565b906024356109bf81610260565b9060443590565b503461000e576107266109d83661097c565b916109eb6109e68433611cd6565b611b81565b611d71565b503461000e5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576020610a3a600435610a3181610260565b60243590612160565b604051908152f35b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57602073ffffffffffffffffffffffffffffffffffffffff60075416604051908152f35b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57602060ff600954166040519015158152f35b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57610b2a73ffffffffffffffffffffffffffffffffffffffff6005541633146117e3565b600980547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055005b506000807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126106425780808073ffffffffffffffffffffffffffffffffffffffff60055416610ba73382146117e3565b47604051915af1610bb6611fea565b5015610bc157604051f35b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600660248201527f6661696c656400000000000000000000000000000000000000000000000000006044820152fd5b503461000e57610726610c313661097c565b90604051926020840184811067ffffffffffffffff821117610c5a575b60405260008452611be6565b610c62611330565b610c4e565b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57600435610ca48133611cd6565b15610d7a576000908082526006602052816040812055610cc381611a82565b908083526003602052604083207fffffffffffffffffffffffff000000000000000000000000000000000000000090818154169055600254821015610d6d575b817f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace019081541690558273ffffffffffffffffffffffffffffffffffffffff60405193167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8285a4f35b610d756118b7565b610d03565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4e6f7420617070726f76656420746f206275726e0000000000000000000000006044820152fd5b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57600435600254811015610e2057602090604051908152f35b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f676c6f62616c20696e646578206f7574206f6620626f756e64730000000000006044820152fd5b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576020610682600435611a82565b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576020610a3a600435610efc81610260565b61192c565b503461000e576000807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610642576005547fffffffffffffffffffffffff000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff821691610f793384146117e3565b1660055581604051917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08284a3f35b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57602073ffffffffffffffffffffffffffffffffffffffff60055416604051908152f35b503461000e576000807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610642576040519080600190815480831c928082169283156110d1575b602092838610851461060b5785885260208801949081156105d15750600114611078576105758761056981890382611389565b600160005294509192917fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf65b8386106110c05750505091019050610569826105753880610559565b8054858701529482019481016110a4565b93607f1693611045565b503461000e5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5760043561111781610260565b602435801515810361000e5773ffffffffffffffffffffffffffffffffffffffff8216918233146111df578161117d6111ad9233600052600460205260406000209073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b9060ff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0083541691151516179055565b604051901515815233907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190602090a3005b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152fd5b5060207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5760043563ffffffff9081811680910361000e576002549060085481830110156112d2576000915b818484161061129a57005b806112a58592612524565b6112b9826000526006602052604060002090565b556112c4813361228d565b60018091019301169161128f565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f45786365656473206d617820737570706c7900000000000000000000000000006044820152fd5b507f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6060810190811067ffffffffffffffff82111761137c57604052565b611384611330565b604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff82111761137c57604052565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f60209267ffffffffffffffff8111611406575b01160190565b61140e611330565b611400565b503461000e5760807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5760043561144f81610260565b60243561145b81610260565b6064359167ffffffffffffffff831161000e573660238401121561000e57826004013591611488836113ca565b926114966040519485611389565b808452366024828701011161000e5760208160009260246107269801838801378501015260443591611be6565b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5761057560043561150a61150582611c70565b61236e565b80600052600660205260006040812054604473ffffffffffffffffffffffffffffffffffffffff600754169360405194859384927f92cb829d000000000000000000000000000000000000000000000000000000008452600484015260248301525afa9081156115ab575b60009161158a575b50604051918291826104d6565b6115a5913d8091833e61159d8183611389565b8101906123d3565b3861157d565b6115b3611fdd565b611575565b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576020600854604051908152f35b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5760043561163461150582611c70565b60005260066020526020604060002054604051908152f35b503461000e5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57602060ff6116e360043561168f81610260565b73ffffffffffffffffffffffffffffffffffffffff602435916116b183610260565b166000526004845260406000209073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b54166040519015158152f35b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5760043561172b81610260565b73ffffffffffffffffffffffffffffffffffffffff61174f816005541633146117e3565b81161561175f5761072690611848565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152fd5b156117ea57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b6005549073ffffffffffffffffffffffffffffffffffffffff80911691827fffffffffffffffffffffffff0000000000000000000000000000000000000000821617600555167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e06000604051a3565b507f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60025481101561191f575b60026000527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0190600090565b6119276118b7565b6118f2565b73ffffffffffffffffffffffffffffffffffffffff1680156119bf57600254600091825b82811061195d5750505090565b6119a561198c61196c836118e7565b905473ffffffffffffffffffffffffffffffffffffffff9160031b1c1690565b73ffffffffffffffffffffffffffffffffffffffff1690565b82146119b4575b600101611950565b6001909301926119ac565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f302061646472657373206973206e6f7420612076616c6964206f776e657200006044820152fd5b15611a2457565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152fd5b73ffffffffffffffffffffffffffffffffffffffff90600254811015611ad7575b60026000527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0154166104e7811515611a1d565b611adf6118b7565b611aa3565b15611aeb57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f63616c6c6572206973206e6f74206f776e65722f617070726f766564000000006044820152fd5b611b5a611b5582611c70565b611a1d565b600052600360205273ffffffffffffffffffffffffffffffffffffffff6040600020541690565b15611b8857565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f63616c6c6572206973206e6f74206f776e6572206f7220617070726f766564006044820152fd5b90611c0a939291611bfa6109e68433611cd6565b611c05838383611d71565b61201a565b15611c1157565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f7472616e7366657220746f206e6f6e20455243373231526563656976657200006044820152606490fd5b60025481109081611c7f575090565b73ffffffffffffffffffffffffffffffffffffffff9115611cc9575b60026000527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace015416151590565b611cd16118b7565b611c9b565b73ffffffffffffffffffffffffffffffffffffffff80611cf584611a82565b169281831692848414948515611d2b575b50508315611d15575b50505090565b611d2191929350611b49565b1614388080611d0f565b60ff92955090611d6791600052600460205260406000209073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b5416923880611d06565b611d7a83611a82565b73ffffffffffffffffffffffffffffffffffffffff91821691908116829003611eab578216918215611e4d57611e2490611de9611dc1866000526003602052604060002090565b7fffffffffffffffffffffffff00000000000000000000000000000000000000008154169055565b611df2856118e7565b90919082549060031b9173ffffffffffffffffffffffffffffffffffffffff9283811b93849216901b16911916179055565b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6000604051a4565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f7472616e7366657220746f20746865207a65726f2061646472657373000000006044820152fd5b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f7472616e736665722066726f6d20696e636f7272656374206f776e65720000006044820152fd5b81600052600360205260406000209073ffffffffffffffffffffffffffffffffffffffff80911691827fffffffffffffffffffffffff0000000000000000000000000000000000000000825416179055611f6283611a82565b167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256000604051a4565b9081602091031261000e57516104e781610310565b90926104e7949360809373ffffffffffffffffffffffffffffffffffffffff809216845216602083015260408201528160608201520190610493565b506040513d6000823e3d90fd5b3d15612015573d90611ffb826113ca565b916120096040519384611389565b82523d6000602084013e565b606090565b92919091823b61202d5750505050600190565b61208392602092600073ffffffffffffffffffffffffffffffffffffffff6040518097819682957f150b7a02000000000000000000000000000000000000000000000000000000009b8c85523360048601611fa1565b0393165af160009181612130575b5061210a5761209e611fea565b80519081612105576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f7472616e7366657220746f206e6f6e20455243373231526563656976657200006044820152606490fd5b602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000161490565b61215291925060203d8111612159575b61214a8183611389565b810190611f8c565b9038612091565b503d612140565b9061216a8261192c565b81101561222e576000908192600254935b8481106121e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f6f776e657220696e646578206f7574206f6620626f756e6473000000000000006044820152606490fd5b6121f061198c61196c836118e7565b73ffffffffffffffffffffffffffffffffffffffff831614612215575b60010161217b565b9282810361222557505050905090565b6001019261220d565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f6f776e657220696e646578206f7574206f6620626f756e6473000000000000006044820152606490fd5b61229682611c70565b61231057806122d873ffffffffffffffffffffffffffffffffffffffff92611df260025468010000000000000000811015612303575b600181016002556118e7565b1660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef81604051a4565b61230b611330565b6122cc565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152fd5b1561237557565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f476f776c20646f6573206e6f74206578697374000000000000000000000000006044820152fd5b60208183031261000e5780519067ffffffffffffffff821161000e570181601f8201121561000e578051612406816113ca565b926124146040519485611389565b8184526020828401011161000e576104e7916020808501910161045e565b507f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600a907ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff58111612490570190565b612498612432565b0190565b81198111612490570190565b7f028f5c28f5c28f5c28f5c28f5c28f5c28f5c28f5c28f5c28f5c28f5c28f5c28f81116001166124d9575b60640290565b6124e1612432565b6124d3565b7e068db8bac710cb295e9e1b089a027525460aa64c2f837b4a2339c0ebedfa438111600116612517575b6127100290565b61251f612432565b612510565b6104e79060014310612618575b60405160208101917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff430140835260408201526040815261257181611360565b51902061260e6126136125a661259161258c60078606612462565b6124a8565b6125a060148660301c06612462565b9061249c565b9261260e6126136125cf8360601c6125a060146125c861258c60068506612462565b9206612462565b61260e6126086125f08660901c6125a060146125c861258c60078506612462565b9560c01c6125a060146125c861258c60018516612462565b976124e6565b61249c565b6124e6565b612620612432565b61253156fea2646970667358221220fed559d9bc6424151c6d6a2807cdca6d3814b08ec38c9a830a9250ec266294e264736f6c634300080e0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000ec46240c91a4e51d63252f988d33255f2267411c
-----Decoded View---------------
Arg [0] : newDescriptor (address): 0xeC46240C91A4e51d63252f988d33255F2267411C
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000ec46240c91a4e51d63252f988d33255f2267411c
Loading...
Loading
[ 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.