ERC-721
Overview
Max Total Supply
555 GD
Holders
273
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 GDLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
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 "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "./IReverseRegistrar.sol"; import "./ERC721.sol"; /** * @title MasterchefMasatoshi * NFT + DAO = NEW META * Vitalik, remove contract size limit pls */ contract MasterchefMasatoshi is ERC721, Ownable { using ECDSA for bytes32; string public PROVENANCE; bool provenanceSet; uint256 public mintPrice; uint256 public maxPossibleSupply; uint256 public allowListMintPrice; uint256 public maxAllowedMints; address public immutable currency; address immutable wrappedNativeCoinAddress; address private signerAddress; address public daoDelegate; uint256 public percentToVote = 60; uint256 public votingDuration = 86400; bool public percentToVoteFrozen; bool public votingDurationFrozen; Voting[] public votings; bool public isDao; bool public paused; address immutable ENSReverseRegistrar = 0x084b1c3C81545d370f3634392De611CaaBFf8148; enum MintStatus { PreMint, AllowList, Public, Finished } MintStatus public mintStatus = MintStatus.PreMint; mapping (address => uint256) totalMintsPerAddress; struct Voting { address contractAddress; bytes data; uint256 value; string comment; uint256 index; uint256 timestamp; bool isActivated; address[] signers; } modifier onlyHoldersOrOwner { require((isDao && balanceOf(msg.sender) > 0) || msg.sender == owner()); _; } modifier onlyContractOrOwner { require(msg.sender == address(this) || msg.sender == owner()); _; } constructor( string memory _name, string memory _symbol, uint256 _maxPossibleSupply, uint256 _mintPrice, uint256 _allowListMintPrice, uint256 _maxAllowedMints, address _signerAddress, address _nftDaoAddress, address _currency, address _wrappedNativeCoinAddress ) ERC721(_name, _symbol, _maxAllowedMints) { maxPossibleSupply = _maxPossibleSupply; mintPrice = _mintPrice; allowListMintPrice = _allowListMintPrice; maxAllowedMints = _maxAllowedMints; signerAddress = _signerAddress; daoDelegate = _nftDaoAddress; currency = _currency; wrappedNativeCoinAddress = _wrappedNativeCoinAddress; } function permanentlyConvertToDao() external onlyOwner { isDao = true; } function flipPaused() external onlyOwner { paused = !paused; } function preMint(uint amount) public onlyContractOrOwner { require(mintStatus == MintStatus.PreMint, "s"); require(totalSupply() + amount <= maxPossibleSupply, "m"); _safeMint(msg.sender, amount); } function setProvenanceHash(string memory provenanceHash) public onlyOwner { require(!provenanceSet); PROVENANCE = provenanceHash; provenanceSet = true; } // warning! don't call this function unless you know what you are doing function setDaoDelegate(address _daoDelegate) external onlyOwner { daoDelegate = _daoDelegate; } function setBaseURI(string memory baseURI) public onlyOwner { _setBaseURI(baseURI); } function changeMintStatus(MintStatus _status) external onlyContractOrOwner { require(_status != MintStatus.PreMint); mintStatus = _status; } function mintAllowList( bytes32 messageHash, bytes calldata signature, uint amount ) public payable { require(hashMessage(msg.sender, address(this)) == messageHash, "i"); require(verifyAddressSigner(messageHash, signature), "f"); _mintWithChecks(amount, allowListMintPrice, MintStatus.AllowList); } function mintPublic(uint amount) public payable { _mintWithChecks(amount, mintPrice, MintStatus.Public); } function _mintWithChecks(uint amount, uint price, MintStatus status) private { require(mintStatus == status && !paused, "s"); require(totalSupply() + amount <= maxPossibleSupply, "m"); require(totalMintsPerAddress[msg.sender] + amount <= maxAllowedMints, "l"); if (currency == wrappedNativeCoinAddress) { require(price * amount <= msg.value, "a"); } else { IERC20 _currency = IERC20(currency); _currency.transferFrom(msg.sender, address(this), amount * price); } totalMintsPerAddress[msg.sender] = totalMintsPerAddress[msg.sender] + amount; _safeMint(msg.sender, amount); if (totalSupply() == maxPossibleSupply) { mintStatus = MintStatus.Finished; } } receive() external payable { mintPublic(msg.value / mintPrice); } function addReverseENSRecord(string memory name) external onlyOwner { IReverseRegistrar(ENSReverseRegistrar).setName(name); } function verifyAddressSigner(bytes32 messageHash, bytes memory signature) private view returns (bool) { return signerAddress == messageHash.toEthSignedMessageHash().recover(signature); } function hashMessage(address sender, address thisContract) public pure returns (bytes32) { return keccak256(abi.encodePacked(sender, thisContract)); } function getAllVotings() external view returns (Voting[] memory) { return votings; } function withdraw() external onlyOwner() { payable(msg.sender).transfer(address(this).balance); } function withdrawTokens(address tokenAddress) external onlyOwner() { IERC20(tokenAddress).transfer(msg.sender, IERC20(tokenAddress).balanceOf(address(this))); } fallback() external { assembly { let ptr := mload(0x40) calldatacopy(ptr, 0, calldatasize()) let result := delegatecall(gas(), sload(daoDelegate.slot), ptr, calldatasize(), 0, 0) let size := returndatasize() returndatacopy(ptr, 0, size) switch result case 0 {revert(ptr, size)} default {return (ptr, size)} } } } // 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: MIT pragma solidity ^0.8.0; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: UNLICENSED pragma solidity >=0.8.4; interface IReverseRegistrar { function setDefaultResolver(address resolver) external; function claim(address owner) external returns (bytes32); function claimForAddr( address addr, address owner, address resolver ) external returns (bytes32); function claimWithResolver(address owner, address resolver) external returns (bytes32); function setName(string memory name) external returns (bytes32); function setNameForAddr( address addr, address owner, address resolver, string memory name ) external returns (bytes32); function node(address addr) external pure returns (bytes32); }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.10; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..). * * Does not support burning tokens to address(0). */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; struct TokenOwnership { address addr; uint64 startTimestamp; } struct AddressData { uint128 balance; uint128 numberMinted; } uint256 private currentIndex = 0; uint256 internal immutable maxBatchSize; // Token name string private _name; // Token symbol string private _symbol; // Base URI string private _baseURI; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) private _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev * `maxBatchSize` refers to how much a minter can mint at a time. */ constructor( string memory name_, string memory symbol_, uint256 maxBatchSize_ ) { require(maxBatchSize_ > 0, "b"); _name = name_; _symbol = symbol_; maxBatchSize = maxBatchSize_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { return currentIndex; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view override returns (uint256) { require(index < totalSupply(), "g"); return index; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { require(index < balanceOf(owner), "b"); uint256 numMintedSoFar = totalSupply(); uint256 tokenIdsIdx = 0; address currOwnershipAddr = address(0); for (uint256 i = 0; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } revert("u"); } /** * @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 override returns (uint256) { require(owner != address(0), "0"); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { require(owner != address(0), "0"); return uint256(_addressData[owner].numberMinted); } function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { require(_exists(tokenId), "t"); uint256 lowestTokenToCheck; if (tokenId >= maxBatchSize) { lowestTokenToCheck = tokenId - maxBatchSize + 1; } for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) { TokenOwnership memory ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } revert("o"); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @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), "z"); return bytes(_baseURI).length > 0 ? string(abi.encodePacked(_baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function baseURI() public view virtual returns (string memory) { return _baseURI; } /** * @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 See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "o"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "a" ); _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { require(_exists(tokenId), "a"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { require(operator != _msgSender(), "a"); _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 override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public override { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "z" ); } /** * @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`), */ function _exists(uint256 tokenId) internal view returns (bool) { return tokenId < currentIndex; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ""); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` cannot be larger than the max batch size. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = currentIndex; require(to != address(0), "0"); // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering. require(!_exists(startTokenId), "a"); require(quantity <= maxBatchSize, "m"); _beforeTokenTransfers(address(0), to, startTokenId, quantity); AddressData memory addressData = _addressData[to]; _addressData[to] = AddressData( addressData.balance + uint128(quantity), addressData.numberMinted + uint128(quantity) ); _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp)); uint256 updatedIndex = startTokenId; for (uint256 i = 0; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); require( _checkOnERC721Received(address(0), to, updatedIndex, _data), "z" ); updatedIndex++; } currentIndex = updatedIndex; _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || getApproved(tokenId) == _msgSender() || isApprovedForAll(prevOwnership.addr, _msgSender())); require(isApprovedOrOwner, "a"); require(prevOwnership.addr == from, "o"); require(to != address(0), "0"); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp)); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { if (_exists(nextTokenId)) { _ownerships[nextTokenId] = TokenOwnership(prevOwnership.addr, prevOwnership.startTimestamp); } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } uint256 public nextOwnerToExplicitlySet = 0; /** * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf(). */ function _setOwnersExplicit(uint256 quantity) internal { uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet; require(quantity > 0, "q"); uint256 endIndex = oldNextOwnerToSet + quantity - 1; if (endIndex > currentIndex - 1) { endIndex = currentIndex - 1; } // We know if the last one in the group exists, all in the group exist, due to serial ordering. require(_exists(endIndex), "n"); for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) { if (_ownerships[i].addr == address(0)) { TokenOwnership memory ownership = ownershipOf(i); _ownerships[i] = TokenOwnership(ownership.addr, ownership.startTimestamp); } } nextOwnerToExplicitlySet = endIndex + 1; } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("z"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * 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`. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) 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; 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 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 "./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; /** * @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":"uint256","name":"_allowListMintPrice","type":"uint256"},{"internalType":"uint256","name":"_maxAllowedMints","type":"uint256"},{"internalType":"address","name":"_signerAddress","type":"address"},{"internalType":"address","name":"_nftDaoAddress","type":"address"},{"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":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"},{"stateMutability":"nonpayable","type":"fallback"},{"inputs":[],"name":"PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"name","type":"string"}],"name":"addReverseENSRecord","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"allowListMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"enum MasterchefMasatoshi.MintStatus","name":"_status","type":"uint8"}],"name":"changeMintStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currency","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"daoDelegate","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipPaused","outputs":[],"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":"sender","type":"address"},{"internalType":"address","name":"thisContract","type":"address"}],"name":"hashMessage","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","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":"maxAllowedMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPossibleSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"messageHash","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintAllowList","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintStatus","outputs":[{"internalType":"enum MasterchefMasatoshi.MintStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_daoDelegate","type":"address"}],"name":"setDaoDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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
610100604052600080556000600855603c6012556201518060135573084b1c3c81545d370f3634392de611caabff814873ffffffffffffffffffffffffffffffffffffffff1660e09073ffffffffffffffffffffffffffffffffffffffff168152506000601660026101000a81548160ff021916908360038111156200008a5762000089620003fc565b5b02179055503480156200009c57600080fd5b50604051620068a4380380620068a48339818101604052810190620000c2919062000668565b898986600081116200010b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200010290620007fd565b60405180910390fd5b8260019080519060200190620001239291906200034c565b5081600290805190602001906200013c9291906200034c565b508060808181525050505050620001686200015c6200027e60201b60201c565b6200028660201b60201c565b87600d8190555086600c8190555085600e8190555084600f8190555083601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff16815250508073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff16815250505050505050505050505062000884565b600033905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200035a906200084e565b90600052602060002090601f0160209004810192826200037e5760008555620003ca565b82601f106200039957805160ff1916838001178555620003ca565b82800160010185558215620003ca579182015b82811115620003c9578251825591602001919060010190620003ac565b5b509050620003d99190620003dd565b5090565b5b80821115620003f8576000816000905550600101620003de565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620004948262000449565b810181811067ffffffffffffffff82111715620004b657620004b56200045a565b5b80604052505050565b6000620004cb6200042b565b9050620004d9828262000489565b919050565b600067ffffffffffffffff821115620004fc57620004fb6200045a565b5b620005078262000449565b9050602081019050919050565b60005b838110156200053457808201518184015260208101905062000517565b8381111562000544576000848401525b50505050565b6000620005616200055b84620004de565b620004bf565b90508281526020810184848401111562000580576200057f62000444565b5b6200058d84828562000514565b509392505050565b600082601f830112620005ad57620005ac6200043f565b5b8151620005bf8482602086016200054a565b91505092915050565b6000819050919050565b620005dd81620005c8565b8114620005e957600080fd5b50565b600081519050620005fd81620005d2565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620006308262000603565b9050919050565b620006428162000623565b81146200064e57600080fd5b50565b600081519050620006628162000637565b92915050565b6000806000806000806000806000806101408b8d0312156200068f576200068e62000435565b5b60008b015167ffffffffffffffff811115620006b057620006af6200043a565b5b620006be8d828e0162000595565b9a505060208b015167ffffffffffffffff811115620006e257620006e16200043a565b5b620006f08d828e0162000595565b9950506040620007038d828e01620005ec565b9850506060620007168d828e01620005ec565b9750506080620007298d828e01620005ec565b96505060a06200073c8d828e01620005ec565b95505060c06200074f8d828e0162000651565b94505060e0620007628d828e0162000651565b935050610100620007768d828e0162000651565b9250506101206200078a8d828e0162000651565b9150509295989b9194979a5092959850565b600082825260208201905092915050565b7f6200000000000000000000000000000000000000000000000000000000000000600082015250565b6000620007e56001836200079c565b9150620007f282620007ad565b602082019050919050565b600060208201905081810360008301526200081881620007d6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200086757607f821691505b602082108114156200087e576200087d6200081f565b5b50919050565b60805160a05160c05160e051615fca620008da600039600061233d015260006129a801526000818161267e015281816129df0152612a710152600081816133520152818161337b0152613a100152615fca6000f3fe6080604052600436106102cd5760003560e01c80636c0360eb11610175578063a9361ffd116100dc578063dfb5259c11610095578063e985e9c51161006f578063e985e9c514610b0b578063efd0cbf914610b48578063f0efb08914610b64578063f2fde38b14610b8f576102ea565b8063dfb5259c14610a8c578063e4c41bb414610ab5578063e5a6b10f14610ae0576102ea565b8063a9361ffd14610989578063a9cbd06d146109b4578063b21a41d2146109d0578063b88d4fde146109fb578063c87b56dd14610a24578063d7224ba014610a61576102ea565b80638da5cb5b1161012e5780638da5cb5b146108715780638df4247d1461089c57806395d89b41146108c75780639da3f8fd146108f2578063a22cb4651461091d578063a598d03c14610946576102ea565b80636c0360eb146107635780636c82054b1461078e57806370a08231146107cb578063715018a6146108085780637cac26021461081f5780638ad433ac14610848576102ea565b80633ccfd60b1161023457806355f804b3116101ed5780636352211e116101c75780636352211e146106a55780636373a6b1146106e25780636817c76c1461070d57806368855b6414610738576102ea565b806355f804b31461063a5780635c975abb146106635780635d86842a1461068e576102ea565b80633ccfd60b1461053e57806342842e0e1461055557806344fead9e1461057e57806349df728c146105a95780634f6ccce7146105d25780635029e6021461060f576102ea565b8063132002fc11610286578063132002fc1461044057806318160ddd1461046b57806323b872dd146104965780632f745c59146104bf578063333171bb146104fc578063386b769114610513576102ea565b806301ffc9a71461032057806306fdde031461035d578063081812fc14610388578063095ea7b3146103c5578063108efbaa146103ee5780631096952314610417576102ea565b366102ea576102e8600c54346102e39190614390565b610bb8565b005b3480156102f657600080fd5b50604051366000823760008036836011545af43d806000843e816000811461031c578184f35b8184fd5b34801561032c57600080fd5b506103476004803603810190610342919061442d565b610bc9565b6040516103549190614475565b60405180910390f35b34801561036957600080fd5b50610372610d13565b60405161037f9190614529565b60405180910390f35b34801561039457600080fd5b506103af60048036038101906103aa9190614577565b610da5565b6040516103bc91906145e5565b60405180910390f35b3480156103d157600080fd5b506103ec60048036038101906103e7919061462c565b610e2a565b005b3480156103fa57600080fd5b506104156004803603810190610410919061466c565b610f43565b005b34801561042357600080fd5b5061043e600480360381019061043991906147ce565b611003565b005b34801561044c57600080fd5b506104556110ce565b6040516104629190614826565b60405180910390f35b34801561047757600080fd5b506104806110d4565b60405161048d9190614826565b60405180910390f35b3480156104a257600080fd5b506104bd60048036038101906104b89190614841565b6110dd565b005b3480156104cb57600080fd5b506104e660048036038101906104e1919061462c565b6110ed565b6040516104f39190614826565b60405180910390f35b34801561050857600080fd5b506105116112eb565b005b34801561051f57600080fd5b50610528611393565b6040516105359190614826565b60405180910390f35b34801561054a57600080fd5b50610553611399565b005b34801561056157600080fd5b5061057c60048036038101906105779190614841565b61145e565b005b34801561058a57600080fd5b5061059361147e565b6040516105a09190614826565b60405180910390f35b3480156105b557600080fd5b506105d060048036038101906105cb919061466c565b611484565b005b3480156105de57600080fd5b506105f960048036038101906105f49190614577565b6115fb565b6040516106069190614826565b60405180910390f35b34801561061b57600080fd5b5061062461164e565b6040516106319190614475565b60405180910390f35b34801561064657600080fd5b50610661600480360381019061065c91906147ce565b611661565b005b34801561066f57600080fd5b506106786116e9565b6040516106859190614475565b60405180910390f35b34801561069a57600080fd5b506106a36116fc565b005b3480156106b157600080fd5b506106cc60048036038101906106c79190614577565b611795565b6040516106d991906145e5565b60405180910390f35b3480156106ee57600080fd5b506106f76117ab565b6040516107049190614529565b60405180910390f35b34801561071957600080fd5b50610722611839565b60405161072f9190614826565b60405180910390f35b34801561074457600080fd5b5061074d61183f565b60405161075a9190614826565b60405180910390f35b34801561076f57600080fd5b50610778611845565b6040516107859190614529565b60405180910390f35b34801561079a57600080fd5b506107b560048036038101906107b09190614894565b6118d7565b6040516107c291906148ed565b60405180910390f35b3480156107d757600080fd5b506107f260048036038101906107ed919061466c565b61190a565b6040516107ff9190614826565b60405180910390f35b34801561081457600080fd5b5061081d6119f3565b005b34801561082b57600080fd5b506108466004803603810190610841919061492d565b611a7b565b005b34801561085457600080fd5b5061086f600480360381019061086a9190614577565b611b4f565b005b34801561087d57600080fd5b50610886611c9e565b60405161089391906145e5565b60405180910390f35b3480156108a857600080fd5b506108b1611cc8565b6040516108be91906145e5565b60405180910390f35b3480156108d357600080fd5b506108dc611cee565b6040516108e99190614529565b60405180910390f35b3480156108fe57600080fd5b50610907611d80565b60405161091491906149d1565b60405180910390f35b34801561092957600080fd5b50610944600480360381019061093f9190614a18565b611d93565b005b34801561095257600080fd5b5061096d60048036038101906109689190614577565b611f14565b6040516109809796959493929190614aad565b60405180910390f35b34801561099557600080fd5b5061099e6120a3565b6040516109ab9190614475565b60405180910390f35b6109ce60048036038101906109c99190614bb6565b6120b6565b005b3480156109dc57600080fd5b506109e56121a2565b6040516109f29190614475565b60405180910390f35b348015610a0757600080fd5b50610a226004803603810190610a1d9190614ccb565b6121b5565b005b348015610a3057600080fd5b50610a4b6004803603810190610a469190614577565b612211565b604051610a589190614529565b60405180910390f35b348015610a6d57600080fd5b50610a766122b9565b604051610a839190614826565b60405180910390f35b348015610a9857600080fd5b50610ab36004803603810190610aae91906147ce565b6122bf565b005b348015610ac157600080fd5b50610aca6123db565b604051610ad7919061503e565b60405180910390f35b348015610aec57600080fd5b50610af561267c565b604051610b0291906145e5565b60405180910390f35b348015610b1757600080fd5b50610b326004803603810190610b2d9190614894565b6126a0565b604051610b3f9190614475565b60405180910390f35b610b626004803603810190610b5d9190614577565b610bb8565b005b348015610b7057600080fd5b50610b79612734565b604051610b869190614826565b60405180910390f35b348015610b9b57600080fd5b50610bb66004803603810190610bb1919061466c565b61273a565b005b610bc681600c546002612832565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c9457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cfc57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610d0c5750610d0b82612bfa565b5b9050919050565b606060018054610d229061508f565b80601f0160208091040260200160405190810160405280929190818152602001828054610d4e9061508f565b8015610d9b5780601f10610d7057610100808354040283529160200191610d9b565b820191906000526020600020905b815481529060010190602001808311610d7e57829003601f168201915b5050505050905090565b6000610db082612c64565b610def576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de69061510d565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610e3582611795565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ea6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9d90615179565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ec5612c71565b73ffffffffffffffffffffffffffffffffffffffff161480610ef45750610ef381610eee612c71565b6126a0565b5b610f33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2a9061510d565b60405180910390fd5b610f3e838383612c79565b505050565b610f4b612c71565b73ffffffffffffffffffffffffffffffffffffffff16610f69611c9e565b73ffffffffffffffffffffffffffffffffffffffff1614610fbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb6906151e5565b60405180910390fd5b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61100b612c71565b73ffffffffffffffffffffffffffffffffffffffff16611029611c9e565b73ffffffffffffffffffffffffffffffffffffffff161461107f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611076906151e5565b60405180910390fd5b600b60009054906101000a900460ff161561109957600080fd5b80600a90805190602001906110af92919061424b565b506001600b60006101000a81548160ff02191690831515021790555050565b60135481565b60008054905090565b6110e8838383612d2b565b505050565b60006110f88361190a565b8210611139576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113090615251565b60405180910390fd5b60006111436110d4565b905060008060005b838110156112a9576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461123d57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561129557868414156112865781955050505050506112e5565b838061129190615271565b9450505b5080806112a190615271565b91505061114b565b506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112dc90615306565b60405180910390fd5b92915050565b6112f3612c71565b73ffffffffffffffffffffffffffffffffffffffff16611311611c9e565b73ffffffffffffffffffffffffffffffffffffffff1614611367576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135e906151e5565b60405180910390fd5b601660019054906101000a900460ff1615601660016101000a81548160ff021916908315150217905550565b600d5481565b6113a1612c71565b73ffffffffffffffffffffffffffffffffffffffff166113bf611c9e565b73ffffffffffffffffffffffffffffffffffffffff1614611415576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140c906151e5565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561145b573d6000803e3d6000fd5b50565b611479838383604051806020016040528060008152506121b5565b505050565b600f5481565b61148c612c71565b73ffffffffffffffffffffffffffffffffffffffff166114aa611c9e565b73ffffffffffffffffffffffffffffffffffffffff1614611500576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f7906151e5565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161155691906145e5565b602060405180830381865afa158015611573573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611597919061533b565b6040518363ffffffff1660e01b81526004016115b4929190615368565b6020604051808303816000875af11580156115d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f791906153a6565b5050565b60006116056110d4565b8210611646576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163d9061541f565b60405180910390fd5b819050919050565b601660009054906101000a900460ff1681565b611669612c71565b73ffffffffffffffffffffffffffffffffffffffff16611687611c9e565b73ffffffffffffffffffffffffffffffffffffffff16146116dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d4906151e5565b60405180910390fd5b6116e6816132e4565b50565b601660019054906101000a900460ff1681565b611704612c71565b73ffffffffffffffffffffffffffffffffffffffff16611722611c9e565b73ffffffffffffffffffffffffffffffffffffffff1614611778576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176f906151e5565b60405180910390fd5b6001601660006101000a81548160ff021916908315150217905550565b60006117a0826132fe565b600001519050919050565b600a80546117b89061508f565b80601f01602080910402602001604051908101604052809291908181526020018280546117e49061508f565b80156118315780601f1061180657610100808354040283529160200191611831565b820191906000526020600020905b81548152906001019060200180831161181457829003601f168201915b505050505081565b600c5481565b600e5481565b6060600380546118549061508f565b80601f01602080910402602001604051908101604052809291908181526020018280546118809061508f565b80156118cd5780601f106118a2576101008083540402835291602001916118cd565b820191906000526020600020905b8154815290600101906020018083116118b057829003601f168201915b5050505050905090565b600082826040516020016118ec929190615487565b60405160208183030381529060405280519060200120905092915050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561197b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611972906154ff565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b6119fb612c71565b73ffffffffffffffffffffffffffffffffffffffff16611a19611c9e565b73ffffffffffffffffffffffffffffffffffffffff1614611a6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a66906151e5565b60405180910390fd5b611a796000613501565b565b3073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611ae75750611ab8611c9e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611af057600080fd5b60006003811115611b0457611b0361495a565b5b816003811115611b1757611b1661495a565b5b1415611b2257600080fd5b80601660026101000a81548160ff02191690836003811115611b4757611b4661495a565b5b021790555050565b3073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611bbb5750611b8c611c9e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611bc457600080fd5b60006003811115611bd857611bd761495a565b5b601660029054906101000a900460ff166003811115611bfa57611bf961495a565b5b14611c3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c319061556b565b60405180910390fd5b600d5481611c466110d4565b611c50919061558b565b1115611c91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c889061562d565b60405180910390fd5b611c9b33826135c7565b50565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060028054611cfd9061508f565b80601f0160208091040260200160405190810160405280929190818152602001828054611d299061508f565b8015611d765780601f10611d4b57610100808354040283529160200191611d76565b820191906000526020600020905b815481529060010190602001808311611d5957829003601f168201915b5050505050905090565b601660029054906101000a900460ff1681565b611d9b612c71565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e009061510d565b60405180910390fd5b8060076000611e16612c71565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ec3612c71565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f089190614475565b60405180910390a35050565b60158181548110611f2457600080fd5b90600052602060002090600802016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690806001018054611f6d9061508f565b80601f0160208091040260200160405190810160405280929190818152602001828054611f999061508f565b8015611fe65780601f10611fbb57610100808354040283529160200191611fe6565b820191906000526020600020905b815481529060010190602001808311611fc957829003601f168201915b5050505050908060020154908060030180546120019061508f565b80601f016020809104026020016040519081016040528092919081815260200182805461202d9061508f565b801561207a5780601f1061204f5761010080835404028352916020019161207a565b820191906000526020600020905b81548152906001019060200180831161205d57829003601f168201915b5050505050908060040154908060050154908060060160009054906101000a900460ff16905087565b601460019054906101000a900460ff1681565b836120c133306118d7565b14612101576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f890615699565b60405180910390fd5b61214f8484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506135e5565b61218e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218590615705565b60405180910390fd5b61219c81600e546001612832565b50505050565b601460009054906101000a900460ff1681565b6121c0848484612d2b565b6121cc8484848461365a565b61220b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220290615771565b60405180910390fd5b50505050565b606061221c82612c64565b61225b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225290615771565b60405180910390fd5b60006003805461226a9061508f565b90501161228657604051806020016040528060008152506122b2565b6003612291836137e2565b6040516020016122a2929190615861565b6040516020818303038152906040525b9050919050565b60085481565b6122c7612c71565b73ffffffffffffffffffffffffffffffffffffffff166122e5611c9e565b73ffffffffffffffffffffffffffffffffffffffff161461233b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612332906151e5565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663c47f0027826040518263ffffffff1660e01b81526004016123949190614529565b6020604051808303816000875af11580156123b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123d7919061589a565b5050565b60606015805480602002602001604051908101604052809291908181526020016000905b828210156126735783829060005260206000209060080201604051806101000160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820180546124899061508f565b80601f01602080910402602001604051908101604052809291908181526020018280546124b59061508f565b80156125025780601f106124d757610100808354040283529160200191612502565b820191906000526020600020905b8154815290600101906020018083116124e557829003601f168201915b50505050508152602001600282015481526020016003820180546125259061508f565b80601f01602080910402602001604051908101604052809291908181526020018280546125519061508f565b801561259e5780601f106125735761010080835404028352916020019161259e565b820191906000526020600020905b81548152906001019060200180831161258157829003601f168201915b5050505050815260200160048201548152602001600582015481526020016006820160009054906101000a900460ff161515151581526020016007820180548060200260200160405190810160405280929190818152602001828054801561265b57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311612611575b505050505081525050815260200190600101906123ff565b50505050905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60125481565b612742612c71565b73ffffffffffffffffffffffffffffffffffffffff16612760611c9e565b73ffffffffffffffffffffffffffffffffffffffff16146127b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ad906151e5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612826576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281d90615939565b60405180910390fd5b61282f81613501565b50565b8060038111156128455761284461495a565b5b601660029054906101000a900460ff1660038111156128675761286661495a565b5b1480156128815750601660019054906101000a900460ff16155b6128c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128b79061556b565b60405180910390fd5b600d54836128cc6110d4565b6128d6919061558b565b1115612917576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290e9061562d565b60405180910390fd5b600f5483601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612965919061558b565b11156129a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299d906159a5565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff161415612a6d57348383612a2791906159c5565b1115612a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5f9061510d565b60405180910390fd5b612b20565b60007f000000000000000000000000000000000000000000000000000000000000000090508073ffffffffffffffffffffffffffffffffffffffff166323b872dd33308688612abc91906159c5565b6040518463ffffffff1660e01b8152600401612ada93929190615a1f565b6020604051808303816000875af1158015612af9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b1d91906153a6565b50505b82601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612b6b919061558b565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612bb833846135c7565b600d54612bc36110d4565b1415612bf5576003601660026101000a81548160ff02191690836003811115612bef57612bee61495a565b5b02179055505b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000612d36826132fe565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612d5d612c71565b73ffffffffffffffffffffffffffffffffffffffff161480612db95750612d82612c71565b73ffffffffffffffffffffffffffffffffffffffff16612da184610da5565b73ffffffffffffffffffffffffffffffffffffffff16145b80612dd55750612dd48260000151612dcf612c71565b6126a0565b5b905080612e17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e0e9061510d565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612e89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8090615179565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612ef9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ef0906154ff565b60405180910390fd5b612f068585856001613943565b612f166000848460000151612c79565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612f849190615a72565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff166130289190615aa6565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600060018461312e919061558b565b9050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415613274576131a481612c64565b15613273576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506004600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46132dc8686866001613949565b505050505050565b80600390805190602001906132fa92919061424b565b5050565b6133066142d1565b61330f82612c64565b61334e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161334590615b38565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000083106133b25760017f0000000000000000000000000000000000000000000000000000000000000000846133a59190615b58565b6133af919061558b565b90505b60008390505b8181106134c0576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146134ac578093505050506134fc565b5080806134b890615b8c565b9150506133b8565b506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134f390615179565b60405180910390fd5b919050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6135e182826040518060200160405280600081525061394f565b5050565b6000613602826135f485613e2e565b613e5e90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b600061367b8473ffffffffffffffffffffffffffffffffffffffff16613e85565b156137d5578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026136a4612c71565b8786866040518563ffffffff1660e01b81526004016136c69493929190615bb6565b6020604051808303816000875af192505050801561370257506040513d601f19601f820116820180604052508101906136ff9190615c17565b60015b613785573d8060008114613732576040519150601f19603f3d011682016040523d82523d6000602084013e613737565b606091505b5060008151141561377d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161377490615771565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506137da565b600190505b949350505050565b6060600082141561382a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061393e565b600082905060005b6000821461385c57808061384590615271565b915050600a826138559190614390565b9150613832565b60008167ffffffffffffffff811115613878576138776146a3565b5b6040519080825280601f01601f1916602001820160405280156138aa5781602001600182028036833780820191505090505b5090505b60008514613937576001826138c39190615b58565b9150600a856138d29190615c44565b60306138de919061558b565b60f81b8183815181106138f4576138f3615c75565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856139309190614390565b94506138ae565b8093505050505b919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156139c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139bc906154ff565b60405180910390fd5b6139ce81612c64565b15613a0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a059061510d565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000831115613a71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a689061562d565b60405180910390fd5b613a7e6000858386613943565b6000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168152505090506040518060400160405280858360000151613b7b9190615aa6565b6fffffffffffffffffffffffffffffffff168152602001858360200151613ba29190615aa6565b6fffffffffffffffffffffffffffffffff16815250600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b85811015613e1157818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613db1600088848861365a565b613df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613de790615771565b60405180910390fd5b8180613dfb90615271565b9250508080613e0990615271565b915050613d40565b5080600081905550613e266000878588613949565b505050505050565b600081604051602001613e419190615d11565b604051602081830303815290604052805190602001209050919050565b6000806000613e6d8585613e98565b91509150613e7a81613f1b565b819250505092915050565b600080823b905060008111915050919050565b600080604183511415613eda5760008060006020860151925060408601519150606086015160001a9050613ece878285856140f0565b94509450505050613f14565b604083511415613f0b576000806020850151915060408501519050613f008683836141fd565b935093505050613f14565b60006002915091505b9250929050565b60006004811115613f2f57613f2e61495a565b5b816004811115613f4257613f4161495a565b5b1415613f4d576140ed565b60016004811115613f6157613f6061495a565b5b816004811115613f7457613f7361495a565b5b1415613fb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613fac90615d83565b60405180910390fd5b60026004811115613fc957613fc861495a565b5b816004811115613fdc57613fdb61495a565b5b141561401d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161401490615def565b60405180910390fd5b600360048111156140315761403061495a565b5b8160048111156140445761404361495a565b5b1415614085576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161407c90615e81565b60405180910390fd5b6004808111156140985761409761495a565b5b8160048111156140ab576140aa61495a565b5b14156140ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016140e390615f13565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561412b5760006003915091506141f4565b601b8560ff16141580156141435750601c8560ff1614155b156141555760006004915091506141f4565b60006001878787876040516000815260200160405260405161417a9493929190615f4f565b6020604051602081039080840390855afa15801561419c573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156141eb576000600192509250506141f4565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c01905061423d878288856140f0565b935093505050935093915050565b8280546142579061508f565b90600052602060002090601f01602090048101928261427957600085556142c0565b82601f1061429257805160ff19168380011785556142c0565b828001600101855582156142c0579182015b828111156142bf5782518255916020019190600101906142a4565b5b5090506142cd919061430b565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b8082111561432457600081600090555060010161430c565b5090565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061439b82614328565b91506143a683614328565b9250826143b6576143b5614332565b5b828204905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61440a816143d5565b811461441557600080fd5b50565b60008135905061442781614401565b92915050565b600060208284031215614443576144426143cb565b5b600061445184828501614418565b91505092915050565b60008115159050919050565b61446f8161445a565b82525050565b600060208201905061448a6000830184614466565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156144ca5780820151818401526020810190506144af565b838111156144d9576000848401525b50505050565b6000601f19601f8301169050919050565b60006144fb82614490565b614505818561449b565b93506145158185602086016144ac565b61451e816144df565b840191505092915050565b6000602082019050818103600083015261454381846144f0565b905092915050565b61455481614328565b811461455f57600080fd5b50565b6000813590506145718161454b565b92915050565b60006020828403121561458d5761458c6143cb565b5b600061459b84828501614562565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006145cf826145a4565b9050919050565b6145df816145c4565b82525050565b60006020820190506145fa60008301846145d6565b92915050565b614609816145c4565b811461461457600080fd5b50565b60008135905061462681614600565b92915050565b60008060408385031215614643576146426143cb565b5b600061465185828601614617565b925050602061466285828601614562565b9150509250929050565b600060208284031215614682576146816143cb565b5b600061469084828501614617565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6146db826144df565b810181811067ffffffffffffffff821117156146fa576146f96146a3565b5b80604052505050565b600061470d6143c1565b905061471982826146d2565b919050565b600067ffffffffffffffff821115614739576147386146a3565b5b614742826144df565b9050602081019050919050565b82818337600083830152505050565b600061477161476c8461471e565b614703565b90508281526020810184848401111561478d5761478c61469e565b5b61479884828561474f565b509392505050565b600082601f8301126147b5576147b4614699565b5b81356147c584826020860161475e565b91505092915050565b6000602082840312156147e4576147e36143cb565b5b600082013567ffffffffffffffff811115614802576148016143d0565b5b61480e848285016147a0565b91505092915050565b61482081614328565b82525050565b600060208201905061483b6000830184614817565b92915050565b60008060006060848603121561485a576148596143cb565b5b600061486886828701614617565b935050602061487986828701614617565b925050604061488a86828701614562565b9150509250925092565b600080604083850312156148ab576148aa6143cb565b5b60006148b985828601614617565b92505060206148ca85828601614617565b9150509250929050565b6000819050919050565b6148e7816148d4565b82525050565b600060208201905061490260008301846148de565b92915050565b6004811061491557600080fd5b50565b60008135905061492781614908565b92915050565b600060208284031215614943576149426143cb565b5b600061495184828501614918565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6004811061499a5761499961495a565b5b50565b60008190506149ab82614989565b919050565b60006149bb8261499d565b9050919050565b6149cb816149b0565b82525050565b60006020820190506149e660008301846149c2565b92915050565b6149f58161445a565b8114614a0057600080fd5b50565b600081359050614a12816149ec565b92915050565b60008060408385031215614a2f57614a2e6143cb565b5b6000614a3d85828601614617565b9250506020614a4e85828601614a03565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000614a7f82614a58565b614a898185614a63565b9350614a998185602086016144ac565b614aa2816144df565b840191505092915050565b600060e082019050614ac2600083018a6145d6565b8181036020830152614ad48189614a74565b9050614ae36040830188614817565b8181036060830152614af581876144f0565b9050614b046080830186614817565b614b1160a0830185614817565b614b1e60c0830184614466565b98975050505050505050565b614b33816148d4565b8114614b3e57600080fd5b50565b600081359050614b5081614b2a565b92915050565b600080fd5b600080fd5b60008083601f840112614b7657614b75614699565b5b8235905067ffffffffffffffff811115614b9357614b92614b56565b5b602083019150836001820283011115614baf57614bae614b5b565b5b9250929050565b60008060008060608587031215614bd057614bcf6143cb565b5b6000614bde87828801614b41565b945050602085013567ffffffffffffffff811115614bff57614bfe6143d0565b5b614c0b87828801614b60565b93509350506040614c1e87828801614562565b91505092959194509250565b600067ffffffffffffffff821115614c4557614c446146a3565b5b614c4e826144df565b9050602081019050919050565b6000614c6e614c6984614c2a565b614703565b905082815260208101848484011115614c8a57614c8961469e565b5b614c9584828561474f565b509392505050565b600082601f830112614cb257614cb1614699565b5b8135614cc2848260208601614c5b565b91505092915050565b60008060008060808587031215614ce557614ce46143cb565b5b6000614cf387828801614617565b9450506020614d0487828801614617565b9350506040614d1587828801614562565b925050606085013567ffffffffffffffff811115614d3657614d356143d0565b5b614d4287828801614c9d565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614d83816145c4565b82525050565b600082825260208201905092915050565b6000614da582614a58565b614daf8185614d89565b9350614dbf8185602086016144ac565b614dc8816144df565b840191505092915050565b614ddc81614328565b82525050565b600082825260208201905092915050565b6000614dfe82614490565b614e088185614de2565b9350614e188185602086016144ac565b614e21816144df565b840191505092915050565b614e358161445a565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000614e738383614d7a565b60208301905092915050565b6000602082019050919050565b6000614e9782614e3b565b614ea18185614e46565b9350614eac83614e57565b8060005b83811015614edd578151614ec48882614e67565b9750614ecf83614e7f565b925050600181019050614eb0565b5085935050505092915050565b600061010083016000830151614f036000860182614d7a565b5060208301518482036020860152614f1b8282614d9a565b9150506040830151614f306040860182614dd3565b5060608301518482036060860152614f488282614df3565b9150506080830151614f5d6080860182614dd3565b5060a0830151614f7060a0860182614dd3565b5060c0830151614f8360c0860182614e2c565b5060e083015184820360e0860152614f9b8282614e8c565b9150508091505092915050565b6000614fb48383614eea565b905092915050565b6000602082019050919050565b6000614fd482614d4e565b614fde8185614d59565b935083602082028501614ff085614d6a565b8060005b8581101561502c578484038952815161500d8582614fa8565b945061501883614fbc565b925060208a01995050600181019050614ff4565b50829750879550505050505092915050565b600060208201905081810360008301526150588184614fc9565b905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806150a757607f821691505b602082108114156150bb576150ba615060565b5b50919050565b7f6100000000000000000000000000000000000000000000000000000000000000600082015250565b60006150f760018361449b565b9150615102826150c1565b602082019050919050565b60006020820190508181036000830152615126816150ea565b9050919050565b7f6f00000000000000000000000000000000000000000000000000000000000000600082015250565b600061516360018361449b565b915061516e8261512d565b602082019050919050565b6000602082019050818103600083015261519281615156565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006151cf60208361449b565b91506151da82615199565b602082019050919050565b600060208201905081810360008301526151fe816151c2565b9050919050565b7f6200000000000000000000000000000000000000000000000000000000000000600082015250565b600061523b60018361449b565b915061524682615205565b602082019050919050565b6000602082019050818103600083015261526a8161522e565b9050919050565b600061527c82614328565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156152af576152ae614361565b5b600182019050919050565b7f7500000000000000000000000000000000000000000000000000000000000000600082015250565b60006152f060018361449b565b91506152fb826152ba565b602082019050919050565b6000602082019050818103600083015261531f816152e3565b9050919050565b6000815190506153358161454b565b92915050565b600060208284031215615351576153506143cb565b5b600061535f84828501615326565b91505092915050565b600060408201905061537d60008301856145d6565b61538a6020830184614817565b9392505050565b6000815190506153a0816149ec565b92915050565b6000602082840312156153bc576153bb6143cb565b5b60006153ca84828501615391565b91505092915050565b7f6700000000000000000000000000000000000000000000000000000000000000600082015250565b600061540960018361449b565b9150615414826153d3565b602082019050919050565b60006020820190508181036000830152615438816153fc565b9050919050565b60008160601b9050919050565b60006154578261543f565b9050919050565b60006154698261544c565b9050919050565b61548161547c826145c4565b61545e565b82525050565b60006154938285615470565b6014820191506154a38284615470565b6014820191508190509392505050565b7f3000000000000000000000000000000000000000000000000000000000000000600082015250565b60006154e960018361449b565b91506154f4826154b3565b602082019050919050565b60006020820190508181036000830152615518816154dc565b9050919050565b7f7300000000000000000000000000000000000000000000000000000000000000600082015250565b600061555560018361449b565b91506155608261551f565b602082019050919050565b6000602082019050818103600083015261558481615548565b9050919050565b600061559682614328565b91506155a183614328565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156155d6576155d5614361565b5b828201905092915050565b7f6d00000000000000000000000000000000000000000000000000000000000000600082015250565b600061561760018361449b565b9150615622826155e1565b602082019050919050565b600060208201905081810360008301526156468161560a565b9050919050565b7f6900000000000000000000000000000000000000000000000000000000000000600082015250565b600061568360018361449b565b915061568e8261564d565b602082019050919050565b600060208201905081810360008301526156b281615676565b9050919050565b7f6600000000000000000000000000000000000000000000000000000000000000600082015250565b60006156ef60018361449b565b91506156fa826156b9565b602082019050919050565b6000602082019050818103600083015261571e816156e2565b9050919050565b7f7a00000000000000000000000000000000000000000000000000000000000000600082015250565b600061575b60018361449b565b915061576682615725565b602082019050919050565b6000602082019050818103600083015261578a8161574e565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b600081546157be8161508f565b6157c88186615791565b945060018216600081146157e357600181146157f457615827565b60ff19831686528186019350615827565b6157fd8561579c565b60005b8381101561581f57815481890152600182019150602081019050615800565b838801955050505b50505092915050565b600061583b82614490565b6158458185615791565b93506158558185602086016144ac565b80840191505092915050565b600061586d82856157b1565b91506158798284615830565b91508190509392505050565b60008151905061589481614b2a565b92915050565b6000602082840312156158b0576158af6143cb565b5b60006158be84828501615885565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061592360268361449b565b915061592e826158c7565b604082019050919050565b6000602082019050818103600083015261595281615916565b9050919050565b7f6c00000000000000000000000000000000000000000000000000000000000000600082015250565b600061598f60018361449b565b915061599a82615959565b602082019050919050565b600060208201905081810360008301526159be81615982565b9050919050565b60006159d082614328565b91506159db83614328565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615a1457615a13614361565b5b828202905092915050565b6000606082019050615a3460008301866145d6565b615a4160208301856145d6565b615a4e6040830184614817565b949350505050565b60006fffffffffffffffffffffffffffffffff82169050919050565b6000615a7d82615a56565b9150615a8883615a56565b925082821015615a9b57615a9a614361565b5b828203905092915050565b6000615ab182615a56565b9150615abc83615a56565b9250826fffffffffffffffffffffffffffffffff03821115615ae157615ae0614361565b5b828201905092915050565b7f7400000000000000000000000000000000000000000000000000000000000000600082015250565b6000615b2260018361449b565b9150615b2d82615aec565b602082019050919050565b60006020820190508181036000830152615b5181615b15565b9050919050565b6000615b6382614328565b9150615b6e83614328565b925082821015615b8157615b80614361565b5b828203905092915050565b6000615b9782614328565b91506000821415615bab57615baa614361565b5b600182039050919050565b6000608082019050615bcb60008301876145d6565b615bd860208301866145d6565b615be56040830185614817565b8181036060830152615bf78184614a74565b905095945050505050565b600081519050615c1181614401565b92915050565b600060208284031215615c2d57615c2c6143cb565b5b6000615c3b84828501615c02565b91505092915050565b6000615c4f82614328565b9150615c5a83614328565b925082615c6a57615c69614332565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000615cda601c83615791565b9150615ce582615ca4565b601c82019050919050565b6000819050919050565b615d0b615d06826148d4565b615cf0565b82525050565b6000615d1c82615ccd565b9150615d288284615cfa565b60208201915081905092915050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615d6d60188361449b565b9150615d7882615d37565b602082019050919050565b60006020820190508181036000830152615d9c81615d60565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615dd9601f8361449b565b9150615de482615da3565b602082019050919050565b60006020820190508181036000830152615e0881615dcc565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615e6b60228361449b565b9150615e7682615e0f565b604082019050919050565b60006020820190508181036000830152615e9a81615e5e565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615efd60228361449b565b9150615f0882615ea1565b604082019050919050565b60006020820190508181036000830152615f2c81615ef0565b9050919050565b600060ff82169050919050565b615f4981615f33565b82525050565b6000608082019050615f6460008301876148de565b615f716020830186615f40565b615f7e60408301856148de565b615f8b60608301846148de565b9594505050505056fea26469706673582212206b503b8e230c71e40cbf71b3f8b4f55512600e1e4e3d4ed02844cf9d39b005ac64736f6c634300080a003300000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000022b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001bc16d674ec800000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000e9a347e4bfbe5a219f3497b1ca3ac8568a99ed6c000000000000000000000000082e44ad879e804a873b4b425d80bbca32e74415000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000c476f626c696e204475636b73000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024744000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102cd5760003560e01c80636c0360eb11610175578063a9361ffd116100dc578063dfb5259c11610095578063e985e9c51161006f578063e985e9c514610b0b578063efd0cbf914610b48578063f0efb08914610b64578063f2fde38b14610b8f576102ea565b8063dfb5259c14610a8c578063e4c41bb414610ab5578063e5a6b10f14610ae0576102ea565b8063a9361ffd14610989578063a9cbd06d146109b4578063b21a41d2146109d0578063b88d4fde146109fb578063c87b56dd14610a24578063d7224ba014610a61576102ea565b80638da5cb5b1161012e5780638da5cb5b146108715780638df4247d1461089c57806395d89b41146108c75780639da3f8fd146108f2578063a22cb4651461091d578063a598d03c14610946576102ea565b80636c0360eb146107635780636c82054b1461078e57806370a08231146107cb578063715018a6146108085780637cac26021461081f5780638ad433ac14610848576102ea565b80633ccfd60b1161023457806355f804b3116101ed5780636352211e116101c75780636352211e146106a55780636373a6b1146106e25780636817c76c1461070d57806368855b6414610738576102ea565b806355f804b31461063a5780635c975abb146106635780635d86842a1461068e576102ea565b80633ccfd60b1461053e57806342842e0e1461055557806344fead9e1461057e57806349df728c146105a95780634f6ccce7146105d25780635029e6021461060f576102ea565b8063132002fc11610286578063132002fc1461044057806318160ddd1461046b57806323b872dd146104965780632f745c59146104bf578063333171bb146104fc578063386b769114610513576102ea565b806301ffc9a71461032057806306fdde031461035d578063081812fc14610388578063095ea7b3146103c5578063108efbaa146103ee5780631096952314610417576102ea565b366102ea576102e8600c54346102e39190614390565b610bb8565b005b3480156102f657600080fd5b50604051366000823760008036836011545af43d806000843e816000811461031c578184f35b8184fd5b34801561032c57600080fd5b506103476004803603810190610342919061442d565b610bc9565b6040516103549190614475565b60405180910390f35b34801561036957600080fd5b50610372610d13565b60405161037f9190614529565b60405180910390f35b34801561039457600080fd5b506103af60048036038101906103aa9190614577565b610da5565b6040516103bc91906145e5565b60405180910390f35b3480156103d157600080fd5b506103ec60048036038101906103e7919061462c565b610e2a565b005b3480156103fa57600080fd5b506104156004803603810190610410919061466c565b610f43565b005b34801561042357600080fd5b5061043e600480360381019061043991906147ce565b611003565b005b34801561044c57600080fd5b506104556110ce565b6040516104629190614826565b60405180910390f35b34801561047757600080fd5b506104806110d4565b60405161048d9190614826565b60405180910390f35b3480156104a257600080fd5b506104bd60048036038101906104b89190614841565b6110dd565b005b3480156104cb57600080fd5b506104e660048036038101906104e1919061462c565b6110ed565b6040516104f39190614826565b60405180910390f35b34801561050857600080fd5b506105116112eb565b005b34801561051f57600080fd5b50610528611393565b6040516105359190614826565b60405180910390f35b34801561054a57600080fd5b50610553611399565b005b34801561056157600080fd5b5061057c60048036038101906105779190614841565b61145e565b005b34801561058a57600080fd5b5061059361147e565b6040516105a09190614826565b60405180910390f35b3480156105b557600080fd5b506105d060048036038101906105cb919061466c565b611484565b005b3480156105de57600080fd5b506105f960048036038101906105f49190614577565b6115fb565b6040516106069190614826565b60405180910390f35b34801561061b57600080fd5b5061062461164e565b6040516106319190614475565b60405180910390f35b34801561064657600080fd5b50610661600480360381019061065c91906147ce565b611661565b005b34801561066f57600080fd5b506106786116e9565b6040516106859190614475565b60405180910390f35b34801561069a57600080fd5b506106a36116fc565b005b3480156106b157600080fd5b506106cc60048036038101906106c79190614577565b611795565b6040516106d991906145e5565b60405180910390f35b3480156106ee57600080fd5b506106f76117ab565b6040516107049190614529565b60405180910390f35b34801561071957600080fd5b50610722611839565b60405161072f9190614826565b60405180910390f35b34801561074457600080fd5b5061074d61183f565b60405161075a9190614826565b60405180910390f35b34801561076f57600080fd5b50610778611845565b6040516107859190614529565b60405180910390f35b34801561079a57600080fd5b506107b560048036038101906107b09190614894565b6118d7565b6040516107c291906148ed565b60405180910390f35b3480156107d757600080fd5b506107f260048036038101906107ed919061466c565b61190a565b6040516107ff9190614826565b60405180910390f35b34801561081457600080fd5b5061081d6119f3565b005b34801561082b57600080fd5b506108466004803603810190610841919061492d565b611a7b565b005b34801561085457600080fd5b5061086f600480360381019061086a9190614577565b611b4f565b005b34801561087d57600080fd5b50610886611c9e565b60405161089391906145e5565b60405180910390f35b3480156108a857600080fd5b506108b1611cc8565b6040516108be91906145e5565b60405180910390f35b3480156108d357600080fd5b506108dc611cee565b6040516108e99190614529565b60405180910390f35b3480156108fe57600080fd5b50610907611d80565b60405161091491906149d1565b60405180910390f35b34801561092957600080fd5b50610944600480360381019061093f9190614a18565b611d93565b005b34801561095257600080fd5b5061096d60048036038101906109689190614577565b611f14565b6040516109809796959493929190614aad565b60405180910390f35b34801561099557600080fd5b5061099e6120a3565b6040516109ab9190614475565b60405180910390f35b6109ce60048036038101906109c99190614bb6565b6120b6565b005b3480156109dc57600080fd5b506109e56121a2565b6040516109f29190614475565b60405180910390f35b348015610a0757600080fd5b50610a226004803603810190610a1d9190614ccb565b6121b5565b005b348015610a3057600080fd5b50610a4b6004803603810190610a469190614577565b612211565b604051610a589190614529565b60405180910390f35b348015610a6d57600080fd5b50610a766122b9565b604051610a839190614826565b60405180910390f35b348015610a9857600080fd5b50610ab36004803603810190610aae91906147ce565b6122bf565b005b348015610ac157600080fd5b50610aca6123db565b604051610ad7919061503e565b60405180910390f35b348015610aec57600080fd5b50610af561267c565b604051610b0291906145e5565b60405180910390f35b348015610b1757600080fd5b50610b326004803603810190610b2d9190614894565b6126a0565b604051610b3f9190614475565b60405180910390f35b610b626004803603810190610b5d9190614577565b610bb8565b005b348015610b7057600080fd5b50610b79612734565b604051610b869190614826565b60405180910390f35b348015610b9b57600080fd5b50610bb66004803603810190610bb1919061466c565b61273a565b005b610bc681600c546002612832565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c9457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cfc57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610d0c5750610d0b82612bfa565b5b9050919050565b606060018054610d229061508f565b80601f0160208091040260200160405190810160405280929190818152602001828054610d4e9061508f565b8015610d9b5780601f10610d7057610100808354040283529160200191610d9b565b820191906000526020600020905b815481529060010190602001808311610d7e57829003601f168201915b5050505050905090565b6000610db082612c64565b610def576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de69061510d565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610e3582611795565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ea6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9d90615179565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ec5612c71565b73ffffffffffffffffffffffffffffffffffffffff161480610ef45750610ef381610eee612c71565b6126a0565b5b610f33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2a9061510d565b60405180910390fd5b610f3e838383612c79565b505050565b610f4b612c71565b73ffffffffffffffffffffffffffffffffffffffff16610f69611c9e565b73ffffffffffffffffffffffffffffffffffffffff1614610fbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb6906151e5565b60405180910390fd5b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61100b612c71565b73ffffffffffffffffffffffffffffffffffffffff16611029611c9e565b73ffffffffffffffffffffffffffffffffffffffff161461107f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611076906151e5565b60405180910390fd5b600b60009054906101000a900460ff161561109957600080fd5b80600a90805190602001906110af92919061424b565b506001600b60006101000a81548160ff02191690831515021790555050565b60135481565b60008054905090565b6110e8838383612d2b565b505050565b60006110f88361190a565b8210611139576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113090615251565b60405180910390fd5b60006111436110d4565b905060008060005b838110156112a9576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461123d57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561129557868414156112865781955050505050506112e5565b838061129190615271565b9450505b5080806112a190615271565b91505061114b565b506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112dc90615306565b60405180910390fd5b92915050565b6112f3612c71565b73ffffffffffffffffffffffffffffffffffffffff16611311611c9e565b73ffffffffffffffffffffffffffffffffffffffff1614611367576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135e906151e5565b60405180910390fd5b601660019054906101000a900460ff1615601660016101000a81548160ff021916908315150217905550565b600d5481565b6113a1612c71565b73ffffffffffffffffffffffffffffffffffffffff166113bf611c9e565b73ffffffffffffffffffffffffffffffffffffffff1614611415576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140c906151e5565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561145b573d6000803e3d6000fd5b50565b611479838383604051806020016040528060008152506121b5565b505050565b600f5481565b61148c612c71565b73ffffffffffffffffffffffffffffffffffffffff166114aa611c9e565b73ffffffffffffffffffffffffffffffffffffffff1614611500576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f7906151e5565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161155691906145e5565b602060405180830381865afa158015611573573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611597919061533b565b6040518363ffffffff1660e01b81526004016115b4929190615368565b6020604051808303816000875af11580156115d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f791906153a6565b5050565b60006116056110d4565b8210611646576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163d9061541f565b60405180910390fd5b819050919050565b601660009054906101000a900460ff1681565b611669612c71565b73ffffffffffffffffffffffffffffffffffffffff16611687611c9e565b73ffffffffffffffffffffffffffffffffffffffff16146116dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d4906151e5565b60405180910390fd5b6116e6816132e4565b50565b601660019054906101000a900460ff1681565b611704612c71565b73ffffffffffffffffffffffffffffffffffffffff16611722611c9e565b73ffffffffffffffffffffffffffffffffffffffff1614611778576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176f906151e5565b60405180910390fd5b6001601660006101000a81548160ff021916908315150217905550565b60006117a0826132fe565b600001519050919050565b600a80546117b89061508f565b80601f01602080910402602001604051908101604052809291908181526020018280546117e49061508f565b80156118315780601f1061180657610100808354040283529160200191611831565b820191906000526020600020905b81548152906001019060200180831161181457829003601f168201915b505050505081565b600c5481565b600e5481565b6060600380546118549061508f565b80601f01602080910402602001604051908101604052809291908181526020018280546118809061508f565b80156118cd5780601f106118a2576101008083540402835291602001916118cd565b820191906000526020600020905b8154815290600101906020018083116118b057829003601f168201915b5050505050905090565b600082826040516020016118ec929190615487565b60405160208183030381529060405280519060200120905092915050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561197b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611972906154ff565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b6119fb612c71565b73ffffffffffffffffffffffffffffffffffffffff16611a19611c9e565b73ffffffffffffffffffffffffffffffffffffffff1614611a6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a66906151e5565b60405180910390fd5b611a796000613501565b565b3073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611ae75750611ab8611c9e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611af057600080fd5b60006003811115611b0457611b0361495a565b5b816003811115611b1757611b1661495a565b5b1415611b2257600080fd5b80601660026101000a81548160ff02191690836003811115611b4757611b4661495a565b5b021790555050565b3073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611bbb5750611b8c611c9e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611bc457600080fd5b60006003811115611bd857611bd761495a565b5b601660029054906101000a900460ff166003811115611bfa57611bf961495a565b5b14611c3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c319061556b565b60405180910390fd5b600d5481611c466110d4565b611c50919061558b565b1115611c91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c889061562d565b60405180910390fd5b611c9b33826135c7565b50565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060028054611cfd9061508f565b80601f0160208091040260200160405190810160405280929190818152602001828054611d299061508f565b8015611d765780601f10611d4b57610100808354040283529160200191611d76565b820191906000526020600020905b815481529060010190602001808311611d5957829003601f168201915b5050505050905090565b601660029054906101000a900460ff1681565b611d9b612c71565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e009061510d565b60405180910390fd5b8060076000611e16612c71565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ec3612c71565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f089190614475565b60405180910390a35050565b60158181548110611f2457600080fd5b90600052602060002090600802016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690806001018054611f6d9061508f565b80601f0160208091040260200160405190810160405280929190818152602001828054611f999061508f565b8015611fe65780601f10611fbb57610100808354040283529160200191611fe6565b820191906000526020600020905b815481529060010190602001808311611fc957829003601f168201915b5050505050908060020154908060030180546120019061508f565b80601f016020809104026020016040519081016040528092919081815260200182805461202d9061508f565b801561207a5780601f1061204f5761010080835404028352916020019161207a565b820191906000526020600020905b81548152906001019060200180831161205d57829003601f168201915b5050505050908060040154908060050154908060060160009054906101000a900460ff16905087565b601460019054906101000a900460ff1681565b836120c133306118d7565b14612101576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f890615699565b60405180910390fd5b61214f8484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506135e5565b61218e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218590615705565b60405180910390fd5b61219c81600e546001612832565b50505050565b601460009054906101000a900460ff1681565b6121c0848484612d2b565b6121cc8484848461365a565b61220b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220290615771565b60405180910390fd5b50505050565b606061221c82612c64565b61225b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225290615771565b60405180910390fd5b60006003805461226a9061508f565b90501161228657604051806020016040528060008152506122b2565b6003612291836137e2565b6040516020016122a2929190615861565b6040516020818303038152906040525b9050919050565b60085481565b6122c7612c71565b73ffffffffffffffffffffffffffffffffffffffff166122e5611c9e565b73ffffffffffffffffffffffffffffffffffffffff161461233b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612332906151e5565b60405180910390fd5b7f000000000000000000000000084b1c3c81545d370f3634392de611caabff814873ffffffffffffffffffffffffffffffffffffffff1663c47f0027826040518263ffffffff1660e01b81526004016123949190614529565b6020604051808303816000875af11580156123b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123d7919061589a565b5050565b60606015805480602002602001604051908101604052809291908181526020016000905b828210156126735783829060005260206000209060080201604051806101000160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820180546124899061508f565b80601f01602080910402602001604051908101604052809291908181526020018280546124b59061508f565b80156125025780601f106124d757610100808354040283529160200191612502565b820191906000526020600020905b8154815290600101906020018083116124e557829003601f168201915b50505050508152602001600282015481526020016003820180546125259061508f565b80601f01602080910402602001604051908101604052809291908181526020018280546125519061508f565b801561259e5780601f106125735761010080835404028352916020019161259e565b820191906000526020600020905b81548152906001019060200180831161258157829003601f168201915b5050505050815260200160048201548152602001600582015481526020016006820160009054906101000a900460ff161515151581526020016007820180548060200260200160405190810160405280929190818152602001828054801561265b57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311612611575b505050505081525050815260200190600101906123ff565b50505050905090565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60125481565b612742612c71565b73ffffffffffffffffffffffffffffffffffffffff16612760611c9e565b73ffffffffffffffffffffffffffffffffffffffff16146127b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ad906151e5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612826576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281d90615939565b60405180910390fd5b61282f81613501565b50565b8060038111156128455761284461495a565b5b601660029054906101000a900460ff1660038111156128675761286661495a565b5b1480156128815750601660019054906101000a900460ff16155b6128c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128b79061556b565b60405180910390fd5b600d54836128cc6110d4565b6128d6919061558b565b1115612917576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290e9061562d565b60405180910390fd5b600f5483601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612965919061558b565b11156129a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299d906159a5565b60405180910390fd5b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff161415612a6d57348383612a2791906159c5565b1115612a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5f9061510d565b60405180910390fd5b612b20565b60007f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc290508073ffffffffffffffffffffffffffffffffffffffff166323b872dd33308688612abc91906159c5565b6040518463ffffffff1660e01b8152600401612ada93929190615a1f565b6020604051808303816000875af1158015612af9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b1d91906153a6565b50505b82601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612b6b919061558b565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612bb833846135c7565b600d54612bc36110d4565b1415612bf5576003601660026101000a81548160ff02191690836003811115612bef57612bee61495a565b5b02179055505b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000612d36826132fe565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612d5d612c71565b73ffffffffffffffffffffffffffffffffffffffff161480612db95750612d82612c71565b73ffffffffffffffffffffffffffffffffffffffff16612da184610da5565b73ffffffffffffffffffffffffffffffffffffffff16145b80612dd55750612dd48260000151612dcf612c71565b6126a0565b5b905080612e17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e0e9061510d565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612e89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8090615179565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612ef9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ef0906154ff565b60405180910390fd5b612f068585856001613943565b612f166000848460000151612c79565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612f849190615a72565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff166130289190615aa6565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600060018461312e919061558b565b9050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415613274576131a481612c64565b15613273576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506004600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46132dc8686866001613949565b505050505050565b80600390805190602001906132fa92919061424b565b5050565b6133066142d1565b61330f82612c64565b61334e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161334590615b38565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000283106133b25760017f0000000000000000000000000000000000000000000000000000000000000002846133a59190615b58565b6133af919061558b565b90505b60008390505b8181106134c0576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146134ac578093505050506134fc565b5080806134b890615b8c565b9150506133b8565b506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134f390615179565b60405180910390fd5b919050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6135e182826040518060200160405280600081525061394f565b5050565b6000613602826135f485613e2e565b613e5e90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b600061367b8473ffffffffffffffffffffffffffffffffffffffff16613e85565b156137d5578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026136a4612c71565b8786866040518563ffffffff1660e01b81526004016136c69493929190615bb6565b6020604051808303816000875af192505050801561370257506040513d601f19601f820116820180604052508101906136ff9190615c17565b60015b613785573d8060008114613732576040519150601f19603f3d011682016040523d82523d6000602084013e613737565b606091505b5060008151141561377d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161377490615771565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506137da565b600190505b949350505050565b6060600082141561382a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061393e565b600082905060005b6000821461385c57808061384590615271565b915050600a826138559190614390565b9150613832565b60008167ffffffffffffffff811115613878576138776146a3565b5b6040519080825280601f01601f1916602001820160405280156138aa5781602001600182028036833780820191505090505b5090505b60008514613937576001826138c39190615b58565b9150600a856138d29190615c44565b60306138de919061558b565b60f81b8183815181106138f4576138f3615c75565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856139309190614390565b94506138ae565b8093505050505b919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156139c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139bc906154ff565b60405180910390fd5b6139ce81612c64565b15613a0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a059061510d565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000002831115613a71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a689061562d565b60405180910390fd5b613a7e6000858386613943565b6000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168152505090506040518060400160405280858360000151613b7b9190615aa6565b6fffffffffffffffffffffffffffffffff168152602001858360200151613ba29190615aa6565b6fffffffffffffffffffffffffffffffff16815250600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b85811015613e1157818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613db1600088848861365a565b613df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613de790615771565b60405180910390fd5b8180613dfb90615271565b9250508080613e0990615271565b915050613d40565b5080600081905550613e266000878588613949565b505050505050565b600081604051602001613e419190615d11565b604051602081830303815290604052805190602001209050919050565b6000806000613e6d8585613e98565b91509150613e7a81613f1b565b819250505092915050565b600080823b905060008111915050919050565b600080604183511415613eda5760008060006020860151925060408601519150606086015160001a9050613ece878285856140f0565b94509450505050613f14565b604083511415613f0b576000806020850151915060408501519050613f008683836141fd565b935093505050613f14565b60006002915091505b9250929050565b60006004811115613f2f57613f2e61495a565b5b816004811115613f4257613f4161495a565b5b1415613f4d576140ed565b60016004811115613f6157613f6061495a565b5b816004811115613f7457613f7361495a565b5b1415613fb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613fac90615d83565b60405180910390fd5b60026004811115613fc957613fc861495a565b5b816004811115613fdc57613fdb61495a565b5b141561401d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161401490615def565b60405180910390fd5b600360048111156140315761403061495a565b5b8160048111156140445761404361495a565b5b1415614085576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161407c90615e81565b60405180910390fd5b6004808111156140985761409761495a565b5b8160048111156140ab576140aa61495a565b5b14156140ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016140e390615f13565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561412b5760006003915091506141f4565b601b8560ff16141580156141435750601c8560ff1614155b156141555760006004915091506141f4565b60006001878787876040516000815260200160405260405161417a9493929190615f4f565b6020604051602081039080840390855afa15801561419c573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156141eb576000600192509250506141f4565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c01905061423d878288856140f0565b935093505050935093915050565b8280546142579061508f565b90600052602060002090601f01602090048101928261427957600085556142c0565b82601f1061429257805160ff19168380011785556142c0565b828001600101855582156142c0579182015b828111156142bf5782518255916020019190600101906142a4565b5b5090506142cd919061430b565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b8082111561432457600081600090555060010161430c565b5090565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061439b82614328565b91506143a683614328565b9250826143b6576143b5614332565b5b828204905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61440a816143d5565b811461441557600080fd5b50565b60008135905061442781614401565b92915050565b600060208284031215614443576144426143cb565b5b600061445184828501614418565b91505092915050565b60008115159050919050565b61446f8161445a565b82525050565b600060208201905061448a6000830184614466565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156144ca5780820151818401526020810190506144af565b838111156144d9576000848401525b50505050565b6000601f19601f8301169050919050565b60006144fb82614490565b614505818561449b565b93506145158185602086016144ac565b61451e816144df565b840191505092915050565b6000602082019050818103600083015261454381846144f0565b905092915050565b61455481614328565b811461455f57600080fd5b50565b6000813590506145718161454b565b92915050565b60006020828403121561458d5761458c6143cb565b5b600061459b84828501614562565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006145cf826145a4565b9050919050565b6145df816145c4565b82525050565b60006020820190506145fa60008301846145d6565b92915050565b614609816145c4565b811461461457600080fd5b50565b60008135905061462681614600565b92915050565b60008060408385031215614643576146426143cb565b5b600061465185828601614617565b925050602061466285828601614562565b9150509250929050565b600060208284031215614682576146816143cb565b5b600061469084828501614617565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6146db826144df565b810181811067ffffffffffffffff821117156146fa576146f96146a3565b5b80604052505050565b600061470d6143c1565b905061471982826146d2565b919050565b600067ffffffffffffffff821115614739576147386146a3565b5b614742826144df565b9050602081019050919050565b82818337600083830152505050565b600061477161476c8461471e565b614703565b90508281526020810184848401111561478d5761478c61469e565b5b61479884828561474f565b509392505050565b600082601f8301126147b5576147b4614699565b5b81356147c584826020860161475e565b91505092915050565b6000602082840312156147e4576147e36143cb565b5b600082013567ffffffffffffffff811115614802576148016143d0565b5b61480e848285016147a0565b91505092915050565b61482081614328565b82525050565b600060208201905061483b6000830184614817565b92915050565b60008060006060848603121561485a576148596143cb565b5b600061486886828701614617565b935050602061487986828701614617565b925050604061488a86828701614562565b9150509250925092565b600080604083850312156148ab576148aa6143cb565b5b60006148b985828601614617565b92505060206148ca85828601614617565b9150509250929050565b6000819050919050565b6148e7816148d4565b82525050565b600060208201905061490260008301846148de565b92915050565b6004811061491557600080fd5b50565b60008135905061492781614908565b92915050565b600060208284031215614943576149426143cb565b5b600061495184828501614918565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6004811061499a5761499961495a565b5b50565b60008190506149ab82614989565b919050565b60006149bb8261499d565b9050919050565b6149cb816149b0565b82525050565b60006020820190506149e660008301846149c2565b92915050565b6149f58161445a565b8114614a0057600080fd5b50565b600081359050614a12816149ec565b92915050565b60008060408385031215614a2f57614a2e6143cb565b5b6000614a3d85828601614617565b9250506020614a4e85828601614a03565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000614a7f82614a58565b614a898185614a63565b9350614a998185602086016144ac565b614aa2816144df565b840191505092915050565b600060e082019050614ac2600083018a6145d6565b8181036020830152614ad48189614a74565b9050614ae36040830188614817565b8181036060830152614af581876144f0565b9050614b046080830186614817565b614b1160a0830185614817565b614b1e60c0830184614466565b98975050505050505050565b614b33816148d4565b8114614b3e57600080fd5b50565b600081359050614b5081614b2a565b92915050565b600080fd5b600080fd5b60008083601f840112614b7657614b75614699565b5b8235905067ffffffffffffffff811115614b9357614b92614b56565b5b602083019150836001820283011115614baf57614bae614b5b565b5b9250929050565b60008060008060608587031215614bd057614bcf6143cb565b5b6000614bde87828801614b41565b945050602085013567ffffffffffffffff811115614bff57614bfe6143d0565b5b614c0b87828801614b60565b93509350506040614c1e87828801614562565b91505092959194509250565b600067ffffffffffffffff821115614c4557614c446146a3565b5b614c4e826144df565b9050602081019050919050565b6000614c6e614c6984614c2a565b614703565b905082815260208101848484011115614c8a57614c8961469e565b5b614c9584828561474f565b509392505050565b600082601f830112614cb257614cb1614699565b5b8135614cc2848260208601614c5b565b91505092915050565b60008060008060808587031215614ce557614ce46143cb565b5b6000614cf387828801614617565b9450506020614d0487828801614617565b9350506040614d1587828801614562565b925050606085013567ffffffffffffffff811115614d3657614d356143d0565b5b614d4287828801614c9d565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614d83816145c4565b82525050565b600082825260208201905092915050565b6000614da582614a58565b614daf8185614d89565b9350614dbf8185602086016144ac565b614dc8816144df565b840191505092915050565b614ddc81614328565b82525050565b600082825260208201905092915050565b6000614dfe82614490565b614e088185614de2565b9350614e188185602086016144ac565b614e21816144df565b840191505092915050565b614e358161445a565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000614e738383614d7a565b60208301905092915050565b6000602082019050919050565b6000614e9782614e3b565b614ea18185614e46565b9350614eac83614e57565b8060005b83811015614edd578151614ec48882614e67565b9750614ecf83614e7f565b925050600181019050614eb0565b5085935050505092915050565b600061010083016000830151614f036000860182614d7a565b5060208301518482036020860152614f1b8282614d9a565b9150506040830151614f306040860182614dd3565b5060608301518482036060860152614f488282614df3565b9150506080830151614f5d6080860182614dd3565b5060a0830151614f7060a0860182614dd3565b5060c0830151614f8360c0860182614e2c565b5060e083015184820360e0860152614f9b8282614e8c565b9150508091505092915050565b6000614fb48383614eea565b905092915050565b6000602082019050919050565b6000614fd482614d4e565b614fde8185614d59565b935083602082028501614ff085614d6a565b8060005b8581101561502c578484038952815161500d8582614fa8565b945061501883614fbc565b925060208a01995050600181019050614ff4565b50829750879550505050505092915050565b600060208201905081810360008301526150588184614fc9565b905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806150a757607f821691505b602082108114156150bb576150ba615060565b5b50919050565b7f6100000000000000000000000000000000000000000000000000000000000000600082015250565b60006150f760018361449b565b9150615102826150c1565b602082019050919050565b60006020820190508181036000830152615126816150ea565b9050919050565b7f6f00000000000000000000000000000000000000000000000000000000000000600082015250565b600061516360018361449b565b915061516e8261512d565b602082019050919050565b6000602082019050818103600083015261519281615156565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006151cf60208361449b565b91506151da82615199565b602082019050919050565b600060208201905081810360008301526151fe816151c2565b9050919050565b7f6200000000000000000000000000000000000000000000000000000000000000600082015250565b600061523b60018361449b565b915061524682615205565b602082019050919050565b6000602082019050818103600083015261526a8161522e565b9050919050565b600061527c82614328565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156152af576152ae614361565b5b600182019050919050565b7f7500000000000000000000000000000000000000000000000000000000000000600082015250565b60006152f060018361449b565b91506152fb826152ba565b602082019050919050565b6000602082019050818103600083015261531f816152e3565b9050919050565b6000815190506153358161454b565b92915050565b600060208284031215615351576153506143cb565b5b600061535f84828501615326565b91505092915050565b600060408201905061537d60008301856145d6565b61538a6020830184614817565b9392505050565b6000815190506153a0816149ec565b92915050565b6000602082840312156153bc576153bb6143cb565b5b60006153ca84828501615391565b91505092915050565b7f6700000000000000000000000000000000000000000000000000000000000000600082015250565b600061540960018361449b565b9150615414826153d3565b602082019050919050565b60006020820190508181036000830152615438816153fc565b9050919050565b60008160601b9050919050565b60006154578261543f565b9050919050565b60006154698261544c565b9050919050565b61548161547c826145c4565b61545e565b82525050565b60006154938285615470565b6014820191506154a38284615470565b6014820191508190509392505050565b7f3000000000000000000000000000000000000000000000000000000000000000600082015250565b60006154e960018361449b565b91506154f4826154b3565b602082019050919050565b60006020820190508181036000830152615518816154dc565b9050919050565b7f7300000000000000000000000000000000000000000000000000000000000000600082015250565b600061555560018361449b565b91506155608261551f565b602082019050919050565b6000602082019050818103600083015261558481615548565b9050919050565b600061559682614328565b91506155a183614328565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156155d6576155d5614361565b5b828201905092915050565b7f6d00000000000000000000000000000000000000000000000000000000000000600082015250565b600061561760018361449b565b9150615622826155e1565b602082019050919050565b600060208201905081810360008301526156468161560a565b9050919050565b7f6900000000000000000000000000000000000000000000000000000000000000600082015250565b600061568360018361449b565b915061568e8261564d565b602082019050919050565b600060208201905081810360008301526156b281615676565b9050919050565b7f6600000000000000000000000000000000000000000000000000000000000000600082015250565b60006156ef60018361449b565b91506156fa826156b9565b602082019050919050565b6000602082019050818103600083015261571e816156e2565b9050919050565b7f7a00000000000000000000000000000000000000000000000000000000000000600082015250565b600061575b60018361449b565b915061576682615725565b602082019050919050565b6000602082019050818103600083015261578a8161574e565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b600081546157be8161508f565b6157c88186615791565b945060018216600081146157e357600181146157f457615827565b60ff19831686528186019350615827565b6157fd8561579c565b60005b8381101561581f57815481890152600182019150602081019050615800565b838801955050505b50505092915050565b600061583b82614490565b6158458185615791565b93506158558185602086016144ac565b80840191505092915050565b600061586d82856157b1565b91506158798284615830565b91508190509392505050565b60008151905061589481614b2a565b92915050565b6000602082840312156158b0576158af6143cb565b5b60006158be84828501615885565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061592360268361449b565b915061592e826158c7565b604082019050919050565b6000602082019050818103600083015261595281615916565b9050919050565b7f6c00000000000000000000000000000000000000000000000000000000000000600082015250565b600061598f60018361449b565b915061599a82615959565b602082019050919050565b600060208201905081810360008301526159be81615982565b9050919050565b60006159d082614328565b91506159db83614328565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615a1457615a13614361565b5b828202905092915050565b6000606082019050615a3460008301866145d6565b615a4160208301856145d6565b615a4e6040830184614817565b949350505050565b60006fffffffffffffffffffffffffffffffff82169050919050565b6000615a7d82615a56565b9150615a8883615a56565b925082821015615a9b57615a9a614361565b5b828203905092915050565b6000615ab182615a56565b9150615abc83615a56565b9250826fffffffffffffffffffffffffffffffff03821115615ae157615ae0614361565b5b828201905092915050565b7f7400000000000000000000000000000000000000000000000000000000000000600082015250565b6000615b2260018361449b565b9150615b2d82615aec565b602082019050919050565b60006020820190508181036000830152615b5181615b15565b9050919050565b6000615b6382614328565b9150615b6e83614328565b925082821015615b8157615b80614361565b5b828203905092915050565b6000615b9782614328565b91506000821415615bab57615baa614361565b5b600182039050919050565b6000608082019050615bcb60008301876145d6565b615bd860208301866145d6565b615be56040830185614817565b8181036060830152615bf78184614a74565b905095945050505050565b600081519050615c1181614401565b92915050565b600060208284031215615c2d57615c2c6143cb565b5b6000615c3b84828501615c02565b91505092915050565b6000615c4f82614328565b9150615c5a83614328565b925082615c6a57615c69614332565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000615cda601c83615791565b9150615ce582615ca4565b601c82019050919050565b6000819050919050565b615d0b615d06826148d4565b615cf0565b82525050565b6000615d1c82615ccd565b9150615d288284615cfa565b60208201915081905092915050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615d6d60188361449b565b9150615d7882615d37565b602082019050919050565b60006020820190508181036000830152615d9c81615d60565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615dd9601f8361449b565b9150615de482615da3565b602082019050919050565b60006020820190508181036000830152615e0881615dcc565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615e6b60228361449b565b9150615e7682615e0f565b604082019050919050565b60006020820190508181036000830152615e9a81615e5e565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615efd60228361449b565b9150615f0882615ea1565b604082019050919050565b60006020820190508181036000830152615f2c81615ef0565b9050919050565b600060ff82169050919050565b615f4981615f33565b82525050565b6000608082019050615f6460008301876148de565b615f716020830186615f40565b615f7e60408301856148de565b615f8b60608301846148de565b9594505050505056fea26469706673582212206b503b8e230c71e40cbf71b3f8b4f55512600e1e4e3d4ed02844cf9d39b005ac64736f6c634300080a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000022b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001bc16d674ec800000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000e9a347e4bfbe5a219f3497b1ca3ac8568a99ed6c000000000000000000000000082e44ad879e804a873b4b425d80bbca32e74415000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000c476f626c696e204475636b73000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024744000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Goblin Ducks
Arg [1] : _symbol (string): GD
Arg [2] : _maxPossibleSupply (uint256): 555
Arg [3] : _mintPrice (uint256): 0
Arg [4] : _allowListMintPrice (uint256): 2000000000000000000
Arg [5] : _maxAllowedMints (uint256): 2
Arg [6] : _signerAddress (address): 0xe9A347e4bFbe5A219F3497B1CA3Ac8568a99ED6c
Arg [7] : _nftDaoAddress (address): 0x082e44ad879e804A873B4B425d80BbCa32E74415
Arg [8] : _currency (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [9] : _wrappedNativeCoinAddress (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [2] : 000000000000000000000000000000000000000000000000000000000000022b
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000001bc16d674ec80000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [6] : 000000000000000000000000e9a347e4bfbe5a219f3497b1ca3ac8568a99ed6c
Arg [7] : 000000000000000000000000082e44ad879e804a873b4b425d80bbca32e74415
Arg [8] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [9] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [10] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [11] : 476f626c696e204475636b730000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [13] : 4744000000000000000000000000000000000000000000000000000000000000
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.