This token is reported to have been spammed to a large number of addresses. Please treat it with caution.
ERC-721
Overview
Max Total Supply
1,436 ERC-721 TOKEN*
Holders
745
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
0 ERC-721 TOKEN*Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
MetaDragonz
Compiler Version
v0.8.7+commit.e28d00a7
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.7; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; contract MetaDragonz is ERC721Enumerable, Ownable { using Strings for uint256; using SafeMath for uint256; struct Ticket { bytes32 r; bytes32 s; uint8 v; } enum TicketType { Presale, Claim, Burn, LevelUp } mapping(address => bool) internal allowed; mapping(uint256 => uint256) internal dragonLevels; mapping(bytes32 => uint256) internal tokenIncrementer; mapping(bytes32 => uint256) internal maxIssuance; mapping(bytes32 => uint256) internal mintPrices; mapping(bytes32 => mapping(uint256 => string)) internal dragonAttributes; mapping(uint256 => bytes32) internal tokenCollectionIndexes; string internal baseURI; string internal unrevealedURI; bool internal revealed = false; bool internal isPreMint = true; uint256 internal maxAllowed = 3; address private immutable _adminSigner; event Issue(address indexed _beneficiary, uint256 indexed _tokenId); event Allowed(address indexed _operator, bool _allowed); event Revealed(bool _revealed); event DragonAttributes(bytes32 _key, uint256 _bracket, string _hash); event SetMintPrice(uint256 _price); event LevelUpDragon(uint256 _tokenId); event LevelUpDragonz(uint256[] _dragonz); event LevelDownDragonz(uint256[] _dragonz); constructor( string memory _name, string memory _symbol, address _operator, string memory _baseURI, string memory _unrevealedURI, address adminSigner ) ERC721(_name, _symbol) { _adminSigner = adminSigner; setAllowed(_operator, true); setBaseURI(_baseURI); setUnRevealedURI(_unrevealedURI); } modifier onlyAllowed() { require( allowed[msg.sender], "Only an `allowed` address can call this method" ); _; } function setAllowed(address _operator, bool _allowed) public onlyOwner { require(_operator != address(0), "Invalid address"); require( allowed[_operator] != _allowed, "You should set a different value" ); allowed[_operator] = _allowed; emit Allowed(_operator, _allowed); } function isVerifiedTicket(bytes32 _digest, Ticket memory _ticket) internal view returns (bool) { address signer = ecrecover(_digest, _ticket.v, _ticket.r, _ticket.s); require(signer != address(0), "ECDSA: invalid signature"); return signer == _adminSigner; } function setBaseURI(string memory _uri) public onlyAllowed { baseURI = _uri; } function getKey(string memory _key) public pure returns (bytes32) { return keccak256(abi.encodePacked(_key)); } function issueToken( address _beneficiary, bytes32 _key, Ticket memory _ticket ) external payable { require( allowed[msg.sender] ? msg.value >= 0 : mintPrices[_key] <= msg.value, "Ether value sent is not correct" ); require( allowed[msg.sender] || balanceOf(_beneficiary) + 1 <= maxAllowed, "Beneficiary already owns max allowed mints" ); uint256 tokenId = tokenIncrementer[_key]; mint(_beneficiary, tokenId, _key, _ticket); } function issueTokens( uint256 _amount, address _beneficiary, bytes32 _key, Ticket memory _ticket ) external payable { require( allowed[msg.sender] ? msg.value >= 0 : _amount > 0 && mintPrices[_key].mul(_amount) <= msg.value, "Ether value sent is not correct" ); require( allowed[msg.sender] || balanceOf(_beneficiary) + _amount <= maxAllowed, "Beneficiary already owns max allowed mints" ); for (uint256 i = 0; i < _amount; i++) { uint256 tokenId = tokenIncrementer[_key]; mint(_beneficiary, tokenId, _key, _ticket); } } function mint( address _beneficiary, uint256 _tokenId, bytes32 _key, Ticket memory _ticket ) internal { require(tokenIncrementer[_key] > 0, "Collection issuance is not set"); require(_beneficiary != address(0), "Invalid address"); require( _tokenId > 0 && _tokenId <= maxIssuance[_key], "Exhausted collection" ); bytes32 _digest = keccak256(abi.encode(TicketType.Presale, msg.sender)); require( !isPreMint || allowed[msg.sender] || isVerifiedTicket(_digest, _ticket), "Only an `whitelisted` address can call this method" ); super._safeMint(_beneficiary, _tokenId); tokenIncrementer[_key] = tokenIncrementer[_key] + 1; dragonLevels[_tokenId] = 1; tokenCollectionIndexes[_tokenId] = _key; emit Issue(_beneficiary, _tokenId); } function claim(bytes32 _key, Ticket memory _ticket) external { uint256 _tokenId = tokenIncrementer[_key]; bytes32 _digest = keccak256( abi.encode(TicketType.Claim, _tokenId, msg.sender) ); require( isVerifiedTicket(_digest, _ticket), "Only an address that can claim can call this method" ); super._safeMint(msg.sender, _tokenId); tokenIncrementer[_key] = tokenIncrementer[_key] + 1; dragonLevels[_tokenId] = 1; tokenCollectionIndexes[_tokenId] = _key; } function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), "URI called for non existent token"); if (!revealed) { return string(abi.encodePacked(baseURI, unrevealedURI)); } uint256 _bracket = dragonLevels[tokenId]; bytes32 _collectionkey = tokenCollectionIndexes[tokenId]; string memory _hash = dragonAttributes[_collectionkey][_bracket]; return string( abi.encodePacked( baseURI, _hash, "/", tokenId.toString(), ".json" ) ); } function addDragonAttribute( bytes32 _key, uint256 _bracket, string memory _hash ) external onlyAllowed { dragonAttributes[_key][_bracket] = _hash; emit DragonAttributes(_key, _bracket, _hash); } function setIssuance( bytes32 _key, uint256 _incrementer, uint256 _maxIssuance ) external onlyAllowed { tokenIncrementer[_key] = _incrementer; maxIssuance[_key] = _maxIssuance; } function setMaxAllowed(uint256 _allowed) external onlyAllowed { maxAllowed = _allowed; } function setMintPrice(bytes32 _key, uint256 _price) external onlyAllowed { mintPrices[_key] = _price; emit SetMintPrice(_price); } function setRevealed(bool _revealed) external onlyAllowed { require(revealed != _revealed, "You should set a different value"); revealed = _revealed; emit Revealed(_revealed); } function setUnRevealedURI(string memory _uri) public onlyAllowed { unrevealedURI = _uri; } function setPreMint(bool _isPreMint) external onlyAllowed { isPreMint = _isPreMint; } function bracketOf(uint256 _tokenId) external view returns (uint256) { return dragonLevels[_tokenId]; } function adminLevelUp(uint256[] calldata _dragonz) external onlyAllowed { for (uint256 index = 0; index < _dragonz.length; index++) { dragonLevels[_dragonz[index]] += 1; } emit LevelUpDragonz(_dragonz); } function levelUp(uint256 _tokenId, Ticket memory _ticket) external { require( ownerOf(_tokenId) == msg.sender, "You are not the owner of the token" ); uint256 level = dragonLevels[_tokenId]; bytes32 _digest = keccak256( abi.encode(TicketType.LevelUp, level, msg.sender) ); require(isVerifiedTicket(_digest, _ticket)); dragonLevels[_tokenId] += 1; emit LevelUpDragon(_tokenId); } function levelDown(uint256[] calldata _dragonz) external onlyAllowed { for (uint256 index = 0; index < _dragonz.length; index++) { dragonLevels[_dragonz[index]] -= 1; } emit LevelDownDragonz(_dragonz); } function burn(uint256 _tokenId, Ticket memory _ticket) external { require( ownerOf(_tokenId) == msg.sender, "You are not the owner of the token" ); bytes32 _digest = keccak256( abi.encode(TicketType.Burn, _tokenId, msg.sender) ); require(isVerifiedTicket(_digest, _ticket)); super._burn(_tokenId); } function getIncrementer(bytes32 key) external view returns (uint256) { return tokenIncrementer[key]; } function withdraw() public onlyOwner { uint256 amount = address(this).balance; payable(msg.sender).transfer(amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 substraction 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 v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_operator","type":"address"},{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"string","name":"_unrevealedURI","type":"string"},{"internalType":"address","name":"adminSigner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_operator","type":"address"},{"indexed":false,"internalType":"bool","name":"_allowed","type":"bool"}],"name":"Allowed","type":"event"},{"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":"bytes32","name":"_key","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"_bracket","type":"uint256"},{"indexed":false,"internalType":"string","name":"_hash","type":"string"}],"name":"DragonAttributes","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_beneficiary","type":"address"},{"indexed":true,"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"Issue","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256[]","name":"_dragonz","type":"uint256[]"}],"name":"LevelDownDragonz","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"LevelUpDragon","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256[]","name":"_dragonz","type":"uint256[]"}],"name":"LevelUpDragonz","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_revealed","type":"bool"}],"name":"Revealed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_price","type":"uint256"}],"name":"SetMintPrice","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"bytes32","name":"_key","type":"bytes32"},{"internalType":"uint256","name":"_bracket","type":"uint256"},{"internalType":"string","name":"_hash","type":"string"}],"name":"addDragonAttribute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_dragonz","type":"uint256[]"}],"name":"adminLevelUp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"bracketOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"components":[{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"}],"internalType":"struct MetaDragonz.Ticket","name":"_ticket","type":"tuple"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_key","type":"bytes32"},{"components":[{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"}],"internalType":"struct MetaDragonz.Ticket","name":"_ticket","type":"tuple"}],"name":"claim","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":"bytes32","name":"key","type":"bytes32"}],"name":"getIncrementer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_key","type":"string"}],"name":"getKey","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"},{"internalType":"bytes32","name":"_key","type":"bytes32"},{"components":[{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"}],"internalType":"struct MetaDragonz.Ticket","name":"_ticket","type":"tuple"}],"name":"issueToken","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_beneficiary","type":"address"},{"internalType":"bytes32","name":"_key","type":"bytes32"},{"components":[{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"}],"internalType":"struct MetaDragonz.Ticket","name":"_ticket","type":"tuple"}],"name":"issueTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_dragonz","type":"uint256[]"}],"name":"levelDown","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"components":[{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"}],"internalType":"struct MetaDragonz.Ticket","name":"_ticket","type":"tuple"}],"name":"levelUp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"},{"internalType":"bool","name":"_allowed","type":"bool"}],"name":"setAllowed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_key","type":"bytes32"},{"internalType":"uint256","name":"_incrementer","type":"uint256"},{"internalType":"uint256","name":"_maxIssuance","type":"uint256"}],"name":"setIssuance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allowed","type":"uint256"}],"name":"setMaxAllowed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_key","type":"bytes32"},{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPreMint","type":"bool"}],"name":"setPreMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_revealed","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setUnRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040526000601460006101000a81548160ff0219169083151502179055506001601460016101000a81548160ff02191690831515021790555060036015553480156200004c57600080fd5b5060405162006bdd38038062006bdd833981810160405281019062000072919062000716565b858581600090805190602001906200008c929190620005d1565b508060019080519060200190620000a5929190620005d1565b505050620000c8620000bc6200014060201b60201c565b6200014860201b60201c565b8073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b81525050620001128460016200020e60201b60201c565b62000123836200045160201b60201c565b6200013482620004fc60201b60201c565b50505050505062000c39565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200021e6200014060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000244620005a760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200029d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000294906200093c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000310576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200030790620008f8565b60405180910390fd5b801515600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151415620003a6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200039d906200095e565b60405180910390fd5b80600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f64966f3fe2ac8cae5e6f7e4196d1315efafdb78a4377de3887c56fa3b9ac47cb82604051620004459190620008db565b60405180910390a25050565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16620004e0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004d7906200091a565b60405180910390fd5b8060129080519060200190620004f8929190620005d1565b5050565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166200058b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000582906200091a565b60405180910390fd5b8060139080519060200190620005a3929190620005d1565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620005df9062000a66565b90600052602060002090601f0160209004810192826200060357600085556200064f565b82601f106200061e57805160ff19168380011785556200064f565b828001600101855582156200064f579182015b828111156200064e57825182559160200191906001019062000631565b5b5090506200065e919062000662565b5090565b5b808211156200067d57600081600090555060010162000663565b5090565b6000620006986200069284620009a9565b62000980565b905082815260208101848484011115620006b757620006b662000b35565b5b620006c484828562000a30565b509392505050565b600081519050620006dd8162000c1f565b92915050565b600082601f830112620006fb57620006fa62000b30565b5b81516200070d84826020860162000681565b91505092915050565b60008060008060008060c0878903121562000736576200073562000b3f565b5b600087015167ffffffffffffffff81111562000757576200075662000b3a565b5b6200076589828a01620006e3565b965050602087015167ffffffffffffffff81111562000789576200078862000b3a565b5b6200079789828a01620006e3565b9550506040620007aa89828a01620006cc565b945050606087015167ffffffffffffffff811115620007ce57620007cd62000b3a565b5b620007dc89828a01620006e3565b935050608087015167ffffffffffffffff8111156200080057620007ff62000b3a565b5b6200080e89828a01620006e3565b92505060a06200082189828a01620006cc565b9150509295509295509295565b620008398162000a04565b82525050565b60006200084e600f83620009df565b91506200085b8262000b55565b602082019050919050565b600062000875602e83620009df565b9150620008828262000b7e565b604082019050919050565b60006200089c602083620009df565b9150620008a98262000bcd565b602082019050919050565b6000620008c3602083620009df565b9150620008d08262000bf6565b602082019050919050565b6000602082019050620008f260008301846200082e565b92915050565b6000602082019050818103600083015262000913816200083f565b9050919050565b60006020820190508181036000830152620009358162000866565b9050919050565b6000602082019050818103600083015262000957816200088d565b9050919050565b600060208201905081810360008301526200097981620008b4565b9050919050565b60006200098c6200099f565b90506200099a828262000a9c565b919050565b6000604051905090565b600067ffffffffffffffff821115620009c757620009c662000b01565b5b620009d28262000b44565b9050602081019050919050565b600082825260208201905092915050565b6000620009fd8262000a10565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b8381101562000a5057808201518184015260208101905062000a33565b8381111562000a60576000848401525b50505050565b6000600282049050600182168062000a7f57607f821691505b6020821081141562000a965762000a9562000ad2565b5b50919050565b62000aa78262000b44565b810181811067ffffffffffffffff8211171562000ac95762000ac862000b01565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f496e76616c696420616464726573730000000000000000000000000000000000600082015250565b7f4f6e6c7920616e2060616c6c6f7765646020616464726573732063616e20636160008201527f6c6c2074686973206d6574686f64000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f596f752073686f756c6420736574206120646966666572656e742076616c7565600082015250565b62000c2a81620009f0565b811462000c3657600080fd5b50565b60805160601c615f8562000c586000396000612f200152615f856000f3fe6080604052600436106102305760003560e01c8063715018a61161012e578063d37aec92116100ab578063eb4bc8ac1161006f578063eb4bc8ac14610839578063ed57f1b214610862578063f19e0f6a1461089f578063f2fde38b146108c8578063f46015ed146108f157610230565b8063d37aec9214610730578063e0a808531461076d578063e1d1807614610796578063e4dae7c2146107d3578063e985e9c5146107fc57610230565b8063a1a64cbf116100f2578063a1a64cbf1461064f578063a22cb46514610678578063b88d4fde146106a1578063bb7e07c7146106ca578063c87b56dd146106f357610230565b8063715018a61461059057806386c2e70e146105a75780638be749e8146105d05780638da5cb5b146105f957806395d89b411461062457610230565b80633ccfd60b116101bc578063632c5b2811610180578063632c5b28146104a85780636352211e146104d157806364248eb11461050e5780636a50704d1461053757806370a082311461055357610230565b80633ccfd60b146103d957806342842e0e146103f05780634697f05d146104195780634f6ccce71461044257806355f804b31461047f57610230565b8063095ea7b311610203578063095ea7b31461030357806318160ddd1461032c57806323b872dd146103575780632f745c591461038057806335a7a0ef146103bd57610230565b806301aade7b1461023557806301ffc9a71461025e57806306fdde031461029b578063081812fc146102c6575b600080fd5b34801561024157600080fd5b5061025c6004803603810190610257919061445d565b61091a565b005b34801561026a57600080fd5b5061028560048036038101906102809190614403565b6109c0565b6040516102929190614c9c565b60405180910390f35b3480156102a757600080fd5b506102b0610a3a565b6040516102bd9190614db5565b60405180910390f35b3480156102d257600080fd5b506102ed60048036038101906102e891906144a6565b610acc565b6040516102fa9190614c11565b60405180910390f35b34801561030f57600080fd5b5061032a600480360381019061032591906141da565b610b51565b005b34801561033857600080fd5b50610341610c69565b60405161034e9190615177565b60405180910390f35b34801561036357600080fd5b5061037e60048036038101906103799190614071565b610c76565b005b34801561038c57600080fd5b506103a760048036038101906103a291906141da565b610cd6565b6040516103b49190615177565b60405180910390f35b6103d760048036038101906103d29190614187565b610d7b565b005b3480156103e557600080fd5b506103ee610f04565b005b3480156103fc57600080fd5b5061041760048036038101906104129190614071565b610fcf565b005b34801561042557600080fd5b50610440600480360381019061043b9190614147565b610fef565b005b34801561044e57600080fd5b50610469600480360381019061046491906144a6565b611217565b6040516104769190615177565b60405180910390f35b34801561048b57600080fd5b506104a660048036038101906104a1919061445d565b611288565b005b3480156104b457600080fd5b506104cf60048036038101906104ca91906142c1565b61132e565b005b3480156104dd57600080fd5b506104f860048036038101906104f391906144a6565b611437565b6040516105059190614c11565b60405180910390f35b34801561051a57600080fd5b50610535600480360381019061053091906143b0565b6114e9565b005b610551600480360381019061054c91906144d3565b6115aa565b005b34801561055f57600080fd5b5061057a60048036038101906105759190614004565b611770565b6040516105879190615177565b60405180910390f35b34801561059c57600080fd5b506105a5611828565b005b3480156105b357600080fd5b506105ce60048036038101906105c9919061453a565b6118b0565b005b3480156105dc57600080fd5b506105f760048036038101906105f2919061421a565b6119e9565b005b34801561060557600080fd5b5061060e611b18565b60405161061b9190614c11565b60405180910390f35b34801561063057600080fd5b50610639611b42565b6040516106469190614db5565b60405180910390f35b34801561065b57600080fd5b5061067660048036038101906106719190614267565b611bd4565b005b34801561068457600080fd5b5061069f600480360381019061069a9190614147565b611c7d565b005b3480156106ad57600080fd5b506106c860048036038101906106c391906140c4565b611c93565b005b3480156106d657600080fd5b506106f160048036038101906106ec919061421a565b611cf5565b005b3480156106ff57600080fd5b5061071a600480360381019061071591906144a6565b611e24565b6040516107279190614db5565b60405180910390f35b34801561073c57600080fd5b506107576004803603810190610752919061445d565b611fc6565b6040516107649190614cb7565b60405180910390f35b34801561077957600080fd5b50610794600480360381019061078f9190614267565b611ff6565b005b3480156107a257600080fd5b506107bd60048036038101906107b891906144a6565b61212c565b6040516107ca9190615177565b60405180910390f35b3480156107df57600080fd5b506107fa60048036038101906107f5919061453a565b612149565b005b34801561080857600080fd5b50610823600480360381019061081e9190614031565b612210565b6040516108309190614c9c565b60405180910390f35b34801561084557600080fd5b50610860600480360381019061085b9190614341565b6122a4565b005b34801561086e57600080fd5b5061088960048036038101906108849190614294565b6123a9565b6040516108969190615177565b60405180910390f35b3480156108ab57600080fd5b506108c660048036038101906108c19190614301565b6123c6565b005b3480156108d457600080fd5b506108ef60048036038101906108ea9190614004565b6124a5565b005b3480156108fd57600080fd5b50610918600480360381019061091391906144a6565b61259d565b005b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166109a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099d90614eb7565b60405180910390fd5b80601390805190602001906109bc929190613d34565b5050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a335750610a3282612633565b5b9050919050565b606060008054610a4990615489565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7590615489565b8015610ac25780601f10610a9757610100808354040283529160200191610ac2565b820191906000526020600020905b815481529060010190602001808311610aa557829003601f168201915b5050505050905090565b6000610ad782612715565b610b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0d90615037565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b5c82611437565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc4906150b7565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bec612781565b73ffffffffffffffffffffffffffffffffffffffff161480610c1b5750610c1a81610c15612781565b612210565b5b610c5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5190614f57565b60405180910390fd5b610c648383612789565b505050565b6000600880549050905090565b610c87610c81612781565b82612842565b610cc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbd90615117565b60405180910390fd5b610cd1838383612920565b505050565b6000610ce183611770565b8210610d22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1990614e17565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610de85734600f6000848152602001908152602001600020541115610dee565b60003410155b610e2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2490614f17565b60405180910390fd5b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680610e9b57506015546001610e8e85611770565b610e989190615282565b11155b610eda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed190614ff7565b60405180910390fd5b6000600d6000848152602001908152602001600020549050610efe84828585612b87565b50505050565b610f0c612781565b73ffffffffffffffffffffffffffffffffffffffff16610f2a611b18565b73ffffffffffffffffffffffffffffffffffffffff1614610f80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7790615057565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610fcb573d6000803e3d6000fd5b5050565b610fea83838360405180602001604052806000815250611c93565b505050565b610ff7612781565b73ffffffffffffffffffffffffffffffffffffffff16611015611b18565b73ffffffffffffffffffffffffffffffffffffffff161461106b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106290615057565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d290614df7565b60405180910390fd5b801515600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515141561116e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116590615137565b60405180910390fd5b80600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f64966f3fe2ac8cae5e6f7e4196d1315efafdb78a4377de3887c56fa3b9ac47cb8260405161120b9190614c9c565b60405180910390a25050565b6000611221610c69565b8210611262576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125990615157565b60405180910390fd5b6008828154811061127657611275615651565b5b90600052602060002001549050919050565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611314576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130b90614eb7565b60405180910390fd5b806012908051906020019061132a929190613d34565b5050565b6000600d600084815260200190815260200160002054905060006001823360405160200161135e93929190614d7e565b6040516020818303038152906040528051906020012090506113808184612e4e565b6113bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b690615077565b60405180910390fd5b6113c93383612f76565b6001600d6000868152602001908152602001600020546113e99190615282565b600d6000868152602001908152602001600020819055506001600c60008481526020019081526020016000208190555083601160008481526020019081526020016000208190555050505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d790614f97565b60405180910390fd5b80915050919050565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611575576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156c90614eb7565b60405180910390fd5b81600d60008581526020019081526020016000208190555080600e600085815260200190815260200160002081905550505050565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166116355760008411801561163057503461162d85600f600086815260200190815260200160002054612f9490919063ffffffff16565b11155b61163b565b60003410155b61167a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167190614f17565b60405180910390fd5b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806116e75750601554846116da85611770565b6116e49190615282565b11155b611726576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171d90614ff7565b60405180910390fd5b60005b84811015611769576000600d600085815260200190815260200160002054905061175585828686612b87565b508080611761906154ec565b915050611729565b5050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d890614f77565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611830612781565b73ffffffffffffffffffffffffffffffffffffffff1661184e611b18565b73ffffffffffffffffffffffffffffffffffffffff16146118a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189b90615057565b60405180910390fd5b6118ae6000612faa565b565b3373ffffffffffffffffffffffffffffffffffffffff166118d083611437565b73ffffffffffffffffffffffffffffffffffffffff1614611926576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191d906150f7565b60405180910390fd5b6000600c600084815260200190815260200160002054905060006003823360405160200161195693929190614d7e565b6040516020818303038152906040528051906020012090506119788184612e4e565b61198157600080fd5b6001600c600086815260200190815260200160002060008282546119a59190615282565b925050819055507f937238999000f1a53d4bc499fbfdf8c4cf451a08610c0604c46a00d088d2070b846040516119db9190615177565b60405180910390a150505050565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611a75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6c90614eb7565b60405180910390fd5b60005b82829050811015611ada576001600c6000858585818110611a9c57611a9b615651565b5b9050602002013581526020019081526020016000206000828254611ac09190615363565b925050819055508080611ad2906154ec565b915050611a78565b507f33f824d649362fa5c52d082901b0449d6d2948f14110718e35737f99c5a4f04c8282604051611b0c929190614c78565b60405180910390a15050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611b5190615489565b80601f0160208091040260200160405190810160405280929190818152602001828054611b7d90615489565b8015611bca5780601f10611b9f57610100808354040283529160200191611bca565b820191906000526020600020905b815481529060010190602001808311611bad57829003601f168201915b5050505050905090565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611c60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5790614eb7565b60405180910390fd5b80601460016101000a81548160ff02191690831515021790555050565b611c8f611c88612781565b8383613070565b5050565b611ca4611c9e612781565b83612842565b611ce3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cda90615117565b60405180910390fd5b611cef848484846131dd565b50505050565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611d81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7890614eb7565b60405180910390fd5b60005b82829050811015611de6576001600c6000858585818110611da857611da7615651565b5b9050602002013581526020019081526020016000206000828254611dcc9190615282565b925050819055508080611dde906154ec565b915050611d84565b507f1f03b438cdfb7e4add5d5e06cdd6f50f67ea600facf48a71c9aacaf24994cf138282604051611e18929190614c78565b60405180910390a15050565b6060611e2f82612715565b611e6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e65906150d7565b60405180910390fd5b601460009054906101000a900460ff16611ead5760126013604051602001611e97929190614bed565b6040516020818303038152906040529050611fc1565b6000600c600084815260200190815260200160002054905060006011600085815260200190815260200160002054905060006010600083815260200190815260200160002060008481526020019081526020016000208054611f0e90615489565b80601f0160208091040260200160405190810160405280929190818152602001828054611f3a90615489565b8015611f875780601f10611f5c57610100808354040283529160200191611f87565b820191906000526020600020905b815481529060010190602001808311611f6a57829003601f168201915b50505050509050601281611f9a87613239565b604051602001611fac93929190614ba6565b60405160208183030381529060405293505050505b919050565b600081604051602001611fd99190614b8f565b604051602081830303815290604052805190602001209050919050565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612082576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207990614eb7565b60405180910390fd5b801515601460009054906101000a900460ff16151514156120d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120cf90615137565b60405180910390fd5b80601460006101000a81548160ff0219169083151502179055507f20a5b4e05b29089957b31c76110692167d828e9ecb1be33824e11609370e8021816040516121219190614c9c565b60405180910390a150565b6000600c6000838152602001908152602001600020549050919050565b3373ffffffffffffffffffffffffffffffffffffffff1661216983611437565b73ffffffffffffffffffffffffffffffffffffffff16146121bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b6906150f7565b60405180910390fd5b6000600283336040516020016121d793929190614d7e565b6040516020818303038152906040528051906020012090506121f98183612e4e565b61220257600080fd5b61220b8361339a565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612330576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232790614eb7565b60405180910390fd5b806010600085815260200190815260200160002060008481526020019081526020016000209080519060200190612368929190613d34565b507fea6af46fa3b9daf94363d55d88ebd2c9ce0361e2f7aef11bf4af0e8428b31c0183838360405161239c93929190614cd2565b60405180910390a1505050565b6000600d6000838152602001908152602001600020549050919050565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612452576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244990614eb7565b60405180910390fd5b80600f6000848152602001908152602001600020819055507f02ebcb79e897ca3a22313ba6de8fc964409964de565fb4bb6a0927871756b88c816040516124999190615177565b60405180910390a15050565b6124ad612781565b73ffffffffffffffffffffffffffffffffffffffff166124cb611b18565b73ffffffffffffffffffffffffffffffffffffffff1614612521576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251890615057565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612591576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258890614e57565b60405180910390fd5b61259a81612faa565b50565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612629576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262090614eb7565b60405180910390fd5b8060158190555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806126fe57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061270e575061270d826134b7565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166127fc83611437565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061284d82612715565b61288c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288390614f37565b60405180910390fd5b600061289783611437565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061290657508373ffffffffffffffffffffffffffffffffffffffff166128ee84610acc565b73ffffffffffffffffffffffffffffffffffffffff16145b8061291757506129168185612210565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661294082611437565b73ffffffffffffffffffffffffffffffffffffffff1614612996576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298d90614e77565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a06576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129fd90614ed7565b60405180910390fd5b612a11838383613521565b612a1c600082612789565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a6c9190615363565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ac39190615282565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612b82838383613635565b505050565b6000600d60008481526020019081526020016000205411612bdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bd490614fb7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612c4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4490614df7565b60405180910390fd5b600083118015612c705750600e6000838152602001908152602001600020548311155b612caf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ca690615097565b60405180910390fd5b60008033604051602001612cc4929190614d55565b604051602081830303815290604052805190602001209050601460019054906101000a900460ff161580612d415750600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b80612d525750612d518183612e4e565b5b612d91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d8890614fd7565b60405180910390fd5b612d9b8585612f76565b6001600d600085815260200190815260200160002054612dbb9190615282565b600d6000858152602001908152602001600020819055506001600c600086815260200190815260200160002081905550826011600086815260200190815260200160002081905550838573ffffffffffffffffffffffffffffffffffffffff167fc65a3f767206d2fdcede0b094a4840e01c0dd0be1888b5ba800346eaa0123c1660405160405180910390a35050505050565b60008060018484604001518560000151866020015160405160008152602001604052604051612e809493929190614d10565b6020604051602081039080840390855afa158015612ea2573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1590614dd7565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161491505092915050565b612f9082826040518060200160405280600081525061363a565b5050565b60008183612fa29190615309565b905092915050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156130df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130d690614ef7565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516131d09190614c9c565b60405180910390a3505050565b6131e8848484612920565b6131f484848484613695565b613233576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161322a90614e37565b60405180910390fd5b50505050565b60606000821415613281576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613395565b600082905060005b600082146132b357808061329c906154ec565b915050600a826132ac91906152d8565b9150613289565b60008167ffffffffffffffff8111156132cf576132ce615680565b5b6040519080825280601f01601f1916602001820160405280156133015781602001600182028036833780820191505090505b5090505b6000851461338e5760018261331a9190615363565b9150600a856133299190615535565b60306133359190615282565b60f81b81838151811061334b5761334a615651565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561338791906152d8565b9450613305565b8093505050505b919050565b60006133a582611437565b90506133b381600084613521565b6133be600083612789565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461340e9190615363565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46134b381600084613635565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61352c83838361382c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561356f5761356a81613831565b6135ae565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146135ad576135ac838261387a565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135f1576135ec816139e7565b613630565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461362f5761362e8282613ab8565b5b5b505050565b505050565b6136448383613b37565b6136516000848484613695565b613690576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161368790614e37565b60405180910390fd5b505050565b60006136b68473ffffffffffffffffffffffffffffffffffffffff16613d11565b1561381f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026136df612781565b8786866040518563ffffffff1660e01b81526004016137019493929190614c2c565b602060405180830381600087803b15801561371b57600080fd5b505af192505050801561374c57506040513d601f19601f820116820180604052508101906137499190614430565b60015b6137cf573d806000811461377c576040519150601f19603f3d011682016040523d82523d6000602084013e613781565b606091505b506000815114156137c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137be90614e37565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613824565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161388784611770565b6138919190615363565b9050600060076000848152602001908152602001600020549050818114613976576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506139fb9190615363565b9050600060096000848152602001908152602001600020549050600060088381548110613a2b57613a2a615651565b5b906000526020600020015490508060088381548110613a4d57613a4c615651565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613a9c57613a9b615622565b5b6001900381819060005260206000200160009055905550505050565b6000613ac383611770565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613ba7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b9e90615017565b60405180910390fd5b613bb081612715565b15613bf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613be790614e97565b60405180910390fd5b613bfc60008383613521565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613c4c9190615282565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613d0d60008383613635565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054613d4090615489565b90600052602060002090601f016020900481019282613d625760008555613da9565b82601f10613d7b57805160ff1916838001178555613da9565b82800160010185558215613da9579182015b82811115613da8578251825591602001919060010190613d8d565b5b509050613db69190613dba565b5090565b5b80821115613dd3576000816000905550600101613dbb565b5090565b6000613dea613de5846151b7565b615192565b905082815260208101848484011115613e0657613e056156c3565b5b613e11848285615447565b509392505050565b6000613e2c613e27846151e8565b615192565b905082815260208101848484011115613e4857613e476156c3565b5b613e53848285615447565b509392505050565b600081359050613e6a81615ec5565b92915050565b60008083601f840112613e8657613e856156b4565b5b8235905067ffffffffffffffff811115613ea357613ea26156af565b5b602083019150836020820283011115613ebf57613ebe6156be565b5b9250929050565b600081359050613ed581615edc565b92915050565b600081359050613eea81615ef3565b92915050565b600081359050613eff81615f0a565b92915050565b600081519050613f1481615f0a565b92915050565b600082601f830112613f2f57613f2e6156b4565b5b8135613f3f848260208601613dd7565b91505092915050565b600082601f830112613f5d57613f5c6156b4565b5b8135613f6d848260208601613e19565b91505092915050565b600060608284031215613f8c57613f8b6156b9565b5b613f966060615192565b90506000613fa684828501613edb565b6000830152506020613fba84828501613edb565b6020830152506040613fce84828501613fef565b60408301525092915050565b600081359050613fe981615f21565b92915050565b600081359050613ffe81615f38565b92915050565b60006020828403121561401a576140196156d2565b5b600061402884828501613e5b565b91505092915050565b60008060408385031215614048576140476156d2565b5b600061405685828601613e5b565b925050602061406785828601613e5b565b9150509250929050565b60008060006060848603121561408a576140896156d2565b5b600061409886828701613e5b565b93505060206140a986828701613e5b565b92505060406140ba86828701613fda565b9150509250925092565b600080600080608085870312156140de576140dd6156d2565b5b60006140ec87828801613e5b565b94505060206140fd87828801613e5b565b935050604061410e87828801613fda565b925050606085013567ffffffffffffffff81111561412f5761412e6156c8565b5b61413b87828801613f1a565b91505092959194509250565b6000806040838503121561415e5761415d6156d2565b5b600061416c85828601613e5b565b925050602061417d85828601613ec6565b9150509250929050565b600080600060a084860312156141a05761419f6156d2565b5b60006141ae86828701613e5b565b93505060206141bf86828701613edb565b92505060406141d086828701613f76565b9150509250925092565b600080604083850312156141f1576141f06156d2565b5b60006141ff85828601613e5b565b925050602061421085828601613fda565b9150509250929050565b60008060208385031215614231576142306156d2565b5b600083013567ffffffffffffffff81111561424f5761424e6156c8565b5b61425b85828601613e70565b92509250509250929050565b60006020828403121561427d5761427c6156d2565b5b600061428b84828501613ec6565b91505092915050565b6000602082840312156142aa576142a96156d2565b5b60006142b884828501613edb565b91505092915050565b600080608083850312156142d8576142d76156d2565b5b60006142e685828601613edb565b92505060206142f785828601613f76565b9150509250929050565b60008060408385031215614318576143176156d2565b5b600061432685828601613edb565b925050602061433785828601613fda565b9150509250929050565b60008060006060848603121561435a576143596156d2565b5b600061436886828701613edb565b935050602061437986828701613fda565b925050604084013567ffffffffffffffff81111561439a576143996156c8565b5b6143a686828701613f48565b9150509250925092565b6000806000606084860312156143c9576143c86156d2565b5b60006143d786828701613edb565b93505060206143e886828701613fda565b92505060406143f986828701613fda565b9150509250925092565b600060208284031215614419576144186156d2565b5b600061442784828501613ef0565b91505092915050565b600060208284031215614446576144456156d2565b5b600061445484828501613f05565b91505092915050565b600060208284031215614473576144726156d2565b5b600082013567ffffffffffffffff811115614491576144906156c8565b5b61449d84828501613f48565b91505092915050565b6000602082840312156144bc576144bb6156d2565b5b60006144ca84828501613fda565b91505092915050565b60008060008060c085870312156144ed576144ec6156d2565b5b60006144fb87828801613fda565b945050602061450c87828801613e5b565b935050604061451d87828801613edb565b925050606061452e87828801613f76565b91505092959194509250565b60008060808385031215614551576145506156d2565b5b600061455f85828601613fda565b925050602061457085828601613f76565b9150509250929050565b61458381615397565b82525050565b60006145958385615244565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8311156145c8576145c76156cd565b5b6020830292506145d9838584615447565b82840190509392505050565b6145ee816153a9565b82525050565b6145fd816153b5565b82525050565b600061460e8261522e565b6146188185615255565b9350614628818560208601615456565b614631816156d7565b840191505092915050565b61464581615435565b82525050565b600061465682615239565b6146608185615266565b9350614670818560208601615456565b614679816156d7565b840191505092915050565b600061468f82615239565b6146998185615277565b93506146a9818560208601615456565b80840191505092915050565b600081546146c281615489565b6146cc8186615277565b945060018216600081146146e757600181146146f85761472b565b60ff1983168652818601935061472b565b61470185615219565b60005b8381101561472357815481890152600182019150602081019050614704565b838801955050505b50505092915050565b6000614741601883615266565b915061474c826156e8565b602082019050919050565b6000614764600f83615266565b915061476f82615711565b602082019050919050565b6000614787602b83615266565b91506147928261573a565b604082019050919050565b60006147aa603283615266565b91506147b582615789565b604082019050919050565b60006147cd602683615266565b91506147d8826157d8565b604082019050919050565b60006147f0602583615266565b91506147fb82615827565b604082019050919050565b6000614813601c83615266565b915061481e82615876565b602082019050919050565b6000614836602e83615266565b91506148418261589f565b604082019050919050565b6000614859602483615266565b9150614864826158ee565b604082019050919050565b600061487c601983615266565b91506148878261593d565b602082019050919050565b600061489f601f83615266565b91506148aa82615966565b602082019050919050565b60006148c2602c83615266565b91506148cd8261598f565b604082019050919050565b60006148e5603883615266565b91506148f0826159de565b604082019050919050565b6000614908602a83615266565b915061491382615a2d565b604082019050919050565b600061492b602983615266565b915061493682615a7c565b604082019050919050565b600061494e601e83615266565b915061495982615acb565b602082019050919050565b6000614971603283615266565b915061497c82615af4565b604082019050919050565b6000614994602a83615266565b915061499f82615b43565b604082019050919050565b60006149b7602083615266565b91506149c282615b92565b602082019050919050565b60006149da602c83615266565b91506149e582615bbb565b604082019050919050565b60006149fd600583615277565b9150614a0882615c0a565b600582019050919050565b6000614a20602083615266565b9150614a2b82615c33565b602082019050919050565b6000614a43603383615266565b9150614a4e82615c5c565b604082019050919050565b6000614a66601483615266565b9150614a7182615cab565b602082019050919050565b6000614a89602183615266565b9150614a9482615cd4565b604082019050919050565b6000614aac602183615266565b9150614ab782615d23565b604082019050919050565b6000614acf602283615266565b9150614ada82615d72565b604082019050919050565b6000614af2603183615266565b9150614afd82615dc1565b604082019050919050565b6000614b15602083615266565b9150614b2082615e10565b602082019050919050565b6000614b38602c83615266565b9150614b4382615e39565b604082019050919050565b6000614b5b600183615277565b9150614b6682615e88565b600182019050919050565b614b7a8161541e565b82525050565b614b8981615428565b82525050565b6000614b9b8284614684565b915081905092915050565b6000614bb282866146b5565b9150614bbe8285614684565b9150614bc982614b4e565b9150614bd58284614684565b9150614be0826149f0565b9150819050949350505050565b6000614bf982856146b5565b9150614c0582846146b5565b91508190509392505050565b6000602082019050614c26600083018461457a565b92915050565b6000608082019050614c41600083018761457a565b614c4e602083018661457a565b614c5b6040830185614b71565b8181036060830152614c6d8184614603565b905095945050505050565b60006020820190508181036000830152614c93818486614589565b90509392505050565b6000602082019050614cb160008301846145e5565b92915050565b6000602082019050614ccc60008301846145f4565b92915050565b6000606082019050614ce760008301866145f4565b614cf46020830185614b71565b8181036040830152614d06818461464b565b9050949350505050565b6000608082019050614d2560008301876145f4565b614d326020830186614b80565b614d3f60408301856145f4565b614d4c60608301846145f4565b95945050505050565b6000604082019050614d6a600083018561463c565b614d77602083018461457a565b9392505050565b6000606082019050614d93600083018661463c565b614da06020830185614b71565b614dad604083018461457a565b949350505050565b60006020820190508181036000830152614dcf818461464b565b905092915050565b60006020820190508181036000830152614df081614734565b9050919050565b60006020820190508181036000830152614e1081614757565b9050919050565b60006020820190508181036000830152614e308161477a565b9050919050565b60006020820190508181036000830152614e508161479d565b9050919050565b60006020820190508181036000830152614e70816147c0565b9050919050565b60006020820190508181036000830152614e90816147e3565b9050919050565b60006020820190508181036000830152614eb081614806565b9050919050565b60006020820190508181036000830152614ed081614829565b9050919050565b60006020820190508181036000830152614ef08161484c565b9050919050565b60006020820190508181036000830152614f108161486f565b9050919050565b60006020820190508181036000830152614f3081614892565b9050919050565b60006020820190508181036000830152614f50816148b5565b9050919050565b60006020820190508181036000830152614f70816148d8565b9050919050565b60006020820190508181036000830152614f90816148fb565b9050919050565b60006020820190508181036000830152614fb08161491e565b9050919050565b60006020820190508181036000830152614fd081614941565b9050919050565b60006020820190508181036000830152614ff081614964565b9050919050565b6000602082019050818103600083015261501081614987565b9050919050565b60006020820190508181036000830152615030816149aa565b9050919050565b60006020820190508181036000830152615050816149cd565b9050919050565b6000602082019050818103600083015261507081614a13565b9050919050565b6000602082019050818103600083015261509081614a36565b9050919050565b600060208201905081810360008301526150b081614a59565b9050919050565b600060208201905081810360008301526150d081614a7c565b9050919050565b600060208201905081810360008301526150f081614a9f565b9050919050565b6000602082019050818103600083015261511081614ac2565b9050919050565b6000602082019050818103600083015261513081614ae5565b9050919050565b6000602082019050818103600083015261515081614b08565b9050919050565b6000602082019050818103600083015261517081614b2b565b9050919050565b600060208201905061518c6000830184614b71565b92915050565b600061519c6151ad565b90506151a882826154bb565b919050565b6000604051905090565b600067ffffffffffffffff8211156151d2576151d1615680565b5b6151db826156d7565b9050602081019050919050565b600067ffffffffffffffff82111561520357615202615680565b5b61520c826156d7565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061528d8261541e565b91506152988361541e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156152cd576152cc615566565b5b828201905092915050565b60006152e38261541e565b91506152ee8361541e565b9250826152fe576152fd615595565b5b828204905092915050565b60006153148261541e565b915061531f8361541e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561535857615357615566565b5b828202905092915050565b600061536e8261541e565b91506153798361541e565b92508282101561538c5761538b615566565b5b828203905092915050565b60006153a2826153fe565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60008190506153f982615eb1565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000615440826153eb565b9050919050565b82818337600083830152505050565b60005b83811015615474578082015181840152602081019050615459565b83811115615483576000848401525b50505050565b600060028204905060018216806154a157607f821691505b602082108114156154b5576154b46155f3565b5b50919050565b6154c4826156d7565b810181811067ffffffffffffffff821117156154e3576154e2615680565b5b80604052505050565b60006154f78261541e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561552a57615529615566565b5b600182019050919050565b60006155408261541e565b915061554b8361541e565b92508261555b5761555a615595565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f496e76616c696420616464726573730000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4f6e6c7920616e2060616c6c6f7765646020616464726573732063616e20636160008201527f6c6c2074686973206d6574686f64000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f436f6c6c656374696f6e2069737375616e6365206973206e6f74207365740000600082015250565b7f4f6e6c7920616e206077686974656c697374656460206164647265737320636160008201527f6e2063616c6c2074686973206d6574686f640000000000000000000000000000602082015250565b7f42656e656669636961727920616c7265616479206f776e73206d617820616c6c60008201527f6f776564206d696e747300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4f6e6c7920616e206164647265737320746861742063616e20636c61696d206360008201527f616e2063616c6c2074686973206d6574686f6400000000000000000000000000602082015250565b7f45786861757374656420636f6c6c656374696f6e000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f5552492063616c6c656420666f72206e6f6e206578697374656e7420746f6b6560008201527f6e00000000000000000000000000000000000000000000000000000000000000602082015250565b7f596f7520617265206e6f7420746865206f776e6572206f662074686520746f6b60008201527f656e000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f596f752073686f756c6420736574206120646966666572656e742076616c7565600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b60048110615ec257615ec16155c4565b5b50565b615ece81615397565b8114615ed957600080fd5b50565b615ee5816153a9565b8114615ef057600080fd5b50565b615efc816153b5565b8114615f0757600080fd5b50565b615f13816153bf565b8114615f1e57600080fd5b50565b615f2a8161541e565b8114615f3557600080fd5b50565b615f4181615428565b8114615f4c57600080fd5b5056fea2646970667358221220bc0ae26587361e32a6a5c442a88b46f511cdef28ed7dbad1ffeb32c8f70c967964736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000d3d22b1307a3bea2af40471db243d74b42748e18000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000001ceb6996307b7333f82fcb3f098b254e3ba30eba000000000000000000000000000000000000000000000000000000000000000b4d657461447261676f6e7a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044d44524700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c68747470733a2f2f696e667572612d697066732e696f2f697066732f00000000000000000000000000000000000000000000000000000000000000000000002f516d6257444c62336a45506463445333316236337278566476756166414b4559484a5261695432426a45374450412f0000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102305760003560e01c8063715018a61161012e578063d37aec92116100ab578063eb4bc8ac1161006f578063eb4bc8ac14610839578063ed57f1b214610862578063f19e0f6a1461089f578063f2fde38b146108c8578063f46015ed146108f157610230565b8063d37aec9214610730578063e0a808531461076d578063e1d1807614610796578063e4dae7c2146107d3578063e985e9c5146107fc57610230565b8063a1a64cbf116100f2578063a1a64cbf1461064f578063a22cb46514610678578063b88d4fde146106a1578063bb7e07c7146106ca578063c87b56dd146106f357610230565b8063715018a61461059057806386c2e70e146105a75780638be749e8146105d05780638da5cb5b146105f957806395d89b411461062457610230565b80633ccfd60b116101bc578063632c5b2811610180578063632c5b28146104a85780636352211e146104d157806364248eb11461050e5780636a50704d1461053757806370a082311461055357610230565b80633ccfd60b146103d957806342842e0e146103f05780634697f05d146104195780634f6ccce71461044257806355f804b31461047f57610230565b8063095ea7b311610203578063095ea7b31461030357806318160ddd1461032c57806323b872dd146103575780632f745c591461038057806335a7a0ef146103bd57610230565b806301aade7b1461023557806301ffc9a71461025e57806306fdde031461029b578063081812fc146102c6575b600080fd5b34801561024157600080fd5b5061025c6004803603810190610257919061445d565b61091a565b005b34801561026a57600080fd5b5061028560048036038101906102809190614403565b6109c0565b6040516102929190614c9c565b60405180910390f35b3480156102a757600080fd5b506102b0610a3a565b6040516102bd9190614db5565b60405180910390f35b3480156102d257600080fd5b506102ed60048036038101906102e891906144a6565b610acc565b6040516102fa9190614c11565b60405180910390f35b34801561030f57600080fd5b5061032a600480360381019061032591906141da565b610b51565b005b34801561033857600080fd5b50610341610c69565b60405161034e9190615177565b60405180910390f35b34801561036357600080fd5b5061037e60048036038101906103799190614071565b610c76565b005b34801561038c57600080fd5b506103a760048036038101906103a291906141da565b610cd6565b6040516103b49190615177565b60405180910390f35b6103d760048036038101906103d29190614187565b610d7b565b005b3480156103e557600080fd5b506103ee610f04565b005b3480156103fc57600080fd5b5061041760048036038101906104129190614071565b610fcf565b005b34801561042557600080fd5b50610440600480360381019061043b9190614147565b610fef565b005b34801561044e57600080fd5b50610469600480360381019061046491906144a6565b611217565b6040516104769190615177565b60405180910390f35b34801561048b57600080fd5b506104a660048036038101906104a1919061445d565b611288565b005b3480156104b457600080fd5b506104cf60048036038101906104ca91906142c1565b61132e565b005b3480156104dd57600080fd5b506104f860048036038101906104f391906144a6565b611437565b6040516105059190614c11565b60405180910390f35b34801561051a57600080fd5b50610535600480360381019061053091906143b0565b6114e9565b005b610551600480360381019061054c91906144d3565b6115aa565b005b34801561055f57600080fd5b5061057a60048036038101906105759190614004565b611770565b6040516105879190615177565b60405180910390f35b34801561059c57600080fd5b506105a5611828565b005b3480156105b357600080fd5b506105ce60048036038101906105c9919061453a565b6118b0565b005b3480156105dc57600080fd5b506105f760048036038101906105f2919061421a565b6119e9565b005b34801561060557600080fd5b5061060e611b18565b60405161061b9190614c11565b60405180910390f35b34801561063057600080fd5b50610639611b42565b6040516106469190614db5565b60405180910390f35b34801561065b57600080fd5b5061067660048036038101906106719190614267565b611bd4565b005b34801561068457600080fd5b5061069f600480360381019061069a9190614147565b611c7d565b005b3480156106ad57600080fd5b506106c860048036038101906106c391906140c4565b611c93565b005b3480156106d657600080fd5b506106f160048036038101906106ec919061421a565b611cf5565b005b3480156106ff57600080fd5b5061071a600480360381019061071591906144a6565b611e24565b6040516107279190614db5565b60405180910390f35b34801561073c57600080fd5b506107576004803603810190610752919061445d565b611fc6565b6040516107649190614cb7565b60405180910390f35b34801561077957600080fd5b50610794600480360381019061078f9190614267565b611ff6565b005b3480156107a257600080fd5b506107bd60048036038101906107b891906144a6565b61212c565b6040516107ca9190615177565b60405180910390f35b3480156107df57600080fd5b506107fa60048036038101906107f5919061453a565b612149565b005b34801561080857600080fd5b50610823600480360381019061081e9190614031565b612210565b6040516108309190614c9c565b60405180910390f35b34801561084557600080fd5b50610860600480360381019061085b9190614341565b6122a4565b005b34801561086e57600080fd5b5061088960048036038101906108849190614294565b6123a9565b6040516108969190615177565b60405180910390f35b3480156108ab57600080fd5b506108c660048036038101906108c19190614301565b6123c6565b005b3480156108d457600080fd5b506108ef60048036038101906108ea9190614004565b6124a5565b005b3480156108fd57600080fd5b50610918600480360381019061091391906144a6565b61259d565b005b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166109a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099d90614eb7565b60405180910390fd5b80601390805190602001906109bc929190613d34565b5050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a335750610a3282612633565b5b9050919050565b606060008054610a4990615489565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7590615489565b8015610ac25780601f10610a9757610100808354040283529160200191610ac2565b820191906000526020600020905b815481529060010190602001808311610aa557829003601f168201915b5050505050905090565b6000610ad782612715565b610b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0d90615037565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b5c82611437565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc4906150b7565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bec612781565b73ffffffffffffffffffffffffffffffffffffffff161480610c1b5750610c1a81610c15612781565b612210565b5b610c5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5190614f57565b60405180910390fd5b610c648383612789565b505050565b6000600880549050905090565b610c87610c81612781565b82612842565b610cc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbd90615117565b60405180910390fd5b610cd1838383612920565b505050565b6000610ce183611770565b8210610d22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1990614e17565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610de85734600f6000848152602001908152602001600020541115610dee565b60003410155b610e2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2490614f17565b60405180910390fd5b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680610e9b57506015546001610e8e85611770565b610e989190615282565b11155b610eda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed190614ff7565b60405180910390fd5b6000600d6000848152602001908152602001600020549050610efe84828585612b87565b50505050565b610f0c612781565b73ffffffffffffffffffffffffffffffffffffffff16610f2a611b18565b73ffffffffffffffffffffffffffffffffffffffff1614610f80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7790615057565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610fcb573d6000803e3d6000fd5b5050565b610fea83838360405180602001604052806000815250611c93565b505050565b610ff7612781565b73ffffffffffffffffffffffffffffffffffffffff16611015611b18565b73ffffffffffffffffffffffffffffffffffffffff161461106b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106290615057565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d290614df7565b60405180910390fd5b801515600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515141561116e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116590615137565b60405180910390fd5b80600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f64966f3fe2ac8cae5e6f7e4196d1315efafdb78a4377de3887c56fa3b9ac47cb8260405161120b9190614c9c565b60405180910390a25050565b6000611221610c69565b8210611262576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125990615157565b60405180910390fd5b6008828154811061127657611275615651565b5b90600052602060002001549050919050565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611314576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130b90614eb7565b60405180910390fd5b806012908051906020019061132a929190613d34565b5050565b6000600d600084815260200190815260200160002054905060006001823360405160200161135e93929190614d7e565b6040516020818303038152906040528051906020012090506113808184612e4e565b6113bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b690615077565b60405180910390fd5b6113c93383612f76565b6001600d6000868152602001908152602001600020546113e99190615282565b600d6000868152602001908152602001600020819055506001600c60008481526020019081526020016000208190555083601160008481526020019081526020016000208190555050505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d790614f97565b60405180910390fd5b80915050919050565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611575576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156c90614eb7565b60405180910390fd5b81600d60008581526020019081526020016000208190555080600e600085815260200190815260200160002081905550505050565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166116355760008411801561163057503461162d85600f600086815260200190815260200160002054612f9490919063ffffffff16565b11155b61163b565b60003410155b61167a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167190614f17565b60405180910390fd5b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806116e75750601554846116da85611770565b6116e49190615282565b11155b611726576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171d90614ff7565b60405180910390fd5b60005b84811015611769576000600d600085815260200190815260200160002054905061175585828686612b87565b508080611761906154ec565b915050611729565b5050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d890614f77565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611830612781565b73ffffffffffffffffffffffffffffffffffffffff1661184e611b18565b73ffffffffffffffffffffffffffffffffffffffff16146118a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189b90615057565b60405180910390fd5b6118ae6000612faa565b565b3373ffffffffffffffffffffffffffffffffffffffff166118d083611437565b73ffffffffffffffffffffffffffffffffffffffff1614611926576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191d906150f7565b60405180910390fd5b6000600c600084815260200190815260200160002054905060006003823360405160200161195693929190614d7e565b6040516020818303038152906040528051906020012090506119788184612e4e565b61198157600080fd5b6001600c600086815260200190815260200160002060008282546119a59190615282565b925050819055507f937238999000f1a53d4bc499fbfdf8c4cf451a08610c0604c46a00d088d2070b846040516119db9190615177565b60405180910390a150505050565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611a75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6c90614eb7565b60405180910390fd5b60005b82829050811015611ada576001600c6000858585818110611a9c57611a9b615651565b5b9050602002013581526020019081526020016000206000828254611ac09190615363565b925050819055508080611ad2906154ec565b915050611a78565b507f33f824d649362fa5c52d082901b0449d6d2948f14110718e35737f99c5a4f04c8282604051611b0c929190614c78565b60405180910390a15050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611b5190615489565b80601f0160208091040260200160405190810160405280929190818152602001828054611b7d90615489565b8015611bca5780601f10611b9f57610100808354040283529160200191611bca565b820191906000526020600020905b815481529060010190602001808311611bad57829003601f168201915b5050505050905090565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611c60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5790614eb7565b60405180910390fd5b80601460016101000a81548160ff02191690831515021790555050565b611c8f611c88612781565b8383613070565b5050565b611ca4611c9e612781565b83612842565b611ce3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cda90615117565b60405180910390fd5b611cef848484846131dd565b50505050565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611d81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7890614eb7565b60405180910390fd5b60005b82829050811015611de6576001600c6000858585818110611da857611da7615651565b5b9050602002013581526020019081526020016000206000828254611dcc9190615282565b925050819055508080611dde906154ec565b915050611d84565b507f1f03b438cdfb7e4add5d5e06cdd6f50f67ea600facf48a71c9aacaf24994cf138282604051611e18929190614c78565b60405180910390a15050565b6060611e2f82612715565b611e6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e65906150d7565b60405180910390fd5b601460009054906101000a900460ff16611ead5760126013604051602001611e97929190614bed565b6040516020818303038152906040529050611fc1565b6000600c600084815260200190815260200160002054905060006011600085815260200190815260200160002054905060006010600083815260200190815260200160002060008481526020019081526020016000208054611f0e90615489565b80601f0160208091040260200160405190810160405280929190818152602001828054611f3a90615489565b8015611f875780601f10611f5c57610100808354040283529160200191611f87565b820191906000526020600020905b815481529060010190602001808311611f6a57829003601f168201915b50505050509050601281611f9a87613239565b604051602001611fac93929190614ba6565b60405160208183030381529060405293505050505b919050565b600081604051602001611fd99190614b8f565b604051602081830303815290604052805190602001209050919050565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612082576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207990614eb7565b60405180910390fd5b801515601460009054906101000a900460ff16151514156120d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120cf90615137565b60405180910390fd5b80601460006101000a81548160ff0219169083151502179055507f20a5b4e05b29089957b31c76110692167d828e9ecb1be33824e11609370e8021816040516121219190614c9c565b60405180910390a150565b6000600c6000838152602001908152602001600020549050919050565b3373ffffffffffffffffffffffffffffffffffffffff1661216983611437565b73ffffffffffffffffffffffffffffffffffffffff16146121bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b6906150f7565b60405180910390fd5b6000600283336040516020016121d793929190614d7e565b6040516020818303038152906040528051906020012090506121f98183612e4e565b61220257600080fd5b61220b8361339a565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612330576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232790614eb7565b60405180910390fd5b806010600085815260200190815260200160002060008481526020019081526020016000209080519060200190612368929190613d34565b507fea6af46fa3b9daf94363d55d88ebd2c9ce0361e2f7aef11bf4af0e8428b31c0183838360405161239c93929190614cd2565b60405180910390a1505050565b6000600d6000838152602001908152602001600020549050919050565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612452576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244990614eb7565b60405180910390fd5b80600f6000848152602001908152602001600020819055507f02ebcb79e897ca3a22313ba6de8fc964409964de565fb4bb6a0927871756b88c816040516124999190615177565b60405180910390a15050565b6124ad612781565b73ffffffffffffffffffffffffffffffffffffffff166124cb611b18565b73ffffffffffffffffffffffffffffffffffffffff1614612521576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251890615057565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612591576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258890614e57565b60405180910390fd5b61259a81612faa565b50565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612629576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262090614eb7565b60405180910390fd5b8060158190555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806126fe57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061270e575061270d826134b7565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166127fc83611437565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061284d82612715565b61288c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288390614f37565b60405180910390fd5b600061289783611437565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061290657508373ffffffffffffffffffffffffffffffffffffffff166128ee84610acc565b73ffffffffffffffffffffffffffffffffffffffff16145b8061291757506129168185612210565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661294082611437565b73ffffffffffffffffffffffffffffffffffffffff1614612996576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298d90614e77565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a06576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129fd90614ed7565b60405180910390fd5b612a11838383613521565b612a1c600082612789565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a6c9190615363565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ac39190615282565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612b82838383613635565b505050565b6000600d60008481526020019081526020016000205411612bdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bd490614fb7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612c4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4490614df7565b60405180910390fd5b600083118015612c705750600e6000838152602001908152602001600020548311155b612caf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ca690615097565b60405180910390fd5b60008033604051602001612cc4929190614d55565b604051602081830303815290604052805190602001209050601460019054906101000a900460ff161580612d415750600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b80612d525750612d518183612e4e565b5b612d91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d8890614fd7565b60405180910390fd5b612d9b8585612f76565b6001600d600085815260200190815260200160002054612dbb9190615282565b600d6000858152602001908152602001600020819055506001600c600086815260200190815260200160002081905550826011600086815260200190815260200160002081905550838573ffffffffffffffffffffffffffffffffffffffff167fc65a3f767206d2fdcede0b094a4840e01c0dd0be1888b5ba800346eaa0123c1660405160405180910390a35050505050565b60008060018484604001518560000151866020015160405160008152602001604052604051612e809493929190614d10565b6020604051602081039080840390855afa158015612ea2573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1590614dd7565b60405180910390fd5b7f0000000000000000000000001ceb6996307b7333f82fcb3f098b254e3ba30eba73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161491505092915050565b612f9082826040518060200160405280600081525061363a565b5050565b60008183612fa29190615309565b905092915050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156130df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130d690614ef7565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516131d09190614c9c565b60405180910390a3505050565b6131e8848484612920565b6131f484848484613695565b613233576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161322a90614e37565b60405180910390fd5b50505050565b60606000821415613281576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613395565b600082905060005b600082146132b357808061329c906154ec565b915050600a826132ac91906152d8565b9150613289565b60008167ffffffffffffffff8111156132cf576132ce615680565b5b6040519080825280601f01601f1916602001820160405280156133015781602001600182028036833780820191505090505b5090505b6000851461338e5760018261331a9190615363565b9150600a856133299190615535565b60306133359190615282565b60f81b81838151811061334b5761334a615651565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561338791906152d8565b9450613305565b8093505050505b919050565b60006133a582611437565b90506133b381600084613521565b6133be600083612789565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461340e9190615363565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46134b381600084613635565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61352c83838361382c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561356f5761356a81613831565b6135ae565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146135ad576135ac838261387a565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135f1576135ec816139e7565b613630565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461362f5761362e8282613ab8565b5b5b505050565b505050565b6136448383613b37565b6136516000848484613695565b613690576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161368790614e37565b60405180910390fd5b505050565b60006136b68473ffffffffffffffffffffffffffffffffffffffff16613d11565b1561381f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026136df612781565b8786866040518563ffffffff1660e01b81526004016137019493929190614c2c565b602060405180830381600087803b15801561371b57600080fd5b505af192505050801561374c57506040513d601f19601f820116820180604052508101906137499190614430565b60015b6137cf573d806000811461377c576040519150601f19603f3d011682016040523d82523d6000602084013e613781565b606091505b506000815114156137c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137be90614e37565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613824565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161388784611770565b6138919190615363565b9050600060076000848152602001908152602001600020549050818114613976576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506139fb9190615363565b9050600060096000848152602001908152602001600020549050600060088381548110613a2b57613a2a615651565b5b906000526020600020015490508060088381548110613a4d57613a4c615651565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613a9c57613a9b615622565b5b6001900381819060005260206000200160009055905550505050565b6000613ac383611770565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613ba7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b9e90615017565b60405180910390fd5b613bb081612715565b15613bf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613be790614e97565b60405180910390fd5b613bfc60008383613521565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613c4c9190615282565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613d0d60008383613635565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054613d4090615489565b90600052602060002090601f016020900481019282613d625760008555613da9565b82601f10613d7b57805160ff1916838001178555613da9565b82800160010185558215613da9579182015b82811115613da8578251825591602001919060010190613d8d565b5b509050613db69190613dba565b5090565b5b80821115613dd3576000816000905550600101613dbb565b5090565b6000613dea613de5846151b7565b615192565b905082815260208101848484011115613e0657613e056156c3565b5b613e11848285615447565b509392505050565b6000613e2c613e27846151e8565b615192565b905082815260208101848484011115613e4857613e476156c3565b5b613e53848285615447565b509392505050565b600081359050613e6a81615ec5565b92915050565b60008083601f840112613e8657613e856156b4565b5b8235905067ffffffffffffffff811115613ea357613ea26156af565b5b602083019150836020820283011115613ebf57613ebe6156be565b5b9250929050565b600081359050613ed581615edc565b92915050565b600081359050613eea81615ef3565b92915050565b600081359050613eff81615f0a565b92915050565b600081519050613f1481615f0a565b92915050565b600082601f830112613f2f57613f2e6156b4565b5b8135613f3f848260208601613dd7565b91505092915050565b600082601f830112613f5d57613f5c6156b4565b5b8135613f6d848260208601613e19565b91505092915050565b600060608284031215613f8c57613f8b6156b9565b5b613f966060615192565b90506000613fa684828501613edb565b6000830152506020613fba84828501613edb565b6020830152506040613fce84828501613fef565b60408301525092915050565b600081359050613fe981615f21565b92915050565b600081359050613ffe81615f38565b92915050565b60006020828403121561401a576140196156d2565b5b600061402884828501613e5b565b91505092915050565b60008060408385031215614048576140476156d2565b5b600061405685828601613e5b565b925050602061406785828601613e5b565b9150509250929050565b60008060006060848603121561408a576140896156d2565b5b600061409886828701613e5b565b93505060206140a986828701613e5b565b92505060406140ba86828701613fda565b9150509250925092565b600080600080608085870312156140de576140dd6156d2565b5b60006140ec87828801613e5b565b94505060206140fd87828801613e5b565b935050604061410e87828801613fda565b925050606085013567ffffffffffffffff81111561412f5761412e6156c8565b5b61413b87828801613f1a565b91505092959194509250565b6000806040838503121561415e5761415d6156d2565b5b600061416c85828601613e5b565b925050602061417d85828601613ec6565b9150509250929050565b600080600060a084860312156141a05761419f6156d2565b5b60006141ae86828701613e5b565b93505060206141bf86828701613edb565b92505060406141d086828701613f76565b9150509250925092565b600080604083850312156141f1576141f06156d2565b5b60006141ff85828601613e5b565b925050602061421085828601613fda565b9150509250929050565b60008060208385031215614231576142306156d2565b5b600083013567ffffffffffffffff81111561424f5761424e6156c8565b5b61425b85828601613e70565b92509250509250929050565b60006020828403121561427d5761427c6156d2565b5b600061428b84828501613ec6565b91505092915050565b6000602082840312156142aa576142a96156d2565b5b60006142b884828501613edb565b91505092915050565b600080608083850312156142d8576142d76156d2565b5b60006142e685828601613edb565b92505060206142f785828601613f76565b9150509250929050565b60008060408385031215614318576143176156d2565b5b600061432685828601613edb565b925050602061433785828601613fda565b9150509250929050565b60008060006060848603121561435a576143596156d2565b5b600061436886828701613edb565b935050602061437986828701613fda565b925050604084013567ffffffffffffffff81111561439a576143996156c8565b5b6143a686828701613f48565b9150509250925092565b6000806000606084860312156143c9576143c86156d2565b5b60006143d786828701613edb565b93505060206143e886828701613fda565b92505060406143f986828701613fda565b9150509250925092565b600060208284031215614419576144186156d2565b5b600061442784828501613ef0565b91505092915050565b600060208284031215614446576144456156d2565b5b600061445484828501613f05565b91505092915050565b600060208284031215614473576144726156d2565b5b600082013567ffffffffffffffff811115614491576144906156c8565b5b61449d84828501613f48565b91505092915050565b6000602082840312156144bc576144bb6156d2565b5b60006144ca84828501613fda565b91505092915050565b60008060008060c085870312156144ed576144ec6156d2565b5b60006144fb87828801613fda565b945050602061450c87828801613e5b565b935050604061451d87828801613edb565b925050606061452e87828801613f76565b91505092959194509250565b60008060808385031215614551576145506156d2565b5b600061455f85828601613fda565b925050602061457085828601613f76565b9150509250929050565b61458381615397565b82525050565b60006145958385615244565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8311156145c8576145c76156cd565b5b6020830292506145d9838584615447565b82840190509392505050565b6145ee816153a9565b82525050565b6145fd816153b5565b82525050565b600061460e8261522e565b6146188185615255565b9350614628818560208601615456565b614631816156d7565b840191505092915050565b61464581615435565b82525050565b600061465682615239565b6146608185615266565b9350614670818560208601615456565b614679816156d7565b840191505092915050565b600061468f82615239565b6146998185615277565b93506146a9818560208601615456565b80840191505092915050565b600081546146c281615489565b6146cc8186615277565b945060018216600081146146e757600181146146f85761472b565b60ff1983168652818601935061472b565b61470185615219565b60005b8381101561472357815481890152600182019150602081019050614704565b838801955050505b50505092915050565b6000614741601883615266565b915061474c826156e8565b602082019050919050565b6000614764600f83615266565b915061476f82615711565b602082019050919050565b6000614787602b83615266565b91506147928261573a565b604082019050919050565b60006147aa603283615266565b91506147b582615789565b604082019050919050565b60006147cd602683615266565b91506147d8826157d8565b604082019050919050565b60006147f0602583615266565b91506147fb82615827565b604082019050919050565b6000614813601c83615266565b915061481e82615876565b602082019050919050565b6000614836602e83615266565b91506148418261589f565b604082019050919050565b6000614859602483615266565b9150614864826158ee565b604082019050919050565b600061487c601983615266565b91506148878261593d565b602082019050919050565b600061489f601f83615266565b91506148aa82615966565b602082019050919050565b60006148c2602c83615266565b91506148cd8261598f565b604082019050919050565b60006148e5603883615266565b91506148f0826159de565b604082019050919050565b6000614908602a83615266565b915061491382615a2d565b604082019050919050565b600061492b602983615266565b915061493682615a7c565b604082019050919050565b600061494e601e83615266565b915061495982615acb565b602082019050919050565b6000614971603283615266565b915061497c82615af4565b604082019050919050565b6000614994602a83615266565b915061499f82615b43565b604082019050919050565b60006149b7602083615266565b91506149c282615b92565b602082019050919050565b60006149da602c83615266565b91506149e582615bbb565b604082019050919050565b60006149fd600583615277565b9150614a0882615c0a565b600582019050919050565b6000614a20602083615266565b9150614a2b82615c33565b602082019050919050565b6000614a43603383615266565b9150614a4e82615c5c565b604082019050919050565b6000614a66601483615266565b9150614a7182615cab565b602082019050919050565b6000614a89602183615266565b9150614a9482615cd4565b604082019050919050565b6000614aac602183615266565b9150614ab782615d23565b604082019050919050565b6000614acf602283615266565b9150614ada82615d72565b604082019050919050565b6000614af2603183615266565b9150614afd82615dc1565b604082019050919050565b6000614b15602083615266565b9150614b2082615e10565b602082019050919050565b6000614b38602c83615266565b9150614b4382615e39565b604082019050919050565b6000614b5b600183615277565b9150614b6682615e88565b600182019050919050565b614b7a8161541e565b82525050565b614b8981615428565b82525050565b6000614b9b8284614684565b915081905092915050565b6000614bb282866146b5565b9150614bbe8285614684565b9150614bc982614b4e565b9150614bd58284614684565b9150614be0826149f0565b9150819050949350505050565b6000614bf982856146b5565b9150614c0582846146b5565b91508190509392505050565b6000602082019050614c26600083018461457a565b92915050565b6000608082019050614c41600083018761457a565b614c4e602083018661457a565b614c5b6040830185614b71565b8181036060830152614c6d8184614603565b905095945050505050565b60006020820190508181036000830152614c93818486614589565b90509392505050565b6000602082019050614cb160008301846145e5565b92915050565b6000602082019050614ccc60008301846145f4565b92915050565b6000606082019050614ce760008301866145f4565b614cf46020830185614b71565b8181036040830152614d06818461464b565b9050949350505050565b6000608082019050614d2560008301876145f4565b614d326020830186614b80565b614d3f60408301856145f4565b614d4c60608301846145f4565b95945050505050565b6000604082019050614d6a600083018561463c565b614d77602083018461457a565b9392505050565b6000606082019050614d93600083018661463c565b614da06020830185614b71565b614dad604083018461457a565b949350505050565b60006020820190508181036000830152614dcf818461464b565b905092915050565b60006020820190508181036000830152614df081614734565b9050919050565b60006020820190508181036000830152614e1081614757565b9050919050565b60006020820190508181036000830152614e308161477a565b9050919050565b60006020820190508181036000830152614e508161479d565b9050919050565b60006020820190508181036000830152614e70816147c0565b9050919050565b60006020820190508181036000830152614e90816147e3565b9050919050565b60006020820190508181036000830152614eb081614806565b9050919050565b60006020820190508181036000830152614ed081614829565b9050919050565b60006020820190508181036000830152614ef08161484c565b9050919050565b60006020820190508181036000830152614f108161486f565b9050919050565b60006020820190508181036000830152614f3081614892565b9050919050565b60006020820190508181036000830152614f50816148b5565b9050919050565b60006020820190508181036000830152614f70816148d8565b9050919050565b60006020820190508181036000830152614f90816148fb565b9050919050565b60006020820190508181036000830152614fb08161491e565b9050919050565b60006020820190508181036000830152614fd081614941565b9050919050565b60006020820190508181036000830152614ff081614964565b9050919050565b6000602082019050818103600083015261501081614987565b9050919050565b60006020820190508181036000830152615030816149aa565b9050919050565b60006020820190508181036000830152615050816149cd565b9050919050565b6000602082019050818103600083015261507081614a13565b9050919050565b6000602082019050818103600083015261509081614a36565b9050919050565b600060208201905081810360008301526150b081614a59565b9050919050565b600060208201905081810360008301526150d081614a7c565b9050919050565b600060208201905081810360008301526150f081614a9f565b9050919050565b6000602082019050818103600083015261511081614ac2565b9050919050565b6000602082019050818103600083015261513081614ae5565b9050919050565b6000602082019050818103600083015261515081614b08565b9050919050565b6000602082019050818103600083015261517081614b2b565b9050919050565b600060208201905061518c6000830184614b71565b92915050565b600061519c6151ad565b90506151a882826154bb565b919050565b6000604051905090565b600067ffffffffffffffff8211156151d2576151d1615680565b5b6151db826156d7565b9050602081019050919050565b600067ffffffffffffffff82111561520357615202615680565b5b61520c826156d7565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061528d8261541e565b91506152988361541e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156152cd576152cc615566565b5b828201905092915050565b60006152e38261541e565b91506152ee8361541e565b9250826152fe576152fd615595565b5b828204905092915050565b60006153148261541e565b915061531f8361541e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561535857615357615566565b5b828202905092915050565b600061536e8261541e565b91506153798361541e565b92508282101561538c5761538b615566565b5b828203905092915050565b60006153a2826153fe565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60008190506153f982615eb1565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000615440826153eb565b9050919050565b82818337600083830152505050565b60005b83811015615474578082015181840152602081019050615459565b83811115615483576000848401525b50505050565b600060028204905060018216806154a157607f821691505b602082108114156154b5576154b46155f3565b5b50919050565b6154c4826156d7565b810181811067ffffffffffffffff821117156154e3576154e2615680565b5b80604052505050565b60006154f78261541e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561552a57615529615566565b5b600182019050919050565b60006155408261541e565b915061554b8361541e565b92508261555b5761555a615595565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f496e76616c696420616464726573730000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4f6e6c7920616e2060616c6c6f7765646020616464726573732063616e20636160008201527f6c6c2074686973206d6574686f64000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f436f6c6c656374696f6e2069737375616e6365206973206e6f74207365740000600082015250565b7f4f6e6c7920616e206077686974656c697374656460206164647265737320636160008201527f6e2063616c6c2074686973206d6574686f640000000000000000000000000000602082015250565b7f42656e656669636961727920616c7265616479206f776e73206d617820616c6c60008201527f6f776564206d696e747300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4f6e6c7920616e206164647265737320746861742063616e20636c61696d206360008201527f616e2063616c6c2074686973206d6574686f6400000000000000000000000000602082015250565b7f45786861757374656420636f6c6c656374696f6e000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f5552492063616c6c656420666f72206e6f6e206578697374656e7420746f6b6560008201527f6e00000000000000000000000000000000000000000000000000000000000000602082015250565b7f596f7520617265206e6f7420746865206f776e6572206f662074686520746f6b60008201527f656e000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f596f752073686f756c6420736574206120646966666572656e742076616c7565600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b60048110615ec257615ec16155c4565b5b50565b615ece81615397565b8114615ed957600080fd5b50565b615ee5816153a9565b8114615ef057600080fd5b50565b615efc816153b5565b8114615f0757600080fd5b50565b615f13816153bf565b8114615f1e57600080fd5b50565b615f2a8161541e565b8114615f3557600080fd5b50565b615f4181615428565b8114615f4c57600080fd5b5056fea2646970667358221220bc0ae26587361e32a6a5c442a88b46f511cdef28ed7dbad1ffeb32c8f70c967964736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000d3d22b1307a3bea2af40471db243d74b42748e18000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000001ceb6996307b7333f82fcb3f098b254e3ba30eba000000000000000000000000000000000000000000000000000000000000000b4d657461447261676f6e7a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044d44524700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c68747470733a2f2f696e667572612d697066732e696f2f697066732f00000000000000000000000000000000000000000000000000000000000000000000002f516d6257444c62336a45506463445333316236337278566476756166414b4559484a5261695432426a45374450412f0000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): MetaDragonz
Arg [1] : _symbol (string): MDRG
Arg [2] : _operator (address): 0xD3D22b1307A3BEa2Af40471dB243D74b42748E18
Arg [3] : _baseURI (string): https://infura-ipfs.io/ipfs/
Arg [4] : _unrevealedURI (string): QmbWDLb3jEPdcDS31b63rxVdvuafAKEYHJRaiT2BjE7DPA/
Arg [5] : adminSigner (address): 0x1CEB6996307B7333F82FCB3f098B254e3Ba30eBa
-----Encoded View---------------
15 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 000000000000000000000000d3d22b1307a3bea2af40471db243d74b42748e18
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [5] : 0000000000000000000000001ceb6996307b7333f82fcb3f098b254e3ba30eba
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [7] : 4d657461447261676f6e7a000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [9] : 4d44524700000000000000000000000000000000000000000000000000000000
Arg [10] : 000000000000000000000000000000000000000000000000000000000000001c
Arg [11] : 68747470733a2f2f696e667572612d697066732e696f2f697066732f00000000
Arg [12] : 000000000000000000000000000000000000000000000000000000000000002f
Arg [13] : 516d6257444c62336a45506463445333316236337278566476756166414b4559
Arg [14] : 484a5261695432426a45374450412f0000000000000000000000000000000000
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.