ERC-721
Overview
Max Total Supply
112 RECEIPT
Holders
39
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 RECEIPTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
MasterchefMasatoshi
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.10; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "./ERC721.sol"; /** * @title MasterchefMasatoshi * NFT + DAO = NEW META * Vitalik, remove contract size limit pls */ contract MasterchefMasatoshi is ERC721, Ownable { string public PROVENANCE; bool provenanceSet; uint256 public mintPrice; uint256 public maxPossibleSupply; bool public saleIsActive; address public immutable currency; address immutable wrappedNativeCoinAddress; uint256 public percentToVote = 60; uint256 public votingDuration = 86400; bool public isDao; bool public percentToVoteFrozen; bool public votingDurationFrozen; event VotingCreated( address contractAddress, bytes data, uint256 value, string comment, uint256 indexed index, uint256 timestamp ); event VotingSigned(uint256 indexed index, address indexed signer, uint256 timestamp); event VotingActivated(uint256 indexed index, uint256 timestamp, bytes result); event Received(address, uint256); struct Voting { address contractAddress; bytes data; uint256 value; string comment; uint256 index; uint256 timestamp; bool isActivated; address[] signers; } Voting[] public votings; receive() external payable { emit Received(_msgSender(), msg.value); } modifier onlyHolders { require(isDao); require(balanceOf(_msgSender()) > 0); _; } modifier onlyContractOrOwner { if (isDao) { require(_msgSender() == address(this)); } else { require(_msgSender() == owner()); } _; } constructor( string memory _name, string memory _symbol, uint256 _maxPossibleSupply, uint256 _mintPrice, address _currency, address _wrappedNativeCoinAddress ) ERC721(_name, _symbol) { maxPossibleSupply = _maxPossibleSupply; mintPrice = _mintPrice; currency = _currency; wrappedNativeCoinAddress = _wrappedNativeCoinAddress; } function preMint(uint amount) public onlyContractOrOwner { uint supply = totalSupply(); uint i; for (i = 0; i < amount; i++) { _safeMint(msg.sender, supply + i); } } function setProvenanceHash(string memory provenanceHash) public onlyOwner { require(!provenanceSet); PROVENANCE = provenanceHash; provenanceSet = true; } function setBaseURI(string memory baseURI) public onlyOwner { _setBaseURI(baseURI); } function flipSaleState() public onlyContractOrOwner { saleIsActive = !saleIsActive; } function permanentlyConvertToDao() external onlyOwner { isDao = true; } function createVoting( address _contractAddress, bytes calldata _data, uint256 _value, string memory _comment ) external onlyHolders returns (bool success) { address[] memory _signers; votings.push( Voting({ contractAddress: _contractAddress, data: _data, value: _value, comment: _comment, index: votings.length, timestamp: block.timestamp, isActivated: false, signers: _signers }) ); emit VotingCreated(_contractAddress, _data, _value, _comment, votings.length - 1, block.timestamp); return true; } function signVoting(uint256 _index) external onlyHolders returns (bool success) { for (uint256 i = 0; i < votings[_index].signers.length; i++) { require(_msgSender() != votings[_index].signers[i], "v"); } require(block.timestamp <= votings[_index].timestamp + votingDuration, "t"); votings[_index].signers.push(_msgSender()); emit VotingSigned(_index, _msgSender(), block.timestamp); return true; } function activateVoting(uint256 _index) external { uint256 sumOfSigners = 0; for (uint256 i = 0; i < votings[_index].signers.length; i++) { sumOfSigners += balanceOf(votings[_index].signers[i]); } require(sumOfSigners >= totalSupply() * percentToVote / 100, "s"); require(!votings[_index].isActivated, "a"); address _contractToCall = votings[_index].contractAddress; bytes storage _data = votings[_index].data; uint256 _value = votings[_index].value; (bool b, bytes memory result) = _contractToCall.call{value: _value}(_data); require(b); votings[_index].isActivated = true; emit VotingActivated(_index, block.timestamp, result); } function changePercentToVote(uint256 _percentToVote) public onlyContractOrOwner returns (bool success) { require(_percentToVote >= 1 && _percentToVote <= 100 && !percentToVoteFrozen, "f"); percentToVote = _percentToVote; return true; } function freezePercentToVoteFrozen() public onlyContractOrOwner returns (bool success) { percentToVoteFrozen = true; return true; } function changeVotingDuration(uint256 _votingDuration) public onlyContractOrOwner returns (bool success) { require(!votingDurationFrozen, "f"); require( _votingDuration == 2 hours || _votingDuration == 24 hours || _votingDuration == 72 hours, "t" ); votingDuration = _votingDuration; return true; } function freezeVotingDuration() public onlyContractOrOwner returns (bool success) { votingDurationFrozen = true; return true; } function mintTokens(uint _amount) public payable { require(saleIsActive, "s"); require(totalSupply() + _amount <= maxPossibleSupply, "m"); if (currency == wrappedNativeCoinAddress) { require(mintPrice * _amount <= msg.value, "a"); } else { IERC20 _currency = IERC20(currency); _currency.transferFrom(_msgSender(), address(this), _amount * mintPrice); } for(uint i = 0; i < _amount; i++) { uint mintIndex = totalSupply(); if (totalSupply() < maxPossibleSupply) { _safeMint(_msgSender(), mintIndex); } } } function getAllVotings() external view returns (Voting[] memory) { return votings; } function withdraw() public onlyContractOrOwner() { uint balance = address(this).balance; payable(_msgSender()).transfer(balance); } function withdrawTokens(address tokenAddress) external onlyContractOrOwner() { IERC20(tokenAddress).transfer(_msgSender(), IERC20(tokenAddress).balanceOf(address(this))); } } // The High Table
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.10; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableMap.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; /** * @title ERC721 Non-Fungible Token Standard basic implementation * @dev see https://eips.ethereum.org/EIPS/eip-721 */ abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using EnumerableSet for EnumerableSet.UintSet; using EnumerableMap for EnumerableMap.UintToAddressMap; using Strings for uint256; // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))` // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector` bytes4 private constant _ERC721_RECEIVED = 0x150b7a02; // Mapping from holder address to their (enumerable) set of owned tokens mapping (address => EnumerableSet.UintSet) private _holderTokens; // Enumerable mapping from token ids to their owners EnumerableMap.UintToAddressMap private _tokenOwners; // 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; // Token name string private _name; // Token symbol string private _symbol; // Optional mapping for token URIs mapping (uint256 => string) private _tokenURIs; // Base URI string private _baseURI; /** * @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 || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _holderTokens[owner].length(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token"); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "exist"); 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)); } // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI. return string(abi.encodePacked(base, tokenId.toString())); } /** * @dev Returns the base URI set via {_setBaseURI}. This will be * automatically added as a prefix in {tokenURI} to each token's URI, or * to the token ID if no specific URI is set for that token ID. */ function baseURI() public view virtual returns (string memory) { return _baseURI; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { return _holderTokens[owner].at(index); } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds return _tokenOwners.length(); } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { (uint256 tokenId, ) = _tokenOwners.at(index); return tokenId; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "current"); require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()), "owner" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "query"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "approve"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "owner"); _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), "owner"); _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), "receiver"); } /** * @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 _tokenOwners.contains(tokenId); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "operator"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: d* * - `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), "receiver"); } /** * @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), "zero"); require(!_exists(tokenId), "minted"); _beforeTokenTransfer(address(0), to, tokenId); _holderTokens[to].add(tokenId); _tokenOwners.set(tokenId, to); emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); // internal owner _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); // Clear metadata (if any) if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } _holderTokens[owner].remove(tokenId); _tokenOwners.remove(tokenId); emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer(address from, address to, uint256 tokenId) internal virtual { require(ERC721.ownerOf(tokenId) == from, "own"); // internal owner require(to != address(0), "zero"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _holderTokens[from].remove(tokenId); _holderTokens[to].add(tokenId); _tokenOwners.set(tokenId, to); emit Transfer(from, to, 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), "uri"); _tokenURIs[tokenId] = _tokenURI; } /** * @dev Internal function to set the base URI for all token IDs. It is * automatically added as a prefix to the value returned in {tokenURI}, * or to the token ID if {tokenURI} is empty. */ function _setBaseURI(string memory baseURI_) internal virtual { _baseURI = baseURI_; } /** * @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()) { return true; } bytes memory returndata = to.functionCall(abi.encodeWithSelector( IERC721Receiver(to).onERC721Received.selector, _msgSender(), from, tokenId, _data ), "ERC721: transfer to non ERC721Receiver implementer"); bytes4 retval = abi.decode(returndata, (bytes4)); return (retval == _ERC721_RECEIVED); } /** * @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); // internal owner } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./EnumerableSet.sol"; /** * @dev Library for managing an enumerable variant of Solidity's * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`] * type. * * Maps have the following properties: * * - Entries are added, removed, and checked for existence in constant time * (O(1)). * - Entries are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableMap for EnumerableMap.UintToAddressMap; * * // Declare a set state variable * EnumerableMap.UintToAddressMap private myMap; * } * ``` * * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are * supported. */ library EnumerableMap { using EnumerableSet for EnumerableSet.Bytes32Set; // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Map type with // bytes32 keys and values. // The Map implementation uses private functions, and user-facing // implementations (such as Uint256ToAddressMap) are just wrappers around // the underlying Map. // This means that we can only create new EnumerableMaps for types that fit // in bytes32. struct Map { // Storage of keys EnumerableSet.Bytes32Set _keys; mapping(bytes32 => bytes32) _values; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function _set( Map storage map, bytes32 key, bytes32 value ) private returns (bool) { map._values[key] = value; return map._keys.add(key); } /** * @dev Removes a key-value pair from a map. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function _remove(Map storage map, bytes32 key) private returns (bool) { delete map._values[key]; return map._keys.remove(key); } /** * @dev Returns true if the key is in the map. O(1). */ function _contains(Map storage map, bytes32 key) private view returns (bool) { return map._keys.contains(key); } /** * @dev Returns the number of key-value pairs in the map. O(1). */ function _length(Map storage map) private view returns (uint256) { return map._keys.length(); } /** * @dev Returns the key-value pair stored at position `index` in the map. O(1). * * Note that there are no guarantees on the ordering of entries inside the * array, and it may change when more entries are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) { bytes32 key = map._keys.at(index); return (key, map._values[key]); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. */ function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) { bytes32 value = map._values[key]; if (value == bytes32(0)) { return (_contains(map, key), bytes32(0)); } else { return (true, value); } } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function _get(Map storage map, bytes32 key) private view returns (bytes32) { bytes32 value = map._values[key]; require(value != 0 || _contains(map, key), "EnumerableMap: nonexistent key"); return value; } /** * @dev Same as {_get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {_tryGet}. */ function _get( Map storage map, bytes32 key, string memory errorMessage ) private view returns (bytes32) { bytes32 value = map._values[key]; require(value != 0 || _contains(map, key), errorMessage); return value; } // UintToAddressMap struct UintToAddressMap { Map _inner; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function set( UintToAddressMap storage map, uint256 key, address value ) internal returns (bool) { return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) { return _remove(map._inner, bytes32(key)); } /** * @dev Returns true if the key is in the map. O(1). */ function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) { return _contains(map._inner, bytes32(key)); } /** * @dev Returns the number of elements in the map. O(1). */ function length(UintToAddressMap storage map) internal view returns (uint256) { return _length(map._inner); } /** * @dev Returns the element stored at position `index` in the set. O(1). * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) { (bytes32 key, bytes32 value) = _at(map._inner, index); return (uint256(key), address(uint160(uint256(value)))); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. * * _Available since v3.4._ */ function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) { (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key)); return (success, address(uint160(uint256(value)))); } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function get(UintToAddressMap storage map, uint256 key) internal view returns (address) { return address(uint160(uint256(_get(map._inner, bytes32(key))))); } /** * @dev Same as {get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryGet}. */ function get( UintToAddressMap storage map, uint256 key, string memory errorMessage ) internal view returns (address) { return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage)))); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { return _values(set._inner); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; assembly { result := store } return result; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_maxPossibleSupply","type":"uint256"},{"internalType":"uint256","name":"_mintPrice","type":"uint256"},{"internalType":"address","name":"_currency","type":"address"},{"internalType":"address","name":"_wrappedNativeCoinAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"","type":"address"},{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"Received","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"result","type":"bytes"}],"name":"VotingActivated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"contractAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"string","name":"comment","type":"string"},{"indexed":true,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"VotingCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":true,"internalType":"address","name":"signer","type":"address"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"VotingSigned","type":"event"},{"inputs":[],"name":"PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"activateVoting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_percentToVote","type":"uint256"}],"name":"changePercentToVote","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_votingDuration","type":"uint256"}],"name":"changeVotingDuration","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contractAddress","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"string","name":"_comment","type":"string"}],"name":"createVoting","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currency","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freezePercentToVoteFrozen","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freezeVotingDuration","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAllVotings","outputs":[{"components":[{"internalType":"address","name":"contractAddress","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"string","name":"comment","type":"string"},{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"bool","name":"isActivated","type":"bool"},{"internalType":"address[]","name":"signers","type":"address[]"}],"internalType":"struct MasterchefMasatoshi.Voting[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isDao","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPossibleSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintTokens","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":"percentToVote","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"percentToVoteFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"permanentlyConvertToDao","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"preMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"signVoting","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"votingDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"votingDurationFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"votings","outputs":[{"internalType":"address","name":"contractAddress","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"string","name":"comment","type":"string"},{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"bool","name":"isActivated","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c0604052603c601055620151806011553480156200001d57600080fd5b50604051620065a2380380620065a28339818101604052810190620000439190620004d6565b858581600690805190602001906200005d929190620001e9565b50806007908051906020019062000076929190620001e9565b505050620000996200008d6200011b60201b60201c565b6200012360201b60201c565b83600e8190555082600d819055508173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250508073ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff168152505050505050505062000615565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001f790620005df565b90600052602060002090601f0160209004810192826200021b576000855562000267565b82601f106200023657805160ff191683800117855562000267565b8280016001018555821562000267579182015b828111156200026657825182559160200191906001019062000249565b5b5090506200027691906200027a565b5090565b5b80821115620002955760008160009055506001016200027b565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200030282620002b7565b810181811067ffffffffffffffff82111715620003245762000323620002c8565b5b80604052505050565b60006200033962000299565b9050620003478282620002f7565b919050565b600067ffffffffffffffff8211156200036a5762000369620002c8565b5b6200037582620002b7565b9050602081019050919050565b60005b83811015620003a257808201518184015260208101905062000385565b83811115620003b2576000848401525b50505050565b6000620003cf620003c9846200034c565b6200032d565b905082815260208101848484011115620003ee57620003ed620002b2565b5b620003fb84828562000382565b509392505050565b600082601f8301126200041b576200041a620002ad565b5b81516200042d848260208601620003b8565b91505092915050565b6000819050919050565b6200044b8162000436565b81146200045757600080fd5b50565b6000815190506200046b8162000440565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200049e8262000471565b9050919050565b620004b08162000491565b8114620004bc57600080fd5b50565b600081519050620004d081620004a5565b92915050565b60008060008060008060c08789031215620004f657620004f5620002a3565b5b600087015167ffffffffffffffff811115620005175762000516620002a8565b5b6200052589828a0162000403565b965050602087015167ffffffffffffffff811115620005495762000548620002a8565b5b6200055789828a0162000403565b95505060406200056a89828a016200045a565b94505060606200057d89828a016200045a565b93505060806200059089828a01620004bf565b92505060a0620005a389828a01620004bf565b9150509295509295509295565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620005f857607f821691505b602082108114156200060f576200060e620005b0565b5b50919050565b60805160a051615f59620006496000396000611de8015260008181611e1f01528181611eb30152612c9d0152615f596000f3fe60806040526004361061028c5760003560e01c80636cec67d01161015a578063b21a41d2116100c1578063e5a6b10f1161007a578063e5a6b10f14610a28578063e985e9c514610a53578063eb8d244414610a90578063f0efb08914610abb578063f2fde38b14610ae6578063f6ead0b914610b0f576102d3565b8063b21a41d2146108f2578063b88d4fde1461091d578063bb5f0a9514610946578063c87b56dd14610983578063d5f76210146109c0578063e4c41bb4146109fd576102d3565b806395d89b411161011357806395d89b41146107d757806397304ced14610802578063a22cb4651461081e578063a598d03c14610847578063a6e39fc11461088a578063a9361ffd146108c7576102d3565b80636cec67d0146106c757806370a08231146106f2578063715018a61461072f578063859d784e146107465780638ad433ac146107835780638da5cb5b146107ac576102d3565b8063386b7691116101fe57806355f804b3116101b757806355f804b3146105c95780635d86842a146105f25780636352211e146106095780636373a6b1146106465780636817c76c146106715780636c0360eb1461069c576102d3565b8063386b7691146104cd5780633ccfd60b146104f857806342842e0e1461050f57806349df728c146105385780634f6ccce7146105615780635029e6021461059e576102d3565b8063132002fc11610250578063132002fc146103cf57806318055c61146103fa57806318160ddd1461042557806323b872dd146104505780632f745c591461047957806334918dfd146104b6576102d3565b806301ffc9a7146102d857806306fdde0314610315578063081812fc14610340578063095ea7b31461037d57806310969523146103a6576102d3565b366102d3577f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f885258746102ba610b38565b346040516102c9929190614403565b60405180910390a1005b600080fd5b3480156102e457600080fd5b506102ff60048036038101906102fa9190614498565b610b40565b60405161030c91906144e0565b60405180910390f35b34801561032157600080fd5b5061032a610c8a565b6040516103379190614594565b60405180910390f35b34801561034c57600080fd5b50610367600480360381019061036291906145e2565b610d1c565b604051610374919061460f565b60405180910390f35b34801561038957600080fd5b506103a4600480360381019061039f9190614656565b610da1565b005b3480156103b257600080fd5b506103cd60048036038101906103c891906147cb565b610eb9565b005b3480156103db57600080fd5b506103e4610f84565b6040516103f19190614814565b60405180910390f35b34801561040657600080fd5b5061040f610f8a565b60405161041c91906144e0565b60405180910390f35b34801561043157600080fd5b5061043a61104e565b6040516104479190614814565b60405180910390f35b34801561045c57600080fd5b506104776004803603810190610472919061482f565b61105f565b005b34801561048557600080fd5b506104a0600480360381019061049b9190614656565b6110bf565b6040516104ad9190614814565b60405180910390f35b3480156104c257600080fd5b506104cb611119565b005b3480156104d957600080fd5b506104e26111e5565b6040516104ef9190614814565b60405180910390f35b34801561050457600080fd5b5061050d6111eb565b005b34801561051b57600080fd5b506105366004803603810190610531919061482f565b6112e1565b005b34801561054457600080fd5b5061055f600480360381019061055a9190614882565b611301565b005b34801561056d57600080fd5b50610588600480360381019061058391906145e2565b6114a3565b6040516105959190614814565b60405180910390f35b3480156105aa57600080fd5b506105b36114c6565b6040516105c091906144e0565b60405180910390f35b3480156105d557600080fd5b506105f060048036038101906105eb91906147cb565b6114d9565b005b3480156105fe57600080fd5b50610607611561565b005b34801561061557600080fd5b50610630600480360381019061062b91906145e2565b6115fa565b60405161063d919061460f565b60405180910390f35b34801561065257600080fd5b5061065b611631565b6040516106689190614594565b60405180910390f35b34801561067d57600080fd5b506106866116bf565b6040516106939190614814565b60405180910390f35b3480156106a857600080fd5b506106b16116c5565b6040516106be9190614594565b60405180910390f35b3480156106d357600080fd5b506106dc611757565b6040516106e991906144e0565b60405180910390f35b3480156106fe57600080fd5b5061071960048036038101906107149190614882565b61181b565b6040516107269190614814565b60405180910390f35b34801561073b57600080fd5b506107446118d9565b005b34801561075257600080fd5b5061076d6004803603810190610768919061490f565b611961565b60405161077a91906144e0565b60405180910390f35b34801561078f57600080fd5b506107aa60048036038101906107a591906145e2565b611ba0565b005b3480156107b857600080fd5b506107c1611c84565b6040516107ce919061460f565b60405180910390f35b3480156107e357600080fd5b506107ec611cae565b6040516107f99190614594565b60405180910390f35b61081c600480360381019061081791906145e2565b611d40565b005b34801561082a57600080fd5b50610845600480360381019061084091906149df565b611fbd565b005b34801561085357600080fd5b5061086e600480360381019061086991906145e2565b61213e565b6040516108819796959493929190614a74565b60405180910390f35b34801561089657600080fd5b506108b160048036038101906108ac91906145e2565b6122cd565b6040516108be91906144e0565b60405180910390f35b3480156108d357600080fd5b506108dc6123e9565b6040516108e991906144e0565b60405180910390f35b3480156108fe57600080fd5b506109076123fc565b60405161091491906144e0565b60405180910390f35b34801561092957600080fd5b50610944600480360381019061093f9190614b92565b61240f565b005b34801561095257600080fd5b5061096d600480360381019061096891906145e2565b612471565b60405161097a91906144e0565b60405180910390f35b34801561098f57600080fd5b506109aa60048036038101906109a591906145e2565b612727565b6040516109b79190614594565b60405180910390f35b3480156109cc57600080fd5b506109e760048036038101906109e291906145e2565b61289a565b6040516109f491906144e0565b60405180910390f35b348015610a0957600080fd5b50610a126129fa565b604051610a1f9190614f05565b60405180910390f35b348015610a3457600080fd5b50610a3d612c9b565b604051610a4a919061460f565b60405180910390f35b348015610a5f57600080fd5b50610a7a6004803603810190610a759190614f27565b612cbf565b604051610a8791906144e0565b60405180910390f35b348015610a9c57600080fd5b50610aa5612d53565b604051610ab291906144e0565b60405180910390f35b348015610ac757600080fd5b50610ad0612d66565b604051610add9190614814565b60405180910390f35b348015610af257600080fd5b50610b0d6004803603810190610b089190614882565b612d6c565b005b348015610b1b57600080fd5b50610b366004803603810190610b3191906145e2565b612e64565b005b600033905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c0b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c7357507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c835750610c8282613191565b5b9050919050565b606060068054610c9990614f96565b80601f0160208091040260200160405190810160405280929190818152602001828054610cc590614f96565b8015610d125780601f10610ce757610100808354040283529160200191610d12565b820191906000526020600020905b815481529060010190602001808311610cf557829003601f168201915b5050505050905090565b6000610d27826131fb565b610d66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5d90615014565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610dac826115fa565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1490615080565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e3c610b38565b73ffffffffffffffffffffffffffffffffffffffff161480610e6b5750610e6a81610e65610b38565b612cbf565b5b610eaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea1906150ec565b60405180910390fd5b610eb48383613218565b505050565b610ec1610b38565b73ffffffffffffffffffffffffffffffffffffffff16610edf611c84565b73ffffffffffffffffffffffffffffffffffffffff1614610f35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2c90615158565b60405180910390fd5b600c60009054906101000a900460ff1615610f4f57600080fd5b80600b9080519060200190610f659291906141f6565b506001600c60006101000a81548160ff02191690831515021790555050565b60115481565b6000601260009054906101000a900460ff1615610fe5573073ffffffffffffffffffffffffffffffffffffffff16610fc0610b38565b73ffffffffffffffffffffffffffffffffffffffff1614610fe057600080fd5b61102c565b610fed611c84565b73ffffffffffffffffffffffffffffffffffffffff1661100b610b38565b73ffffffffffffffffffffffffffffffffffffffff161461102b57600080fd5b5b6001601260016101000a81548160ff0219169083151502179055506001905090565b600061105a60016132d1565b905090565b61107061106a610b38565b826132e6565b6110af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a6906150ec565b60405180910390fd5b6110ba8383836133c4565b505050565b6000611111826000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206135d990919063ffffffff16565b905092915050565b601260009054906101000a900460ff1615611172573073ffffffffffffffffffffffffffffffffffffffff1661114d610b38565b73ffffffffffffffffffffffffffffffffffffffff161461116d57600080fd5b6111b9565b61117a611c84565b73ffffffffffffffffffffffffffffffffffffffff16611198610b38565b73ffffffffffffffffffffffffffffffffffffffff16146111b857600080fd5b5b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b600e5481565b601260009054906101000a900460ff1615611244573073ffffffffffffffffffffffffffffffffffffffff1661121f610b38565b73ffffffffffffffffffffffffffffffffffffffff161461123f57600080fd5b61128b565b61124c611c84565b73ffffffffffffffffffffffffffffffffffffffff1661126a610b38565b73ffffffffffffffffffffffffffffffffffffffff161461128a57600080fd5b5b6000479050611298610b38565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156112dd573d6000803e3d6000fd5b5050565b6112fc8383836040518060200160405280600081525061240f565b505050565b601260009054906101000a900460ff161561135a573073ffffffffffffffffffffffffffffffffffffffff16611335610b38565b73ffffffffffffffffffffffffffffffffffffffff161461135557600080fd5b6113a1565b611362611c84565b73ffffffffffffffffffffffffffffffffffffffff16611380610b38565b73ffffffffffffffffffffffffffffffffffffffff16146113a057600080fd5b5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6113c5610b38565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016113fe919061460f565b602060405180830381865afa15801561141b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061143f919061518d565b6040518363ffffffff1660e01b815260040161145c929190614403565b6020604051808303816000875af115801561147b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061149f91906151cf565b5050565b6000806114ba8360016135f390919063ffffffff16565b50905080915050919050565b601260009054906101000a900460ff1681565b6114e1610b38565b73ffffffffffffffffffffffffffffffffffffffff166114ff611c84565b73ffffffffffffffffffffffffffffffffffffffff1614611555576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154c90615158565b60405180910390fd5b61155e8161361f565b50565b611569610b38565b73ffffffffffffffffffffffffffffffffffffffff16611587611c84565b73ffffffffffffffffffffffffffffffffffffffff16146115dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d490615158565b60405180910390fd5b6001601260006101000a81548160ff021916908315150217905550565b600061162a82604051806060016040528060298152602001615efb6029913960016136399092919063ffffffff16565b9050919050565b600b805461163e90614f96565b80601f016020809104026020016040519081016040528092919081815260200182805461166a90614f96565b80156116b75780601f1061168c576101008083540402835291602001916116b7565b820191906000526020600020905b81548152906001019060200180831161169a57829003601f168201915b505050505081565b600d5481565b6060600980546116d490614f96565b80601f016020809104026020016040519081016040528092919081815260200182805461170090614f96565b801561174d5780601f106117225761010080835404028352916020019161174d565b820191906000526020600020905b81548152906001019060200180831161173057829003601f168201915b5050505050905090565b6000601260009054906101000a900460ff16156117b2573073ffffffffffffffffffffffffffffffffffffffff1661178d610b38565b73ffffffffffffffffffffffffffffffffffffffff16146117ad57600080fd5b6117f9565b6117ba611c84565b73ffffffffffffffffffffffffffffffffffffffff166117d8610b38565b73ffffffffffffffffffffffffffffffffffffffff16146117f857600080fd5b5b6001601260026101000a81548160ff0219169083151502179055506001905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561188c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118839061526e565b60405180910390fd5b6118d26000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020613658565b9050919050565b6118e1610b38565b73ffffffffffffffffffffffffffffffffffffffff166118ff611c84565b73ffffffffffffffffffffffffffffffffffffffff1614611955576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194c90615158565b60405180910390fd5b61195f600061366d565b565b6000601260009054906101000a900460ff1661197c57600080fd5b600061198e611989610b38565b61181b565b1161199857600080fd5b606060136040518061010001604052808973ffffffffffffffffffffffffffffffffffffffff16815260200188888080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508152602001868152602001858152602001601380549050815260200142815260200160001515815260200183815250908060018154018082558091505060019003906000526020600020906008020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001019080519060200190611ac492919061427c565b50604082015181600201556060820151816003019080519060200190611aeb9291906141f6565b506080820151816004015560a0820151816005015560c08201518160060160006101000a81548160ff02191690831515021790555060e0820151816007019080519060200190611b3c929190614302565b5050506001601380549050611b5191906152bd565b7febe0c4a4ec7b8ef7f65f3b5939a71abfe43a8573a7151e1e035c4a3a511faa90888888888842604051611b8a9695949392919061531e565b60405180910390a2600191505095945050505050565b601260009054906101000a900460ff1615611bf9573073ffffffffffffffffffffffffffffffffffffffff16611bd4610b38565b73ffffffffffffffffffffffffffffffffffffffff1614611bf457600080fd5b611c40565b611c01611c84565b73ffffffffffffffffffffffffffffffffffffffff16611c1f610b38565b73ffffffffffffffffffffffffffffffffffffffff1614611c3f57600080fd5b5b6000611c4a61104e565b905060005b82811015611c7f57611c6c338284611c679190615381565b613733565b8080611c77906153d7565b915050611c4f565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060078054611cbd90614f96565b80601f0160208091040260200160405190810160405280929190818152602001828054611ce990614f96565b8015611d365780601f10611d0b57610100808354040283529160200191611d36565b820191906000526020600020905b815481529060010190602001808311611d1957829003601f168201915b5050505050905090565b600f60009054906101000a900460ff16611d8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d869061546c565b60405180910390fd5b600e5481611d9b61104e565b611da59190615381565b1115611de6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ddd906154d8565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff161415611eaf573481600d54611e6991906154f8565b1115611eaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea19061559e565b60405180910390fd5b611f6b565b60007f000000000000000000000000000000000000000000000000000000000000000090508073ffffffffffffffffffffffffffffffffffffffff166323b872dd611ef8610b38565b30600d5486611f0791906154f8565b6040518463ffffffff1660e01b8152600401611f25939291906155be565b6020604051808303816000875af1158015611f44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f6891906151cf565b50505b60005b81811015611fb9576000611f8061104e565b9050600e54611f8d61104e565b1015611fa557611fa4611f9e610b38565b82613733565b5b508080611fb1906153d7565b915050611f6e565b5050565b611fc5610b38565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612033576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202a90615641565b60405180910390fd5b8060056000612040610b38565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166120ed610b38565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161213291906144e0565b60405180910390a35050565b6013818154811061214e57600080fd5b90600052602060002090600802016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169080600101805461219790614f96565b80601f01602080910402602001604051908101604052809291908181526020018280546121c390614f96565b80156122105780601f106121e557610100808354040283529160200191612210565b820191906000526020600020905b8154815290600101906020018083116121f357829003601f168201915b50505050509080600201549080600301805461222b90614f96565b80601f016020809104026020016040519081016040528092919081815260200182805461225790614f96565b80156122a45780601f10612279576101008083540402835291602001916122a4565b820191906000526020600020905b81548152906001019060200180831161228757829003601f168201915b5050505050908060040154908060050154908060060160009054906101000a900460ff16905087565b6000601260009054906101000a900460ff1615612328573073ffffffffffffffffffffffffffffffffffffffff16612303610b38565b73ffffffffffffffffffffffffffffffffffffffff161461232357600080fd5b61236f565b612330611c84565b73ffffffffffffffffffffffffffffffffffffffff1661234e610b38565b73ffffffffffffffffffffffffffffffffffffffff161461236e57600080fd5b5b60018210158015612381575060648211155b801561239a5750601260019054906101000a900460ff16155b6123d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d0906156ad565b60405180910390fd5b8160108190555060019050919050565b601260029054906101000a900460ff1681565b601260019054906101000a900460ff1681565b61242061241a610b38565b836132e6565b61245f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612456906150ec565b60405180910390fd5b61246b84848484613751565b50505050565b6000601260009054906101000a900460ff1661248c57600080fd5b600061249e612499610b38565b61181b565b116124a857600080fd5b60005b601383815481106124bf576124be6156cd565b5b9060005260206000209060080201600701805490508110156125c557601383815481106124ef576124ee6156cd565b5b90600052602060002090600802016007018181548110612512576125116156cd565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661255b610b38565b73ffffffffffffffffffffffffffffffffffffffff1614156125b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a990615748565b60405180910390fd5b80806125bd906153d7565b9150506124ab565b50601154601383815481106125dd576125dc6156cd565b5b9060005260206000209060080201600501546125f99190615381565b42111561263b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612632906157b4565b60405180910390fd5b6013828154811061264f5761264e6156cd565b5b9060005260206000209060080201600701612668610b38565b9080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506126d0610b38565b73ffffffffffffffffffffffffffffffffffffffff16827f843076141b22bb3111b5cc93ee3bd4d4aa089a8f66a980801e28fba5f7f27129426040516127169190614814565b60405180910390a360019050919050565b6060612732826131fb565b612771576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276890615820565b60405180910390fd5b600060086000848152602001908152602001600020805461279190614f96565b80601f01602080910402602001604051908101604052809291908181526020018280546127bd90614f96565b801561280a5780601f106127df5761010080835404028352916020019161280a565b820191906000526020600020905b8154815290600101906020018083116127ed57829003601f168201915b50505050509050600061281b6116c5565b9050600081511415612831578192505050612895565b60008251111561286657808260405160200161284e92919061587c565b60405160208183030381529060405292505050612895565b80612870856137ad565b60405160200161288192919061587c565b604051602081830303815290604052925050505b919050565b6000601260009054906101000a900460ff16156128f5573073ffffffffffffffffffffffffffffffffffffffff166128d0610b38565b73ffffffffffffffffffffffffffffffffffffffff16146128f057600080fd5b61293c565b6128fd611c84565b73ffffffffffffffffffffffffffffffffffffffff1661291b610b38565b73ffffffffffffffffffffffffffffffffffffffff161461293b57600080fd5b5b601260029054906101000a900460ff161561298c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612983906156ad565b60405180910390fd5b611c2082148061299e57506201518082145b806129ab57506203f48082145b6129ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129e1906157b4565b60405180910390fd5b8160118190555060019050919050565b60606013805480602002602001604051908101604052809291908181526020016000905b82821015612c925783829060005260206000209060080201604051806101000160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600182018054612aa890614f96565b80601f0160208091040260200160405190810160405280929190818152602001828054612ad490614f96565b8015612b215780601f10612af657610100808354040283529160200191612b21565b820191906000526020600020905b815481529060010190602001808311612b0457829003601f168201915b5050505050815260200160028201548152602001600382018054612b4490614f96565b80601f0160208091040260200160405190810160405280929190818152602001828054612b7090614f96565b8015612bbd5780601f10612b9257610100808354040283529160200191612bbd565b820191906000526020600020905b815481529060010190602001808311612ba057829003601f168201915b5050505050815260200160048201548152602001600582015481526020016006820160009054906101000a900460ff1615151515815260200160078201805480602002602001604051908101604052809291908181526020018280548015612c7a57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311612c30575b50505050508152505081526020019060010190612a1e565b50505050905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600f60009054906101000a900460ff1681565b60105481565b612d74610b38565b73ffffffffffffffffffffffffffffffffffffffff16612d92611c84565b73ffffffffffffffffffffffffffffffffffffffff1614612de8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ddf90615158565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612e58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4f90615912565b60405180910390fd5b612e618161366d565b50565b6000805b60138381548110612e7c57612e7b6156cd565b5b906000526020600020906008020160070180549050811015612f2257612f0260138481548110612eaf57612eae6156cd565b5b90600052602060002090600802016007018281548110612ed257612ed16156cd565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661181b565b82612f0d9190615381565b91508080612f1a906153d7565b915050612e68565b506064601054612f3061104e565b612f3a91906154f8565b612f449190615961565b811015612f86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f7d9061546c565b60405180910390fd5b60138281548110612f9a57612f996156cd565b5b906000526020600020906008020160060160009054906101000a900460ff1615612ff9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ff09061559e565b60405180910390fd5b60006013838154811061300f5761300e6156cd565b5b906000526020600020906008020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600060138481548110613059576130586156cd565b5b90600052602060002090600802016001019050600060138581548110613082576130816156cd565b5b90600052602060002090600802016002015490506000808473ffffffffffffffffffffffffffffffffffffffff1683856040516130bf9190615a31565b60006040518083038185875af1925050503d80600081146130fc576040519150601f19603f3d011682016040523d82523d6000602084013e613101565b606091505b50915091508161311057600080fd5b600160138881548110613126576131256156cd565b5b906000526020600020906008020160060160006101000a81548160ff021916908315150217905550867fc4bd96f14e4eb3a49f563914cddb2fb818af1a959143936ef3744afc23fd42d74283604051613180929190615a48565b60405180910390a250505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600061321182600161390e90919063ffffffff16565b9050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661328b836115fa565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006132df82600001613928565b9050919050565b60006132f1826131fb565b613330576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161332790615ac4565b60405180910390fd5b600061333b836115fa565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806133aa57508373ffffffffffffffffffffffffffffffffffffffff1661339284610d1c565b73ffffffffffffffffffffffffffffffffffffffff16145b806133bb57506133ba8185612cbf565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166133e4826115fa565b73ffffffffffffffffffffffffffffffffffffffff161461343a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161343190615b30565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156134aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134a190615b9c565b60405180910390fd5b6134b583838361393d565b6134c0600082613218565b613510816000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061394290919063ffffffff16565b50613561816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061395c90919063ffffffff16565b50613578818360016139769092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006135e883600001836139ab565b60001c905092915050565b60008060008061360686600001866139d6565b915091508160001c8160001c9350935050509250929050565b80600990805190602001906136359291906141f6565b5050565b600061364c846000018460001b84613a16565b60001c90509392505050565b600061366682600001613a97565b9050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61374d828260405180602001604052806000815250613aa8565b5050565b61375c8484846133c4565b61376884848484613b03565b6137a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161379e90615c08565b60405180910390fd5b50505050565b606060008214156137f5576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613909565b600082905060005b60008214613827578080613810906153d7565b915050600a826138209190615961565b91506137fd565b60008167ffffffffffffffff811115613843576138426146a0565b5b6040519080825280601f01601f1916602001820160405280156138755781602001600182028036833780820191505090505b5090505b600085146139025760018261388e91906152bd565b9150600a8561389d9190615c28565b60306138a99190615381565b60f81b8183815181106138bf576138be6156cd565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856138fb9190615961565b9450613879565b8093505050505b919050565b6000613920836000018360001b613c67565b905092915050565b600061393682600001613c87565b9050919050565b505050565b6000613954836000018360001b613c9c565b905092915050565b600061396e836000018360001b613db0565b905092915050565b60006139a2846000018460001b8473ffffffffffffffffffffffffffffffffffffffff1660001b613e20565b90509392505050565b60008260000182815481106139c3576139c26156cd565b5b9060005260206000200154905092915050565b60008060006139f18486600001613e5b90919063ffffffff16565b9050808560020160008381526020019081526020016000205492509250509250929050565b6000808460020160008581526020019081526020016000205490506000801b81141580613a495750613a488585613c67565b5b8390613a8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a829190614594565b60405180910390fd5b50809150509392505050565b600081600001805490509050919050565b613ab28383613e72565b613abf6000848484613b03565b613afe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613af590615c08565b60405180910390fd5b505050565b6000613b248473ffffffffffffffffffffffffffffffffffffffff16613fff565b613b315760019050613c5f565b6000613bf863150b7a0260e01b613b46610b38565b888787604051602401613b5c9493929190615c59565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051806060016040528060328152602001615ec9603291398773ffffffffffffffffffffffffffffffffffffffff166140129092919063ffffffff16565b9050600081806020019051810190613c109190615cba565b905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614925050505b949350505050565b6000613c7f828460000161402a90919063ffffffff16565b905092915050565b6000613c9582600001613a97565b9050919050565b60008083600101600084815260200190815260200160002054905060008114613da4576000600182613cce91906152bd565b9050600060018660000180549050613ce691906152bd565b9050818114613d55576000866000018281548110613d0757613d066156cd565b5b9060005260206000200154905080876000018481548110613d2b57613d2a6156cd565b5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b85600001805480613d6957613d68615ce7565b5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050613daa565b60009150505b92915050565b6000613dbc8383614041565b613e15578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050613e1a565b600090505b92915050565b60008184600201600085815260200190815260200160002081905550613e52838560000161406490919063ffffffff16565b90509392505050565b6000613e6a83600001836139ab565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613ee2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ed990615b9c565b60405180910390fd5b613eeb816131fb565b15613f2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613f2290615d62565b60405180910390fd5b613f376000838361393d565b613f87816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061395c90919063ffffffff16565b50613f9e818360016139769092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b6060614021848460008561407b565b90509392505050565b60006140398360000183614041565b905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b60006140738360000183613db0565b905092915050565b6060824710156140c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016140b790615df4565b60405180910390fd5b6140c985613fff565b614108576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016140ff90615e60565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516141319190615eb1565b60006040518083038185875af1925050503d806000811461416e576040519150601f19603f3d011682016040523d82523d6000602084013e614173565b606091505b509150915061418382828661418f565b92505050949350505050565b6060831561419f578290506141ef565b6000835111156141b25782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016141e69190614594565b60405180910390fd5b9392505050565b82805461420290614f96565b90600052602060002090601f016020900481019282614224576000855561426b565b82601f1061423d57805160ff191683800117855561426b565b8280016001018555821561426b579182015b8281111561426a57825182559160200191906001019061424f565b5b509050614278919061438c565b5090565b82805461428890614f96565b90600052602060002090601f0160209004810192826142aa57600085556142f1565b82601f106142c357805160ff19168380011785556142f1565b828001600101855582156142f1579182015b828111156142f05782518255916020019190600101906142d5565b5b5090506142fe919061438c565b5090565b82805482825590600052602060002090810192821561437b579160200282015b8281111561437a5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190614322565b5b509050614388919061438c565b5090565b5b808211156143a557600081600090555060010161438d565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006143d4826143a9565b9050919050565b6143e4816143c9565b82525050565b6000819050919050565b6143fd816143ea565b82525050565b600060408201905061441860008301856143db565b61442560208301846143f4565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61447581614440565b811461448057600080fd5b50565b6000813590506144928161446c565b92915050565b6000602082840312156144ae576144ad614436565b5b60006144bc84828501614483565b91505092915050565b60008115159050919050565b6144da816144c5565b82525050565b60006020820190506144f560008301846144d1565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561453557808201518184015260208101905061451a565b83811115614544576000848401525b50505050565b6000601f19601f8301169050919050565b6000614566826144fb565b6145708185614506565b9350614580818560208601614517565b6145898161454a565b840191505092915050565b600060208201905081810360008301526145ae818461455b565b905092915050565b6145bf816143ea565b81146145ca57600080fd5b50565b6000813590506145dc816145b6565b92915050565b6000602082840312156145f8576145f7614436565b5b6000614606848285016145cd565b91505092915050565b600060208201905061462460008301846143db565b92915050565b614633816143c9565b811461463e57600080fd5b50565b6000813590506146508161462a565b92915050565b6000806040838503121561466d5761466c614436565b5b600061467b85828601614641565b925050602061468c858286016145cd565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6146d88261454a565b810181811067ffffffffffffffff821117156146f7576146f66146a0565b5b80604052505050565b600061470a61442c565b905061471682826146cf565b919050565b600067ffffffffffffffff821115614736576147356146a0565b5b61473f8261454a565b9050602081019050919050565b82818337600083830152505050565b600061476e6147698461471b565b614700565b90508281526020810184848401111561478a5761478961469b565b5b61479584828561474c565b509392505050565b600082601f8301126147b2576147b1614696565b5b81356147c284826020860161475b565b91505092915050565b6000602082840312156147e1576147e0614436565b5b600082013567ffffffffffffffff8111156147ff576147fe61443b565b5b61480b8482850161479d565b91505092915050565b600060208201905061482960008301846143f4565b92915050565b60008060006060848603121561484857614847614436565b5b600061485686828701614641565b935050602061486786828701614641565b9250506040614878868287016145cd565b9150509250925092565b60006020828403121561489857614897614436565b5b60006148a684828501614641565b91505092915050565b600080fd5b600080fd5b60008083601f8401126148cf576148ce614696565b5b8235905067ffffffffffffffff8111156148ec576148eb6148af565b5b602083019150836001820283011115614908576149076148b4565b5b9250929050565b60008060008060006080868803121561492b5761492a614436565b5b600061493988828901614641565b955050602086013567ffffffffffffffff81111561495a5761495961443b565b5b614966888289016148b9565b94509450506040614979888289016145cd565b925050606086013567ffffffffffffffff81111561499a5761499961443b565b5b6149a68882890161479d565b9150509295509295909350565b6149bc816144c5565b81146149c757600080fd5b50565b6000813590506149d9816149b3565b92915050565b600080604083850312156149f6576149f5614436565b5b6000614a0485828601614641565b9250506020614a15858286016149ca565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000614a4682614a1f565b614a508185614a2a565b9350614a60818560208601614517565b614a698161454a565b840191505092915050565b600060e082019050614a89600083018a6143db565b8181036020830152614a9b8189614a3b565b9050614aaa60408301886143f4565b8181036060830152614abc818761455b565b9050614acb60808301866143f4565b614ad860a08301856143f4565b614ae560c08301846144d1565b98975050505050505050565b600067ffffffffffffffff821115614b0c57614b0b6146a0565b5b614b158261454a565b9050602081019050919050565b6000614b35614b3084614af1565b614700565b905082815260208101848484011115614b5157614b5061469b565b5b614b5c84828561474c565b509392505050565b600082601f830112614b7957614b78614696565b5b8135614b89848260208601614b22565b91505092915050565b60008060008060808587031215614bac57614bab614436565b5b6000614bba87828801614641565b9450506020614bcb87828801614641565b9350506040614bdc878288016145cd565b925050606085013567ffffffffffffffff811115614bfd57614bfc61443b565b5b614c0987828801614b64565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614c4a816143c9565b82525050565b600082825260208201905092915050565b6000614c6c82614a1f565b614c768185614c50565b9350614c86818560208601614517565b614c8f8161454a565b840191505092915050565b614ca3816143ea565b82525050565b600082825260208201905092915050565b6000614cc5826144fb565b614ccf8185614ca9565b9350614cdf818560208601614517565b614ce88161454a565b840191505092915050565b614cfc816144c5565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000614d3a8383614c41565b60208301905092915050565b6000602082019050919050565b6000614d5e82614d02565b614d688185614d0d565b9350614d7383614d1e565b8060005b83811015614da4578151614d8b8882614d2e565b9750614d9683614d46565b925050600181019050614d77565b5085935050505092915050565b600061010083016000830151614dca6000860182614c41565b5060208301518482036020860152614de28282614c61565b9150506040830151614df76040860182614c9a565b5060608301518482036060860152614e0f8282614cba565b9150506080830151614e246080860182614c9a565b5060a0830151614e3760a0860182614c9a565b5060c0830151614e4a60c0860182614cf3565b5060e083015184820360e0860152614e628282614d53565b9150508091505092915050565b6000614e7b8383614db1565b905092915050565b6000602082019050919050565b6000614e9b82614c15565b614ea58185614c20565b935083602082028501614eb785614c31565b8060005b85811015614ef35784840389528151614ed48582614e6f565b9450614edf83614e83565b925060208a01995050600181019050614ebb565b50829750879550505050505092915050565b60006020820190508181036000830152614f1f8184614e90565b905092915050565b60008060408385031215614f3e57614f3d614436565b5b6000614f4c85828601614641565b9250506020614f5d85828601614641565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614fae57607f821691505b60208210811415614fc257614fc1614f67565b5b50919050565b7f7175657279000000000000000000000000000000000000000000000000000000600082015250565b6000614ffe600583614506565b915061500982614fc8565b602082019050919050565b6000602082019050818103600083015261502d81614ff1565b9050919050565b7f63757272656e7400000000000000000000000000000000000000000000000000600082015250565b600061506a600783614506565b915061507582615034565b602082019050919050565b600060208201905081810360008301526150998161505d565b9050919050565b7f6f776e6572000000000000000000000000000000000000000000000000000000600082015250565b60006150d6600583614506565b91506150e1826150a0565b602082019050919050565b60006020820190508181036000830152615105816150c9565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615142602083614506565b915061514d8261510c565b602082019050919050565b6000602082019050818103600083015261517181615135565b9050919050565b600081519050615187816145b6565b92915050565b6000602082840312156151a3576151a2614436565b5b60006151b184828501615178565b91505092915050565b6000815190506151c9816149b3565b92915050565b6000602082840312156151e5576151e4614436565b5b60006151f3848285016151ba565b91505092915050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000615258602a83614506565b9150615263826151fc565b604082019050919050565b600060208201905081810360008301526152878161524b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006152c8826143ea565b91506152d3836143ea565b9250828210156152e6576152e561528e565b5b828203905092915050565b60006152fd8385614a2a565b935061530a83858461474c565b6153138361454a565b840190509392505050565b600060a08201905061533360008301896143db565b81810360208301526153468187896152f1565b905061535560408301866143f4565b8181036060830152615367818561455b565b905061537660808301846143f4565b979650505050505050565b600061538c826143ea565b9150615397836143ea565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156153cc576153cb61528e565b5b828201905092915050565b60006153e2826143ea565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156154155761541461528e565b5b600182019050919050565b7f7300000000000000000000000000000000000000000000000000000000000000600082015250565b6000615456600183614506565b915061546182615420565b602082019050919050565b6000602082019050818103600083015261548581615449565b9050919050565b7f6d00000000000000000000000000000000000000000000000000000000000000600082015250565b60006154c2600183614506565b91506154cd8261548c565b602082019050919050565b600060208201905081810360008301526154f1816154b5565b9050919050565b6000615503826143ea565b915061550e836143ea565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156155475761554661528e565b5b828202905092915050565b7f6100000000000000000000000000000000000000000000000000000000000000600082015250565b6000615588600183614506565b915061559382615552565b602082019050919050565b600060208201905081810360008301526155b78161557b565b9050919050565b60006060820190506155d360008301866143db565b6155e060208301856143db565b6155ed60408301846143f4565b949350505050565b7f617070726f766500000000000000000000000000000000000000000000000000600082015250565b600061562b600783614506565b9150615636826155f5565b602082019050919050565b6000602082019050818103600083015261565a8161561e565b9050919050565b7f6600000000000000000000000000000000000000000000000000000000000000600082015250565b6000615697600183614506565b91506156a282615661565b602082019050919050565b600060208201905081810360008301526156c68161568a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f7600000000000000000000000000000000000000000000000000000000000000600082015250565b6000615732600183614506565b915061573d826156fc565b602082019050919050565b6000602082019050818103600083015261576181615725565b9050919050565b7f7400000000000000000000000000000000000000000000000000000000000000600082015250565b600061579e600183614506565b91506157a982615768565b602082019050919050565b600060208201905081810360008301526157cd81615791565b9050919050565b7f6578697374000000000000000000000000000000000000000000000000000000600082015250565b600061580a600583614506565b9150615815826157d4565b602082019050919050565b60006020820190508181036000830152615839816157fd565b9050919050565b600081905092915050565b6000615856826144fb565b6158608185615840565b9350615870818560208601614517565b80840191505092915050565b6000615888828561584b565b9150615894828461584b565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006158fc602683614506565b9150615907826158a0565b604082019050919050565b6000602082019050818103600083015261592b816158ef565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061596c826143ea565b9150615977836143ea565b92508261598757615986615932565b5b828204905092915050565b600081905092915050565b60008190508160005260206000209050919050565b600081546159bf81614f96565b6159c98186615992565b945060018216600081146159e457600181146159f557615a28565b60ff19831686528186019350615a28565b6159fe8561599d565b60005b83811015615a2057815481890152600182019150602081019050615a01565b838801955050505b50505092915050565b6000615a3d82846159b2565b915081905092915050565b6000604082019050615a5d60008301856143f4565b8181036020830152615a6f8184614a3b565b90509392505050565b7f6f70657261746f72000000000000000000000000000000000000000000000000600082015250565b6000615aae600883614506565b9150615ab982615a78565b602082019050919050565b60006020820190508181036000830152615add81615aa1565b9050919050565b7f6f776e0000000000000000000000000000000000000000000000000000000000600082015250565b6000615b1a600383614506565b9150615b2582615ae4565b602082019050919050565b60006020820190508181036000830152615b4981615b0d565b9050919050565b7f7a65726f00000000000000000000000000000000000000000000000000000000600082015250565b6000615b86600483614506565b9150615b9182615b50565b602082019050919050565b60006020820190508181036000830152615bb581615b79565b9050919050565b7f7265636569766572000000000000000000000000000000000000000000000000600082015250565b6000615bf2600883614506565b9150615bfd82615bbc565b602082019050919050565b60006020820190508181036000830152615c2181615be5565b9050919050565b6000615c33826143ea565b9150615c3e836143ea565b925082615c4e57615c4d615932565b5b828206905092915050565b6000608082019050615c6e60008301876143db565b615c7b60208301866143db565b615c8860408301856143f4565b8181036060830152615c9a8184614a3b565b905095945050505050565b600081519050615cb48161446c565b92915050565b600060208284031215615cd057615ccf614436565b5b6000615cde84828501615ca5565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f6d696e7465640000000000000000000000000000000000000000000000000000600082015250565b6000615d4c600683614506565b9150615d5782615d16565b602082019050919050565b60006020820190508181036000830152615d7b81615d3f565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000615dde602683614506565b9150615de982615d82565b604082019050919050565b60006020820190508181036000830152615e0d81615dd1565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000615e4a601d83614506565b9150615e5582615e14565b602082019050919050565b60006020820190508181036000830152615e7981615e3d565b9050919050565b6000615e8b82614a1f565b615e958185615992565b9350615ea5818560208601614517565b80840191505092915050565b6000615ebd8284615e80565b91508190509291505056fe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea264697066735822122070806008b22caf3c91d28e0e3e438081b51227cb010334d835212521792309f864736f6c634300080a003300000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000004570000000000000000000000000000000000000000000000004563918244f40000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000000084f6d616b6173656100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000075245434549505400000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061028c5760003560e01c80636cec67d01161015a578063b21a41d2116100c1578063e5a6b10f1161007a578063e5a6b10f14610a28578063e985e9c514610a53578063eb8d244414610a90578063f0efb08914610abb578063f2fde38b14610ae6578063f6ead0b914610b0f576102d3565b8063b21a41d2146108f2578063b88d4fde1461091d578063bb5f0a9514610946578063c87b56dd14610983578063d5f76210146109c0578063e4c41bb4146109fd576102d3565b806395d89b411161011357806395d89b41146107d757806397304ced14610802578063a22cb4651461081e578063a598d03c14610847578063a6e39fc11461088a578063a9361ffd146108c7576102d3565b80636cec67d0146106c757806370a08231146106f2578063715018a61461072f578063859d784e146107465780638ad433ac146107835780638da5cb5b146107ac576102d3565b8063386b7691116101fe57806355f804b3116101b757806355f804b3146105c95780635d86842a146105f25780636352211e146106095780636373a6b1146106465780636817c76c146106715780636c0360eb1461069c576102d3565b8063386b7691146104cd5780633ccfd60b146104f857806342842e0e1461050f57806349df728c146105385780634f6ccce7146105615780635029e6021461059e576102d3565b8063132002fc11610250578063132002fc146103cf57806318055c61146103fa57806318160ddd1461042557806323b872dd146104505780632f745c591461047957806334918dfd146104b6576102d3565b806301ffc9a7146102d857806306fdde0314610315578063081812fc14610340578063095ea7b31461037d57806310969523146103a6576102d3565b366102d3577f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f885258746102ba610b38565b346040516102c9929190614403565b60405180910390a1005b600080fd5b3480156102e457600080fd5b506102ff60048036038101906102fa9190614498565b610b40565b60405161030c91906144e0565b60405180910390f35b34801561032157600080fd5b5061032a610c8a565b6040516103379190614594565b60405180910390f35b34801561034c57600080fd5b50610367600480360381019061036291906145e2565b610d1c565b604051610374919061460f565b60405180910390f35b34801561038957600080fd5b506103a4600480360381019061039f9190614656565b610da1565b005b3480156103b257600080fd5b506103cd60048036038101906103c891906147cb565b610eb9565b005b3480156103db57600080fd5b506103e4610f84565b6040516103f19190614814565b60405180910390f35b34801561040657600080fd5b5061040f610f8a565b60405161041c91906144e0565b60405180910390f35b34801561043157600080fd5b5061043a61104e565b6040516104479190614814565b60405180910390f35b34801561045c57600080fd5b506104776004803603810190610472919061482f565b61105f565b005b34801561048557600080fd5b506104a0600480360381019061049b9190614656565b6110bf565b6040516104ad9190614814565b60405180910390f35b3480156104c257600080fd5b506104cb611119565b005b3480156104d957600080fd5b506104e26111e5565b6040516104ef9190614814565b60405180910390f35b34801561050457600080fd5b5061050d6111eb565b005b34801561051b57600080fd5b506105366004803603810190610531919061482f565b6112e1565b005b34801561054457600080fd5b5061055f600480360381019061055a9190614882565b611301565b005b34801561056d57600080fd5b50610588600480360381019061058391906145e2565b6114a3565b6040516105959190614814565b60405180910390f35b3480156105aa57600080fd5b506105b36114c6565b6040516105c091906144e0565b60405180910390f35b3480156105d557600080fd5b506105f060048036038101906105eb91906147cb565b6114d9565b005b3480156105fe57600080fd5b50610607611561565b005b34801561061557600080fd5b50610630600480360381019061062b91906145e2565b6115fa565b60405161063d919061460f565b60405180910390f35b34801561065257600080fd5b5061065b611631565b6040516106689190614594565b60405180910390f35b34801561067d57600080fd5b506106866116bf565b6040516106939190614814565b60405180910390f35b3480156106a857600080fd5b506106b16116c5565b6040516106be9190614594565b60405180910390f35b3480156106d357600080fd5b506106dc611757565b6040516106e991906144e0565b60405180910390f35b3480156106fe57600080fd5b5061071960048036038101906107149190614882565b61181b565b6040516107269190614814565b60405180910390f35b34801561073b57600080fd5b506107446118d9565b005b34801561075257600080fd5b5061076d6004803603810190610768919061490f565b611961565b60405161077a91906144e0565b60405180910390f35b34801561078f57600080fd5b506107aa60048036038101906107a591906145e2565b611ba0565b005b3480156107b857600080fd5b506107c1611c84565b6040516107ce919061460f565b60405180910390f35b3480156107e357600080fd5b506107ec611cae565b6040516107f99190614594565b60405180910390f35b61081c600480360381019061081791906145e2565b611d40565b005b34801561082a57600080fd5b50610845600480360381019061084091906149df565b611fbd565b005b34801561085357600080fd5b5061086e600480360381019061086991906145e2565b61213e565b6040516108819796959493929190614a74565b60405180910390f35b34801561089657600080fd5b506108b160048036038101906108ac91906145e2565b6122cd565b6040516108be91906144e0565b60405180910390f35b3480156108d357600080fd5b506108dc6123e9565b6040516108e991906144e0565b60405180910390f35b3480156108fe57600080fd5b506109076123fc565b60405161091491906144e0565b60405180910390f35b34801561092957600080fd5b50610944600480360381019061093f9190614b92565b61240f565b005b34801561095257600080fd5b5061096d600480360381019061096891906145e2565b612471565b60405161097a91906144e0565b60405180910390f35b34801561098f57600080fd5b506109aa60048036038101906109a591906145e2565b612727565b6040516109b79190614594565b60405180910390f35b3480156109cc57600080fd5b506109e760048036038101906109e291906145e2565b61289a565b6040516109f491906144e0565b60405180910390f35b348015610a0957600080fd5b50610a126129fa565b604051610a1f9190614f05565b60405180910390f35b348015610a3457600080fd5b50610a3d612c9b565b604051610a4a919061460f565b60405180910390f35b348015610a5f57600080fd5b50610a7a6004803603810190610a759190614f27565b612cbf565b604051610a8791906144e0565b60405180910390f35b348015610a9c57600080fd5b50610aa5612d53565b604051610ab291906144e0565b60405180910390f35b348015610ac757600080fd5b50610ad0612d66565b604051610add9190614814565b60405180910390f35b348015610af257600080fd5b50610b0d6004803603810190610b089190614882565b612d6c565b005b348015610b1b57600080fd5b50610b366004803603810190610b3191906145e2565b612e64565b005b600033905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c0b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c7357507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c835750610c8282613191565b5b9050919050565b606060068054610c9990614f96565b80601f0160208091040260200160405190810160405280929190818152602001828054610cc590614f96565b8015610d125780601f10610ce757610100808354040283529160200191610d12565b820191906000526020600020905b815481529060010190602001808311610cf557829003601f168201915b5050505050905090565b6000610d27826131fb565b610d66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5d90615014565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610dac826115fa565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1490615080565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e3c610b38565b73ffffffffffffffffffffffffffffffffffffffff161480610e6b5750610e6a81610e65610b38565b612cbf565b5b610eaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea1906150ec565b60405180910390fd5b610eb48383613218565b505050565b610ec1610b38565b73ffffffffffffffffffffffffffffffffffffffff16610edf611c84565b73ffffffffffffffffffffffffffffffffffffffff1614610f35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2c90615158565b60405180910390fd5b600c60009054906101000a900460ff1615610f4f57600080fd5b80600b9080519060200190610f659291906141f6565b506001600c60006101000a81548160ff02191690831515021790555050565b60115481565b6000601260009054906101000a900460ff1615610fe5573073ffffffffffffffffffffffffffffffffffffffff16610fc0610b38565b73ffffffffffffffffffffffffffffffffffffffff1614610fe057600080fd5b61102c565b610fed611c84565b73ffffffffffffffffffffffffffffffffffffffff1661100b610b38565b73ffffffffffffffffffffffffffffffffffffffff161461102b57600080fd5b5b6001601260016101000a81548160ff0219169083151502179055506001905090565b600061105a60016132d1565b905090565b61107061106a610b38565b826132e6565b6110af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a6906150ec565b60405180910390fd5b6110ba8383836133c4565b505050565b6000611111826000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206135d990919063ffffffff16565b905092915050565b601260009054906101000a900460ff1615611172573073ffffffffffffffffffffffffffffffffffffffff1661114d610b38565b73ffffffffffffffffffffffffffffffffffffffff161461116d57600080fd5b6111b9565b61117a611c84565b73ffffffffffffffffffffffffffffffffffffffff16611198610b38565b73ffffffffffffffffffffffffffffffffffffffff16146111b857600080fd5b5b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b600e5481565b601260009054906101000a900460ff1615611244573073ffffffffffffffffffffffffffffffffffffffff1661121f610b38565b73ffffffffffffffffffffffffffffffffffffffff161461123f57600080fd5b61128b565b61124c611c84565b73ffffffffffffffffffffffffffffffffffffffff1661126a610b38565b73ffffffffffffffffffffffffffffffffffffffff161461128a57600080fd5b5b6000479050611298610b38565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156112dd573d6000803e3d6000fd5b5050565b6112fc8383836040518060200160405280600081525061240f565b505050565b601260009054906101000a900460ff161561135a573073ffffffffffffffffffffffffffffffffffffffff16611335610b38565b73ffffffffffffffffffffffffffffffffffffffff161461135557600080fd5b6113a1565b611362611c84565b73ffffffffffffffffffffffffffffffffffffffff16611380610b38565b73ffffffffffffffffffffffffffffffffffffffff16146113a057600080fd5b5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6113c5610b38565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016113fe919061460f565b602060405180830381865afa15801561141b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061143f919061518d565b6040518363ffffffff1660e01b815260040161145c929190614403565b6020604051808303816000875af115801561147b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061149f91906151cf565b5050565b6000806114ba8360016135f390919063ffffffff16565b50905080915050919050565b601260009054906101000a900460ff1681565b6114e1610b38565b73ffffffffffffffffffffffffffffffffffffffff166114ff611c84565b73ffffffffffffffffffffffffffffffffffffffff1614611555576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154c90615158565b60405180910390fd5b61155e8161361f565b50565b611569610b38565b73ffffffffffffffffffffffffffffffffffffffff16611587611c84565b73ffffffffffffffffffffffffffffffffffffffff16146115dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d490615158565b60405180910390fd5b6001601260006101000a81548160ff021916908315150217905550565b600061162a82604051806060016040528060298152602001615efb6029913960016136399092919063ffffffff16565b9050919050565b600b805461163e90614f96565b80601f016020809104026020016040519081016040528092919081815260200182805461166a90614f96565b80156116b75780601f1061168c576101008083540402835291602001916116b7565b820191906000526020600020905b81548152906001019060200180831161169a57829003601f168201915b505050505081565b600d5481565b6060600980546116d490614f96565b80601f016020809104026020016040519081016040528092919081815260200182805461170090614f96565b801561174d5780601f106117225761010080835404028352916020019161174d565b820191906000526020600020905b81548152906001019060200180831161173057829003601f168201915b5050505050905090565b6000601260009054906101000a900460ff16156117b2573073ffffffffffffffffffffffffffffffffffffffff1661178d610b38565b73ffffffffffffffffffffffffffffffffffffffff16146117ad57600080fd5b6117f9565b6117ba611c84565b73ffffffffffffffffffffffffffffffffffffffff166117d8610b38565b73ffffffffffffffffffffffffffffffffffffffff16146117f857600080fd5b5b6001601260026101000a81548160ff0219169083151502179055506001905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561188c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118839061526e565b60405180910390fd5b6118d26000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020613658565b9050919050565b6118e1610b38565b73ffffffffffffffffffffffffffffffffffffffff166118ff611c84565b73ffffffffffffffffffffffffffffffffffffffff1614611955576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194c90615158565b60405180910390fd5b61195f600061366d565b565b6000601260009054906101000a900460ff1661197c57600080fd5b600061198e611989610b38565b61181b565b1161199857600080fd5b606060136040518061010001604052808973ffffffffffffffffffffffffffffffffffffffff16815260200188888080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508152602001868152602001858152602001601380549050815260200142815260200160001515815260200183815250908060018154018082558091505060019003906000526020600020906008020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001019080519060200190611ac492919061427c565b50604082015181600201556060820151816003019080519060200190611aeb9291906141f6565b506080820151816004015560a0820151816005015560c08201518160060160006101000a81548160ff02191690831515021790555060e0820151816007019080519060200190611b3c929190614302565b5050506001601380549050611b5191906152bd565b7febe0c4a4ec7b8ef7f65f3b5939a71abfe43a8573a7151e1e035c4a3a511faa90888888888842604051611b8a9695949392919061531e565b60405180910390a2600191505095945050505050565b601260009054906101000a900460ff1615611bf9573073ffffffffffffffffffffffffffffffffffffffff16611bd4610b38565b73ffffffffffffffffffffffffffffffffffffffff1614611bf457600080fd5b611c40565b611c01611c84565b73ffffffffffffffffffffffffffffffffffffffff16611c1f610b38565b73ffffffffffffffffffffffffffffffffffffffff1614611c3f57600080fd5b5b6000611c4a61104e565b905060005b82811015611c7f57611c6c338284611c679190615381565b613733565b8080611c77906153d7565b915050611c4f565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060078054611cbd90614f96565b80601f0160208091040260200160405190810160405280929190818152602001828054611ce990614f96565b8015611d365780601f10611d0b57610100808354040283529160200191611d36565b820191906000526020600020905b815481529060010190602001808311611d1957829003601f168201915b5050505050905090565b600f60009054906101000a900460ff16611d8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d869061546c565b60405180910390fd5b600e5481611d9b61104e565b611da59190615381565b1115611de6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ddd906154d8565b60405180910390fd5b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff161415611eaf573481600d54611e6991906154f8565b1115611eaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea19061559e565b60405180910390fd5b611f6b565b60007f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc290508073ffffffffffffffffffffffffffffffffffffffff166323b872dd611ef8610b38565b30600d5486611f0791906154f8565b6040518463ffffffff1660e01b8152600401611f25939291906155be565b6020604051808303816000875af1158015611f44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f6891906151cf565b50505b60005b81811015611fb9576000611f8061104e565b9050600e54611f8d61104e565b1015611fa557611fa4611f9e610b38565b82613733565b5b508080611fb1906153d7565b915050611f6e565b5050565b611fc5610b38565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612033576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202a90615641565b60405180910390fd5b8060056000612040610b38565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166120ed610b38565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161213291906144e0565b60405180910390a35050565b6013818154811061214e57600080fd5b90600052602060002090600802016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169080600101805461219790614f96565b80601f01602080910402602001604051908101604052809291908181526020018280546121c390614f96565b80156122105780601f106121e557610100808354040283529160200191612210565b820191906000526020600020905b8154815290600101906020018083116121f357829003601f168201915b50505050509080600201549080600301805461222b90614f96565b80601f016020809104026020016040519081016040528092919081815260200182805461225790614f96565b80156122a45780601f10612279576101008083540402835291602001916122a4565b820191906000526020600020905b81548152906001019060200180831161228757829003601f168201915b5050505050908060040154908060050154908060060160009054906101000a900460ff16905087565b6000601260009054906101000a900460ff1615612328573073ffffffffffffffffffffffffffffffffffffffff16612303610b38565b73ffffffffffffffffffffffffffffffffffffffff161461232357600080fd5b61236f565b612330611c84565b73ffffffffffffffffffffffffffffffffffffffff1661234e610b38565b73ffffffffffffffffffffffffffffffffffffffff161461236e57600080fd5b5b60018210158015612381575060648211155b801561239a5750601260019054906101000a900460ff16155b6123d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d0906156ad565b60405180910390fd5b8160108190555060019050919050565b601260029054906101000a900460ff1681565b601260019054906101000a900460ff1681565b61242061241a610b38565b836132e6565b61245f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612456906150ec565b60405180910390fd5b61246b84848484613751565b50505050565b6000601260009054906101000a900460ff1661248c57600080fd5b600061249e612499610b38565b61181b565b116124a857600080fd5b60005b601383815481106124bf576124be6156cd565b5b9060005260206000209060080201600701805490508110156125c557601383815481106124ef576124ee6156cd565b5b90600052602060002090600802016007018181548110612512576125116156cd565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661255b610b38565b73ffffffffffffffffffffffffffffffffffffffff1614156125b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a990615748565b60405180910390fd5b80806125bd906153d7565b9150506124ab565b50601154601383815481106125dd576125dc6156cd565b5b9060005260206000209060080201600501546125f99190615381565b42111561263b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612632906157b4565b60405180910390fd5b6013828154811061264f5761264e6156cd565b5b9060005260206000209060080201600701612668610b38565b9080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506126d0610b38565b73ffffffffffffffffffffffffffffffffffffffff16827f843076141b22bb3111b5cc93ee3bd4d4aa089a8f66a980801e28fba5f7f27129426040516127169190614814565b60405180910390a360019050919050565b6060612732826131fb565b612771576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276890615820565b60405180910390fd5b600060086000848152602001908152602001600020805461279190614f96565b80601f01602080910402602001604051908101604052809291908181526020018280546127bd90614f96565b801561280a5780601f106127df5761010080835404028352916020019161280a565b820191906000526020600020905b8154815290600101906020018083116127ed57829003601f168201915b50505050509050600061281b6116c5565b9050600081511415612831578192505050612895565b60008251111561286657808260405160200161284e92919061587c565b60405160208183030381529060405292505050612895565b80612870856137ad565b60405160200161288192919061587c565b604051602081830303815290604052925050505b919050565b6000601260009054906101000a900460ff16156128f5573073ffffffffffffffffffffffffffffffffffffffff166128d0610b38565b73ffffffffffffffffffffffffffffffffffffffff16146128f057600080fd5b61293c565b6128fd611c84565b73ffffffffffffffffffffffffffffffffffffffff1661291b610b38565b73ffffffffffffffffffffffffffffffffffffffff161461293b57600080fd5b5b601260029054906101000a900460ff161561298c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612983906156ad565b60405180910390fd5b611c2082148061299e57506201518082145b806129ab57506203f48082145b6129ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129e1906157b4565b60405180910390fd5b8160118190555060019050919050565b60606013805480602002602001604051908101604052809291908181526020016000905b82821015612c925783829060005260206000209060080201604051806101000160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600182018054612aa890614f96565b80601f0160208091040260200160405190810160405280929190818152602001828054612ad490614f96565b8015612b215780601f10612af657610100808354040283529160200191612b21565b820191906000526020600020905b815481529060010190602001808311612b0457829003601f168201915b5050505050815260200160028201548152602001600382018054612b4490614f96565b80601f0160208091040260200160405190810160405280929190818152602001828054612b7090614f96565b8015612bbd5780601f10612b9257610100808354040283529160200191612bbd565b820191906000526020600020905b815481529060010190602001808311612ba057829003601f168201915b5050505050815260200160048201548152602001600582015481526020016006820160009054906101000a900460ff1615151515815260200160078201805480602002602001604051908101604052809291908181526020018280548015612c7a57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311612c30575b50505050508152505081526020019060010190612a1e565b50505050905090565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600f60009054906101000a900460ff1681565b60105481565b612d74610b38565b73ffffffffffffffffffffffffffffffffffffffff16612d92611c84565b73ffffffffffffffffffffffffffffffffffffffff1614612de8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ddf90615158565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612e58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4f90615912565b60405180910390fd5b612e618161366d565b50565b6000805b60138381548110612e7c57612e7b6156cd565b5b906000526020600020906008020160070180549050811015612f2257612f0260138481548110612eaf57612eae6156cd565b5b90600052602060002090600802016007018281548110612ed257612ed16156cd565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661181b565b82612f0d9190615381565b91508080612f1a906153d7565b915050612e68565b506064601054612f3061104e565b612f3a91906154f8565b612f449190615961565b811015612f86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f7d9061546c565b60405180910390fd5b60138281548110612f9a57612f996156cd565b5b906000526020600020906008020160060160009054906101000a900460ff1615612ff9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ff09061559e565b60405180910390fd5b60006013838154811061300f5761300e6156cd565b5b906000526020600020906008020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600060138481548110613059576130586156cd565b5b90600052602060002090600802016001019050600060138581548110613082576130816156cd565b5b90600052602060002090600802016002015490506000808473ffffffffffffffffffffffffffffffffffffffff1683856040516130bf9190615a31565b60006040518083038185875af1925050503d80600081146130fc576040519150601f19603f3d011682016040523d82523d6000602084013e613101565b606091505b50915091508161311057600080fd5b600160138881548110613126576131256156cd565b5b906000526020600020906008020160060160006101000a81548160ff021916908315150217905550867fc4bd96f14e4eb3a49f563914cddb2fb818af1a959143936ef3744afc23fd42d74283604051613180929190615a48565b60405180910390a250505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600061321182600161390e90919063ffffffff16565b9050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661328b836115fa565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006132df82600001613928565b9050919050565b60006132f1826131fb565b613330576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161332790615ac4565b60405180910390fd5b600061333b836115fa565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806133aa57508373ffffffffffffffffffffffffffffffffffffffff1661339284610d1c565b73ffffffffffffffffffffffffffffffffffffffff16145b806133bb57506133ba8185612cbf565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166133e4826115fa565b73ffffffffffffffffffffffffffffffffffffffff161461343a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161343190615b30565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156134aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134a190615b9c565b60405180910390fd5b6134b583838361393d565b6134c0600082613218565b613510816000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061394290919063ffffffff16565b50613561816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061395c90919063ffffffff16565b50613578818360016139769092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006135e883600001836139ab565b60001c905092915050565b60008060008061360686600001866139d6565b915091508160001c8160001c9350935050509250929050565b80600990805190602001906136359291906141f6565b5050565b600061364c846000018460001b84613a16565b60001c90509392505050565b600061366682600001613a97565b9050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61374d828260405180602001604052806000815250613aa8565b5050565b61375c8484846133c4565b61376884848484613b03565b6137a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161379e90615c08565b60405180910390fd5b50505050565b606060008214156137f5576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613909565b600082905060005b60008214613827578080613810906153d7565b915050600a826138209190615961565b91506137fd565b60008167ffffffffffffffff811115613843576138426146a0565b5b6040519080825280601f01601f1916602001820160405280156138755781602001600182028036833780820191505090505b5090505b600085146139025760018261388e91906152bd565b9150600a8561389d9190615c28565b60306138a99190615381565b60f81b8183815181106138bf576138be6156cd565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856138fb9190615961565b9450613879565b8093505050505b919050565b6000613920836000018360001b613c67565b905092915050565b600061393682600001613c87565b9050919050565b505050565b6000613954836000018360001b613c9c565b905092915050565b600061396e836000018360001b613db0565b905092915050565b60006139a2846000018460001b8473ffffffffffffffffffffffffffffffffffffffff1660001b613e20565b90509392505050565b60008260000182815481106139c3576139c26156cd565b5b9060005260206000200154905092915050565b60008060006139f18486600001613e5b90919063ffffffff16565b9050808560020160008381526020019081526020016000205492509250509250929050565b6000808460020160008581526020019081526020016000205490506000801b81141580613a495750613a488585613c67565b5b8390613a8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a829190614594565b60405180910390fd5b50809150509392505050565b600081600001805490509050919050565b613ab28383613e72565b613abf6000848484613b03565b613afe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613af590615c08565b60405180910390fd5b505050565b6000613b248473ffffffffffffffffffffffffffffffffffffffff16613fff565b613b315760019050613c5f565b6000613bf863150b7a0260e01b613b46610b38565b888787604051602401613b5c9493929190615c59565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051806060016040528060328152602001615ec9603291398773ffffffffffffffffffffffffffffffffffffffff166140129092919063ffffffff16565b9050600081806020019051810190613c109190615cba565b905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614925050505b949350505050565b6000613c7f828460000161402a90919063ffffffff16565b905092915050565b6000613c9582600001613a97565b9050919050565b60008083600101600084815260200190815260200160002054905060008114613da4576000600182613cce91906152bd565b9050600060018660000180549050613ce691906152bd565b9050818114613d55576000866000018281548110613d0757613d066156cd565b5b9060005260206000200154905080876000018481548110613d2b57613d2a6156cd565b5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b85600001805480613d6957613d68615ce7565b5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050613daa565b60009150505b92915050565b6000613dbc8383614041565b613e15578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050613e1a565b600090505b92915050565b60008184600201600085815260200190815260200160002081905550613e52838560000161406490919063ffffffff16565b90509392505050565b6000613e6a83600001836139ab565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613ee2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ed990615b9c565b60405180910390fd5b613eeb816131fb565b15613f2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613f2290615d62565b60405180910390fd5b613f376000838361393d565b613f87816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061395c90919063ffffffff16565b50613f9e818360016139769092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b6060614021848460008561407b565b90509392505050565b60006140398360000183614041565b905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b60006140738360000183613db0565b905092915050565b6060824710156140c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016140b790615df4565b60405180910390fd5b6140c985613fff565b614108576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016140ff90615e60565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516141319190615eb1565b60006040518083038185875af1925050503d806000811461416e576040519150601f19603f3d011682016040523d82523d6000602084013e614173565b606091505b509150915061418382828661418f565b92505050949350505050565b6060831561419f578290506141ef565b6000835111156141b25782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016141e69190614594565b60405180910390fd5b9392505050565b82805461420290614f96565b90600052602060002090601f016020900481019282614224576000855561426b565b82601f1061423d57805160ff191683800117855561426b565b8280016001018555821561426b579182015b8281111561426a57825182559160200191906001019061424f565b5b509050614278919061438c565b5090565b82805461428890614f96565b90600052602060002090601f0160209004810192826142aa57600085556142f1565b82601f106142c357805160ff19168380011785556142f1565b828001600101855582156142f1579182015b828111156142f05782518255916020019190600101906142d5565b5b5090506142fe919061438c565b5090565b82805482825590600052602060002090810192821561437b579160200282015b8281111561437a5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190614322565b5b509050614388919061438c565b5090565b5b808211156143a557600081600090555060010161438d565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006143d4826143a9565b9050919050565b6143e4816143c9565b82525050565b6000819050919050565b6143fd816143ea565b82525050565b600060408201905061441860008301856143db565b61442560208301846143f4565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61447581614440565b811461448057600080fd5b50565b6000813590506144928161446c565b92915050565b6000602082840312156144ae576144ad614436565b5b60006144bc84828501614483565b91505092915050565b60008115159050919050565b6144da816144c5565b82525050565b60006020820190506144f560008301846144d1565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561453557808201518184015260208101905061451a565b83811115614544576000848401525b50505050565b6000601f19601f8301169050919050565b6000614566826144fb565b6145708185614506565b9350614580818560208601614517565b6145898161454a565b840191505092915050565b600060208201905081810360008301526145ae818461455b565b905092915050565b6145bf816143ea565b81146145ca57600080fd5b50565b6000813590506145dc816145b6565b92915050565b6000602082840312156145f8576145f7614436565b5b6000614606848285016145cd565b91505092915050565b600060208201905061462460008301846143db565b92915050565b614633816143c9565b811461463e57600080fd5b50565b6000813590506146508161462a565b92915050565b6000806040838503121561466d5761466c614436565b5b600061467b85828601614641565b925050602061468c858286016145cd565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6146d88261454a565b810181811067ffffffffffffffff821117156146f7576146f66146a0565b5b80604052505050565b600061470a61442c565b905061471682826146cf565b919050565b600067ffffffffffffffff821115614736576147356146a0565b5b61473f8261454a565b9050602081019050919050565b82818337600083830152505050565b600061476e6147698461471b565b614700565b90508281526020810184848401111561478a5761478961469b565b5b61479584828561474c565b509392505050565b600082601f8301126147b2576147b1614696565b5b81356147c284826020860161475b565b91505092915050565b6000602082840312156147e1576147e0614436565b5b600082013567ffffffffffffffff8111156147ff576147fe61443b565b5b61480b8482850161479d565b91505092915050565b600060208201905061482960008301846143f4565b92915050565b60008060006060848603121561484857614847614436565b5b600061485686828701614641565b935050602061486786828701614641565b9250506040614878868287016145cd565b9150509250925092565b60006020828403121561489857614897614436565b5b60006148a684828501614641565b91505092915050565b600080fd5b600080fd5b60008083601f8401126148cf576148ce614696565b5b8235905067ffffffffffffffff8111156148ec576148eb6148af565b5b602083019150836001820283011115614908576149076148b4565b5b9250929050565b60008060008060006080868803121561492b5761492a614436565b5b600061493988828901614641565b955050602086013567ffffffffffffffff81111561495a5761495961443b565b5b614966888289016148b9565b94509450506040614979888289016145cd565b925050606086013567ffffffffffffffff81111561499a5761499961443b565b5b6149a68882890161479d565b9150509295509295909350565b6149bc816144c5565b81146149c757600080fd5b50565b6000813590506149d9816149b3565b92915050565b600080604083850312156149f6576149f5614436565b5b6000614a0485828601614641565b9250506020614a15858286016149ca565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000614a4682614a1f565b614a508185614a2a565b9350614a60818560208601614517565b614a698161454a565b840191505092915050565b600060e082019050614a89600083018a6143db565b8181036020830152614a9b8189614a3b565b9050614aaa60408301886143f4565b8181036060830152614abc818761455b565b9050614acb60808301866143f4565b614ad860a08301856143f4565b614ae560c08301846144d1565b98975050505050505050565b600067ffffffffffffffff821115614b0c57614b0b6146a0565b5b614b158261454a565b9050602081019050919050565b6000614b35614b3084614af1565b614700565b905082815260208101848484011115614b5157614b5061469b565b5b614b5c84828561474c565b509392505050565b600082601f830112614b7957614b78614696565b5b8135614b89848260208601614b22565b91505092915050565b60008060008060808587031215614bac57614bab614436565b5b6000614bba87828801614641565b9450506020614bcb87828801614641565b9350506040614bdc878288016145cd565b925050606085013567ffffffffffffffff811115614bfd57614bfc61443b565b5b614c0987828801614b64565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614c4a816143c9565b82525050565b600082825260208201905092915050565b6000614c6c82614a1f565b614c768185614c50565b9350614c86818560208601614517565b614c8f8161454a565b840191505092915050565b614ca3816143ea565b82525050565b600082825260208201905092915050565b6000614cc5826144fb565b614ccf8185614ca9565b9350614cdf818560208601614517565b614ce88161454a565b840191505092915050565b614cfc816144c5565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000614d3a8383614c41565b60208301905092915050565b6000602082019050919050565b6000614d5e82614d02565b614d688185614d0d565b9350614d7383614d1e565b8060005b83811015614da4578151614d8b8882614d2e565b9750614d9683614d46565b925050600181019050614d77565b5085935050505092915050565b600061010083016000830151614dca6000860182614c41565b5060208301518482036020860152614de28282614c61565b9150506040830151614df76040860182614c9a565b5060608301518482036060860152614e0f8282614cba565b9150506080830151614e246080860182614c9a565b5060a0830151614e3760a0860182614c9a565b5060c0830151614e4a60c0860182614cf3565b5060e083015184820360e0860152614e628282614d53565b9150508091505092915050565b6000614e7b8383614db1565b905092915050565b6000602082019050919050565b6000614e9b82614c15565b614ea58185614c20565b935083602082028501614eb785614c31565b8060005b85811015614ef35784840389528151614ed48582614e6f565b9450614edf83614e83565b925060208a01995050600181019050614ebb565b50829750879550505050505092915050565b60006020820190508181036000830152614f1f8184614e90565b905092915050565b60008060408385031215614f3e57614f3d614436565b5b6000614f4c85828601614641565b9250506020614f5d85828601614641565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614fae57607f821691505b60208210811415614fc257614fc1614f67565b5b50919050565b7f7175657279000000000000000000000000000000000000000000000000000000600082015250565b6000614ffe600583614506565b915061500982614fc8565b602082019050919050565b6000602082019050818103600083015261502d81614ff1565b9050919050565b7f63757272656e7400000000000000000000000000000000000000000000000000600082015250565b600061506a600783614506565b915061507582615034565b602082019050919050565b600060208201905081810360008301526150998161505d565b9050919050565b7f6f776e6572000000000000000000000000000000000000000000000000000000600082015250565b60006150d6600583614506565b91506150e1826150a0565b602082019050919050565b60006020820190508181036000830152615105816150c9565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615142602083614506565b915061514d8261510c565b602082019050919050565b6000602082019050818103600083015261517181615135565b9050919050565b600081519050615187816145b6565b92915050565b6000602082840312156151a3576151a2614436565b5b60006151b184828501615178565b91505092915050565b6000815190506151c9816149b3565b92915050565b6000602082840312156151e5576151e4614436565b5b60006151f3848285016151ba565b91505092915050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000615258602a83614506565b9150615263826151fc565b604082019050919050565b600060208201905081810360008301526152878161524b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006152c8826143ea565b91506152d3836143ea565b9250828210156152e6576152e561528e565b5b828203905092915050565b60006152fd8385614a2a565b935061530a83858461474c565b6153138361454a565b840190509392505050565b600060a08201905061533360008301896143db565b81810360208301526153468187896152f1565b905061535560408301866143f4565b8181036060830152615367818561455b565b905061537660808301846143f4565b979650505050505050565b600061538c826143ea565b9150615397836143ea565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156153cc576153cb61528e565b5b828201905092915050565b60006153e2826143ea565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156154155761541461528e565b5b600182019050919050565b7f7300000000000000000000000000000000000000000000000000000000000000600082015250565b6000615456600183614506565b915061546182615420565b602082019050919050565b6000602082019050818103600083015261548581615449565b9050919050565b7f6d00000000000000000000000000000000000000000000000000000000000000600082015250565b60006154c2600183614506565b91506154cd8261548c565b602082019050919050565b600060208201905081810360008301526154f1816154b5565b9050919050565b6000615503826143ea565b915061550e836143ea565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156155475761554661528e565b5b828202905092915050565b7f6100000000000000000000000000000000000000000000000000000000000000600082015250565b6000615588600183614506565b915061559382615552565b602082019050919050565b600060208201905081810360008301526155b78161557b565b9050919050565b60006060820190506155d360008301866143db565b6155e060208301856143db565b6155ed60408301846143f4565b949350505050565b7f617070726f766500000000000000000000000000000000000000000000000000600082015250565b600061562b600783614506565b9150615636826155f5565b602082019050919050565b6000602082019050818103600083015261565a8161561e565b9050919050565b7f6600000000000000000000000000000000000000000000000000000000000000600082015250565b6000615697600183614506565b91506156a282615661565b602082019050919050565b600060208201905081810360008301526156c68161568a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f7600000000000000000000000000000000000000000000000000000000000000600082015250565b6000615732600183614506565b915061573d826156fc565b602082019050919050565b6000602082019050818103600083015261576181615725565b9050919050565b7f7400000000000000000000000000000000000000000000000000000000000000600082015250565b600061579e600183614506565b91506157a982615768565b602082019050919050565b600060208201905081810360008301526157cd81615791565b9050919050565b7f6578697374000000000000000000000000000000000000000000000000000000600082015250565b600061580a600583614506565b9150615815826157d4565b602082019050919050565b60006020820190508181036000830152615839816157fd565b9050919050565b600081905092915050565b6000615856826144fb565b6158608185615840565b9350615870818560208601614517565b80840191505092915050565b6000615888828561584b565b9150615894828461584b565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006158fc602683614506565b9150615907826158a0565b604082019050919050565b6000602082019050818103600083015261592b816158ef565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061596c826143ea565b9150615977836143ea565b92508261598757615986615932565b5b828204905092915050565b600081905092915050565b60008190508160005260206000209050919050565b600081546159bf81614f96565b6159c98186615992565b945060018216600081146159e457600181146159f557615a28565b60ff19831686528186019350615a28565b6159fe8561599d565b60005b83811015615a2057815481890152600182019150602081019050615a01565b838801955050505b50505092915050565b6000615a3d82846159b2565b915081905092915050565b6000604082019050615a5d60008301856143f4565b8181036020830152615a6f8184614a3b565b90509392505050565b7f6f70657261746f72000000000000000000000000000000000000000000000000600082015250565b6000615aae600883614506565b9150615ab982615a78565b602082019050919050565b60006020820190508181036000830152615add81615aa1565b9050919050565b7f6f776e0000000000000000000000000000000000000000000000000000000000600082015250565b6000615b1a600383614506565b9150615b2582615ae4565b602082019050919050565b60006020820190508181036000830152615b4981615b0d565b9050919050565b7f7a65726f00000000000000000000000000000000000000000000000000000000600082015250565b6000615b86600483614506565b9150615b9182615b50565b602082019050919050565b60006020820190508181036000830152615bb581615b79565b9050919050565b7f7265636569766572000000000000000000000000000000000000000000000000600082015250565b6000615bf2600883614506565b9150615bfd82615bbc565b602082019050919050565b60006020820190508181036000830152615c2181615be5565b9050919050565b6000615c33826143ea565b9150615c3e836143ea565b925082615c4e57615c4d615932565b5b828206905092915050565b6000608082019050615c6e60008301876143db565b615c7b60208301866143db565b615c8860408301856143f4565b8181036060830152615c9a8184614a3b565b905095945050505050565b600081519050615cb48161446c565b92915050565b600060208284031215615cd057615ccf614436565b5b6000615cde84828501615ca5565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f6d696e7465640000000000000000000000000000000000000000000000000000600082015250565b6000615d4c600683614506565b9150615d5782615d16565b602082019050919050565b60006020820190508181036000830152615d7b81615d3f565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000615dde602683614506565b9150615de982615d82565b604082019050919050565b60006020820190508181036000830152615e0d81615dd1565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000615e4a601d83614506565b9150615e5582615e14565b602082019050919050565b60006020820190508181036000830152615e7981615e3d565b9050919050565b6000615e8b82614a1f565b615e958185615992565b9350615ea5818560208601614517565b80840191505092915050565b6000615ebd8284615e80565b91508190509291505056fe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea264697066735822122070806008b22caf3c91d28e0e3e438081b51227cb010334d835212521792309f864736f6c634300080a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000004570000000000000000000000000000000000000000000000004563918244f40000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000000084f6d616b6173656100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000075245434549505400000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Omakasea
Arg [1] : _symbol (string): RECEIPT
Arg [2] : _maxPossibleSupply (uint256): 1111
Arg [3] : _mintPrice (uint256): 5000000000000000000
Arg [4] : _currency (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [5] : _wrappedNativeCoinAddress (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000457
Arg [3] : 0000000000000000000000000000000000000000000000004563918244f40000
Arg [4] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [5] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [7] : 4f6d616b61736561000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [9] : 5245434549505400000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.