ERC-721
NFT
Overview
Max Total Supply
6,787 GOR
Holders
2,657
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 GORLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
GodsOfRock
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
byzantium EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "./IEnumerableContract.sol"; /* I see you nerd! ⌐⊙_⊙ */ contract GodsOfRock is ERC721, ERC721Enumerable, ERC721Burnable, Ownable { using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; uint256 public maxTokenSupply; uint256 public constant MAX_MINTS_PER_TXN = 15; uint256 public mintPrice = 0.08 ether; uint256 public presaleTORPrice = 0.075 ether; uint256 public presaleVIPPrice = 0.07 ether; bool public preSaleVipIsActive = false; bool public preSaleTorIsActive = false; bool public saleIsActive = false; bool public demigodMintIsActive = false; string public baseURI; string public provenance; IEnumerableContract private _vipContractInstance; IEnumerableContract private _torContractInstance; // Mapping of whether this address has minted via TOR or not mapping (address => bool) private _presaleMints; // Mapping from VIP pass token ID to whether it has been claimed or not mapping(uint256 => bool) private _claimed; address[5] private _shareholders; uint[5] private _shares; event PaymentReleased(address to, uint256 amount); event DemigodMinted(uint256 demigodTokenId, uint256 torTokenId, uint256[3] gorTokenIds); constructor(string memory name, string memory symbol, uint256 maxGodsOfRockSupply, address vipContractAddress, address torContractAddress) ERC721(name, symbol) { maxTokenSupply = maxGodsOfRockSupply; _shareholders[0] = 0x804074b2a03CFc6c23F5f5bf0bf86832B3dDF51A; // JJ _shareholders[1] = 0xA7b612718840AE64735adC6d73B03b505a143A5D; // Jagger _shareholders[2] = 0xDc8Eb8d2D1babD956136b57B0B9F49b433c019e3; // Treasure-Seeker _shareholders[3] = 0x95270f71252AF1F92E54c777237091F9382Ca5D8; // Darko _shareholders[4] = 0x74a2acae9B92781Cbb1CCa3bc667c05313e14850; // Cam _shares[0] = 3150; _shares[1] = 3150; _shares[2] = 2500; _shares[3] = 1000; _shares[4] = 200; _vipContractInstance = IEnumerableContract(vipContractAddress); _torContractInstance = IEnumerableContract(torContractAddress); } function setMaxTokenSupply(uint256 maxGodsOfRockSupply) public onlyOwner { maxTokenSupply = maxGodsOfRockSupply; } function setPrices(uint256 newMintPrice, uint256 newPresaleTORPrice, uint256 newPresaleVIPPrice) public onlyOwner { mintPrice = newMintPrice; presaleTORPrice = newPresaleTORPrice; presaleVIPPrice = newPresaleVIPPrice; } function withdrawForGiveaway(uint256 amount, address payable to) public onlyOwner { Address.sendValue(to, amount); emit PaymentReleased(to, amount); } function withdraw(uint256 amount) public onlyOwner { require(address(this).balance >= amount, "Insufficient balance"); uint256 totalShares = 10000; for (uint256 i = 0; i < 5; i++) { uint256 payment = amount * _shares[i] / totalShares; Address.sendValue(payable(_shareholders[i]), payment); emit PaymentReleased(_shareholders[i], payment); } } /* * Mint reserved NFTs for giveaways, devs, etc. */ function reserveMint(uint256 reservedAmount, address mintAddress) public onlyOwner { uint256 supply = _tokenIdCounter.current(); for (uint256 i = 1; i <= reservedAmount; i++) { _safeMint(mintAddress, supply + i); _tokenIdCounter.increment(); } } /* * Pause sale if active, make active if paused. */ function flipSaleState() public onlyOwner { saleIsActive = !saleIsActive; } /* * Set state switches for VIP and presale state + demigod minting. */ function setStateSwitches(bool newPresaleVipState, bool newPresaleTorState, bool newDemigodMintIsActive) public onlyOwner { preSaleVipIsActive = newPresaleVipState; preSaleTorIsActive = newPresaleTorState; demigodMintIsActive = newDemigodMintIsActive; } /* * Mint Gods Of Rock NFTs, woot! */ function mintGOR(uint256 numberOfTokens) public payable { require(saleIsActive, "Sale is not live yet"); require(numberOfTokens <= MAX_MINTS_PER_TXN, "You can mint a max of 15 GOR NFTs at a time"); _mintMultiple(numberOfTokens, mintPrice); } /* * Mint Gods Of Rock NFTs for TOR owners during pre-sale */ function presaleMintViaTOR() public payable { require(preSaleTorIsActive, "Pre-sale is not live yet"); require(_torContractInstance.balanceOf(msg.sender) > 0, "This address does not own TOR NFTs"); require(! _presaleMints[msg.sender], "This wallet has already minted GOR in the presale"); _presaleMints[msg.sender] = true; _mintMultiple(1, presaleTORPrice); } /* * Mint Gods Of Rock NFTs for VIP pass owners during pre-sale * Tell JJ, I said hi! */ function presaleMintViaVip(uint256 numberOfTokens, uint256[] calldata tokenIds) public payable { require(preSaleVipIsActive, "Pre-sale is not live yet"); require(numberOfTokens <= (2 * tokenIds.length), "Insufficient VIP passes for the required mints"); for (uint256 i = 0; i < tokenIds.length; i++) { require(_vipContractInstance.ownerOf(tokenIds[i]) == msg.sender && ! _claimed[tokenIds[i]], 'Caller is either not owner of the token ID or it has already been claimed'); _claimed[tokenIds[i]] = true; } _mintMultiple(numberOfTokens, presaleVIPPrice); } function mintDemiGod(uint256 torTokenId, uint256[3] calldata gorTokenIds) public { require(demigodMintIsActive, "Demigod minting is not live yet"); require(_torContractInstance.ownerOf(torTokenId) == msg.sender, 'Caller is not owner of the TOR Token ID'); for (uint256 i = 0; i < 3; i++) { require(ownerOf(gorTokenIds[i]) == msg.sender, 'Caller is not owner of the GOR Token ID'); } _torContractInstance.burn(torTokenId); for (uint256 i = 0; i < 3; i++) { _burn(gorTokenIds[i]); } _tokenIdCounter.increment(); _safeMint(msg.sender, _tokenIdCounter.current()); emit DemigodMinted(_tokenIdCounter.current(), torTokenId, gorTokenIds); } /* * Check whether the given token ID can be claimed for VIP pass presale mints */ function canClaim(uint256 tokenId) external view returns (bool) { return ! _claimed[tokenId]; } /* * Check whether the given address can mint via TOR in presale */ function canMintViaTOR(address owner) external view returns (bool) { return ! _presaleMints[owner]; } /* * Mint Gods of Rock NFTs! */ function _mintMultiple(uint256 numberOfTokens, uint256 mintingPrice) internal { require(_tokenIdCounter.current() + numberOfTokens <= maxTokenSupply, "Purchase would exceed max available NFTs"); require(mintingPrice * numberOfTokens <= msg.value, "Ether value sent is not correct"); for(uint256 i = 0; i < numberOfTokens; i++) { uint256 mintIndex = _tokenIdCounter.current() + 1; if (mintIndex <= maxTokenSupply) { _tokenIdCounter.increment(); _safeMint(msg.sender, mintIndex); } } } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function setBaseURI(string memory newBaseURI) public onlyOwner { baseURI = newBaseURI; } /* * Set provenance once it's calculated. */ function setProvenanceHash(string memory provenanceHash) public onlyOwner { provenance = provenanceHash; } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; interface IEnumerableContract is IERC721 { function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); function burn(uint256 tokenId) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), 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 { emit OwnershipTransferred(_owner, address(0)); _owner = 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"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping (uint256 => address) private _owners; // Mapping owner address to token count mapping (address => uint256) private _balances; // Mapping from token ID to approved address mapping (uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping (address => mapping (address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor (string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden * in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require(_msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual { _mint(to, tokenId); require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer(address from, address to, uint256 tokenId) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { // solhint-disable-next-line no-inline-assembly 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` 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 { } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../../utils/Context.sol"; /** * @title ERC721 Burnable Token * @dev ERC721 Token that can be irreversibly burned (destroyed). */ abstract contract ERC721Burnable is Context, ERC721 { /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved"); _burn(tokenId); } }
// SPDX-License-Identifier: MIT 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 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 tokenId); /** * @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 pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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 // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant alphabet = "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] = alphabet[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "byzantium", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
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":"uint256","name":"maxGodsOfRockSupply","type":"uint256"},{"internalType":"address","name":"vipContractAddress","type":"address"},{"internalType":"address","name":"torContractAddress","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":false,"internalType":"uint256","name":"demigodTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"torTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256[3]","name":"gorTokenIds","type":"uint256[3]"}],"name":"DemigodMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","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":[],"name":"MAX_MINTS_PER_TXN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"canClaim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"canMintViaTOR","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"demigodMintIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":[],"name":"maxTokenSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"torTokenId","type":"uint256"},{"internalType":"uint256[3]","name":"gorTokenIds","type":"uint256[3]"}],"name":"mintDemiGod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintGOR","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleTorIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleVipIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleMintViaTOR","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"presaleMintViaVip","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"presaleTORPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleVIPPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenance","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"reservedAmount","type":"uint256"},{"internalType":"address","name":"mintAddress","type":"address"}],"name":"reserveMint","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":"maxGodsOfRockSupply","type":"uint256"}],"name":"setMaxTokenSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMintPrice","type":"uint256"},{"internalType":"uint256","name":"newPresaleTORPrice","type":"uint256"},{"internalType":"uint256","name":"newPresaleVIPPrice","type":"uint256"}],"name":"setPrices","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newPresaleVipState","type":"bool"},{"internalType":"bool","name":"newPresaleTorState","type":"bool"},{"internalType":"bool","name":"newDemigodMintIsActive","type":"bool"}],"name":"setStateSwitches","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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address payable","name":"to","type":"address"}],"name":"withdrawForGiveaway","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405267011c37937e080000600d5567010a741a46278000600e5566f8b0a10e470000600f556000601060006101000a81548160ff0219169083151502179055506000601060016101000a81548160ff0219169083151502179055506000601060026101000a81548160ff0219169083151502179055506000601060036101000a81548160ff021916908315150217905550348015620000a057600080fd5b50604051620068a5380380620068a58339818101604052810190620000c69190620007fa565b84848160009080519060200190620000e09291906200050d565b508060019080519060200190620000f99291906200050d565b50505060006200011762000505640100000000026401000000009004565b905080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35082600c8190555073804074b2a03cfc6c23f5f5bf0bf86832b3ddf51a6017600060058110620001ea57620001e9620008c0565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073a7b612718840ae64735adc6d73b03b505a143a5d6017600160058110620002565762000255620008c0565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073dc8eb8d2d1babd956136b57b0b9f49b433c019e36017600260058110620002c257620002c1620008c0565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507395270f71252af1f92e54c777237091f9382ca5d860176003600581106200032e576200032d620008c0565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507374a2acae9b92781cbb1cca3bc667c05313e1485060176004600581106200039a5762000399620008c0565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610c4e601c600060058110620003f457620003f3620008c0565b5b0181905550610c4e601c600160058110620004145762000413620008c0565b5b01819055506109c4601c600260058110620004345762000433620008c0565b5b01819055506103e8601c600360058110620004545762000453620008c0565b5b018190555060c8601c600460058110620004735762000472620008c0565b5b018190555081601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050505062000954565b600033905090565b8280546200051b906200091e565b90600052602060002090601f0160209004810192826200053f57600085556200058b565b82601f106200055a57805160ff19168380011785556200058b565b828001600101855582156200058b579182015b828111156200058a5782518255916020019190600101906200056d565b5b5090506200059a91906200059e565b5090565b5b80821115620005b95760008160009055506001016200059f565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200062682620005db565b810181811067ffffffffffffffff82111715620006485762000647620005ec565b5b80604052505050565b60006200065d620005bd565b90506200066b82826200061b565b919050565b600067ffffffffffffffff8211156200068e576200068d620005ec565b5b6200069982620005db565b9050602081019050919050565b60005b83811015620006c6578082015181840152602081019050620006a9565b83811115620006d6576000848401525b50505050565b6000620006f3620006ed8462000670565b62000651565b905082815260208101848484011115620007125762000711620005d6565b5b6200071f848285620006a6565b509392505050565b600082601f8301126200073f576200073e620005d1565b5b815162000751848260208601620006dc565b91505092915050565b6000819050919050565b6200076f816200075a565b81146200077b57600080fd5b50565b6000815190506200078f8162000764565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620007c28262000795565b9050919050565b620007d481620007b5565b8114620007e057600080fd5b50565b600081519050620007f481620007c9565b92915050565b600080600080600060a08688031215620008195762000818620005c7565b5b600086015167ffffffffffffffff8111156200083a5762000839620005cc565b5b620008488882890162000727565b955050602086015167ffffffffffffffff8111156200086c576200086b620005cc565b5b6200087a8882890162000727565b94505060406200088d888289016200077e565b9350506060620008a088828901620007e3565b9250506080620008b388828901620007e3565b9150509295509295909350565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200093757607f821691505b602082108114156200094e576200094d620008ef565b5b50919050565b615f4180620009646000396000f3fe60806040526004361061029a576000357c0100000000000000000000000000000000000000000000000000000000900480636c0360eb1161016c578063b88d4fde116100de578063da1cd35311610097578063da1cd35314610983578063dfe93fa3146109ae578063e985e9c5146109d9578063eb8d244414610a16578063f2fde38b14610a41578063fc914d5314610a6a5761029a565b8063b88d4fde14610861578063c85b3cd81461088a578063c85c417d146108b3578063c87b56dd146108de578063c95c0d891461091b578063ce285156146109585761029a565b80638da5cb5b116101305780638da5cb5b1461075357806395d89b411461077e5780639a4c00a3146107a9578063a22cb465146107e6578063a88fe42d1461080f578063b07ed982146108385761029a565b80636c0360eb146106ae5780636ca5e4c1146106d957806370a08231146106f5578063715018a6146107325780637a594cd6146107495761029a565b806334918dfd1161021057806355f804b3116101c957806355f804b3146105a057806360b02f70146105c957806362de6f69146105f25780636352211e1461061b57806365712ddb146106585780636817c76c146106835761029a565b806334918dfd146104a657806342842e0e146104bd57806342966c68146104e65780634d7313a41461050f5780634f6ccce71461053857806350f7c204146105755761029a565b80631096952311610262578063109695231461039857806316d69db5146103c157806318160ddd146103ec57806323b872dd146104175780632e1a7d4d146104405780632f745c59146104695761029a565b806301ffc9a71461029f57806306fdde03146102dc578063081812fc14610307578063095ea7b3146103445780630f7309e81461036d575b600080fd5b3480156102ab57600080fd5b506102c660048036038101906102c19190613e85565b610a86565b6040516102d39190613ecd565b60405180910390f35b3480156102e857600080fd5b506102f1610a98565b6040516102fe9190613f81565b60405180910390f35b34801561031357600080fd5b5061032e60048036038101906103299190613fd9565b610b2a565b60405161033b9190614047565b60405180910390f35b34801561035057600080fd5b5061036b6004803603810190610366919061408e565b610baf565b005b34801561037957600080fd5b50610382610cc7565b60405161038f9190613f81565b60405180910390f35b3480156103a457600080fd5b506103bf60048036038101906103ba9190614203565b610d55565b005b3480156103cd57600080fd5b506103d6610deb565b6040516103e3919061425b565b60405180910390f35b3480156103f857600080fd5b50610401610df1565b60405161040e919061425b565b60405180910390f35b34801561042357600080fd5b5061043e60048036038101906104399190614276565b610dfe565b005b34801561044c57600080fd5b5061046760048036038101906104629190613fd9565b610e5e565b005b34801561047557600080fd5b50610490600480360381019061048b919061408e565b61103d565b60405161049d919061425b565b60405180910390f35b3480156104b257600080fd5b506104bb6110e2565b005b3480156104c957600080fd5b506104e460048036038101906104df9190614276565b61118a565b005b3480156104f257600080fd5b5061050d60048036038101906105089190613fd9565b6111aa565b005b34801561051b57600080fd5b5061053660048036038101906105319190614307565b611206565b005b34801561054457600080fd5b5061055f600480360381019061055a9190613fd9565b6112c9565b60405161056c919061425b565b60405180910390f35b34801561058157600080fd5b5061058a61133a565b604051610597919061425b565b60405180910390f35b3480156105ac57600080fd5b506105c760048036038101906105c29190614203565b611340565b005b3480156105d557600080fd5b506105f060048036038101906105eb9190614347565b6113d6565b005b3480156105fe57600080fd5b50610619600480360381019061061491906143b3565b6114a6565b005b34801561062757600080fd5b50610642600480360381019061063d9190613fd9565b611575565b60405161064f9190614047565b60405180910390f35b34801561066457600080fd5b5061066d611627565b60405161067a9190613ecd565b60405180910390f35b34801561068f57600080fd5b5061069861163a565b6040516106a5919061425b565b60405180910390f35b3480156106ba57600080fd5b506106c3611640565b6040516106d09190613f81565b60405180910390f35b6106f360048036038101906106ee9190613fd9565b6116ce565b005b34801561070157600080fd5b5061071c60048036038101906107179190614406565b611770565b604051610729919061425b565b60405180910390f35b34801561073e57600080fd5b50610747611828565b005b610751611965565b005b34801561075f57600080fd5b50610768611bb1565b6040516107759190614047565b60405180910390f35b34801561078a57600080fd5b50610793611bdb565b6040516107a09190613f81565b60405180910390f35b3480156107b557600080fd5b506107d060048036038101906107cb9190614406565b611c6d565b6040516107dd9190613ecd565b60405180910390f35b3480156107f257600080fd5b5061080d60048036038101906108089190614433565b611cc4565b005b34801561081b57600080fd5b5061083660048036038101906108319190614473565b611e45565b005b34801561084457600080fd5b5061085f600480360381019061085a9190613fd9565b611edb565b005b34801561086d57600080fd5b5061088860048036038101906108839190614567565b611f61565b005b34801561089657600080fd5b506108b160048036038101906108ac9190614611565b611fc3565b005b3480156108bf57600080fd5b506108c8612341565b6040516108d59190613ecd565b60405180910390f35b3480156108ea57600080fd5b5061090560048036038101906109009190613fd9565b612354565b6040516109129190613f81565b60405180910390f35b34801561092757600080fd5b50610942600480360381019061093d9190613fd9565b6123fb565b60405161094f9190613ecd565b60405180910390f35b34801561096457600080fd5b5061096d612426565b60405161097a9190613ecd565b60405180910390f35b34801561098f57600080fd5b50610998612439565b6040516109a5919061425b565b60405180910390f35b3480156109ba57600080fd5b506109c361243f565b6040516109d0919061425b565b60405180910390f35b3480156109e557600080fd5b50610a0060048036038101906109fb9190614651565b612444565b604051610a0d9190613ecd565b60405180910390f35b348015610a2257600080fd5b50610a2b6124d8565b604051610a389190613ecd565b60405180910390f35b348015610a4d57600080fd5b50610a686004803603810190610a639190614406565b6124eb565b005b610a846004803603810190610a7f91906146ec565b612697565b005b6000610a9182612940565b9050919050565b606060008054610aa79061477b565b80601f0160208091040260200160405190810160405280929190818152602001828054610ad39061477b565b8015610b205780601f10610af557610100808354040283529160200191610b20565b820191906000526020600020905b815481529060010190602001808311610b0357829003601f168201915b5050505050905090565b6000610b35826129ba565b610b74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6b9061481f565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bba82611575565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c22906148b1565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c4a612a26565b73ffffffffffffffffffffffffffffffffffffffff161480610c795750610c7881610c73612a26565b612444565b5b610cb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610caf90614943565b60405180910390fd5b610cc28383612a2e565b505050565b60128054610cd49061477b565b80601f0160208091040260200160405190810160405280929190818152602001828054610d009061477b565b8015610d4d5780601f10610d2257610100808354040283529160200191610d4d565b820191906000526020600020905b815481529060010190602001808311610d3057829003601f168201915b505050505081565b610d5d612a26565b73ffffffffffffffffffffffffffffffffffffffff16610d7b611bb1565b73ffffffffffffffffffffffffffffffffffffffff1614610dd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc8906149af565b60405180910390fd5b8060129080519060200190610de7929190613d76565b5050565b600f5481565b6000600880549050905090565b610e0f610e09612a26565b82612ae7565b610e4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4590614a41565b60405180910390fd5b610e59838383612bc5565b505050565b610e66612a26565b73ffffffffffffffffffffffffffffffffffffffff16610e84611bb1565b73ffffffffffffffffffffffffffffffffffffffff1614610eda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed1906149af565b60405180910390fd5b803073ffffffffffffffffffffffffffffffffffffffff16311015610f34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2b90614aad565b60405180910390fd5b6000612710905060005b600581101561103857600082601c8360058110610f5e57610f5d614acd565b5b015485610f6b9190614b2b565b610f759190614bb4565b9050610fb660178360058110610f8e57610f8d614acd565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612e21565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05660178360058110610feb57610fea614acd565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168260405161101c929190614be5565b60405180910390a150808061103090614c0e565b915050610f3e565b505050565b600061104883611770565b8210611089576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108090614cc9565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6110ea612a26565b73ffffffffffffffffffffffffffffffffffffffff16611108611bb1565b73ffffffffffffffffffffffffffffffffffffffff161461115e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611155906149af565b60405180910390fd5b601060029054906101000a900460ff1615601060026101000a81548160ff021916908315150217905550565b6111a583838360405180602001604052806000815250611f61565b505050565b6111bb6111b5612a26565b82612ae7565b6111fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f190614d5b565b60405180910390fd5b61120381612f2c565b50565b61120e612a26565b73ffffffffffffffffffffffffffffffffffffffff1661122c611bb1565b73ffffffffffffffffffffffffffffffffffffffff1614611282576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611279906149af565b60405180910390fd5b61128c8183612e21565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05681836040516112bd929190614dda565b60405180910390a15050565b60006112d3610df1565b8210611314576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130b90614e75565b60405180910390fd5b6008828154811061132857611327614acd565b5b90600052602060002001549050919050565b600c5481565b611348612a26565b73ffffffffffffffffffffffffffffffffffffffff16611366611bb1565b73ffffffffffffffffffffffffffffffffffffffff16146113bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b3906149af565b60405180910390fd5b80601190805190602001906113d2929190613d76565b5050565b6113de612a26565b73ffffffffffffffffffffffffffffffffffffffff166113fc611bb1565b73ffffffffffffffffffffffffffffffffffffffff1614611452576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611449906149af565b60405180910390fd5b600061145e600b61303d565b90506000600190505b8381116114a05761148383828461147e9190614e95565b61304b565b61148d600b613069565b808061149890614c0e565b915050611467565b50505050565b6114ae612a26565b73ffffffffffffffffffffffffffffffffffffffff166114cc611bb1565b73ffffffffffffffffffffffffffffffffffffffff1614611522576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611519906149af565b60405180910390fd5b82601060006101000a81548160ff02191690831515021790555081601060016101000a81548160ff02191690831515021790555080601060036101000a81548160ff021916908315150217905550505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561161e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161590614f5d565b60405180910390fd5b80915050919050565b601060039054906101000a900460ff1681565b600d5481565b6011805461164d9061477b565b80601f01602080910402602001604051908101604052809291908181526020018280546116799061477b565b80156116c65780601f1061169b576101008083540402835291602001916116c6565b820191906000526020600020905b8154815290600101906020018083116116a957829003601f168201915b505050505081565b601060029054906101000a900460ff1661171d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171490614fc9565b60405180910390fd5b600f811115611761576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117589061505b565b60405180910390fd5b61176d81600d5461307f565b50565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d8906150ed565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611830612a26565b73ffffffffffffffffffffffffffffffffffffffff1661184e611bb1565b73ffffffffffffffffffffffffffffffffffffffff16146118a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189b906149af565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b601060019054906101000a900460ff166119b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ab90615159565b60405180910390fd5b6000601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401611a2d9190614047565b60206040518083038186803b158015611a4557600080fd5b505afa158015611a59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7d919061518e565b11611abd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab49061522d565b60405180910390fd5b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611b4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b41906152bf565b60405180910390fd5b6001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611baf6001600e5461307f565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611bea9061477b565b80601f0160208091040260200160405190810160405280929190818152602001828054611c169061477b565b8015611c635780601f10611c3857610100808354040283529160200191611c63565b820191906000526020600020905b815481529060010190602001808311611c4657829003601f168201915b5050505050905090565b6000601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16159050919050565b611ccc612a26565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d319061532b565b60405180910390fd5b8060056000611d47612a26565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611df4612a26565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e399190613ecd565b60405180910390a35050565b611e4d612a26565b73ffffffffffffffffffffffffffffffffffffffff16611e6b611bb1565b73ffffffffffffffffffffffffffffffffffffffff1614611ec1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb8906149af565b60405180910390fd5b82600d8190555081600e8190555080600f81905550505050565b611ee3612a26565b73ffffffffffffffffffffffffffffffffffffffff16611f01611bb1565b73ffffffffffffffffffffffffffffffffffffffff1614611f57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4e906149af565b60405180910390fd5b80600c8190555050565b611f72611f6c612a26565b83612ae7565b611fb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa890614a41565b60405180910390fd5b611fbd84848484613182565b50505050565b601060039054906101000a900460ff16612012576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200990615397565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016120a0919061425b565b60206040518083038186803b1580156120b857600080fd5b505afa1580156120cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120f091906153cc565b73ffffffffffffffffffffffffffffffffffffffff1614612146576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213d9061546b565b60405180910390fd5b60005b60038110156121f2573373ffffffffffffffffffffffffffffffffffffffff1661218983836003811061217f5761217e614acd565b5b6020020135611575565b73ffffffffffffffffffffffffffffffffffffffff16146121df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d6906154fd565b60405180910390fd5b80806121ea90614c0e565b915050612149565b50601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c68836040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040161226a919061425b565b600060405180830381600087803b15801561228457600080fd5b505af1158015612298573d6000803e3d6000fd5b5050505060005b60038110156122db576122c88282600381106122be576122bd614acd565b5b6020020135612f2c565b80806122d390614c0e565b91505061229f565b506122e6600b613069565b6122f9336122f4600b61303d565b61304b565b7fd8aa7fcf41d17b9e8b6c451cdfeaac41b14e1dc6241d4d88b61737969255fdf0612324600b61303d565b83836040516123359392919061552d565b60405180910390a15050565b601060019054906101000a900460ff1681565b606061235f826129ba565b61239e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612395906155d6565b60405180910390fd5b60006123a86131de565b905060008151116123c857604051806020016040528060008152506123f3565b806123d284613270565b6040516020016123e3929190615632565b6040516020818303038152906040525b915050919050565b60006016600083815260200190815260200160002060009054906101000a900460ff16159050919050565b601060009054906101000a900460ff1681565b600e5481565b600f81565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601060029054906101000a900460ff1681565b6124f3612a26565b73ffffffffffffffffffffffffffffffffffffffff16612511611bb1565b73ffffffffffffffffffffffffffffffffffffffff1614612567576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255e906149af565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156125d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ce906156c8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601060009054906101000a900460ff166126e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126dd90615159565b60405180910390fd5b8181905060026126f69190614b2b565b831115612738576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272f9061575a565b60405180910390fd5b60005b8282905081101561292e573373ffffffffffffffffffffffffffffffffffffffff16601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e8585858181106127ae576127ad614acd565b5b905060200201356040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016127ed919061425b565b60206040518083038186803b15801561280557600080fd5b505afa158015612819573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061283d91906153cc565b73ffffffffffffffffffffffffffffffffffffffff1614801561289757506016600084848481811061287257612871614acd565b5b90506020020135815260200190815260200160002060009054906101000a900460ff16155b6128d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128cd90615812565b60405180910390fd5b6001601660008585858181106128ef576128ee614acd565b5b90506020020135815260200190815260200160002060006101000a81548160ff021916908315150217905550808061292690614c0e565b91505061273b565b5061293b83600f5461307f565b505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806129b357506129b2826133f0565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612aa183611575565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612af2826129ba565b612b31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b28906158a4565b60405180910390fd5b6000612b3c83611575565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612bab57508373ffffffffffffffffffffffffffffffffffffffff16612b9384610b2a565b73ffffffffffffffffffffffffffffffffffffffff16145b80612bbc5750612bbb8185612444565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612be582611575565b73ffffffffffffffffffffffffffffffffffffffff1614612c3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c3290615936565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612cab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ca2906159c8565b60405180910390fd5b612cb68383836134d2565b612cc1600082612a2e565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d1191906159e8565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d689190614e95565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b803073ffffffffffffffffffffffffffffffffffffffff16311015612e7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e7290615a68565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612ea190615ab9565b60006040518083038185875af1925050503d8060008114612ede576040519150601f19603f3d011682016040523d82523d6000602084013e612ee3565b606091505b5050905080612f27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1e90615b40565b60405180910390fd5b505050565b6000612f3782611575565b9050612f45816000846134d2565b612f50600083612a2e565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612fa091906159e8565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600081600001549050919050565b6130658282604051806020016040528060008152506134e2565b5050565b6001816000016000828254019250508190555050565b600c548261308d600b61303d565b6130979190614e95565b11156130d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130cf90615bd2565b60405180910390fd5b3482826130e59190614b2b565b1115613126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161311d90615c3e565b60405180910390fd5b60005b8281101561317d576000600161313f600b61303d565b6131499190614e95565b9050600c5481116131695761315e600b613069565b613168338261304b565b5b50808061317590614c0e565b915050613129565b505050565b61318d848484612bc5565b6131998484848461353d565b6131d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131cf90615cd0565b60405180910390fd5b50505050565b6060601180546131ed9061477b565b80601f01602080910402602001604051908101604052809291908181526020018280546132199061477b565b80156132665780601f1061323b57610100808354040283529160200191613266565b820191906000526020600020905b81548152906001019060200180831161324957829003601f168201915b5050505050905090565b606060008214156132b8576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506133eb565b600082905060005b600082146132ea5780806132d390614c0e565b915050600a826132e39190614bb4565b91506132c0565b60008167ffffffffffffffff811115613306576133056140d8565b5b6040519080825280601f01601f1916602001820160405280156133385781602001600182028036833780820191505090505b5090505b600085146133e45760018261335191906159e8565b9150600a856133609190615cf0565b603061336c9190614e95565b7f0100000000000000000000000000000000000000000000000000000000000000028183815181106133a1576133a0614acd565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856133dd9190614bb4565b945061333c565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806134bb57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806134cb57506134ca8261370c565b5b9050919050565b6134dd838383613776565b505050565b6134ec838361388a565b6134f9600084848461353d565b613538576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161352f90615cd0565b60405180910390fd5b505050565b600061355e8473ffffffffffffffffffffffffffffffffffffffff16613a58565b156136ff578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613587612a26565b8786866040518563ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016135c59493929190615d76565b602060405180830381600087803b1580156135df57600080fd5b505af192505050801561361057506040513d601f19601f8201168201806040525081019061360d9190615dd7565b60015b613693573d8060008114613640576040519150601f19603f3d011682016040523d82523d6000602084013e613645565b606091505b5060008151141561368b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161368290615cd0565b60405180910390fd5b805181602001fd5b63150b7a027c0100000000000000000000000000000000000000000000000000000000027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613704565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613781838383613a6b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156137c4576137bf81613a70565b613803565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613802576138018382613ab9565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156138465761384181613c26565b613885565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613884576138838282613cf7565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156138fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138f190615e50565b60405180910390fd5b613903816129ba565b15613943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161393a90615ebc565b60405180910390fd5b61394f600083836134d2565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461399f9190614e95565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613ac684611770565b613ad091906159e8565b9050600060076000848152602001908152602001600020549050818114613bb5576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613c3a91906159e8565b9050600060096000848152602001908152602001600020549050600060088381548110613c6a57613c69614acd565b5b906000526020600020015490508060088381548110613c8c57613c8b614acd565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613cdb57613cda615edc565b5b6001900381819060005260206000200160009055905550505050565b6000613d0283611770565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613d829061477b565b90600052602060002090601f016020900481019282613da45760008555613deb565b82601f10613dbd57805160ff1916838001178555613deb565b82800160010185558215613deb579182015b82811115613dea578251825591602001919060010190613dcf565b5b509050613df89190613dfc565b5090565b5b80821115613e15576000816000905550600101613dfd565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613e6281613e2d565b8114613e6d57600080fd5b50565b600081359050613e7f81613e59565b92915050565b600060208284031215613e9b57613e9a613e23565b5b6000613ea984828501613e70565b91505092915050565b60008115159050919050565b613ec781613eb2565b82525050565b6000602082019050613ee26000830184613ebe565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613f22578082015181840152602081019050613f07565b83811115613f31576000848401525b50505050565b6000601f19601f8301169050919050565b6000613f5382613ee8565b613f5d8185613ef3565b9350613f6d818560208601613f04565b613f7681613f37565b840191505092915050565b60006020820190508181036000830152613f9b8184613f48565b905092915050565b6000819050919050565b613fb681613fa3565b8114613fc157600080fd5b50565b600081359050613fd381613fad565b92915050565b600060208284031215613fef57613fee613e23565b5b6000613ffd84828501613fc4565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061403182614006565b9050919050565b61404181614026565b82525050565b600060208201905061405c6000830184614038565b92915050565b61406b81614026565b811461407657600080fd5b50565b60008135905061408881614062565b92915050565b600080604083850312156140a5576140a4613e23565b5b60006140b385828601614079565b92505060206140c485828601613fc4565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61411082613f37565b810181811067ffffffffffffffff8211171561412f5761412e6140d8565b5b80604052505050565b6000614142613e19565b905061414e8282614107565b919050565b600067ffffffffffffffff82111561416e5761416d6140d8565b5b61417782613f37565b9050602081019050919050565b82818337600083830152505050565b60006141a66141a184614153565b614138565b9050828152602081018484840111156141c2576141c16140d3565b5b6141cd848285614184565b509392505050565b600082601f8301126141ea576141e96140ce565b5b81356141fa848260208601614193565b91505092915050565b60006020828403121561421957614218613e23565b5b600082013567ffffffffffffffff81111561423757614236613e28565b5b614243848285016141d5565b91505092915050565b61425581613fa3565b82525050565b6000602082019050614270600083018461424c565b92915050565b60008060006060848603121561428f5761428e613e23565b5b600061429d86828701614079565b93505060206142ae86828701614079565b92505060406142bf86828701613fc4565b9150509250925092565b60006142d482614006565b9050919050565b6142e4816142c9565b81146142ef57600080fd5b50565b600081359050614301816142db565b92915050565b6000806040838503121561431e5761431d613e23565b5b600061432c85828601613fc4565b925050602061433d858286016142f2565b9150509250929050565b6000806040838503121561435e5761435d613e23565b5b600061436c85828601613fc4565b925050602061437d85828601614079565b9150509250929050565b61439081613eb2565b811461439b57600080fd5b50565b6000813590506143ad81614387565b92915050565b6000806000606084860312156143cc576143cb613e23565b5b60006143da8682870161439e565b93505060206143eb8682870161439e565b92505060406143fc8682870161439e565b9150509250925092565b60006020828403121561441c5761441b613e23565b5b600061442a84828501614079565b91505092915050565b6000806040838503121561444a57614449613e23565b5b600061445885828601614079565b92505060206144698582860161439e565b9150509250929050565b60008060006060848603121561448c5761448b613e23565b5b600061449a86828701613fc4565b93505060206144ab86828701613fc4565b92505060406144bc86828701613fc4565b9150509250925092565b600067ffffffffffffffff8211156144e1576144e06140d8565b5b6144ea82613f37565b9050602081019050919050565b600061450a614505846144c6565b614138565b905082815260208101848484011115614526576145256140d3565b5b614531848285614184565b509392505050565b600082601f83011261454e5761454d6140ce565b5b813561455e8482602086016144f7565b91505092915050565b6000806000806080858703121561458157614580613e23565b5b600061458f87828801614079565b94505060206145a087828801614079565b93505060406145b187828801613fc4565b925050606085013567ffffffffffffffff8111156145d2576145d1613e28565b5b6145de87828801614539565b91505092959194509250565b600080fd5b60008190508260206003028201111561460b5761460a6145ea565b5b92915050565b6000806080838503121561462857614627613e23565b5b600061463685828601613fc4565b9250506020614647858286016145ef565b9150509250929050565b6000806040838503121561466857614667613e23565b5b600061467685828601614079565b925050602061468785828601614079565b9150509250929050565b600080fd5b60008083601f8401126146ac576146ab6140ce565b5b8235905067ffffffffffffffff8111156146c9576146c8614691565b5b6020830191508360208202830111156146e5576146e46145ea565b5b9250929050565b60008060006040848603121561470557614704613e23565b5b600061471386828701613fc4565b935050602084013567ffffffffffffffff81111561473457614733613e28565b5b61474086828701614696565b92509250509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061479357607f821691505b602082108114156147a7576147a661474c565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614809602c83613ef3565b9150614814826147ad565b604082019050919050565b60006020820190508181036000830152614838816147fc565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061489b602183613ef3565b91506148a68261483f565b604082019050919050565b600060208201905081810360008301526148ca8161488e565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061492d603883613ef3565b9150614938826148d1565b604082019050919050565b6000602082019050818103600083015261495c81614920565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614999602083613ef3565b91506149a482614963565b602082019050919050565b600060208201905081810360008301526149c88161498c565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614a2b603183613ef3565b9150614a36826149cf565b604082019050919050565b60006020820190508181036000830152614a5a81614a1e565b9050919050565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b6000614a97601483613ef3565b9150614aa282614a61565b602082019050919050565b60006020820190508181036000830152614ac681614a8a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614b3682613fa3565b9150614b4183613fa3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614b7a57614b79614afc565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614bbf82613fa3565b9150614bca83613fa3565b925082614bda57614bd9614b85565b5b828204905092915050565b6000604082019050614bfa6000830185614038565b614c07602083018461424c565b9392505050565b6000614c1982613fa3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614c4c57614c4b614afc565b5b600182019050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614cb3602b83613ef3565b9150614cbe82614c57565b604082019050919050565b60006020820190508181036000830152614ce281614ca6565b9050919050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b6000614d45603083613ef3565b9150614d5082614ce9565b604082019050919050565b60006020820190508181036000830152614d7481614d38565b9050919050565b6000819050919050565b6000614da0614d9b614d9684614006565b614d7b565b614006565b9050919050565b6000614db282614d85565b9050919050565b6000614dc482614da7565b9050919050565b614dd481614db9565b82525050565b6000604082019050614def6000830185614dcb565b614dfc602083018461424c565b9392505050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614e5f602c83613ef3565b9150614e6a82614e03565b604082019050919050565b60006020820190508181036000830152614e8e81614e52565b9050919050565b6000614ea082613fa3565b9150614eab83613fa3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614ee057614edf614afc565b5b828201905092915050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614f47602983613ef3565b9150614f5282614eeb565b604082019050919050565b60006020820190508181036000830152614f7681614f3a565b9050919050565b7f53616c65206973206e6f74206c69766520796574000000000000000000000000600082015250565b6000614fb3601483613ef3565b9150614fbe82614f7d565b602082019050919050565b60006020820190508181036000830152614fe281614fa6565b9050919050565b7f596f752063616e206d696e742061206d6178206f6620313520474f52204e465460008201527f7320617420612074696d65000000000000000000000000000000000000000000602082015250565b6000615045602b83613ef3565b915061505082614fe9565b604082019050919050565b6000602082019050818103600083015261507481615038565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006150d7602a83613ef3565b91506150e28261507b565b604082019050919050565b60006020820190508181036000830152615106816150ca565b9050919050565b7f5072652d73616c65206973206e6f74206c697665207965740000000000000000600082015250565b6000615143601883613ef3565b915061514e8261510d565b602082019050919050565b6000602082019050818103600083015261517281615136565b9050919050565b60008151905061518881613fad565b92915050565b6000602082840312156151a4576151a3613e23565b5b60006151b284828501615179565b91505092915050565b7f54686973206164647265737320646f6573206e6f74206f776e20544f52204e4660008201527f5473000000000000000000000000000000000000000000000000000000000000602082015250565b6000615217602283613ef3565b9150615222826151bb565b604082019050919050565b600060208201905081810360008301526152468161520a565b9050919050565b7f546869732077616c6c65742068617320616c7265616479206d696e746564204760008201527f4f5220696e207468652070726573616c65000000000000000000000000000000602082015250565b60006152a9603183613ef3565b91506152b48261524d565b604082019050919050565b600060208201905081810360008301526152d88161529c565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615315601983613ef3565b9150615320826152df565b602082019050919050565b6000602082019050818103600083015261534481615308565b9050919050565b7f44656d69676f64206d696e74696e67206973206e6f74206c6976652079657400600082015250565b6000615381601f83613ef3565b915061538c8261534b565b602082019050919050565b600060208201905081810360008301526153b081615374565b9050919050565b6000815190506153c681614062565b92915050565b6000602082840312156153e2576153e1613e23565b5b60006153f0848285016153b7565b91505092915050565b7f43616c6c6572206973206e6f74206f776e6572206f662074686520544f52205460008201527f6f6b656e20494400000000000000000000000000000000000000000000000000602082015250565b6000615455602783613ef3565b9150615460826153f9565b604082019050919050565b6000602082019050818103600083015261548481615448565b9050919050565b7f43616c6c6572206973206e6f74206f776e6572206f662074686520474f52205460008201527f6f6b656e20494400000000000000000000000000000000000000000000000000602082015250565b60006154e7602783613ef3565b91506154f28261548b565b604082019050919050565b60006020820190508181036000830152615516816154da565b9050919050565b61552960608383614184565b5050565b600060a082019050615542600083018661424c565b61554f602083018561424c565b61555c604083018461551d565b949350505050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006155c0602f83613ef3565b91506155cb82615564565b604082019050919050565b600060208201905081810360008301526155ef816155b3565b9050919050565b600081905092915050565b600061560c82613ee8565b61561681856155f6565b9350615626818560208601613f04565b80840191505092915050565b600061563e8285615601565b915061564a8284615601565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006156b2602683613ef3565b91506156bd82615656565b604082019050919050565b600060208201905081810360008301526156e1816156a5565b9050919050565b7f496e73756666696369656e74205649502070617373657320666f72207468652060008201527f7265717569726564206d696e7473000000000000000000000000000000000000602082015250565b6000615744602e83613ef3565b915061574f826156e8565b604082019050919050565b6000602082019050818103600083015261577381615737565b9050919050565b7f43616c6c657220697320656974686572206e6f74206f776e6572206f6620746860008201527f6520746f6b656e204944206f722069742068617320616c72656164792062656560208201527f6e20636c61696d65640000000000000000000000000000000000000000000000604082015250565b60006157fc604983613ef3565b91506158078261577a565b606082019050919050565b6000602082019050818103600083015261582b816157ef565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061588e602c83613ef3565b915061589982615832565b604082019050919050565b600060208201905081810360008301526158bd81615881565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000615920602983613ef3565b915061592b826158c4565b604082019050919050565b6000602082019050818103600083015261594f81615913565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006159b2602483613ef3565b91506159bd82615956565b604082019050919050565b600060208201905081810360008301526159e1816159a5565b9050919050565b60006159f382613fa3565b91506159fe83613fa3565b925082821015615a1157615a10614afc565b5b828203905092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000615a52601d83613ef3565b9150615a5d82615a1c565b602082019050919050565b60006020820190508181036000830152615a8181615a45565b9050919050565b600081905092915050565b50565b6000615aa3600083615a88565b9150615aae82615a93565b600082019050919050565b6000615ac482615a96565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000615b2a603a83613ef3565b9150615b3582615ace565b604082019050919050565b60006020820190508181036000830152615b5981615b1d565b9050919050565b7f507572636861736520776f756c6420657863656564206d617820617661696c6160008201527f626c65204e465473000000000000000000000000000000000000000000000000602082015250565b6000615bbc602883613ef3565b9150615bc782615b60565b604082019050919050565b60006020820190508181036000830152615beb81615baf565b9050919050565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b6000615c28601f83613ef3565b9150615c3382615bf2565b602082019050919050565b60006020820190508181036000830152615c5781615c1b565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615cba603283613ef3565b9150615cc582615c5e565b604082019050919050565b60006020820190508181036000830152615ce981615cad565b9050919050565b6000615cfb82613fa3565b9150615d0683613fa3565b925082615d1657615d15614b85565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000615d4882615d21565b615d528185615d2c565b9350615d62818560208601613f04565b615d6b81613f37565b840191505092915050565b6000608082019050615d8b6000830187614038565b615d986020830186614038565b615da5604083018561424c565b8181036060830152615db78184615d3d565b905095945050505050565b600081519050615dd181613e59565b92915050565b600060208284031215615ded57615dec613e23565b5b6000615dfb84828501615dc2565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615e3a602083613ef3565b9150615e4582615e04565b602082019050919050565b60006020820190508181036000830152615e6981615e2d565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615ea6601c83613ef3565b9150615eb182615e70565b602082019050919050565b60006020820190508181036000830152615ed581615e99565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea264697066735822122002adb6e59d80fc647ba6c5615d96e5dfdf13b2c3dc99b7a21b732da304c6650264736f6c6343000809003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000271000000000000000000000000071c99b3b2b2ca1e29eb05dfe0e12c75799c744cf000000000000000000000000c2f05fd9fe4cfe8f7395ddb220c84d3ef240cf3d000000000000000000000000000000000000000000000000000000000000000a476f64734f66526f636b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003474f520000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061029a576000357c0100000000000000000000000000000000000000000000000000000000900480636c0360eb1161016c578063b88d4fde116100de578063da1cd35311610097578063da1cd35314610983578063dfe93fa3146109ae578063e985e9c5146109d9578063eb8d244414610a16578063f2fde38b14610a41578063fc914d5314610a6a5761029a565b8063b88d4fde14610861578063c85b3cd81461088a578063c85c417d146108b3578063c87b56dd146108de578063c95c0d891461091b578063ce285156146109585761029a565b80638da5cb5b116101305780638da5cb5b1461075357806395d89b411461077e5780639a4c00a3146107a9578063a22cb465146107e6578063a88fe42d1461080f578063b07ed982146108385761029a565b80636c0360eb146106ae5780636ca5e4c1146106d957806370a08231146106f5578063715018a6146107325780637a594cd6146107495761029a565b806334918dfd1161021057806355f804b3116101c957806355f804b3146105a057806360b02f70146105c957806362de6f69146105f25780636352211e1461061b57806365712ddb146106585780636817c76c146106835761029a565b806334918dfd146104a657806342842e0e146104bd57806342966c68146104e65780634d7313a41461050f5780634f6ccce71461053857806350f7c204146105755761029a565b80631096952311610262578063109695231461039857806316d69db5146103c157806318160ddd146103ec57806323b872dd146104175780632e1a7d4d146104405780632f745c59146104695761029a565b806301ffc9a71461029f57806306fdde03146102dc578063081812fc14610307578063095ea7b3146103445780630f7309e81461036d575b600080fd5b3480156102ab57600080fd5b506102c660048036038101906102c19190613e85565b610a86565b6040516102d39190613ecd565b60405180910390f35b3480156102e857600080fd5b506102f1610a98565b6040516102fe9190613f81565b60405180910390f35b34801561031357600080fd5b5061032e60048036038101906103299190613fd9565b610b2a565b60405161033b9190614047565b60405180910390f35b34801561035057600080fd5b5061036b6004803603810190610366919061408e565b610baf565b005b34801561037957600080fd5b50610382610cc7565b60405161038f9190613f81565b60405180910390f35b3480156103a457600080fd5b506103bf60048036038101906103ba9190614203565b610d55565b005b3480156103cd57600080fd5b506103d6610deb565b6040516103e3919061425b565b60405180910390f35b3480156103f857600080fd5b50610401610df1565b60405161040e919061425b565b60405180910390f35b34801561042357600080fd5b5061043e60048036038101906104399190614276565b610dfe565b005b34801561044c57600080fd5b5061046760048036038101906104629190613fd9565b610e5e565b005b34801561047557600080fd5b50610490600480360381019061048b919061408e565b61103d565b60405161049d919061425b565b60405180910390f35b3480156104b257600080fd5b506104bb6110e2565b005b3480156104c957600080fd5b506104e460048036038101906104df9190614276565b61118a565b005b3480156104f257600080fd5b5061050d60048036038101906105089190613fd9565b6111aa565b005b34801561051b57600080fd5b5061053660048036038101906105319190614307565b611206565b005b34801561054457600080fd5b5061055f600480360381019061055a9190613fd9565b6112c9565b60405161056c919061425b565b60405180910390f35b34801561058157600080fd5b5061058a61133a565b604051610597919061425b565b60405180910390f35b3480156105ac57600080fd5b506105c760048036038101906105c29190614203565b611340565b005b3480156105d557600080fd5b506105f060048036038101906105eb9190614347565b6113d6565b005b3480156105fe57600080fd5b50610619600480360381019061061491906143b3565b6114a6565b005b34801561062757600080fd5b50610642600480360381019061063d9190613fd9565b611575565b60405161064f9190614047565b60405180910390f35b34801561066457600080fd5b5061066d611627565b60405161067a9190613ecd565b60405180910390f35b34801561068f57600080fd5b5061069861163a565b6040516106a5919061425b565b60405180910390f35b3480156106ba57600080fd5b506106c3611640565b6040516106d09190613f81565b60405180910390f35b6106f360048036038101906106ee9190613fd9565b6116ce565b005b34801561070157600080fd5b5061071c60048036038101906107179190614406565b611770565b604051610729919061425b565b60405180910390f35b34801561073e57600080fd5b50610747611828565b005b610751611965565b005b34801561075f57600080fd5b50610768611bb1565b6040516107759190614047565b60405180910390f35b34801561078a57600080fd5b50610793611bdb565b6040516107a09190613f81565b60405180910390f35b3480156107b557600080fd5b506107d060048036038101906107cb9190614406565b611c6d565b6040516107dd9190613ecd565b60405180910390f35b3480156107f257600080fd5b5061080d60048036038101906108089190614433565b611cc4565b005b34801561081b57600080fd5b5061083660048036038101906108319190614473565b611e45565b005b34801561084457600080fd5b5061085f600480360381019061085a9190613fd9565b611edb565b005b34801561086d57600080fd5b5061088860048036038101906108839190614567565b611f61565b005b34801561089657600080fd5b506108b160048036038101906108ac9190614611565b611fc3565b005b3480156108bf57600080fd5b506108c8612341565b6040516108d59190613ecd565b60405180910390f35b3480156108ea57600080fd5b5061090560048036038101906109009190613fd9565b612354565b6040516109129190613f81565b60405180910390f35b34801561092757600080fd5b50610942600480360381019061093d9190613fd9565b6123fb565b60405161094f9190613ecd565b60405180910390f35b34801561096457600080fd5b5061096d612426565b60405161097a9190613ecd565b60405180910390f35b34801561098f57600080fd5b50610998612439565b6040516109a5919061425b565b60405180910390f35b3480156109ba57600080fd5b506109c361243f565b6040516109d0919061425b565b60405180910390f35b3480156109e557600080fd5b50610a0060048036038101906109fb9190614651565b612444565b604051610a0d9190613ecd565b60405180910390f35b348015610a2257600080fd5b50610a2b6124d8565b604051610a389190613ecd565b60405180910390f35b348015610a4d57600080fd5b50610a686004803603810190610a639190614406565b6124eb565b005b610a846004803603810190610a7f91906146ec565b612697565b005b6000610a9182612940565b9050919050565b606060008054610aa79061477b565b80601f0160208091040260200160405190810160405280929190818152602001828054610ad39061477b565b8015610b205780601f10610af557610100808354040283529160200191610b20565b820191906000526020600020905b815481529060010190602001808311610b0357829003601f168201915b5050505050905090565b6000610b35826129ba565b610b74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6b9061481f565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bba82611575565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c22906148b1565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c4a612a26565b73ffffffffffffffffffffffffffffffffffffffff161480610c795750610c7881610c73612a26565b612444565b5b610cb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610caf90614943565b60405180910390fd5b610cc28383612a2e565b505050565b60128054610cd49061477b565b80601f0160208091040260200160405190810160405280929190818152602001828054610d009061477b565b8015610d4d5780601f10610d2257610100808354040283529160200191610d4d565b820191906000526020600020905b815481529060010190602001808311610d3057829003601f168201915b505050505081565b610d5d612a26565b73ffffffffffffffffffffffffffffffffffffffff16610d7b611bb1565b73ffffffffffffffffffffffffffffffffffffffff1614610dd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc8906149af565b60405180910390fd5b8060129080519060200190610de7929190613d76565b5050565b600f5481565b6000600880549050905090565b610e0f610e09612a26565b82612ae7565b610e4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4590614a41565b60405180910390fd5b610e59838383612bc5565b505050565b610e66612a26565b73ffffffffffffffffffffffffffffffffffffffff16610e84611bb1565b73ffffffffffffffffffffffffffffffffffffffff1614610eda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed1906149af565b60405180910390fd5b803073ffffffffffffffffffffffffffffffffffffffff16311015610f34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2b90614aad565b60405180910390fd5b6000612710905060005b600581101561103857600082601c8360058110610f5e57610f5d614acd565b5b015485610f6b9190614b2b565b610f759190614bb4565b9050610fb660178360058110610f8e57610f8d614acd565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612e21565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05660178360058110610feb57610fea614acd565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168260405161101c929190614be5565b60405180910390a150808061103090614c0e565b915050610f3e565b505050565b600061104883611770565b8210611089576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108090614cc9565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6110ea612a26565b73ffffffffffffffffffffffffffffffffffffffff16611108611bb1565b73ffffffffffffffffffffffffffffffffffffffff161461115e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611155906149af565b60405180910390fd5b601060029054906101000a900460ff1615601060026101000a81548160ff021916908315150217905550565b6111a583838360405180602001604052806000815250611f61565b505050565b6111bb6111b5612a26565b82612ae7565b6111fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f190614d5b565b60405180910390fd5b61120381612f2c565b50565b61120e612a26565b73ffffffffffffffffffffffffffffffffffffffff1661122c611bb1565b73ffffffffffffffffffffffffffffffffffffffff1614611282576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611279906149af565b60405180910390fd5b61128c8183612e21565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05681836040516112bd929190614dda565b60405180910390a15050565b60006112d3610df1565b8210611314576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130b90614e75565b60405180910390fd5b6008828154811061132857611327614acd565b5b90600052602060002001549050919050565b600c5481565b611348612a26565b73ffffffffffffffffffffffffffffffffffffffff16611366611bb1565b73ffffffffffffffffffffffffffffffffffffffff16146113bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b3906149af565b60405180910390fd5b80601190805190602001906113d2929190613d76565b5050565b6113de612a26565b73ffffffffffffffffffffffffffffffffffffffff166113fc611bb1565b73ffffffffffffffffffffffffffffffffffffffff1614611452576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611449906149af565b60405180910390fd5b600061145e600b61303d565b90506000600190505b8381116114a05761148383828461147e9190614e95565b61304b565b61148d600b613069565b808061149890614c0e565b915050611467565b50505050565b6114ae612a26565b73ffffffffffffffffffffffffffffffffffffffff166114cc611bb1565b73ffffffffffffffffffffffffffffffffffffffff1614611522576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611519906149af565b60405180910390fd5b82601060006101000a81548160ff02191690831515021790555081601060016101000a81548160ff02191690831515021790555080601060036101000a81548160ff021916908315150217905550505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561161e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161590614f5d565b60405180910390fd5b80915050919050565b601060039054906101000a900460ff1681565b600d5481565b6011805461164d9061477b565b80601f01602080910402602001604051908101604052809291908181526020018280546116799061477b565b80156116c65780601f1061169b576101008083540402835291602001916116c6565b820191906000526020600020905b8154815290600101906020018083116116a957829003601f168201915b505050505081565b601060029054906101000a900460ff1661171d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171490614fc9565b60405180910390fd5b600f811115611761576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117589061505b565b60405180910390fd5b61176d81600d5461307f565b50565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d8906150ed565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611830612a26565b73ffffffffffffffffffffffffffffffffffffffff1661184e611bb1565b73ffffffffffffffffffffffffffffffffffffffff16146118a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189b906149af565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b601060019054906101000a900460ff166119b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ab90615159565b60405180910390fd5b6000601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401611a2d9190614047565b60206040518083038186803b158015611a4557600080fd5b505afa158015611a59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7d919061518e565b11611abd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab49061522d565b60405180910390fd5b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611b4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b41906152bf565b60405180910390fd5b6001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611baf6001600e5461307f565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611bea9061477b565b80601f0160208091040260200160405190810160405280929190818152602001828054611c169061477b565b8015611c635780601f10611c3857610100808354040283529160200191611c63565b820191906000526020600020905b815481529060010190602001808311611c4657829003601f168201915b5050505050905090565b6000601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16159050919050565b611ccc612a26565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d319061532b565b60405180910390fd5b8060056000611d47612a26565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611df4612a26565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e399190613ecd565b60405180910390a35050565b611e4d612a26565b73ffffffffffffffffffffffffffffffffffffffff16611e6b611bb1565b73ffffffffffffffffffffffffffffffffffffffff1614611ec1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb8906149af565b60405180910390fd5b82600d8190555081600e8190555080600f81905550505050565b611ee3612a26565b73ffffffffffffffffffffffffffffffffffffffff16611f01611bb1565b73ffffffffffffffffffffffffffffffffffffffff1614611f57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4e906149af565b60405180910390fd5b80600c8190555050565b611f72611f6c612a26565b83612ae7565b611fb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa890614a41565b60405180910390fd5b611fbd84848484613182565b50505050565b601060039054906101000a900460ff16612012576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200990615397565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016120a0919061425b565b60206040518083038186803b1580156120b857600080fd5b505afa1580156120cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120f091906153cc565b73ffffffffffffffffffffffffffffffffffffffff1614612146576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213d9061546b565b60405180910390fd5b60005b60038110156121f2573373ffffffffffffffffffffffffffffffffffffffff1661218983836003811061217f5761217e614acd565b5b6020020135611575565b73ffffffffffffffffffffffffffffffffffffffff16146121df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d6906154fd565b60405180910390fd5b80806121ea90614c0e565b915050612149565b50601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c68836040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040161226a919061425b565b600060405180830381600087803b15801561228457600080fd5b505af1158015612298573d6000803e3d6000fd5b5050505060005b60038110156122db576122c88282600381106122be576122bd614acd565b5b6020020135612f2c565b80806122d390614c0e565b91505061229f565b506122e6600b613069565b6122f9336122f4600b61303d565b61304b565b7fd8aa7fcf41d17b9e8b6c451cdfeaac41b14e1dc6241d4d88b61737969255fdf0612324600b61303d565b83836040516123359392919061552d565b60405180910390a15050565b601060019054906101000a900460ff1681565b606061235f826129ba565b61239e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612395906155d6565b60405180910390fd5b60006123a86131de565b905060008151116123c857604051806020016040528060008152506123f3565b806123d284613270565b6040516020016123e3929190615632565b6040516020818303038152906040525b915050919050565b60006016600083815260200190815260200160002060009054906101000a900460ff16159050919050565b601060009054906101000a900460ff1681565b600e5481565b600f81565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601060029054906101000a900460ff1681565b6124f3612a26565b73ffffffffffffffffffffffffffffffffffffffff16612511611bb1565b73ffffffffffffffffffffffffffffffffffffffff1614612567576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255e906149af565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156125d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ce906156c8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601060009054906101000a900460ff166126e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126dd90615159565b60405180910390fd5b8181905060026126f69190614b2b565b831115612738576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272f9061575a565b60405180910390fd5b60005b8282905081101561292e573373ffffffffffffffffffffffffffffffffffffffff16601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e8585858181106127ae576127ad614acd565b5b905060200201356040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016127ed919061425b565b60206040518083038186803b15801561280557600080fd5b505afa158015612819573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061283d91906153cc565b73ffffffffffffffffffffffffffffffffffffffff1614801561289757506016600084848481811061287257612871614acd565b5b90506020020135815260200190815260200160002060009054906101000a900460ff16155b6128d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128cd90615812565b60405180910390fd5b6001601660008585858181106128ef576128ee614acd565b5b90506020020135815260200190815260200160002060006101000a81548160ff021916908315150217905550808061292690614c0e565b91505061273b565b5061293b83600f5461307f565b505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806129b357506129b2826133f0565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612aa183611575565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612af2826129ba565b612b31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b28906158a4565b60405180910390fd5b6000612b3c83611575565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612bab57508373ffffffffffffffffffffffffffffffffffffffff16612b9384610b2a565b73ffffffffffffffffffffffffffffffffffffffff16145b80612bbc5750612bbb8185612444565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612be582611575565b73ffffffffffffffffffffffffffffffffffffffff1614612c3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c3290615936565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612cab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ca2906159c8565b60405180910390fd5b612cb68383836134d2565b612cc1600082612a2e565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d1191906159e8565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d689190614e95565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b803073ffffffffffffffffffffffffffffffffffffffff16311015612e7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e7290615a68565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612ea190615ab9565b60006040518083038185875af1925050503d8060008114612ede576040519150601f19603f3d011682016040523d82523d6000602084013e612ee3565b606091505b5050905080612f27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1e90615b40565b60405180910390fd5b505050565b6000612f3782611575565b9050612f45816000846134d2565b612f50600083612a2e565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612fa091906159e8565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600081600001549050919050565b6130658282604051806020016040528060008152506134e2565b5050565b6001816000016000828254019250508190555050565b600c548261308d600b61303d565b6130979190614e95565b11156130d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130cf90615bd2565b60405180910390fd5b3482826130e59190614b2b565b1115613126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161311d90615c3e565b60405180910390fd5b60005b8281101561317d576000600161313f600b61303d565b6131499190614e95565b9050600c5481116131695761315e600b613069565b613168338261304b565b5b50808061317590614c0e565b915050613129565b505050565b61318d848484612bc5565b6131998484848461353d565b6131d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131cf90615cd0565b60405180910390fd5b50505050565b6060601180546131ed9061477b565b80601f01602080910402602001604051908101604052809291908181526020018280546132199061477b565b80156132665780601f1061323b57610100808354040283529160200191613266565b820191906000526020600020905b81548152906001019060200180831161324957829003601f168201915b5050505050905090565b606060008214156132b8576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506133eb565b600082905060005b600082146132ea5780806132d390614c0e565b915050600a826132e39190614bb4565b91506132c0565b60008167ffffffffffffffff811115613306576133056140d8565b5b6040519080825280601f01601f1916602001820160405280156133385781602001600182028036833780820191505090505b5090505b600085146133e45760018261335191906159e8565b9150600a856133609190615cf0565b603061336c9190614e95565b7f0100000000000000000000000000000000000000000000000000000000000000028183815181106133a1576133a0614acd565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856133dd9190614bb4565b945061333c565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806134bb57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806134cb57506134ca8261370c565b5b9050919050565b6134dd838383613776565b505050565b6134ec838361388a565b6134f9600084848461353d565b613538576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161352f90615cd0565b60405180910390fd5b505050565b600061355e8473ffffffffffffffffffffffffffffffffffffffff16613a58565b156136ff578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613587612a26565b8786866040518563ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016135c59493929190615d76565b602060405180830381600087803b1580156135df57600080fd5b505af192505050801561361057506040513d601f19601f8201168201806040525081019061360d9190615dd7565b60015b613693573d8060008114613640576040519150601f19603f3d011682016040523d82523d6000602084013e613645565b606091505b5060008151141561368b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161368290615cd0565b60405180910390fd5b805181602001fd5b63150b7a027c0100000000000000000000000000000000000000000000000000000000027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613704565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613781838383613a6b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156137c4576137bf81613a70565b613803565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613802576138018382613ab9565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156138465761384181613c26565b613885565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613884576138838282613cf7565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156138fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138f190615e50565b60405180910390fd5b613903816129ba565b15613943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161393a90615ebc565b60405180910390fd5b61394f600083836134d2565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461399f9190614e95565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613ac684611770565b613ad091906159e8565b9050600060076000848152602001908152602001600020549050818114613bb5576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613c3a91906159e8565b9050600060096000848152602001908152602001600020549050600060088381548110613c6a57613c69614acd565b5b906000526020600020015490508060088381548110613c8c57613c8b614acd565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613cdb57613cda615edc565b5b6001900381819060005260206000200160009055905550505050565b6000613d0283611770565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613d829061477b565b90600052602060002090601f016020900481019282613da45760008555613deb565b82601f10613dbd57805160ff1916838001178555613deb565b82800160010185558215613deb579182015b82811115613dea578251825591602001919060010190613dcf565b5b509050613df89190613dfc565b5090565b5b80821115613e15576000816000905550600101613dfd565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613e6281613e2d565b8114613e6d57600080fd5b50565b600081359050613e7f81613e59565b92915050565b600060208284031215613e9b57613e9a613e23565b5b6000613ea984828501613e70565b91505092915050565b60008115159050919050565b613ec781613eb2565b82525050565b6000602082019050613ee26000830184613ebe565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613f22578082015181840152602081019050613f07565b83811115613f31576000848401525b50505050565b6000601f19601f8301169050919050565b6000613f5382613ee8565b613f5d8185613ef3565b9350613f6d818560208601613f04565b613f7681613f37565b840191505092915050565b60006020820190508181036000830152613f9b8184613f48565b905092915050565b6000819050919050565b613fb681613fa3565b8114613fc157600080fd5b50565b600081359050613fd381613fad565b92915050565b600060208284031215613fef57613fee613e23565b5b6000613ffd84828501613fc4565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061403182614006565b9050919050565b61404181614026565b82525050565b600060208201905061405c6000830184614038565b92915050565b61406b81614026565b811461407657600080fd5b50565b60008135905061408881614062565b92915050565b600080604083850312156140a5576140a4613e23565b5b60006140b385828601614079565b92505060206140c485828601613fc4565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61411082613f37565b810181811067ffffffffffffffff8211171561412f5761412e6140d8565b5b80604052505050565b6000614142613e19565b905061414e8282614107565b919050565b600067ffffffffffffffff82111561416e5761416d6140d8565b5b61417782613f37565b9050602081019050919050565b82818337600083830152505050565b60006141a66141a184614153565b614138565b9050828152602081018484840111156141c2576141c16140d3565b5b6141cd848285614184565b509392505050565b600082601f8301126141ea576141e96140ce565b5b81356141fa848260208601614193565b91505092915050565b60006020828403121561421957614218613e23565b5b600082013567ffffffffffffffff81111561423757614236613e28565b5b614243848285016141d5565b91505092915050565b61425581613fa3565b82525050565b6000602082019050614270600083018461424c565b92915050565b60008060006060848603121561428f5761428e613e23565b5b600061429d86828701614079565b93505060206142ae86828701614079565b92505060406142bf86828701613fc4565b9150509250925092565b60006142d482614006565b9050919050565b6142e4816142c9565b81146142ef57600080fd5b50565b600081359050614301816142db565b92915050565b6000806040838503121561431e5761431d613e23565b5b600061432c85828601613fc4565b925050602061433d858286016142f2565b9150509250929050565b6000806040838503121561435e5761435d613e23565b5b600061436c85828601613fc4565b925050602061437d85828601614079565b9150509250929050565b61439081613eb2565b811461439b57600080fd5b50565b6000813590506143ad81614387565b92915050565b6000806000606084860312156143cc576143cb613e23565b5b60006143da8682870161439e565b93505060206143eb8682870161439e565b92505060406143fc8682870161439e565b9150509250925092565b60006020828403121561441c5761441b613e23565b5b600061442a84828501614079565b91505092915050565b6000806040838503121561444a57614449613e23565b5b600061445885828601614079565b92505060206144698582860161439e565b9150509250929050565b60008060006060848603121561448c5761448b613e23565b5b600061449a86828701613fc4565b93505060206144ab86828701613fc4565b92505060406144bc86828701613fc4565b9150509250925092565b600067ffffffffffffffff8211156144e1576144e06140d8565b5b6144ea82613f37565b9050602081019050919050565b600061450a614505846144c6565b614138565b905082815260208101848484011115614526576145256140d3565b5b614531848285614184565b509392505050565b600082601f83011261454e5761454d6140ce565b5b813561455e8482602086016144f7565b91505092915050565b6000806000806080858703121561458157614580613e23565b5b600061458f87828801614079565b94505060206145a087828801614079565b93505060406145b187828801613fc4565b925050606085013567ffffffffffffffff8111156145d2576145d1613e28565b5b6145de87828801614539565b91505092959194509250565b600080fd5b60008190508260206003028201111561460b5761460a6145ea565b5b92915050565b6000806080838503121561462857614627613e23565b5b600061463685828601613fc4565b9250506020614647858286016145ef565b9150509250929050565b6000806040838503121561466857614667613e23565b5b600061467685828601614079565b925050602061468785828601614079565b9150509250929050565b600080fd5b60008083601f8401126146ac576146ab6140ce565b5b8235905067ffffffffffffffff8111156146c9576146c8614691565b5b6020830191508360208202830111156146e5576146e46145ea565b5b9250929050565b60008060006040848603121561470557614704613e23565b5b600061471386828701613fc4565b935050602084013567ffffffffffffffff81111561473457614733613e28565b5b61474086828701614696565b92509250509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061479357607f821691505b602082108114156147a7576147a661474c565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614809602c83613ef3565b9150614814826147ad565b604082019050919050565b60006020820190508181036000830152614838816147fc565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061489b602183613ef3565b91506148a68261483f565b604082019050919050565b600060208201905081810360008301526148ca8161488e565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061492d603883613ef3565b9150614938826148d1565b604082019050919050565b6000602082019050818103600083015261495c81614920565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614999602083613ef3565b91506149a482614963565b602082019050919050565b600060208201905081810360008301526149c88161498c565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614a2b603183613ef3565b9150614a36826149cf565b604082019050919050565b60006020820190508181036000830152614a5a81614a1e565b9050919050565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b6000614a97601483613ef3565b9150614aa282614a61565b602082019050919050565b60006020820190508181036000830152614ac681614a8a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614b3682613fa3565b9150614b4183613fa3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614b7a57614b79614afc565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614bbf82613fa3565b9150614bca83613fa3565b925082614bda57614bd9614b85565b5b828204905092915050565b6000604082019050614bfa6000830185614038565b614c07602083018461424c565b9392505050565b6000614c1982613fa3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614c4c57614c4b614afc565b5b600182019050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614cb3602b83613ef3565b9150614cbe82614c57565b604082019050919050565b60006020820190508181036000830152614ce281614ca6565b9050919050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b6000614d45603083613ef3565b9150614d5082614ce9565b604082019050919050565b60006020820190508181036000830152614d7481614d38565b9050919050565b6000819050919050565b6000614da0614d9b614d9684614006565b614d7b565b614006565b9050919050565b6000614db282614d85565b9050919050565b6000614dc482614da7565b9050919050565b614dd481614db9565b82525050565b6000604082019050614def6000830185614dcb565b614dfc602083018461424c565b9392505050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614e5f602c83613ef3565b9150614e6a82614e03565b604082019050919050565b60006020820190508181036000830152614e8e81614e52565b9050919050565b6000614ea082613fa3565b9150614eab83613fa3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614ee057614edf614afc565b5b828201905092915050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614f47602983613ef3565b9150614f5282614eeb565b604082019050919050565b60006020820190508181036000830152614f7681614f3a565b9050919050565b7f53616c65206973206e6f74206c69766520796574000000000000000000000000600082015250565b6000614fb3601483613ef3565b9150614fbe82614f7d565b602082019050919050565b60006020820190508181036000830152614fe281614fa6565b9050919050565b7f596f752063616e206d696e742061206d6178206f6620313520474f52204e465460008201527f7320617420612074696d65000000000000000000000000000000000000000000602082015250565b6000615045602b83613ef3565b915061505082614fe9565b604082019050919050565b6000602082019050818103600083015261507481615038565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006150d7602a83613ef3565b91506150e28261507b565b604082019050919050565b60006020820190508181036000830152615106816150ca565b9050919050565b7f5072652d73616c65206973206e6f74206c697665207965740000000000000000600082015250565b6000615143601883613ef3565b915061514e8261510d565b602082019050919050565b6000602082019050818103600083015261517281615136565b9050919050565b60008151905061518881613fad565b92915050565b6000602082840312156151a4576151a3613e23565b5b60006151b284828501615179565b91505092915050565b7f54686973206164647265737320646f6573206e6f74206f776e20544f52204e4660008201527f5473000000000000000000000000000000000000000000000000000000000000602082015250565b6000615217602283613ef3565b9150615222826151bb565b604082019050919050565b600060208201905081810360008301526152468161520a565b9050919050565b7f546869732077616c6c65742068617320616c7265616479206d696e746564204760008201527f4f5220696e207468652070726573616c65000000000000000000000000000000602082015250565b60006152a9603183613ef3565b91506152b48261524d565b604082019050919050565b600060208201905081810360008301526152d88161529c565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615315601983613ef3565b9150615320826152df565b602082019050919050565b6000602082019050818103600083015261534481615308565b9050919050565b7f44656d69676f64206d696e74696e67206973206e6f74206c6976652079657400600082015250565b6000615381601f83613ef3565b915061538c8261534b565b602082019050919050565b600060208201905081810360008301526153b081615374565b9050919050565b6000815190506153c681614062565b92915050565b6000602082840312156153e2576153e1613e23565b5b60006153f0848285016153b7565b91505092915050565b7f43616c6c6572206973206e6f74206f776e6572206f662074686520544f52205460008201527f6f6b656e20494400000000000000000000000000000000000000000000000000602082015250565b6000615455602783613ef3565b9150615460826153f9565b604082019050919050565b6000602082019050818103600083015261548481615448565b9050919050565b7f43616c6c6572206973206e6f74206f776e6572206f662074686520474f52205460008201527f6f6b656e20494400000000000000000000000000000000000000000000000000602082015250565b60006154e7602783613ef3565b91506154f28261548b565b604082019050919050565b60006020820190508181036000830152615516816154da565b9050919050565b61552960608383614184565b5050565b600060a082019050615542600083018661424c565b61554f602083018561424c565b61555c604083018461551d565b949350505050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006155c0602f83613ef3565b91506155cb82615564565b604082019050919050565b600060208201905081810360008301526155ef816155b3565b9050919050565b600081905092915050565b600061560c82613ee8565b61561681856155f6565b9350615626818560208601613f04565b80840191505092915050565b600061563e8285615601565b915061564a8284615601565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006156b2602683613ef3565b91506156bd82615656565b604082019050919050565b600060208201905081810360008301526156e1816156a5565b9050919050565b7f496e73756666696369656e74205649502070617373657320666f72207468652060008201527f7265717569726564206d696e7473000000000000000000000000000000000000602082015250565b6000615744602e83613ef3565b915061574f826156e8565b604082019050919050565b6000602082019050818103600083015261577381615737565b9050919050565b7f43616c6c657220697320656974686572206e6f74206f776e6572206f6620746860008201527f6520746f6b656e204944206f722069742068617320616c72656164792062656560208201527f6e20636c61696d65640000000000000000000000000000000000000000000000604082015250565b60006157fc604983613ef3565b91506158078261577a565b606082019050919050565b6000602082019050818103600083015261582b816157ef565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061588e602c83613ef3565b915061589982615832565b604082019050919050565b600060208201905081810360008301526158bd81615881565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000615920602983613ef3565b915061592b826158c4565b604082019050919050565b6000602082019050818103600083015261594f81615913565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006159b2602483613ef3565b91506159bd82615956565b604082019050919050565b600060208201905081810360008301526159e1816159a5565b9050919050565b60006159f382613fa3565b91506159fe83613fa3565b925082821015615a1157615a10614afc565b5b828203905092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000615a52601d83613ef3565b9150615a5d82615a1c565b602082019050919050565b60006020820190508181036000830152615a8181615a45565b9050919050565b600081905092915050565b50565b6000615aa3600083615a88565b9150615aae82615a93565b600082019050919050565b6000615ac482615a96565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000615b2a603a83613ef3565b9150615b3582615ace565b604082019050919050565b60006020820190508181036000830152615b5981615b1d565b9050919050565b7f507572636861736520776f756c6420657863656564206d617820617661696c6160008201527f626c65204e465473000000000000000000000000000000000000000000000000602082015250565b6000615bbc602883613ef3565b9150615bc782615b60565b604082019050919050565b60006020820190508181036000830152615beb81615baf565b9050919050565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b6000615c28601f83613ef3565b9150615c3382615bf2565b602082019050919050565b60006020820190508181036000830152615c5781615c1b565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615cba603283613ef3565b9150615cc582615c5e565b604082019050919050565b60006020820190508181036000830152615ce981615cad565b9050919050565b6000615cfb82613fa3565b9150615d0683613fa3565b925082615d1657615d15614b85565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000615d4882615d21565b615d528185615d2c565b9350615d62818560208601613f04565b615d6b81613f37565b840191505092915050565b6000608082019050615d8b6000830187614038565b615d986020830186614038565b615da5604083018561424c565b8181036060830152615db78184615d3d565b905095945050505050565b600081519050615dd181613e59565b92915050565b600060208284031215615ded57615dec613e23565b5b6000615dfb84828501615dc2565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615e3a602083613ef3565b9150615e4582615e04565b602082019050919050565b60006020820190508181036000830152615e6981615e2d565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615ea6601c83613ef3565b9150615eb182615e70565b602082019050919050565b60006020820190508181036000830152615ed581615e99565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea264697066735822122002adb6e59d80fc647ba6c5615d96e5dfdf13b2c3dc99b7a21b732da304c6650264736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000271000000000000000000000000071c99b3b2b2ca1e29eb05dfe0e12c75799c744cf000000000000000000000000c2f05fd9fe4cfe8f7395ddb220c84d3ef240cf3d000000000000000000000000000000000000000000000000000000000000000a476f64734f66526f636b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003474f520000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): GodsOfRock
Arg [1] : symbol (string): GOR
Arg [2] : maxGodsOfRockSupply (uint256): 10000
Arg [3] : vipContractAddress (address): 0x71c99B3b2b2ca1e29Eb05DFE0E12c75799c744Cf
Arg [4] : torContractAddress (address): 0xc2f05fD9fE4cfE8f7395ddb220c84D3Ef240cF3D
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [3] : 00000000000000000000000071c99b3b2b2ca1e29eb05dfe0e12c75799c744cf
Arg [4] : 000000000000000000000000c2f05fd9fe4cfe8f7395ddb220c84d3ef240cf3d
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [6] : 476f64734f66526f636b00000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [8] : 474f520000000000000000000000000000000000000000000000000000000000
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.