Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
NFT
Overview
Max Total Supply
0 GALZ
Holders
720
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 GALZLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Galz
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/Counters.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./ERC721XX.sol"; abstract contract GalzRandomizer { function getTokenId(uint256 tokenId) public view virtual returns(uint256 resultId); } contract Galz is ERC721XX, Ownable { using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; string private _baseURIextended; address randomizerAddress; address galzVendingMachineEthAddress; bool public contractLocked = false; event GalzRevealed(address indexed to, uint256 realId1, uint256 realId2); constructor( string memory _name, string memory _ticker, string memory baseURI_, address _imx ) ERC721XX(_name, _ticker) { _baseURIextended = baseURI_; imx = _imx; } function mintTransfer(address to) public returns(uint256, uint256) { require(msg.sender == galzVendingMachineEthAddress, "Not authorized"); GalzRandomizer tokenAttribution = GalzRandomizer(randomizerAddress); uint256 realId1 = tokenAttribution.getTokenId(_tokenIdCounter.current()); _safeMint(to, realId1); _tokenIdCounter.increment(); uint256 realId2 = tokenAttribution.getTokenId(_tokenIdCounter.current()); _safeMint(to, realId2); _tokenIdCounter.increment(); emit GalzRevealed(to, realId1, realId2); return (realId1, realId2); } function isRevealed(uint256 id) public view returns(bool) { if (abi.encodePacked(ownerOf(id)).length == 20) {return true;} else {return false;} } function setGalzVendingMachineEthAddress(address newAddress) public onlyOwner { galzVendingMachineEthAddress = newAddress; } function setRandomizerAddress(address newAddress) public onlyOwner { randomizerAddress = newAddress; } function setBaseURI(string memory baseURI_) public onlyOwner { require(contractLocked == false, "Contract has been locked and URI can't be changed"); _baseURIextended = baseURI_; } function _baseURI() internal view virtual override returns (string memory) { return _baseURIextended; } function lockContract() public onlyOwner { contractLocked = true; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// 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 // ERC721XX.org pragma solidity ^0.8.0; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; import '@imtbl/imx-contracts/contracts/utils/Bytes.sol'; import '@imtbl/imx-contracts/contracts/utils/Minting.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 ERC721XX 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; // L2 IMX address from Mainnet or Testnet // Mainnet : 0x5FDCCA53617f4d2b9134B29090C87D01058e27e9 // Testnet : 0x4527be8f31e2ebfbef4fcaddb5a17447b27d2aef address public imx; event Minted(address indexed to, uint256 id); /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. * When deployed, should be initialized whether it's on mainnet or testnet. * */ 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), "ERC721XX: 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), "ERC721XX: 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}. * Ethereum L1 and L2 have different metadata structure. * Should be initialized carefully. */ 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 = ERC721XX.ownerOf(tokenId); require(to != owner, "ERC721XX: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721XX: 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), "ERC721XX: 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), "ERC721XX: 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), "ERC721XX: 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 ERC721XX 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), "ERC721XX: 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), "ERC721XX: operator query for nonexistent token"); address owner = ERC721XX.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), "ERC721XX: 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), "ERC721XX: mint to the zero address"); require(!_exists(tokenId), "ERC721XX: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev mintFor only called by IMX contract. * TokenIDs from IMX are fixed. So please becareful with duplicated ID with ETH and IMX. */ function mintFor( address user, uint256 quantity, bytes calldata mintingBlob ) external onlyIMX { require(quantity == 1, 'Mintable: invalid quantity'); (uint256 id, bytes memory blueprint) = Minting.split(mintingBlob); _mintFor(user, id, blueprint); emit Minted(user, id); } /** * @dev _mintFor. * Originally Inculding memory(blueprint) for on-chain metadata. * Empty by default, can be overriden in child contracts. */ function _mintFor( address user, uint256 id, bytes memory ) internal { _safeMint(user, id); } /** * @dev Checks this token's ownership is IMX */ modifier onlyIMX() { require(msg.sender == imx, "Function can only be called by IMX"); _; } /** * @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 = ERC721XX.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(ERC721XX.ownerOf(tokenId) == from, "ERC721XX: transfer of token that is not own"); require(to != address(0), "ERC721XX: 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(ERC721XX.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, "ERC721XX: 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("ERC721XX: 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/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 (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 (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 (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 (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/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 pragma solidity ^0.8.4; library Bytes { /** * @dev Converts a `uint256` to a `string`. * via OraclizeAPI - MIT licence * https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol */ function fromUint(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); uint256 index = digits - 1; temp = value; while (temp != 0) { buffer[index--] = bytes1(uint8(48 + (temp % 10))); temp /= 10; } return string(buffer); } bytes constant alphabet = "0123456789abcdef"; /** * Index Of * * Locates and returns the position of a character within a string starting * from a defined offset * * @param _base When being used for a data type this is the extended object * otherwise this is the string acting as the haystack to be * searched * @param _value The needle to search for, at present this is currently * limited to one character * @param _offset The starting point to start searching from which can start * from 0, but must not exceed the length of the string * @return int The position of the needle starting from 0 and returning -1 * in the case of no matches found */ function indexOf( bytes memory _base, string memory _value, uint256 _offset ) internal pure returns (int256) { bytes memory _valueBytes = bytes(_value); assert(_valueBytes.length == 1); for (uint256 i = _offset; i < _base.length; i++) { if (_base[i] == _valueBytes[0]) { return int256(i); } } return -1; } function substring( bytes memory strBytes, uint256 startIndex, uint256 endIndex ) internal pure returns (string memory) { bytes memory result = new bytes(endIndex - startIndex); for (uint256 i = startIndex; i < endIndex; i++) { result[i - startIndex] = strBytes[i]; } return string(result); } function toUint(bytes memory b) internal pure returns (uint256) { uint256 result = 0; for (uint256 i = 0; i < b.length; i++) { uint256 val = uint256(uint8(b[i])); if (val >= 48 && val <= 57) { // input is 0-9 result = result * 10 + (val - 48); } else { // invalid character, expecting integer input revert("invalid input, only numbers allowed"); } } return result; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./Bytes.sol"; library Minting { // Split the minting blob into token_id and blueprint portions // {token_id}:{blueprint} function split(bytes calldata blob) internal pure returns (uint256, bytes memory) { int256 index = Bytes.indexOf(blob, ":", 0); require(index >= 0, "Separator must exist"); // Trim the { and } from the parameters uint256 tokenID = Bytes.toUint(blob[1:uint256(index) - 1]); uint256 blueprintLength = blob.length - uint256(index) - 3; if (blueprintLength == 0) { return (tokenID, bytes("")); } bytes calldata blueprint = blob[uint256(index) + 2:blob.length - 1]; return (tokenID, blueprint); } }
// 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":"string","name":"baseURI_","type":"string"},{"internalType":"address","name":"_imx","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":"realId1","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"realId2","type":"uint256"}],"name":"GalzRevealed","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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"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":[],"name":"contractLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"imx","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes","name":"mintingBlob","type":"bytes"}],"name":"mintFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mintTransfer","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setGalzVendingMachineEthAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setRandomizerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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
60806040526000600b60146101000a81548160ff0219169083151502179055503480156200002c57600080fd5b50604051620044d3380380620044d3833981810160405281019062000052919062000313565b838381600090805190602001906200006c929190620001da565b50806001908051906020019062000085929190620001da565b505050620000a86200009c6200010c60201b60201c565b6200011460201b60201c565b8160099080519060200190620000c0929190620001da565b5080600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505062000588565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001e89062000493565b90600052602060002090601f0160209004810192826200020c576000855562000258565b82601f106200022757805160ff191683800117855562000258565b8280016001018555821562000258579182015b82811115620002575782518255916020019190600101906200023a565b5b5090506200026791906200026b565b5090565b5b80821115620002865760008160009055506001016200026c565b5090565b6000620002a16200029b84620003f3565b620003ca565b905082815260208101848484011115620002ba57600080fd5b620002c78482856200045d565b509392505050565b600081519050620002e0816200056e565b92915050565b600082601f830112620002f857600080fd5b81516200030a8482602086016200028a565b91505092915050565b600080600080608085870312156200032a57600080fd5b600085015167ffffffffffffffff8111156200034557600080fd5b6200035387828801620002e6565b945050602085015167ffffffffffffffff8111156200037157600080fd5b6200037f87828801620002e6565b935050604085015167ffffffffffffffff8111156200039d57600080fd5b620003ab87828801620002e6565b9250506060620003be87828801620002cf565b91505092959194509250565b6000620003d6620003e9565b9050620003e48282620004c9565b919050565b6000604051905090565b600067ffffffffffffffff8211156200041157620004106200052e565b5b6200041c826200055d565b9050602081019050919050565b600062000436826200043d565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b838110156200047d57808201518184015260208101905062000460565b838111156200048d576000848401525b50505050565b60006002820490506001821680620004ac57607f821691505b60208210811415620004c357620004c2620004ff565b5b50919050565b620004d4826200055d565b810181811067ffffffffffffffff82111715620004f657620004f56200052e565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b620005798162000429565b81146200058557600080fd5b50565b613f3b80620005986000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c80636e966007116100de57806395d89b4111610097578063c87b56dd11610071578063c87b56dd14610423578063e985e9c514610453578063f1abd7de14610483578063f2fde38b1461049f57610173565b806395d89b41146103cd578063a22cb465146103eb578063b88d4fde1461040757610173565b80636e9660071461031e57806370a082311461033a578063715018a61461036a578063753868e3146103745780638da5cb5b1461037e578063937f26081461039c57610173565b806323b872dd1161013057806323b872dd1461024c578063324cb3cb1461026857806342842e0e146102865780635055fbc3146102a257806355f804b3146102d25780636352211e146102ee57610173565b806301ffc9a71461017857806306fdde03146101a8578063081812fc146101c6578063095ea7b3146101f65780630f08025f1461021257806319ee6e3f14610230575b600080fd5b610192600480360381019061018d9190612b6b565b6104bb565b60405161019f91906130df565b60405180910390f35b6101b061059d565b6040516101bd91906130fa565b60405180910390f35b6101e060048036038101906101db9190612bfe565b61062f565b6040516101ed9190613078565b60405180910390f35b610210600480360381019061020b9190612ac3565b6106b4565b005b61021a6107cc565b6040516102279190613078565b60405180910390f35b61024a60048036038101906102459190612aff565b6107f2565b005b610266600480360381019061026191906129bd565b610937565b005b610270610997565b60405161027d91906130df565b60405180910390f35b6102a0600480360381019061029b91906129bd565b6109aa565b005b6102bc60048036038101906102b79190612bfe565b6109ca565b6040516102c991906130df565b60405180910390f35b6102ec60048036038101906102e79190612bbd565b610a10565b005b61030860048036038101906103039190612bfe565b610afc565b6040516103159190613078565b60405180910390f35b61033860048036038101906103339190612958565b610bae565b005b610354600480360381019061034f9190612958565b610c6e565b60405161036191906133dc565b60405180910390f35b610372610d26565b005b61037c610dae565b005b610386610e47565b6040516103939190613078565b60405180910390f35b6103b660048036038101906103b19190612958565b610e71565b6040516103c49291906133f7565b60405180910390f35b6103d56110dd565b6040516103e291906130fa565b60405180910390f35b61040560048036038101906104009190612a87565b61116f565b005b610421600480360381019061041c9190612a0c565b611185565b005b61043d60048036038101906104389190612bfe565b6111e7565b60405161044a91906130fa565b60405180910390f35b61046d60048036038101906104689190612981565b61128e565b60405161047a91906130df565b60405180910390f35b61049d60048036038101906104989190612958565b611322565b005b6104b960048036038101906104b49190612958565b6113e2565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061058657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105965750610595826114da565b5b9050919050565b6060600080546105ac906136e8565b80601f01602080910402602001604051908101604052809291908181526020018280546105d8906136e8565b80156106255780601f106105fa57610100808354040283529160200191610625565b820191906000526020600020905b81548152906001019060200180831161060857829003601f168201915b5050505050905090565b600061063a82611544565b610679576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106709061327c565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006106bf82610afc565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610730576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107279061313c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661074f6115b0565b73ffffffffffffffffffffffffffffffffffffffff16148061077e575061077d816107786115b0565b61128e565b5b6107bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b4906132dc565b60405180910390fd5b6107c783836115b8565b505050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610882576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108799061311c565b60405180910390fd5b600183146108c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108bc906131dc565b60405180910390fd5b6000806108d28484611671565b915091506108e1868383611886565b8573ffffffffffffffffffffffffffffffffffffffff167f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe8360405161092791906133dc565b60405180910390a2505050505050565b6109486109426115b0565b82611895565b610987576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097e9061325c565b60405180910390fd5b610992838383611973565b505050565b600b60149054906101000a900460ff1681565b6109c583838360405180602001604052806000815250611185565b505050565b600060146109d783610afc565b6040516020016109e79190613039565b604051602081830303815290604052511415610a065760019050610a0b565b600090505b919050565b610a186115b0565b73ffffffffffffffffffffffffffffffffffffffff16610a36610e47565b73ffffffffffffffffffffffffffffffffffffffff1614610a8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a839061329c565b60405180910390fd5b60001515600b60149054906101000a900460ff16151514610ae2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad99061339c565b60405180910390fd5b8060099080519060200190610af892919061271d565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ba5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9c906132fc565b60405180910390fd5b80915050919050565b610bb66115b0565b73ffffffffffffffffffffffffffffffffffffffff16610bd4610e47565b73ffffffffffffffffffffffffffffffffffffffff1614610c2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c219061329c565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610cdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd6906131fc565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d2e6115b0565b73ffffffffffffffffffffffffffffffffffffffff16610d4c610e47565b73ffffffffffffffffffffffffffffffffffffffff1614610da2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d999061329c565b60405180910390fd5b610dac6000611bcf565b565b610db66115b0565b73ffffffffffffffffffffffffffffffffffffffff16610dd4610e47565b73ffffffffffffffffffffffffffffffffffffffff1614610e2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e219061329c565b60405180910390fd5b6001600b60146101000a81548160ff021916908315150217905550565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efb906133bc565b60405180910390fd5b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166314ff5ea3610f536008611c95565b6040518263ffffffff1660e01b8152600401610f6f91906133dc565b60206040518083038186803b158015610f8757600080fd5b505afa158015610f9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fbf9190612c27565b9050610fcb8582611ca3565b610fd56008611cc1565b60008273ffffffffffffffffffffffffffffffffffffffff166314ff5ea3610ffd6008611c95565b6040518263ffffffff1660e01b815260040161101991906133dc565b60206040518083038186803b15801561103157600080fd5b505afa158015611045573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110699190612c27565b90506110758682611ca3565b61107f6008611cc1565b8573ffffffffffffffffffffffffffffffffffffffff167fe34c40beee3f87e4109bbe1f03b216bca17e2387e7d52933ec37ab5e26e302f383836040516110c79291906133f7565b60405180910390a2818194509450505050915091565b6060600180546110ec906136e8565b80601f0160208091040260200160405190810160405280929190818152602001828054611118906136e8565b80156111655780601f1061113a57610100808354040283529160200191611165565b820191906000526020600020905b81548152906001019060200180831161114857829003601f168201915b5050505050905090565b61118161117a6115b0565b8383611cd7565b5050565b6111966111906115b0565b83611895565b6111d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111cc9061325c565b60405180910390fd5b6111e184848484611e44565b50505050565b60606111f282611544565b611231576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611228906132bc565b60405180910390fd5b600061123b611ea0565b9050600081511161125b5760405180602001604052806000815250611286565b8061126584611f32565b604051602001611276929190613054565b6040516020818303038152906040525b915050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61132a6115b0565b73ffffffffffffffffffffffffffffffffffffffff16611348610e47565b73ffffffffffffffffffffffffffffffffffffffff161461139e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113959061329c565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6113ea6115b0565b73ffffffffffffffffffffffffffffffffffffffff16611408610e47565b73ffffffffffffffffffffffffffffffffffffffff161461145e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114559061329c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c59061319c565b60405180910390fd5b6114d781611bcf565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661162b83610afc565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000606060006116fc85858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506040518060400160405280600181526020017f3a0000000000000000000000000000000000000000000000000000000000000081525060006120df565b90506000811215611742576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117399061331c565b60405180910390fd5b60006117ae868660019060018661175991906135fe565b92611766939291906134ea565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612249565b90506000600383888890506117c391906135fe565b6117cd91906135fe565b905060008114156117f55781604051806020016040528060008152509450945050505061187f565b3660008888600287611807919061351d565b9060018c8c905061181891906135fe565b92611825939291906134ea565b9150915083828281818080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050905090509650965050505050505b9250929050565b6118908383611ca3565b505050565b60006118a082611544565b6118df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d6906131bc565b60405180910390fd5b60006118ea83610afc565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061195957508373ffffffffffffffffffffffffffffffffffffffff166119418461062f565b73ffffffffffffffffffffffffffffffffffffffff16145b8061196a5750611969818561128e565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661199382610afc565b73ffffffffffffffffffffffffffffffffffffffff16146119e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e09061333c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a509061337c565b60405180910390fd5b611a64838383612345565b611a6f6000826115b8565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611abf91906135fe565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b16919061351d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600001549050919050565b611cbd82826040518060200160405280600081525061234a565b5050565b6001816000016000828254019250508190555050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611d46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3d9061335c565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e3791906130df565b60405180910390a3505050565b611e4f848484611973565b611e5b848484846123a5565b611e9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e919061323c565b60405180910390fd5b50505050565b606060098054611eaf906136e8565b80601f0160208091040260200160405190810160405280929190818152602001828054611edb906136e8565b8015611f285780601f10611efd57610100808354040283529160200191611f28565b820191906000526020600020905b815481529060010190602001808311611f0b57829003601f168201915b5050505050905090565b60606000821415611f7a576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506120da565b600082905060005b60008214611fac578080611f959061374b565b915050600a82611fa59190613573565b9150611f82565b60008167ffffffffffffffff811115611fee577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156120205781602001600182028036833780820191505090505b5090505b600085146120d35760018261203991906135fe565b9150600a8561204891906137b8565b6030612054919061351d565b60f81b818381518110612090577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856120cc9190613573565b9450612024565b8093505050505b919050565b600080839050600181511461211d577f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b60008390505b855181101561221c5781600081518110612166577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168682815181106121cc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415612209578092505050612242565b80806122149061374b565b915050612123565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9150505b9392505050565b6000806000905060005b835181101561233b576000848281518110612297577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c60ff169050603081101580156122bc575060398111155b156122ec576030816122ce91906135fe565b600a846122db91906135a4565b6122e5919061351d565b9250612327565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231e9061315c565b60405180910390fd5b5080806123339061374b565b915050612253565b5080915050919050565b505050565b612354838361253c565b61236160008484846123a5565b6123a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123979061323c565b60405180910390fd5b505050565b60006123c68473ffffffffffffffffffffffffffffffffffffffff1661270a565b1561252f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026123ef6115b0565b8786866040518563ffffffff1660e01b81526004016124119493929190613093565b602060405180830381600087803b15801561242b57600080fd5b505af192505050801561245c57506040513d601f19601f820116820180604052508101906124599190612b94565b60015b6124df573d806000811461248c576040519150601f19603f3d011682016040523d82523d6000602084013e612491565b606091505b506000815114156124d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ce9061323c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612534565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a39061317c565b60405180910390fd5b6125b581611544565b156125f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ec9061321c565b60405180910390fd5b61260160008383612345565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612651919061351d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054612729906136e8565b90600052602060002090601f01602090048101928261274b5760008555612792565b82601f1061276457805160ff1916838001178555612792565b82800160010185558215612792579182015b82811115612791578251825591602001919060010190612776565b5b50905061279f91906127a3565b5090565b5b808211156127bc5760008160009055506001016127a4565b5090565b60006127d36127ce84613445565b613420565b9050828152602081018484840111156127eb57600080fd5b6127f68482856136a6565b509392505050565b600061281161280c84613476565b613420565b90508281526020810184848401111561282957600080fd5b6128348482856136a6565b509392505050565b60008135905061284b81613ea9565b92915050565b60008135905061286081613ec0565b92915050565b60008135905061287581613ed7565b92915050565b60008151905061288a81613ed7565b92915050565b60008083601f8401126128a257600080fd5b8235905067ffffffffffffffff8111156128bb57600080fd5b6020830191508360018202830111156128d357600080fd5b9250929050565b600082601f8301126128eb57600080fd5b81356128fb8482602086016127c0565b91505092915050565b600082601f83011261291557600080fd5b81356129258482602086016127fe565b91505092915050565b60008135905061293d81613eee565b92915050565b60008151905061295281613eee565b92915050565b60006020828403121561296a57600080fd5b60006129788482850161283c565b91505092915050565b6000806040838503121561299457600080fd5b60006129a28582860161283c565b92505060206129b38582860161283c565b9150509250929050565b6000806000606084860312156129d257600080fd5b60006129e08682870161283c565b93505060206129f18682870161283c565b9250506040612a028682870161292e565b9150509250925092565b60008060008060808587031215612a2257600080fd5b6000612a308782880161283c565b9450506020612a418782880161283c565b9350506040612a528782880161292e565b925050606085013567ffffffffffffffff811115612a6f57600080fd5b612a7b878288016128da565b91505092959194509250565b60008060408385031215612a9a57600080fd5b6000612aa88582860161283c565b9250506020612ab985828601612851565b9150509250929050565b60008060408385031215612ad657600080fd5b6000612ae48582860161283c565b9250506020612af58582860161292e565b9150509250929050565b60008060008060608587031215612b1557600080fd5b6000612b238782880161283c565b9450506020612b348782880161292e565b935050604085013567ffffffffffffffff811115612b5157600080fd5b612b5d87828801612890565b925092505092959194509250565b600060208284031215612b7d57600080fd5b6000612b8b84828501612866565b91505092915050565b600060208284031215612ba657600080fd5b6000612bb48482850161287b565b91505092915050565b600060208284031215612bcf57600080fd5b600082013567ffffffffffffffff811115612be957600080fd5b612bf584828501612904565b91505092915050565b600060208284031215612c1057600080fd5b6000612c1e8482850161292e565b91505092915050565b600060208284031215612c3957600080fd5b6000612c4784828501612943565b91505092915050565b612c5981613632565b82525050565b612c70612c6b82613632565b613794565b82525050565b612c7f81613644565b82525050565b6000612c90826134a7565b612c9a81856134bd565b9350612caa8185602086016136b5565b612cb3816138a5565b840191505092915050565b6000612cc9826134b2565b612cd381856134ce565b9350612ce38185602086016136b5565b612cec816138a5565b840191505092915050565b6000612d02826134b2565b612d0c81856134df565b9350612d1c8185602086016136b5565b80840191505092915050565b6000612d356022836134ce565b9150612d40826138c3565b604082019050919050565b6000612d586023836134ce565b9150612d6382613912565b604082019050919050565b6000612d7b6023836134ce565b9150612d8682613961565b604082019050919050565b6000612d9e6022836134ce565b9150612da9826139b0565b604082019050919050565b6000612dc16026836134ce565b9150612dcc826139ff565b604082019050919050565b6000612de4602e836134ce565b9150612def82613a4e565b604082019050919050565b6000612e07601a836134ce565b9150612e1282613a9d565b602082019050919050565b6000612e2a602c836134ce565b9150612e3582613ac6565b604082019050919050565b6000612e4d601e836134ce565b9150612e5882613b15565b602082019050919050565b6000612e706034836134ce565b9150612e7b82613b3e565b604082019050919050565b6000612e936033836134ce565b9150612e9e82613b8d565b604082019050919050565b6000612eb6602e836134ce565b9150612ec182613bdc565b604082019050919050565b6000612ed96020836134ce565b9150612ee482613c2b565b602082019050919050565b6000612efc602f836134ce565b9150612f0782613c54565b604082019050919050565b6000612f1f603a836134ce565b9150612f2a82613ca3565b604082019050919050565b6000612f42602b836134ce565b9150612f4d82613cf2565b604082019050919050565b6000612f656014836134ce565b9150612f7082613d41565b602082019050919050565b6000612f88602b836134ce565b9150612f9382613d6a565b604082019050919050565b6000612fab601b836134ce565b9150612fb682613db9565b602082019050919050565b6000612fce6026836134ce565b9150612fd982613de2565b604082019050919050565b6000612ff16031836134ce565b9150612ffc82613e31565b604082019050919050565b6000613014600e836134ce565b915061301f82613e80565b602082019050919050565b6130338161369c565b82525050565b60006130458284612c5f565b60148201915081905092915050565b60006130608285612cf7565b915061306c8284612cf7565b91508190509392505050565b600060208201905061308d6000830184612c50565b92915050565b60006080820190506130a86000830187612c50565b6130b56020830186612c50565b6130c2604083018561302a565b81810360608301526130d48184612c85565b905095945050505050565b60006020820190506130f46000830184612c76565b92915050565b600060208201905081810360008301526131148184612cbe565b905092915050565b6000602082019050818103600083015261313581612d28565b9050919050565b6000602082019050818103600083015261315581612d4b565b9050919050565b6000602082019050818103600083015261317581612d6e565b9050919050565b6000602082019050818103600083015261319581612d91565b9050919050565b600060208201905081810360008301526131b581612db4565b9050919050565b600060208201905081810360008301526131d581612dd7565b9050919050565b600060208201905081810360008301526131f581612dfa565b9050919050565b6000602082019050818103600083015261321581612e1d565b9050919050565b6000602082019050818103600083015261323581612e40565b9050919050565b6000602082019050818103600083015261325581612e63565b9050919050565b6000602082019050818103600083015261327581612e86565b9050919050565b6000602082019050818103600083015261329581612ea9565b9050919050565b600060208201905081810360008301526132b581612ecc565b9050919050565b600060208201905081810360008301526132d581612eef565b9050919050565b600060208201905081810360008301526132f581612f12565b9050919050565b6000602082019050818103600083015261331581612f35565b9050919050565b6000602082019050818103600083015261333581612f58565b9050919050565b6000602082019050818103600083015261335581612f7b565b9050919050565b6000602082019050818103600083015261337581612f9e565b9050919050565b6000602082019050818103600083015261339581612fc1565b9050919050565b600060208201905081810360008301526133b581612fe4565b9050919050565b600060208201905081810360008301526133d581613007565b9050919050565b60006020820190506133f1600083018461302a565b92915050565b600060408201905061340c600083018561302a565b613419602083018461302a565b9392505050565b600061342a61343b565b9050613436828261371a565b919050565b6000604051905090565b600067ffffffffffffffff8211156134605761345f613876565b5b613469826138a5565b9050602081019050919050565b600067ffffffffffffffff82111561349157613490613876565b5b61349a826138a5565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600080858511156134fa57600080fd5b8386111561350757600080fd5b6001850283019150848603905094509492505050565b60006135288261369c565b91506135338361369c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613568576135676137e9565b5b828201905092915050565b600061357e8261369c565b91506135898361369c565b92508261359957613598613818565b5b828204905092915050565b60006135af8261369c565b91506135ba8361369c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156135f3576135f26137e9565b5b828202905092915050565b60006136098261369c565b91506136148361369c565b925082821015613627576136266137e9565b5b828203905092915050565b600061363d8261367c565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156136d35780820151818401526020810190506136b8565b838111156136e2576000848401525b50505050565b6000600282049050600182168061370057607f821691505b6020821081141561371457613713613847565b5b50919050565b613723826138a5565b810181811067ffffffffffffffff8211171561374257613741613876565b5b80604052505050565b60006137568261369c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613789576137886137e9565b5b600182019050919050565b600061379f826137a6565b9050919050565b60006137b1826138b6565b9050919050565b60006137c38261369c565b91506137ce8361369c565b9250826137de576137dd613818565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279204960008201527f4d58000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524337323158583a20617070726f76616c20746f2063757272656e74206f7760008201527f6e65720000000000000000000000000000000000000000000000000000000000602082015250565b7f696e76616c696420696e7075742c206f6e6c79206e756d6265727320616c6c6f60008201527f7765640000000000000000000000000000000000000000000000000000000000602082015250565b7f45524337323158583a206d696e7420746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f45524337323158583a206f70657261746f7220717565727920666f72206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f4d696e7461626c653a20696e76616c6964207175616e74697479000000000000600082015250565b7f45524337323158583a2062616c616e636520717565727920666f72207468652060008201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b7f45524337323158583a20746f6b656e20616c7265616479206d696e7465640000600082015250565b7f45524337323158583a207472616e7366657220746f206e6f6e2045524337323160008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f45524337323158583a207472616e736665722063616c6c6572206973206e6f7460008201527f206f776e6572206e6f7220617070726f76656400000000000000000000000000602082015250565b7f45524337323158583a20617070726f76656420717565727920666f72206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f45524337323158583a20617070726f76652063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000602082015250565b7f45524337323158583a206f776e657220717565727920666f72206e6f6e65786960008201527f7374656e7420746f6b656e000000000000000000000000000000000000000000602082015250565b7f536570617261746f72206d757374206578697374000000000000000000000000600082015250565b7f45524337323158583a207472616e73666572206f6620746f6b656e207468617460008201527f206973206e6f74206f776e000000000000000000000000000000000000000000602082015250565b7f45524337323158583a20617070726f766520746f2063616c6c65720000000000600082015250565b7f45524337323158583a207472616e7366657220746f20746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f436f6e747261637420686173206265656e206c6f636b656420616e642055524960008201527f2063616e2774206265206368616e676564000000000000000000000000000000602082015250565b7f4e6f7420617574686f72697a6564000000000000000000000000000000000000600082015250565b613eb281613632565b8114613ebd57600080fd5b50565b613ec981613644565b8114613ed457600080fd5b50565b613ee081613650565b8114613eeb57600080fd5b50565b613ef78161369c565b8114613f0257600080fd5b5056fea26469706673582212202004f453522db43f248ef9ac1205df27ed657c1c441582b30cd1ddf2cd92d1db64736f6c63430008040033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000005fdcca53617f4d2b9134b29090c87d01058e27e9000000000000000000000000000000000000000000000000000000000000000447616c7a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000447414c5a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002268747470733a2f2f637962657267616c7a7074652e636f6d2f67616c7a2f6574682f000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101735760003560e01c80636e966007116100de57806395d89b4111610097578063c87b56dd11610071578063c87b56dd14610423578063e985e9c514610453578063f1abd7de14610483578063f2fde38b1461049f57610173565b806395d89b41146103cd578063a22cb465146103eb578063b88d4fde1461040757610173565b80636e9660071461031e57806370a082311461033a578063715018a61461036a578063753868e3146103745780638da5cb5b1461037e578063937f26081461039c57610173565b806323b872dd1161013057806323b872dd1461024c578063324cb3cb1461026857806342842e0e146102865780635055fbc3146102a257806355f804b3146102d25780636352211e146102ee57610173565b806301ffc9a71461017857806306fdde03146101a8578063081812fc146101c6578063095ea7b3146101f65780630f08025f1461021257806319ee6e3f14610230575b600080fd5b610192600480360381019061018d9190612b6b565b6104bb565b60405161019f91906130df565b60405180910390f35b6101b061059d565b6040516101bd91906130fa565b60405180910390f35b6101e060048036038101906101db9190612bfe565b61062f565b6040516101ed9190613078565b60405180910390f35b610210600480360381019061020b9190612ac3565b6106b4565b005b61021a6107cc565b6040516102279190613078565b60405180910390f35b61024a60048036038101906102459190612aff565b6107f2565b005b610266600480360381019061026191906129bd565b610937565b005b610270610997565b60405161027d91906130df565b60405180910390f35b6102a0600480360381019061029b91906129bd565b6109aa565b005b6102bc60048036038101906102b79190612bfe565b6109ca565b6040516102c991906130df565b60405180910390f35b6102ec60048036038101906102e79190612bbd565b610a10565b005b61030860048036038101906103039190612bfe565b610afc565b6040516103159190613078565b60405180910390f35b61033860048036038101906103339190612958565b610bae565b005b610354600480360381019061034f9190612958565b610c6e565b60405161036191906133dc565b60405180910390f35b610372610d26565b005b61037c610dae565b005b610386610e47565b6040516103939190613078565b60405180910390f35b6103b660048036038101906103b19190612958565b610e71565b6040516103c49291906133f7565b60405180910390f35b6103d56110dd565b6040516103e291906130fa565b60405180910390f35b61040560048036038101906104009190612a87565b61116f565b005b610421600480360381019061041c9190612a0c565b611185565b005b61043d60048036038101906104389190612bfe565b6111e7565b60405161044a91906130fa565b60405180910390f35b61046d60048036038101906104689190612981565b61128e565b60405161047a91906130df565b60405180910390f35b61049d60048036038101906104989190612958565b611322565b005b6104b960048036038101906104b49190612958565b6113e2565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061058657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105965750610595826114da565b5b9050919050565b6060600080546105ac906136e8565b80601f01602080910402602001604051908101604052809291908181526020018280546105d8906136e8565b80156106255780601f106105fa57610100808354040283529160200191610625565b820191906000526020600020905b81548152906001019060200180831161060857829003601f168201915b5050505050905090565b600061063a82611544565b610679576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106709061327c565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006106bf82610afc565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610730576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107279061313c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661074f6115b0565b73ffffffffffffffffffffffffffffffffffffffff16148061077e575061077d816107786115b0565b61128e565b5b6107bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b4906132dc565b60405180910390fd5b6107c783836115b8565b505050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610882576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108799061311c565b60405180910390fd5b600183146108c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108bc906131dc565b60405180910390fd5b6000806108d28484611671565b915091506108e1868383611886565b8573ffffffffffffffffffffffffffffffffffffffff167f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe8360405161092791906133dc565b60405180910390a2505050505050565b6109486109426115b0565b82611895565b610987576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097e9061325c565b60405180910390fd5b610992838383611973565b505050565b600b60149054906101000a900460ff1681565b6109c583838360405180602001604052806000815250611185565b505050565b600060146109d783610afc565b6040516020016109e79190613039565b604051602081830303815290604052511415610a065760019050610a0b565b600090505b919050565b610a186115b0565b73ffffffffffffffffffffffffffffffffffffffff16610a36610e47565b73ffffffffffffffffffffffffffffffffffffffff1614610a8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a839061329c565b60405180910390fd5b60001515600b60149054906101000a900460ff16151514610ae2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad99061339c565b60405180910390fd5b8060099080519060200190610af892919061271d565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ba5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9c906132fc565b60405180910390fd5b80915050919050565b610bb66115b0565b73ffffffffffffffffffffffffffffffffffffffff16610bd4610e47565b73ffffffffffffffffffffffffffffffffffffffff1614610c2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c219061329c565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610cdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd6906131fc565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d2e6115b0565b73ffffffffffffffffffffffffffffffffffffffff16610d4c610e47565b73ffffffffffffffffffffffffffffffffffffffff1614610da2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d999061329c565b60405180910390fd5b610dac6000611bcf565b565b610db66115b0565b73ffffffffffffffffffffffffffffffffffffffff16610dd4610e47565b73ffffffffffffffffffffffffffffffffffffffff1614610e2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e219061329c565b60405180910390fd5b6001600b60146101000a81548160ff021916908315150217905550565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efb906133bc565b60405180910390fd5b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166314ff5ea3610f536008611c95565b6040518263ffffffff1660e01b8152600401610f6f91906133dc565b60206040518083038186803b158015610f8757600080fd5b505afa158015610f9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fbf9190612c27565b9050610fcb8582611ca3565b610fd56008611cc1565b60008273ffffffffffffffffffffffffffffffffffffffff166314ff5ea3610ffd6008611c95565b6040518263ffffffff1660e01b815260040161101991906133dc565b60206040518083038186803b15801561103157600080fd5b505afa158015611045573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110699190612c27565b90506110758682611ca3565b61107f6008611cc1565b8573ffffffffffffffffffffffffffffffffffffffff167fe34c40beee3f87e4109bbe1f03b216bca17e2387e7d52933ec37ab5e26e302f383836040516110c79291906133f7565b60405180910390a2818194509450505050915091565b6060600180546110ec906136e8565b80601f0160208091040260200160405190810160405280929190818152602001828054611118906136e8565b80156111655780601f1061113a57610100808354040283529160200191611165565b820191906000526020600020905b81548152906001019060200180831161114857829003601f168201915b5050505050905090565b61118161117a6115b0565b8383611cd7565b5050565b6111966111906115b0565b83611895565b6111d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111cc9061325c565b60405180910390fd5b6111e184848484611e44565b50505050565b60606111f282611544565b611231576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611228906132bc565b60405180910390fd5b600061123b611ea0565b9050600081511161125b5760405180602001604052806000815250611286565b8061126584611f32565b604051602001611276929190613054565b6040516020818303038152906040525b915050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61132a6115b0565b73ffffffffffffffffffffffffffffffffffffffff16611348610e47565b73ffffffffffffffffffffffffffffffffffffffff161461139e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113959061329c565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6113ea6115b0565b73ffffffffffffffffffffffffffffffffffffffff16611408610e47565b73ffffffffffffffffffffffffffffffffffffffff161461145e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114559061329c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c59061319c565b60405180910390fd5b6114d781611bcf565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661162b83610afc565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000606060006116fc85858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506040518060400160405280600181526020017f3a0000000000000000000000000000000000000000000000000000000000000081525060006120df565b90506000811215611742576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117399061331c565b60405180910390fd5b60006117ae868660019060018661175991906135fe565b92611766939291906134ea565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612249565b90506000600383888890506117c391906135fe565b6117cd91906135fe565b905060008114156117f55781604051806020016040528060008152509450945050505061187f565b3660008888600287611807919061351d565b9060018c8c905061181891906135fe565b92611825939291906134ea565b9150915083828281818080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050905090509650965050505050505b9250929050565b6118908383611ca3565b505050565b60006118a082611544565b6118df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d6906131bc565b60405180910390fd5b60006118ea83610afc565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061195957508373ffffffffffffffffffffffffffffffffffffffff166119418461062f565b73ffffffffffffffffffffffffffffffffffffffff16145b8061196a5750611969818561128e565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661199382610afc565b73ffffffffffffffffffffffffffffffffffffffff16146119e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e09061333c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a509061337c565b60405180910390fd5b611a64838383612345565b611a6f6000826115b8565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611abf91906135fe565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b16919061351d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600001549050919050565b611cbd82826040518060200160405280600081525061234a565b5050565b6001816000016000828254019250508190555050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611d46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3d9061335c565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e3791906130df565b60405180910390a3505050565b611e4f848484611973565b611e5b848484846123a5565b611e9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e919061323c565b60405180910390fd5b50505050565b606060098054611eaf906136e8565b80601f0160208091040260200160405190810160405280929190818152602001828054611edb906136e8565b8015611f285780601f10611efd57610100808354040283529160200191611f28565b820191906000526020600020905b815481529060010190602001808311611f0b57829003601f168201915b5050505050905090565b60606000821415611f7a576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506120da565b600082905060005b60008214611fac578080611f959061374b565b915050600a82611fa59190613573565b9150611f82565b60008167ffffffffffffffff811115611fee577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156120205781602001600182028036833780820191505090505b5090505b600085146120d35760018261203991906135fe565b9150600a8561204891906137b8565b6030612054919061351d565b60f81b818381518110612090577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856120cc9190613573565b9450612024565b8093505050505b919050565b600080839050600181511461211d577f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b60008390505b855181101561221c5781600081518110612166577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168682815181106121cc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415612209578092505050612242565b80806122149061374b565b915050612123565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9150505b9392505050565b6000806000905060005b835181101561233b576000848281518110612297577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c60ff169050603081101580156122bc575060398111155b156122ec576030816122ce91906135fe565b600a846122db91906135a4565b6122e5919061351d565b9250612327565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231e9061315c565b60405180910390fd5b5080806123339061374b565b915050612253565b5080915050919050565b505050565b612354838361253c565b61236160008484846123a5565b6123a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123979061323c565b60405180910390fd5b505050565b60006123c68473ffffffffffffffffffffffffffffffffffffffff1661270a565b1561252f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026123ef6115b0565b8786866040518563ffffffff1660e01b81526004016124119493929190613093565b602060405180830381600087803b15801561242b57600080fd5b505af192505050801561245c57506040513d601f19601f820116820180604052508101906124599190612b94565b60015b6124df573d806000811461248c576040519150601f19603f3d011682016040523d82523d6000602084013e612491565b606091505b506000815114156124d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ce9061323c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612534565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a39061317c565b60405180910390fd5b6125b581611544565b156125f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ec9061321c565b60405180910390fd5b61260160008383612345565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612651919061351d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054612729906136e8565b90600052602060002090601f01602090048101928261274b5760008555612792565b82601f1061276457805160ff1916838001178555612792565b82800160010185558215612792579182015b82811115612791578251825591602001919060010190612776565b5b50905061279f91906127a3565b5090565b5b808211156127bc5760008160009055506001016127a4565b5090565b60006127d36127ce84613445565b613420565b9050828152602081018484840111156127eb57600080fd5b6127f68482856136a6565b509392505050565b600061281161280c84613476565b613420565b90508281526020810184848401111561282957600080fd5b6128348482856136a6565b509392505050565b60008135905061284b81613ea9565b92915050565b60008135905061286081613ec0565b92915050565b60008135905061287581613ed7565b92915050565b60008151905061288a81613ed7565b92915050565b60008083601f8401126128a257600080fd5b8235905067ffffffffffffffff8111156128bb57600080fd5b6020830191508360018202830111156128d357600080fd5b9250929050565b600082601f8301126128eb57600080fd5b81356128fb8482602086016127c0565b91505092915050565b600082601f83011261291557600080fd5b81356129258482602086016127fe565b91505092915050565b60008135905061293d81613eee565b92915050565b60008151905061295281613eee565b92915050565b60006020828403121561296a57600080fd5b60006129788482850161283c565b91505092915050565b6000806040838503121561299457600080fd5b60006129a28582860161283c565b92505060206129b38582860161283c565b9150509250929050565b6000806000606084860312156129d257600080fd5b60006129e08682870161283c565b93505060206129f18682870161283c565b9250506040612a028682870161292e565b9150509250925092565b60008060008060808587031215612a2257600080fd5b6000612a308782880161283c565b9450506020612a418782880161283c565b9350506040612a528782880161292e565b925050606085013567ffffffffffffffff811115612a6f57600080fd5b612a7b878288016128da565b91505092959194509250565b60008060408385031215612a9a57600080fd5b6000612aa88582860161283c565b9250506020612ab985828601612851565b9150509250929050565b60008060408385031215612ad657600080fd5b6000612ae48582860161283c565b9250506020612af58582860161292e565b9150509250929050565b60008060008060608587031215612b1557600080fd5b6000612b238782880161283c565b9450506020612b348782880161292e565b935050604085013567ffffffffffffffff811115612b5157600080fd5b612b5d87828801612890565b925092505092959194509250565b600060208284031215612b7d57600080fd5b6000612b8b84828501612866565b91505092915050565b600060208284031215612ba657600080fd5b6000612bb48482850161287b565b91505092915050565b600060208284031215612bcf57600080fd5b600082013567ffffffffffffffff811115612be957600080fd5b612bf584828501612904565b91505092915050565b600060208284031215612c1057600080fd5b6000612c1e8482850161292e565b91505092915050565b600060208284031215612c3957600080fd5b6000612c4784828501612943565b91505092915050565b612c5981613632565b82525050565b612c70612c6b82613632565b613794565b82525050565b612c7f81613644565b82525050565b6000612c90826134a7565b612c9a81856134bd565b9350612caa8185602086016136b5565b612cb3816138a5565b840191505092915050565b6000612cc9826134b2565b612cd381856134ce565b9350612ce38185602086016136b5565b612cec816138a5565b840191505092915050565b6000612d02826134b2565b612d0c81856134df565b9350612d1c8185602086016136b5565b80840191505092915050565b6000612d356022836134ce565b9150612d40826138c3565b604082019050919050565b6000612d586023836134ce565b9150612d6382613912565b604082019050919050565b6000612d7b6023836134ce565b9150612d8682613961565b604082019050919050565b6000612d9e6022836134ce565b9150612da9826139b0565b604082019050919050565b6000612dc16026836134ce565b9150612dcc826139ff565b604082019050919050565b6000612de4602e836134ce565b9150612def82613a4e565b604082019050919050565b6000612e07601a836134ce565b9150612e1282613a9d565b602082019050919050565b6000612e2a602c836134ce565b9150612e3582613ac6565b604082019050919050565b6000612e4d601e836134ce565b9150612e5882613b15565b602082019050919050565b6000612e706034836134ce565b9150612e7b82613b3e565b604082019050919050565b6000612e936033836134ce565b9150612e9e82613b8d565b604082019050919050565b6000612eb6602e836134ce565b9150612ec182613bdc565b604082019050919050565b6000612ed96020836134ce565b9150612ee482613c2b565b602082019050919050565b6000612efc602f836134ce565b9150612f0782613c54565b604082019050919050565b6000612f1f603a836134ce565b9150612f2a82613ca3565b604082019050919050565b6000612f42602b836134ce565b9150612f4d82613cf2565b604082019050919050565b6000612f656014836134ce565b9150612f7082613d41565b602082019050919050565b6000612f88602b836134ce565b9150612f9382613d6a565b604082019050919050565b6000612fab601b836134ce565b9150612fb682613db9565b602082019050919050565b6000612fce6026836134ce565b9150612fd982613de2565b604082019050919050565b6000612ff16031836134ce565b9150612ffc82613e31565b604082019050919050565b6000613014600e836134ce565b915061301f82613e80565b602082019050919050565b6130338161369c565b82525050565b60006130458284612c5f565b60148201915081905092915050565b60006130608285612cf7565b915061306c8284612cf7565b91508190509392505050565b600060208201905061308d6000830184612c50565b92915050565b60006080820190506130a86000830187612c50565b6130b56020830186612c50565b6130c2604083018561302a565b81810360608301526130d48184612c85565b905095945050505050565b60006020820190506130f46000830184612c76565b92915050565b600060208201905081810360008301526131148184612cbe565b905092915050565b6000602082019050818103600083015261313581612d28565b9050919050565b6000602082019050818103600083015261315581612d4b565b9050919050565b6000602082019050818103600083015261317581612d6e565b9050919050565b6000602082019050818103600083015261319581612d91565b9050919050565b600060208201905081810360008301526131b581612db4565b9050919050565b600060208201905081810360008301526131d581612dd7565b9050919050565b600060208201905081810360008301526131f581612dfa565b9050919050565b6000602082019050818103600083015261321581612e1d565b9050919050565b6000602082019050818103600083015261323581612e40565b9050919050565b6000602082019050818103600083015261325581612e63565b9050919050565b6000602082019050818103600083015261327581612e86565b9050919050565b6000602082019050818103600083015261329581612ea9565b9050919050565b600060208201905081810360008301526132b581612ecc565b9050919050565b600060208201905081810360008301526132d581612eef565b9050919050565b600060208201905081810360008301526132f581612f12565b9050919050565b6000602082019050818103600083015261331581612f35565b9050919050565b6000602082019050818103600083015261333581612f58565b9050919050565b6000602082019050818103600083015261335581612f7b565b9050919050565b6000602082019050818103600083015261337581612f9e565b9050919050565b6000602082019050818103600083015261339581612fc1565b9050919050565b600060208201905081810360008301526133b581612fe4565b9050919050565b600060208201905081810360008301526133d581613007565b9050919050565b60006020820190506133f1600083018461302a565b92915050565b600060408201905061340c600083018561302a565b613419602083018461302a565b9392505050565b600061342a61343b565b9050613436828261371a565b919050565b6000604051905090565b600067ffffffffffffffff8211156134605761345f613876565b5b613469826138a5565b9050602081019050919050565b600067ffffffffffffffff82111561349157613490613876565b5b61349a826138a5565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600080858511156134fa57600080fd5b8386111561350757600080fd5b6001850283019150848603905094509492505050565b60006135288261369c565b91506135338361369c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613568576135676137e9565b5b828201905092915050565b600061357e8261369c565b91506135898361369c565b92508261359957613598613818565b5b828204905092915050565b60006135af8261369c565b91506135ba8361369c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156135f3576135f26137e9565b5b828202905092915050565b60006136098261369c565b91506136148361369c565b925082821015613627576136266137e9565b5b828203905092915050565b600061363d8261367c565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156136d35780820151818401526020810190506136b8565b838111156136e2576000848401525b50505050565b6000600282049050600182168061370057607f821691505b6020821081141561371457613713613847565b5b50919050565b613723826138a5565b810181811067ffffffffffffffff8211171561374257613741613876565b5b80604052505050565b60006137568261369c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613789576137886137e9565b5b600182019050919050565b600061379f826137a6565b9050919050565b60006137b1826138b6565b9050919050565b60006137c38261369c565b91506137ce8361369c565b9250826137de576137dd613818565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279204960008201527f4d58000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524337323158583a20617070726f76616c20746f2063757272656e74206f7760008201527f6e65720000000000000000000000000000000000000000000000000000000000602082015250565b7f696e76616c696420696e7075742c206f6e6c79206e756d6265727320616c6c6f60008201527f7765640000000000000000000000000000000000000000000000000000000000602082015250565b7f45524337323158583a206d696e7420746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f45524337323158583a206f70657261746f7220717565727920666f72206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f4d696e7461626c653a20696e76616c6964207175616e74697479000000000000600082015250565b7f45524337323158583a2062616c616e636520717565727920666f72207468652060008201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b7f45524337323158583a20746f6b656e20616c7265616479206d696e7465640000600082015250565b7f45524337323158583a207472616e7366657220746f206e6f6e2045524337323160008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f45524337323158583a207472616e736665722063616c6c6572206973206e6f7460008201527f206f776e6572206e6f7220617070726f76656400000000000000000000000000602082015250565b7f45524337323158583a20617070726f76656420717565727920666f72206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f45524337323158583a20617070726f76652063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000602082015250565b7f45524337323158583a206f776e657220717565727920666f72206e6f6e65786960008201527f7374656e7420746f6b656e000000000000000000000000000000000000000000602082015250565b7f536570617261746f72206d757374206578697374000000000000000000000000600082015250565b7f45524337323158583a207472616e73666572206f6620746f6b656e207468617460008201527f206973206e6f74206f776e000000000000000000000000000000000000000000602082015250565b7f45524337323158583a20617070726f766520746f2063616c6c65720000000000600082015250565b7f45524337323158583a207472616e7366657220746f20746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f436f6e747261637420686173206265656e206c6f636b656420616e642055524960008201527f2063616e2774206265206368616e676564000000000000000000000000000000602082015250565b7f4e6f7420617574686f72697a6564000000000000000000000000000000000000600082015250565b613eb281613632565b8114613ebd57600080fd5b50565b613ec981613644565b8114613ed457600080fd5b50565b613ee081613650565b8114613eeb57600080fd5b50565b613ef78161369c565b8114613f0257600080fd5b5056fea26469706673582212202004f453522db43f248ef9ac1205df27ed657c1c441582b30cd1ddf2cd92d1db64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000005fdcca53617f4d2b9134b29090c87d01058e27e9000000000000000000000000000000000000000000000000000000000000000447616c7a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000447414c5a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002268747470733a2f2f637962657267616c7a7074652e636f6d2f67616c7a2f6574682f000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Galz
Arg [1] : _ticker (string): GALZ
Arg [2] : baseURI_ (string): https://cybergalzpte.com/galz/eth/
Arg [3] : _imx (address): 0x5FDCCA53617f4d2b9134B29090C87D01058e27e9
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 0000000000000000000000005fdcca53617f4d2b9134b29090c87d01058e27e9
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [5] : 47616c7a00000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 47414c5a00000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000022
Arg [9] : 68747470733a2f2f637962657267616c7a7074652e636f6d2f67616c7a2f6574
Arg [10] : 682f000000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.