ERC-20
Overview
Max Total Supply
100 GRROC
Holders
0
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 0 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
GenesisRoaringRoccstars
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.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/Counters.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "./IStakingContract.sol"; import "./ITokenContract.sol"; /* ____ ____ ___ ____ _____ ________ __ _________ ____ __________ _____ / __ \/ __ \/ | / __ \/ _/ | / / ____/ / / / ____/ | / __ \/ ____/ __ \/ ___/ / /_/ / / / / /| | / /_/ // // |/ / / __ / / / __/ / /| | / / / / __/ / /_/ /\__ \ / _, _/ /_/ / ___ |/ _, _// // /| / /_/ / / /___/ /___/ ___ |/ /_/ / /___/ _, _/___/ / /_/ |_|\____/_/ |_/_/ |_/___/_/ |_/\____/ /_____/_____/_/ |_/_____/_____/_/ |_|/____/ I see you nerd! ⌐⊙_⊙ */ contract GenesisRoaringRoccstars is ERC721, ERC721Enumerable, ERC721Burnable, Ownable { using Counters for Counters.Counter; using ECDSA for bytes32; Counters.Counter private _tokenIdCounter; string public baseURI; ITokenContract public roarTokenContractInstance; IStakingContract public genesisRoarStakingContractInstance; uint256 public mintRoarPrice = 6000; uint256 public cooldownPillPrice = 3000; uint256 public maxTokenSupply = 100; uint256 public cooldown = 28 * 24 * 3600; bool public breedingIsActive = false; // Used to validate authorized mint addresses address private signerAddress = 0xB44b7e7988A225F8C479cB08a63C04e0039B53Ff; // Mapping of token numbers to last timestamp bred mapping(uint256 => uint256) public lastTimestamps; event CubBorn(uint256 tokenId, uint256 firstTokenId, uint256 secondTokenId, bool instantCooldown); event CubBornUsingMarketplace(uint256 tokenId, uint256 firstTokenId, uint256 secondTokenId, bool instantCooldown, address renter, bool acceptorIsFirstOwner, uint256 rentalFee, uint256 expiry); constructor(string memory name, string memory symbol, address roarTokenAddress, address roarStakingAddress) ERC721(name, symbol) { roarTokenContractInstance = ITokenContract(roarTokenAddress); genesisRoarStakingContractInstance = IStakingContract(roarStakingAddress); } function setAddresses(address roarTokenAddress, address roarStakingAddress, address newSignerAddress) public onlyOwner { roarTokenContractInstance = ITokenContract(roarTokenAddress); genesisRoarStakingContractInstance = IStakingContract(roarStakingAddress); signerAddress = newSignerAddress; } function flipBreedingState() public onlyOwner { breedingIsActive = !breedingIsActive; } function setVariables(uint256 newRoarPrice, uint256 maxCubSupply, uint256 newCooldown, uint256 newCooldownPillPrice) public onlyOwner { mintRoarPrice = newRoarPrice; maxTokenSupply = maxCubSupply; cooldown = newCooldown; cooldownPillPrice = newCooldownPillPrice; } function hashListing(uint256 tokenId, uint256 rentalFee, uint256 expiry) public pure returns (bytes32) { return keccak256(abi.encode( tokenId, rentalFee, expiry )); } /* * 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(); } } /* * Breed Genesis Roaring Leaders - both need to be owned by caller */ function breedGenesisLeaders(uint256 firstTokenId, uint256 secondTokenId, bool instantCooldown) public { require(_tokenIdCounter.current() < maxTokenSupply, "Max supply"); require(breedingIsActive, "Breeding not live"); require(firstTokenId != secondTokenId, "Tokens not unique"); uint256[] memory tokenIds = new uint256[](2); tokenIds[0] = firstTokenId; tokenIds[1] = secondTokenId; require(genesisRoarStakingContractInstance.hasDepositsOrOwns(msg.sender, tokenIds), "Not owner"); _verifyCooldowns(firstTokenId, secondTokenId, instantCooldown); roarTokenContractInstance.burnFrom(msg.sender, instantCooldown ? (mintRoarPrice + cooldownPillPrice) * 10 ** 18 : mintRoarPrice * 10 ** 18); _tokenIdCounter.increment(); _safeMint(msg.sender, _tokenIdCounter.current()); emit CubBorn(_tokenIdCounter.current(), firstTokenId, secondTokenId, instantCooldown); } /* * Breed Genesis Roaring Leaders - both need to be owned by caller */ function breedUsingMarketplace(uint256 firstTokenId, uint256 secondTokenId, bool instantCooldown, address renter, bool acceptorIsFirstOwner, uint256 rentalFee, uint256 expiry, bytes memory listingSignature) public { require(_tokenIdCounter.current() < maxTokenSupply, "Max supply"); require(breedingIsActive, "Breeding not live"); require(expiry > block.timestamp, "Listing has expired"); uint256[] memory tokenIds = new uint256[](1); tokenIds[0] = firstTokenId; require(genesisRoarStakingContractInstance.hasDepositsOrOwns(acceptorIsFirstOwner ? msg.sender : renter, tokenIds), "Not owner"); tokenIds[0] = secondTokenId; require(genesisRoarStakingContractInstance.hasDepositsOrOwns(acceptorIsFirstOwner ? renter : msg.sender, tokenIds), "Not owner"); _verifyCooldowns(firstTokenId, secondTokenId, instantCooldown); bytes32 hashToVerify = hashListing(acceptorIsFirstOwner ? secondTokenId : firstTokenId, rentalFee, expiry); require(renter == hashToVerify.toEthSignedMessageHash().recover(listingSignature), "Invalid listing signature"); roarTokenContractInstance.burnFrom(msg.sender, instantCooldown ? (mintRoarPrice + cooldownPillPrice) * 10 ** 18 : mintRoarPrice * 10 ** 18); roarTokenContractInstance.transferFrom(msg.sender, renter, rentalFee * 10 ** 18); _tokenIdCounter.increment(); _safeMint(msg.sender, _tokenIdCounter.current()); emit CubBornUsingMarketplace(_tokenIdCounter.current(), firstTokenId, secondTokenId, instantCooldown, renter, acceptorIsFirstOwner, rentalFee, expiry); } function _verifyCooldowns(uint256 firstTokenId, uint256 secondTokenId, bool instantCooldown) internal { if (!instantCooldown) { require((lastTimestamps[firstTokenId] + cooldown < block.timestamp) && (lastTimestamps[secondTokenId] + cooldown < block.timestamp), "Cooldown not expired"); } lastTimestamps[firstTokenId] = block.timestamp; lastTimestamps[secondTokenId] = block.timestamp; } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function setBaseURI(string memory newBaseURI) public onlyOwner { baseURI = newBaseURI; } 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; interface IStakingContract { function hasDepositsOrOwns(address owner, uint256[] memory tokenIds) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; interface ITokenContract is IERC20 { function burnFrom(address account, uint256 amount) 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; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// 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; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { // Divide the signature in r, s and v variables bytes32 r; bytes32 s; uint8 v; // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. // solhint-disable-next-line no-inline-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } } else if (signature.length == 64) { // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. // solhint-disable-next-line no-inline-assembly assembly { let vs := mload(add(signature, 0x40)) r := mload(add(signature, 0x20)) s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } } else { revert("ECDSA: invalid signature length"); } return recover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. require(uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value"); require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value"); // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); require(signer != address(0), "ECDSA: invalid signature"); return signer; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// 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": "london", "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":"address","name":"roarTokenAddress","type":"address"},{"internalType":"address","name":"roarStakingAddress","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":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"firstTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"secondTokenId","type":"uint256"},{"indexed":false,"internalType":"bool","name":"instantCooldown","type":"bool"}],"name":"CubBorn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"firstTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"secondTokenId","type":"uint256"},{"indexed":false,"internalType":"bool","name":"instantCooldown","type":"bool"},{"indexed":false,"internalType":"address","name":"renter","type":"address"},{"indexed":false,"internalType":"bool","name":"acceptorIsFirstOwner","type":"bool"},{"indexed":false,"internalType":"uint256","name":"rentalFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"expiry","type":"uint256"}],"name":"CubBornUsingMarketplace","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"firstTokenId","type":"uint256"},{"internalType":"uint256","name":"secondTokenId","type":"uint256"},{"internalType":"bool","name":"instantCooldown","type":"bool"}],"name":"breedGenesisLeaders","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"firstTokenId","type":"uint256"},{"internalType":"uint256","name":"secondTokenId","type":"uint256"},{"internalType":"bool","name":"instantCooldown","type":"bool"},{"internalType":"address","name":"renter","type":"address"},{"internalType":"bool","name":"acceptorIsFirstOwner","type":"bool"},{"internalType":"uint256","name":"rentalFee","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"bytes","name":"listingSignature","type":"bytes"}],"name":"breedUsingMarketplace","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"breedingIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cooldown","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cooldownPillPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipBreedingState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"genesisRoarStakingContractInstance","outputs":[{"internalType":"contract IStakingContract","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"rentalFee","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"}],"name":"hashListing","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lastTimestamps","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokenSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintRoarPrice","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":"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":[],"name":"roarTokenContractInstance","outputs":[{"internalType":"contract ITokenContract","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"roarTokenAddress","type":"address"},{"internalType":"address","name":"roarStakingAddress","type":"address"},{"internalType":"address","name":"newSignerAddress","type":"address"}],"name":"setAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newRoarPrice","type":"uint256"},{"internalType":"uint256","name":"maxCubSupply","type":"uint256"},{"internalType":"uint256","name":"newCooldown","type":"uint256"},{"internalType":"uint256","name":"newCooldownPillPrice","type":"uint256"}],"name":"setVariables","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"}]
Contract Creation Code
6080604052611770600f55610bb860105560646011556224ea006012556000601360006101000a81548160ff02191690831515021790555073b44b7e7988a225f8c479cb08a63c04e0039b53ff601360016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200009957600080fd5b5060405162005ec038038062005ec08339818101604052810190620000bf9190620004ec565b83838160009080519060200190620000d99291906200023a565b508060019080519060200190620000f29291906200023a565b5050506000620001076200023260201b60201c565b905080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505062000601565b600033905090565b8280546200024890620005cb565b90600052602060002090601f0160209004810192826200026c5760008555620002b8565b82601f106200028757805160ff1916838001178555620002b8565b82800160010185558215620002b8579182015b82811115620002b75782518255916020019190600101906200029a565b5b509050620002c79190620002cb565b5090565b5b80821115620002e6576000816000905550600101620002cc565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620003538262000308565b810181811067ffffffffffffffff8211171562000375576200037462000319565b5b80604052505050565b60006200038a620002ea565b905062000398828262000348565b919050565b600067ffffffffffffffff821115620003bb57620003ba62000319565b5b620003c68262000308565b9050602081019050919050565b60005b83811015620003f3578082015181840152602081019050620003d6565b8381111562000403576000848401525b50505050565b6000620004206200041a846200039d565b6200037e565b9050828152602081018484840111156200043f576200043e62000303565b5b6200044c848285620003d3565b509392505050565b600082601f8301126200046c576200046b620002fe565b5b81516200047e84826020860162000409565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620004b48262000487565b9050919050565b620004c681620004a7565b8114620004d257600080fd5b50565b600081519050620004e681620004bb565b92915050565b60008060008060808587031215620005095762000508620002f4565b5b600085015167ffffffffffffffff8111156200052a5762000529620002f9565b5b620005388782880162000454565b945050602085015167ffffffffffffffff8111156200055c576200055b620002f9565b5b6200056a8782880162000454565b93505060406200057d87828801620004d5565b92505060606200059087828801620004d5565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620005e457607f821691505b60208210811415620005fb57620005fa6200059c565b5b50919050565b6158af80620006116000396000f3fe608060405234801561001057600080fd5b50600436106102275760003560e01c80636352211e1161013057806395d89b41116100b8578063c87b56dd1161007c578063c87b56dd1461063e578063ce51ad1c1461066e578063e985e9c51461068c578063f2fde38b146106bc578063f497463a146106d857610227565b806395d89b411461059c578063a22cb465146105ba578063aa2b0797146105d6578063ab9b49c314610606578063b88d4fde1461062257610227565b8063715018a6116100ff578063715018a61461050857806374f0f4c614610512578063787a08a61461054257806386a866fa146105605780638da5cb5b1461057e57610227565b80636352211e1461046c5780636486035a1461049c5780636c0360eb146104ba57806370a08231146104d857610227565b806323b872dd116101b357806342966c681161018257806342966c68146103ca5780634f6ccce7146103e657806350f7c2041461041657806355f804b31461043457806360b02f701461045057610227565b806323b872dd146103465780632f745c5914610362578063363bf9641461039257806342842e0e146103ae57610227565b8063081812fc116101fa578063081812fc146102a2578063095ea7b3146102d257806309c94fff146102ee57806318160ddd1461030c5780631dcd44f31461032a57610227565b806301ffc9a71461022c578063029bcdf21461025c57806306fdde031461027a57806307632ca214610298575b600080fd5b61024660048036038101906102419190613841565b6106f4565b6040516102539190613889565b60405180910390f35b610264610706565b60405161027191906138bd565b60405180910390f35b61028261070c565b60405161028f9190613971565b60405180910390f35b6102a061079e565b005b6102bc60048036038101906102b791906139bf565b610846565b6040516102c99190613a2d565b60405180910390f35b6102ec60048036038101906102e79190613a74565b6108cb565b005b6102f66109e3565b6040516103039190613889565b60405180910390f35b6103146109f6565b60405161032191906138bd565b60405180910390f35b610344600480360381019061033f9190613ae0565b610a03565b005b610360600480360381019061035b9190613b33565b610d95565b005b61037c60048036038101906103779190613a74565b610df5565b60405161038991906138bd565b60405180910390f35b6103ac60048036038101906103a79190613b86565b610e9a565b005b6103c860048036038101906103c39190613b33565b610fde565b005b6103e460048036038101906103df91906139bf565b610ffe565b005b61040060048036038101906103fb91906139bf565b61105a565b60405161040d91906138bd565b60405180910390f35b61041e6110cb565b60405161042b91906138bd565b60405180910390f35b61044e60048036038101906104499190613d0e565b6110d1565b005b61046a60048036038101906104659190613d57565b611167565b005b610486600480360381019061048191906139bf565b611237565b6040516104939190613a2d565b60405180910390f35b6104a46112e9565b6040516104b19190613df6565b60405180910390f35b6104c261130f565b6040516104cf9190613971565b60405180910390f35b6104f260048036038101906104ed9190613e11565b61139d565b6040516104ff91906138bd565b60405180910390f35b610510611455565b005b61052c60048036038101906105279190613e3e565b611592565b6040516105399190613eaa565b60405180910390f35b61054a6115c8565b60405161055791906138bd565b60405180910390f35b6105686115ce565b60405161057591906138bd565b60405180910390f35b6105866115d4565b6040516105939190613a2d565b60405180910390f35b6105a46115fe565b6040516105b19190613971565b60405180910390f35b6105d460048036038101906105cf9190613ec5565b611690565b005b6105f060048036038101906105eb91906139bf565b611811565b6040516105fd91906138bd565b60405180910390f35b610620600480360381019061061b9190613fa6565b611829565b005b61063c60048036038101906106379190614078565b611e16565b005b610658600480360381019061065391906139bf565b611e78565b6040516106659190613971565b60405180910390f35b610676611f1f565b604051610683919061411c565b60405180910390f35b6106a660048036038101906106a19190614137565b611f45565b6040516106b39190613889565b60405180910390f35b6106d660048036038101906106d19190613e11565b611fd9565b005b6106f260048036038101906106ed9190614177565b612185565b005b60006106ff82612223565b9050919050565b60105481565b60606000805461071b9061420d565b80601f01602080910402602001604051908101604052809291908181526020018280546107479061420d565b80156107945780601f1061076957610100808354040283529160200191610794565b820191906000526020600020905b81548152906001019060200180831161077757829003601f168201915b5050505050905090565b6107a661229d565b73ffffffffffffffffffffffffffffffffffffffff166107c46115d4565b73ffffffffffffffffffffffffffffffffffffffff161461081a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108119061428b565b60405180910390fd5b601360009054906101000a900460ff1615601360006101000a81548160ff021916908315150217905550565b6000610851826122a5565b610890576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108879061431d565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108d682611237565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610947576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093e906143af565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661096661229d565b73ffffffffffffffffffffffffffffffffffffffff16148061099557506109948161098f61229d565b611f45565b5b6109d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90614441565b60405180910390fd5b6109de8383612311565b505050565b601360009054906101000a900460ff1681565b6000600880549050905090565b601154610a10600b6123ca565b10610a50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a47906144ad565b60405180910390fd5b601360009054906101000a900460ff16610a9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9690614519565b60405180910390fd5b81831415610ae2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad990614585565b60405180910390fd5b6000600267ffffffffffffffff811115610aff57610afe613be3565b5b604051908082528060200260200182016040528015610b2d5781602001602082028036833780820191505090505b5090508381600081518110610b4557610b446145a5565b5b6020026020010181815250508281600181518110610b6657610b656145a5565b5b602002602001018181525050600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634fb9c7c933836040518363ffffffff1660e01b8152600401610bcf929190614692565b602060405180830381865afa158015610bec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1091906146d7565b610c4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4690614750565b60405180910390fd5b610c5a8484846123d8565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379cc67903384610cb957670de0b6b3a7640000600f54610cb4919061479f565b610cdd565b670de0b6b3a7640000601054600f54610cd291906147f9565b610cdc919061479f565b5b6040518363ffffffff1660e01b8152600401610cfa92919061484f565b600060405180830381600087803b158015610d1457600080fd5b505af1158015610d28573d6000803e3d6000fd5b50505050610d36600b6124a0565b610d4933610d44600b6123ca565b6124b6565b7f0e139dcadfa6e68594df79aa14727ccabf857c608f5fedf9360acf91493581d5610d74600b6123ca565b858585604051610d879493929190614878565b60405180910390a150505050565b610da6610da061229d565b826124d4565b610de5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddc9061492f565b60405180910390fd5b610df08383836125b2565b505050565b6000610e008361139d565b8210610e41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e38906149c1565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610ea261229d565b73ffffffffffffffffffffffffffffffffffffffff16610ec06115d4565b73ffffffffffffffffffffffffffffffffffffffff1614610f16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0d9061428b565b60405180910390fd5b82600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601360016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b610ff983838360405180602001604052806000815250611e16565b505050565b61100f61100961229d565b826124d4565b61104e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104590614a53565b60405180910390fd5b6110578161280e565b50565b60006110646109f6565b82106110a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109c90614ae5565b60405180910390fd5b600882815481106110b9576110b86145a5565b5b90600052602060002001549050919050565b60115481565b6110d961229d565b73ffffffffffffffffffffffffffffffffffffffff166110f76115d4565b73ffffffffffffffffffffffffffffffffffffffff161461114d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111449061428b565b60405180910390fd5b80600c9080519060200190611163929190613732565b5050565b61116f61229d565b73ffffffffffffffffffffffffffffffffffffffff1661118d6115d4565b73ffffffffffffffffffffffffffffffffffffffff16146111e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111da9061428b565b60405180910390fd5b60006111ef600b6123ca565b90506000600190505b8381116112315761121483828461120f91906147f9565b6124b6565b61121e600b6124a0565b808061122990614b05565b9150506111f8565b50505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d790614bc0565b60405180910390fd5b80915050919050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c805461131c9061420d565b80601f01602080910402602001604051908101604052809291908181526020018280546113489061420d565b80156113955780601f1061136a57610100808354040283529160200191611395565b820191906000526020600020905b81548152906001019060200180831161137857829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561140e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140590614c52565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61145d61229d565b73ffffffffffffffffffffffffffffffffffffffff1661147b6115d4565b73ffffffffffffffffffffffffffffffffffffffff16146114d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c89061428b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008383836040516020016115a993929190614c72565b6040516020818303038152906040528051906020012090509392505050565b60125481565b600f5481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461160d9061420d565b80601f01602080910402602001604051908101604052809291908181526020018280546116399061420d565b80156116865780601f1061165b57610100808354040283529160200191611686565b820191906000526020600020905b81548152906001019060200180831161166957829003601f168201915b5050505050905090565b61169861229d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611706576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116fd90614cf5565b60405180910390fd5b806005600061171361229d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166117c061229d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118059190613889565b60405180910390a35050565b60146020528060005260406000206000915090505481565b601154611836600b6123ca565b10611876576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186d906144ad565b60405180910390fd5b601360009054906101000a900460ff166118c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118bc90614519565b60405180910390fd5b428211611907576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fe90614d61565b60405180910390fd5b6000600167ffffffffffffffff81111561192457611923613be3565b5b6040519080825280602002602001820160405280156119525781602001602082028036833780820191505090505b509050888160008151811061196a576119696145a5565b5b602002602001018181525050600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634fb9c7c9866119bf57876119c1565b335b836040518363ffffffff1660e01b81526004016119df929190614692565b602060405180830381865afa1580156119fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a2091906146d7565b611a5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5690614750565b60405180910390fd5b8781600081518110611a7457611a736145a5565b5b602002602001018181525050600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634fb9c7c986611ac95733611acb565b875b836040518363ffffffff1660e01b8152600401611ae9929190614692565b602060405180830381865afa158015611b06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2a91906146d7565b611b69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6090614750565b60405180910390fd5b611b748989896123d8565b6000611b8d86611b84578a611b86565b895b8686611592565b9050611baa83611b9c8361291f565b61294f90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff1614611c17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0e90614dcd565b60405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379cc6790338a611c7657670de0b6b3a7640000600f54611c71919061479f565b611c9a565b670de0b6b3a7640000601054600f54611c8f91906147f9565b611c99919061479f565b5b6040518363ffffffff1660e01b8152600401611cb792919061484f565b600060405180830381600087803b158015611cd157600080fd5b505af1158015611ce5573d6000803e3d6000fd5b50505050600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3389670de0b6b3a764000089611d3d919061479f565b6040518463ffffffff1660e01b8152600401611d5b93929190614ded565b6020604051808303816000875af1158015611d7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d9e91906146d7565b50611da9600b6124a0565b611dbc33611db7600b6123ca565b6124b6565b7f4be0eb45f5922b40303322f838a8dc12211343f61fd5924d7d6b833e045102cf611de7600b6123ca565b8b8b8b8b8b8b8b604051611e02989796959493929190614e24565b60405180910390a150505050505050505050565b611e27611e2161229d565b836124d4565b611e66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5d9061492f565b60405180910390fd5b611e7284848484612a19565b50505050565b6060611e83826122a5565b611ec2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb990614f14565b60405180910390fd5b6000611ecc612a75565b90506000815111611eec5760405180602001604052806000815250611f17565b80611ef684612b07565b604051602001611f07929190614f70565b6040516020818303038152906040525b915050919050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611fe161229d565b73ffffffffffffffffffffffffffffffffffffffff16611fff6115d4565b73ffffffffffffffffffffffffffffffffffffffff1614612055576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204c9061428b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156120c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120bc90615006565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61218d61229d565b73ffffffffffffffffffffffffffffffffffffffff166121ab6115d4565b73ffffffffffffffffffffffffffffffffffffffff1614612201576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f89061428b565b60405180910390fd5b83600f8190555082601181905550816012819055508060108190555050505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612296575061229582612c68565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661238483611237565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b8061246b574260125460146000868152602001908152602001600020546123ff91906147f9565b10801561242b575042601254601460008581526020019081526020016000205461242991906147f9565b105b61246a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246190615072565b60405180910390fd5b5b426014600085815260200190815260200160002081905550426014600084815260200190815260200160002081905550505050565b6001816000016000828254019250508190555050565b6124d0828260405180602001604052806000815250612d4a565b5050565b60006124df826122a5565b61251e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251590615104565b60405180910390fd5b600061252983611237565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061259857508373ffffffffffffffffffffffffffffffffffffffff1661258084610846565b73ffffffffffffffffffffffffffffffffffffffff16145b806125a957506125a88185611f45565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166125d282611237565b73ffffffffffffffffffffffffffffffffffffffff1614612628576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261f90615196565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612698576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268f90615228565b60405180910390fd5b6126a3838383612da5565b6126ae600082612311565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126fe9190615248565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461275591906147f9565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061281982611237565b905061282781600084612da5565b612832600083612311565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128829190615248565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60008160405160200161293291906152e9565b604051602081830303815290604052805190602001209050919050565b60008060008060418551141561297c576020850151925060408501519150606085015160001a9050612a02565b6040855114156129c6576040850151602086015193507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81169250601b8160ff1c01915050612a01565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129f89061535b565b60405180910390fd5b5b612a0e86828585612db5565b935050505092915050565b612a248484846125b2565b612a3084848484612f40565b612a6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a66906153ed565b60405180910390fd5b50505050565b6060600c8054612a849061420d565b80601f0160208091040260200160405190810160405280929190818152602001828054612ab09061420d565b8015612afd5780601f10612ad257610100808354040283529160200191612afd565b820191906000526020600020905b815481529060010190602001808311612ae057829003601f168201915b5050505050905090565b60606000821415612b4f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612c63565b600082905060005b60008214612b81578080612b6a90614b05565b915050600a82612b7a919061543c565b9150612b57565b60008167ffffffffffffffff811115612b9d57612b9c613be3565b5b6040519080825280601f01601f191660200182016040528015612bcf5781602001600182028036833780820191505090505b5090505b60008514612c5c57600182612be89190615248565b9150600a85612bf7919061546d565b6030612c0391906147f9565b60f81b818381518110612c1957612c186145a5565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612c55919061543c565b9450612bd3565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612d3357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612d435750612d42826130c8565b5b9050919050565b612d548383613132565b612d616000848484612f40565b612da0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d97906153ed565b60405180910390fd5b505050565b612db0838383613300565b505050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08260001c1115612e1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1490615510565b60405180910390fd5b601b8460ff161480612e325750601c8460ff16145b612e71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e68906155a2565b60405180910390fd5b600060018686868660405160008152602001604052604051612e9694939291906155de565b6020604051602081039080840390855afa158015612eb8573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612f34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2b9061566f565b60405180910390fd5b80915050949350505050565b6000612f618473ffffffffffffffffffffffffffffffffffffffff16613414565b156130bb578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f8a61229d565b8786866040518563ffffffff1660e01b8152600401612fac94939291906156e4565b6020604051808303816000875af1925050508015612fe857506040513d601f19601f82011682018060405250810190612fe59190615745565b60015b61306b573d8060008114613018576040519150601f19603f3d011682016040523d82523d6000602084013e61301d565b606091505b50600081511415613063576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161305a906153ed565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506130c0565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613199906157be565b60405180910390fd5b6131ab816122a5565b156131eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131e29061582a565b60405180910390fd5b6131f760008383612da5565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461324791906147f9565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b61330b838383613427565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561334e576133498161342c565b61338d565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461338c5761338b8382613475565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133d0576133cb816135e2565b61340f565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461340e5761340d82826136b3565b5b5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016134828461139d565b61348c9190615248565b9050600060076000848152602001908152602001600020549050818114613571576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506135f69190615248565b9050600060096000848152602001908152602001600020549050600060088381548110613626576136256145a5565b5b906000526020600020015490508060088381548110613648576136476145a5565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806136975761369661584a565b5b6001900381819060005260206000200160009055905550505050565b60006136be8361139d565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b82805461373e9061420d565b90600052602060002090601f01602090048101928261376057600085556137a7565b82601f1061377957805160ff19168380011785556137a7565b828001600101855582156137a7579182015b828111156137a657825182559160200191906001019061378b565b5b5090506137b491906137b8565b5090565b5b808211156137d15760008160009055506001016137b9565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61381e816137e9565b811461382957600080fd5b50565b60008135905061383b81613815565b92915050565b600060208284031215613857576138566137df565b5b60006138658482850161382c565b91505092915050565b60008115159050919050565b6138838161386e565b82525050565b600060208201905061389e600083018461387a565b92915050565b6000819050919050565b6138b7816138a4565b82525050565b60006020820190506138d260008301846138ae565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156139125780820151818401526020810190506138f7565b83811115613921576000848401525b50505050565b6000601f19601f8301169050919050565b6000613943826138d8565b61394d81856138e3565b935061395d8185602086016138f4565b61396681613927565b840191505092915050565b6000602082019050818103600083015261398b8184613938565b905092915050565b61399c816138a4565b81146139a757600080fd5b50565b6000813590506139b981613993565b92915050565b6000602082840312156139d5576139d46137df565b5b60006139e3848285016139aa565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613a17826139ec565b9050919050565b613a2781613a0c565b82525050565b6000602082019050613a426000830184613a1e565b92915050565b613a5181613a0c565b8114613a5c57600080fd5b50565b600081359050613a6e81613a48565b92915050565b60008060408385031215613a8b57613a8a6137df565b5b6000613a9985828601613a5f565b9250506020613aaa858286016139aa565b9150509250929050565b613abd8161386e565b8114613ac857600080fd5b50565b600081359050613ada81613ab4565b92915050565b600080600060608486031215613af957613af86137df565b5b6000613b07868287016139aa565b9350506020613b18868287016139aa565b9250506040613b2986828701613acb565b9150509250925092565b600080600060608486031215613b4c57613b4b6137df565b5b6000613b5a86828701613a5f565b9350506020613b6b86828701613a5f565b9250506040613b7c868287016139aa565b9150509250925092565b600080600060608486031215613b9f57613b9e6137df565b5b6000613bad86828701613a5f565b9350506020613bbe86828701613a5f565b9250506040613bcf86828701613a5f565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613c1b82613927565b810181811067ffffffffffffffff82111715613c3a57613c39613be3565b5b80604052505050565b6000613c4d6137d5565b9050613c598282613c12565b919050565b600067ffffffffffffffff821115613c7957613c78613be3565b5b613c8282613927565b9050602081019050919050565b82818337600083830152505050565b6000613cb1613cac84613c5e565b613c43565b905082815260208101848484011115613ccd57613ccc613bde565b5b613cd8848285613c8f565b509392505050565b600082601f830112613cf557613cf4613bd9565b5b8135613d05848260208601613c9e565b91505092915050565b600060208284031215613d2457613d236137df565b5b600082013567ffffffffffffffff811115613d4257613d416137e4565b5b613d4e84828501613ce0565b91505092915050565b60008060408385031215613d6e57613d6d6137df565b5b6000613d7c858286016139aa565b9250506020613d8d85828601613a5f565b9150509250929050565b6000819050919050565b6000613dbc613db7613db2846139ec565b613d97565b6139ec565b9050919050565b6000613dce82613da1565b9050919050565b6000613de082613dc3565b9050919050565b613df081613dd5565b82525050565b6000602082019050613e0b6000830184613de7565b92915050565b600060208284031215613e2757613e266137df565b5b6000613e3584828501613a5f565b91505092915050565b600080600060608486031215613e5757613e566137df565b5b6000613e65868287016139aa565b9350506020613e76868287016139aa565b9250506040613e87868287016139aa565b9150509250925092565b6000819050919050565b613ea481613e91565b82525050565b6000602082019050613ebf6000830184613e9b565b92915050565b60008060408385031215613edc57613edb6137df565b5b6000613eea85828601613a5f565b9250506020613efb85828601613acb565b9150509250929050565b600067ffffffffffffffff821115613f2057613f1f613be3565b5b613f2982613927565b9050602081019050919050565b6000613f49613f4484613f05565b613c43565b905082815260208101848484011115613f6557613f64613bde565b5b613f70848285613c8f565b509392505050565b600082601f830112613f8d57613f8c613bd9565b5b8135613f9d848260208601613f36565b91505092915050565b600080600080600080600080610100898b031215613fc757613fc66137df565b5b6000613fd58b828c016139aa565b9850506020613fe68b828c016139aa565b9750506040613ff78b828c01613acb565b96505060606140088b828c01613a5f565b95505060806140198b828c01613acb565b94505060a061402a8b828c016139aa565b93505060c061403b8b828c016139aa565b92505060e089013567ffffffffffffffff81111561405c5761405b6137e4565b5b6140688b828c01613f78565b9150509295985092959890939650565b60008060008060808587031215614092576140916137df565b5b60006140a087828801613a5f565b94505060206140b187828801613a5f565b93505060406140c2878288016139aa565b925050606085013567ffffffffffffffff8111156140e3576140e26137e4565b5b6140ef87828801613f78565b91505092959194509250565b600061410682613dc3565b9050919050565b614116816140fb565b82525050565b6000602082019050614131600083018461410d565b92915050565b6000806040838503121561414e5761414d6137df565b5b600061415c85828601613a5f565b925050602061416d85828601613a5f565b9150509250929050565b60008060008060808587031215614191576141906137df565b5b600061419f878288016139aa565b94505060206141b0878288016139aa565b93505060406141c1878288016139aa565b92505060606141d2878288016139aa565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061422557607f821691505b60208210811415614239576142386141de565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006142756020836138e3565b91506142808261423f565b602082019050919050565b600060208201905081810360008301526142a481614268565b9050919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614307602c836138e3565b9150614312826142ab565b604082019050919050565b60006020820190508181036000830152614336816142fa565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006143996021836138e3565b91506143a48261433d565b604082019050919050565b600060208201905081810360008301526143c88161438c565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061442b6038836138e3565b9150614436826143cf565b604082019050919050565b6000602082019050818103600083015261445a8161441e565b9050919050565b7f4d617820737570706c7900000000000000000000000000000000000000000000600082015250565b6000614497600a836138e3565b91506144a282614461565b602082019050919050565b600060208201905081810360008301526144c68161448a565b9050919050565b7f4272656564696e67206e6f74206c697665000000000000000000000000000000600082015250565b60006145036011836138e3565b915061450e826144cd565b602082019050919050565b60006020820190508181036000830152614532816144f6565b9050919050565b7f546f6b656e73206e6f7420756e69717565000000000000000000000000000000600082015250565b600061456f6011836138e3565b915061457a82614539565b602082019050919050565b6000602082019050818103600083015261459e81614562565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614609816138a4565b82525050565b600061461b8383614600565b60208301905092915050565b6000602082019050919050565b600061463f826145d4565b61464981856145df565b9350614654836145f0565b8060005b8381101561468557815161466c888261460f565b975061467783614627565b925050600181019050614658565b5085935050505092915050565b60006040820190506146a76000830185613a1e565b81810360208301526146b98184614634565b90509392505050565b6000815190506146d181613ab4565b92915050565b6000602082840312156146ed576146ec6137df565b5b60006146fb848285016146c2565b91505092915050565b7f4e6f74206f776e65720000000000000000000000000000000000000000000000600082015250565b600061473a6009836138e3565b915061474582614704565b602082019050919050565b600060208201905081810360008301526147698161472d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006147aa826138a4565b91506147b5836138a4565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156147ee576147ed614770565b5b828202905092915050565b6000614804826138a4565b915061480f836138a4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561484457614843614770565b5b828201905092915050565b60006040820190506148646000830185613a1e565b61487160208301846138ae565b9392505050565b600060808201905061488d60008301876138ae565b61489a60208301866138ae565b6148a760408301856138ae565b6148b4606083018461387a565b95945050505050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006149196031836138e3565b9150614924826148bd565b604082019050919050565b600060208201905081810360008301526149488161490c565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006149ab602b836138e3565b91506149b68261494f565b604082019050919050565b600060208201905081810360008301526149da8161499e565b9050919050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b6000614a3d6030836138e3565b9150614a48826149e1565b604082019050919050565b60006020820190508181036000830152614a6c81614a30565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614acf602c836138e3565b9150614ada82614a73565b604082019050919050565b60006020820190508181036000830152614afe81614ac2565b9050919050565b6000614b10826138a4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b4357614b42614770565b5b600182019050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614baa6029836138e3565b9150614bb582614b4e565b604082019050919050565b60006020820190508181036000830152614bd981614b9d565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614c3c602a836138e3565b9150614c4782614be0565b604082019050919050565b60006020820190508181036000830152614c6b81614c2f565b9050919050565b6000606082019050614c8760008301866138ae565b614c9460208301856138ae565b614ca160408301846138ae565b949350505050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614cdf6019836138e3565b9150614cea82614ca9565b602082019050919050565b60006020820190508181036000830152614d0e81614cd2565b9050919050565b7f4c697374696e6720686173206578706972656400000000000000000000000000600082015250565b6000614d4b6013836138e3565b9150614d5682614d15565b602082019050919050565b60006020820190508181036000830152614d7a81614d3e565b9050919050565b7f496e76616c6964206c697374696e67207369676e617475726500000000000000600082015250565b6000614db76019836138e3565b9150614dc282614d81565b602082019050919050565b60006020820190508181036000830152614de681614daa565b9050919050565b6000606082019050614e026000830186613a1e565b614e0f6020830185613a1e565b614e1c60408301846138ae565b949350505050565b600061010082019050614e3a600083018b6138ae565b614e47602083018a6138ae565b614e5460408301896138ae565b614e61606083018861387a565b614e6e6080830187613a1e565b614e7b60a083018661387a565b614e8860c08301856138ae565b614e9560e08301846138ae565b9998505050505050505050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614efe602f836138e3565b9150614f0982614ea2565b604082019050919050565b60006020820190508181036000830152614f2d81614ef1565b9050919050565b600081905092915050565b6000614f4a826138d8565b614f548185614f34565b9350614f648185602086016138f4565b80840191505092915050565b6000614f7c8285614f3f565b9150614f888284614f3f565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614ff06026836138e3565b9150614ffb82614f94565b604082019050919050565b6000602082019050818103600083015261501f81614fe3565b9050919050565b7f436f6f6c646f776e206e6f742065787069726564000000000000000000000000600082015250565b600061505c6014836138e3565b915061506782615026565b602082019050919050565b6000602082019050818103600083015261508b8161504f565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006150ee602c836138e3565b91506150f982615092565b604082019050919050565b6000602082019050818103600083015261511d816150e1565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006151806029836138e3565b915061518b82615124565b604082019050919050565b600060208201905081810360008301526151af81615173565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006152126024836138e3565b915061521d826151b6565b604082019050919050565b6000602082019050818103600083015261524181615205565b9050919050565b6000615253826138a4565b915061525e836138a4565b92508282101561527157615270614770565b5b828203905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b60006152b2601c83614f34565b91506152bd8261527c565b601c82019050919050565b6000819050919050565b6152e36152de82613e91565b6152c8565b82525050565b60006152f4826152a5565b915061530082846152d2565b60208201915081905092915050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615345601f836138e3565b91506153508261530f565b602082019050919050565b6000602082019050818103600083015261537481615338565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006153d76032836138e3565b91506153e28261537b565b604082019050919050565b60006020820190508181036000830152615406816153ca565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000615447826138a4565b9150615452836138a4565b9250826154625761546161540d565b5b828204905092915050565b6000615478826138a4565b9150615483836138a4565b9250826154935761549261540d565b5b828206905092915050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006154fa6022836138e3565b91506155058261549e565b604082019050919050565b60006020820190508181036000830152615529816154ed565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b600061558c6022836138e3565b915061559782615530565b604082019050919050565b600060208201905081810360008301526155bb8161557f565b9050919050565b600060ff82169050919050565b6155d8816155c2565b82525050565b60006080820190506155f36000830187613e9b565b61560060208301866155cf565b61560d6040830185613e9b565b61561a6060830184613e9b565b95945050505050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006156596018836138e3565b915061566482615623565b602082019050919050565b600060208201905081810360008301526156888161564c565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006156b68261568f565b6156c0818561569a565b93506156d08185602086016138f4565b6156d981613927565b840191505092915050565b60006080820190506156f96000830187613a1e565b6157066020830186613a1e565b61571360408301856138ae565b818103606083015261572581846156ab565b905095945050505050565b60008151905061573f81613815565b92915050565b60006020828403121561575b5761575a6137df565b5b600061576984828501615730565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006157a86020836138e3565b91506157b382615772565b602082019050919050565b600060208201905081810360008301526157d78161579b565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615814601c836138e3565b915061581f826157de565b602082019050919050565b6000602082019050818103600083015261584381615807565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212202b1dea963d98315cf22af5e21860d988d7dd1287f6acb1fc6c623d5b4dd9863764736f6c634300080a0033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000cbba83a4d3f35d294a26012ac54e9ab6627da0180000000000000000000000003faf5ec3b197d77af93d4155bf96cef9e0cfcc8b000000000000000000000000000000000000000000000000000000000000001947656e6573697320526f6172696e6720526f636373746172730000000000000000000000000000000000000000000000000000000000000000000000000000054752524f43000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102275760003560e01c80636352211e1161013057806395d89b41116100b8578063c87b56dd1161007c578063c87b56dd1461063e578063ce51ad1c1461066e578063e985e9c51461068c578063f2fde38b146106bc578063f497463a146106d857610227565b806395d89b411461059c578063a22cb465146105ba578063aa2b0797146105d6578063ab9b49c314610606578063b88d4fde1461062257610227565b8063715018a6116100ff578063715018a61461050857806374f0f4c614610512578063787a08a61461054257806386a866fa146105605780638da5cb5b1461057e57610227565b80636352211e1461046c5780636486035a1461049c5780636c0360eb146104ba57806370a08231146104d857610227565b806323b872dd116101b357806342966c681161018257806342966c68146103ca5780634f6ccce7146103e657806350f7c2041461041657806355f804b31461043457806360b02f701461045057610227565b806323b872dd146103465780632f745c5914610362578063363bf9641461039257806342842e0e146103ae57610227565b8063081812fc116101fa578063081812fc146102a2578063095ea7b3146102d257806309c94fff146102ee57806318160ddd1461030c5780631dcd44f31461032a57610227565b806301ffc9a71461022c578063029bcdf21461025c57806306fdde031461027a57806307632ca214610298575b600080fd5b61024660048036038101906102419190613841565b6106f4565b6040516102539190613889565b60405180910390f35b610264610706565b60405161027191906138bd565b60405180910390f35b61028261070c565b60405161028f9190613971565b60405180910390f35b6102a061079e565b005b6102bc60048036038101906102b791906139bf565b610846565b6040516102c99190613a2d565b60405180910390f35b6102ec60048036038101906102e79190613a74565b6108cb565b005b6102f66109e3565b6040516103039190613889565b60405180910390f35b6103146109f6565b60405161032191906138bd565b60405180910390f35b610344600480360381019061033f9190613ae0565b610a03565b005b610360600480360381019061035b9190613b33565b610d95565b005b61037c60048036038101906103779190613a74565b610df5565b60405161038991906138bd565b60405180910390f35b6103ac60048036038101906103a79190613b86565b610e9a565b005b6103c860048036038101906103c39190613b33565b610fde565b005b6103e460048036038101906103df91906139bf565b610ffe565b005b61040060048036038101906103fb91906139bf565b61105a565b60405161040d91906138bd565b60405180910390f35b61041e6110cb565b60405161042b91906138bd565b60405180910390f35b61044e60048036038101906104499190613d0e565b6110d1565b005b61046a60048036038101906104659190613d57565b611167565b005b610486600480360381019061048191906139bf565b611237565b6040516104939190613a2d565b60405180910390f35b6104a46112e9565b6040516104b19190613df6565b60405180910390f35b6104c261130f565b6040516104cf9190613971565b60405180910390f35b6104f260048036038101906104ed9190613e11565b61139d565b6040516104ff91906138bd565b60405180910390f35b610510611455565b005b61052c60048036038101906105279190613e3e565b611592565b6040516105399190613eaa565b60405180910390f35b61054a6115c8565b60405161055791906138bd565b60405180910390f35b6105686115ce565b60405161057591906138bd565b60405180910390f35b6105866115d4565b6040516105939190613a2d565b60405180910390f35b6105a46115fe565b6040516105b19190613971565b60405180910390f35b6105d460048036038101906105cf9190613ec5565b611690565b005b6105f060048036038101906105eb91906139bf565b611811565b6040516105fd91906138bd565b60405180910390f35b610620600480360381019061061b9190613fa6565b611829565b005b61063c60048036038101906106379190614078565b611e16565b005b610658600480360381019061065391906139bf565b611e78565b6040516106659190613971565b60405180910390f35b610676611f1f565b604051610683919061411c565b60405180910390f35b6106a660048036038101906106a19190614137565b611f45565b6040516106b39190613889565b60405180910390f35b6106d660048036038101906106d19190613e11565b611fd9565b005b6106f260048036038101906106ed9190614177565b612185565b005b60006106ff82612223565b9050919050565b60105481565b60606000805461071b9061420d565b80601f01602080910402602001604051908101604052809291908181526020018280546107479061420d565b80156107945780601f1061076957610100808354040283529160200191610794565b820191906000526020600020905b81548152906001019060200180831161077757829003601f168201915b5050505050905090565b6107a661229d565b73ffffffffffffffffffffffffffffffffffffffff166107c46115d4565b73ffffffffffffffffffffffffffffffffffffffff161461081a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108119061428b565b60405180910390fd5b601360009054906101000a900460ff1615601360006101000a81548160ff021916908315150217905550565b6000610851826122a5565b610890576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108879061431d565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108d682611237565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610947576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093e906143af565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661096661229d565b73ffffffffffffffffffffffffffffffffffffffff16148061099557506109948161098f61229d565b611f45565b5b6109d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90614441565b60405180910390fd5b6109de8383612311565b505050565b601360009054906101000a900460ff1681565b6000600880549050905090565b601154610a10600b6123ca565b10610a50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a47906144ad565b60405180910390fd5b601360009054906101000a900460ff16610a9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9690614519565b60405180910390fd5b81831415610ae2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad990614585565b60405180910390fd5b6000600267ffffffffffffffff811115610aff57610afe613be3565b5b604051908082528060200260200182016040528015610b2d5781602001602082028036833780820191505090505b5090508381600081518110610b4557610b446145a5565b5b6020026020010181815250508281600181518110610b6657610b656145a5565b5b602002602001018181525050600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634fb9c7c933836040518363ffffffff1660e01b8152600401610bcf929190614692565b602060405180830381865afa158015610bec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1091906146d7565b610c4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4690614750565b60405180910390fd5b610c5a8484846123d8565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379cc67903384610cb957670de0b6b3a7640000600f54610cb4919061479f565b610cdd565b670de0b6b3a7640000601054600f54610cd291906147f9565b610cdc919061479f565b5b6040518363ffffffff1660e01b8152600401610cfa92919061484f565b600060405180830381600087803b158015610d1457600080fd5b505af1158015610d28573d6000803e3d6000fd5b50505050610d36600b6124a0565b610d4933610d44600b6123ca565b6124b6565b7f0e139dcadfa6e68594df79aa14727ccabf857c608f5fedf9360acf91493581d5610d74600b6123ca565b858585604051610d879493929190614878565b60405180910390a150505050565b610da6610da061229d565b826124d4565b610de5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddc9061492f565b60405180910390fd5b610df08383836125b2565b505050565b6000610e008361139d565b8210610e41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e38906149c1565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610ea261229d565b73ffffffffffffffffffffffffffffffffffffffff16610ec06115d4565b73ffffffffffffffffffffffffffffffffffffffff1614610f16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0d9061428b565b60405180910390fd5b82600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601360016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b610ff983838360405180602001604052806000815250611e16565b505050565b61100f61100961229d565b826124d4565b61104e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104590614a53565b60405180910390fd5b6110578161280e565b50565b60006110646109f6565b82106110a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109c90614ae5565b60405180910390fd5b600882815481106110b9576110b86145a5565b5b90600052602060002001549050919050565b60115481565b6110d961229d565b73ffffffffffffffffffffffffffffffffffffffff166110f76115d4565b73ffffffffffffffffffffffffffffffffffffffff161461114d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111449061428b565b60405180910390fd5b80600c9080519060200190611163929190613732565b5050565b61116f61229d565b73ffffffffffffffffffffffffffffffffffffffff1661118d6115d4565b73ffffffffffffffffffffffffffffffffffffffff16146111e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111da9061428b565b60405180910390fd5b60006111ef600b6123ca565b90506000600190505b8381116112315761121483828461120f91906147f9565b6124b6565b61121e600b6124a0565b808061122990614b05565b9150506111f8565b50505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d790614bc0565b60405180910390fd5b80915050919050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c805461131c9061420d565b80601f01602080910402602001604051908101604052809291908181526020018280546113489061420d565b80156113955780601f1061136a57610100808354040283529160200191611395565b820191906000526020600020905b81548152906001019060200180831161137857829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561140e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140590614c52565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61145d61229d565b73ffffffffffffffffffffffffffffffffffffffff1661147b6115d4565b73ffffffffffffffffffffffffffffffffffffffff16146114d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c89061428b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008383836040516020016115a993929190614c72565b6040516020818303038152906040528051906020012090509392505050565b60125481565b600f5481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461160d9061420d565b80601f01602080910402602001604051908101604052809291908181526020018280546116399061420d565b80156116865780601f1061165b57610100808354040283529160200191611686565b820191906000526020600020905b81548152906001019060200180831161166957829003601f168201915b5050505050905090565b61169861229d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611706576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116fd90614cf5565b60405180910390fd5b806005600061171361229d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166117c061229d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118059190613889565b60405180910390a35050565b60146020528060005260406000206000915090505481565b601154611836600b6123ca565b10611876576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186d906144ad565b60405180910390fd5b601360009054906101000a900460ff166118c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118bc90614519565b60405180910390fd5b428211611907576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fe90614d61565b60405180910390fd5b6000600167ffffffffffffffff81111561192457611923613be3565b5b6040519080825280602002602001820160405280156119525781602001602082028036833780820191505090505b509050888160008151811061196a576119696145a5565b5b602002602001018181525050600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634fb9c7c9866119bf57876119c1565b335b836040518363ffffffff1660e01b81526004016119df929190614692565b602060405180830381865afa1580156119fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a2091906146d7565b611a5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5690614750565b60405180910390fd5b8781600081518110611a7457611a736145a5565b5b602002602001018181525050600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634fb9c7c986611ac95733611acb565b875b836040518363ffffffff1660e01b8152600401611ae9929190614692565b602060405180830381865afa158015611b06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2a91906146d7565b611b69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6090614750565b60405180910390fd5b611b748989896123d8565b6000611b8d86611b84578a611b86565b895b8686611592565b9050611baa83611b9c8361291f565b61294f90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff1614611c17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0e90614dcd565b60405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379cc6790338a611c7657670de0b6b3a7640000600f54611c71919061479f565b611c9a565b670de0b6b3a7640000601054600f54611c8f91906147f9565b611c99919061479f565b5b6040518363ffffffff1660e01b8152600401611cb792919061484f565b600060405180830381600087803b158015611cd157600080fd5b505af1158015611ce5573d6000803e3d6000fd5b50505050600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3389670de0b6b3a764000089611d3d919061479f565b6040518463ffffffff1660e01b8152600401611d5b93929190614ded565b6020604051808303816000875af1158015611d7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d9e91906146d7565b50611da9600b6124a0565b611dbc33611db7600b6123ca565b6124b6565b7f4be0eb45f5922b40303322f838a8dc12211343f61fd5924d7d6b833e045102cf611de7600b6123ca565b8b8b8b8b8b8b8b604051611e02989796959493929190614e24565b60405180910390a150505050505050505050565b611e27611e2161229d565b836124d4565b611e66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5d9061492f565b60405180910390fd5b611e7284848484612a19565b50505050565b6060611e83826122a5565b611ec2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb990614f14565b60405180910390fd5b6000611ecc612a75565b90506000815111611eec5760405180602001604052806000815250611f17565b80611ef684612b07565b604051602001611f07929190614f70565b6040516020818303038152906040525b915050919050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611fe161229d565b73ffffffffffffffffffffffffffffffffffffffff16611fff6115d4565b73ffffffffffffffffffffffffffffffffffffffff1614612055576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204c9061428b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156120c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120bc90615006565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61218d61229d565b73ffffffffffffffffffffffffffffffffffffffff166121ab6115d4565b73ffffffffffffffffffffffffffffffffffffffff1614612201576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f89061428b565b60405180910390fd5b83600f8190555082601181905550816012819055508060108190555050505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612296575061229582612c68565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661238483611237565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b8061246b574260125460146000868152602001908152602001600020546123ff91906147f9565b10801561242b575042601254601460008581526020019081526020016000205461242991906147f9565b105b61246a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246190615072565b60405180910390fd5b5b426014600085815260200190815260200160002081905550426014600084815260200190815260200160002081905550505050565b6001816000016000828254019250508190555050565b6124d0828260405180602001604052806000815250612d4a565b5050565b60006124df826122a5565b61251e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251590615104565b60405180910390fd5b600061252983611237565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061259857508373ffffffffffffffffffffffffffffffffffffffff1661258084610846565b73ffffffffffffffffffffffffffffffffffffffff16145b806125a957506125a88185611f45565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166125d282611237565b73ffffffffffffffffffffffffffffffffffffffff1614612628576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261f90615196565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612698576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268f90615228565b60405180910390fd5b6126a3838383612da5565b6126ae600082612311565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126fe9190615248565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461275591906147f9565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061281982611237565b905061282781600084612da5565b612832600083612311565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128829190615248565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60008160405160200161293291906152e9565b604051602081830303815290604052805190602001209050919050565b60008060008060418551141561297c576020850151925060408501519150606085015160001a9050612a02565b6040855114156129c6576040850151602086015193507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81169250601b8160ff1c01915050612a01565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129f89061535b565b60405180910390fd5b5b612a0e86828585612db5565b935050505092915050565b612a248484846125b2565b612a3084848484612f40565b612a6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a66906153ed565b60405180910390fd5b50505050565b6060600c8054612a849061420d565b80601f0160208091040260200160405190810160405280929190818152602001828054612ab09061420d565b8015612afd5780601f10612ad257610100808354040283529160200191612afd565b820191906000526020600020905b815481529060010190602001808311612ae057829003601f168201915b5050505050905090565b60606000821415612b4f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612c63565b600082905060005b60008214612b81578080612b6a90614b05565b915050600a82612b7a919061543c565b9150612b57565b60008167ffffffffffffffff811115612b9d57612b9c613be3565b5b6040519080825280601f01601f191660200182016040528015612bcf5781602001600182028036833780820191505090505b5090505b60008514612c5c57600182612be89190615248565b9150600a85612bf7919061546d565b6030612c0391906147f9565b60f81b818381518110612c1957612c186145a5565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612c55919061543c565b9450612bd3565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612d3357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612d435750612d42826130c8565b5b9050919050565b612d548383613132565b612d616000848484612f40565b612da0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d97906153ed565b60405180910390fd5b505050565b612db0838383613300565b505050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08260001c1115612e1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1490615510565b60405180910390fd5b601b8460ff161480612e325750601c8460ff16145b612e71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e68906155a2565b60405180910390fd5b600060018686868660405160008152602001604052604051612e9694939291906155de565b6020604051602081039080840390855afa158015612eb8573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612f34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2b9061566f565b60405180910390fd5b80915050949350505050565b6000612f618473ffffffffffffffffffffffffffffffffffffffff16613414565b156130bb578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f8a61229d565b8786866040518563ffffffff1660e01b8152600401612fac94939291906156e4565b6020604051808303816000875af1925050508015612fe857506040513d601f19601f82011682018060405250810190612fe59190615745565b60015b61306b573d8060008114613018576040519150601f19603f3d011682016040523d82523d6000602084013e61301d565b606091505b50600081511415613063576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161305a906153ed565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506130c0565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613199906157be565b60405180910390fd5b6131ab816122a5565b156131eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131e29061582a565b60405180910390fd5b6131f760008383612da5565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461324791906147f9565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b61330b838383613427565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561334e576133498161342c565b61338d565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461338c5761338b8382613475565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133d0576133cb816135e2565b61340f565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461340e5761340d82826136b3565b5b5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016134828461139d565b61348c9190615248565b9050600060076000848152602001908152602001600020549050818114613571576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506135f69190615248565b9050600060096000848152602001908152602001600020549050600060088381548110613626576136256145a5565b5b906000526020600020015490508060088381548110613648576136476145a5565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806136975761369661584a565b5b6001900381819060005260206000200160009055905550505050565b60006136be8361139d565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b82805461373e9061420d565b90600052602060002090601f01602090048101928261376057600085556137a7565b82601f1061377957805160ff19168380011785556137a7565b828001600101855582156137a7579182015b828111156137a657825182559160200191906001019061378b565b5b5090506137b491906137b8565b5090565b5b808211156137d15760008160009055506001016137b9565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61381e816137e9565b811461382957600080fd5b50565b60008135905061383b81613815565b92915050565b600060208284031215613857576138566137df565b5b60006138658482850161382c565b91505092915050565b60008115159050919050565b6138838161386e565b82525050565b600060208201905061389e600083018461387a565b92915050565b6000819050919050565b6138b7816138a4565b82525050565b60006020820190506138d260008301846138ae565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156139125780820151818401526020810190506138f7565b83811115613921576000848401525b50505050565b6000601f19601f8301169050919050565b6000613943826138d8565b61394d81856138e3565b935061395d8185602086016138f4565b61396681613927565b840191505092915050565b6000602082019050818103600083015261398b8184613938565b905092915050565b61399c816138a4565b81146139a757600080fd5b50565b6000813590506139b981613993565b92915050565b6000602082840312156139d5576139d46137df565b5b60006139e3848285016139aa565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613a17826139ec565b9050919050565b613a2781613a0c565b82525050565b6000602082019050613a426000830184613a1e565b92915050565b613a5181613a0c565b8114613a5c57600080fd5b50565b600081359050613a6e81613a48565b92915050565b60008060408385031215613a8b57613a8a6137df565b5b6000613a9985828601613a5f565b9250506020613aaa858286016139aa565b9150509250929050565b613abd8161386e565b8114613ac857600080fd5b50565b600081359050613ada81613ab4565b92915050565b600080600060608486031215613af957613af86137df565b5b6000613b07868287016139aa565b9350506020613b18868287016139aa565b9250506040613b2986828701613acb565b9150509250925092565b600080600060608486031215613b4c57613b4b6137df565b5b6000613b5a86828701613a5f565b9350506020613b6b86828701613a5f565b9250506040613b7c868287016139aa565b9150509250925092565b600080600060608486031215613b9f57613b9e6137df565b5b6000613bad86828701613a5f565b9350506020613bbe86828701613a5f565b9250506040613bcf86828701613a5f565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613c1b82613927565b810181811067ffffffffffffffff82111715613c3a57613c39613be3565b5b80604052505050565b6000613c4d6137d5565b9050613c598282613c12565b919050565b600067ffffffffffffffff821115613c7957613c78613be3565b5b613c8282613927565b9050602081019050919050565b82818337600083830152505050565b6000613cb1613cac84613c5e565b613c43565b905082815260208101848484011115613ccd57613ccc613bde565b5b613cd8848285613c8f565b509392505050565b600082601f830112613cf557613cf4613bd9565b5b8135613d05848260208601613c9e565b91505092915050565b600060208284031215613d2457613d236137df565b5b600082013567ffffffffffffffff811115613d4257613d416137e4565b5b613d4e84828501613ce0565b91505092915050565b60008060408385031215613d6e57613d6d6137df565b5b6000613d7c858286016139aa565b9250506020613d8d85828601613a5f565b9150509250929050565b6000819050919050565b6000613dbc613db7613db2846139ec565b613d97565b6139ec565b9050919050565b6000613dce82613da1565b9050919050565b6000613de082613dc3565b9050919050565b613df081613dd5565b82525050565b6000602082019050613e0b6000830184613de7565b92915050565b600060208284031215613e2757613e266137df565b5b6000613e3584828501613a5f565b91505092915050565b600080600060608486031215613e5757613e566137df565b5b6000613e65868287016139aa565b9350506020613e76868287016139aa565b9250506040613e87868287016139aa565b9150509250925092565b6000819050919050565b613ea481613e91565b82525050565b6000602082019050613ebf6000830184613e9b565b92915050565b60008060408385031215613edc57613edb6137df565b5b6000613eea85828601613a5f565b9250506020613efb85828601613acb565b9150509250929050565b600067ffffffffffffffff821115613f2057613f1f613be3565b5b613f2982613927565b9050602081019050919050565b6000613f49613f4484613f05565b613c43565b905082815260208101848484011115613f6557613f64613bde565b5b613f70848285613c8f565b509392505050565b600082601f830112613f8d57613f8c613bd9565b5b8135613f9d848260208601613f36565b91505092915050565b600080600080600080600080610100898b031215613fc757613fc66137df565b5b6000613fd58b828c016139aa565b9850506020613fe68b828c016139aa565b9750506040613ff78b828c01613acb565b96505060606140088b828c01613a5f565b95505060806140198b828c01613acb565b94505060a061402a8b828c016139aa565b93505060c061403b8b828c016139aa565b92505060e089013567ffffffffffffffff81111561405c5761405b6137e4565b5b6140688b828c01613f78565b9150509295985092959890939650565b60008060008060808587031215614092576140916137df565b5b60006140a087828801613a5f565b94505060206140b187828801613a5f565b93505060406140c2878288016139aa565b925050606085013567ffffffffffffffff8111156140e3576140e26137e4565b5b6140ef87828801613f78565b91505092959194509250565b600061410682613dc3565b9050919050565b614116816140fb565b82525050565b6000602082019050614131600083018461410d565b92915050565b6000806040838503121561414e5761414d6137df565b5b600061415c85828601613a5f565b925050602061416d85828601613a5f565b9150509250929050565b60008060008060808587031215614191576141906137df565b5b600061419f878288016139aa565b94505060206141b0878288016139aa565b93505060406141c1878288016139aa565b92505060606141d2878288016139aa565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061422557607f821691505b60208210811415614239576142386141de565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006142756020836138e3565b91506142808261423f565b602082019050919050565b600060208201905081810360008301526142a481614268565b9050919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614307602c836138e3565b9150614312826142ab565b604082019050919050565b60006020820190508181036000830152614336816142fa565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006143996021836138e3565b91506143a48261433d565b604082019050919050565b600060208201905081810360008301526143c88161438c565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061442b6038836138e3565b9150614436826143cf565b604082019050919050565b6000602082019050818103600083015261445a8161441e565b9050919050565b7f4d617820737570706c7900000000000000000000000000000000000000000000600082015250565b6000614497600a836138e3565b91506144a282614461565b602082019050919050565b600060208201905081810360008301526144c68161448a565b9050919050565b7f4272656564696e67206e6f74206c697665000000000000000000000000000000600082015250565b60006145036011836138e3565b915061450e826144cd565b602082019050919050565b60006020820190508181036000830152614532816144f6565b9050919050565b7f546f6b656e73206e6f7420756e69717565000000000000000000000000000000600082015250565b600061456f6011836138e3565b915061457a82614539565b602082019050919050565b6000602082019050818103600083015261459e81614562565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614609816138a4565b82525050565b600061461b8383614600565b60208301905092915050565b6000602082019050919050565b600061463f826145d4565b61464981856145df565b9350614654836145f0565b8060005b8381101561468557815161466c888261460f565b975061467783614627565b925050600181019050614658565b5085935050505092915050565b60006040820190506146a76000830185613a1e565b81810360208301526146b98184614634565b90509392505050565b6000815190506146d181613ab4565b92915050565b6000602082840312156146ed576146ec6137df565b5b60006146fb848285016146c2565b91505092915050565b7f4e6f74206f776e65720000000000000000000000000000000000000000000000600082015250565b600061473a6009836138e3565b915061474582614704565b602082019050919050565b600060208201905081810360008301526147698161472d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006147aa826138a4565b91506147b5836138a4565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156147ee576147ed614770565b5b828202905092915050565b6000614804826138a4565b915061480f836138a4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561484457614843614770565b5b828201905092915050565b60006040820190506148646000830185613a1e565b61487160208301846138ae565b9392505050565b600060808201905061488d60008301876138ae565b61489a60208301866138ae565b6148a760408301856138ae565b6148b4606083018461387a565b95945050505050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006149196031836138e3565b9150614924826148bd565b604082019050919050565b600060208201905081810360008301526149488161490c565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006149ab602b836138e3565b91506149b68261494f565b604082019050919050565b600060208201905081810360008301526149da8161499e565b9050919050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b6000614a3d6030836138e3565b9150614a48826149e1565b604082019050919050565b60006020820190508181036000830152614a6c81614a30565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614acf602c836138e3565b9150614ada82614a73565b604082019050919050565b60006020820190508181036000830152614afe81614ac2565b9050919050565b6000614b10826138a4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b4357614b42614770565b5b600182019050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614baa6029836138e3565b9150614bb582614b4e565b604082019050919050565b60006020820190508181036000830152614bd981614b9d565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614c3c602a836138e3565b9150614c4782614be0565b604082019050919050565b60006020820190508181036000830152614c6b81614c2f565b9050919050565b6000606082019050614c8760008301866138ae565b614c9460208301856138ae565b614ca160408301846138ae565b949350505050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614cdf6019836138e3565b9150614cea82614ca9565b602082019050919050565b60006020820190508181036000830152614d0e81614cd2565b9050919050565b7f4c697374696e6720686173206578706972656400000000000000000000000000600082015250565b6000614d4b6013836138e3565b9150614d5682614d15565b602082019050919050565b60006020820190508181036000830152614d7a81614d3e565b9050919050565b7f496e76616c6964206c697374696e67207369676e617475726500000000000000600082015250565b6000614db76019836138e3565b9150614dc282614d81565b602082019050919050565b60006020820190508181036000830152614de681614daa565b9050919050565b6000606082019050614e026000830186613a1e565b614e0f6020830185613a1e565b614e1c60408301846138ae565b949350505050565b600061010082019050614e3a600083018b6138ae565b614e47602083018a6138ae565b614e5460408301896138ae565b614e61606083018861387a565b614e6e6080830187613a1e565b614e7b60a083018661387a565b614e8860c08301856138ae565b614e9560e08301846138ae565b9998505050505050505050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614efe602f836138e3565b9150614f0982614ea2565b604082019050919050565b60006020820190508181036000830152614f2d81614ef1565b9050919050565b600081905092915050565b6000614f4a826138d8565b614f548185614f34565b9350614f648185602086016138f4565b80840191505092915050565b6000614f7c8285614f3f565b9150614f888284614f3f565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614ff06026836138e3565b9150614ffb82614f94565b604082019050919050565b6000602082019050818103600083015261501f81614fe3565b9050919050565b7f436f6f6c646f776e206e6f742065787069726564000000000000000000000000600082015250565b600061505c6014836138e3565b915061506782615026565b602082019050919050565b6000602082019050818103600083015261508b8161504f565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006150ee602c836138e3565b91506150f982615092565b604082019050919050565b6000602082019050818103600083015261511d816150e1565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006151806029836138e3565b915061518b82615124565b604082019050919050565b600060208201905081810360008301526151af81615173565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006152126024836138e3565b915061521d826151b6565b604082019050919050565b6000602082019050818103600083015261524181615205565b9050919050565b6000615253826138a4565b915061525e836138a4565b92508282101561527157615270614770565b5b828203905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b60006152b2601c83614f34565b91506152bd8261527c565b601c82019050919050565b6000819050919050565b6152e36152de82613e91565b6152c8565b82525050565b60006152f4826152a5565b915061530082846152d2565b60208201915081905092915050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615345601f836138e3565b91506153508261530f565b602082019050919050565b6000602082019050818103600083015261537481615338565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006153d76032836138e3565b91506153e28261537b565b604082019050919050565b60006020820190508181036000830152615406816153ca565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000615447826138a4565b9150615452836138a4565b9250826154625761546161540d565b5b828204905092915050565b6000615478826138a4565b9150615483836138a4565b9250826154935761549261540d565b5b828206905092915050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006154fa6022836138e3565b91506155058261549e565b604082019050919050565b60006020820190508181036000830152615529816154ed565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b600061558c6022836138e3565b915061559782615530565b604082019050919050565b600060208201905081810360008301526155bb8161557f565b9050919050565b600060ff82169050919050565b6155d8816155c2565b82525050565b60006080820190506155f36000830187613e9b565b61560060208301866155cf565b61560d6040830185613e9b565b61561a6060830184613e9b565b95945050505050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006156596018836138e3565b915061566482615623565b602082019050919050565b600060208201905081810360008301526156888161564c565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006156b68261568f565b6156c0818561569a565b93506156d08185602086016138f4565b6156d981613927565b840191505092915050565b60006080820190506156f96000830187613a1e565b6157066020830186613a1e565b61571360408301856138ae565b818103606083015261572581846156ab565b905095945050505050565b60008151905061573f81613815565b92915050565b60006020828403121561575b5761575a6137df565b5b600061576984828501615730565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006157a86020836138e3565b91506157b382615772565b602082019050919050565b600060208201905081810360008301526157d78161579b565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615814601c836138e3565b915061581f826157de565b602082019050919050565b6000602082019050818103600083015261584381615807565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212202b1dea963d98315cf22af5e21860d988d7dd1287f6acb1fc6c623d5b4dd9863764736f6c634300080a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000cbba83a4d3f35d294a26012ac54e9ab6627da0180000000000000000000000003faf5ec3b197d77af93d4155bf96cef9e0cfcc8b000000000000000000000000000000000000000000000000000000000000001947656e6573697320526f6172696e6720526f636373746172730000000000000000000000000000000000000000000000000000000000000000000000000000054752524f43000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Genesis Roaring Roccstars
Arg [1] : symbol (string): GRROC
Arg [2] : roarTokenAddress (address): 0xcbbA83a4d3F35D294A26012AC54e9ab6627da018
Arg [3] : roarStakingAddress (address): 0x3FAf5EC3B197d77Af93D4155bF96Cef9E0cFcc8b
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000cbba83a4d3f35d294a26012ac54e9ab6627da018
Arg [3] : 0000000000000000000000003faf5ec3b197d77af93d4155bf96cef9e0cfcc8b
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000019
Arg [5] : 47656e6573697320526f6172696e6720526f6363737461727300000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 4752524f43000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ 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.