Overview
TokenID
97
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Hulki
Compiler Version
v0.8.11+commit.d7f03943
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.11; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; contract Hulki is ERC721URIStorage, Ownable { /** @notice token uris and price per token */ string private startURI = ""; uint256 public price; /** @notice rounds from 0 to 4 */ uint8 public round; /** @notice approved managers, such as staking contract */ mapping(address => bool) public approved; /** @notice counters for nft ids */ uint256 bannerId = 0; uint256 beastId = 1000; uint256 warId = 1800; uint256 battleId = 2400; uint256 valhallaId = 2800; uint256 cap = 3000; /** @notice token id => its evolution */ mapping (uint256 => uint256) public tokenByEvo; constructor() ERC721("HULKI", "HULKI") { approved[msg.sender] = true; } /** * @notice public mint function * @param _mode => 0.called from staking contract * 1.multipack mint * @param _amount => amount of nfts to mint * @param _evo => evolution of nft * @param _tokenId => token to burn. in case evolution * is chosen as a mint option. */ function mint( uint8 _mode, uint8 _amount, uint8 _evo, uint256 _tokenId, address _to ) public payable { if (_mode == 0) { require(approved[msg.sender], "msg.sender is not approved"); evolve(_evo, _tokenId, _to); } else if (_mode == 1) { require(msg.value >= price * _amount, "Price not paid"); if (round == 0) { require(_amount + bannerId <= 200, "Cant exceed supply"); _lowMint(0, _amount, msg.sender, false); if (_amount >= 5 && _amount < 10) { require(1 + beastId <= 1200, "Cant exceed supply"); _lowMint(1, 1, msg.sender, false); } else if (_amount >= 10 && _amount < 15) { require(1 + warId <= 2000, "Cant exceed supply"); _lowMint(2, 1, msg.sender, false); } else if (_amount >= 15 && _amount < 20) { require(1 + battleId <= 2600, "Cant exceed supply"); _lowMint(3, 1, msg.sender, false); } else if (_amount >= 20) { require(1 + valhallaId <= 3000, "Cant exceed supply"); _lowMint(4, 1, msg.sender, false); } } else if (round == 1) { require(_amount + bannerId <= 400, "Cant exceed supply"); _lowMint(0, _amount, msg.sender, false); if (_amount >= 5 && _amount < 10) { require(1 + beastId <= 1400, "Cant exceed supply"); _lowMint(1, 1, msg.sender, false); } else if (_amount >= 10 && _amount < 15) { require(1 + warId <= 2200, "Cant exceed supply"); _lowMint(2, 1, msg.sender, false); } else if (_amount >= 15) { require(1 + battleId <= 2800, "Cant exceed supply"); _lowMint(3, 1, msg.sender, false); } } else if (round == 2) { require(_amount + bannerId <= 600, "Cant exceed supply"); _lowMint(0, _amount, msg.sender, false); if (_amount >= 5 && _amount < 10) { require(1 + beastId <= 1600, "Cant exceed supply"); _lowMint(1, 1, msg.sender, false); } else if (_amount >= 10) { require(1 + warId <= 2400, "Cant exceed supply"); _lowMint(2, 1, msg.sender, false); } } else if (round == 3) { require(_amount + bannerId <= 800, "Cant exceed supply"); _lowMint(0, _amount, msg.sender, false); if (_amount >= 5) { require(1 + beastId <= 1800, "Cant exceed supply"); _lowMint(1, 1, msg.sender, false); } } else if (round == 4) { require(_amount + bannerId <= 1000, "Cant exceed supply"); _lowMint(0, _amount, msg.sender, true); } } } /** * @notice evolution is a process of sending lower evo tokens * and in exchange getting higher evo token. Called by staking * contract. * @param _evo => level of evolution * @param _tokenId => id of token to burn * @param _to => "msg.sender" */ function evolve( uint8 _evo, uint256 _tokenId, address _to ) internal { _burn(_tokenId); if (_evo != 4) { _lowMint(_evo + 1, 1, _to, false); } else { revert("Cant evolve valhalla"); } } /** * @notice internal mint function for cleaner code * @param _evo => stands for evolution of nft * @param _amount => amount of nfts to mint * * since we have multiple tiers of tokens, we need to set * separate tokenURIs for each. using openzeppelin library, * during the mint each token will get their own custom URI. */ function _lowMint( uint8 _evo, uint256 _amount, address _to, bool _lastRound ) internal { if (_evo == 0) { for (uint256 x; x < _amount; x++) { bannerId++; _safeMint(_to, bannerId); _setTokenURI( bannerId, string(abi.encodePacked(startURI, "banner")) ); if (_lastRound) { tokenByEvo[bannerId] = 4; } } } else if (_evo == 1) { for (uint256 x; x < _amount; x++) { beastId++; _safeMint(_to, beastId); _setTokenURI( beastId, string(abi.encodePacked(startURI, "beast")) ); tokenByEvo[beastId] = 0; } } else if (_evo == 2) { for (uint256 x; x < _amount; x++) { warId++; _safeMint(_to, warId); _setTokenURI(warId, string(abi.encodePacked(startURI, "war"))); tokenByEvo[warId] = 1; } } else if (_evo == 3) { for (uint256 x; x < _amount; x++) { battleId++; _safeMint(_to, battleId); _setTokenURI( battleId, string(abi.encodePacked(startURI, "battle")) ); tokenByEvo[battleId] = 2; } } else if (_evo == 4) { for (uint256 x; x < _amount; x++) { valhallaId++; _safeMint(_to, valhallaId); _setTokenURI( valhallaId, string(abi.encodePacked(startURI, "valhalla")) ); tokenByEvo[valhallaId] = 3; } } else { revert("Wrong _evo"); } } /** * @notice manage approved members. should be handled with care * @param _user => address of manager * @param _state => remove or add them */ function setApproved(address _user, bool _state) public onlyOwner { approved[_user] = _state; } /** * @notice set info about uris and price * @param _startURI => start of the token uri * @param _price => price per token * (10**18) */ function setHulkiInfo( string memory _startURI, uint256 _price ) public onlyOwner { startURI = _startURI; price = _price; } /** * @notice set minting round, 0 to 4 (1 to 5) * @param _round => 0 to 4 (1 to 5) */ function setRound(uint8 _round) public onlyOwner { require(_round <= 4, "Wrong round"); round = _round; } /** * @notice get token id evolution * @param _tokenId => id of given NFT * @return tokenByEvo => evolution level of given NFT */ function getTokenEvo(uint256 _tokenId) public view returns (uint256) { return tokenByEvo[_tokenId]; } /** * @notice withdraw eth */ function withdraw() public onlyOwner { payable(msg.sender).transfer(address(this).balance); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts 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 (last updated v4.7.0) (token/ERC721/extensions/ERC721URIStorage.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @dev See {ERC721-_burn}. This override additionally checks to see if a * token-specific URI was set for the token, and if so, it deletes the token URI from * the storage mapping. */ function _burn(uint256 tokenId) internal virtual override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); 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 overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-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/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (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`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (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 `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/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":[],"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":"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":"","type":"address"}],"name":"approved","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getTokenEvo","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint8","name":"_mode","type":"uint8"},{"internalType":"uint8","name":"_amount","type":"uint8"},{"internalType":"uint8","name":"_evo","type":"uint8"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"round","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","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":"address","name":"_user","type":"address"},{"internalType":"bool","name":"_state","type":"bool"}],"name":"setApproved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_startURI","type":"string"},{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setHulkiInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_round","type":"uint8"}],"name":"setRound","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":"","type":"uint256"}],"name":"tokenByEvo","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405260405180602001604052806000815250600890805190602001906200002b92919062000249565b506000600c556103e8600d55610708600e55610960600f55610af0601055610bb86011553480156200005c57600080fd5b506040518060400160405280600581526020017f48554c4b490000000000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f48554c4b490000000000000000000000000000000000000000000000000000008152508160009080519060200190620000e192919062000249565b508060019080519060200190620000fa92919062000249565b5050506200011d620001116200017b60201b60201c565b6200018360201b60201c565b6001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506200035e565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002579062000328565b90600052602060002090601f0160209004810192826200027b5760008555620002c7565b82601f106200029657805160ff1916838001178555620002c7565b82800160010185558215620002c7579182015b82811115620002c6578251825591602001919060010190620002a9565b5b509050620002d69190620002da565b5090565b5b80821115620002f5576000816000905550600101620002db565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200034157607f821691505b60208210811415620003585762000357620002f9565b5b50919050565b614576806200036e6000396000f3fe6080604052600436106101815760003560e01c806371e139ef116100d1578063a22cb4651161008a578063cbd5bb2b11610064578063cbd5bb2b14610571578063d8b964e61461059a578063e985e9c5146105d7578063f2fde38b1461061457610181565b8063a22cb465146104e2578063b88d4fde1461050b578063c87b56dd1461053457610181565b806371e139ef146103f357806384cfb6801461040f57806389a5bd84146104385780638da5cb5b1461046157806395d89b411461048c578063a035b1fe146104b757610181565b806325c173dd1161013e5780634a4573c2116101185780634a4573c2146103255780636352211e1461036257806370a082311461039f578063715018a6146103dc57610181565b806325c173dd146102a85780633ccfd60b146102e557806342842e0e146102fc57610181565b806301ffc9a71461018657806306fdde03146101c3578063081812fc146101ee578063095ea7b31461022b578063146ca5311461025457806323b872dd1461027f575b600080fd5b34801561019257600080fd5b506101ad60048036038101906101a89190612d6a565b61063d565b6040516101ba9190612db2565b60405180910390f35b3480156101cf57600080fd5b506101d861071f565b6040516101e59190612e66565b60405180910390f35b3480156101fa57600080fd5b5061021560048036038101906102109190612ebe565b6107b1565b6040516102229190612f2c565b60405180910390f35b34801561023757600080fd5b50610252600480360381019061024d9190612f73565b6107f7565b005b34801561026057600080fd5b5061026961090f565b6040516102769190612fcf565b60405180910390f35b34801561028b57600080fd5b506102a660048036038101906102a19190612fea565b610922565b005b3480156102b457600080fd5b506102cf60048036038101906102ca9190612ebe565b610982565b6040516102dc919061304c565b60405180910390f35b3480156102f157600080fd5b506102fa61099f565b005b34801561030857600080fd5b50610323600480360381019061031e9190612fea565b6109f0565b005b34801561033157600080fd5b5061034c60048036038101906103479190612ebe565b610a10565b604051610359919061304c565b60405180910390f35b34801561036e57600080fd5b5061038960048036038101906103849190612ebe565b610a28565b6040516103969190612f2c565b60405180910390f35b3480156103ab57600080fd5b506103c660048036038101906103c19190613067565b610ada565b6040516103d3919061304c565b60405180910390f35b3480156103e857600080fd5b506103f1610b92565b005b61040d600480360381019061040891906130c0565b610ba6565b005b34801561041b57600080fd5b5061043660048036038101906104319190613167565b61141f565b005b34801561044457600080fd5b5061045f600480360381019061045a91906132dc565b611482565b005b34801561046d57600080fd5b506104766114ac565b6040516104839190612f2c565b60405180910390f35b34801561049857600080fd5b506104a16114d6565b6040516104ae9190612e66565b60405180910390f35b3480156104c357600080fd5b506104cc611568565b6040516104d9919061304c565b60405180910390f35b3480156104ee57600080fd5b5061050960048036038101906105049190613167565b61156e565b005b34801561051757600080fd5b50610532600480360381019061052d91906133d9565b611584565b005b34801561054057600080fd5b5061055b60048036038101906105569190612ebe565b6115e6565b6040516105689190612e66565b60405180910390f35b34801561057d57600080fd5b506105986004803603810190610593919061345c565b6116f9565b005b3480156105a657600080fd5b506105c160048036038101906105bc9190613067565b611766565b6040516105ce9190612db2565b60405180910390f35b3480156105e357600080fd5b506105fe60048036038101906105f99190613489565b611786565b60405161060b9190612db2565b60405180910390f35b34801561062057600080fd5b5061063b60048036038101906106369190613067565b61181a565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061070857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061071857506107178261189e565b5b9050919050565b60606000805461072e906134f8565b80601f016020809104026020016040519081016040528092919081815260200182805461075a906134f8565b80156107a75780601f1061077c576101008083540402835291602001916107a7565b820191906000526020600020905b81548152906001019060200180831161078a57829003601f168201915b5050505050905090565b60006107bc82611908565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061080282610a28565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610873576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086a9061359c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610892611953565b73ffffffffffffffffffffffffffffffffffffffff1614806108c157506108c0816108bb611953565b611786565b5b610900576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f79061362e565b60405180910390fd5b61090a838361195b565b505050565b600a60009054906101000a900460ff1681565b61093361092d611953565b82611a14565b610972576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610969906136c0565b60405180910390fd5b61097d838383611aa9565b505050565b600060126000838152602001908152602001600020549050919050565b6109a7611d10565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156109ed573d6000803e3d6000fd5b50565b610a0b83838360405180602001604052806000815250611584565b505050565b60126020528060005260406000206000915090505481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ad1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac89061372c565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610b4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b42906137be565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610b9a611d10565b610ba46000611d8e565b565b60008560ff161415610c4e57600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610c3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c359061382a565b60405180910390fd5b610c49838383611e54565b611418565b60018560ff161415611417578360ff16600954610c6b9190613879565b341015610cad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca49061391f565b60405180910390fd5b6000600a60009054906101000a900460ff1660ff161415610f2b5760c8600c548560ff16610cdb919061393f565b1115610d1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d13906139e1565b60405180910390fd5b610d2d60008560ff16336000611ec7565b60058460ff1610158015610d445750600a8460ff16105b15610daf576104b0600d546001610d5b919061393f565b1115610d9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d93906139e1565b60405180910390fd5b610daa600180336000611ec7565b610f26565b600a8460ff1610158015610dc65750600f8460ff16105b15610e32576107d0600e546001610ddd919061393f565b1115610e1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e15906139e1565b60405180910390fd5b610e2d60026001336000611ec7565b610f25565b600f8460ff1610158015610e49575060148460ff16105b15610eb557610a28600f546001610e60919061393f565b1115610ea1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e98906139e1565b60405180910390fd5b610eb060036001336000611ec7565b610f24565b60148460ff1610610f2357610bb86010546001610ed2919061393f565b1115610f13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0a906139e1565b60405180910390fd5b610f2260046001336000611ec7565b5b5b5b5b611416565b6001600a60009054906101000a900460ff1660ff16141561112657610190600c548560ff16610f5a919061393f565b1115610f9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f92906139e1565b60405180910390fd5b610fac60008560ff16336000611ec7565b60058460ff1610158015610fc35750600a8460ff16105b1561102e57610578600d546001610fda919061393f565b111561101b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611012906139e1565b60405180910390fd5b611029600180336000611ec7565b611121565b600a8460ff16101580156110455750600f8460ff16105b156110b157610898600e54600161105c919061393f565b111561109d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611094906139e1565b60405180910390fd5b6110ac60026001336000611ec7565b611120565b600f8460ff161061111f57610af0600f5460016110ce919061393f565b111561110f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611106906139e1565b60405180910390fd5b61111e60036001336000611ec7565b5b5b5b611415565b6002600a60009054906101000a900460ff1660ff16141561129d57610258600c548560ff16611155919061393f565b1115611196576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118d906139e1565b60405180910390fd5b6111a760008560ff16336000611ec7565b60058460ff16101580156111be5750600a8460ff16105b1561122957610640600d5460016111d5919061393f565b1115611216576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120d906139e1565b60405180910390fd5b611224600180336000611ec7565b611298565b600a8460ff161061129757610960600e546001611246919061393f565b1115611287576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127e906139e1565b60405180910390fd5b61129660026001336000611ec7565b5b5b611414565b6003600a60009054906101000a900460ff1660ff16141561139057610320600c548560ff166112cc919061393f565b111561130d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611304906139e1565b60405180910390fd5b61131e60008560ff16336000611ec7565b60058460ff161061138b57610708600d54600161133b919061393f565b111561137c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611373906139e1565b60405180910390fd5b61138a600180336000611ec7565b5b611413565b6004600a60009054906101000a900460ff1660ff161415611412576103e8600c548560ff166113bf919061393f565b1115611400576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f7906139e1565b60405180910390fd5b61141160008560ff16336001611ec7565b5b5b5b5b5b5b5b5050505050565b611427611d10565b80600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b61148a611d10565b81600890805190602001906114a0929190612c1b565b50806009819055505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546114e5906134f8565b80601f0160208091040260200160405190810160405280929190818152602001828054611511906134f8565b801561155e5780601f106115335761010080835404028352916020019161155e565b820191906000526020600020905b81548152906001019060200180831161154157829003601f168201915b5050505050905090565b60095481565b611580611579611953565b838361221a565b5050565b61159561158f611953565b83611a14565b6115d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cb906136c0565b60405180910390fd5b6115e084848484612387565b50505050565b60606115f182611908565b6000600660008481526020019081526020016000208054611611906134f8565b80601f016020809104026020016040519081016040528092919081815260200182805461163d906134f8565b801561168a5780601f1061165f5761010080835404028352916020019161168a565b820191906000526020600020905b81548152906001019060200180831161166d57829003601f168201915b50505050509050600061169b6123e3565b90506000815114156116b15781925050506116f4565b6000825111156116e65780826040516020016116ce929190613a3d565b604051602081830303815290604052925050506116f4565b6116ef846123fa565b925050505b919050565b611701611d10565b60048160ff161115611748576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173f90613aad565b60405180910390fd5b80600a60006101000a81548160ff021916908360ff16021790555050565b600b6020528060005260406000206000915054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611822611d10565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611892576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188990613b3f565b60405180910390fd5b61189b81611d8e565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61191181612462565b611950576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119479061372c565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166119ce83610a28565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611a2083610a28565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611a625750611a618185611786565b5b80611aa057508373ffffffffffffffffffffffffffffffffffffffff16611a88846107b1565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611ac982610a28565b73ffffffffffffffffffffffffffffffffffffffff1614611b1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1690613bd1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8690613c63565b60405180910390fd5b611b9a8383836124ce565b611ba560008261195b565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611bf59190613c83565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c4c919061393f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611d0b8383836124d3565b505050565b611d18611953565b73ffffffffffffffffffffffffffffffffffffffff16611d366114ac565b73ffffffffffffffffffffffffffffffffffffffff1614611d8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8390613d03565b60405180910390fd5b565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611e5d826124d8565b60048360ff1614611e8757611e82600184611e789190613d23565b6001836000611ec7565b611ec2565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb990613da6565b60405180910390fd5b505050565b60008460ff161415611f695760005b83811015611f6357600c6000815480929190611ef190613dc6565b9190505550611f0283600c5461252b565b611f2e600c546008604051602001611f1a9190613eef565b604051602081830303815290604052612549565b8115611f5057600460126000600c548152602001908152602001600020819055505b8080611f5b90613dc6565b915050611ed6565b50612214565b60018460ff1614156120045760005b83811015611ffe57600d6000815480929190611f9390613dc6565b9190505550611fa483600d5461252b565b611fd0600d546008604051602001611fbc9190613f5d565b604051602081830303815290604052612549565b600060126000600d548152602001908152602001600020819055508080611ff690613dc6565b915050611f78565b50612213565b60028460ff16141561209f5760005b8381101561209957600e600081548092919061202e90613dc6565b919050555061203f83600e5461252b565b61206b600e5460086040516020016120579190613fcb565b604051602081830303815290604052612549565b600160126000600e54815260200190815260200160002081905550808061209190613dc6565b915050612013565b50612212565b60038460ff16141561213a5760005b8381101561213457600f60008154809291906120c990613dc6565b91905055506120da83600f5461252b565b612106600f5460086040516020016120f29190614039565b604051602081830303815290604052612549565b600260126000600f54815260200190815260200160002081905550808061212c90613dc6565b9150506120ae565b50612211565b60048460ff1614156121d55760005b838110156121cf576010600081548092919061216490613dc6565b91905055506121758360105461252b565b6121a1601054600860405160200161218d91906140a7565b604051602081830303815290604052612549565b60036012600060105481526020019081526020016000208190555080806121c790613dc6565b915050612149565b50612210565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220790614115565b60405180910390fd5b5b5b5b5b50505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612289576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228090614181565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161237a9190612db2565b60405180910390a3505050565b612392848484611aa9565b61239e848484846125bd565b6123dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d490614213565b60405180910390fd5b50505050565b606060405180602001604052806000815250905090565b606061240582611908565b600061240f6123e3565b9050600081511161242f576040518060200160405280600081525061245a565b8061243984612745565b60405160200161244a929190613a3d565b6040516020818303038152906040525b915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b6124e1816128a6565b6000600660008381526020019081526020016000208054612501906134f8565b905014612528576006600082815260200190815260200160002060006125279190612ca1565b5b50565b6125458282604051806020016040528060008152506129c3565b5050565b61255282612462565b612591576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612588906142a5565b60405180910390fd5b806006600084815260200190815260200160002090805190602001906125b8929190612c1b565b505050565b60006125de8473ffffffffffffffffffffffffffffffffffffffff16612a1e565b15612738578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612607611953565b8786866040518563ffffffff1660e01b8152600401612629949392919061431a565b6020604051808303816000875af192505050801561266557506040513d601f19601f82011682018060405250810190612662919061437b565b60015b6126e8573d8060008114612695576040519150601f19603f3d011682016040523d82523d6000602084013e61269a565b606091505b506000815114156126e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d790614213565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061273d565b600190505b949350505050565b6060600082141561278d576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506128a1565b600082905060005b600082146127bf5780806127a890613dc6565b915050600a826127b891906143d7565b9150612795565b60008167ffffffffffffffff8111156127db576127da6131b1565b5b6040519080825280601f01601f19166020018201604052801561280d5781602001600182028036833780820191505090505b5090505b6000851461289a576001826128269190613c83565b9150600a856128359190614408565b6030612841919061393f565b60f81b81838151811061285757612856614439565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561289391906143d7565b9450612811565b8093505050505b919050565b60006128b182610a28565b90506128bf816000846124ce565b6128ca60008361195b565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461291a9190613c83565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46129bf816000846124d3565b5050565b6129cd8383612a41565b6129da60008484846125bd565b612a19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1090614213565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ab1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa8906144b4565b60405180910390fd5b612aba81612462565b15612afa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af190614520565b60405180910390fd5b612b06600083836124ce565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b56919061393f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c17600083836124d3565b5050565b828054612c27906134f8565b90600052602060002090601f016020900481019282612c495760008555612c90565b82601f10612c6257805160ff1916838001178555612c90565b82800160010185558215612c90579182015b82811115612c8f578251825591602001919060010190612c74565b5b509050612c9d9190612ce1565b5090565b508054612cad906134f8565b6000825580601f10612cbf5750612cde565b601f016020900490600052602060002090810190612cdd9190612ce1565b5b50565b5b80821115612cfa576000816000905550600101612ce2565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612d4781612d12565b8114612d5257600080fd5b50565b600081359050612d6481612d3e565b92915050565b600060208284031215612d8057612d7f612d08565b5b6000612d8e84828501612d55565b91505092915050565b60008115159050919050565b612dac81612d97565b82525050565b6000602082019050612dc76000830184612da3565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612e07578082015181840152602081019050612dec565b83811115612e16576000848401525b50505050565b6000601f19601f8301169050919050565b6000612e3882612dcd565b612e428185612dd8565b9350612e52818560208601612de9565b612e5b81612e1c565b840191505092915050565b60006020820190508181036000830152612e808184612e2d565b905092915050565b6000819050919050565b612e9b81612e88565b8114612ea657600080fd5b50565b600081359050612eb881612e92565b92915050565b600060208284031215612ed457612ed3612d08565b5b6000612ee284828501612ea9565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612f1682612eeb565b9050919050565b612f2681612f0b565b82525050565b6000602082019050612f416000830184612f1d565b92915050565b612f5081612f0b565b8114612f5b57600080fd5b50565b600081359050612f6d81612f47565b92915050565b60008060408385031215612f8a57612f89612d08565b5b6000612f9885828601612f5e565b9250506020612fa985828601612ea9565b9150509250929050565b600060ff82169050919050565b612fc981612fb3565b82525050565b6000602082019050612fe46000830184612fc0565b92915050565b60008060006060848603121561300357613002612d08565b5b600061301186828701612f5e565b935050602061302286828701612f5e565b925050604061303386828701612ea9565b9150509250925092565b61304681612e88565b82525050565b6000602082019050613061600083018461303d565b92915050565b60006020828403121561307d5761307c612d08565b5b600061308b84828501612f5e565b91505092915050565b61309d81612fb3565b81146130a857600080fd5b50565b6000813590506130ba81613094565b92915050565b600080600080600060a086880312156130dc576130db612d08565b5b60006130ea888289016130ab565b95505060206130fb888289016130ab565b945050604061310c888289016130ab565b935050606061311d88828901612ea9565b925050608061312e88828901612f5e565b9150509295509295909350565b61314481612d97565b811461314f57600080fd5b50565b6000813590506131618161313b565b92915050565b6000806040838503121561317e5761317d612d08565b5b600061318c85828601612f5e565b925050602061319d85828601613152565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6131e982612e1c565b810181811067ffffffffffffffff82111715613208576132076131b1565b5b80604052505050565b600061321b612cfe565b905061322782826131e0565b919050565b600067ffffffffffffffff821115613247576132466131b1565b5b61325082612e1c565b9050602081019050919050565b82818337600083830152505050565b600061327f61327a8461322c565b613211565b90508281526020810184848401111561329b5761329a6131ac565b5b6132a684828561325d565b509392505050565b600082601f8301126132c3576132c26131a7565b5b81356132d384826020860161326c565b91505092915050565b600080604083850312156132f3576132f2612d08565b5b600083013567ffffffffffffffff81111561331157613310612d0d565b5b61331d858286016132ae565b925050602061332e85828601612ea9565b9150509250929050565b600067ffffffffffffffff821115613353576133526131b1565b5b61335c82612e1c565b9050602081019050919050565b600061337c61337784613338565b613211565b905082815260208101848484011115613398576133976131ac565b5b6133a384828561325d565b509392505050565b600082601f8301126133c0576133bf6131a7565b5b81356133d0848260208601613369565b91505092915050565b600080600080608085870312156133f3576133f2612d08565b5b600061340187828801612f5e565b945050602061341287828801612f5e565b935050604061342387828801612ea9565b925050606085013567ffffffffffffffff81111561344457613443612d0d565b5b613450878288016133ab565b91505092959194509250565b60006020828403121561347257613471612d08565b5b6000613480848285016130ab565b91505092915050565b600080604083850312156134a05761349f612d08565b5b60006134ae85828601612f5e565b92505060206134bf85828601612f5e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061351057607f821691505b60208210811415613524576135236134c9565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613586602183612dd8565b91506135918261352a565b604082019050919050565b600060208201905081810360008301526135b581613579565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000613618603e83612dd8565b9150613623826135bc565b604082019050919050565b600060208201905081810360008301526136478161360b565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b60006136aa602e83612dd8565b91506136b58261364e565b604082019050919050565b600060208201905081810360008301526136d98161369d565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000613716601883612dd8565b9150613721826136e0565b602082019050919050565b6000602082019050818103600083015261374581613709565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006137a8602983612dd8565b91506137b38261374c565b604082019050919050565b600060208201905081810360008301526137d78161379b565b9050919050565b7f6d73672e73656e646572206973206e6f7420617070726f766564000000000000600082015250565b6000613814601a83612dd8565b915061381f826137de565b602082019050919050565b6000602082019050818103600083015261384381613807565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061388482612e88565b915061388f83612e88565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156138c8576138c761384a565b5b828202905092915050565b7f5072696365206e6f742070616964000000000000000000000000000000000000600082015250565b6000613909600e83612dd8565b9150613914826138d3565b602082019050919050565b60006020820190508181036000830152613938816138fc565b9050919050565b600061394a82612e88565b915061395583612e88565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561398a5761398961384a565b5b828201905092915050565b7f43616e742065786365656420737570706c790000000000000000000000000000600082015250565b60006139cb601283612dd8565b91506139d682613995565b602082019050919050565b600060208201905081810360008301526139fa816139be565b9050919050565b600081905092915050565b6000613a1782612dcd565b613a218185613a01565b9350613a31818560208601612de9565b80840191505092915050565b6000613a498285613a0c565b9150613a558284613a0c565b91508190509392505050565b7f57726f6e6720726f756e64000000000000000000000000000000000000000000600082015250565b6000613a97600b83612dd8565b9150613aa282613a61565b602082019050919050565b60006020820190508181036000830152613ac681613a8a565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613b29602683612dd8565b9150613b3482613acd565b604082019050919050565b60006020820190508181036000830152613b5881613b1c565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000613bbb602583612dd8565b9150613bc682613b5f565b604082019050919050565b60006020820190508181036000830152613bea81613bae565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613c4d602483612dd8565b9150613c5882613bf1565b604082019050919050565b60006020820190508181036000830152613c7c81613c40565b9050919050565b6000613c8e82612e88565b9150613c9983612e88565b925082821015613cac57613cab61384a565b5b828203905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613ced602083612dd8565b9150613cf882613cb7565b602082019050919050565b60006020820190508181036000830152613d1c81613ce0565b9050919050565b6000613d2e82612fb3565b9150613d3983612fb3565b92508260ff03821115613d4f57613d4e61384a565b5b828201905092915050565b7f43616e742065766f6c76652076616c68616c6c61000000000000000000000000600082015250565b6000613d90601483612dd8565b9150613d9b82613d5a565b602082019050919050565b60006020820190508181036000830152613dbf81613d83565b9050919050565b6000613dd182612e88565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e0457613e0361384a565b5b600182019050919050565b60008190508160005260206000209050919050565b60008154613e31816134f8565b613e3b8186613a01565b94506001821660008114613e565760018114613e6757613e9a565b60ff19831686528186019350613e9a565b613e7085613e0f565b60005b83811015613e9257815481890152600182019150602081019050613e73565b838801955050505b50505092915050565b7f62616e6e65720000000000000000000000000000000000000000000000000000600082015250565b6000613ed9600683613a01565b9150613ee482613ea3565b600682019050919050565b6000613efb8284613e24565b9150613f0682613ecc565b915081905092915050565b7f6265617374000000000000000000000000000000000000000000000000000000600082015250565b6000613f47600583613a01565b9150613f5282613f11565b600582019050919050565b6000613f698284613e24565b9150613f7482613f3a565b915081905092915050565b7f7761720000000000000000000000000000000000000000000000000000000000600082015250565b6000613fb5600383613a01565b9150613fc082613f7f565b600382019050919050565b6000613fd78284613e24565b9150613fe282613fa8565b915081905092915050565b7f626174746c650000000000000000000000000000000000000000000000000000600082015250565b6000614023600683613a01565b915061402e82613fed565b600682019050919050565b60006140458284613e24565b915061405082614016565b915081905092915050565b7f76616c68616c6c61000000000000000000000000000000000000000000000000600082015250565b6000614091600883613a01565b915061409c8261405b565b600882019050919050565b60006140b38284613e24565b91506140be82614084565b915081905092915050565b7f57726f6e67205f65766f00000000000000000000000000000000000000000000600082015250565b60006140ff600a83612dd8565b915061410a826140c9565b602082019050919050565b6000602082019050818103600083015261412e816140f2565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061416b601983612dd8565b915061417682614135565b602082019050919050565b6000602082019050818103600083015261419a8161415e565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006141fd603283612dd8565b9150614208826141a1565b604082019050919050565b6000602082019050818103600083015261422c816141f0565b9050919050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b600061428f602e83612dd8565b915061429a82614233565b604082019050919050565b600060208201905081810360008301526142be81614282565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006142ec826142c5565b6142f681856142d0565b9350614306818560208601612de9565b61430f81612e1c565b840191505092915050565b600060808201905061432f6000830187612f1d565b61433c6020830186612f1d565b614349604083018561303d565b818103606083015261435b81846142e1565b905095945050505050565b60008151905061437581612d3e565b92915050565b60006020828403121561439157614390612d08565b5b600061439f84828501614366565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006143e282612e88565b91506143ed83612e88565b9250826143fd576143fc6143a8565b5b828204905092915050565b600061441382612e88565b915061441e83612e88565b92508261442e5761442d6143a8565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061449e602083612dd8565b91506144a982614468565b602082019050919050565b600060208201905081810360008301526144cd81614491565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061450a601c83612dd8565b9150614515826144d4565b602082019050919050565b60006020820190508181036000830152614539816144fd565b905091905056fea2646970667358221220e897f1099c3dbe06c3be5e8574a721d4c95fc5f1511cec2f3e23039de74355b164736f6c634300080b0033
Deployed Bytecode
0x6080604052600436106101815760003560e01c806371e139ef116100d1578063a22cb4651161008a578063cbd5bb2b11610064578063cbd5bb2b14610571578063d8b964e61461059a578063e985e9c5146105d7578063f2fde38b1461061457610181565b8063a22cb465146104e2578063b88d4fde1461050b578063c87b56dd1461053457610181565b806371e139ef146103f357806384cfb6801461040f57806389a5bd84146104385780638da5cb5b1461046157806395d89b411461048c578063a035b1fe146104b757610181565b806325c173dd1161013e5780634a4573c2116101185780634a4573c2146103255780636352211e1461036257806370a082311461039f578063715018a6146103dc57610181565b806325c173dd146102a85780633ccfd60b146102e557806342842e0e146102fc57610181565b806301ffc9a71461018657806306fdde03146101c3578063081812fc146101ee578063095ea7b31461022b578063146ca5311461025457806323b872dd1461027f575b600080fd5b34801561019257600080fd5b506101ad60048036038101906101a89190612d6a565b61063d565b6040516101ba9190612db2565b60405180910390f35b3480156101cf57600080fd5b506101d861071f565b6040516101e59190612e66565b60405180910390f35b3480156101fa57600080fd5b5061021560048036038101906102109190612ebe565b6107b1565b6040516102229190612f2c565b60405180910390f35b34801561023757600080fd5b50610252600480360381019061024d9190612f73565b6107f7565b005b34801561026057600080fd5b5061026961090f565b6040516102769190612fcf565b60405180910390f35b34801561028b57600080fd5b506102a660048036038101906102a19190612fea565b610922565b005b3480156102b457600080fd5b506102cf60048036038101906102ca9190612ebe565b610982565b6040516102dc919061304c565b60405180910390f35b3480156102f157600080fd5b506102fa61099f565b005b34801561030857600080fd5b50610323600480360381019061031e9190612fea565b6109f0565b005b34801561033157600080fd5b5061034c60048036038101906103479190612ebe565b610a10565b604051610359919061304c565b60405180910390f35b34801561036e57600080fd5b5061038960048036038101906103849190612ebe565b610a28565b6040516103969190612f2c565b60405180910390f35b3480156103ab57600080fd5b506103c660048036038101906103c19190613067565b610ada565b6040516103d3919061304c565b60405180910390f35b3480156103e857600080fd5b506103f1610b92565b005b61040d600480360381019061040891906130c0565b610ba6565b005b34801561041b57600080fd5b5061043660048036038101906104319190613167565b61141f565b005b34801561044457600080fd5b5061045f600480360381019061045a91906132dc565b611482565b005b34801561046d57600080fd5b506104766114ac565b6040516104839190612f2c565b60405180910390f35b34801561049857600080fd5b506104a16114d6565b6040516104ae9190612e66565b60405180910390f35b3480156104c357600080fd5b506104cc611568565b6040516104d9919061304c565b60405180910390f35b3480156104ee57600080fd5b5061050960048036038101906105049190613167565b61156e565b005b34801561051757600080fd5b50610532600480360381019061052d91906133d9565b611584565b005b34801561054057600080fd5b5061055b60048036038101906105569190612ebe565b6115e6565b6040516105689190612e66565b60405180910390f35b34801561057d57600080fd5b506105986004803603810190610593919061345c565b6116f9565b005b3480156105a657600080fd5b506105c160048036038101906105bc9190613067565b611766565b6040516105ce9190612db2565b60405180910390f35b3480156105e357600080fd5b506105fe60048036038101906105f99190613489565b611786565b60405161060b9190612db2565b60405180910390f35b34801561062057600080fd5b5061063b60048036038101906106369190613067565b61181a565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061070857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061071857506107178261189e565b5b9050919050565b60606000805461072e906134f8565b80601f016020809104026020016040519081016040528092919081815260200182805461075a906134f8565b80156107a75780601f1061077c576101008083540402835291602001916107a7565b820191906000526020600020905b81548152906001019060200180831161078a57829003601f168201915b5050505050905090565b60006107bc82611908565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061080282610a28565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610873576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086a9061359c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610892611953565b73ffffffffffffffffffffffffffffffffffffffff1614806108c157506108c0816108bb611953565b611786565b5b610900576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f79061362e565b60405180910390fd5b61090a838361195b565b505050565b600a60009054906101000a900460ff1681565b61093361092d611953565b82611a14565b610972576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610969906136c0565b60405180910390fd5b61097d838383611aa9565b505050565b600060126000838152602001908152602001600020549050919050565b6109a7611d10565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156109ed573d6000803e3d6000fd5b50565b610a0b83838360405180602001604052806000815250611584565b505050565b60126020528060005260406000206000915090505481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ad1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac89061372c565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610b4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b42906137be565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610b9a611d10565b610ba46000611d8e565b565b60008560ff161415610c4e57600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610c3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c359061382a565b60405180910390fd5b610c49838383611e54565b611418565b60018560ff161415611417578360ff16600954610c6b9190613879565b341015610cad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca49061391f565b60405180910390fd5b6000600a60009054906101000a900460ff1660ff161415610f2b5760c8600c548560ff16610cdb919061393f565b1115610d1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d13906139e1565b60405180910390fd5b610d2d60008560ff16336000611ec7565b60058460ff1610158015610d445750600a8460ff16105b15610daf576104b0600d546001610d5b919061393f565b1115610d9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d93906139e1565b60405180910390fd5b610daa600180336000611ec7565b610f26565b600a8460ff1610158015610dc65750600f8460ff16105b15610e32576107d0600e546001610ddd919061393f565b1115610e1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e15906139e1565b60405180910390fd5b610e2d60026001336000611ec7565b610f25565b600f8460ff1610158015610e49575060148460ff16105b15610eb557610a28600f546001610e60919061393f565b1115610ea1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e98906139e1565b60405180910390fd5b610eb060036001336000611ec7565b610f24565b60148460ff1610610f2357610bb86010546001610ed2919061393f565b1115610f13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0a906139e1565b60405180910390fd5b610f2260046001336000611ec7565b5b5b5b5b611416565b6001600a60009054906101000a900460ff1660ff16141561112657610190600c548560ff16610f5a919061393f565b1115610f9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f92906139e1565b60405180910390fd5b610fac60008560ff16336000611ec7565b60058460ff1610158015610fc35750600a8460ff16105b1561102e57610578600d546001610fda919061393f565b111561101b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611012906139e1565b60405180910390fd5b611029600180336000611ec7565b611121565b600a8460ff16101580156110455750600f8460ff16105b156110b157610898600e54600161105c919061393f565b111561109d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611094906139e1565b60405180910390fd5b6110ac60026001336000611ec7565b611120565b600f8460ff161061111f57610af0600f5460016110ce919061393f565b111561110f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611106906139e1565b60405180910390fd5b61111e60036001336000611ec7565b5b5b5b611415565b6002600a60009054906101000a900460ff1660ff16141561129d57610258600c548560ff16611155919061393f565b1115611196576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118d906139e1565b60405180910390fd5b6111a760008560ff16336000611ec7565b60058460ff16101580156111be5750600a8460ff16105b1561122957610640600d5460016111d5919061393f565b1115611216576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120d906139e1565b60405180910390fd5b611224600180336000611ec7565b611298565b600a8460ff161061129757610960600e546001611246919061393f565b1115611287576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127e906139e1565b60405180910390fd5b61129660026001336000611ec7565b5b5b611414565b6003600a60009054906101000a900460ff1660ff16141561139057610320600c548560ff166112cc919061393f565b111561130d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611304906139e1565b60405180910390fd5b61131e60008560ff16336000611ec7565b60058460ff161061138b57610708600d54600161133b919061393f565b111561137c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611373906139e1565b60405180910390fd5b61138a600180336000611ec7565b5b611413565b6004600a60009054906101000a900460ff1660ff161415611412576103e8600c548560ff166113bf919061393f565b1115611400576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f7906139e1565b60405180910390fd5b61141160008560ff16336001611ec7565b5b5b5b5b5b5b5b5050505050565b611427611d10565b80600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b61148a611d10565b81600890805190602001906114a0929190612c1b565b50806009819055505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546114e5906134f8565b80601f0160208091040260200160405190810160405280929190818152602001828054611511906134f8565b801561155e5780601f106115335761010080835404028352916020019161155e565b820191906000526020600020905b81548152906001019060200180831161154157829003601f168201915b5050505050905090565b60095481565b611580611579611953565b838361221a565b5050565b61159561158f611953565b83611a14565b6115d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cb906136c0565b60405180910390fd5b6115e084848484612387565b50505050565b60606115f182611908565b6000600660008481526020019081526020016000208054611611906134f8565b80601f016020809104026020016040519081016040528092919081815260200182805461163d906134f8565b801561168a5780601f1061165f5761010080835404028352916020019161168a565b820191906000526020600020905b81548152906001019060200180831161166d57829003601f168201915b50505050509050600061169b6123e3565b90506000815114156116b15781925050506116f4565b6000825111156116e65780826040516020016116ce929190613a3d565b604051602081830303815290604052925050506116f4565b6116ef846123fa565b925050505b919050565b611701611d10565b60048160ff161115611748576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173f90613aad565b60405180910390fd5b80600a60006101000a81548160ff021916908360ff16021790555050565b600b6020528060005260406000206000915054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611822611d10565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611892576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188990613b3f565b60405180910390fd5b61189b81611d8e565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61191181612462565b611950576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119479061372c565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166119ce83610a28565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611a2083610a28565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611a625750611a618185611786565b5b80611aa057508373ffffffffffffffffffffffffffffffffffffffff16611a88846107b1565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611ac982610a28565b73ffffffffffffffffffffffffffffffffffffffff1614611b1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1690613bd1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8690613c63565b60405180910390fd5b611b9a8383836124ce565b611ba560008261195b565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611bf59190613c83565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c4c919061393f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611d0b8383836124d3565b505050565b611d18611953565b73ffffffffffffffffffffffffffffffffffffffff16611d366114ac565b73ffffffffffffffffffffffffffffffffffffffff1614611d8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8390613d03565b60405180910390fd5b565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611e5d826124d8565b60048360ff1614611e8757611e82600184611e789190613d23565b6001836000611ec7565b611ec2565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb990613da6565b60405180910390fd5b505050565b60008460ff161415611f695760005b83811015611f6357600c6000815480929190611ef190613dc6565b9190505550611f0283600c5461252b565b611f2e600c546008604051602001611f1a9190613eef565b604051602081830303815290604052612549565b8115611f5057600460126000600c548152602001908152602001600020819055505b8080611f5b90613dc6565b915050611ed6565b50612214565b60018460ff1614156120045760005b83811015611ffe57600d6000815480929190611f9390613dc6565b9190505550611fa483600d5461252b565b611fd0600d546008604051602001611fbc9190613f5d565b604051602081830303815290604052612549565b600060126000600d548152602001908152602001600020819055508080611ff690613dc6565b915050611f78565b50612213565b60028460ff16141561209f5760005b8381101561209957600e600081548092919061202e90613dc6565b919050555061203f83600e5461252b565b61206b600e5460086040516020016120579190613fcb565b604051602081830303815290604052612549565b600160126000600e54815260200190815260200160002081905550808061209190613dc6565b915050612013565b50612212565b60038460ff16141561213a5760005b8381101561213457600f60008154809291906120c990613dc6565b91905055506120da83600f5461252b565b612106600f5460086040516020016120f29190614039565b604051602081830303815290604052612549565b600260126000600f54815260200190815260200160002081905550808061212c90613dc6565b9150506120ae565b50612211565b60048460ff1614156121d55760005b838110156121cf576010600081548092919061216490613dc6565b91905055506121758360105461252b565b6121a1601054600860405160200161218d91906140a7565b604051602081830303815290604052612549565b60036012600060105481526020019081526020016000208190555080806121c790613dc6565b915050612149565b50612210565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220790614115565b60405180910390fd5b5b5b5b5b50505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612289576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228090614181565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161237a9190612db2565b60405180910390a3505050565b612392848484611aa9565b61239e848484846125bd565b6123dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d490614213565b60405180910390fd5b50505050565b606060405180602001604052806000815250905090565b606061240582611908565b600061240f6123e3565b9050600081511161242f576040518060200160405280600081525061245a565b8061243984612745565b60405160200161244a929190613a3d565b6040516020818303038152906040525b915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b6124e1816128a6565b6000600660008381526020019081526020016000208054612501906134f8565b905014612528576006600082815260200190815260200160002060006125279190612ca1565b5b50565b6125458282604051806020016040528060008152506129c3565b5050565b61255282612462565b612591576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612588906142a5565b60405180910390fd5b806006600084815260200190815260200160002090805190602001906125b8929190612c1b565b505050565b60006125de8473ffffffffffffffffffffffffffffffffffffffff16612a1e565b15612738578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612607611953565b8786866040518563ffffffff1660e01b8152600401612629949392919061431a565b6020604051808303816000875af192505050801561266557506040513d601f19601f82011682018060405250810190612662919061437b565b60015b6126e8573d8060008114612695576040519150601f19603f3d011682016040523d82523d6000602084013e61269a565b606091505b506000815114156126e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d790614213565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061273d565b600190505b949350505050565b6060600082141561278d576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506128a1565b600082905060005b600082146127bf5780806127a890613dc6565b915050600a826127b891906143d7565b9150612795565b60008167ffffffffffffffff8111156127db576127da6131b1565b5b6040519080825280601f01601f19166020018201604052801561280d5781602001600182028036833780820191505090505b5090505b6000851461289a576001826128269190613c83565b9150600a856128359190614408565b6030612841919061393f565b60f81b81838151811061285757612856614439565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561289391906143d7565b9450612811565b8093505050505b919050565b60006128b182610a28565b90506128bf816000846124ce565b6128ca60008361195b565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461291a9190613c83565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46129bf816000846124d3565b5050565b6129cd8383612a41565b6129da60008484846125bd565b612a19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1090614213565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ab1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa8906144b4565b60405180910390fd5b612aba81612462565b15612afa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af190614520565b60405180910390fd5b612b06600083836124ce565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b56919061393f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c17600083836124d3565b5050565b828054612c27906134f8565b90600052602060002090601f016020900481019282612c495760008555612c90565b82601f10612c6257805160ff1916838001178555612c90565b82800160010185558215612c90579182015b82811115612c8f578251825591602001919060010190612c74565b5b509050612c9d9190612ce1565b5090565b508054612cad906134f8565b6000825580601f10612cbf5750612cde565b601f016020900490600052602060002090810190612cdd9190612ce1565b5b50565b5b80821115612cfa576000816000905550600101612ce2565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612d4781612d12565b8114612d5257600080fd5b50565b600081359050612d6481612d3e565b92915050565b600060208284031215612d8057612d7f612d08565b5b6000612d8e84828501612d55565b91505092915050565b60008115159050919050565b612dac81612d97565b82525050565b6000602082019050612dc76000830184612da3565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612e07578082015181840152602081019050612dec565b83811115612e16576000848401525b50505050565b6000601f19601f8301169050919050565b6000612e3882612dcd565b612e428185612dd8565b9350612e52818560208601612de9565b612e5b81612e1c565b840191505092915050565b60006020820190508181036000830152612e808184612e2d565b905092915050565b6000819050919050565b612e9b81612e88565b8114612ea657600080fd5b50565b600081359050612eb881612e92565b92915050565b600060208284031215612ed457612ed3612d08565b5b6000612ee284828501612ea9565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612f1682612eeb565b9050919050565b612f2681612f0b565b82525050565b6000602082019050612f416000830184612f1d565b92915050565b612f5081612f0b565b8114612f5b57600080fd5b50565b600081359050612f6d81612f47565b92915050565b60008060408385031215612f8a57612f89612d08565b5b6000612f9885828601612f5e565b9250506020612fa985828601612ea9565b9150509250929050565b600060ff82169050919050565b612fc981612fb3565b82525050565b6000602082019050612fe46000830184612fc0565b92915050565b60008060006060848603121561300357613002612d08565b5b600061301186828701612f5e565b935050602061302286828701612f5e565b925050604061303386828701612ea9565b9150509250925092565b61304681612e88565b82525050565b6000602082019050613061600083018461303d565b92915050565b60006020828403121561307d5761307c612d08565b5b600061308b84828501612f5e565b91505092915050565b61309d81612fb3565b81146130a857600080fd5b50565b6000813590506130ba81613094565b92915050565b600080600080600060a086880312156130dc576130db612d08565b5b60006130ea888289016130ab565b95505060206130fb888289016130ab565b945050604061310c888289016130ab565b935050606061311d88828901612ea9565b925050608061312e88828901612f5e565b9150509295509295909350565b61314481612d97565b811461314f57600080fd5b50565b6000813590506131618161313b565b92915050565b6000806040838503121561317e5761317d612d08565b5b600061318c85828601612f5e565b925050602061319d85828601613152565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6131e982612e1c565b810181811067ffffffffffffffff82111715613208576132076131b1565b5b80604052505050565b600061321b612cfe565b905061322782826131e0565b919050565b600067ffffffffffffffff821115613247576132466131b1565b5b61325082612e1c565b9050602081019050919050565b82818337600083830152505050565b600061327f61327a8461322c565b613211565b90508281526020810184848401111561329b5761329a6131ac565b5b6132a684828561325d565b509392505050565b600082601f8301126132c3576132c26131a7565b5b81356132d384826020860161326c565b91505092915050565b600080604083850312156132f3576132f2612d08565b5b600083013567ffffffffffffffff81111561331157613310612d0d565b5b61331d858286016132ae565b925050602061332e85828601612ea9565b9150509250929050565b600067ffffffffffffffff821115613353576133526131b1565b5b61335c82612e1c565b9050602081019050919050565b600061337c61337784613338565b613211565b905082815260208101848484011115613398576133976131ac565b5b6133a384828561325d565b509392505050565b600082601f8301126133c0576133bf6131a7565b5b81356133d0848260208601613369565b91505092915050565b600080600080608085870312156133f3576133f2612d08565b5b600061340187828801612f5e565b945050602061341287828801612f5e565b935050604061342387828801612ea9565b925050606085013567ffffffffffffffff81111561344457613443612d0d565b5b613450878288016133ab565b91505092959194509250565b60006020828403121561347257613471612d08565b5b6000613480848285016130ab565b91505092915050565b600080604083850312156134a05761349f612d08565b5b60006134ae85828601612f5e565b92505060206134bf85828601612f5e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061351057607f821691505b60208210811415613524576135236134c9565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613586602183612dd8565b91506135918261352a565b604082019050919050565b600060208201905081810360008301526135b581613579565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000613618603e83612dd8565b9150613623826135bc565b604082019050919050565b600060208201905081810360008301526136478161360b565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b60006136aa602e83612dd8565b91506136b58261364e565b604082019050919050565b600060208201905081810360008301526136d98161369d565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000613716601883612dd8565b9150613721826136e0565b602082019050919050565b6000602082019050818103600083015261374581613709565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006137a8602983612dd8565b91506137b38261374c565b604082019050919050565b600060208201905081810360008301526137d78161379b565b9050919050565b7f6d73672e73656e646572206973206e6f7420617070726f766564000000000000600082015250565b6000613814601a83612dd8565b915061381f826137de565b602082019050919050565b6000602082019050818103600083015261384381613807565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061388482612e88565b915061388f83612e88565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156138c8576138c761384a565b5b828202905092915050565b7f5072696365206e6f742070616964000000000000000000000000000000000000600082015250565b6000613909600e83612dd8565b9150613914826138d3565b602082019050919050565b60006020820190508181036000830152613938816138fc565b9050919050565b600061394a82612e88565b915061395583612e88565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561398a5761398961384a565b5b828201905092915050565b7f43616e742065786365656420737570706c790000000000000000000000000000600082015250565b60006139cb601283612dd8565b91506139d682613995565b602082019050919050565b600060208201905081810360008301526139fa816139be565b9050919050565b600081905092915050565b6000613a1782612dcd565b613a218185613a01565b9350613a31818560208601612de9565b80840191505092915050565b6000613a498285613a0c565b9150613a558284613a0c565b91508190509392505050565b7f57726f6e6720726f756e64000000000000000000000000000000000000000000600082015250565b6000613a97600b83612dd8565b9150613aa282613a61565b602082019050919050565b60006020820190508181036000830152613ac681613a8a565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613b29602683612dd8565b9150613b3482613acd565b604082019050919050565b60006020820190508181036000830152613b5881613b1c565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000613bbb602583612dd8565b9150613bc682613b5f565b604082019050919050565b60006020820190508181036000830152613bea81613bae565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613c4d602483612dd8565b9150613c5882613bf1565b604082019050919050565b60006020820190508181036000830152613c7c81613c40565b9050919050565b6000613c8e82612e88565b9150613c9983612e88565b925082821015613cac57613cab61384a565b5b828203905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613ced602083612dd8565b9150613cf882613cb7565b602082019050919050565b60006020820190508181036000830152613d1c81613ce0565b9050919050565b6000613d2e82612fb3565b9150613d3983612fb3565b92508260ff03821115613d4f57613d4e61384a565b5b828201905092915050565b7f43616e742065766f6c76652076616c68616c6c61000000000000000000000000600082015250565b6000613d90601483612dd8565b9150613d9b82613d5a565b602082019050919050565b60006020820190508181036000830152613dbf81613d83565b9050919050565b6000613dd182612e88565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e0457613e0361384a565b5b600182019050919050565b60008190508160005260206000209050919050565b60008154613e31816134f8565b613e3b8186613a01565b94506001821660008114613e565760018114613e6757613e9a565b60ff19831686528186019350613e9a565b613e7085613e0f565b60005b83811015613e9257815481890152600182019150602081019050613e73565b838801955050505b50505092915050565b7f62616e6e65720000000000000000000000000000000000000000000000000000600082015250565b6000613ed9600683613a01565b9150613ee482613ea3565b600682019050919050565b6000613efb8284613e24565b9150613f0682613ecc565b915081905092915050565b7f6265617374000000000000000000000000000000000000000000000000000000600082015250565b6000613f47600583613a01565b9150613f5282613f11565b600582019050919050565b6000613f698284613e24565b9150613f7482613f3a565b915081905092915050565b7f7761720000000000000000000000000000000000000000000000000000000000600082015250565b6000613fb5600383613a01565b9150613fc082613f7f565b600382019050919050565b6000613fd78284613e24565b9150613fe282613fa8565b915081905092915050565b7f626174746c650000000000000000000000000000000000000000000000000000600082015250565b6000614023600683613a01565b915061402e82613fed565b600682019050919050565b60006140458284613e24565b915061405082614016565b915081905092915050565b7f76616c68616c6c61000000000000000000000000000000000000000000000000600082015250565b6000614091600883613a01565b915061409c8261405b565b600882019050919050565b60006140b38284613e24565b91506140be82614084565b915081905092915050565b7f57726f6e67205f65766f00000000000000000000000000000000000000000000600082015250565b60006140ff600a83612dd8565b915061410a826140c9565b602082019050919050565b6000602082019050818103600083015261412e816140f2565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061416b601983612dd8565b915061417682614135565b602082019050919050565b6000602082019050818103600083015261419a8161415e565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006141fd603283612dd8565b9150614208826141a1565b604082019050919050565b6000602082019050818103600083015261422c816141f0565b9050919050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b600061428f602e83612dd8565b915061429a82614233565b604082019050919050565b600060208201905081810360008301526142be81614282565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006142ec826142c5565b6142f681856142d0565b9350614306818560208601612de9565b61430f81612e1c565b840191505092915050565b600060808201905061432f6000830187612f1d565b61433c6020830186612f1d565b614349604083018561303d565b818103606083015261435b81846142e1565b905095945050505050565b60008151905061437581612d3e565b92915050565b60006020828403121561439157614390612d08565b5b600061439f84828501614366565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006143e282612e88565b91506143ed83612e88565b9250826143fd576143fc6143a8565b5b828204905092915050565b600061441382612e88565b915061441e83612e88565b92508261442e5761442d6143a8565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061449e602083612dd8565b91506144a982614468565b602082019050919050565b600060208201905081810360008301526144cd81614491565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061450a601c83612dd8565b9150614515826144d4565b602082019050919050565b60006020820190508181036000830152614539816144fd565b905091905056fea2646970667358221220e897f1099c3dbe06c3be5e8574a721d4c95fc5f1511cec2f3e23039de74355b164736f6c634300080b0033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.