Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
0 LCHAR
Holders
178
Total Transfers
-
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
LootCharacter
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./NonTransferablebERC721URIStorage.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; interface LootInterface { function ownerOf(uint256 tokenId) external view returns (address owner); } contract LootCharacter is NonTransferablebERC721URIStorage, Ownable { // There are 8000 Loot. More Loot starts at 8001 uint256 private TOTAL_LOOT = 8000; //Loot & mLoot address private lootAddress; address private mLootAddress; // Contracts that are allowed to mint mapping(address => bool) public minters; // Base URI for tokens string public baseURI; constructor(address _lootAddress, address _mLootAddress, string memory _baseURI) ERC721("Loot Character", "LCHAR") { lootAddress = _lootAddress; mLootAddress = _mLootAddress; baseURI = _baseURI; // NOTE - double underscore to not shadow _baseURI method } /** * @dev Add an address that is allowed to mint * @param minter that is allowed to mint * @param canMint bool minter status */ function updateMinter(address minter, bool canMint) external onlyOwner { minters[minter] = canMint; } /** * @dev Mint * @param tokenId Token ID to mint * @param owner address to set ownership to */ function mint(uint256 tokenId, address owner) external { require(minters[msg.sender], "This address cannot mint"); if(!ERC721._exists(tokenId)) { _safeMint(owner, tokenId); // "Mint" Loot Character } } /** * @dev Return the token URI through the Loot Expansion interface * @param lootId The Loot Character URI */ function lootExpansionTokenUri(uint256 lootId) public view returns (string memory) { return tokenURI(lootId); } /** * @dev URI for all tokens * @param tokenId Token to retrieve metadata URI */ function tokenURI(uint256 tokenId) public view override returns (string memory) { return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, Strings.toString(tokenId))) : ""; } /** * @dev ERC721 ownerOf method override. This is an associative NFT. It has the same owner as the Loot (or More Loot) with the same ID. * @param tokenId The ID of the Loot Character to look up ownership of. */ function ownerOf(uint256 tokenId) public view override returns (address) { if(tokenId <= TOTAL_LOOT) { return LootInterface(lootAddress).ownerOf(tokenId); } else { return LootInterface(mLootAddress).ownerOf(tokenId); } } /** * @dev Set baseURI * @param _baseURI New baseUri */ function setBaseURI(string memory _baseURI) external onlyOwner { baseURI = _baseURI; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; abstract contract NonTransferablebERC721URIStorage is ERC721URIStorage { /** * @dev ERC721 transferFrom method override. This is a non-transferable NFT. * @param from Override * @param to Override * @param tokenId Override */ function transferFrom(address from, address to, uint256 tokenId) public override { // Non-transferable require(false); } /** * @dev ERC721 safeTransferFrom method override. This is a non-transferable NFT. * @param from Override * @param to Override * @param tokenId Override */ function safeTransferFrom(address from, address to, uint256 tokenId) public override { // Non-transferable require(false); } /** * @dev ERC721 safeTransferFrom method override. This is a non-transferable NFT. * @param from Override * @param to Override * @param tokenId Override * @param _data Override */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public override { // Non-transferable require(false); } /** * @dev ERC721 setApprovalForAll method override. This is a non-transferable NFT. * @param operator Override * @param approved Override */ function setApprovalForAll(address operator, bool approved) public override { // Non-transferable require(false); } }
// 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; /** * @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 "../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; 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; 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": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_lootAddress","type":"address"},{"internalType":"address","name":"_mLootAddress","type":"address"},{"internalType":"string","name":"_baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","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":[{"internalType":"uint256","name":"lootId","type":"uint256"}],"name":"lootExpansionTokenUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minters","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"},{"internalType":"bool","name":"canMint","type":"bool"}],"name":"updateMinter","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052611f406008553480156200001757600080fd5b5060405162002e9538038062002e9583398181016040528101906200003d9190620003a8565b6040518060400160405280600e81526020017f4c6f6f74204368617261637465720000000000000000000000000000000000008152506040518060400160405280600581526020017f4c434841520000000000000000000000000000000000000000000000000000008152508160009080519060200190620000c19291906200026f565b508060019080519060200190620000da9291906200026f565b505050620000fd620000f1620001a160201b60201c565b620001a960201b60201c565b82600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600c9080519060200190620001979291906200026f565b5050505062000596565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200027d90620004e8565b90600052602060002090601f016020900481019282620002a15760008555620002ed565b82601f10620002bc57805160ff1916838001178555620002ed565b82800160010185558215620002ed579182015b82811115620002ec578251825591602001919060010190620002cf565b5b509050620002fc919062000300565b5090565b5b808211156200031b57600081600090555060010162000301565b5090565b60006200033662000330846200044b565b62000417565b9050828152602081018484840111156200034f57600080fd5b6200035c848285620004b2565b509392505050565b60008151905062000375816200057c565b92915050565b600082601f8301126200038d57600080fd5b81516200039f8482602086016200031f565b91505092915050565b600080600060608486031215620003be57600080fd5b6000620003ce8682870162000364565b9350506020620003e18682870162000364565b925050604084015167ffffffffffffffff811115620003ff57600080fd5b6200040d868287016200037b565b9150509250925092565b6000604051905081810181811067ffffffffffffffff821117156200044157620004406200054d565b5b8060405250919050565b600067ffffffffffffffff8211156200046957620004686200054d565b5b601f19601f8301169050602081019050919050565b60006200048b8262000492565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b83811015620004d2578082015181840152602081019050620004b5565b83811115620004e2576000848401525b50505050565b600060028204905060018216806200050157607f821691505b602082108114156200051857620005176200051e565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000587816200047e565b81146200059357600080fd5b50565b6128ef80620005a66000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c806370a08231116100b8578063a22cb4651161007c578063a22cb46514610361578063b88d4fde1461037d578063c87b56dd14610399578063e985e9c5146103c9578063f2fde38b146103f9578063f46eccc41461041557610142565b806370a08231146102cf578063715018a6146102ff5780638da5cb5b1461030957806394bf804d1461032757806395d89b411461034357610142565b80633f5c50c41161010a5780633f5c50c4146101fd57806342842e0e1461022d57806343620e711461024957806355f804b3146102655780636352211e146102815780636c0360eb146102b157610142565b806301ffc9a71461014757806306fdde0314610177578063081812fc14610195578063095ea7b3146101c557806323b872dd146101e1575b600080fd5b610161600480360381019061015c9190611c36565b610445565b60405161016e91906122d2565b60405180910390f35b61017f610527565b60405161018c91906122ed565b60405180910390f35b6101af60048036038101906101aa9190611cc9565b6105b9565b6040516101bc919061226b565b60405180910390f35b6101df60048036038101906101da9190611bfa565b61063e565b005b6101fb60048036038101906101f69190611af4565b610756565b005b61021760048036038101906102129190611cc9565b610766565b60405161022491906122ed565b60405180910390f35b61024760048036038101906102429190611af4565b610778565b005b610263600480360381019061025e9190611bbe565b610788565b005b61027f600480360381019061027a9190611c88565b61085f565b005b61029b60048036038101906102969190611cc9565b6108f5565b6040516102a8919061226b565b60405180910390f35b6102b9610a65565b6040516102c691906122ed565b60405180910390f35b6102e960048036038101906102e49190611a66565b610af3565b6040516102f6919061246f565b60405180910390f35b610307610bab565b005b610311610c33565b60405161031e919061226b565b60405180910390f35b610341600480360381019061033c9190611cf2565b610c5d565b005b61034b610d05565b60405161035891906122ed565b60405180910390f35b61037b60048036038101906103769190611bbe565b610d97565b005b61039760048036038101906103929190611b43565b610da6565b005b6103b360048036038101906103ae9190611cc9565b610db7565b6040516103c091906122ed565b60405180910390f35b6103e360048036038101906103de9190611ab8565b610e17565b6040516103f091906122d2565b60405180910390f35b610413600480360381019061040e9190611a66565b610eab565b005b61042f600480360381019061042a9190611a66565b610fa3565b60405161043c91906122d2565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061051057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610520575061051f82610fc3565b5b9050919050565b606060008054610536906126e4565b80601f0160208091040260200160405190810160405280929190818152602001828054610562906126e4565b80156105af5780601f10610584576101008083540402835291602001916105af565b820191906000526020600020905b81548152906001019060200180831161059257829003601f168201915b5050505050905090565b60006105c48261102d565b610603576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105fa906123ef565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061064982611099565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156106ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106b19061244f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166106d961114b565b73ffffffffffffffffffffffffffffffffffffffff16148061070857506107078161070261114b565b610e17565b5b610747576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073e9061236f565b60405180910390fd5b6107518383611153565b505050565b600061076157600080fd5b505050565b606061077182610db7565b9050919050565b600061078357600080fd5b505050565b61079061114b565b73ffffffffffffffffffffffffffffffffffffffff166107ae610c33565b73ffffffffffffffffffffffffffffffffffffffff1614610804576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107fb9061240f565b60405180910390fd5b80600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b61086761114b565b73ffffffffffffffffffffffffffffffffffffffff16610885610c33565b73ffffffffffffffffffffffffffffffffffffffff16146108db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d29061240f565b60405180910390fd5b80600c90805190602001906108f1929190611875565b5050565b600060085482116109b257600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b815260040161095b919061246f565b60206040518083038186803b15801561097357600080fd5b505afa158015610987573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ab9190611a8f565b9050610a60565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610a0d919061246f565b60206040518083038186803b158015610a2557600080fd5b505afa158015610a39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5d9190611a8f565b90505b919050565b600c8054610a72906126e4565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9e906126e4565b8015610aeb5780601f10610ac057610100808354040283529160200191610aeb565b820191906000526020600020905b815481529060010190602001808311610ace57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610b64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5b9061238f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610bb361114b565b73ffffffffffffffffffffffffffffffffffffffff16610bd1610c33565b73ffffffffffffffffffffffffffffffffffffffff1614610c27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1e9061240f565b60405180910390fd5b610c31600061120c565b565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610ce9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce09061242f565b60405180910390fd5b610cf28261102d565b610d0157610d0081836112d2565b5b5050565b606060018054610d14906126e4565b80601f0160208091040260200160405190810160405280929190818152602001828054610d40906126e4565b8015610d8d5780601f10610d6257610100808354040283529160200191610d8d565b820191906000526020600020905b815481529060010190602001808311610d7057829003601f168201915b5050505050905090565b6000610da257600080fd5b5050565b6000610db157600080fd5b50505050565b60606000600c8054610dc8906126e4565b905011610de45760405180602001604052806000815250610e10565b600c610def836112f0565b604051602001610e00929190612247565b6040516020818303038152906040525b9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610eb361114b565b73ffffffffffffffffffffffffffffffffffffffff16610ed1610c33565b73ffffffffffffffffffffffffffffffffffffffff1614610f27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1e9061240f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8e9061232f565b60405180910390fd5b610fa08161120c565b50565b600b6020528060005260406000206000915054906101000a900460ff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611142576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611139906123af565b60405180910390fd5b80915050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166111c683611099565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6112ec82826040518060200160405280600081525061149d565b5050565b60606000821415611338576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611498565b600082905060005b6000821461136a57808061135390612716565b915050600a8261136391906125c9565b9150611340565b60008167ffffffffffffffff8111156113ac577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156113de5781602001600182028036833780820191505090505b5090505b60008514611491576001826113f791906125fa565b9150600a85611406919061275f565b60306114129190612573565b60f81b81838151811061144e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561148a91906125c9565b94506113e2565b8093505050505b919050565b6114a783836114f8565b6114b460008484846116c6565b6114f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ea9061230f565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611568576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155f906123cf565b60405180910390fd5b6115718161102d565b156115b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a89061234f565b60405180910390fd5b6115bd6000838361185d565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461160d9190612573565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60006116e78473ffffffffffffffffffffffffffffffffffffffff16611862565b15611850578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261171061114b565b8786866040518563ffffffff1660e01b81526004016117329493929190612286565b602060405180830381600087803b15801561174c57600080fd5b505af192505050801561177d57506040513d601f19601f8201168201806040525081019061177a9190611c5f565b60015b611800573d80600081146117ad576040519150601f19603f3d011682016040523d82523d6000602084013e6117b2565b606091505b506000815114156117f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ef9061230f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611855565b600190505b949350505050565b505050565b600080823b905060008111915050919050565b828054611881906126e4565b90600052602060002090601f0160209004810192826118a357600085556118ea565b82601f106118bc57805160ff19168380011785556118ea565b828001600101855582156118ea579182015b828111156118e95782518255916020019190600101906118ce565b5b5090506118f791906118fb565b5090565b5b808211156119145760008160009055506001016118fc565b5090565b600061192b611926846124bb565b61248a565b90508281526020810184848401111561194357600080fd5b61194e8482856126a2565b509392505050565b6000611969611964846124eb565b61248a565b90508281526020810184848401111561198157600080fd5b61198c8482856126a2565b509392505050565b6000813590506119a38161285d565b92915050565b6000815190506119b88161285d565b92915050565b6000813590506119cd81612874565b92915050565b6000813590506119e28161288b565b92915050565b6000815190506119f78161288b565b92915050565b600082601f830112611a0e57600080fd5b8135611a1e848260208601611918565b91505092915050565b600082601f830112611a3857600080fd5b8135611a48848260208601611956565b91505092915050565b600081359050611a60816128a2565b92915050565b600060208284031215611a7857600080fd5b6000611a8684828501611994565b91505092915050565b600060208284031215611aa157600080fd5b6000611aaf848285016119a9565b91505092915050565b60008060408385031215611acb57600080fd5b6000611ad985828601611994565b9250506020611aea85828601611994565b9150509250929050565b600080600060608486031215611b0957600080fd5b6000611b1786828701611994565b9350506020611b2886828701611994565b9250506040611b3986828701611a51565b9150509250925092565b60008060008060808587031215611b5957600080fd5b6000611b6787828801611994565b9450506020611b7887828801611994565b9350506040611b8987828801611a51565b925050606085013567ffffffffffffffff811115611ba657600080fd5b611bb2878288016119fd565b91505092959194509250565b60008060408385031215611bd157600080fd5b6000611bdf85828601611994565b9250506020611bf0858286016119be565b9150509250929050565b60008060408385031215611c0d57600080fd5b6000611c1b85828601611994565b9250506020611c2c85828601611a51565b9150509250929050565b600060208284031215611c4857600080fd5b6000611c56848285016119d3565b91505092915050565b600060208284031215611c7157600080fd5b6000611c7f848285016119e8565b91505092915050565b600060208284031215611c9a57600080fd5b600082013567ffffffffffffffff811115611cb457600080fd5b611cc084828501611a27565b91505092915050565b600060208284031215611cdb57600080fd5b6000611ce984828501611a51565b91505092915050565b60008060408385031215611d0557600080fd5b6000611d1385828601611a51565b9250506020611d2485828601611994565b9150509250929050565b611d378161262e565b82525050565b611d4681612640565b82525050565b6000611d5782612530565b611d618185612546565b9350611d718185602086016126b1565b611d7a8161284c565b840191505092915050565b6000611d908261253b565b611d9a8185612557565b9350611daa8185602086016126b1565b611db38161284c565b840191505092915050565b6000611dc98261253b565b611dd38185612568565b9350611de38185602086016126b1565b80840191505092915050565b60008154611dfc816126e4565b611e068186612568565b94506001821660008114611e215760018114611e3257611e65565b60ff19831686528186019350611e65565b611e3b8561251b565b60005b83811015611e5d57815481890152600182019150602081019050611e3e565b838801955050505b50505092915050565b6000611e7b603283612557565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000611ee1602683612557565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611f47601c83612557565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000611f87603883612557565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000611fed602a83612557565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000612053602983612557565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006120b9602083612557565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006120f9602c83612557565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061215f602083612557565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061219f601883612557565b91507f5468697320616464726573732063616e6e6f74206d696e7400000000000000006000830152602082019050919050565b60006121df602183612557565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b61224181612698565b82525050565b60006122538285611def565b915061225f8284611dbe565b91508190509392505050565b60006020820190506122806000830184611d2e565b92915050565b600060808201905061229b6000830187611d2e565b6122a86020830186611d2e565b6122b56040830185612238565b81810360608301526122c78184611d4c565b905095945050505050565b60006020820190506122e76000830184611d3d565b92915050565b600060208201905081810360008301526123078184611d85565b905092915050565b6000602082019050818103600083015261232881611e6e565b9050919050565b6000602082019050818103600083015261234881611ed4565b9050919050565b6000602082019050818103600083015261236881611f3a565b9050919050565b6000602082019050818103600083015261238881611f7a565b9050919050565b600060208201905081810360008301526123a881611fe0565b9050919050565b600060208201905081810360008301526123c881612046565b9050919050565b600060208201905081810360008301526123e8816120ac565b9050919050565b60006020820190508181036000830152612408816120ec565b9050919050565b6000602082019050818103600083015261242881612152565b9050919050565b6000602082019050818103600083015261244881612192565b9050919050565b60006020820190508181036000830152612468816121d2565b9050919050565b60006020820190506124846000830184612238565b92915050565b6000604051905081810181811067ffffffffffffffff821117156124b1576124b061281d565b5b8060405250919050565b600067ffffffffffffffff8211156124d6576124d561281d565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156125065761250561281d565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061257e82612698565b915061258983612698565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156125be576125bd612790565b5b828201905092915050565b60006125d482612698565b91506125df83612698565b9250826125ef576125ee6127bf565b5b828204905092915050565b600061260582612698565b915061261083612698565b92508282101561262357612622612790565b5b828203905092915050565b600061263982612678565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156126cf5780820151818401526020810190506126b4565b838111156126de576000848401525b50505050565b600060028204905060018216806126fc57607f821691505b602082108114156127105761270f6127ee565b5b50919050565b600061272182612698565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561275457612753612790565b5b600182019050919050565b600061276a82612698565b915061277583612698565b925082612785576127846127bf565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6128668161262e565b811461287157600080fd5b50565b61287d81612640565b811461288857600080fd5b50565b6128948161264c565b811461289f57600080fd5b50565b6128ab81612698565b81146128b657600080fd5b5056fea2646970667358221220d1f5a6590acc257650cc9729dcb27f274ef84d93231f7374851cef0c12d0c18864736f6c63430008000033000000000000000000000000ff9c1b15b16263c61d017ee9f65c50e4ae0113d70000000000000000000000001dfe7ca09e99d10835bf73044a23b73fc20623df0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002368747470733a2f2f6170692e6c6f6f746368617261637465722e636f6d2f626167732f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101425760003560e01c806370a08231116100b8578063a22cb4651161007c578063a22cb46514610361578063b88d4fde1461037d578063c87b56dd14610399578063e985e9c5146103c9578063f2fde38b146103f9578063f46eccc41461041557610142565b806370a08231146102cf578063715018a6146102ff5780638da5cb5b1461030957806394bf804d1461032757806395d89b411461034357610142565b80633f5c50c41161010a5780633f5c50c4146101fd57806342842e0e1461022d57806343620e711461024957806355f804b3146102655780636352211e146102815780636c0360eb146102b157610142565b806301ffc9a71461014757806306fdde0314610177578063081812fc14610195578063095ea7b3146101c557806323b872dd146101e1575b600080fd5b610161600480360381019061015c9190611c36565b610445565b60405161016e91906122d2565b60405180910390f35b61017f610527565b60405161018c91906122ed565b60405180910390f35b6101af60048036038101906101aa9190611cc9565b6105b9565b6040516101bc919061226b565b60405180910390f35b6101df60048036038101906101da9190611bfa565b61063e565b005b6101fb60048036038101906101f69190611af4565b610756565b005b61021760048036038101906102129190611cc9565b610766565b60405161022491906122ed565b60405180910390f35b61024760048036038101906102429190611af4565b610778565b005b610263600480360381019061025e9190611bbe565b610788565b005b61027f600480360381019061027a9190611c88565b61085f565b005b61029b60048036038101906102969190611cc9565b6108f5565b6040516102a8919061226b565b60405180910390f35b6102b9610a65565b6040516102c691906122ed565b60405180910390f35b6102e960048036038101906102e49190611a66565b610af3565b6040516102f6919061246f565b60405180910390f35b610307610bab565b005b610311610c33565b60405161031e919061226b565b60405180910390f35b610341600480360381019061033c9190611cf2565b610c5d565b005b61034b610d05565b60405161035891906122ed565b60405180910390f35b61037b60048036038101906103769190611bbe565b610d97565b005b61039760048036038101906103929190611b43565b610da6565b005b6103b360048036038101906103ae9190611cc9565b610db7565b6040516103c091906122ed565b60405180910390f35b6103e360048036038101906103de9190611ab8565b610e17565b6040516103f091906122d2565b60405180910390f35b610413600480360381019061040e9190611a66565b610eab565b005b61042f600480360381019061042a9190611a66565b610fa3565b60405161043c91906122d2565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061051057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610520575061051f82610fc3565b5b9050919050565b606060008054610536906126e4565b80601f0160208091040260200160405190810160405280929190818152602001828054610562906126e4565b80156105af5780601f10610584576101008083540402835291602001916105af565b820191906000526020600020905b81548152906001019060200180831161059257829003601f168201915b5050505050905090565b60006105c48261102d565b610603576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105fa906123ef565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061064982611099565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156106ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106b19061244f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166106d961114b565b73ffffffffffffffffffffffffffffffffffffffff16148061070857506107078161070261114b565b610e17565b5b610747576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073e9061236f565b60405180910390fd5b6107518383611153565b505050565b600061076157600080fd5b505050565b606061077182610db7565b9050919050565b600061078357600080fd5b505050565b61079061114b565b73ffffffffffffffffffffffffffffffffffffffff166107ae610c33565b73ffffffffffffffffffffffffffffffffffffffff1614610804576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107fb9061240f565b60405180910390fd5b80600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b61086761114b565b73ffffffffffffffffffffffffffffffffffffffff16610885610c33565b73ffffffffffffffffffffffffffffffffffffffff16146108db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d29061240f565b60405180910390fd5b80600c90805190602001906108f1929190611875565b5050565b600060085482116109b257600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b815260040161095b919061246f565b60206040518083038186803b15801561097357600080fd5b505afa158015610987573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ab9190611a8f565b9050610a60565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610a0d919061246f565b60206040518083038186803b158015610a2557600080fd5b505afa158015610a39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5d9190611a8f565b90505b919050565b600c8054610a72906126e4565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9e906126e4565b8015610aeb5780601f10610ac057610100808354040283529160200191610aeb565b820191906000526020600020905b815481529060010190602001808311610ace57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610b64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5b9061238f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610bb361114b565b73ffffffffffffffffffffffffffffffffffffffff16610bd1610c33565b73ffffffffffffffffffffffffffffffffffffffff1614610c27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1e9061240f565b60405180910390fd5b610c31600061120c565b565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610ce9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce09061242f565b60405180910390fd5b610cf28261102d565b610d0157610d0081836112d2565b5b5050565b606060018054610d14906126e4565b80601f0160208091040260200160405190810160405280929190818152602001828054610d40906126e4565b8015610d8d5780601f10610d6257610100808354040283529160200191610d8d565b820191906000526020600020905b815481529060010190602001808311610d7057829003601f168201915b5050505050905090565b6000610da257600080fd5b5050565b6000610db157600080fd5b50505050565b60606000600c8054610dc8906126e4565b905011610de45760405180602001604052806000815250610e10565b600c610def836112f0565b604051602001610e00929190612247565b6040516020818303038152906040525b9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610eb361114b565b73ffffffffffffffffffffffffffffffffffffffff16610ed1610c33565b73ffffffffffffffffffffffffffffffffffffffff1614610f27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1e9061240f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8e9061232f565b60405180910390fd5b610fa08161120c565b50565b600b6020528060005260406000206000915054906101000a900460ff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611142576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611139906123af565b60405180910390fd5b80915050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166111c683611099565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6112ec82826040518060200160405280600081525061149d565b5050565b60606000821415611338576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611498565b600082905060005b6000821461136a57808061135390612716565b915050600a8261136391906125c9565b9150611340565b60008167ffffffffffffffff8111156113ac577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156113de5781602001600182028036833780820191505090505b5090505b60008514611491576001826113f791906125fa565b9150600a85611406919061275f565b60306114129190612573565b60f81b81838151811061144e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561148a91906125c9565b94506113e2565b8093505050505b919050565b6114a783836114f8565b6114b460008484846116c6565b6114f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ea9061230f565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611568576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155f906123cf565b60405180910390fd5b6115718161102d565b156115b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a89061234f565b60405180910390fd5b6115bd6000838361185d565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461160d9190612573565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60006116e78473ffffffffffffffffffffffffffffffffffffffff16611862565b15611850578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261171061114b565b8786866040518563ffffffff1660e01b81526004016117329493929190612286565b602060405180830381600087803b15801561174c57600080fd5b505af192505050801561177d57506040513d601f19601f8201168201806040525081019061177a9190611c5f565b60015b611800573d80600081146117ad576040519150601f19603f3d011682016040523d82523d6000602084013e6117b2565b606091505b506000815114156117f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ef9061230f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611855565b600190505b949350505050565b505050565b600080823b905060008111915050919050565b828054611881906126e4565b90600052602060002090601f0160209004810192826118a357600085556118ea565b82601f106118bc57805160ff19168380011785556118ea565b828001600101855582156118ea579182015b828111156118e95782518255916020019190600101906118ce565b5b5090506118f791906118fb565b5090565b5b808211156119145760008160009055506001016118fc565b5090565b600061192b611926846124bb565b61248a565b90508281526020810184848401111561194357600080fd5b61194e8482856126a2565b509392505050565b6000611969611964846124eb565b61248a565b90508281526020810184848401111561198157600080fd5b61198c8482856126a2565b509392505050565b6000813590506119a38161285d565b92915050565b6000815190506119b88161285d565b92915050565b6000813590506119cd81612874565b92915050565b6000813590506119e28161288b565b92915050565b6000815190506119f78161288b565b92915050565b600082601f830112611a0e57600080fd5b8135611a1e848260208601611918565b91505092915050565b600082601f830112611a3857600080fd5b8135611a48848260208601611956565b91505092915050565b600081359050611a60816128a2565b92915050565b600060208284031215611a7857600080fd5b6000611a8684828501611994565b91505092915050565b600060208284031215611aa157600080fd5b6000611aaf848285016119a9565b91505092915050565b60008060408385031215611acb57600080fd5b6000611ad985828601611994565b9250506020611aea85828601611994565b9150509250929050565b600080600060608486031215611b0957600080fd5b6000611b1786828701611994565b9350506020611b2886828701611994565b9250506040611b3986828701611a51565b9150509250925092565b60008060008060808587031215611b5957600080fd5b6000611b6787828801611994565b9450506020611b7887828801611994565b9350506040611b8987828801611a51565b925050606085013567ffffffffffffffff811115611ba657600080fd5b611bb2878288016119fd565b91505092959194509250565b60008060408385031215611bd157600080fd5b6000611bdf85828601611994565b9250506020611bf0858286016119be565b9150509250929050565b60008060408385031215611c0d57600080fd5b6000611c1b85828601611994565b9250506020611c2c85828601611a51565b9150509250929050565b600060208284031215611c4857600080fd5b6000611c56848285016119d3565b91505092915050565b600060208284031215611c7157600080fd5b6000611c7f848285016119e8565b91505092915050565b600060208284031215611c9a57600080fd5b600082013567ffffffffffffffff811115611cb457600080fd5b611cc084828501611a27565b91505092915050565b600060208284031215611cdb57600080fd5b6000611ce984828501611a51565b91505092915050565b60008060408385031215611d0557600080fd5b6000611d1385828601611a51565b9250506020611d2485828601611994565b9150509250929050565b611d378161262e565b82525050565b611d4681612640565b82525050565b6000611d5782612530565b611d618185612546565b9350611d718185602086016126b1565b611d7a8161284c565b840191505092915050565b6000611d908261253b565b611d9a8185612557565b9350611daa8185602086016126b1565b611db38161284c565b840191505092915050565b6000611dc98261253b565b611dd38185612568565b9350611de38185602086016126b1565b80840191505092915050565b60008154611dfc816126e4565b611e068186612568565b94506001821660008114611e215760018114611e3257611e65565b60ff19831686528186019350611e65565b611e3b8561251b565b60005b83811015611e5d57815481890152600182019150602081019050611e3e565b838801955050505b50505092915050565b6000611e7b603283612557565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000611ee1602683612557565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611f47601c83612557565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000611f87603883612557565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000611fed602a83612557565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000612053602983612557565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006120b9602083612557565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006120f9602c83612557565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061215f602083612557565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061219f601883612557565b91507f5468697320616464726573732063616e6e6f74206d696e7400000000000000006000830152602082019050919050565b60006121df602183612557565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b61224181612698565b82525050565b60006122538285611def565b915061225f8284611dbe565b91508190509392505050565b60006020820190506122806000830184611d2e565b92915050565b600060808201905061229b6000830187611d2e565b6122a86020830186611d2e565b6122b56040830185612238565b81810360608301526122c78184611d4c565b905095945050505050565b60006020820190506122e76000830184611d3d565b92915050565b600060208201905081810360008301526123078184611d85565b905092915050565b6000602082019050818103600083015261232881611e6e565b9050919050565b6000602082019050818103600083015261234881611ed4565b9050919050565b6000602082019050818103600083015261236881611f3a565b9050919050565b6000602082019050818103600083015261238881611f7a565b9050919050565b600060208201905081810360008301526123a881611fe0565b9050919050565b600060208201905081810360008301526123c881612046565b9050919050565b600060208201905081810360008301526123e8816120ac565b9050919050565b60006020820190508181036000830152612408816120ec565b9050919050565b6000602082019050818103600083015261242881612152565b9050919050565b6000602082019050818103600083015261244881612192565b9050919050565b60006020820190508181036000830152612468816121d2565b9050919050565b60006020820190506124846000830184612238565b92915050565b6000604051905081810181811067ffffffffffffffff821117156124b1576124b061281d565b5b8060405250919050565b600067ffffffffffffffff8211156124d6576124d561281d565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156125065761250561281d565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061257e82612698565b915061258983612698565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156125be576125bd612790565b5b828201905092915050565b60006125d482612698565b91506125df83612698565b9250826125ef576125ee6127bf565b5b828204905092915050565b600061260582612698565b915061261083612698565b92508282101561262357612622612790565b5b828203905092915050565b600061263982612678565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156126cf5780820151818401526020810190506126b4565b838111156126de576000848401525b50505050565b600060028204905060018216806126fc57607f821691505b602082108114156127105761270f6127ee565b5b50919050565b600061272182612698565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561275457612753612790565b5b600182019050919050565b600061276a82612698565b915061277583612698565b925082612785576127846127bf565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6128668161262e565b811461287157600080fd5b50565b61287d81612640565b811461288857600080fd5b50565b6128948161264c565b811461289f57600080fd5b50565b6128ab81612698565b81146128b657600080fd5b5056fea2646970667358221220d1f5a6590acc257650cc9729dcb27f274ef84d93231f7374851cef0c12d0c18864736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000ff9c1b15b16263c61d017ee9f65c50e4ae0113d70000000000000000000000001dfe7ca09e99d10835bf73044a23b73fc20623df0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002368747470733a2f2f6170692e6c6f6f746368617261637465722e636f6d2f626167732f0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _lootAddress (address): 0xFF9C1b15B16263C61d017ee9F65C50e4AE0113D7
Arg [1] : _mLootAddress (address): 0x1dfe7Ca09e99d10835Bf73044a23B73Fc20623DF
Arg [2] : _baseURI (string): https://api.lootcharacter.com/bags/
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 000000000000000000000000ff9c1b15b16263c61d017ee9f65c50e4ae0113d7
Arg [1] : 0000000000000000000000001dfe7ca09e99d10835bf73044a23b73fc20623df
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000023
Arg [4] : 68747470733a2f2f6170692e6c6f6f746368617261637465722e636f6d2f6261
Arg [5] : 67732f0000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.