Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
NFT
Overview
Max Total Supply
9,999 GLXY
Holders
3,896
Market
Volume (24H)
0.0522 ETH
Min Price (24H)
$75.55 @ 0.022200 ETH
Max Price (24H)
$102.10 @ 0.030000 ETH
Other Info
Token Contract
Balance
0 GLXYLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
GalaxyEggs
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.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract GalaxyEggs is ERC721Enumerable, Ownable, AccessControl { using Strings for uint256; bytes32 public constant WHITE_LIST_ROLE = keccak256("WHITE_LIST_ROLE"); uint256 public constant PRICE = 0.085 ether; uint256 public constant TOTAL_NUMBER_OF_GALAXY_EGGS = 9999; uint256 public giveaway_reserved = 280; uint256 public pre_mint_reserved = 2000; mapping(address => bool) private _pre_sale_minters; bool public paused_mint = true; bool public paused_pre_mint = true; string private _baseTokenURI = ""; // withdraw addresses address lolabs_splitter; // initial team address mrbob = 0xDfa857c95608000B46315cdf54Fe1efcF842ab89; address giligilik = 0xA52B727d7BA9919074f35a6EB5bf61Bbde841139; address lolabs = 0x99095E8123283D9335bcd986f1aE7713dB0f0150; modifier whenMintNotPaused() { require(!paused_mint, "GalaxyEggs: mint is paused"); _; } modifier whenPreMintNotPaused() { require(!paused_pre_mint, "GalaxyEggs: pre mint is paused"); _; } modifier preMintAllowedAccount(address account) { require(is_pre_mint_allowed(account), "GalaxyEggs: account is not allowed to pre mint"); _; } event MintPaused(address account); event MintUnpaused(address account); event PreMintPaused(address account); event PreMintUnpaused(address account); event setPreMintRole(address account); event redeemedPreMint(address account); constructor( string memory _name, string memory _symbol, address _lolabs_splitter ) ERC721(_name, _symbol) { lolabs_splitter = _lolabs_splitter; _setupRole(DEFAULT_ADMIN_ROLE, msg.sender); _setupRole(DEFAULT_ADMIN_ROLE, mrbob); _setupRole(DEFAULT_ADMIN_ROLE, giligilik); _setupRole(DEFAULT_ADMIN_ROLE, lolabs); _setupRole(WHITE_LIST_ROLE, msg.sender); _setupRole(WHITE_LIST_ROLE, mrbob); _setupRole(WHITE_LIST_ROLE, giligilik); _setupRole(WHITE_LIST_ROLE, lolabs); } fallback() external payable { } receive() external payable { } function mint(uint256 num) public payable whenMintNotPaused(){ uint256 supply = totalSupply(); uint256 tokenCount = balanceOf(msg.sender); require( num <= 12, "GalaxyEggs: You can mint a maximum of 12 Galaxy Eggs" ); require( tokenCount + num <= 13, "GalaxyEggs: You can mint a maximum of 13 Galaxy Eggs per wallet" ); require( supply + num <= TOTAL_NUMBER_OF_GALAXY_EGGS - giveaway_reserved, "GalaxyEggs: Exceeds maximum Galaxy Eggs supply" ); require( msg.value >= PRICE * num, "GalaxyEggs: Ether sent is less than PRICE * num" ); for(uint256 i; i < num; i++){ _safeMint( msg.sender, supply + i ); } } function pre_mint() public payable whenPreMintNotPaused() preMintAllowedAccount(msg.sender){ require( pre_mint_reserved > 0, "GalaxyEggs: Exceeds pre mint reserved Galaxy Eggs supply" ); require( msg.value >= PRICE, "GalaxyEggs: Ether sent is less than PRICE" ); _pre_sale_minters[msg.sender] = false; pre_mint_reserved -= 1; uint256 supply = totalSupply(); _safeMint( msg.sender, supply); emit redeemedPreMint(msg.sender); } function giveAway(address _to) external onlyRole(WHITE_LIST_ROLE) { require(giveaway_reserved > 0, "GalaxyEggs: Exceeds giveaway reserved Galaxy Eggs supply" ); giveaway_reserved -= 1; uint256 supply = totalSupply(); _safeMint( _to, supply); } function pauseMint() public onlyRole(WHITE_LIST_ROLE) { paused_mint = true; emit MintPaused(msg.sender); } function unpauseMint() public onlyRole(WHITE_LIST_ROLE) { paused_mint = false; emit MintUnpaused(msg.sender); } function pausePreMint() public onlyRole(WHITE_LIST_ROLE) { paused_pre_mint = true; emit PreMintPaused(msg.sender); } function unpausePreMint() public onlyRole(WHITE_LIST_ROLE) { paused_pre_mint = false; emit PreMintUnpaused(msg.sender); } function updateLolaSplitterAddress(address _lolabs_splitter) public onlyRole(WHITE_LIST_ROLE) { lolabs_splitter = _lolabs_splitter; } function setPreMintRoleBatch(address[] calldata _addresses) external onlyRole(WHITE_LIST_ROLE) { for(uint256 i; i < _addresses.length; i++){ _pre_sale_minters[_addresses[i]] = true; emit setPreMintRole(_addresses[i]); } } function setBaseURI(string memory baseURI) public onlyRole(WHITE_LIST_ROLE) { _baseTokenURI = baseURI; } function withdrawAmountToSplitter(uint256 amount) public onlyRole(WHITE_LIST_ROLE) { uint256 _balance = address(this).balance ; require(_balance > 0, "GalaxyEggs: withdraw amount call without balance"); require(_balance-amount >= 0, "GalaxyEggs: withdraw amount call with more than the balance"); require(payable(lolabs_splitter).send(amount), "GalaxyEggs: FAILED withdraw amount call"); } function withdrawAllToSplitter() public onlyRole(WHITE_LIST_ROLE) { uint256 _balance = address(this).balance ; require(_balance > 0, "GalaxyEggs: withdraw all call without balance"); require(payable(lolabs_splitter).send(_balance), "GalaxyEggs: FAILED withdraw all call"); } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "GalaxyEggs: URI query for nonexistent token"); string memory baseURI = getBaseURI(); string memory json = ".json"; return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString(), json)) : ''; } function walletOfOwner(address _owner) public view returns(uint256[] memory) { uint256 tokenCount = balanceOf(_owner); uint256[] memory tokensId = new uint256[](tokenCount); for(uint256 i; i < tokenCount; i++){ tokensId[i] = tokenOfOwnerByIndex(_owner, i); } return tokensId; } function getLolabsSplitter() public view onlyRole(WHITE_LIST_ROLE) returns(address splitter) { return lolabs_splitter; } function supportsInterface(bytes4 interfaceId) public view override(ERC721Enumerable, AccessControl) returns (bool) { return super.supportsInterface(interfaceId); } function is_pre_mint_allowed(address account) public view returns (bool) { return _pre_sale_minters[account]; } function getBaseURI() public view returns (string memory) { return _baseTokenURI; } }
// SPDX-License-Identifier: MIT 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 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 no longer needed starting with Solidity 0.8. 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 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() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } function _grantRole(bytes32 role, address account) private { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; 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 { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.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 {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (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 pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "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":"_lolabs_splitter","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"MintPaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"MintUnpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"PreMintPaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"PreMintUnpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"redeemedPreMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"setPreMintRole","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_NUMBER_OF_GALAXY_EGGS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITE_LIST_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLolabsSplitter","outputs":[{"internalType":"address","name":"splitter","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"giveAway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"giveaway_reserved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"is_pre_mint_allowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pausePreMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused_mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused_pre_mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pre_mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"pre_mint_reserved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","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":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"setPreMintRoleBatch","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":"unpauseMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpausePreMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_lolabs_splitter","type":"address"}],"name":"updateLolaSplitterAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAllToSplitter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawAmountToSplitter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052610118600c556107d0600d556001600f60006101000a81548160ff0219169083151502179055506001600f60016101000a81548160ff02191690831515021790555060405180602001604052806000815250601090805190602001906200006d92919062000669565b5073dfa857c95608000b46315cdf54fe1efcf842ab89601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073a52b727d7ba9919074f35a6eb5bf61bbde841139601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507399095e8123283d9335bcd986f1ae7713db0f0150601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200017a57600080fd5b506040516200663d3803806200663d8339818101604052810190620001a09190620007ae565b82828160009080519060200190620001ba92919062000669565b508060019080519060200190620001d392919062000669565b505050620001f6620001ea6200042860201b60201c565b6200043060201b60201c565b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200024c6000801b33620004f660201b60201c565b620002836000801b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620004f660201b60201c565b620002ba6000801b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620004f660201b60201c565b620002f16000801b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620004f660201b60201c565b620003237f86024e89529ee90561d266fe70772355cdf7be9c9e97e3ac6b5d90ddbc85336533620004f660201b60201c565b620003777f86024e89529ee90561d266fe70772355cdf7be9c9e97e3ac6b5d90ddbc853365601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620004f660201b60201c565b620003cb7f86024e89529ee90561d266fe70772355cdf7be9c9e97e3ac6b5d90ddbc853365601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620004f660201b60201c565b6200041f7f86024e89529ee90561d266fe70772355cdf7be9c9e97e3ac6b5d90ddbc853365601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620004f660201b60201c565b50505062000a1a565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200050882826200050c60201b60201c565b5050565b6200051e8282620005fe60201b60201c565b620005fa576001600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506200059f6200042860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b828054620006779062000911565b90600052602060002090601f0160209004810192826200069b5760008555620006e7565b82601f10620006b657805160ff1916838001178555620006e7565b82800160010185558215620006e7579182015b82811115620006e6578251825591602001919060010190620006c9565b5b509050620006f69190620006fa565b5090565b5b8082111562000715576000816000905550600101620006fb565b5090565b6000620007306200072a8462000871565b62000848565b9050828152602081018484840111156200074f576200074e620009e0565b5b6200075c848285620008db565b509392505050565b600081519050620007758162000a00565b92915050565b600082601f830112620007935762000792620009db565b5b8151620007a584826020860162000719565b91505092915050565b600080600060608486031215620007ca57620007c9620009ea565b5b600084015167ffffffffffffffff811115620007eb57620007ea620009e5565b5b620007f9868287016200077b565b935050602084015167ffffffffffffffff8111156200081d576200081c620009e5565b5b6200082b868287016200077b565b92505060406200083e8682870162000764565b9150509250925092565b60006200085462000867565b905062000862828262000947565b919050565b6000604051905090565b600067ffffffffffffffff8211156200088f576200088e620009ac565b5b6200089a82620009ef565b9050602081019050919050565b6000620008b482620008bb565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b83811015620008fb578082015181840152602081019050620008de565b838111156200090b576000848401525b50505050565b600060028204905060018216806200092a57607f821691505b602082108114156200094157620009406200097d565b5b50919050565b6200095282620009ef565b810181811067ffffffffffffffff82111715620009745762000973620009ac565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b62000a0b81620008a7565b811462000a1757600080fd5b50565b615c138062000a2a6000396000f3fe6080604052600436106102975760003560e01c80637d28c5b91161015a578063a22cb465116100c1578063cb48d8ee1161007a578063cb48d8ee146109e9578063cd85cdb514610a14578063d22f79e814610a2b578063d547741f14610a35578063e985e9c514610a5e578063f2fde38b14610a9b5761029e565b8063a22cb465146108ef578063a40a65ab14610918578063b1bbb1d71461092f578063b88d4fde14610958578063c50a557c14610981578063c87b56dd146109ac5761029e565b806391d148541161011357806391d14854146107ec57806395d89b41146108295780639e24078514610854578063a0712d681461087d578063a1acf7eb14610899578063a217fddf146108c45761029e565b80637d28c5b9146106ee5780637e262b351461072b5780638d859f3e146107545780638da5cb5b1461077f5780638ee0927b146107aa57806391418680146107c15761029e565b806336568abe116101fe57806355f804b3116101b757806355f804b3146105de5780636352211e146106075780636ad10ec81461064457806370a082311461066f578063714c5398146106ac578063715018a6146106d75761029e565b806336568abe146104be57806342842e0e146104e7578063438b630014610510578063468e5c2b1461054d5780634f6ccce7146105765780635166d586146105b35761029e565b806318160ddd1161025057806318160ddd146103b05780631a8bd2da146103db57806323b872dd146103f2578063248a9ca31461041b5780632f2ff15d146104585780632f745c59146104815761029e565b806301ffc9a7146102a05780630339d8fd146102dd57806306fdde0314610308578063081812fc14610333578063095ea7b3146103705780630acd12c7146103995761029e565b3661029e57005b005b3480156102ac57600080fd5b506102c760048036038101906102c29190613f23565b610ac4565b6040516102d4919061475a565b60405180910390f35b3480156102e957600080fd5b506102f2610ad6565b6040516102ff9190614c12565b60405180910390f35b34801561031457600080fd5b5061031d610adc565b60405161032a9190614790565b60405180910390f35b34801561033f57600080fd5b5061035a60048036038101906103559190613fc6565b610b6e565b60405161036791906146d1565b60405180910390f35b34801561037c57600080fd5b5061039760048036038101906103929190613e29565b610bf3565b005b3480156103a557600080fd5b506103ae610d0b565b005b3480156103bc57600080fd5b506103c5610e1f565b6040516103d29190614c12565b60405180910390f35b3480156103e757600080fd5b506103f0610e2c565b005b3480156103fe57600080fd5b5061041960048036038101906104149190613d13565b610eb3565b005b34801561042757600080fd5b50610442600480360381019061043d9190613eb6565b610f13565b60405161044f9190614775565b60405180910390f35b34801561046457600080fd5b5061047f600480360381019061047a9190613ee3565b610f33565b005b34801561048d57600080fd5b506104a860048036038101906104a39190613e29565b610f5c565b6040516104b59190614c12565b60405180910390f35b3480156104ca57600080fd5b506104e560048036038101906104e09190613ee3565b611001565b005b3480156104f357600080fd5b5061050e60048036038101906105099190613d13565b611084565b005b34801561051c57600080fd5b5061053760048036038101906105329190613ca6565b6110a4565b6040516105449190614738565b60405180910390f35b34801561055957600080fd5b50610574600480360381019061056f9190613e69565b611152565b005b34801561058257600080fd5b5061059d60048036038101906105989190613fc6565b611288565b6040516105aa9190614c12565b60405180910390f35b3480156105bf57600080fd5b506105c86112f9565b6040516105d5919061475a565b60405180910390f35b3480156105ea57600080fd5b5061060560048036038101906106009190613f7d565b61130c565b005b34801561061357600080fd5b5061062e60048036038101906106299190613fc6565b611359565b60405161063b91906146d1565b60405180910390f35b34801561065057600080fd5b5061065961140b565b6040516106669190614c12565b60405180910390f35b34801561067b57600080fd5b5061069660048036038101906106919190613ca6565b611411565b6040516106a39190614c12565b60405180910390f35b3480156106b857600080fd5b506106c16114c9565b6040516106ce9190614790565b60405180910390f35b3480156106e357600080fd5b506106ec61155b565b005b3480156106fa57600080fd5b5061071560048036038101906107109190613ca6565b6115e3565b604051610722919061475a565b60405180910390f35b34801561073757600080fd5b50610752600480360381019061074d9190613ca6565b611639565b005b34801561076057600080fd5b506107696116b0565b6040516107769190614c12565b60405180910390f35b34801561078b57600080fd5b506107946116bc565b6040516107a191906146d1565b60405180910390f35b3480156107b657600080fd5b506107bf6116e6565b005b3480156107cd57600080fd5b506107d661176d565b6040516107e391906146d1565b60405180910390f35b3480156107f857600080fd5b50610813600480360381019061080e9190613ee3565b6117ca565b604051610820919061475a565b60405180910390f35b34801561083557600080fd5b5061083e611835565b60405161084b9190614790565b60405180910390f35b34801561086057600080fd5b5061087b60048036038101906108769190613ca6565b6118c7565b005b61089760048036038101906108929190613fc6565b611973565b005b3480156108a557600080fd5b506108ae611b5b565b6040516108bb9190614c12565b60405180910390f35b3480156108d057600080fd5b506108d9611b61565b6040516108e69190614775565b60405180910390f35b3480156108fb57600080fd5b5061091660048036038101906109119190613de9565b611b68565b005b34801561092457600080fd5b5061092d611ce9565b005b34801561093b57600080fd5b5061095660048036038101906109519190613fc6565b611d70565b005b34801561096457600080fd5b5061097f600480360381019061097a9190613d66565b611ed4565b005b34801561098d57600080fd5b50610996611f36565b6040516109a39190614775565b60405180910390f35b3480156109b857600080fd5b506109d360048036038101906109ce9190613fc6565b611f5a565b6040516109e09190614790565b60405180910390f35b3480156109f557600080fd5b506109fe61203e565b604051610a0b919061475a565b60405180910390f35b348015610a2057600080fd5b50610a29612051565b005b610a336120d8565b005b348015610a4157600080fd5b50610a5c6004803603810190610a579190613ee3565b6122c4565b005b348015610a6a57600080fd5b50610a856004803603810190610a809190613cd3565b6122ed565b604051610a92919061475a565b60405180910390f35b348015610aa757600080fd5b50610ac26004803603810190610abd9190613ca6565b612381565b005b6000610acf82612479565b9050919050565b600c5481565b606060008054610aeb90614f2f565b80601f0160208091040260200160405190810160405280929190818152602001828054610b1790614f2f565b8015610b645780601f10610b3957610100808354040283529160200191610b64565b820191906000526020600020905b815481529060010190602001808311610b4757829003601f168201915b5050505050905090565b6000610b79826124f3565b610bb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610baf90614a92565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bfe82611359565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6690614af2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c8e61255f565b73ffffffffffffffffffffffffffffffffffffffff161480610cbd5750610cbc81610cb761255f565b6122ed565b5b610cfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf390614972565b60405180910390fd5b610d068383612567565b505050565b7f86024e89529ee90561d266fe70772355cdf7be9c9e97e3ac6b5d90ddbc853365610d3d81610d3861255f565b612620565b600047905060008111610d85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7c90614952565b60405180910390fd5b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050610e1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e12906147d2565b60405180910390fd5b5050565b6000600880549050905090565b7f86024e89529ee90561d266fe70772355cdf7be9c9e97e3ac6b5d90ddbc853365610e5e81610e5961255f565b612620565b6000600f60006101000a81548160ff0219169083151502179055507f4edc83796ddd13f7381b8c91ffbca02176782693577083e23486400548aaa8a133604051610ea891906146d1565b60405180910390a150565b610ec4610ebe61255f565b826126bd565b610f03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efa90614b32565b60405180910390fd5b610f0e83838361279b565b505050565b6000600b6000838152602001908152602001600020600101549050919050565b610f3c82610f13565b610f4d81610f4861255f565b612620565b610f5783836129f7565b505050565b6000610f6783611411565b8210610fa8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9f906147f2565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61100961255f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611076576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106d90614bf2565b60405180910390fd5b6110808282612ad8565b5050565b61109f83838360405180602001604052806000815250611ed4565b505050565b606060006110b183611411565b905060008167ffffffffffffffff8111156110cf576110ce6150f7565b5b6040519080825280602002602001820160405280156110fd5781602001602082028036833780820191505090505b50905060005b82811015611147576111158582610f5c565b828281518110611128576111276150c8565b5b602002602001018181525050808061113f90614f92565b915050611103565b508092505050919050565b7f86024e89529ee90561d266fe70772355cdf7be9c9e97e3ac6b5d90ddbc8533656111848161117f61255f565b612620565b60005b83839050811015611282576001600e60008686858181106111ab576111aa6150c8565b5b90506020020160208101906111c09190613ca6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f76a4908ea0b72e737177dfabc7e452107f3d0191151537dd4526731c276f456e848483818110611245576112446150c8565b5b905060200201602081019061125a9190613ca6565b60405161126791906146d1565b60405180910390a1808061127a90614f92565b915050611187565b50505050565b6000611292610e1f565b82106112d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ca90614b52565b60405180910390fd5b600882815481106112e7576112e66150c8565b5b90600052602060002001549050919050565b600f60019054906101000a900460ff1681565b7f86024e89529ee90561d266fe70772355cdf7be9c9e97e3ac6b5d90ddbc85336561133e8161133961255f565b612620565b8160109080519060200190611354929190613a4f565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611402576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f9906149d2565b60405180910390fd5b80915050919050565b61270f81565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611482576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611479906149b2565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060601080546114d890614f2f565b80601f016020809104026020016040519081016040528092919081815260200182805461150490614f2f565b80156115515780601f1061152657610100808354040283529160200191611551565b820191906000526020600020905b81548152906001019060200180831161153457829003601f168201915b5050505050905090565b61156361255f565b73ffffffffffffffffffffffffffffffffffffffff166115816116bc565b73ffffffffffffffffffffffffffffffffffffffff16146115d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ce90614ab2565b60405180910390fd5b6115e16000612bba565b565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b7f86024e89529ee90561d266fe70772355cdf7be9c9e97e3ac6b5d90ddbc85336561166b8161166661255f565b612620565b81601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b67012dfb0cb5e8800081565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b7f86024e89529ee90561d266fe70772355cdf7be9c9e97e3ac6b5d90ddbc8533656117188161171361255f565b612620565b6000600f60016101000a81548160ff0219169083151502179055507f8a3f4e54d8cdf3c0e6f0646578db4ba141e67bf902991531b47e6aa4c88480b73360405161176291906146d1565b60405180910390a150565b60007f86024e89529ee90561d266fe70772355cdf7be9c9e97e3ac6b5d90ddbc8533656117a18161179c61255f565b612620565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691505090565b6000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606001805461184490614f2f565b80601f016020809104026020016040519081016040528092919081815260200182805461187090614f2f565b80156118bd5780601f10611892576101008083540402835291602001916118bd565b820191906000526020600020905b8154815290600101906020018083116118a057829003601f168201915b5050505050905090565b7f86024e89529ee90561d266fe70772355cdf7be9c9e97e3ac6b5d90ddbc8533656118f9816118f461255f565b612620565b6000600c541161193e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193590614b92565b60405180910390fd5b6001600c60008282546119519190614e11565b925050819055506000611962610e1f565b905061196e8382612c80565b505050565b600f60009054906101000a900460ff16156119c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ba90614a32565b60405180910390fd5b60006119cd610e1f565b905060006119da33611411565b9050600c831115611a20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1790614912565b60405180910390fd5b600d8382611a2e9190614d30565b1115611a6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6690614a72565b60405180910390fd5b600c5461270f611a7f9190614e11565b8383611a8b9190614d30565b1115611acc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac390614992565b60405180910390fd5b8267012dfb0cb5e88000611ae09190614db7565b341015611b22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1990614872565b60405180910390fd5b60005b83811015611b5557611b42338285611b3d9190614d30565b612c80565b8080611b4d90614f92565b915050611b25565b50505050565b600d5481565b6000801b81565b611b7061255f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd5906148b2565b60405180910390fd5b8060056000611beb61255f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c9861255f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611cdd919061475a565b60405180910390a35050565b7f86024e89529ee90561d266fe70772355cdf7be9c9e97e3ac6b5d90ddbc853365611d1b81611d1661255f565b612620565b6001600f60016101000a81548160ff0219169083151502179055507f261dbdca66ce7134b6b4a8aaab3f7e9d7e389e31a2bad248611205b4619ec7c733604051611d6591906146d1565b60405180910390a150565b7f86024e89529ee90561d266fe70772355cdf7be9c9e97e3ac6b5d90ddbc853365611da281611d9d61255f565b612620565b600047905060008111611dea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de190614a52565b60405180910390fd5b60008382611df89190614e11565b1015611e39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3090614b72565b60405180910390fd5b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f19350505050611ecf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec6906148d2565b60405180910390fd5b505050565b611ee5611edf61255f565b836126bd565b611f24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1b90614b32565b60405180910390fd5b611f3084848484612c9e565b50505050565b7f86024e89529ee90561d266fe70772355cdf7be9c9e97e3ac6b5d90ddbc85336581565b6060611f65826124f3565b611fa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9b906149f2565b60405180910390fd5b6000611fae6114c9565b905060006040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250905060008251116120085760405180602001604052806000815250612035565b8161201285612cfa565b8260405160200161202593929190614666565b6040516020818303038152906040525b92505050919050565b600f60009054906101000a900460ff1681565b7f86024e89529ee90561d266fe70772355cdf7be9c9e97e3ac6b5d90ddbc8533656120838161207e61255f565b612620565b6001600f60006101000a81548160ff0219169083151502179055507fee9b45d4bbbf616909699035be16f077b7459c8d4db74944d4e27d84f15faf34336040516120cd91906146d1565b60405180910390a150565b600f60019054906101000a900460ff1615612128576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211f90614b12565b60405180910390fd5b33612132816115e3565b612171576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216890614bb2565b60405180910390fd5b6000600d54116121b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ad906148f2565b60405180910390fd5b67012dfb0cb5e88000341015612201576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f890614bd2565b60405180910390fd5b6000600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600d600082825461226c9190614e11565b92505081905550600061227d610e1f565b90506122893382612c80565b7ffaedf1435ba1285ffa084b8b584a15eeb8199ee8d75ef5ed5538ebcf9ceebc63336040516122b891906146d1565b60405180910390a15050565b6122cd82610f13565b6122de816122d961255f565b612620565b6122e88383612ad8565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61238961255f565b73ffffffffffffffffffffffffffffffffffffffff166123a76116bc565b73ffffffffffffffffffffffffffffffffffffffff16146123fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f490614ab2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561246d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246490614832565b60405180910390fd5b61247681612bba565b50565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124ec57506124eb82612e5b565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166125da83611359565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61262a82826117ca565b6126b95761264f8173ffffffffffffffffffffffffffffffffffffffff166014612ed5565b61265d8360001c6020612ed5565b60405160200161266e929190614697565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b09190614790565b60405180910390fd5b5050565b60006126c8826124f3565b612707576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126fe90614932565b60405180910390fd5b600061271283611359565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061278157508373ffffffffffffffffffffffffffffffffffffffff1661276984610b6e565b73ffffffffffffffffffffffffffffffffffffffff16145b80612792575061279181856122ed565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166127bb82611359565b73ffffffffffffffffffffffffffffffffffffffff1614612811576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280890614ad2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612881576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287890614892565b60405180910390fd5b61288c838383613111565b612897600082612567565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128e79190614e11565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461293e9190614d30565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612a0182826117ca565b612ad4576001600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612a7961255f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b612ae282826117ca565b15612bb6576000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612b5b61255f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612c9a828260405180602001604052806000815250613225565b5050565b612ca984848461279b565b612cb584848484613280565b612cf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ceb90614812565b60405180910390fd5b50505050565b60606000821415612d42576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612e56565b600082905060005b60008214612d74578080612d5d90614f92565b915050600a82612d6d9190614d86565b9150612d4a565b60008167ffffffffffffffff811115612d9057612d8f6150f7565b5b6040519080825280601f01601f191660200182016040528015612dc25781602001600182028036833780820191505090505b5090505b60008514612e4f57600182612ddb9190614e11565b9150600a85612dea9190614fdb565b6030612df69190614d30565b60f81b818381518110612e0c57612e0b6150c8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e489190614d86565b9450612dc6565b8093505050505b919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612ece5750612ecd82613417565b5b9050919050565b606060006002836002612ee89190614db7565b612ef29190614d30565b67ffffffffffffffff811115612f0b57612f0a6150f7565b5b6040519080825280601f01601f191660200182016040528015612f3d5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612f7557612f746150c8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612fd957612fd86150c8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026130199190614db7565b6130239190614d30565b90505b60018111156130c3577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613065576130646150c8565b5b1a60f81b82828151811061307c5761307b6150c8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806130bc90614f05565b9050613026565b5060008414613107576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130fe906147b2565b60405180910390fd5b8091505092915050565b61311c8383836134f9565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561315f5761315a816134fe565b61319e565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461319d5761319c8382613547565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131e1576131dc816136b4565b613220565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461321f5761321e8282613785565b5b5b505050565b61322f8383613804565b61323c6000848484613280565b61327b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161327290614812565b60405180910390fd5b505050565b60006132a18473ffffffffffffffffffffffffffffffffffffffff166139d2565b1561340a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026132ca61255f565b8786866040518563ffffffff1660e01b81526004016132ec94939291906146ec565b602060405180830381600087803b15801561330657600080fd5b505af192505050801561333757506040513d601f19601f820116820180604052508101906133349190613f50565b60015b6133ba573d8060008114613367576040519150601f19603f3d011682016040523d82523d6000602084013e61336c565b606091505b506000815114156133b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133a990614812565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061340f565b600190505b949350505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806134e257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806134f257506134f1826139e5565b5b9050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161355484611411565b61355e9190614e11565b9050600060076000848152602001908152602001600020549050818114613643576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506136c89190614e11565b90506000600960008481526020019081526020016000205490506000600883815481106136f8576136f76150c8565b5b90600052602060002001549050806008838154811061371a576137196150c8565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061376957613768615099565b5b6001900381819060005260206000200160009055905550505050565b600061379083611411565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613874576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161386b90614a12565b60405180910390fd5b61387d816124f3565b156138bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138b490614852565b60405180910390fd5b6138c960008383613111565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546139199190614d30565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b828054613a5b90614f2f565b90600052602060002090601f016020900481019282613a7d5760008555613ac4565b82601f10613a9657805160ff1916838001178555613ac4565b82800160010185558215613ac4579182015b82811115613ac3578251825591602001919060010190613aa8565b5b509050613ad19190613ad5565b5090565b5b80821115613aee576000816000905550600101613ad6565b5090565b6000613b05613b0084614c52565b614c2d565b905082815260208101848484011115613b2157613b20615135565b5b613b2c848285614ec3565b509392505050565b6000613b47613b4284614c83565b614c2d565b905082815260208101848484011115613b6357613b62615135565b5b613b6e848285614ec3565b509392505050565b600081359050613b8581615b6a565b92915050565b60008083601f840112613ba157613ba061512b565b5b8235905067ffffffffffffffff811115613bbe57613bbd615126565b5b602083019150836020820283011115613bda57613bd9615130565b5b9250929050565b600081359050613bf081615b81565b92915050565b600081359050613c0581615b98565b92915050565b600081359050613c1a81615baf565b92915050565b600081519050613c2f81615baf565b92915050565b600082601f830112613c4a57613c4961512b565b5b8135613c5a848260208601613af2565b91505092915050565b600082601f830112613c7857613c7761512b565b5b8135613c88848260208601613b34565b91505092915050565b600081359050613ca081615bc6565b92915050565b600060208284031215613cbc57613cbb61513f565b5b6000613cca84828501613b76565b91505092915050565b60008060408385031215613cea57613ce961513f565b5b6000613cf885828601613b76565b9250506020613d0985828601613b76565b9150509250929050565b600080600060608486031215613d2c57613d2b61513f565b5b6000613d3a86828701613b76565b9350506020613d4b86828701613b76565b9250506040613d5c86828701613c91565b9150509250925092565b60008060008060808587031215613d8057613d7f61513f565b5b6000613d8e87828801613b76565b9450506020613d9f87828801613b76565b9350506040613db087828801613c91565b925050606085013567ffffffffffffffff811115613dd157613dd061513a565b5b613ddd87828801613c35565b91505092959194509250565b60008060408385031215613e0057613dff61513f565b5b6000613e0e85828601613b76565b9250506020613e1f85828601613be1565b9150509250929050565b60008060408385031215613e4057613e3f61513f565b5b6000613e4e85828601613b76565b9250506020613e5f85828601613c91565b9150509250929050565b60008060208385031215613e8057613e7f61513f565b5b600083013567ffffffffffffffff811115613e9e57613e9d61513a565b5b613eaa85828601613b8b565b92509250509250929050565b600060208284031215613ecc57613ecb61513f565b5b6000613eda84828501613bf6565b91505092915050565b60008060408385031215613efa57613ef961513f565b5b6000613f0885828601613bf6565b9250506020613f1985828601613b76565b9150509250929050565b600060208284031215613f3957613f3861513f565b5b6000613f4784828501613c0b565b91505092915050565b600060208284031215613f6657613f6561513f565b5b6000613f7484828501613c20565b91505092915050565b600060208284031215613f9357613f9261513f565b5b600082013567ffffffffffffffff811115613fb157613fb061513a565b5b613fbd84828501613c63565b91505092915050565b600060208284031215613fdc57613fdb61513f565b5b6000613fea84828501613c91565b91505092915050565b6000613fff8383614648565b60208301905092915050565b61401481614e45565b82525050565b600061402582614cc4565b61402f8185614cf2565b935061403a83614cb4565b8060005b8381101561406b5781516140528882613ff3565b975061405d83614ce5565b92505060018101905061403e565b5085935050505092915050565b61408181614e57565b82525050565b61409081614e63565b82525050565b60006140a182614ccf565b6140ab8185614d03565b93506140bb818560208601614ed2565b6140c481615144565b840191505092915050565b60006140da82614cda565b6140e48185614d14565b93506140f4818560208601614ed2565b6140fd81615144565b840191505092915050565b600061411382614cda565b61411d8185614d25565b935061412d818560208601614ed2565b80840191505092915050565b6000614146602083614d14565b915061415182615155565b602082019050919050565b6000614169602483614d14565b91506141748261517e565b604082019050919050565b600061418c602b83614d14565b9150614197826151cd565b604082019050919050565b60006141af603283614d14565b91506141ba8261521c565b604082019050919050565b60006141d2602683614d14565b91506141dd8261526b565b604082019050919050565b60006141f5601c83614d14565b9150614200826152ba565b602082019050919050565b6000614218602f83614d14565b9150614223826152e3565b604082019050919050565b600061423b602483614d14565b915061424682615332565b604082019050919050565b600061425e601983614d14565b915061426982615381565b602082019050919050565b6000614281602783614d14565b915061428c826153aa565b604082019050919050565b60006142a4603883614d14565b91506142af826153f9565b604082019050919050565b60006142c7603483614d14565b91506142d282615448565b604082019050919050565b60006142ea602c83614d14565b91506142f582615497565b604082019050919050565b600061430d602d83614d14565b9150614318826154e6565b604082019050919050565b6000614330603883614d14565b915061433b82615535565b604082019050919050565b6000614353602e83614d14565b915061435e82615584565b604082019050919050565b6000614376602a83614d14565b9150614381826155d3565b604082019050919050565b6000614399602983614d14565b91506143a482615622565b604082019050919050565b60006143bc602b83614d14565b91506143c782615671565b604082019050919050565b60006143df602083614d14565b91506143ea826156c0565b602082019050919050565b6000614402601a83614d14565b915061440d826156e9565b602082019050919050565b6000614425603083614d14565b915061443082615712565b604082019050919050565b6000614448603f83614d14565b915061445382615761565b604082019050919050565b600061446b602c83614d14565b9150614476826157b0565b604082019050919050565b600061448e602083614d14565b9150614499826157ff565b602082019050919050565b60006144b1602983614d14565b91506144bc82615828565b604082019050919050565b60006144d4602183614d14565b91506144df82615877565b604082019050919050565b60006144f7601e83614d14565b9150614502826158c6565b602082019050919050565b600061451a603183614d14565b9150614525826158ef565b604082019050919050565b600061453d602c83614d14565b91506145488261593e565b604082019050919050565b6000614560603b83614d14565b915061456b8261598d565b604082019050919050565b6000614583601783614d25565b915061458e826159dc565b601782019050919050565b60006145a6603883614d14565b91506145b182615a05565b604082019050919050565b60006145c9602e83614d14565b91506145d482615a54565b604082019050919050565b60006145ec602983614d14565b91506145f782615aa3565b604082019050919050565b600061460f601183614d25565b915061461a82615af2565b601182019050919050565b6000614632602f83614d14565b915061463d82615b1b565b604082019050919050565b61465181614eb9565b82525050565b61466081614eb9565b82525050565b60006146728286614108565b915061467e8285614108565b915061468a8284614108565b9150819050949350505050565b60006146a282614576565b91506146ae8285614108565b91506146b982614602565b91506146c58284614108565b91508190509392505050565b60006020820190506146e6600083018461400b565b92915050565b6000608082019050614701600083018761400b565b61470e602083018661400b565b61471b6040830185614657565b818103606083015261472d8184614096565b905095945050505050565b60006020820190508181036000830152614752818461401a565b905092915050565b600060208201905061476f6000830184614078565b92915050565b600060208201905061478a6000830184614087565b92915050565b600060208201905081810360008301526147aa81846140cf565b905092915050565b600060208201905081810360008301526147cb81614139565b9050919050565b600060208201905081810360008301526147eb8161415c565b9050919050565b6000602082019050818103600083015261480b8161417f565b9050919050565b6000602082019050818103600083015261482b816141a2565b9050919050565b6000602082019050818103600083015261484b816141c5565b9050919050565b6000602082019050818103600083015261486b816141e8565b9050919050565b6000602082019050818103600083015261488b8161420b565b9050919050565b600060208201905081810360008301526148ab8161422e565b9050919050565b600060208201905081810360008301526148cb81614251565b9050919050565b600060208201905081810360008301526148eb81614274565b9050919050565b6000602082019050818103600083015261490b81614297565b9050919050565b6000602082019050818103600083015261492b816142ba565b9050919050565b6000602082019050818103600083015261494b816142dd565b9050919050565b6000602082019050818103600083015261496b81614300565b9050919050565b6000602082019050818103600083015261498b81614323565b9050919050565b600060208201905081810360008301526149ab81614346565b9050919050565b600060208201905081810360008301526149cb81614369565b9050919050565b600060208201905081810360008301526149eb8161438c565b9050919050565b60006020820190508181036000830152614a0b816143af565b9050919050565b60006020820190508181036000830152614a2b816143d2565b9050919050565b60006020820190508181036000830152614a4b816143f5565b9050919050565b60006020820190508181036000830152614a6b81614418565b9050919050565b60006020820190508181036000830152614a8b8161443b565b9050919050565b60006020820190508181036000830152614aab8161445e565b9050919050565b60006020820190508181036000830152614acb81614481565b9050919050565b60006020820190508181036000830152614aeb816144a4565b9050919050565b60006020820190508181036000830152614b0b816144c7565b9050919050565b60006020820190508181036000830152614b2b816144ea565b9050919050565b60006020820190508181036000830152614b4b8161450d565b9050919050565b60006020820190508181036000830152614b6b81614530565b9050919050565b60006020820190508181036000830152614b8b81614553565b9050919050565b60006020820190508181036000830152614bab81614599565b9050919050565b60006020820190508181036000830152614bcb816145bc565b9050919050565b60006020820190508181036000830152614beb816145df565b9050919050565b60006020820190508181036000830152614c0b81614625565b9050919050565b6000602082019050614c276000830184614657565b92915050565b6000614c37614c48565b9050614c438282614f61565b919050565b6000604051905090565b600067ffffffffffffffff821115614c6d57614c6c6150f7565b5b614c7682615144565b9050602081019050919050565b600067ffffffffffffffff821115614c9e57614c9d6150f7565b5b614ca782615144565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614d3b82614eb9565b9150614d4683614eb9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614d7b57614d7a61500c565b5b828201905092915050565b6000614d9182614eb9565b9150614d9c83614eb9565b925082614dac57614dab61503b565b5b828204905092915050565b6000614dc282614eb9565b9150614dcd83614eb9565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e0657614e0561500c565b5b828202905092915050565b6000614e1c82614eb9565b9150614e2783614eb9565b925082821015614e3a57614e3961500c565b5b828203905092915050565b6000614e5082614e99565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614ef0578082015181840152602081019050614ed5565b83811115614eff576000848401525b50505050565b6000614f1082614eb9565b91506000821415614f2457614f2361500c565b5b600182039050919050565b60006002820490506001821680614f4757607f821691505b60208210811415614f5b57614f5a61506a565b5b50919050565b614f6a82615144565b810181811067ffffffffffffffff82111715614f8957614f886150f7565b5b80604052505050565b6000614f9d82614eb9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614fd057614fcf61500c565b5b600182019050919050565b6000614fe682614eb9565b9150614ff183614eb9565b9250826150015761500061503b565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f47616c617879456767733a204641494c454420776974686472617720616c6c2060008201527f63616c6c00000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f47616c617879456767733a2045746865722073656e74206973206c657373207460008201527f68616e205052494345202a206e756d0000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f47616c617879456767733a204641494c454420776974686472617720616d6f7560008201527f6e742063616c6c00000000000000000000000000000000000000000000000000602082015250565b7f47616c617879456767733a204578636565647320707265206d696e742072657360008201527f65727665642047616c617879204567677320737570706c790000000000000000602082015250565b7f47616c617879456767733a20596f752063616e206d696e742061206d6178696d60008201527f756d206f662031322047616c6178792045676773000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f47616c617879456767733a20776974686472617720616c6c2063616c6c20776960008201527f74686f75742062616c616e636500000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f47616c617879456767733a2045786365656473206d6178696d756d2047616c6160008201527f7879204567677320737570706c79000000000000000000000000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f47616c617879456767733a2055524920717565727920666f72206e6f6e65786960008201527f7374656e7420746f6b656e000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f47616c617879456767733a206d696e7420697320706175736564000000000000600082015250565b7f47616c617879456767733a20776974686472617720616d6f756e742063616c6c60008201527f20776974686f75742062616c616e636500000000000000000000000000000000602082015250565b7f47616c617879456767733a20596f752063616e206d696e742061206d6178696d60008201527f756d206f662031332047616c6178792045676773207065722077616c6c657400602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f47616c617879456767733a20707265206d696e74206973207061757365640000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f47616c617879456767733a20776974686472617720616d6f756e742063616c6c60008201527f2077697468206d6f7265207468616e207468652062616c616e63650000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f47616c617879456767733a20457863656564732067697665617761792072657360008201527f65727665642047616c617879204567677320737570706c790000000000000000602082015250565b7f47616c617879456767733a206163636f756e74206973206e6f7420616c6c6f7760008201527f656420746f20707265206d696e74000000000000000000000000000000000000602082015250565b7f47616c617879456767733a2045746865722073656e74206973206c657373207460008201527f68616e2050524943450000000000000000000000000000000000000000000000602082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b615b7381614e45565b8114615b7e57600080fd5b50565b615b8a81614e57565b8114615b9557600080fd5b50565b615ba181614e63565b8114615bac57600080fd5b50565b615bb881614e6d565b8114615bc357600080fd5b50565b615bcf81614eb9565b8114615bda57600080fd5b5056fea264697066735822122056ec5edc9bdf2129eaab69158a9bf96e29dd9a55815f2092902bb171b626733f64736f6c63430008070033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000008dc17f47b61cfdfde6c20116aa95b7bbfd8bf88000000000000000000000000000000000000000000000000000000000000000a47616c61787945676773000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004474c585900000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102975760003560e01c80637d28c5b91161015a578063a22cb465116100c1578063cb48d8ee1161007a578063cb48d8ee146109e9578063cd85cdb514610a14578063d22f79e814610a2b578063d547741f14610a35578063e985e9c514610a5e578063f2fde38b14610a9b5761029e565b8063a22cb465146108ef578063a40a65ab14610918578063b1bbb1d71461092f578063b88d4fde14610958578063c50a557c14610981578063c87b56dd146109ac5761029e565b806391d148541161011357806391d14854146107ec57806395d89b41146108295780639e24078514610854578063a0712d681461087d578063a1acf7eb14610899578063a217fddf146108c45761029e565b80637d28c5b9146106ee5780637e262b351461072b5780638d859f3e146107545780638da5cb5b1461077f5780638ee0927b146107aa57806391418680146107c15761029e565b806336568abe116101fe57806355f804b3116101b757806355f804b3146105de5780636352211e146106075780636ad10ec81461064457806370a082311461066f578063714c5398146106ac578063715018a6146106d75761029e565b806336568abe146104be57806342842e0e146104e7578063438b630014610510578063468e5c2b1461054d5780634f6ccce7146105765780635166d586146105b35761029e565b806318160ddd1161025057806318160ddd146103b05780631a8bd2da146103db57806323b872dd146103f2578063248a9ca31461041b5780632f2ff15d146104585780632f745c59146104815761029e565b806301ffc9a7146102a05780630339d8fd146102dd57806306fdde0314610308578063081812fc14610333578063095ea7b3146103705780630acd12c7146103995761029e565b3661029e57005b005b3480156102ac57600080fd5b506102c760048036038101906102c29190613f23565b610ac4565b6040516102d4919061475a565b60405180910390f35b3480156102e957600080fd5b506102f2610ad6565b6040516102ff9190614c12565b60405180910390f35b34801561031457600080fd5b5061031d610adc565b60405161032a9190614790565b60405180910390f35b34801561033f57600080fd5b5061035a60048036038101906103559190613fc6565b610b6e565b60405161036791906146d1565b60405180910390f35b34801561037c57600080fd5b5061039760048036038101906103929190613e29565b610bf3565b005b3480156103a557600080fd5b506103ae610d0b565b005b3480156103bc57600080fd5b506103c5610e1f565b6040516103d29190614c12565b60405180910390f35b3480156103e757600080fd5b506103f0610e2c565b005b3480156103fe57600080fd5b5061041960048036038101906104149190613d13565b610eb3565b005b34801561042757600080fd5b50610442600480360381019061043d9190613eb6565b610f13565b60405161044f9190614775565b60405180910390f35b34801561046457600080fd5b5061047f600480360381019061047a9190613ee3565b610f33565b005b34801561048d57600080fd5b506104a860048036038101906104a39190613e29565b610f5c565b6040516104b59190614c12565b60405180910390f35b3480156104ca57600080fd5b506104e560048036038101906104e09190613ee3565b611001565b005b3480156104f357600080fd5b5061050e60048036038101906105099190613d13565b611084565b005b34801561051c57600080fd5b5061053760048036038101906105329190613ca6565b6110a4565b6040516105449190614738565b60405180910390f35b34801561055957600080fd5b50610574600480360381019061056f9190613e69565b611152565b005b34801561058257600080fd5b5061059d60048036038101906105989190613fc6565b611288565b6040516105aa9190614c12565b60405180910390f35b3480156105bf57600080fd5b506105c86112f9565b6040516105d5919061475a565b60405180910390f35b3480156105ea57600080fd5b5061060560048036038101906106009190613f7d565b61130c565b005b34801561061357600080fd5b5061062e60048036038101906106299190613fc6565b611359565b60405161063b91906146d1565b60405180910390f35b34801561065057600080fd5b5061065961140b565b6040516106669190614c12565b60405180910390f35b34801561067b57600080fd5b5061069660048036038101906106919190613ca6565b611411565b6040516106a39190614c12565b60405180910390f35b3480156106b857600080fd5b506106c16114c9565b6040516106ce9190614790565b60405180910390f35b3480156106e357600080fd5b506106ec61155b565b005b3480156106fa57600080fd5b5061071560048036038101906107109190613ca6565b6115e3565b604051610722919061475a565b60405180910390f35b34801561073757600080fd5b50610752600480360381019061074d9190613ca6565b611639565b005b34801561076057600080fd5b506107696116b0565b6040516107769190614c12565b60405180910390f35b34801561078b57600080fd5b506107946116bc565b6040516107a191906146d1565b60405180910390f35b3480156107b657600080fd5b506107bf6116e6565b005b3480156107cd57600080fd5b506107d661176d565b6040516107e391906146d1565b60405180910390f35b3480156107f857600080fd5b50610813600480360381019061080e9190613ee3565b6117ca565b604051610820919061475a565b60405180910390f35b34801561083557600080fd5b5061083e611835565b60405161084b9190614790565b60405180910390f35b34801561086057600080fd5b5061087b60048036038101906108769190613ca6565b6118c7565b005b61089760048036038101906108929190613fc6565b611973565b005b3480156108a557600080fd5b506108ae611b5b565b6040516108bb9190614c12565b60405180910390f35b3480156108d057600080fd5b506108d9611b61565b6040516108e69190614775565b60405180910390f35b3480156108fb57600080fd5b5061091660048036038101906109119190613de9565b611b68565b005b34801561092457600080fd5b5061092d611ce9565b005b34801561093b57600080fd5b5061095660048036038101906109519190613fc6565b611d70565b005b34801561096457600080fd5b5061097f600480360381019061097a9190613d66565b611ed4565b005b34801561098d57600080fd5b50610996611f36565b6040516109a39190614775565b60405180910390f35b3480156109b857600080fd5b506109d360048036038101906109ce9190613fc6565b611f5a565b6040516109e09190614790565b60405180910390f35b3480156109f557600080fd5b506109fe61203e565b604051610a0b919061475a565b60405180910390f35b348015610a2057600080fd5b50610a29612051565b005b610a336120d8565b005b348015610a4157600080fd5b50610a5c6004803603810190610a579190613ee3565b6122c4565b005b348015610a6a57600080fd5b50610a856004803603810190610a809190613cd3565b6122ed565b604051610a92919061475a565b60405180910390f35b348015610aa757600080fd5b50610ac26004803603810190610abd9190613ca6565b612381565b005b6000610acf82612479565b9050919050565b600c5481565b606060008054610aeb90614f2f565b80601f0160208091040260200160405190810160405280929190818152602001828054610b1790614f2f565b8015610b645780601f10610b3957610100808354040283529160200191610b64565b820191906000526020600020905b815481529060010190602001808311610b4757829003601f168201915b5050505050905090565b6000610b79826124f3565b610bb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610baf90614a92565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bfe82611359565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6690614af2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c8e61255f565b73ffffffffffffffffffffffffffffffffffffffff161480610cbd5750610cbc81610cb761255f565b6122ed565b5b610cfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf390614972565b60405180910390fd5b610d068383612567565b505050565b7f86024e89529ee90561d266fe70772355cdf7be9c9e97e3ac6b5d90ddbc853365610d3d81610d3861255f565b612620565b600047905060008111610d85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7c90614952565b60405180910390fd5b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050610e1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e12906147d2565b60405180910390fd5b5050565b6000600880549050905090565b7f86024e89529ee90561d266fe70772355cdf7be9c9e97e3ac6b5d90ddbc853365610e5e81610e5961255f565b612620565b6000600f60006101000a81548160ff0219169083151502179055507f4edc83796ddd13f7381b8c91ffbca02176782693577083e23486400548aaa8a133604051610ea891906146d1565b60405180910390a150565b610ec4610ebe61255f565b826126bd565b610f03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efa90614b32565b60405180910390fd5b610f0e83838361279b565b505050565b6000600b6000838152602001908152602001600020600101549050919050565b610f3c82610f13565b610f4d81610f4861255f565b612620565b610f5783836129f7565b505050565b6000610f6783611411565b8210610fa8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9f906147f2565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61100961255f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611076576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106d90614bf2565b60405180910390fd5b6110808282612ad8565b5050565b61109f83838360405180602001604052806000815250611ed4565b505050565b606060006110b183611411565b905060008167ffffffffffffffff8111156110cf576110ce6150f7565b5b6040519080825280602002602001820160405280156110fd5781602001602082028036833780820191505090505b50905060005b82811015611147576111158582610f5c565b828281518110611128576111276150c8565b5b602002602001018181525050808061113f90614f92565b915050611103565b508092505050919050565b7f86024e89529ee90561d266fe70772355cdf7be9c9e97e3ac6b5d90ddbc8533656111848161117f61255f565b612620565b60005b83839050811015611282576001600e60008686858181106111ab576111aa6150c8565b5b90506020020160208101906111c09190613ca6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f76a4908ea0b72e737177dfabc7e452107f3d0191151537dd4526731c276f456e848483818110611245576112446150c8565b5b905060200201602081019061125a9190613ca6565b60405161126791906146d1565b60405180910390a1808061127a90614f92565b915050611187565b50505050565b6000611292610e1f565b82106112d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ca90614b52565b60405180910390fd5b600882815481106112e7576112e66150c8565b5b90600052602060002001549050919050565b600f60019054906101000a900460ff1681565b7f86024e89529ee90561d266fe70772355cdf7be9c9e97e3ac6b5d90ddbc85336561133e8161133961255f565b612620565b8160109080519060200190611354929190613a4f565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611402576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f9906149d2565b60405180910390fd5b80915050919050565b61270f81565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611482576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611479906149b2565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060601080546114d890614f2f565b80601f016020809104026020016040519081016040528092919081815260200182805461150490614f2f565b80156115515780601f1061152657610100808354040283529160200191611551565b820191906000526020600020905b81548152906001019060200180831161153457829003601f168201915b5050505050905090565b61156361255f565b73ffffffffffffffffffffffffffffffffffffffff166115816116bc565b73ffffffffffffffffffffffffffffffffffffffff16146115d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ce90614ab2565b60405180910390fd5b6115e16000612bba565b565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b7f86024e89529ee90561d266fe70772355cdf7be9c9e97e3ac6b5d90ddbc85336561166b8161166661255f565b612620565b81601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b67012dfb0cb5e8800081565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b7f86024e89529ee90561d266fe70772355cdf7be9c9e97e3ac6b5d90ddbc8533656117188161171361255f565b612620565b6000600f60016101000a81548160ff0219169083151502179055507f8a3f4e54d8cdf3c0e6f0646578db4ba141e67bf902991531b47e6aa4c88480b73360405161176291906146d1565b60405180910390a150565b60007f86024e89529ee90561d266fe70772355cdf7be9c9e97e3ac6b5d90ddbc8533656117a18161179c61255f565b612620565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691505090565b6000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606001805461184490614f2f565b80601f016020809104026020016040519081016040528092919081815260200182805461187090614f2f565b80156118bd5780601f10611892576101008083540402835291602001916118bd565b820191906000526020600020905b8154815290600101906020018083116118a057829003601f168201915b5050505050905090565b7f86024e89529ee90561d266fe70772355cdf7be9c9e97e3ac6b5d90ddbc8533656118f9816118f461255f565b612620565b6000600c541161193e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193590614b92565b60405180910390fd5b6001600c60008282546119519190614e11565b925050819055506000611962610e1f565b905061196e8382612c80565b505050565b600f60009054906101000a900460ff16156119c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ba90614a32565b60405180910390fd5b60006119cd610e1f565b905060006119da33611411565b9050600c831115611a20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1790614912565b60405180910390fd5b600d8382611a2e9190614d30565b1115611a6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6690614a72565b60405180910390fd5b600c5461270f611a7f9190614e11565b8383611a8b9190614d30565b1115611acc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac390614992565b60405180910390fd5b8267012dfb0cb5e88000611ae09190614db7565b341015611b22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1990614872565b60405180910390fd5b60005b83811015611b5557611b42338285611b3d9190614d30565b612c80565b8080611b4d90614f92565b915050611b25565b50505050565b600d5481565b6000801b81565b611b7061255f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd5906148b2565b60405180910390fd5b8060056000611beb61255f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c9861255f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611cdd919061475a565b60405180910390a35050565b7f86024e89529ee90561d266fe70772355cdf7be9c9e97e3ac6b5d90ddbc853365611d1b81611d1661255f565b612620565b6001600f60016101000a81548160ff0219169083151502179055507f261dbdca66ce7134b6b4a8aaab3f7e9d7e389e31a2bad248611205b4619ec7c733604051611d6591906146d1565b60405180910390a150565b7f86024e89529ee90561d266fe70772355cdf7be9c9e97e3ac6b5d90ddbc853365611da281611d9d61255f565b612620565b600047905060008111611dea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de190614a52565b60405180910390fd5b60008382611df89190614e11565b1015611e39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3090614b72565b60405180910390fd5b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f19350505050611ecf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec6906148d2565b60405180910390fd5b505050565b611ee5611edf61255f565b836126bd565b611f24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1b90614b32565b60405180910390fd5b611f3084848484612c9e565b50505050565b7f86024e89529ee90561d266fe70772355cdf7be9c9e97e3ac6b5d90ddbc85336581565b6060611f65826124f3565b611fa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9b906149f2565b60405180910390fd5b6000611fae6114c9565b905060006040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250905060008251116120085760405180602001604052806000815250612035565b8161201285612cfa565b8260405160200161202593929190614666565b6040516020818303038152906040525b92505050919050565b600f60009054906101000a900460ff1681565b7f86024e89529ee90561d266fe70772355cdf7be9c9e97e3ac6b5d90ddbc8533656120838161207e61255f565b612620565b6001600f60006101000a81548160ff0219169083151502179055507fee9b45d4bbbf616909699035be16f077b7459c8d4db74944d4e27d84f15faf34336040516120cd91906146d1565b60405180910390a150565b600f60019054906101000a900460ff1615612128576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211f90614b12565b60405180910390fd5b33612132816115e3565b612171576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216890614bb2565b60405180910390fd5b6000600d54116121b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ad906148f2565b60405180910390fd5b67012dfb0cb5e88000341015612201576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f890614bd2565b60405180910390fd5b6000600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600d600082825461226c9190614e11565b92505081905550600061227d610e1f565b90506122893382612c80565b7ffaedf1435ba1285ffa084b8b584a15eeb8199ee8d75ef5ed5538ebcf9ceebc63336040516122b891906146d1565b60405180910390a15050565b6122cd82610f13565b6122de816122d961255f565b612620565b6122e88383612ad8565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61238961255f565b73ffffffffffffffffffffffffffffffffffffffff166123a76116bc565b73ffffffffffffffffffffffffffffffffffffffff16146123fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f490614ab2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561246d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246490614832565b60405180910390fd5b61247681612bba565b50565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124ec57506124eb82612e5b565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166125da83611359565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61262a82826117ca565b6126b95761264f8173ffffffffffffffffffffffffffffffffffffffff166014612ed5565b61265d8360001c6020612ed5565b60405160200161266e929190614697565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b09190614790565b60405180910390fd5b5050565b60006126c8826124f3565b612707576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126fe90614932565b60405180910390fd5b600061271283611359565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061278157508373ffffffffffffffffffffffffffffffffffffffff1661276984610b6e565b73ffffffffffffffffffffffffffffffffffffffff16145b80612792575061279181856122ed565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166127bb82611359565b73ffffffffffffffffffffffffffffffffffffffff1614612811576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280890614ad2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612881576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287890614892565b60405180910390fd5b61288c838383613111565b612897600082612567565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128e79190614e11565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461293e9190614d30565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612a0182826117ca565b612ad4576001600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612a7961255f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b612ae282826117ca565b15612bb6576000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612b5b61255f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612c9a828260405180602001604052806000815250613225565b5050565b612ca984848461279b565b612cb584848484613280565b612cf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ceb90614812565b60405180910390fd5b50505050565b60606000821415612d42576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612e56565b600082905060005b60008214612d74578080612d5d90614f92565b915050600a82612d6d9190614d86565b9150612d4a565b60008167ffffffffffffffff811115612d9057612d8f6150f7565b5b6040519080825280601f01601f191660200182016040528015612dc25781602001600182028036833780820191505090505b5090505b60008514612e4f57600182612ddb9190614e11565b9150600a85612dea9190614fdb565b6030612df69190614d30565b60f81b818381518110612e0c57612e0b6150c8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e489190614d86565b9450612dc6565b8093505050505b919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612ece5750612ecd82613417565b5b9050919050565b606060006002836002612ee89190614db7565b612ef29190614d30565b67ffffffffffffffff811115612f0b57612f0a6150f7565b5b6040519080825280601f01601f191660200182016040528015612f3d5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612f7557612f746150c8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612fd957612fd86150c8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026130199190614db7565b6130239190614d30565b90505b60018111156130c3577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613065576130646150c8565b5b1a60f81b82828151811061307c5761307b6150c8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806130bc90614f05565b9050613026565b5060008414613107576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130fe906147b2565b60405180910390fd5b8091505092915050565b61311c8383836134f9565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561315f5761315a816134fe565b61319e565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461319d5761319c8382613547565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131e1576131dc816136b4565b613220565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461321f5761321e8282613785565b5b5b505050565b61322f8383613804565b61323c6000848484613280565b61327b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161327290614812565b60405180910390fd5b505050565b60006132a18473ffffffffffffffffffffffffffffffffffffffff166139d2565b1561340a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026132ca61255f565b8786866040518563ffffffff1660e01b81526004016132ec94939291906146ec565b602060405180830381600087803b15801561330657600080fd5b505af192505050801561333757506040513d601f19601f820116820180604052508101906133349190613f50565b60015b6133ba573d8060008114613367576040519150601f19603f3d011682016040523d82523d6000602084013e61336c565b606091505b506000815114156133b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133a990614812565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061340f565b600190505b949350505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806134e257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806134f257506134f1826139e5565b5b9050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161355484611411565b61355e9190614e11565b9050600060076000848152602001908152602001600020549050818114613643576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506136c89190614e11565b90506000600960008481526020019081526020016000205490506000600883815481106136f8576136f76150c8565b5b90600052602060002001549050806008838154811061371a576137196150c8565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061376957613768615099565b5b6001900381819060005260206000200160009055905550505050565b600061379083611411565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613874576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161386b90614a12565b60405180910390fd5b61387d816124f3565b156138bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138b490614852565b60405180910390fd5b6138c960008383613111565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546139199190614d30565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b828054613a5b90614f2f565b90600052602060002090601f016020900481019282613a7d5760008555613ac4565b82601f10613a9657805160ff1916838001178555613ac4565b82800160010185558215613ac4579182015b82811115613ac3578251825591602001919060010190613aa8565b5b509050613ad19190613ad5565b5090565b5b80821115613aee576000816000905550600101613ad6565b5090565b6000613b05613b0084614c52565b614c2d565b905082815260208101848484011115613b2157613b20615135565b5b613b2c848285614ec3565b509392505050565b6000613b47613b4284614c83565b614c2d565b905082815260208101848484011115613b6357613b62615135565b5b613b6e848285614ec3565b509392505050565b600081359050613b8581615b6a565b92915050565b60008083601f840112613ba157613ba061512b565b5b8235905067ffffffffffffffff811115613bbe57613bbd615126565b5b602083019150836020820283011115613bda57613bd9615130565b5b9250929050565b600081359050613bf081615b81565b92915050565b600081359050613c0581615b98565b92915050565b600081359050613c1a81615baf565b92915050565b600081519050613c2f81615baf565b92915050565b600082601f830112613c4a57613c4961512b565b5b8135613c5a848260208601613af2565b91505092915050565b600082601f830112613c7857613c7761512b565b5b8135613c88848260208601613b34565b91505092915050565b600081359050613ca081615bc6565b92915050565b600060208284031215613cbc57613cbb61513f565b5b6000613cca84828501613b76565b91505092915050565b60008060408385031215613cea57613ce961513f565b5b6000613cf885828601613b76565b9250506020613d0985828601613b76565b9150509250929050565b600080600060608486031215613d2c57613d2b61513f565b5b6000613d3a86828701613b76565b9350506020613d4b86828701613b76565b9250506040613d5c86828701613c91565b9150509250925092565b60008060008060808587031215613d8057613d7f61513f565b5b6000613d8e87828801613b76565b9450506020613d9f87828801613b76565b9350506040613db087828801613c91565b925050606085013567ffffffffffffffff811115613dd157613dd061513a565b5b613ddd87828801613c35565b91505092959194509250565b60008060408385031215613e0057613dff61513f565b5b6000613e0e85828601613b76565b9250506020613e1f85828601613be1565b9150509250929050565b60008060408385031215613e4057613e3f61513f565b5b6000613e4e85828601613b76565b9250506020613e5f85828601613c91565b9150509250929050565b60008060208385031215613e8057613e7f61513f565b5b600083013567ffffffffffffffff811115613e9e57613e9d61513a565b5b613eaa85828601613b8b565b92509250509250929050565b600060208284031215613ecc57613ecb61513f565b5b6000613eda84828501613bf6565b91505092915050565b60008060408385031215613efa57613ef961513f565b5b6000613f0885828601613bf6565b9250506020613f1985828601613b76565b9150509250929050565b600060208284031215613f3957613f3861513f565b5b6000613f4784828501613c0b565b91505092915050565b600060208284031215613f6657613f6561513f565b5b6000613f7484828501613c20565b91505092915050565b600060208284031215613f9357613f9261513f565b5b600082013567ffffffffffffffff811115613fb157613fb061513a565b5b613fbd84828501613c63565b91505092915050565b600060208284031215613fdc57613fdb61513f565b5b6000613fea84828501613c91565b91505092915050565b6000613fff8383614648565b60208301905092915050565b61401481614e45565b82525050565b600061402582614cc4565b61402f8185614cf2565b935061403a83614cb4565b8060005b8381101561406b5781516140528882613ff3565b975061405d83614ce5565b92505060018101905061403e565b5085935050505092915050565b61408181614e57565b82525050565b61409081614e63565b82525050565b60006140a182614ccf565b6140ab8185614d03565b93506140bb818560208601614ed2565b6140c481615144565b840191505092915050565b60006140da82614cda565b6140e48185614d14565b93506140f4818560208601614ed2565b6140fd81615144565b840191505092915050565b600061411382614cda565b61411d8185614d25565b935061412d818560208601614ed2565b80840191505092915050565b6000614146602083614d14565b915061415182615155565b602082019050919050565b6000614169602483614d14565b91506141748261517e565b604082019050919050565b600061418c602b83614d14565b9150614197826151cd565b604082019050919050565b60006141af603283614d14565b91506141ba8261521c565b604082019050919050565b60006141d2602683614d14565b91506141dd8261526b565b604082019050919050565b60006141f5601c83614d14565b9150614200826152ba565b602082019050919050565b6000614218602f83614d14565b9150614223826152e3565b604082019050919050565b600061423b602483614d14565b915061424682615332565b604082019050919050565b600061425e601983614d14565b915061426982615381565b602082019050919050565b6000614281602783614d14565b915061428c826153aa565b604082019050919050565b60006142a4603883614d14565b91506142af826153f9565b604082019050919050565b60006142c7603483614d14565b91506142d282615448565b604082019050919050565b60006142ea602c83614d14565b91506142f582615497565b604082019050919050565b600061430d602d83614d14565b9150614318826154e6565b604082019050919050565b6000614330603883614d14565b915061433b82615535565b604082019050919050565b6000614353602e83614d14565b915061435e82615584565b604082019050919050565b6000614376602a83614d14565b9150614381826155d3565b604082019050919050565b6000614399602983614d14565b91506143a482615622565b604082019050919050565b60006143bc602b83614d14565b91506143c782615671565b604082019050919050565b60006143df602083614d14565b91506143ea826156c0565b602082019050919050565b6000614402601a83614d14565b915061440d826156e9565b602082019050919050565b6000614425603083614d14565b915061443082615712565b604082019050919050565b6000614448603f83614d14565b915061445382615761565b604082019050919050565b600061446b602c83614d14565b9150614476826157b0565b604082019050919050565b600061448e602083614d14565b9150614499826157ff565b602082019050919050565b60006144b1602983614d14565b91506144bc82615828565b604082019050919050565b60006144d4602183614d14565b91506144df82615877565b604082019050919050565b60006144f7601e83614d14565b9150614502826158c6565b602082019050919050565b600061451a603183614d14565b9150614525826158ef565b604082019050919050565b600061453d602c83614d14565b91506145488261593e565b604082019050919050565b6000614560603b83614d14565b915061456b8261598d565b604082019050919050565b6000614583601783614d25565b915061458e826159dc565b601782019050919050565b60006145a6603883614d14565b91506145b182615a05565b604082019050919050565b60006145c9602e83614d14565b91506145d482615a54565b604082019050919050565b60006145ec602983614d14565b91506145f782615aa3565b604082019050919050565b600061460f601183614d25565b915061461a82615af2565b601182019050919050565b6000614632602f83614d14565b915061463d82615b1b565b604082019050919050565b61465181614eb9565b82525050565b61466081614eb9565b82525050565b60006146728286614108565b915061467e8285614108565b915061468a8284614108565b9150819050949350505050565b60006146a282614576565b91506146ae8285614108565b91506146b982614602565b91506146c58284614108565b91508190509392505050565b60006020820190506146e6600083018461400b565b92915050565b6000608082019050614701600083018761400b565b61470e602083018661400b565b61471b6040830185614657565b818103606083015261472d8184614096565b905095945050505050565b60006020820190508181036000830152614752818461401a565b905092915050565b600060208201905061476f6000830184614078565b92915050565b600060208201905061478a6000830184614087565b92915050565b600060208201905081810360008301526147aa81846140cf565b905092915050565b600060208201905081810360008301526147cb81614139565b9050919050565b600060208201905081810360008301526147eb8161415c565b9050919050565b6000602082019050818103600083015261480b8161417f565b9050919050565b6000602082019050818103600083015261482b816141a2565b9050919050565b6000602082019050818103600083015261484b816141c5565b9050919050565b6000602082019050818103600083015261486b816141e8565b9050919050565b6000602082019050818103600083015261488b8161420b565b9050919050565b600060208201905081810360008301526148ab8161422e565b9050919050565b600060208201905081810360008301526148cb81614251565b9050919050565b600060208201905081810360008301526148eb81614274565b9050919050565b6000602082019050818103600083015261490b81614297565b9050919050565b6000602082019050818103600083015261492b816142ba565b9050919050565b6000602082019050818103600083015261494b816142dd565b9050919050565b6000602082019050818103600083015261496b81614300565b9050919050565b6000602082019050818103600083015261498b81614323565b9050919050565b600060208201905081810360008301526149ab81614346565b9050919050565b600060208201905081810360008301526149cb81614369565b9050919050565b600060208201905081810360008301526149eb8161438c565b9050919050565b60006020820190508181036000830152614a0b816143af565b9050919050565b60006020820190508181036000830152614a2b816143d2565b9050919050565b60006020820190508181036000830152614a4b816143f5565b9050919050565b60006020820190508181036000830152614a6b81614418565b9050919050565b60006020820190508181036000830152614a8b8161443b565b9050919050565b60006020820190508181036000830152614aab8161445e565b9050919050565b60006020820190508181036000830152614acb81614481565b9050919050565b60006020820190508181036000830152614aeb816144a4565b9050919050565b60006020820190508181036000830152614b0b816144c7565b9050919050565b60006020820190508181036000830152614b2b816144ea565b9050919050565b60006020820190508181036000830152614b4b8161450d565b9050919050565b60006020820190508181036000830152614b6b81614530565b9050919050565b60006020820190508181036000830152614b8b81614553565b9050919050565b60006020820190508181036000830152614bab81614599565b9050919050565b60006020820190508181036000830152614bcb816145bc565b9050919050565b60006020820190508181036000830152614beb816145df565b9050919050565b60006020820190508181036000830152614c0b81614625565b9050919050565b6000602082019050614c276000830184614657565b92915050565b6000614c37614c48565b9050614c438282614f61565b919050565b6000604051905090565b600067ffffffffffffffff821115614c6d57614c6c6150f7565b5b614c7682615144565b9050602081019050919050565b600067ffffffffffffffff821115614c9e57614c9d6150f7565b5b614ca782615144565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614d3b82614eb9565b9150614d4683614eb9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614d7b57614d7a61500c565b5b828201905092915050565b6000614d9182614eb9565b9150614d9c83614eb9565b925082614dac57614dab61503b565b5b828204905092915050565b6000614dc282614eb9565b9150614dcd83614eb9565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e0657614e0561500c565b5b828202905092915050565b6000614e1c82614eb9565b9150614e2783614eb9565b925082821015614e3a57614e3961500c565b5b828203905092915050565b6000614e5082614e99565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614ef0578082015181840152602081019050614ed5565b83811115614eff576000848401525b50505050565b6000614f1082614eb9565b91506000821415614f2457614f2361500c565b5b600182039050919050565b60006002820490506001821680614f4757607f821691505b60208210811415614f5b57614f5a61506a565b5b50919050565b614f6a82615144565b810181811067ffffffffffffffff82111715614f8957614f886150f7565b5b80604052505050565b6000614f9d82614eb9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614fd057614fcf61500c565b5b600182019050919050565b6000614fe682614eb9565b9150614ff183614eb9565b9250826150015761500061503b565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f47616c617879456767733a204641494c454420776974686472617720616c6c2060008201527f63616c6c00000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f47616c617879456767733a2045746865722073656e74206973206c657373207460008201527f68616e205052494345202a206e756d0000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f47616c617879456767733a204641494c454420776974686472617720616d6f7560008201527f6e742063616c6c00000000000000000000000000000000000000000000000000602082015250565b7f47616c617879456767733a204578636565647320707265206d696e742072657360008201527f65727665642047616c617879204567677320737570706c790000000000000000602082015250565b7f47616c617879456767733a20596f752063616e206d696e742061206d6178696d60008201527f756d206f662031322047616c6178792045676773000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f47616c617879456767733a20776974686472617720616c6c2063616c6c20776960008201527f74686f75742062616c616e636500000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f47616c617879456767733a2045786365656473206d6178696d756d2047616c6160008201527f7879204567677320737570706c79000000000000000000000000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f47616c617879456767733a2055524920717565727920666f72206e6f6e65786960008201527f7374656e7420746f6b656e000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f47616c617879456767733a206d696e7420697320706175736564000000000000600082015250565b7f47616c617879456767733a20776974686472617720616d6f756e742063616c6c60008201527f20776974686f75742062616c616e636500000000000000000000000000000000602082015250565b7f47616c617879456767733a20596f752063616e206d696e742061206d6178696d60008201527f756d206f662031332047616c6178792045676773207065722077616c6c657400602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f47616c617879456767733a20707265206d696e74206973207061757365640000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f47616c617879456767733a20776974686472617720616d6f756e742063616c6c60008201527f2077697468206d6f7265207468616e207468652062616c616e63650000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f47616c617879456767733a20457863656564732067697665617761792072657360008201527f65727665642047616c617879204567677320737570706c790000000000000000602082015250565b7f47616c617879456767733a206163636f756e74206973206e6f7420616c6c6f7760008201527f656420746f20707265206d696e74000000000000000000000000000000000000602082015250565b7f47616c617879456767733a2045746865722073656e74206973206c657373207460008201527f68616e2050524943450000000000000000000000000000000000000000000000602082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b615b7381614e45565b8114615b7e57600080fd5b50565b615b8a81614e57565b8114615b9557600080fd5b50565b615ba181614e63565b8114615bac57600080fd5b50565b615bb881614e6d565b8114615bc357600080fd5b50565b615bcf81614eb9565b8114615bda57600080fd5b5056fea264697066735822122056ec5edc9bdf2129eaab69158a9bf96e29dd9a55815f2092902bb171b626733f64736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000008dc17f47b61cfdfde6c20116aa95b7bbfd8bf88000000000000000000000000000000000000000000000000000000000000000a47616c61787945676773000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004474c585900000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): GalaxyEggs
Arg [1] : _symbol (string): GLXY
Arg [2] : _lolabs_splitter (address): 0x08DC17F47B61cfDFdE6C20116aa95b7bbfd8bf88
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000008dc17f47b61cfdfde6c20116aa95b7bbfd8bf88
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [4] : 47616c6178794567677300000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 474c585900000000000000000000000000000000000000000000000000000000
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.