ERC-721
Overview
Max Total Supply
3,518 TNI
Holders
142
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 TNILoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
TheNFTIslands
Compiler Version
v0.8.11+commit.d7f03943
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: Unlicense pragma solidity 0.8.11; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/access/IAccessControl.sol"; import "../libraries/ECDSALibrary.sol"; import "./ERC721A.sol"; import "./interfaces/IERC721A.sol"; import "./interfaces/ITheNFTIslands.sol"; import "./interfaces/IStaking.sol"; import "./interfaces/IIslandToken.sol"; contract TheNFTIslands is ITheNFTIslands, ERC721A, Ownable, AccessControl { bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE"); bytes32 public constant SIGNER_ROLE = keccak256("SIGNER_ROLE"); // Previous launch ITheNFTIslands public previousLaunch; // staking contract IStaking public staking; IIslandToken private tokenContract; string private _baseTokenURI; bool public isUriFrozen; // presale times uint256 public presaleTime = 0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe; uint256 public publicTime = 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff; // presale price for each token types uint256 private priceStd = 0.1 ether; uint256 private priceLrg = 0.15 ether; uint256 private pricePrm = 0.2 ether; // max supply for each token types uint256 private standardMaxSupply = 2990; uint256 private largeMaxSupply = 2500; uint256 private premiumMaxSupply = 1500; uint256 private maxBundles = 1000; // current supply for each token types uint256 private standardCurrentSupply = 73; uint256 private largeCurrentSupply = 40; uint256 private premiumCurrentSupply = 57; uint256 private bundleCurrentSupply = 25; /* * Max mint per transaction per token type */ uint256 private MAX_MINT_STD = 2; uint256 private MAX_MINT_LRG = 1; uint256 private MAX_MINT_PRM = 1; /* * 0: standard * 1: large * 2: premium */ mapping(uint256 => uint256) private tokenType; /** * nonce used for free mints */ mapping(address => uint256) public nonces; /** * Payment distribution and addresses */ uint256 internal constant totalShares = 1000; uint256 internal totalReleased; mapping(address => uint256) internal released; mapping(address => uint256) internal shares; address internal constant project = 0x6e5c5a1b0Bb40e03f7294F80D63ad8DFBf42a616; address internal constant shareHolder2 = 0x8f5B57E579E2C1C496Cd5edC45C9849115990AaE; address internal constant shareHolder3 = 0x88EE4c10A7c7D869EB45Eb1b4F9e7B9cA06FA2f4; address internal constant shareHolder4 = 0x8faF50473e546c3f9d7182AFDADb8788C2085C89; address internal constant shareHolder5 = 0x830CBf2c819DB0F56e61252E8d80c0778f58bbf3; address internal constant shareHolder6 = 0x17B170226350e59640051144CEB2EFE0979E4689; address internal constant shareHolder7 = 0xc1C6C3744143c3f3A8573B74e527e58aA9Bf8302; address internal constant shareHolder8 = 0x47Dba548DfB5dAc498480511BADD8001A11E6D6e; constructor() ERC721A("The NFT Islands", "TNI") { _grantRole(DEFAULT_ADMIN_ROLE, msg.sender); _grantRole(SIGNER_ROLE, msg.sender); shares[project] = 620; shares[shareHolder2] = 145; shares[shareHolder3] = 40; shares[shareHolder4] = 30; shares[shareHolder5] = 15; shares[shareHolder6] = 15; shares[shareHolder7] = 10; shares[shareHolder8] = 125; // set unrevealed metadata _baseTokenURI = "https://api.thenftislands.io/metadata/"; previousLaunch = ITheNFTIslands(0xC20eE631d4dD4d66Fb536d1A415D8F7073B57689); _mint(address(this), 170); } // Get Prices function prices() external view returns(uint256, uint256, uint256) { return (priceStd, priceLrg, pricePrm); } // Get Current circulating supplies function currentSupplies() external view returns(uint256, uint256, uint256, uint256) { return (standardCurrentSupply, largeCurrentSupply, premiumCurrentSupply, bundleCurrentSupply); } // Get maximum supplies function maxSupplies() external view returns(uint256, uint256, uint256) { return (standardMaxSupply, largeMaxSupply, premiumMaxSupply); } // set staking address function setContracts(IStaking _staking, IIslandToken _tokenContract) external onlyOwner { staking = IStaking(_staking); tokenContract = IIslandToken(_tokenContract); } // get max supply of the collection function getMaxSupply() external view returns (uint256) { return premiumMaxSupply + largeMaxSupply + standardMaxSupply; } // change presalePrice for standard token function setStandardPrice(uint256 newPriceInWei) external onlyOwner { priceStd = newPriceInWei; } /* * change price of large islands in presale * * @param newPriceInWei: price in wei * */ function setLargePrice(uint256 newPriceInWei) external onlyOwner { priceLrg = newPriceInWei; } /* * change price of premium islands in presale * * @param newPriceInWei: price in wei * */ function setPremiumPrice(uint256 newPriceInWei) external onlyOwner { pricePrm = newPriceInWei; } /* * change max mint per transaction * * @param _maxStd: max number of standard token per transaction * @param _maxLrg: max number of large token per transaction * @param _maxPrm: max number of premium token per transaction * */ function setMaxPerTransaction( uint256 _maxStd, uint256 _maxLrg, uint256 _maxPrm ) external onlyOwner { MAX_MINT_STD = _maxStd; MAX_MINT_LRG = _maxLrg; MAX_MINT_PRM = _maxPrm; } /** * reduce premium supply * * Error messages: * - T0 : "Supply can not be increased" * - T1 : "Supply has to be greater than totalSupply" */ function reducePremiumMaxSupply(uint256 newSupply) external onlyOwner { require(newSupply < premiumMaxSupply, "T0"); require(newSupply >= premiumCurrentSupply, "T1"); premiumMaxSupply = newSupply; } /** * reduce large supply * * Error messages: * - T0 : "Supply can not be increased" * - T1 : "Supply has to be greater than totalSupply" */ function reduceLargeMaxSupply(uint256 newSupply) external onlyOwner { require(newSupply < largeMaxSupply, "T0"); require(newSupply >= largeCurrentSupply, "T1"); largeMaxSupply = newSupply; } /** * reduce standard supply * * Error messages: * - T0 : "Supply can not be increased" * - T1 : "Supply has to be greater than totalSupply" */ function reduceStandardMaxSupply(uint256 newSupply) external onlyOwner { require(newSupply < standardMaxSupply, "T0"); require(newSupply >= standardCurrentSupply, "T1"); standardMaxSupply = newSupply; } /* * set starting time of presale * * @param newTime: timestamp in seconds of the start of the presale * */ function setTimePresale(uint256 newTime) external onlyOwner { presaleTime = newTime; } /* * set starting time of the public sale * * @param newTime: timestamp in seconds of the start of the public sale * */ function setTimePublic(uint256 newTime) external onlyOwner { publicTime = newTime; } /* * mint tokens in public sale * * @param quantityStd: standard tokens quantity * @param quantityLrg: large tokens quantity * @param quantityPrm: premium tokens quantity * @param stake: stake your token immediately * @param bundle: mint a bundle * * Error messages: * - T3: "Public not started" * - T5: "Max quantity per transaction reached" */ function publicMint( uint256 quantityStd, uint256 quantityLrg, uint256 quantityPrm, bool stake, bool bundle ) external payable { require(block.timestamp >= publicTime, "T3"); require(quantityStd <= MAX_MINT_STD && quantityLrg <= MAX_MINT_LRG && quantityPrm <= MAX_MINT_PRM, "T5"); intervalMint(quantityStd, quantityLrg, quantityPrm, stake, bundle); } /* * mint tokens in presale * * @param quantityStd: standard tokens quantity * @param quantityLrg: large tokens quantity * @param quantityPrm: premium tokens quantity * @param stake: stake your token immediately * @param bundle: mint a bundle * @param signature: whitelist signature * * Error messages: * - T6: "Presale not started" * - T7: "Presale is closed, please mint in public" * - T9: "You are not whitelisted" */ function presaleMint( uint256 quantityStd, uint256 quantityLrg, uint256 quantityPrm, bool stake, bool bundle, bytes calldata signature ) external payable { require(block.timestamp >= presaleTime, "T6"); require(block.timestamp < publicTime, "T7"); require(hasRole(SIGNER_ROLE, ECDSALibrary.recover(abi.encodePacked(msg.sender), signature)), "T9"); intervalMint(quantityStd, quantityLrg, quantityPrm, stake, bundle); } /* * interval logic common to presale and public * * @param quantityStd: standard tokens quantity * @param quantityLrg: large tokens quantity * @param quantityPrm: premium tokens quantity * @param stake: stake your token immediately * @param bundle: mint a bundle * * Error messages: * - T2: "Wrong price" * - T4: "Collection's max supply reached" * - T5: "Max quantity per transaction reached" * - T8: "All bundles sold out" * - T14: "Transaction is not a bundle" */ function intervalMint(uint256 quantityStd, uint256 quantityLrg, uint256 quantityPrm, bool stake, bool bundle) internal { uint256 priceReduction; if (bundle) { require(bundleCurrentSupply < maxBundles, "T8"); require(quantityStd == 1 && quantityLrg == 1 && quantityPrm == 1, "T14"); priceReduction = 0.05 ether; bundleCurrentSupply += 1; } require( msg.value == priceStd * quantityStd + priceLrg * quantityLrg + pricePrm * quantityPrm - priceReduction, "T2" ); require(quantityStd <= MAX_MINT_STD && quantityLrg <= MAX_MINT_LRG && quantityPrm <= MAX_MINT_PRM, "T5"); require( standardCurrentSupply + quantityStd <= standardMaxSupply && largeCurrentSupply + quantityLrg <= largeMaxSupply && premiumCurrentSupply + quantityPrm <= premiumMaxSupply, "T4" ); standardCurrentSupply += quantityStd; largeCurrentSupply += quantityLrg; premiumCurrentSupply += quantityPrm; if (stake) { mintAndStake(quantityStd, quantityLrg, quantityPrm); } else { mint(quantityStd, quantityLrg, quantityPrm); } } /* * mint tokens and set their types * * @param quantityStd: standard tokens quantity * @param quantityLrg: large tokens quantity * @param quantityPrm: premium tokens quantity */ function mint(uint256 quantityStd, uint256 quantityLrg, uint256 quantityPrm) internal { for (uint256 index = 1; index <= quantityStd + quantityLrg + quantityPrm; index++) { if (index <= quantityPrm) { tokenType[totalSupply() + index] = 2; } else if (index <= quantityPrm + quantityLrg) { tokenType[totalSupply() + index] = 1; } // else token type is already 0 } _safeMint(msg.sender, quantityStd + quantityLrg + quantityPrm); } /* * mint tokens, set their types and stake them * * @param quantityStd: standard tokens quantity * @param quantityLrg: large tokens quantity * @param quantityPrm: premium tokens quantity */ function mintAndStake(uint256 quantityStd, uint256 quantityLrg, uint256 quantityPrm) internal { uint256 currTotalSupply = totalSupply(); _safeMint(address(staking), quantityStd + quantityLrg + quantityPrm); // mint to staking directly for (uint256 index = 1; index <= quantityStd + quantityLrg + quantityPrm; index++) { if (index <= quantityPrm) { tokenType[currTotalSupply + index] = 2; } else if (index <= quantityPrm + quantityLrg) { tokenType[currTotalSupply + index] = 1; } // else token type is already 0 staking.stakeFromNFTContract(currTotalSupply + index); // stake nft directly } } /* * Airdrop tokens to address * * @param to: recipient of the tokens * @param quantityStd: standard tokens quantity * @param quantityLrg: large tokens quantity * @param quantityPrm: premium tokens quantity * * Error messages: * - T4: "Collection's max supply reached" * - T5: "Max quantity per transaction reached" */ function airdrop( address to, uint256 quantityStd, uint256 quantityLrg, uint256 quantityPrm ) external onlyOwner { require(quantityStd + quantityLrg + quantityPrm <= 15, "T5"); require( standardCurrentSupply + quantityStd <= standardMaxSupply && largeCurrentSupply + quantityLrg <= largeMaxSupply && premiumCurrentSupply + quantityPrm <= premiumMaxSupply, "T4" ); standardCurrentSupply += quantityStd; largeCurrentSupply += quantityLrg; premiumCurrentSupply += quantityPrm; for (uint256 index = 1; index <= quantityStd + quantityLrg + quantityPrm; index++) { if (index <= quantityPrm) { tokenType[totalSupply() + index] = 2; } else if (index <= quantityPrm + quantityLrg) { tokenType[totalSupply() + index] = 1; } // else token type is already 0 } _safeMint(to, quantityStd + quantityLrg + quantityPrm); } /* * freemint tokens to address * * @param quantityStd: standard tokens quantity * @param quantityLrg: large tokens quantity * @param quantityPrm: premium tokens quantity * @param signature: admin signture to allow minting * * Error messages: * - T4: "Collection's max supply reached" * - T5: "Max quantity per transaction reached" */ function freeMint( uint256 quantityStd, uint256 quantityLrg, uint256 quantityPrm, bytes calldata signature ) external { require(quantityStd + quantityLrg + quantityPrm <= 15, "T5"); require( standardCurrentSupply + quantityStd <= standardMaxSupply && largeCurrentSupply + quantityLrg <= largeMaxSupply && premiumCurrentSupply + quantityPrm <= premiumMaxSupply, "T4" ); standardCurrentSupply += quantityStd; largeCurrentSupply += quantityLrg; premiumCurrentSupply += quantityPrm; // check signature uint256 nonce = nonces[msg.sender] + 1; require(hasRole(SIGNER_ROLE, ECDSALibrary.recover(abi.encodePacked(msg.sender, quantityStd, quantityLrg, quantityPrm, nonce), signature)), "N6"); nonces[msg.sender] += 1; mint(quantityStd, quantityLrg, quantityPrm); } /* * Burn a token from the previous launch and claim the same tokenId on the new collection * * @param tokenId: tokenId of the island * * Error messages: * - T16: "You don't own this token" * - T17: "That NFT was already claimed" */ function bridgeTokens(uint256 tokenId) external { require(previousLaunch.ownerOf(tokenId) == msg.sender, "T16"); require(ownerOf(tokenId) == address(this), "T17"); previousLaunch.transferFrom(msg.sender, address(this), tokenId); ITheNFTIslands(this).transferFrom(address(this), msg.sender, tokenId); tokenType[tokenId] = previousLaunch.getTokenType(tokenId); tokenContract.transfer(msg.sender, 5000 ether); } /* * get the island's size * * @param tokenId: tokenId of the island * * Error messages: * - I10: "tokenId doesn't exist" */ function getTokenType(uint256 tokenId) external view returns (uint256) { require(_exists(tokenId), "T10"); return tokenType[tokenId]; } /* * override of the baseURI to use private variable _baseTokenURI */ function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } /* * change base URI of tokens * * Error messages: * - T15 : "URI has been frozen" */ function setBaseURI(string calldata baseURI) external onlyOwner { require(!isUriFrozen, "T15"); _baseTokenURI = baseURI; } /* * freezes uri of tokens * * Error messages: * - T18 : "URI already frozen" */ function freezeMetadata() external onlyOwner { require(!isUriFrozen, "T18"); isUriFrozen = true; } /** * Contract level Metadata URI */ function contractURI() public view returns (string memory) { return string(abi.encodePacked(_baseTokenURI, "collection")); } /** * overrides start tokenId */ function _startTokenId() internal view virtual override returns (uint256) { return 1; } /** * Withdraw contract's funds * * Error messages: * - T11 : "No shares for this account" * - T12 : "No remaining payment" */ function withdraw(address account) external { require(shares[account] > 0, "T11"); uint256 totalReceived = address(this).balance + totalReleased; uint256 payment = (totalReceived * shares[account]) / totalShares - released[account]; released[account] = released[account] + payment; totalReleased = totalReleased + payment; require(payment > 0, "T12"); payable(account).transfer(payment); } function supportsInterface(bytes4 interfaceId) public view virtual override(IERC721A, ERC721A, AccessControl) returns (bool) { return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f || // ERC165 interface ID for ERC721Metadata. interfaceId == type(IAccessControl).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol) 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); _; } /** * @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 virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `_msgSender()` is missing `role`. * Overriding this function changes the behavior of the {onlyRole} modifier. * * Format of the revert message is described in {_checkRole}. * * _Available since v4.6._ */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @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 virtual { 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 virtual 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. * * May emit a {RoleGranted} event. */ 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. * * May emit a {RoleRevoked} event. */ 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 revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. * * May emit a {RoleRevoked} event. */ 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. * * May emit a {RoleGranted} event. * * [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}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ 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); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) 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 // OpenZeppelin Contracts v4.4.1 (utils/cryptography/ECDSA.sol) // Added recover for arbitrary bytes by Nefture pragma solidity 0.8.11; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSALibrary { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes calldata signature) public pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-recover} that receives unhashed bytes * * Added for Nefturians collection */ function recover(bytes calldata data, bytes calldata signature) public pure returns (address) { bytes32 hash = keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", keccak256(data))); return recover(hash, signature); } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import "./interfaces/IERC721A.sol"; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, * including the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at `_startTokenId()` * (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with `_mintERC2309`. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to `_mintERC2309` // is required to cause an overflow, which is unrealistic. uint256 private constant MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The tokenId of the next token to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // 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; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view virtual returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view virtual returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view virtual returns (uint64) { return uint64(_packedAddressData[owner] >> BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> BITPOS_EXTRA_DATA); } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, BITMASK_ADDRESS) // `owner | (block.timestamp << BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @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) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ""; } /** * @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, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << BITPOS_NEXT_INITIALIZED`. result := shl(BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), 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-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 { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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`), */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, "")`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ""); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 tokenId = startTokenId; uint256 end = startTokenId + quantity; do { emit Transfer(address(0), to, tokenId++); } while (tokenId < end); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { // Compute the slot. mstore(0x00, tokenId) mstore(0x20, tokenApprovalsPtr.slot) approvedAddressSlot := keccak256(0x00, 0x40) // Load the slot's value from storage. approvedAddress := sload(approvedAddressSlot) } } /** * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`. */ function _isOwnerOrApproved( address approvedAddress, address from, address msgSender ) private pure returns (bool result) { assembly { // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from := and(from, BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, BITMASK_ADDRESS) // `msgSender == from || msgSender == approvedAddress`. result := or(eq(msgSender, from), eq(msgSender, approvedAddress)) } } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (BITMASK_BURNED | BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << BITPOS_EXTRA_DATA; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * 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, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. * This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * 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, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. * This includes minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`. uint24 extraData; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // 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); // ============================== // IERC721 // ============================== /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must 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 Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================== // IERC721Metadata // ============================== /** * @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); // ============================== // IERC2309 // ============================== /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`, * as defined in the ERC2309 standard. See `_mintERC2309` for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
//SPDX-License-Identifier: Unlicense pragma solidity 0.8.11; import "./IERC721A.sol"; interface ITheNFTIslands is IERC721A { function getTokenType(uint256 tokenId) external view returns (uint256); }
//SPDX-License-Identifier: Unlicense pragma solidity 0.8.11; interface IStaking { function stakeMultipleTokens(uint256[] calldata tokenIds) external; function stakeFromNFTContract(uint256 tokenIds) external; }
//SPDX-License-Identifier: Unlicense pragma solidity 0.8.11; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/IAccessControl.sol"; interface IIslandToken is IERC20 { function mint(address to, uint256 amount) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": { "libraries/ECDSALibrary.sol": { "ECDSALibrary": "0x3af11ead20c39a4fd239d33bee39ffefa6910b6f" } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SIGNER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantityStd","type":"uint256"},{"internalType":"uint256","name":"quantityLrg","type":"uint256"},{"internalType":"uint256","name":"quantityPrm","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"bridgeTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentSupplies","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantityStd","type":"uint256"},{"internalType":"uint256","name":"quantityLrg","type":"uint256"},{"internalType":"uint256","name":"quantityPrm","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freezeMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint256","name":"tokenId","type":"uint256"}],"name":"getTokenType","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":[],"name":"isUriFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupplies","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"uint256","name":"quantityStd","type":"uint256"},{"internalType":"uint256","name":"quantityLrg","type":"uint256"},{"internalType":"uint256","name":"quantityPrm","type":"uint256"},{"internalType":"bool","name":"stake","type":"bool"},{"internalType":"bool","name":"bundle","type":"bool"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"presaleTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"previousLaunch","outputs":[{"internalType":"contract ITheNFTIslands","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"prices","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantityStd","type":"uint256"},{"internalType":"uint256","name":"quantityLrg","type":"uint256"},{"internalType":"uint256","name":"quantityPrm","type":"uint256"},{"internalType":"bool","name":"stake","type":"bool"},{"internalType":"bool","name":"bundle","type":"bool"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"reduceLargeMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"reducePremiumMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"reduceStandardMaxSupply","outputs":[],"stateMutability":"nonpayable","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":"contract IStaking","name":"_staking","type":"address"},{"internalType":"contract IIslandToken","name":"_tokenContract","type":"address"}],"name":"setContracts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPriceInWei","type":"uint256"}],"name":"setLargePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxStd","type":"uint256"},{"internalType":"uint256","name":"_maxLrg","type":"uint256"},{"internalType":"uint256","name":"_maxPrm","type":"uint256"}],"name":"setMaxPerTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPriceInWei","type":"uint256"}],"name":"setPremiumPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPriceInWei","type":"uint256"}],"name":"setStandardPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newTime","type":"uint256"}],"name":"setTimePresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newTime","type":"uint256"}],"name":"setTimePublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"staking","outputs":[{"internalType":"contract IStaking","name":"","type":"address"}],"stateMutability":"view","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":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040527ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe600f557fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60105567016345785d8a0000601155670214e8348c4f00006012556702c68af0bb140000601355610bae6014556109c46015556105dc6016556103e8601755604960185560286019556039601a556019601b556002601c556001601d556001601e55348015620000b857600080fd5b506040518060400160405280600f81526020017f546865204e46542049736c616e647300000000000000000000000000000000008152506040518060400160405280600381526020017f544e49000000000000000000000000000000000000000000000000000000000081525081600290805190602001906200013d929190620009f2565b50806003908051906020019062000156929190620009f2565b50620001676200053f60201b60201c565b60008190555050506200018f620001836200054860201b60201c565b6200055060201b60201c565b620001a46000801b336200061660201b60201c565b620001d67fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f70336200061660201b60201c565b61026c60236000736e5c5a1b0bb40e03f7294f80d63ad8dfbf42a61673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550609160236000738f5b57e579e2c1c496cd5edc45c9849115990aae73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506028602360007388ee4c10a7c7d869eb45eb1b4f9e7b9ca06fa2f473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550601e60236000738faf50473e546c3f9d7182afdadb8788c2085c8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600f6023600073830cbf2c819db0f56e61252e8d80c0778f58bbf373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600f602360007317b170226350e59640051144ceb2efe0979e468973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a6023600073c1c6c3744143c3f3a8573b74e527e58aa9bf830273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550607d602360007347dba548dfb5dac498480511badd8001a11e6d6e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506040518060600160405280602681526020016200699460269139600d9080519060200190620004d0929190620009f2565b5073c20ee631d4dd4d66fb536d1a415d8f7073b57689600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620005393060aa6200070860201b60201c565b62000b07565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200062882826200090760201b60201c565b620007045760016009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620006a96200054860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141562000776576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415620007b2576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b620007c760008483856200097260201b60201c565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555062000856836200083860008660006200097860201b60201c565b6200084985620009a860201b60201c565b17620009b860201b60201c565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106200087a57806000819055505050620009026000848385620009e360201b60201c565b505050565b60006009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b50505050565b60008060e883901c905060e862000997868684620009e960201b60201c565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60009392505050565b82805462000a009062000ad1565b90600052602060002090601f01602090048101928262000a24576000855562000a70565b82601f1062000a3f57805160ff191683800117855562000a70565b8280016001018555821562000a70579182015b8281111562000a6f57825182559160200191906001019062000a52565b5b50905062000a7f919062000a83565b5090565b5b8082111562000a9e57600081600090555060010162000a84565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000aea57607f821691505b6020821081141562000b015762000b0062000aa2565b5b50919050565b615e7d8062000b176000396000f3fe6080604052600436106103505760003560e01c806363892a77116101c6578063b88d4fde116100f7578063d8952a4911610095578063e63ab1e91161006f578063e63ab1e914610c1b578063e8a3d48514610c46578063e985e9c514610c71578063f2fde38b14610cae57610350565b8063d8952a4914610ba0578063da89f1e514610bc9578063e50ce00614610bf257610350565b8063d111515d116100d1578063d111515d14610b0a578063d3419bf314610b21578063d547741f14610b4e578063d7050da114610b7757610350565b8063b88d4fde14610a79578063c6e62e0b14610aa2578063c87b56dd14610acd57610350565b806380b443371161016457806395d89b411161013e57806395d89b41146109cf578063a1ebf35d146109fa578063a217fddf14610a25578063a22cb46514610a5057610350565b806380b443371461093c5780638da5cb5b1461096757806391d148541461099257610350565b806370e5a898116101a057806370e5a89814610882578063715018a6146108ab57806376aed2e1146108c25780637ecebe00146108ff57610350565b806363892a771461080057806366f762441461081c57806370a082311461084557610350565b80633b548933116102a05780634cf088d91161023e57806355f804b31161021857806355f804b3146107485780635cb11c6a146107715780635ec3cd541461079a5780636352211e146107c357610350565b80634cf088d9146106cb5780634e7be635146106f657806351cff8d91461071f57610350565b806348076aae1161027a57806348076aae1461062e57806349d429a01461065b5780634ac5c561146106845780634c0f38c2146106a057610350565b80633b548933146105ae57806342842e0e146105d757806347e54d6c1461060057610350565b80631ee793e71161030d5780632a958179116102e75780632a958179146105085780632f2ff15d1461053157806331194c371461055a57806336568abe1461058557610350565b80631ee793e71461047957806323b872dd146104a2578063248a9ca3146104cb57610350565b806301ffc9a71461035557806306fdde0314610392578063081812fc146103bd578063095ea7b3146103fa57806318160ddd146104235780631bdc608e1461044e575b600080fd5b34801561036157600080fd5b5061037c60048036038101906103779190614045565b610cd7565b604051610389919061408d565b60405180910390f35b34801561039e57600080fd5b506103a7610dd1565b6040516103b49190614141565b60405180910390f35b3480156103c957600080fd5b506103e460048036038101906103df9190614199565b610e63565b6040516103f19190614207565b60405180910390f35b34801561040657600080fd5b50610421600480360381019061041c919061424e565b610edf565b005b34801561042f57600080fd5b50610438611020565b604051610445919061429d565b60405180910390f35b34801561045a57600080fd5b50610463611037565b604051610470919061429d565b60405180910390f35b34801561048557600080fd5b506104a0600480360381019061049b91906142b8565b61103d565b005b3480156104ae57600080fd5b506104c960048036038101906104c4919061431f565b611246565b005b3480156104d757600080fd5b506104f260048036038101906104ed91906143a8565b61156b565b6040516104ff91906143e4565b60405180910390f35b34801561051457600080fd5b5061052f600480360381019061052a9190614199565b61158b565b005b34801561053d57600080fd5b50610558600480360381019061055391906143ff565b61159d565b005b34801561056657600080fd5b5061056f6115be565b60405161057c919061449e565b60405180910390f35b34801561059157600080fd5b506105ac60048036038101906105a791906143ff565b6115e4565b005b3480156105ba57600080fd5b506105d560048036038101906105d09190614199565b611667565b005b3480156105e357600080fd5b506105fe60048036038101906105f9919061431f565b611702565b005b34801561060c57600080fd5b50610615611722565b60405161062594939291906144b9565b60405180910390f35b34801561063a57600080fd5b50610643611742565b604051610652939291906144fe565b60405180910390f35b34801561066757600080fd5b50610682600480360381019061067d9190614199565b61175b565b005b61069e600480360381019061069991906145c6565b61176d565b005b3480156106ac57600080fd5b506106b561190f565b6040516106c2919061429d565b60405180910390f35b3480156106d757600080fd5b506106e0611933565b6040516106ed9190614696565b60405180910390f35b34801561070257600080fd5b5061071d60048036038101906107189190614199565b611959565b005b34801561072b57600080fd5b50610746600480360381019061074191906146b1565b6119f4565b005b34801561075457600080fd5b5061076f600480360381019061076a9190614734565b611c5f565b005b34801561077d57600080fd5b5061079860048036038101906107939190614199565b611ccd565b005b3480156107a657600080fd5b506107c160048036038101906107bc9190614781565b611cdf565b005b3480156107cf57600080fd5b506107ea60048036038101906107e59190614199565b611fd1565b6040516107f79190614207565b60405180910390f35b61081a60048036038101906108159190614809565b611fe3565b005b34801561082857600080fd5b50610843600480360381019061083e9190614199565b61209d565b005b34801561085157600080fd5b5061086c600480360381019061086791906146b1565b6120af565b604051610879919061429d565b60405180910390f35b34801561088e57600080fd5b506108a960048036038101906108a49190614199565b612168565b005b3480156108b757600080fd5b506108c0612548565b005b3480156108ce57600080fd5b506108e960048036038101906108e49190614199565b61255c565b6040516108f6919061429d565b60405180910390f35b34801561090b57600080fd5b50610926600480360381019061092191906146b1565b6125c1565b604051610933919061429d565b60405180910390f35b34801561094857600080fd5b506109516125d8565b60405161095e919061408d565b60405180910390f35b34801561097357600080fd5b5061097c6125eb565b6040516109899190614207565b60405180910390f35b34801561099e57600080fd5b506109b960048036038101906109b491906143ff565b612615565b6040516109c6919061408d565b60405180910390f35b3480156109db57600080fd5b506109e4612680565b6040516109f19190614141565b60405180910390f35b348015610a0657600080fd5b50610a0f612712565b604051610a1c91906143e4565b60405180910390f35b348015610a3157600080fd5b50610a3a612736565b604051610a4791906143e4565b60405180910390f35b348015610a5c57600080fd5b50610a776004803603810190610a729190614884565b61273d565b005b348015610a8557600080fd5b50610aa06004803603810190610a9b91906149f4565b6128b5565b005b348015610aae57600080fd5b50610ab7612928565b604051610ac4919061429d565b60405180910390f35b348015610ad957600080fd5b50610af46004803603810190610aef9190614199565b61292e565b604051610b019190614141565b60405180910390f35b348015610b1657600080fd5b50610b1f6129cd565b005b348015610b2d57600080fd5b50610b36612a42565b604051610b45939291906144fe565b60405180910390f35b348015610b5a57600080fd5b50610b756004803603810190610b7091906143ff565b612a5b565b005b348015610b8357600080fd5b50610b9e6004803603810190610b999190614199565b612a7c565b005b348015610bac57600080fd5b50610bc76004803603810190610bc29190614af3565b612a8e565b005b348015610bd557600080fd5b50610bf06004803603810190610beb9190614b33565b612b1c565b005b348015610bfe57600080fd5b50610c196004803603810190610c149190614199565b612b3e565b005b348015610c2757600080fd5b50610c30612bd9565b604051610c3d91906143e4565b60405180910390f35b348015610c5257600080fd5b50610c5b612bfd565b604051610c689190614141565b60405180910390f35b348015610c7d57600080fd5b50610c986004803603810190610c939190614b86565b612c25565b604051610ca5919061408d565b60405180910390f35b348015610cba57600080fd5b50610cd56004803603810190610cd091906146b1565b612cb9565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610d3257506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610d625750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610dca57507f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610de090614bf5565b80601f0160208091040260200160405190810160405280929190818152602001828054610e0c90614bf5565b8015610e595780601f10610e2e57610100808354040283529160200191610e59565b820191906000526020600020905b815481529060010190602001808311610e3c57829003601f168201915b5050505050905090565b6000610e6e82612d3d565b610ea4576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610eea82611fd1565b90508073ffffffffffffffffffffffffffffffffffffffff16610f0b612d9c565b73ffffffffffffffffffffffffffffffffffffffff1614610f6e57610f3781610f32612d9c565b612c25565b610f6d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061102a612da4565b6001546000540303905090565b60105481565b611045612dad565b600f8183856110549190614c56565b61105e9190614c56565b111561109f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109690614cf8565b60405180910390fd5b601454836018546110b09190614c56565b111580156110cd5750601554826019546110ca9190614c56565b11155b80156110e8575060165481601a546110e59190614c56565b11155b611127576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111e90614d64565b60405180910390fd5b82601860008282546111399190614c56565b9250508190555081601960008282546111529190614c56565b9250508190555080601a600082825461116b9190614c56565b925050819055506000600190505b8183856111869190614c56565b6111909190614c56565b811161121f578181116111cd576002601f6000836111ac611020565b6111b69190614c56565b81526020019081526020016000208190555061120c565b82826111d99190614c56565b811161120b576001601f6000836111ee611020565b6111f89190614c56565b8152602001908152602001600020819055505b5b808061121790614d84565b915050611179565b50611240848284866112319190614c56565b61123b9190614c56565b612e2b565b50505050565b600061125182612e49565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146112b8576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806112c484612f17565b915091506112da81876112d5612d9c565b612f39565b611326576112ef866112ea612d9c565b612c25565b611325576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561138d576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61139a8686866001612f7d565b80156113a557600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506114738561144f888887612f83565b7c020000000000000000000000000000000000000000000000000000000017612fab565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841614156114fb5760006001850190506000600460008381526020019081526020016000205414156114f95760005481146114f8578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46115638686866001612fd6565b505050505050565b600060096000838152602001908152602001600020600101549050919050565b611593612dad565b8060138190555050565b6115a68261156b565b6115af81612fdc565b6115b98383612ff0565b505050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6115ec6130d1565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611659576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165090614e3f565b60405180910390fd5b61166382826130d9565b5050565b61166f612dad565b60165481106116b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116aa90614eab565b60405180910390fd5b601a548110156116f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ef90614f17565b60405180910390fd5b8060168190555050565b61171d838383604051806020016040528060008152506128b5565b505050565b600080600080601854601954601a54601b54935093509350935090919293565b6000806000601454601554601654925092509250909192565b611763612dad565b8060118190555050565b600f544210156117b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a990614f83565b60405180910390fd5b60105442106117f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ed90614fef565b60405180910390fd5b6118ba7fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f70733af11ead20c39a4fd239d33bee39ffefa6910b6f631ed13d1b336040516020016118459190615057565b60405160208183030381529060405286866040518463ffffffff1660e01b8152600401611874939291906150f4565b602060405180830381865af4158015611891573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118b59190615142565b612615565b6118f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f0906151bb565b60405180910390fd5b61190687878787876131bb565b50505050505050565b60006014546015546016546119249190614c56565b61192e9190614c56565b905090565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611961612dad565b60145481106119a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199c90614eab565b60405180910390fd5b6018548110156119ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e190614f17565b60405180910390fd5b8060148190555050565b6000602360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611a76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6d90615227565b60405180910390fd5b600060215447611a869190614c56565b90506000602260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546103e8602360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484611b189190615247565b611b2291906152d0565b611b2c9190615301565b905080602260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b799190614c56565b602260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080602154611bca9190614c56565b60218190555060008111611c13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0a90615381565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611c59573d6000803e3d6000fd5b50505050565b611c67612dad565b600e60009054906101000a900460ff1615611cb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cae906153ed565b60405180910390fd5b8181600d9190611cc8929190613f36565b505050565b611cd5612dad565b8060128190555050565b600f838587611cee9190614c56565b611cf89190614c56565b1115611d39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3090614cf8565b60405180910390fd5b60145485601854611d4a9190614c56565b11158015611d67575060155484601954611d649190614c56565b11155b8015611d82575060165483601a54611d7f9190614c56565b11155b611dc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db890614d64565b60405180910390fd5b8460186000828254611dd39190614c56565b925050819055508360196000828254611dec9190614c56565b9250508190555082601a6000828254611e059190614c56565b9250508190555060006001602060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611e5a9190614c56565b9050611f287fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f70733af11ead20c39a4fd239d33bee39ffefa6910b6f631ed13d1b338a8a8a88604051602001611eb395949392919061542e565b60405160208183030381529060405287876040518463ffffffff1660e01b8152600401611ee2939291906150f4565b602060405180830381865af4158015611eff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f239190615142565b612615565b611f67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5e906154d9565b60405180910390fd5b6001602060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fb79190614c56565b92505081905550611fc9868686613471565b505050505050565b6000611fdc82612e49565b9050919050565b601054421015612028576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201f90615545565b60405180910390fd5b601c54851115801561203c5750601d548411155b801561204a5750601e548311155b612089576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208090614cf8565b60405180910390fd5b61209685858585856131bb565b5050505050565b6120a5612dad565b8060108190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612117576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b3373ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016121da919061429d565b602060405180830381865afa1580156121f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061221b9190615142565b73ffffffffffffffffffffffffffffffffffffffff1614612271576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612268906155b1565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff1661229182611fd1565b73ffffffffffffffffffffffffffffffffffffffff16146122e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122de9061561d565b60405180910390fd5b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b81526004016123469392919061563d565b600060405180830381600087803b15801561236057600080fd5b505af1158015612374573d6000803e3d6000fd5b505050503073ffffffffffffffffffffffffffffffffffffffff166323b872dd3033846040518463ffffffff1660e01b81526004016123b59392919061563d565b600060405180830381600087803b1580156123cf57600080fd5b505af11580156123e3573d6000803e3d6000fd5b50505050600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166376aed2e1826040518263ffffffff1660e01b8152600401612442919061429d565b602060405180830381865afa15801561245f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124839190615689565b601f600083815260200190815260200160002081905550600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb3369010f0cf064dd592000006040518363ffffffff1660e01b81526004016125019291906156f1565b6020604051808303816000875af1158015612520573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612544919061572f565b5050565b612550612dad565b61255a6000613544565b565b600061256782612d3d565b6125a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259d906157a8565b60405180910390fd5b601f6000838152602001908152602001600020549050919050565b602080528060005260406000206000915090505481565b600e60009054906101000a900460ff1681565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606003805461268f90614bf5565b80601f01602080910402602001604051908101604052809291908181526020018280546126bb90614bf5565b80156127085780601f106126dd57610100808354040283529160200191612708565b820191906000526020600020905b8154815290600101906020018083116126eb57829003601f168201915b5050505050905090565b7fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f7081565b6000801b81565b612745612d9c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156127aa576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006127b7612d9c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612864612d9c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516128a9919061408d565b60405180910390a35050565b6128c0848484611246565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612922576128eb8484848461360a565b612921576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600f5481565b606061293982612d3d565b61296f576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061297961375b565b905060008151141561299a57604051806020016040528060008152506129c5565b806129a4846137ed565b6040516020016129b5929190615804565b6040516020818303038152906040525b915050919050565b6129d5612dad565b600e60009054906101000a900460ff1615612a25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1c90615874565b60405180910390fd5b6001600e60006101000a81548160ff021916908315150217905550565b6000806000601154601254601354925092509250909192565b612a648261156b565b612a6d81612fdc565b612a7783836130d9565b505050565b612a84612dad565b80600f8190555050565b612a96612dad565b81600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b612b24612dad565b82601c8190555081601d8190555080601e81905550505050565b612b46612dad565b6015548110612b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8190614eab565b60405180910390fd5b601954811015612bcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bc690614f17565b60405180910390fd5b8060158190555050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6060600d604051602001612c119190615974565b604051602081830303815290604052905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612cc1612dad565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612d31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d2890615a08565b60405180910390fd5b612d3a81613544565b50565b600081612d48612da4565b11158015612d57575060005482105b8015612d95575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b612db56130d1565b73ffffffffffffffffffffffffffffffffffffffff16612dd36125eb565b73ffffffffffffffffffffffffffffffffffffffff1614612e29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e2090615a74565b60405180910390fd5b565b612e45828260405180602001604052806000815250613847565b5050565b60008082905080612e58612da4565b11612ee057600054811015612edf5760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612edd575b6000811415612ed3576004600083600190039350838152602001908152602001600020549050612ea8565b8092505050612f12565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612f9a8686846138e4565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b612fed81612fe86130d1565b6138ed565b50565b612ffa8282612615565b6130cd5760016009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506130726130d1565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600033905090565b6130e38282612615565b156131b75760006009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061315c6130d1565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000811561328957601754601b5410613209576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161320090615ae0565b60405180910390fd5b6001861480156132195750600185145b80156132255750600184145b613264576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161325b90615b4c565b60405180910390fd5b66b1a2bc2ec5000090506001601b60008282546132819190614c56565b925050819055505b80846013546132989190615247565b866012546132a69190615247565b886011546132b49190615247565b6132be9190614c56565b6132c89190614c56565b6132d29190615301565b3414613313576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161330a90615bb8565b60405180910390fd5b601c5486111580156133275750601d548511155b80156133355750601e548411155b613374576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161336b90614cf8565b60405180910390fd5b601454866018546133859190614c56565b111580156133a257506015548560195461339f9190614c56565b11155b80156133bd575060165484601a546133ba9190614c56565b11155b6133fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133f390614d64565b60405180910390fd5b856018600082825461340e9190614c56565b9250508190555084601960008282546134279190614c56565b9250508190555083601a60008282546134409190614c56565b92505081905550821561345d5761345886868661398a565b613469565b613468868686613471565b5b505050505050565b6000600190505b8183856134859190614c56565b61348f9190614c56565b811161351e578181116134cc576002601f6000836134ab611020565b6134b59190614c56565b81526020019081526020016000208190555061350b565b82826134d89190614c56565b811161350a576001601f6000836134ed611020565b6134f79190614c56565b8152602001908152602001600020819055505b5b808061351690614d84565b915050613478565b5061353f338284866135309190614c56565b61353a9190614c56565b612e2b565b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613630612d9c565b8786866040518563ffffffff1660e01b81526004016136529493929190615c22565b6020604051808303816000875af192505050801561368e57506040513d601f19601f8201168201806040525081019061368b9190615c83565b60015b613708573d80600081146136be576040519150601f19603f3d011682016040523d82523d6000602084013e6136c3565b606091505b50600081511415613700576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600d805461376a90614bf5565b80601f016020809104026020016040519081016040528092919081815260200182805461379690614bf5565b80156137e35780601f106137b8576101008083540402835291602001916137e3565b820191906000526020600020905b8154815290600101906020018083116137c657829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b801561383357600183039250600a81066030018353600a81049050613813565b508181036020830392508083525050919050565b6138518383613b16565b60008373ffffffffffffffffffffffffffffffffffffffff163b146138df57600080549050600083820390505b613891600086838060010194508661360a565b6138c7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061387e5781600054146138dc57600080fd5b50505b505050565b60009392505050565b6138f78282612615565b6139865761391c8173ffffffffffffffffffffffffffffffffffffffff166014613cea565b61392a8360001c6020613cea565b60405160200161393b929190615d48565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161397d9190614141565b60405180910390fd5b5050565b6000613994611020565b90506139d8600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168385876139c99190614c56565b6139d39190614c56565b612e2b565b6000600190505b8284866139ec9190614c56565b6139f69190614c56565b8111613b0f57828111613a2c576002601f60008385613a159190614c56565b815260200190815260200160002081905550613a64565b8383613a389190614c56565b8111613a63576001601f60008385613a509190614c56565b8152602001908152602001600020819055505b5b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ef07137f8284613aae9190614c56565b6040518263ffffffff1660e01b8152600401613aca919061429d565b600060405180830381600087803b158015613ae457600080fd5b505af1158015613af8573d6000803e3d6000fd5b505050508080613b0790614d84565b9150506139df565b5050505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613b83576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415613bbe576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613bcb6000848385612f7d565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550613c4283613c336000866000612f83565b613c3c85613f26565b17612fab565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613c6657806000819055505050613ce56000848385612fd6565b505050565b606060006002836002613cfd9190615247565b613d079190614c56565b67ffffffffffffffff811115613d2057613d1f6148c9565b5b6040519080825280601f01601f191660200182016040528015613d525781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110613d8a57613d89615d82565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110613dee57613ded615d82565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002613e2e9190615247565b613e389190614c56565b90505b6001811115613ed8577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613e7a57613e79615d82565b5b1a60f81b828281518110613e9157613e90615d82565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080613ed190615db1565b9050613e3b565b5060008414613f1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613f1390615e27565b60405180910390fd5b8091505092915050565b60006001821460e11b9050919050565b828054613f4290614bf5565b90600052602060002090601f016020900481019282613f645760008555613fab565b82601f10613f7d57803560ff1916838001178555613fab565b82800160010185558215613fab579182015b82811115613faa578235825591602001919060010190613f8f565b5b509050613fb89190613fbc565b5090565b5b80821115613fd5576000816000905550600101613fbd565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61402281613fed565b811461402d57600080fd5b50565b60008135905061403f81614019565b92915050565b60006020828403121561405b5761405a613fe3565b5b600061406984828501614030565b91505092915050565b60008115159050919050565b61408781614072565b82525050565b60006020820190506140a2600083018461407e565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156140e25780820151818401526020810190506140c7565b838111156140f1576000848401525b50505050565b6000601f19601f8301169050919050565b6000614113826140a8565b61411d81856140b3565b935061412d8185602086016140c4565b614136816140f7565b840191505092915050565b6000602082019050818103600083015261415b8184614108565b905092915050565b6000819050919050565b61417681614163565b811461418157600080fd5b50565b6000813590506141938161416d565b92915050565b6000602082840312156141af576141ae613fe3565b5b60006141bd84828501614184565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006141f1826141c6565b9050919050565b614201816141e6565b82525050565b600060208201905061421c60008301846141f8565b92915050565b61422b816141e6565b811461423657600080fd5b50565b60008135905061424881614222565b92915050565b6000806040838503121561426557614264613fe3565b5b600061427385828601614239565b925050602061428485828601614184565b9150509250929050565b61429781614163565b82525050565b60006020820190506142b2600083018461428e565b92915050565b600080600080608085870312156142d2576142d1613fe3565b5b60006142e087828801614239565b94505060206142f187828801614184565b935050604061430287828801614184565b925050606061431387828801614184565b91505092959194509250565b60008060006060848603121561433857614337613fe3565b5b600061434686828701614239565b935050602061435786828701614239565b925050604061436886828701614184565b9150509250925092565b6000819050919050565b61438581614372565b811461439057600080fd5b50565b6000813590506143a28161437c565b92915050565b6000602082840312156143be576143bd613fe3565b5b60006143cc84828501614393565b91505092915050565b6143de81614372565b82525050565b60006020820190506143f960008301846143d5565b92915050565b6000806040838503121561441657614415613fe3565b5b600061442485828601614393565b925050602061443585828601614239565b9150509250929050565b6000819050919050565b600061446461445f61445a846141c6565b61443f565b6141c6565b9050919050565b600061447682614449565b9050919050565b60006144888261446b565b9050919050565b6144988161447d565b82525050565b60006020820190506144b3600083018461448f565b92915050565b60006080820190506144ce600083018761428e565b6144db602083018661428e565b6144e8604083018561428e565b6144f5606083018461428e565b95945050505050565b6000606082019050614513600083018661428e565b614520602083018561428e565b61452d604083018461428e565b949350505050565b61453e81614072565b811461454957600080fd5b50565b60008135905061455b81614535565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261458657614585614561565b5b8235905067ffffffffffffffff8111156145a3576145a2614566565b5b6020830191508360018202830111156145bf576145be61456b565b5b9250929050565b600080600080600080600060c0888a0312156145e5576145e4613fe3565b5b60006145f38a828b01614184565b97505060206146048a828b01614184565b96505060406146158a828b01614184565b95505060606146268a828b0161454c565b94505060806146378a828b0161454c565b93505060a088013567ffffffffffffffff81111561465857614657613fe8565b5b6146648a828b01614570565b925092505092959891949750929550565b60006146808261446b565b9050919050565b61469081614675565b82525050565b60006020820190506146ab6000830184614687565b92915050565b6000602082840312156146c7576146c6613fe3565b5b60006146d584828501614239565b91505092915050565b60008083601f8401126146f4576146f3614561565b5b8235905067ffffffffffffffff81111561471157614710614566565b5b60208301915083600182028301111561472d5761472c61456b565b5b9250929050565b6000806020838503121561474b5761474a613fe3565b5b600083013567ffffffffffffffff81111561476957614768613fe8565b5b614775858286016146de565b92509250509250929050565b60008060008060006080868803121561479d5761479c613fe3565b5b60006147ab88828901614184565b95505060206147bc88828901614184565b94505060406147cd88828901614184565b935050606086013567ffffffffffffffff8111156147ee576147ed613fe8565b5b6147fa88828901614570565b92509250509295509295909350565b600080600080600060a0868803121561482557614824613fe3565b5b600061483388828901614184565b955050602061484488828901614184565b945050604061485588828901614184565b93505060606148668882890161454c565b92505060806148778882890161454c565b9150509295509295909350565b6000806040838503121561489b5761489a613fe3565b5b60006148a985828601614239565b92505060206148ba8582860161454c565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b614901826140f7565b810181811067ffffffffffffffff821117156149205761491f6148c9565b5b80604052505050565b6000614933613fd9565b905061493f82826148f8565b919050565b600067ffffffffffffffff82111561495f5761495e6148c9565b5b614968826140f7565b9050602081019050919050565b82818337600083830152505050565b600061499761499284614944565b614929565b9050828152602081018484840111156149b3576149b26148c4565b5b6149be848285614975565b509392505050565b600082601f8301126149db576149da614561565b5b81356149eb848260208601614984565b91505092915050565b60008060008060808587031215614a0e57614a0d613fe3565b5b6000614a1c87828801614239565b9450506020614a2d87828801614239565b9350506040614a3e87828801614184565b925050606085013567ffffffffffffffff811115614a5f57614a5e613fe8565b5b614a6b878288016149c6565b91505092959194509250565b6000614a82826141e6565b9050919050565b614a9281614a77565b8114614a9d57600080fd5b50565b600081359050614aaf81614a89565b92915050565b6000614ac0826141e6565b9050919050565b614ad081614ab5565b8114614adb57600080fd5b50565b600081359050614aed81614ac7565b92915050565b60008060408385031215614b0a57614b09613fe3565b5b6000614b1885828601614aa0565b9250506020614b2985828601614ade565b9150509250929050565b600080600060608486031215614b4c57614b4b613fe3565b5b6000614b5a86828701614184565b9350506020614b6b86828701614184565b9250506040614b7c86828701614184565b9150509250925092565b60008060408385031215614b9d57614b9c613fe3565b5b6000614bab85828601614239565b9250506020614bbc85828601614239565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614c0d57607f821691505b60208210811415614c2157614c20614bc6565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614c6182614163565b9150614c6c83614163565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614ca157614ca0614c27565b5b828201905092915050565b7f5435000000000000000000000000000000000000000000000000000000000000600082015250565b6000614ce26002836140b3565b9150614ced82614cac565b602082019050919050565b60006020820190508181036000830152614d1181614cd5565b9050919050565b7f5434000000000000000000000000000000000000000000000000000000000000600082015250565b6000614d4e6002836140b3565b9150614d5982614d18565b602082019050919050565b60006020820190508181036000830152614d7d81614d41565b9050919050565b6000614d8f82614163565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614dc257614dc1614c27565b5b600182019050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000614e29602f836140b3565b9150614e3482614dcd565b604082019050919050565b60006020820190508181036000830152614e5881614e1c565b9050919050565b7f5430000000000000000000000000000000000000000000000000000000000000600082015250565b6000614e956002836140b3565b9150614ea082614e5f565b602082019050919050565b60006020820190508181036000830152614ec481614e88565b9050919050565b7f5431000000000000000000000000000000000000000000000000000000000000600082015250565b6000614f016002836140b3565b9150614f0c82614ecb565b602082019050919050565b60006020820190508181036000830152614f3081614ef4565b9050919050565b7f5436000000000000000000000000000000000000000000000000000000000000600082015250565b6000614f6d6002836140b3565b9150614f7882614f37565b602082019050919050565b60006020820190508181036000830152614f9c81614f60565b9050919050565b7f5437000000000000000000000000000000000000000000000000000000000000600082015250565b6000614fd96002836140b3565b9150614fe482614fa3565b602082019050919050565b6000602082019050818103600083015261500881614fcc565b9050919050565b60008160601b9050919050565b60006150278261500f565b9050919050565b60006150398261501c565b9050919050565b61505161504c826141e6565b61502e565b82525050565b60006150638284615040565b60148201915081905092915050565b600081519050919050565b600082825260208201905092915050565b600061509982615072565b6150a3818561507d565b93506150b38185602086016140c4565b6150bc816140f7565b840191505092915050565b60006150d3838561507d565b93506150e0838584614975565b6150e9836140f7565b840190509392505050565b6000604082019050818103600083015261510e818661508e565b905081810360208301526151238184866150c7565b9050949350505050565b60008151905061513c81614222565b92915050565b60006020828403121561515857615157613fe3565b5b60006151668482850161512d565b91505092915050565b7f5439000000000000000000000000000000000000000000000000000000000000600082015250565b60006151a56002836140b3565b91506151b08261516f565b602082019050919050565b600060208201905081810360008301526151d481615198565b9050919050565b7f5431310000000000000000000000000000000000000000000000000000000000600082015250565b60006152116003836140b3565b915061521c826151db565b602082019050919050565b6000602082019050818103600083015261524081615204565b9050919050565b600061525282614163565b915061525d83614163565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561529657615295614c27565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006152db82614163565b91506152e683614163565b9250826152f6576152f56152a1565b5b828204905092915050565b600061530c82614163565b915061531783614163565b92508282101561532a57615329614c27565b5b828203905092915050565b7f5431320000000000000000000000000000000000000000000000000000000000600082015250565b600061536b6003836140b3565b915061537682615335565b602082019050919050565b6000602082019050818103600083015261539a8161535e565b9050919050565b7f5431350000000000000000000000000000000000000000000000000000000000600082015250565b60006153d76003836140b3565b91506153e2826153a1565b602082019050919050565b60006020820190508181036000830152615406816153ca565b9050919050565b6000819050919050565b61542861542382614163565b61540d565b82525050565b600061543a8288615040565b60148201915061544a8287615417565b60208201915061545a8286615417565b60208201915061546a8285615417565b60208201915061547a8284615417565b6020820191508190509695505050505050565b7f4e36000000000000000000000000000000000000000000000000000000000000600082015250565b60006154c36002836140b3565b91506154ce8261548d565b602082019050919050565b600060208201905081810360008301526154f2816154b6565b9050919050565b7f5433000000000000000000000000000000000000000000000000000000000000600082015250565b600061552f6002836140b3565b915061553a826154f9565b602082019050919050565b6000602082019050818103600083015261555e81615522565b9050919050565b7f5431360000000000000000000000000000000000000000000000000000000000600082015250565b600061559b6003836140b3565b91506155a682615565565b602082019050919050565b600060208201905081810360008301526155ca8161558e565b9050919050565b7f5431370000000000000000000000000000000000000000000000000000000000600082015250565b60006156076003836140b3565b9150615612826155d1565b602082019050919050565b60006020820190508181036000830152615636816155fa565b9050919050565b600060608201905061565260008301866141f8565b61565f60208301856141f8565b61566c604083018461428e565b949350505050565b6000815190506156838161416d565b92915050565b60006020828403121561569f5761569e613fe3565b5b60006156ad84828501615674565b91505092915050565b6000819050919050565b60006156db6156d66156d1846156b6565b61443f565b614163565b9050919050565b6156eb816156c0565b82525050565b600060408201905061570660008301856141f8565b61571360208301846156e2565b9392505050565b60008151905061572981614535565b92915050565b60006020828403121561574557615744613fe3565b5b60006157538482850161571a565b91505092915050565b7f5431300000000000000000000000000000000000000000000000000000000000600082015250565b60006157926003836140b3565b915061579d8261575c565b602082019050919050565b600060208201905081810360008301526157c181615785565b9050919050565b600081905092915050565b60006157de826140a8565b6157e881856157c8565b93506157f88185602086016140c4565b80840191505092915050565b600061581082856157d3565b915061581c82846157d3565b91508190509392505050565b7f5431380000000000000000000000000000000000000000000000000000000000600082015250565b600061585e6003836140b3565b915061586982615828565b602082019050919050565b6000602082019050818103600083015261588d81615851565b9050919050565b60008190508160005260206000209050919050565b600081546158b681614bf5565b6158c081866157c8565b945060018216600081146158db57600181146158ec5761591f565b60ff1983168652818601935061591f565b6158f585615894565b60005b83811015615917578154818901526001820191506020810190506158f8565b838801955050505b50505092915050565b7f636f6c6c656374696f6e00000000000000000000000000000000000000000000600082015250565b600061595e600a836157c8565b915061596982615928565b600a82019050919050565b600061598082846158a9565b915061598b82615951565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006159f26026836140b3565b91506159fd82615996565b604082019050919050565b60006020820190508181036000830152615a21816159e5565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615a5e6020836140b3565b9150615a6982615a28565b602082019050919050565b60006020820190508181036000830152615a8d81615a51565b9050919050565b7f5438000000000000000000000000000000000000000000000000000000000000600082015250565b6000615aca6002836140b3565b9150615ad582615a94565b602082019050919050565b60006020820190508181036000830152615af981615abd565b9050919050565b7f5431340000000000000000000000000000000000000000000000000000000000600082015250565b6000615b366003836140b3565b9150615b4182615b00565b602082019050919050565b60006020820190508181036000830152615b6581615b29565b9050919050565b7f5432000000000000000000000000000000000000000000000000000000000000600082015250565b6000615ba26002836140b3565b9150615bad82615b6c565b602082019050919050565b60006020820190508181036000830152615bd181615b95565b9050919050565b600082825260208201905092915050565b6000615bf482615072565b615bfe8185615bd8565b9350615c0e8185602086016140c4565b615c17816140f7565b840191505092915050565b6000608082019050615c3760008301876141f8565b615c4460208301866141f8565b615c51604083018561428e565b8181036060830152615c638184615be9565b905095945050505050565b600081519050615c7d81614019565b92915050565b600060208284031215615c9957615c98613fe3565b5b6000615ca784828501615c6e565b91505092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000615ce66017836157c8565b9150615cf182615cb0565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000615d326011836157c8565b9150615d3d82615cfc565b601182019050919050565b6000615d5382615cd9565b9150615d5f82856157d3565b9150615d6a82615d25565b9150615d7682846157d3565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000615dbc82614163565b91506000821415615dd057615dcf614c27565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000615e116020836140b3565b9150615e1c82615ddb565b602082019050919050565b60006020820190508181036000830152615e4081615e04565b905091905056fea264697066735822122069a9aff349911ddde67d27e1e6127c0f4cfbaa4f0f99e7d36d223977d849580e64736f6c634300080b003368747470733a2f2f6170692e7468656e667469736c616e64732e696f2f6d657461646174612f
Deployed Bytecode
0x6080604052600436106103505760003560e01c806363892a77116101c6578063b88d4fde116100f7578063d8952a4911610095578063e63ab1e91161006f578063e63ab1e914610c1b578063e8a3d48514610c46578063e985e9c514610c71578063f2fde38b14610cae57610350565b8063d8952a4914610ba0578063da89f1e514610bc9578063e50ce00614610bf257610350565b8063d111515d116100d1578063d111515d14610b0a578063d3419bf314610b21578063d547741f14610b4e578063d7050da114610b7757610350565b8063b88d4fde14610a79578063c6e62e0b14610aa2578063c87b56dd14610acd57610350565b806380b443371161016457806395d89b411161013e57806395d89b41146109cf578063a1ebf35d146109fa578063a217fddf14610a25578063a22cb46514610a5057610350565b806380b443371461093c5780638da5cb5b1461096757806391d148541461099257610350565b806370e5a898116101a057806370e5a89814610882578063715018a6146108ab57806376aed2e1146108c25780637ecebe00146108ff57610350565b806363892a771461080057806366f762441461081c57806370a082311461084557610350565b80633b548933116102a05780634cf088d91161023e57806355f804b31161021857806355f804b3146107485780635cb11c6a146107715780635ec3cd541461079a5780636352211e146107c357610350565b80634cf088d9146106cb5780634e7be635146106f657806351cff8d91461071f57610350565b806348076aae1161027a57806348076aae1461062e57806349d429a01461065b5780634ac5c561146106845780634c0f38c2146106a057610350565b80633b548933146105ae57806342842e0e146105d757806347e54d6c1461060057610350565b80631ee793e71161030d5780632a958179116102e75780632a958179146105085780632f2ff15d1461053157806331194c371461055a57806336568abe1461058557610350565b80631ee793e71461047957806323b872dd146104a2578063248a9ca3146104cb57610350565b806301ffc9a71461035557806306fdde0314610392578063081812fc146103bd578063095ea7b3146103fa57806318160ddd146104235780631bdc608e1461044e575b600080fd5b34801561036157600080fd5b5061037c60048036038101906103779190614045565b610cd7565b604051610389919061408d565b60405180910390f35b34801561039e57600080fd5b506103a7610dd1565b6040516103b49190614141565b60405180910390f35b3480156103c957600080fd5b506103e460048036038101906103df9190614199565b610e63565b6040516103f19190614207565b60405180910390f35b34801561040657600080fd5b50610421600480360381019061041c919061424e565b610edf565b005b34801561042f57600080fd5b50610438611020565b604051610445919061429d565b60405180910390f35b34801561045a57600080fd5b50610463611037565b604051610470919061429d565b60405180910390f35b34801561048557600080fd5b506104a0600480360381019061049b91906142b8565b61103d565b005b3480156104ae57600080fd5b506104c960048036038101906104c4919061431f565b611246565b005b3480156104d757600080fd5b506104f260048036038101906104ed91906143a8565b61156b565b6040516104ff91906143e4565b60405180910390f35b34801561051457600080fd5b5061052f600480360381019061052a9190614199565b61158b565b005b34801561053d57600080fd5b50610558600480360381019061055391906143ff565b61159d565b005b34801561056657600080fd5b5061056f6115be565b60405161057c919061449e565b60405180910390f35b34801561059157600080fd5b506105ac60048036038101906105a791906143ff565b6115e4565b005b3480156105ba57600080fd5b506105d560048036038101906105d09190614199565b611667565b005b3480156105e357600080fd5b506105fe60048036038101906105f9919061431f565b611702565b005b34801561060c57600080fd5b50610615611722565b60405161062594939291906144b9565b60405180910390f35b34801561063a57600080fd5b50610643611742565b604051610652939291906144fe565b60405180910390f35b34801561066757600080fd5b50610682600480360381019061067d9190614199565b61175b565b005b61069e600480360381019061069991906145c6565b61176d565b005b3480156106ac57600080fd5b506106b561190f565b6040516106c2919061429d565b60405180910390f35b3480156106d757600080fd5b506106e0611933565b6040516106ed9190614696565b60405180910390f35b34801561070257600080fd5b5061071d60048036038101906107189190614199565b611959565b005b34801561072b57600080fd5b50610746600480360381019061074191906146b1565b6119f4565b005b34801561075457600080fd5b5061076f600480360381019061076a9190614734565b611c5f565b005b34801561077d57600080fd5b5061079860048036038101906107939190614199565b611ccd565b005b3480156107a657600080fd5b506107c160048036038101906107bc9190614781565b611cdf565b005b3480156107cf57600080fd5b506107ea60048036038101906107e59190614199565b611fd1565b6040516107f79190614207565b60405180910390f35b61081a60048036038101906108159190614809565b611fe3565b005b34801561082857600080fd5b50610843600480360381019061083e9190614199565b61209d565b005b34801561085157600080fd5b5061086c600480360381019061086791906146b1565b6120af565b604051610879919061429d565b60405180910390f35b34801561088e57600080fd5b506108a960048036038101906108a49190614199565b612168565b005b3480156108b757600080fd5b506108c0612548565b005b3480156108ce57600080fd5b506108e960048036038101906108e49190614199565b61255c565b6040516108f6919061429d565b60405180910390f35b34801561090b57600080fd5b50610926600480360381019061092191906146b1565b6125c1565b604051610933919061429d565b60405180910390f35b34801561094857600080fd5b506109516125d8565b60405161095e919061408d565b60405180910390f35b34801561097357600080fd5b5061097c6125eb565b6040516109899190614207565b60405180910390f35b34801561099e57600080fd5b506109b960048036038101906109b491906143ff565b612615565b6040516109c6919061408d565b60405180910390f35b3480156109db57600080fd5b506109e4612680565b6040516109f19190614141565b60405180910390f35b348015610a0657600080fd5b50610a0f612712565b604051610a1c91906143e4565b60405180910390f35b348015610a3157600080fd5b50610a3a612736565b604051610a4791906143e4565b60405180910390f35b348015610a5c57600080fd5b50610a776004803603810190610a729190614884565b61273d565b005b348015610a8557600080fd5b50610aa06004803603810190610a9b91906149f4565b6128b5565b005b348015610aae57600080fd5b50610ab7612928565b604051610ac4919061429d565b60405180910390f35b348015610ad957600080fd5b50610af46004803603810190610aef9190614199565b61292e565b604051610b019190614141565b60405180910390f35b348015610b1657600080fd5b50610b1f6129cd565b005b348015610b2d57600080fd5b50610b36612a42565b604051610b45939291906144fe565b60405180910390f35b348015610b5a57600080fd5b50610b756004803603810190610b7091906143ff565b612a5b565b005b348015610b8357600080fd5b50610b9e6004803603810190610b999190614199565b612a7c565b005b348015610bac57600080fd5b50610bc76004803603810190610bc29190614af3565b612a8e565b005b348015610bd557600080fd5b50610bf06004803603810190610beb9190614b33565b612b1c565b005b348015610bfe57600080fd5b50610c196004803603810190610c149190614199565b612b3e565b005b348015610c2757600080fd5b50610c30612bd9565b604051610c3d91906143e4565b60405180910390f35b348015610c5257600080fd5b50610c5b612bfd565b604051610c689190614141565b60405180910390f35b348015610c7d57600080fd5b50610c986004803603810190610c939190614b86565b612c25565b604051610ca5919061408d565b60405180910390f35b348015610cba57600080fd5b50610cd56004803603810190610cd091906146b1565b612cb9565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610d3257506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610d625750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610dca57507f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610de090614bf5565b80601f0160208091040260200160405190810160405280929190818152602001828054610e0c90614bf5565b8015610e595780601f10610e2e57610100808354040283529160200191610e59565b820191906000526020600020905b815481529060010190602001808311610e3c57829003601f168201915b5050505050905090565b6000610e6e82612d3d565b610ea4576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610eea82611fd1565b90508073ffffffffffffffffffffffffffffffffffffffff16610f0b612d9c565b73ffffffffffffffffffffffffffffffffffffffff1614610f6e57610f3781610f32612d9c565b612c25565b610f6d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061102a612da4565b6001546000540303905090565b60105481565b611045612dad565b600f8183856110549190614c56565b61105e9190614c56565b111561109f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109690614cf8565b60405180910390fd5b601454836018546110b09190614c56565b111580156110cd5750601554826019546110ca9190614c56565b11155b80156110e8575060165481601a546110e59190614c56565b11155b611127576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111e90614d64565b60405180910390fd5b82601860008282546111399190614c56565b9250508190555081601960008282546111529190614c56565b9250508190555080601a600082825461116b9190614c56565b925050819055506000600190505b8183856111869190614c56565b6111909190614c56565b811161121f578181116111cd576002601f6000836111ac611020565b6111b69190614c56565b81526020019081526020016000208190555061120c565b82826111d99190614c56565b811161120b576001601f6000836111ee611020565b6111f89190614c56565b8152602001908152602001600020819055505b5b808061121790614d84565b915050611179565b50611240848284866112319190614c56565b61123b9190614c56565b612e2b565b50505050565b600061125182612e49565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146112b8576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806112c484612f17565b915091506112da81876112d5612d9c565b612f39565b611326576112ef866112ea612d9c565b612c25565b611325576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561138d576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61139a8686866001612f7d565b80156113a557600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506114738561144f888887612f83565b7c020000000000000000000000000000000000000000000000000000000017612fab565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841614156114fb5760006001850190506000600460008381526020019081526020016000205414156114f95760005481146114f8578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46115638686866001612fd6565b505050505050565b600060096000838152602001908152602001600020600101549050919050565b611593612dad565b8060138190555050565b6115a68261156b565b6115af81612fdc565b6115b98383612ff0565b505050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6115ec6130d1565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611659576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165090614e3f565b60405180910390fd5b61166382826130d9565b5050565b61166f612dad565b60165481106116b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116aa90614eab565b60405180910390fd5b601a548110156116f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ef90614f17565b60405180910390fd5b8060168190555050565b61171d838383604051806020016040528060008152506128b5565b505050565b600080600080601854601954601a54601b54935093509350935090919293565b6000806000601454601554601654925092509250909192565b611763612dad565b8060118190555050565b600f544210156117b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a990614f83565b60405180910390fd5b60105442106117f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ed90614fef565b60405180910390fd5b6118ba7fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f70733af11ead20c39a4fd239d33bee39ffefa6910b6f631ed13d1b336040516020016118459190615057565b60405160208183030381529060405286866040518463ffffffff1660e01b8152600401611874939291906150f4565b602060405180830381865af4158015611891573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118b59190615142565b612615565b6118f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f0906151bb565b60405180910390fd5b61190687878787876131bb565b50505050505050565b60006014546015546016546119249190614c56565b61192e9190614c56565b905090565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611961612dad565b60145481106119a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199c90614eab565b60405180910390fd5b6018548110156119ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e190614f17565b60405180910390fd5b8060148190555050565b6000602360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611a76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6d90615227565b60405180910390fd5b600060215447611a869190614c56565b90506000602260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546103e8602360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484611b189190615247565b611b2291906152d0565b611b2c9190615301565b905080602260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b799190614c56565b602260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080602154611bca9190614c56565b60218190555060008111611c13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0a90615381565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611c59573d6000803e3d6000fd5b50505050565b611c67612dad565b600e60009054906101000a900460ff1615611cb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cae906153ed565b60405180910390fd5b8181600d9190611cc8929190613f36565b505050565b611cd5612dad565b8060128190555050565b600f838587611cee9190614c56565b611cf89190614c56565b1115611d39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3090614cf8565b60405180910390fd5b60145485601854611d4a9190614c56565b11158015611d67575060155484601954611d649190614c56565b11155b8015611d82575060165483601a54611d7f9190614c56565b11155b611dc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db890614d64565b60405180910390fd5b8460186000828254611dd39190614c56565b925050819055508360196000828254611dec9190614c56565b9250508190555082601a6000828254611e059190614c56565b9250508190555060006001602060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611e5a9190614c56565b9050611f287fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f70733af11ead20c39a4fd239d33bee39ffefa6910b6f631ed13d1b338a8a8a88604051602001611eb395949392919061542e565b60405160208183030381529060405287876040518463ffffffff1660e01b8152600401611ee2939291906150f4565b602060405180830381865af4158015611eff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f239190615142565b612615565b611f67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5e906154d9565b60405180910390fd5b6001602060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fb79190614c56565b92505081905550611fc9868686613471565b505050505050565b6000611fdc82612e49565b9050919050565b601054421015612028576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201f90615545565b60405180910390fd5b601c54851115801561203c5750601d548411155b801561204a5750601e548311155b612089576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208090614cf8565b60405180910390fd5b61209685858585856131bb565b5050505050565b6120a5612dad565b8060108190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612117576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b3373ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016121da919061429d565b602060405180830381865afa1580156121f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061221b9190615142565b73ffffffffffffffffffffffffffffffffffffffff1614612271576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612268906155b1565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff1661229182611fd1565b73ffffffffffffffffffffffffffffffffffffffff16146122e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122de9061561d565b60405180910390fd5b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b81526004016123469392919061563d565b600060405180830381600087803b15801561236057600080fd5b505af1158015612374573d6000803e3d6000fd5b505050503073ffffffffffffffffffffffffffffffffffffffff166323b872dd3033846040518463ffffffff1660e01b81526004016123b59392919061563d565b600060405180830381600087803b1580156123cf57600080fd5b505af11580156123e3573d6000803e3d6000fd5b50505050600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166376aed2e1826040518263ffffffff1660e01b8152600401612442919061429d565b602060405180830381865afa15801561245f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124839190615689565b601f600083815260200190815260200160002081905550600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb3369010f0cf064dd592000006040518363ffffffff1660e01b81526004016125019291906156f1565b6020604051808303816000875af1158015612520573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612544919061572f565b5050565b612550612dad565b61255a6000613544565b565b600061256782612d3d565b6125a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259d906157a8565b60405180910390fd5b601f6000838152602001908152602001600020549050919050565b602080528060005260406000206000915090505481565b600e60009054906101000a900460ff1681565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606003805461268f90614bf5565b80601f01602080910402602001604051908101604052809291908181526020018280546126bb90614bf5565b80156127085780601f106126dd57610100808354040283529160200191612708565b820191906000526020600020905b8154815290600101906020018083116126eb57829003601f168201915b5050505050905090565b7fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f7081565b6000801b81565b612745612d9c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156127aa576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006127b7612d9c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612864612d9c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516128a9919061408d565b60405180910390a35050565b6128c0848484611246565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612922576128eb8484848461360a565b612921576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600f5481565b606061293982612d3d565b61296f576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061297961375b565b905060008151141561299a57604051806020016040528060008152506129c5565b806129a4846137ed565b6040516020016129b5929190615804565b6040516020818303038152906040525b915050919050565b6129d5612dad565b600e60009054906101000a900460ff1615612a25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1c90615874565b60405180910390fd5b6001600e60006101000a81548160ff021916908315150217905550565b6000806000601154601254601354925092509250909192565b612a648261156b565b612a6d81612fdc565b612a7783836130d9565b505050565b612a84612dad565b80600f8190555050565b612a96612dad565b81600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b612b24612dad565b82601c8190555081601d8190555080601e81905550505050565b612b46612dad565b6015548110612b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8190614eab565b60405180910390fd5b601954811015612bcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bc690614f17565b60405180910390fd5b8060158190555050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6060600d604051602001612c119190615974565b604051602081830303815290604052905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612cc1612dad565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612d31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d2890615a08565b60405180910390fd5b612d3a81613544565b50565b600081612d48612da4565b11158015612d57575060005482105b8015612d95575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b612db56130d1565b73ffffffffffffffffffffffffffffffffffffffff16612dd36125eb565b73ffffffffffffffffffffffffffffffffffffffff1614612e29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e2090615a74565b60405180910390fd5b565b612e45828260405180602001604052806000815250613847565b5050565b60008082905080612e58612da4565b11612ee057600054811015612edf5760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612edd575b6000811415612ed3576004600083600190039350838152602001908152602001600020549050612ea8565b8092505050612f12565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612f9a8686846138e4565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b612fed81612fe86130d1565b6138ed565b50565b612ffa8282612615565b6130cd5760016009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506130726130d1565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600033905090565b6130e38282612615565b156131b75760006009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061315c6130d1565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000811561328957601754601b5410613209576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161320090615ae0565b60405180910390fd5b6001861480156132195750600185145b80156132255750600184145b613264576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161325b90615b4c565b60405180910390fd5b66b1a2bc2ec5000090506001601b60008282546132819190614c56565b925050819055505b80846013546132989190615247565b866012546132a69190615247565b886011546132b49190615247565b6132be9190614c56565b6132c89190614c56565b6132d29190615301565b3414613313576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161330a90615bb8565b60405180910390fd5b601c5486111580156133275750601d548511155b80156133355750601e548411155b613374576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161336b90614cf8565b60405180910390fd5b601454866018546133859190614c56565b111580156133a257506015548560195461339f9190614c56565b11155b80156133bd575060165484601a546133ba9190614c56565b11155b6133fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133f390614d64565b60405180910390fd5b856018600082825461340e9190614c56565b9250508190555084601960008282546134279190614c56565b9250508190555083601a60008282546134409190614c56565b92505081905550821561345d5761345886868661398a565b613469565b613468868686613471565b5b505050505050565b6000600190505b8183856134859190614c56565b61348f9190614c56565b811161351e578181116134cc576002601f6000836134ab611020565b6134b59190614c56565b81526020019081526020016000208190555061350b565b82826134d89190614c56565b811161350a576001601f6000836134ed611020565b6134f79190614c56565b8152602001908152602001600020819055505b5b808061351690614d84565b915050613478565b5061353f338284866135309190614c56565b61353a9190614c56565b612e2b565b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613630612d9c565b8786866040518563ffffffff1660e01b81526004016136529493929190615c22565b6020604051808303816000875af192505050801561368e57506040513d601f19601f8201168201806040525081019061368b9190615c83565b60015b613708573d80600081146136be576040519150601f19603f3d011682016040523d82523d6000602084013e6136c3565b606091505b50600081511415613700576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600d805461376a90614bf5565b80601f016020809104026020016040519081016040528092919081815260200182805461379690614bf5565b80156137e35780601f106137b8576101008083540402835291602001916137e3565b820191906000526020600020905b8154815290600101906020018083116137c657829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b801561383357600183039250600a81066030018353600a81049050613813565b508181036020830392508083525050919050565b6138518383613b16565b60008373ffffffffffffffffffffffffffffffffffffffff163b146138df57600080549050600083820390505b613891600086838060010194508661360a565b6138c7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061387e5781600054146138dc57600080fd5b50505b505050565b60009392505050565b6138f78282612615565b6139865761391c8173ffffffffffffffffffffffffffffffffffffffff166014613cea565b61392a8360001c6020613cea565b60405160200161393b929190615d48565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161397d9190614141565b60405180910390fd5b5050565b6000613994611020565b90506139d8600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168385876139c99190614c56565b6139d39190614c56565b612e2b565b6000600190505b8284866139ec9190614c56565b6139f69190614c56565b8111613b0f57828111613a2c576002601f60008385613a159190614c56565b815260200190815260200160002081905550613a64565b8383613a389190614c56565b8111613a63576001601f60008385613a509190614c56565b8152602001908152602001600020819055505b5b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ef07137f8284613aae9190614c56565b6040518263ffffffff1660e01b8152600401613aca919061429d565b600060405180830381600087803b158015613ae457600080fd5b505af1158015613af8573d6000803e3d6000fd5b505050508080613b0790614d84565b9150506139df565b5050505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613b83576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415613bbe576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613bcb6000848385612f7d565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550613c4283613c336000866000612f83565b613c3c85613f26565b17612fab565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613c6657806000819055505050613ce56000848385612fd6565b505050565b606060006002836002613cfd9190615247565b613d079190614c56565b67ffffffffffffffff811115613d2057613d1f6148c9565b5b6040519080825280601f01601f191660200182016040528015613d525781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110613d8a57613d89615d82565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110613dee57613ded615d82565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002613e2e9190615247565b613e389190614c56565b90505b6001811115613ed8577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613e7a57613e79615d82565b5b1a60f81b828281518110613e9157613e90615d82565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080613ed190615db1565b9050613e3b565b5060008414613f1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613f1390615e27565b60405180910390fd5b8091505092915050565b60006001821460e11b9050919050565b828054613f4290614bf5565b90600052602060002090601f016020900481019282613f645760008555613fab565b82601f10613f7d57803560ff1916838001178555613fab565b82800160010185558215613fab579182015b82811115613faa578235825591602001919060010190613f8f565b5b509050613fb89190613fbc565b5090565b5b80821115613fd5576000816000905550600101613fbd565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61402281613fed565b811461402d57600080fd5b50565b60008135905061403f81614019565b92915050565b60006020828403121561405b5761405a613fe3565b5b600061406984828501614030565b91505092915050565b60008115159050919050565b61408781614072565b82525050565b60006020820190506140a2600083018461407e565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156140e25780820151818401526020810190506140c7565b838111156140f1576000848401525b50505050565b6000601f19601f8301169050919050565b6000614113826140a8565b61411d81856140b3565b935061412d8185602086016140c4565b614136816140f7565b840191505092915050565b6000602082019050818103600083015261415b8184614108565b905092915050565b6000819050919050565b61417681614163565b811461418157600080fd5b50565b6000813590506141938161416d565b92915050565b6000602082840312156141af576141ae613fe3565b5b60006141bd84828501614184565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006141f1826141c6565b9050919050565b614201816141e6565b82525050565b600060208201905061421c60008301846141f8565b92915050565b61422b816141e6565b811461423657600080fd5b50565b60008135905061424881614222565b92915050565b6000806040838503121561426557614264613fe3565b5b600061427385828601614239565b925050602061428485828601614184565b9150509250929050565b61429781614163565b82525050565b60006020820190506142b2600083018461428e565b92915050565b600080600080608085870312156142d2576142d1613fe3565b5b60006142e087828801614239565b94505060206142f187828801614184565b935050604061430287828801614184565b925050606061431387828801614184565b91505092959194509250565b60008060006060848603121561433857614337613fe3565b5b600061434686828701614239565b935050602061435786828701614239565b925050604061436886828701614184565b9150509250925092565b6000819050919050565b61438581614372565b811461439057600080fd5b50565b6000813590506143a28161437c565b92915050565b6000602082840312156143be576143bd613fe3565b5b60006143cc84828501614393565b91505092915050565b6143de81614372565b82525050565b60006020820190506143f960008301846143d5565b92915050565b6000806040838503121561441657614415613fe3565b5b600061442485828601614393565b925050602061443585828601614239565b9150509250929050565b6000819050919050565b600061446461445f61445a846141c6565b61443f565b6141c6565b9050919050565b600061447682614449565b9050919050565b60006144888261446b565b9050919050565b6144988161447d565b82525050565b60006020820190506144b3600083018461448f565b92915050565b60006080820190506144ce600083018761428e565b6144db602083018661428e565b6144e8604083018561428e565b6144f5606083018461428e565b95945050505050565b6000606082019050614513600083018661428e565b614520602083018561428e565b61452d604083018461428e565b949350505050565b61453e81614072565b811461454957600080fd5b50565b60008135905061455b81614535565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261458657614585614561565b5b8235905067ffffffffffffffff8111156145a3576145a2614566565b5b6020830191508360018202830111156145bf576145be61456b565b5b9250929050565b600080600080600080600060c0888a0312156145e5576145e4613fe3565b5b60006145f38a828b01614184565b97505060206146048a828b01614184565b96505060406146158a828b01614184565b95505060606146268a828b0161454c565b94505060806146378a828b0161454c565b93505060a088013567ffffffffffffffff81111561465857614657613fe8565b5b6146648a828b01614570565b925092505092959891949750929550565b60006146808261446b565b9050919050565b61469081614675565b82525050565b60006020820190506146ab6000830184614687565b92915050565b6000602082840312156146c7576146c6613fe3565b5b60006146d584828501614239565b91505092915050565b60008083601f8401126146f4576146f3614561565b5b8235905067ffffffffffffffff81111561471157614710614566565b5b60208301915083600182028301111561472d5761472c61456b565b5b9250929050565b6000806020838503121561474b5761474a613fe3565b5b600083013567ffffffffffffffff81111561476957614768613fe8565b5b614775858286016146de565b92509250509250929050565b60008060008060006080868803121561479d5761479c613fe3565b5b60006147ab88828901614184565b95505060206147bc88828901614184565b94505060406147cd88828901614184565b935050606086013567ffffffffffffffff8111156147ee576147ed613fe8565b5b6147fa88828901614570565b92509250509295509295909350565b600080600080600060a0868803121561482557614824613fe3565b5b600061483388828901614184565b955050602061484488828901614184565b945050604061485588828901614184565b93505060606148668882890161454c565b92505060806148778882890161454c565b9150509295509295909350565b6000806040838503121561489b5761489a613fe3565b5b60006148a985828601614239565b92505060206148ba8582860161454c565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b614901826140f7565b810181811067ffffffffffffffff821117156149205761491f6148c9565b5b80604052505050565b6000614933613fd9565b905061493f82826148f8565b919050565b600067ffffffffffffffff82111561495f5761495e6148c9565b5b614968826140f7565b9050602081019050919050565b82818337600083830152505050565b600061499761499284614944565b614929565b9050828152602081018484840111156149b3576149b26148c4565b5b6149be848285614975565b509392505050565b600082601f8301126149db576149da614561565b5b81356149eb848260208601614984565b91505092915050565b60008060008060808587031215614a0e57614a0d613fe3565b5b6000614a1c87828801614239565b9450506020614a2d87828801614239565b9350506040614a3e87828801614184565b925050606085013567ffffffffffffffff811115614a5f57614a5e613fe8565b5b614a6b878288016149c6565b91505092959194509250565b6000614a82826141e6565b9050919050565b614a9281614a77565b8114614a9d57600080fd5b50565b600081359050614aaf81614a89565b92915050565b6000614ac0826141e6565b9050919050565b614ad081614ab5565b8114614adb57600080fd5b50565b600081359050614aed81614ac7565b92915050565b60008060408385031215614b0a57614b09613fe3565b5b6000614b1885828601614aa0565b9250506020614b2985828601614ade565b9150509250929050565b600080600060608486031215614b4c57614b4b613fe3565b5b6000614b5a86828701614184565b9350506020614b6b86828701614184565b9250506040614b7c86828701614184565b9150509250925092565b60008060408385031215614b9d57614b9c613fe3565b5b6000614bab85828601614239565b9250506020614bbc85828601614239565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614c0d57607f821691505b60208210811415614c2157614c20614bc6565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614c6182614163565b9150614c6c83614163565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614ca157614ca0614c27565b5b828201905092915050565b7f5435000000000000000000000000000000000000000000000000000000000000600082015250565b6000614ce26002836140b3565b9150614ced82614cac565b602082019050919050565b60006020820190508181036000830152614d1181614cd5565b9050919050565b7f5434000000000000000000000000000000000000000000000000000000000000600082015250565b6000614d4e6002836140b3565b9150614d5982614d18565b602082019050919050565b60006020820190508181036000830152614d7d81614d41565b9050919050565b6000614d8f82614163565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614dc257614dc1614c27565b5b600182019050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000614e29602f836140b3565b9150614e3482614dcd565b604082019050919050565b60006020820190508181036000830152614e5881614e1c565b9050919050565b7f5430000000000000000000000000000000000000000000000000000000000000600082015250565b6000614e956002836140b3565b9150614ea082614e5f565b602082019050919050565b60006020820190508181036000830152614ec481614e88565b9050919050565b7f5431000000000000000000000000000000000000000000000000000000000000600082015250565b6000614f016002836140b3565b9150614f0c82614ecb565b602082019050919050565b60006020820190508181036000830152614f3081614ef4565b9050919050565b7f5436000000000000000000000000000000000000000000000000000000000000600082015250565b6000614f6d6002836140b3565b9150614f7882614f37565b602082019050919050565b60006020820190508181036000830152614f9c81614f60565b9050919050565b7f5437000000000000000000000000000000000000000000000000000000000000600082015250565b6000614fd96002836140b3565b9150614fe482614fa3565b602082019050919050565b6000602082019050818103600083015261500881614fcc565b9050919050565b60008160601b9050919050565b60006150278261500f565b9050919050565b60006150398261501c565b9050919050565b61505161504c826141e6565b61502e565b82525050565b60006150638284615040565b60148201915081905092915050565b600081519050919050565b600082825260208201905092915050565b600061509982615072565b6150a3818561507d565b93506150b38185602086016140c4565b6150bc816140f7565b840191505092915050565b60006150d3838561507d565b93506150e0838584614975565b6150e9836140f7565b840190509392505050565b6000604082019050818103600083015261510e818661508e565b905081810360208301526151238184866150c7565b9050949350505050565b60008151905061513c81614222565b92915050565b60006020828403121561515857615157613fe3565b5b60006151668482850161512d565b91505092915050565b7f5439000000000000000000000000000000000000000000000000000000000000600082015250565b60006151a56002836140b3565b91506151b08261516f565b602082019050919050565b600060208201905081810360008301526151d481615198565b9050919050565b7f5431310000000000000000000000000000000000000000000000000000000000600082015250565b60006152116003836140b3565b915061521c826151db565b602082019050919050565b6000602082019050818103600083015261524081615204565b9050919050565b600061525282614163565b915061525d83614163565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561529657615295614c27565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006152db82614163565b91506152e683614163565b9250826152f6576152f56152a1565b5b828204905092915050565b600061530c82614163565b915061531783614163565b92508282101561532a57615329614c27565b5b828203905092915050565b7f5431320000000000000000000000000000000000000000000000000000000000600082015250565b600061536b6003836140b3565b915061537682615335565b602082019050919050565b6000602082019050818103600083015261539a8161535e565b9050919050565b7f5431350000000000000000000000000000000000000000000000000000000000600082015250565b60006153d76003836140b3565b91506153e2826153a1565b602082019050919050565b60006020820190508181036000830152615406816153ca565b9050919050565b6000819050919050565b61542861542382614163565b61540d565b82525050565b600061543a8288615040565b60148201915061544a8287615417565b60208201915061545a8286615417565b60208201915061546a8285615417565b60208201915061547a8284615417565b6020820191508190509695505050505050565b7f4e36000000000000000000000000000000000000000000000000000000000000600082015250565b60006154c36002836140b3565b91506154ce8261548d565b602082019050919050565b600060208201905081810360008301526154f2816154b6565b9050919050565b7f5433000000000000000000000000000000000000000000000000000000000000600082015250565b600061552f6002836140b3565b915061553a826154f9565b602082019050919050565b6000602082019050818103600083015261555e81615522565b9050919050565b7f5431360000000000000000000000000000000000000000000000000000000000600082015250565b600061559b6003836140b3565b91506155a682615565565b602082019050919050565b600060208201905081810360008301526155ca8161558e565b9050919050565b7f5431370000000000000000000000000000000000000000000000000000000000600082015250565b60006156076003836140b3565b9150615612826155d1565b602082019050919050565b60006020820190508181036000830152615636816155fa565b9050919050565b600060608201905061565260008301866141f8565b61565f60208301856141f8565b61566c604083018461428e565b949350505050565b6000815190506156838161416d565b92915050565b60006020828403121561569f5761569e613fe3565b5b60006156ad84828501615674565b91505092915050565b6000819050919050565b60006156db6156d66156d1846156b6565b61443f565b614163565b9050919050565b6156eb816156c0565b82525050565b600060408201905061570660008301856141f8565b61571360208301846156e2565b9392505050565b60008151905061572981614535565b92915050565b60006020828403121561574557615744613fe3565b5b60006157538482850161571a565b91505092915050565b7f5431300000000000000000000000000000000000000000000000000000000000600082015250565b60006157926003836140b3565b915061579d8261575c565b602082019050919050565b600060208201905081810360008301526157c181615785565b9050919050565b600081905092915050565b60006157de826140a8565b6157e881856157c8565b93506157f88185602086016140c4565b80840191505092915050565b600061581082856157d3565b915061581c82846157d3565b91508190509392505050565b7f5431380000000000000000000000000000000000000000000000000000000000600082015250565b600061585e6003836140b3565b915061586982615828565b602082019050919050565b6000602082019050818103600083015261588d81615851565b9050919050565b60008190508160005260206000209050919050565b600081546158b681614bf5565b6158c081866157c8565b945060018216600081146158db57600181146158ec5761591f565b60ff1983168652818601935061591f565b6158f585615894565b60005b83811015615917578154818901526001820191506020810190506158f8565b838801955050505b50505092915050565b7f636f6c6c656374696f6e00000000000000000000000000000000000000000000600082015250565b600061595e600a836157c8565b915061596982615928565b600a82019050919050565b600061598082846158a9565b915061598b82615951565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006159f26026836140b3565b91506159fd82615996565b604082019050919050565b60006020820190508181036000830152615a21816159e5565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615a5e6020836140b3565b9150615a6982615a28565b602082019050919050565b60006020820190508181036000830152615a8d81615a51565b9050919050565b7f5438000000000000000000000000000000000000000000000000000000000000600082015250565b6000615aca6002836140b3565b9150615ad582615a94565b602082019050919050565b60006020820190508181036000830152615af981615abd565b9050919050565b7f5431340000000000000000000000000000000000000000000000000000000000600082015250565b6000615b366003836140b3565b9150615b4182615b00565b602082019050919050565b60006020820190508181036000830152615b6581615b29565b9050919050565b7f5432000000000000000000000000000000000000000000000000000000000000600082015250565b6000615ba26002836140b3565b9150615bad82615b6c565b602082019050919050565b60006020820190508181036000830152615bd181615b95565b9050919050565b600082825260208201905092915050565b6000615bf482615072565b615bfe8185615bd8565b9350615c0e8185602086016140c4565b615c17816140f7565b840191505092915050565b6000608082019050615c3760008301876141f8565b615c4460208301866141f8565b615c51604083018561428e565b8181036060830152615c638184615be9565b905095945050505050565b600081519050615c7d81614019565b92915050565b600060208284031215615c9957615c98613fe3565b5b6000615ca784828501615c6e565b91505092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000615ce66017836157c8565b9150615cf182615cb0565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000615d326011836157c8565b9150615d3d82615cfc565b601182019050919050565b6000615d5382615cd9565b9150615d5f82856157d3565b9150615d6a82615d25565b9150615d7682846157d3565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000615dbc82614163565b91506000821415615dd057615dcf614c27565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000615e116020836140b3565b9150615e1c82615ddb565b602082019050919050565b60006020820190508181036000830152615e4081615e04565b905091905056fea264697066735822122069a9aff349911ddde67d27e1e6127c0f4cfbaa4f0f99e7d36d223977d849580e64736f6c634300080b0033
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.