Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 91 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 17544339 | 525 days ago | IN | 0 ETH | 0.00085798 | ||||
Set Approval For... | 17356518 | 551 days ago | IN | 0 ETH | 0.00065235 | ||||
Set Approval For... | 17356517 | 551 days ago | IN | 0 ETH | 0.00116581 | ||||
Set Approval For... | 17355229 | 551 days ago | IN | 0 ETH | 0.0011109 | ||||
Set Approval For... | 17210877 | 572 days ago | IN | 0 ETH | 0.00597724 | ||||
Set Approval For... | 17137807 | 582 days ago | IN | 0 ETH | 0.00154153 | ||||
Set Approval For... | 17137807 | 582 days ago | IN | 0 ETH | 0.00153953 | ||||
Set Approval For... | 17137807 | 582 days ago | IN | 0 ETH | 0.00153873 | ||||
Set Approval For... | 17090165 | 589 days ago | IN | 0 ETH | 0.00267399 | ||||
Transfer From | 16526721 | 668 days ago | IN | 0 ETH | 0.00087961 | ||||
Set Approval For... | 16455055 | 678 days ago | IN | 0 ETH | 0.00087069 | ||||
Set Approval For... | 16077552 | 731 days ago | IN | 0 ETH | 0.00064387 | ||||
Set Approval For... | 16073691 | 731 days ago | IN | 0 ETH | 0.00051486 | ||||
Set Approval For... | 15782741 | 772 days ago | IN | 0 ETH | 0.00098655 | ||||
Safe Transfer Fr... | 15720686 | 781 days ago | IN | 0 ETH | 0.00200839 | ||||
Safe Transfer Fr... | 15710067 | 782 days ago | IN | 0 ETH | 0.00123974 | ||||
Set Approval For... | 15687299 | 785 days ago | IN | 0 ETH | 0.00025532 | ||||
Set Approval For... | 15682729 | 786 days ago | IN | 0 ETH | 0.00147537 | ||||
Set Approval For... | 15483316 | 815 days ago | IN | 0 ETH | 0.00037414 | ||||
Transfer From | 15466143 | 818 days ago | IN | 0 ETH | 0.0003703 | ||||
Set Approval For... | 15181635 | 863 days ago | IN | 0 ETH | 0.0023502 | ||||
Set Approval For... | 15168109 | 865 days ago | IN | 0 ETH | 0.00186574 | ||||
Set Approval For... | 15155655 | 867 days ago | IN | 0 ETH | 0.00106938 | ||||
Set Approval For... | 15111938 | 874 days ago | IN | 0 ETH | 0.00079431 | ||||
Set Approval For... | 15098508 | 876 days ago | IN | 0 ETH | 0.0005979 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
EthBot
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT pragma solidity 0.8.4; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; /// @title Eth Bot NFT Contract /// @author jaxcoder, ghostffcode /// @notice /// @dev ethbot contract owned by greatestlarp contract contract EthBot is ERC721URIStorage, Ownable { using SafeMath for uint256; using Counters for Counters.Counter; Counters.Counter private _tokenIds; uint256 public lastMinted = 0; // this lets you look up a token by the uri (assuming there is only one of each uri for now) mapping(bytes32 => uint256) public uriToTokenId; string[] private uris; constructor() ERC721("EthBot", "ETHBOT") { uris = [ "Beneficent_Adam.json", "Benign_Cyborg.json", "Celestial_Alice.json", "Godly_Ilia.json", "Heavenly_Lucia.json", "Moral_Maria.json", "Sainted_Lucia.json", "Beneficent_Ava.json", "Benign_Doc.json", "Celestial_Astor.json", "Godly_Kronos.json", "Heavenly_Metallo.json", "Moral_Marvin.json", "Sainted_Lydia.json", "Beneficent_Bb-8.json", "Benign_Elle.json", "Celestial_Atom.json", "Godly_Maria.json", "Heavenly_Piper.json", "Moral_Motoko.json", "Sainted_Marcus.json", "Beneficent_Casella.json", "Benign_Galaxina.json", "Celestial_Avery.json", "Godly_Nuke.json", "Heavenly_Qrio.json", "Moral_Optimus.json", "Sainted_Mukuro.json", "Beneficent_Garth.json", "Benign_Genghis.json", "Celestial_Bishop.json", "Godly_Piper.json", "Heavenly_Rachael.json", "Moral_Qrio.json", "Sainted_Ro-man,.json", "Beneficent_Gigan.json", "Benign_Irona.json", "Celestial_Dolores.json", "Godly_Robotman.json", "Heavenly_Robot.json", "Moral_Samantha.json", "Sainted_Robots.json", "Beneficent_Irona.json", "Benign_Jinx.json", "Celestial_Galaxina.json", "Godly_Rom.json", "Heavenly_Rom.json", "Moral_Shakey.json", "Sainted_Shakey.json", "Beneficent_Kampf.json", "Benign_Kampf.json", "Celestial_Gigan.json", "Godly_S1mone.json", "Heavenly_Shakey.json", "Moral_Spirit.json", "Sainted_Vanessa.json", "Beneficent_Katie.json", "Benign_Lucia.json", "Celestial_Gort.json", "Godly_Shakey.json", "Heavenly_Spirit.json", "Moral_Talos.json", "Sainted_Wall-e.json", "Beneficent_Marcus.json", "Benign_Marcus.json", "Celestial_Ilia.json", "Godly_Sonny.json", "Heavenly_Technology.json", "Moral_Torg.json", "Saintly_Adam.json", "Beneficent_Moguera.json", "Benign_Max.json", "Celestial_John.json", "Godly_Technology.json", "Heavenly_Tima.json", "Moral_Ultron.json", "Saintly_Alex.json", "Beneficent_Motoko.json", "Benign_Mukuro.json", "Celestial_Kimiko.json", "Godly_Tobor.json", "Holy_Adam.json", "Righteous_Adam.json", "Saintly_Astronema.json", "Beneficent_P2.json", "Benign_P2.json", "Celestial_Kryton.json", "Godly_Victor.json", "Holy_Alice.json", "Righteous_Amee.json", "Saintly_Baymax.json", "Beneficent_Pris.json", "Benign_Piper.json", "Celestial_Marcus.json", "Good_Alex.json", "Holy_Bender.json", "Righteous_Astor.json", "Saintly_Dante.json", "Beneficent_Qrio.json", "Benign_Qrio.json", "Celestial_Nuke.json", "Good_Ava.json", "Holy_C-3po.json", "Righteous_Baymax.json", "Saintly_Doc.json", "Beneficent_Robby.json", "Benign_Robot.json", "Celestial_Pickles.json", "Good_Avery.json", "Holy_Eve.json", "Righteous_Bb-8.json", "Saintly_Elle.json", "Beneficent_Rom.json", "Benign_Samantha.json", "Celestial_Robby.json", "Good_Batou.json", "Holy_Galaxina.json", "Righteous_Casella.json", "Saintly_Genos.json", "Beneficent_Samantha.json", "Benign_Shakey.json", "Celestial_Robonaut.json", "Good_Bb-8.json", "Holy_Grievous.json", "Righteous_Dillon.json", "Saintly_Metallo.json", "Beneficent_Sonny.json", "Benign_Tima.json", "Celestial_Robot.json", "Good_Bunnie.json", "Holy_Ilia.json", "Righteous_Elle.json", "Saintly_Mukuro.json", "Beneficent_Tobor.json", "Benign_Ultron.json", "Celestial_S1mone.json", "Good_Cameron.json", "Holy_Irona.json", "Righteous_Genghis.json", "Saintly_Pearl.json", "Benevolent_Aibo.json", "Benignant_Adam.json", "Celestial_Spirit.json", "Good_Cassandra.json", "Holy_Marvin.json", "Righteous_Grievous.json", "Saintly_Rachael.json", "Benevolent_Atom.json", "Benignant_Aibo.json", "Celestial_Talos.json", "Good_Colussus.json", "Holy_Pearl.json", "Righteous_Irona.json", "Saintly_Ultron.json", "Benevolent_Chani.json", "Benignant_Amee.json", "Celestial_Technology.json", "Good_Doc.json", "Holy_Pickles.json", "Righteous_Kampf.json", "Virtuous_Alex.json", "Benevolent_Dante.json", "Benignant_Batou.json", "Ethical_Adam.json", "Good_Genghis.json", "Holy_Tobor.json", "Righteous_Katie.json", "Virtuous_Astor.json", "Benevolent_Irona.json", "Benignant_Baymax.json", "Ethical_Arbeit.json", "Good_Gigan.json", "Holy_Ultron.json", "Righteous_Killian.json", "Virtuous_Atom.json", "Benevolent_John.json", "Benignant_Bunnie.json", "Ethical_Ash.json", "Good_Irona.json", "Holy_Vanessa.json", "Righteous_Moguera.json", "Virtuous_Bb-8.json", "Benevolent_Katie.json", "Benignant_Cameron.json", "Ethical_Batou.json", "Good_Jaime.json", "Moral_Adam.json", "Righteous_Piper.json", "Virtuous_Briareos.json", "Benevolent_Lydia.json", "Benignant_Deathstryke.json", "Ethical_Bb-8.json", "Good_Killian.json", "Moral_Alita.json", "Righteous_Ro-man,.json", "Virtuous_C-3po.json", "Benevolent_Marcus.json", "Benignant_Elle.json", "Ethical_Bender.json", "Good_Lydia.json", "Moral_Astor.json", "Righteous_Robby.json", "Virtuous_Cassandra.json", "Benevolent_Moguera.json", "Benignant_Irona.json", "Ethical_Bishop.json", "Good_Metallo.json", "Moral_Astroboy.json", "Sainted_Adam.json", "Virtuous_Dante.json", "Benevolent_Robby.json", "Benignant_Jinx.json", "Ethical_Box.json", "Good_Mukuro.json", "Moral_Austin.json", "Sainted_Alita.json", "Virtuous_Genos.json", "Benevolent_Robot.json", "Benignant_Katie.json", "Ethical_Cassandra.json", "Good_Nuke.json", "Moral_Avery.json", "Sainted_Astronema.json", "Virtuous_Irona.json", "Benevolent_Vanessa.json", "Benignant_Kryton.json", "Ethical_Chani.json", "Good_Omega.json", "Moral_Batou.json", "Sainted_Barry.json", "Virtuous_Metallo.json", "Benign_Adam.json", "Benignant_Mukuro.json", "Ethical_Colussus.json", "Good_Spirit.json", "Moral_Box.json", "Sainted_Baymax.json", "Virtuous_Motoko.json", "Benign_Alex.json", "Benignant_Optimus.json", "Ethical_Ilia.json", "Good_Torg.json", "Moral_Bunnie.json", "Sainted_Bb-8.json", "Virtuous_Omega.json", "Benign_Arbeit.json", "Benignant_P2.json", "Ethical_Jinx.json", "Good_Ultron.json", "Moral_Cappy.json", "Sainted_Bender.json", "Virtuous_Opportunity.json", "Benign_Avery.json", "Benignant_Piper.json", "Ethical_Marcus.json", "Heavenly_Alice.json", "Moral_Chani.json", "Sainted_Box.json", "Virtuous_Optimus.json", "Benign_Batou.json", "Benignant_Pris.json", "Ethical_P2.json", "Heavenly_Ava.json", "Moral_Elle.json", "Sainted_Cameron.json", "Virtuous_Robonaut.json", "Benign_Bender.json", "Benignant_Qrio.json", "Ethical_Piper.json", "Heavenly_Bb-8.json", "Moral_Genghis.json", "Sainted_Chappie.json", "Virtuous_Robot.json", "Benign_Bishop.json", "Benignant_Robot.json", "Ethical_Vanessa.json", "Heavenly_Casella.json", "Moral_Gigan.json", "Sainted_Deathstryke.json", "Virtuous_Robotman.json", "Benign_Briareos.json", "Benignant_Talos.json", "Godly_Arbeit.json", "Heavenly_Chani.json", "Moral_Ilia.json", "Sainted_Dolores.json", "Virtuous_Rom.json", "Benign_Bunnie.json", "Benignant_Technology.json", "Godly_Austin.json", "Heavenly_Elle.json", "Moral_Jaime.json", "Sainted_Galaxina.json", "Virtuous_Samantha.json", "Benign_Casella.json", "Benignant_Wall-e.json", "Godly_Bishop.json", "Heavenly_Jaime.json", "Moral_John.json", "Sainted_Irona.json", "Benign_Cherry.json", "Celestial_Adam.json", "Godly_Elsie.json", "Heavenly_Katie.json", "Moral_Kimiko.json", "Sainted_Killian.json" ]; } /// @dev the base uri for the assets function _baseURI() internal pure override returns (string memory) { return "https://gateway.pinata.cloud/ipfs/QmNvDsEp35d31pT3WVUnQYN2pibMBLDH5hRs1oQHHsSsMa/"; } function contractURI() public view returns (string memory) { return "https://gateway.pinata.cloud/ipfs/QmRxiXjsRkfz86aBNAmLSCqSBmcWXYDGwW5M1VPELE1ZXT/ethbot.json"; } /// @dev what was the last token minted function lastMintedToken() external view returns (uint256 id) { id = _tokenIds.current(); } /// @dev this is internal mint function /// @param to the user that is minting the token address /// @param tokenURI the uri for the token being minted function mintItem(address to, string memory tokenURI) private returns (uint256) { _tokenIds.increment(); uint256 id = _tokenIds.current(); _mint(to, id); _setTokenURI(id, tokenURI); return id; } /// @dev public mint function /// @param user the users address who is minting function mint(address user) external onlyOwner returns (uint256 id) { id = _tokenIds.current(); mintItem(user, uris[id]); lastMinted = id; return id; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @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 override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// 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); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"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":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastMintedToken","outputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"mint","outputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"uriToTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405260006009553480156200001657600080fd5b5060405180604001604052806006815260200165115d1a109bdd60d21b815250604051806040016040528060068152602001651155121093d560d21b81525081600090805190602001906200006d929190620040a5565b50805162000083906001906020840190620040a5565b505050620000a06200009a6200404f60201b60201c565b62004053565b6040518061264001604052806040518060400160405280601481526020017f42656e65666963656e745f4164616d2e6a736f6e0000000000000000000000008152508152602001604051806040016040528060128152602001712132b734b3b72fa1bcb137b933973539b7b760711b81525081526020016040518060400160405280601481526020017f43656c65737469616c5f416c6963652e6a736f6e00000000000000000000000081525081526020016040518060400160405280600f81526020016e23b7b2363cafa4b634b0973539b7b760891b81525081526020016040518060400160405280601381526020017f48656176656e6c795f4c756369612e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601081526020016f26b7b930b62fa6b0b934b0973539b7b760811b81525081526020016040518060400160405280601281526020017129b0b4b73a32b22fa63ab1b4b0973539b7b760711b81525081526020016040518060400160405280601381526020017f42656e65666963656e745f4176612e6a736f6e0000000000000000000000000081525081526020016040518060400160405280600f81526020016e2132b734b3b72fa237b1973539b7b760891b81525081526020016040518060400160405280601481526020017f43656c65737469616c5f4173746f722e6a736f6e00000000000000000000000081525081526020016040518060400160405280601181526020017023b7b2363cafa5b937b737b9973539b7b760791b81525081526020016040518060400160405280601581526020017f48656176656e6c795f4d6574616c6c6f2e6a736f6e000000000000000000000081525081526020016040518060400160405280601181526020017026b7b930b62fa6b0b93b34b7173539b7b760791b81525081526020016040518060400160405280601281526020017129b0b4b73a32b22fa63cb234b0973539b7b760711b81525081526020016040518060400160405280601481526020017f42656e65666963656e745f42622d382e6a736f6e00000000000000000000000081525081526020016040518060400160405280601081526020016f2132b734b3b72fa2b63632973539b7b760811b81525081526020016040518060400160405280601381526020017f43656c65737469616c5f41746f6d2e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601081526020016f23b7b2363cafa6b0b934b0973539b7b760811b81525081526020016040518060400160405280601381526020017f48656176656e6c795f50697065722e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601181526020017026b7b930b62fa6b7ba37b5b7973539b7b760791b81525081526020016040518060400160405280601381526020017f5361696e7465645f4d61726375732e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601781526020017f42656e65666963656e745f436173656c6c612e6a736f6e00000000000000000081525081526020016040518060400160405280601481526020017f42656e69676e5f47616c6178696e612e6a736f6e00000000000000000000000081525081526020016040518060400160405280601481526020017f43656c65737469616c5f41766572792e6a736f6e00000000000000000000000081525081526020016040518060400160405280600f81526020016e23b7b2363cafa73ab5b2973539b7b760891b8152508152602001604051806040016040528060128152602001712432b0bb32b7363cafa8b934b7973539b7b760711b81525081526020016040518060400160405280601281526020017126b7b930b62fa7b83a34b6bab9973539b7b760711b81525081526020016040518060400160405280601381526020017f5361696e7465645f4d756b75726f2e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601581526020017f42656e65666963656e745f47617274682e6a736f6e000000000000000000000081525081526020016040518060400160405280601381526020017f42656e69676e5f47656e676869732e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601581526020017f43656c65737469616c5f426973686f702e6a736f6e000000000000000000000081525081526020016040518060400160405280601081526020016f23b7b2363cafa834b832b9173539b7b760811b81525081526020016040518060400160405280601581526020017f48656176656e6c795f5261636861656c2e6a736f6e000000000000000000000081525081526020016040518060400160405280600f81526020016e26b7b930b62fa8b934b7973539b7b760891b81525081526020016040518060400160405280601481526020017f5361696e7465645f526f2d6d616e2c2e6a736f6e00000000000000000000000081525081526020016040518060400160405280601581526020017f42656e65666963656e745f476967616e2e6a736f6e00000000000000000000008152508152602001604051806040016040528060118152602001702132b734b3b72fa4b937b730973539b7b760791b81525081526020016040518060400160405280601681526020017f43656c65737469616c5f446f6c6f7265732e6a736f6e0000000000000000000081525081526020016040518060400160405280601381526020017f476f646c795f526f626f746d616e2e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601381526020017f48656176656e6c795f526f626f742e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601381526020017f4d6f72616c5f53616d616e7468612e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601381526020017f5361696e7465645f526f626f74732e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601581526020017f42656e65666963656e745f49726f6e612e6a736f6e000000000000000000000081525081526020016040518060400160405280601081526020016f2132b734b3b72fa534b73c173539b7b760811b81525081526020016040518060400160405280601781526020017f43656c65737469616c5f47616c6178696e612e6a736f6e00000000000000000081525081526020016040518060400160405280600e81526020016d23b7b2363cafa937b6973539b7b760911b8152508152602001604051806040016040528060118152602001702432b0bb32b7363cafa937b6973539b7b760791b81525081526020016040518060400160405280601181526020017026b7b930b62fa9b430b5b2bc973539b7b760791b81525081526020016040518060400160405280601381526020017f5361696e7465645f5368616b65792e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601581526020017f42656e65666963656e745f4b616d70662e6a736f6e00000000000000000000008152508152602001604051806040016040528060118152602001702132b734b3b72fa5b0b6b833173539b7b760791b81525081526020016040518060400160405280601481526020017f43656c65737469616c5f476967616e2e6a736f6e00000000000000000000000081525081526020016040518060400160405280601181526020017023b7b2363cafa998b6b7b732973539b7b760791b81525081526020016040518060400160405280601481526020017f48656176656e6c795f5368616b65792e6a736f6e00000000000000000000000081525081526020016040518060400160405280601181526020017026b7b930b62fa9b834b934ba173539b7b760791b81525081526020016040518060400160405280601481526020017f5361696e7465645f56616e657373612e6a736f6e00000000000000000000000081525081526020016040518060400160405280601581526020017f42656e65666963656e745f4b617469652e6a736f6e00000000000000000000008152508152602001604051806040016040528060118152602001702132b734b3b72fa63ab1b4b0973539b7b760791b81525081526020016040518060400160405280601381526020017f43656c65737469616c5f476f72742e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601181526020017023b7b2363cafa9b430b5b2bc973539b7b760791b81525081526020016040518060400160405280601481526020017f48656176656e6c795f5370697269742e6a736f6e00000000000000000000000081525081526020016040518060400160405280601081526020016f26b7b930b62faa30b637b9973539b7b760811b81525081526020016040518060400160405280601381526020017f5361696e7465645f57616c6c2d652e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601681526020017f42656e65666963656e745f4d61726375732e6a736f6e000000000000000000008152508152602001604051806040016040528060128152602001712132b734b3b72fa6b0b931bab9973539b7b760711b81525081526020016040518060400160405280601381526020017f43656c65737469616c5f496c69612e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601081526020016f23b7b2363cafa9b7b7373c973539b7b760811b81525081526020016040518060400160405280601881526020017f48656176656e6c795f546563686e6f6c6f67792e6a736f6e000000000000000081525081526020016040518060400160405280600f81526020016e26b7b930b62faa37b933973539b7b760891b81525081526020016040518060400160405280601181526020017029b0b4b73a363cafa0b230b6973539b7b760791b81525081526020016040518060400160405280601781526020017f42656e65666963656e745f4d6f67756572612e6a736f6e00000000000000000081525081526020016040518060400160405280600f81526020016e2132b734b3b72fa6b0bc173539b7b760891b81525081526020016040518060400160405280601381526020017f43656c65737469616c5f4a6f686e2e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601581526020017f476f646c795f546563686e6f6c6f67792e6a736f6e00000000000000000000008152508152602001604051806040016040528060128152602001712432b0bb32b7363cafaa34b6b0973539b7b760711b81525081526020016040518060400160405280601181526020017026b7b930b62faab63a3937b7173539b7b760791b81525081526020016040518060400160405280601181526020017029b0b4b73a363cafa0b632bc173539b7b760791b81525081526020016040518060400160405280601681526020017f42656e65666963656e745f4d6f746f6b6f2e6a736f6e000000000000000000008152508152602001604051806040016040528060128152602001712132b734b3b72fa6bab5bab937973539b7b760711b81525081526020016040518060400160405280601581526020017f43656c65737469616c5f4b696d696b6f2e6a736f6e000000000000000000000081525081526020016040518060400160405280601081526020016f23b7b2363cafaa37b137b9173539b7b760811b81525081526020016040518060400160405280600e81526020016d2437b63cafa0b230b6973539b7b760911b81525081526020016040518060400160405280601381526020017f5269676874656f75735f4164616d2e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601681526020017f5361696e746c795f417374726f6e656d612e6a736f6e000000000000000000008152508152602001604051806040016040528060128152602001712132b732b334b1b2b73a2fa819173539b7b760711b81525081526020016040518060400160405280600e81526020016d2132b734b3b72fa819173539b7b760911b81525081526020016040518060400160405280601581526020017f43656c65737469616c5f4b7279746f6e2e6a736f6e000000000000000000000081525081526020016040518060400160405280601181526020017023b7b2363cafab34b1ba37b9173539b7b760791b81525081526020016040518060400160405280600f81526020016e2437b63cafa0b634b1b2973539b7b760891b81525081526020016040518060400160405280601381526020017f5269676874656f75735f416d65652e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601381526020017f5361696e746c795f4261796d61782e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601481526020017f42656e65666963656e745f507269732e6a736f6e0000000000000000000000008152508152602001604051806040016040528060118152602001702132b734b3b72fa834b832b9173539b7b760791b81525081526020016040518060400160405280601581526020017f43656c65737469616c5f4d61726375732e6a736f6e000000000000000000000081525081526020016040518060400160405280600e81526020016d23b7b7b22fa0b632bc173539b7b760911b81525081526020016040518060400160405280601081526020016f2437b63cafa132b73232b9173539b7b760811b81525081526020016040518060400160405280601481526020017f5269676874656f75735f4173746f722e6a736f6e00000000000000000000000081525081526020016040518060400160405280601281526020017129b0b4b73a363cafa230b73a32973539b7b760711b81525081526020016040518060400160405280601481526020017f42656e65666963656e745f5172696f2e6a736f6e00000000000000000000000081525081526020016040518060400160405280601081526020016f2132b734b3b72fa8b934b7973539b7b760811b81525081526020016040518060400160405280601381526020017f43656c65737469616c5f4e756b652e6a736f6e0000000000000000000000000081525081526020016040518060400160405280600d81526020016c23b7b7b22fa0bb30973539b7b760991b81525081526020016040518060400160405280600f81526020016e2437b63cafa19699b837973539b7b760891b81525081526020016040518060400160405280601581526020017f5269676874656f75735f4261796d61782e6a736f6e000000000000000000000081525081526020016040518060400160405280601081526020016f29b0b4b73a363cafa237b1973539b7b760811b81525081526020016040518060400160405280601581526020017f42656e65666963656e745f526f6262792e6a736f6e00000000000000000000008152508152602001604051806040016040528060118152602001702132b734b3b72fa937b137ba173539b7b760791b81525081526020016040518060400160405280601681526020017f43656c65737469616c5f5069636b6c65732e6a736f6e0000000000000000000081525081526020016040518060400160405280600f81526020016e23b7b7b22fa0bb32b93c973539b7b760891b81525081526020016040518060400160405280600d81526020016c2437b63cafa2bb32973539b7b760991b81525081526020016040518060400160405280601381526020017f5269676874656f75735f42622d382e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601181526020017029b0b4b73a363cafa2b63632973539b7b760791b81525081526020016040518060400160405280601381526020017f42656e65666963656e745f526f6d2e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601481526020017f42656e69676e5f53616d616e7468612e6a736f6e00000000000000000000000081525081526020016040518060400160405280601481526020017f43656c65737469616c5f526f6262792e6a736f6e00000000000000000000000081525081526020016040518060400160405280600f81526020016e23b7b7b22fa130ba37ba973539b7b760891b8152508152602001604051806040016040528060128152602001712437b63cafa3b0b630bc34b730973539b7b760711b81525081526020016040518060400160405280601681526020017f5269676874656f75735f436173656c6c612e6a736f6e0000000000000000000081525081526020016040518060400160405280601281526020017129b0b4b73a363cafa3b2b737b9973539b7b760711b81525081526020016040518060400160405280601881526020017f42656e65666963656e745f53616d616e7468612e6a736f6e00000000000000008152508152602001604051806040016040528060128152602001712132b734b3b72fa9b430b5b2bc973539b7b760711b81525081526020016040518060400160405280601781526020017f43656c65737469616c5f526f626f6e6175742e6a736f6e00000000000000000081525081526020016040518060400160405280600e81526020016d23b7b7b22fa131169c173539b7b760911b8152508152602001604051806040016040528060128152602001712437b63cafa3b934b2bb37bab9973539b7b760711b81525081526020016040518060400160405280601581526020017f5269676874656f75735f44696c6c6f6e2e6a736f6e000000000000000000000081525081526020016040518060400160405280601481526020017f5361696e746c795f4d6574616c6c6f2e6a736f6e00000000000000000000000081525081526020016040518060400160405280601581526020017f42656e65666963656e745f536f6e6e792e6a736f6e000000000000000000000081525081526020016040518060400160405280601081526020016f2132b734b3b72faa34b6b0973539b7b760811b81525081526020016040518060400160405280601481526020017f43656c65737469616c5f526f626f742e6a736f6e00000000000000000000000081525081526020016040518060400160405280601081526020016f23b7b7b22fa13ab73734b2973539b7b760811b81525081526020016040518060400160405280600e81526020016d2437b63cafa4b634b0973539b7b760911b81525081526020016040518060400160405280601381526020017f5269676874656f75735f456c6c652e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601381526020017f5361696e746c795f4d756b75726f2e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601581526020017f42656e65666963656e745f546f626f722e6a736f6e00000000000000000000008152508152602001604051806040016040528060128152602001712132b734b3b72faab63a3937b7173539b7b760711b81525081526020016040518060400160405280601581526020017f43656c65737469616c5f53316d6f6e652e6a736f6e000000000000000000000081525081526020016040518060400160405280601181526020017023b7b7b22fa1b0b6b2b937b7173539b7b760791b81525081526020016040518060400160405280600f81526020016e2437b63cafa4b937b730973539b7b760891b81525081526020016040518060400160405280601681526020017f5269676874656f75735f47656e676869732e6a736f6e0000000000000000000081525081526020016040518060400160405280601281526020017129b0b4b73a363cafa832b0b936173539b7b760711b81525081526020016040518060400160405280601481526020017f42656e65766f6c656e745f4169626f2e6a736f6e00000000000000000000000081525081526020016040518060400160405280601381526020017f42656e69676e616e745f4164616d2e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601581526020017f43656c65737469616c5f5370697269742e6a736f6e000000000000000000000081525081526020016040518060400160405280601381526020017f476f6f645f43617373616e6472612e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601081526020016f2437b63cafa6b0b93b34b7173539b7b760811b81525081526020016040518060400160405280601781526020017f5269676874656f75735f47726965766f75732e6a736f6e00000000000000000081525081526020016040518060400160405280601481526020017f5361696e746c795f5261636861656c2e6a736f6e00000000000000000000000081525081526020016040518060400160405280601481526020017f42656e65766f6c656e745f41746f6d2e6a736f6e00000000000000000000000081525081526020016040518060400160405280601381526020017f42656e69676e616e745f4169626f2e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601481526020017f43656c65737469616c5f54616c6f732e6a736f6e00000000000000000000000081525081526020016040518060400160405280601281526020017123b7b7b22fa1b7b63ab9b9bab9973539b7b760711b81525081526020016040518060400160405280600f81526020016e2437b63cafa832b0b936173539b7b760891b81525081526020016040518060400160405280601481526020017f5269676874656f75735f49726f6e612e6a736f6e00000000000000000000000081525081526020016040518060400160405280601381526020017f5361696e746c795f556c74726f6e2e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601581526020017f42656e65766f6c656e745f4368616e692e6a736f6e000000000000000000000081525081526020016040518060400160405280601381526020017f42656e69676e616e745f416d65652e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601981526020017f43656c65737469616c5f546563686e6f6c6f67792e6a736f6e0000000000000081525081526020016040518060400160405280600d81526020016c23b7b7b22fa237b1973539b7b760991b8152508152602001604051806040016040528060118152602001702437b63cafa834b1b5b632b9973539b7b760791b81525081526020016040518060400160405280601481526020017f5269676874656f75735f4b616d70662e6a736f6e0000000000000000000000008152508152602001604051806040016040528060128152602001712b34b93a3ab7bab9afa0b632bc173539b7b760711b81525081526020016040518060400160405280601581526020017f42656e65766f6c656e745f44616e74652e6a736f6e000000000000000000000081525081526020016040518060400160405280601481526020017f42656e69676e616e745f4261746f752e6a736f6e00000000000000000000000081525081526020016040518060400160405280601181526020017022ba3434b1b0b62fa0b230b6973539b7b760791b81525081526020016040518060400160405280601181526020017023b7b7b22fa3b2b733b434b9973539b7b760791b81525081526020016040518060400160405280600f81526020016e2437b63cafaa37b137b9173539b7b760891b81525081526020016040518060400160405280601481526020017f5269676874656f75735f4b617469652e6a736f6e00000000000000000000000081525081526020016040518060400160405280601381526020017f56697274756f75735f4173746f722e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601581526020017f42656e65766f6c656e745f49726f6e612e6a736f6e000000000000000000000081525081526020016040518060400160405280601581526020017f42656e69676e616e745f4261796d61782e6a736f6e000000000000000000000081525081526020016040518060400160405280601381526020017f4574686963616c5f4172626569742e6a736f6e0000000000000000000000000081525081526020016040518060400160405280600f81526020016e23b7b7b22fa3b4b3b0b7173539b7b760891b81525081526020016040518060400160405280601081526020016f2437b63cafaab63a3937b7173539b7b760811b81525081526020016040518060400160405280601681526020017f5269676874656f75735f4b696c6c69616e2e6a736f6e000000000000000000008152508152602001604051806040016040528060128152602001712b34b93a3ab7bab9afa0ba37b6973539b7b760711b81525081526020016040518060400160405280601481526020017f42656e65766f6c656e745f4a6f686e2e6a736f6e00000000000000000000000081525081526020016040518060400160405280601581526020017f42656e69676e616e745f42756e6e69652e6a736f6e000000000000000000000081525081526020016040518060400160405280601081526020016f22ba3434b1b0b62fa0b9b4173539b7b760811b81525081526020016040518060400160405280600f81526020016e23b7b7b22fa4b937b730973539b7b760891b8152508152602001604051806040016040528060118152602001702437b63cafab30b732b9b9b0973539b7b760791b81525081526020016040518060400160405280601681526020017f5269676874656f75735f4d6f67756572612e6a736f6e000000000000000000008152508152602001604051806040016040528060128152602001712b34b93a3ab7bab9afa131169c173539b7b760711b81525081526020016040518060400160405280601581526020017f42656e65766f6c656e745f4b617469652e6a736f6e000000000000000000000081525081526020016040518060400160405280601681526020017f42656e69676e616e745f43616d65726f6e2e6a736f6e0000000000000000000081525081526020016040518060400160405280601281526020017122ba3434b1b0b62fa130ba37ba973539b7b760711b81525081526020016040518060400160405280600f81526020016e23b7b7b22fa530b4b6b2973539b7b760891b81525081526020016040518060400160405280600f81526020016e26b7b930b62fa0b230b6973539b7b760891b81525081526020016040518060400160405280601481526020017f5269676874656f75735f50697065722e6a736f6e00000000000000000000000081525081526020016040518060400160405280601681526020017f56697274756f75735f4272696172656f732e6a736f6e0000000000000000000081525081526020016040518060400160405280601581526020017f42656e65766f6c656e745f4c796469612e6a736f6e000000000000000000000081525081526020016040518060400160405280601a81526020017f42656e69676e616e745f4465617468737472796b652e6a736f6e00000000000081525081526020016040518060400160405280601181526020017022ba3434b1b0b62fa131169c173539b7b760791b81525081526020016040518060400160405280601181526020017023b7b7b22fa5b4b63634b0b7173539b7b760791b81525081526020016040518060400160405280601081526020016f26b7b930b62fa0b634ba30973539b7b760811b81525081526020016040518060400160405280601681526020017f5269676874656f75735f526f2d6d616e2c2e6a736f6e0000000000000000000081525081526020016040518060400160405280601381526020017f56697274756f75735f432d33706f2e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601681526020017f42656e65766f6c656e745f4d61726375732e6a736f6e0000000000000000000081525081526020016040518060400160405280601381526020017f42656e69676e616e745f456c6c652e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601381526020017f4574686963616c5f42656e6465722e6a736f6e0000000000000000000000000081525081526020016040518060400160405280600f81526020016e23b7b7b22fa63cb234b0973539b7b760891b81525081526020016040518060400160405280601081526020016f26b7b930b62fa0b9ba37b9173539b7b760811b81525081526020016040518060400160405280601481526020017f5269676874656f75735f526f6262792e6a736f6e00000000000000000000000081525081526020016040518060400160405280601781526020017f56697274756f75735f43617373616e6472612e6a736f6e00000000000000000081525081526020016040518060400160405280601781526020017f42656e65766f6c656e745f4d6f67756572612e6a736f6e00000000000000000081525081526020016040518060400160405280601481526020017f42656e69676e616e745f49726f6e612e6a736f6e00000000000000000000000081525081526020016040518060400160405280601381526020017f4574686963616c5f426973686f702e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601181526020017023b7b7b22fa6b2ba30b63637973539b7b760791b81525081526020016040518060400160405280601381526020017f4d6f72616c5f417374726f626f792e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601181526020017029b0b4b73a32b22fa0b230b6973539b7b760791b81525081526020016040518060400160405280601381526020017f56697274756f75735f44616e74652e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601581526020017f42656e65766f6c656e745f526f6262792e6a736f6e000000000000000000000081525081526020016040518060400160405280601381526020017f42656e69676e616e745f4a696e782e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601081526020016f22ba3434b1b0b62fa137bc173539b7b760811b81525081526020016040518060400160405280601081526020016f23b7b7b22fa6bab5bab937973539b7b760811b81525081526020016040518060400160405280601181526020017026b7b930b62fa0bab9ba34b7173539b7b760791b81525081526020016040518060400160405280601281526020017129b0b4b73a32b22fa0b634ba30973539b7b760711b81525081526020016040518060400160405280601381526020017f56697274756f75735f47656e6f732e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601581526020017f42656e65766f6c656e745f526f626f742e6a736f6e000000000000000000000081525081526020016040518060400160405280601481526020017f42656e69676e616e745f4b617469652e6a736f6e00000000000000000000000081525081526020016040518060400160405280601681526020017f4574686963616c5f43617373616e6472612e6a736f6e0000000000000000000081525081526020016040518060400160405280600e81526020016d23b7b7b22fa73ab5b2973539b7b760911b81525081526020016040518060400160405280601081526020016f26b7b930b62fa0bb32b93c973539b7b760811b81525081526020016040518060400160405280601681526020017f5361696e7465645f417374726f6e656d612e6a736f6e0000000000000000000081525081526020016040518060400160405280601381526020017f56697274756f75735f49726f6e612e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601781526020017f42656e65766f6c656e745f56616e657373612e6a736f6e00000000000000000081525081526020016040518060400160405280601581526020017f42656e69676e616e745f4b7279746f6e2e6a736f6e000000000000000000000081525081526020016040518060400160405280601281526020017122ba3434b1b0b62fa1b430b734973539b7b760711b81525081526020016040518060400160405280600f81526020016e23b7b7b22fa7b6b2b3b0973539b7b760891b81525081526020016040518060400160405280601081526020016f26b7b930b62fa130ba37ba973539b7b760811b81525081526020016040518060400160405280601281526020017129b0b4b73a32b22fa130b9393c973539b7b760711b81525081526020016040518060400160405280601581526020017f56697274756f75735f4d6574616c6c6f2e6a736f6e000000000000000000000081525081526020016040518060400160405280601081526020016f2132b734b3b72fa0b230b6973539b7b760811b81525081526020016040518060400160405280601581526020017f42656e69676e616e745f4d756b75726f2e6a736f6e000000000000000000000081525081526020016040518060400160405280601581526020017f4574686963616c5f436f6c75737375732e6a736f6e000000000000000000000081525081526020016040518060400160405280601081526020016f23b7b7b22fa9b834b934ba173539b7b760811b81525081526020016040518060400160405280600e81526020016d26b7b930b62fa137bc173539b7b760911b81525081526020016040518060400160405280601381526020017f5361696e7465645f4261796d61782e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601481526020017f56697274756f75735f4d6f746f6b6f2e6a736f6e00000000000000000000000081525081526020016040518060400160405280601081526020016f2132b734b3b72fa0b632bc173539b7b760811b81525081526020016040518060400160405280601681526020017f42656e69676e616e745f4f7074696d75732e6a736f6e0000000000000000000081525081526020016040518060400160405280601181526020017022ba3434b1b0b62fa4b634b0973539b7b760791b81525081526020016040518060400160405280600e81526020016d23b7b7b22faa37b933973539b7b760911b81525081526020016040518060400160405280601181526020017026b7b930b62fa13ab73734b2973539b7b760791b81525081526020016040518060400160405280601181526020017029b0b4b73a32b22fa131169c173539b7b760791b81525081526020016040518060400160405280601381526020017f56697274756f75735f4f6d6567612e6a736f6e000000000000000000000000008152508152602001604051806040016040528060128152602001712132b734b3b72fa0b93132b4ba173539b7b760711b8152508152602001604051806040016040528060118152602001702132b734b3b730b73a2fa819173539b7b760791b81525081526020016040518060400160405280601181526020017022ba3434b1b0b62fa534b73c173539b7b760791b81525081526020016040518060400160405280601081526020016f23b7b7b22faab63a3937b7173539b7b760811b81525081526020016040518060400160405280601081526020016f26b7b930b62fa1b0b8383c973539b7b760811b81525081526020016040518060400160405280601381526020017f5361696e7465645f42656e6465722e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601981526020017f56697274756f75735f4f70706f7274756e6974792e6a736f6e000000000000008152508152602001604051806040016040528060118152602001702132b734b3b72fa0bb32b93c973539b7b760791b81525081526020016040518060400160405280601481526020017f42656e69676e616e745f50697065722e6a736f6e00000000000000000000000081525081526020016040518060400160405280601381526020017f4574686963616c5f4d61726375732e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601381526020017f48656176656e6c795f416c6963652e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601081526020016f26b7b930b62fa1b430b734973539b7b760811b81525081526020016040518060400160405280601081526020016f29b0b4b73a32b22fa137bc173539b7b760811b81525081526020016040518060400160405280601581526020017f56697274756f75735f4f7074696d75732e6a736f6e00000000000000000000008152508152602001604051806040016040528060118152602001702132b734b3b72fa130ba37ba973539b7b760791b81525081526020016040518060400160405280601381526020017f42656e69676e616e745f507269732e6a736f6e0000000000000000000000000081525081526020016040518060400160405280600f81526020016e22ba3434b1b0b62fa819173539b7b760891b8152508152602001604051806040016040528060118152602001702432b0bb32b7363cafa0bb30973539b7b760791b81525081526020016040518060400160405280600f81526020016e26b7b930b62fa2b63632973539b7b760891b81525081526020016040518060400160405280601481526020017f5361696e7465645f43616d65726f6e2e6a736f6e00000000000000000000000081525081526020016040518060400160405280601681526020017f56697274756f75735f526f626f6e6175742e6a736f6e000000000000000000008152508152602001604051806040016040528060128152602001712132b734b3b72fa132b73232b9173539b7b760711b81525081526020016040518060400160405280601381526020017f42656e69676e616e745f5172696f2e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601281526020017122ba3434b1b0b62fa834b832b9173539b7b760711b8152508152602001604051806040016040528060128152602001712432b0bb32b7363cafa131169c173539b7b760711b81525081526020016040518060400160405280601281526020017126b7b930b62fa3b2b733b434b9973539b7b760711b81525081526020016040518060400160405280601481526020017f5361696e7465645f436861707069652e6a736f6e00000000000000000000000081525081526020016040518060400160405280601381526020017f56697274756f75735f526f626f742e6a736f6e000000000000000000000000008152508152602001604051806040016040528060128152602001712132b734b3b72fa134b9b437b8173539b7b760711b81525081526020016040518060400160405280601481526020017f42656e69676e616e745f526f626f742e6a736f6e00000000000000000000000081525081526020016040518060400160405280601481526020017f4574686963616c5f56616e657373612e6a736f6e00000000000000000000000081525081526020016040518060400160405280601581526020017f48656176656e6c795f436173656c6c612e6a736f6e000000000000000000000081525081526020016040518060400160405280601081526020016f26b7b930b62fa3b4b3b0b7173539b7b760811b81525081526020016040518060400160405280601881526020017f5361696e7465645f4465617468737472796b652e6a736f6e000000000000000081525081526020016040518060400160405280601681526020017f56697274756f75735f526f626f746d616e2e6a736f6e0000000000000000000081525081526020016040518060400160405280601481526020017f42656e69676e5f4272696172656f732e6a736f6e00000000000000000000000081525081526020016040518060400160405280601481526020017f42656e69676e616e745f54616c6f732e6a736f6e00000000000000000000000081525081526020016040518060400160405280601181526020017023b7b2363cafa0b93132b4ba173539b7b760791b81525081526020016040518060400160405280601381526020017f48656176656e6c795f4368616e692e6a736f6e0000000000000000000000000081525081526020016040518060400160405280600f81526020016e26b7b930b62fa4b634b0973539b7b760891b81525081526020016040518060400160405280601481526020017f5361696e7465645f446f6c6f7265732e6a736f6e0000000000000000000000008152508152602001604051806040016040528060118152602001702b34b93a3ab7bab9afa937b6973539b7b760791b8152508152602001604051806040016040528060128152602001712132b734b3b72fa13ab73734b2973539b7b760711b81525081526020016040518060400160405280601981526020017f42656e69676e616e745f546563686e6f6c6f67792e6a736f6e0000000000000081525081526020016040518060400160405280601181526020017023b7b2363cafa0bab9ba34b7173539b7b760791b8152508152602001604051806040016040528060128152602001712432b0bb32b7363cafa2b63632973539b7b760711b81525081526020016040518060400160405280601081526020016f26b7b930b62fa530b4b6b2973539b7b760811b81525081526020016040518060400160405280601581526020017f5361696e7465645f47616c6178696e612e6a736f6e000000000000000000000081525081526020016040518060400160405280601681526020017f56697274756f75735f53616d616e7468612e6a736f6e0000000000000000000081525081526020016040518060400160405280601381526020017f42656e69676e5f436173656c6c612e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601581526020017f42656e69676e616e745f57616c6c2d652e6a736f6e000000000000000000000081525081526020016040518060400160405280601181526020017023b7b2363cafa134b9b437b8173539b7b760791b81525081526020016040518060400160405280601381526020017f48656176656e6c795f4a61696d652e6a736f6e0000000000000000000000000081525081526020016040518060400160405280600f81526020016e26b7b930b62fa537b437173539b7b760891b81525081526020016040518060400160405280601281526020017129b0b4b73a32b22fa4b937b730973539b7b760711b8152508152602001604051806040016040528060128152602001712132b734b3b72fa1b432b9393c973539b7b760711b81525081526020016040518060400160405280601381526020017f43656c65737469616c5f4164616d2e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601081526020016f23b7b2363cafa2b639b4b2973539b7b760811b81525081526020016040518060400160405280601381526020017f48656176656e6c795f4b617469652e6a736f6e0000000000000000000000000081525081526020016040518060400160405280601181526020017026b7b930b62fa5b4b6b4b5b7973539b7b760791b81525081526020016040518060400160405280601481526020017f5361696e7465645f4b696c6c69616e2e6a736f6e000000000000000000000000815250815250600b906101326200404892919062004134565b506200424b565b3390565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620040b3906200420e565b90600052602060002090601f016020900481019282620040d7576000855562004122565b82601f10620040f257805160ff191683800117855562004122565b8280016001018555821562004122579182015b828111156200412257825182559160200191906001019062004105565b506200413092915062004194565b5090565b82805482825590600052602060002090810192821562004186579160200282015b8281111562004186578251805162004175918491602090910190620040a5565b509160200191906001019062004155565b5062004130929150620041ab565b5b8082111562004130576000815560010162004195565b8082111562004130576000620041c28282620041cc565b50600101620041ab565b508054620041da906200420e565b6000825580601f10620041eb575050565b601f0160209004906000526020600020908101906200420b919062004194565b50565b600181811c908216806200422357607f821691505b602082108114156200424557634e487b7160e01b600052602260045260246000fd5b50919050565b611a3e806200425b6000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c80638da5cb5b116100b8578063bbc19ab01161007c578063bbc19ab01461028d578063c87b56dd14610296578063e8a3d485146102a9578063e985e9c5146102b1578063ec52d432146102ed578063f2fde38b146102f557600080fd5b80638da5cb5b1461022e57806395d89b411461023f578063a22cb46514610247578063b7416f2a1461025a578063b88d4fde1461027a57600080fd5b806342842e0e116100ff57806342842e0e146101cc5780636352211e146101df5780636a627842146101f257806370a0823114610213578063715018a61461022657600080fd5b806301ffc9a71461013c57806306fdde0314610164578063081812fc14610179578063095ea7b3146101a457806323b872dd146101b9575b600080fd5b61014f61014a36600461166f565b610308565b60405190151581526020015b60405180910390f35b61016c61035a565b60405161015b919061173f565b61018c610187366004611657565b6103ec565b6040516001600160a01b03909116815260200161015b565b6101b76101b236600461162e565b610479565b005b6101b76101c73660046114e4565b61058f565b6101b76101da3660046114e4565b6105c0565b61018c6101ed366004611657565b6105db565b610205610200366004611498565b610652565b60405190815260200161015b565b610205610221366004611498565b61074d565b6101b76107d4565b6007546001600160a01b031661018c565b61016c61080a565b6101b76102553660046115f4565b610819565b610205610268366004611657565b600a6020526000908152604090205481565b6101b761028836600461151f565b6108de565b61020560095481565b61016c6102a4366004611657565b610916565b61016c610a80565b61014f6102bf3660046114b2565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610205610aa0565b6101b7610303366004611498565b610ab0565b60006001600160e01b031982166380ac58cd60e01b148061033957506001600160e01b03198216635b5e139f60e01b145b8061035457506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461036990611899565b80601f016020809104026020016040519081016040528092919081815260200182805461039590611899565b80156103e25780601f106103b7576101008083540402835291602001916103e2565b820191906000526020600020905b8154815290600101906020018083116103c557829003601f168201915b5050505050905090565b60006103f782610b4b565b61045d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610484826105db565b9050806001600160a01b0316836001600160a01b031614156104f25760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610454565b336001600160a01b038216148061050e575061050e81336102bf565b6105805760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610454565b61058a8383610b68565b505050565b6105993382610bd6565b6105b55760405162461bcd60e51b8152600401610454906117d9565b61058a838383610cbc565b61058a838383604051806020016040528060008152506108de565b6000818152600260205260408120546001600160a01b0316806103545760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610454565b6007546000906001600160a01b0316331461067f5760405162461bcd60e51b8152600401610454906117a4565b600854905061074182600b83815481106106a957634e487b7160e01b600052603260045260246000fd5b9060005260206000200180546106be90611899565b80601f01602080910402602001604051908101604052809291908181526020018280546106ea90611899565b80156107375780601f1061070c57610100808354040283529160200191610737565b820191906000526020600020905b81548152906001019060200180831161071a57829003601f168201915b5050505050610e5c565b5060098190555b919050565b60006001600160a01b0382166107b85760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610454565b506001600160a01b031660009081526003602052604090205490565b6007546001600160a01b031633146107fe5760405162461bcd60e51b8152600401610454906117a4565b6108086000610e94565b565b60606001805461036990611899565b6001600160a01b0382163314156108725760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610454565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6108e83383610bd6565b6109045760405162461bcd60e51b8152600401610454906117d9565b61091084848484610ee6565b50505050565b606061092182610b4b565b6109875760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b6064820152608401610454565b600082815260066020526040812080546109a090611899565b80601f01602080910402602001604051908101604052809291908181526020018280546109cc90611899565b8015610a195780601f106109ee57610100808354040283529160200191610a19565b820191906000526020600020905b8154815290600101906020018083116109fc57829003601f168201915b505050505090506000610a2a610f19565b9050805160001415610a3d575092915050565b815115610a6f578082604051602001610a579291906116d3565b60405160208183030381529060405292505050919050565b610a7884610f39565b949350505050565b60606040518060800160405280605c81526020016119ad605c9139905090565b6000610aab60085490565b905090565b6007546001600160a01b03163314610ada5760405162461bcd60e51b8152600401610454906117a4565b6001600160a01b038116610b3f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610454565b610b4881610e94565b50565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610b9d826105db565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610be182610b4b565b610c425760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610454565b6000610c4d836105db565b9050806001600160a01b0316846001600160a01b03161480610c885750836001600160a01b0316610c7d846103ec565b6001600160a01b0316145b80610a7857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff16610a78565b826001600160a01b0316610ccf826105db565b6001600160a01b031614610d375760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610454565b6001600160a01b038216610d995760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610454565b610da4600082610b68565b6001600160a01b0383166000908152600360205260408120805460019290610dcd908490611856565b90915550506001600160a01b0382166000908152600360205260408120805460019290610dfb90849061182a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000610e6c600880546001019055565b6000610e7760085490565b9050610e838482611003565b610e8d8184611136565b9392505050565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610ef1848484610cbc565b610efd848484846111c1565b6109105760405162461bcd60e51b815260040161045490611752565b606060405180608001604052806051815260200161195c60519139905090565b6060610f4482610b4b565b610fa85760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610454565b6000610fb2610f19565b90506000815111610fd25760405180602001604052806000815250610e8d565b80610fdc846112ce565b604051602001610fed9291906116d3565b6040516020818303038152906040529392505050565b6001600160a01b0382166110595760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610454565b61106281610b4b565b156110af5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610454565b6001600160a01b03821660009081526003602052604081208054600192906110d890849061182a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b61113f82610b4b565b6111a25760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b6064820152608401610454565b6000828152600660209081526040909120825161058a928401906113e8565b60006001600160a01b0384163b156112c357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611205903390899088908890600401611702565b602060405180830381600087803b15801561121f57600080fd5b505af192505050801561124f575060408051601f3d908101601f1916820190925261124c9181019061168b565b60015b6112a9573d80801561127d576040519150601f19603f3d011682016040523d82523d6000602084013e611282565b606091505b5080516112a15760405162461bcd60e51b815260040161045490611752565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610a78565b506001949350505050565b6060816112f25750506040805180820190915260018152600360fc1b602082015290565b8160005b811561131c5780611306816118d4565b91506113159050600a83611842565b91506112f6565b60008167ffffffffffffffff81111561134557634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561136f576020820181803683370190505b5090505b8415610a7857611384600183611856565b9150611391600a866118ef565b61139c90603061182a565b60f81b8183815181106113bf57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506113e1600a86611842565b9450611373565b8280546113f490611899565b90600052602060002090601f016020900481019282611416576000855561145c565b82601f1061142f57805160ff191683800117855561145c565b8280016001018555821561145c579182015b8281111561145c578251825591602001919060010190611441565b5061146892915061146c565b5090565b5b80821115611468576000815560010161146d565b80356001600160a01b038116811461074857600080fd5b6000602082840312156114a9578081fd5b610e8d82611481565b600080604083850312156114c4578081fd5b6114cd83611481565b91506114db60208401611481565b90509250929050565b6000806000606084860312156114f8578081fd5b61150184611481565b925061150f60208501611481565b9150604084013590509250925092565b60008060008060808587031215611534578081fd5b61153d85611481565b935061154b60208601611481565b925060408501359150606085013567ffffffffffffffff8082111561156e578283fd5b818701915087601f830112611581578283fd5b8135818111156115935761159361192f565b604051601f8201601f19908116603f011681019083821181831017156115bb576115bb61192f565b816040528281528a60208487010111156115d3578586fd5b82602086016020830137918201602001949094529598949750929550505050565b60008060408385031215611606578182fd5b61160f83611481565b915060208301358015158114611623578182fd5b809150509250929050565b60008060408385031215611640578182fd5b61164983611481565b946020939093013593505050565b600060208284031215611668578081fd5b5035919050565b600060208284031215611680578081fd5b8135610e8d81611945565b60006020828403121561169c578081fd5b8151610e8d81611945565b600081518084526116bf81602086016020860161186d565b601f01601f19169290920160200192915050565b600083516116e581846020880161186d565b8351908301906116f981836020880161186d565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611735908301846116a7565b9695505050505050565b602081526000610e8d60208301846116a7565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000821982111561183d5761183d611903565b500190565b60008261185157611851611919565b500490565b60008282101561186857611868611903565b500390565b60005b83811015611888578181015183820152602001611870565b838111156109105750506000910152565b600181811c908216806118ad57607f821691505b602082108114156118ce57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156118e8576118e8611903565b5060010190565b6000826118fe576118fe611919565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610b4857600080fdfe68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d4e764473457033356433317054335756556e51594e327069624d424c444835685273316f5148487353734d612f68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d527869586a73526b667a383661424e416d4c53437153426d6357585944477757354d315650454c45315a58542f657468626f742e6a736f6ea2646970667358221220b8b4589601fe0f7d251b2f5b697e071af975e34f97805b6575b4183aead4e68564736f6c63430008040033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101375760003560e01c80638da5cb5b116100b8578063bbc19ab01161007c578063bbc19ab01461028d578063c87b56dd14610296578063e8a3d485146102a9578063e985e9c5146102b1578063ec52d432146102ed578063f2fde38b146102f557600080fd5b80638da5cb5b1461022e57806395d89b411461023f578063a22cb46514610247578063b7416f2a1461025a578063b88d4fde1461027a57600080fd5b806342842e0e116100ff57806342842e0e146101cc5780636352211e146101df5780636a627842146101f257806370a0823114610213578063715018a61461022657600080fd5b806301ffc9a71461013c57806306fdde0314610164578063081812fc14610179578063095ea7b3146101a457806323b872dd146101b9575b600080fd5b61014f61014a36600461166f565b610308565b60405190151581526020015b60405180910390f35b61016c61035a565b60405161015b919061173f565b61018c610187366004611657565b6103ec565b6040516001600160a01b03909116815260200161015b565b6101b76101b236600461162e565b610479565b005b6101b76101c73660046114e4565b61058f565b6101b76101da3660046114e4565b6105c0565b61018c6101ed366004611657565b6105db565b610205610200366004611498565b610652565b60405190815260200161015b565b610205610221366004611498565b61074d565b6101b76107d4565b6007546001600160a01b031661018c565b61016c61080a565b6101b76102553660046115f4565b610819565b610205610268366004611657565b600a6020526000908152604090205481565b6101b761028836600461151f565b6108de565b61020560095481565b61016c6102a4366004611657565b610916565b61016c610a80565b61014f6102bf3660046114b2565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610205610aa0565b6101b7610303366004611498565b610ab0565b60006001600160e01b031982166380ac58cd60e01b148061033957506001600160e01b03198216635b5e139f60e01b145b8061035457506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461036990611899565b80601f016020809104026020016040519081016040528092919081815260200182805461039590611899565b80156103e25780601f106103b7576101008083540402835291602001916103e2565b820191906000526020600020905b8154815290600101906020018083116103c557829003601f168201915b5050505050905090565b60006103f782610b4b565b61045d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610484826105db565b9050806001600160a01b0316836001600160a01b031614156104f25760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610454565b336001600160a01b038216148061050e575061050e81336102bf565b6105805760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610454565b61058a8383610b68565b505050565b6105993382610bd6565b6105b55760405162461bcd60e51b8152600401610454906117d9565b61058a838383610cbc565b61058a838383604051806020016040528060008152506108de565b6000818152600260205260408120546001600160a01b0316806103545760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610454565b6007546000906001600160a01b0316331461067f5760405162461bcd60e51b8152600401610454906117a4565b600854905061074182600b83815481106106a957634e487b7160e01b600052603260045260246000fd5b9060005260206000200180546106be90611899565b80601f01602080910402602001604051908101604052809291908181526020018280546106ea90611899565b80156107375780601f1061070c57610100808354040283529160200191610737565b820191906000526020600020905b81548152906001019060200180831161071a57829003601f168201915b5050505050610e5c565b5060098190555b919050565b60006001600160a01b0382166107b85760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610454565b506001600160a01b031660009081526003602052604090205490565b6007546001600160a01b031633146107fe5760405162461bcd60e51b8152600401610454906117a4565b6108086000610e94565b565b60606001805461036990611899565b6001600160a01b0382163314156108725760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610454565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6108e83383610bd6565b6109045760405162461bcd60e51b8152600401610454906117d9565b61091084848484610ee6565b50505050565b606061092182610b4b565b6109875760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b6064820152608401610454565b600082815260066020526040812080546109a090611899565b80601f01602080910402602001604051908101604052809291908181526020018280546109cc90611899565b8015610a195780601f106109ee57610100808354040283529160200191610a19565b820191906000526020600020905b8154815290600101906020018083116109fc57829003601f168201915b505050505090506000610a2a610f19565b9050805160001415610a3d575092915050565b815115610a6f578082604051602001610a579291906116d3565b60405160208183030381529060405292505050919050565b610a7884610f39565b949350505050565b60606040518060800160405280605c81526020016119ad605c9139905090565b6000610aab60085490565b905090565b6007546001600160a01b03163314610ada5760405162461bcd60e51b8152600401610454906117a4565b6001600160a01b038116610b3f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610454565b610b4881610e94565b50565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610b9d826105db565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610be182610b4b565b610c425760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610454565b6000610c4d836105db565b9050806001600160a01b0316846001600160a01b03161480610c885750836001600160a01b0316610c7d846103ec565b6001600160a01b0316145b80610a7857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff16610a78565b826001600160a01b0316610ccf826105db565b6001600160a01b031614610d375760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610454565b6001600160a01b038216610d995760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610454565b610da4600082610b68565b6001600160a01b0383166000908152600360205260408120805460019290610dcd908490611856565b90915550506001600160a01b0382166000908152600360205260408120805460019290610dfb90849061182a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000610e6c600880546001019055565b6000610e7760085490565b9050610e838482611003565b610e8d8184611136565b9392505050565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610ef1848484610cbc565b610efd848484846111c1565b6109105760405162461bcd60e51b815260040161045490611752565b606060405180608001604052806051815260200161195c60519139905090565b6060610f4482610b4b565b610fa85760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610454565b6000610fb2610f19565b90506000815111610fd25760405180602001604052806000815250610e8d565b80610fdc846112ce565b604051602001610fed9291906116d3565b6040516020818303038152906040529392505050565b6001600160a01b0382166110595760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610454565b61106281610b4b565b156110af5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610454565b6001600160a01b03821660009081526003602052604081208054600192906110d890849061182a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b61113f82610b4b565b6111a25760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b6064820152608401610454565b6000828152600660209081526040909120825161058a928401906113e8565b60006001600160a01b0384163b156112c357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611205903390899088908890600401611702565b602060405180830381600087803b15801561121f57600080fd5b505af192505050801561124f575060408051601f3d908101601f1916820190925261124c9181019061168b565b60015b6112a9573d80801561127d576040519150601f19603f3d011682016040523d82523d6000602084013e611282565b606091505b5080516112a15760405162461bcd60e51b815260040161045490611752565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610a78565b506001949350505050565b6060816112f25750506040805180820190915260018152600360fc1b602082015290565b8160005b811561131c5780611306816118d4565b91506113159050600a83611842565b91506112f6565b60008167ffffffffffffffff81111561134557634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561136f576020820181803683370190505b5090505b8415610a7857611384600183611856565b9150611391600a866118ef565b61139c90603061182a565b60f81b8183815181106113bf57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506113e1600a86611842565b9450611373565b8280546113f490611899565b90600052602060002090601f016020900481019282611416576000855561145c565b82601f1061142f57805160ff191683800117855561145c565b8280016001018555821561145c579182015b8281111561145c578251825591602001919060010190611441565b5061146892915061146c565b5090565b5b80821115611468576000815560010161146d565b80356001600160a01b038116811461074857600080fd5b6000602082840312156114a9578081fd5b610e8d82611481565b600080604083850312156114c4578081fd5b6114cd83611481565b91506114db60208401611481565b90509250929050565b6000806000606084860312156114f8578081fd5b61150184611481565b925061150f60208501611481565b9150604084013590509250925092565b60008060008060808587031215611534578081fd5b61153d85611481565b935061154b60208601611481565b925060408501359150606085013567ffffffffffffffff8082111561156e578283fd5b818701915087601f830112611581578283fd5b8135818111156115935761159361192f565b604051601f8201601f19908116603f011681019083821181831017156115bb576115bb61192f565b816040528281528a60208487010111156115d3578586fd5b82602086016020830137918201602001949094529598949750929550505050565b60008060408385031215611606578182fd5b61160f83611481565b915060208301358015158114611623578182fd5b809150509250929050565b60008060408385031215611640578182fd5b61164983611481565b946020939093013593505050565b600060208284031215611668578081fd5b5035919050565b600060208284031215611680578081fd5b8135610e8d81611945565b60006020828403121561169c578081fd5b8151610e8d81611945565b600081518084526116bf81602086016020860161186d565b601f01601f19169290920160200192915050565b600083516116e581846020880161186d565b8351908301906116f981836020880161186d565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611735908301846116a7565b9695505050505050565b602081526000610e8d60208301846116a7565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000821982111561183d5761183d611903565b500190565b60008261185157611851611919565b500490565b60008282101561186857611868611903565b500390565b60005b83811015611888578181015183820152602001611870565b838111156109105750506000910152565b600181811c908216806118ad57607f821691505b602082108114156118ce57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156118e8576118e8611903565b5060010190565b6000826118fe576118fe611919565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610b4857600080fdfe68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d4e764473457033356433317054335756556e51594e327069624d424c444835685273316f5148487353734d612f68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d527869586a73526b667a383661424e416d4c53437153426d6357585944477757354d315650454c45315a58542f657468626f742e6a736f6ea2646970667358221220b8b4589601fe0f7d251b2f5b697e071af975e34f97805b6575b4183aead4e68564736f6c63430008040033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.