Overview
ETH Balance
472 wei
Eth Value
Less Than $0.01 (@ $3,290.75/ETH)More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 239 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Join Guild | 15554595 | 856 days ago | IN | 0.2 ETH | 0.00226988 | ||||
Join Guild | 15334656 | 891 days ago | IN | 0.2 ETH | 0.00303352 | ||||
Join Guild | 15189072 | 914 days ago | IN | 0.2 ETH | 0.00650337 | ||||
Join Guild | 14970238 | 950 days ago | IN | 0.2 ETH | 0.00779182 | ||||
Join Guild | 14643492 | 1003 days ago | IN | 0.2 ETH | 0.00760606 | ||||
Join Guild | 14186147 | 1074 days ago | IN | 0.2 ETH | 0.02430829 | ||||
Join Guild | 14146316 | 1080 days ago | IN | 0.2 ETH | 0.01006419 | ||||
Join Guild | 14146309 | 1080 days ago | IN | 0.2 ETH | 0.01026003 | ||||
Join Guild | 14146302 | 1080 days ago | IN | 0.2 ETH | 0.01058721 | ||||
Join Guild | 14146298 | 1080 days ago | IN | 0.2 ETH | 0.01041367 | ||||
Join Guild | 14146293 | 1080 days ago | IN | 0.2 ETH | 0.01341984 | ||||
Join Guild | 14146290 | 1080 days ago | IN | 0.2 ETH | 0.01309522 | ||||
Join Guild | 14146288 | 1080 days ago | IN | 0.2 ETH | 0.01418851 | ||||
Join Guild | 14146288 | 1080 days ago | IN | 0.2 ETH | 0.01418851 | ||||
Join Guild | 14146283 | 1080 days ago | IN | 0.2 ETH | 0.02094307 | ||||
Join Guild | 14133464 | 1082 days ago | IN | 0.2 ETH | 0.01883678 | ||||
Join Guild | 14115918 | 1085 days ago | IN | 0.2 ETH | 0.03955645 | ||||
Join Guild | 14028735 | 1099 days ago | IN | 0.2 ETH | 0.01885429 | ||||
Join Guild | 13988465 | 1105 days ago | IN | 0.2 ETH | 0.04239208 | ||||
Join Guild | 13983981 | 1105 days ago | IN | 0.2 ETH | 0.0320012 | ||||
Join Guild | 13968323 | 1108 days ago | IN | 0.2 ETH | 0.03223298 | ||||
Join Guild | 13938443 | 1113 days ago | IN | 0.2 ETH | 0.01893033 | ||||
Join Guild | 13862196 | 1124 days ago | IN | 0.2 ETH | 0.01388345 | ||||
Join Guild | 13861280 | 1124 days ago | IN | 0.2 ETH | 0.01170163 | ||||
Join Guild | 13851152 | 1126 days ago | IN | 0.2 ETH | 0.03219614 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
15554595 | 856 days ago | 0.06666666 ETH | ||||
15554595 | 856 days ago | 0.06666666 ETH | ||||
15554595 | 856 days ago | 0.06666666 ETH | ||||
15334656 | 891 days ago | 0.06666666 ETH | ||||
15334656 | 891 days ago | 0.06666666 ETH | ||||
15334656 | 891 days ago | 0.06666666 ETH | ||||
15189072 | 914 days ago | 0.06666666 ETH | ||||
15189072 | 914 days ago | 0.06666666 ETH | ||||
15189072 | 914 days ago | 0.06666666 ETH | ||||
14970238 | 950 days ago | 0.06666666 ETH | ||||
14970238 | 950 days ago | 0.06666666 ETH | ||||
14970238 | 950 days ago | 0.06666666 ETH | ||||
14643492 | 1003 days ago | 0.06666666 ETH | ||||
14643492 | 1003 days ago | 0.06666666 ETH | ||||
14643492 | 1003 days ago | 0.06666666 ETH | ||||
14186147 | 1074 days ago | 0.06666666 ETH | ||||
14186147 | 1074 days ago | 0.06666666 ETH | ||||
14186147 | 1074 days ago | 0.06666666 ETH | ||||
14146316 | 1080 days ago | 0.06666666 ETH | ||||
14146316 | 1080 days ago | 0.06666666 ETH | ||||
14146316 | 1080 days ago | 0.06666666 ETH | ||||
14146309 | 1080 days ago | 0.06666666 ETH | ||||
14146309 | 1080 days ago | 0.06666666 ETH | ||||
14146309 | 1080 days ago | 0.06666666 ETH | ||||
14146302 | 1080 days ago | 0.06666666 ETH |
Loading...
Loading
Contract Name:
LootCharacterGuilds
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 "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; interface LootInterface { function ownerOf(uint256 tokenId) external view returns (address owner); } // LootGuilds can mint LootCharacter/LootCharacter Note interface LootCharacterWorldContract { function mint(address owner) external; // Loot Character Note function mint(uint256 tokenId, address owner) external; // Loot Character } contract LootCharacterGuilds is Ownable, Pausable, ReentrancyGuard { event AssociateLootWithGuild(uint256 tokenId, uint256 guildId); // Number of Guilds uint256 public TOTAL_GUILDS = 9; // There are 8000 Loot. More Loot starts at 8001 uint256 private TOTAL_LOOT = 8000; // "Mint" fee uint256 public associateWithGuildFee; // Loot and mLoop addresses address public lootAddress; address public mLootAddress; // Loot Character Contract address private lootCharacterContractAddress; // Loot Character Note Contract address private lootCharacterNoteContractAddress; // Mapping from Guild ID to Guild Name mapping(uint256 => string) public guilds; // Mapping from Guild ID to Guild Vault Address mapping(uint256 => address) public guildVaults; // Mapping from Bag ID to Guild ID mapping(uint256 => uint256) public guildLoots; constructor(address[9] memory _guildVaults, string[9] memory _guilds, uint256 _associateWithGuildFee, address _lootAddress, address _mLootAddress, address _lootCharacterContractAddress, address _lootCharacterNoteContractAddress) { associateWithGuildFee = _associateWithGuildFee; lootAddress = _lootAddress; mLootAddress = _mLootAddress; lootCharacterContractAddress = _lootCharacterContractAddress; lootCharacterNoteContractAddress = _lootCharacterNoteContractAddress; for(uint i=1; i <= TOTAL_GUILDS; i++) { guildVaults[i] = _guildVaults[i-1]; guilds[i] = _guilds[i-1]; } } /** * @dev Set the cost (in wei) to associate a Loot item with a Guild * @param _associateWithGuildFee Fee in wei */ function setAssociateWithGuildFee(uint _associateWithGuildFee) external onlyOwner { associateWithGuildFee = _associateWithGuildFee; } /** * @dev Associate a Loot Bag with a Guild. This costs the caller `associateWithGuildFee` wei. * @param tokenId The Loot Bag to associate with a Guild. */ function joinGuild(uint256 tokenId, uint256 guildId) external payable whenNotPaused nonReentrant { require(msg.value >= associateWithGuildFee, "Not enough ETH to associate"); require(msg.sender == LootInterface(lootAddress).ownerOf(tokenId)); require(guildLoots[tokenId] == 0, "Already assigned to a Guild"); require(guildId > 0 && guildId < TOTAL_GUILDS, "Not a Guild ID"); // NOTE - Only 8 guilds are joinable. 9th is the treasury guild. require(tokenId > 0 && tokenId <= TOTAL_LOOT, "Must be within Loot range"); // We're only allowing Loot to associate for now. // Update state guildLoots[tokenId] = guildId; // Mint LootCharacter and LootcharacterNote LootCharacterWorldContract lootCharacter = LootCharacterWorldContract(lootCharacterContractAddress); LootCharacterWorldContract lootCharacterNote = LootCharacterWorldContract(lootCharacterNoteContractAddress); lootCharacter.mint(tokenId, msg.sender); lootCharacterNote.mint(msg.sender); // Transfer uint256 amtPerRecipient = msg.value / 3; (bool sent, bytes memory data) = payable(guildVaults[guildId]).call{value: amtPerRecipient}(""); require(sent, "Failed to send ETH to guild DAO"); (sent, data) = payable(guildVaults[TOTAL_GUILDS]).call{value: amtPerRecipient}(""); require(sent, "Failed to send ETH to Treasury DAO"); (sent, data) = payable(owner()).call{value: amtPerRecipient}(""); require(sent, "Failed to send ETH to owner"); emit AssociateLootWithGuild(tokenId, guildId); } /** * @dev Flip the paused bit */ function flipPaused() external onlyOwner { paused() ? _unpause() : _pause(); } }
// 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 "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// 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; /** * @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; /** * @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 "./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; 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[9]","name":"_guildVaults","type":"address[9]"},{"internalType":"string[9]","name":"_guilds","type":"string[9]"},{"internalType":"uint256","name":"_associateWithGuildFee","type":"uint256"},{"internalType":"address","name":"_lootAddress","type":"address"},{"internalType":"address","name":"_mLootAddress","type":"address"},{"internalType":"address","name":"_lootCharacterContractAddress","type":"address"},{"internalType":"address","name":"_lootCharacterNoteContractAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"guildId","type":"uint256"}],"name":"AssociateLootWithGuild","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"TOTAL_GUILDS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"associateWithGuildFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"guildLoots","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"guildVaults","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"guilds","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"guildId","type":"uint256"}],"name":"joinGuild","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"lootAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mLootAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_associateWithGuildFee","type":"uint256"}],"name":"setAssociateWithGuildFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526009600255611f406003553480156200001c57600080fd5b50604051620022c3380380620022c383398181016040528101906200004291906200060f565b6200006262000056620002d760201b60201c565b620002df60201b60201c565b60008060146101000a81548160ff021916908315150217905550600180819055508460048190555083600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600190505b6002548111620002c95787600182620001af919062000795565b60098110620001e7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151600a600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550866001826200024d919062000795565b6009811062000285577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151600960008381526020019081526020016000209080519060200190620002b2929190620003a3565b508080620002c0906200087a565b91505062000195565b505050505050505062000989565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620003b19062000844565b90600052602060002090601f016020900481019282620003d5576000855562000421565b82601f10620003f057805160ff191683800117855562000421565b8280016001018555821562000421579182015b828111156200042057825182559160200191906001019062000403565b5b50905062000430919062000434565b5090565b5b808211156200044f57600081600090555060010162000435565b5090565b60006200046a620004648462000710565b620006dc565b905080828560208602820111156200048157600080fd5b60005b85811015620004b557816200049a888262000560565b84526020840193506020830192505060018101905062000484565b5050509392505050565b6000620004d6620004d08462000739565b620006dc565b9050808260005b85811015620005115781518501620004f68882620005cb565b845260208401935060208301925050600181019050620004dd565b5050509392505050565b6000620005326200052c8462000762565b620006dc565b9050828152602081018484840111156200054b57600080fd5b620005588482856200080e565b509392505050565b600081519050620005718162000955565b92915050565b600082601f8301126200058957600080fd5b60096200059884828562000453565b91505092915050565b600082601f830112620005b357600080fd5b6009620005c2848285620004bf565b91505092915050565b600082601f830112620005dd57600080fd5b8151620005ef8482602086016200051b565b91505092915050565b60008151905062000609816200096f565b92915050565b60008060008060008060006101e0888a0312156200062c57600080fd5b60006200063c8a828b0162000577565b97505061012088015167ffffffffffffffff8111156200065b57600080fd5b620006698a828b01620005a1565b9650506101406200067d8a828b01620005f8565b955050610160620006918a828b0162000560565b945050610180620006a58a828b0162000560565b9350506101a0620006b98a828b0162000560565b9250506101c0620006cd8a828b0162000560565b91505092959891949750929550565b6000604051905081810181811067ffffffffffffffff8211171562000706576200070562000926565b5b8060405250919050565b600067ffffffffffffffff8211156200072e576200072d62000926565b5b602082029050919050565b600067ffffffffffffffff82111562000757576200075662000926565b5b602082029050919050565b600067ffffffffffffffff82111562000780576200077f62000926565b5b601f19601f8301169050602081019050919050565b6000620007a28262000804565b9150620007af8362000804565b925082821015620007c557620007c4620008c8565b5b828203905092915050565b6000620007dd82620007e4565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b838110156200082e57808201518184015260208101905062000811565b838111156200083e576000848401525b50505050565b600060028204905060018216806200085d57607f821691505b60208210811415620008745762000873620008f7565b5b50919050565b6000620008878262000804565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415620008bd57620008bc620008c8565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200096081620007d0565b81146200096c57600080fd5b50565b6200097a8162000804565b81146200098657600080fd5b50565b61192a80620009996000396000f3fe6080604052600436106100dd5760003560e01c80638da5cb5b1161007f578063f2fde38b11610059578063f2fde38b1461028f578063f3b0968b146102b8578063fbea9238146102e3578063fdc09ce21461030e576100dd565b80638da5cb5b1461020b578063a3e77e2a14610236578063efe7b7af14610252576100dd565b80635212b30b116100bb5780635212b30b146101615780635c975abb1461018c578063715018a6146101b75780637a1d9168146101ce576100dd565b80630e439326146100e257806310beb5771461010d578063333171bb1461014a575b600080fd5b3480156100ee57600080fd5b506100f7610337565b604051610104919061150d565b60405180910390f35b34801561011957600080fd5b50610134600480360381019061012f91906110c7565b61035d565b60405161014191906116e5565b60405180910390f35b34801561015657600080fd5b5061015f610375565b005b34801561016d57600080fd5b50610176610415565b604051610183919061150d565b60405180910390f35b34801561019857600080fd5b506101a161043b565b6040516101ae9190611528565b60405180910390f35b3480156101c357600080fd5b506101cc610451565b005b3480156101da57600080fd5b506101f560048036038101906101f091906110c7565b6104d9565b604051610202919061150d565b60405180910390f35b34801561021757600080fd5b5061022061050c565b60405161022d919061150d565b60405180910390f35b610250600480360381019061024b91906110f0565b610535565b005b34801561025e57600080fd5b50610279600480360381019061027491906110c7565b610bfc565b6040516102869190611543565b60405180910390f35b34801561029b57600080fd5b506102b660048036038101906102b19190611075565b610c9c565b005b3480156102c457600080fd5b506102cd610d94565b6040516102da91906116e5565b60405180910390f35b3480156102ef57600080fd5b506102f8610d9a565b60405161030591906116e5565b60405180910390f35b34801561031a57600080fd5b50610335600480360381019061033091906110c7565b610da0565b005b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b6020528060005260406000206000915090505481565b61037d610e26565b73ffffffffffffffffffffffffffffffffffffffff1661039b61050c565b73ffffffffffffffffffffffffffffffffffffffff16146103f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103e890611605565b60405180910390fd5b6103f961043b565b61040a57610405610e2e565b610413565b610412610ed1565b5b565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060149054906101000a900460ff16905090565b610459610e26565b73ffffffffffffffffffffffffffffffffffffffff1661047761050c565b73ffffffffffffffffffffffffffffffffffffffff16146104cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104c490611605565b60405180910390fd5b6104d76000610f72565b565b600a6020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61053d61043b565b1561057d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610574906115e5565b60405180910390fd5b600260015414156105c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ba90611685565b60405180910390fd5b6002600181905550600454341015610610576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610607906116c5565b60405180910390fd5b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b815260040161066b91906116e5565b60206040518083038186803b15801561068357600080fd5b505afa158015610697573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bb919061109e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146106f257600080fd5b6000600b60008481526020019081526020016000205414610748576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073f906115c5565b60405180910390fd5b600081118015610759575060025481105b610798576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078f90611565565b60405180910390fd5b6000821180156107aa57506003548211155b6107e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e090611625565b60405180910390fd5b80600b6000848152602001908152602001600020819055506000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508173ffffffffffffffffffffffffffffffffffffffff166394bf804d85336040518363ffffffff1660e01b815260040161088a929190611700565b600060405180830381600087803b1580156108a457600080fd5b505af11580156108b8573d6000803e3d6000fd5b505050508073ffffffffffffffffffffffffffffffffffffffff16636a627842336040518263ffffffff1660e01b81526004016108f5919061150d565b600060405180830381600087803b15801561090f57600080fd5b505af1158015610923573d6000803e3d6000fd5b5050505060006003346109369190611779565b9050600080600a600087815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1683604051610992906114f8565b60006040518083038185875af1925050503d80600081146109cf576040519150601f19603f3d011682016040523d82523d6000602084013e6109d4565b606091505b509150915081610a19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1090611665565b60405180910390fd5b600a6000600254815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1683604051610a72906114f8565b60006040518083038185875af1925050503d8060008114610aaf576040519150601f19603f3d011682016040523d82523d6000602084013e610ab4565b606091505b50809250819350505081610afd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af4906116a5565b60405180910390fd5b610b0561050c565b73ffffffffffffffffffffffffffffffffffffffff1683604051610b28906114f8565b60006040518083038185875af1925050503d8060008114610b65576040519150601f19603f3d011682016040523d82523d6000602084013e610b6a565b606091505b50809250819350505081610bb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610baa90611645565b60405180910390fd5b7fe95e91a5c96aed710b0b580b4f230c45a00041824dcb8a0ad747467f12cebfb98787604051610be4929190611729565b60405180910390a15050505050600180819055505050565b60096020528060005260406000206000915090508054610c1b90611825565b80601f0160208091040260200160405190810160405280929190818152602001828054610c4790611825565b8015610c945780601f10610c6957610100808354040283529160200191610c94565b820191906000526020600020905b815481529060010190602001808311610c7757829003601f168201915b505050505081565b610ca4610e26565b73ffffffffffffffffffffffffffffffffffffffff16610cc261050c565b73ffffffffffffffffffffffffffffffffffffffff1614610d18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0f90611605565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7f906115a5565b60405180910390fd5b610d9181610f72565b50565b60045481565b60025481565b610da8610e26565b73ffffffffffffffffffffffffffffffffffffffff16610dc661050c565b73ffffffffffffffffffffffffffffffffffffffff1614610e1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1390611605565b60405180910390fd5b8060048190555050565b600033905090565b610e3661043b565b15610e76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6d906115e5565b60405180910390fd5b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610eba610e26565b604051610ec7919061150d565b60405180910390a1565b610ed961043b565b610f18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0f90611585565b60405180910390fd5b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610f5b610e26565b604051610f68919061150d565b60405180910390a1565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081359050611045816118c6565b92915050565b60008151905061105a816118c6565b92915050565b60008135905061106f816118dd565b92915050565b60006020828403121561108757600080fd5b600061109584828501611036565b91505092915050565b6000602082840312156110b057600080fd5b60006110be8482850161104b565b91505092915050565b6000602082840312156110d957600080fd5b60006110e784828501611060565b91505092915050565b6000806040838503121561110357600080fd5b600061111185828601611060565b925050602061112285828601611060565b9150509250929050565b611135816117aa565b82525050565b611144816117bc565b82525050565b600061115582611752565b61115f8185611768565b935061116f8185602086016117f2565b611178816118b5565b840191505092915050565b6000611190600e83611768565b91507f4e6f742061204775696c642049440000000000000000000000000000000000006000830152602082019050919050565b60006111d0601483611768565b91507f5061757361626c653a206e6f74207061757365640000000000000000000000006000830152602082019050919050565b6000611210602683611768565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611276601b83611768565b91507f416c72656164792061737369676e656420746f2061204775696c6400000000006000830152602082019050919050565b60006112b6601083611768565b91507f5061757361626c653a20706175736564000000000000000000000000000000006000830152602082019050919050565b60006112f6602083611768565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000611336601983611768565b91507f4d7573742062652077697468696e204c6f6f742072616e6765000000000000006000830152602082019050919050565b6000611376601b83611768565b91507f4661696c656420746f2073656e642045544820746f206f776e657200000000006000830152602082019050919050565b60006113b6601f83611768565b91507f4661696c656420746f2073656e642045544820746f206775696c642044414f006000830152602082019050919050565b60006113f660008361175d565b9150600082019050919050565b6000611410601f83611768565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b6000611450602283611768565b91507f4661696c656420746f2073656e642045544820746f205472656173757279204460008301527f414f0000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006114b6601b83611768565b91507f4e6f7420656e6f7567682045544820746f206173736f636961746500000000006000830152602082019050919050565b6114f2816117e8565b82525050565b6000611503826113e9565b9150819050919050565b6000602082019050611522600083018461112c565b92915050565b600060208201905061153d600083018461113b565b92915050565b6000602082019050818103600083015261155d818461114a565b905092915050565b6000602082019050818103600083015261157e81611183565b9050919050565b6000602082019050818103600083015261159e816111c3565b9050919050565b600060208201905081810360008301526115be81611203565b9050919050565b600060208201905081810360008301526115de81611269565b9050919050565b600060208201905081810360008301526115fe816112a9565b9050919050565b6000602082019050818103600083015261161e816112e9565b9050919050565b6000602082019050818103600083015261163e81611329565b9050919050565b6000602082019050818103600083015261165e81611369565b9050919050565b6000602082019050818103600083015261167e816113a9565b9050919050565b6000602082019050818103600083015261169e81611403565b9050919050565b600060208201905081810360008301526116be81611443565b9050919050565b600060208201905081810360008301526116de816114a9565b9050919050565b60006020820190506116fa60008301846114e9565b92915050565b600060408201905061171560008301856114e9565b611722602083018461112c565b9392505050565b600060408201905061173e60008301856114e9565b61174b60208301846114e9565b9392505050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000611784826117e8565b915061178f836117e8565b92508261179f5761179e611857565b5b828204905092915050565b60006117b5826117c8565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b838110156118105780820151818401526020810190506117f5565b8381111561181f576000848401525b50505050565b6000600282049050600182168061183d57607f821691505b6020821081141561185157611850611886565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b6118cf816117aa565b81146118da57600080fd5b50565b6118e6816117e8565b81146118f157600080fd5b5056fea26469706673582212209d8f2342dfcd7e71b607054fd8d46179ca888d6aa489fbb9c864ecb97bd7e07564736f6c634300080000330000000000000000000000009adb2404af11ed004b9bccf8bb6ceba11833e6c0000000000000000000000000a123ee02e6673c2ef0a7bfbde35956804ee6fc120000000000000000000000002fd8fff98f6fea01d1d4e33262a6a9c70e4697bd0000000000000000000000002e016964119fcfb4f77bee3a057152dba9f89e9a000000000000000000000000a159afec31851b754aeca1be5c914eaa2eef31a80000000000000000000000008c22a00a94f1fbb870ab65e4a30530eb253bc1fa0000000000000000000000007524fbbb8a654ede614ddec64bf809240016af27000000000000000000000000a549ca95fbd5785d56029029d6d93ad8d716e1dd000000000000000000000000eacae0a7004c3466ee1c86affb08b738e6b11a2f00000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000002c68af0bb140000000000000000000000000000ff9c1b15b16263c61d017ee9f65c50e4ae0113d70000000000000000000000001dfe7ca09e99d10835bf73044a23b73fc20623df0000000000000000000000005bf553e149d2e0d4725cebee5ec18ba49b6ffc3300000000000000000000000006081e5c3ef4625ebb8a974d5f52faca7a90fd180000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000002a000000000000000000000000000000000000000000000000000000000000002e00000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000000b456c646572626c696768740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009526f706b612046696e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b4d617265204d6f72746973000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a48616d6d65726661646500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a556e6b6e6f7761626c6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c5765737465726e204461776e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013456d70697265202620466f756e646174696f6e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e4569676874277320526964646c6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000095472656173757265790000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106100dd5760003560e01c80638da5cb5b1161007f578063f2fde38b11610059578063f2fde38b1461028f578063f3b0968b146102b8578063fbea9238146102e3578063fdc09ce21461030e576100dd565b80638da5cb5b1461020b578063a3e77e2a14610236578063efe7b7af14610252576100dd565b80635212b30b116100bb5780635212b30b146101615780635c975abb1461018c578063715018a6146101b75780637a1d9168146101ce576100dd565b80630e439326146100e257806310beb5771461010d578063333171bb1461014a575b600080fd5b3480156100ee57600080fd5b506100f7610337565b604051610104919061150d565b60405180910390f35b34801561011957600080fd5b50610134600480360381019061012f91906110c7565b61035d565b60405161014191906116e5565b60405180910390f35b34801561015657600080fd5b5061015f610375565b005b34801561016d57600080fd5b50610176610415565b604051610183919061150d565b60405180910390f35b34801561019857600080fd5b506101a161043b565b6040516101ae9190611528565b60405180910390f35b3480156101c357600080fd5b506101cc610451565b005b3480156101da57600080fd5b506101f560048036038101906101f091906110c7565b6104d9565b604051610202919061150d565b60405180910390f35b34801561021757600080fd5b5061022061050c565b60405161022d919061150d565b60405180910390f35b610250600480360381019061024b91906110f0565b610535565b005b34801561025e57600080fd5b50610279600480360381019061027491906110c7565b610bfc565b6040516102869190611543565b60405180910390f35b34801561029b57600080fd5b506102b660048036038101906102b19190611075565b610c9c565b005b3480156102c457600080fd5b506102cd610d94565b6040516102da91906116e5565b60405180910390f35b3480156102ef57600080fd5b506102f8610d9a565b60405161030591906116e5565b60405180910390f35b34801561031a57600080fd5b50610335600480360381019061033091906110c7565b610da0565b005b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b6020528060005260406000206000915090505481565b61037d610e26565b73ffffffffffffffffffffffffffffffffffffffff1661039b61050c565b73ffffffffffffffffffffffffffffffffffffffff16146103f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103e890611605565b60405180910390fd5b6103f961043b565b61040a57610405610e2e565b610413565b610412610ed1565b5b565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060149054906101000a900460ff16905090565b610459610e26565b73ffffffffffffffffffffffffffffffffffffffff1661047761050c565b73ffffffffffffffffffffffffffffffffffffffff16146104cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104c490611605565b60405180910390fd5b6104d76000610f72565b565b600a6020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61053d61043b565b1561057d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610574906115e5565b60405180910390fd5b600260015414156105c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ba90611685565b60405180910390fd5b6002600181905550600454341015610610576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610607906116c5565b60405180910390fd5b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b815260040161066b91906116e5565b60206040518083038186803b15801561068357600080fd5b505afa158015610697573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bb919061109e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146106f257600080fd5b6000600b60008481526020019081526020016000205414610748576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073f906115c5565b60405180910390fd5b600081118015610759575060025481105b610798576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078f90611565565b60405180910390fd5b6000821180156107aa57506003548211155b6107e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e090611625565b60405180910390fd5b80600b6000848152602001908152602001600020819055506000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508173ffffffffffffffffffffffffffffffffffffffff166394bf804d85336040518363ffffffff1660e01b815260040161088a929190611700565b600060405180830381600087803b1580156108a457600080fd5b505af11580156108b8573d6000803e3d6000fd5b505050508073ffffffffffffffffffffffffffffffffffffffff16636a627842336040518263ffffffff1660e01b81526004016108f5919061150d565b600060405180830381600087803b15801561090f57600080fd5b505af1158015610923573d6000803e3d6000fd5b5050505060006003346109369190611779565b9050600080600a600087815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1683604051610992906114f8565b60006040518083038185875af1925050503d80600081146109cf576040519150601f19603f3d011682016040523d82523d6000602084013e6109d4565b606091505b509150915081610a19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1090611665565b60405180910390fd5b600a6000600254815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1683604051610a72906114f8565b60006040518083038185875af1925050503d8060008114610aaf576040519150601f19603f3d011682016040523d82523d6000602084013e610ab4565b606091505b50809250819350505081610afd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af4906116a5565b60405180910390fd5b610b0561050c565b73ffffffffffffffffffffffffffffffffffffffff1683604051610b28906114f8565b60006040518083038185875af1925050503d8060008114610b65576040519150601f19603f3d011682016040523d82523d6000602084013e610b6a565b606091505b50809250819350505081610bb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610baa90611645565b60405180910390fd5b7fe95e91a5c96aed710b0b580b4f230c45a00041824dcb8a0ad747467f12cebfb98787604051610be4929190611729565b60405180910390a15050505050600180819055505050565b60096020528060005260406000206000915090508054610c1b90611825565b80601f0160208091040260200160405190810160405280929190818152602001828054610c4790611825565b8015610c945780601f10610c6957610100808354040283529160200191610c94565b820191906000526020600020905b815481529060010190602001808311610c7757829003601f168201915b505050505081565b610ca4610e26565b73ffffffffffffffffffffffffffffffffffffffff16610cc261050c565b73ffffffffffffffffffffffffffffffffffffffff1614610d18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0f90611605565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7f906115a5565b60405180910390fd5b610d9181610f72565b50565b60045481565b60025481565b610da8610e26565b73ffffffffffffffffffffffffffffffffffffffff16610dc661050c565b73ffffffffffffffffffffffffffffffffffffffff1614610e1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1390611605565b60405180910390fd5b8060048190555050565b600033905090565b610e3661043b565b15610e76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6d906115e5565b60405180910390fd5b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610eba610e26565b604051610ec7919061150d565b60405180910390a1565b610ed961043b565b610f18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0f90611585565b60405180910390fd5b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610f5b610e26565b604051610f68919061150d565b60405180910390a1565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081359050611045816118c6565b92915050565b60008151905061105a816118c6565b92915050565b60008135905061106f816118dd565b92915050565b60006020828403121561108757600080fd5b600061109584828501611036565b91505092915050565b6000602082840312156110b057600080fd5b60006110be8482850161104b565b91505092915050565b6000602082840312156110d957600080fd5b60006110e784828501611060565b91505092915050565b6000806040838503121561110357600080fd5b600061111185828601611060565b925050602061112285828601611060565b9150509250929050565b611135816117aa565b82525050565b611144816117bc565b82525050565b600061115582611752565b61115f8185611768565b935061116f8185602086016117f2565b611178816118b5565b840191505092915050565b6000611190600e83611768565b91507f4e6f742061204775696c642049440000000000000000000000000000000000006000830152602082019050919050565b60006111d0601483611768565b91507f5061757361626c653a206e6f74207061757365640000000000000000000000006000830152602082019050919050565b6000611210602683611768565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611276601b83611768565b91507f416c72656164792061737369676e656420746f2061204775696c6400000000006000830152602082019050919050565b60006112b6601083611768565b91507f5061757361626c653a20706175736564000000000000000000000000000000006000830152602082019050919050565b60006112f6602083611768565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000611336601983611768565b91507f4d7573742062652077697468696e204c6f6f742072616e6765000000000000006000830152602082019050919050565b6000611376601b83611768565b91507f4661696c656420746f2073656e642045544820746f206f776e657200000000006000830152602082019050919050565b60006113b6601f83611768565b91507f4661696c656420746f2073656e642045544820746f206775696c642044414f006000830152602082019050919050565b60006113f660008361175d565b9150600082019050919050565b6000611410601f83611768565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b6000611450602283611768565b91507f4661696c656420746f2073656e642045544820746f205472656173757279204460008301527f414f0000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006114b6601b83611768565b91507f4e6f7420656e6f7567682045544820746f206173736f636961746500000000006000830152602082019050919050565b6114f2816117e8565b82525050565b6000611503826113e9565b9150819050919050565b6000602082019050611522600083018461112c565b92915050565b600060208201905061153d600083018461113b565b92915050565b6000602082019050818103600083015261155d818461114a565b905092915050565b6000602082019050818103600083015261157e81611183565b9050919050565b6000602082019050818103600083015261159e816111c3565b9050919050565b600060208201905081810360008301526115be81611203565b9050919050565b600060208201905081810360008301526115de81611269565b9050919050565b600060208201905081810360008301526115fe816112a9565b9050919050565b6000602082019050818103600083015261161e816112e9565b9050919050565b6000602082019050818103600083015261163e81611329565b9050919050565b6000602082019050818103600083015261165e81611369565b9050919050565b6000602082019050818103600083015261167e816113a9565b9050919050565b6000602082019050818103600083015261169e81611403565b9050919050565b600060208201905081810360008301526116be81611443565b9050919050565b600060208201905081810360008301526116de816114a9565b9050919050565b60006020820190506116fa60008301846114e9565b92915050565b600060408201905061171560008301856114e9565b611722602083018461112c565b9392505050565b600060408201905061173e60008301856114e9565b61174b60208301846114e9565b9392505050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000611784826117e8565b915061178f836117e8565b92508261179f5761179e611857565b5b828204905092915050565b60006117b5826117c8565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b838110156118105780820151818401526020810190506117f5565b8381111561181f576000848401525b50505050565b6000600282049050600182168061183d57607f821691505b6020821081141561185157611850611886565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b6118cf816117aa565b81146118da57600080fd5b50565b6118e6816117e8565b81146118f157600080fd5b5056fea26469706673582212209d8f2342dfcd7e71b607054fd8d46179ca888d6aa489fbb9c864ecb97bd7e07564736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000009adb2404af11ed004b9bccf8bb6ceba11833e6c0000000000000000000000000a123ee02e6673c2ef0a7bfbde35956804ee6fc120000000000000000000000002fd8fff98f6fea01d1d4e33262a6a9c70e4697bd0000000000000000000000002e016964119fcfb4f77bee3a057152dba9f89e9a000000000000000000000000a159afec31851b754aeca1be5c914eaa2eef31a80000000000000000000000008c22a00a94f1fbb870ab65e4a30530eb253bc1fa0000000000000000000000007524fbbb8a654ede614ddec64bf809240016af27000000000000000000000000a549ca95fbd5785d56029029d6d93ad8d716e1dd000000000000000000000000eacae0a7004c3466ee1c86affb08b738e6b11a2f00000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000002c68af0bb140000000000000000000000000000ff9c1b15b16263c61d017ee9f65c50e4ae0113d70000000000000000000000001dfe7ca09e99d10835bf73044a23b73fc20623df0000000000000000000000005bf553e149d2e0d4725cebee5ec18ba49b6ffc3300000000000000000000000006081e5c3ef4625ebb8a974d5f52faca7a90fd180000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000002a000000000000000000000000000000000000000000000000000000000000002e00000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000000b456c646572626c696768740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009526f706b612046696e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b4d617265204d6f72746973000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a48616d6d65726661646500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a556e6b6e6f7761626c6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c5765737465726e204461776e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013456d70697265202620466f756e646174696f6e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e4569676874277320526964646c6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000095472656173757265790000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _guildVaults (address[9]): 0x9aDB2404Af11Ed004B9bCcF8bb6cEBA11833E6c0,0xA123ee02e6673C2Ef0A7bfBde35956804EE6fc12,0x2fd8fff98f6fEa01d1d4E33262a6a9C70e4697Bd,0x2e016964119fCfb4F77Bee3A057152dBA9F89E9a,0xa159AFEc31851B754AECA1be5c914eaA2eEf31a8,0x8c22A00a94F1FbB870ab65E4a30530Eb253Bc1fa,0x7524fbBB8a654eDe614dDec64Bf809240016Af27,0xA549cA95fBd5785d56029029d6D93Ad8D716e1dD,0xEaCae0A7004C3466ee1C86aFFB08b738e6B11a2f
Arg [1] : _guilds (string[9]): Elderblight,Ropka Fin,Mare Mortis,Hammerfade,Unknowable,Western Dawn,Empire & Foundation,Eight's Riddle,Treasurey
Arg [2] : _associateWithGuildFee (uint256): 200000000000000000
Arg [3] : _lootAddress (address): 0xFF9C1b15B16263C61d017ee9F65C50e4AE0113D7
Arg [4] : _mLootAddress (address): 0x1dfe7Ca09e99d10835Bf73044a23B73Fc20623DF
Arg [5] : _lootCharacterContractAddress (address): 0x5Bf553e149D2E0d4725CEBEE5Ec18bA49b6FFc33
Arg [6] : _lootCharacterNoteContractAddress (address): 0x06081E5c3ef4625EbB8A974d5f52FAca7a90fd18
-----Encoded View---------------
42 Constructor Arguments found :
Arg [0] : 0000000000000000000000009adb2404af11ed004b9bccf8bb6ceba11833e6c0
Arg [1] : 000000000000000000000000a123ee02e6673c2ef0a7bfbde35956804ee6fc12
Arg [2] : 0000000000000000000000002fd8fff98f6fea01d1d4e33262a6a9c70e4697bd
Arg [3] : 0000000000000000000000002e016964119fcfb4f77bee3a057152dba9f89e9a
Arg [4] : 000000000000000000000000a159afec31851b754aeca1be5c914eaa2eef31a8
Arg [5] : 0000000000000000000000008c22a00a94f1fbb870ab65e4a30530eb253bc1fa
Arg [6] : 0000000000000000000000007524fbbb8a654ede614ddec64bf809240016af27
Arg [7] : 000000000000000000000000a549ca95fbd5785d56029029d6d93ad8d716e1dd
Arg [8] : 000000000000000000000000eacae0a7004c3466ee1c86affb08b738e6b11a2f
Arg [9] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [10] : 00000000000000000000000000000000000000000000000002c68af0bb140000
Arg [11] : 000000000000000000000000ff9c1b15b16263c61d017ee9f65c50e4ae0113d7
Arg [12] : 0000000000000000000000001dfe7ca09e99d10835bf73044a23b73fc20623df
Arg [13] : 0000000000000000000000005bf553e149d2e0d4725cebee5ec18ba49b6ffc33
Arg [14] : 00000000000000000000000006081e5c3ef4625ebb8a974d5f52faca7a90fd18
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [17] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [18] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [20] : 0000000000000000000000000000000000000000000000000000000000000260
Arg [21] : 00000000000000000000000000000000000000000000000000000000000002a0
Arg [22] : 00000000000000000000000000000000000000000000000000000000000002e0
Arg [23] : 0000000000000000000000000000000000000000000000000000000000000320
Arg [24] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [25] : 456c646572626c69676874000000000000000000000000000000000000000000
Arg [26] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [27] : 526f706b612046696e0000000000000000000000000000000000000000000000
Arg [28] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [29] : 4d617265204d6f72746973000000000000000000000000000000000000000000
Arg [30] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [31] : 48616d6d65726661646500000000000000000000000000000000000000000000
Arg [32] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [33] : 556e6b6e6f7761626c6500000000000000000000000000000000000000000000
Arg [34] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [35] : 5765737465726e204461776e0000000000000000000000000000000000000000
Arg [36] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [37] : 456d70697265202620466f756e646174696f6e00000000000000000000000000
Arg [38] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [39] : 4569676874277320526964646c65000000000000000000000000000000000000
Arg [40] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [41] : 5472656173757265790000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | Ether (ETH) | 100.00% | $3,290.75 | 0.000000000000000472 | <$0.000001 |
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.