Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
2,061 DemonicSkulls
Holders
1,030
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 DemonicSkullsLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DemonicSkulls
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.7; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; abstract contract CryptoSkullsContract { function ownerOf(uint256 tokenId) public view virtual returns (address); function balanceOf(address account) public view virtual returns (uint256); } abstract contract DemonsBloodContract { function balanceOf(address account, uint256 tokenId) public view virtual returns (uint256); function burnForAddress(uint256 typeId, address burnTokenAddress, uint256 amount) external virtual; } abstract contract RestorationContract { function exists(address account) public view virtual returns (uint256[] memory, bool[] memory); } contract DemonicSkulls is ERC721Enumerable, Ownable, ReentrancyGuard { CryptoSkullsContract private cryptoSkullsContract; DemonsBloodContract private demonsBloodContract; address private restorationContract; uint256 public levelTwoMintedAmount; uint256 public levelThreeMintedAmount; uint256 public maxMintsPerTxn = 5; uint256 public levelTwoMintPrice = 0.7 ether; bool public saleIsActive = false; bool public claimIsActive = false; string public baseURI; uint256 public levelTwoIndex = 9999; address public withdrawalWallet; mapping (uint256 => bool) public claimedTokens; mapping (address => uint256) public levelTwoClaimers; mapping (address => uint256) public levelThreeClaimers; mapping (uint256 => bool) public lordsIds; uint256 private constant COMMON_BLOOD_TYPE = 0; uint256 private constant LORD_BLOOD_TYPE = 1; uint256 private constant LEVEL_ONE_BLOOD_AMOUNT = 1; uint256 private constant LEVEL_TWO_BLOOD_AMOUNT = 3; uint256 private constant LEVEL_THREE_BLOOD_AMOUNT = 5; uint256 private constant LORD_BLOOD_AMOUNT = 1; uint256 private MAX_LEVEL_TWO_AMOUNT = 2500; constructor(string memory name, string memory symbol, string memory _baseUri, address skullsContract, address bloodsContract) ERC721(name, symbol) { baseURI = _baseUri; cryptoSkullsContract = CryptoSkullsContract(skullsContract); demonsBloodContract = DemonsBloodContract(bloodsContract); lordsIds[9] = true; lordsIds[19] = true; lordsIds[20] = true; lordsIds[24] = true; lordsIds[27] = true; lordsIds[36] = true; lordsIds[41] = true; lordsIds[42] = true; lordsIds[43] = true; lordsIds[70] = true; } function setWithdrawalWallet(address wallet) public onlyOwner { withdrawalWallet = wallet; } function setRestorationContract(address restorationContractAddress) public onlyOwner { restorationContract = restorationContractAddress; } function setMaxMintsPerTxn(uint256 amount) public onlyOwner { maxMintsPerTxn = amount; } function setLevelTwoMintPrice(uint256 price) public onlyOwner { levelTwoMintPrice = price; } function withdraw() public onlyOwner { require(payable(withdrawalWallet).send(address(this).balance)); } function flipSaleState() public onlyOwner { saleIsActive = !saleIsActive; } function flipClaimState() public onlyOwner { claimIsActive = !claimIsActive; } function mintForAddress(address wallet, uint256 bloodAmount, uint256 id) virtual external { require(msg.sender == restorationContract, "Invalid caller"); if (bloodAmount == LEVEL_ONE_BLOOD_AMOUNT) { require(id >= 0 && id <= 9999, "Wrong ID"); _safeMint(wallet, id); } else if (bloodAmount == LEVEL_TWO_BLOOD_AMOUNT) { require(id > 9999 && id < 12500, "Wrong ID"); levelTwoClaimers[wallet] += 1; levelTwoMintedAmount++; levelTwoIndex++; _safeMint(wallet, id); } else if (bloodAmount == LEVEL_THREE_BLOOD_AMOUNT) { require(id > 12499 && id < 12650, "Wrong ID"); levelThreeClaimers[wallet] += 1; levelThreeMintedAmount++; _safeMint(wallet, id); } } function setClaimedId(uint256 id) virtual external { require(msg.sender == restorationContract, "Invalid caller"); require(id >= 0 && id <= 9999, "Wrong ID"); claimedTokens[id] = true; } function _mintLevel2(address wallet) private { uint256 nextId = levelTwoIndex + 1; require(nextId > 9999 && nextId < 12500, "Wrong ID"); levelTwoIndex = nextId; levelTwoClaimers[wallet] += 1; levelTwoMintedAmount++; _safeMint(wallet, nextId); } function mintRefund(address wallet) virtual external { require(msg.sender == restorationContract, "Invalid caller"); for (uint256 i = 0; i < 2; i++) { _mintLevel2(wallet); } } function claimLords(uint256[] memory ids) public { require(claimIsActive, "Claim not active"); require(demonsBloodContract.balanceOf(msg.sender, LORD_BLOOD_TYPE) >= ids.length, "Too few Blood"); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; require(lordsIds[id], "Can only claim Lord"); require(!claimedTokens[id], "Already claimed"); require(cryptoSkullsContract.ownerOf(id) == msg.sender, "Must own original Lord"); claimedTokens[id] = true; demonsBloodContract.burnForAddress(LORD_BLOOD_TYPE, msg.sender, LORD_BLOOD_AMOUNT); _safeMint(msg.sender, id); } } function claimSkulls(uint256[] memory ids, uint256 bloodAmount) public { require(claimIsActive, "Claim not active"); require(bloodAmount == LEVEL_ONE_BLOOD_AMOUNT || bloodAmount == LEVEL_TWO_BLOOD_AMOUNT, "Wrong level"); require(demonsBloodContract.balanceOf(msg.sender, COMMON_BLOOD_TYPE) >= bloodAmount * ids.length, "Too few Blood"); if (bloodAmount == LEVEL_TWO_BLOOD_AMOUNT) { require(levelTwoMintedAmount + ids.length <= MAX_LEVEL_TWO_AMOUNT, "Exceeds max amount"); require((ids.length + levelTwoClaimers[msg.sender]) <= 50, "Limit is 50 L2 per wallet"); } for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; require(id >= 0 && id <= 9999, "Wrong ID"); require(!lordsIds[id], "Can't mint Lord"); require(!claimedTokens[id], "Already claimed"); require(cryptoSkullsContract.ownerOf(id) == msg.sender, "Must own CryptoSkull"); if (bloodAmount == LEVEL_ONE_BLOOD_AMOUNT) { claimedTokens[id] = true; demonsBloodContract.burnForAddress(COMMON_BLOOD_TYPE, msg.sender, LEVEL_ONE_BLOOD_AMOUNT); _safeMint(msg.sender, id); } else if (bloodAmount == LEVEL_TWO_BLOOD_AMOUNT) { uint256 nextId = levelTwoIndex + 1; require(nextId > 9999 && nextId < 12500, "Wrong ID"); claimedTokens[id] = true; levelTwoIndex = nextId; levelTwoClaimers[msg.sender] += 1; levelTwoMintedAmount++; demonsBloodContract.burnForAddress(COMMON_BLOOD_TYPE, msg.sender, LEVEL_TWO_BLOOD_AMOUNT); _safeMint(msg.sender, nextId); } } } function mint(uint256 numberOfTokens) public payable { require(saleIsActive, "Sale not active"); require(numberOfTokens <= maxMintsPerTxn, "Txn limit"); require(levelTwoMintedAmount + numberOfTokens <= MAX_LEVEL_TWO_AMOUNT, "Exceeds max amount"); require((numberOfTokens + levelTwoClaimers[msg.sender]) <= 50, "You can't mint more than 50 L2 per wallet"); bool hasOriginalSkulls = cryptoSkullsContract.balanceOf(msg.sender) > 0; uint256 totalPrice = hasOriginalSkulls ? (levelTwoMintPrice * numberOfTokens) * 80 / 100 : levelTwoMintPrice * numberOfTokens; require(totalPrice <= msg.value, "Low ETH"); for (uint256 i = 0; i < numberOfTokens; i++) { _mintLevel2(msg.sender); } } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function setBaseURI(string memory newBaseURI) public onlyOwner { baseURI = newBaseURI; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @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` cannot be the zero address. * - `to` cannot be the zero address. * * 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 override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 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 // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) 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 making 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 // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) 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 { _setApprovalForAll(_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); _afterTokenTransfer(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); _afterTokenTransfer(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 from incorrect owner"); 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); _afterTokenTransfer(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 Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @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 {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"_baseUri","type":"string"},{"internalType":"address","name":"skullsContract","type":"address"},{"internalType":"address","name":"bloodsContract","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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":[],"name":"claimIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"claimLords","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256","name":"bloodAmount","type":"uint256"}],"name":"claimSkulls","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimedTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipClaimState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"levelThreeClaimers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"levelThreeMintedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"levelTwoClaimers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"levelTwoIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"levelTwoMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"levelTwoMintedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lordsIds","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintsPerTxn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint256","name":"bloodAmount","type":"uint256"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"mintRefund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"setClaimedId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setLevelTwoMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxMintsPerTxn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"restorationContractAddress","type":"address"}],"name":"setRestorationContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"setWithdrawalWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawalWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405260056011556709b6e64a8ec600006012556000601360006101000a81548160ff0219169083151502179055506000601360016101000a81548160ff02191690831515021790555061270f6015556109c4601b553480156200006457600080fd5b50604051620068283803806200682883398181016040528101906200008a9190620006d0565b84848160009080519060200190620000a49291906200041e565b508060019080519060200190620000bd9291906200041e565b505050620000e0620000d46200035060201b60201c565b6200035860201b60201c565b6001600b819055508260149080519060200190620001009291906200041e565b5081600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001601a60006009815260200190815260200160002060006101000a81548160ff0219169083151502179055506001601a60006013815260200190815260200160002060006101000a81548160ff0219169083151502179055506001601a60006014815260200190815260200160002060006101000a81548160ff0219169083151502179055506001601a60006018815260200190815260200160002060006101000a81548160ff0219169083151502179055506001601a6000601b815260200190815260200160002060006101000a81548160ff0219169083151502179055506001601a60006024815260200190815260200160002060006101000a81548160ff0219169083151502179055506001601a60006029815260200190815260200160002060006101000a81548160ff0219169083151502179055506001601a6000602a815260200190815260200160002060006101000a81548160ff0219169083151502179055506001601a6000602b815260200190815260200160002060006101000a81548160ff0219169083151502179055506001601a60006046815260200190815260200160002060006101000a81548160ff02191690831515021790555050505050506200081a565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200042c90620007e4565b90600052602060002090601f0160209004810192826200045057600085556200049c565b82601f106200046b57805160ff19168380011785556200049c565b828001600101855582156200049c579182015b828111156200049b5782518255916020019190600101906200047e565b5b509050620004ab9190620004af565b5090565b5b80821115620004ca576000816000905550600101620004b0565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200053782620004ec565b810181811067ffffffffffffffff82111715620005595762000558620004fd565b5b80604052505050565b60006200056e620004ce565b90506200057c82826200052c565b919050565b600067ffffffffffffffff8211156200059f576200059e620004fd565b5b620005aa82620004ec565b9050602081019050919050565b60005b83811015620005d7578082015181840152602081019050620005ba565b83811115620005e7576000848401525b50505050565b600062000604620005fe8462000581565b62000562565b905082815260208101848484011115620006235762000622620004e7565b5b62000630848285620005b7565b509392505050565b600082601f83011262000650576200064f620004e2565b5b815162000662848260208601620005ed565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000698826200066b565b9050919050565b620006aa816200068b565b8114620006b657600080fd5b50565b600081519050620006ca816200069f565b92915050565b600080600080600060a08688031215620006ef57620006ee620004d8565b5b600086015167ffffffffffffffff81111562000710576200070f620004dd565b5b6200071e8882890162000638565b955050602086015167ffffffffffffffff811115620007425762000741620004dd565b5b620007508882890162000638565b945050604086015167ffffffffffffffff811115620007745762000773620004dd565b5b620007828882890162000638565b93505060606200079588828901620006b9565b9250506080620007a888828901620006b9565b9150509295509295909350565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620007fd57607f821691505b60208210811415620008145762000813620007b5565b5b50919050565b615ffe806200082a6000396000f3fe60806040526004361061027d5760003560e01c80636352211e1161014f578063a22cb465116100c1578063c87b56dd1161007a578063c87b56dd14610961578063e5a342a31461099e578063e985e9c5146109db578063eb8d244414610a18578063f2fde38b14610a43578063f7c64f9e14610a6c5761027d565b8063a22cb46514610865578063a67104801461088e578063af54001e146108b9578063b88d4fde146108e4578063bec0eb011461090d578063c3efa64c146109365761027d565b8063715018a611610113578063715018a61461078a57806375796f76146107a15780637ba9466b146107ca5780638da5cb5b146107f357806395d89b411461081e578063a0712d68146108495761027d565b80636352211e146106a357806367007af6146106e05780636c0360eb1461070b5780636d60e6c11461073657806370a082311461074d5761027d565b80632f745c59116101f357806342842e0e116101ac57806342842e0e146105815780634569f0af146105aa5780634a7d80b3146105e75780634f6ccce7146106125780635303f68c1461064f57806355f804b31461067a5761027d565b80632f745c591461049957806331d84a1c146104d657806334918dfd146104ff5780633a35ccc8146105165780633ccfd60b14610541578063402ffc5a146105585761027d565b806318160ddd1161024557806318160ddd1461038d5780631cac10c6146103b857806320d10169146103e157806323b872dd1461040a57806328bb55ba146104335780632c15ad58146104705761027d565b806301ffc9a71461028257806306fdde03146102bf578063081812fc146102ea578063095ea7b3146103275780630e78795e14610350575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a49190614262565b610a95565b6040516102b691906142aa565b60405180910390f35b3480156102cb57600080fd5b506102d4610b0f565b6040516102e1919061435e565b60405180910390f35b3480156102f657600080fd5b50610311600480360381019061030c91906143b6565b610ba1565b60405161031e9190614424565b60405180910390f35b34801561033357600080fd5b5061034e6004803603810190610349919061446b565b610c26565b005b34801561035c57600080fd5b50610377600480360381019061037291906144ab565b610d3e565b60405161038491906144e7565b60405180910390f35b34801561039957600080fd5b506103a2610d56565b6040516103af91906144e7565b60405180910390f35b3480156103c457600080fd5b506103df60048036038101906103da919061464a565b610d63565b005b3480156103ed57600080fd5b5061040860048036038101906104039190614693565b611187565b005b34801561041657600080fd5b50610431600480360381019061042c91906146ef565b611901565b005b34801561043f57600080fd5b5061045a600480360381019061045591906144ab565b611961565b60405161046791906144e7565b60405180910390f35b34801561047c57600080fd5b50610497600480360381019061049291906144ab565b611979565b005b3480156104a557600080fd5b506104c060048036038101906104bb919061446b565b611a35565b6040516104cd91906144e7565b60405180910390f35b3480156104e257600080fd5b506104fd60048036038101906104f89190614742565b611ada565b005b34801561050b57600080fd5b50610514611d9f565b005b34801561052257600080fd5b5061052b611e47565b60405161053891906144e7565b60405180910390f35b34801561054d57600080fd5b50610556611e4d565b005b34801561056457600080fd5b5061057f600480360381019061057a91906143b6565b611f2b565b005b34801561058d57600080fd5b506105a860048036038101906105a391906146ef565b61203c565b005b3480156105b657600080fd5b506105d160048036038101906105cc91906143b6565b61205c565b6040516105de91906142aa565b60405180910390f35b3480156105f357600080fd5b506105fc61207c565b6040516106099190614424565b60405180910390f35b34801561061e57600080fd5b50610639600480360381019061063491906143b6565b6120a2565b60405161064691906144e7565b60405180910390f35b34801561065b57600080fd5b50610664612113565b60405161067191906142aa565b60405180910390f35b34801561068657600080fd5b506106a1600480360381019061069c919061484a565b612126565b005b3480156106af57600080fd5b506106ca60048036038101906106c591906143b6565b6121bc565b6040516106d79190614424565b60405180910390f35b3480156106ec57600080fd5b506106f561226e565b60405161070291906144e7565b60405180910390f35b34801561071757600080fd5b50610720612274565b60405161072d919061435e565b60405180910390f35b34801561074257600080fd5b5061074b612302565b005b34801561075957600080fd5b50610774600480360381019061076f91906144ab565b6123aa565b60405161078191906144e7565b60405180910390f35b34801561079657600080fd5b5061079f612462565b005b3480156107ad57600080fd5b506107c860048036038101906107c391906144ab565b6124ea565b005b3480156107d657600080fd5b506107f160048036038101906107ec91906143b6565b6125aa565b005b3480156107ff57600080fd5b50610808612630565b6040516108159190614424565b60405180910390f35b34801561082a57600080fd5b5061083361265a565b604051610840919061435e565b60405180910390f35b610863600480360381019061085e91906143b6565b6126ec565b005b34801561087157600080fd5b5061088c600480360381019061088791906148bf565b6129c4565b005b34801561089a57600080fd5b506108a36129da565b6040516108b091906144e7565b60405180910390f35b3480156108c557600080fd5b506108ce6129e0565b6040516108db91906144e7565b60405180910390f35b3480156108f057600080fd5b5061090b600480360381019061090691906149a0565b6129e6565b005b34801561091957600080fd5b50610934600480360381019061092f91906144ab565b612a48565b005b34801561094257600080fd5b5061094b612b08565b60405161095891906144e7565b60405180910390f35b34801561096d57600080fd5b50610988600480360381019061098391906143b6565b612b0e565b604051610995919061435e565b60405180910390f35b3480156109aa57600080fd5b506109c560048036038101906109c091906143b6565b612bb5565b6040516109d291906142aa565b60405180910390f35b3480156109e757600080fd5b50610a0260048036038101906109fd9190614a23565b612bd5565b604051610a0f91906142aa565b60405180910390f35b348015610a2457600080fd5b50610a2d612c69565b604051610a3a91906142aa565b60405180910390f35b348015610a4f57600080fd5b50610a6a6004803603810190610a6591906144ab565b612c7c565b005b348015610a7857600080fd5b50610a936004803603810190610a8e91906143b6565b612d74565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b085750610b0782612dfa565b5b9050919050565b606060008054610b1e90614a92565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4a90614a92565b8015610b975780601f10610b6c57610100808354040283529160200191610b97565b820191906000526020600020905b815481529060010190602001808311610b7a57829003601f168201915b5050505050905090565b6000610bac82612edc565b610beb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be290614b36565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c31826121bc565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ca2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9990614bc8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cc1612f48565b73ffffffffffffffffffffffffffffffffffffffff161480610cf05750610cef81610cea612f48565b612bd5565b5b610d2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2690614c5a565b60405180910390fd5b610d398383612f50565b505050565b60186020528060005260406000206000915090505481565b6000600880549050905090565b601360019054906101000a900460ff16610db2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da990614cc6565b60405180910390fd5b8051600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360016040518363ffffffff1660e01b8152600401610e11929190614ce6565b60206040518083038186803b158015610e2957600080fd5b505afa158015610e3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e619190614d24565b1015610ea2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9990614d9d565b60405180910390fd5b60005b8151811015611183576000828281518110610ec357610ec2614dbd565b5b60200260200101519050601a600082815260200190815260200160002060009054906101000a900460ff16610f2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2490614e38565b60405180910390fd5b6017600082815260200190815260200160002060009054906101000a900460ff1615610f8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8590614ea4565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b815260040161100091906144e7565b60206040518083038186803b15801561101857600080fd5b505afa15801561102c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110509190614ed9565b73ffffffffffffffffffffffffffffffffffffffff16146110a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109d90614f52565b60405180910390fd5b60016017600083815260200190815260200160002060006101000a81548160ff021916908315150217905550600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d777225560013360016040518463ffffffff1660e01b815260040161113393929190614f72565b600060405180830381600087803b15801561114d57600080fd5b505af1158015611161573d6000803e3d6000fd5b5050505061116f3382613009565b50808061117b90614fd8565b915050610ea5565b5050565b601360019054906101000a900460ff166111d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111cd90614cc6565b60405180910390fd5b60018114806111e55750600381145b611224576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121b9061506d565b60405180910390fd5b815181611231919061508d565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360006040518363ffffffff1660e01b815260040161128e929190614ce6565b60206040518083038186803b1580156112a657600080fd5b505afa1580156112ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112de9190614d24565b101561131f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131690614d9d565b60405180910390fd5b600381141561140b57601b548251600f5461133a91906150e7565b111561137b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137290615189565b60405180910390fd5b6032601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205483516113c991906150e7565b111561140a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611401906151f5565b60405180910390fd5b5b60005b82518110156118fc57600083828151811061142c5761142b614dbd565b5b6020026020010151905060008110158015611449575061270f8111155b611488576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147f90615261565b60405180910390fd5b601a600082815260200190815260200160002060009054906101000a900460ff16156114e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e0906152cd565b60405180910390fd5b6017600082815260200190815260200160002060009054906101000a900460ff161561154a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154190614ea4565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016115bc91906144e7565b60206040518083038186803b1580156115d457600080fd5b505afa1580156115e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061160c9190614ed9565b73ffffffffffffffffffffffffffffffffffffffff1614611662576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165990615339565b60405180910390fd5b60018314156117395760016017600083815260200190815260200160002060006101000a81548160ff021916908315150217905550600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d777225560003360016040518463ffffffff1660e01b81526004016116f893929190614f72565b600060405180830381600087803b15801561171257600080fd5b505af1158015611726573d6000803e3d6000fd5b505050506117343382613009565b6118e8565b60038314156118e7576000600160155461175391906150e7565b905061270f8111801561176757506130d481105b6117a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179d90615261565b60405180910390fd5b60016017600084815260200190815260200160002060006101000a81548160ff021916908315150217905550806015819055506001601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461182991906150e7565b92505081905550600f600081548092919061184390614fd8565b9190505550600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d777225560003360036040518463ffffffff1660e01b81526004016118a993929190614f72565b600060405180830381600087803b1580156118c357600080fd5b505af11580156118d7573d6000803e3d6000fd5b505050506118e53382613009565b505b5b5080806118f490614fd8565b91505061140e565b505050565b61191261190c612f48565b82613027565b611951576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611948906153cb565b60405180910390fd5b61195c838383613105565b505050565b60196020528060005260406000206000915090505481565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611a09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0090615437565b60405180910390fd5b60005b6002811015611a3157611a1e8261336c565b8080611a2990614fd8565b915050611a0c565b5050565b6000611a40836123aa565b8210611a81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a78906154c9565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611b6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6190615437565b60405180910390fd5b6001821415611bd45760008110158015611b86575061270f8111155b611bc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bbc90615261565b60405180910390fd5b611bcf8382613009565b611d9a565b6003821415611cc45761270f81118015611bef57506130d481105b611c2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2590615261565b60405180910390fd5b6001601860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c7e91906150e7565b92505081905550600f6000815480929190611c9890614fd8565b919050555060156000815480929190611cb090614fd8565b9190505550611cbf8382613009565b611d99565b6005821415611d98576130d381118015611cdf575061316a81105b611d1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1590615261565b60405180910390fd5b6001601960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d6e91906150e7565b9250508190555060106000815480929190611d8890614fd8565b9190505550611d978382613009565b5b5b5b505050565b611da7612f48565b73ffffffffffffffffffffffffffffffffffffffff16611dc5612630565b73ffffffffffffffffffffffffffffffffffffffff1614611e1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1290615535565b60405180910390fd5b601360009054906101000a900460ff1615601360006101000a81548160ff021916908315150217905550565b60155481565b611e55612f48565b73ffffffffffffffffffffffffffffffffffffffff16611e73612630565b73ffffffffffffffffffffffffffffffffffffffff1614611ec9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec090615535565b60405180910390fd5b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050611f2957600080fd5b565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611fbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb290615437565b60405180910390fd5b60008110158015611fce575061270f8111155b61200d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200490615261565b60405180910390fd5b60016017600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b612057838383604051806020016040528060008152506129e6565b505050565b601a6020528060005260406000206000915054906101000a900460ff1681565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006120ac610d56565b82106120ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e4906155c7565b60405180910390fd5b6008828154811061210157612100614dbd565b5b90600052602060002001549050919050565b601360019054906101000a900460ff1681565b61212e612f48565b73ffffffffffffffffffffffffffffffffffffffff1661214c612630565b73ffffffffffffffffffffffffffffffffffffffff16146121a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219990615535565b60405180910390fd5b80601490805190602001906121b8929190614153565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612265576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225c90615659565b60405180910390fd5b80915050919050565b60105481565b6014805461228190614a92565b80601f01602080910402602001604051908101604052809291908181526020018280546122ad90614a92565b80156122fa5780601f106122cf576101008083540402835291602001916122fa565b820191906000526020600020905b8154815290600101906020018083116122dd57829003601f168201915b505050505081565b61230a612f48565b73ffffffffffffffffffffffffffffffffffffffff16612328612630565b73ffffffffffffffffffffffffffffffffffffffff161461237e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237590615535565b60405180910390fd5b601360019054906101000a900460ff1615601360016101000a81548160ff021916908315150217905550565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561241b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612412906156eb565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61246a612f48565b73ffffffffffffffffffffffffffffffffffffffff16612488612630565b73ffffffffffffffffffffffffffffffffffffffff16146124de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d590615535565b60405180910390fd5b6124e86000613454565b565b6124f2612f48565b73ffffffffffffffffffffffffffffffffffffffff16612510612630565b73ffffffffffffffffffffffffffffffffffffffff1614612566576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255d90615535565b60405180910390fd5b80601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6125b2612f48565b73ffffffffffffffffffffffffffffffffffffffff166125d0612630565b73ffffffffffffffffffffffffffffffffffffffff1614612626576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261d90615535565b60405180910390fd5b8060128190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461266990614a92565b80601f016020809104026020016040519081016040528092919081815260200182805461269590614a92565b80156126e25780601f106126b7576101008083540402835291602001916126e2565b820191906000526020600020905b8154815290600101906020018083116126c557829003601f168201915b5050505050905090565b601360009054906101000a900460ff1661273b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273290615757565b60405180910390fd5b601154811115612780576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612777906157c3565b60405180910390fd5b601b5481600f5461279191906150e7565b11156127d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c990615189565b60405180910390fd5b6032601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548261281f91906150e7565b1115612860576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285790615855565b60405180910390fd5b600080600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016128be9190614424565b60206040518083038186803b1580156128d657600080fd5b505afa1580156128ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061290e9190614d24565b11905060008161292b5782601254612926919061508d565b612952565b606460508460125461293d919061508d565b612947919061508d565b61295191906158a4565b5b905034811115612997576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298e90615921565b60405180910390fd5b60005b838110156129be576129ab3361336c565b80806129b690614fd8565b91505061299a565b50505050565b6129d66129cf612f48565b838361351a565b5050565b60125481565b60115481565b6129f76129f1612f48565b83613027565b612a36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2d906153cb565b60405180910390fd5b612a4284848484613687565b50505050565b612a50612f48565b73ffffffffffffffffffffffffffffffffffffffff16612a6e612630565b73ffffffffffffffffffffffffffffffffffffffff1614612ac4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612abb90615535565b60405180910390fd5b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600f5481565b6060612b1982612edc565b612b58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4f906159b3565b60405180910390fd5b6000612b626136e3565b90506000815111612b825760405180602001604052806000815250612bad565b80612b8c84613775565b604051602001612b9d929190615a0f565b6040516020818303038152906040525b915050919050565b60176020528060005260406000206000915054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601360009054906101000a900460ff1681565b612c84612f48565b73ffffffffffffffffffffffffffffffffffffffff16612ca2612630565b73ffffffffffffffffffffffffffffffffffffffff1614612cf8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cef90615535565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612d68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5f90615aa5565b60405180910390fd5b612d7181613454565b50565b612d7c612f48565b73ffffffffffffffffffffffffffffffffffffffff16612d9a612630565b73ffffffffffffffffffffffffffffffffffffffff1614612df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612de790615535565b60405180910390fd5b8060118190555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612ec557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612ed55750612ed4826138d6565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612fc3836121bc565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b613023828260405180602001604052806000815250613940565b5050565b600061303282612edc565b613071576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161306890615b37565b60405180910390fd5b600061307c836121bc565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806130eb57508373ffffffffffffffffffffffffffffffffffffffff166130d384610ba1565b73ffffffffffffffffffffffffffffffffffffffff16145b806130fc57506130fb8185612bd5565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16613125826121bc565b73ffffffffffffffffffffffffffffffffffffffff161461317b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161317290615bc9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131e290615c5b565b60405180910390fd5b6131f683838361399b565b613201600082612f50565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132519190615c7b565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132a891906150e7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613367838383613aaf565b505050565b6000600160155461337d91906150e7565b905061270f8111801561339157506130d481105b6133d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133c790615261565b60405180910390fd5b806015819055506001601860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461342791906150e7565b92505081905550600f600081548092919061344190614fd8565b91905055506134508282613009565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613589576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161358090615cfb565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161367a91906142aa565b60405180910390a3505050565b613692848484613105565b61369e84848484613ab4565b6136dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136d490615d8d565b60405180910390fd5b50505050565b6060601480546136f290614a92565b80601f016020809104026020016040519081016040528092919081815260200182805461371e90614a92565b801561376b5780601f106137405761010080835404028352916020019161376b565b820191906000526020600020905b81548152906001019060200180831161374e57829003601f168201915b5050505050905090565b606060008214156137bd576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506138d1565b600082905060005b600082146137ef5780806137d890614fd8565b915050600a826137e891906158a4565b91506137c5565b60008167ffffffffffffffff81111561380b5761380a614507565b5b6040519080825280601f01601f19166020018201604052801561383d5781602001600182028036833780820191505090505b5090505b600085146138ca576001826138569190615c7b565b9150600a856138659190615dad565b603061387191906150e7565b60f81b81838151811061388757613886614dbd565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856138c391906158a4565b9450613841565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61394a8383613c4b565b6139576000848484613ab4565b613996576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161398d90615d8d565b60405180910390fd5b505050565b6139a6838383613e25565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156139e9576139e481613e2a565b613a28565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613a2757613a268382613e73565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613a6b57613a6681613fe0565b613aaa565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613aa957613aa882826140b1565b5b5b505050565b505050565b6000613ad58473ffffffffffffffffffffffffffffffffffffffff16614130565b15613c3e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613afe612f48565b8786866040518563ffffffff1660e01b8152600401613b209493929190615e33565b602060405180830381600087803b158015613b3a57600080fd5b505af1925050508015613b6b57506040513d601f19601f82011682018060405250810190613b689190615e94565b60015b613bee573d8060008114613b9b576040519150601f19603f3d011682016040523d82523d6000602084013e613ba0565b606091505b50600081511415613be6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bdd90615d8d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613c43565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613cbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613cb290615f0d565b60405180910390fd5b613cc481612edc565b15613d04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613cfb90615f79565b60405180910390fd5b613d106000838361399b565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613d6091906150e7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613e2160008383613aaf565b5050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613e80846123aa565b613e8a9190615c7b565b9050600060076000848152602001908152602001600020549050818114613f6f576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613ff49190615c7b565b905060006009600084815260200190815260200160002054905060006008838154811061402457614023614dbd565b5b90600052602060002001549050806008838154811061404657614045614dbd565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061409557614094615f99565b5b6001900381819060005260206000200160009055905550505050565b60006140bc836123aa565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461415f90614a92565b90600052602060002090601f01602090048101928261418157600085556141c8565b82601f1061419a57805160ff19168380011785556141c8565b828001600101855582156141c8579182015b828111156141c75782518255916020019190600101906141ac565b5b5090506141d591906141d9565b5090565b5b808211156141f25760008160009055506001016141da565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61423f8161420a565b811461424a57600080fd5b50565b60008135905061425c81614236565b92915050565b60006020828403121561427857614277614200565b5b60006142868482850161424d565b91505092915050565b60008115159050919050565b6142a48161428f565b82525050565b60006020820190506142bf600083018461429b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156142ff5780820151818401526020810190506142e4565b8381111561430e576000848401525b50505050565b6000601f19601f8301169050919050565b6000614330826142c5565b61433a81856142d0565b935061434a8185602086016142e1565b61435381614314565b840191505092915050565b600060208201905081810360008301526143788184614325565b905092915050565b6000819050919050565b61439381614380565b811461439e57600080fd5b50565b6000813590506143b08161438a565b92915050565b6000602082840312156143cc576143cb614200565b5b60006143da848285016143a1565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061440e826143e3565b9050919050565b61441e81614403565b82525050565b60006020820190506144396000830184614415565b92915050565b61444881614403565b811461445357600080fd5b50565b6000813590506144658161443f565b92915050565b6000806040838503121561448257614481614200565b5b600061449085828601614456565b92505060206144a1858286016143a1565b9150509250929050565b6000602082840312156144c1576144c0614200565b5b60006144cf84828501614456565b91505092915050565b6144e181614380565b82525050565b60006020820190506144fc60008301846144d8565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61453f82614314565b810181811067ffffffffffffffff8211171561455e5761455d614507565b5b80604052505050565b60006145716141f6565b905061457d8282614536565b919050565b600067ffffffffffffffff82111561459d5761459c614507565b5b602082029050602081019050919050565b600080fd5b60006145c66145c184614582565b614567565b905080838252602082019050602084028301858111156145e9576145e86145ae565b5b835b8181101561461257806145fe88826143a1565b8452602084019350506020810190506145eb565b5050509392505050565b600082601f83011261463157614630614502565b5b81356146418482602086016145b3565b91505092915050565b6000602082840312156146605761465f614200565b5b600082013567ffffffffffffffff81111561467e5761467d614205565b5b61468a8482850161461c565b91505092915050565b600080604083850312156146aa576146a9614200565b5b600083013567ffffffffffffffff8111156146c8576146c7614205565b5b6146d48582860161461c565b92505060206146e5858286016143a1565b9150509250929050565b60008060006060848603121561470857614707614200565b5b600061471686828701614456565b935050602061472786828701614456565b9250506040614738868287016143a1565b9150509250925092565b60008060006060848603121561475b5761475a614200565b5b600061476986828701614456565b935050602061477a868287016143a1565b925050604061478b868287016143a1565b9150509250925092565b600080fd5b600067ffffffffffffffff8211156147b5576147b4614507565b5b6147be82614314565b9050602081019050919050565b82818337600083830152505050565b60006147ed6147e88461479a565b614567565b90508281526020810184848401111561480957614808614795565b5b6148148482856147cb565b509392505050565b600082601f83011261483157614830614502565b5b81356148418482602086016147da565b91505092915050565b6000602082840312156148605761485f614200565b5b600082013567ffffffffffffffff81111561487e5761487d614205565b5b61488a8482850161481c565b91505092915050565b61489c8161428f565b81146148a757600080fd5b50565b6000813590506148b981614893565b92915050565b600080604083850312156148d6576148d5614200565b5b60006148e485828601614456565b92505060206148f5858286016148aa565b9150509250929050565b600067ffffffffffffffff82111561491a57614919614507565b5b61492382614314565b9050602081019050919050565b600061494361493e846148ff565b614567565b90508281526020810184848401111561495f5761495e614795565b5b61496a8482856147cb565b509392505050565b600082601f83011261498757614986614502565b5b8135614997848260208601614930565b91505092915050565b600080600080608085870312156149ba576149b9614200565b5b60006149c887828801614456565b94505060206149d987828801614456565b93505060406149ea878288016143a1565b925050606085013567ffffffffffffffff811115614a0b57614a0a614205565b5b614a1787828801614972565b91505092959194509250565b60008060408385031215614a3a57614a39614200565b5b6000614a4885828601614456565b9250506020614a5985828601614456565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614aaa57607f821691505b60208210811415614abe57614abd614a63565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614b20602c836142d0565b9150614b2b82614ac4565b604082019050919050565b60006020820190508181036000830152614b4f81614b13565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614bb26021836142d0565b9150614bbd82614b56565b604082019050919050565b60006020820190508181036000830152614be181614ba5565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614c446038836142d0565b9150614c4f82614be8565b604082019050919050565b60006020820190508181036000830152614c7381614c37565b9050919050565b7f436c61696d206e6f742061637469766500000000000000000000000000000000600082015250565b6000614cb06010836142d0565b9150614cbb82614c7a565b602082019050919050565b60006020820190508181036000830152614cdf81614ca3565b9050919050565b6000604082019050614cfb6000830185614415565b614d0860208301846144d8565b9392505050565b600081519050614d1e8161438a565b92915050565b600060208284031215614d3a57614d39614200565b5b6000614d4884828501614d0f565b91505092915050565b7f546f6f2066657720426c6f6f6400000000000000000000000000000000000000600082015250565b6000614d87600d836142d0565b9150614d9282614d51565b602082019050919050565b60006020820190508181036000830152614db681614d7a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f43616e206f6e6c7920636c61696d204c6f726400000000000000000000000000600082015250565b6000614e226013836142d0565b9150614e2d82614dec565b602082019050919050565b60006020820190508181036000830152614e5181614e15565b9050919050565b7f416c726561647920636c61696d65640000000000000000000000000000000000600082015250565b6000614e8e600f836142d0565b9150614e9982614e58565b602082019050919050565b60006020820190508181036000830152614ebd81614e81565b9050919050565b600081519050614ed38161443f565b92915050565b600060208284031215614eef57614eee614200565b5b6000614efd84828501614ec4565b91505092915050565b7f4d757374206f776e206f726967696e616c204c6f726400000000000000000000600082015250565b6000614f3c6016836142d0565b9150614f4782614f06565b602082019050919050565b60006020820190508181036000830152614f6b81614f2f565b9050919050565b6000606082019050614f8760008301866144d8565b614f946020830185614415565b614fa160408301846144d8565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614fe382614380565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561501657615015614fa9565b5b600182019050919050565b7f57726f6e67206c6576656c000000000000000000000000000000000000000000600082015250565b6000615057600b836142d0565b915061506282615021565b602082019050919050565b600060208201905081810360008301526150868161504a565b9050919050565b600061509882614380565b91506150a383614380565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156150dc576150db614fa9565b5b828202905092915050565b60006150f282614380565b91506150fd83614380565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561513257615131614fa9565b5b828201905092915050565b7f45786365656473206d617820616d6f756e740000000000000000000000000000600082015250565b60006151736012836142d0565b915061517e8261513d565b602082019050919050565b600060208201905081810360008301526151a281615166565b9050919050565b7f4c696d6974206973203530204c32207065722077616c6c657400000000000000600082015250565b60006151df6019836142d0565b91506151ea826151a9565b602082019050919050565b6000602082019050818103600083015261520e816151d2565b9050919050565b7f57726f6e67204944000000000000000000000000000000000000000000000000600082015250565b600061524b6008836142d0565b915061525682615215565b602082019050919050565b6000602082019050818103600083015261527a8161523e565b9050919050565b7f43616e2774206d696e74204c6f72640000000000000000000000000000000000600082015250565b60006152b7600f836142d0565b91506152c282615281565b602082019050919050565b600060208201905081810360008301526152e6816152aa565b9050919050565b7f4d757374206f776e2043727970746f536b756c6c000000000000000000000000600082015250565b60006153236014836142d0565b915061532e826152ed565b602082019050919050565b6000602082019050818103600083015261535281615316565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006153b56031836142d0565b91506153c082615359565b604082019050919050565b600060208201905081810360008301526153e4816153a8565b9050919050565b7f496e76616c69642063616c6c6572000000000000000000000000000000000000600082015250565b6000615421600e836142d0565b915061542c826153eb565b602082019050919050565b6000602082019050818103600083015261545081615414565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006154b3602b836142d0565b91506154be82615457565b604082019050919050565b600060208201905081810360008301526154e2816154a6565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061551f6020836142d0565b915061552a826154e9565b602082019050919050565b6000602082019050818103600083015261554e81615512565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006155b1602c836142d0565b91506155bc82615555565b604082019050919050565b600060208201905081810360008301526155e0816155a4565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006156436029836142d0565b915061564e826155e7565b604082019050919050565b6000602082019050818103600083015261567281615636565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006156d5602a836142d0565b91506156e082615679565b604082019050919050565b60006020820190508181036000830152615704816156c8565b9050919050565b7f53616c65206e6f74206163746976650000000000000000000000000000000000600082015250565b6000615741600f836142d0565b915061574c8261570b565b602082019050919050565b6000602082019050818103600083015261577081615734565b9050919050565b7f54786e206c696d69740000000000000000000000000000000000000000000000600082015250565b60006157ad6009836142d0565b91506157b882615777565b602082019050919050565b600060208201905081810360008301526157dc816157a0565b9050919050565b7f596f752063616e2774206d696e74206d6f7265207468616e203530204c32207060008201527f65722077616c6c65740000000000000000000000000000000000000000000000602082015250565b600061583f6029836142d0565b915061584a826157e3565b604082019050919050565b6000602082019050818103600083015261586e81615832565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006158af82614380565b91506158ba83614380565b9250826158ca576158c9615875565b5b828204905092915050565b7f4c6f772045544800000000000000000000000000000000000000000000000000600082015250565b600061590b6007836142d0565b9150615916826158d5565b602082019050919050565b6000602082019050818103600083015261593a816158fe565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061599d602f836142d0565b91506159a882615941565b604082019050919050565b600060208201905081810360008301526159cc81615990565b9050919050565b600081905092915050565b60006159e9826142c5565b6159f381856159d3565b9350615a038185602086016142e1565b80840191505092915050565b6000615a1b82856159de565b9150615a2782846159de565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615a8f6026836142d0565b9150615a9a82615a33565b604082019050919050565b60006020820190508181036000830152615abe81615a82565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000615b21602c836142d0565b9150615b2c82615ac5565b604082019050919050565b60006020820190508181036000830152615b5081615b14565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000615bb36025836142d0565b9150615bbe82615b57565b604082019050919050565b60006020820190508181036000830152615be281615ba6565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615c456024836142d0565b9150615c5082615be9565b604082019050919050565b60006020820190508181036000830152615c7481615c38565b9050919050565b6000615c8682614380565b9150615c9183614380565b925082821015615ca457615ca3614fa9565b5b828203905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615ce56019836142d0565b9150615cf082615caf565b602082019050919050565b60006020820190508181036000830152615d1481615cd8565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615d776032836142d0565b9150615d8282615d1b565b604082019050919050565b60006020820190508181036000830152615da681615d6a565b9050919050565b6000615db882614380565b9150615dc383614380565b925082615dd357615dd2615875565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000615e0582615dde565b615e0f8185615de9565b9350615e1f8185602086016142e1565b615e2881614314565b840191505092915050565b6000608082019050615e486000830187614415565b615e556020830186614415565b615e6260408301856144d8565b8181036060830152615e748184615dfa565b905095945050505050565b600081519050615e8e81614236565b92915050565b600060208284031215615eaa57615ea9614200565b5b6000615eb884828501615e7f565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615ef76020836142d0565b9150615f0282615ec1565b602082019050919050565b60006020820190508181036000830152615f2681615eea565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615f63601c836142d0565b9150615f6e82615f2d565b602082019050919050565b60006020820190508181036000830152615f9281615f56565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220bf58a60544071d64300179369d107728d47b9362a08fe7f7488f53aa22522c3a64736f6c6343000809003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000c1caf0c19a8ac28c41fe59ba6c754e4b9bd54de9000000000000000000000000f6e12a3b482c8d51a0f66e6d80c496c310833389000000000000000000000000000000000000000000000000000000000000000d44656d6f6e6963536b756c6c7300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d44656d6f6e6963536b756c6c7300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002268747470733a2f2f6170692e64656d6f6e6963736b756c6c732e636f6d2f6e65772f000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061027d5760003560e01c80636352211e1161014f578063a22cb465116100c1578063c87b56dd1161007a578063c87b56dd14610961578063e5a342a31461099e578063e985e9c5146109db578063eb8d244414610a18578063f2fde38b14610a43578063f7c64f9e14610a6c5761027d565b8063a22cb46514610865578063a67104801461088e578063af54001e146108b9578063b88d4fde146108e4578063bec0eb011461090d578063c3efa64c146109365761027d565b8063715018a611610113578063715018a61461078a57806375796f76146107a15780637ba9466b146107ca5780638da5cb5b146107f357806395d89b411461081e578063a0712d68146108495761027d565b80636352211e146106a357806367007af6146106e05780636c0360eb1461070b5780636d60e6c11461073657806370a082311461074d5761027d565b80632f745c59116101f357806342842e0e116101ac57806342842e0e146105815780634569f0af146105aa5780634a7d80b3146105e75780634f6ccce7146106125780635303f68c1461064f57806355f804b31461067a5761027d565b80632f745c591461049957806331d84a1c146104d657806334918dfd146104ff5780633a35ccc8146105165780633ccfd60b14610541578063402ffc5a146105585761027d565b806318160ddd1161024557806318160ddd1461038d5780631cac10c6146103b857806320d10169146103e157806323b872dd1461040a57806328bb55ba146104335780632c15ad58146104705761027d565b806301ffc9a71461028257806306fdde03146102bf578063081812fc146102ea578063095ea7b3146103275780630e78795e14610350575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a49190614262565b610a95565b6040516102b691906142aa565b60405180910390f35b3480156102cb57600080fd5b506102d4610b0f565b6040516102e1919061435e565b60405180910390f35b3480156102f657600080fd5b50610311600480360381019061030c91906143b6565b610ba1565b60405161031e9190614424565b60405180910390f35b34801561033357600080fd5b5061034e6004803603810190610349919061446b565b610c26565b005b34801561035c57600080fd5b50610377600480360381019061037291906144ab565b610d3e565b60405161038491906144e7565b60405180910390f35b34801561039957600080fd5b506103a2610d56565b6040516103af91906144e7565b60405180910390f35b3480156103c457600080fd5b506103df60048036038101906103da919061464a565b610d63565b005b3480156103ed57600080fd5b5061040860048036038101906104039190614693565b611187565b005b34801561041657600080fd5b50610431600480360381019061042c91906146ef565b611901565b005b34801561043f57600080fd5b5061045a600480360381019061045591906144ab565b611961565b60405161046791906144e7565b60405180910390f35b34801561047c57600080fd5b50610497600480360381019061049291906144ab565b611979565b005b3480156104a557600080fd5b506104c060048036038101906104bb919061446b565b611a35565b6040516104cd91906144e7565b60405180910390f35b3480156104e257600080fd5b506104fd60048036038101906104f89190614742565b611ada565b005b34801561050b57600080fd5b50610514611d9f565b005b34801561052257600080fd5b5061052b611e47565b60405161053891906144e7565b60405180910390f35b34801561054d57600080fd5b50610556611e4d565b005b34801561056457600080fd5b5061057f600480360381019061057a91906143b6565b611f2b565b005b34801561058d57600080fd5b506105a860048036038101906105a391906146ef565b61203c565b005b3480156105b657600080fd5b506105d160048036038101906105cc91906143b6565b61205c565b6040516105de91906142aa565b60405180910390f35b3480156105f357600080fd5b506105fc61207c565b6040516106099190614424565b60405180910390f35b34801561061e57600080fd5b50610639600480360381019061063491906143b6565b6120a2565b60405161064691906144e7565b60405180910390f35b34801561065b57600080fd5b50610664612113565b60405161067191906142aa565b60405180910390f35b34801561068657600080fd5b506106a1600480360381019061069c919061484a565b612126565b005b3480156106af57600080fd5b506106ca60048036038101906106c591906143b6565b6121bc565b6040516106d79190614424565b60405180910390f35b3480156106ec57600080fd5b506106f561226e565b60405161070291906144e7565b60405180910390f35b34801561071757600080fd5b50610720612274565b60405161072d919061435e565b60405180910390f35b34801561074257600080fd5b5061074b612302565b005b34801561075957600080fd5b50610774600480360381019061076f91906144ab565b6123aa565b60405161078191906144e7565b60405180910390f35b34801561079657600080fd5b5061079f612462565b005b3480156107ad57600080fd5b506107c860048036038101906107c391906144ab565b6124ea565b005b3480156107d657600080fd5b506107f160048036038101906107ec91906143b6565b6125aa565b005b3480156107ff57600080fd5b50610808612630565b6040516108159190614424565b60405180910390f35b34801561082a57600080fd5b5061083361265a565b604051610840919061435e565b60405180910390f35b610863600480360381019061085e91906143b6565b6126ec565b005b34801561087157600080fd5b5061088c600480360381019061088791906148bf565b6129c4565b005b34801561089a57600080fd5b506108a36129da565b6040516108b091906144e7565b60405180910390f35b3480156108c557600080fd5b506108ce6129e0565b6040516108db91906144e7565b60405180910390f35b3480156108f057600080fd5b5061090b600480360381019061090691906149a0565b6129e6565b005b34801561091957600080fd5b50610934600480360381019061092f91906144ab565b612a48565b005b34801561094257600080fd5b5061094b612b08565b60405161095891906144e7565b60405180910390f35b34801561096d57600080fd5b50610988600480360381019061098391906143b6565b612b0e565b604051610995919061435e565b60405180910390f35b3480156109aa57600080fd5b506109c560048036038101906109c091906143b6565b612bb5565b6040516109d291906142aa565b60405180910390f35b3480156109e757600080fd5b50610a0260048036038101906109fd9190614a23565b612bd5565b604051610a0f91906142aa565b60405180910390f35b348015610a2457600080fd5b50610a2d612c69565b604051610a3a91906142aa565b60405180910390f35b348015610a4f57600080fd5b50610a6a6004803603810190610a6591906144ab565b612c7c565b005b348015610a7857600080fd5b50610a936004803603810190610a8e91906143b6565b612d74565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b085750610b0782612dfa565b5b9050919050565b606060008054610b1e90614a92565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4a90614a92565b8015610b975780601f10610b6c57610100808354040283529160200191610b97565b820191906000526020600020905b815481529060010190602001808311610b7a57829003601f168201915b5050505050905090565b6000610bac82612edc565b610beb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be290614b36565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c31826121bc565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ca2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9990614bc8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cc1612f48565b73ffffffffffffffffffffffffffffffffffffffff161480610cf05750610cef81610cea612f48565b612bd5565b5b610d2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2690614c5a565b60405180910390fd5b610d398383612f50565b505050565b60186020528060005260406000206000915090505481565b6000600880549050905090565b601360019054906101000a900460ff16610db2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da990614cc6565b60405180910390fd5b8051600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360016040518363ffffffff1660e01b8152600401610e11929190614ce6565b60206040518083038186803b158015610e2957600080fd5b505afa158015610e3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e619190614d24565b1015610ea2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9990614d9d565b60405180910390fd5b60005b8151811015611183576000828281518110610ec357610ec2614dbd565b5b60200260200101519050601a600082815260200190815260200160002060009054906101000a900460ff16610f2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2490614e38565b60405180910390fd5b6017600082815260200190815260200160002060009054906101000a900460ff1615610f8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8590614ea4565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b815260040161100091906144e7565b60206040518083038186803b15801561101857600080fd5b505afa15801561102c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110509190614ed9565b73ffffffffffffffffffffffffffffffffffffffff16146110a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109d90614f52565b60405180910390fd5b60016017600083815260200190815260200160002060006101000a81548160ff021916908315150217905550600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d777225560013360016040518463ffffffff1660e01b815260040161113393929190614f72565b600060405180830381600087803b15801561114d57600080fd5b505af1158015611161573d6000803e3d6000fd5b5050505061116f3382613009565b50808061117b90614fd8565b915050610ea5565b5050565b601360019054906101000a900460ff166111d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111cd90614cc6565b60405180910390fd5b60018114806111e55750600381145b611224576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121b9061506d565b60405180910390fd5b815181611231919061508d565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360006040518363ffffffff1660e01b815260040161128e929190614ce6565b60206040518083038186803b1580156112a657600080fd5b505afa1580156112ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112de9190614d24565b101561131f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131690614d9d565b60405180910390fd5b600381141561140b57601b548251600f5461133a91906150e7565b111561137b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137290615189565b60405180910390fd5b6032601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205483516113c991906150e7565b111561140a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611401906151f5565b60405180910390fd5b5b60005b82518110156118fc57600083828151811061142c5761142b614dbd565b5b6020026020010151905060008110158015611449575061270f8111155b611488576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147f90615261565b60405180910390fd5b601a600082815260200190815260200160002060009054906101000a900460ff16156114e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e0906152cd565b60405180910390fd5b6017600082815260200190815260200160002060009054906101000a900460ff161561154a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154190614ea4565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016115bc91906144e7565b60206040518083038186803b1580156115d457600080fd5b505afa1580156115e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061160c9190614ed9565b73ffffffffffffffffffffffffffffffffffffffff1614611662576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165990615339565b60405180910390fd5b60018314156117395760016017600083815260200190815260200160002060006101000a81548160ff021916908315150217905550600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d777225560003360016040518463ffffffff1660e01b81526004016116f893929190614f72565b600060405180830381600087803b15801561171257600080fd5b505af1158015611726573d6000803e3d6000fd5b505050506117343382613009565b6118e8565b60038314156118e7576000600160155461175391906150e7565b905061270f8111801561176757506130d481105b6117a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179d90615261565b60405180910390fd5b60016017600084815260200190815260200160002060006101000a81548160ff021916908315150217905550806015819055506001601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461182991906150e7565b92505081905550600f600081548092919061184390614fd8565b9190505550600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d777225560003360036040518463ffffffff1660e01b81526004016118a993929190614f72565b600060405180830381600087803b1580156118c357600080fd5b505af11580156118d7573d6000803e3d6000fd5b505050506118e53382613009565b505b5b5080806118f490614fd8565b91505061140e565b505050565b61191261190c612f48565b82613027565b611951576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611948906153cb565b60405180910390fd5b61195c838383613105565b505050565b60196020528060005260406000206000915090505481565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611a09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0090615437565b60405180910390fd5b60005b6002811015611a3157611a1e8261336c565b8080611a2990614fd8565b915050611a0c565b5050565b6000611a40836123aa565b8210611a81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a78906154c9565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611b6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6190615437565b60405180910390fd5b6001821415611bd45760008110158015611b86575061270f8111155b611bc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bbc90615261565b60405180910390fd5b611bcf8382613009565b611d9a565b6003821415611cc45761270f81118015611bef57506130d481105b611c2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2590615261565b60405180910390fd5b6001601860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c7e91906150e7565b92505081905550600f6000815480929190611c9890614fd8565b919050555060156000815480929190611cb090614fd8565b9190505550611cbf8382613009565b611d99565b6005821415611d98576130d381118015611cdf575061316a81105b611d1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1590615261565b60405180910390fd5b6001601960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d6e91906150e7565b9250508190555060106000815480929190611d8890614fd8565b9190505550611d978382613009565b5b5b5b505050565b611da7612f48565b73ffffffffffffffffffffffffffffffffffffffff16611dc5612630565b73ffffffffffffffffffffffffffffffffffffffff1614611e1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1290615535565b60405180910390fd5b601360009054906101000a900460ff1615601360006101000a81548160ff021916908315150217905550565b60155481565b611e55612f48565b73ffffffffffffffffffffffffffffffffffffffff16611e73612630565b73ffffffffffffffffffffffffffffffffffffffff1614611ec9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec090615535565b60405180910390fd5b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050611f2957600080fd5b565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611fbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb290615437565b60405180910390fd5b60008110158015611fce575061270f8111155b61200d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200490615261565b60405180910390fd5b60016017600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b612057838383604051806020016040528060008152506129e6565b505050565b601a6020528060005260406000206000915054906101000a900460ff1681565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006120ac610d56565b82106120ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e4906155c7565b60405180910390fd5b6008828154811061210157612100614dbd565b5b90600052602060002001549050919050565b601360019054906101000a900460ff1681565b61212e612f48565b73ffffffffffffffffffffffffffffffffffffffff1661214c612630565b73ffffffffffffffffffffffffffffffffffffffff16146121a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219990615535565b60405180910390fd5b80601490805190602001906121b8929190614153565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612265576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225c90615659565b60405180910390fd5b80915050919050565b60105481565b6014805461228190614a92565b80601f01602080910402602001604051908101604052809291908181526020018280546122ad90614a92565b80156122fa5780601f106122cf576101008083540402835291602001916122fa565b820191906000526020600020905b8154815290600101906020018083116122dd57829003601f168201915b505050505081565b61230a612f48565b73ffffffffffffffffffffffffffffffffffffffff16612328612630565b73ffffffffffffffffffffffffffffffffffffffff161461237e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237590615535565b60405180910390fd5b601360019054906101000a900460ff1615601360016101000a81548160ff021916908315150217905550565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561241b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612412906156eb565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61246a612f48565b73ffffffffffffffffffffffffffffffffffffffff16612488612630565b73ffffffffffffffffffffffffffffffffffffffff16146124de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d590615535565b60405180910390fd5b6124e86000613454565b565b6124f2612f48565b73ffffffffffffffffffffffffffffffffffffffff16612510612630565b73ffffffffffffffffffffffffffffffffffffffff1614612566576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255d90615535565b60405180910390fd5b80601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6125b2612f48565b73ffffffffffffffffffffffffffffffffffffffff166125d0612630565b73ffffffffffffffffffffffffffffffffffffffff1614612626576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261d90615535565b60405180910390fd5b8060128190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461266990614a92565b80601f016020809104026020016040519081016040528092919081815260200182805461269590614a92565b80156126e25780601f106126b7576101008083540402835291602001916126e2565b820191906000526020600020905b8154815290600101906020018083116126c557829003601f168201915b5050505050905090565b601360009054906101000a900460ff1661273b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273290615757565b60405180910390fd5b601154811115612780576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612777906157c3565b60405180910390fd5b601b5481600f5461279191906150e7565b11156127d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c990615189565b60405180910390fd5b6032601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548261281f91906150e7565b1115612860576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285790615855565b60405180910390fd5b600080600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016128be9190614424565b60206040518083038186803b1580156128d657600080fd5b505afa1580156128ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061290e9190614d24565b11905060008161292b5782601254612926919061508d565b612952565b606460508460125461293d919061508d565b612947919061508d565b61295191906158a4565b5b905034811115612997576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298e90615921565b60405180910390fd5b60005b838110156129be576129ab3361336c565b80806129b690614fd8565b91505061299a565b50505050565b6129d66129cf612f48565b838361351a565b5050565b60125481565b60115481565b6129f76129f1612f48565b83613027565b612a36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2d906153cb565b60405180910390fd5b612a4284848484613687565b50505050565b612a50612f48565b73ffffffffffffffffffffffffffffffffffffffff16612a6e612630565b73ffffffffffffffffffffffffffffffffffffffff1614612ac4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612abb90615535565b60405180910390fd5b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600f5481565b6060612b1982612edc565b612b58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4f906159b3565b60405180910390fd5b6000612b626136e3565b90506000815111612b825760405180602001604052806000815250612bad565b80612b8c84613775565b604051602001612b9d929190615a0f565b6040516020818303038152906040525b915050919050565b60176020528060005260406000206000915054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601360009054906101000a900460ff1681565b612c84612f48565b73ffffffffffffffffffffffffffffffffffffffff16612ca2612630565b73ffffffffffffffffffffffffffffffffffffffff1614612cf8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cef90615535565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612d68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5f90615aa5565b60405180910390fd5b612d7181613454565b50565b612d7c612f48565b73ffffffffffffffffffffffffffffffffffffffff16612d9a612630565b73ffffffffffffffffffffffffffffffffffffffff1614612df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612de790615535565b60405180910390fd5b8060118190555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612ec557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612ed55750612ed4826138d6565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612fc3836121bc565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b613023828260405180602001604052806000815250613940565b5050565b600061303282612edc565b613071576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161306890615b37565b60405180910390fd5b600061307c836121bc565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806130eb57508373ffffffffffffffffffffffffffffffffffffffff166130d384610ba1565b73ffffffffffffffffffffffffffffffffffffffff16145b806130fc57506130fb8185612bd5565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16613125826121bc565b73ffffffffffffffffffffffffffffffffffffffff161461317b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161317290615bc9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131e290615c5b565b60405180910390fd5b6131f683838361399b565b613201600082612f50565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132519190615c7b565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132a891906150e7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613367838383613aaf565b505050565b6000600160155461337d91906150e7565b905061270f8111801561339157506130d481105b6133d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133c790615261565b60405180910390fd5b806015819055506001601860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461342791906150e7565b92505081905550600f600081548092919061344190614fd8565b91905055506134508282613009565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613589576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161358090615cfb565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161367a91906142aa565b60405180910390a3505050565b613692848484613105565b61369e84848484613ab4565b6136dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136d490615d8d565b60405180910390fd5b50505050565b6060601480546136f290614a92565b80601f016020809104026020016040519081016040528092919081815260200182805461371e90614a92565b801561376b5780601f106137405761010080835404028352916020019161376b565b820191906000526020600020905b81548152906001019060200180831161374e57829003601f168201915b5050505050905090565b606060008214156137bd576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506138d1565b600082905060005b600082146137ef5780806137d890614fd8565b915050600a826137e891906158a4565b91506137c5565b60008167ffffffffffffffff81111561380b5761380a614507565b5b6040519080825280601f01601f19166020018201604052801561383d5781602001600182028036833780820191505090505b5090505b600085146138ca576001826138569190615c7b565b9150600a856138659190615dad565b603061387191906150e7565b60f81b81838151811061388757613886614dbd565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856138c391906158a4565b9450613841565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61394a8383613c4b565b6139576000848484613ab4565b613996576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161398d90615d8d565b60405180910390fd5b505050565b6139a6838383613e25565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156139e9576139e481613e2a565b613a28565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613a2757613a268382613e73565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613a6b57613a6681613fe0565b613aaa565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613aa957613aa882826140b1565b5b5b505050565b505050565b6000613ad58473ffffffffffffffffffffffffffffffffffffffff16614130565b15613c3e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613afe612f48565b8786866040518563ffffffff1660e01b8152600401613b209493929190615e33565b602060405180830381600087803b158015613b3a57600080fd5b505af1925050508015613b6b57506040513d601f19601f82011682018060405250810190613b689190615e94565b60015b613bee573d8060008114613b9b576040519150601f19603f3d011682016040523d82523d6000602084013e613ba0565b606091505b50600081511415613be6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bdd90615d8d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613c43565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613cbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613cb290615f0d565b60405180910390fd5b613cc481612edc565b15613d04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613cfb90615f79565b60405180910390fd5b613d106000838361399b565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613d6091906150e7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613e2160008383613aaf565b5050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613e80846123aa565b613e8a9190615c7b565b9050600060076000848152602001908152602001600020549050818114613f6f576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613ff49190615c7b565b905060006009600084815260200190815260200160002054905060006008838154811061402457614023614dbd565b5b90600052602060002001549050806008838154811061404657614045614dbd565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061409557614094615f99565b5b6001900381819060005260206000200160009055905550505050565b60006140bc836123aa565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461415f90614a92565b90600052602060002090601f01602090048101928261418157600085556141c8565b82601f1061419a57805160ff19168380011785556141c8565b828001600101855582156141c8579182015b828111156141c75782518255916020019190600101906141ac565b5b5090506141d591906141d9565b5090565b5b808211156141f25760008160009055506001016141da565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61423f8161420a565b811461424a57600080fd5b50565b60008135905061425c81614236565b92915050565b60006020828403121561427857614277614200565b5b60006142868482850161424d565b91505092915050565b60008115159050919050565b6142a48161428f565b82525050565b60006020820190506142bf600083018461429b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156142ff5780820151818401526020810190506142e4565b8381111561430e576000848401525b50505050565b6000601f19601f8301169050919050565b6000614330826142c5565b61433a81856142d0565b935061434a8185602086016142e1565b61435381614314565b840191505092915050565b600060208201905081810360008301526143788184614325565b905092915050565b6000819050919050565b61439381614380565b811461439e57600080fd5b50565b6000813590506143b08161438a565b92915050565b6000602082840312156143cc576143cb614200565b5b60006143da848285016143a1565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061440e826143e3565b9050919050565b61441e81614403565b82525050565b60006020820190506144396000830184614415565b92915050565b61444881614403565b811461445357600080fd5b50565b6000813590506144658161443f565b92915050565b6000806040838503121561448257614481614200565b5b600061449085828601614456565b92505060206144a1858286016143a1565b9150509250929050565b6000602082840312156144c1576144c0614200565b5b60006144cf84828501614456565b91505092915050565b6144e181614380565b82525050565b60006020820190506144fc60008301846144d8565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61453f82614314565b810181811067ffffffffffffffff8211171561455e5761455d614507565b5b80604052505050565b60006145716141f6565b905061457d8282614536565b919050565b600067ffffffffffffffff82111561459d5761459c614507565b5b602082029050602081019050919050565b600080fd5b60006145c66145c184614582565b614567565b905080838252602082019050602084028301858111156145e9576145e86145ae565b5b835b8181101561461257806145fe88826143a1565b8452602084019350506020810190506145eb565b5050509392505050565b600082601f83011261463157614630614502565b5b81356146418482602086016145b3565b91505092915050565b6000602082840312156146605761465f614200565b5b600082013567ffffffffffffffff81111561467e5761467d614205565b5b61468a8482850161461c565b91505092915050565b600080604083850312156146aa576146a9614200565b5b600083013567ffffffffffffffff8111156146c8576146c7614205565b5b6146d48582860161461c565b92505060206146e5858286016143a1565b9150509250929050565b60008060006060848603121561470857614707614200565b5b600061471686828701614456565b935050602061472786828701614456565b9250506040614738868287016143a1565b9150509250925092565b60008060006060848603121561475b5761475a614200565b5b600061476986828701614456565b935050602061477a868287016143a1565b925050604061478b868287016143a1565b9150509250925092565b600080fd5b600067ffffffffffffffff8211156147b5576147b4614507565b5b6147be82614314565b9050602081019050919050565b82818337600083830152505050565b60006147ed6147e88461479a565b614567565b90508281526020810184848401111561480957614808614795565b5b6148148482856147cb565b509392505050565b600082601f83011261483157614830614502565b5b81356148418482602086016147da565b91505092915050565b6000602082840312156148605761485f614200565b5b600082013567ffffffffffffffff81111561487e5761487d614205565b5b61488a8482850161481c565b91505092915050565b61489c8161428f565b81146148a757600080fd5b50565b6000813590506148b981614893565b92915050565b600080604083850312156148d6576148d5614200565b5b60006148e485828601614456565b92505060206148f5858286016148aa565b9150509250929050565b600067ffffffffffffffff82111561491a57614919614507565b5b61492382614314565b9050602081019050919050565b600061494361493e846148ff565b614567565b90508281526020810184848401111561495f5761495e614795565b5b61496a8482856147cb565b509392505050565b600082601f83011261498757614986614502565b5b8135614997848260208601614930565b91505092915050565b600080600080608085870312156149ba576149b9614200565b5b60006149c887828801614456565b94505060206149d987828801614456565b93505060406149ea878288016143a1565b925050606085013567ffffffffffffffff811115614a0b57614a0a614205565b5b614a1787828801614972565b91505092959194509250565b60008060408385031215614a3a57614a39614200565b5b6000614a4885828601614456565b9250506020614a5985828601614456565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614aaa57607f821691505b60208210811415614abe57614abd614a63565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614b20602c836142d0565b9150614b2b82614ac4565b604082019050919050565b60006020820190508181036000830152614b4f81614b13565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614bb26021836142d0565b9150614bbd82614b56565b604082019050919050565b60006020820190508181036000830152614be181614ba5565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614c446038836142d0565b9150614c4f82614be8565b604082019050919050565b60006020820190508181036000830152614c7381614c37565b9050919050565b7f436c61696d206e6f742061637469766500000000000000000000000000000000600082015250565b6000614cb06010836142d0565b9150614cbb82614c7a565b602082019050919050565b60006020820190508181036000830152614cdf81614ca3565b9050919050565b6000604082019050614cfb6000830185614415565b614d0860208301846144d8565b9392505050565b600081519050614d1e8161438a565b92915050565b600060208284031215614d3a57614d39614200565b5b6000614d4884828501614d0f565b91505092915050565b7f546f6f2066657720426c6f6f6400000000000000000000000000000000000000600082015250565b6000614d87600d836142d0565b9150614d9282614d51565b602082019050919050565b60006020820190508181036000830152614db681614d7a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f43616e206f6e6c7920636c61696d204c6f726400000000000000000000000000600082015250565b6000614e226013836142d0565b9150614e2d82614dec565b602082019050919050565b60006020820190508181036000830152614e5181614e15565b9050919050565b7f416c726561647920636c61696d65640000000000000000000000000000000000600082015250565b6000614e8e600f836142d0565b9150614e9982614e58565b602082019050919050565b60006020820190508181036000830152614ebd81614e81565b9050919050565b600081519050614ed38161443f565b92915050565b600060208284031215614eef57614eee614200565b5b6000614efd84828501614ec4565b91505092915050565b7f4d757374206f776e206f726967696e616c204c6f726400000000000000000000600082015250565b6000614f3c6016836142d0565b9150614f4782614f06565b602082019050919050565b60006020820190508181036000830152614f6b81614f2f565b9050919050565b6000606082019050614f8760008301866144d8565b614f946020830185614415565b614fa160408301846144d8565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614fe382614380565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561501657615015614fa9565b5b600182019050919050565b7f57726f6e67206c6576656c000000000000000000000000000000000000000000600082015250565b6000615057600b836142d0565b915061506282615021565b602082019050919050565b600060208201905081810360008301526150868161504a565b9050919050565b600061509882614380565b91506150a383614380565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156150dc576150db614fa9565b5b828202905092915050565b60006150f282614380565b91506150fd83614380565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561513257615131614fa9565b5b828201905092915050565b7f45786365656473206d617820616d6f756e740000000000000000000000000000600082015250565b60006151736012836142d0565b915061517e8261513d565b602082019050919050565b600060208201905081810360008301526151a281615166565b9050919050565b7f4c696d6974206973203530204c32207065722077616c6c657400000000000000600082015250565b60006151df6019836142d0565b91506151ea826151a9565b602082019050919050565b6000602082019050818103600083015261520e816151d2565b9050919050565b7f57726f6e67204944000000000000000000000000000000000000000000000000600082015250565b600061524b6008836142d0565b915061525682615215565b602082019050919050565b6000602082019050818103600083015261527a8161523e565b9050919050565b7f43616e2774206d696e74204c6f72640000000000000000000000000000000000600082015250565b60006152b7600f836142d0565b91506152c282615281565b602082019050919050565b600060208201905081810360008301526152e6816152aa565b9050919050565b7f4d757374206f776e2043727970746f536b756c6c000000000000000000000000600082015250565b60006153236014836142d0565b915061532e826152ed565b602082019050919050565b6000602082019050818103600083015261535281615316565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006153b56031836142d0565b91506153c082615359565b604082019050919050565b600060208201905081810360008301526153e4816153a8565b9050919050565b7f496e76616c69642063616c6c6572000000000000000000000000000000000000600082015250565b6000615421600e836142d0565b915061542c826153eb565b602082019050919050565b6000602082019050818103600083015261545081615414565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006154b3602b836142d0565b91506154be82615457565b604082019050919050565b600060208201905081810360008301526154e2816154a6565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061551f6020836142d0565b915061552a826154e9565b602082019050919050565b6000602082019050818103600083015261554e81615512565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006155b1602c836142d0565b91506155bc82615555565b604082019050919050565b600060208201905081810360008301526155e0816155a4565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006156436029836142d0565b915061564e826155e7565b604082019050919050565b6000602082019050818103600083015261567281615636565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006156d5602a836142d0565b91506156e082615679565b604082019050919050565b60006020820190508181036000830152615704816156c8565b9050919050565b7f53616c65206e6f74206163746976650000000000000000000000000000000000600082015250565b6000615741600f836142d0565b915061574c8261570b565b602082019050919050565b6000602082019050818103600083015261577081615734565b9050919050565b7f54786e206c696d69740000000000000000000000000000000000000000000000600082015250565b60006157ad6009836142d0565b91506157b882615777565b602082019050919050565b600060208201905081810360008301526157dc816157a0565b9050919050565b7f596f752063616e2774206d696e74206d6f7265207468616e203530204c32207060008201527f65722077616c6c65740000000000000000000000000000000000000000000000602082015250565b600061583f6029836142d0565b915061584a826157e3565b604082019050919050565b6000602082019050818103600083015261586e81615832565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006158af82614380565b91506158ba83614380565b9250826158ca576158c9615875565b5b828204905092915050565b7f4c6f772045544800000000000000000000000000000000000000000000000000600082015250565b600061590b6007836142d0565b9150615916826158d5565b602082019050919050565b6000602082019050818103600083015261593a816158fe565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061599d602f836142d0565b91506159a882615941565b604082019050919050565b600060208201905081810360008301526159cc81615990565b9050919050565b600081905092915050565b60006159e9826142c5565b6159f381856159d3565b9350615a038185602086016142e1565b80840191505092915050565b6000615a1b82856159de565b9150615a2782846159de565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615a8f6026836142d0565b9150615a9a82615a33565b604082019050919050565b60006020820190508181036000830152615abe81615a82565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000615b21602c836142d0565b9150615b2c82615ac5565b604082019050919050565b60006020820190508181036000830152615b5081615b14565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000615bb36025836142d0565b9150615bbe82615b57565b604082019050919050565b60006020820190508181036000830152615be281615ba6565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615c456024836142d0565b9150615c5082615be9565b604082019050919050565b60006020820190508181036000830152615c7481615c38565b9050919050565b6000615c8682614380565b9150615c9183614380565b925082821015615ca457615ca3614fa9565b5b828203905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615ce56019836142d0565b9150615cf082615caf565b602082019050919050565b60006020820190508181036000830152615d1481615cd8565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615d776032836142d0565b9150615d8282615d1b565b604082019050919050565b60006020820190508181036000830152615da681615d6a565b9050919050565b6000615db882614380565b9150615dc383614380565b925082615dd357615dd2615875565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000615e0582615dde565b615e0f8185615de9565b9350615e1f8185602086016142e1565b615e2881614314565b840191505092915050565b6000608082019050615e486000830187614415565b615e556020830186614415565b615e6260408301856144d8565b8181036060830152615e748184615dfa565b905095945050505050565b600081519050615e8e81614236565b92915050565b600060208284031215615eaa57615ea9614200565b5b6000615eb884828501615e7f565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615ef76020836142d0565b9150615f0282615ec1565b602082019050919050565b60006020820190508181036000830152615f2681615eea565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615f63601c836142d0565b9150615f6e82615f2d565b602082019050919050565b60006020820190508181036000830152615f9281615f56565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220bf58a60544071d64300179369d107728d47b9362a08fe7f7488f53aa22522c3a64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000c1caf0c19a8ac28c41fe59ba6c754e4b9bd54de9000000000000000000000000f6e12a3b482c8d51a0f66e6d80c496c310833389000000000000000000000000000000000000000000000000000000000000000d44656d6f6e6963536b756c6c7300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d44656d6f6e6963536b756c6c7300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002268747470733a2f2f6170692e64656d6f6e6963736b756c6c732e636f6d2f6e65772f000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): DemonicSkulls
Arg [1] : symbol (string): DemonicSkulls
Arg [2] : _baseUri (string): https://api.demonicskulls.com/new/
Arg [3] : skullsContract (address): 0xc1Caf0C19A8AC28c41Fe59bA6c754e4b9bd54dE9
Arg [4] : bloodsContract (address): 0xF6E12A3B482C8d51a0f66e6d80c496C310833389
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 000000000000000000000000c1caf0c19a8ac28c41fe59ba6c754e4b9bd54de9
Arg [4] : 000000000000000000000000f6e12a3b482c8d51a0f66e6d80c496c310833389
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [6] : 44656d6f6e6963536b756c6c7300000000000000000000000000000000000000
Arg [7] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [8] : 44656d6f6e6963536b756c6c7300000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000022
Arg [10] : 68747470733a2f2f6170692e64656d6f6e6963736b756c6c732e636f6d2f6e65
Arg [11] : 772f000000000000000000000000000000000000000000000000000000000000
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.