Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
1,014 Moose
Holders
506
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 MooseLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Moose
Compiler Version
v0.8.1+commit.df193b15
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./MooseERC721.sol"; interface IYieldToken { function burn(address _from, uint256 _amount) external; function updateReward(address _from, address _to) external; } contract Moose is MooseERC721 { modifier mooseOwner(uint256 mooseId) { require(ownerOf(mooseId) == msg.sender, "Cannot interact with a Moose you do not own"); _; } IYieldToken public yieldToken; uint256 constant public BREED_PRICE = 600 ether; event MooseBreeding(uint256 mooseId, uint256 parent1, uint256 parent2); event NameChanged(uint256 mooseId, string mooseName); event BioChanged(uint256 mooseId, string mooseBio); constructor(string memory name, string memory symbol, uint256 supply, uint256 genCount) MooseERC721(name, symbol, supply, genCount) {} function breed(uint256 parent1, uint256 parent2) external mooseOwner(parent1) mooseOwner(parent2) { uint256 supply = totalSupply(); require(supply < maxSupply, "Cannot breed any more baby Moose"); require(parent1 <= maxGenCount && parent2 <= maxGenCount, "Cannot breed with baby Moose"); require(parent1 != parent2, "Must select two unique parents"); yieldToken.burn(msg.sender, BREED_PRICE); uint256 mooseId = maxGenCount + babyCount + 1; babyCount++; _safeMint(msg.sender, mooseId); emit MooseBreeding(mooseId, parent1, parent2); } function setYieldToken(address _yield) external onlyOwner { yieldToken = IYieldToken(_yield); } function transferFrom(address from, address to, uint256 tokenId) public override { if (tokenId < maxGenCount) { yieldToken.updateReward(from, to); balanceGenesis[from]--; balanceGenesis[to]++; } ERC721.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public override { if (tokenId < maxGenCount) { yieldToken.updateReward(from, to); balanceGenesis[from]--; balanceGenesis[to]++; } ERC721.safeTransferFrom(from, to, tokenId, _data); } }
pragma solidity ^0.8.0; contract SignatureVerifier { function getMessageHash(string memory _addr) internal pure returns (bytes32) { return keccak256(abi.encodePacked(_addr)); } function getEthSignedMessageHash(bytes32 _messageHash) internal pure returns (bytes32) { return keccak256( abi.encodePacked( "\x19Ethereum Signed Message:\n32", _messageHash ) ); } function verify( string memory _addr, bytes memory signature, address signer ) public pure returns (bool) { bytes32 messageHash = getMessageHash(_addr); bytes32 ethSignedMessageHash = getEthSignedMessageHash(messageHash); return recoverSigner(ethSignedMessageHash, signature) == signer; } function recoverSigner( bytes32 _ethSignedMessageHash, bytes memory _signature ) public pure returns (address) { (bytes32 r, bytes32 s, uint8 v) = splitSignature(_signature); return ecrecover(_ethSignedMessageHash, v, r, s); } function splitSignature(bytes memory sig) internal pure returns ( bytes32 r, bytes32 s, uint8 v ) { require(sig.length == 65, "invalid signature length"); assembly { r := mload(add(sig, 32)) s := mload(add(sig, 64)) v := byte(0, mload(add(sig, 96))) } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "./SignatureVerifier.sol"; contract MooseERC721 is ERC721Enumerable, Ownable, SignatureVerifier { using SafeMath for uint256; using Address for address; string private baseURI; uint256 public maxSupply; uint256 public maxGenCount; uint256 public babyCount = 0; uint256 public price = 0; address public OGSigner; address public CapoSigner; mapping(address => uint256) public OGMintLedger; mapping(address => uint256) public CapoMintLedger; bool public OGSaleActive = false; bool public CapoSaleActive = false; bool public saleActive = false; mapping (address => uint256) public balanceGenesis; constructor(string memory name, string memory symbol, uint256 supply, uint256 genCount) ERC721(name, symbol) { maxSupply = supply; maxGenCount = genCount; } function claimMooselone() public onlyOwner { uint256 supply = totalSupply(); require(supply == 0, "Can only be called once"); _safeMint(msg.sender, 1); } function mintOG(string calldata addr, bytes calldata sig, uint256 numberOfMints) external payable { require(OGSaleActive, "Sale has not started"); uint256 supply = totalSupply(); bool verification = verify(addr, sig, OGSigner); require(verification, "You are not whitelisted"); require(msg.sender == tx.origin, "Can't be a contract"); require(OGMintLedger[msg.sender].add(numberOfMints) <= 2, "Only 2 mints"); require(supply.add(numberOfMints) <= maxGenCount, "Purchase would exceed max supply of Genesis Moose"); require(price.mul(numberOfMints) == msg.value, "Ether value sent is not correct"); OGMintLedger[msg.sender] += numberOfMints; for (uint256 i = 1; i <= numberOfMints; i++) { _safeMint(msg.sender, supply + i); balanceGenesis[msg.sender]++; } } function mintCapo(string calldata addr, bytes calldata sig, uint256 numberOfMints) external payable { require(CapoSaleActive, "Sale has not started"); uint256 supply = totalSupply(); bool verification = verify(addr, sig, CapoSigner); require(verification, "You are not whitelisted"); require(msg.sender == tx.origin, "Can't be a contract"); require(CapoMintLedger[msg.sender].add(numberOfMints) <= 1, "Only 1 mint"); require(supply.add(numberOfMints) <= maxGenCount, "Purchase would exceed max supply of Genesis Moose"); require(price.mul(numberOfMints) == msg.value, "Ether value sent is not correct"); CapoMintLedger[msg.sender] += numberOfMints; for (uint256 i = 1; i <= numberOfMints; i++) { _safeMint(msg.sender, supply + i); balanceGenesis[msg.sender]++; } } function mintPublic(uint256 numberOfMints) public payable { uint256 supply = totalSupply(); require(saleActive, "Sale must be active to mint"); require(numberOfMints > 0 && numberOfMints <= 2, "Invalid purchase amount"); require(supply.add(numberOfMints) <= maxGenCount, "Purchase would exceed max supply of Genesis Moose"); require(price.mul(numberOfMints) == msg.value, "Ether value sent is not correct"); for(uint256 i = 1; i <= numberOfMints; i++) { _safeMint(msg.sender, supply + i); balanceGenesis[msg.sender]++; } } function walletOfOwner(address owner) external view returns(uint256[] memory) { uint256 tokenCount = balanceOf(owner); uint256[] memory tokensId = new uint256[](tokenCount); for(uint256 i; i < tokenCount; i++){ tokensId[i] = tokenOfOwnerByIndex(owner, i); } return tokensId; } function withdraw() public onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } function toggleSOGale() public onlyOwner { OGSaleActive = !OGSaleActive; } function toggleCapoSale() public onlyOwner { CapoSaleActive = !CapoSaleActive; } function toggleSale() public onlyOwner { saleActive = !saleActive; } function setOGSigner(address signer) external onlyOwner { OGSigner = signer; } function setCapoSigner(address signer) external onlyOwner { CapoSigner = signer; } function setPrice(uint256 newPrice) public onlyOwner { price = newPrice; } function setBaseURI(string memory uri) public onlyOwner { baseURI = uri; } function _baseURI() internal view override returns (string memory) { return baseURI; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * 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; /** * @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 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 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 the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); 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: invalid token ID"); 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) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden 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 token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token 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: caller is not token 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) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-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` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "istanbul", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"supply","type":"uint256"},{"internalType":"uint256","name":"genCount","type":"uint256"}],"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":"mooseId","type":"uint256"},{"indexed":false,"internalType":"string","name":"mooseBio","type":"string"}],"name":"BioChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"mooseId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"parent1","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"parent2","type":"uint256"}],"name":"MooseBreeding","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"mooseId","type":"uint256"},{"indexed":false,"internalType":"string","name":"mooseName","type":"string"}],"name":"NameChanged","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":[],"name":"BREED_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"CapoMintLedger","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CapoSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CapoSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"OGMintLedger","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OGSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OGSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"babyCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceGenesis","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"parent1","type":"uint256"},{"internalType":"uint256","name":"parent2","type":"uint256"}],"name":"breed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimMooselone","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxGenCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"addr","type":"string"},{"internalType":"bytes","name":"sig","type":"bytes"},{"internalType":"uint256","name":"numberOfMints","type":"uint256"}],"name":"mintCapo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"string","name":"addr","type":"string"},{"internalType":"bytes","name":"sig","type":"bytes"},{"internalType":"uint256","name":"numberOfMints","type":"uint256"}],"name":"mintOG","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfMints","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","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":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_ethSignedMessageHash","type":"bytes32"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"recoverSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"name":"setCapoSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"name":"setOGSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_yield","type":"address"}],"name":"setYieldToken","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":[],"name":"toggleCapoSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleSOGale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_addr","type":"string"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"address","name":"signer","type":"address"}],"name":"verify","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"yieldToken","outputs":[{"internalType":"contract IYieldToken","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526000600e556000600f556000601460006101000a81548160ff0219169083151502179055506000601460016101000a81548160ff0219169083151502179055506000601460026101000a81548160ff0219169083151502179055503480156200006c57600080fd5b506040516200610c3803806200610c83398181016040528101906200009291906200030f565b8383838383838160009080519060200190620000b0929190620001d6565b508060019080519060200190620000c9929190620001d6565b505050620000ec620000e06200010860201b60201c565b6200011060201b60201c565b81600c8190555080600d81905550505050505050505062000541565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001e4906200044c565b90600052602060002090601f01602090048101928262000208576000855562000254565b82601f106200022357805160ff191683800117855562000254565b8280016001018555821562000254579182015b828111156200025357825182559160200191906001019062000236565b5b50905062000263919062000267565b5090565b5b808211156200028257600081600090555060010162000268565b5090565b60006200029d6200029784620003d6565b620003ad565b905082815260208101848484011115620002b657600080fd5b620002c384828562000416565b509392505050565b600082601f830112620002dd57600080fd5b8151620002ef84826020860162000286565b91505092915050565b600081519050620003098162000527565b92915050565b600080600080608085870312156200032657600080fd5b600085015167ffffffffffffffff8111156200034157600080fd5b6200034f87828801620002cb565b945050602085015167ffffffffffffffff8111156200036d57600080fd5b6200037b87828801620002cb565b93505060406200038e87828801620002f8565b9250506060620003a187828801620002f8565b91505092959194509250565b6000620003b9620003cc565b9050620003c7828262000482565b919050565b6000604051905090565b600067ffffffffffffffff821115620003f457620003f3620004e7565b5b620003ff8262000516565b9050602081019050919050565b6000819050919050565b60005b838110156200043657808201518184015260208101905062000419565b8381111562000446576000848401525b50505050565b600060028204905060018216806200046557607f821691505b602082108114156200047c576200047b620004b8565b5b50919050565b6200048d8262000516565b810181811067ffffffffffffffff82111715620004af57620004ae620004e7565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b62000532816200040c565b81146200053e57600080fd5b50565b615bbb80620005516000396000f3fe6080604052600436106102c95760003560e01c80638da5cb5b11610175578063bf424e7e116100dc578063e37800ff11610095578063efd0cbf91161006f578063efd0cbf914610aec578063f0005a6314610b08578063f17da4fa14610b1f578063f2fde38b14610b4a576102c9565b8063e37800ff14610a5d578063e985e9c514610a86578063ed74561c14610ac3576102c9565b8063bf424e7e14610948578063c649a22014610973578063c87b56dd1461098f578063d5abeb01146109cc578063d9ecad7b146109f7578063e2b26b1514610a20576102c9565b8063a03f3c931161012e578063a03f3c9314610860578063a22cb4651461089d578063abbc6822146108c6578063afa6b7df146108dd578063b06abd9c14610908578063b88d4fde1461091f576102c9565b80638da5cb5b1461075d578063916fed111461078857806391b7f5ed146107a457806395d89b41146107cd57806397aba7f9146107f8578063a035b1fe14610835576102c9565b80634f6ccce711610234578063647b6dfd116101ed578063715018a6116101c7578063715018a6146106d9578063727a42f6146106f057806376d5de851461071b5780637d8966e414610746576102c9565b8063647b6dfd1461064657806368428a1b1461067157806370a082311461069c576102c9565b80634f6ccce7146104fe578063539cb1e71461053b578063549434cc1461056657806355f804b3146105a35780635ccd4816146105cc5780636352211e14610609576102c9565b806323ffce851161028657806323ffce85146103f05780632f745c59146104195780633299c120146104565780633ccfd60b1461048157806342842e0e14610498578063438b6300146104c1576102c9565b806301ffc9a7146102ce57806306fdde031461030b578063081812fc14610336578063095ea7b31461037357806318160ddd1461039c57806323b872dd146103c7575b600080fd5b3480156102da57600080fd5b506102f560048036038101906102f091906141ab565b610b73565b6040516103029190614abd565b60405180910390f35b34801561031757600080fd5b50610320610bed565b60405161032d9190614b38565b60405180910390f35b34801561034257600080fd5b5061035d60048036038101906103589190614346565b610c7f565b60405161036a91906149e2565b60405180910390f35b34801561037f57600080fd5b5061039a6004803603810190610395919061411b565b610cc5565b005b3480156103a857600080fd5b506103b1610ddd565b6040516103be9190614f1a565b60405180910390f35b3480156103d357600080fd5b506103ee60048036038101906103e99190614015565b610dea565b005b3480156103fc57600080fd5b5061041760048036038101906104129190613fb0565b610f3e565b005b34801561042557600080fd5b50610440600480360381019061043b919061411b565b610f8a565b60405161044d9190614f1a565b60405180910390f35b34801561046257600080fd5b5061046b61102f565b6040516104789190614f1a565b60405180910390f35b34801561048d57600080fd5b50610496611035565b005b3480156104a457600080fd5b506104bf60048036038101906104ba9190614015565b61108c565b005b3480156104cd57600080fd5b506104e860048036038101906104e39190613fb0565b6110ac565b6040516104f59190614a9b565b60405180910390f35b34801561050a57600080fd5b5061052560048036038101906105209190614346565b6111a6565b6040516105329190614f1a565b60405180910390f35b34801561054757600080fd5b5061055061123d565b60405161055d9190614f1a565b60405180910390f35b34801561057257600080fd5b5061058d60048036038101906105889190613fb0565b611243565b60405161059a9190614f1a565b60405180910390f35b3480156105af57600080fd5b506105ca60048036038101906105c59190614286565b61125b565b005b3480156105d857600080fd5b506105f360048036038101906105ee91906142c7565b61127d565b6040516106009190614abd565b60405180910390f35b34801561061557600080fd5b50610630600480360381019061062b9190614346565b6112db565b60405161063d91906149e2565b60405180910390f35b34801561065257600080fd5b5061065b61138d565b60405161066891906149e2565b60405180910390f35b34801561067d57600080fd5b506106866113b3565b6040516106939190614abd565b60405180910390f35b3480156106a857600080fd5b506106c360048036038101906106be9190613fb0565b6113c6565b6040516106d09190614f1a565b60405180910390f35b3480156106e557600080fd5b506106ee61147e565b005b3480156106fc57600080fd5b50610705611492565b6040516107129190614abd565b60405180910390f35b34801561072757600080fd5b506107306114a5565b60405161073d9190614b1d565b60405180910390f35b34801561075257600080fd5b5061075b6114cb565b005b34801561076957600080fd5b506107726114ff565b60405161077f91906149e2565b60405180910390f35b6107a2600480360381019061079d91906141fd565b611529565b005b3480156107b057600080fd5b506107cb60048036038101906107c69190614346565b611918565b005b3480156107d957600080fd5b506107e261192a565b6040516107ef9190614b38565b60405180910390f35b34801561080457600080fd5b5061081f600480360381019061081a9190614157565b6119bc565b60405161082c91906149e2565b60405180910390f35b34801561084157600080fd5b5061084a611a2b565b6040516108579190614f1a565b60405180910390f35b34801561086c57600080fd5b5061088760048036038101906108829190613fb0565b611a31565b6040516108949190614f1a565b60405180910390f35b3480156108a957600080fd5b506108c460048036038101906108bf91906140df565b611a49565b005b3480156108d257600080fd5b506108db611a5f565b005b3480156108e957600080fd5b506108f2611ac4565b6040516108ff9190614abd565b60405180910390f35b34801561091457600080fd5b5061091d611ad7565b005b34801561092b57600080fd5b5061094660048036038101906109419190614064565b611b0b565b005b34801561095457600080fd5b5061095d611c61565b60405161096a9190614f1a565b60405180910390f35b61098d600480360381019061098891906141fd565b611c6e565b005b34801561099b57600080fd5b506109b660048036038101906109b19190614346565b61205d565b6040516109c39190614b38565b60405180910390f35b3480156109d857600080fd5b506109e16120c5565b6040516109ee9190614f1a565b60405180910390f35b348015610a0357600080fd5b50610a1e6004803603810190610a19919061436f565b6120cb565b005b348015610a2c57600080fd5b50610a476004803603810190610a429190613fb0565b6123bc565b604051610a549190614f1a565b60405180910390f35b348015610a6957600080fd5b50610a846004803603810190610a7f9190613fb0565b6123d4565b005b348015610a9257600080fd5b50610aad6004803603810190610aa89190613fd9565b612420565b604051610aba9190614abd565b60405180910390f35b348015610acf57600080fd5b50610aea6004803603810190610ae59190613fb0565b6124b4565b005b610b066004803603810190610b019190614346565b612500565b005b348015610b1457600080fd5b50610b1d6126e8565b005b348015610b2b57600080fd5b50610b3461271c565b604051610b4191906149e2565b60405180910390f35b348015610b5657600080fd5b50610b716004803603810190610b6c9190613fb0565b612742565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610be65750610be5826127c6565b5b9050919050565b606060008054610bfc9061529f565b80601f0160208091040260200160405190810160405280929190818152602001828054610c289061529f565b8015610c755780601f10610c4a57610100808354040283529160200191610c75565b820191906000526020600020905b815481529060010190602001808311610c5857829003601f168201915b5050505050905090565b6000610c8a826128a8565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cd0826112db565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3890614dfa565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d606128f3565b73ffffffffffffffffffffffffffffffffffffffff161480610d8f5750610d8e81610d896128f3565b612420565b5b610dce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc590614d5a565b60405180910390fd5b610dd883836128fb565b505050565b6000600880549050905090565b600d54811015610f2e57601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d230af3a84846040518363ffffffff1660e01b8152600401610e519291906149fd565b600060405180830381600087803b158015610e6b57600080fd5b505af1158015610e7f573d6000803e3d6000fd5b50505050601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610ed390615275565b9190505550601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610f2890615302565b91905055505b610f398383836129b4565b505050565b610f46612a14565b80601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000610f95836113c6565b8210610fd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcd90614b5a565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600d5481565b61103d612a14565b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611088573d6000803e3d6000fd5b5050565b6110a783838360405180602001604052806000815250611b0b565b505050565b606060006110b9836113c6565b905060008167ffffffffffffffff8111156110fd577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561112b5781602001602082028036833780820191505090505b50905060005b8281101561119b576111438582610f8a565b82828151811061117c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050808061119390615302565b915050611131565b508092505050919050565b60006111b0610ddd565b82106111f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e890614e1a565b60405180910390fd5b6008828154811061122b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b600e5481565b60136020528060005260406000206000915090505481565b611263612a14565b80600b9080519060200190611279929190613d2b565b5050565b60008061128985612a92565b9050600061129682612ac2565b90508373ffffffffffffffffffffffffffffffffffffffff166112b982876119bc565b73ffffffffffffffffffffffffffffffffffffffff1614925050509392505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611384576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137b90614dda565b60405180910390fd5b80915050919050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601460029054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611437576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142e90614c9a565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611486612a14565b6114906000612af2565b565b601460009054906101000a900460ff1681565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6114d3612a14565b601460029054906101000a900460ff1615601460026101000a81548160ff021916908315150217905550565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601460009054906101000a900460ff16611578576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156f90614e7a565b60405180910390fd5b6000611582610ddd565b9050600061163b87878080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505086868080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661127d565b90508061167d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167490614d9a565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146116eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e290614eda565b60405180910390fd5b600261173f84601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612bb890919063ffffffff16565b1115611780576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177790614d3a565b60405180910390fd5b600d546117968484612bb890919063ffffffff16565b11156117d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ce90614cda565b60405180910390fd5b346117ed84600f54612bce90919063ffffffff16565b1461182d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182490614c5a565b60405180910390fd5b82601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461187c919061506f565b925050819055506000600190505b83811161190e576118a63382856118a1919061506f565b612be4565b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906118f690615302565b9190505550808061190690615302565b91505061188a565b5050505050505050565b611920612a14565b80600f8190555050565b6060600180546119399061529f565b80601f01602080910402602001604051908101604052809291908181526020018280546119659061529f565b80156119b25780601f10611987576101008083540402835291602001916119b2565b820191906000526020600020905b81548152906001019060200180831161199557829003601f168201915b5050505050905090565b6000806000806119cb85612c02565b925092509250600186828585604051600081526020016040526040516119f49493929190614ad8565b6020604051602081039080840390855afa158015611a16573d6000803e3d6000fd5b50505060206040510351935050505092915050565b600f5481565b60126020528060005260406000206000915090505481565b611a5b611a546128f3565b8383612c6a565b5050565b611a67612a14565b6000611a71610ddd565b905060008114611ab6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aad90614eba565b60405180910390fd5b611ac1336001612be4565b50565b601460019054906101000a900460ff1681565b611adf612a14565b601460009054906101000a900460ff1615601460006101000a81548160ff021916908315150217905550565b600d54821015611c4f57601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d230af3a85856040518363ffffffff1660e01b8152600401611b729291906149fd565b600060405180830381600087803b158015611b8c57600080fd5b505af1158015611ba0573d6000803e3d6000fd5b50505050601560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190611bf490615275565b9190505550601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190611c4990615302565b91905055505b611c5b84848484612dd7565b50505050565b682086ac35105260000081565b601460019054906101000a900460ff16611cbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb490614e7a565b60405180910390fd5b6000611cc7610ddd565b90506000611d8087878080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505086868080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661127d565b905080611dc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db990614d9a565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611e30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2790614eda565b60405180910390fd5b6001611e8484601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612bb890919063ffffffff16565b1115611ec5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebc90614cba565b60405180910390fd5b600d54611edb8484612bb890919063ffffffff16565b1115611f1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1390614cda565b60405180910390fd5b34611f3284600f54612bce90919063ffffffff16565b14611f72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6990614c5a565b60405180910390fd5b82601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fc1919061506f565b925050819055506000600190505b83811161205357611feb338285611fe6919061506f565b612be4565b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061203b90615302565b9190505550808061204b90615302565b915050611fcf565b5050505050505050565b6060612068826128a8565b6000612072612e39565b9050600081511161209257604051806020016040528060008152506120bd565b8061209c84612ecb565b6040516020016120ad929190614998565b6040516020818303038152906040525b915050919050565b600c5481565b813373ffffffffffffffffffffffffffffffffffffffff166120ec826112db565b73ffffffffffffffffffffffffffffffffffffffff1614612142576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213990614cfa565b60405180910390fd5b813373ffffffffffffffffffffffffffffffffffffffff16612163826112db565b73ffffffffffffffffffffffffffffffffffffffff16146121b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b090614cfa565b60405180910390fd5b60006121c3610ddd565b9050600c548110612209576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220090614d1a565b60405180910390fd5b600d54851115801561221d5750600d548411155b61225c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225390614e3a565b60405180910390fd5b8385141561229f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229690614b9a565b60405180910390fd5b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac33682086ac3510526000006040518363ffffffff1660e01b8152600401612305929190614a72565b600060405180830381600087803b15801561231f57600080fd5b505af1158015612333573d6000803e3d6000fd5b5050505060006001600e54600d5461234b919061506f565b612355919061506f565b9050600e600081548092919061236a90615302565b91905055506123793382612be4565b7f26e9eb105b9f39b0ecfc5fdcca387ae4ed7152247a246974bd254034928b98428187876040516123ac93929190614f35565b60405180910390a1505050505050565b60156020528060005260406000206000915090505481565b6123dc612a14565b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6124bc612a14565b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600061250a610ddd565b9050601460029054906101000a900460ff1661255b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255290614c7a565b60405180910390fd5b60008211801561256c575060028211155b6125ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a290614efa565b60405180910390fd5b600d546125c18383612bb890919063ffffffff16565b1115612602576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f990614cda565b60405180910390fd5b3461261883600f54612bce90919063ffffffff16565b14612658576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264f90614c5a565b60405180910390fd5b6000600190505b8281116126e35761267b338284612676919061506f565b612be4565b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906126cb90615302565b919050555080806126db90615302565b91505061265f565b505050565b6126f0612a14565b601460019054906101000a900460ff1615601460016101000a81548160ff021916908315150217905550565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61274a612a14565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156127ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b190614bba565b60405180910390fd5b6127c381612af2565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061289157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806128a157506128a082613078565b5b9050919050565b6128b1816130e2565b6128f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e790614dda565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661296e836112db565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6129c56129bf6128f3565b8261314e565b612a04576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129fb90614e9a565b60405180910390fd5b612a0f8383836131e3565b505050565b612a1c6128f3565b73ffffffffffffffffffffffffffffffffffffffff16612a3a6114ff565b73ffffffffffffffffffffffffffffffffffffffff1614612a90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8790614dba565b60405180910390fd5b565b600081604051602001612aa59190614981565b604051602081830303815290604052805190602001209050919050565b600081604051602001612ad591906149bc565b604051602081830303815290604052805190602001209050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183612bc6919061506f565b905092915050565b60008183612bdc91906150f6565b905092915050565b612bfe82826040518060200160405280600081525061344a565b5050565b60008060006041845114612c4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4290614e5a565b60405180910390fd5b6020840151925060408401519150606084015160001a90509193909250565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612cd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cd090614c3a565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612dca9190614abd565b60405180910390a3505050565b612de8612de26128f3565b8361314e565b612e27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1e90614e9a565b60405180910390fd5b612e33848484846134a5565b50505050565b6060600b8054612e489061529f565b80601f0160208091040260200160405190810160405280929190818152602001828054612e749061529f565b8015612ec15780601f10612e9657610100808354040283529160200191612ec1565b820191906000526020600020905b815481529060010190602001808311612ea457829003601f168201915b5050505050905090565b60606000821415612f13576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613073565b600082905060005b60008214612f45578080612f2e90615302565b915050600a82612f3e91906150c5565b9150612f1b565b60008167ffffffffffffffff811115612f87577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612fb95781602001600182028036833780820191505090505b5090505b6000851461306c57600182612fd29190615150565b9150600a85612fe19190615355565b6030612fed919061506f565b60f81b818381518110613029577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561306591906150c5565b9450612fbd565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60008061315a836112db565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061319c575061319b8185612420565b5b806131da57508373ffffffffffffffffffffffffffffffffffffffff166131c284610c7f565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16613203826112db565b73ffffffffffffffffffffffffffffffffffffffff1614613259576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161325090614bda565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156132c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132c090614c1a565b60405180910390fd5b6132d4838383613501565b6132df6000826128fb565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461332f9190615150565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613386919061506f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613445838383613615565b505050565b613454838361361a565b61346160008484846137f4565b6134a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161349790614b7a565b60405180910390fd5b505050565b6134b08484846131e3565b6134bc848484846137f4565b6134fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134f290614b7a565b60405180910390fd5b50505050565b61350c83838361398b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561354f5761354a81613990565b61358e565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461358d5761358c83826139d9565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135d1576135cc81613b46565b613610565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461360f5761360e8282613c89565b5b5b505050565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561368a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161368190614d7a565b60405180910390fd5b613693816130e2565b156136d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136ca90614bfa565b60405180910390fd5b6136df60008383613501565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461372f919061506f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46137f060008383613615565b5050565b60006138158473ffffffffffffffffffffffffffffffffffffffff16613d08565b1561397e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261383e6128f3565b8786866040518563ffffffff1660e01b81526004016138609493929190614a26565b602060405180830381600087803b15801561387a57600080fd5b505af19250505080156138ab57506040513d601f19601f820116820180604052508101906138a891906141d4565b60015b61392e573d80600081146138db576040519150601f19603f3d011682016040523d82523d6000602084013e6138e0565b606091505b50600081511415613926576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161391d90614b7a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613983565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016139e6846113c6565b6139f09190615150565b9050600060076000848152602001908152602001600020549050818114613ad5576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613b5a9190615150565b9050600060096000848152602001908152602001600020549050600060088381548110613bb0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613bf8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613c6d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613c94836113c6565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054613d379061529f565b90600052602060002090601f016020900481019282613d595760008555613da0565b82601f10613d7257805160ff1916838001178555613da0565b82800160010185558215613da0579182015b82811115613d9f578251825591602001919060010190613d84565b5b509050613dad9190613db1565b5090565b5b80821115613dca576000816000905550600101613db2565b5090565b6000613de1613ddc84614f91565b614f6c565b905082815260208101848484011115613df957600080fd5b613e04848285615233565b509392505050565b6000613e1f613e1a84614fc2565b614f6c565b905082815260208101848484011115613e3757600080fd5b613e42848285615233565b509392505050565b600081359050613e5981615b12565b92915050565b600081359050613e6e81615b29565b92915050565b600081359050613e8381615b40565b92915050565b600081359050613e9881615b57565b92915050565b600081519050613ead81615b57565b92915050565b60008083601f840112613ec557600080fd5b8235905067ffffffffffffffff811115613ede57600080fd5b602083019150836001820283011115613ef657600080fd5b9250929050565b600082601f830112613f0e57600080fd5b8135613f1e848260208601613dce565b91505092915050565b60008083601f840112613f3957600080fd5b8235905067ffffffffffffffff811115613f5257600080fd5b602083019150836001820283011115613f6a57600080fd5b9250929050565b600082601f830112613f8257600080fd5b8135613f92848260208601613e0c565b91505092915050565b600081359050613faa81615b6e565b92915050565b600060208284031215613fc257600080fd5b6000613fd084828501613e4a565b91505092915050565b60008060408385031215613fec57600080fd5b6000613ffa85828601613e4a565b925050602061400b85828601613e4a565b9150509250929050565b60008060006060848603121561402a57600080fd5b600061403886828701613e4a565b935050602061404986828701613e4a565b925050604061405a86828701613f9b565b9150509250925092565b6000806000806080858703121561407a57600080fd5b600061408887828801613e4a565b945050602061409987828801613e4a565b93505060406140aa87828801613f9b565b925050606085013567ffffffffffffffff8111156140c757600080fd5b6140d387828801613efd565b91505092959194509250565b600080604083850312156140f257600080fd5b600061410085828601613e4a565b925050602061411185828601613e5f565b9150509250929050565b6000806040838503121561412e57600080fd5b600061413c85828601613e4a565b925050602061414d85828601613f9b565b9150509250929050565b6000806040838503121561416a57600080fd5b600061417885828601613e74565b925050602083013567ffffffffffffffff81111561419557600080fd5b6141a185828601613efd565b9150509250929050565b6000602082840312156141bd57600080fd5b60006141cb84828501613e89565b91505092915050565b6000602082840312156141e657600080fd5b60006141f484828501613e9e565b91505092915050565b60008060008060006060868803121561421557600080fd5b600086013567ffffffffffffffff81111561422f57600080fd5b61423b88828901613f27565b9550955050602086013567ffffffffffffffff81111561425a57600080fd5b61426688828901613eb3565b9350935050604061427988828901613f9b565b9150509295509295909350565b60006020828403121561429857600080fd5b600082013567ffffffffffffffff8111156142b257600080fd5b6142be84828501613f71565b91505092915050565b6000806000606084860312156142dc57600080fd5b600084013567ffffffffffffffff8111156142f657600080fd5b61430286828701613f71565b935050602084013567ffffffffffffffff81111561431f57600080fd5b61432b86828701613efd565b925050604061433c86828701613e4a565b9150509250925092565b60006020828403121561435857600080fd5b600061436684828501613f9b565b91505092915050565b6000806040838503121561438257600080fd5b600061439085828601613f9b565b92505060206143a185828601613f9b565b9150509250929050565b60006143b78383614954565b60208301905092915050565b6143cc81615184565b82525050565b60006143dd82615003565b6143e78185615031565b93506143f283614ff3565b8060005b8381101561442357815161440a88826143ab565b975061441583615024565b9250506001810190506143f6565b5085935050505092915050565b61443981615196565b82525050565b614448816151a2565b82525050565b61445f61445a826151a2565b61534b565b82525050565b60006144708261500e565b61447a8185615042565b935061448a818560208601615242565b61449381615442565b840191505092915050565b6144a78161520f565b82525050565b60006144b882615019565b6144c28185615053565b93506144d2818560208601615242565b6144db81615442565b840191505092915050565b60006144f182615019565b6144fb8185615064565b935061450b818560208601615242565b80840191505092915050565b6000614524601c83615064565b915061452f82615453565b601c82019050919050565b6000614547602b83615053565b91506145528261547c565b604082019050919050565b600061456a603283615053565b9150614575826154cb565b604082019050919050565b600061458d601e83615053565b91506145988261551a565b602082019050919050565b60006145b0602683615053565b91506145bb82615543565b604082019050919050565b60006145d3602583615053565b91506145de82615592565b604082019050919050565b60006145f6601c83615053565b9150614601826155e1565b602082019050919050565b6000614619602483615053565b91506146248261560a565b604082019050919050565b600061463c601983615053565b915061464782615659565b602082019050919050565b600061465f601f83615053565b915061466a82615682565b602082019050919050565b6000614682601b83615053565b915061468d826156ab565b602082019050919050565b60006146a5602983615053565b91506146b0826156d4565b604082019050919050565b60006146c8600b83615053565b91506146d382615723565b602082019050919050565b60006146eb603183615053565b91506146f68261574c565b604082019050919050565b600061470e602b83615053565b91506147198261579b565b604082019050919050565b6000614731602083615053565b915061473c826157ea565b602082019050919050565b6000614754600c83615053565b915061475f82615813565b602082019050919050565b6000614777603e83615053565b91506147828261583c565b604082019050919050565b600061479a602083615053565b91506147a58261588b565b602082019050919050565b60006147bd601783615053565b91506147c8826158b4565b602082019050919050565b60006147e0602083615053565b91506147eb826158dd565b602082019050919050565b6000614803601883615053565b915061480e82615906565b602082019050919050565b6000614826602183615053565b91506148318261592f565b604082019050919050565b6000614849602c83615053565b91506148548261597e565b604082019050919050565b600061486c601c83615053565b9150614877826159cd565b602082019050919050565b600061488f601883615053565b915061489a826159f6565b602082019050919050565b60006148b2601483615053565b91506148bd82615a1f565b602082019050919050565b60006148d5602e83615053565b91506148e082615a48565b604082019050919050565b60006148f8601783615053565b915061490382615a97565b602082019050919050565b600061491b601383615053565b915061492682615ac0565b602082019050919050565b600061493e601783615053565b915061494982615ae9565b602082019050919050565b61495d816151f8565b82525050565b61496c816151f8565b82525050565b61497b81615202565b82525050565b600061498d82846144e6565b915081905092915050565b60006149a482856144e6565b91506149b082846144e6565b91508190509392505050565b60006149c782614517565b91506149d3828461444e565b60208201915081905092915050565b60006020820190506149f760008301846143c3565b92915050565b6000604082019050614a1260008301856143c3565b614a1f60208301846143c3565b9392505050565b6000608082019050614a3b60008301876143c3565b614a4860208301866143c3565b614a556040830185614963565b8181036060830152614a678184614465565b905095945050505050565b6000604082019050614a8760008301856143c3565b614a946020830184614963565b9392505050565b60006020820190508181036000830152614ab581846143d2565b905092915050565b6000602082019050614ad26000830184614430565b92915050565b6000608082019050614aed600083018761443f565b614afa6020830186614972565b614b07604083018561443f565b614b14606083018461443f565b95945050505050565b6000602082019050614b32600083018461449e565b92915050565b60006020820190508181036000830152614b5281846144ad565b905092915050565b60006020820190508181036000830152614b738161453a565b9050919050565b60006020820190508181036000830152614b938161455d565b9050919050565b60006020820190508181036000830152614bb381614580565b9050919050565b60006020820190508181036000830152614bd3816145a3565b9050919050565b60006020820190508181036000830152614bf3816145c6565b9050919050565b60006020820190508181036000830152614c13816145e9565b9050919050565b60006020820190508181036000830152614c338161460c565b9050919050565b60006020820190508181036000830152614c538161462f565b9050919050565b60006020820190508181036000830152614c7381614652565b9050919050565b60006020820190508181036000830152614c9381614675565b9050919050565b60006020820190508181036000830152614cb381614698565b9050919050565b60006020820190508181036000830152614cd3816146bb565b9050919050565b60006020820190508181036000830152614cf3816146de565b9050919050565b60006020820190508181036000830152614d1381614701565b9050919050565b60006020820190508181036000830152614d3381614724565b9050919050565b60006020820190508181036000830152614d5381614747565b9050919050565b60006020820190508181036000830152614d738161476a565b9050919050565b60006020820190508181036000830152614d938161478d565b9050919050565b60006020820190508181036000830152614db3816147b0565b9050919050565b60006020820190508181036000830152614dd3816147d3565b9050919050565b60006020820190508181036000830152614df3816147f6565b9050919050565b60006020820190508181036000830152614e1381614819565b9050919050565b60006020820190508181036000830152614e338161483c565b9050919050565b60006020820190508181036000830152614e538161485f565b9050919050565b60006020820190508181036000830152614e7381614882565b9050919050565b60006020820190508181036000830152614e93816148a5565b9050919050565b60006020820190508181036000830152614eb3816148c8565b9050919050565b60006020820190508181036000830152614ed3816148eb565b9050919050565b60006020820190508181036000830152614ef38161490e565b9050919050565b60006020820190508181036000830152614f1381614931565b9050919050565b6000602082019050614f2f6000830184614963565b92915050565b6000606082019050614f4a6000830186614963565b614f576020830185614963565b614f646040830184614963565b949350505050565b6000614f76614f87565b9050614f8282826152d1565b919050565b6000604051905090565b600067ffffffffffffffff821115614fac57614fab615413565b5b614fb582615442565b9050602081019050919050565b600067ffffffffffffffff821115614fdd57614fdc615413565b5b614fe682615442565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061507a826151f8565b9150615085836151f8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156150ba576150b9615386565b5b828201905092915050565b60006150d0826151f8565b91506150db836151f8565b9250826150eb576150ea6153b5565b5b828204905092915050565b6000615101826151f8565b915061510c836151f8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561514557615144615386565b5b828202905092915050565b600061515b826151f8565b9150615166836151f8565b92508282101561517957615178615386565b5b828203905092915050565b600061518f826151d8565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b600061521a82615221565b9050919050565b600061522c826151d8565b9050919050565b82818337600083830152505050565b60005b83811015615260578082015181840152602081019050615245565b8381111561526f576000848401525b50505050565b6000615280826151f8565b9150600082141561529457615293615386565b5b600182039050919050565b600060028204905060018216806152b757607f821691505b602082108114156152cb576152ca6153e4565b5b50919050565b6152da82615442565b810181811067ffffffffffffffff821117156152f9576152f8615413565b5b80604052505050565b600061530d826151f8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156153405761533f615386565b5b600182019050919050565b6000819050919050565b6000615360826151f8565b915061536b836151f8565b92508261537b5761537a6153b5565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4d7573742073656c6563742074776f20756e6971756520706172656e74730000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f53616c65206d7573742062652061637469766520746f206d696e740000000000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f4f6e6c792031206d696e74000000000000000000000000000000000000000000600082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f662047656e65736973204d6f6f7365000000000000000000000000000000602082015250565b7f43616e6e6f7420696e74657261637420776974682061204d6f6f736520796f7560008201527f20646f206e6f74206f776e000000000000000000000000000000000000000000602082015250565b7f43616e6e6f7420627265656420616e79206d6f72652062616279204d6f6f7365600082015250565b7f4f6e6c792032206d696e74730000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f596f7520617265206e6f742077686974656c6973746564000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f43616e6e6f7420627265656420776974682062616279204d6f6f736500000000600082015250565b7f696e76616c6964207369676e6174757265206c656e6774680000000000000000600082015250565b7f53616c6520686173206e6f742073746172746564000000000000000000000000600082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b7f43616e206f6e6c792062652063616c6c6564206f6e6365000000000000000000600082015250565b7f43616e2774206265206120636f6e747261637400000000000000000000000000600082015250565b7f496e76616c696420707572636861736520616d6f756e74000000000000000000600082015250565b615b1b81615184565b8114615b2657600080fd5b50565b615b3281615196565b8114615b3d57600080fd5b50565b615b49816151a2565b8114615b5457600080fd5b50565b615b60816151ac565b8114615b6b57600080fd5b50565b615b77816151f8565b8114615b8257600080fd5b5056fea2646970667358221220fb925cd2ada3cb5556ed137db16c99f86b6b3e1c9b9a39114fa48754c70a7ac964736f6c63430008010033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000000a4d6f6f73652047616e670000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054d6f6f7365000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102c95760003560e01c80638da5cb5b11610175578063bf424e7e116100dc578063e37800ff11610095578063efd0cbf91161006f578063efd0cbf914610aec578063f0005a6314610b08578063f17da4fa14610b1f578063f2fde38b14610b4a576102c9565b8063e37800ff14610a5d578063e985e9c514610a86578063ed74561c14610ac3576102c9565b8063bf424e7e14610948578063c649a22014610973578063c87b56dd1461098f578063d5abeb01146109cc578063d9ecad7b146109f7578063e2b26b1514610a20576102c9565b8063a03f3c931161012e578063a03f3c9314610860578063a22cb4651461089d578063abbc6822146108c6578063afa6b7df146108dd578063b06abd9c14610908578063b88d4fde1461091f576102c9565b80638da5cb5b1461075d578063916fed111461078857806391b7f5ed146107a457806395d89b41146107cd57806397aba7f9146107f8578063a035b1fe14610835576102c9565b80634f6ccce711610234578063647b6dfd116101ed578063715018a6116101c7578063715018a6146106d9578063727a42f6146106f057806376d5de851461071b5780637d8966e414610746576102c9565b8063647b6dfd1461064657806368428a1b1461067157806370a082311461069c576102c9565b80634f6ccce7146104fe578063539cb1e71461053b578063549434cc1461056657806355f804b3146105a35780635ccd4816146105cc5780636352211e14610609576102c9565b806323ffce851161028657806323ffce85146103f05780632f745c59146104195780633299c120146104565780633ccfd60b1461048157806342842e0e14610498578063438b6300146104c1576102c9565b806301ffc9a7146102ce57806306fdde031461030b578063081812fc14610336578063095ea7b31461037357806318160ddd1461039c57806323b872dd146103c7575b600080fd5b3480156102da57600080fd5b506102f560048036038101906102f091906141ab565b610b73565b6040516103029190614abd565b60405180910390f35b34801561031757600080fd5b50610320610bed565b60405161032d9190614b38565b60405180910390f35b34801561034257600080fd5b5061035d60048036038101906103589190614346565b610c7f565b60405161036a91906149e2565b60405180910390f35b34801561037f57600080fd5b5061039a6004803603810190610395919061411b565b610cc5565b005b3480156103a857600080fd5b506103b1610ddd565b6040516103be9190614f1a565b60405180910390f35b3480156103d357600080fd5b506103ee60048036038101906103e99190614015565b610dea565b005b3480156103fc57600080fd5b5061041760048036038101906104129190613fb0565b610f3e565b005b34801561042557600080fd5b50610440600480360381019061043b919061411b565b610f8a565b60405161044d9190614f1a565b60405180910390f35b34801561046257600080fd5b5061046b61102f565b6040516104789190614f1a565b60405180910390f35b34801561048d57600080fd5b50610496611035565b005b3480156104a457600080fd5b506104bf60048036038101906104ba9190614015565b61108c565b005b3480156104cd57600080fd5b506104e860048036038101906104e39190613fb0565b6110ac565b6040516104f59190614a9b565b60405180910390f35b34801561050a57600080fd5b5061052560048036038101906105209190614346565b6111a6565b6040516105329190614f1a565b60405180910390f35b34801561054757600080fd5b5061055061123d565b60405161055d9190614f1a565b60405180910390f35b34801561057257600080fd5b5061058d60048036038101906105889190613fb0565b611243565b60405161059a9190614f1a565b60405180910390f35b3480156105af57600080fd5b506105ca60048036038101906105c59190614286565b61125b565b005b3480156105d857600080fd5b506105f360048036038101906105ee91906142c7565b61127d565b6040516106009190614abd565b60405180910390f35b34801561061557600080fd5b50610630600480360381019061062b9190614346565b6112db565b60405161063d91906149e2565b60405180910390f35b34801561065257600080fd5b5061065b61138d565b60405161066891906149e2565b60405180910390f35b34801561067d57600080fd5b506106866113b3565b6040516106939190614abd565b60405180910390f35b3480156106a857600080fd5b506106c360048036038101906106be9190613fb0565b6113c6565b6040516106d09190614f1a565b60405180910390f35b3480156106e557600080fd5b506106ee61147e565b005b3480156106fc57600080fd5b50610705611492565b6040516107129190614abd565b60405180910390f35b34801561072757600080fd5b506107306114a5565b60405161073d9190614b1d565b60405180910390f35b34801561075257600080fd5b5061075b6114cb565b005b34801561076957600080fd5b506107726114ff565b60405161077f91906149e2565b60405180910390f35b6107a2600480360381019061079d91906141fd565b611529565b005b3480156107b057600080fd5b506107cb60048036038101906107c69190614346565b611918565b005b3480156107d957600080fd5b506107e261192a565b6040516107ef9190614b38565b60405180910390f35b34801561080457600080fd5b5061081f600480360381019061081a9190614157565b6119bc565b60405161082c91906149e2565b60405180910390f35b34801561084157600080fd5b5061084a611a2b565b6040516108579190614f1a565b60405180910390f35b34801561086c57600080fd5b5061088760048036038101906108829190613fb0565b611a31565b6040516108949190614f1a565b60405180910390f35b3480156108a957600080fd5b506108c460048036038101906108bf91906140df565b611a49565b005b3480156108d257600080fd5b506108db611a5f565b005b3480156108e957600080fd5b506108f2611ac4565b6040516108ff9190614abd565b60405180910390f35b34801561091457600080fd5b5061091d611ad7565b005b34801561092b57600080fd5b5061094660048036038101906109419190614064565b611b0b565b005b34801561095457600080fd5b5061095d611c61565b60405161096a9190614f1a565b60405180910390f35b61098d600480360381019061098891906141fd565b611c6e565b005b34801561099b57600080fd5b506109b660048036038101906109b19190614346565b61205d565b6040516109c39190614b38565b60405180910390f35b3480156109d857600080fd5b506109e16120c5565b6040516109ee9190614f1a565b60405180910390f35b348015610a0357600080fd5b50610a1e6004803603810190610a19919061436f565b6120cb565b005b348015610a2c57600080fd5b50610a476004803603810190610a429190613fb0565b6123bc565b604051610a549190614f1a565b60405180910390f35b348015610a6957600080fd5b50610a846004803603810190610a7f9190613fb0565b6123d4565b005b348015610a9257600080fd5b50610aad6004803603810190610aa89190613fd9565b612420565b604051610aba9190614abd565b60405180910390f35b348015610acf57600080fd5b50610aea6004803603810190610ae59190613fb0565b6124b4565b005b610b066004803603810190610b019190614346565b612500565b005b348015610b1457600080fd5b50610b1d6126e8565b005b348015610b2b57600080fd5b50610b3461271c565b604051610b4191906149e2565b60405180910390f35b348015610b5657600080fd5b50610b716004803603810190610b6c9190613fb0565b612742565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610be65750610be5826127c6565b5b9050919050565b606060008054610bfc9061529f565b80601f0160208091040260200160405190810160405280929190818152602001828054610c289061529f565b8015610c755780601f10610c4a57610100808354040283529160200191610c75565b820191906000526020600020905b815481529060010190602001808311610c5857829003601f168201915b5050505050905090565b6000610c8a826128a8565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cd0826112db565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3890614dfa565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d606128f3565b73ffffffffffffffffffffffffffffffffffffffff161480610d8f5750610d8e81610d896128f3565b612420565b5b610dce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc590614d5a565b60405180910390fd5b610dd883836128fb565b505050565b6000600880549050905090565b600d54811015610f2e57601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d230af3a84846040518363ffffffff1660e01b8152600401610e519291906149fd565b600060405180830381600087803b158015610e6b57600080fd5b505af1158015610e7f573d6000803e3d6000fd5b50505050601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610ed390615275565b9190505550601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610f2890615302565b91905055505b610f398383836129b4565b505050565b610f46612a14565b80601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000610f95836113c6565b8210610fd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcd90614b5a565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600d5481565b61103d612a14565b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611088573d6000803e3d6000fd5b5050565b6110a783838360405180602001604052806000815250611b0b565b505050565b606060006110b9836113c6565b905060008167ffffffffffffffff8111156110fd577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561112b5781602001602082028036833780820191505090505b50905060005b8281101561119b576111438582610f8a565b82828151811061117c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050808061119390615302565b915050611131565b508092505050919050565b60006111b0610ddd565b82106111f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e890614e1a565b60405180910390fd5b6008828154811061122b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b600e5481565b60136020528060005260406000206000915090505481565b611263612a14565b80600b9080519060200190611279929190613d2b565b5050565b60008061128985612a92565b9050600061129682612ac2565b90508373ffffffffffffffffffffffffffffffffffffffff166112b982876119bc565b73ffffffffffffffffffffffffffffffffffffffff1614925050509392505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611384576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137b90614dda565b60405180910390fd5b80915050919050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601460029054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611437576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142e90614c9a565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611486612a14565b6114906000612af2565b565b601460009054906101000a900460ff1681565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6114d3612a14565b601460029054906101000a900460ff1615601460026101000a81548160ff021916908315150217905550565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601460009054906101000a900460ff16611578576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156f90614e7a565b60405180910390fd5b6000611582610ddd565b9050600061163b87878080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505086868080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661127d565b90508061167d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167490614d9a565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146116eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e290614eda565b60405180910390fd5b600261173f84601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612bb890919063ffffffff16565b1115611780576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177790614d3a565b60405180910390fd5b600d546117968484612bb890919063ffffffff16565b11156117d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ce90614cda565b60405180910390fd5b346117ed84600f54612bce90919063ffffffff16565b1461182d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182490614c5a565b60405180910390fd5b82601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461187c919061506f565b925050819055506000600190505b83811161190e576118a63382856118a1919061506f565b612be4565b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906118f690615302565b9190505550808061190690615302565b91505061188a565b5050505050505050565b611920612a14565b80600f8190555050565b6060600180546119399061529f565b80601f01602080910402602001604051908101604052809291908181526020018280546119659061529f565b80156119b25780601f10611987576101008083540402835291602001916119b2565b820191906000526020600020905b81548152906001019060200180831161199557829003601f168201915b5050505050905090565b6000806000806119cb85612c02565b925092509250600186828585604051600081526020016040526040516119f49493929190614ad8565b6020604051602081039080840390855afa158015611a16573d6000803e3d6000fd5b50505060206040510351935050505092915050565b600f5481565b60126020528060005260406000206000915090505481565b611a5b611a546128f3565b8383612c6a565b5050565b611a67612a14565b6000611a71610ddd565b905060008114611ab6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aad90614eba565b60405180910390fd5b611ac1336001612be4565b50565b601460019054906101000a900460ff1681565b611adf612a14565b601460009054906101000a900460ff1615601460006101000a81548160ff021916908315150217905550565b600d54821015611c4f57601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d230af3a85856040518363ffffffff1660e01b8152600401611b729291906149fd565b600060405180830381600087803b158015611b8c57600080fd5b505af1158015611ba0573d6000803e3d6000fd5b50505050601560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190611bf490615275565b9190505550601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190611c4990615302565b91905055505b611c5b84848484612dd7565b50505050565b682086ac35105260000081565b601460019054906101000a900460ff16611cbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb490614e7a565b60405180910390fd5b6000611cc7610ddd565b90506000611d8087878080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505086868080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661127d565b905080611dc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db990614d9a565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611e30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2790614eda565b60405180910390fd5b6001611e8484601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612bb890919063ffffffff16565b1115611ec5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebc90614cba565b60405180910390fd5b600d54611edb8484612bb890919063ffffffff16565b1115611f1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1390614cda565b60405180910390fd5b34611f3284600f54612bce90919063ffffffff16565b14611f72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6990614c5a565b60405180910390fd5b82601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fc1919061506f565b925050819055506000600190505b83811161205357611feb338285611fe6919061506f565b612be4565b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061203b90615302565b9190505550808061204b90615302565b915050611fcf565b5050505050505050565b6060612068826128a8565b6000612072612e39565b9050600081511161209257604051806020016040528060008152506120bd565b8061209c84612ecb565b6040516020016120ad929190614998565b6040516020818303038152906040525b915050919050565b600c5481565b813373ffffffffffffffffffffffffffffffffffffffff166120ec826112db565b73ffffffffffffffffffffffffffffffffffffffff1614612142576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213990614cfa565b60405180910390fd5b813373ffffffffffffffffffffffffffffffffffffffff16612163826112db565b73ffffffffffffffffffffffffffffffffffffffff16146121b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b090614cfa565b60405180910390fd5b60006121c3610ddd565b9050600c548110612209576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220090614d1a565b60405180910390fd5b600d54851115801561221d5750600d548411155b61225c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225390614e3a565b60405180910390fd5b8385141561229f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229690614b9a565b60405180910390fd5b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac33682086ac3510526000006040518363ffffffff1660e01b8152600401612305929190614a72565b600060405180830381600087803b15801561231f57600080fd5b505af1158015612333573d6000803e3d6000fd5b5050505060006001600e54600d5461234b919061506f565b612355919061506f565b9050600e600081548092919061236a90615302565b91905055506123793382612be4565b7f26e9eb105b9f39b0ecfc5fdcca387ae4ed7152247a246974bd254034928b98428187876040516123ac93929190614f35565b60405180910390a1505050505050565b60156020528060005260406000206000915090505481565b6123dc612a14565b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6124bc612a14565b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600061250a610ddd565b9050601460029054906101000a900460ff1661255b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255290614c7a565b60405180910390fd5b60008211801561256c575060028211155b6125ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a290614efa565b60405180910390fd5b600d546125c18383612bb890919063ffffffff16565b1115612602576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f990614cda565b60405180910390fd5b3461261883600f54612bce90919063ffffffff16565b14612658576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264f90614c5a565b60405180910390fd5b6000600190505b8281116126e35761267b338284612676919061506f565b612be4565b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906126cb90615302565b919050555080806126db90615302565b91505061265f565b505050565b6126f0612a14565b601460019054906101000a900460ff1615601460016101000a81548160ff021916908315150217905550565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61274a612a14565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156127ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b190614bba565b60405180910390fd5b6127c381612af2565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061289157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806128a157506128a082613078565b5b9050919050565b6128b1816130e2565b6128f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e790614dda565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661296e836112db565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6129c56129bf6128f3565b8261314e565b612a04576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129fb90614e9a565b60405180910390fd5b612a0f8383836131e3565b505050565b612a1c6128f3565b73ffffffffffffffffffffffffffffffffffffffff16612a3a6114ff565b73ffffffffffffffffffffffffffffffffffffffff1614612a90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8790614dba565b60405180910390fd5b565b600081604051602001612aa59190614981565b604051602081830303815290604052805190602001209050919050565b600081604051602001612ad591906149bc565b604051602081830303815290604052805190602001209050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183612bc6919061506f565b905092915050565b60008183612bdc91906150f6565b905092915050565b612bfe82826040518060200160405280600081525061344a565b5050565b60008060006041845114612c4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4290614e5a565b60405180910390fd5b6020840151925060408401519150606084015160001a90509193909250565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612cd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cd090614c3a565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612dca9190614abd565b60405180910390a3505050565b612de8612de26128f3565b8361314e565b612e27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1e90614e9a565b60405180910390fd5b612e33848484846134a5565b50505050565b6060600b8054612e489061529f565b80601f0160208091040260200160405190810160405280929190818152602001828054612e749061529f565b8015612ec15780601f10612e9657610100808354040283529160200191612ec1565b820191906000526020600020905b815481529060010190602001808311612ea457829003601f168201915b5050505050905090565b60606000821415612f13576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613073565b600082905060005b60008214612f45578080612f2e90615302565b915050600a82612f3e91906150c5565b9150612f1b565b60008167ffffffffffffffff811115612f87577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612fb95781602001600182028036833780820191505090505b5090505b6000851461306c57600182612fd29190615150565b9150600a85612fe19190615355565b6030612fed919061506f565b60f81b818381518110613029577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561306591906150c5565b9450612fbd565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60008061315a836112db565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061319c575061319b8185612420565b5b806131da57508373ffffffffffffffffffffffffffffffffffffffff166131c284610c7f565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16613203826112db565b73ffffffffffffffffffffffffffffffffffffffff1614613259576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161325090614bda565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156132c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132c090614c1a565b60405180910390fd5b6132d4838383613501565b6132df6000826128fb565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461332f9190615150565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613386919061506f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613445838383613615565b505050565b613454838361361a565b61346160008484846137f4565b6134a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161349790614b7a565b60405180910390fd5b505050565b6134b08484846131e3565b6134bc848484846137f4565b6134fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134f290614b7a565b60405180910390fd5b50505050565b61350c83838361398b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561354f5761354a81613990565b61358e565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461358d5761358c83826139d9565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135d1576135cc81613b46565b613610565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461360f5761360e8282613c89565b5b5b505050565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561368a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161368190614d7a565b60405180910390fd5b613693816130e2565b156136d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136ca90614bfa565b60405180910390fd5b6136df60008383613501565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461372f919061506f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46137f060008383613615565b5050565b60006138158473ffffffffffffffffffffffffffffffffffffffff16613d08565b1561397e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261383e6128f3565b8786866040518563ffffffff1660e01b81526004016138609493929190614a26565b602060405180830381600087803b15801561387a57600080fd5b505af19250505080156138ab57506040513d601f19601f820116820180604052508101906138a891906141d4565b60015b61392e573d80600081146138db576040519150601f19603f3d011682016040523d82523d6000602084013e6138e0565b606091505b50600081511415613926576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161391d90614b7a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613983565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016139e6846113c6565b6139f09190615150565b9050600060076000848152602001908152602001600020549050818114613ad5576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613b5a9190615150565b9050600060096000848152602001908152602001600020549050600060088381548110613bb0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613bf8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613c6d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613c94836113c6565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054613d379061529f565b90600052602060002090601f016020900481019282613d595760008555613da0565b82601f10613d7257805160ff1916838001178555613da0565b82800160010185558215613da0579182015b82811115613d9f578251825591602001919060010190613d84565b5b509050613dad9190613db1565b5090565b5b80821115613dca576000816000905550600101613db2565b5090565b6000613de1613ddc84614f91565b614f6c565b905082815260208101848484011115613df957600080fd5b613e04848285615233565b509392505050565b6000613e1f613e1a84614fc2565b614f6c565b905082815260208101848484011115613e3757600080fd5b613e42848285615233565b509392505050565b600081359050613e5981615b12565b92915050565b600081359050613e6e81615b29565b92915050565b600081359050613e8381615b40565b92915050565b600081359050613e9881615b57565b92915050565b600081519050613ead81615b57565b92915050565b60008083601f840112613ec557600080fd5b8235905067ffffffffffffffff811115613ede57600080fd5b602083019150836001820283011115613ef657600080fd5b9250929050565b600082601f830112613f0e57600080fd5b8135613f1e848260208601613dce565b91505092915050565b60008083601f840112613f3957600080fd5b8235905067ffffffffffffffff811115613f5257600080fd5b602083019150836001820283011115613f6a57600080fd5b9250929050565b600082601f830112613f8257600080fd5b8135613f92848260208601613e0c565b91505092915050565b600081359050613faa81615b6e565b92915050565b600060208284031215613fc257600080fd5b6000613fd084828501613e4a565b91505092915050565b60008060408385031215613fec57600080fd5b6000613ffa85828601613e4a565b925050602061400b85828601613e4a565b9150509250929050565b60008060006060848603121561402a57600080fd5b600061403886828701613e4a565b935050602061404986828701613e4a565b925050604061405a86828701613f9b565b9150509250925092565b6000806000806080858703121561407a57600080fd5b600061408887828801613e4a565b945050602061409987828801613e4a565b93505060406140aa87828801613f9b565b925050606085013567ffffffffffffffff8111156140c757600080fd5b6140d387828801613efd565b91505092959194509250565b600080604083850312156140f257600080fd5b600061410085828601613e4a565b925050602061411185828601613e5f565b9150509250929050565b6000806040838503121561412e57600080fd5b600061413c85828601613e4a565b925050602061414d85828601613f9b565b9150509250929050565b6000806040838503121561416a57600080fd5b600061417885828601613e74565b925050602083013567ffffffffffffffff81111561419557600080fd5b6141a185828601613efd565b9150509250929050565b6000602082840312156141bd57600080fd5b60006141cb84828501613e89565b91505092915050565b6000602082840312156141e657600080fd5b60006141f484828501613e9e565b91505092915050565b60008060008060006060868803121561421557600080fd5b600086013567ffffffffffffffff81111561422f57600080fd5b61423b88828901613f27565b9550955050602086013567ffffffffffffffff81111561425a57600080fd5b61426688828901613eb3565b9350935050604061427988828901613f9b565b9150509295509295909350565b60006020828403121561429857600080fd5b600082013567ffffffffffffffff8111156142b257600080fd5b6142be84828501613f71565b91505092915050565b6000806000606084860312156142dc57600080fd5b600084013567ffffffffffffffff8111156142f657600080fd5b61430286828701613f71565b935050602084013567ffffffffffffffff81111561431f57600080fd5b61432b86828701613efd565b925050604061433c86828701613e4a565b9150509250925092565b60006020828403121561435857600080fd5b600061436684828501613f9b565b91505092915050565b6000806040838503121561438257600080fd5b600061439085828601613f9b565b92505060206143a185828601613f9b565b9150509250929050565b60006143b78383614954565b60208301905092915050565b6143cc81615184565b82525050565b60006143dd82615003565b6143e78185615031565b93506143f283614ff3565b8060005b8381101561442357815161440a88826143ab565b975061441583615024565b9250506001810190506143f6565b5085935050505092915050565b61443981615196565b82525050565b614448816151a2565b82525050565b61445f61445a826151a2565b61534b565b82525050565b60006144708261500e565b61447a8185615042565b935061448a818560208601615242565b61449381615442565b840191505092915050565b6144a78161520f565b82525050565b60006144b882615019565b6144c28185615053565b93506144d2818560208601615242565b6144db81615442565b840191505092915050565b60006144f182615019565b6144fb8185615064565b935061450b818560208601615242565b80840191505092915050565b6000614524601c83615064565b915061452f82615453565b601c82019050919050565b6000614547602b83615053565b91506145528261547c565b604082019050919050565b600061456a603283615053565b9150614575826154cb565b604082019050919050565b600061458d601e83615053565b91506145988261551a565b602082019050919050565b60006145b0602683615053565b91506145bb82615543565b604082019050919050565b60006145d3602583615053565b91506145de82615592565b604082019050919050565b60006145f6601c83615053565b9150614601826155e1565b602082019050919050565b6000614619602483615053565b91506146248261560a565b604082019050919050565b600061463c601983615053565b915061464782615659565b602082019050919050565b600061465f601f83615053565b915061466a82615682565b602082019050919050565b6000614682601b83615053565b915061468d826156ab565b602082019050919050565b60006146a5602983615053565b91506146b0826156d4565b604082019050919050565b60006146c8600b83615053565b91506146d382615723565b602082019050919050565b60006146eb603183615053565b91506146f68261574c565b604082019050919050565b600061470e602b83615053565b91506147198261579b565b604082019050919050565b6000614731602083615053565b915061473c826157ea565b602082019050919050565b6000614754600c83615053565b915061475f82615813565b602082019050919050565b6000614777603e83615053565b91506147828261583c565b604082019050919050565b600061479a602083615053565b91506147a58261588b565b602082019050919050565b60006147bd601783615053565b91506147c8826158b4565b602082019050919050565b60006147e0602083615053565b91506147eb826158dd565b602082019050919050565b6000614803601883615053565b915061480e82615906565b602082019050919050565b6000614826602183615053565b91506148318261592f565b604082019050919050565b6000614849602c83615053565b91506148548261597e565b604082019050919050565b600061486c601c83615053565b9150614877826159cd565b602082019050919050565b600061488f601883615053565b915061489a826159f6565b602082019050919050565b60006148b2601483615053565b91506148bd82615a1f565b602082019050919050565b60006148d5602e83615053565b91506148e082615a48565b604082019050919050565b60006148f8601783615053565b915061490382615a97565b602082019050919050565b600061491b601383615053565b915061492682615ac0565b602082019050919050565b600061493e601783615053565b915061494982615ae9565b602082019050919050565b61495d816151f8565b82525050565b61496c816151f8565b82525050565b61497b81615202565b82525050565b600061498d82846144e6565b915081905092915050565b60006149a482856144e6565b91506149b082846144e6565b91508190509392505050565b60006149c782614517565b91506149d3828461444e565b60208201915081905092915050565b60006020820190506149f760008301846143c3565b92915050565b6000604082019050614a1260008301856143c3565b614a1f60208301846143c3565b9392505050565b6000608082019050614a3b60008301876143c3565b614a4860208301866143c3565b614a556040830185614963565b8181036060830152614a678184614465565b905095945050505050565b6000604082019050614a8760008301856143c3565b614a946020830184614963565b9392505050565b60006020820190508181036000830152614ab581846143d2565b905092915050565b6000602082019050614ad26000830184614430565b92915050565b6000608082019050614aed600083018761443f565b614afa6020830186614972565b614b07604083018561443f565b614b14606083018461443f565b95945050505050565b6000602082019050614b32600083018461449e565b92915050565b60006020820190508181036000830152614b5281846144ad565b905092915050565b60006020820190508181036000830152614b738161453a565b9050919050565b60006020820190508181036000830152614b938161455d565b9050919050565b60006020820190508181036000830152614bb381614580565b9050919050565b60006020820190508181036000830152614bd3816145a3565b9050919050565b60006020820190508181036000830152614bf3816145c6565b9050919050565b60006020820190508181036000830152614c13816145e9565b9050919050565b60006020820190508181036000830152614c338161460c565b9050919050565b60006020820190508181036000830152614c538161462f565b9050919050565b60006020820190508181036000830152614c7381614652565b9050919050565b60006020820190508181036000830152614c9381614675565b9050919050565b60006020820190508181036000830152614cb381614698565b9050919050565b60006020820190508181036000830152614cd3816146bb565b9050919050565b60006020820190508181036000830152614cf3816146de565b9050919050565b60006020820190508181036000830152614d1381614701565b9050919050565b60006020820190508181036000830152614d3381614724565b9050919050565b60006020820190508181036000830152614d5381614747565b9050919050565b60006020820190508181036000830152614d738161476a565b9050919050565b60006020820190508181036000830152614d938161478d565b9050919050565b60006020820190508181036000830152614db3816147b0565b9050919050565b60006020820190508181036000830152614dd3816147d3565b9050919050565b60006020820190508181036000830152614df3816147f6565b9050919050565b60006020820190508181036000830152614e1381614819565b9050919050565b60006020820190508181036000830152614e338161483c565b9050919050565b60006020820190508181036000830152614e538161485f565b9050919050565b60006020820190508181036000830152614e7381614882565b9050919050565b60006020820190508181036000830152614e93816148a5565b9050919050565b60006020820190508181036000830152614eb3816148c8565b9050919050565b60006020820190508181036000830152614ed3816148eb565b9050919050565b60006020820190508181036000830152614ef38161490e565b9050919050565b60006020820190508181036000830152614f1381614931565b9050919050565b6000602082019050614f2f6000830184614963565b92915050565b6000606082019050614f4a6000830186614963565b614f576020830185614963565b614f646040830184614963565b949350505050565b6000614f76614f87565b9050614f8282826152d1565b919050565b6000604051905090565b600067ffffffffffffffff821115614fac57614fab615413565b5b614fb582615442565b9050602081019050919050565b600067ffffffffffffffff821115614fdd57614fdc615413565b5b614fe682615442565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061507a826151f8565b9150615085836151f8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156150ba576150b9615386565b5b828201905092915050565b60006150d0826151f8565b91506150db836151f8565b9250826150eb576150ea6153b5565b5b828204905092915050565b6000615101826151f8565b915061510c836151f8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561514557615144615386565b5b828202905092915050565b600061515b826151f8565b9150615166836151f8565b92508282101561517957615178615386565b5b828203905092915050565b600061518f826151d8565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b600061521a82615221565b9050919050565b600061522c826151d8565b9050919050565b82818337600083830152505050565b60005b83811015615260578082015181840152602081019050615245565b8381111561526f576000848401525b50505050565b6000615280826151f8565b9150600082141561529457615293615386565b5b600182039050919050565b600060028204905060018216806152b757607f821691505b602082108114156152cb576152ca6153e4565b5b50919050565b6152da82615442565b810181811067ffffffffffffffff821117156152f9576152f8615413565b5b80604052505050565b600061530d826151f8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156153405761533f615386565b5b600182019050919050565b6000819050919050565b6000615360826151f8565b915061536b836151f8565b92508261537b5761537a6153b5565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4d7573742073656c6563742074776f20756e6971756520706172656e74730000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f53616c65206d7573742062652061637469766520746f206d696e740000000000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f4f6e6c792031206d696e74000000000000000000000000000000000000000000600082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f662047656e65736973204d6f6f7365000000000000000000000000000000602082015250565b7f43616e6e6f7420696e74657261637420776974682061204d6f6f736520796f7560008201527f20646f206e6f74206f776e000000000000000000000000000000000000000000602082015250565b7f43616e6e6f7420627265656420616e79206d6f72652062616279204d6f6f7365600082015250565b7f4f6e6c792032206d696e74730000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f596f7520617265206e6f742077686974656c6973746564000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f43616e6e6f7420627265656420776974682062616279204d6f6f736500000000600082015250565b7f696e76616c6964207369676e6174757265206c656e6774680000000000000000600082015250565b7f53616c6520686173206e6f742073746172746564000000000000000000000000600082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b7f43616e206f6e6c792062652063616c6c6564206f6e6365000000000000000000600082015250565b7f43616e2774206265206120636f6e747261637400000000000000000000000000600082015250565b7f496e76616c696420707572636861736520616d6f756e74000000000000000000600082015250565b615b1b81615184565b8114615b2657600080fd5b50565b615b3281615196565b8114615b3d57600080fd5b50565b615b49816151a2565b8114615b5457600080fd5b50565b615b60816151ac565b8114615b6b57600080fd5b50565b615b77816151f8565b8114615b8257600080fd5b5056fea2646970667358221220fb925cd2ada3cb5556ed137db16c99f86b6b3e1c9b9a39114fa48754c70a7ac964736f6c63430008010033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000000a4d6f6f73652047616e670000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054d6f6f7365000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Moose Gang
Arg [1] : symbol (string): Moose
Arg [2] : supply (uint256): 5000
Arg [3] : genCount (uint256): 1000
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000001388
Arg [3] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [5] : 4d6f6f73652047616e6700000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 4d6f6f7365000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.