ERC-721
Overview
Max Total Supply
425 KOOPA
Holders
203
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 KOOPALoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
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 onlyHoldersOrOwner { require((isDao && balanceOf(_msgSender()) > 0) || _msgSender() == owner()); _; } modifier onlyContractOrOwner { require(_msgSender() == address(this) || _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 onlyHoldersOrOwner 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 onlyHoldersOrOwner 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
60c0604052603c601055620151806011553480156200001d57600080fd5b5060405162006540380380620065408339818101604052810190620000439190620004d6565b858581600690805190602001906200005d929190620001e9565b50806007908051906020019062000076929190620001e9565b505050620000996200008d6200011b60201b60201c565b6200012360201b60201c565b83600e8190555082600d819055508173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250508073ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff168152505050505050505062000615565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001f790620005df565b90600052602060002090601f0160209004810192826200021b576000855562000267565b82601f106200023657805160ff191683800117855562000267565b8280016001018555821562000267579182015b828111156200026657825182559160200191906001019062000249565b5b5090506200027691906200027a565b5090565b5b80821115620002955760008160009055506001016200027b565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200030282620002b7565b810181811067ffffffffffffffff82111715620003245762000323620002c8565b5b80604052505050565b60006200033962000299565b9050620003478282620002f7565b919050565b600067ffffffffffffffff8211156200036a5762000369620002c8565b5b6200037582620002b7565b9050602081019050919050565b60005b83811015620003a257808201518184015260208101905062000385565b83811115620003b2576000848401525b50505050565b6000620003cf620003c9846200034c565b6200032d565b905082815260208101848484011115620003ee57620003ed620002b2565b5b620003fb84828562000382565b509392505050565b600082601f8301126200041b576200041a620002ad565b5b81516200042d848260208601620003b8565b91505092915050565b6000819050919050565b6200044b8162000436565b81146200045757600080fd5b50565b6000815190506200046b8162000440565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200049e8262000471565b9050919050565b620004b08162000491565b8114620004bc57600080fd5b50565b600081519050620004d081620004a5565b92915050565b60008060008060008060c08789031215620004f657620004f5620002a3565b5b600087015167ffffffffffffffff811115620005175762000516620002a8565b5b6200052589828a0162000403565b965050602087015167ffffffffffffffff811115620005495762000548620002a8565b5b6200055789828a0162000403565b95505060406200056a89828a016200045a565b94505060606200057d89828a016200045a565b93505060806200059089828a01620004bf565b92505060a0620005a389828a01620004bf565b9150509295509295509295565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620005f857607f821691505b602082108114156200060f576200060e620005b0565b5b50919050565b60805160a051615ef7620006496000396000611d7d015260008181611db401528181611e480152612c3b0152615ef76000f3fe60806040526004361061028c5760003560e01c80636cec67d01161015a578063b21a41d2116100c1578063e5a6b10f1161007a578063e5a6b10f14610a28578063e985e9c514610a53578063eb8d244414610a90578063f0efb08914610abb578063f2fde38b14610ae6578063f6ead0b914610b0f576102d3565b8063b21a41d2146108f2578063b88d4fde1461091d578063bb5f0a9514610946578063c87b56dd14610983578063d5f76210146109c0578063e4c41bb4146109fd576102d3565b806395d89b411161011357806395d89b41146107d757806397304ced14610802578063a22cb4651461081e578063a598d03c14610847578063a6e39fc11461088a578063a9361ffd146108c7576102d3565b80636cec67d0146106c757806370a08231146106f2578063715018a61461072f578063859d784e146107465780638ad433ac146107835780638da5cb5b146107ac576102d3565b8063386b7691116101fe57806355f804b3116101b757806355f804b3146105c95780635d86842a146105f25780636352211e146106095780636373a6b1146106465780636817c76c146106715780636c0360eb1461069c576102d3565b8063386b7691146104cd5780633ccfd60b146104f857806342842e0e1461050f57806349df728c146105385780634f6ccce7146105615780635029e6021461059e576102d3565b8063132002fc11610250578063132002fc146103cf57806318055c61146103fa57806318160ddd1461042557806323b872dd146104505780632f745c591461047957806334918dfd146104b6576102d3565b806301ffc9a7146102d857806306fdde0314610315578063081812fc14610340578063095ea7b31461037d57806310969523146103a6576102d3565b366102d3577f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f885258746102ba610b38565b346040516102c99291906143a1565b60405180910390a1005b600080fd5b3480156102e457600080fd5b506102ff60048036038101906102fa9190614436565b610b40565b60405161030c919061447e565b60405180910390f35b34801561032157600080fd5b5061032a610c8a565b6040516103379190614532565b60405180910390f35b34801561034c57600080fd5b5061036760048036038101906103629190614580565b610d1c565b60405161037491906145ad565b60405180910390f35b34801561038957600080fd5b506103a4600480360381019061039f91906145f4565b610da1565b005b3480156103b257600080fd5b506103cd60048036038101906103c89190614769565b610eb9565b005b3480156103db57600080fd5b506103e4610f84565b6040516103f191906147b2565b60405180910390f35b34801561040657600080fd5b5061040f610f8a565b60405161041c919061447e565b60405180910390f35b34801561043157600080fd5b5061043a611031565b60405161044791906147b2565b60405180910390f35b34801561045c57600080fd5b50610477600480360381019061047291906147cd565b611042565b005b34801561048557600080fd5b506104a0600480360381019061049b91906145f4565b6110a2565b6040516104ad91906147b2565b60405180910390f35b3480156104c257600080fd5b506104cb6110fc565b005b3480156104d957600080fd5b506104e26111ab565b6040516104ef91906147b2565b60405180910390f35b34801561050457600080fd5b5061050d6111b1565b005b34801561051b57600080fd5b50610536600480360381019061053191906147cd565b61128a565b005b34801561054457600080fd5b5061055f600480360381019061055a9190614820565b6112aa565b005b34801561056d57600080fd5b5061058860048036038101906105839190614580565b61142f565b60405161059591906147b2565b60405180910390f35b3480156105aa57600080fd5b506105b3611452565b6040516105c0919061447e565b60405180910390f35b3480156105d557600080fd5b506105f060048036038101906105eb9190614769565b611465565b005b3480156105fe57600080fd5b506106076114ed565b005b34801561061557600080fd5b50610630600480360381019061062b9190614580565b611586565b60405161063d91906145ad565b60405180910390f35b34801561065257600080fd5b5061065b6115bd565b6040516106689190614532565b60405180910390f35b34801561067d57600080fd5b5061068661164b565b60405161069391906147b2565b60405180910390f35b3480156106a857600080fd5b506106b1611651565b6040516106be9190614532565b60405180910390f35b3480156106d357600080fd5b506106dc6116e3565b6040516106e9919061447e565b60405180910390f35b3480156106fe57600080fd5b5061071960048036038101906107149190614820565b61178a565b60405161072691906147b2565b60405180910390f35b34801561073b57600080fd5b50610744611848565b005b34801561075257600080fd5b5061076d600480360381019061076891906148ad565b6118d0565b60405161077a919061447e565b60405180910390f35b34801561078f57600080fd5b506107aa60048036038101906107a59190614580565b611b52565b005b3480156107b857600080fd5b506107c1611c19565b6040516107ce91906145ad565b60405180910390f35b3480156107e357600080fd5b506107ec611c43565b6040516107f99190614532565b60405180910390f35b61081c60048036038101906108179190614580565b611cd5565b005b34801561082a57600080fd5b506108456004803603810190610840919061497d565b611f52565b005b34801561085357600080fd5b5061086e60048036038101906108699190614580565b6120d3565b6040516108819796959493929190614a12565b60405180910390f35b34801561089657600080fd5b506108b160048036038101906108ac9190614580565b612262565b6040516108be919061447e565b60405180910390f35b3480156108d357600080fd5b506108dc612361565b6040516108e9919061447e565b60405180910390f35b3480156108fe57600080fd5b50610907612374565b604051610914919061447e565b60405180910390f35b34801561092957600080fd5b50610944600480360381019061093f9190614b30565b612387565b005b34801561095257600080fd5b5061096d60048036038101906109689190614580565b6123e9565b60405161097a919061447e565b60405180910390f35b34801561098f57600080fd5b506109aa60048036038101906109a59190614580565b6126e2565b6040516109b79190614532565b60405180910390f35b3480156109cc57600080fd5b506109e760048036038101906109e29190614580565b612855565b6040516109f4919061447e565b60405180910390f35b348015610a0957600080fd5b50610a12612998565b604051610a1f9190614ea3565b60405180910390f35b348015610a3457600080fd5b50610a3d612c39565b604051610a4a91906145ad565b60405180910390f35b348015610a5f57600080fd5b50610a7a6004803603810190610a759190614ec5565b612c5d565b604051610a87919061447e565b60405180910390f35b348015610a9c57600080fd5b50610aa5612cf1565b604051610ab2919061447e565b60405180910390f35b348015610ac757600080fd5b50610ad0612d04565b604051610add91906147b2565b60405180910390f35b348015610af257600080fd5b50610b0d6004803603810190610b089190614820565b612d0a565b005b348015610b1b57600080fd5b50610b366004803603810190610b319190614580565b612e02565b005b600033905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c0b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c7357507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c835750610c828261312f565b5b9050919050565b606060068054610c9990614f34565b80601f0160208091040260200160405190810160405280929190818152602001828054610cc590614f34565b8015610d125780601f10610ce757610100808354040283529160200191610d12565b820191906000526020600020905b815481529060010190602001808311610cf557829003601f168201915b5050505050905090565b6000610d2782613199565b610d66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5d90614fb2565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610dac82611586565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e149061501e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e3c610b38565b73ffffffffffffffffffffffffffffffffffffffff161480610e6b5750610e6a81610e65610b38565b612c5d565b5b610eaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea19061508a565b60405180910390fd5b610eb483836131b6565b505050565b610ec1610b38565b73ffffffffffffffffffffffffffffffffffffffff16610edf611c19565b73ffffffffffffffffffffffffffffffffffffffff1614610f35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2c906150f6565b60405180910390fd5b600c60009054906101000a900460ff1615610f4f57600080fd5b80600b9080519060200190610f65929190614194565b506001600c60006101000a81548160ff02191690831515021790555050565b60115481565b60003073ffffffffffffffffffffffffffffffffffffffff16610fab610b38565b73ffffffffffffffffffffffffffffffffffffffff1614806110065750610fd0611c19565b73ffffffffffffffffffffffffffffffffffffffff16610fee610b38565b73ffffffffffffffffffffffffffffffffffffffff16145b61100f57600080fd5b6001601260016101000a81548160ff0219169083151502179055506001905090565b600061103d600161326f565b905090565b61105361104d610b38565b82613284565b611092576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110899061508a565b60405180910390fd5b61109d838383613362565b505050565b60006110f4826000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061357790919063ffffffff16565b905092915050565b3073ffffffffffffffffffffffffffffffffffffffff1661111b610b38565b73ffffffffffffffffffffffffffffffffffffffff1614806111765750611140611c19565b73ffffffffffffffffffffffffffffffffffffffff1661115e610b38565b73ffffffffffffffffffffffffffffffffffffffff16145b61117f57600080fd5b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b600e5481565b3073ffffffffffffffffffffffffffffffffffffffff166111d0610b38565b73ffffffffffffffffffffffffffffffffffffffff16148061122b57506111f5611c19565b73ffffffffffffffffffffffffffffffffffffffff16611213610b38565b73ffffffffffffffffffffffffffffffffffffffff16145b61123457600080fd5b6000479050611241610b38565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611286573d6000803e3d6000fd5b5050565b6112a583838360405180602001604052806000815250612387565b505050565b3073ffffffffffffffffffffffffffffffffffffffff166112c9610b38565b73ffffffffffffffffffffffffffffffffffffffff16148061132457506112ee611c19565b73ffffffffffffffffffffffffffffffffffffffff1661130c610b38565b73ffffffffffffffffffffffffffffffffffffffff16145b61132d57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb611351610b38565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161138a91906145ad565b602060405180830381865afa1580156113a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113cb919061512b565b6040518363ffffffff1660e01b81526004016113e89291906143a1565b6020604051808303816000875af1158015611407573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142b919061516d565b5050565b60008061144683600161359190919063ffffffff16565b50905080915050919050565b601260009054906101000a900460ff1681565b61146d610b38565b73ffffffffffffffffffffffffffffffffffffffff1661148b611c19565b73ffffffffffffffffffffffffffffffffffffffff16146114e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d8906150f6565b60405180910390fd5b6114ea816135bd565b50565b6114f5610b38565b73ffffffffffffffffffffffffffffffffffffffff16611513611c19565b73ffffffffffffffffffffffffffffffffffffffff1614611569576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611560906150f6565b60405180910390fd5b6001601260006101000a81548160ff021916908315150217905550565b60006115b682604051806060016040528060298152602001615e996029913960016135d79092919063ffffffff16565b9050919050565b600b80546115ca90614f34565b80601f01602080910402602001604051908101604052809291908181526020018280546115f690614f34565b80156116435780601f1061161857610100808354040283529160200191611643565b820191906000526020600020905b81548152906001019060200180831161162657829003601f168201915b505050505081565b600d5481565b60606009805461166090614f34565b80601f016020809104026020016040519081016040528092919081815260200182805461168c90614f34565b80156116d95780601f106116ae576101008083540402835291602001916116d9565b820191906000526020600020905b8154815290600101906020018083116116bc57829003601f168201915b5050505050905090565b60003073ffffffffffffffffffffffffffffffffffffffff16611704610b38565b73ffffffffffffffffffffffffffffffffffffffff16148061175f5750611729611c19565b73ffffffffffffffffffffffffffffffffffffffff16611747610b38565b73ffffffffffffffffffffffffffffffffffffffff16145b61176857600080fd5b6001601260026101000a81548160ff0219169083151502179055506001905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f29061520c565b60405180910390fd5b6118416000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206135f6565b9050919050565b611850610b38565b73ffffffffffffffffffffffffffffffffffffffff1661186e611c19565b73ffffffffffffffffffffffffffffffffffffffff16146118c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118bb906150f6565b60405180910390fd5b6118ce600061360b565b565b6000601260009054906101000a900460ff1680156118fd575060006118fb6118f6610b38565b61178a565b115b80611941575061190b611c19565b73ffffffffffffffffffffffffffffffffffffffff16611929610b38565b73ffffffffffffffffffffffffffffffffffffffff16145b61194a57600080fd5b606060136040518061010001604052808973ffffffffffffffffffffffffffffffffffffffff16815260200188888080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508152602001868152602001858152602001601380549050815260200142815260200160001515815260200183815250908060018154018082558091505060019003906000526020600020906008020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001019080519060200190611a7692919061421a565b50604082015181600201556060820151816003019080519060200190611a9d929190614194565b506080820151816004015560a0820151816005015560c08201518160060160006101000a81548160ff02191690831515021790555060e0820151816007019080519060200190611aee9291906142a0565b5050506001601380549050611b03919061525b565b7febe0c4a4ec7b8ef7f65f3b5939a71abfe43a8573a7151e1e035c4a3a511faa90888888888842604051611b3c969594939291906152bc565b60405180910390a2600191505095945050505050565b3073ffffffffffffffffffffffffffffffffffffffff16611b71610b38565b73ffffffffffffffffffffffffffffffffffffffff161480611bcc5750611b96611c19565b73ffffffffffffffffffffffffffffffffffffffff16611bb4610b38565b73ffffffffffffffffffffffffffffffffffffffff16145b611bd557600080fd5b6000611bdf611031565b905060005b82811015611c1457611c01338284611bfc919061531f565b6136d1565b8080611c0c90615375565b915050611be4565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060078054611c5290614f34565b80601f0160208091040260200160405190810160405280929190818152602001828054611c7e90614f34565b8015611ccb5780601f10611ca057610100808354040283529160200191611ccb565b820191906000526020600020905b815481529060010190602001808311611cae57829003601f168201915b5050505050905090565b600f60009054906101000a900460ff16611d24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1b9061540a565b60405180910390fd5b600e5481611d30611031565b611d3a919061531f565b1115611d7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7290615476565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff161415611e44573481600d54611dfe9190615496565b1115611e3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e369061553c565b60405180910390fd5b611f00565b60007f000000000000000000000000000000000000000000000000000000000000000090508073ffffffffffffffffffffffffffffffffffffffff166323b872dd611e8d610b38565b30600d5486611e9c9190615496565b6040518463ffffffff1660e01b8152600401611eba9392919061555c565b6020604051808303816000875af1158015611ed9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611efd919061516d565b50505b60005b81811015611f4e576000611f15611031565b9050600e54611f22611031565b1015611f3a57611f39611f33610b38565b826136d1565b5b508080611f4690615375565b915050611f03565b5050565b611f5a610b38565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbf906155df565b60405180910390fd5b8060056000611fd5610b38565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612082610b38565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120c7919061447e565b60405180910390a35050565b601381815481106120e357600080fd5b90600052602060002090600802016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169080600101805461212c90614f34565b80601f016020809104026020016040519081016040528092919081815260200182805461215890614f34565b80156121a55780601f1061217a576101008083540402835291602001916121a5565b820191906000526020600020905b81548152906001019060200180831161218857829003601f168201915b5050505050908060020154908060030180546121c090614f34565b80601f01602080910402602001604051908101604052809291908181526020018280546121ec90614f34565b80156122395780601f1061220e57610100808354040283529160200191612239565b820191906000526020600020905b81548152906001019060200180831161221c57829003601f168201915b5050505050908060040154908060050154908060060160009054906101000a900460ff16905087565b60003073ffffffffffffffffffffffffffffffffffffffff16612283610b38565b73ffffffffffffffffffffffffffffffffffffffff1614806122de57506122a8611c19565b73ffffffffffffffffffffffffffffffffffffffff166122c6610b38565b73ffffffffffffffffffffffffffffffffffffffff16145b6122e757600080fd5b600182101580156122f9575060648211155b80156123125750601260019054906101000a900460ff16155b612351576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123489061564b565b60405180910390fd5b8160108190555060019050919050565b601260029054906101000a900460ff1681565b601260019054906101000a900460ff1681565b612398612392610b38565b83613284565b6123d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ce9061508a565b60405180910390fd5b6123e3848484846136ef565b50505050565b6000601260009054906101000a900460ff1680156124165750600061241461240f610b38565b61178a565b115b8061245a5750612424611c19565b73ffffffffffffffffffffffffffffffffffffffff16612442610b38565b73ffffffffffffffffffffffffffffffffffffffff16145b61246357600080fd5b60005b6013838154811061247a5761247961566b565b5b90600052602060002090600802016007018054905081101561258057601383815481106124aa576124a961566b565b5b906000526020600020906008020160070181815481106124cd576124cc61566b565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612516610b38565b73ffffffffffffffffffffffffffffffffffffffff16141561256d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612564906156e6565b60405180910390fd5b808061257890615375565b915050612466565b50601154601383815481106125985761259761566b565b5b9060005260206000209060080201600501546125b4919061531f565b4211156125f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ed90615752565b60405180910390fd5b6013828154811061260a5761260961566b565b5b9060005260206000209060080201600701612623610b38565b9080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061268b610b38565b73ffffffffffffffffffffffffffffffffffffffff16827f843076141b22bb3111b5cc93ee3bd4d4aa089a8f66a980801e28fba5f7f27129426040516126d191906147b2565b60405180910390a360019050919050565b60606126ed82613199565b61272c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612723906157be565b60405180910390fd5b600060086000848152602001908152602001600020805461274c90614f34565b80601f016020809104026020016040519081016040528092919081815260200182805461277890614f34565b80156127c55780601f1061279a576101008083540402835291602001916127c5565b820191906000526020600020905b8154815290600101906020018083116127a857829003601f168201915b5050505050905060006127d6611651565b90506000815114156127ec578192505050612850565b60008251111561282157808260405160200161280992919061581a565b60405160208183030381529060405292505050612850565b8061282b8561374b565b60405160200161283c92919061581a565b604051602081830303815290604052925050505b919050565b60003073ffffffffffffffffffffffffffffffffffffffff16612876610b38565b73ffffffffffffffffffffffffffffffffffffffff1614806128d1575061289b611c19565b73ffffffffffffffffffffffffffffffffffffffff166128b9610b38565b73ffffffffffffffffffffffffffffffffffffffff16145b6128da57600080fd5b601260029054906101000a900460ff161561292a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129219061564b565b60405180910390fd5b611c2082148061293c57506201518082145b8061294957506203f48082145b612988576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297f90615752565b60405180910390fd5b8160118190555060019050919050565b60606013805480602002602001604051908101604052809291908181526020016000905b82821015612c305783829060005260206000209060080201604051806101000160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600182018054612a4690614f34565b80601f0160208091040260200160405190810160405280929190818152602001828054612a7290614f34565b8015612abf5780601f10612a9457610100808354040283529160200191612abf565b820191906000526020600020905b815481529060010190602001808311612aa257829003601f168201915b5050505050815260200160028201548152602001600382018054612ae290614f34565b80601f0160208091040260200160405190810160405280929190818152602001828054612b0e90614f34565b8015612b5b5780601f10612b3057610100808354040283529160200191612b5b565b820191906000526020600020905b815481529060010190602001808311612b3e57829003601f168201915b5050505050815260200160048201548152602001600582015481526020016006820160009054906101000a900460ff1615151515815260200160078201805480602002602001604051908101604052809291908181526020018280548015612c1857602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311612bce575b505050505081525050815260200190600101906129bc565b50505050905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600f60009054906101000a900460ff1681565b60105481565b612d12610b38565b73ffffffffffffffffffffffffffffffffffffffff16612d30611c19565b73ffffffffffffffffffffffffffffffffffffffff1614612d86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7d906150f6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612df6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ded906158b0565b60405180910390fd5b612dff8161360b565b50565b6000805b60138381548110612e1a57612e1961566b565b5b906000526020600020906008020160070180549050811015612ec057612ea060138481548110612e4d57612e4c61566b565b5b90600052602060002090600802016007018281548110612e7057612e6f61566b565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661178a565b82612eab919061531f565b91508080612eb890615375565b915050612e06565b506064601054612ece611031565b612ed89190615496565b612ee291906158ff565b811015612f24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1b9061540a565b60405180910390fd5b60138281548110612f3857612f3761566b565b5b906000526020600020906008020160060160009054906101000a900460ff1615612f97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f8e9061553c565b60405180910390fd5b600060138381548110612fad57612fac61566b565b5b906000526020600020906008020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600060138481548110612ff757612ff661566b565b5b906000526020600020906008020160010190506000601385815481106130205761301f61566b565b5b90600052602060002090600802016002015490506000808473ffffffffffffffffffffffffffffffffffffffff16838560405161305d91906159cf565b60006040518083038185875af1925050503d806000811461309a576040519150601f19603f3d011682016040523d82523d6000602084013e61309f565b606091505b5091509150816130ae57600080fd5b6001601388815481106130c4576130c361566b565b5b906000526020600020906008020160060160006101000a81548160ff021916908315150217905550867fc4bd96f14e4eb3a49f563914cddb2fb818af1a959143936ef3744afc23fd42d7428360405161311e9291906159e6565b60405180910390a250505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60006131af8260016138ac90919063ffffffff16565b9050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661322983611586565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061327d826000016138c6565b9050919050565b600061328f82613199565b6132ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132c590615a62565b60405180910390fd5b60006132d983611586565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061334857508373ffffffffffffffffffffffffffffffffffffffff1661333084610d1c565b73ffffffffffffffffffffffffffffffffffffffff16145b8061335957506133588185612c5d565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661338282611586565b73ffffffffffffffffffffffffffffffffffffffff16146133d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133cf90615ace565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613448576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161343f90615b3a565b60405180910390fd5b6134538383836138db565b61345e6000826131b6565b6134ae816000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206138e090919063ffffffff16565b506134ff816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206138fa90919063ffffffff16565b50613516818360016139149092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006135868360000183613949565b60001c905092915050565b6000806000806135a48660000186613974565b915091508160001c8160001c9350935050509250929050565b80600990805190602001906135d3929190614194565b5050565b60006135ea846000018460001b846139b4565b60001c90509392505050565b600061360482600001613a35565b9050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6136eb828260405180602001604052806000815250613a46565b5050565b6136fa848484613362565b61370684848484613aa1565b613745576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161373c90615ba6565b60405180910390fd5b50505050565b60606000821415613793576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506138a7565b600082905060005b600082146137c55780806137ae90615375565b915050600a826137be91906158ff565b915061379b565b60008167ffffffffffffffff8111156137e1576137e061463e565b5b6040519080825280601f01601f1916602001820160405280156138135781602001600182028036833780820191505090505b5090505b600085146138a05760018261382c919061525b565b9150600a8561383b9190615bc6565b6030613847919061531f565b60f81b81838151811061385d5761385c61566b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561389991906158ff565b9450613817565b8093505050505b919050565b60006138be836000018360001b613c05565b905092915050565b60006138d482600001613c25565b9050919050565b505050565b60006138f2836000018360001b613c3a565b905092915050565b600061390c836000018360001b613d4e565b905092915050565b6000613940846000018460001b8473ffffffffffffffffffffffffffffffffffffffff1660001b613dbe565b90509392505050565b60008260000182815481106139615761396061566b565b5b9060005260206000200154905092915050565b600080600061398f8486600001613df990919063ffffffff16565b9050808560020160008381526020019081526020016000205492509250509250929050565b6000808460020160008581526020019081526020016000205490506000801b811415806139e757506139e68585613c05565b5b8390613a29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a209190614532565b60405180910390fd5b50809150509392505050565b600081600001805490509050919050565b613a508383613e10565b613a5d6000848484613aa1565b613a9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a9390615ba6565b60405180910390fd5b505050565b6000613ac28473ffffffffffffffffffffffffffffffffffffffff16613f9d565b613acf5760019050613bfd565b6000613b9663150b7a0260e01b613ae4610b38565b888787604051602401613afa9493929190615bf7565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051806060016040528060328152602001615e67603291398773ffffffffffffffffffffffffffffffffffffffff16613fb09092919063ffffffff16565b9050600081806020019051810190613bae9190615c58565b905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614925050505b949350505050565b6000613c1d8284600001613fc890919063ffffffff16565b905092915050565b6000613c3382600001613a35565b9050919050565b60008083600101600084815260200190815260200160002054905060008114613d42576000600182613c6c919061525b565b9050600060018660000180549050613c84919061525b565b9050818114613cf3576000866000018281548110613ca557613ca461566b565b5b9060005260206000200154905080876000018481548110613cc957613cc861566b565b5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b85600001805480613d0757613d06615c85565b5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050613d48565b60009150505b92915050565b6000613d5a8383613fdf565b613db3578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050613db8565b600090505b92915050565b60008184600201600085815260200190815260200160002081905550613df0838560000161400290919063ffffffff16565b90509392505050565b6000613e088360000183613949565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613e80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e7790615b3a565b60405180910390fd5b613e8981613199565b15613ec9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ec090615d00565b60405180910390fd5b613ed5600083836138db565b613f25816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206138fa90919063ffffffff16565b50613f3c818360016139149092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b6060613fbf8484600085614019565b90509392505050565b6000613fd78360000183613fdf565b905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b60006140118360000183613d4e565b905092915050565b60608247101561405e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161405590615d92565b60405180910390fd5b61406785613f9d565b6140a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161409d90615dfe565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516140cf9190615e4f565b60006040518083038185875af1925050503d806000811461410c576040519150601f19603f3d011682016040523d82523d6000602084013e614111565b606091505b509150915061412182828661412d565b92505050949350505050565b6060831561413d5782905061418d565b6000835111156141505782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016141849190614532565b60405180910390fd5b9392505050565b8280546141a090614f34565b90600052602060002090601f0160209004810192826141c25760008555614209565b82601f106141db57805160ff1916838001178555614209565b82800160010185558215614209579182015b828111156142085782518255916020019190600101906141ed565b5b509050614216919061432a565b5090565b82805461422690614f34565b90600052602060002090601f016020900481019282614248576000855561428f565b82601f1061426157805160ff191683800117855561428f565b8280016001018555821561428f579182015b8281111561428e578251825591602001919060010190614273565b5b50905061429c919061432a565b5090565b828054828255906000526020600020908101928215614319579160200282015b828111156143185782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550916020019190600101906142c0565b5b509050614326919061432a565b5090565b5b8082111561434357600081600090555060010161432b565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061437282614347565b9050919050565b61438281614367565b82525050565b6000819050919050565b61439b81614388565b82525050565b60006040820190506143b66000830185614379565b6143c36020830184614392565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b614413816143de565b811461441e57600080fd5b50565b6000813590506144308161440a565b92915050565b60006020828403121561444c5761444b6143d4565b5b600061445a84828501614421565b91505092915050565b60008115159050919050565b61447881614463565b82525050565b6000602082019050614493600083018461446f565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156144d35780820151818401526020810190506144b8565b838111156144e2576000848401525b50505050565b6000601f19601f8301169050919050565b600061450482614499565b61450e81856144a4565b935061451e8185602086016144b5565b614527816144e8565b840191505092915050565b6000602082019050818103600083015261454c81846144f9565b905092915050565b61455d81614388565b811461456857600080fd5b50565b60008135905061457a81614554565b92915050565b600060208284031215614596576145956143d4565b5b60006145a48482850161456b565b91505092915050565b60006020820190506145c26000830184614379565b92915050565b6145d181614367565b81146145dc57600080fd5b50565b6000813590506145ee816145c8565b92915050565b6000806040838503121561460b5761460a6143d4565b5b6000614619858286016145df565b925050602061462a8582860161456b565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b614676826144e8565b810181811067ffffffffffffffff821117156146955761469461463e565b5b80604052505050565b60006146a86143ca565b90506146b4828261466d565b919050565b600067ffffffffffffffff8211156146d4576146d361463e565b5b6146dd826144e8565b9050602081019050919050565b82818337600083830152505050565b600061470c614707846146b9565b61469e565b90508281526020810184848401111561472857614727614639565b5b6147338482856146ea565b509392505050565b600082601f8301126147505761474f614634565b5b81356147608482602086016146f9565b91505092915050565b60006020828403121561477f5761477e6143d4565b5b600082013567ffffffffffffffff81111561479d5761479c6143d9565b5b6147a98482850161473b565b91505092915050565b60006020820190506147c76000830184614392565b92915050565b6000806000606084860312156147e6576147e56143d4565b5b60006147f4868287016145df565b9350506020614805868287016145df565b92505060406148168682870161456b565b9150509250925092565b600060208284031215614836576148356143d4565b5b6000614844848285016145df565b91505092915050565b600080fd5b600080fd5b60008083601f84011261486d5761486c614634565b5b8235905067ffffffffffffffff81111561488a5761488961484d565b5b6020830191508360018202830111156148a6576148a5614852565b5b9250929050565b6000806000806000608086880312156148c9576148c86143d4565b5b60006148d7888289016145df565b955050602086013567ffffffffffffffff8111156148f8576148f76143d9565b5b61490488828901614857565b945094505060406149178882890161456b565b925050606086013567ffffffffffffffff811115614938576149376143d9565b5b6149448882890161473b565b9150509295509295909350565b61495a81614463565b811461496557600080fd5b50565b60008135905061497781614951565b92915050565b60008060408385031215614994576149936143d4565b5b60006149a2858286016145df565b92505060206149b385828601614968565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60006149e4826149bd565b6149ee81856149c8565b93506149fe8185602086016144b5565b614a07816144e8565b840191505092915050565b600060e082019050614a27600083018a614379565b8181036020830152614a3981896149d9565b9050614a486040830188614392565b8181036060830152614a5a81876144f9565b9050614a696080830186614392565b614a7660a0830185614392565b614a8360c083018461446f565b98975050505050505050565b600067ffffffffffffffff821115614aaa57614aa961463e565b5b614ab3826144e8565b9050602081019050919050565b6000614ad3614ace84614a8f565b61469e565b905082815260208101848484011115614aef57614aee614639565b5b614afa8482856146ea565b509392505050565b600082601f830112614b1757614b16614634565b5b8135614b27848260208601614ac0565b91505092915050565b60008060008060808587031215614b4a57614b496143d4565b5b6000614b58878288016145df565b9450506020614b69878288016145df565b9350506040614b7a8782880161456b565b925050606085013567ffffffffffffffff811115614b9b57614b9a6143d9565b5b614ba787828801614b02565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614be881614367565b82525050565b600082825260208201905092915050565b6000614c0a826149bd565b614c148185614bee565b9350614c248185602086016144b5565b614c2d816144e8565b840191505092915050565b614c4181614388565b82525050565b600082825260208201905092915050565b6000614c6382614499565b614c6d8185614c47565b9350614c7d8185602086016144b5565b614c86816144e8565b840191505092915050565b614c9a81614463565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000614cd88383614bdf565b60208301905092915050565b6000602082019050919050565b6000614cfc82614ca0565b614d068185614cab565b9350614d1183614cbc565b8060005b83811015614d42578151614d298882614ccc565b9750614d3483614ce4565b925050600181019050614d15565b5085935050505092915050565b600061010083016000830151614d686000860182614bdf565b5060208301518482036020860152614d808282614bff565b9150506040830151614d956040860182614c38565b5060608301518482036060860152614dad8282614c58565b9150506080830151614dc26080860182614c38565b5060a0830151614dd560a0860182614c38565b5060c0830151614de860c0860182614c91565b5060e083015184820360e0860152614e008282614cf1565b9150508091505092915050565b6000614e198383614d4f565b905092915050565b6000602082019050919050565b6000614e3982614bb3565b614e438185614bbe565b935083602082028501614e5585614bcf565b8060005b85811015614e915784840389528151614e728582614e0d565b9450614e7d83614e21565b925060208a01995050600181019050614e59565b50829750879550505050505092915050565b60006020820190508181036000830152614ebd8184614e2e565b905092915050565b60008060408385031215614edc57614edb6143d4565b5b6000614eea858286016145df565b9250506020614efb858286016145df565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614f4c57607f821691505b60208210811415614f6057614f5f614f05565b5b50919050565b7f7175657279000000000000000000000000000000000000000000000000000000600082015250565b6000614f9c6005836144a4565b9150614fa782614f66565b602082019050919050565b60006020820190508181036000830152614fcb81614f8f565b9050919050565b7f63757272656e7400000000000000000000000000000000000000000000000000600082015250565b60006150086007836144a4565b915061501382614fd2565b602082019050919050565b6000602082019050818103600083015261503781614ffb565b9050919050565b7f6f776e6572000000000000000000000000000000000000000000000000000000600082015250565b60006150746005836144a4565b915061507f8261503e565b602082019050919050565b600060208201905081810360008301526150a381615067565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006150e06020836144a4565b91506150eb826150aa565b602082019050919050565b6000602082019050818103600083015261510f816150d3565b9050919050565b60008151905061512581614554565b92915050565b600060208284031215615141576151406143d4565b5b600061514f84828501615116565b91505092915050565b60008151905061516781614951565b92915050565b600060208284031215615183576151826143d4565b5b600061519184828501615158565b91505092915050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006151f6602a836144a4565b91506152018261519a565b604082019050919050565b60006020820190508181036000830152615225816151e9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061526682614388565b915061527183614388565b9250828210156152845761528361522c565b5b828203905092915050565b600061529b83856149c8565b93506152a88385846146ea565b6152b1836144e8565b840190509392505050565b600060a0820190506152d16000830189614379565b81810360208301526152e481878961528f565b90506152f36040830186614392565b818103606083015261530581856144f9565b90506153146080830184614392565b979650505050505050565b600061532a82614388565b915061533583614388565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561536a5761536961522c565b5b828201905092915050565b600061538082614388565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156153b3576153b261522c565b5b600182019050919050565b7f7300000000000000000000000000000000000000000000000000000000000000600082015250565b60006153f46001836144a4565b91506153ff826153be565b602082019050919050565b60006020820190508181036000830152615423816153e7565b9050919050565b7f6d00000000000000000000000000000000000000000000000000000000000000600082015250565b60006154606001836144a4565b915061546b8261542a565b602082019050919050565b6000602082019050818103600083015261548f81615453565b9050919050565b60006154a182614388565b91506154ac83614388565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156154e5576154e461522c565b5b828202905092915050565b7f6100000000000000000000000000000000000000000000000000000000000000600082015250565b60006155266001836144a4565b9150615531826154f0565b602082019050919050565b6000602082019050818103600083015261555581615519565b9050919050565b60006060820190506155716000830186614379565b61557e6020830185614379565b61558b6040830184614392565b949350505050565b7f617070726f766500000000000000000000000000000000000000000000000000600082015250565b60006155c96007836144a4565b91506155d482615593565b602082019050919050565b600060208201905081810360008301526155f8816155bc565b9050919050565b7f6600000000000000000000000000000000000000000000000000000000000000600082015250565b60006156356001836144a4565b9150615640826155ff565b602082019050919050565b6000602082019050818103600083015261566481615628565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f7600000000000000000000000000000000000000000000000000000000000000600082015250565b60006156d06001836144a4565b91506156db8261569a565b602082019050919050565b600060208201905081810360008301526156ff816156c3565b9050919050565b7f7400000000000000000000000000000000000000000000000000000000000000600082015250565b600061573c6001836144a4565b915061574782615706565b602082019050919050565b6000602082019050818103600083015261576b8161572f565b9050919050565b7f6578697374000000000000000000000000000000000000000000000000000000600082015250565b60006157a86005836144a4565b91506157b382615772565b602082019050919050565b600060208201905081810360008301526157d78161579b565b9050919050565b600081905092915050565b60006157f482614499565b6157fe81856157de565b935061580e8185602086016144b5565b80840191505092915050565b600061582682856157e9565b915061583282846157e9565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061589a6026836144a4565b91506158a58261583e565b604082019050919050565b600060208201905081810360008301526158c98161588d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061590a82614388565b915061591583614388565b925082615925576159246158d0565b5b828204905092915050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461595d81614f34565b6159678186615930565b945060018216600081146159825760018114615993576159c6565b60ff198316865281860193506159c6565b61599c8561593b565b60005b838110156159be5781548189015260018201915060208101905061599f565b838801955050505b50505092915050565b60006159db8284615950565b915081905092915050565b60006040820190506159fb6000830185614392565b8181036020830152615a0d81846149d9565b90509392505050565b7f6f70657261746f72000000000000000000000000000000000000000000000000600082015250565b6000615a4c6008836144a4565b9150615a5782615a16565b602082019050919050565b60006020820190508181036000830152615a7b81615a3f565b9050919050565b7f6f776e0000000000000000000000000000000000000000000000000000000000600082015250565b6000615ab86003836144a4565b9150615ac382615a82565b602082019050919050565b60006020820190508181036000830152615ae781615aab565b9050919050565b7f7a65726f00000000000000000000000000000000000000000000000000000000600082015250565b6000615b246004836144a4565b9150615b2f82615aee565b602082019050919050565b60006020820190508181036000830152615b5381615b17565b9050919050565b7f7265636569766572000000000000000000000000000000000000000000000000600082015250565b6000615b906008836144a4565b9150615b9b82615b5a565b602082019050919050565b60006020820190508181036000830152615bbf81615b83565b9050919050565b6000615bd182614388565b9150615bdc83614388565b925082615bec57615beb6158d0565b5b828206905092915050565b6000608082019050615c0c6000830187614379565b615c196020830186614379565b615c266040830185614392565b8181036060830152615c3881846149d9565b905095945050505050565b600081519050615c528161440a565b92915050565b600060208284031215615c6e57615c6d6143d4565b5b6000615c7c84828501615c43565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f6d696e7465640000000000000000000000000000000000000000000000000000600082015250565b6000615cea6006836144a4565b9150615cf582615cb4565b602082019050919050565b60006020820190508181036000830152615d1981615cdd565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000615d7c6026836144a4565b9150615d8782615d20565b604082019050919050565b60006020820190508181036000830152615dab81615d6f565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000615de8601d836144a4565b9150615df382615db2565b602082019050919050565b60006020820190508181036000830152615e1781615ddb565b9050919050565b6000615e29826149bd565b615e338185615930565b9350615e438185602086016144b5565b80840191505092915050565b6000615e5b8284615e1e565b91508190509291505056fe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea2646970667358221220b0cccea7e58461353ebd80a208df0fdd4328beede1f9573a072f811259bde23e64736f6c634300080a003300000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000013880000000000000000000000000000000000000000000000000018838370f34000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000e57696e67656420547572746c657300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054b4f4f5041000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061028c5760003560e01c80636cec67d01161015a578063b21a41d2116100c1578063e5a6b10f1161007a578063e5a6b10f14610a28578063e985e9c514610a53578063eb8d244414610a90578063f0efb08914610abb578063f2fde38b14610ae6578063f6ead0b914610b0f576102d3565b8063b21a41d2146108f2578063b88d4fde1461091d578063bb5f0a9514610946578063c87b56dd14610983578063d5f76210146109c0578063e4c41bb4146109fd576102d3565b806395d89b411161011357806395d89b41146107d757806397304ced14610802578063a22cb4651461081e578063a598d03c14610847578063a6e39fc11461088a578063a9361ffd146108c7576102d3565b80636cec67d0146106c757806370a08231146106f2578063715018a61461072f578063859d784e146107465780638ad433ac146107835780638da5cb5b146107ac576102d3565b8063386b7691116101fe57806355f804b3116101b757806355f804b3146105c95780635d86842a146105f25780636352211e146106095780636373a6b1146106465780636817c76c146106715780636c0360eb1461069c576102d3565b8063386b7691146104cd5780633ccfd60b146104f857806342842e0e1461050f57806349df728c146105385780634f6ccce7146105615780635029e6021461059e576102d3565b8063132002fc11610250578063132002fc146103cf57806318055c61146103fa57806318160ddd1461042557806323b872dd146104505780632f745c591461047957806334918dfd146104b6576102d3565b806301ffc9a7146102d857806306fdde0314610315578063081812fc14610340578063095ea7b31461037d57806310969523146103a6576102d3565b366102d3577f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f885258746102ba610b38565b346040516102c99291906143a1565b60405180910390a1005b600080fd5b3480156102e457600080fd5b506102ff60048036038101906102fa9190614436565b610b40565b60405161030c919061447e565b60405180910390f35b34801561032157600080fd5b5061032a610c8a565b6040516103379190614532565b60405180910390f35b34801561034c57600080fd5b5061036760048036038101906103629190614580565b610d1c565b60405161037491906145ad565b60405180910390f35b34801561038957600080fd5b506103a4600480360381019061039f91906145f4565b610da1565b005b3480156103b257600080fd5b506103cd60048036038101906103c89190614769565b610eb9565b005b3480156103db57600080fd5b506103e4610f84565b6040516103f191906147b2565b60405180910390f35b34801561040657600080fd5b5061040f610f8a565b60405161041c919061447e565b60405180910390f35b34801561043157600080fd5b5061043a611031565b60405161044791906147b2565b60405180910390f35b34801561045c57600080fd5b50610477600480360381019061047291906147cd565b611042565b005b34801561048557600080fd5b506104a0600480360381019061049b91906145f4565b6110a2565b6040516104ad91906147b2565b60405180910390f35b3480156104c257600080fd5b506104cb6110fc565b005b3480156104d957600080fd5b506104e26111ab565b6040516104ef91906147b2565b60405180910390f35b34801561050457600080fd5b5061050d6111b1565b005b34801561051b57600080fd5b50610536600480360381019061053191906147cd565b61128a565b005b34801561054457600080fd5b5061055f600480360381019061055a9190614820565b6112aa565b005b34801561056d57600080fd5b5061058860048036038101906105839190614580565b61142f565b60405161059591906147b2565b60405180910390f35b3480156105aa57600080fd5b506105b3611452565b6040516105c0919061447e565b60405180910390f35b3480156105d557600080fd5b506105f060048036038101906105eb9190614769565b611465565b005b3480156105fe57600080fd5b506106076114ed565b005b34801561061557600080fd5b50610630600480360381019061062b9190614580565b611586565b60405161063d91906145ad565b60405180910390f35b34801561065257600080fd5b5061065b6115bd565b6040516106689190614532565b60405180910390f35b34801561067d57600080fd5b5061068661164b565b60405161069391906147b2565b60405180910390f35b3480156106a857600080fd5b506106b1611651565b6040516106be9190614532565b60405180910390f35b3480156106d357600080fd5b506106dc6116e3565b6040516106e9919061447e565b60405180910390f35b3480156106fe57600080fd5b5061071960048036038101906107149190614820565b61178a565b60405161072691906147b2565b60405180910390f35b34801561073b57600080fd5b50610744611848565b005b34801561075257600080fd5b5061076d600480360381019061076891906148ad565b6118d0565b60405161077a919061447e565b60405180910390f35b34801561078f57600080fd5b506107aa60048036038101906107a59190614580565b611b52565b005b3480156107b857600080fd5b506107c1611c19565b6040516107ce91906145ad565b60405180910390f35b3480156107e357600080fd5b506107ec611c43565b6040516107f99190614532565b60405180910390f35b61081c60048036038101906108179190614580565b611cd5565b005b34801561082a57600080fd5b506108456004803603810190610840919061497d565b611f52565b005b34801561085357600080fd5b5061086e60048036038101906108699190614580565b6120d3565b6040516108819796959493929190614a12565b60405180910390f35b34801561089657600080fd5b506108b160048036038101906108ac9190614580565b612262565b6040516108be919061447e565b60405180910390f35b3480156108d357600080fd5b506108dc612361565b6040516108e9919061447e565b60405180910390f35b3480156108fe57600080fd5b50610907612374565b604051610914919061447e565b60405180910390f35b34801561092957600080fd5b50610944600480360381019061093f9190614b30565b612387565b005b34801561095257600080fd5b5061096d60048036038101906109689190614580565b6123e9565b60405161097a919061447e565b60405180910390f35b34801561098f57600080fd5b506109aa60048036038101906109a59190614580565b6126e2565b6040516109b79190614532565b60405180910390f35b3480156109cc57600080fd5b506109e760048036038101906109e29190614580565b612855565b6040516109f4919061447e565b60405180910390f35b348015610a0957600080fd5b50610a12612998565b604051610a1f9190614ea3565b60405180910390f35b348015610a3457600080fd5b50610a3d612c39565b604051610a4a91906145ad565b60405180910390f35b348015610a5f57600080fd5b50610a7a6004803603810190610a759190614ec5565b612c5d565b604051610a87919061447e565b60405180910390f35b348015610a9c57600080fd5b50610aa5612cf1565b604051610ab2919061447e565b60405180910390f35b348015610ac757600080fd5b50610ad0612d04565b604051610add91906147b2565b60405180910390f35b348015610af257600080fd5b50610b0d6004803603810190610b089190614820565b612d0a565b005b348015610b1b57600080fd5b50610b366004803603810190610b319190614580565b612e02565b005b600033905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c0b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c7357507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c835750610c828261312f565b5b9050919050565b606060068054610c9990614f34565b80601f0160208091040260200160405190810160405280929190818152602001828054610cc590614f34565b8015610d125780601f10610ce757610100808354040283529160200191610d12565b820191906000526020600020905b815481529060010190602001808311610cf557829003601f168201915b5050505050905090565b6000610d2782613199565b610d66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5d90614fb2565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610dac82611586565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e149061501e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e3c610b38565b73ffffffffffffffffffffffffffffffffffffffff161480610e6b5750610e6a81610e65610b38565b612c5d565b5b610eaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea19061508a565b60405180910390fd5b610eb483836131b6565b505050565b610ec1610b38565b73ffffffffffffffffffffffffffffffffffffffff16610edf611c19565b73ffffffffffffffffffffffffffffffffffffffff1614610f35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2c906150f6565b60405180910390fd5b600c60009054906101000a900460ff1615610f4f57600080fd5b80600b9080519060200190610f65929190614194565b506001600c60006101000a81548160ff02191690831515021790555050565b60115481565b60003073ffffffffffffffffffffffffffffffffffffffff16610fab610b38565b73ffffffffffffffffffffffffffffffffffffffff1614806110065750610fd0611c19565b73ffffffffffffffffffffffffffffffffffffffff16610fee610b38565b73ffffffffffffffffffffffffffffffffffffffff16145b61100f57600080fd5b6001601260016101000a81548160ff0219169083151502179055506001905090565b600061103d600161326f565b905090565b61105361104d610b38565b82613284565b611092576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110899061508a565b60405180910390fd5b61109d838383613362565b505050565b60006110f4826000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061357790919063ffffffff16565b905092915050565b3073ffffffffffffffffffffffffffffffffffffffff1661111b610b38565b73ffffffffffffffffffffffffffffffffffffffff1614806111765750611140611c19565b73ffffffffffffffffffffffffffffffffffffffff1661115e610b38565b73ffffffffffffffffffffffffffffffffffffffff16145b61117f57600080fd5b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b600e5481565b3073ffffffffffffffffffffffffffffffffffffffff166111d0610b38565b73ffffffffffffffffffffffffffffffffffffffff16148061122b57506111f5611c19565b73ffffffffffffffffffffffffffffffffffffffff16611213610b38565b73ffffffffffffffffffffffffffffffffffffffff16145b61123457600080fd5b6000479050611241610b38565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611286573d6000803e3d6000fd5b5050565b6112a583838360405180602001604052806000815250612387565b505050565b3073ffffffffffffffffffffffffffffffffffffffff166112c9610b38565b73ffffffffffffffffffffffffffffffffffffffff16148061132457506112ee611c19565b73ffffffffffffffffffffffffffffffffffffffff1661130c610b38565b73ffffffffffffffffffffffffffffffffffffffff16145b61132d57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb611351610b38565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161138a91906145ad565b602060405180830381865afa1580156113a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113cb919061512b565b6040518363ffffffff1660e01b81526004016113e89291906143a1565b6020604051808303816000875af1158015611407573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142b919061516d565b5050565b60008061144683600161359190919063ffffffff16565b50905080915050919050565b601260009054906101000a900460ff1681565b61146d610b38565b73ffffffffffffffffffffffffffffffffffffffff1661148b611c19565b73ffffffffffffffffffffffffffffffffffffffff16146114e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d8906150f6565b60405180910390fd5b6114ea816135bd565b50565b6114f5610b38565b73ffffffffffffffffffffffffffffffffffffffff16611513611c19565b73ffffffffffffffffffffffffffffffffffffffff1614611569576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611560906150f6565b60405180910390fd5b6001601260006101000a81548160ff021916908315150217905550565b60006115b682604051806060016040528060298152602001615e996029913960016135d79092919063ffffffff16565b9050919050565b600b80546115ca90614f34565b80601f01602080910402602001604051908101604052809291908181526020018280546115f690614f34565b80156116435780601f1061161857610100808354040283529160200191611643565b820191906000526020600020905b81548152906001019060200180831161162657829003601f168201915b505050505081565b600d5481565b60606009805461166090614f34565b80601f016020809104026020016040519081016040528092919081815260200182805461168c90614f34565b80156116d95780601f106116ae576101008083540402835291602001916116d9565b820191906000526020600020905b8154815290600101906020018083116116bc57829003601f168201915b5050505050905090565b60003073ffffffffffffffffffffffffffffffffffffffff16611704610b38565b73ffffffffffffffffffffffffffffffffffffffff16148061175f5750611729611c19565b73ffffffffffffffffffffffffffffffffffffffff16611747610b38565b73ffffffffffffffffffffffffffffffffffffffff16145b61176857600080fd5b6001601260026101000a81548160ff0219169083151502179055506001905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f29061520c565b60405180910390fd5b6118416000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206135f6565b9050919050565b611850610b38565b73ffffffffffffffffffffffffffffffffffffffff1661186e611c19565b73ffffffffffffffffffffffffffffffffffffffff16146118c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118bb906150f6565b60405180910390fd5b6118ce600061360b565b565b6000601260009054906101000a900460ff1680156118fd575060006118fb6118f6610b38565b61178a565b115b80611941575061190b611c19565b73ffffffffffffffffffffffffffffffffffffffff16611929610b38565b73ffffffffffffffffffffffffffffffffffffffff16145b61194a57600080fd5b606060136040518061010001604052808973ffffffffffffffffffffffffffffffffffffffff16815260200188888080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508152602001868152602001858152602001601380549050815260200142815260200160001515815260200183815250908060018154018082558091505060019003906000526020600020906008020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001019080519060200190611a7692919061421a565b50604082015181600201556060820151816003019080519060200190611a9d929190614194565b506080820151816004015560a0820151816005015560c08201518160060160006101000a81548160ff02191690831515021790555060e0820151816007019080519060200190611aee9291906142a0565b5050506001601380549050611b03919061525b565b7febe0c4a4ec7b8ef7f65f3b5939a71abfe43a8573a7151e1e035c4a3a511faa90888888888842604051611b3c969594939291906152bc565b60405180910390a2600191505095945050505050565b3073ffffffffffffffffffffffffffffffffffffffff16611b71610b38565b73ffffffffffffffffffffffffffffffffffffffff161480611bcc5750611b96611c19565b73ffffffffffffffffffffffffffffffffffffffff16611bb4610b38565b73ffffffffffffffffffffffffffffffffffffffff16145b611bd557600080fd5b6000611bdf611031565b905060005b82811015611c1457611c01338284611bfc919061531f565b6136d1565b8080611c0c90615375565b915050611be4565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060078054611c5290614f34565b80601f0160208091040260200160405190810160405280929190818152602001828054611c7e90614f34565b8015611ccb5780601f10611ca057610100808354040283529160200191611ccb565b820191906000526020600020905b815481529060010190602001808311611cae57829003601f168201915b5050505050905090565b600f60009054906101000a900460ff16611d24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1b9061540a565b60405180910390fd5b600e5481611d30611031565b611d3a919061531f565b1115611d7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7290615476565b60405180910390fd5b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff161415611e44573481600d54611dfe9190615496565b1115611e3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e369061553c565b60405180910390fd5b611f00565b60007f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc290508073ffffffffffffffffffffffffffffffffffffffff166323b872dd611e8d610b38565b30600d5486611e9c9190615496565b6040518463ffffffff1660e01b8152600401611eba9392919061555c565b6020604051808303816000875af1158015611ed9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611efd919061516d565b50505b60005b81811015611f4e576000611f15611031565b9050600e54611f22611031565b1015611f3a57611f39611f33610b38565b826136d1565b5b508080611f4690615375565b915050611f03565b5050565b611f5a610b38565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbf906155df565b60405180910390fd5b8060056000611fd5610b38565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612082610b38565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120c7919061447e565b60405180910390a35050565b601381815481106120e357600080fd5b90600052602060002090600802016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169080600101805461212c90614f34565b80601f016020809104026020016040519081016040528092919081815260200182805461215890614f34565b80156121a55780601f1061217a576101008083540402835291602001916121a5565b820191906000526020600020905b81548152906001019060200180831161218857829003601f168201915b5050505050908060020154908060030180546121c090614f34565b80601f01602080910402602001604051908101604052809291908181526020018280546121ec90614f34565b80156122395780601f1061220e57610100808354040283529160200191612239565b820191906000526020600020905b81548152906001019060200180831161221c57829003601f168201915b5050505050908060040154908060050154908060060160009054906101000a900460ff16905087565b60003073ffffffffffffffffffffffffffffffffffffffff16612283610b38565b73ffffffffffffffffffffffffffffffffffffffff1614806122de57506122a8611c19565b73ffffffffffffffffffffffffffffffffffffffff166122c6610b38565b73ffffffffffffffffffffffffffffffffffffffff16145b6122e757600080fd5b600182101580156122f9575060648211155b80156123125750601260019054906101000a900460ff16155b612351576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123489061564b565b60405180910390fd5b8160108190555060019050919050565b601260029054906101000a900460ff1681565b601260019054906101000a900460ff1681565b612398612392610b38565b83613284565b6123d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ce9061508a565b60405180910390fd5b6123e3848484846136ef565b50505050565b6000601260009054906101000a900460ff1680156124165750600061241461240f610b38565b61178a565b115b8061245a5750612424611c19565b73ffffffffffffffffffffffffffffffffffffffff16612442610b38565b73ffffffffffffffffffffffffffffffffffffffff16145b61246357600080fd5b60005b6013838154811061247a5761247961566b565b5b90600052602060002090600802016007018054905081101561258057601383815481106124aa576124a961566b565b5b906000526020600020906008020160070181815481106124cd576124cc61566b565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612516610b38565b73ffffffffffffffffffffffffffffffffffffffff16141561256d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612564906156e6565b60405180910390fd5b808061257890615375565b915050612466565b50601154601383815481106125985761259761566b565b5b9060005260206000209060080201600501546125b4919061531f565b4211156125f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ed90615752565b60405180910390fd5b6013828154811061260a5761260961566b565b5b9060005260206000209060080201600701612623610b38565b9080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061268b610b38565b73ffffffffffffffffffffffffffffffffffffffff16827f843076141b22bb3111b5cc93ee3bd4d4aa089a8f66a980801e28fba5f7f27129426040516126d191906147b2565b60405180910390a360019050919050565b60606126ed82613199565b61272c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612723906157be565b60405180910390fd5b600060086000848152602001908152602001600020805461274c90614f34565b80601f016020809104026020016040519081016040528092919081815260200182805461277890614f34565b80156127c55780601f1061279a576101008083540402835291602001916127c5565b820191906000526020600020905b8154815290600101906020018083116127a857829003601f168201915b5050505050905060006127d6611651565b90506000815114156127ec578192505050612850565b60008251111561282157808260405160200161280992919061581a565b60405160208183030381529060405292505050612850565b8061282b8561374b565b60405160200161283c92919061581a565b604051602081830303815290604052925050505b919050565b60003073ffffffffffffffffffffffffffffffffffffffff16612876610b38565b73ffffffffffffffffffffffffffffffffffffffff1614806128d1575061289b611c19565b73ffffffffffffffffffffffffffffffffffffffff166128b9610b38565b73ffffffffffffffffffffffffffffffffffffffff16145b6128da57600080fd5b601260029054906101000a900460ff161561292a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129219061564b565b60405180910390fd5b611c2082148061293c57506201518082145b8061294957506203f48082145b612988576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297f90615752565b60405180910390fd5b8160118190555060019050919050565b60606013805480602002602001604051908101604052809291908181526020016000905b82821015612c305783829060005260206000209060080201604051806101000160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600182018054612a4690614f34565b80601f0160208091040260200160405190810160405280929190818152602001828054612a7290614f34565b8015612abf5780601f10612a9457610100808354040283529160200191612abf565b820191906000526020600020905b815481529060010190602001808311612aa257829003601f168201915b5050505050815260200160028201548152602001600382018054612ae290614f34565b80601f0160208091040260200160405190810160405280929190818152602001828054612b0e90614f34565b8015612b5b5780601f10612b3057610100808354040283529160200191612b5b565b820191906000526020600020905b815481529060010190602001808311612b3e57829003601f168201915b5050505050815260200160048201548152602001600582015481526020016006820160009054906101000a900460ff1615151515815260200160078201805480602002602001604051908101604052809291908181526020018280548015612c1857602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311612bce575b505050505081525050815260200190600101906129bc565b50505050905090565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600f60009054906101000a900460ff1681565b60105481565b612d12610b38565b73ffffffffffffffffffffffffffffffffffffffff16612d30611c19565b73ffffffffffffffffffffffffffffffffffffffff1614612d86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7d906150f6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612df6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ded906158b0565b60405180910390fd5b612dff8161360b565b50565b6000805b60138381548110612e1a57612e1961566b565b5b906000526020600020906008020160070180549050811015612ec057612ea060138481548110612e4d57612e4c61566b565b5b90600052602060002090600802016007018281548110612e7057612e6f61566b565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661178a565b82612eab919061531f565b91508080612eb890615375565b915050612e06565b506064601054612ece611031565b612ed89190615496565b612ee291906158ff565b811015612f24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1b9061540a565b60405180910390fd5b60138281548110612f3857612f3761566b565b5b906000526020600020906008020160060160009054906101000a900460ff1615612f97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f8e9061553c565b60405180910390fd5b600060138381548110612fad57612fac61566b565b5b906000526020600020906008020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600060138481548110612ff757612ff661566b565b5b906000526020600020906008020160010190506000601385815481106130205761301f61566b565b5b90600052602060002090600802016002015490506000808473ffffffffffffffffffffffffffffffffffffffff16838560405161305d91906159cf565b60006040518083038185875af1925050503d806000811461309a576040519150601f19603f3d011682016040523d82523d6000602084013e61309f565b606091505b5091509150816130ae57600080fd5b6001601388815481106130c4576130c361566b565b5b906000526020600020906008020160060160006101000a81548160ff021916908315150217905550867fc4bd96f14e4eb3a49f563914cddb2fb818af1a959143936ef3744afc23fd42d7428360405161311e9291906159e6565b60405180910390a250505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60006131af8260016138ac90919063ffffffff16565b9050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661322983611586565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061327d826000016138c6565b9050919050565b600061328f82613199565b6132ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132c590615a62565b60405180910390fd5b60006132d983611586565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061334857508373ffffffffffffffffffffffffffffffffffffffff1661333084610d1c565b73ffffffffffffffffffffffffffffffffffffffff16145b8061335957506133588185612c5d565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661338282611586565b73ffffffffffffffffffffffffffffffffffffffff16146133d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133cf90615ace565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613448576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161343f90615b3a565b60405180910390fd5b6134538383836138db565b61345e6000826131b6565b6134ae816000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206138e090919063ffffffff16565b506134ff816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206138fa90919063ffffffff16565b50613516818360016139149092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006135868360000183613949565b60001c905092915050565b6000806000806135a48660000186613974565b915091508160001c8160001c9350935050509250929050565b80600990805190602001906135d3929190614194565b5050565b60006135ea846000018460001b846139b4565b60001c90509392505050565b600061360482600001613a35565b9050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6136eb828260405180602001604052806000815250613a46565b5050565b6136fa848484613362565b61370684848484613aa1565b613745576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161373c90615ba6565b60405180910390fd5b50505050565b60606000821415613793576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506138a7565b600082905060005b600082146137c55780806137ae90615375565b915050600a826137be91906158ff565b915061379b565b60008167ffffffffffffffff8111156137e1576137e061463e565b5b6040519080825280601f01601f1916602001820160405280156138135781602001600182028036833780820191505090505b5090505b600085146138a05760018261382c919061525b565b9150600a8561383b9190615bc6565b6030613847919061531f565b60f81b81838151811061385d5761385c61566b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561389991906158ff565b9450613817565b8093505050505b919050565b60006138be836000018360001b613c05565b905092915050565b60006138d482600001613c25565b9050919050565b505050565b60006138f2836000018360001b613c3a565b905092915050565b600061390c836000018360001b613d4e565b905092915050565b6000613940846000018460001b8473ffffffffffffffffffffffffffffffffffffffff1660001b613dbe565b90509392505050565b60008260000182815481106139615761396061566b565b5b9060005260206000200154905092915050565b600080600061398f8486600001613df990919063ffffffff16565b9050808560020160008381526020019081526020016000205492509250509250929050565b6000808460020160008581526020019081526020016000205490506000801b811415806139e757506139e68585613c05565b5b8390613a29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a209190614532565b60405180910390fd5b50809150509392505050565b600081600001805490509050919050565b613a508383613e10565b613a5d6000848484613aa1565b613a9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a9390615ba6565b60405180910390fd5b505050565b6000613ac28473ffffffffffffffffffffffffffffffffffffffff16613f9d565b613acf5760019050613bfd565b6000613b9663150b7a0260e01b613ae4610b38565b888787604051602401613afa9493929190615bf7565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051806060016040528060328152602001615e67603291398773ffffffffffffffffffffffffffffffffffffffff16613fb09092919063ffffffff16565b9050600081806020019051810190613bae9190615c58565b905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614925050505b949350505050565b6000613c1d8284600001613fc890919063ffffffff16565b905092915050565b6000613c3382600001613a35565b9050919050565b60008083600101600084815260200190815260200160002054905060008114613d42576000600182613c6c919061525b565b9050600060018660000180549050613c84919061525b565b9050818114613cf3576000866000018281548110613ca557613ca461566b565b5b9060005260206000200154905080876000018481548110613cc957613cc861566b565b5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b85600001805480613d0757613d06615c85565b5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050613d48565b60009150505b92915050565b6000613d5a8383613fdf565b613db3578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050613db8565b600090505b92915050565b60008184600201600085815260200190815260200160002081905550613df0838560000161400290919063ffffffff16565b90509392505050565b6000613e088360000183613949565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613e80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e7790615b3a565b60405180910390fd5b613e8981613199565b15613ec9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ec090615d00565b60405180910390fd5b613ed5600083836138db565b613f25816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206138fa90919063ffffffff16565b50613f3c818360016139149092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b6060613fbf8484600085614019565b90509392505050565b6000613fd78360000183613fdf565b905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b60006140118360000183613d4e565b905092915050565b60608247101561405e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161405590615d92565b60405180910390fd5b61406785613f9d565b6140a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161409d90615dfe565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516140cf9190615e4f565b60006040518083038185875af1925050503d806000811461410c576040519150601f19603f3d011682016040523d82523d6000602084013e614111565b606091505b509150915061412182828661412d565b92505050949350505050565b6060831561413d5782905061418d565b6000835111156141505782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016141849190614532565b60405180910390fd5b9392505050565b8280546141a090614f34565b90600052602060002090601f0160209004810192826141c25760008555614209565b82601f106141db57805160ff1916838001178555614209565b82800160010185558215614209579182015b828111156142085782518255916020019190600101906141ed565b5b509050614216919061432a565b5090565b82805461422690614f34565b90600052602060002090601f016020900481019282614248576000855561428f565b82601f1061426157805160ff191683800117855561428f565b8280016001018555821561428f579182015b8281111561428e578251825591602001919060010190614273565b5b50905061429c919061432a565b5090565b828054828255906000526020600020908101928215614319579160200282015b828111156143185782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550916020019190600101906142c0565b5b509050614326919061432a565b5090565b5b8082111561434357600081600090555060010161432b565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061437282614347565b9050919050565b61438281614367565b82525050565b6000819050919050565b61439b81614388565b82525050565b60006040820190506143b66000830185614379565b6143c36020830184614392565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b614413816143de565b811461441e57600080fd5b50565b6000813590506144308161440a565b92915050565b60006020828403121561444c5761444b6143d4565b5b600061445a84828501614421565b91505092915050565b60008115159050919050565b61447881614463565b82525050565b6000602082019050614493600083018461446f565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156144d35780820151818401526020810190506144b8565b838111156144e2576000848401525b50505050565b6000601f19601f8301169050919050565b600061450482614499565b61450e81856144a4565b935061451e8185602086016144b5565b614527816144e8565b840191505092915050565b6000602082019050818103600083015261454c81846144f9565b905092915050565b61455d81614388565b811461456857600080fd5b50565b60008135905061457a81614554565b92915050565b600060208284031215614596576145956143d4565b5b60006145a48482850161456b565b91505092915050565b60006020820190506145c26000830184614379565b92915050565b6145d181614367565b81146145dc57600080fd5b50565b6000813590506145ee816145c8565b92915050565b6000806040838503121561460b5761460a6143d4565b5b6000614619858286016145df565b925050602061462a8582860161456b565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b614676826144e8565b810181811067ffffffffffffffff821117156146955761469461463e565b5b80604052505050565b60006146a86143ca565b90506146b4828261466d565b919050565b600067ffffffffffffffff8211156146d4576146d361463e565b5b6146dd826144e8565b9050602081019050919050565b82818337600083830152505050565b600061470c614707846146b9565b61469e565b90508281526020810184848401111561472857614727614639565b5b6147338482856146ea565b509392505050565b600082601f8301126147505761474f614634565b5b81356147608482602086016146f9565b91505092915050565b60006020828403121561477f5761477e6143d4565b5b600082013567ffffffffffffffff81111561479d5761479c6143d9565b5b6147a98482850161473b565b91505092915050565b60006020820190506147c76000830184614392565b92915050565b6000806000606084860312156147e6576147e56143d4565b5b60006147f4868287016145df565b9350506020614805868287016145df565b92505060406148168682870161456b565b9150509250925092565b600060208284031215614836576148356143d4565b5b6000614844848285016145df565b91505092915050565b600080fd5b600080fd5b60008083601f84011261486d5761486c614634565b5b8235905067ffffffffffffffff81111561488a5761488961484d565b5b6020830191508360018202830111156148a6576148a5614852565b5b9250929050565b6000806000806000608086880312156148c9576148c86143d4565b5b60006148d7888289016145df565b955050602086013567ffffffffffffffff8111156148f8576148f76143d9565b5b61490488828901614857565b945094505060406149178882890161456b565b925050606086013567ffffffffffffffff811115614938576149376143d9565b5b6149448882890161473b565b9150509295509295909350565b61495a81614463565b811461496557600080fd5b50565b60008135905061497781614951565b92915050565b60008060408385031215614994576149936143d4565b5b60006149a2858286016145df565b92505060206149b385828601614968565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60006149e4826149bd565b6149ee81856149c8565b93506149fe8185602086016144b5565b614a07816144e8565b840191505092915050565b600060e082019050614a27600083018a614379565b8181036020830152614a3981896149d9565b9050614a486040830188614392565b8181036060830152614a5a81876144f9565b9050614a696080830186614392565b614a7660a0830185614392565b614a8360c083018461446f565b98975050505050505050565b600067ffffffffffffffff821115614aaa57614aa961463e565b5b614ab3826144e8565b9050602081019050919050565b6000614ad3614ace84614a8f565b61469e565b905082815260208101848484011115614aef57614aee614639565b5b614afa8482856146ea565b509392505050565b600082601f830112614b1757614b16614634565b5b8135614b27848260208601614ac0565b91505092915050565b60008060008060808587031215614b4a57614b496143d4565b5b6000614b58878288016145df565b9450506020614b69878288016145df565b9350506040614b7a8782880161456b565b925050606085013567ffffffffffffffff811115614b9b57614b9a6143d9565b5b614ba787828801614b02565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614be881614367565b82525050565b600082825260208201905092915050565b6000614c0a826149bd565b614c148185614bee565b9350614c248185602086016144b5565b614c2d816144e8565b840191505092915050565b614c4181614388565b82525050565b600082825260208201905092915050565b6000614c6382614499565b614c6d8185614c47565b9350614c7d8185602086016144b5565b614c86816144e8565b840191505092915050565b614c9a81614463565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000614cd88383614bdf565b60208301905092915050565b6000602082019050919050565b6000614cfc82614ca0565b614d068185614cab565b9350614d1183614cbc565b8060005b83811015614d42578151614d298882614ccc565b9750614d3483614ce4565b925050600181019050614d15565b5085935050505092915050565b600061010083016000830151614d686000860182614bdf565b5060208301518482036020860152614d808282614bff565b9150506040830151614d956040860182614c38565b5060608301518482036060860152614dad8282614c58565b9150506080830151614dc26080860182614c38565b5060a0830151614dd560a0860182614c38565b5060c0830151614de860c0860182614c91565b5060e083015184820360e0860152614e008282614cf1565b9150508091505092915050565b6000614e198383614d4f565b905092915050565b6000602082019050919050565b6000614e3982614bb3565b614e438185614bbe565b935083602082028501614e5585614bcf565b8060005b85811015614e915784840389528151614e728582614e0d565b9450614e7d83614e21565b925060208a01995050600181019050614e59565b50829750879550505050505092915050565b60006020820190508181036000830152614ebd8184614e2e565b905092915050565b60008060408385031215614edc57614edb6143d4565b5b6000614eea858286016145df565b9250506020614efb858286016145df565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614f4c57607f821691505b60208210811415614f6057614f5f614f05565b5b50919050565b7f7175657279000000000000000000000000000000000000000000000000000000600082015250565b6000614f9c6005836144a4565b9150614fa782614f66565b602082019050919050565b60006020820190508181036000830152614fcb81614f8f565b9050919050565b7f63757272656e7400000000000000000000000000000000000000000000000000600082015250565b60006150086007836144a4565b915061501382614fd2565b602082019050919050565b6000602082019050818103600083015261503781614ffb565b9050919050565b7f6f776e6572000000000000000000000000000000000000000000000000000000600082015250565b60006150746005836144a4565b915061507f8261503e565b602082019050919050565b600060208201905081810360008301526150a381615067565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006150e06020836144a4565b91506150eb826150aa565b602082019050919050565b6000602082019050818103600083015261510f816150d3565b9050919050565b60008151905061512581614554565b92915050565b600060208284031215615141576151406143d4565b5b600061514f84828501615116565b91505092915050565b60008151905061516781614951565b92915050565b600060208284031215615183576151826143d4565b5b600061519184828501615158565b91505092915050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006151f6602a836144a4565b91506152018261519a565b604082019050919050565b60006020820190508181036000830152615225816151e9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061526682614388565b915061527183614388565b9250828210156152845761528361522c565b5b828203905092915050565b600061529b83856149c8565b93506152a88385846146ea565b6152b1836144e8565b840190509392505050565b600060a0820190506152d16000830189614379565b81810360208301526152e481878961528f565b90506152f36040830186614392565b818103606083015261530581856144f9565b90506153146080830184614392565b979650505050505050565b600061532a82614388565b915061533583614388565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561536a5761536961522c565b5b828201905092915050565b600061538082614388565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156153b3576153b261522c565b5b600182019050919050565b7f7300000000000000000000000000000000000000000000000000000000000000600082015250565b60006153f46001836144a4565b91506153ff826153be565b602082019050919050565b60006020820190508181036000830152615423816153e7565b9050919050565b7f6d00000000000000000000000000000000000000000000000000000000000000600082015250565b60006154606001836144a4565b915061546b8261542a565b602082019050919050565b6000602082019050818103600083015261548f81615453565b9050919050565b60006154a182614388565b91506154ac83614388565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156154e5576154e461522c565b5b828202905092915050565b7f6100000000000000000000000000000000000000000000000000000000000000600082015250565b60006155266001836144a4565b9150615531826154f0565b602082019050919050565b6000602082019050818103600083015261555581615519565b9050919050565b60006060820190506155716000830186614379565b61557e6020830185614379565b61558b6040830184614392565b949350505050565b7f617070726f766500000000000000000000000000000000000000000000000000600082015250565b60006155c96007836144a4565b91506155d482615593565b602082019050919050565b600060208201905081810360008301526155f8816155bc565b9050919050565b7f6600000000000000000000000000000000000000000000000000000000000000600082015250565b60006156356001836144a4565b9150615640826155ff565b602082019050919050565b6000602082019050818103600083015261566481615628565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f7600000000000000000000000000000000000000000000000000000000000000600082015250565b60006156d06001836144a4565b91506156db8261569a565b602082019050919050565b600060208201905081810360008301526156ff816156c3565b9050919050565b7f7400000000000000000000000000000000000000000000000000000000000000600082015250565b600061573c6001836144a4565b915061574782615706565b602082019050919050565b6000602082019050818103600083015261576b8161572f565b9050919050565b7f6578697374000000000000000000000000000000000000000000000000000000600082015250565b60006157a86005836144a4565b91506157b382615772565b602082019050919050565b600060208201905081810360008301526157d78161579b565b9050919050565b600081905092915050565b60006157f482614499565b6157fe81856157de565b935061580e8185602086016144b5565b80840191505092915050565b600061582682856157e9565b915061583282846157e9565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061589a6026836144a4565b91506158a58261583e565b604082019050919050565b600060208201905081810360008301526158c98161588d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061590a82614388565b915061591583614388565b925082615925576159246158d0565b5b828204905092915050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461595d81614f34565b6159678186615930565b945060018216600081146159825760018114615993576159c6565b60ff198316865281860193506159c6565b61599c8561593b565b60005b838110156159be5781548189015260018201915060208101905061599f565b838801955050505b50505092915050565b60006159db8284615950565b915081905092915050565b60006040820190506159fb6000830185614392565b8181036020830152615a0d81846149d9565b90509392505050565b7f6f70657261746f72000000000000000000000000000000000000000000000000600082015250565b6000615a4c6008836144a4565b9150615a5782615a16565b602082019050919050565b60006020820190508181036000830152615a7b81615a3f565b9050919050565b7f6f776e0000000000000000000000000000000000000000000000000000000000600082015250565b6000615ab86003836144a4565b9150615ac382615a82565b602082019050919050565b60006020820190508181036000830152615ae781615aab565b9050919050565b7f7a65726f00000000000000000000000000000000000000000000000000000000600082015250565b6000615b246004836144a4565b9150615b2f82615aee565b602082019050919050565b60006020820190508181036000830152615b5381615b17565b9050919050565b7f7265636569766572000000000000000000000000000000000000000000000000600082015250565b6000615b906008836144a4565b9150615b9b82615b5a565b602082019050919050565b60006020820190508181036000830152615bbf81615b83565b9050919050565b6000615bd182614388565b9150615bdc83614388565b925082615bec57615beb6158d0565b5b828206905092915050565b6000608082019050615c0c6000830187614379565b615c196020830186614379565b615c266040830185614392565b8181036060830152615c3881846149d9565b905095945050505050565b600081519050615c528161440a565b92915050565b600060208284031215615c6e57615c6d6143d4565b5b6000615c7c84828501615c43565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f6d696e7465640000000000000000000000000000000000000000000000000000600082015250565b6000615cea6006836144a4565b9150615cf582615cb4565b602082019050919050565b60006020820190508181036000830152615d1981615cdd565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000615d7c6026836144a4565b9150615d8782615d20565b604082019050919050565b60006020820190508181036000830152615dab81615d6f565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000615de8601d836144a4565b9150615df382615db2565b602082019050919050565b60006020820190508181036000830152615e1781615ddb565b9050919050565b6000615e29826149bd565b615e338185615930565b9350615e438185602086016144b5565b80840191505092915050565b6000615e5b8284615e1e565b91508190509291505056fe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea2646970667358221220b0cccea7e58461353ebd80a208df0fdd4328beede1f9573a072f811259bde23e64736f6c634300080a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000013880000000000000000000000000000000000000000000000000018838370f34000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000e57696e67656420547572746c657300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054b4f4f5041000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Winged Turtles
Arg [1] : _symbol (string): KOOPA
Arg [2] : _maxPossibleSupply (uint256): 5000
Arg [3] : _mintPrice (uint256): 6900000000000000
Arg [4] : _currency (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [5] : _wrappedNativeCoinAddress (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000001388
Arg [3] : 0000000000000000000000000000000000000000000000000018838370f34000
Arg [4] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [5] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [7] : 57696e67656420547572746c6573000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [9] : 4b4f4f5041000000000000000000000000000000000000000000000000000000
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.