Overview
TokenID
899
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
GalzVendingMachineEth
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /* ╋╋╋╋╋╋╋┏┓╋╋╋╋╋╋╋╋╋╋╋╋┏┓ ╋╋╋╋╋╋╋┃┃╋╋╋╋╋╋╋╋╋╋╋╋┃┃ ┏━━┳┓╋┏┫┗━┳━━┳━┳━━┳━━┫┃┏━━━┓ ┃┏━┫┃╋┃┃┏┓┃┃━┫┏┫┏┓┃┏┓┃┃┣━━┃┃ ┃┗━┫┗━┛┃┗┛┃┃━┫┃┃┗┛┃┏┓┃┗┫┃━━┫ ┗━━┻━┓┏┻━━┻━━┻┛┗━┓┣┛┗┻━┻━━━┛ ╋╋╋┏━┛┃╋╋╋╋╋╋╋╋┏━┛┃ ╋╋╋┗━━┛╋╋╋╋╋╋╋╋┗━━┛ */ // CyberGalz Legal Overview [https://cybergalznft.com/legaloverview] pragma solidity >=0.8.4; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; abstract contract GalzVendingMachineImxInterface { function mintTransfer(address to) public virtual; } contract GalzVendingMachineEth is ERC721, ERC721Enumerable, Ownable { using SafeMath for uint256; bool public sale = false; bool public presale = false; bool migrationStarted = false; string private _baseURIextended; uint256 public nonce = 1; uint256 public price = 200000000000000000; uint16 public earlySupply; uint16 public totalSupply_; uint8 public maxPublic; address public paymentAddress; address galzVendingMachineImxAddress; event PaymentComplete(address indexed to, uint16 nonce, uint16 quantity); event Minted(address indexed to, uint256 id); event Withdraw(uint amount); mapping (address => uint8) private presaleWallets; mapping (address => uint8) private saleWallets; constructor( string memory _name, string memory _ticker, uint16 _totalSupply, uint8 _maxPublic, string memory baseURI_, address _paymentAddress ) ERC721(_name, _ticker) { earlySupply = _totalSupply; totalSupply_ = _totalSupply; maxPublic = _maxPublic; _baseURIextended = baseURI_; paymentAddress = _paymentAddress; } function setBaseURI(string memory baseURI_) public onlyOwner { _baseURIextended = baseURI_; } function _baseURI() internal view virtual override returns (string memory) { return _baseURIextended; } function setPrice(uint _newPrice) external onlyOwner { price = _newPrice; } function setEarlySupply(uint16 _limitSupply) external onlyOwner { earlySupply = _limitSupply; } function setTotalSupply(uint16 _newSupply) external onlyOwner { totalSupply_ = _newSupply; } function togglePresale() public onlyOwner { presale = !presale; } function toggleSale() public onlyOwner { sale = !sale; } function setMaxPublic(uint8 _maxPublic) external onlyOwner { maxPublic = _maxPublic; } function setPresaleWalletsAmounts(address[] memory _a, uint8[] memory _amount) public onlyOwner { require(_a.length == _amount.length, "invalid param length"); for (uint256 i = 0; i < _a.length; i++) { presaleWallets[_a[i]] = _amount[i]; } } function getPresaleWalletAmount(address _wallet) public view onlyOwner returns(uint8) { return presaleWallets[_wallet]; } function getSaleWalletAmount(address _wallet) public view onlyOwner returns(uint8) { return saleWallets[_wallet]; } function buyPresale(uint8 _qty) external payable { uint8 _qtyAllowed = presaleWallets[msg.sender]; require(presale, 'Presale is not active'); require(uint16(_qty) + nonce - 1 <= earlySupply, 'No more supply'); require(uint16(_qty) + nonce - 1 <= totalSupply_, 'No more supply'); require(_qty <= _qtyAllowed, 'You can not buy more than allowed'); require(_qtyAllowed > 0, 'You can not mint on presale'); require(msg.value >= price * _qty, 'Invalid price value'); presaleWallets[msg.sender] = _qtyAllowed - _qty; payable(paymentAddress).transfer(msg.value); uint16 initialTokenId = uint16(nonce); nonce = nonce + uint256(_qty); emit PaymentComplete(msg.sender, initialTokenId, _qty); for(uint256 i = 0; i < _qty; i++ ) { _safeMint(msg.sender, initialTokenId + i); emit Minted(msg.sender, initialTokenId + i); } } function buy(uint8 _qty) external payable { uint8 _qtyMinted = saleWallets[msg.sender]; require(sale, 'Sale is not active'); require(uint16(_qty) + nonce - 1 <= earlySupply, 'No more supply'); require(uint16(_qty) + nonce - 1 <= totalSupply_, 'No more supply'); require(_qtyMinted + _qty <= maxPublic, 'You can not buy more than allowed'); require(_qty > 0, "quantity should be positive number"); require(_qty <= maxPublic, 'You can not buy more than allowed'); require(msg.value >= price * _qty, 'Invalid price value'); saleWallets[msg.sender] = saleWallets[msg.sender] + _qty; uint16 initialTokenId = uint16(nonce); nonce = nonce.add(_qty); payable(paymentAddress).transfer(msg.value); emit PaymentComplete(msg.sender, initialTokenId, _qty); for(uint256 i = 0; i < _qty; i++ ) { _safeMint(msg.sender, initialTokenId + i); emit Minted(msg.sender, initialTokenId + i); } } function giveaway(address _to, uint8 _qty) external onlyOwner { require(uint16(_qty) + nonce - 1 <= totalSupply_, 'No more supply'); uint16 initialTokenId = uint16(nonce); nonce = nonce.add(_qty); emit PaymentComplete(_to, initialTokenId, _qty); for(uint256 i = 0; i < _qty; i++ ) { _safeMint(_to, initialTokenId + i); emit Minted(msg.sender, initialTokenId + i); } } function migrateToken(uint256 id) public { require(migrationStarted == true, "Migration has not started"); require(balanceOf(msg.sender) > 0, "Doesn't own the token"); _burn(id); GalzVendingMachineImxInterface galzVendingMachineImxContract = GalzVendingMachineImxInterface(galzVendingMachineImxAddress); galzVendingMachineImxContract.mintTransfer(msg.sender); } function forceMigrateToken(uint256 id) public onlyOwner { require(balanceOf(msg.sender) > 0, "Doesn't own the token"); _burn(id); GalzVendingMachineImxInterface galzVendingMachineImxContract = GalzVendingMachineImxInterface(galzVendingMachineImxAddress); galzVendingMachineImxContract.mintTransfer(msg.sender); } function getAmountMinted() view public returns(uint256) { uint256 amountMinted; amountMinted = nonce - 1; return amountMinted; } function setGalzVendingMachineImxContract(address contractAddress) public onlyOwner { galzVendingMachineImxAddress = contractAddress; } function toggleMigration() public onlyOwner { migrationStarted = !migrationStarted; } function tokensOfOwner(address _owner) external view returns (uint256[] memory) { uint256 tokenCount = balanceOf(_owner); if (tokenCount == 0) return new uint256[](0); else { uint256[] memory result = new uint256[](tokenCount); uint256 index; for (index = 0; index < tokenCount; index++) { result[index] = tokenOfOwnerByIndex(_owner, index); } return result; } } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts 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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_ticker","type":"string"},{"internalType":"uint16","name":"_totalSupply","type":"uint16"},{"internalType":"uint8","name":"_maxPublic","type":"uint8"},{"internalType":"string","name":"baseURI_","type":"string"},{"internalType":"address","name":"_paymentAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Minted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint16","name":"nonce","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"quantity","type":"uint16"}],"name":"PaymentComplete","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_qty","type":"uint8"}],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_qty","type":"uint8"}],"name":"buyPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"earlySupply","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"forceMigrateToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAmountMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"getPresaleWalletAmount","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"getSaleWalletAmount","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint8","name":"_qty","type":"uint8"}],"name":"giveaway","outputs":[],"stateMutability":"nonpayable","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":"maxPublic","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"migrateToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nonce","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":[],"name":"paymentAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_limitSupply","type":"uint16"}],"name":"setEarlySupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"}],"name":"setGalzVendingMachineImxContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_maxPublic","type":"uint8"}],"name":"setMaxPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_a","type":"address[]"},{"internalType":"uint8[]","name":"_amount","type":"uint8[]"}],"name":"setPresaleWalletsAmounts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_newSupply","type":"uint16"}],"name":"setTotalSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleMigration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply_","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600a60146101000a81548160ff0219169083151502179055506000600a60156101000a81548160ff0219169083151502179055506000600a60166101000a81548160ff0219169083151502179055506001600c556702c68af0bb140000600d553480156200007357600080fd5b5060405162006663380380620066638339818101604052810190620000999190620003df565b85858160009080519060200190620000b392919062000278565b508060019080519060200190620000cc92919062000278565b505050620000ef620000e3620001aa60201b60201c565b620001b260201b60201c565b83600e60006101000a81548161ffff021916908361ffff16021790555083600e60026101000a81548161ffff021916908361ffff16021790555082600e60046101000a81548160ff021916908360ff16021790555081600b90805190602001906200015c92919062000278565b5080600e60056101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050505050620006cd565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200028690620005a4565b90600052602060002090601f016020900481019282620002aa5760008555620002f6565b82601f10620002c557805160ff1916838001178555620002f6565b82800160010185558215620002f6579182015b82811115620002f5578251825591602001919060010190620002d8565b5b50905062000305919062000309565b5090565b5b80821115620003245760008160009055506001016200030a565b5090565b60006200033f6200033984620004e9565b620004c0565b9050828152602081018484840111156200035857600080fd5b620003658482856200056e565b509392505050565b6000815190506200037e816200067f565b92915050565b600082601f8301126200039657600080fd5b8151620003a884826020860162000328565b91505092915050565b600081519050620003c28162000699565b92915050565b600081519050620003d981620006b3565b92915050565b60008060008060008060c08789031215620003f957600080fd5b600087015167ffffffffffffffff8111156200041457600080fd5b6200042289828a0162000384565b965050602087015167ffffffffffffffff8111156200044057600080fd5b6200044e89828a0162000384565b95505060406200046189828a01620003b1565b94505060606200047489828a01620003c8565b935050608087015167ffffffffffffffff8111156200049257600080fd5b620004a089828a0162000384565b92505060a0620004b389828a016200036d565b9150509295509295509295565b6000620004cc620004df565b9050620004da8282620005da565b919050565b6000604051905090565b600067ffffffffffffffff8211156200050757620005066200063f565b5b62000512826200066e565b9050602081019050919050565b60006200052c8262000541565b9050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600060ff82169050919050565b60005b838110156200058e57808201518184015260208101905062000571565b838111156200059e576000848401525b50505050565b60006002820490506001821680620005bd57607f821691505b60208210811415620005d457620005d362000610565b5b50919050565b620005e5826200066e565b810181811067ffffffffffffffff821117156200060757620006066200063f565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6200068a816200051f565b81146200069657600080fd5b50565b620006a48162000533565b8114620006b057600080fd5b50565b620006be8162000561565b8114620006ca57600080fd5b50565b615f8680620006dd6000396000f3fe60806040526004361061027d5760003560e01c806370a082311161014f578063a035b1fe116100c1578063c1408d791161007a578063c1408d7914610952578063c87b56dd1461097b578063e777df20146109b8578063e985e9c5146109e3578063f2fde38b14610a20578063fdea8e0b14610a495761027d565b8063a035b1fe14610865578063a22cb46514610890578063a24ffbd4146108b9578063a63b94f5146108e2578063affed0e0146108fe578063b88d4fde146109295761027d565b80638462151c116101135780638462151c146107415780638cb2923c1461077e5780638da5cb5b146107a957806391b7f5ed146107d457806395d89b41146107fd5780639dcd8cde146108285761027d565b806370a0823114610682578063715018a6146106bf57806373bfad87146106d65780637d8966e4146106ff5780637dc42975146107165761027d565b80632fc4aa9c116101f3578063562e438b116101ac578063562e438b14610560578063596cdebd146105895780635f6be614146105c6578063633423be146105ef5780636352211e1461061a5780636ad1fe02146106575761027d565b80632fc4aa9c14610466578063324536eb1461048f57806334393743146104ba57806342842e0e146104d15780634f6ccce7146104fa57806355f804b3146105375761027d565b806314107f3c1161024557806314107f3c1461037957806318160ddd1461039557806321fec36c146103c057806323b872dd146103d757806327089c8c146104005780632f745c59146104295761027d565b806301ffc9a714610282578063062897ba146102bf57806306fdde03146102e8578063081812fc14610313578063095ea7b314610350575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a4919061473a565b610a74565b6040516102b69190614e4b565b60405180910390f35b3480156102cb57600080fd5b506102e660048036038101906102e1919061481f565b610a86565b005b3480156102f457600080fd5b506102fd610b20565b60405161030a9190614e66565b60405180910390f35b34801561031f57600080fd5b5061033a600480360381019061033591906147f6565b610bb2565b6040516103479190614dc2565b60405180910390f35b34801561035c57600080fd5b5061037760048036038101906103729190614656565b610c37565b005b610393600480360381019061038e919061481f565b610d4f565b005b3480156103a157600080fd5b506103aa61125b565b6040516103b7919061524c565b60405180910390f35b3480156103cc57600080fd5b506103d5611268565b005b3480156103e357600080fd5b506103fe60048036038101906103f99190614550565b611310565b005b34801561040c57600080fd5b50610427600480360381019061042291906147f6565b611370565b005b34801561043557600080fd5b50610450600480360381019061044b9190614656565b6114d6565b60405161045d919061524c565b60405180910390f35b34801561047257600080fd5b5061048d600480360381019061048891906144eb565b61157b565b005b34801561049b57600080fd5b506104a461163b565b6040516104b19190615208565b60405180910390f35b3480156104c657600080fd5b506104cf61164f565b005b3480156104dd57600080fd5b506104f860048036038101906104f39190614550565b6116f7565b005b34801561050657600080fd5b50610521600480360381019061051c91906147f6565b611717565b60405161052e919061524c565b60405180910390f35b34801561054357600080fd5b5061055e6004803603810190610559919061478c565b6117ae565b005b34801561056c57600080fd5b50610587600480360381019061058291906147cd565b611844565b005b34801561059557600080fd5b506105b060048036038101906105ab91906144eb565b6118e0565b6040516105bd9190615267565b60405180910390f35b3480156105d257600080fd5b506105ed60048036038101906105e891906147f6565b6119b2565b005b3480156105fb57600080fd5b50610604611af2565b6040516106119190614dc2565b60405180910390f35b34801561062657600080fd5b50610641600480360381019061063c91906147f6565b611b18565b60405161064e9190614dc2565b60405180910390f35b34801561066357600080fd5b5061066c611bca565b6040516106799190614e4b565b60405180910390f35b34801561068e57600080fd5b506106a960048036038101906106a491906144eb565b611bdd565b6040516106b6919061524c565b60405180910390f35b3480156106cb57600080fd5b506106d4611c95565b005b3480156106e257600080fd5b506106fd60048036038101906106f891906146ce565b611d1d565b005b34801561070b57600080fd5b50610714611ed9565b005b34801561072257600080fd5b5061072b611f81565b6040516107389190615267565b60405180910390f35b34801561074d57600080fd5b50610768600480360381019061076391906144eb565b611f94565b6040516107759190614e29565b60405180910390f35b34801561078a57600080fd5b50610793612110565b6040516107a09190615208565b60405180910390f35b3480156107b557600080fd5b506107be612124565b6040516107cb9190614dc2565b60405180910390f35b3480156107e057600080fd5b506107fb60048036038101906107f691906147f6565b61214e565b005b34801561080957600080fd5b506108126121d4565b60405161081f9190614e66565b60405180910390f35b34801561083457600080fd5b5061084f600480360381019061084a91906144eb565b612266565b60405161085c9190615267565b60405180910390f35b34801561087157600080fd5b5061087a612338565b604051610887919061524c565b60405180910390f35b34801561089c57600080fd5b506108b760048036038101906108b2919061461a565b61233e565b005b3480156108c557600080fd5b506108e060048036038101906108db9190614692565b612354565b005b6108fc60048036038101906108f7919061481f565b612559565b005b34801561090a57600080fd5b506109136129a0565b604051610920919061524c565b60405180910390f35b34801561093557600080fd5b50610950600480360381019061094b919061459f565b6129a6565b005b34801561095e57600080fd5b50610979600480360381019061097491906147cd565b612a08565b005b34801561098757600080fd5b506109a2600480360381019061099d91906147f6565b612aa4565b6040516109af9190614e66565b60405180910390f35b3480156109c457600080fd5b506109cd612b4b565b6040516109da919061524c565b60405180910390f35b3480156109ef57600080fd5b50610a0a6004803603810190610a059190614514565b612b66565b604051610a179190614e4b565b60405180910390f35b348015610a2c57600080fd5b50610a476004803603810190610a4291906144eb565b612bfa565b005b348015610a5557600080fd5b50610a5e612cf2565b604051610a6b9190614e4b565b60405180910390f35b6000610a7f82612d05565b9050919050565b610a8e612d7f565b73ffffffffffffffffffffffffffffffffffffffff16610aac612124565b73ffffffffffffffffffffffffffffffffffffffff1614610b02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af9906150c8565b60405180910390fd5b80600e60046101000a81548160ff021916908360ff16021790555050565b606060008054610b2f90615640565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5b90615640565b8015610ba85780601f10610b7d57610100808354040283529160200191610ba8565b820191906000526020600020905b815481529060010190602001808311610b8b57829003601f168201915b5050505050905090565b6000610bbd82612d87565b610bfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf390615088565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c4282611b18565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610caa90615128565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cd2612d7f565b73ffffffffffffffffffffffffffffffffffffffff161480610d015750610d0081610cfb612d7f565b612b66565b5b610d40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3790614fe8565b60405180910390fd5b610d4a8383612df3565b505050565b6000601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050600a60149054906101000a900460ff16610def576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de690614fa8565b60405180910390fd5b600e60009054906101000a900461ffff1661ffff166001600c548460ff1661ffff16610e1b91906153dd565b610e2591906154f5565b1115610e66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5d906151c8565b60405180910390fd5b600e60029054906101000a900461ffff1661ffff166001600c548460ff1661ffff16610e9291906153dd565b610e9c91906154f5565b1115610edd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed4906151c8565b60405180910390fd5b600e60049054906101000a900460ff1660ff168282610efc9190615433565b60ff161115610f40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3790615008565b60405180910390fd5b60008260ff1611610f86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7d906150a8565b60405180910390fd5b600e60049054906101000a900460ff1660ff168260ff161115610fde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd590615008565b60405180910390fd5b8160ff16600d54610fef919061549b565b341015611031576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102890614ec8565b60405180910390fd5b81601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166110899190615433565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff1602179055506000600c5490506110ff8360ff16600c54612eac90919063ffffffff16565b600c81905550600e60059054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f1935050505015801561116d573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff167f29fe9415fa383663cf4555700885a587456ffbaead207d9946400d3afb44ac3582856040516111b6929190615223565b60405180910390a260005b8360ff16811015611255576111e533828461ffff166111e091906153dd565b612ec2565b3373ffffffffffffffffffffffffffffffffffffffff167f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe828461ffff1661122d91906153dd565b60405161123a919061524c565b60405180910390a2808061124d906156a3565b9150506111c1565b50505050565b6000600880549050905090565b611270612d7f565b73ffffffffffffffffffffffffffffffffffffffff1661128e612124565b73ffffffffffffffffffffffffffffffffffffffff16146112e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112db906150c8565b60405180910390fd5b600a60169054906101000a900460ff1615600a60166101000a81548160ff021916908315150217905550565b61132161131b612d7f565b82612ee0565b611360576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135790615148565b60405180910390fd5b61136b838383612fbe565b505050565b611378612d7f565b73ffffffffffffffffffffffffffffffffffffffff16611396612124565b73ffffffffffffffffffffffffffffffffffffffff16146113ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e3906150c8565b60405180910390fd5b60006113f733611bdd565b11611437576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142e90614f28565b60405180910390fd5b6114408161321a565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff1663937f2608336040518263ffffffff1660e01b81526004016114a09190614dc2565b600060405180830381600087803b1580156114ba57600080fd5b505af11580156114ce573d6000803e3d6000fd5b505050505050565b60006114e183611bdd565b8210611522576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151990614ea8565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b611583612d7f565b73ffffffffffffffffffffffffffffffffffffffff166115a1612124565b73ffffffffffffffffffffffffffffffffffffffff16146115f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ee906150c8565b60405180910390fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600e60029054906101000a900461ffff1681565b611657612d7f565b73ffffffffffffffffffffffffffffffffffffffff16611675612124565b73ffffffffffffffffffffffffffffffffffffffff16146116cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c2906150c8565b60405180910390fd5b600a60159054906101000a900460ff1615600a60156101000a81548160ff021916908315150217905550565b611712838383604051806020016040528060008152506129a6565b505050565b600061172161125b565b8210611762576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175990615168565b60405180910390fd5b6008828154811061179c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6117b6612d7f565b73ffffffffffffffffffffffffffffffffffffffff166117d4612124565b73ffffffffffffffffffffffffffffffffffffffff161461182a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611821906150c8565b60405180910390fd5b80600b90805190602001906118409291906141b9565b5050565b61184c612d7f565b73ffffffffffffffffffffffffffffffffffffffff1661186a612124565b73ffffffffffffffffffffffffffffffffffffffff16146118c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b7906150c8565b60405180910390fd5b80600e60026101000a81548161ffff021916908361ffff16021790555050565b60006118ea612d7f565b73ffffffffffffffffffffffffffffffffffffffff16611908612124565b73ffffffffffffffffffffffffffffffffffffffff161461195e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611955906150c8565b60405180910390fd5b601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b60011515600a60169054906101000a900460ff16151514611a08576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ff90614e88565b60405180910390fd5b6000611a1333611bdd565b11611a53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4a90614f28565b60405180910390fd5b611a5c8161321a565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff1663937f2608336040518263ffffffff1660e01b8152600401611abc9190614dc2565b600060405180830381600087803b158015611ad657600080fd5b505af1158015611aea573d6000803e3d6000fd5b505050505050565b600e60059054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611bc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb890615048565b60405180910390fd5b80915050919050565b600a60149054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4590615028565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611c9d612d7f565b73ffffffffffffffffffffffffffffffffffffffff16611cbb612124565b73ffffffffffffffffffffffffffffffffffffffff1614611d11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d08906150c8565b60405180910390fd5b611d1b600061332b565b565b611d25612d7f565b73ffffffffffffffffffffffffffffffffffffffff16611d43612124565b73ffffffffffffffffffffffffffffffffffffffff1614611d99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d90906150c8565b60405180910390fd5b8051825114611ddd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd4906151a8565b60405180910390fd5b60005b8251811015611ed457818181518110611e22577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160106000858481518110611e67577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff1602179055508080611ecc906156a3565b915050611de0565b505050565b611ee1612d7f565b73ffffffffffffffffffffffffffffffffffffffff16611eff612124565b73ffffffffffffffffffffffffffffffffffffffff1614611f55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4c906150c8565b60405180910390fd5b600a60149054906101000a900460ff1615600a60146101000a81548160ff021916908315150217905550565b600e60049054906101000a900460ff1681565b60606000611fa183611bdd565b9050600081141561202457600067ffffffffffffffff811115611fed577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561201b5781602001602082028036833780820191505090505b5091505061210b565b60008167ffffffffffffffff811115612066577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156120945781602001602082028036833780820191505090505b50905060005b82811015612104576120ac85826114d6565b8282815181106120e5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080806120fc906156a3565b91505061209a565b8193505050505b919050565b600e60009054906101000a900461ffff1681565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b612156612d7f565b73ffffffffffffffffffffffffffffffffffffffff16612174612124565b73ffffffffffffffffffffffffffffffffffffffff16146121ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c1906150c8565b60405180910390fd5b80600d8190555050565b6060600180546121e390615640565b80601f016020809104026020016040519081016040528092919081815260200182805461220f90615640565b801561225c5780601f106122315761010080835404028352916020019161225c565b820191906000526020600020905b81548152906001019060200180831161223f57829003601f168201915b5050505050905090565b6000612270612d7f565b73ffffffffffffffffffffffffffffffffffffffff1661228e612124565b73ffffffffffffffffffffffffffffffffffffffff16146122e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122db906150c8565b60405180910390fd5b601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b600d5481565b612350612349612d7f565b83836133f1565b5050565b61235c612d7f565b73ffffffffffffffffffffffffffffffffffffffff1661237a612124565b73ffffffffffffffffffffffffffffffffffffffff16146123d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c7906150c8565b60405180910390fd5b600e60029054906101000a900461ffff1661ffff166001600c548360ff1661ffff166123fc91906153dd565b61240691906154f5565b1115612447576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243e906151c8565b60405180910390fd5b6000600c5490506124668260ff16600c54612eac90919063ffffffff16565b600c819055508273ffffffffffffffffffffffffffffffffffffffff167f29fe9415fa383663cf4555700885a587456ffbaead207d9946400d3afb44ac3582846040516124b4929190615223565b60405180910390a260005b8260ff16811015612553576124e384828461ffff166124de91906153dd565b612ec2565b3373ffffffffffffffffffffffffffffffffffffffff167f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe828461ffff1661252b91906153dd565b604051612538919061524c565b60405180910390a2808061254b906156a3565b9150506124bf565b50505050565b6000601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050600a60159054906101000a900460ff166125f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f090615188565b60405180910390fd5b600e60009054906101000a900461ffff1661ffff166001600c548460ff1661ffff1661262591906153dd565b61262f91906154f5565b1115612670576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612667906151c8565b60405180910390fd5b600e60029054906101000a900461ffff1661ffff166001600c548460ff1661ffff1661269c91906153dd565b6126a691906154f5565b11156126e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126de906151c8565b60405180910390fd5b8060ff168260ff161115612730576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272790615008565b60405180910390fd5b60008160ff1611612776576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276d906151e8565b60405180910390fd5b8160ff16600d54612787919061549b565b3410156127c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c090614ec8565b60405180910390fd5b81816127d59190615529565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff160217905550600e60059054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015612894573d6000803e3d6000fd5b506000600c5490508260ff16600c546128ad91906153dd565b600c819055503373ffffffffffffffffffffffffffffffffffffffff167f29fe9415fa383663cf4555700885a587456ffbaead207d9946400d3afb44ac3582856040516128fb929190615223565b60405180910390a260005b8360ff1681101561299a5761292a33828461ffff1661292591906153dd565b612ec2565b3373ffffffffffffffffffffffffffffffffffffffff167f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe828461ffff1661297291906153dd565b60405161297f919061524c565b60405180910390a28080612992906156a3565b915050612906565b50505050565b600c5481565b6129b76129b1612d7f565b83612ee0565b6129f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ed90615148565b60405180910390fd5b612a028484848461355e565b50505050565b612a10612d7f565b73ffffffffffffffffffffffffffffffffffffffff16612a2e612124565b73ffffffffffffffffffffffffffffffffffffffff1614612a84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7b906150c8565b60405180910390fd5b80600e60006101000a81548161ffff021916908361ffff16021790555050565b6060612aaf82612d87565b612aee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae590615108565b60405180910390fd5b6000612af86135ba565b90506000815111612b185760405180602001604052806000815250612b43565b80612b228461364c565b604051602001612b33929190614d9e565b6040516020818303038152906040525b915050919050565b6000806001600c54612b5d91906154f5565b90508091505090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612c02612d7f565b73ffffffffffffffffffffffffffffffffffffffff16612c20612124565b73ffffffffffffffffffffffffffffffffffffffff1614612c76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6d906150c8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612ce6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cdd90614f08565b60405180910390fd5b612cef8161332b565b50565b600a60159054906101000a900460ff1681565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612d785750612d77826137f9565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612e6683611b18565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008183612eba91906153dd565b905092915050565b612edc8282604051806020016040528060008152506138db565b5050565b6000612eeb82612d87565b612f2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2190614fc8565b60405180910390fd5b6000612f3583611b18565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612fa457508373ffffffffffffffffffffffffffffffffffffffff16612f8c84610bb2565b73ffffffffffffffffffffffffffffffffffffffff16145b80612fb55750612fb48185612b66565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612fde82611b18565b73ffffffffffffffffffffffffffffffffffffffff1614613034576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302b906150e8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156130a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161309b90614f68565b60405180910390fd5b6130af838383613936565b6130ba600082612df3565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461310a91906154f5565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461316191906153dd565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061322582611b18565b905061323381600084613936565b61323e600083612df3565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461328e91906154f5565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613460576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161345790614f88565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516135519190614e4b565b60405180910390a3505050565b613569848484612fbe565b61357584848484613946565b6135b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135ab90614ee8565b60405180910390fd5b50505050565b6060600b80546135c990615640565b80601f01602080910402602001604051908101604052809291908181526020018280546135f590615640565b80156136425780601f1061361757610100808354040283529160200191613642565b820191906000526020600020905b81548152906001019060200180831161362557829003601f168201915b5050505050905090565b60606000821415613694576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506137f4565b600082905060005b600082146136c65780806136af906156a3565b915050600a826136bf919061546a565b915061369c565b60008167ffffffffffffffff811115613708577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561373a5781602001600182028036833780820191505090505b5090505b600085146137ed5760018261375391906154f5565b9150600a8561376291906156ec565b603061376e91906153dd565b60f81b8183815181106137aa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856137e6919061546a565b945061373e565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806138c457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806138d457506138d382613add565b5b9050919050565b6138e58383613b47565b6138f26000848484613946565b613931576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161392890614ee8565b60405180910390fd5b505050565b613941838383613d15565b505050565b60006139678473ffffffffffffffffffffffffffffffffffffffff16613e29565b15613ad0578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613990612d7f565b8786866040518563ffffffff1660e01b81526004016139b29493929190614ddd565b602060405180830381600087803b1580156139cc57600080fd5b505af19250505080156139fd57506040513d601f19601f820116820180604052508101906139fa9190614763565b60015b613a80573d8060008114613a2d576040519150601f19603f3d011682016040523d82523d6000602084013e613a32565b606091505b50600081511415613a78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a6f90614ee8565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613ad5565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613bb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bae90615068565b60405180910390fd5b613bc081612d87565b15613c00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bf790614f48565b60405180910390fd5b613c0c60008383613936565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613c5c91906153dd565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b613d20838383613e3c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613d6357613d5e81613e41565b613da2565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613da157613da08382613e8a565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613de557613de081613ff7565b613e24565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613e2357613e22828261413a565b5b5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613e9784611bdd565b613ea191906154f5565b9050600060076000848152602001908152602001600020549050818114613f86576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061400b91906154f5565b9050600060096000848152602001908152602001600020549050600060088381548110614061577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106140a9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061411e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061414583611bdd565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b8280546141c590615640565b90600052602060002090601f0160209004810192826141e7576000855561422e565b82601f1061420057805160ff191683800117855561422e565b8280016001018555821561422e579182015b8281111561422d578251825591602001919060010190614212565b5b50905061423b919061423f565b5090565b5b80821115614258576000816000905550600101614240565b5090565b600061426f61426a846152a7565b615282565b9050808382526020820190508285602086028201111561428e57600080fd5b60005b858110156142be57816142a488826143b0565b845260208401935060208301925050600181019050614291565b5050509392505050565b60006142db6142d6846152d3565b615282565b905080838252602082019050828560208602820111156142fa57600080fd5b60005b8581101561432a578161431088826144d6565b8452602084019350602083019250506001810190506142fd565b5050509392505050565b6000614347614342846152ff565b615282565b90508281526020810184848401111561435f57600080fd5b61436a8482856155fe565b509392505050565b600061438561438084615330565b615282565b90508281526020810184848401111561439d57600080fd5b6143a88482856155fe565b509392505050565b6000813590506143bf81615ec6565b92915050565b600082601f8301126143d657600080fd5b81356143e684826020860161425c565b91505092915050565b600082601f83011261440057600080fd5b81356144108482602086016142c8565b91505092915050565b60008135905061442881615edd565b92915050565b60008135905061443d81615ef4565b92915050565b60008151905061445281615ef4565b92915050565b600082601f83011261446957600080fd5b8135614479848260208601614334565b91505092915050565b600082601f83011261449357600080fd5b81356144a3848260208601614372565b91505092915050565b6000813590506144bb81615f0b565b92915050565b6000813590506144d081615f22565b92915050565b6000813590506144e581615f39565b92915050565b6000602082840312156144fd57600080fd5b600061450b848285016143b0565b91505092915050565b6000806040838503121561452757600080fd5b6000614535858286016143b0565b9250506020614546858286016143b0565b9150509250929050565b60008060006060848603121561456557600080fd5b6000614573868287016143b0565b9350506020614584868287016143b0565b9250506040614595868287016144c1565b9150509250925092565b600080600080608085870312156145b557600080fd5b60006145c3878288016143b0565b94505060206145d4878288016143b0565b93505060406145e5878288016144c1565b925050606085013567ffffffffffffffff81111561460257600080fd5b61460e87828801614458565b91505092959194509250565b6000806040838503121561462d57600080fd5b600061463b858286016143b0565b925050602061464c85828601614419565b9150509250929050565b6000806040838503121561466957600080fd5b6000614677858286016143b0565b9250506020614688858286016144c1565b9150509250929050565b600080604083850312156146a557600080fd5b60006146b3858286016143b0565b92505060206146c4858286016144d6565b9150509250929050565b600080604083850312156146e157600080fd5b600083013567ffffffffffffffff8111156146fb57600080fd5b614707858286016143c5565b925050602083013567ffffffffffffffff81111561472457600080fd5b614730858286016143ef565b9150509250929050565b60006020828403121561474c57600080fd5b600061475a8482850161442e565b91505092915050565b60006020828403121561477557600080fd5b600061478384828501614443565b91505092915050565b60006020828403121561479e57600080fd5b600082013567ffffffffffffffff8111156147b857600080fd5b6147c484828501614482565b91505092915050565b6000602082840312156147df57600080fd5b60006147ed848285016144ac565b91505092915050565b60006020828403121561480857600080fd5b6000614816848285016144c1565b91505092915050565b60006020828403121561483157600080fd5b600061483f848285016144d6565b91505092915050565b60006148548383614d62565b60208301905092915050565b6148698161555d565b82525050565b600061487a82615371565b614884818561539f565b935061488f83615361565b8060005b838110156148c05781516148a78882614848565b97506148b283615392565b925050600181019050614893565b5085935050505092915050565b6148d68161556f565b82525050565b60006148e78261537c565b6148f181856153b0565b935061490181856020860161560d565b61490a816157d9565b840191505092915050565b600061492082615387565b61492a81856153c1565b935061493a81856020860161560d565b614943816157d9565b840191505092915050565b600061495982615387565b61496381856153d2565b935061497381856020860161560d565b80840191505092915050565b600061498c6019836153c1565b9150614997826157ea565b602082019050919050565b60006149af602b836153c1565b91506149ba82615813565b604082019050919050565b60006149d26013836153c1565b91506149dd82615862565b602082019050919050565b60006149f56032836153c1565b9150614a008261588b565b604082019050919050565b6000614a186026836153c1565b9150614a23826158da565b604082019050919050565b6000614a3b6015836153c1565b9150614a4682615929565b602082019050919050565b6000614a5e601c836153c1565b9150614a6982615952565b602082019050919050565b6000614a816024836153c1565b9150614a8c8261597b565b604082019050919050565b6000614aa46019836153c1565b9150614aaf826159ca565b602082019050919050565b6000614ac76012836153c1565b9150614ad2826159f3565b602082019050919050565b6000614aea602c836153c1565b9150614af582615a1c565b604082019050919050565b6000614b0d6038836153c1565b9150614b1882615a6b565b604082019050919050565b6000614b306021836153c1565b9150614b3b82615aba565b604082019050919050565b6000614b53602a836153c1565b9150614b5e82615b09565b604082019050919050565b6000614b766029836153c1565b9150614b8182615b58565b604082019050919050565b6000614b996020836153c1565b9150614ba482615ba7565b602082019050919050565b6000614bbc602c836153c1565b9150614bc782615bd0565b604082019050919050565b6000614bdf6022836153c1565b9150614bea82615c1f565b604082019050919050565b6000614c026020836153c1565b9150614c0d82615c6e565b602082019050919050565b6000614c256029836153c1565b9150614c3082615c97565b604082019050919050565b6000614c48602f836153c1565b9150614c5382615ce6565b604082019050919050565b6000614c6b6021836153c1565b9150614c7682615d35565b604082019050919050565b6000614c8e6031836153c1565b9150614c9982615d84565b604082019050919050565b6000614cb1602c836153c1565b9150614cbc82615dd3565b604082019050919050565b6000614cd46015836153c1565b9150614cdf82615e22565b602082019050919050565b6000614cf76014836153c1565b9150614d0282615e4b565b602082019050919050565b6000614d1a600e836153c1565b9150614d2582615e74565b602082019050919050565b6000614d3d601b836153c1565b9150614d4882615e9d565b602082019050919050565b614d5c816155a7565b82525050565b614d6b816155d5565b82525050565b614d7a816155d5565b82525050565b614d89816155ec565b82525050565b614d98816155df565b82525050565b6000614daa828561494e565b9150614db6828461494e565b91508190509392505050565b6000602082019050614dd76000830184614860565b92915050565b6000608082019050614df26000830187614860565b614dff6020830186614860565b614e0c6040830185614d71565b8181036060830152614e1e81846148dc565b905095945050505050565b60006020820190508181036000830152614e43818461486f565b905092915050565b6000602082019050614e6060008301846148cd565b92915050565b60006020820190508181036000830152614e808184614915565b905092915050565b60006020820190508181036000830152614ea18161497f565b9050919050565b60006020820190508181036000830152614ec1816149a2565b9050919050565b60006020820190508181036000830152614ee1816149c5565b9050919050565b60006020820190508181036000830152614f01816149e8565b9050919050565b60006020820190508181036000830152614f2181614a0b565b9050919050565b60006020820190508181036000830152614f4181614a2e565b9050919050565b60006020820190508181036000830152614f6181614a51565b9050919050565b60006020820190508181036000830152614f8181614a74565b9050919050565b60006020820190508181036000830152614fa181614a97565b9050919050565b60006020820190508181036000830152614fc181614aba565b9050919050565b60006020820190508181036000830152614fe181614add565b9050919050565b6000602082019050818103600083015261500181614b00565b9050919050565b6000602082019050818103600083015261502181614b23565b9050919050565b6000602082019050818103600083015261504181614b46565b9050919050565b6000602082019050818103600083015261506181614b69565b9050919050565b6000602082019050818103600083015261508181614b8c565b9050919050565b600060208201905081810360008301526150a181614baf565b9050919050565b600060208201905081810360008301526150c181614bd2565b9050919050565b600060208201905081810360008301526150e181614bf5565b9050919050565b6000602082019050818103600083015261510181614c18565b9050919050565b6000602082019050818103600083015261512181614c3b565b9050919050565b6000602082019050818103600083015261514181614c5e565b9050919050565b6000602082019050818103600083015261516181614c81565b9050919050565b6000602082019050818103600083015261518181614ca4565b9050919050565b600060208201905081810360008301526151a181614cc7565b9050919050565b600060208201905081810360008301526151c181614cea565b9050919050565b600060208201905081810360008301526151e181614d0d565b9050919050565b6000602082019050818103600083015261520181614d30565b9050919050565b600060208201905061521d6000830184614d53565b92915050565b60006040820190506152386000830185614d53565b6152456020830184614d80565b9392505050565b60006020820190506152616000830184614d71565b92915050565b600060208201905061527c6000830184614d8f565b92915050565b600061528c61529d565b90506152988282615672565b919050565b6000604051905090565b600067ffffffffffffffff8211156152c2576152c16157aa565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156152ee576152ed6157aa565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561531a576153196157aa565b5b615323826157d9565b9050602081019050919050565b600067ffffffffffffffff82111561534b5761534a6157aa565b5b615354826157d9565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006153e8826155d5565b91506153f3836155d5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156154285761542761571d565b5b828201905092915050565b600061543e826155df565b9150615449836155df565b92508260ff0382111561545f5761545e61571d565b5b828201905092915050565b6000615475826155d5565b9150615480836155d5565b9250826154905761548f61574c565b5b828204905092915050565b60006154a6826155d5565b91506154b1836155d5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156154ea576154e961571d565b5b828202905092915050565b6000615500826155d5565b915061550b836155d5565b92508282101561551e5761551d61571d565b5b828203905092915050565b6000615534826155df565b915061553f836155df565b9250828210156155525761555161571d565b5b828203905092915050565b6000615568826155b5565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006155f7826155df565b9050919050565b82818337600083830152505050565b60005b8381101561562b578082015181840152602081019050615610565b8381111561563a576000848401525b50505050565b6000600282049050600182168061565857607f821691505b6020821081141561566c5761566b61577b565b5b50919050565b61567b826157d9565b810181811067ffffffffffffffff8211171561569a576156996157aa565b5b80604052505050565b60006156ae826155d5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156156e1576156e061571d565b5b600182019050919050565b60006156f7826155d5565b9150615702836155d5565b9250826157125761571161574c565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4d6967726174696f6e20686173206e6f74207374617274656400000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f496e76616c69642070726963652076616c756500000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f446f65736e2774206f776e2074686520746f6b656e0000000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f53616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f596f752063616e206e6f7420627579206d6f7265207468616e20616c6c6f776560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f7175616e746974792073686f756c6420626520706f736974697665206e756d6260008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f50726573616c65206973206e6f74206163746976650000000000000000000000600082015250565b7f696e76616c696420706172616d206c656e677468000000000000000000000000600082015250565b7f4e6f206d6f726520737570706c79000000000000000000000000000000000000600082015250565b7f596f752063616e206e6f74206d696e74206f6e2070726573616c650000000000600082015250565b615ecf8161555d565b8114615eda57600080fd5b50565b615ee68161556f565b8114615ef157600080fd5b50565b615efd8161557b565b8114615f0857600080fd5b50565b615f14816155a7565b8114615f1f57600080fd5b50565b615f2b816155d5565b8114615f3657600080fd5b50565b615f42816155df565b8114615f4d57600080fd5b5056fea264697066735822122003b0ebb6bf723f22dcf500a8e8649af057c9b842dd10c92545398f523c1beb4864736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000270f00000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000140000000000000000000000000b7d8f86a157e4ce452d6cb889dc45cf6042216c6000000000000000000000000000000000000000000000000000000000000001547616c7a56656e64696e674d616368696e654574680000000000000000000000000000000000000000000000000000000000000000000000000000000000000647564d4554480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002968747470733a2f2f67616c7a2e637962657267616c7a6e66742e636f6d2f67766d6574682f6574682f0000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061027d5760003560e01c806370a082311161014f578063a035b1fe116100c1578063c1408d791161007a578063c1408d7914610952578063c87b56dd1461097b578063e777df20146109b8578063e985e9c5146109e3578063f2fde38b14610a20578063fdea8e0b14610a495761027d565b8063a035b1fe14610865578063a22cb46514610890578063a24ffbd4146108b9578063a63b94f5146108e2578063affed0e0146108fe578063b88d4fde146109295761027d565b80638462151c116101135780638462151c146107415780638cb2923c1461077e5780638da5cb5b146107a957806391b7f5ed146107d457806395d89b41146107fd5780639dcd8cde146108285761027d565b806370a0823114610682578063715018a6146106bf57806373bfad87146106d65780637d8966e4146106ff5780637dc42975146107165761027d565b80632fc4aa9c116101f3578063562e438b116101ac578063562e438b14610560578063596cdebd146105895780635f6be614146105c6578063633423be146105ef5780636352211e1461061a5780636ad1fe02146106575761027d565b80632fc4aa9c14610466578063324536eb1461048f57806334393743146104ba57806342842e0e146104d15780634f6ccce7146104fa57806355f804b3146105375761027d565b806314107f3c1161024557806314107f3c1461037957806318160ddd1461039557806321fec36c146103c057806323b872dd146103d757806327089c8c146104005780632f745c59146104295761027d565b806301ffc9a714610282578063062897ba146102bf57806306fdde03146102e8578063081812fc14610313578063095ea7b314610350575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a4919061473a565b610a74565b6040516102b69190614e4b565b60405180910390f35b3480156102cb57600080fd5b506102e660048036038101906102e1919061481f565b610a86565b005b3480156102f457600080fd5b506102fd610b20565b60405161030a9190614e66565b60405180910390f35b34801561031f57600080fd5b5061033a600480360381019061033591906147f6565b610bb2565b6040516103479190614dc2565b60405180910390f35b34801561035c57600080fd5b5061037760048036038101906103729190614656565b610c37565b005b610393600480360381019061038e919061481f565b610d4f565b005b3480156103a157600080fd5b506103aa61125b565b6040516103b7919061524c565b60405180910390f35b3480156103cc57600080fd5b506103d5611268565b005b3480156103e357600080fd5b506103fe60048036038101906103f99190614550565b611310565b005b34801561040c57600080fd5b50610427600480360381019061042291906147f6565b611370565b005b34801561043557600080fd5b50610450600480360381019061044b9190614656565b6114d6565b60405161045d919061524c565b60405180910390f35b34801561047257600080fd5b5061048d600480360381019061048891906144eb565b61157b565b005b34801561049b57600080fd5b506104a461163b565b6040516104b19190615208565b60405180910390f35b3480156104c657600080fd5b506104cf61164f565b005b3480156104dd57600080fd5b506104f860048036038101906104f39190614550565b6116f7565b005b34801561050657600080fd5b50610521600480360381019061051c91906147f6565b611717565b60405161052e919061524c565b60405180910390f35b34801561054357600080fd5b5061055e6004803603810190610559919061478c565b6117ae565b005b34801561056c57600080fd5b50610587600480360381019061058291906147cd565b611844565b005b34801561059557600080fd5b506105b060048036038101906105ab91906144eb565b6118e0565b6040516105bd9190615267565b60405180910390f35b3480156105d257600080fd5b506105ed60048036038101906105e891906147f6565b6119b2565b005b3480156105fb57600080fd5b50610604611af2565b6040516106119190614dc2565b60405180910390f35b34801561062657600080fd5b50610641600480360381019061063c91906147f6565b611b18565b60405161064e9190614dc2565b60405180910390f35b34801561066357600080fd5b5061066c611bca565b6040516106799190614e4b565b60405180910390f35b34801561068e57600080fd5b506106a960048036038101906106a491906144eb565b611bdd565b6040516106b6919061524c565b60405180910390f35b3480156106cb57600080fd5b506106d4611c95565b005b3480156106e257600080fd5b506106fd60048036038101906106f891906146ce565b611d1d565b005b34801561070b57600080fd5b50610714611ed9565b005b34801561072257600080fd5b5061072b611f81565b6040516107389190615267565b60405180910390f35b34801561074d57600080fd5b50610768600480360381019061076391906144eb565b611f94565b6040516107759190614e29565b60405180910390f35b34801561078a57600080fd5b50610793612110565b6040516107a09190615208565b60405180910390f35b3480156107b557600080fd5b506107be612124565b6040516107cb9190614dc2565b60405180910390f35b3480156107e057600080fd5b506107fb60048036038101906107f691906147f6565b61214e565b005b34801561080957600080fd5b506108126121d4565b60405161081f9190614e66565b60405180910390f35b34801561083457600080fd5b5061084f600480360381019061084a91906144eb565b612266565b60405161085c9190615267565b60405180910390f35b34801561087157600080fd5b5061087a612338565b604051610887919061524c565b60405180910390f35b34801561089c57600080fd5b506108b760048036038101906108b2919061461a565b61233e565b005b3480156108c557600080fd5b506108e060048036038101906108db9190614692565b612354565b005b6108fc60048036038101906108f7919061481f565b612559565b005b34801561090a57600080fd5b506109136129a0565b604051610920919061524c565b60405180910390f35b34801561093557600080fd5b50610950600480360381019061094b919061459f565b6129a6565b005b34801561095e57600080fd5b50610979600480360381019061097491906147cd565b612a08565b005b34801561098757600080fd5b506109a2600480360381019061099d91906147f6565b612aa4565b6040516109af9190614e66565b60405180910390f35b3480156109c457600080fd5b506109cd612b4b565b6040516109da919061524c565b60405180910390f35b3480156109ef57600080fd5b50610a0a6004803603810190610a059190614514565b612b66565b604051610a179190614e4b565b60405180910390f35b348015610a2c57600080fd5b50610a476004803603810190610a4291906144eb565b612bfa565b005b348015610a5557600080fd5b50610a5e612cf2565b604051610a6b9190614e4b565b60405180910390f35b6000610a7f82612d05565b9050919050565b610a8e612d7f565b73ffffffffffffffffffffffffffffffffffffffff16610aac612124565b73ffffffffffffffffffffffffffffffffffffffff1614610b02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af9906150c8565b60405180910390fd5b80600e60046101000a81548160ff021916908360ff16021790555050565b606060008054610b2f90615640565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5b90615640565b8015610ba85780601f10610b7d57610100808354040283529160200191610ba8565b820191906000526020600020905b815481529060010190602001808311610b8b57829003601f168201915b5050505050905090565b6000610bbd82612d87565b610bfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf390615088565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c4282611b18565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610caa90615128565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cd2612d7f565b73ffffffffffffffffffffffffffffffffffffffff161480610d015750610d0081610cfb612d7f565b612b66565b5b610d40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3790614fe8565b60405180910390fd5b610d4a8383612df3565b505050565b6000601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050600a60149054906101000a900460ff16610def576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de690614fa8565b60405180910390fd5b600e60009054906101000a900461ffff1661ffff166001600c548460ff1661ffff16610e1b91906153dd565b610e2591906154f5565b1115610e66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5d906151c8565b60405180910390fd5b600e60029054906101000a900461ffff1661ffff166001600c548460ff1661ffff16610e9291906153dd565b610e9c91906154f5565b1115610edd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed4906151c8565b60405180910390fd5b600e60049054906101000a900460ff1660ff168282610efc9190615433565b60ff161115610f40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3790615008565b60405180910390fd5b60008260ff1611610f86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7d906150a8565b60405180910390fd5b600e60049054906101000a900460ff1660ff168260ff161115610fde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd590615008565b60405180910390fd5b8160ff16600d54610fef919061549b565b341015611031576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102890614ec8565b60405180910390fd5b81601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166110899190615433565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff1602179055506000600c5490506110ff8360ff16600c54612eac90919063ffffffff16565b600c81905550600e60059054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f1935050505015801561116d573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff167f29fe9415fa383663cf4555700885a587456ffbaead207d9946400d3afb44ac3582856040516111b6929190615223565b60405180910390a260005b8360ff16811015611255576111e533828461ffff166111e091906153dd565b612ec2565b3373ffffffffffffffffffffffffffffffffffffffff167f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe828461ffff1661122d91906153dd565b60405161123a919061524c565b60405180910390a2808061124d906156a3565b9150506111c1565b50505050565b6000600880549050905090565b611270612d7f565b73ffffffffffffffffffffffffffffffffffffffff1661128e612124565b73ffffffffffffffffffffffffffffffffffffffff16146112e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112db906150c8565b60405180910390fd5b600a60169054906101000a900460ff1615600a60166101000a81548160ff021916908315150217905550565b61132161131b612d7f565b82612ee0565b611360576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135790615148565b60405180910390fd5b61136b838383612fbe565b505050565b611378612d7f565b73ffffffffffffffffffffffffffffffffffffffff16611396612124565b73ffffffffffffffffffffffffffffffffffffffff16146113ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e3906150c8565b60405180910390fd5b60006113f733611bdd565b11611437576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142e90614f28565b60405180910390fd5b6114408161321a565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff1663937f2608336040518263ffffffff1660e01b81526004016114a09190614dc2565b600060405180830381600087803b1580156114ba57600080fd5b505af11580156114ce573d6000803e3d6000fd5b505050505050565b60006114e183611bdd565b8210611522576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151990614ea8565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b611583612d7f565b73ffffffffffffffffffffffffffffffffffffffff166115a1612124565b73ffffffffffffffffffffffffffffffffffffffff16146115f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ee906150c8565b60405180910390fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600e60029054906101000a900461ffff1681565b611657612d7f565b73ffffffffffffffffffffffffffffffffffffffff16611675612124565b73ffffffffffffffffffffffffffffffffffffffff16146116cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c2906150c8565b60405180910390fd5b600a60159054906101000a900460ff1615600a60156101000a81548160ff021916908315150217905550565b611712838383604051806020016040528060008152506129a6565b505050565b600061172161125b565b8210611762576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175990615168565b60405180910390fd5b6008828154811061179c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6117b6612d7f565b73ffffffffffffffffffffffffffffffffffffffff166117d4612124565b73ffffffffffffffffffffffffffffffffffffffff161461182a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611821906150c8565b60405180910390fd5b80600b90805190602001906118409291906141b9565b5050565b61184c612d7f565b73ffffffffffffffffffffffffffffffffffffffff1661186a612124565b73ffffffffffffffffffffffffffffffffffffffff16146118c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b7906150c8565b60405180910390fd5b80600e60026101000a81548161ffff021916908361ffff16021790555050565b60006118ea612d7f565b73ffffffffffffffffffffffffffffffffffffffff16611908612124565b73ffffffffffffffffffffffffffffffffffffffff161461195e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611955906150c8565b60405180910390fd5b601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b60011515600a60169054906101000a900460ff16151514611a08576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ff90614e88565b60405180910390fd5b6000611a1333611bdd565b11611a53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4a90614f28565b60405180910390fd5b611a5c8161321a565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff1663937f2608336040518263ffffffff1660e01b8152600401611abc9190614dc2565b600060405180830381600087803b158015611ad657600080fd5b505af1158015611aea573d6000803e3d6000fd5b505050505050565b600e60059054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611bc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb890615048565b60405180910390fd5b80915050919050565b600a60149054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4590615028565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611c9d612d7f565b73ffffffffffffffffffffffffffffffffffffffff16611cbb612124565b73ffffffffffffffffffffffffffffffffffffffff1614611d11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d08906150c8565b60405180910390fd5b611d1b600061332b565b565b611d25612d7f565b73ffffffffffffffffffffffffffffffffffffffff16611d43612124565b73ffffffffffffffffffffffffffffffffffffffff1614611d99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d90906150c8565b60405180910390fd5b8051825114611ddd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd4906151a8565b60405180910390fd5b60005b8251811015611ed457818181518110611e22577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160106000858481518110611e67577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff1602179055508080611ecc906156a3565b915050611de0565b505050565b611ee1612d7f565b73ffffffffffffffffffffffffffffffffffffffff16611eff612124565b73ffffffffffffffffffffffffffffffffffffffff1614611f55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4c906150c8565b60405180910390fd5b600a60149054906101000a900460ff1615600a60146101000a81548160ff021916908315150217905550565b600e60049054906101000a900460ff1681565b60606000611fa183611bdd565b9050600081141561202457600067ffffffffffffffff811115611fed577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561201b5781602001602082028036833780820191505090505b5091505061210b565b60008167ffffffffffffffff811115612066577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156120945781602001602082028036833780820191505090505b50905060005b82811015612104576120ac85826114d6565b8282815181106120e5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080806120fc906156a3565b91505061209a565b8193505050505b919050565b600e60009054906101000a900461ffff1681565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b612156612d7f565b73ffffffffffffffffffffffffffffffffffffffff16612174612124565b73ffffffffffffffffffffffffffffffffffffffff16146121ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c1906150c8565b60405180910390fd5b80600d8190555050565b6060600180546121e390615640565b80601f016020809104026020016040519081016040528092919081815260200182805461220f90615640565b801561225c5780601f106122315761010080835404028352916020019161225c565b820191906000526020600020905b81548152906001019060200180831161223f57829003601f168201915b5050505050905090565b6000612270612d7f565b73ffffffffffffffffffffffffffffffffffffffff1661228e612124565b73ffffffffffffffffffffffffffffffffffffffff16146122e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122db906150c8565b60405180910390fd5b601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b600d5481565b612350612349612d7f565b83836133f1565b5050565b61235c612d7f565b73ffffffffffffffffffffffffffffffffffffffff1661237a612124565b73ffffffffffffffffffffffffffffffffffffffff16146123d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c7906150c8565b60405180910390fd5b600e60029054906101000a900461ffff1661ffff166001600c548360ff1661ffff166123fc91906153dd565b61240691906154f5565b1115612447576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243e906151c8565b60405180910390fd5b6000600c5490506124668260ff16600c54612eac90919063ffffffff16565b600c819055508273ffffffffffffffffffffffffffffffffffffffff167f29fe9415fa383663cf4555700885a587456ffbaead207d9946400d3afb44ac3582846040516124b4929190615223565b60405180910390a260005b8260ff16811015612553576124e384828461ffff166124de91906153dd565b612ec2565b3373ffffffffffffffffffffffffffffffffffffffff167f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe828461ffff1661252b91906153dd565b604051612538919061524c565b60405180910390a2808061254b906156a3565b9150506124bf565b50505050565b6000601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050600a60159054906101000a900460ff166125f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f090615188565b60405180910390fd5b600e60009054906101000a900461ffff1661ffff166001600c548460ff1661ffff1661262591906153dd565b61262f91906154f5565b1115612670576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612667906151c8565b60405180910390fd5b600e60029054906101000a900461ffff1661ffff166001600c548460ff1661ffff1661269c91906153dd565b6126a691906154f5565b11156126e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126de906151c8565b60405180910390fd5b8060ff168260ff161115612730576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272790615008565b60405180910390fd5b60008160ff1611612776576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276d906151e8565b60405180910390fd5b8160ff16600d54612787919061549b565b3410156127c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c090614ec8565b60405180910390fd5b81816127d59190615529565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff160217905550600e60059054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015612894573d6000803e3d6000fd5b506000600c5490508260ff16600c546128ad91906153dd565b600c819055503373ffffffffffffffffffffffffffffffffffffffff167f29fe9415fa383663cf4555700885a587456ffbaead207d9946400d3afb44ac3582856040516128fb929190615223565b60405180910390a260005b8360ff1681101561299a5761292a33828461ffff1661292591906153dd565b612ec2565b3373ffffffffffffffffffffffffffffffffffffffff167f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe828461ffff1661297291906153dd565b60405161297f919061524c565b60405180910390a28080612992906156a3565b915050612906565b50505050565b600c5481565b6129b76129b1612d7f565b83612ee0565b6129f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ed90615148565b60405180910390fd5b612a028484848461355e565b50505050565b612a10612d7f565b73ffffffffffffffffffffffffffffffffffffffff16612a2e612124565b73ffffffffffffffffffffffffffffffffffffffff1614612a84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7b906150c8565b60405180910390fd5b80600e60006101000a81548161ffff021916908361ffff16021790555050565b6060612aaf82612d87565b612aee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae590615108565b60405180910390fd5b6000612af86135ba565b90506000815111612b185760405180602001604052806000815250612b43565b80612b228461364c565b604051602001612b33929190614d9e565b6040516020818303038152906040525b915050919050565b6000806001600c54612b5d91906154f5565b90508091505090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612c02612d7f565b73ffffffffffffffffffffffffffffffffffffffff16612c20612124565b73ffffffffffffffffffffffffffffffffffffffff1614612c76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6d906150c8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612ce6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cdd90614f08565b60405180910390fd5b612cef8161332b565b50565b600a60159054906101000a900460ff1681565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612d785750612d77826137f9565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612e6683611b18565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008183612eba91906153dd565b905092915050565b612edc8282604051806020016040528060008152506138db565b5050565b6000612eeb82612d87565b612f2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2190614fc8565b60405180910390fd5b6000612f3583611b18565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612fa457508373ffffffffffffffffffffffffffffffffffffffff16612f8c84610bb2565b73ffffffffffffffffffffffffffffffffffffffff16145b80612fb55750612fb48185612b66565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612fde82611b18565b73ffffffffffffffffffffffffffffffffffffffff1614613034576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302b906150e8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156130a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161309b90614f68565b60405180910390fd5b6130af838383613936565b6130ba600082612df3565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461310a91906154f5565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461316191906153dd565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061322582611b18565b905061323381600084613936565b61323e600083612df3565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461328e91906154f5565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613460576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161345790614f88565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516135519190614e4b565b60405180910390a3505050565b613569848484612fbe565b61357584848484613946565b6135b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135ab90614ee8565b60405180910390fd5b50505050565b6060600b80546135c990615640565b80601f01602080910402602001604051908101604052809291908181526020018280546135f590615640565b80156136425780601f1061361757610100808354040283529160200191613642565b820191906000526020600020905b81548152906001019060200180831161362557829003601f168201915b5050505050905090565b60606000821415613694576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506137f4565b600082905060005b600082146136c65780806136af906156a3565b915050600a826136bf919061546a565b915061369c565b60008167ffffffffffffffff811115613708577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561373a5781602001600182028036833780820191505090505b5090505b600085146137ed5760018261375391906154f5565b9150600a8561376291906156ec565b603061376e91906153dd565b60f81b8183815181106137aa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856137e6919061546a565b945061373e565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806138c457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806138d457506138d382613add565b5b9050919050565b6138e58383613b47565b6138f26000848484613946565b613931576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161392890614ee8565b60405180910390fd5b505050565b613941838383613d15565b505050565b60006139678473ffffffffffffffffffffffffffffffffffffffff16613e29565b15613ad0578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613990612d7f565b8786866040518563ffffffff1660e01b81526004016139b29493929190614ddd565b602060405180830381600087803b1580156139cc57600080fd5b505af19250505080156139fd57506040513d601f19601f820116820180604052508101906139fa9190614763565b60015b613a80573d8060008114613a2d576040519150601f19603f3d011682016040523d82523d6000602084013e613a32565b606091505b50600081511415613a78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a6f90614ee8565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613ad5565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613bb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bae90615068565b60405180910390fd5b613bc081612d87565b15613c00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bf790614f48565b60405180910390fd5b613c0c60008383613936565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613c5c91906153dd565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b613d20838383613e3c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613d6357613d5e81613e41565b613da2565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613da157613da08382613e8a565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613de557613de081613ff7565b613e24565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613e2357613e22828261413a565b5b5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613e9784611bdd565b613ea191906154f5565b9050600060076000848152602001908152602001600020549050818114613f86576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061400b91906154f5565b9050600060096000848152602001908152602001600020549050600060088381548110614061577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106140a9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061411e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061414583611bdd565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b8280546141c590615640565b90600052602060002090601f0160209004810192826141e7576000855561422e565b82601f1061420057805160ff191683800117855561422e565b8280016001018555821561422e579182015b8281111561422d578251825591602001919060010190614212565b5b50905061423b919061423f565b5090565b5b80821115614258576000816000905550600101614240565b5090565b600061426f61426a846152a7565b615282565b9050808382526020820190508285602086028201111561428e57600080fd5b60005b858110156142be57816142a488826143b0565b845260208401935060208301925050600181019050614291565b5050509392505050565b60006142db6142d6846152d3565b615282565b905080838252602082019050828560208602820111156142fa57600080fd5b60005b8581101561432a578161431088826144d6565b8452602084019350602083019250506001810190506142fd565b5050509392505050565b6000614347614342846152ff565b615282565b90508281526020810184848401111561435f57600080fd5b61436a8482856155fe565b509392505050565b600061438561438084615330565b615282565b90508281526020810184848401111561439d57600080fd5b6143a88482856155fe565b509392505050565b6000813590506143bf81615ec6565b92915050565b600082601f8301126143d657600080fd5b81356143e684826020860161425c565b91505092915050565b600082601f83011261440057600080fd5b81356144108482602086016142c8565b91505092915050565b60008135905061442881615edd565b92915050565b60008135905061443d81615ef4565b92915050565b60008151905061445281615ef4565b92915050565b600082601f83011261446957600080fd5b8135614479848260208601614334565b91505092915050565b600082601f83011261449357600080fd5b81356144a3848260208601614372565b91505092915050565b6000813590506144bb81615f0b565b92915050565b6000813590506144d081615f22565b92915050565b6000813590506144e581615f39565b92915050565b6000602082840312156144fd57600080fd5b600061450b848285016143b0565b91505092915050565b6000806040838503121561452757600080fd5b6000614535858286016143b0565b9250506020614546858286016143b0565b9150509250929050565b60008060006060848603121561456557600080fd5b6000614573868287016143b0565b9350506020614584868287016143b0565b9250506040614595868287016144c1565b9150509250925092565b600080600080608085870312156145b557600080fd5b60006145c3878288016143b0565b94505060206145d4878288016143b0565b93505060406145e5878288016144c1565b925050606085013567ffffffffffffffff81111561460257600080fd5b61460e87828801614458565b91505092959194509250565b6000806040838503121561462d57600080fd5b600061463b858286016143b0565b925050602061464c85828601614419565b9150509250929050565b6000806040838503121561466957600080fd5b6000614677858286016143b0565b9250506020614688858286016144c1565b9150509250929050565b600080604083850312156146a557600080fd5b60006146b3858286016143b0565b92505060206146c4858286016144d6565b9150509250929050565b600080604083850312156146e157600080fd5b600083013567ffffffffffffffff8111156146fb57600080fd5b614707858286016143c5565b925050602083013567ffffffffffffffff81111561472457600080fd5b614730858286016143ef565b9150509250929050565b60006020828403121561474c57600080fd5b600061475a8482850161442e565b91505092915050565b60006020828403121561477557600080fd5b600061478384828501614443565b91505092915050565b60006020828403121561479e57600080fd5b600082013567ffffffffffffffff8111156147b857600080fd5b6147c484828501614482565b91505092915050565b6000602082840312156147df57600080fd5b60006147ed848285016144ac565b91505092915050565b60006020828403121561480857600080fd5b6000614816848285016144c1565b91505092915050565b60006020828403121561483157600080fd5b600061483f848285016144d6565b91505092915050565b60006148548383614d62565b60208301905092915050565b6148698161555d565b82525050565b600061487a82615371565b614884818561539f565b935061488f83615361565b8060005b838110156148c05781516148a78882614848565b97506148b283615392565b925050600181019050614893565b5085935050505092915050565b6148d68161556f565b82525050565b60006148e78261537c565b6148f181856153b0565b935061490181856020860161560d565b61490a816157d9565b840191505092915050565b600061492082615387565b61492a81856153c1565b935061493a81856020860161560d565b614943816157d9565b840191505092915050565b600061495982615387565b61496381856153d2565b935061497381856020860161560d565b80840191505092915050565b600061498c6019836153c1565b9150614997826157ea565b602082019050919050565b60006149af602b836153c1565b91506149ba82615813565b604082019050919050565b60006149d26013836153c1565b91506149dd82615862565b602082019050919050565b60006149f56032836153c1565b9150614a008261588b565b604082019050919050565b6000614a186026836153c1565b9150614a23826158da565b604082019050919050565b6000614a3b6015836153c1565b9150614a4682615929565b602082019050919050565b6000614a5e601c836153c1565b9150614a6982615952565b602082019050919050565b6000614a816024836153c1565b9150614a8c8261597b565b604082019050919050565b6000614aa46019836153c1565b9150614aaf826159ca565b602082019050919050565b6000614ac76012836153c1565b9150614ad2826159f3565b602082019050919050565b6000614aea602c836153c1565b9150614af582615a1c565b604082019050919050565b6000614b0d6038836153c1565b9150614b1882615a6b565b604082019050919050565b6000614b306021836153c1565b9150614b3b82615aba565b604082019050919050565b6000614b53602a836153c1565b9150614b5e82615b09565b604082019050919050565b6000614b766029836153c1565b9150614b8182615b58565b604082019050919050565b6000614b996020836153c1565b9150614ba482615ba7565b602082019050919050565b6000614bbc602c836153c1565b9150614bc782615bd0565b604082019050919050565b6000614bdf6022836153c1565b9150614bea82615c1f565b604082019050919050565b6000614c026020836153c1565b9150614c0d82615c6e565b602082019050919050565b6000614c256029836153c1565b9150614c3082615c97565b604082019050919050565b6000614c48602f836153c1565b9150614c5382615ce6565b604082019050919050565b6000614c6b6021836153c1565b9150614c7682615d35565b604082019050919050565b6000614c8e6031836153c1565b9150614c9982615d84565b604082019050919050565b6000614cb1602c836153c1565b9150614cbc82615dd3565b604082019050919050565b6000614cd46015836153c1565b9150614cdf82615e22565b602082019050919050565b6000614cf76014836153c1565b9150614d0282615e4b565b602082019050919050565b6000614d1a600e836153c1565b9150614d2582615e74565b602082019050919050565b6000614d3d601b836153c1565b9150614d4882615e9d565b602082019050919050565b614d5c816155a7565b82525050565b614d6b816155d5565b82525050565b614d7a816155d5565b82525050565b614d89816155ec565b82525050565b614d98816155df565b82525050565b6000614daa828561494e565b9150614db6828461494e565b91508190509392505050565b6000602082019050614dd76000830184614860565b92915050565b6000608082019050614df26000830187614860565b614dff6020830186614860565b614e0c6040830185614d71565b8181036060830152614e1e81846148dc565b905095945050505050565b60006020820190508181036000830152614e43818461486f565b905092915050565b6000602082019050614e6060008301846148cd565b92915050565b60006020820190508181036000830152614e808184614915565b905092915050565b60006020820190508181036000830152614ea18161497f565b9050919050565b60006020820190508181036000830152614ec1816149a2565b9050919050565b60006020820190508181036000830152614ee1816149c5565b9050919050565b60006020820190508181036000830152614f01816149e8565b9050919050565b60006020820190508181036000830152614f2181614a0b565b9050919050565b60006020820190508181036000830152614f4181614a2e565b9050919050565b60006020820190508181036000830152614f6181614a51565b9050919050565b60006020820190508181036000830152614f8181614a74565b9050919050565b60006020820190508181036000830152614fa181614a97565b9050919050565b60006020820190508181036000830152614fc181614aba565b9050919050565b60006020820190508181036000830152614fe181614add565b9050919050565b6000602082019050818103600083015261500181614b00565b9050919050565b6000602082019050818103600083015261502181614b23565b9050919050565b6000602082019050818103600083015261504181614b46565b9050919050565b6000602082019050818103600083015261506181614b69565b9050919050565b6000602082019050818103600083015261508181614b8c565b9050919050565b600060208201905081810360008301526150a181614baf565b9050919050565b600060208201905081810360008301526150c181614bd2565b9050919050565b600060208201905081810360008301526150e181614bf5565b9050919050565b6000602082019050818103600083015261510181614c18565b9050919050565b6000602082019050818103600083015261512181614c3b565b9050919050565b6000602082019050818103600083015261514181614c5e565b9050919050565b6000602082019050818103600083015261516181614c81565b9050919050565b6000602082019050818103600083015261518181614ca4565b9050919050565b600060208201905081810360008301526151a181614cc7565b9050919050565b600060208201905081810360008301526151c181614cea565b9050919050565b600060208201905081810360008301526151e181614d0d565b9050919050565b6000602082019050818103600083015261520181614d30565b9050919050565b600060208201905061521d6000830184614d53565b92915050565b60006040820190506152386000830185614d53565b6152456020830184614d80565b9392505050565b60006020820190506152616000830184614d71565b92915050565b600060208201905061527c6000830184614d8f565b92915050565b600061528c61529d565b90506152988282615672565b919050565b6000604051905090565b600067ffffffffffffffff8211156152c2576152c16157aa565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156152ee576152ed6157aa565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561531a576153196157aa565b5b615323826157d9565b9050602081019050919050565b600067ffffffffffffffff82111561534b5761534a6157aa565b5b615354826157d9565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006153e8826155d5565b91506153f3836155d5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156154285761542761571d565b5b828201905092915050565b600061543e826155df565b9150615449836155df565b92508260ff0382111561545f5761545e61571d565b5b828201905092915050565b6000615475826155d5565b9150615480836155d5565b9250826154905761548f61574c565b5b828204905092915050565b60006154a6826155d5565b91506154b1836155d5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156154ea576154e961571d565b5b828202905092915050565b6000615500826155d5565b915061550b836155d5565b92508282101561551e5761551d61571d565b5b828203905092915050565b6000615534826155df565b915061553f836155df565b9250828210156155525761555161571d565b5b828203905092915050565b6000615568826155b5565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006155f7826155df565b9050919050565b82818337600083830152505050565b60005b8381101561562b578082015181840152602081019050615610565b8381111561563a576000848401525b50505050565b6000600282049050600182168061565857607f821691505b6020821081141561566c5761566b61577b565b5b50919050565b61567b826157d9565b810181811067ffffffffffffffff8211171561569a576156996157aa565b5b80604052505050565b60006156ae826155d5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156156e1576156e061571d565b5b600182019050919050565b60006156f7826155d5565b9150615702836155d5565b9250826157125761571161574c565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4d6967726174696f6e20686173206e6f74207374617274656400000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f496e76616c69642070726963652076616c756500000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f446f65736e2774206f776e2074686520746f6b656e0000000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f53616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f596f752063616e206e6f7420627579206d6f7265207468616e20616c6c6f776560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f7175616e746974792073686f756c6420626520706f736974697665206e756d6260008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f50726573616c65206973206e6f74206163746976650000000000000000000000600082015250565b7f696e76616c696420706172616d206c656e677468000000000000000000000000600082015250565b7f4e6f206d6f726520737570706c79000000000000000000000000000000000000600082015250565b7f596f752063616e206e6f74206d696e74206f6e2070726573616c650000000000600082015250565b615ecf8161555d565b8114615eda57600080fd5b50565b615ee68161556f565b8114615ef157600080fd5b50565b615efd8161557b565b8114615f0857600080fd5b50565b615f14816155a7565b8114615f1f57600080fd5b50565b615f2b816155d5565b8114615f3657600080fd5b50565b615f42816155df565b8114615f4d57600080fd5b5056fea264697066735822122003b0ebb6bf723f22dcf500a8e8649af057c9b842dd10c92545398f523c1beb4864736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000270f00000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000140000000000000000000000000b7d8f86a157e4ce452d6cb889dc45cf6042216c6000000000000000000000000000000000000000000000000000000000000001547616c7a56656e64696e674d616368696e654574680000000000000000000000000000000000000000000000000000000000000000000000000000000000000647564d4554480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002968747470733a2f2f67616c7a2e637962657267616c7a6e66742e636f6d2f67766d6574682f6574682f0000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): GalzVendingMachineEth
Arg [1] : _ticker (string): GVMETH
Arg [2] : _totalSupply (uint16): 9999
Arg [3] : _maxPublic (uint8): 5
Arg [4] : baseURI_ (string): https://galz.cybergalznft.com/gvmeth/eth/
Arg [5] : _paymentAddress (address): 0xB7d8f86a157e4cE452d6CB889dc45cf6042216c6
-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 000000000000000000000000000000000000000000000000000000000000270f
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [5] : 000000000000000000000000b7d8f86a157e4ce452d6cb889dc45cf6042216c6
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000015
Arg [7] : 47616c7a56656e64696e674d616368696e654574680000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [9] : 47564d4554480000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000029
Arg [11] : 68747470733a2f2f67616c7a2e637962657267616c7a6e66742e636f6d2f6776
Arg [12] : 6d6574682f6574682f0000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.